From 85e0567b137af2ba3e8ef15720dfe6c50eeb557f Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 7 Feb 2023 07:43:14 +0100 Subject: [PATCH] Remove jQuery UI from the app entirely --- application/views/layouts/account_layout.php | 3 -- application/views/layouts/backend_layout.php | 4 -- application/views/layouts/booking_layout.php | 2 - application/views/layouts/message_layout.php | 3 -- application/views/pages/business_settings.php | 1 - application/views/pages/installation.php | 2 - application/views/pages/providers.php | 1 - application/views/pages/update.php | 3 +- gulpfile.js | 20 --------- package-lock.json | 42 ------------------- package.json | 3 -- 11 files changed, 1 insertion(+), 83 deletions(-) diff --git a/application/views/layouts/account_layout.php b/application/views/layouts/account_layout.php index 21c1386a..4c39c6f9 100644 --- a/application/views/layouts/account_layout.php +++ b/application/views/layouts/account_layout.php @@ -13,7 +13,6 @@ - @@ -34,8 +33,6 @@ - - diff --git a/application/views/layouts/backend_layout.php b/application/views/layouts/backend_layout.php index 4c4cda36..6f4cb054 100644 --- a/application/views/layouts/backend_layout.php +++ b/application/views/layouts/backend_layout.php @@ -13,7 +13,6 @@ - @@ -38,9 +37,6 @@ vars('user_display_name')]) ?> - - - diff --git a/application/views/layouts/booking_layout.php b/application/views/layouts/booking_layout.php index 0a532796..dcd20f43 100644 --- a/application/views/layouts/booking_layout.php +++ b/application/views/layouts/booking_layout.php @@ -13,7 +13,6 @@ - @@ -53,7 +52,6 @@ - diff --git a/application/views/layouts/message_layout.php b/application/views/layouts/message_layout.php index 20acada3..d5a9c924 100644 --- a/application/views/layouts/message_layout.php +++ b/application/views/layouts/message_layout.php @@ -13,7 +13,6 @@ - @@ -41,8 +40,6 @@ - - diff --git a/application/views/pages/business_settings.php b/application/views/pages/business_settings.php index 36b861da..ceb36bce 100755 --- a/application/views/pages/business_settings.php +++ b/application/views/pages/business_settings.php @@ -127,7 +127,6 @@ - diff --git a/application/views/pages/installation.php b/application/views/pages/installation.php index cf4886b5..49d27159 100755 --- a/application/views/pages/installation.php +++ b/application/views/pages/installation.php @@ -6,7 +6,6 @@ Installation | Easy!Appointments - @@ -135,7 +134,6 @@ - diff --git a/application/views/pages/providers.php b/application/views/pages/providers.php index 5cc987f7..ff5ceb97 100755 --- a/application/views/pages/providers.php +++ b/application/views/pages/providers.php @@ -359,7 +359,6 @@ - diff --git a/application/views/pages/update.php b/application/views/pages/update.php index ca97139b..d8f28927 100644 --- a/application/views/pages/update.php +++ b/application/views/pages/update.php @@ -7,8 +7,7 @@ - - + diff --git a/gulpfile.js b/gulpfile.js index 93cd9a1d..1d78730c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -150,26 +150,6 @@ function vendor(done) { gulp.dest('assets/vendor/jquery-jeditable') ); - // jquery-ui-dist - gulp.src(['node_modules/jquery-ui-dist/jquery-ui.min.js', 'node_modules/jquery-ui-dist/jquery-ui.min.css']).pipe( - gulp.dest('assets/vendor/jquery-ui-dist') - ); - - gulp.src(['node_modules/jquery-ui-dist/images/ui-icons_ffffff_256x240.png']).pipe( - gulp.dest('assets/vendor/jquery-ui-dist/images') - ); - - // jquery-ui-timepicker-addon - gulp.src([ - 'node_modules/jquery-ui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.js', - 'node_modules/jquery-ui-timepicker-addon/dist/jquery-ui-timepicker-addon.min.css' - ]).pipe(gulp.dest('assets/vendor/jquery-ui-timepicker-addon')); - - // jquery-ui-touch-punch - gulp.src(['node_modules/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js']).pipe( - gulp.dest('assets/vendor/jquery-ui-touch-punch') - ); - // moment gulp.src(['node_modules/moment/min/moment.min.js']).pipe(gulp.dest('assets/vendor/moment')); diff --git a/package-lock.json b/package-lock.json index abe02dec..d85735c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,9 +16,6 @@ "fullcalendar": "^6.0.3", "jquery": "^3.6.3", "jquery-jeditable": "^2.0.19", - "jquery-ui-dist": "^1.13.2", - "jquery-ui-timepicker-addon": "^1.6.3", - "jquery-ui-touch-punch": "^0.2.3", "moment": "^2.29.4", "moment-timezone": "^0.5.40", "select2": "^4.1.0-rc.0", @@ -5021,27 +5018,6 @@ "jquery": "^3.5.1" } }, - "node_modules/jquery-ui-dist": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.13.2.tgz", - "integrity": "sha512-oVDRd1NLtTbBwpRKAYdIRgpWVDzeBhfy7Gu0RmY6JEaZtmBq6kDn1pm5SgDiAotrnDS+RoTRXO6xvcNTxA9tOA==", - "dependencies": { - "jquery": ">=1.8.0 <4.0.0" - } - }, - "node_modules/jquery-ui-timepicker-addon": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/jquery-ui-timepicker-addon/-/jquery-ui-timepicker-addon-1.6.3.tgz", - "integrity": "sha512-JvZTp1vGN1Ws9tr39VPRBC1/cOVdY/pa6a2mMcAXpEgjrsXc02xBXQthDtQsBXEqR0FbZV+GdXi/c+LDpuyk/A==", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/jquery-ui-touch-punch": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/jquery-ui-touch-punch/-/jquery-ui-touch-punch-0.2.3.tgz", - "integrity": "sha512-Q/7aAd+SjbV0SspHO7Kuk96NJIbLwJAS0lD81U1PKcU2T5ZKayXMORH+Y5qvYLuy41xqVQbWimsRKDn1v3oI2Q==" - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -11980,24 +11956,6 @@ "jquery": "^3.5.1" } }, - "jquery-ui-dist": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.13.2.tgz", - "integrity": "sha512-oVDRd1NLtTbBwpRKAYdIRgpWVDzeBhfy7Gu0RmY6JEaZtmBq6kDn1pm5SgDiAotrnDS+RoTRXO6xvcNTxA9tOA==", - "requires": { - "jquery": ">=1.8.0 <4.0.0" - } - }, - "jquery-ui-timepicker-addon": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/jquery-ui-timepicker-addon/-/jquery-ui-timepicker-addon-1.6.3.tgz", - "integrity": "sha512-JvZTp1vGN1Ws9tr39VPRBC1/cOVdY/pa6a2mMcAXpEgjrsXc02xBXQthDtQsBXEqR0FbZV+GdXi/c+LDpuyk/A==" - }, - "jquery-ui-touch-punch": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/jquery-ui-touch-punch/-/jquery-ui-touch-punch-0.2.3.tgz", - "integrity": "sha512-Q/7aAd+SjbV0SspHO7Kuk96NJIbLwJAS0lD81U1PKcU2T5ZKayXMORH+Y5qvYLuy41xqVQbWimsRKDn1v3oI2Q==" - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/package.json b/package.json index e2d6dd00..288615b2 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,6 @@ "fullcalendar": "^6.0.3", "jquery": "^3.6.3", "jquery-jeditable": "^2.0.19", - "jquery-ui-dist": "^1.13.2", - "jquery-ui-timepicker-addon": "^1.6.3", - "jquery-ui-touch-punch": "^0.2.3", "moment": "^2.29.4", "moment-timezone": "^0.5.40", "select2": "^4.1.0-rc.0",