@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.
Files changed (102) hide show
  1. package/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +9 -8
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  6. package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  7. package/dist/api/RetailAPI/updateUserProfile.d.ts +1 -1
  8. package/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
  9. package/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
  10. package/dist/api/dadataHints/hintsListsOptions.js +1 -0
  11. package/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
  12. package/dist/components/ApplicationLeadForm/consents.js +1 -1
  13. package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  14. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  15. package/dist/components/ApplicationLeadForm/getInitialFormState.js +1 -1
  16. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  17. package/dist/components/CreditForm/creditFormStepsData.js +1 -1
  18. package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  19. package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  20. package/dist/ui-kit/FormField/getField.js +1 -1
  21. package/dist/ui-kit/FormField/getField.js.map +1 -1
  22. package/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  23. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  24. package/lib/api/RetailAPI/updateUserProfile.d.ts +1 -1
  25. package/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
  26. package/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
  27. package/lib/api/dadataHints/hintsListsOptions.js +1 -0
  28. package/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
  29. package/lib/components/ApplicationLeadForm/consents.js +1 -1
  30. package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  31. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  32. package/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -1
  33. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  34. package/lib/components/CreditForm/creditFormStepsData.js +1 -1
  35. package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  36. package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  37. package/lib/ui-kit/FormField/getField.js +1 -1
  38. package/lib/ui-kit/FormField/getField.js.map +1 -1
  39. package/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  40. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  41. package/mobile/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -1
  42. package/mobile/bundle/bundle.umd.js +9 -8
  43. package/mobile/bundle/bundle.umd.min.js +1 -1
  44. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  45. package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  46. package/mobile/dist/api/RetailAPI/updateUserProfile.d.ts +1 -1
  47. package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
  48. package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
  49. package/mobile/dist/api/dadataHints/hintsListsOptions.js +1 -0
  50. package/mobile/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
  51. package/mobile/dist/components/ApplicationLeadForm/consents.js +1 -1
  52. package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  53. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  54. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +1 -1
  55. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  56. package/mobile/dist/components/CreditForm/creditFormStepsData.js +1 -1
  57. package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
  58. package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  59. package/mobile/dist/ui-kit/FormField/getField.js +1 -1
  60. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  61. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +1 -1
  62. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  63. package/mobile/lib/api/RetailAPI/updateUserProfile.d.ts +1 -1
  64. package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
  65. package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
  66. package/mobile/lib/api/dadataHints/hintsListsOptions.js +1 -0
  67. package/mobile/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
  68. package/mobile/lib/components/ApplicationLeadForm/consents.js +1 -1
  69. package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  70. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
  71. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -1
  72. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  73. package/mobile/lib/components/CreditForm/creditFormStepsData.js +1 -1
  74. package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
  75. package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
  76. package/mobile/lib/ui-kit/FormField/getField.js +1 -1
  77. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  78. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +1 -1
  79. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  80. package/mobile/src/api/RetailAPI/updateUserProfile.ts +1 -1
  81. package/mobile/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
  82. package/mobile/src/api/dadataHints/hintsListsOptions.ts +1 -0
  83. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.example.json +1 -1
  84. package/mobile/src/components/ApplicationLeadForm/consents.ts +1 -1
  85. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +2 -2
  86. package/mobile/src/components/CreditForm/creditFormStepsData.tsx +1 -1
  87. package/mobile/src/ui-kit/FormField/NameFieldDef.ts +1 -1
  88. package/mobile/src/ui-kit/FormField/getField.tsx +1 -1
  89. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
  90. package/package.json +1 -1
  91. package/src/api/RetailAPI/updateUserProfile.ts +1 -1
  92. package/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
  93. package/src/api/dadataHints/hintsListsOptions.ts +1 -0
  94. package/src/components/ApplicationLeadForm/ApplicationLeadForm.example.json +1 -1
  95. package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.mobile.tsx +1 -1
  96. package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.tsx +1 -1
  97. package/src/components/ApplicationLeadForm/consents.ts +1 -1
  98. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +2 -2
  99. package/src/components/CreditForm/creditFormStepsData.tsx +1 -1
  100. package/src/ui-kit/FormField/NameFieldDef.ts +1 -1
  101. package/src/ui-kit/FormField/getField.tsx +1 -1
  102. package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
@@ -1239,6 +1239,7 @@
1239
1239
  organizationName: ORGANIZATION_NAME_HINTS_LIST_OPTIONS,
1240
1240
  inn: ORGANIZATION_INN_HINTS_LIST_OPTIONS,
1241
1241
  participantAddress: ADDRESS_HINTS_LIST_OPTIONS,
1242
+ fullAddress: ADDRESS_HINTS_LIST_OPTIONS,
1242
1243
  };
1243
1244
 
1244
1245
  const debounce = (fn, delay = 600) => {
@@ -1496,7 +1497,7 @@
1496
1497
  consentDataProcessing: agreementValidator,
1497
1498
  annualRevenue: defaultValidator(),
1498
1499
  consentToReceiveMaterials: agreementValidator,
1499
- processPersonalDataLeadFlg: agreementValidator,
1500
+ processPersonalDataFlg: agreementValidator,
1500
1501
  consentProviderFlg: agreementValidator,
1501
1502
  consentPfrFlg: agreementValidator,
1502
1503
  consentOthersFlg: agreementValidator,
@@ -2088,7 +2089,7 @@
2088
2089
  });
2089
2090
 
2090
2091
  const CONSENTS = {
2091
- processPersonalDataLeadFlg: {
2092
+ processPersonalDataFlg: {
2092
2093
  text: 'Согласие на обработку персональных данных',
2093
2094
  docId: 4,
2094
2095
  },
@@ -2532,7 +2533,7 @@
2532
2533
  bankEmpolee: jsx(BankEmpoleeField, { field: field }),
2533
2534
  secondaryPhone: jsx(SecondaryPhoneField, { field: field }),
2534
2535
  consentToReceiveMaterials: jsx(ConsentField, { field: field, input: input }),
2535
- processPersonalDataLeadFlg: jsx(ConsentField, { field: field, input: input }),
2536
+ processPersonalDataFlg: jsx(ConsentField, { field: field, input: input }),
2536
2537
  consentProviderFlg: jsx(ConsentField, { field: field, input: input }),
2537
2538
  consentOthersFlg: jsx(ConsentField, { field: field, input: input }),
2538
2539
  consentInformFlg: jsx(ConsentField, { field: field, input: input }),
@@ -2869,7 +2870,7 @@
2869
2870
  posTerminal: false,
2870
2871
  consentToReceiveMaterials: false,
2871
2872
  consentDataProcessing: false,
2872
- processPersonalDataLeadFlg: false,
2873
+ processPersonalDataFlg: false,
2873
2874
  consentProviderFlg: false,
2874
2875
  consentOthersFlg: false,
2875
2876
  consentInformFlg: false,
@@ -2900,7 +2901,7 @@
2900
2901
  const updateUserTask = (body) => doRequest('/user-data/updateUserTask', 'PUT', body);
2901
2902
 
2902
2903
  const getUpdateUserProfileData = (profileId, formData) => {
2903
- const { name = '', surname = '', middleName = '', birthday = '', phone = '', email = '', processPersonalDataLeadFlg, consentProviderFlg, consentPfrFlg, consentPhotoFlg, consentAssignmentClaimsFlg, consentCollectionFlg, consentInformFlg, } = formData;
2904
+ const { name = '', surname = '', middleName = '', birthday = '', phone = '', email = '', processPersonalDataFlg, consentProviderFlg, consentPfrFlg, consentPhotoFlg, consentAssignmentClaimsFlg, consentCollectionFlg, consentInformFlg, } = formData;
2904
2905
  return {
2905
2906
  profile: {
2906
2907
  id: profileId,
@@ -2910,7 +2911,7 @@
2910
2911
  birthDate: birthday && formatDate(birthday, true),
2911
2912
  email,
2912
2913
  phone: formatPhone(phone),
2913
- processPersonalDataLeadFlg: Boolean(processPersonalDataLeadFlg),
2914
+ processPersonalDataFlg: Boolean(processPersonalDataFlg),
2914
2915
  consentProviderFlg: Boolean(consentProviderFlg),
2915
2916
  consentPfrFlg: Boolean(consentPfrFlg),
2916
2917
  consentPhotoFlg: Boolean(consentPhotoFlg),
@@ -5316,7 +5317,7 @@
5316
5317
  inputs: [],
5317
5318
  },
5318
5319
  {
5319
- inputs: [{ fieldType: 'common', name: 'fullAddress', required: true }],
5320
+ inputs: [{ fieldType: 'common', name: 'fullAddress', required: true, dadata: true }],
5320
5321
  },
5321
5322
  ],
5322
5323
  [
@@ -7863,7 +7864,7 @@
7863
7864
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
7864
7865
  });
7865
7866
 
7866
- const packageVersion = "0.14.621";
7867
+ const packageVersion = "0.14.622";
7867
7868
 
7868
7869
  exports.Blocks = Blocks;
7869
7870
  exports.ContentPage = ContentPage;