hl-core 0.0.9-beta.5 → 0.0.9-beta.50

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.
Files changed (63) hide show
  1. package/api/base.api.ts +935 -0
  2. package/api/index.ts +2 -620
  3. package/api/interceptors.ts +53 -14
  4. package/components/Button/Btn.vue +2 -2
  5. package/components/Complex/MessageBlock.vue +2 -2
  6. package/components/Complex/Page.vue +1 -1
  7. package/components/Dialog/Dialog.vue +60 -15
  8. package/components/Form/DynamicForm.vue +100 -0
  9. package/components/Form/FormBlock.vue +12 -3
  10. package/components/Form/FormData.vue +110 -0
  11. package/components/Form/FormSection.vue +3 -3
  12. package/components/Form/FormToggle.vue +25 -5
  13. package/components/Form/ManagerAttachment.vue +150 -86
  14. package/components/Form/ProductConditionsBlock.vue +59 -6
  15. package/components/Input/Datepicker.vue +39 -8
  16. package/components/Input/DynamicInput.vue +23 -0
  17. package/components/Input/FileInput.vue +25 -5
  18. package/components/Input/FormInput.vue +2 -4
  19. package/components/Input/Monthpicker.vue +34 -0
  20. package/components/Input/PanelInput.vue +5 -1
  21. package/components/Input/RoundedEmptyField.vue +5 -0
  22. package/components/Input/RoundedSelect.vue +13 -0
  23. package/components/Input/SwitchInput.vue +64 -0
  24. package/components/Input/TextInput.vue +160 -0
  25. package/components/Layout/Drawer.vue +17 -4
  26. package/components/Layout/Header.vue +23 -2
  27. package/components/Layout/Loader.vue +1 -1
  28. package/components/Layout/SettingsPanel.vue +13 -7
  29. package/components/Menu/InfoMenu.vue +35 -0
  30. package/components/Menu/MenuNav.vue +17 -2
  31. package/components/Pages/Anketa.vue +140 -52
  32. package/components/Pages/Auth.vue +42 -7
  33. package/components/Pages/ContragentForm.vue +124 -50
  34. package/components/Pages/Documents.vue +72 -7
  35. package/components/Pages/InvoiceInfo.vue +1 -1
  36. package/components/Pages/MemberForm.vue +369 -100
  37. package/components/Pages/ProductAgreement.vue +1 -8
  38. package/components/Pages/ProductConditions.vue +888 -181
  39. package/components/Panel/PanelHandler.vue +414 -45
  40. package/components/Panel/PanelSelectItem.vue +17 -2
  41. package/components/Panel/RightPanelCloser.vue +7 -0
  42. package/components/Transitions/Animation.vue +28 -0
  43. package/components/Utilities/Qr.vue +44 -0
  44. package/composables/axios.ts +1 -0
  45. package/composables/classes.ts +433 -8
  46. package/composables/constants.ts +102 -2
  47. package/composables/fields.ts +328 -0
  48. package/composables/index.ts +257 -12
  49. package/composables/styles.ts +29 -16
  50. package/layouts/default.vue +48 -3
  51. package/locales/ru.json +480 -14
  52. package/package.json +27 -24
  53. package/pages/Token.vue +1 -12
  54. package/plugins/vuetifyPlugin.ts +2 -0
  55. package/store/data.store.ts +1190 -248
  56. package/store/extractStore.ts +17 -0
  57. package/store/form.store.ts +13 -1
  58. package/store/member.store.ts +1 -1
  59. package/store/rules.ts +66 -5
  60. package/types/enum.ts +43 -0
  61. package/types/env.d.ts +1 -0
  62. package/types/form.ts +94 -0
  63. package/types/index.ts +254 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.9-beta.5",
3
+ "version": "0.0.9-beta.50",
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 calculator && yarn typecheck && cd .. && cd efo && yarn typecheck && cd .. && cd gons && yarn typecheck && cd .. && cd kazyna && yarn typecheck && cd .. && cd lifebusiness && yarn typecheck && cd .. && cd liferenta && yarn typecheck && cd .. && cd core",
32
- "i:all": "cd .. && cd baiterek && yarn && cd .. && cd bolashak && yarn && cd .. && cd calculator && yarn && cd .. && cd efo && yarn && cd .. && cd gons && yarn && cd .. && cd kazyna && yarn && cd .. && cd lifebusiness && yarn && cd .. && cd liferenta && yarn && cd .. && cd core",
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 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 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,34 @@
41
41
  "typecheck": "nuxt typecheck"
42
42
  },
43
43
  "devDependencies": {
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"
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": "^0.12.2",
53
- "@mdi/font": "^7.2.96",
54
- "@nuxtjs/tailwindcss": "^6.8.0",
55
- "@pinia/nuxt": "^0.4.11",
56
- "@vuepic/vue-datepicker": "^5.3.0",
57
- "animate.css": "^4.1.1",
58
- "axios": "^1.4.0",
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": "^3.1.2",
62
+ "jwt-decode": "3.1.2",
61
63
  "maska": "1.5.0",
62
- "pinia": "^2.1.4",
63
- "typedoc": "^0.24.8",
64
+ "pinia": "2.1.4",
65
+ "qrcode.vue": "3.4.1",
66
+ "typedoc": "0.24.8",
64
67
  "typescript": "5.0.4",
65
- "vue-i18n": "^9.2.2",
66
- "vue-json-pretty": "^2.2.4",
67
- "vue-toastification": "^2.0.0-rc.5",
68
- "vue-uuid": "^3.0.0",
69
- "vuetify": "^3.3.7"
68
+ "vue-i18n": "9.2.2",
69
+ "vue-json-pretty": "2.2.4",
70
+ "vue-toastification": "2.0.0-rc.5",
71
+ "vue-uuid": "3.0.0",
72
+ "vuetify": "3.3.23"
70
73
  }
71
74
  }
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
- const getMainPageRoute = () => {
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) {
@@ -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: {