hl-core 0.0.9-beta.1 → 0.0.9-beta.10

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 (56) hide show
  1. package/api/index.ts +147 -147
  2. package/api/interceptors.ts +16 -14
  3. package/components/Button/Btn.vue +3 -3
  4. package/components/Complex/ContentBlock.vue +1 -1
  5. package/components/Complex/MessageBlock.vue +26 -0
  6. package/components/Complex/Page.vue +7 -1
  7. package/components/Complex/WhiteBlock.vue +7 -0
  8. package/components/Dialog/Dialog.vue +2 -2
  9. package/components/Dialog/FamilyDialog.vue +5 -5
  10. package/components/Form/FormBlock.vue +25 -27
  11. package/components/Form/FormSection.vue +2 -2
  12. package/components/Form/FormTextSection.vue +3 -3
  13. package/components/Form/FormToggle.vue +3 -3
  14. package/components/Form/ManagerAttachment.vue +55 -42
  15. package/components/Form/ProductConditionsBlock.vue +16 -16
  16. package/components/Input/EmptyFormField.vue +1 -1
  17. package/components/Input/FileInput.vue +0 -1
  18. package/components/Input/RoundedEmptyField.vue +5 -0
  19. package/components/Input/RoundedSelect.vue +13 -0
  20. package/components/Layout/Drawer.vue +2 -1
  21. package/components/Layout/Header.vue +1 -1
  22. package/components/Layout/SettingsPanel.vue +5 -9
  23. package/components/List/ListEmpty.vue +1 -1
  24. package/components/Menu/MenuHover.vue +1 -1
  25. package/components/Menu/MenuNav.vue +1 -1
  26. package/components/Menu/MenuNavItem.vue +4 -4
  27. package/components/Pages/Anketa.vue +12 -17
  28. package/components/Pages/Auth.vue +9 -9
  29. package/components/Pages/ContragentForm.vue +505 -0
  30. package/components/Pages/Documents.vue +5 -5
  31. package/components/Pages/InvoiceInfo.vue +1 -1
  32. package/components/Pages/MemberForm.vue +35 -28
  33. package/components/Pages/ProductAgreement.vue +1 -3
  34. package/components/Pages/ProductConditions.vue +13 -18
  35. package/components/Panel/PanelHandler.vue +20 -15
  36. package/components/Panel/PanelSelectItem.vue +3 -3
  37. package/components/Utilities/IconBorder.vue +17 -0
  38. package/composables/axios.ts +1 -1
  39. package/composables/classes.ts +5 -7
  40. package/composables/constants.ts +5 -0
  41. package/composables/index.ts +30 -4
  42. package/composables/styles.ts +19 -9
  43. package/configs/i18n.ts +0 -2
  44. package/layouts/default.vue +5 -2
  45. package/layouts/full.vue +1 -1
  46. package/locales/ru.json +62 -2
  47. package/nuxt.config.ts +1 -1
  48. package/package.json +12 -21
  49. package/pages/500.vue +2 -2
  50. package/pages/Token.vue +1 -0
  51. package/plugins/helperFunctionsPlugins.ts +6 -7
  52. package/store/data.store.ts +54 -37
  53. package/store/rules.ts +11 -2
  54. package/types/index.ts +40 -26
  55. package/components/Button/BtnIcon.vue +0 -47
  56. package/locales/kz.json +0 -585
@@ -1,8 +1,8 @@
1
1
  export class Styles {
2
2
  // Base
3
- whiteBg: string = 'bg-white';
4
- whiteText: string = 'text-white';
5
- blackText: string = 'text-black';
3
+ whiteBg: string = 'bg-[#FFF]';
4
+ whiteText: string = '!text-[#FFF]';
5
+ blackText: string = '!text-[#000]';
6
6
  bodyBg: string = '!bg-[#F5F5F5]';
7
7
 
8
8
  whiteTextHover: string = 'hover:text-[#FFFFFF]';
@@ -11,7 +11,7 @@ export class Styles {
11
11
  blueBgHover: string = 'hover:bg-[#96abd6]';
12
12
  blueBgLight: string = 'bg-[#F3F6FC]';
13
13
  blueBgLightHover: string = 'hover:bg-[#f5f8fd]';
14
- blueText: string = 'text-[#A0B3D8]';
14
+ blueText: string = '!text-[#A0B3D8]';
15
15
  blueTextLight: string = 'text-[#F3F6FC]';
16
16
 
17
17
  // Green
@@ -23,13 +23,13 @@ export class Styles {
23
23
  greenBgLightHover: string = 'hover:bg-[#dbf0e4]';
24
24
 
25
25
  // Yellow
26
- yellowText: string = 'text-[#FAB31C]';
26
+ yellowText: string = '!text-[#FAB31C]';
27
27
  yellowBg: string = 'bg-[#FAB31C]';
28
28
  yellowBgHover: string = 'hover:bg-[#FAB31C]';
29
29
 
30
30
  // Grey
31
31
  greyBg: string = 'bg-[#B8B8B8]';
32
- greyText: string = 'text-[#B8B8B8]';
32
+ greyText: string = '!text-[#B8B8B8]';
33
33
  greyTextLight: string = 'text-[#B8B8B8]';
34
34
  greyIcon: string = 'text-[#DADADA]';
35
35
  greyIconBg: string = 'bg-[#DADADA]';
@@ -39,15 +39,22 @@ export class Styles {
39
39
  greyTextDark: string = 'text-[#9197A1]';
40
40
 
41
41
  // Red
42
- redText: string = 'text-[#FD2D39]';
42
+ redText: string = '!text-[#FD2D39]';
43
43
  redBg: string = 'bg-[#FF897D]';
44
44
  redBgHover: string = 'hover:bg-[#ff9b91]';
45
45
  // Error
46
46
  errorBg: string = 'bg-[#FF5449]';
47
- errorText: string = 'text-[#FF5449]';
47
+ errorText: string = '!text-[#FF5449]';
48
48
 
49
49
  // Border
50
50
  rounded: string = 'rounded-[8px]';
51
+ roundedT: string = 'rounded-t-[8px]';
52
+ roundedB: string = 'rounded-b-[8px]';
53
+ blueBorder: string = 'border-[1px] border-[#A0B3D8]';
54
+ blueLightBorder: string = 'border-[1px] border-[#F3F6FC]';
55
+ greenBorder: string = 'border-[1px] border-[#009C73]';
56
+ redBorder: string = 'border-[1px] border-[#FD2D39]';
57
+ yellowBorder: string = 'border-[1px] border-[#FAB31C]';
51
58
 
52
59
  // Text
53
60
  textSimple: string = 'text-[14px] leading-5';
@@ -63,6 +70,7 @@ export class Styles {
63
70
  redBtn: string;
64
71
  yellowBtn: string;
65
72
  whiteBtn: string;
73
+ whiteBtnBlueBr: string;
66
74
  blueLightBtn: string;
67
75
  greenLightBtn: string;
68
76
 
@@ -70,9 +78,10 @@ export class Styles {
70
78
  flexColNav: string;
71
79
  emptyBlockCol: string;
72
80
  scrollPage: string;
81
+ flexCenter: string = 'flex items-center justify-center';
73
82
 
74
83
  // Muted or disabled
75
- mutedText: string = 'text-[#99A3B3]';
84
+ mutedText: string = '!text-[#99A3B3]';
76
85
  disabled: string = 'cursor-not-allowed opacity-50';
77
86
 
78
87
  constructor() {
@@ -81,6 +90,7 @@ export class Styles {
81
90
  this.redBtn = `${this.redBg} ${this.whiteText} ${this.textTitle} ${this.rounded} w-full ${this.redBgHover}`;
82
91
  this.yellowBtn = `${this.yellowBg} ${this.whiteText} ${this.textTitle} ${this.rounded} w-full ${this.yellowBgHover}`;
83
92
  this.blueBtn = `${this.blueBg} ${this.whiteText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgHover}`;
93
+ this.whiteBtnBlueBr = `${this.whiteBg} ${this.blueText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover} ${this.blueBorder}`;
84
94
  this.whiteBtn = ` ${this.blackText} ${this.textTitle} ${this.rounded} w-full ${this.blueLightBgHover}`;
85
95
  this.blueLightBtn = `${this.blueBgLight} ${this.greyTextLight} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover}`;
86
96
  this.greenLightBtn = `${this.greenBgLight} ${this.greenText} ${this.textTitle} ${this.rounded} w-full ${this.greenBgLightHover}`;
package/configs/i18n.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { createI18n } from 'vue-i18n';
2
2
  import ru from '../locales/ru.json';
3
- import kz from '../locales/kz.json';
4
3
 
5
4
  const instance = createI18n({
6
5
  legacy: false,
@@ -8,7 +7,6 @@ const instance = createI18n({
8
7
  locale: 'ru',
9
8
  messages: {
10
9
  ru,
11
- kz,
12
10
  },
13
11
  });
14
12
 
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="h-full z-[1]" :class="[$dataStore.hasLayoutMargins ? 'lg:mx-[22px] lg:my-[33px] lg:shadow-xl' : '']">
3
- <div :class="[$libStyles.greenBg]" class="hidden z-[-1] lg:block absolute left-0 top-0 h-[200px] w-full"></div>
4
- <section class="flex h-full" :class="$libStyles.blueBgLight">
3
+ <div :class="[$styles.greenBg]" class="hidden z-[-1] lg:block absolute left-0 top-0 h-[200px] w-full"></div>
4
+ <section class="flex h-full" :class="$styles.blueBgLight">
5
5
  <base-menu-nav
6
6
  v-if="$dataStore.showNav"
7
7
  :selected="$dataStore.menu.selectedItem"
@@ -72,4 +72,7 @@ label .v-label .v-field-label,
72
72
  /* line-height: v-bind('dataStore.fontSize*1 + "px"') !important; */
73
73
  padding-bottom: 3px;
74
74
  }
75
+ .v-card {
76
+ border-radius: 8px !important;
77
+ }
75
78
  </style>
package/layouts/full.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="h-full z-[1]" :class="[$dataStore.hasLayoutMargins ? 'lg:mx-[22px] lg:my-[33px] lg:shadow-xl' : '']">
3
- <div :class="[$libStyles.greenBg]" class="hidden lg:block absolute z-[-1] left-0 top-0 h-[200px] w-full"></div>
3
+ <div :class="[$styles.greenBg]" class="hidden lg:block absolute z-[-1] left-0 top-0 h-[200px] w-full"></div>
4
4
  <slot></slot>
5
5
  </div>
6
6
  </template>
package/locales/ru.json CHANGED
@@ -100,7 +100,15 @@
100
100
  "beneficialOwner": "бенефициарный собственник",
101
101
  "spokesman": "представитель страхователя",
102
102
  "noPermission": "У вас нет привилегии на запрос {text}",
103
- "courseChanged": "Изменился курс НБ РК, необходимо вернуть на доработку и сделать перерасчет"
103
+ "courseChanged": "Изменился курс НБ РК, необходимо вернуть на доработку и сделать перерасчет",
104
+ "noAmountBeforeTypeAndCountries": "Страховая сумма вычисляется после выбора полей типа поездки и страны поездки",
105
+ "noMaxDaysBeforePeriod": "Количество дней пребывания вычисляется после выбора поля периода",
106
+ "startMoreEnd": "Дата начала не должна превышать дату окончания поездки",
107
+ "passportNotFound": "Паспорт не найден",
108
+ "wrongInn": "Неправильный ИНН",
109
+ "underageShouldBeLess18": "Несовершеннолетний не может быть старше 18 лет",
110
+ "needAgent": "Поле агент должно быть заполнено",
111
+ "tripInsuredAmountCalculated": "Высчитана страховая сумма для выбора"
104
112
  },
105
113
  "buttons": {
106
114
  "dataInput": "Ввод данных",
@@ -282,6 +290,25 @@
282
290
  "periodAnnuityPayment": "Запрашиваемый период аннуитетной выплаты",
283
291
  "amountAnnuityPayments": "Запрашиваемый размер аннуитетных выплат"
284
292
  },
293
+ "calculatorForm": {
294
+ "country": "Страна поездки",
295
+ "countries": "Страны поездки",
296
+ "purpose": "Цель поездки",
297
+ "workType": "Вид профессии",
298
+ "sportsType": "Вид спорта",
299
+ "type": "Тип поездки",
300
+ "days": "Количество дней пребывания",
301
+ "maxDays": "Максимальное число дней пребывания",
302
+ "age": "Возраст застрахованного",
303
+ "price": "Предварительная стоимость",
304
+ "premium": "Страховая премия",
305
+ "period": "Период страхования",
306
+ "professionType": "Тип профессии",
307
+ "amount": "Страховая сумма",
308
+ "continue": "Продолжить оформление",
309
+ "startDate": "Дата начала",
310
+ "endDate": "Дата окончания"
311
+ },
285
312
  "history": {
286
313
  "addRegNumber": "Номер",
287
314
  "number": "Номер заявки",
@@ -298,26 +325,42 @@
298
325
  "decision": "Статус",
299
326
  "userFullName": "Исполнитель"
300
327
  },
328
+ "aml": {
329
+ "contractSignDate": "Дата заключение контракта",
330
+ "contractEndDate": "Дата завершения контракта",
331
+ "insuranceEndPeriod": "Срок действия страховой защиты",
332
+ "payPeriods": "Период уплаты страховых взносов"
333
+ },
301
334
  "agent": {
335
+ "currency": "Валюта",
336
+ "programName": "Программа",
302
337
  "menu": "Меню",
303
338
  "main": "Главное",
304
339
  "reports": "Отчеты",
305
340
  "report": "Отчет",
306
341
  "notifications": "Уведомления",
307
342
  "support": "Тех. поддержка",
343
+ "makePolicy": "Заключить полис",
344
+ "done": "Оформлено",
345
+ "noChildAgents": "Отсутствуют суб-агенты",
308
346
  "agentsInfo": "Сведения о страховых агентах",
347
+ "personalData": "Личные данные",
309
348
  "info": "Данные об агенте",
349
+ "information": "Сведения",
310
350
  "about": "Сведения об Агенте",
311
351
  "level": "Уровень",
312
352
  "subAgents": "Суб-агенты",
313
- "done": "Оформлено договоров",
353
+ "doneStatements": "Оформлено договоров",
314
354
  "myContracts": "Оформлено договоров",
315
355
  "nextLevel": "Следующий уровень {text}",
316
356
  "leftMy": "Осталось оформить лично",
357
+ "leftGroup": "Осталось оформить группой",
317
358
  "leftAll": "Осталось оформить всего",
359
+ "leftAgents": "Осталось агентов {text} уровня",
318
360
  "donePolicies": "Оформлено полисов",
319
361
  "successStat": "Статистика успешных сделок",
320
362
  "doneMy": "Оформлено лично",
363
+ "doneGroup": "Оформлено группой",
321
364
  "doneAll": "Всего оформлено",
322
365
  "progressAll": "Прогресс за все время работы",
323
366
  "subagentsCalled": "Привлечено суб-агентов",
@@ -332,6 +375,7 @@
332
375
  "reportType": "Тип отчета",
333
376
  "reportFile": "Файл отчета",
334
377
  "reportDate": "Отчетная дата",
378
+ "agentPolicy": "Личные продажи",
335
379
  "paymentJournal": "Журнал оплаты",
336
380
  "journal": {
337
381
  "incomeKz": "Приходы KZT",
@@ -344,6 +388,7 @@
344
388
  "unallocation": {
345
389
  "paymentId": "ID платежа",
346
390
  "voucherNumber": "Номер ваучера",
391
+ "voucherSum": "Сумма",
347
392
  "voucherDate": "Дата ваучера",
348
393
  "voucherStatus": "Статус ваучера"
349
394
  },
@@ -381,6 +426,15 @@
381
426
  "new": "Подать заявление"
382
427
  },
383
428
  "labels": {
429
+ "premium": "Премия",
430
+ "currencySum": "Сумма валюты",
431
+ "contractNo": "Номер контракта",
432
+ "inAll": "Всего",
433
+ "sorting": "Сортировка",
434
+ "premiumSum": "Сумма премии",
435
+ "department": "Департамент",
436
+ "fromDate": "Дата с",
437
+ "toDate": "Дата по",
384
438
  "newVersion": "Новая версия",
385
439
  "code": "Код",
386
440
  "codes": "Коды",
@@ -393,6 +447,11 @@
393
447
  "dicts": "Справочники",
394
448
  "aml": "AML",
395
449
  "amlLong": "Противодействие отмыву денег",
450
+ "checkContract": "Присвоение уровня риска",
451
+ "checkContragent": "Проверка Контрагента",
452
+ "riskPoint": "Уровень риска",
453
+ "comment": "Комментарий",
454
+ "matchWith": "Совпадение по",
396
455
  "efoLong": "Единое фронтальное окно",
397
456
  "efo": "ЕФО",
398
457
  "lkaLong": "Личный кабинет Агента",
@@ -467,6 +526,7 @@
467
526
  "rules": {
468
527
  "required": "Поле обязательно",
469
528
  "cyrillic": "Поле должно содержать только кириллические символы",
529
+ "latin": "Поле должно содержать только латинские символы",
470
530
  "email": "Неправильный адрес электронной почты",
471
531
  "numbers": "Поле должно содержать только цифры",
472
532
  "numbersSymbols": "Поле должно содержать цифры",
package/nuxt.config.ts CHANGED
@@ -6,7 +6,7 @@ import VueI18nVitePlugin from '@intlify/unplugin-vue-i18n/vite';
6
6
  export default defineNuxtConfig({
7
7
  ssr: false,
8
8
  spaLoadingTemplate: false,
9
- modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss', '@nuxt/devtools'],
9
+ modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss', '@nuxt/devtools', '@vueuse/nuxt'],
10
10
 
11
11
  imports: {
12
12
  dirs: ['store', 'composables'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.9-beta.1",
3
+ "version": "0.0.9-beta.10",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",
@@ -28,31 +28,23 @@
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 lifetrip && 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 lifetrip && yarn && cd .. && cd core",
31
33
  "update:core": "git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main",
32
- "update:aml": "cd .. && cd aml && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
33
- "update:baiterek": "cd .. && cd baiterek && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
34
- "update:bolashak": "cd .. && cd bolashak && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
35
- "update:calculator": "cd .. && cd calculator && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
36
- "update:efo": "cd .. && cd efo && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
37
- "update:gons": "cd .. && cd gons && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
38
- "update:kazyna": "cd .. && cd kazyna && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
39
- "update:liferenta": "cd .. && cd liferenta && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
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",
40
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
- "update:all": "yarn update:aml && yarn update:baiterek && yarn update:bolashak && yarn update:calculator && yarn update:efo && yarn update:gons && yarn update:kazyna && yarn update:liferenta && yarn update:lka",
42
- "pull:aml": "cd .. && cd aml && git pull && cd .. && cd core",
43
- "pull:baiterek": "cd .. && cd baiterek && git pull && cd .. && cd core",
44
- "pull:bolashak": "cd .. && cd bolashak && git pull && cd .. && cd core",
45
- "pull:calculator": "cd .. && cd calculator && git pull && cd .. && cd core",
46
- "pull:efo": "cd .. && cd efo && git pull && cd .. && cd core",
47
- "pull:gons": "cd .. && cd gons && git pull && cd .. && cd core",
48
- "pull:kazyna": "cd .. && cd kazyna && git pull && cd .. && cd core",
49
- "pull:liferenta": "cd .. && cd liferenta && git pull && cd .. && cd core",
50
- "pull:lka": "cd .. && cd lka && git pull && cd .. && cd core",
51
- "pull:all": "cd .. && cd aml && git pull && cd .. && cd baiterek && git pull && cd .. && cd bolashak && git pull && cd .. && cd calculator && git pull && cd .. && cd efo && git pull && cd .. && cd gons && git pull && cd .. && cd kazyna && git pull && cd .. && cd liferenta && git pull && cd .. && cd lka && git pull && cd ..",
36
+ "update:all": "yarn update:aml && yarn update:lka",
37
+ "pull:core": "git pull && git fetch",
38
+ "pull:aml": "cd ../../aml && git pull && cd ../efo/core",
39
+ "pull:lka": "cd ../../lka && git pull && cd ../efo/core",
40
+ "pull:all": "yarn pull:core && yarn pull:aml && yarn pull:lka",
52
41
  "typecheck": "nuxt typecheck"
53
42
  },
54
43
  "devDependencies": {
55
44
  "@nuxt/devtools": "^0.4.5",
45
+ "@vueuse/components": "^10.2.1",
46
+ "@vueuse/core": "^10.2.1",
47
+ "@vueuse/nuxt": "^10.2.1",
56
48
  "nuxt": "^3.6.2",
57
49
  "prettier": "^2.8.8"
58
50
  },
@@ -70,7 +62,6 @@
70
62
  "pinia": "^2.1.4",
71
63
  "typedoc": "^0.24.8",
72
64
  "typescript": "5.0.4",
73
- "v-idle-3": "^0.3.14",
74
65
  "vue-i18n": "^9.2.2",
75
66
  "vue-json-pretty": "^2.2.4",
76
67
  "vue-toastification": "^2.0.0-rc.5",
package/pages/500.vue CHANGED
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <base-content class="!w-full flex-col justify-center items-center gap-[100px]" :class="[$libStyles.blueBgLight]">
2
+ <base-content class="!w-full flex-col justify-center items-center gap-[100px]" :class="[$styles.blueBgLight]">
3
3
  <svg class="w-[240px] lg:w-[330px]" draggable="false" width="277" height="99" viewBox="0 0 277 99" fill="none" xmlns="http://www.w3.org/2000/svg">
4
4
  <path
5
5
  fill-rule="evenodd"
@@ -39,7 +39,7 @@
39
39
  />
40
40
  </svg>
41
41
  <div class="text-center">
42
- <h2 :class="[$libStyles.blackText]" class="text-[26px] leading-5 mb-5">Сервис временно не доступен</h2>
42
+ <h2 :class="[$styles.blackText]" class="text-[26px] leading-5 mb-5">Сервис временно не доступен</h2>
43
43
  <p v-if="errorStack.length" class="mt-4 flex flex-col">
44
44
  <span v-for="(error, index) of errorStack" :key="error">
45
45
  <i v-if="index !== 0" class="mdi mdi-arrow-right"></i>
package/pages/Token.vue CHANGED
@@ -22,6 +22,7 @@ export default defineComponent({
22
22
  if (dataStore.isAML) {
23
23
  return 'Main';
24
24
  }
25
+ return 'index';
25
26
  };
26
27
 
27
28
  onMounted(async () => {
@@ -3,25 +3,24 @@ import { constants } from '../composables/constants';
3
3
  import { Styles } from '../composables/styles';
4
4
  import VueDatePicker from '@vuepic/vue-datepicker';
5
5
  import '@vuepic/vue-datepicker/dist/main.css';
6
- import Vidle from 'v-idle-3';
7
6
  import Maska from 'maska';
8
7
  import i18n from '../configs/i18n';
9
8
 
10
9
  export default defineNuxtPlugin(nuxtApp => {
11
- //@ts-ignore
12
- nuxtApp.vueApp.use(Vidle, {});
13
10
  nuxtApp.vueApp.use(Maska);
14
11
  nuxtApp.vueApp.use(i18n);
15
12
  nuxtApp.vueApp.component('VueDatePicker', VueDatePicker);
16
13
 
17
14
  return {
18
15
  provide: {
19
- capitalize: capitalize,
20
- getFullNameShorted: getFullNameShorted,
21
- libStyles: new Styles(),
16
+ env: useEnv(),
22
17
  maska: new Masks(),
23
- reformatIin: reformatIin,
18
+ styles: new Styles(),
24
19
  constants: constants,
20
+ capitalize: capitalize,
21
+ display: useDisplayInfo,
22
+ reformatIin: reformatIin,
23
+ getFullNameShorted: getFullNameShorted,
25
24
  },
26
25
  };
27
26
  });