@redneckz/wildless-cms-uni-blocks 0.14.731 → 0.14.732
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 +20 -28
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/bundle/components/CreditCardForm/renderStep.d.ts +1 -2
- package/bundle/components/CreditForm/renderStep.d.ts +1 -2
- package/bundle/services/retail/inputs.d.ts +1 -0
- package/bundle/services/retail/model/RetailFormContent.d.ts +3 -17
- package/bundle/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/dist/components/CreditCardForm/renderStep.d.ts +1 -2
- package/dist/components/CreditCardForm/renderStep.js +1 -3
- package/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/dist/components/CreditForm/renderStep.d.ts +1 -2
- package/dist/components/CreditForm/renderStep.js +1 -2
- package/dist/components/CreditForm/renderStep.js.map +1 -1
- package/dist/services/retail/content.js +12 -8
- package/dist/services/retail/content.js.map +1 -1
- package/dist/services/retail/inputs.d.ts +1 -0
- package/dist/services/retail/inputs.js +2 -0
- package/dist/services/retail/inputs.js.map +1 -1
- package/dist/services/retail/model/RetailFormContent.d.ts +3 -17
- package/dist/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/dist/ui-kit/FormField/Fields/InfoCardField.js +7 -0
- package/dist/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/lib/components/CreditCardForm/renderStep.d.ts +1 -2
- package/lib/components/CreditCardForm/renderStep.js +2 -4
- package/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/lib/components/CreditForm/renderStep.d.ts +1 -2
- package/lib/components/CreditForm/renderStep.js +1 -2
- package/lib/components/CreditForm/renderStep.js.map +1 -1
- package/lib/services/retail/content.js +12 -8
- package/lib/services/retail/content.js.map +1 -1
- package/lib/services/retail/inputs.d.ts +1 -0
- package/lib/services/retail/inputs.js +2 -0
- package/lib/services/retail/inputs.js.map +1 -1
- package/lib/services/retail/model/RetailFormContent.d.ts +3 -17
- package/lib/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/lib/ui-kit/FormField/Fields/InfoCardField.js +5 -0
- package/lib/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +20 -28
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +1 -2
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +1 -2
- package/mobile/bundle/services/retail/inputs.d.ts +1 -0
- package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +3 -17
- package/mobile/bundle/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +1 -2
- package/mobile/dist/components/CreditCardForm/renderStep.js +1 -3
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderStep.d.ts +1 -2
- package/mobile/dist/components/CreditForm/renderStep.js +1 -2
- package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/dist/services/retail/content.js +12 -8
- package/mobile/dist/services/retail/content.js.map +1 -1
- package/mobile/dist/services/retail/inputs.d.ts +1 -0
- package/mobile/dist/services/retail/inputs.js +2 -0
- package/mobile/dist/services/retail/inputs.js.map +1 -1
- package/mobile/dist/services/retail/model/RetailFormContent.d.ts +3 -17
- package/mobile/dist/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/mobile/dist/ui-kit/FormField/Fields/InfoCardField.js +7 -0
- package/mobile/dist/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -9
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +1 -2
- package/mobile/lib/components/CreditCardForm/renderStep.js +2 -4
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderStep.d.ts +1 -2
- package/mobile/lib/components/CreditForm/renderStep.js +1 -2
- package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/lib/services/retail/content.js +12 -8
- package/mobile/lib/services/retail/content.js.map +1 -1
- package/mobile/lib/services/retail/inputs.d.ts +1 -0
- package/mobile/lib/services/retail/inputs.js +2 -0
- package/mobile/lib/services/retail/inputs.js.map +1 -1
- package/mobile/lib/services/retail/model/RetailFormContent.d.ts +3 -17
- package/mobile/lib/ui-kit/FormField/Fields/InfoCardField.d.ts +2 -0
- package/mobile/lib/ui-kit/FormField/Fields/InfoCardField.js +5 -0
- package/mobile/lib/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -11
- package/mobile/src/components/CreditCardForm/renderStep.tsx +2 -11
- package/mobile/src/components/CreditForm/renderStep.tsx +1 -5
- package/mobile/src/services/retail/content.tsx +12 -8
- package/mobile/src/services/retail/inputs.tsx +2 -0
- package/mobile/src/services/retail/model/RetailFormContent.ts +4 -20
- package/mobile/src/ui-kit/FormField/Fields/InfoCardField.tsx +7 -0
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +2 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -11
- package/src/components/CreditCardForm/renderStep.tsx +2 -11
- package/src/components/CreditForm/renderStep.tsx +1 -5
- package/src/services/retail/content.tsx +12 -8
- package/src/services/retail/inputs.tsx +2 -0
- package/src/services/retail/model/RetailFormContent.ts +4 -20
- package/src/ui-kit/FormField/Fields/InfoCardField.tsx +7 -0
- package/src/ui-kit/FormField/NameFieldDef.ts +2 -1
- package/bundle/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/bundle/components/CreditForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditCardForm/renderInfo.js +0 -12
- package/dist/components/CreditCardForm/renderInfo.js.map +0 -1
- package/dist/components/CreditForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditForm/renderInfo.js +0 -12
- package/dist/components/CreditForm/renderInfo.js.map +0 -1
- package/lib/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/lib/components/CreditCardForm/renderInfo.js +0 -9
- package/lib/components/CreditCardForm/renderInfo.js.map +0 -1
- package/lib/components/CreditForm/renderInfo.d.ts +0 -2
- package/lib/components/CreditForm/renderInfo.js +0 -9
- package/lib/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/bundle/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.js +0 -12
- package/mobile/dist/components/CreditCardForm/renderInfo.js.map +0 -1
- package/mobile/dist/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditForm/renderInfo.js +0 -12
- package/mobile/dist/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/lib/components/CreditCardForm/renderInfo.js +0 -9
- package/mobile/lib/components/CreditCardForm/renderInfo.js.map +0 -1
- package/mobile/lib/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/lib/components/CreditForm/renderInfo.js +0 -9
- package/mobile/lib/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/src/components/CreditCardForm/renderInfo.tsx +0 -10
- package/mobile/src/components/CreditForm/renderInfo.tsx +0 -10
- package/src/components/CreditCardForm/renderInfo.tsx +0 -10
- package/src/components/CreditForm/renderInfo.tsx +0 -10
|
@@ -36,6 +36,7 @@ import { FamilyMembersField } from '../../ui-kit/FormField/Fields/FamilyMembersF
|
|
|
36
36
|
import { FamilyStatusField } from '../../ui-kit/FormField/Fields/FamilyStatusField.js';
|
|
37
37
|
import { GeneralSeniorityField } from '../../ui-kit/FormField/Fields/GeneralSeniorityField.js';
|
|
38
38
|
import { HousingField } from '../../ui-kit/FormField/Fields/HousingField.js';
|
|
39
|
+
import { InfoCardField } from '../../ui-kit/FormField/Fields/InfoCardField.js';
|
|
39
40
|
import { JobsNumberField } from '../../ui-kit/FormField/Fields/JobsNumberField.js';
|
|
40
41
|
import { LastJobExperienceField } from '../../ui-kit/FormField/Fields/LastJobExperienceField.js';
|
|
41
42
|
import { LegalEntityNameField } from '../../ui-kit/FormField/Fields/LegalEntityNameField.js';
|
|
@@ -120,6 +121,7 @@ export const InputsRetailMap = {
|
|
|
120
121
|
bankEmployeeCode: (props) => _jsx(BankEmpoleeCodeField, { ...props }),
|
|
121
122
|
partInBusiness: (props) => _jsx(PartInBusinessField, { ...props }),
|
|
122
123
|
regionRetail: (props) => _jsx(RegionRetailField, { ...props }),
|
|
124
|
+
infoCard: (props) => _jsx(InfoCardField, { ...props }),
|
|
123
125
|
calculator: (props) => _jsx(CreditCalcField, { ...props }),
|
|
124
126
|
};
|
|
125
127
|
export const InputRetailCardMap = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../../src/services/retail/inputs.tsx"],"names":[],"mappings":";AACA,OAAO,EAA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ACnE,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,iBAAiB,OAAK,KAAK,GAAI;IAC3E,QAAQ,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,aAAa,OAAK,KAAK,GAAI;IACnE,kBAAkB,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,uBAAuB,OAAK,KAAK,GAAI;IACvF,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,iBAAiB,OAAK,KAAK,GAAI;IAC3E,YAAY,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAC,iBAAiB,OAAK,KAAK,GAAI;CAC5E,CAAC"}
|
|
@@ -24,24 +24,10 @@ export declare type FieldDefaultDef = Required & TextProps & LabelProps & Condit
|
|
|
24
24
|
dadata?: boolean;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* @title
|
|
28
|
-
* @default {"fieldType": "common"}
|
|
27
|
+
* @title Поле ввода
|
|
28
|
+
* @default { "fieldType": "common" }
|
|
29
29
|
*/
|
|
30
|
-
export declare type
|
|
31
|
-
/** @default "common" */
|
|
30
|
+
export declare type FieldRetailDef = FieldDefaultDef & TextProps & {
|
|
32
31
|
fieldType: 'common';
|
|
33
32
|
};
|
|
34
|
-
/**
|
|
35
|
-
* @title Текст для отображения в карточке информации
|
|
36
|
-
* @default {"fieldType": "info"}
|
|
37
|
-
*/
|
|
38
|
-
export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
39
|
-
/** @default "info" */
|
|
40
|
-
fieldType: 'info';
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* @title Поле
|
|
44
|
-
* @default { "fieldType": "common" }
|
|
45
|
-
*/
|
|
46
|
-
export declare type FieldRetailDef = FieldCommonDef | FieldInfoDef;
|
|
47
33
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { InfoCard } from '../../InfoCard/InfoCard.js';
|
|
4
|
+
export const InfoCardField = JSX(({ input }) => (_jsx(InfoCard, { __html: input?.label })));
|
|
5
|
+
//# sourceMappingURL=InfoCardField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoCardField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/InfoCardField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGnD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAChE,KAAC,QAAQ,IAAC,MAAM,EAAE,KAAK,EAAE,KAAK,GAAI,CACnC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare type NameFieldConsentDef = 'processPersonalDataFlg' | 'consentProviderFlg' | 'consentInformFlg' | 'consentPfrFlg' | 'consentOthersFlg';
|
|
2
2
|
declare type NameFieldCreditCardDef = 'addressCourier' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome' | 'methodObtain' | 'deliveryDate';
|
|
3
|
-
declare type NameFieldRetailDef = 'organization' | 'organizationAddress' | 'organizationPhone' | 'organizationName' | 'legalForm' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'addressRegistration' | 'addressRetail' | 'addressMatch' | 'sex' | 'limitedBirthday' | 'birthPlace' | 'education' | 'housing' | 'amountWorkers' | 'employment' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'familyStatus' | 'familyMembers' | 'children' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'participantDateRegistration' | 'retirementIncome' | 'rentalIncome' | 'otherIncome' | 'otherPayments' | 'additionalIncome' | 'wages' | 'mandatoryPayments' | 'incomeAverage' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'creditInRshbCd' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'calculator';
|
|
3
|
+
declare type NameFieldRetailDef = 'organization' | 'organizationAddress' | 'organizationPhone' | 'organizationName' | 'legalForm' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'addressRegistration' | 'addressRetail' | 'addressMatch' | 'sex' | 'limitedBirthday' | 'birthPlace' | 'education' | 'housing' | 'amountWorkers' | 'employment' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'familyStatus' | 'familyMembers' | 'children' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'participantDateRegistration' | 'retirementIncome' | 'rentalIncome' | 'otherIncome' | 'otherPayments' | 'additionalIncome' | 'wages' | 'mandatoryPayments' | 'incomeAverage' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'creditInRshbCd' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'calculator' | 'infoCard';
|
|
4
4
|
declare type NameFieldApplicationDef = 'surname' | 'name' | 'middleName' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'isClient' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentToReceiveMaterials' | 'consentDataProcessing';
|
|
5
5
|
export declare type NameFieldDef = NameFieldApplicationDef | NameFieldRetailDef | NameFieldCreditCardDef | NameFieldConsentDef;
|
|
6
6
|
export {};
|
|
@@ -67,22 +67,12 @@ export type FieldVedDef = FieldDefaultDef & {
|
|
|
67
67
|
defaultValue?: VedTypes;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* @title Текст для отображения в карточке информации
|
|
72
|
-
* @default {"fieldType": "info"}
|
|
73
|
-
*/
|
|
74
|
-
export type FieldInfoDef = FieldDefaultDef &
|
|
75
|
-
TextProps & {
|
|
76
|
-
/** @default "info" */
|
|
77
|
-
fieldType: 'info';
|
|
78
|
-
};
|
|
79
|
-
|
|
80
70
|
/**
|
|
81
71
|
* @title Поле
|
|
82
72
|
* @default { "fieldType": "common" }
|
|
83
73
|
*/
|
|
84
74
|
|
|
85
|
-
export type FieldDef = FieldCommonDef | FieldVedDef
|
|
75
|
+
export type FieldDef = FieldCommonDef | FieldVedDef;
|
|
86
76
|
|
|
87
77
|
/** @hidden */
|
|
88
78
|
export type EndpointType = 'lead' | 'sendcorporatelead';
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { type FormFieldRegisterer
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import {
|
|
4
|
-
calculateInputs,
|
|
5
|
-
checkCondition,
|
|
6
|
-
type GetValue,
|
|
7
|
-
} from '../../services/retail/utils/calculateInputs';
|
|
3
|
+
import { calculateInputs, type GetValue } from '../../services/retail/utils/calculateInputs';
|
|
8
4
|
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle';
|
|
9
5
|
import { renderTitle } from '../../ui-kit/FormField/renderTitle';
|
|
10
6
|
import { style } from '../../utils/style';
|
|
11
7
|
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
12
|
-
import { renderInfo } from './renderInfo';
|
|
13
8
|
import { renderInputs } from './renderInputs';
|
|
14
9
|
|
|
15
|
-
export type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
16
10
|
export interface StepProps {
|
|
17
11
|
sections?: CreditCardSectionsProps[];
|
|
18
12
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -24,11 +18,8 @@ export const renderStep = ({ sections, field, step, params }: StepProps) =>
|
|
|
24
18
|
sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
|
|
25
19
|
const inputs = calculateInputs(getValue(field))(origInputs, step);
|
|
26
20
|
|
|
27
|
-
const filteredInputs = inputs.filter((_) => !checkCondition(_, getValue(field)));
|
|
28
|
-
|
|
29
21
|
return (
|
|
30
22
|
<div key={`section-${i}`} className={style(inputColumnStyles(columns), 'grid gap-x-m')}>
|
|
31
|
-
{renderInfo(filteredInputs)}
|
|
32
23
|
{renderTitle(title)}
|
|
33
24
|
{renderInputs({ field, inputs, params })}
|
|
34
25
|
</div>
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { type FormFieldRegisterer
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
3
3
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
4
4
|
import { calculateInputs, type GetValue } from '../../services/retail/utils/calculateInputs';
|
|
5
5
|
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle';
|
|
6
6
|
import { renderTitle } from '../../ui-kit/FormField/renderTitle';
|
|
7
7
|
import { style } from '../../utils/style';
|
|
8
|
-
import { renderInfo } from './renderInfo';
|
|
9
8
|
import { renderInputs } from './renderInputs';
|
|
10
9
|
|
|
11
|
-
export type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
12
|
-
|
|
13
10
|
export interface StepProps {
|
|
14
11
|
sections?: SectionsRetailProps[];
|
|
15
12
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -23,7 +20,6 @@ export const renderStep = ({ sections, field, step, params }: StepProps) =>
|
|
|
23
20
|
|
|
24
21
|
return (
|
|
25
22
|
<div key={`section-${i}`} className={style(inputColumnStyles(columns), 'grid gap-x-m')}>
|
|
26
|
-
{renderInfo(inputs)}
|
|
27
23
|
{renderTitle(title)}
|
|
28
24
|
{renderInputs({ field, inputs, params })}
|
|
29
25
|
</div>
|
|
@@ -95,8 +95,9 @@ const EMPLOYMENT_CONTENT: CreditCardSectionsProps[] = [
|
|
|
95
95
|
{
|
|
96
96
|
inputs: [
|
|
97
97
|
{
|
|
98
|
-
fieldType: '
|
|
99
|
-
|
|
98
|
+
fieldType: 'common',
|
|
99
|
+
name: 'infoCard',
|
|
100
|
+
label:
|
|
100
101
|
'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
101
102
|
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
102
103
|
},
|
|
@@ -188,8 +189,9 @@ const FAMILY_STATUS_AND_INCOME_CONTENT: CreditCardSectionsProps[] = [
|
|
|
188
189
|
{
|
|
189
190
|
inputs: [
|
|
190
191
|
{
|
|
191
|
-
fieldType: '
|
|
192
|
-
|
|
192
|
+
fieldType: 'common',
|
|
193
|
+
name: 'infoCard',
|
|
194
|
+
label: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
193
195
|
},
|
|
194
196
|
],
|
|
195
197
|
},
|
|
@@ -266,8 +268,9 @@ export const DELIVERY_CREDIT_CONTENT: CreditCardSectionsProps[] = [
|
|
|
266
268
|
{
|
|
267
269
|
inputs: [
|
|
268
270
|
{
|
|
269
|
-
fieldType: '
|
|
270
|
-
|
|
271
|
+
fieldType: 'common',
|
|
272
|
+
name: 'infoCard',
|
|
273
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
271
274
|
},
|
|
272
275
|
],
|
|
273
276
|
},
|
|
@@ -345,8 +348,9 @@ export const DELIVERY_CREDIT_CARD_CONTENT: CreditCardSectionsProps[] = [
|
|
|
345
348
|
{
|
|
346
349
|
inputs: [
|
|
347
350
|
{
|
|
348
|
-
fieldType: '
|
|
349
|
-
|
|
351
|
+
fieldType: 'common',
|
|
352
|
+
name: 'infoCard',
|
|
353
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
350
354
|
condition: {
|
|
351
355
|
name: 'methodObtain',
|
|
352
356
|
values: ['office'],
|
|
@@ -36,6 +36,7 @@ import { FamilyMembersField } from '../../ui-kit/FormField/Fields/FamilyMembersF
|
|
|
36
36
|
import { FamilyStatusField } from '../../ui-kit/FormField/Fields/FamilyStatusField';
|
|
37
37
|
import { GeneralSeniorityField } from '../../ui-kit/FormField/Fields/GeneralSeniorityField';
|
|
38
38
|
import { HousingField } from '../../ui-kit/FormField/Fields/HousingField';
|
|
39
|
+
import { InfoCardField } from '../../ui-kit/FormField/Fields/InfoCardField';
|
|
39
40
|
import { JobsNumberField } from '../../ui-kit/FormField/Fields/JobsNumberField';
|
|
40
41
|
import { LastJobExperienceField } from '../../ui-kit/FormField/Fields/LastJobExperienceField';
|
|
41
42
|
import { LegalEntityNameField } from '../../ui-kit/FormField/Fields/LegalEntityNameField';
|
|
@@ -125,6 +126,7 @@ export const InputsRetailMap = {
|
|
|
125
126
|
bankEmployeeCode: (props: CustomFieldProps) => <BankEmpoleeCodeField {...props} />,
|
|
126
127
|
partInBusiness: (props: CustomFieldProps) => <PartInBusinessField {...props} />,
|
|
127
128
|
regionRetail: (props: CustomFieldProps) => <RegionRetailField {...props} />,
|
|
129
|
+
infoCard: (props: CustomFieldProps) => <InfoCardField {...props} />,
|
|
128
130
|
calculator: (props: CustomFieldProps) => <CreditCalcField {...props} />,
|
|
129
131
|
};
|
|
130
132
|
|
|
@@ -34,27 +34,11 @@ export type FieldDefaultDef = Required &
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @title
|
|
38
|
-
* @default {"fieldType": "common"}
|
|
37
|
+
* @title Поле ввода
|
|
38
|
+
* @default { "fieldType": "common" }
|
|
39
39
|
*/
|
|
40
|
-
export type FieldCommonDef = FieldDefaultDef & {
|
|
41
|
-
/** @default "common" */
|
|
42
|
-
fieldType: 'common';
|
|
43
|
-
};
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
* @title Текст для отображения в карточке информации
|
|
47
|
-
* @default {"fieldType": "info"}
|
|
48
|
-
*/
|
|
49
|
-
export type FieldInfoDef = FieldDefaultDef &
|
|
41
|
+
export type FieldRetailDef = FieldDefaultDef &
|
|
50
42
|
TextProps & {
|
|
51
|
-
|
|
52
|
-
fieldType: 'info';
|
|
43
|
+
fieldType: 'common';
|
|
53
44
|
};
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @title Поле
|
|
57
|
-
* @default { "fieldType": "common" }
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
export type FieldRetailDef = FieldCommonDef | FieldInfoDef;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { InfoCard } from '../../InfoCard/InfoCard';
|
|
3
|
+
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
4
|
+
|
|
5
|
+
export const InfoCardField = JSX<CustomFieldProps>(({ input }) => (
|
|
6
|
+
<InfoCard __html={input?.label} />
|
|
7
|
+
));
|
package/package.json
CHANGED
|
@@ -67,22 +67,12 @@ export type FieldVedDef = FieldDefaultDef & {
|
|
|
67
67
|
defaultValue?: VedTypes;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* @title Текст для отображения в карточке информации
|
|
72
|
-
* @default {"fieldType": "info"}
|
|
73
|
-
*/
|
|
74
|
-
export type FieldInfoDef = FieldDefaultDef &
|
|
75
|
-
TextProps & {
|
|
76
|
-
/** @default "info" */
|
|
77
|
-
fieldType: 'info';
|
|
78
|
-
};
|
|
79
|
-
|
|
80
70
|
/**
|
|
81
71
|
* @title Поле
|
|
82
72
|
* @default { "fieldType": "common" }
|
|
83
73
|
*/
|
|
84
74
|
|
|
85
|
-
export type FieldDef = FieldCommonDef | FieldVedDef
|
|
75
|
+
export type FieldDef = FieldCommonDef | FieldVedDef;
|
|
86
76
|
|
|
87
77
|
/** @hidden */
|
|
88
78
|
export type EndpointType = 'lead' | 'sendcorporatelead';
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { type FormFieldRegisterer
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import {
|
|
4
|
-
calculateInputs,
|
|
5
|
-
checkCondition,
|
|
6
|
-
type GetValue,
|
|
7
|
-
} from '../../services/retail/utils/calculateInputs';
|
|
3
|
+
import { calculateInputs, type GetValue } from '../../services/retail/utils/calculateInputs';
|
|
8
4
|
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle';
|
|
9
5
|
import { renderTitle } from '../../ui-kit/FormField/renderTitle';
|
|
10
6
|
import { style } from '../../utils/style';
|
|
11
7
|
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
12
|
-
import { renderInfo } from './renderInfo';
|
|
13
8
|
import { renderInputs } from './renderInputs';
|
|
14
9
|
|
|
15
|
-
export type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
16
10
|
export interface StepProps {
|
|
17
11
|
sections?: CreditCardSectionsProps[];
|
|
18
12
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -24,11 +18,8 @@ export const renderStep = ({ sections, field, step, params }: StepProps) =>
|
|
|
24
18
|
sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
|
|
25
19
|
const inputs = calculateInputs(getValue(field))(origInputs, step);
|
|
26
20
|
|
|
27
|
-
const filteredInputs = inputs.filter((_) => !checkCondition(_, getValue(field)));
|
|
28
|
-
|
|
29
21
|
return (
|
|
30
22
|
<div key={`section-${i}`} className={style(inputColumnStyles(columns), 'grid gap-x-m')}>
|
|
31
|
-
{renderInfo(filteredInputs)}
|
|
32
23
|
{renderTitle(title)}
|
|
33
24
|
{renderInputs({ field, inputs, params })}
|
|
34
25
|
</div>
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { type FormFieldRegisterer
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
3
3
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
4
4
|
import { calculateInputs, type GetValue } from '../../services/retail/utils/calculateInputs';
|
|
5
5
|
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle';
|
|
6
6
|
import { renderTitle } from '../../ui-kit/FormField/renderTitle';
|
|
7
7
|
import { style } from '../../utils/style';
|
|
8
|
-
import { renderInfo } from './renderInfo';
|
|
9
8
|
import { renderInputs } from './renderInputs';
|
|
10
9
|
|
|
11
|
-
export type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
12
|
-
|
|
13
10
|
export interface StepProps {
|
|
14
11
|
sections?: SectionsRetailProps[];
|
|
15
12
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -23,7 +20,6 @@ export const renderStep = ({ sections, field, step, params }: StepProps) =>
|
|
|
23
20
|
|
|
24
21
|
return (
|
|
25
22
|
<div key={`section-${i}`} className={style(inputColumnStyles(columns), 'grid gap-x-m')}>
|
|
26
|
-
{renderInfo(inputs)}
|
|
27
23
|
{renderTitle(title)}
|
|
28
24
|
{renderInputs({ field, inputs, params })}
|
|
29
25
|
</div>
|
|
@@ -95,8 +95,9 @@ const EMPLOYMENT_CONTENT: CreditCardSectionsProps[] = [
|
|
|
95
95
|
{
|
|
96
96
|
inputs: [
|
|
97
97
|
{
|
|
98
|
-
fieldType: '
|
|
99
|
-
|
|
98
|
+
fieldType: 'common',
|
|
99
|
+
name: 'infoCard',
|
|
100
|
+
label:
|
|
100
101
|
'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
101
102
|
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
102
103
|
},
|
|
@@ -188,8 +189,9 @@ const FAMILY_STATUS_AND_INCOME_CONTENT: CreditCardSectionsProps[] = [
|
|
|
188
189
|
{
|
|
189
190
|
inputs: [
|
|
190
191
|
{
|
|
191
|
-
fieldType: '
|
|
192
|
-
|
|
192
|
+
fieldType: 'common',
|
|
193
|
+
name: 'infoCard',
|
|
194
|
+
label: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
193
195
|
},
|
|
194
196
|
],
|
|
195
197
|
},
|
|
@@ -266,8 +268,9 @@ export const DELIVERY_CREDIT_CONTENT: CreditCardSectionsProps[] = [
|
|
|
266
268
|
{
|
|
267
269
|
inputs: [
|
|
268
270
|
{
|
|
269
|
-
fieldType: '
|
|
270
|
-
|
|
271
|
+
fieldType: 'common',
|
|
272
|
+
name: 'infoCard',
|
|
273
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
271
274
|
},
|
|
272
275
|
],
|
|
273
276
|
},
|
|
@@ -345,8 +348,9 @@ export const DELIVERY_CREDIT_CARD_CONTENT: CreditCardSectionsProps[] = [
|
|
|
345
348
|
{
|
|
346
349
|
inputs: [
|
|
347
350
|
{
|
|
348
|
-
fieldType: '
|
|
349
|
-
|
|
351
|
+
fieldType: 'common',
|
|
352
|
+
name: 'infoCard',
|
|
353
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
350
354
|
condition: {
|
|
351
355
|
name: 'methodObtain',
|
|
352
356
|
values: ['office'],
|
|
@@ -36,6 +36,7 @@ import { FamilyMembersField } from '../../ui-kit/FormField/Fields/FamilyMembersF
|
|
|
36
36
|
import { FamilyStatusField } from '../../ui-kit/FormField/Fields/FamilyStatusField';
|
|
37
37
|
import { GeneralSeniorityField } from '../../ui-kit/FormField/Fields/GeneralSeniorityField';
|
|
38
38
|
import { HousingField } from '../../ui-kit/FormField/Fields/HousingField';
|
|
39
|
+
import { InfoCardField } from '../../ui-kit/FormField/Fields/InfoCardField';
|
|
39
40
|
import { JobsNumberField } from '../../ui-kit/FormField/Fields/JobsNumberField';
|
|
40
41
|
import { LastJobExperienceField } from '../../ui-kit/FormField/Fields/LastJobExperienceField';
|
|
41
42
|
import { LegalEntityNameField } from '../../ui-kit/FormField/Fields/LegalEntityNameField';
|
|
@@ -125,6 +126,7 @@ export const InputsRetailMap = {
|
|
|
125
126
|
bankEmployeeCode: (props: CustomFieldProps) => <BankEmpoleeCodeField {...props} />,
|
|
126
127
|
partInBusiness: (props: CustomFieldProps) => <PartInBusinessField {...props} />,
|
|
127
128
|
regionRetail: (props: CustomFieldProps) => <RegionRetailField {...props} />,
|
|
129
|
+
infoCard: (props: CustomFieldProps) => <InfoCardField {...props} />,
|
|
128
130
|
calculator: (props: CustomFieldProps) => <CreditCalcField {...props} />,
|
|
129
131
|
};
|
|
130
132
|
|
|
@@ -34,27 +34,11 @@ export type FieldDefaultDef = Required &
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @title
|
|
38
|
-
* @default {"fieldType": "common"}
|
|
37
|
+
* @title Поле ввода
|
|
38
|
+
* @default { "fieldType": "common" }
|
|
39
39
|
*/
|
|
40
|
-
export type FieldCommonDef = FieldDefaultDef & {
|
|
41
|
-
/** @default "common" */
|
|
42
|
-
fieldType: 'common';
|
|
43
|
-
};
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
* @title Текст для отображения в карточке информации
|
|
47
|
-
* @default {"fieldType": "info"}
|
|
48
|
-
*/
|
|
49
|
-
export type FieldInfoDef = FieldDefaultDef &
|
|
41
|
+
export type FieldRetailDef = FieldDefaultDef &
|
|
50
42
|
TextProps & {
|
|
51
|
-
|
|
52
|
-
fieldType: 'info';
|
|
43
|
+
fieldType: 'common';
|
|
53
44
|
};
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @title Поле
|
|
57
|
-
* @default { "fieldType": "common" }
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
export type FieldRetailDef = FieldCommonDef | FieldInfoDef;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { InfoCard } from '../../InfoCard/InfoCard';
|
|
3
|
+
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
4
|
+
|
|
5
|
+
export const InfoCardField = JSX<CustomFieldProps>(({ input }) => (
|
|
6
|
+
<InfoCard __html={input?.label} />
|
|
7
|
+
));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderInfo = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const InfoCard_1 = require("../../ui-kit/InfoCard/InfoCard");
|
|
5
|
-
const renderInfo = (inputs = []) => {
|
|
6
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
7
|
-
return infoInputs.length
|
|
8
|
-
? infoInputs.map(({ text, name }, i) => (0, jsx_runtime_1.jsx)(InfoCard_1.InfoCard, { __html: text }, `${name}_${i}`))
|
|
9
|
-
: null;
|
|
10
|
-
};
|
|
11
|
-
exports.renderInfo = renderInfo;
|
|
12
|
-
//# sourceMappingURL=renderInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInfo.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/renderInfo.tsx"],"names":[],"mappings":";;;AACA,6DAA0D;AAEnD,MAAM,UAAU,GAAG,CAAC,SAA2B,EAAE,EAAE,EAAE;IAC1D,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC;IAEhE,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAC,mBAAQ,IAAsB,MAAM,EAAE,IAAI,IAA5B,GAAG,IAAI,IAAI,CAAC,EAAE,CAAkB,CAAC;QACxF,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AANW,QAAA,UAAU,cAMrB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderInfo = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const InfoCard_1 = require("../../ui-kit/InfoCard/InfoCard");
|
|
5
|
-
const renderInfo = (inputs = []) => {
|
|
6
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
7
|
-
return infoInputs.length
|
|
8
|
-
? infoInputs.map(({ text, name }, i) => (0, jsx_runtime_1.jsx)(InfoCard_1.InfoCard, { __html: text }, `${name}_${i}`))
|
|
9
|
-
: null;
|
|
10
|
-
};
|
|
11
|
-
exports.renderInfo = renderInfo;
|
|
12
|
-
//# sourceMappingURL=renderInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInfo.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInfo.tsx"],"names":[],"mappings":";;;AACA,6DAA0D;AAEnD,MAAM,UAAU,GAAG,CAAC,SAA2B,EAAE,EAAE,EAAE;IAC1D,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC;IAEhE,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAC,mBAAQ,IAAsB,MAAM,EAAE,IAAI,IAA5B,GAAG,IAAI,IAAI,CAAC,EAAE,CAAkB,CAAC;QACxF,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AANW,QAAA,UAAU,cAMrB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { InfoCard } from '../../ui-kit/InfoCard/InfoCard.js';
|
|
3
|
-
export const renderInfo = (inputs = []) => {
|
|
4
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
5
|
-
return infoInputs.length
|
|
6
|
-
? infoInputs.map(({ text, name }, i) => _jsx(InfoCard, { __html: text }, `${name}_${i}`))
|
|
7
|
-
: null;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=renderInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInfo.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/renderInfo.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAA2B,EAAE,EAAE,EAAE;IAC1D,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC;IAEhE,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAsB,MAAM,EAAE,IAAI,IAA5B,GAAG,IAAI,IAAI,CAAC,EAAE,CAAkB,CAAC;QACxF,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { InfoCard } from '../../ui-kit/InfoCard/InfoCard.js';
|
|
3
|
-
export const renderInfo = (inputs = []) => {
|
|
4
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
5
|
-
return infoInputs.length
|
|
6
|
-
? infoInputs.map(({ text, name }, i) => _jsx(InfoCard, { __html: text }, `${name}_${i}`))
|
|
7
|
-
: null;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=renderInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderInfo.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInfo.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAA2B,EAAE,EAAE,EAAE;IAC1D,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC;IAEhE,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAsB,MAAM,EAAE,IAAI,IAA5B,GAAG,IAAI,IAAI,CAAC,EAAE,CAAkB,CAAC;QACxF,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|