From 4c17af4ecd16666313ba28c5e40047f89388f0d5 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 2 Feb 2023 08:54:07 +0100 Subject: [PATCH] Add flatpickr into the project --- gulpfile.js | 5 +++++ package-lock.json | 11 +++++++++++ package.json | 1 + 3 files changed, 17 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index e09b2163..93cd9a1d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -196,6 +196,11 @@ function vendor(done) { gulp.src(['node_modules/trumbowyg/dist/ui/icons.svg']).pipe(gulp.dest('assets/vendor/trumbowyg/ui')); + // flatpickr + gulp.src(['node_modules/flatpickr/dist/flatpickr.min.js', 'node_modules/flatpickr/dist/flatpickr.min.css']).pipe( + gulp.dest('assets/vendor/flatpickr') + ); + done(); } diff --git a/package-lock.json b/package-lock.json index 1eac34ba..abe02dec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@popperjs/core": "^2.11.6", "bootstrap": "^5.2.3", "cookieconsent": "^3.1.1", + "flatpickr": "^4.6.13", "fullcalendar": "^6.0.3", "jquery": "^3.6.3", "jquery-jeditable": "^2.0.19", @@ -3624,6 +3625,11 @@ "node": ">= 0.10" } }, + "node_modules/flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, "node_modules/flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", @@ -10883,6 +10889,11 @@ "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==", "dev": true }, + "flatpickr": { + "version": "4.6.13", + "resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz", + "integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==" + }, "flush-write-stream": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", diff --git a/package.json b/package.json index c6c6f8ab..e2d6dd00 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "@popperjs/core": "^2.11.6", "bootstrap": "^5.2.3", "cookieconsent": "^3.1.1", + "flatpickr": "^4.6.13", "fullcalendar": "^6.0.3", "jquery": "^3.6.3", "jquery-jeditable": "^2.0.19",