hl-core 0.0.9-beta.5 → 0.0.9-beta.51
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 +1042 -0
- package/api/index.ts +2 -620
- package/api/interceptors.ts +53 -14
- package/components/Button/Btn.vue +2 -2
- package/components/Complex/MessageBlock.vue +2 -2
- package/components/Complex/Page.vue +1 -1
- package/components/Dialog/Dialog.vue +60 -15
- package/components/Form/DynamicForm.vue +100 -0
- package/components/Form/FormBlock.vue +12 -3
- package/components/Form/FormData.vue +110 -0
- package/components/Form/FormSection.vue +3 -3
- package/components/Form/FormToggle.vue +25 -5
- package/components/Form/ManagerAttachment.vue +150 -86
- package/components/Form/ProductConditionsBlock.vue +59 -6
- package/components/Input/Datepicker.vue +43 -7
- package/components/Input/DynamicInput.vue +23 -0
- package/components/Input/FileInput.vue +25 -5
- package/components/Input/FormInput.vue +7 -4
- package/components/Input/Monthpicker.vue +34 -0
- package/components/Input/PanelInput.vue +5 -1
- package/components/Input/RoundedEmptyField.vue +5 -0
- package/components/Input/RoundedSelect.vue +18 -0
- package/components/Input/SwitchInput.vue +64 -0
- package/components/Input/TextInput.vue +160 -0
- package/components/Layout/Drawer.vue +17 -4
- package/components/Layout/Header.vue +23 -2
- package/components/Layout/Loader.vue +1 -1
- package/components/Layout/SettingsPanel.vue +13 -7
- package/components/Menu/InfoMenu.vue +35 -0
- package/components/Menu/MenuNav.vue +17 -2
- package/components/Pages/Anketa.vue +140 -52
- package/components/Pages/Auth.vue +50 -9
- package/components/Pages/ContragentForm.vue +124 -50
- package/components/Pages/Documents.vue +179 -29
- package/components/Pages/InvoiceInfo.vue +1 -1
- package/components/Pages/MemberForm.vue +605 -116
- package/components/Pages/ProductAgreement.vue +1 -8
- package/components/Pages/ProductConditions.vue +1055 -183
- package/components/Panel/PanelHandler.vue +583 -46
- package/components/Panel/PanelSelectItem.vue +17 -2
- package/components/Panel/RightPanelCloser.vue +7 -0
- package/components/Transitions/Animation.vue +28 -0
- package/components/Utilities/Qr.vue +44 -0
- package/composables/axios.ts +1 -0
- package/composables/classes.ts +456 -8
- package/composables/constants.ts +114 -2
- package/composables/fields.ts +328 -0
- package/composables/index.ts +270 -19
- package/composables/styles.ts +29 -16
- package/layouts/default.vue +48 -3
- package/locales/ru.json +547 -14
- package/package.json +28 -24
- package/pages/Token.vue +1 -12
- package/plugins/vuetifyPlugin.ts +2 -0
- package/store/data.store.ts +1463 -275
- package/store/extractStore.ts +17 -0
- package/store/form.store.ts +13 -1
- package/store/member.store.ts +1 -1
- package/store/rules.ts +83 -5
- package/types/enum.ts +61 -0
- package/types/env.d.ts +1 -0
- package/types/form.ts +94 -0
- package/types/index.ts +259 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hl-core",
|
|
3
|
-
"version": "0.0.9-beta.
|
|
3
|
+
"version": "0.0.9-beta.51",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "nuxt.config.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dev": "nuxt dev",
|
|
29
29
|
"generate": "nuxt generate",
|
|
30
30
|
"preview": "nuxt preview",
|
|
31
|
-
"tk:all": "cd .. && cd baiterek && yarn typecheck && cd .. && cd bolashak && yarn typecheck && cd .. && cd
|
|
32
|
-
"i:all": "cd .. && cd baiterek && yarn && cd .. && cd bolashak && yarn && cd .. && cd
|
|
31
|
+
"tk:all": "cd .. && cd amuletlife && yarn typecheck && cd .. && cd baiterek && yarn typecheck && cd .. && cd bolashak && yarn typecheck && cd .. && cd calc && yarn typecheck && cd .. && cd daskamkorlyk && yarn typecheck && cd .. && cd efo && yarn typecheck && cd .. && cd gons && yarn typecheck && cd .. && cd halykkazyna && yarn typecheck && cd .. && cd lifebusiness && yarn typecheck && cd .. && cd gns && yarn typecheck && cd .. && cd liferenta && yarn typecheck && cd .. && cd lifetrip && yarn typecheck && cd .. && cd pensionannuity && yarn typecheck && cd .. && cd prepensionannuity && yarn typecheck && cd .. && cd core",
|
|
32
|
+
"i:all": "cd .. && cd amuletlife && yarn && cd .. && cd baiterek && yarn && cd .. && cd bolashak && yarn && cd .. && cd calc && yarn && cd .. && cd daskamkorlyk && yarn && cd .. && cd efo && yarn && cd .. && cd gons && yarn && cd .. && cd halykkazyna && yarn && cd .. && cd lifebusiness && yarn && cd .. && cd gns && yarn && cd .. && cd liferenta && yarn && cd .. && cd lifetrip && yarn && cd .. && cd pensionannuity && yarn && cd .. && cd prepensionannuity && yarn && cd .. && cd core",
|
|
33
33
|
"update:core": "git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main",
|
|
34
34
|
"update:aml": "cd ../../aml/aml && yarn && cd ../checkcontract && yarn && cd ../checkcontragent && yarn && cd.. && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd ../efo/core",
|
|
35
35
|
"update:lka": "cd .. && cd lka && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
@@ -41,31 +41,35 @@
|
|
|
41
41
|
"typecheck": "nuxt typecheck"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@nuxt/devtools": "
|
|
45
|
-
"@vueuse/components": "
|
|
46
|
-
"@vueuse/core": "
|
|
47
|
-
"@vueuse/nuxt": "
|
|
48
|
-
"nuxt": "
|
|
49
|
-
"prettier": "
|
|
44
|
+
"@nuxt/devtools": "0.4.5",
|
|
45
|
+
"@vueuse/components": "10.2.1",
|
|
46
|
+
"@vueuse/core": "10.2.1",
|
|
47
|
+
"@vueuse/nuxt": "10.2.1",
|
|
48
|
+
"nuxt": "3.6.2",
|
|
49
|
+
"prettier": "2.8.8"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@intlify/unplugin-vue-i18n": "
|
|
53
|
-
"@mdi/font": "
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"
|
|
58
|
-
"
|
|
52
|
+
"@intlify/unplugin-vue-i18n": "0.12.2",
|
|
53
|
+
"@mdi/font": "7.3.67",
|
|
54
|
+
"@microsoft/signalr": "7.0.12",
|
|
55
|
+
"@nuxtjs/tailwindcss": "6.8.0",
|
|
56
|
+
"@pinia/nuxt": "0.4.11",
|
|
57
|
+
"@regulaforensics/document-reader-webclient": "6.9.5",
|
|
58
|
+
"@vuepic/vue-datepicker": "7.2.0",
|
|
59
|
+
"animate.css": "4.1.1",
|
|
60
|
+
"axios": "1.4.0",
|
|
59
61
|
"fast-xml-parser": "4.0.12",
|
|
60
|
-
"jwt-decode": "
|
|
62
|
+
"jwt-decode": "3.1.2",
|
|
61
63
|
"maska": "1.5.0",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
+
"ncalayer-js-client": "1.3.4",
|
|
65
|
+
"pinia": "2.1.4",
|
|
66
|
+
"qrcode.vue": "3.4.1",
|
|
67
|
+
"typedoc": "0.24.8",
|
|
64
68
|
"typescript": "5.0.4",
|
|
65
|
-
"vue-i18n": "
|
|
66
|
-
"vue-json-pretty": "
|
|
67
|
-
"vue-toastification": "
|
|
68
|
-
"vue-uuid": "
|
|
69
|
-
"vuetify": "
|
|
69
|
+
"vue-i18n": "9.2.2",
|
|
70
|
+
"vue-json-pretty": "2.2.4",
|
|
71
|
+
"vue-toastification": "2.0.0-rc.5",
|
|
72
|
+
"vue-uuid": "3.0.0",
|
|
73
|
+
"vuetify": "3.3.23"
|
|
70
74
|
}
|
|
71
75
|
}
|
package/pages/Token.vue
CHANGED
|
@@ -12,18 +12,7 @@ export default defineComponent({
|
|
|
12
12
|
const router = useRouter();
|
|
13
13
|
const dataStore = useDataStore();
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
if (dataStore.isEFO) {
|
|
17
|
-
return 'Insurance-Product';
|
|
18
|
-
}
|
|
19
|
-
if (dataStore.isLKA) {
|
|
20
|
-
return 'Menu';
|
|
21
|
-
}
|
|
22
|
-
if (dataStore.isAML) {
|
|
23
|
-
return 'Main';
|
|
24
|
-
}
|
|
25
|
-
return 'index';
|
|
26
|
-
};
|
|
15
|
+
|
|
27
16
|
|
|
28
17
|
onMounted(async () => {
|
|
29
18
|
if (!dataStore.isBridge) {
|
package/plugins/vuetifyPlugin.ts
CHANGED
|
@@ -4,12 +4,14 @@ import 'vuetify/styles';
|
|
|
4
4
|
import { createVuetify } from 'vuetify';
|
|
5
5
|
import * as components from 'vuetify/components';
|
|
6
6
|
import * as directives from 'vuetify/directives';
|
|
7
|
+
import { VDataTable } from 'vuetify/labs/VDataTable';
|
|
7
8
|
|
|
8
9
|
export default defineNuxtPlugin(nuxtApp => {
|
|
9
10
|
const vuetify = createVuetify({
|
|
10
11
|
ssr: false,
|
|
11
12
|
components: {
|
|
12
13
|
...components,
|
|
14
|
+
VDataTable,
|
|
13
15
|
},
|
|
14
16
|
directives,
|
|
15
17
|
defaults: {
|