From 7e3e9d75cabeb97b6c00a84d5267f7a2ca68fde5 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Thu, 21 Nov 2024 14:11:23 +0200 Subject: [PATCH] feature: add convertDurationWithMinutes script[WTEL-4883](https://webitel.atlassian.net/browse/WTEL-4883) --- package-lock.json | 237 +++++++++--------- package.json | 2 +- .../components/opened-calendar-holidays.vue | 8 +- .../scripts/converDurationWithMinutes.js | 15 -- 4 files changed, 126 insertions(+), 136 deletions(-) delete mode 100644 src/modules/lookups/modules/calendars/scripts/converDurationWithMinutes.js diff --git a/package-lock.json b/package-lock.json index 1a068958f..4b8514d8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "web-client", - "version": "24.08.0", + "version": "24.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "web-client", - "version": "24.08.0", + "version": "24.10.0", "dependencies": { "@vue/compat": "^3.5.1", "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", "@vueuse/core": "^11.0.3", "@webitel/flow-ui-sdk": "^0.1.14", - "@webitel/ui-sdk": "^24.10.77", + "@webitel/ui-sdk": "^24.12.2", "axios": "^1.7.7", "clipboard-copy": "^4.0.1", "cron-validator": "^1.3.1", @@ -3969,105 +3969,55 @@ } }, "node_modules/@vuepic/vue-datepicker": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@vuepic/vue-datepicker/-/vue-datepicker-4.5.1.tgz", - "integrity": "sha512-zdG37Q8iuwTPWnQEI9/WvabqmrDDfDLgdXUTW08FXHSbiHuNN2S+bVeN1Wm9yeD+onHgzEn6DiW6J3fYXEfa0Q==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@vuepic/vue-datepicker/-/vue-datepicker-10.0.0.tgz", + "integrity": "sha512-ujlk3ahftVQpyCJ8hq7TmOOHrf/XFJI1ZcAh/FRB5Ci62Vq5HmHf6xux5KVi5SPUFRTJY78m+uDhYy1M+8RZ9w==", "license": "MIT", "dependencies": { - "date-fns": "^2.29.3", - "date-fns-tz": "^1.3.7" + "date-fns": "^4.1.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0" }, "peerDependencies": { "vue": ">=3.2.0" } }, - "node_modules/@vuepic/vue-datepicker/node_modules/@babel/runtime": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", - "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@vuepic/vue-datepicker/node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.21.0" - }, - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, - "node_modules/@vuepic/vue-datepicker/node_modules/date-fns-tz": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-1.3.8.tgz", - "integrity": "sha512-qwNXUFtMHTTU6CFSFjoJ80W8Fzzp24LntbjFFBgL/faqds4e5mo9mftoRLgr3Vi1trISsg4awSpYVsOQCRnapQ==", - "license": "MIT", - "peerDependencies": { - "date-fns": ">=2.0.0" - } - }, "node_modules/@vueuse/components": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/components/-/components-10.11.1.tgz", - "integrity": "sha512-ThcreQCX/eq61sLkLKjigD4PQvs3Wy4zglICvQH9tP6xl87y5KsQEoizn6OI+R3hrOgwQHLJe7Y0wLLh3fBKcg==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@vueuse/components/-/components-11.3.0.tgz", + "integrity": "sha512-sqaGtWPgobXvZmv3atcjW8YW0ypecFuB286OEKFXaPrLsA5b2Y+xAvHvq5V7d+VJRKt705gCK3BNBjxu3g1PdQ==", "license": "MIT", "dependencies": { - "@vueuse/core": "10.11.1", - "@vueuse/shared": "10.11.1", - "vue-demi": ">=0.14.8" + "@vueuse/core": "11.3.0", + "@vueuse/shared": "11.3.0", + "vue-demi": ">=0.14.10" } }, "node_modules/@vueuse/components/node_modules/@vueuse/core": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.1.tgz", - "integrity": "sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-11.3.0.tgz", + "integrity": "sha512-7OC4Rl1f9G8IT6rUfi9JrKiXy4bfmHhZ5x2Ceojy0jnd3mHNEvV4JaRygH362ror6/NZ+Nl+n13LPzGiPN8cKA==", "license": "MIT", "dependencies": { "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.11.1", - "@vueuse/shared": "10.11.1", - "vue-demi": ">=0.14.8" + "@vueuse/metadata": "11.3.0", + "@vueuse/shared": "11.3.0", + "vue-demi": ">=0.14.10" }, "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/@vueuse/components/node_modules/@vueuse/metadata": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.1.tgz", - "integrity": "sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-11.3.0.tgz", + "integrity": "sha512-pwDnDspTqtTo2HwfLw4Rp6yywuuBdYnPYDq+mO38ZYKGebCUQC/nVj/PXSiK9HX5otxLz8Fn7ECPbjiRz2CC3g==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/antfu" } }, - "node_modules/@vueuse/components/node_modules/@vueuse/shared": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.1.tgz", - "integrity": "sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==", - "license": "MIT", - "dependencies": { - "vue-demi": ">=0.14.8" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/@vueuse/components/node_modules/vue-demi": { "version": "0.14.10", "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", @@ -4261,6 +4211,44 @@ "url": "https://github.com/sponsors/antfu" } }, + "node_modules/@vueuse/shared": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-11.3.0.tgz", + "integrity": "sha512-P8gSSWQeucH5821ek2mn/ciCk+MS/zoRKqdQIM3bHq6p7GXDAJLmnRRKmF5F65sAVJIfzQlwR3aDzwCn10s8hA==", + "license": "MIT", + "dependencies": { + "vue-demi": ">=0.14.10" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/@webitel/flow-ui-sdk": { "version": "0.1.30", "resolved": "https://registry.npmjs.org/@webitel/flow-ui-sdk/-/flow-ui-sdk-0.1.30.tgz", @@ -4437,38 +4425,39 @@ } }, "node_modules/@webitel/ui-sdk": { - "version": "24.10.78", - "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-24.10.78.tgz", - "integrity": "sha512-ZtYa1qYmOowtiIj2/f0OSslNt+yrQidok2r5It2l43qE2lBjUmoxOIn83KxQ+WZ16mudXQ9jbT2mczQinvEb5A==", + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-24.12.2.tgz", + "integrity": "sha512-DHFSpNZlWQ6nzxZJYMOw5EmJzRoOBMIzX9MpkD/jq2V34CG3e1MbcPxmB7lgx4hz8xXXKP8P7VHMSqAdE5e/mw==", "dependencies": { - "@floating-ui/vue": "^1.0.1", - "@morev/vue-transitions": "^3.0.2", + "@floating-ui/vue": "^1.1.5", + "@morev/vue-transitions": "^3.0.5", "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", - "@vuepic/vue-datepicker": "^4.4.0", - "@vueuse/components": "^10.7.2", + "@vuepic/vue-datepicker": "^10.0.0", + "@vueuse/components": "^11.2.0", "autosize": "^6.0.1", - "axios": "^1.7.1", + "axios": "^1.7.7", "clipboard-copy": "^4.0.1", "csv-stringify": "^5.5.3", "deep-copy": "^1.4.2", - "deep-equal": "^2.0.3", + "deep-equal": "^2.2.3", "deepmerge": "^4.3.1", "file-saver-es": "^2.0.5", + "flat": "^6.0.1", "is-valid-domain": "^0.1.6", - "jszip": "^3.5.0", + "jszip": "^3.10.1", "jszip-utils": "^0.1.0", "lodash": "^4.17.21", "mitt": "3.0.1", "path-browserify": "^1.0.1", - "plyr": "3.6.3", - "query-string": "^8.1.0", - "sortablejs": "^1.15.0", - "vue-i18n": "^9.2.2", - "vue-multiselect": "^3.0.0-beta.3", + "plyr": "3.7.8", + "query-string": "^9.1.1", + "sortablejs": "^1.15.3", + "vue-i18n": "^9.14.1", + "vue-multiselect": "^3.1.0", "vue-observe-visibility": "^2.0.0-alpha.1", - "vue-router": "^4.1.6", - "webitel-sdk": "^24.08.08", + "vue-router": "^4.4.5", + "webitel-sdk": "^24.8.8", "xlsx": "^0.18.5" }, "engines": { @@ -4533,9 +4522,9 @@ } }, "node_modules/@webitel/ui-sdk/node_modules/query-string": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-8.2.0.tgz", - "integrity": "sha512-tUZIw8J0CawM5wyGBiDOAp7ObdRQh4uBor/fUR9ZjmbZVvw95OD9If4w3MQxr99rg0DJZ/9CIORcpEqU5hQG7g==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-9.1.1.tgz", + "integrity": "sha512-MWkCOVIcJP9QSKU52Ngow6bsAWAPlPK2MludXvcrS2bGZSl+T1qX9MZvRIkqUIkGLJquMJHWfsT6eRqUpp4aWg==", "license": "MIT", "dependencies": { "decode-uri-component": "^0.4.1", @@ -4543,7 +4532,7 @@ "split-on-first": "^3.0.0" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -6213,6 +6202,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/date-fns": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, "node_modules/debug": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", @@ -7159,6 +7158,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/flat": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/flat/-/flat-6.0.1.tgz", + "integrity": "sha512-/3FfIa8mbrg3xE7+wAhWeV+bd7L2Mof+xtZb5dRDKZ+wDvYJK4WDYeIOuOhre5Yv5aQObZrlbRmk3RTSiuQBtw==", + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/focus-trap": { "version": "7.6.1", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.1.tgz", @@ -9089,6 +9100,12 @@ "uc.micro": "^2.0.0" } }, + "node_modules/loadjs": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loadjs/-/loadjs-4.3.0.tgz", + "integrity": "sha512-vNX4ZZLJBeDEOBvdr2v/F+0aN5oMuPu7JTqrMwp+DtgK+AryOlpy6Xtm2/HpNr+azEa828oQjOtWsB6iDtSfSQ==", + "license": "MIT" + }, "node_modules/local-pkg": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.0.tgz", @@ -10561,30 +10578,18 @@ } }, "node_modules/plyr": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/plyr/-/plyr-3.6.3.tgz", - "integrity": "sha512-AEwp5G9BtOK0s2mZhwtfipkCqLm1yPN8iUGcmAtyByDK1fcYoOJiDXZeLf+e7OTjsWi4wRp8Q1VJ+gZjTmVeqA==", + "version": "3.7.8", + "resolved": "https://registry.npmjs.org/plyr/-/plyr-3.7.8.tgz", + "integrity": "sha512-yG/EHDobwbB/uP+4Bm6eUpJ93f8xxHjjk2dYcD1Oqpe1EcuQl5tzzw9Oq+uVAzd2lkM11qZfydSiyIpiB8pgdA==", "license": "MIT", "dependencies": { - "core-js": "^3.7.0", + "core-js": "^3.26.1", "custom-event-polyfill": "^1.0.7", "loadjs": "^4.2.0", "rangetouch": "^2.0.1", "url-polyfill": "^1.1.12" } }, - "node_modules/plyr/node_modules/loadjs": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loadjs/-/loadjs-4.3.0.tgz", - "integrity": "sha512-vNX4ZZLJBeDEOBvdr2v/F+0aN5oMuPu7JTqrMwp+DtgK+AryOlpy6Xtm2/HpNr+azEa828oQjOtWsB6iDtSfSQ==", - "license": "MIT" - }, - "node_modules/plyr/node_modules/rangetouch": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/rangetouch/-/rangetouch-2.0.1.tgz", - "integrity": "sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==", - "license": "MIT" - }, "node_modules/posix-character-classes": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", @@ -11121,6 +11126,12 @@ "safe-buffer": "^5.1.0" } }, + "node_modules/rangetouch": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rangetouch/-/rangetouch-2.0.1.tgz", + "integrity": "sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==", + "license": "MIT" + }, "node_modules/rc9": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/rc9/-/rc9-2.1.2.tgz", @@ -11174,12 +11185,6 @@ "node": ">=4" } }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "license": "MIT" - }, "node_modules/regex": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/regex/-/regex-4.4.0.tgz", diff --git a/package.json b/package.json index 3c23895a2..c2dc368b8 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@vuelidate/validators": "^2.0.4", "@vueuse/core": "^11.0.3", "@webitel/flow-ui-sdk": "^0.1.14", - "@webitel/ui-sdk": "^24.10.77", + "@webitel/ui-sdk": "^24.12.2", "axios": "^1.7.7", "clipboard-copy": "^4.0.1", "cron-validator": "^1.3.1", diff --git a/src/modules/lookups/modules/calendars/components/opened-calendar-holidays.vue b/src/modules/lookups/modules/calendars/components/opened-calendar-holidays.vue index e92f7d089..c9a6fcc86 100644 --- a/src/modules/lookups/modules/calendars/components/opened-calendar-holidays.vue +++ b/src/modules/lookups/modules/calendars/components/opened-calendar-holidays.vue @@ -60,12 +60,12 @@