@redneckz/wildless-cms-uni-blocks 0.14.121 → 0.14.123
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/bundle.umd.js +26 -20
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/bundle/components/ApplicationForm/renderErrorText.d.ts +2 -0
- package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +7 -0
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/DatePickerControl.js +2 -1
- package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/dist/components/ApplicationForm/InputControl.js +2 -2
- package/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js +2 -2
- package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +2 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/ApplicationForm/SelectControl.js +2 -2
- package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderErrorText.d.ts +2 -0
- package/dist/components/ApplicationForm/renderErrorText.js +7 -0
- package/dist/components/ApplicationForm/renderErrorText.js.map +1 -0
- package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/dist/components/ApplicationForm/renderIndividualsFields.js +2 -1
- package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js +5 -4
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
- package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/lib/components/ApplicationForm/InputControl.js +2 -2
- package/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
- package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +2 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/ApplicationForm/SelectControl.js +2 -2
- package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderErrorText.d.ts +1 -0
- package/lib/components/ApplicationForm/renderErrorText.js +4 -0
- package/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
- package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
- package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +24 -18
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/renderErrorText.d.ts +2 -0
- package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +7 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js +2 -2
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -2
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +2 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/SelectControl.js +2 -2
- package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderErrorText.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/renderErrorText.js +7 -0
- package/mobile/dist/components/ApplicationForm/renderErrorText.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +5 -4
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +7 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +5 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +9 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js +2 -2
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -2
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +2 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/SelectControl.js +2 -2
- package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderErrorText.d.ts +2 -0
- package/mobile/lib/components/ApplicationForm/renderErrorText.js +4 -0
- package/mobile/lib/components/ApplicationForm/renderErrorText.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -5
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
- package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
- package/mobile/src/components/ApplicationForm/InputControl.tsx +2 -8
- package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
- package/mobile/src/components/ApplicationForm/SelectControl.tsx +2 -8
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
- package/mobile/src/components/ApplicationForm/renderErrorText.tsx +11 -0
- package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -2
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +18 -0
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -1
- package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +10 -1
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +13 -2
- package/src/components/ApplicationForm/DatePickerControl.tsx +2 -7
- package/src/components/ApplicationForm/InputControl.tsx +2 -8
- package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -8
- package/src/components/ApplicationForm/ResponseNotification.tsx +7 -5
- package/src/components/ApplicationForm/SelectControl.tsx +2 -8
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +31 -26
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +23 -18
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +31 -26
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +37 -32
- package/src/components/ApplicationForm/renderErrorText.tsx +11 -0
- package/src/components/ApplicationForm/renderIndividualsFields.tsx +42 -37
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -7
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +27 -22
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +1 -1
- package/src/components/ApplicationForm/renderWedTextarea.tsx +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +3 -2
- package/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/dist/components/ApplicationForm/DepositFormState.js +0 -2
- package/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
- package/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
- package/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
- package/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/dist/components/ApplicationForm/WedFormState.js +0 -2
- package/dist/components/ApplicationForm/WedFormState.js.map +0 -1
- package/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/lib/components/ApplicationForm/DepositFormState.js +0 -2
- package/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
- package/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
- package/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
- package/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/lib/components/ApplicationForm/WedFormState.js +0 -2
- package/lib/components/ApplicationForm/WedFormState.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/mobile/bundle/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/mobile/dist/components/ApplicationForm/DepositFormState.js +0 -2
- package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/mobile/dist/components/ApplicationForm/IndividualsFormState.js +0 -2
- package/mobile/dist/components/ApplicationForm/IndividualsFormState.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/WedFormState.js +0 -2
- package/mobile/dist/components/ApplicationForm/WedFormState.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +0 -4
- package/mobile/lib/components/ApplicationForm/DepositFormState.js +0 -2
- package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.d.ts +0 -9
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.js +0 -2
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +0 -11
- package/mobile/lib/components/ApplicationForm/WedFormState.js +0 -2
- package/mobile/lib/components/ApplicationForm/WedFormState.js.map +0 -1
- package/mobile/src/components/ApplicationForm/DepositFormState.ts +0 -4
- package/mobile/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
- package/mobile/src/components/ApplicationForm/WedFormState.ts +0 -12
- package/src/components/ApplicationForm/DepositFormState.ts +0 -4
- package/src/components/ApplicationForm/IndividualsFormState.ts +0 -9
- package/src/components/ApplicationForm/WedFormState.ts +0 -12
package/bundle/bundle.umd.js
CHANGED
|
@@ -976,6 +976,9 @@
|
|
|
976
976
|
};
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
+
const ApplicationFieldsetLayout = JSX(({ firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grig @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [firstChildren, secondChildren] })));
|
|
980
|
+
const childrenClassName = '@xl:w-1/2 space-y-s';
|
|
981
|
+
|
|
979
982
|
const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
|
|
980
983
|
const inputRef = useRef(null);
|
|
981
984
|
const handleChange = useCallback((e) => {
|
|
@@ -993,7 +996,9 @@
|
|
|
993
996
|
return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx("input", { ref: inputRef, className: style('w-full h-14 border rounded-md text-primary-text outline-none p-m', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
|
|
994
997
|
});
|
|
995
998
|
|
|
996
|
-
const
|
|
999
|
+
const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1000
|
+
|
|
1001
|
+
const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
|
|
997
1002
|
|
|
998
1003
|
const isPlaceholder = (_) => _ === '_';
|
|
999
1004
|
const isDigit = (_) => /\d/.test(_);
|
|
@@ -1014,7 +1019,7 @@
|
|
|
1014
1019
|
return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
|
|
1015
1020
|
});
|
|
1016
1021
|
|
|
1017
|
-
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }),
|
|
1022
|
+
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
|
|
1018
1023
|
|
|
1019
1024
|
const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
|
|
1020
1025
|
|
|
@@ -1026,7 +1031,7 @@
|
|
|
1026
1031
|
const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
|
|
1027
1032
|
const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
|
|
1028
1033
|
|
|
1029
|
-
const renderAcquiringDataOrganization = (field) => (
|
|
1034
|
+
const renderAcquiringDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }) }));
|
|
1030
1035
|
|
|
1031
1036
|
const ACQUIRING_TYPES = [
|
|
1032
1037
|
{
|
|
@@ -1148,9 +1153,9 @@
|
|
|
1148
1153
|
const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
|
|
1149
1154
|
const getBorderStyle$1 = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
|
|
1150
1155
|
|
|
1151
|
-
const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }),
|
|
1156
|
+
const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
|
|
1152
1157
|
|
|
1153
|
-
const renderAcquiringRegion = ({ regions, field }) => (
|
|
1158
|
+
const renderAcquiringRegion = ({ regions, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }) }));
|
|
1154
1159
|
|
|
1155
1160
|
const SlideCheckbox = JSX(({ value = false, text, type = 'checkbox', onChange }) => (jsxs("div", { role: type, "aria-checked": value, className: "flex justify-start items-center w-full cursor-pointer mb-s", onClick: () => onChange && onChange(!value), children: [jsx("div", { className: style('relative flex-shrink-0 duration-300 w-9 h-5 mr-s rounded-2xl', value ? 'bg-primary-main' : 'bg-main-divider'), children: jsx("div", { className: style('absolute opacity-80 duration-500 top-0.5 w-4 h-4 bg-white rounded-full', value ? 'left-1/2' : 'left-[5%]') }) }), text ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text })) : null] })));
|
|
1156
1161
|
|
|
@@ -1222,10 +1227,10 @@
|
|
|
1222
1227
|
}, [onSubmit]);
|
|
1223
1228
|
const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
|
|
1224
1229
|
const regions = useGetRegions();
|
|
1225
|
-
return (jsxs("form", { className: "container space-y-
|
|
1230
|
+
return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "@xl:text-center" }), renderAcquiringRegion({ regions, field }), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1226
1231
|
});
|
|
1227
1232
|
|
|
1228
|
-
const renderBusinessCardDataOrganization = (field) => (
|
|
1233
|
+
const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
|
|
1229
1234
|
|
|
1230
1235
|
const renderRegion$1 = ({ regions, field }) => (jsx(SelectControl, { className: "w-full", label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }));
|
|
1231
1236
|
|
|
@@ -1279,7 +1284,7 @@
|
|
|
1279
1284
|
const MAX_CREDIT_TERM = 180;
|
|
1280
1285
|
const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
|
|
1281
1286
|
|
|
1282
|
-
const renderCreditDataOrganization = (field) => (
|
|
1287
|
+
const renderCreditDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] }) }));
|
|
1283
1288
|
|
|
1284
1289
|
const useNormalizedInput = (props, { normalize, format }) => {
|
|
1285
1290
|
const { value, onFocus, onBlur, onChange } = props;
|
|
@@ -1341,10 +1346,10 @@
|
|
|
1341
1346
|
|
|
1342
1347
|
const renderCreditParameters = (field) => (jsxs("div", { className: "border-b border-b-main-divider @xl:border-none @xl:flex @xl:justify-between gap-lg", children: [jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "@xl:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
|
|
1343
1348
|
|
|
1344
|
-
const renderRegionDepartment = ({ regions, branches, field }) => (
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1349
|
+
const renderRegionDepartment = ({ regions, branches, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), secondChildren: jsx("div", { className: childrenClassName, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
|
|
1350
|
+
key: branchCode,
|
|
1351
|
+
text: address,
|
|
1352
|
+
})), ...withValidator(field('department'), defaultValidator) }) }) }));
|
|
1348
1353
|
|
|
1349
1354
|
const initialFormState$3 = {
|
|
1350
1355
|
amount: MIN_CREDIT_AMOUNT,
|
|
@@ -1384,7 +1389,7 @@
|
|
|
1384
1389
|
const [formState, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
|
|
1385
1390
|
const regions = useGetRegions();
|
|
1386
1391
|
const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
|
|
1387
|
-
return (jsxs("form", { className: "container space-y-
|
|
1392
|
+
return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", className: "@xl:text-center" }), renderCreditParameters(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "@xl:text-center" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1388
1393
|
});
|
|
1389
1394
|
|
|
1390
1395
|
const initialFormState$2 = {
|
|
@@ -1602,9 +1607,9 @@
|
|
|
1602
1607
|
});
|
|
1603
1608
|
const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
|
|
1604
1609
|
|
|
1605
|
-
const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }),
|
|
1610
|
+
const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
|
|
1606
1611
|
|
|
1607
|
-
const renderIndividualsFields = (field) => (
|
|
1612
|
+
const renderIndividualsFields = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: childrenClassName, children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { className: "shrink-0 w-full", label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
|
|
1608
1613
|
|
|
1609
1614
|
const initialFormState$1 = {
|
|
1610
1615
|
surname: '',
|
|
@@ -1650,7 +1655,7 @@
|
|
|
1650
1655
|
|
|
1651
1656
|
const renderQuestionsInterested = (field) => {
|
|
1652
1657
|
const { value, onChange } = field('vedTypes');
|
|
1653
|
-
return (jsx("div", { className: "space-y-
|
|
1658
|
+
return (jsx("div", { className: "space-y-lg", children: jsxs("div", { className: "space-y-xs @xl:flex @xl:items-center @xl:gap-xl", children: [jsx(Radio, { name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
|
|
1654
1659
|
};
|
|
1655
1660
|
|
|
1656
1661
|
const renderWedDataOrganization = (field, regions) => {
|
|
@@ -1712,7 +1717,7 @@
|
|
|
1712
1717
|
}, [onSubmit]);
|
|
1713
1718
|
const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
|
|
1714
1719
|
const regions = useGetRegions();
|
|
1715
|
-
return (jsxs("form", { className: "container space-y-
|
|
1720
|
+
return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization(field, regions), renderWedTextarea(field), jsxs("div", { className: "flex flex-col gap-m border-b border-main-divider pb-lg @xl:items-center @xl:flex-row @xl:pb-4xl", children: [renderSubmitButton(button), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
|
|
1716
1721
|
});
|
|
1717
1722
|
|
|
1718
1723
|
const EmbeddableForms = {
|
|
@@ -1728,7 +1733,8 @@
|
|
|
1728
1733
|
const ResponseNotification = JSX(({ responseType }) => {
|
|
1729
1734
|
const responseOK = responseType === 'OK';
|
|
1730
1735
|
const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
|
|
1731
|
-
|
|
1736
|
+
const statusIcon = responseOK ? 'ResponseOKIcon' : 'ResponseFailIcon';
|
|
1737
|
+
return (jsxs("div", { className: `flex items-center p-lg rounded-md space-x-m ${backgroundColor}`, children: [jsx(Img, { image: { icon: statusIcon ? 'ResponseOKIcon' : 'ResponseFailIcon', iconVersion: 'normal' }, width: "42", height: "42" }), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-2xs" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
|
|
1732
1738
|
});
|
|
1733
1739
|
|
|
1734
1740
|
const API = LeadServiceAPI();
|
|
@@ -1803,7 +1809,7 @@
|
|
|
1803
1809
|
}
|
|
1804
1810
|
};
|
|
1805
1811
|
|
|
1806
|
-
const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'text-center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
|
|
1812
|
+
const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'text-center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-3xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { defaultPadding: "", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
|
|
1807
1813
|
? renderBonusBenefits(bonusBenefits, columnsCount, cardTextAlign)
|
|
1808
1814
|
: null] })));
|
|
1809
1815
|
|
|
@@ -5792,7 +5798,7 @@
|
|
|
5792
5798
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5793
5799
|
}
|
|
5794
5800
|
|
|
5795
|
-
const packageVersion = "0.14.
|
|
5801
|
+
const packageVersion = "0.14.122";
|
|
5796
5802
|
|
|
5797
5803
|
exports.Blocks = Blocks;
|
|
5798
5804
|
exports.ContentPage = ContentPage;
|