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
package/composables/constants.ts
CHANGED
|
@@ -18,12 +18,22 @@ export const constants = Object.freeze({
|
|
|
18
18
|
gns: 16,
|
|
19
19
|
prepensionannuity: 18,
|
|
20
20
|
pensionannuitynew: 19,
|
|
21
|
+
halykkazynaap: 20,
|
|
22
|
+
balam: 21,
|
|
23
|
+
borrower: 40,
|
|
24
|
+
halykkazynaapsms: 23,
|
|
25
|
+
pensionannuityrefundnew: 24,
|
|
26
|
+
pensionannuityjointnew: 25,
|
|
27
|
+
gonsadd: 26,
|
|
28
|
+
tumar: 27,
|
|
29
|
+
criticalillness: 29,
|
|
30
|
+
gonsaddsec: 49,
|
|
21
31
|
},
|
|
22
32
|
amlProducts: {
|
|
23
33
|
checkcontragent: 1,
|
|
24
34
|
checkcontract: 2,
|
|
25
35
|
},
|
|
26
|
-
extractedProducts: ['dso', 'uu'],
|
|
36
|
+
extractedProducts: ['dso', 'uu', 'lka', 'reinsurance', 'reporting'],
|
|
27
37
|
editableStatuses: [Statuses.StartForm, Statuses.EditBeneficiaryForm, Statuses.EditForm, Statuses.InputDataForm],
|
|
28
38
|
documentsLinkVisibleStatuses: [
|
|
29
39
|
Statuses.Completed,
|
|
@@ -36,6 +46,7 @@ export const constants = Object.freeze({
|
|
|
36
46
|
returnStatementStatuses: [
|
|
37
47
|
Statuses.ApproveForm,
|
|
38
48
|
Statuses.ActuaryForm,
|
|
49
|
+
Statuses.JuristForm,
|
|
39
50
|
Statuses.DsoUsnsForm,
|
|
40
51
|
Statuses.AccountantForm,
|
|
41
52
|
Statuses.UnderwriterForm,
|
|
@@ -57,6 +68,7 @@ export const constants = Object.freeze({
|
|
|
57
68
|
Statuses.WaitingInsurancePremiumForm,
|
|
58
69
|
],
|
|
59
70
|
rejectApplicationStatuses: [
|
|
71
|
+
Statuses.EditForm,
|
|
60
72
|
Statuses.StartForm,
|
|
61
73
|
Statuses.DsoUsnsForm,
|
|
62
74
|
Statuses.AccountantForm,
|
|
@@ -74,6 +86,20 @@ export const constants = Object.freeze({
|
|
|
74
86
|
kzt: '₸',
|
|
75
87
|
usd: '$',
|
|
76
88
|
},
|
|
89
|
+
pensionAge: {
|
|
90
|
+
man: 68,
|
|
91
|
+
woman: 68,
|
|
92
|
+
},
|
|
93
|
+
genderByIIN: {
|
|
94
|
+
'0': 'Ж',
|
|
95
|
+
'3': 'М',
|
|
96
|
+
'4': 'Ж',
|
|
97
|
+
'5': 'М',
|
|
98
|
+
'6': 'Ж',
|
|
99
|
+
'7': 'М',
|
|
100
|
+
'8': 'Ж',
|
|
101
|
+
'9': 'М',
|
|
102
|
+
},
|
|
77
103
|
documentTypes: {
|
|
78
104
|
statement: 5,
|
|
79
105
|
contract: 6,
|
|
@@ -86,6 +112,12 @@ export const constants = Object.freeze({
|
|
|
86
112
|
insuredsList: 34,
|
|
87
113
|
questionnaireInsured: 35,
|
|
88
114
|
invoicePayment: 36,
|
|
115
|
+
insuredsListDopik: 37,
|
|
116
|
+
},
|
|
117
|
+
fileTypes: {
|
|
118
|
+
pdf: 'application/pdf',
|
|
119
|
+
docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
120
|
+
doc: 'application/msword',
|
|
89
121
|
},
|
|
90
122
|
regex: {
|
|
91
123
|
isoDate: /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)((-(\d{2}):(\d{2})|Z)?)$/,
|
|
@@ -161,5 +193,140 @@ export const constants = Object.freeze({
|
|
|
161
193
|
nameRu: '5 000 000',
|
|
162
194
|
ids: '',
|
|
163
195
|
},
|
|
196
|
+
{
|
|
197
|
+
code: '5500000',
|
|
198
|
+
id: '10',
|
|
199
|
+
nameKz: '5 500 000',
|
|
200
|
+
nameRu: '5 500 000',
|
|
201
|
+
ids: '',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
code: '6000000',
|
|
205
|
+
id: '11',
|
|
206
|
+
nameKz: '6 000 000',
|
|
207
|
+
nameRu: '6 000 000',
|
|
208
|
+
ids: '',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
code: '6500000',
|
|
212
|
+
id: '12',
|
|
213
|
+
nameKz: '6 500 000',
|
|
214
|
+
nameRu: '6 500 000',
|
|
215
|
+
ids: '',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
code: '7000000',
|
|
219
|
+
id: '13',
|
|
220
|
+
nameKz: '7 000 000',
|
|
221
|
+
nameRu: '7 000 000',
|
|
222
|
+
ids: '',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
code: '7500000',
|
|
226
|
+
id: '14',
|
|
227
|
+
nameKz: '7 500 000',
|
|
228
|
+
nameRu: '7 500 000',
|
|
229
|
+
ids: '',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
code: '8000000',
|
|
233
|
+
id: '15',
|
|
234
|
+
nameKz: '8 000 000',
|
|
235
|
+
nameRu: '8 000 000',
|
|
236
|
+
ids: '',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
code: '8500000',
|
|
240
|
+
id: '16',
|
|
241
|
+
nameKz: '8 500 000',
|
|
242
|
+
nameRu: '8 500 000',
|
|
243
|
+
ids: '',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
code: '9000000',
|
|
247
|
+
id: '17',
|
|
248
|
+
nameKz: '9 000 000',
|
|
249
|
+
nameRu: '9 000 000',
|
|
250
|
+
ids: '',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
code: '9500000',
|
|
254
|
+
id: '18',
|
|
255
|
+
nameKz: '9 500 000',
|
|
256
|
+
nameRu: '9 500 000',
|
|
257
|
+
ids: '',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
code: '10000000',
|
|
261
|
+
id: '19',
|
|
262
|
+
nameKz: '10 000 000',
|
|
263
|
+
nameRu: '10 000 000',
|
|
264
|
+
ids: '',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
code: '10500000',
|
|
268
|
+
id: '20',
|
|
269
|
+
nameKz: '10 500 000',
|
|
270
|
+
nameRu: '10 500 000',
|
|
271
|
+
ids: '',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
code: '11000000',
|
|
275
|
+
id: '21',
|
|
276
|
+
nameKz: '11 000 000',
|
|
277
|
+
nameRu: '11 000 000',
|
|
278
|
+
ids: '',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
code: '11500000',
|
|
282
|
+
id: '22',
|
|
283
|
+
nameKz: '11 500 000',
|
|
284
|
+
nameRu: '11 500 000',
|
|
285
|
+
ids: '',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
code: '12000000',
|
|
289
|
+
id: '23',
|
|
290
|
+
nameKz: '12 000 000',
|
|
291
|
+
nameRu: '12 000 000',
|
|
292
|
+
ids: '',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
code: '12500000',
|
|
296
|
+
id: '24',
|
|
297
|
+
nameKz: '12 500 000',
|
|
298
|
+
nameRu: '12 500 000',
|
|
299
|
+
ids: '',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
code: '13000000',
|
|
303
|
+
id: '25',
|
|
304
|
+
nameKz: '13 000 000',
|
|
305
|
+
nameRu: '13 000 000',
|
|
306
|
+
ids: '',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
code: '13500000',
|
|
310
|
+
id: '26',
|
|
311
|
+
nameKz: '13 500 000',
|
|
312
|
+
nameRu: '13 500 000',
|
|
313
|
+
ids: '',
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
currencyList: [
|
|
317
|
+
{
|
|
318
|
+
code: 'KZT',
|
|
319
|
+
id: '1',
|
|
320
|
+
nameKz: 'Теңге',
|
|
321
|
+
nameRu: 'Тенге',
|
|
322
|
+
ids: '',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
code: 'USD',
|
|
326
|
+
id: '2',
|
|
327
|
+
nameKz: 'USD бағамына индексациямен',
|
|
328
|
+
nameRu: 'С индексацией на курс USD',
|
|
329
|
+
ids: '',
|
|
330
|
+
},
|
|
164
331
|
],
|
|
165
332
|
});
|