feat(editor): use npm jquery-ui dependency

This commit is contained in:
Rotzbua 2024-05-30 16:58:49 +02:00
parent ed4ff02d50
commit b63b114896
No known key found for this signature in database
GPG Key ID: C69022D529C17845
10 changed files with 10 additions and 15 deletions

View File

@ -217,7 +217,7 @@ module.exports = function(grunt) {
src: [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/jquery-migrate/dist/jquery-migrate.min.js",
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery-ui.min.js",
"node_modules/jquery-ui/dist/jquery-ui.min.js",
"packages/node_modules/@node-red/editor-client/src/vendor/jquery/js/jquery.ui.touch-punch.min.js",
"node_modules/marked/marked.min.js",
"node_modules/dompurify/dist/purify.min.js",
@ -409,7 +409,6 @@ module.exports = function(grunt) {
cwd: 'packages/node_modules/@node-red/editor-client/src/vendor',
src: [
'ace/**',
'jquery/css/base/**',
'font-awesome/**',
'monaco/dist/**',
'monaco/types/extraLibs.js',
@ -419,6 +418,14 @@ module.exports = function(grunt) {
expand: true,
dest: 'packages/node_modules/@node-red/editor-client/public/vendor/'
},
{
cwd: 'node_modules/jquery-ui/dist/themes',
src: [
'base/**',
],
expand: true,
dest: 'packages/node_modules/@node-red/editor-client/public/vendor/jquery/css/'
},
{
cwd: 'packages/node_modules/@node-red/editor-client/src',
src: [

View File

@ -110,6 +110,7 @@
"jquery": "3.5.1",
"jquery-i18next": "1.2.1",
"jquery-migrate": "3.3.0",
"jquery-ui":"1.13.2",
"jsdoc-nr-template": "github:node-red/jsdoc-nr-template",
"marked": "4.3.0",
"mermaid": "^10.4.0",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long