@redneckz/wildless-cms-uni-blocks 0.14.805 → 0.14.806

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 (44) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +5 -7
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/retail/model/RetailFormContent.d.ts +1 -0
  5. package/dist/components/ApplicationLeadForm/consents.js +2 -4
  6. package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  7. package/dist/retail/content.js +1 -1
  8. package/dist/retail/content.js.map +1 -1
  9. package/dist/retail/model/RetailFormContent.d.ts +1 -0
  10. package/dist/ui-kit/Input/InputPhoneControl.js +1 -1
  11. package/dist/ui-kit/Input/InputPhoneControl.js.map +1 -1
  12. package/lib/components/ApplicationLeadForm/consents.js +2 -4
  13. package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  14. package/lib/retail/content.js +1 -1
  15. package/lib/retail/content.js.map +1 -1
  16. package/lib/retail/model/RetailFormContent.d.ts +1 -0
  17. package/lib/ui-kit/Input/InputPhoneControl.js +1 -1
  18. package/lib/ui-kit/Input/InputPhoneControl.js.map +1 -1
  19. package/mobile/bundle/bundle.umd.js +5 -7
  20. package/mobile/bundle/bundle.umd.min.js +1 -1
  21. package/mobile/bundle/retail/model/RetailFormContent.d.ts +1 -0
  22. package/mobile/dist/components/ApplicationLeadForm/consents.js +2 -4
  23. package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
  24. package/mobile/dist/retail/content.js +1 -1
  25. package/mobile/dist/retail/content.js.map +1 -1
  26. package/mobile/dist/retail/model/RetailFormContent.d.ts +1 -0
  27. package/mobile/dist/ui-kit/Input/InputPhoneControl.js +1 -1
  28. package/mobile/dist/ui-kit/Input/InputPhoneControl.js.map +1 -1
  29. package/mobile/lib/components/ApplicationLeadForm/consents.js +2 -4
  30. package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
  31. package/mobile/lib/retail/content.js +1 -1
  32. package/mobile/lib/retail/content.js.map +1 -1
  33. package/mobile/lib/retail/model/RetailFormContent.d.ts +1 -0
  34. package/mobile/lib/ui-kit/Input/InputPhoneControl.js +1 -1
  35. package/mobile/lib/ui-kit/Input/InputPhoneControl.js.map +1 -1
  36. package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -4
  37. package/mobile/src/retail/content.tsx +1 -1
  38. package/mobile/src/retail/model/RetailFormContent.ts +1 -0
  39. package/mobile/src/ui-kit/Input/InputPhoneControl.tsx +15 -12
  40. package/package.json +1 -1
  41. package/src/components/ApplicationLeadForm/consents.ts +2 -4
  42. package/src/retail/content.tsx +1 -1
  43. package/src/retail/model/RetailFormContent.ts +1 -0
  44. package/src/ui-kit/Input/InputPhoneControl.tsx +15 -12
@@ -2007,7 +2007,7 @@
2007
2007
  return (jsx(Input, { ...inputProps, onChange: handleChange, onFocus: (ev) => handleChange(ev?.target?.value || ''), onBlur: (ev) => handleBlur(ev?.target?.value || ''), children: children }));
2008
2008
  });
2009
2009
 
2010
- const InputPhoneControl = JSX(({ className, label, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(PhoneInput, { "aria-label": label, label: getRequiredLabel({ label, errors: rest?.errors }), valid: Boolean(!error), placeholder: "+7 (___) ___-__-__", ...rest }), renderErrorText(error)] })));
2010
+ const InputPhoneControl = JSX(({ className, label, disabled, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(PhoneInput, { "aria-label": label, label: getRequiredLabel({ label, errors: rest?.errors }), valid: Boolean(!error), disabled: disabled, placeholder: "+7 (___) ___-__-__", ...rest }), renderErrorText(error)] })));
2011
2011
 
2012
2012
  const PhoneField = JSX(({ field, input }) => {
2013
2013
  const fieldName = input?.name || 'phone';
@@ -2597,13 +2597,11 @@
2597
2597
  },
2598
2598
  consentOthersFlg: {
2599
2599
  text: 'Прочие согласия',
2600
- //TODO: Добавить нужный ID после выкладки на бэк
2601
- docId: 10,
2600
+ docId: 20,
2602
2601
  },
2603
2602
  consentFATCA: {
2604
2603
  text: 'Форма самосертификации',
2605
- //TODO: Добавить нужный ID после выкладки на бэк
2606
- docId: 7,
2604
+ docId: 10,
2607
2605
  },
2608
2606
  };
2609
2607
  const productTypeToConsentsMap = {
@@ -8074,7 +8072,7 @@
8074
8072
  { name: 'sex', required: true },
8075
8073
  { name: 'limitedBirthday', required: true, filledByEsia: true },
8076
8074
  { name: 'birthPlace', required: true, filledByEsia: true },
8077
- { name: 'phone', required: true },
8075
+ { name: 'phone', disabled: true, required: true },
8078
8076
  { name: 'email', required: true, dadata: true },
8079
8077
  ],
8080
8078
  },
@@ -11461,7 +11459,7 @@
11461
11459
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11462
11460
  });
11463
11461
 
11464
- const packageVersion = "0.14.804";
11462
+ const packageVersion = "0.14.805";
11465
11463
 
11466
11464
  exports.Blocks = Blocks;
11467
11465
  exports.ContentPage = ContentPage;