@redneckz/wildless-cms-uni-blocks 0.14.917 → 0.14.918
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 +118 -99
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/retail/api/getDictionaries.d.ts +2 -0
- package/bundle/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/bundle/retail/model/LeadFormState.d.ts +1 -1
- package/bundle/retail/model/NameFieldDef.d.ts +1 -1
- package/bundle/retail/utils/getOrganizationParams.d.ts +6 -0
- package/bundle/retail/validator/validators.d.ts +2 -0
- package/bundle/ui-kit/FormField/validators.d.ts +1 -0
- package/dist/components/CreditCardForm/creditCardFormStepsData.js +21 -18
- package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/dist/components/CreditCardForm/formStateMap.js +6 -0
- package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/dist/components/CreditForm/creditFormStepsData.js +14 -17
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/retail/adaptors/getPersonalInfoData.js +1 -9
- package/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/dist/retail/api/getDictionaries.d.ts +2 -0
- package/dist/retail/api/getDictionaries.js +13 -0
- package/dist/retail/api/getDictionaries.js.map +1 -0
- package/dist/retail/components/DraftDialog/parseDraftTask.js +1 -0
- package/dist/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/dist/retail/components/Fields/AmountWorkersField.js +0 -8
- package/dist/retail/components/Fields/AmountWorkersField.js.map +1 -1
- package/dist/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/dist/retail/components/Fields/BankEmployeeCodeField.js +17 -2
- package/dist/retail/components/Fields/BankEmployeeCodeField.js.map +1 -1
- package/dist/retail/components/Fields/DaDataInnField.js +21 -8
- package/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/dist/retail/components/Fields/EmployerActivitiesField.js +0 -8
- package/dist/retail/components/Fields/EmployerActivitiesField.js.map +1 -1
- package/dist/retail/components/Fields/EmployerOrganizationField.js +0 -8
- package/dist/retail/components/Fields/EmployerOrganizationField.js.map +1 -1
- package/dist/retail/components/Fields/OrganizationField.js +0 -8
- package/dist/retail/components/Fields/OrganizationField.js.map +1 -1
- package/dist/retail/components/Fields/OrganizationNameField.js +12 -2
- package/dist/retail/components/Fields/OrganizationNameField.js.map +1 -1
- package/dist/retail/content.js +4 -11
- package/dist/retail/content.js.map +1 -1
- package/dist/retail/inputs.js +1 -1
- package/dist/retail/inputs.js.map +1 -1
- package/dist/retail/model/LeadFormState.d.ts +1 -1
- package/dist/retail/model/NameFieldDef.d.ts +1 -1
- package/dist/retail/utils/getMainFormStateMap.js +1 -6
- package/dist/retail/utils/getMainFormStateMap.js.map +1 -1
- package/dist/retail/utils/getOrganizationParams.d.ts +6 -0
- package/dist/retail/utils/getOrganizationParams.js +7 -1
- package/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/dist/retail/utils/updateOrganizationFields.js +2 -0
- package/dist/retail/utils/updateOrganizationFields.js.map +1 -1
- package/dist/retail/validator/getRetailFormValidator.js +2 -0
- package/dist/retail/validator/getRetailFormValidator.js.map +1 -1
- package/dist/retail/validator/validators.d.ts +2 -0
- package/dist/retail/validator/validators.js +6 -1
- package/dist/retail/validator/validators.js.map +1 -1
- package/dist/ui-kit/FormField/validators.d.ts +1 -0
- package/dist/ui-kit/FormField/validators.js +4 -3
- package/dist/ui-kit/FormField/validators.js.map +1 -1
- package/lib/components/CreditCardForm/creditCardFormStepsData.js +21 -18
- package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/lib/components/CreditCardForm/formStateMap.js +6 -0
- package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/lib/components/CreditForm/creditFormStepsData.js +14 -17
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/retail/adaptors/getPersonalInfoData.js +2 -10
- package/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/lib/retail/api/getDictionaries.d.ts +2 -0
- package/lib/retail/api/getDictionaries.js +10 -0
- package/lib/retail/api/getDictionaries.js.map +1 -0
- package/lib/retail/components/DraftDialog/parseDraftTask.js +1 -0
- package/lib/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/lib/retail/components/Fields/AmountWorkersField.js +0 -8
- package/lib/retail/components/Fields/AmountWorkersField.js.map +1 -1
- package/lib/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/lib/retail/components/Fields/BankEmployeeCodeField.js +17 -2
- package/lib/retail/components/Fields/BankEmployeeCodeField.js.map +1 -1
- package/lib/retail/components/Fields/DaDataInnField.js +22 -9
- package/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/lib/retail/components/Fields/EmployerActivitiesField.js +0 -8
- package/lib/retail/components/Fields/EmployerActivitiesField.js.map +1 -1
- package/lib/retail/components/Fields/EmployerOrganizationField.js +0 -8
- package/lib/retail/components/Fields/EmployerOrganizationField.js.map +1 -1
- package/lib/retail/components/Fields/OrganizationField.js +0 -8
- package/lib/retail/components/Fields/OrganizationField.js.map +1 -1
- package/lib/retail/components/Fields/OrganizationNameField.js +13 -3
- package/lib/retail/components/Fields/OrganizationNameField.js.map +1 -1
- package/lib/retail/content.js +4 -11
- package/lib/retail/content.js.map +1 -1
- package/lib/retail/inputs.js +2 -2
- package/lib/retail/inputs.js.map +1 -1
- package/lib/retail/model/LeadFormState.d.ts +1 -1
- package/lib/retail/model/NameFieldDef.d.ts +1 -1
- package/lib/retail/utils/getMainFormStateMap.js +1 -6
- package/lib/retail/utils/getMainFormStateMap.js.map +1 -1
- package/lib/retail/utils/getOrganizationParams.d.ts +6 -0
- package/lib/retail/utils/getOrganizationParams.js +6 -0
- package/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/lib/retail/utils/updateOrganizationFields.js +2 -0
- package/lib/retail/utils/updateOrganizationFields.js.map +1 -1
- package/lib/retail/validator/getRetailFormValidator.js +3 -1
- package/lib/retail/validator/getRetailFormValidator.js.map +1 -1
- package/lib/retail/validator/validators.d.ts +2 -0
- package/lib/retail/validator/validators.js +3 -0
- package/lib/retail/validator/validators.js.map +1 -1
- package/lib/ui-kit/FormField/validators.d.ts +1 -0
- package/lib/ui-kit/FormField/validators.js +1 -1
- package/lib/ui-kit/FormField/validators.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +118 -99
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/retail/api/getDictionaries.d.ts +2 -0
- package/mobile/bundle/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/mobile/bundle/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/bundle/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/bundle/retail/utils/getOrganizationParams.d.ts +6 -0
- package/mobile/bundle/retail/validator/validators.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/validators.d.ts +1 -0
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +21 -18
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/formStateMap.js +6 -0
- package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +14 -17
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/retail/adaptors/getPersonalInfoData.js +1 -9
- package/mobile/dist/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/mobile/dist/retail/api/getDictionaries.d.ts +2 -0
- package/mobile/dist/retail/api/getDictionaries.js +13 -0
- package/mobile/dist/retail/api/getDictionaries.js.map +1 -0
- package/mobile/dist/retail/components/DraftDialog/parseDraftTask.js +1 -0
- package/mobile/dist/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/dist/retail/components/Fields/AmountWorkersField.js +0 -8
- package/mobile/dist/retail/components/Fields/AmountWorkersField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/mobile/dist/retail/components/Fields/BankEmployeeCodeField.js +17 -2
- package/mobile/dist/retail/components/Fields/BankEmployeeCodeField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/DaDataInnField.js +21 -8
- package/mobile/dist/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/EmployerActivitiesField.js +0 -8
- package/mobile/dist/retail/components/Fields/EmployerActivitiesField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/EmployerOrganizationField.js +0 -8
- package/mobile/dist/retail/components/Fields/EmployerOrganizationField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/OrganizationField.js +0 -8
- package/mobile/dist/retail/components/Fields/OrganizationField.js.map +1 -1
- package/mobile/dist/retail/components/Fields/OrganizationNameField.js +12 -2
- package/mobile/dist/retail/components/Fields/OrganizationNameField.js.map +1 -1
- package/mobile/dist/retail/content.js +4 -11
- package/mobile/dist/retail/content.js.map +1 -1
- package/mobile/dist/retail/inputs.js +1 -1
- package/mobile/dist/retail/inputs.js.map +1 -1
- package/mobile/dist/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/dist/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/dist/retail/utils/getMainFormStateMap.js +1 -6
- package/mobile/dist/retail/utils/getMainFormStateMap.js.map +1 -1
- package/mobile/dist/retail/utils/getOrganizationParams.d.ts +6 -0
- package/mobile/dist/retail/utils/getOrganizationParams.js +7 -1
- package/mobile/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/dist/retail/utils/updateOrganizationFields.js +2 -0
- package/mobile/dist/retail/utils/updateOrganizationFields.js.map +1 -1
- package/mobile/dist/retail/validator/getRetailFormValidator.js +2 -0
- package/mobile/dist/retail/validator/getRetailFormValidator.js.map +1 -1
- package/mobile/dist/retail/validator/validators.d.ts +2 -0
- package/mobile/dist/retail/validator/validators.js +6 -1
- package/mobile/dist/retail/validator/validators.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/validators.d.ts +1 -0
- package/mobile/dist/ui-kit/FormField/validators.js +4 -3
- package/mobile/dist/ui-kit/FormField/validators.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +21 -18
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/formStateMap.js +6 -0
- package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +14 -17
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/retail/adaptors/getPersonalInfoData.js +2 -10
- package/mobile/lib/retail/adaptors/getPersonalInfoData.js.map +1 -1
- package/mobile/lib/retail/api/getDictionaries.d.ts +2 -0
- package/mobile/lib/retail/api/getDictionaries.js +10 -0
- package/mobile/lib/retail/api/getDictionaries.js.map +1 -0
- package/mobile/lib/retail/components/DraftDialog/parseDraftTask.js +1 -0
- package/mobile/lib/retail/components/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/lib/retail/components/Fields/AmountWorkersField.js +0 -8
- package/mobile/lib/retail/components/Fields/AmountWorkersField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/BankEmployeeCodeField.d.ts +3 -1
- package/mobile/lib/retail/components/Fields/BankEmployeeCodeField.js +17 -2
- package/mobile/lib/retail/components/Fields/BankEmployeeCodeField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/DaDataInnField.js +22 -9
- package/mobile/lib/retail/components/Fields/DaDataInnField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/EmployerActivitiesField.js +0 -8
- package/mobile/lib/retail/components/Fields/EmployerActivitiesField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/EmployerOrganizationField.js +0 -8
- package/mobile/lib/retail/components/Fields/EmployerOrganizationField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/OrganizationField.js +0 -8
- package/mobile/lib/retail/components/Fields/OrganizationField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/OrganizationNameField.js +13 -3
- package/mobile/lib/retail/components/Fields/OrganizationNameField.js.map +1 -1
- package/mobile/lib/retail/content.js +4 -11
- package/mobile/lib/retail/content.js.map +1 -1
- package/mobile/lib/retail/inputs.js +2 -2
- package/mobile/lib/retail/inputs.js.map +1 -1
- package/mobile/lib/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/lib/retail/model/NameFieldDef.d.ts +1 -1
- package/mobile/lib/retail/utils/getMainFormStateMap.js +1 -6
- package/mobile/lib/retail/utils/getMainFormStateMap.js.map +1 -1
- package/mobile/lib/retail/utils/getOrganizationParams.d.ts +6 -0
- package/mobile/lib/retail/utils/getOrganizationParams.js +6 -0
- package/mobile/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/lib/retail/utils/updateOrganizationFields.js +2 -0
- package/mobile/lib/retail/utils/updateOrganizationFields.js.map +1 -1
- package/mobile/lib/retail/validator/getRetailFormValidator.js +3 -1
- package/mobile/lib/retail/validator/getRetailFormValidator.js.map +1 -1
- package/mobile/lib/retail/validator/validators.d.ts +2 -0
- package/mobile/lib/retail/validator/validators.js +3 -0
- package/mobile/lib/retail/validator/validators.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/validators.d.ts +1 -0
- package/mobile/lib/ui-kit/FormField/validators.js +1 -1
- package/mobile/lib/ui-kit/FormField/validators.js.map +1 -1
- package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +21 -18
- package/mobile/src/components/CreditCardForm/formStateMap.tsx +6 -0
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +14 -17
- package/mobile/src/retail/adaptors/getPersonalInfoData.tsx +1 -14
- package/mobile/src/retail/api/getDictionaries.ts +21 -0
- package/mobile/src/retail/components/DraftDialog/parseDraftTask.ts +1 -0
- package/mobile/src/retail/components/Fields/AmountWorkersField.tsx +0 -10
- package/mobile/src/retail/components/Fields/BankEmployeeCodeField.tsx +41 -9
- package/mobile/src/retail/components/Fields/DaDataInnField.tsx +28 -10
- package/mobile/src/retail/components/Fields/EmployerActivitiesField.tsx +0 -10
- package/mobile/src/retail/components/Fields/EmployerOrganizationField.tsx +0 -10
- package/mobile/src/retail/components/Fields/OrganizationField.tsx +0 -10
- package/mobile/src/retail/components/Fields/OrganizationNameField.tsx +17 -2
- package/mobile/src/retail/content.tsx +4 -11
- package/mobile/src/retail/inputs.tsx +2 -2
- package/mobile/src/retail/model/LeadFormState.ts +1 -1
- package/mobile/src/retail/model/NameFieldDef.ts +1 -0
- package/mobile/src/retail/utils/getMainFormStateMap.ts +1 -6
- package/mobile/src/retail/utils/getOrganizationParams.ts +7 -0
- package/mobile/src/retail/utils/updateOrganizationFields.ts +2 -0
- package/mobile/src/retail/validator/getRetailFormValidator.ts +4 -0
- package/mobile/src/retail/validator/validators.ts +9 -0
- package/mobile/src/ui-kit/FormField/validators.ts +1 -1
- package/package.json +1 -1
- package/src/components/CreditCardForm/creditCardFormStepsData.tsx +21 -18
- package/src/components/CreditCardForm/formStateMap.tsx +6 -0
- package/src/components/CreditForm/creditFormStepsData.tsx +14 -17
- package/src/retail/adaptors/getPersonalInfoData.tsx +1 -14
- package/src/retail/api/getDictionaries.ts +21 -0
- package/src/retail/components/DraftDialog/parseDraftTask.ts +1 -0
- package/src/retail/components/Fields/AmountWorkersField.tsx +0 -10
- package/src/retail/components/Fields/BankEmployeeCodeField.tsx +41 -9
- package/src/retail/components/Fields/DaDataInnField.tsx +28 -10
- package/src/retail/components/Fields/EmployerActivitiesField.tsx +0 -10
- package/src/retail/components/Fields/EmployerOrganizationField.tsx +0 -10
- package/src/retail/components/Fields/OrganizationField.tsx +0 -10
- package/src/retail/components/Fields/OrganizationNameField.tsx +17 -2
- package/src/retail/content.tsx +4 -11
- package/src/retail/inputs.tsx +2 -2
- package/src/retail/model/LeadFormState.ts +1 -1
- package/src/retail/model/NameFieldDef.ts +1 -0
- package/src/retail/utils/getMainFormStateMap.ts +1 -6
- package/src/retail/utils/getOrganizationParams.ts +7 -0
- package/src/retail/utils/updateOrganizationFields.ts +2 -0
- package/src/retail/validator/getRetailFormValidator.ts +4 -0
- package/src/retail/validator/validators.ts +9 -0
- package/src/ui-kit/FormField/validators.ts +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -3040,6 +3040,8 @@
|
|
|
3040
3040
|
}
|
|
3041
3041
|
return false;
|
|
3042
3042
|
});
|
|
3043
|
+
const organizationNameValidator = (isDadataOrganization) => validator((_) => Boolean(_) && Boolean(isDadataOrganization))('Укажите наименование организации');
|
|
3044
|
+
const organizationInnValidator = (isDadataOrganization) => validator((_) => isValidInnLength(_) && Boolean(isDadataOrganization))('Укажите ИНН');
|
|
3043
3045
|
|
|
3044
3046
|
const limitedBirthdayValidationData = {
|
|
3045
3047
|
credit: {
|
|
@@ -4405,19 +4407,28 @@
|
|
|
4405
4407
|
});
|
|
4406
4408
|
|
|
4407
4409
|
const AmountWorkersField = JSX(({ field, input }) => {
|
|
4408
|
-
const { data } = useLeadFormData('EMPLOYEES_NUMBER');
|
|
4409
4410
|
const store = useRetailFormStore();
|
|
4410
|
-
useEffect(() => {
|
|
4411
|
-
if (data) {
|
|
4412
|
-
store.amountWorkers = data;
|
|
4413
|
-
}
|
|
4414
|
-
}, [data]);
|
|
4415
4411
|
return (jsx(SelectField, { field: field, source: store.amountWorkers ?? [], label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0445 \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", fieldName: "amountWorkers", input: input }));
|
|
4416
4412
|
});
|
|
4417
4413
|
|
|
4418
4414
|
const ArmyIdFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u041D\u0430\u043B\u0438\u0447\u0438\u0435 \u0432\u043E\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u0438\u043B\u0435\u0442\u0430", ...field(input?.name ?? '') })));
|
|
4419
4415
|
|
|
4420
|
-
const
|
|
4416
|
+
const RadioButtonGroupControl = JSX(({ className, label, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(RadioButtonGroup, { label: getRequiredLabel({ label, errors: rest?.errors }), ...rest }), renderErrorText(error)] })));
|
|
4417
|
+
|
|
4418
|
+
const BUTTON_TYPES = [
|
|
4419
|
+
{ id: 'true', text: 'Да' },
|
|
4420
|
+
{ id: 'false', text: 'Нет' },
|
|
4421
|
+
];
|
|
4422
|
+
const BankEmployeeCodeField = JSX(({ field, input }) => {
|
|
4423
|
+
const [bankEmployeeFlg, setBankEmployeeFlg] = useState('');
|
|
4424
|
+
const handleBankEmployeeFlgChange = useCallback((value) => {
|
|
4425
|
+
setBankEmployeeFlg(value);
|
|
4426
|
+
if (value === 'false') {
|
|
4427
|
+
field('bankEmployeeCode')?.onChange?.(null);
|
|
4428
|
+
}
|
|
4429
|
+
}, []);
|
|
4430
|
+
return (jsxs("div", { className: "flex flex-col md:flex-row", children: [jsx(RadioButtonGroupControl, { label: "\u041C\u043D\u0435 \u043F\u043E\u043C\u043E\u0433 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A \u0411\u0430\u043D\u043A\u0430", orientation: "horizontal", items: BUTTON_TYPES, value: bankEmployeeFlg, onChange: handleBankEmployeeFlgChange }), bankEmployeeFlg === 'true' ? (jsx(DaDataInputControl, { label: "\u041A\u043E\u0434 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F \u0411\u0430\u043D\u043A\u0430", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434", isInteger: true, maxLength: 8, ...field(input?.name ?? ''), ...input })) : null] }));
|
|
4431
|
+
});
|
|
4421
4432
|
|
|
4422
4433
|
const BankruptcyFlgField = JSX(({ field, input }) => (jsx(CheckboxWithError, { text: "\u0412 \u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044F \u0432\u0435\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u043E \u043F\u043E \u0434\u0435\u043B\u0443 \u043E \u0431\u0430\u043D\u043A\u0440\u043E\u0442\u0441\u0442\u0432\u0435", ...field(input?.name ?? '') })));
|
|
4423
4434
|
|
|
@@ -4882,8 +4893,6 @@
|
|
|
4882
4893
|
47: 'owner_debit_card_pens_plus',
|
|
4883
4894
|
};
|
|
4884
4895
|
|
|
4885
|
-
const RadioButtonGroupControl = JSX(({ className, label, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(RadioButtonGroup, { label: getRequiredLabel({ label, errors: rest?.errors }), ...rest }), renderErrorText(error)] })));
|
|
4886
|
-
|
|
4887
4896
|
const RUBLE = [{ id: '810', text: 'Рубли' }];
|
|
4888
4897
|
const CurrencyField = JSX(({ field, input }) => {
|
|
4889
4898
|
const { data } = useLeadFormData('CURRENCY');
|
|
@@ -4893,6 +4902,15 @@
|
|
|
4893
4902
|
return (jsx(RadioButtonGroupControl, { label: "\u0412\u0430\u043B\u044E\u0442\u0430", orientation: "horizontal", items: currencies, ...field(input?.name ?? '') }));
|
|
4894
4903
|
});
|
|
4895
4904
|
|
|
4905
|
+
const getDictionaries = (dictionaries, store) => {
|
|
4906
|
+
Promise.all(Object.entries(dictionaries).map((dictionary) => {
|
|
4907
|
+
const [fieldName, dictionaryName] = dictionary;
|
|
4908
|
+
fetchRetailJSON(`/dictionary?dictionaryType=${encodeURIComponent(dictionaryName)}`, 'POST').then((res) => {
|
|
4909
|
+
store[fieldName] = res;
|
|
4910
|
+
});
|
|
4911
|
+
}));
|
|
4912
|
+
};
|
|
4913
|
+
|
|
4896
4914
|
const getOrganizationFromInn = async (inn) => {
|
|
4897
4915
|
const res = await getDaDataHints({
|
|
4898
4916
|
url: 'suggest/party',
|
|
@@ -5000,6 +5018,12 @@
|
|
|
5000
5018
|
const getOptionOp = (options) => (key) => options
|
|
5001
5019
|
.map((_) => ({ key: _.key, text: _.value }))
|
|
5002
5020
|
.find((_) => _.key === key) ?? null;
|
|
5021
|
+
const organizationDictionaries = {
|
|
5022
|
+
amountWorkers: 'EMPLOYEES_NUMBER',
|
|
5023
|
+
employerOrganization: 'ORGANIZATION_KIND',
|
|
5024
|
+
employerActivities: 'ORGANIZATION_ACTIVITY_TYPE',
|
|
5025
|
+
organization: 'ORGANIZATION_TYPE',
|
|
5026
|
+
};
|
|
5003
5027
|
|
|
5004
5028
|
const updateOrganizationFields = (store, field, item) => {
|
|
5005
5029
|
const { okved, okopf, inn, organizationName } = getOrganizationRequisites(item);
|
|
@@ -5011,6 +5035,8 @@
|
|
|
5011
5035
|
organization: getOrganizationType(store?.organization ?? [], okopf, inn),
|
|
5012
5036
|
employerOrganization: getOrganizationKind(store?.employerOrganization ?? [], okopf),
|
|
5013
5037
|
organizationName,
|
|
5038
|
+
inn,
|
|
5039
|
+
isDadataOrganization: true,
|
|
5014
5040
|
};
|
|
5015
5041
|
for (const fieldName in organizationData) {
|
|
5016
5042
|
field?.(fieldName)?.onChange?.(organizationData[fieldName]);
|
|
@@ -5023,14 +5049,26 @@
|
|
|
5023
5049
|
organizationName: item.data?.name?.short_with_opf ?? '',
|
|
5024
5050
|
});
|
|
5025
5051
|
|
|
5052
|
+
const NO_DADATA_ERROR_TEXT$1 = 'Необходимо выбрать ИНН из выпадающего списка';
|
|
5026
5053
|
const DaDataInnField = JSX(({ field, input }) => {
|
|
5027
5054
|
const store = useRetailFormStore();
|
|
5055
|
+
const [errorText, setErrorText] = useState('');
|
|
5028
5056
|
const { employerActivities, employerOrganization, organization, amountWorkers } = store;
|
|
5029
5057
|
const esiaAccountTypeCd = field?.('esiaAccountTypeCd')?.value;
|
|
5030
5058
|
const inn = field?.('inn')?.value;
|
|
5059
|
+
const fieldError = field?.('organizationName')?.error;
|
|
5060
|
+
const isDadataOrganization = field('isDadataOrganization')?.value;
|
|
5061
|
+
useEffect(() => {
|
|
5062
|
+
setErrorText(fieldError && !isDadataOrganization ? NO_DADATA_ERROR_TEXT$1 : '');
|
|
5063
|
+
}, [isDadataOrganization, fieldError]);
|
|
5031
5064
|
const onDaDataChange = useCallback((item) => {
|
|
5032
5065
|
updateOrganizationFields(store, field, item);
|
|
5033
5066
|
}, []);
|
|
5067
|
+
useEffect(() => {
|
|
5068
|
+
(async () => {
|
|
5069
|
+
await getDictionaries(organizationDictionaries, store);
|
|
5070
|
+
})();
|
|
5071
|
+
}, []);
|
|
5034
5072
|
useEffect(() => {
|
|
5035
5073
|
if (!esiaAccountTypeCd || !inn || !isDictionariesAlreadyLoad(store)) {
|
|
5036
5074
|
return;
|
|
@@ -5042,16 +5080,15 @@
|
|
|
5042
5080
|
}
|
|
5043
5081
|
})();
|
|
5044
5082
|
}, [employerActivities, employerOrganization, organization, amountWorkers]);
|
|
5045
|
-
|
|
5083
|
+
const onChange = useCallback((value) => {
|
|
5084
|
+
field?.('inn')?.onChange?.(value);
|
|
5085
|
+
field?.('isDadataOrganization')?.onChange?.(false);
|
|
5086
|
+
}, []);
|
|
5087
|
+
return (jsx(DaDataInputControl, { label: "\u0418\u041D\u041D", isInteger: true, maxLength: 12, ...input, ...field(input?.name ?? ''), onDaDataChange: onDaDataChange, disabled: isEsiaAuthorize(field, input), onChange: onChange, error: errorText || field('inn')?.error }));
|
|
5046
5088
|
});
|
|
5047
5089
|
const isDictionariesAlreadyLoad = (store) => {
|
|
5048
|
-
const { employerActivities, employerOrganization, organization, amountWorkers
|
|
5049
|
-
return [
|
|
5050
|
-
employerOrganization,
|
|
5051
|
-
organization,
|
|
5052
|
-
amountWorkers,
|
|
5053
|
-
productType === 'creditCard' ? employerActivities : true,
|
|
5054
|
-
].every(Boolean);
|
|
5090
|
+
const { employerActivities, employerOrganization, organization, amountWorkers } = store;
|
|
5091
|
+
return [employerOrganization, organization, amountWorkers, employerActivities].every(Boolean);
|
|
5055
5092
|
};
|
|
5056
5093
|
|
|
5057
5094
|
const DeliveryDateFiels = JSX(({ field, input }) => (jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438", ...field(input?.name ?? ''), minDate: new Date() })));
|
|
@@ -5119,24 +5156,12 @@
|
|
|
5119
5156
|
});
|
|
5120
5157
|
|
|
5121
5158
|
const EmployerActivitiesField = JSX(({ field, input }) => {
|
|
5122
|
-
const { data } = useLeadFormData('ORGANIZATION_ACTIVITY_TYPE');
|
|
5123
5159
|
const store = useRetailFormStore();
|
|
5124
|
-
useEffect(() => {
|
|
5125
|
-
if (data) {
|
|
5126
|
-
store.employerActivities = data;
|
|
5127
|
-
}
|
|
5128
|
-
}, [data]);
|
|
5129
5160
|
return (jsx(SelectField, { field: field, source: store.employerActivities ?? [], label: "\u0412\u0438\u0434 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438-\u0440\u0430\u0431\u043E\u0442\u043E\u0434\u0430\u0442\u0435\u043B\u044F", fieldName: "employerActivities", input: input }));
|
|
5130
5161
|
});
|
|
5131
5162
|
|
|
5132
5163
|
const EmployerOrganizationField = JSX(({ field, input }) => {
|
|
5133
|
-
const { data } = useLeadFormData('ORGANIZATION_KIND');
|
|
5134
5164
|
const store = useRetailFormStore();
|
|
5135
|
-
useEffect(() => {
|
|
5136
|
-
if (data) {
|
|
5137
|
-
store.employerOrganization = data;
|
|
5138
|
-
}
|
|
5139
|
-
}, [data]);
|
|
5140
5165
|
return (jsx(SelectField, { field: field, source: store.employerOrganization ?? [], label: "\u0412\u0438\u0434 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043E\u0442\u043E\u0434\u0430\u0442\u0435\u043B\u044F", fieldName: "employerOrganization", input: input }));
|
|
5141
5166
|
});
|
|
5142
5167
|
|
|
@@ -5340,23 +5365,27 @@
|
|
|
5340
5365
|
});
|
|
5341
5366
|
|
|
5342
5367
|
const OrganizationField = JSX(({ field, input }) => {
|
|
5343
|
-
const { data } = useLeadFormData('ORGANIZATION_TYPE');
|
|
5344
5368
|
const store = useRetailFormStore();
|
|
5345
|
-
useEffect(() => {
|
|
5346
|
-
if (data) {
|
|
5347
|
-
store.organization = data;
|
|
5348
|
-
}
|
|
5349
|
-
}, [data]);
|
|
5350
5369
|
return (jsx(SelectField, { field: field, source: store.organization ?? [], label: "\u0422\u0438\u043F \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", fieldName: "organization", input: input }));
|
|
5351
5370
|
});
|
|
5352
5371
|
|
|
5372
|
+
const NO_DADATA_ERROR_TEXT = 'Необходимо выбрать организацию из выпадающего списка';
|
|
5353
5373
|
const OrganizationNameField = JSX(({ field, input }) => {
|
|
5354
5374
|
const store = useRetailFormStore();
|
|
5375
|
+
const [errorText, setErrorText] = useState('');
|
|
5376
|
+
const fieldError = field?.('organizationName')?.error;
|
|
5377
|
+
const isDadataOrganization = field('isDadataOrganization')?.value;
|
|
5378
|
+
useEffect(() => {
|
|
5379
|
+
setErrorText(fieldError && !isDadataOrganization ? NO_DADATA_ERROR_TEXT : '');
|
|
5380
|
+
}, [isDadataOrganization, fieldError]);
|
|
5355
5381
|
const onDaDataChange = useCallback((item) => {
|
|
5356
|
-
field?.('inn')?.onChange?.(item.data?.inn);
|
|
5357
5382
|
updateOrganizationFields(store, field, item);
|
|
5358
5383
|
}, []);
|
|
5359
|
-
|
|
5384
|
+
const onChange = useCallback((value) => {
|
|
5385
|
+
field?.('organizationName')?.onChange?.(value);
|
|
5386
|
+
field?.('isDadataOrganization')?.onChange?.(false);
|
|
5387
|
+
}, []);
|
|
5388
|
+
return (jsx(DaDataInputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...input, ...field(input?.name ?? ''), disabled: isEsiaAuthorize(field, input), onDaDataChange: onDaDataChange, onChange: onChange, error: errorText || field('organizationName')?.error }));
|
|
5360
5389
|
});
|
|
5361
5390
|
|
|
5362
5391
|
const OtherIncomeField = JSX(({ field, input }) => (jsx(DaDataInputControl, { label: "\u0418\u043D\u044B\u0435 \u0434\u043E\u0445\u043E\u0434\u044B", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435", isInteger: true, ...field(input?.name ?? ''), ...input })));
|
|
@@ -5561,7 +5590,7 @@
|
|
|
5561
5590
|
shareholderFlg: ShareholderFlgField,
|
|
5562
5591
|
legalEntityName: LegalEntityNameField,
|
|
5563
5592
|
creditInRshbCd: CreditInRshbCdField,
|
|
5564
|
-
bankEmployeeCode:
|
|
5593
|
+
bankEmployeeCode: BankEmployeeCodeField,
|
|
5565
5594
|
partInBusiness: PartInBusinessField,
|
|
5566
5595
|
regionRetail: RegionRetailField,
|
|
5567
5596
|
infoCard: InfoCardField,
|
|
@@ -6115,6 +6144,7 @@
|
|
|
6115
6144
|
employment: getSelectValue(employment, EMPLOYMENT_TYPE),
|
|
6116
6145
|
organizationName,
|
|
6117
6146
|
inn,
|
|
6147
|
+
isDadataOrganization: Boolean(inn),
|
|
6118
6148
|
employerActivities: getSelectValue(employerActivities),
|
|
6119
6149
|
organization: getSelectValue(organization),
|
|
6120
6150
|
employerOrganization: getSelectValue(employerOrganization),
|
|
@@ -8478,6 +8508,8 @@
|
|
|
8478
8508
|
generalSeniority: generalSeniorityValidator(formState.lastJobExperience),
|
|
8479
8509
|
beginDate: workBeginDateValidator(formState.limitedBirthday),
|
|
8480
8510
|
participantDateRegistration: dateRegistrationValidator(formState.limitedBirthday),
|
|
8511
|
+
organizationName: organizationNameValidator(formState.isDadataOrganization),
|
|
8512
|
+
inn: organizationInnValidator(formState.isDadataOrganization),
|
|
8481
8513
|
})(formState);
|
|
8482
8514
|
|
|
8483
8515
|
const StepsNavigationButtons$2 = JSX(({ step, isSending, onPrevStep }) => {
|
|
@@ -8547,6 +8579,7 @@
|
|
|
8547
8579
|
fiasCode: '',
|
|
8548
8580
|
},
|
|
8549
8581
|
organizationName: '',
|
|
8582
|
+
isDadataOrganization: false,
|
|
8550
8583
|
organizationPhone: '',
|
|
8551
8584
|
partInBusiness: undefined,
|
|
8552
8585
|
positionOrganization: { key: '', text: '' },
|
|
@@ -8563,12 +8596,6 @@
|
|
|
8563
8596
|
esiaAccountTypeCd: { key: '', text: '' },
|
|
8564
8597
|
initiateBankruptcyFlg: isCredit ? false : undefined,
|
|
8565
8598
|
},
|
|
8566
|
-
{
|
|
8567
|
-
bankruptcyFlg: false,
|
|
8568
|
-
shareholderFlg: false,
|
|
8569
|
-
legalEntityName: '',
|
|
8570
|
-
creditInRshbCd: undefined,
|
|
8571
|
-
},
|
|
8572
8599
|
];
|
|
8573
8600
|
|
|
8574
8601
|
const formStateMap$2 = [
|
|
@@ -8578,6 +8605,12 @@
|
|
|
8578
8605
|
codeWord: '',
|
|
8579
8606
|
},
|
|
8580
8607
|
...getMainFormStateMap(),
|
|
8608
|
+
{
|
|
8609
|
+
bankruptcyFlg: false,
|
|
8610
|
+
shareholderFlg: false,
|
|
8611
|
+
legalEntityName: '',
|
|
8612
|
+
creditInRshbCd: undefined,
|
|
8613
|
+
},
|
|
8581
8614
|
{
|
|
8582
8615
|
regionRetail: { key: '', text: '' },
|
|
8583
8616
|
addressRetail: { key: '', text: '' },
|
|
@@ -8637,12 +8670,9 @@
|
|
|
8637
8670
|
};
|
|
8638
8671
|
|
|
8639
8672
|
const getPersonalInfoData = (formData) => {
|
|
8640
|
-
const {
|
|
8673
|
+
const { limitedBirthday = '', sex, birthPlace, dulIssueDate = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration, housing, addressRegistration, addressFact, addressMatch, } = formData;
|
|
8641
8674
|
return {
|
|
8642
8675
|
birthDate: formatDate(limitedBirthday, true),
|
|
8643
|
-
midname: middleName,
|
|
8644
|
-
name,
|
|
8645
|
-
surname,
|
|
8646
8676
|
birthPlace,
|
|
8647
8677
|
dulIssueDate: formatDate(dulIssueDate, true),
|
|
8648
8678
|
dulIssuedBy,
|
|
@@ -8655,10 +8685,6 @@
|
|
|
8655
8685
|
: undefined,
|
|
8656
8686
|
homeMatchFlg: addressMatch,
|
|
8657
8687
|
houseTypeCd: housing,
|
|
8658
|
-
participantContacts: getParticipantContacts$1({
|
|
8659
|
-
phone: formatPhone(phone),
|
|
8660
|
-
email,
|
|
8661
|
-
}),
|
|
8662
8688
|
participantAddresses: getParticipantAddresses$1({
|
|
8663
8689
|
addressRegistration,
|
|
8664
8690
|
addressFact: addressMatch ? addressRegistration : addressFact,
|
|
@@ -8826,21 +8852,14 @@
|
|
|
8826
8852
|
title: 'Персональные данные',
|
|
8827
8853
|
columns: 2,
|
|
8828
8854
|
inputs: [
|
|
8829
|
-
{
|
|
8830
|
-
name: 'surname',
|
|
8831
|
-
required: true,
|
|
8832
|
-
dadata: true,
|
|
8833
|
-
filledByEsia: true,
|
|
8834
|
-
},
|
|
8835
|
-
{ name: 'name', required: true, dadata: true, filledByEsia: true },
|
|
8836
|
-
{ name: 'middleName', dadata: true, filledByEsia: true },
|
|
8837
|
-
{ name: 'sex', required: true },
|
|
8838
8855
|
{ name: 'limitedBirthday', required: true, filledByEsia: true },
|
|
8839
8856
|
{ name: 'birthPlace', required: true, filledByEsia: true },
|
|
8840
|
-
{ name: 'phone', disabled: true, required: true },
|
|
8841
|
-
{ name: 'email', required: true, dadata: true },
|
|
8842
8857
|
],
|
|
8843
8858
|
},
|
|
8859
|
+
{
|
|
8860
|
+
columns: 2,
|
|
8861
|
+
inputs: [{ name: 'sex', required: true }],
|
|
8862
|
+
},
|
|
8844
8863
|
{
|
|
8845
8864
|
title: 'Паспортные данные',
|
|
8846
8865
|
columns: 2,
|
|
@@ -9035,29 +9054,32 @@
|
|
|
9035
9054
|
],
|
|
9036
9055
|
},
|
|
9037
9056
|
{
|
|
9038
|
-
inputs: [
|
|
9039
|
-
{ name: 'employment', required: true },
|
|
9040
|
-
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
9041
|
-
],
|
|
9057
|
+
inputs: [{ name: 'employment', required: true }],
|
|
9042
9058
|
},
|
|
9043
9059
|
{
|
|
9044
9060
|
columns: 2,
|
|
9045
9061
|
inputs: [
|
|
9062
|
+
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
9046
9063
|
{ name: 'inn', required: true, dadata: true, filledByEsia: true },
|
|
9047
|
-
{ name: 'legalForm', required: true },
|
|
9048
9064
|
],
|
|
9049
9065
|
},
|
|
9050
9066
|
{
|
|
9067
|
+
inputs: [{ name: 'amountWorkers', required: true }],
|
|
9068
|
+
},
|
|
9069
|
+
{
|
|
9070
|
+
columns: 2,
|
|
9051
9071
|
inputs: [
|
|
9052
|
-
{ name: '
|
|
9053
|
-
{
|
|
9072
|
+
{ name: 'employerActivities', required: true },
|
|
9073
|
+
{
|
|
9074
|
+
name: 'organizationPhone',
|
|
9075
|
+
label: 'Телефон работодателя',
|
|
9076
|
+
required: true,
|
|
9077
|
+
},
|
|
9054
9078
|
],
|
|
9055
9079
|
},
|
|
9056
9080
|
{
|
|
9057
9081
|
columns: 2,
|
|
9058
9082
|
inputs: [
|
|
9059
|
-
{ name: 'employerActivities', required: true },
|
|
9060
|
-
{ name: 'employerOrganization', required: true },
|
|
9061
9083
|
{ name: 'generalSeniority', required: true, filledByEsia: true },
|
|
9062
9084
|
{ name: 'lastJobExperience', required: true, filledByEsia: true },
|
|
9063
9085
|
{ name: 'experience5Years', required: true, filledByEsia: true },
|
|
@@ -9065,14 +9087,7 @@
|
|
|
9065
9087
|
],
|
|
9066
9088
|
},
|
|
9067
9089
|
{
|
|
9068
|
-
inputs: [
|
|
9069
|
-
{
|
|
9070
|
-
name: 'organizationPhone',
|
|
9071
|
-
label: 'Телефон работодателя',
|
|
9072
|
-
required: true,
|
|
9073
|
-
},
|
|
9074
|
-
{ name: 'beginDate', required: true, filledByEsia: true },
|
|
9075
|
-
],
|
|
9090
|
+
inputs: [{ name: 'beginDate', required: true, filledByEsia: true }],
|
|
9076
9091
|
},
|
|
9077
9092
|
{
|
|
9078
9093
|
columns: 2,
|
|
@@ -9206,13 +9221,20 @@
|
|
|
9206
9221
|
values: ['office'],
|
|
9207
9222
|
},
|
|
9208
9223
|
},
|
|
9224
|
+
],
|
|
9225
|
+
},
|
|
9226
|
+
{
|
|
9227
|
+
columns: 2,
|
|
9228
|
+
inputs: [
|
|
9209
9229
|
{
|
|
9210
|
-
name: 'bankEmployeeCode',
|
|
9211
9230
|
condition: {
|
|
9212
9231
|
name: 'methodObtain',
|
|
9213
9232
|
values: ['office'],
|
|
9214
9233
|
},
|
|
9215
9234
|
},
|
|
9235
|
+
{
|
|
9236
|
+
name: 'bankEmployeeCode',
|
|
9237
|
+
},
|
|
9216
9238
|
],
|
|
9217
9239
|
},
|
|
9218
9240
|
];
|
|
@@ -9581,38 +9603,30 @@
|
|
|
9581
9603
|
],
|
|
9582
9604
|
},
|
|
9583
9605
|
{
|
|
9584
|
-
inputs: [
|
|
9585
|
-
{ name: 'employment', required: true },
|
|
9586
|
-
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
9587
|
-
],
|
|
9606
|
+
inputs: [{ name: 'employment', required: true }],
|
|
9588
9607
|
},
|
|
9589
9608
|
{
|
|
9590
9609
|
columns: 2,
|
|
9591
9610
|
inputs: [
|
|
9611
|
+
{ name: 'organizationName', required: true, dadata: true, filledByEsia: true },
|
|
9592
9612
|
{ name: 'inn', required: true, dadata: true, filledByEsia: true },
|
|
9593
|
-
{ name: 'legalForm', required: true },
|
|
9594
9613
|
],
|
|
9595
9614
|
},
|
|
9596
9615
|
{
|
|
9616
|
+
columns: 2,
|
|
9597
9617
|
inputs: [
|
|
9598
|
-
{ name: 'organization', required: true },
|
|
9599
9618
|
{ name: 'amountWorkers', required: true },
|
|
9619
|
+
{
|
|
9620
|
+
name: 'organizationPhone',
|
|
9621
|
+
label: 'Телефон работодателя',
|
|
9622
|
+
required: true,
|
|
9623
|
+
},
|
|
9600
9624
|
],
|
|
9601
9625
|
},
|
|
9602
9626
|
{
|
|
9603
9627
|
columns: 2,
|
|
9604
9628
|
inputs: [
|
|
9605
|
-
{ name: 'employerOrganization', required: true },
|
|
9606
9629
|
{ name: 'jobsNumber', required: true, filledByEsia: true },
|
|
9607
|
-
],
|
|
9608
|
-
},
|
|
9609
|
-
{
|
|
9610
|
-
inputs: [
|
|
9611
|
-
{
|
|
9612
|
-
name: 'organizationPhone',
|
|
9613
|
-
label: 'Телефон работодателя',
|
|
9614
|
-
required: true,
|
|
9615
|
-
},
|
|
9616
9630
|
{ name: 'beginDate', required: true, filledByEsia: true },
|
|
9617
9631
|
],
|
|
9618
9632
|
},
|
|
@@ -9713,7 +9727,12 @@
|
|
|
9713
9727
|
],
|
|
9714
9728
|
},
|
|
9715
9729
|
{
|
|
9716
|
-
|
|
9730
|
+
columns: 2,
|
|
9731
|
+
inputs: [
|
|
9732
|
+
{
|
|
9733
|
+
name: 'bankEmployeeCode',
|
|
9734
|
+
},
|
|
9735
|
+
],
|
|
9717
9736
|
},
|
|
9718
9737
|
];
|
|
9719
9738
|
const CALCULATOR_CONTENT = [
|
|
@@ -12124,7 +12143,7 @@
|
|
|
12124
12143
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
12125
12144
|
});
|
|
12126
12145
|
|
|
12127
|
-
const packageVersion = "0.14.
|
|
12146
|
+
const packageVersion = "0.14.917";
|
|
12128
12147
|
|
|
12129
12148
|
exports.Blocks = Blocks;
|
|
12130
12149
|
exports.ContentPage = ContentPage;
|