hl-core 0.0.7-beta.14 → 0.0.7-beta.16

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.
@@ -13,9 +13,9 @@ class MenuItemConfig {
13
13
  initial?: any | null;
14
14
  icon?: string | null;
15
15
  action?: Function | void;
16
- disabled?: typeof computed;
16
+ disabled?: ComputedRef;
17
17
  color?: string;
18
- show?: typeof computed;
18
+ show?: ComputedRef;
19
19
 
20
20
  constructor(
21
21
  id: any = null,
@@ -27,9 +27,9 @@ class MenuItemConfig {
27
27
  initial?: any | null,
28
28
  icon?: string | null,
29
29
  action?: Function | void,
30
- disabled?: typeof computed,
30
+ disabled?: ComputedRef,
31
31
  color?: string,
32
- show?: typeof computed,
32
+ show?: ComputedRef,
33
33
  ) {
34
34
  this.id = id;
35
35
  this.title = title;
@@ -59,13 +59,7 @@ export class Value {
59
59
  nameKz: string | number | null;
60
60
  ids: string | number | null;
61
61
 
62
- constructor(
63
- id: string | number | null = null,
64
- nameRu: string | number | null = null,
65
- nameKz: string | number | null = null,
66
- code: string | number | null = null,
67
- ids: string | number | null = null,
68
- ) {
62
+ constructor(id: string | number | null = null, nameRu: string | null = null, nameKz: string | null = null, code: string | null = null, ids: string | null = null) {
69
63
  this.id = id;
70
64
  this.code = code;
71
65
  this.nameRu = nameRu;
@@ -273,10 +267,10 @@ class Person {
273
267
  if (date) {
274
268
  const age = Math.abs(new Date(Date.now() - new Date(date).getTime()).getUTCFullYear() - 1970);
275
269
  if (new Date(date) < new Date(Date.now()) && age > 0) {
276
- return age;
270
+ return age.toString();
277
271
  }
278
272
  } else {
279
- return '';
273
+ return null;
280
274
  }
281
275
  }
282
276
  }
@@ -361,7 +355,28 @@ export class Contragent extends Person {
361
355
  }
362
356
  }
363
357
 
364
- class Form extends Person {
358
+ export class Member extends Person {
359
+ verifyType: any;
360
+ verifyDate: any;
361
+ postIndex: string | null;
362
+ isPdl: boolean;
363
+ migrationCard: string | null;
364
+ migrationCardIssueDate: string | null;
365
+ migrationCardExpireDate: string | null;
366
+ confirmDocType: string | null;
367
+ confirmDocNumber: string | null;
368
+ confirmDocIssueDate: string | null;
369
+ confirmDocExpireDate: string | null;
370
+ notaryLongName: string | null;
371
+ notaryLicenseNumber: string | null;
372
+ notaryLicenseDate: string | null;
373
+ notaryLicenseIssuer: string | null;
374
+ jurLongName: string | null;
375
+ fullNameRod: string | null;
376
+ confirmDocTypeKz: string | null;
377
+ confirmDocTypeRod: string | null;
378
+ isNotary: boolean;
379
+ insurancePay: Value;
365
380
  job: string | null;
366
381
  jobPosition: string | null;
367
382
  jobPlace: string | null;
@@ -404,6 +419,8 @@ class Form extends Person {
404
419
  gotFromInsis: boolean | null;
405
420
  gosPersonData: any;
406
421
  hasAgreement: boolean | null;
422
+ otpTokenId: string | null;
423
+ otpCode: string | null;
407
424
  constructor(
408
425
  id = 0,
409
426
  type = 1,
@@ -453,8 +470,43 @@ class Form extends Person {
453
470
  isDisability = new Value(),
454
471
  disabilityGroupId = new Value(),
455
472
  percentageOfPayoutAmount = null,
473
+ migrationCard = null,
474
+ migrationCardIssueDate = null,
475
+ migrationCardExpireDate = null,
476
+ confirmDocType = null,
477
+ confirmDocNumber = null,
478
+ confirmDocIssueDate = null,
479
+ confirmDocExpireDate = null,
480
+ notaryLongName = null,
481
+ notaryLicenseNumber = null,
482
+ notaryLicenseDate = null,
483
+ notaryLicenseIssuer = null,
484
+ jurLongName = null,
485
+ fullNameRod = null,
486
+ confirmDocTypeKz = null,
487
+ confirmDocTypeRod = null,
488
+ isNotary = false,
456
489
  ) {
457
490
  super(id, type, iin, longName, lastName, firstName, middleName, birthDate, gender, genderName, birthPlace, age);
491
+ this.postIndex = null;
492
+ this.isPdl = false;
493
+ this.migrationCard = migrationCard;
494
+ this.migrationCardIssueDate = migrationCardIssueDate;
495
+ this.migrationCardExpireDate = migrationCardExpireDate;
496
+ this.confirmDocType = confirmDocType;
497
+ this.confirmDocNumber = confirmDocNumber;
498
+ this.confirmDocIssueDate = confirmDocIssueDate;
499
+ this.confirmDocExpireDate = confirmDocExpireDate;
500
+ this.notaryLongName = notaryLongName;
501
+ this.notaryLicenseNumber = notaryLicenseNumber;
502
+ this.notaryLicenseDate = notaryLicenseDate;
503
+ this.notaryLicenseIssuer = notaryLicenseIssuer;
504
+ this.jurLongName = jurLongName;
505
+ this.fullNameRod = fullNameRod;
506
+ this.confirmDocTypeKz = confirmDocTypeKz;
507
+ this.confirmDocTypeRod = confirmDocTypeRod;
508
+ this.isNotary = isNotary;
509
+ this.insurancePay = new Value();
458
510
  this.job = job;
459
511
  this.jobPosition = jobPosition;
460
512
  this.jobPlace = jobPlace;
@@ -483,6 +535,8 @@ class Form extends Person {
483
535
  this.phoneNumber = phoneNumber;
484
536
  this.homePhone = homePhone;
485
537
  this.email = email;
538
+ this.otpTokenId = null;
539
+ this.otpCode = null;
486
540
  this.address = address;
487
541
  this.familyStatus = familyStatus;
488
542
  this.isTerror = isTerror;
@@ -540,6 +594,23 @@ class Form extends Person {
540
594
  this.gotFromInsis = true;
541
595
  this.gosPersonData = null;
542
596
  this.hasAgreement = null;
597
+ this.insurancePay = new Value();
598
+ this.migrationCard = null;
599
+ this.migrationCardIssueDate = null;
600
+ this.migrationCardExpireDate = null;
601
+ this.confirmDocType = null;
602
+ this.confirmDocNumber = null;
603
+ this.confirmDocIssueDate = null;
604
+ this.confirmDocExpireDate = null;
605
+ this.notaryLongName = null;
606
+ this.notaryLicenseNumber = null;
607
+ this.notaryLicenseDate = null;
608
+ this.notaryLicenseIssuer = null;
609
+ this.jurLongName = null;
610
+ this.fullNameRod = null;
611
+ this.confirmDocTypeKz = null;
612
+ this.confirmDocTypeRod = null;
613
+ this.isNotary = false;
543
614
  }
544
615
 
545
616
  getPattern(pattern: string) {
@@ -567,105 +638,33 @@ class Form extends Person {
567
638
  }
568
639
  }
569
640
 
570
- export class PolicyholderForm extends Form {
641
+ export class PolicyholderForm extends Member {
571
642
  constructor(...args: any) {
572
643
  super(...args);
573
644
  }
574
645
  }
575
646
 
576
- export class InsuredForm extends Form {
647
+ export class InsuredForm extends Member {
577
648
  constructor(...args: any) {
578
649
  super(...args);
579
650
  }
580
651
  }
581
652
 
582
- export class BeneficiaryForm extends Form {
583
- insurancePay: Value;
653
+ export class BeneficiaryForm extends Member {
584
654
  constructor(...args: any) {
585
655
  super(...args);
586
- this.insurancePay = new Value();
587
656
  }
588
657
  }
589
658
 
590
- export class BeneficialOwnerForm extends Form {
659
+ export class BeneficialOwnerForm extends Member {
591
660
  constructor(...args: any) {
592
661
  super(...args);
593
662
  }
594
663
  }
595
664
 
596
- export class PolicyholdersRepresentativeForm extends Form {
597
- migrationCard: string | null;
598
- migrationCardIssueDate: string | null;
599
- migrationCardExpireDate: string | null;
600
- confirmDocType: string | null;
601
- confirmDocNumber: string | null;
602
- confirmDocIssueDate: string | null;
603
- confirmDocExpireDate: string | null;
604
- notaryLongName: string | null;
605
- notaryLicenseNumber: string | null;
606
- notaryLicenseDate: string | null;
607
- notaryLicenseIssuer: string | null;
608
- jurLongName: string | null;
609
- fullNameRod: string | null;
610
- confirmDocTypeKz: string | null;
611
- confirmDocTypeRod: string | null;
612
- isNotary: boolean | null;
613
- constructor(
614
- migrationCard = null,
615
- migrationCardIssueDate = null,
616
- migrationCardExpireDate = null,
617
- confirmDocType = null,
618
- confirmDocNumber = null,
619
- confirmDocIssueDate = null,
620
- confirmDocExpireDate = null,
621
- notaryLongName = null,
622
- notaryLicenseNumber = null,
623
- notaryLicenseDate = null,
624
- notaryLicenseIssuer = null,
625
- jurLongName = null,
626
- fullNameRod = null,
627
- confirmDocTypeKz = null,
628
- confirmDocTypeRod = null,
629
- isNotary = false,
630
- ...args: any
631
- ) {
665
+ export class PolicyholdersRepresentativeForm extends Member {
666
+ constructor(...args: any) {
632
667
  super(...args);
633
- this.migrationCard = migrationCard;
634
- this.migrationCardIssueDate = migrationCardIssueDate;
635
- this.migrationCardExpireDate = migrationCardExpireDate;
636
- this.confirmDocType = confirmDocType;
637
- this.confirmDocNumber = confirmDocNumber;
638
- this.confirmDocIssueDate = confirmDocIssueDate;
639
- this.confirmDocExpireDate = confirmDocExpireDate;
640
- this.notaryLongName = notaryLongName;
641
- this.notaryLicenseNumber = notaryLicenseNumber;
642
- this.notaryLicenseDate = notaryLicenseDate;
643
- this.notaryLicenseIssuer = notaryLicenseIssuer;
644
- this.jurLongName = jurLongName;
645
- this.fullNameRod = fullNameRod;
646
- this.confirmDocTypeKz = confirmDocTypeKz;
647
- this.confirmDocTypeRod = confirmDocTypeRod;
648
- this.isNotary = isNotary;
649
- }
650
-
651
- resetMember(clearIinAndPhone = true) {
652
- super.resetForm(clearIinAndPhone);
653
- this.migrationCard = null;
654
- this.migrationCardIssueDate = null;
655
- this.migrationCardExpireDate = null;
656
- this.confirmDocType = null;
657
- this.confirmDocNumber = null;
658
- this.confirmDocIssueDate = null;
659
- this.confirmDocExpireDate = null;
660
- this.notaryLongName = null;
661
- this.notaryLicenseNumber = null;
662
- this.notaryLicenseDate = null;
663
- this.notaryLicenseIssuer = null;
664
- this.jurLongName = null;
665
- this.fullNameRod = null;
666
- this.confirmDocTypeKz = null;
667
- this.confirmDocTypeRod = null;
668
- this.isNotary = false;
669
668
  }
670
669
  }
671
670
 
@@ -760,6 +759,17 @@ export class ProductConditions {
760
759
  }
761
760
 
762
761
  export class DataStoreClass {
762
+ // IMP Контроллер фич
763
+ controls: {
764
+ // Проверка на роль при авторизации
765
+ onAuth: boolean;
766
+ // Подтягивание с ГБДФЛ
767
+ hasGBDFL: boolean;
768
+ // Подтягивание с ИНСИС
769
+ hasInsis: boolean;
770
+ // Калькулятор без ввода данных
771
+ hasCalculator: boolean;
772
+ };
763
773
  hasLayoutMargins: boolean;
764
774
  readonly product: string | null;
765
775
  showNav: boolean;
@@ -822,6 +832,7 @@ export class DataStoreClass {
822
832
  processIndexRate: any[];
823
833
  processPaymentPeriod: any[];
824
834
  additionalInsuranceTerms: any[];
835
+ additionalInsuranceTermsWithout: any[];
825
836
  taskList: any[];
826
837
  processHistory: any[];
827
838
  contragentList: any[];
@@ -852,10 +863,17 @@ export class DataStoreClass {
852
863
  };
853
864
  riskGroup: any[];
854
865
  constructor() {
866
+ this.controls = {
867
+ onAuth: false,
868
+ hasGBDFL: true,
869
+ hasInsis: true,
870
+ hasCalculator: false,
871
+ };
855
872
  this.hasLayoutMargins = true;
856
873
  this.processIndexRate = [];
857
874
  this.processPaymentPeriod = [];
858
875
  this.additionalInsuranceTerms = [];
876
+ this.additionalInsuranceTermsWithout = [];
859
877
  this.definedAnswersId = {
860
878
  surveyByHealthBase: {},
861
879
  surveyByCriticalBase: {},
@@ -983,28 +1001,28 @@ export class FormStoreClass {
983
1001
  SaleChanellPolicy: Value;
984
1002
  AgentData: {
985
1003
  agentId: null;
986
- manId: 0;
987
- fullName: '';
1004
+ manId: number;
1005
+ fullName: string;
988
1006
  officeId: null;
989
1007
  officeCode: null;
990
- saleChannel: '';
991
- managerName: '';
1008
+ saleChannel: string;
1009
+ managerName: string;
992
1010
  };
993
1011
  RegionPolicy: Value;
994
1012
  ManagerPolicy: Value;
995
1013
  isDisabled: {
996
- policyholderForm: true;
997
- beneficiaryForm: true;
998
- beneficialOwnerForm: true;
999
- insuredForm: true;
1000
- policyholdersRepresentativeForm: true;
1001
- productConditionsForm: true;
1002
- recalculationForm: true;
1003
- surveyByHealthBase: true;
1004
- surveyByCriticalBase: true;
1005
- surveyByHealthBasePolicyholder: true;
1006
- surveyByCriticalBasePolicyholder: true;
1007
- insuranceDocument: true;
1014
+ policyholderForm: boolean;
1015
+ beneficiaryForm: boolean;
1016
+ beneficialOwnerForm: boolean;
1017
+ insuredForm: boolean;
1018
+ policyholdersRepresentativeForm: boolean;
1019
+ productConditionsForm: boolean;
1020
+ recalculationForm: boolean;
1021
+ surveyByHealthBase: boolean;
1022
+ surveyByCriticalBase: boolean;
1023
+ surveyByHealthBasePolicyholder: boolean;
1024
+ surveyByCriticalBasePolicyholder: boolean;
1025
+ insuranceDocument: boolean;
1008
1026
  };
1009
1027
  isPolicyholderInsured: boolean = false;
1010
1028
  isPolicyholderBeneficiary: boolean = false;
@@ -1040,7 +1058,6 @@ export class FormStoreClass {
1040
1058
  questionnaireByCritical: any[];
1041
1059
  canBeClaimed: boolean | null;
1042
1060
  applicationTaskId: string | null;
1043
- otpTokenId: string | null;
1044
1061
  constructor(procuctConditionsTitle?: string) {
1045
1062
  this.birthInfos = [];
1046
1063
  this.SaleChanellPolicy = new Value();
@@ -1093,6 +1110,5 @@ export class FormStoreClass {
1093
1110
  this.questionnaireByCritical = [];
1094
1111
  this.canBeClaimed = null;
1095
1112
  this.applicationTaskId = null;
1096
- this.otpTokenId = null;
1097
1113
  }
1098
1114
  }
@@ -28,6 +28,8 @@ export const constants = Object.freeze({
28
28
  upk: 'UPK',
29
29
  financeCenter: 'FinanceCenter',
30
30
  supervisor: 'Supervisor',
31
+ support: 'Support',
32
+ managerHalykBank: 'ManagerHalykBank',
31
33
  },
32
34
  actions: {
33
35
  accept: 'accept',
@@ -8,10 +8,11 @@ export const useDisplayInfo = useDisplay;
8
8
  export const capitalize = (word: string): string => (word ? word.charAt(0).toUpperCase() + word.slice(1).toLowerCase() : word);
9
9
 
10
10
  const xmlParser = new XMLParser({
11
- // numberParseOptions: {
12
- // leadingZeros: true,
13
- // skipLike: /[0-9]+/,
14
- // },
11
+ numberParseOptions: {
12
+ hex: false,
13
+ leadingZeros: true,
14
+ skipLike: /[0-9]+/,
15
+ },
15
16
  });
16
17
 
17
18
  export const formatDate = (date: string) => {
@@ -137,11 +138,11 @@ export const ESBDMessage = (ESBDObject: any, initialPoint: any) => {
137
138
  return result;
138
139
  };
139
140
 
140
- export const ErrorHandler = (err: unknown) => {
141
+ export const ErrorHandler = (err: unknown, errorText?: string) => {
141
142
  console.log(err);
142
143
  if (err instanceof AxiosError) {
143
144
  if ('response' in err && err.response && err.response.data) {
144
- useDataStore().showToaster('error', err.response.data);
145
+ useDataStore().showToaster('error', errorText ? errorText : err.response.data, 10000);
145
146
  }
146
147
  }
147
148
  return false;
@@ -4,7 +4,6 @@
4
4
  <section class="flex h-full" :class="$libStyles.blueBgLight">
5
5
  <base-menu-nav
6
6
  v-if="$dataStore.showNav"
7
- v-model="$dataStore.menu.selectedItem"
8
7
  :selected="$dataStore.menu.selectedItem"
9
8
  :title="$dataStore.menu.title ?? 'Страховые продукты'"
10
9
  :has-back="$dataStore.menu.hasBack ?? false"
@@ -12,11 +11,12 @@
12
11
  :has-more="'hasMore' in $route.meta && $route.meta.hasMore ? !!$route.meta.hasMore : false"
13
12
  :hide-more-on-lg="true"
14
13
  :class="{
14
+ // @ts-ignore
15
15
  '!hidden': !$display().lgAndUp.value && !!$dataStore.menu.selectedItem.title,
16
16
  }"
17
- @onBack="$dataStore.menu.onBack"
17
+ @onBack="onBack"
18
18
  @onMore="openSettings"
19
- @onLink="$dataStore.menu.onLink"
19
+ @onLink="onLink"
20
20
  >
21
21
  <template #end>
22
22
  <base-loader v-if="$dataStore.menu.loading" class="self-center m-5 opacity-70"></base-loader>
@@ -29,17 +29,28 @@
29
29
  </template>
30
30
 
31
31
  <script setup lang="ts">
32
+ import { MenuItem } from '@/composables/classes';
32
33
  const dataStore = useDataStore();
33
34
 
34
35
  const openSettings = async () => {
35
36
  dataStore.settings.open = true;
36
37
  };
38
+
39
+ const onLink = async (item: MenuItem) => {
40
+ if (dataStore.menu.onLink) await dataStore.menu.onLink(item);
41
+ dataStore.menu.selectedItem = item;
42
+ };
43
+
44
+ const onBack = async (item: MenuItem) => {
45
+ if (dataStore.menu.onBack) await dataStore.menu.onBack(item);
46
+ };
37
47
  </script>
38
48
  <style>
39
49
  .mainpage,
40
50
  span,
41
51
  header,
42
52
  *[class='text-[14px]'],
53
+ .v-label,
43
54
  .text-\[14px\] {
44
55
  font-size: v-bind('dataStore.fontSize + "px"') !important;
45
56
  /* line-height: v-bind('dataStore.fontSize*1.5 + "px"') !important; */
@@ -49,7 +60,6 @@ header,
49
60
  .text-\[16px\],
50
61
  label .v-label .v-field-label,
51
62
  .v-field__input,
52
- .v-label,
53
63
  .v-field,
54
64
  .v-input {
55
65
  font-size: v-bind('dataStore.fontSize+2 + "px"') !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.7-beta.14",
3
+ "version": "0.0.7-beta.16",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",
@@ -23,14 +23,15 @@
23
23
  "preview": "nuxt preview"
24
24
  },
25
25
  "devDependencies": {
26
- "@nuxt/devtools": "^0.3.2",
27
- "nuxt": "^3.3.3",
26
+ "@nuxt/devtools": "^0.4.1",
27
+ "@nuxt/types": "^2.16.3",
28
+ "nuxt": "3.4.1",
28
29
  "prettier": "^2.8.4",
29
30
  "typescript": "^4.9.5"
30
31
  },
31
32
  "dependencies": {
32
- "@mdi/font": "^7.1.96",
33
- "@nuxtjs/tailwindcss": "^6.6.5",
33
+ "@mdi/font": "^7.2.96",
34
+ "@nuxtjs/tailwindcss": "^6.6.6",
34
35
  "@pinia/nuxt": "^0.4.8",
35
36
  "animate.css": "^4.1.1",
36
37
  "axios": "^1.3.5",
@@ -40,6 +41,7 @@
40
41
  "pinia": "^2.0.34",
41
42
  "v-idle-3": "^0.3.14",
42
43
  "vue-toastification": "^2.0.0-rc.5",
43
- "vuetify": "^3.1.13"
44
+ "vue-uuid": "^3.0.0",
45
+ "vuetify": "^3.1.15"
44
46
  }
45
47
  }
package/pages/500.vue CHANGED
@@ -1,6 +1,43 @@
1
1
  <template>
2
2
  <base-content class="!w-full flex-col justify-center items-center gap-[100px]" :class="[$libStyles.blueBgLight]">
3
- <img src="~/assets/logo-clear.svg" class="w-[240px] lg:w-[330px]" draggable="false" />
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
+ <path
5
+ fill-rule="evenodd"
6
+ clip-rule="evenodd"
7
+ d="M4.71582 49.276L22.23 31.722V20.791H33.1373L50.6508 3.23633L68.1656 20.791H79.0725V31.722L96.5866 49.276L79.0725 66.83V77.7616H68.1656L50.6508 95.3156L33.1373 77.7616H22.23V66.83L4.71582 49.276Z"
8
+ fill="#FAB31C"
9
+ />
10
+ <path
11
+ fill-rule="evenodd"
12
+ clip-rule="evenodd"
13
+ d="M10.4575 49.2765L50.6515 8.99177L90.8453 49.2765L50.6515 89.5616L10.4575 49.2765ZM18.1699 16.7215H34.3263L50.6515 0.359375L66.9767 16.7215H83.1329V32.9144L99.4581 49.2765L83.1329 65.6388V81.8316H66.9767L50.6515 98.1939L34.3263 81.8316H18.1699V65.6388L1.84473 49.2765L18.1699 32.9144V16.7215ZM33.1372 20.7908H22.2302V31.7225L18.1699 35.7916V35.7919L4.71585 49.2765L18.1699 62.7612V62.7616L22.2302 66.8307V77.7623H33.1372L37.197 81.8316H37.1973L50.6515 95.3162L64.1056 81.8316H64.106L68.1656 77.7623H79.0726V66.8307L83.1329 62.7616V62.7612L96.5869 49.2765L83.1329 35.7919V35.7916L79.0726 31.7225V20.7908H68.1656L64.106 16.7215H64.1056L50.6515 3.23684L33.1372 20.7908Z"
14
+ fill="#007556"
15
+ />
16
+ <path
17
+ fill-rule="evenodd"
18
+ clip-rule="evenodd"
19
+ d="M10.4575 49.2766L50.6515 8.99152L90.8453 49.2766L50.6515 89.5616L10.4575 49.2766ZM18.1699 16.7215H34.3263L50.6515 0.359375L66.9767 16.7215H83.1329V32.9145L99.4581 49.2766L83.1329 65.6387V81.8317H66.9767L50.6515 98.194L34.3263 81.8317H18.1699V65.6387L1.84473 49.2766L18.1699 32.9145V16.7215ZM33.1372 20.7908H22.2302V31.7226L18.1699 35.7917V35.7919L4.71585 49.2766L18.1699 62.7612V62.7617L22.2302 66.8306V77.7623H33.1372L37.197 81.8317H37.1973L50.6515 95.3163L64.1056 81.8317H64.106L68.1656 77.7623H79.0726V66.8306L83.1329 62.7617V62.7612L96.5869 49.2766L83.1329 35.7919V35.7917L79.0726 31.7226V20.7908H68.1656L64.106 16.7215H64.1056L50.6515 3.23685L33.1372 20.7908Z"
20
+ fill="#007556"
21
+ />
22
+ <path
23
+ fill-rule="evenodd"
24
+ clip-rule="evenodd"
25
+ d="M103.444 44.505V16.1172H110.411V26.9039H131.969V16.1172H138.868V44.505H131.969V32.5436H110.411V44.505H103.444ZM143.851 82.3333H136.985V53.9455H143.851V82.3333ZM141.116 44.505L157.93 16.1172H164.572L181.643 44.505H173.894L170.322 38.2725H151.588L148.016 44.505H141.116ZM154.524 33.0914H167.508L160.91 21.2639L154.524 33.0914ZM182.595 44.505V16.1172H189.562V39.1898H211.767V44.505H182.595ZM216.796 44.505V31.7486L201.322 16.1172H210.644L220.747 26.7022L230.985 16.1172H239.1L223.695 31.6257V44.505H216.796ZM239.707 44.505V16.1172H246.675V27.5861L263.199 16.1172H273.201L253.607 29.265L275.389 44.505H264.47L246.675 31.6927V44.505H239.707ZM103.444 82.3333V53.9455H110.411V77.0181H132.616V82.3333H103.444ZM150.375 82.3333V53.9455H180.429V59.0253H157.342V66.4331H169.768V71.7145H157.342V82.3333H150.375ZM185.793 82.3333V53.9455H216.182V58.9581H192.759V65.1458H206.402V70.0362H192.759V77.0181H216.538V82.3333H185.793Z"
26
+ fill="#007556"
27
+ />
28
+ <path
29
+ fill-rule="evenodd"
30
+ clip-rule="evenodd"
31
+ d="M60.951 49.9793C65.2122 42.4323 60.8026 30.509 51.0674 31.0783C46.6279 31.3381 42.5865 34.5876 42.4003 39.8699C42.2502 44.1278 45.4845 48.0783 50.854 48.0243C53.7034 47.9957 56.7358 45.9668 56.6787 41.9752C56.6265 38.3346 53.5233 36.7166 51.8336 36.7166C50.1439 36.7166 47.5242 38.7708 48.8529 40.7693C49.8055 42.2018 51.359 40.5982 51.359 40.5982C51.359 40.5982 53.2787 39.8856 53.8091 41.78C54.3221 43.6119 53.1829 45.375 50.2985 45.2986C47.2422 45.2228 44.888 42.9387 45.0589 39.8753C45.2109 36.7927 47.603 34.1518 51.5516 34.1518C55.4816 34.1518 59.2067 38.0003 59.2067 42.2819C59.2067 46.1009 57.0171 50.8789 51.0582 51.2818C44.4053 51.7316 38.8187 47.2962 38.8187 40.5223C38.7721 33.0533 44.1879 28.4587 50.7133 28.7989C63.38 29.4592 65.7246 43.1718 60.951 49.9793Z"
32
+ fill="#FAB31C"
33
+ />
34
+ <path
35
+ fill-rule="evenodd"
36
+ clip-rule="evenodd"
37
+ d="M72.9649 36.8647C72.9649 34.7167 69.2856 34.5419 69.2856 36.8647V49.0899L55.9915 61.0849V87.4434L65.606 78.3645V64.5387L72.9649 57.9474V36.8647ZM28.3359 36.8647C28.3359 34.7167 32.0153 34.5419 32.0153 36.8647V49.0899L45.3094 61.0849V87.4434L35.6949 78.3645V64.5387L28.3359 57.9474V36.8647Z"
38
+ fill="#FAB31C"
39
+ />
40
+ </svg>
4
41
  <div class="text-center">
5
42
  <h2 :class="[$libStyles.blackText]" class="text-[26px] leading-5 mb-5">Сервис временно не доступен</h2>
6
43
  <p v-if="errorStack.length" class="mt-4 flex flex-col">
@@ -11,6 +11,7 @@ export default defineNuxtPlugin(nuxtApp => {
11
11
  return {
12
12
  provide: {
13
13
  dataStore: useDataStore(),
14
+ rules: useDataStore().rules,
14
15
  libStyles: new Styles(),
15
16
  t: useDataStore().t,
16
17
  toast: useDataStore().showToaster,