hl-core 0.0.10-beta.3 → 0.0.10-beta.31
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/README.md +0 -2
- package/api/base.api.ts +300 -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 +17 -8
- package/components/Form/ProductConditionsBlock.vue +12 -6
- package/components/Input/Datepicker.vue +5 -0
- package/components/Input/DynamicInput.vue +2 -0
- package/components/Input/FormInput.vue +7 -0
- package/components/Input/OtpInput.vue +25 -0
- package/components/Input/PanelInput.vue +1 -0
- package/components/Input/RoundedInput.vue +4 -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 +429 -59
- package/components/Pages/MemberForm.vue +327 -159
- package/components/Pages/ProductConditions.vue +681 -150
- package/components/Panel/PanelHandler.vue +261 -114
- 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 +133 -42
- package/composables/constants.ts +41 -0
- package/composables/fields.ts +6 -4
- package/composables/index.ts +246 -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 +44 -14
- package/nuxt.config.ts +10 -13
- package/package.json +13 -12
- package/plugins/head.ts +2 -1
- package/store/data.store.ts +670 -480
- package/store/member.store.ts +18 -6
- package/store/rules.ts +21 -2
- package/tsconfig.json +3 -0
- package/types/enum.ts +20 -2
- package/types/env.d.ts +2 -2
- package/types/form.ts +71 -74
- package/types/index.ts +916 -873
package/nuxt.config.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import VueI18nVitePlugin from '@intlify/unplugin-vue-i18n/vite';
|
|
1
|
+
import path from 'path';
|
|
2
|
+
import VueI18nVitePlugin from '@intlify/unplugin-vue-i18n';
|
|
4
3
|
|
|
5
4
|
export default defineNuxtConfig({
|
|
6
5
|
ssr: false,
|
|
@@ -12,7 +11,7 @@ export default defineNuxtConfig({
|
|
|
12
11
|
},
|
|
13
12
|
|
|
14
13
|
build: {
|
|
15
|
-
transpile: ['@vuepic/vue-datepicker', '@microsoft/signalr', 'vue-uuid', 'qrcode.vue'],
|
|
14
|
+
transpile: ['@vuepic/vue-datepicker', '@microsoft/signalr', 'vue-uuid', 'qrcode.vue', 'vue-i18n'],
|
|
16
15
|
},
|
|
17
16
|
|
|
18
17
|
vite: {
|
|
@@ -26,19 +25,17 @@ export default defineNuxtConfig({
|
|
|
26
25
|
},
|
|
27
26
|
},
|
|
28
27
|
plugins: [
|
|
29
|
-
VueI18nVitePlugin({
|
|
30
|
-
include: [resolve(
|
|
28
|
+
VueI18nVitePlugin.vite({
|
|
29
|
+
include: [path.resolve(__dirname, './locales/**')],
|
|
31
30
|
}),
|
|
32
31
|
],
|
|
32
|
+
build: {
|
|
33
|
+
chunkSizeWarningLimit: 2000,
|
|
34
|
+
},
|
|
33
35
|
},
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
vue: {
|
|
40
|
-
propsDestructure: true,
|
|
41
|
-
},
|
|
37
|
+
vue: { propsDestructure: true },
|
|
38
|
+
future: { typescriptBundlerResolution: false },
|
|
42
39
|
|
|
43
40
|
components: [{ path: './components', prefix: 'Base', pathPrefix: false }],
|
|
44
41
|
});
|
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.31",
|
|
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
|
});
|