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

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/index.ts CHANGED
@@ -21,7 +21,7 @@ export class ApiClass {
21
21
  }
22
22
  }
23
23
 
24
- async loginUser(data: { login: string; password: string; numAttempt: number }) {
24
+ async loginUser(data: { login: string; password: string; numAttempt: number }): Promise<{ refreshToken: string; accessToken: string }> {
25
25
  return this.axiosCall({
26
26
  method: Methods.POST,
27
27
  url: '/identity/api/Account/login',
@@ -29,7 +29,7 @@ export class ApiClass {
29
29
  });
30
30
  }
31
31
 
32
- async getNewAccessToken({ refreshToken, accessToken }: { refreshToken: string; accessToken: string }) {
32
+ async getNewAccessToken({ refreshToken, accessToken }: { refreshToken: string; accessToken: string }): Promise<{ refreshToken: string; accessToken: string }> {
33
33
  return this.axiosCall({
34
34
  method: Methods.POST,
35
35
  url: '/identity/api/Account/refresh',
@@ -159,7 +159,7 @@ export const InitialColumns = () => {
159
159
  export class User {
160
160
  login: string | null;
161
161
  password: string | null;
162
- roles: string[] | null;
162
+ roles: string[];
163
163
  id: string | null;
164
164
  fullName: string | null;
165
165
 
@@ -1010,6 +1010,7 @@ export class FormStoreClass {
1010
1010
  isPolicyholderBeneficiary: boolean = false;
1011
1011
  isActOwnBehalf: boolean = true;
1012
1012
  hasRepresentative: boolean = false;
1013
+ isPolicyholderIPDL: boolean = false;
1013
1014
  applicationData: {
1014
1015
  processInstanceId: number | string;
1015
1016
  statusCode?: string | null;
@@ -1018,6 +1019,7 @@ export class FormStoreClass {
1018
1019
  beneficiaryApp?: any;
1019
1020
  beneficialOwnerApp?: any;
1020
1021
  spokesmanApp?: any;
1022
+ isTask?: boolean | null;
1021
1023
  };
1022
1024
  policyholderForm: PolicyholderForm;
1023
1025
  policyholderFormKey: string;
package/layouts/clear.vue CHANGED
@@ -1,32 +1,3 @@
1
1
  <template>
2
2
  <div class="h-full w-full"><slot></slot></div>
3
3
  </template>
4
-
5
- <style>
6
- .mainpage,
7
- span,
8
- header,
9
- *[class='text-[14px]'],
10
- .text-\[14px\] {
11
- font-size: v-bind('$dataStore.fontSize + "px"') !important;
12
- /* line-height: v-bind('dataStore.fontSize*1.5 + "px"') !important; */
13
- }
14
-
15
- *[class='text-[16px]'],
16
- .text-\[16px\],
17
- label .v-label .v-field-label,
18
- .v-field__input,
19
- .v-label,
20
- .v-field,
21
- .v-input {
22
- font-size: v-bind('$dataStore.fontSize+2 + "px"') !important;
23
- /* line-height: v-bind('dataStore.fontSize*2 + "px"') !important; */
24
- }
25
-
26
- .v-input__details,
27
- .v-messages__message {
28
- font-size: v-bind('$dataStore.fontSize*0.8 + "px"') !important;
29
- /* line-height: v-bind('dataStore.fontSize*1 + "px"') !important; */
30
- padding-bottom: 3px;
31
- }
32
- </style>
package/layouts/full.vue CHANGED
@@ -4,32 +4,3 @@
4
4
  <slot></slot>
5
5
  </div>
6
6
  </template>
7
-
8
- <style>
9
- .mainpage,
10
- span,
11
- header,
12
- *[class='text-[14px]'],
13
- .text-\[14px\] {
14
- font-size: v-bind('$dataStore.fontSize + "px"') !important;
15
- /* line-height: v-bind('dataStore.fontSize*1.5 + "px"') !important; */
16
- }
17
-
18
- *[class='text-[16px]'],
19
- .text-\[16px\],
20
- label .v-label .v-field-label,
21
- .v-field__input,
22
- .v-label,
23
- .v-field,
24
- .v-input {
25
- font-size: v-bind('$dataStore.fontSize+2 + "px"') !important;
26
- /* line-height: v-bind('dataStore.fontSize*2 + "px"') !important; */
27
- }
28
-
29
- .v-input__details,
30
- .v-messages__message {
31
- font-size: v-bind('$dataStore.fontSize*0.8 + "px"') !important;
32
- /* line-height: v-bind('dataStore.fontSize*1 + "px"') !important; */
33
- padding-bottom: 3px;
34
- }
35
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.7-beta.13",
3
+ "version": "0.0.7-beta.14",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",
package/store/messages.ts CHANGED
@@ -182,6 +182,8 @@ export const messages = {
182
182
  chooseAll: 'Выбрать все',
183
183
  statement: 'Заявление',
184
184
  policyholderForm: 'Страхователь',
185
+ policyholderAndInsured: 'Застрахованный / Страхователь',
186
+ policyholderAndInsuredSame: 'Застрахованный / Страхователь является одним лицом',
185
187
  insuredForm: 'Застрахованный',
186
188
  beneficiaryForm: 'Выгодоприобретатель',
187
189
  beneficialOwnerForm: 'Бенефициарный собственник',
@@ -191,6 +193,7 @@ export const messages = {
191
193
  recalculationInfo: 'Данные для перерасчета',
192
194
  generalConditions: 'Основные условия страхования',
193
195
  isPolicyholderInsured: 'Является ли страхователь застрахованным?',
196
+ isPolicyholderIPDL: 'Принадлежит ли и/или причастен ли Застрахованный / Страхователь или его члены семьи и близкие родственники к иностранному публичному должностному лицу?',
194
197
  isPolicyholderBeneficiary: 'Является ли страхователь выгодоприобретателем?',
195
198
  hasRepresentative: 'Подписантом договора выступает представитель? ',
196
199
  isActOwnBehalf: ' Клиент действует от своего имени и в своих интересах?',