@redneckz/wildless-cms-uni-blocks 0.14.805 → 0.14.807
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/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +5 -7
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/retail/model/RetailFormContent.d.ts +1 -0
- package/dist/components/ApplicationLeadForm/consents.js +2 -4
- package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.js +1 -1
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/retail/content.js +1 -1
- package/dist/retail/content.js.map +1 -1
- package/dist/retail/model/RetailFormContent.d.ts +1 -0
- package/dist/ui-kit/Input/InputPhoneControl.js +1 -1
- package/dist/ui-kit/Input/InputPhoneControl.js.map +1 -1
- package/lib/components/ApplicationLeadForm/consents.js +2 -4
- package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.js +1 -1
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/retail/content.js +1 -1
- package/lib/retail/content.js.map +1 -1
- package/lib/retail/model/RetailFormContent.d.ts +1 -0
- package/lib/ui-kit/Input/InputPhoneControl.js +1 -1
- package/lib/ui-kit/Input/InputPhoneControl.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -7
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/retail/model/RetailFormContent.d.ts +1 -0
- package/mobile/dist/components/ApplicationLeadForm/consents.js +2 -4
- package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.js +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/retail/content.js +1 -1
- package/mobile/dist/retail/content.js.map +1 -1
- package/mobile/dist/retail/model/RetailFormContent.d.ts +1 -0
- package/mobile/dist/ui-kit/Input/InputPhoneControl.js +1 -1
- package/mobile/dist/ui-kit/Input/InputPhoneControl.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.js +2 -4
- package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.js +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/retail/content.js +1 -1
- package/mobile/lib/retail/content.js.map +1 -1
- package/mobile/lib/retail/model/RetailFormContent.d.ts +1 -0
- package/mobile/lib/ui-kit/Input/InputPhoneControl.js +1 -1
- package/mobile/lib/ui-kit/Input/InputPhoneControl.js.map +1 -1
- package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -4
- package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/mobile/src/retail/content.tsx +1 -1
- package/mobile/src/retail/model/RetailFormContent.ts +1 -0
- package/mobile/src/ui-kit/Input/InputPhoneControl.tsx +15 -12
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/consents.ts +2 -4
- package/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/src/retail/content.tsx +1 -1
- package/src/retail/model/RetailFormContent.ts +1 -0
- package/src/ui-kit/Input/InputPhoneControl.tsx +15 -12
package/bundle/bundle.umd.js
CHANGED
|
@@ -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
|
-
|
|
2601
|
-
docId: 10,
|
|
2600
|
+
docId: 20,
|
|
2602
2601
|
},
|
|
2603
2602
|
consentFATCA: {
|
|
2604
2603
|
text: 'Форма самосертификации',
|
|
2605
|
-
|
|
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.
|
|
11462
|
+
const packageVersion = "0.14.806";
|
|
11465
11463
|
|
|
11466
11464
|
exports.Blocks = Blocks;
|
|
11467
11465
|
exports.ContentPage = ContentPage;
|