hl-core 0.0.10-beta.3 → 0.0.10-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/base.api.ts +259 -190
- package/api/interceptors.ts +3 -5
- package/components/Complex/TextBlock.vue +2 -0
- package/components/Dialog/Dialog.vue +7 -1
- package/components/Dialog/FamilyDialog.vue +2 -0
- package/components/Form/DigitalDocument.vue +52 -0
- package/components/Form/DynamicForm.vue +1 -0
- package/components/Form/FormData.vue +1 -0
- package/components/Form/ManagerAttachment.vue +18 -8
- package/components/Form/ProductConditionsBlock.vue +12 -6
- package/components/Input/DynamicInput.vue +2 -0
- package/components/Input/FormInput.vue +2 -0
- package/components/Input/OtpInput.vue +25 -0
- package/components/Input/PanelInput.vue +1 -0
- package/components/Input/RoundedInput.vue +2 -0
- package/components/Input/RoundedSelect.vue +4 -0
- package/components/Input/SwitchInput.vue +2 -0
- package/components/Input/TextInput.vue +2 -0
- package/components/Layout/Drawer.vue +2 -0
- package/components/Pages/Anketa.vue +166 -167
- package/components/Pages/Auth.vue +2 -0
- package/components/Pages/ContragentForm.vue +2 -1
- package/components/Pages/Documents.vue +244 -6
- package/components/Pages/MemberForm.vue +276 -96
- package/components/Pages/ProductConditions.vue +275 -96
- package/components/Panel/PanelHandler.vue +236 -108
- package/components/Transitions/Animation.vue +2 -0
- package/components/Utilities/Chip.vue +3 -1
- package/components/Utilities/JsonViewer.vue +1 -2
- package/composables/classes.ts +117 -42
- package/composables/constants.ts +33 -0
- package/composables/fields.ts +6 -4
- package/composables/index.ts +243 -7
- package/composables/styles.ts +8 -24
- package/configs/pwa.ts +1 -7
- package/layouts/clear.vue +1 -1
- package/layouts/default.vue +1 -1
- package/layouts/full.vue +1 -1
- package/locales/ru.json +34 -10
- package/nuxt.config.ts +10 -13
- package/package.json +13 -12
- package/plugins/head.ts +2 -1
- package/store/data.store.ts +380 -389
- package/store/member.store.ts +3 -2
- package/store/rules.ts +19 -0
- package/tsconfig.json +3 -0
- package/types/enum.ts +19 -2
- package/types/env.d.ts +2 -2
- package/types/form.ts +71 -74
- package/types/index.ts +916 -873
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hl-core",
|
|
3
|
-
"version": "0.0.10-beta.
|
|
3
|
+
"version": "0.0.10-beta.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "nuxt.config.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"types/",
|
|
19
19
|
"nuxt.config.ts",
|
|
20
20
|
"tailwind.config.js",
|
|
21
|
+
"tsconfig.json",
|
|
21
22
|
".prettierrc"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
@@ -35,35 +36,35 @@
|
|
|
35
36
|
"i:all": "cd .. && for /d %i in (.\\*) do echo Project: = %i && cd %i && yarn && cd .."
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@nuxt/devtools": "1.0.
|
|
39
|
-
"@vueuse/components": "10.
|
|
40
|
-
"@vueuse/core": "10.
|
|
41
|
-
"@vueuse/nuxt": "10.
|
|
42
|
-
"nuxt": "3.10.
|
|
39
|
+
"@nuxt/devtools": "1.0.8",
|
|
40
|
+
"@vueuse/components": "10.8.0",
|
|
41
|
+
"@vueuse/core": "10.8.0",
|
|
42
|
+
"@vueuse/nuxt": "10.8.0",
|
|
43
|
+
"nuxt": "3.10.3",
|
|
43
44
|
"prettier": "3.2.5",
|
|
44
45
|
"vue": "3.4.19",
|
|
45
|
-
"vue-router": "4.
|
|
46
|
+
"vue-router": "4.3.0"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"@intlify/unplugin-vue-i18n": "2.0.0",
|
|
49
50
|
"@microsoft/signalr": "7.0.12",
|
|
50
|
-
"@nuxtjs/tailwindcss": "6.11.
|
|
51
|
+
"@nuxtjs/tailwindcss": "6.11.4",
|
|
51
52
|
"@pinia/nuxt": "0.5.1",
|
|
52
53
|
"@regulaforensics/document-reader-webclient": "6.9.5",
|
|
53
|
-
"@vite-pwa/nuxt": "0.
|
|
54
|
+
"@vite-pwa/nuxt": "0.5.0",
|
|
54
55
|
"@vuepic/vue-datepicker": "7.4.1",
|
|
55
56
|
"axios": "1.6.7",
|
|
56
57
|
"fast-xml-parser": "4.0.12",
|
|
57
|
-
"jwt-decode": "
|
|
58
|
+
"jwt-decode": "4.0.0",
|
|
58
59
|
"maska": "1.5.0",
|
|
59
60
|
"ncalayer-js-client": "1.3.4",
|
|
60
61
|
"pinia": "2.1.7",
|
|
61
62
|
"qrcode.vue": "3.4.1",
|
|
62
63
|
"typescript": "5.3.3",
|
|
63
64
|
"vue-i18n": "9.9.1",
|
|
64
|
-
"vue-json-pretty": "2.
|
|
65
|
+
"vue-json-pretty": "2.3.0",
|
|
65
66
|
"vue-toastification": "2.0.0-rc.5",
|
|
66
67
|
"vue-uuid": "3.0.0",
|
|
67
|
-
"vuetify": "3.5.
|
|
68
|
+
"vuetify": "3.5.6"
|
|
68
69
|
}
|
|
69
70
|
}
|
package/plugins/head.ts
CHANGED
|
@@ -5,7 +5,7 @@ export default defineNuxtPlugin(() => {
|
|
|
5
5
|
{
|
|
6
6
|
rel: 'icon',
|
|
7
7
|
type: 'image/x-icon',
|
|
8
|
-
href: import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || import.meta.env.VITE_PRODUCT
|
|
8
|
+
href: import.meta.env.VITE_PARENT_PRODUCT === 'auletti' || String(import.meta.env.VITE_PRODUCT).includes('auletti') ? '/logo-auletti.svg' : '/logo.svg',
|
|
9
9
|
},
|
|
10
10
|
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
11
11
|
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
|
|
@@ -22,5 +22,6 @@ export default defineNuxtPlugin(() => {
|
|
|
22
22
|
href: 'https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css',
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
|
+
script: [{ children: 'if (!Object.hasOwn) {Object.hasOwn = function(obj, prop) {return Object.prototype.hasOwnProperty.call(obj, prop);};}' }],
|
|
25
26
|
});
|
|
26
27
|
});
|