hl-core 0.0.9-beta.24 → 0.0.9-beta.26
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 +70 -1
- package/api/interceptors.ts +3 -3
- package/components/Dialog/Dialog.vue +60 -15
- package/components/Form/FormData.vue +48 -0
- package/components/Layout/SettingsPanel.vue +4 -3
- package/components/Pages/Documents.vue +3 -3
- package/components/Pages/MemberForm.vue +10 -2
- package/components/Pages/ProductConditions.vue +51 -3
- package/components/Panel/PanelHandler.vue +29 -7
- package/composables/classes.ts +225 -113
- package/composables/styles.ts +2 -0
- package/locales/ru.json +102 -18
- package/package.json +1 -1
- package/store/data.store.ts +279 -10
- package/store/form.store.ts +3 -1
- package/types/index.ts +38 -2
package/types/index.ts
CHANGED
|
@@ -262,8 +262,9 @@ declare global {
|
|
|
262
262
|
insSumType?: number;
|
|
263
263
|
insSumMultiplier?: number;
|
|
264
264
|
fixInsSum?: number | null;
|
|
265
|
-
|
|
265
|
+
tariffId?: string | number | null;
|
|
266
266
|
clients?: ClientV2[];
|
|
267
|
+
agentCommission?: any;
|
|
267
268
|
};
|
|
268
269
|
|
|
269
270
|
interface ClientV2 {
|
|
@@ -529,7 +530,6 @@ declare global {
|
|
|
529
530
|
underwritingType?: number;
|
|
530
531
|
annualIncome?: number | null;
|
|
531
532
|
calcDirect?: number;
|
|
532
|
-
tariffId?: string;
|
|
533
533
|
tariffName?: string;
|
|
534
534
|
riskGroup?: number;
|
|
535
535
|
riskGroup2?: number;
|
|
@@ -558,6 +558,9 @@ declare global {
|
|
|
558
558
|
tripInsurancePeriod?: string | number | null;
|
|
559
559
|
startDate?: string | null;
|
|
560
560
|
endDate?: string | null;
|
|
561
|
+
insTermInMonth?: number | null;
|
|
562
|
+
fixInsSum?: number | string | null;
|
|
563
|
+
tariffId?: string | null;
|
|
561
564
|
};
|
|
562
565
|
|
|
563
566
|
type InsisWorkDataApp = {
|
|
@@ -621,10 +624,43 @@ declare global {
|
|
|
621
624
|
name: string;
|
|
622
625
|
};
|
|
623
626
|
|
|
627
|
+
type AccidentIncidents = {
|
|
628
|
+
id: string | null;
|
|
629
|
+
processInstanceId: string | null;
|
|
630
|
+
coverTypeId: string | null;
|
|
631
|
+
coverTypeName: string | null;
|
|
632
|
+
coverTypeCode: number | null;
|
|
633
|
+
count: number | null;
|
|
634
|
+
amount: number | null;
|
|
635
|
+
shortDescription: string | null;
|
|
636
|
+
};
|
|
637
|
+
|
|
624
638
|
type GovPremiums = {
|
|
625
639
|
statePremium5: number | null;
|
|
626
640
|
statePremium7: number | null;
|
|
627
641
|
totalAmount5: number | null;
|
|
628
642
|
totalAmount7: number | null;
|
|
629
643
|
};
|
|
644
|
+
|
|
645
|
+
type LabelSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
646
|
+
|
|
647
|
+
type Label = {
|
|
648
|
+
value: string;
|
|
649
|
+
hideInMobile: Boolean;
|
|
650
|
+
size: LabelSize;
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
type Entry = {
|
|
654
|
+
value: string;
|
|
655
|
+
formatType?: 'iin' | 'fullName' | 'phone' | 'digits';
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
type FormBlock = {
|
|
659
|
+
title: string;
|
|
660
|
+
redirectPath: string;
|
|
661
|
+
key?: string;
|
|
662
|
+
disabled: boolean;
|
|
663
|
+
labels: Label[];
|
|
664
|
+
entries: Entry[];
|
|
665
|
+
};
|
|
630
666
|
}
|