hl-core 0.0.10-beta.7 → 0.0.10-beta.70
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/README.md +0 -2
- package/api/base.api.ts +425 -134
- package/api/interceptors.ts +162 -62
- package/components/Dialog/Dialog.vue +5 -1
- package/components/Dialog/DigitalDocumentsDialog.vue +129 -0
- package/components/Dialog/FamilyDialog.vue +15 -4
- package/components/Form/DigitalDocument.vue +52 -0
- package/components/Form/FormSource.vue +30 -0
- package/components/Form/ManagerAttachment.vue +85 -11
- package/components/Form/ProductConditionsBlock.vue +12 -6
- package/components/Input/Datepicker.vue +5 -0
- package/components/Input/FileInput.vue +1 -1
- package/components/Input/FormInput.vue +7 -0
- package/components/Input/OtpInput.vue +25 -0
- package/components/Input/RoundedInput.vue +2 -0
- package/components/Input/RoundedSelect.vue +2 -0
- package/components/Input/TextAreaField.vue +71 -0
- package/components/Input/TextHint.vue +13 -0
- package/components/Layout/SettingsPanel.vue +2 -1
- package/components/Menu/MenuNav.vue +2 -1
- package/components/Pages/Anketa.vue +207 -176
- package/components/Pages/Auth.vue +10 -3
- package/components/Pages/ContragentForm.vue +24 -18
- package/components/Pages/Documents.vue +488 -66
- package/components/Pages/MemberForm.vue +1009 -268
- package/components/Pages/ProductConditions.vue +1424 -273
- package/components/Panel/PanelHandler.vue +329 -126
- package/components/Utilities/Chip.vue +1 -1
- package/components/Utilities/JsonViewer.vue +1 -2
- package/composables/classes.ts +136 -20
- package/composables/constants.ts +168 -1
- package/composables/index.ts +467 -9
- package/composables/styles.ts +8 -24
- package/configs/i18n.ts +2 -0
- package/configs/pwa.ts +1 -7
- package/layouts/clear.vue +1 -1
- package/layouts/default.vue +2 -2
- package/layouts/full.vue +1 -1
- package/locales/kz.json +1239 -0
- package/locales/ru.json +133 -21
- package/nuxt.config.ts +8 -6
- package/package.json +14 -13
- package/plugins/head.ts +7 -1
- package/plugins/helperFunctionsPlugins.ts +1 -0
- package/store/data.store.ts +1080 -552
- package/store/member.store.ts +19 -8
- package/store/rules.ts +75 -8
- package/types/enum.ts +52 -2
- package/types/index.ts +143 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<label v-if="chip && chip.title" class="transition-all leading-6 px-3
|
|
2
|
+
<label v-if="chip && chip.title" class="transition-all leading-6 px-3 rounded-pill border-[1px] border-white mr-4 whitespace-nowrap" :class="[textSize, color]"
|
|
3
3
|
>{{ chip.title }}<v-tooltip v-if="chip.description" activator="parent" location="bottom" :max-width="maxWidth">{{ chip.description }}</v-tooltip></label
|
|
4
4
|
>
|
|
5
5
|
</template>
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
<script lang="ts">
|
|
15
15
|
import VueJsonPretty from 'vue-json-pretty';
|
|
16
16
|
import 'vue-json-pretty/lib/styles.css';
|
|
17
|
-
import { type JSONDataType } from 'vue-json-pretty/types/utils';
|
|
18
17
|
|
|
19
18
|
export default defineComponent({
|
|
20
19
|
components: { VueJsonPretty },
|
|
21
20
|
props: {
|
|
22
21
|
data: {
|
|
23
|
-
type: Object as PropType<
|
|
22
|
+
type: Object as PropType<any>,
|
|
24
23
|
required: false,
|
|
25
24
|
},
|
|
26
25
|
},
|
package/composables/classes.ts
CHANGED
|
@@ -97,6 +97,7 @@ export class IDocument {
|
|
|
97
97
|
signed?: boolean | null;
|
|
98
98
|
signId?: string | null;
|
|
99
99
|
certificateDate?: string | null;
|
|
100
|
+
signedType?: number;
|
|
100
101
|
|
|
101
102
|
constructor(
|
|
102
103
|
id?: string,
|
|
@@ -113,6 +114,7 @@ export class IDocument {
|
|
|
113
114
|
signed?: boolean | null,
|
|
114
115
|
signId?: string | null,
|
|
115
116
|
certificateDate?: string | null,
|
|
117
|
+
signedType?: number,
|
|
116
118
|
) {
|
|
117
119
|
this.id = id;
|
|
118
120
|
this.processInstanceId = processInstanceId;
|
|
@@ -128,6 +130,7 @@ export class IDocument {
|
|
|
128
130
|
this.signed = signed;
|
|
129
131
|
this.signId = signId;
|
|
130
132
|
this.certificateDate = certificateDate;
|
|
133
|
+
this.signedType = signedType;
|
|
131
134
|
}
|
|
132
135
|
}
|
|
133
136
|
|
|
@@ -148,9 +151,10 @@ export class DocumentItem extends IDocument {
|
|
|
148
151
|
signed,
|
|
149
152
|
signId,
|
|
150
153
|
certificateDate,
|
|
154
|
+
signedType,
|
|
151
155
|
}: IDocument = new IDocument(),
|
|
152
156
|
) {
|
|
153
|
-
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileTypeNameRu, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate);
|
|
157
|
+
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileTypeNameRu, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate, signedType);
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
|
|
@@ -198,13 +202,25 @@ export class User {
|
|
|
198
202
|
roles: string[];
|
|
199
203
|
id: string | null;
|
|
200
204
|
fullName: string | null;
|
|
205
|
+
code: string;
|
|
206
|
+
branchCode: string;
|
|
201
207
|
|
|
202
|
-
constructor(
|
|
208
|
+
constructor(
|
|
209
|
+
login: string | null = null,
|
|
210
|
+
password: string | null = null,
|
|
211
|
+
roles: string[] = [],
|
|
212
|
+
id: string | null = null,
|
|
213
|
+
fullName: string | null = null,
|
|
214
|
+
code: string = '',
|
|
215
|
+
branchCode: string = '',
|
|
216
|
+
) {
|
|
203
217
|
this.login = login;
|
|
204
218
|
this.password = password;
|
|
205
219
|
this.roles = roles;
|
|
206
220
|
this.id = id;
|
|
207
221
|
this.fullName = fullName;
|
|
222
|
+
this.code = code;
|
|
223
|
+
this.branchCode = branchCode;
|
|
208
224
|
}
|
|
209
225
|
|
|
210
226
|
resetUser() {
|
|
@@ -213,6 +229,8 @@ export class User {
|
|
|
213
229
|
this.roles = [];
|
|
214
230
|
this.id = null;
|
|
215
231
|
this.fullName = null;
|
|
232
|
+
this.code = '';
|
|
233
|
+
this.branchCode = '';
|
|
216
234
|
}
|
|
217
235
|
}
|
|
218
236
|
|
|
@@ -309,10 +327,9 @@ class Person {
|
|
|
309
327
|
getAgeByBirthDate() {
|
|
310
328
|
const date = this.formatDate(this.birthDate);
|
|
311
329
|
if (date) {
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
330
|
+
const birthDate = new Date(date);
|
|
331
|
+
const today = new Date();
|
|
332
|
+
return String(today.getFullYear() - birthDate.getFullYear() - (today < new Date(today.getFullYear(), birthDate.getMonth(), birthDate.getDate()) ? 1 : 0));
|
|
316
333
|
} else {
|
|
317
334
|
return null;
|
|
318
335
|
}
|
|
@@ -446,7 +463,7 @@ export class Member extends Person {
|
|
|
446
463
|
birthRegion: Value;
|
|
447
464
|
documentType: Value;
|
|
448
465
|
documentNumber: string | null;
|
|
449
|
-
documentIssuers:
|
|
466
|
+
documentIssuers: Types.Base.Document.IssuerOther;
|
|
450
467
|
documentDate: string | null;
|
|
451
468
|
documentExpire: string | null;
|
|
452
469
|
signOfResidency: Value;
|
|
@@ -474,11 +491,14 @@ export class Member extends Person {
|
|
|
474
491
|
parsedDocument: any;
|
|
475
492
|
hasAgreement: boolean | null;
|
|
476
493
|
otpTokenId: string | null;
|
|
477
|
-
otpCode: string
|
|
494
|
+
otpCode: string;
|
|
478
495
|
documentsList: Types.ContragentDocuments[];
|
|
479
496
|
isInsuredUnderage?: boolean = false;
|
|
480
497
|
bankInfo: BankInfoClass;
|
|
481
498
|
transferContractCompany: Value;
|
|
499
|
+
digitalDocument: IDocument | null;
|
|
500
|
+
chooseChild: string | null;
|
|
501
|
+
chooseChildId: string | null;
|
|
482
502
|
identityDocument: {
|
|
483
503
|
documentType: Value;
|
|
484
504
|
documentNumber: string | null;
|
|
@@ -553,6 +573,8 @@ export class Member extends Person {
|
|
|
553
573
|
confirmDocTypeKz = null,
|
|
554
574
|
confirmDocTypeRod = null,
|
|
555
575
|
isNotary = false,
|
|
576
|
+
chooseChild = null,
|
|
577
|
+
chooseChildId = null,
|
|
556
578
|
) {
|
|
557
579
|
super(id, type, iin, longName, lastName, firstName, middleName, birthDate, gender, genderName, birthPlace, age);
|
|
558
580
|
this.documentsList = [];
|
|
@@ -605,7 +627,7 @@ export class Member extends Person {
|
|
|
605
627
|
this.homePhone = homePhone;
|
|
606
628
|
this.email = email;
|
|
607
629
|
this.otpTokenId = null;
|
|
608
|
-
this.otpCode =
|
|
630
|
+
this.otpCode = '';
|
|
609
631
|
this.address = address;
|
|
610
632
|
this.familyStatus = familyStatus;
|
|
611
633
|
this.isTerror = isTerror;
|
|
@@ -623,6 +645,9 @@ export class Member extends Person {
|
|
|
623
645
|
this.hasAgreement = null;
|
|
624
646
|
this.bankInfo = new BankInfoClass();
|
|
625
647
|
this.transferContractCompany = new Value();
|
|
648
|
+
this.digitalDocument = null;
|
|
649
|
+
this.chooseChild = chooseChild;
|
|
650
|
+
this.chooseChildId = chooseChildId;
|
|
626
651
|
this.identityDocument = {
|
|
627
652
|
documentType: new Value(),
|
|
628
653
|
documentNumber: null,
|
|
@@ -790,7 +815,6 @@ export class ProductConditions {
|
|
|
790
815
|
adbAdditive: string | number | null;
|
|
791
816
|
disabilityMultiply: string | number | null;
|
|
792
817
|
disabilityAdditive: string | number | null;
|
|
793
|
-
processTariff: Value;
|
|
794
818
|
riskGroup: Value;
|
|
795
819
|
riskGroup2: Value;
|
|
796
820
|
additionalConditionAnnuityPayments: boolean;
|
|
@@ -807,8 +831,16 @@ export class ProductConditions {
|
|
|
807
831
|
calculatorForm: CalculatorForm;
|
|
808
832
|
agentCommission: number | null;
|
|
809
833
|
fixInsSum: number | string | null;
|
|
834
|
+
amountRefunded: number | string | null;
|
|
835
|
+
amountPaid: number | string | null;
|
|
810
836
|
calcDate: string | null;
|
|
811
837
|
contractEndDate: string | null;
|
|
838
|
+
currency: Value;
|
|
839
|
+
accureStartEducationCapital: boolean;
|
|
840
|
+
hasEnhancedGift: boolean | null;
|
|
841
|
+
isCalculated: boolean | null;
|
|
842
|
+
managerHelped: boolean;
|
|
843
|
+
tariffName: string | null;
|
|
812
844
|
|
|
813
845
|
constructor(
|
|
814
846
|
insuranceCase = null,
|
|
@@ -838,7 +870,6 @@ export class ProductConditions {
|
|
|
838
870
|
adbAdditive = null,
|
|
839
871
|
disabilityMultiply = null,
|
|
840
872
|
disabilityAdditive = null,
|
|
841
|
-
processTariff = new Value(),
|
|
842
873
|
riskGroup = new Value(),
|
|
843
874
|
riskGroup2 = new Value(),
|
|
844
875
|
additionalConditionAnnuityPayments = false,
|
|
@@ -855,8 +886,16 @@ export class ProductConditions {
|
|
|
855
886
|
calculatorForm = new CalculatorForm(),
|
|
856
887
|
agentCommission = null,
|
|
857
888
|
fixInsSum = null,
|
|
889
|
+
amountRefunded = null,
|
|
890
|
+
amountPaid = null,
|
|
858
891
|
calcDate = null,
|
|
859
892
|
contractEndDate = null,
|
|
893
|
+
currency = new Value(),
|
|
894
|
+
accureStartEducationCapital = false,
|
|
895
|
+
hasEnhancedGift = false,
|
|
896
|
+
isCalculated = false,
|
|
897
|
+
managerHelped = true,
|
|
898
|
+
tariffName = null,
|
|
860
899
|
) {
|
|
861
900
|
this.requestedSumInsuredInDollar = null;
|
|
862
901
|
this.insurancePremiumPerMonthInDollar = null;
|
|
@@ -890,7 +929,6 @@ export class ProductConditions {
|
|
|
890
929
|
this.adbAdditive = adbAdditive;
|
|
891
930
|
this.disabilityMultiply = disabilityMultiply;
|
|
892
931
|
this.disabilityAdditive = disabilityAdditive;
|
|
893
|
-
this.processTariff = processTariff;
|
|
894
932
|
this.riskGroup = riskGroup;
|
|
895
933
|
this.riskGroup2 = riskGroup2;
|
|
896
934
|
this.additionalConditionAnnuityPayments = additionalConditionAnnuityPayments;
|
|
@@ -907,8 +945,16 @@ export class ProductConditions {
|
|
|
907
945
|
this.calculatorForm = calculatorForm;
|
|
908
946
|
this.agentCommission = agentCommission;
|
|
909
947
|
this.fixInsSum = fixInsSum;
|
|
948
|
+
this.amountRefunded = amountRefunded;
|
|
949
|
+
this.amountPaid = amountPaid;
|
|
910
950
|
this.calcDate = calcDate;
|
|
911
951
|
this.contractEndDate = contractEndDate;
|
|
952
|
+
this.currency = currency;
|
|
953
|
+
this.accureStartEducationCapital = accureStartEducationCapital;
|
|
954
|
+
this.hasEnhancedGift = hasEnhancedGift;
|
|
955
|
+
this.isCalculated = isCalculated;
|
|
956
|
+
this.managerHelped = managerHelped;
|
|
957
|
+
this.tariffName = tariffName;
|
|
912
958
|
}
|
|
913
959
|
|
|
914
960
|
getSingleTripDays() {
|
|
@@ -982,6 +1028,8 @@ export class DataStoreClass {
|
|
|
982
1028
|
hasChooseSign: boolean;
|
|
983
1029
|
// Выбор метода оплаты
|
|
984
1030
|
hasChoosePay: boolean;
|
|
1031
|
+
// Блок источник
|
|
1032
|
+
hasSource: boolean;
|
|
985
1033
|
};
|
|
986
1034
|
members: {
|
|
987
1035
|
clientApp: MemberSettings;
|
|
@@ -1049,10 +1097,10 @@ export class DataStoreClass {
|
|
|
1049
1097
|
documentIssuers: Value[];
|
|
1050
1098
|
familyStatuses: Value[];
|
|
1051
1099
|
disabilityGroups: Value[];
|
|
1100
|
+
ekkDisabilityGroups: Value[];
|
|
1052
1101
|
relations: Value[];
|
|
1053
1102
|
banks: Value[];
|
|
1054
1103
|
transferContractCompanies: Value[];
|
|
1055
|
-
processTariff: Value[];
|
|
1056
1104
|
insurancePay: Value[];
|
|
1057
1105
|
questionRefs: Value[];
|
|
1058
1106
|
residents: Value[];
|
|
@@ -1064,7 +1112,6 @@ export class DataStoreClass {
|
|
|
1064
1112
|
fontSize: number;
|
|
1065
1113
|
isFontChangerOpen: boolean = false;
|
|
1066
1114
|
isLoading: boolean = false;
|
|
1067
|
-
user: User;
|
|
1068
1115
|
accessToken: string | null = null;
|
|
1069
1116
|
refreshToken: string | null = null;
|
|
1070
1117
|
processIndexRate: Value[];
|
|
@@ -1083,9 +1130,11 @@ export class DataStoreClass {
|
|
|
1083
1130
|
SaleChanellPolicy: Value[];
|
|
1084
1131
|
RegionPolicy: Value[];
|
|
1085
1132
|
ManagerPolicy: Value[];
|
|
1133
|
+
ExecutorGPH: Value[];
|
|
1086
1134
|
AgentData: Types.AgentData[];
|
|
1087
1135
|
riskGroup: Value[];
|
|
1088
1136
|
DicCoverTypePeriod: Value[];
|
|
1137
|
+
Source: Value[];
|
|
1089
1138
|
currencies: {
|
|
1090
1139
|
eur: number | null;
|
|
1091
1140
|
usd: number | null;
|
|
@@ -1105,7 +1154,11 @@ export class DataStoreClass {
|
|
|
1105
1154
|
workTypes: Value[];
|
|
1106
1155
|
sportsTypes: Value[];
|
|
1107
1156
|
purposes: Value[];
|
|
1108
|
-
|
|
1157
|
+
programType: Value[];
|
|
1158
|
+
checkWithESBD: boolean;
|
|
1159
|
+
isDirty: boolean;
|
|
1160
|
+
quitDialog: boolean;
|
|
1161
|
+
pendingTab: any;
|
|
1109
1162
|
constructor() {
|
|
1110
1163
|
this.projectConfig = null;
|
|
1111
1164
|
this.filters = {
|
|
@@ -1153,20 +1206,24 @@ export class DataStoreClass {
|
|
|
1153
1206
|
hasAffiliation: true,
|
|
1154
1207
|
hasChooseSign: false,
|
|
1155
1208
|
hasChoosePay: false,
|
|
1209
|
+
hasSource: false,
|
|
1156
1210
|
};
|
|
1157
1211
|
this.iframeLoading = false;
|
|
1158
1212
|
this.hasLayoutMargins = true;
|
|
1159
1213
|
this.processIndexRate = [];
|
|
1160
1214
|
this.processGfot = [];
|
|
1161
1215
|
this.processPaymentPeriod = [];
|
|
1216
|
+
this.programType = [];
|
|
1162
1217
|
this.dicAnnuityTypeList = [];
|
|
1163
1218
|
this.processAnnuityPaymentPeriod = [];
|
|
1164
1219
|
this.questionRefs = [];
|
|
1165
1220
|
this.SaleChanellPolicy = [];
|
|
1166
1221
|
this.RegionPolicy = [];
|
|
1167
1222
|
this.ManagerPolicy = [];
|
|
1223
|
+
this.ExecutorGPH = [];
|
|
1168
1224
|
this.AgentData = [];
|
|
1169
1225
|
this.DicCoverTypePeriod = [];
|
|
1226
|
+
this.Source = [];
|
|
1170
1227
|
this.product = import.meta.env.VITE_PRODUCT ? (import.meta.env.VITE_PRODUCT as Types.Projects) : null;
|
|
1171
1228
|
this.parentProduct = import.meta.env.VITE_PARENT_PRODUCT ? import.meta.env.VITE_PARENT_PRODUCT : 'efo';
|
|
1172
1229
|
this.showNav = true;
|
|
@@ -1234,8 +1291,8 @@ export class DataStoreClass {
|
|
|
1234
1291
|
this.documentIssuers = [];
|
|
1235
1292
|
this.familyStatuses = [];
|
|
1236
1293
|
this.disabilityGroups = [];
|
|
1294
|
+
this.ekkDisabilityGroups = [];
|
|
1237
1295
|
this.relations = [];
|
|
1238
|
-
this.processTariff = [];
|
|
1239
1296
|
this.banks = [];
|
|
1240
1297
|
this.transferContractCompanies = [];
|
|
1241
1298
|
this.insurancePay = [];
|
|
@@ -1243,12 +1300,11 @@ export class DataStoreClass {
|
|
|
1243
1300
|
this.ipdl = [new Value(1, null), new Value(2, 'Да'), new Value(3, 'Нет')];
|
|
1244
1301
|
this.economySectorCode = [];
|
|
1245
1302
|
this.economicActivityType = [];
|
|
1246
|
-
this.gender = [new Value(0, null), new Value(1, 'Мужской'), new Value(2, 'Женский')];
|
|
1303
|
+
this.gender = [new Value(0, null), new Value(1, 'Мужской', 'Ер'), new Value(2, 'Женский', 'Әйел')];
|
|
1247
1304
|
this.authorityBasis = [];
|
|
1248
1305
|
this.fontSize = 14;
|
|
1249
1306
|
this.isFontChangerOpen = false;
|
|
1250
1307
|
this.isLoading = false;
|
|
1251
|
-
this.user = new User();
|
|
1252
1308
|
this.accessToken = null;
|
|
1253
1309
|
this.refreshToken = null;
|
|
1254
1310
|
this.taskList = [];
|
|
@@ -1307,6 +1363,10 @@ export class DataStoreClass {
|
|
|
1307
1363
|
this.purposes = [];
|
|
1308
1364
|
this.workTypes = [];
|
|
1309
1365
|
this.sportsTypes = [];
|
|
1366
|
+
this.checkWithESBD = false;
|
|
1367
|
+
this.isDirty = false;
|
|
1368
|
+
this.quitDialog = false;
|
|
1369
|
+
this.pendingTab = null;
|
|
1310
1370
|
}
|
|
1311
1371
|
}
|
|
1312
1372
|
|
|
@@ -1330,6 +1390,8 @@ export class FormStoreClass {
|
|
|
1330
1390
|
clientId: string | null;
|
|
1331
1391
|
insuredFile: any;
|
|
1332
1392
|
isPanelInside: boolean;
|
|
1393
|
+
typeChange: string;
|
|
1394
|
+
add: boolean;
|
|
1333
1395
|
};
|
|
1334
1396
|
additionalInsuranceTerms: Types.AddCover[];
|
|
1335
1397
|
additionalInsuranceTermsWithout: Types.AddCover[];
|
|
@@ -1348,6 +1410,7 @@ export class FormStoreClass {
|
|
|
1348
1410
|
date: string | null;
|
|
1349
1411
|
};
|
|
1350
1412
|
signedDocumentList: IDocument[];
|
|
1413
|
+
signatories: any[];
|
|
1351
1414
|
surveyByHealthBase: Types.AnketaFirst | null;
|
|
1352
1415
|
surveyByHealthBasePolicyholder: Types.AnketaFirst | null;
|
|
1353
1416
|
surveyByCriticalBase: Types.AnketaFirst | null;
|
|
@@ -1359,15 +1422,19 @@ export class FormStoreClass {
|
|
|
1359
1422
|
surveyByCriticalBasePolicyholder: any;
|
|
1360
1423
|
};
|
|
1361
1424
|
birthInfos: Types.Api.GKB.BirthInfo[];
|
|
1425
|
+
children: Types.Api.Child[];
|
|
1362
1426
|
SaleChanellPolicy: Value;
|
|
1363
1427
|
AgentData: Types.AgentData;
|
|
1364
1428
|
RegionPolicy: Value;
|
|
1365
1429
|
ManagerPolicy: Value;
|
|
1430
|
+
ExecutorGPH: Value;
|
|
1431
|
+
Source: Value;
|
|
1366
1432
|
isDisabled: {
|
|
1367
1433
|
policyholderForm: boolean;
|
|
1368
1434
|
beneficiaryForm: boolean;
|
|
1369
1435
|
beneficialOwnerForm: boolean;
|
|
1370
1436
|
insuredForm: boolean;
|
|
1437
|
+
slaveInsuredForm: boolean;
|
|
1371
1438
|
policyholdersRepresentativeForm: boolean;
|
|
1372
1439
|
productConditionsForm: boolean;
|
|
1373
1440
|
calculatorForm: boolean;
|
|
@@ -1400,8 +1467,11 @@ export class FormStoreClass {
|
|
|
1400
1467
|
isTask?: boolean | null;
|
|
1401
1468
|
createDate?: string | null;
|
|
1402
1469
|
policyAppDto?: Types.PolicyAppDto;
|
|
1470
|
+
parentPolicyDto?: Types.ParentPolicyDto | null;
|
|
1403
1471
|
insisWorkDataApp?: Types.InsisWorkDataApp;
|
|
1404
1472
|
addCoverDto?: Types.AddCover[];
|
|
1473
|
+
slave?: any;
|
|
1474
|
+
insuredCount?: number;
|
|
1405
1475
|
};
|
|
1406
1476
|
policyholderForm: Member;
|
|
1407
1477
|
policyholderFormKey: StoreMembers.policyholderForm;
|
|
@@ -1414,15 +1484,18 @@ export class FormStoreClass {
|
|
|
1414
1484
|
beneficialOwnerFormIndex: number;
|
|
1415
1485
|
beneficialOwnerFormKey: StoreMembers.beneficialOwnerForm;
|
|
1416
1486
|
insuredForm: Member[];
|
|
1487
|
+
slaveInsuredForm: Member;
|
|
1417
1488
|
insuredFormKey: StoreMembers.insuredForm;
|
|
1418
1489
|
insuredFormIndex: number;
|
|
1419
1490
|
productConditionsForm: ProductConditions;
|
|
1420
1491
|
productConditionsFormKey: string;
|
|
1492
|
+
pensionApp: any;
|
|
1421
1493
|
questionnaireByHealth: any;
|
|
1422
1494
|
questionnaireByCritical: any[];
|
|
1423
1495
|
canBeClaimed: boolean | null;
|
|
1424
1496
|
applicationTaskId: string | null;
|
|
1425
|
-
|
|
1497
|
+
requiredDocuments: RequiredDocument[];
|
|
1498
|
+
isNeedToRecalculate: boolean;
|
|
1426
1499
|
constructor() {
|
|
1427
1500
|
this.regNumber = null;
|
|
1428
1501
|
this.policyNumber = null;
|
|
@@ -1443,6 +1516,8 @@ export class FormStoreClass {
|
|
|
1443
1516
|
clientId: null,
|
|
1444
1517
|
insuredFile: null,
|
|
1445
1518
|
isPanelInside: false,
|
|
1519
|
+
typeChange: 'calculation',
|
|
1520
|
+
add: false,
|
|
1446
1521
|
};
|
|
1447
1522
|
this.additionalInsuranceTerms = [];
|
|
1448
1523
|
this.additionalInsuranceTermsWithout = [];
|
|
@@ -1461,6 +1536,7 @@ export class FormStoreClass {
|
|
|
1461
1536
|
date: null,
|
|
1462
1537
|
};
|
|
1463
1538
|
this.signedDocumentList = [];
|
|
1539
|
+
this.signatories = [];
|
|
1464
1540
|
this.surveyByHealthBase = null;
|
|
1465
1541
|
this.surveyByHealthBasePolicyholder = null;
|
|
1466
1542
|
this.surveyByCriticalBase = null;
|
|
@@ -1472,6 +1548,7 @@ export class FormStoreClass {
|
|
|
1472
1548
|
surveyByCriticalBasePolicyholder: {},
|
|
1473
1549
|
};
|
|
1474
1550
|
this.birthInfos = [];
|
|
1551
|
+
this.children = [];
|
|
1475
1552
|
this.SaleChanellPolicy = new Value();
|
|
1476
1553
|
this.AgentData = {
|
|
1477
1554
|
agentId: null,
|
|
@@ -1484,11 +1561,14 @@ export class FormStoreClass {
|
|
|
1484
1561
|
};
|
|
1485
1562
|
this.RegionPolicy = new Value();
|
|
1486
1563
|
this.ManagerPolicy = new Value();
|
|
1564
|
+
this.ExecutorGPH = new Value();
|
|
1565
|
+
this.Source = new Value();
|
|
1487
1566
|
this.isDisabled = {
|
|
1488
1567
|
policyholderForm: true,
|
|
1489
1568
|
beneficiaryForm: true,
|
|
1490
1569
|
beneficialOwnerForm: true,
|
|
1491
1570
|
insuredForm: true,
|
|
1571
|
+
slaveInsuredForm: true,
|
|
1492
1572
|
policyholdersRepresentativeForm: true,
|
|
1493
1573
|
productConditionsForm: true,
|
|
1494
1574
|
calculatorForm: true,
|
|
@@ -1517,6 +1597,7 @@ export class FormStoreClass {
|
|
|
1517
1597
|
this.beneficialOwnerFormIndex = 0;
|
|
1518
1598
|
this.beneficialOwnerFormKey = StoreMembers.beneficialOwnerForm;
|
|
1519
1599
|
this.insuredForm = [new Member()];
|
|
1600
|
+
this.slaveInsuredForm = new Member();
|
|
1520
1601
|
this.insuredFormKey = StoreMembers.insuredForm;
|
|
1521
1602
|
this.insuredFormIndex = 0;
|
|
1522
1603
|
this.productConditionsForm = new ProductConditions();
|
|
@@ -1525,12 +1606,15 @@ export class FormStoreClass {
|
|
|
1525
1606
|
this.questionnaireByCritical = [];
|
|
1526
1607
|
this.canBeClaimed = null;
|
|
1527
1608
|
this.applicationTaskId = null;
|
|
1609
|
+
this.requiredDocuments = [];
|
|
1610
|
+
this.isNeedToRecalculate = false;
|
|
1528
1611
|
}
|
|
1529
1612
|
}
|
|
1530
1613
|
|
|
1531
1614
|
export class Address {
|
|
1532
1615
|
country: Value;
|
|
1533
1616
|
region: Value;
|
|
1617
|
+
state: Value;
|
|
1534
1618
|
regionType: Value;
|
|
1535
1619
|
city: Value;
|
|
1536
1620
|
square: string | null;
|
|
@@ -1544,6 +1628,7 @@ export class Address {
|
|
|
1544
1628
|
constructor() {
|
|
1545
1629
|
this.country = new Value();
|
|
1546
1630
|
this.region = new Value();
|
|
1631
|
+
this.state = new Value();
|
|
1547
1632
|
this.regionType = new Value();
|
|
1548
1633
|
this.city = new Value();
|
|
1549
1634
|
this.square = null;
|
|
@@ -1663,7 +1748,7 @@ export class PhysGroupClass extends BaseGroupClass {
|
|
|
1663
1748
|
|
|
1664
1749
|
export class GroupMember extends PhysGroupClass {
|
|
1665
1750
|
isLeader: boolean;
|
|
1666
|
-
|
|
1751
|
+
organizationStartDate: string;
|
|
1667
1752
|
typeOfEconomicActivity: Value;
|
|
1668
1753
|
activityTypes: { activityTypeName: string; empoloyeeCount: number }[];
|
|
1669
1754
|
beneficalOwnerQuest: { order: number; text: string; answer: boolean | null }[];
|
|
@@ -1674,6 +1759,7 @@ export class GroupMember extends PhysGroupClass {
|
|
|
1674
1759
|
super();
|
|
1675
1760
|
// Client
|
|
1676
1761
|
this.isLeader = false;
|
|
1762
|
+
this.organizationStartDate = '';
|
|
1677
1763
|
this.typeOfEconomicActivity = new Value();
|
|
1678
1764
|
this.activityTypes = [];
|
|
1679
1765
|
this.beneficalOwnerQuest = [
|
|
@@ -1753,3 +1839,33 @@ export class BeneficialOwner {
|
|
|
1753
1839
|
this.id = '';
|
|
1754
1840
|
}
|
|
1755
1841
|
}
|
|
1842
|
+
|
|
1843
|
+
export class TransferContract {
|
|
1844
|
+
id: string | null;
|
|
1845
|
+
transferContractIsOppv: boolean;
|
|
1846
|
+
transferContractFirstPaymentDate: string;
|
|
1847
|
+
transferContractAmount: number | string;
|
|
1848
|
+
transferContractDate: string;
|
|
1849
|
+
transferContractNumber: string;
|
|
1850
|
+
transferContractRegNumber: string;
|
|
1851
|
+
transferContract: boolean;
|
|
1852
|
+
transferContractCompany: Value;
|
|
1853
|
+
transferContractMonthCount: number | null;
|
|
1854
|
+
|
|
1855
|
+
constructor() {
|
|
1856
|
+
this.id = null;
|
|
1857
|
+
this.transferContractIsOppv = false;
|
|
1858
|
+
this.transferContractFirstPaymentDate = '';
|
|
1859
|
+
this.transferContractAmount = 0;
|
|
1860
|
+
this.transferContractDate = '';
|
|
1861
|
+
this.transferContractNumber = '';
|
|
1862
|
+
this.transferContract = false;
|
|
1863
|
+
this.transferContractRegNumber = '';
|
|
1864
|
+
this.transferContractCompany = new Value();
|
|
1865
|
+
this.transferContractMonthCount = null;
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
export class RequiredDocument extends Value {
|
|
1870
|
+
iin: string = '';
|
|
1871
|
+
}
|