@redneckz/wildless-cms-uni-blocks 0.14.622 → 0.14.623
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/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +9 -8
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/dist/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/dist/api/dadataHints/hintsListsOptions.js +1 -0
- package/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/dist/components/ApplicationLeadForm/consents.js +1 -1
- package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/CreditForm/creditFormStepsData.js +1 -1
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/dist/ui-kit/FormField/getField.js +1 -1
- package/dist/ui-kit/FormField/getField.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/lib/api/dadataHints/hintsListsOptions.js +1 -0
- package/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/lib/components/ApplicationLeadForm/consents.js +1 -1
- package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/CreditForm/creditFormStepsData.js +1 -1
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/lib/ui-kit/FormField/getField.js +1 -1
- package/lib/ui-kit/FormField/getField.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +9 -8
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/mobile/dist/api/dadataHints/hintsListsOptions.js +1 -0
- package/mobile/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/consents.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/getField.js +1 -1
- package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserProfile.d.ts +1 -1
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/mobile/lib/api/dadataHints/hintsListsOptions.js +1 -0
- package/mobile/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/getField.js +1 -1
- package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/src/api/RetailAPI/updateUserProfile.ts +1 -1
- package/mobile/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
- package/mobile/src/api/dadataHints/hintsListsOptions.ts +1 -0
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.example.json +1 -1
- package/mobile/src/components/ApplicationLeadForm/consents.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +2 -2
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +1 -1
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +1 -1
- package/mobile/src/ui-kit/FormField/getField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserProfile.ts +1 -1
- package/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
- package/src/api/dadataHints/hintsListsOptions.ts +1 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.example.json +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.mobile.tsx +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.tsx +1 -1
- package/src/components/ApplicationLeadForm/consents.ts +1 -1
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +2 -2
- package/src/components/CreditForm/creditFormStepsData.tsx +1 -1
- package/src/ui-kit/FormField/NameFieldDef.ts +1 -1
- package/src/ui-kit/FormField/getField.tsx +1 -1
- package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -1231,6 +1231,7 @@
|
|
|
1231
1231
|
organizationName: ORGANIZATION_NAME_HINTS_LIST_OPTIONS,
|
|
1232
1232
|
inn: ORGANIZATION_INN_HINTS_LIST_OPTIONS,
|
|
1233
1233
|
participantAddress: ADDRESS_HINTS_LIST_OPTIONS,
|
|
1234
|
+
fullAddress: ADDRESS_HINTS_LIST_OPTIONS,
|
|
1234
1235
|
};
|
|
1235
1236
|
|
|
1236
1237
|
const debounce = (fn, delay = 600) => {
|
|
@@ -1488,7 +1489,7 @@
|
|
|
1488
1489
|
consentDataProcessing: agreementValidator,
|
|
1489
1490
|
annualRevenue: defaultValidator(),
|
|
1490
1491
|
consentToReceiveMaterials: agreementValidator,
|
|
1491
|
-
|
|
1492
|
+
processPersonalDataFlg: agreementValidator,
|
|
1492
1493
|
consentProviderFlg: agreementValidator,
|
|
1493
1494
|
consentPfrFlg: agreementValidator,
|
|
1494
1495
|
consentOthersFlg: agreementValidator,
|
|
@@ -2080,7 +2081,7 @@
|
|
|
2080
2081
|
});
|
|
2081
2082
|
|
|
2082
2083
|
const CONSENTS = {
|
|
2083
|
-
|
|
2084
|
+
processPersonalDataFlg: {
|
|
2084
2085
|
text: 'Согласие на обработку персональных данных',
|
|
2085
2086
|
docId: 4,
|
|
2086
2087
|
},
|
|
@@ -2524,7 +2525,7 @@
|
|
|
2524
2525
|
bankEmpolee: jsx(BankEmpoleeField, { field: field }),
|
|
2525
2526
|
secondaryPhone: jsx(SecondaryPhoneField, { field: field }),
|
|
2526
2527
|
consentToReceiveMaterials: jsx(ConsentField, { field: field, input: input }),
|
|
2527
|
-
|
|
2528
|
+
processPersonalDataFlg: jsx(ConsentField, { field: field, input: input }),
|
|
2528
2529
|
consentProviderFlg: jsx(ConsentField, { field: field, input: input }),
|
|
2529
2530
|
consentOthersFlg: jsx(ConsentField, { field: field, input: input }),
|
|
2530
2531
|
consentInformFlg: jsx(ConsentField, { field: field, input: input }),
|
|
@@ -2861,7 +2862,7 @@
|
|
|
2861
2862
|
posTerminal: false,
|
|
2862
2863
|
consentToReceiveMaterials: false,
|
|
2863
2864
|
consentDataProcessing: false,
|
|
2864
|
-
|
|
2865
|
+
processPersonalDataFlg: false,
|
|
2865
2866
|
consentProviderFlg: false,
|
|
2866
2867
|
consentOthersFlg: false,
|
|
2867
2868
|
consentInformFlg: false,
|
|
@@ -2892,7 +2893,7 @@
|
|
|
2892
2893
|
const updateUserTask = (body) => doRequest('/user-data/updateUserTask', 'PUT', body);
|
|
2893
2894
|
|
|
2894
2895
|
const getUpdateUserProfileData = (profileId, formData) => {
|
|
2895
|
-
const { name = '', surname = '', middleName = '', birthday = '', phone = '', email = '',
|
|
2896
|
+
const { name = '', surname = '', middleName = '', birthday = '', phone = '', email = '', processPersonalDataFlg, consentProviderFlg, consentPfrFlg, consentPhotoFlg, consentAssignmentClaimsFlg, consentCollectionFlg, consentInformFlg, } = formData;
|
|
2896
2897
|
return {
|
|
2897
2898
|
profile: {
|
|
2898
2899
|
id: profileId,
|
|
@@ -2902,7 +2903,7 @@
|
|
|
2902
2903
|
birthDate: birthday && formatDate(birthday, true),
|
|
2903
2904
|
email,
|
|
2904
2905
|
phone: formatPhone(phone),
|
|
2905
|
-
|
|
2906
|
+
processPersonalDataFlg: Boolean(processPersonalDataFlg),
|
|
2906
2907
|
consentProviderFlg: Boolean(consentProviderFlg),
|
|
2907
2908
|
consentPfrFlg: Boolean(consentPfrFlg),
|
|
2908
2909
|
consentPhotoFlg: Boolean(consentPhotoFlg),
|
|
@@ -5344,7 +5345,7 @@
|
|
|
5344
5345
|
inputs: [],
|
|
5345
5346
|
},
|
|
5346
5347
|
{
|
|
5347
|
-
inputs: [{ fieldType: 'common', name: 'fullAddress', required: true }],
|
|
5348
|
+
inputs: [{ fieldType: 'common', name: 'fullAddress', required: true, dadata: true }],
|
|
5348
5349
|
},
|
|
5349
5350
|
],
|
|
5350
5351
|
[
|
|
@@ -8257,7 +8258,7 @@
|
|
|
8257
8258
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
8258
8259
|
});
|
|
8259
8260
|
|
|
8260
|
-
const packageVersion = "0.14.
|
|
8261
|
+
const packageVersion = "0.14.622";
|
|
8261
8262
|
|
|
8262
8263
|
exports.Blocks = Blocks;
|
|
8263
8264
|
exports.ContentPage = ContentPage;
|