@redneckz/wildless-cms-uni-blocks 0.14.738 → 0.14.740
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 +44 -47
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/bundle/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/bundle/services/retail/model/LeadFormState.d.ts +1 -1
- package/bundle/services/retail/model/NameFieldDef.d.ts +6 -0
- package/bundle/services/retail/model/RetailFormContent.d.ts +1 -1
- package/bundle/services/retail/utils/calculateInputs.d.ts +1 -2
- package/bundle/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/bundle/ui-kit/FormField/getField.d.ts +2 -2
- package/bundle/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/bundle/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/renderInputs.js +3 -3
- package/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardForm.js +2 -1
- package/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/dist/components/CreditCardForm/CreditCardFormStep.js +3 -4
- package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -4
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/dist/components/CreditForm/CreditForm.js +2 -1
- package/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/dist/components/CreditForm/CreditFormStep.js +3 -4
- package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/dist/services/retail/model/LeadFormState.d.ts +1 -1
- package/dist/services/retail/model/NameFieldDef.d.ts +6 -0
- package/dist/services/retail/model/NameFieldDef.js +2 -0
- package/dist/services/retail/model/NameFieldDef.js.map +1 -0
- package/dist/services/retail/model/RetailFormContent.d.ts +1 -1
- package/dist/services/retail/utils/calculateInputs.d.ts +1 -2
- package/dist/services/retail/utils/calculateInputs.js.map +1 -1
- package/dist/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/dist/ui-kit/FormField/BaseFieldDef.js +2 -0
- package/dist/ui-kit/FormField/BaseFieldDef.js.map +1 -0
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/dist/ui-kit/FormField/getField.d.ts +2 -2
- package/dist/ui-kit/FormField/getField.js +3 -3
- package/dist/ui-kit/FormField/getField.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/dist/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/dist/ui-kit/FormField/{isRenderField.js → shouldRenderField.js} +4 -4
- package/dist/ui-kit/FormField/shouldRenderField.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/renderInputs.js +3 -3
- package/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardForm.js +2 -1
- package/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/lib/components/CreditCardForm/CreditCardFormStep.js +3 -4
- package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -4
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/lib/components/CreditForm/CreditForm.js +2 -1
- package/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/lib/components/CreditForm/CreditFormStep.js +3 -4
- package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/services/retail/model/LeadFormState.d.ts +1 -1
- package/lib/services/retail/model/NameFieldDef.d.ts +6 -0
- package/lib/services/retail/model/NameFieldDef.js +2 -0
- package/lib/services/retail/model/NameFieldDef.js.map +1 -0
- package/lib/services/retail/model/RetailFormContent.d.ts +1 -1
- package/lib/services/retail/utils/calculateInputs.d.ts +1 -2
- package/lib/services/retail/utils/calculateInputs.js.map +1 -1
- package/lib/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/lib/ui-kit/FormField/BaseFieldDef.js +2 -0
- package/lib/ui-kit/FormField/BaseFieldDef.js.map +1 -0
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/lib/ui-kit/FormField/getField.d.ts +2 -2
- package/lib/ui-kit/FormField/getField.js +3 -3
- package/lib/ui-kit/FormField/getField.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/lib/ui-kit/FormField/{isRenderField.js → shouldRenderField.js} +2 -2
- package/lib/ui-kit/FormField/shouldRenderField.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +44 -47
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/mobile/bundle/services/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/bundle/services/retail/model/NameFieldDef.d.ts +6 -0
- package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +1 -1
- package/mobile/bundle/services/retail/utils/calculateInputs.d.ts +1 -2
- package/mobile/bundle/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/mobile/bundle/ui-kit/FormField/getField.d.ts +2 -2
- package/mobile/bundle/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/mobile/bundle/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.js +3 -3
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js +2 -1
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js +3 -4
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -4
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditForm.js +2 -1
- package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/mobile/dist/components/CreditForm/CreditFormStep.js +3 -4
- package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/dist/services/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/dist/services/retail/model/NameFieldDef.d.ts +6 -0
- package/mobile/dist/services/retail/model/NameFieldDef.js +2 -0
- package/mobile/dist/services/retail/model/NameFieldDef.js.map +1 -0
- package/mobile/dist/services/retail/model/RetailFormContent.d.ts +1 -1
- package/mobile/dist/services/retail/utils/calculateInputs.d.ts +1 -2
- package/mobile/dist/services/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/mobile/dist/ui-kit/FormField/BaseFieldDef.js +2 -0
- package/mobile/dist/ui-kit/FormField/BaseFieldDef.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/mobile/dist/ui-kit/FormField/getField.d.ts +2 -2
- package/mobile/dist/ui-kit/FormField/getField.js +3 -3
- package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/mobile/dist/ui-kit/FormField/{isRenderField.js → shouldRenderField.js} +4 -4
- package/mobile/dist/ui-kit/FormField/shouldRenderField.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.js +3 -3
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js +2 -1
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +0 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js +3 -4
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -4
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditForm.js +2 -1
- package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +0 -1
- package/mobile/lib/components/CreditForm/CreditFormStep.js +3 -4
- package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/lib/services/retail/model/LeadFormState.d.ts +1 -1
- package/mobile/lib/services/retail/model/NameFieldDef.d.ts +6 -0
- package/mobile/lib/services/retail/model/NameFieldDef.js +2 -0
- package/mobile/lib/services/retail/model/NameFieldDef.js.map +1 -0
- package/mobile/lib/services/retail/model/RetailFormContent.d.ts +1 -1
- package/mobile/lib/services/retail/utils/calculateInputs.d.ts +1 -2
- package/mobile/lib/services/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/BaseFieldDef.d.ts +8 -0
- package/mobile/lib/ui-kit/FormField/BaseFieldDef.js +2 -0
- package/mobile/lib/ui-kit/FormField/BaseFieldDef.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -4
- package/mobile/lib/ui-kit/FormField/getField.d.ts +2 -2
- package/mobile/lib/ui-kit/FormField/getField.js +3 -3
- package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.d.ts +2 -2
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/shouldRenderField.d.ts +6 -0
- package/mobile/lib/ui-kit/FormField/{isRenderField.js → shouldRenderField.js} +2 -2
- package/mobile/lib/ui-kit/FormField/shouldRenderField.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/renderInputs.tsx +6 -4
- package/mobile/src/components/CreditCardForm/CreditCardForm.tsx +13 -9
- package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +3 -9
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +3 -1
- package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +1 -4
- package/mobile/src/components/CreditForm/CreditForm.tsx +14 -10
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +4 -9
- package/mobile/src/components/CreditForm/renderInputs.tsx +1 -1
- package/mobile/src/services/retail/model/LeadFormState.ts +2 -2
- package/mobile/src/services/retail/model/NameFieldDef.ts +89 -0
- package/mobile/src/services/retail/model/RetailFormContent.ts +1 -1
- package/mobile/src/services/retail/utils/calculateInputs.ts +6 -7
- package/mobile/src/ui-kit/FormField/BaseFieldDef.ts +8 -0
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +1 -81
- package/mobile/src/ui-kit/FormField/getField.tsx +10 -9
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +5 -5
- package/mobile/src/ui-kit/FormField/{isRenderField.tsx → shouldRenderField.tsx} +3 -3
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/src/components/ApplicationLeadForm/GroupedConsents.tsx +1 -1
- package/src/components/ApplicationLeadForm/renderInputs.tsx +6 -4
- package/src/components/CreditCardForm/CreditCardForm.tsx +13 -9
- package/src/components/CreditCardForm/CreditCardFormStep.tsx +3 -9
- package/src/components/CreditCardForm/renderInputs.tsx +3 -1
- package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +1 -4
- package/src/components/CreditForm/CreditForm.tsx +14 -10
- package/src/components/CreditForm/CreditFormStep.tsx +4 -9
- package/src/components/CreditForm/renderInputs.tsx +1 -1
- package/src/services/retail/model/LeadFormState.ts +2 -2
- package/src/services/retail/model/NameFieldDef.ts +89 -0
- package/src/services/retail/model/RetailFormContent.ts +1 -1
- package/src/services/retail/utils/calculateInputs.ts +6 -7
- package/src/ui-kit/FormField/BaseFieldDef.ts +8 -0
- package/src/ui-kit/FormField/NameFieldDef.ts +1 -81
- package/src/ui-kit/FormField/getField.tsx +10 -9
- package/src/ui-kit/FormField/getObjectValidator.tsx +5 -5
- package/src/ui-kit/FormField/{isRenderField.tsx → shouldRenderField.tsx} +3 -3
- package/bundle/ui-kit/FormField/dataSources.d.ts +0 -3
- package/bundle/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/dist/ui-kit/FormField/dataSources.d.ts +0 -3
- package/dist/ui-kit/FormField/dataSources.js +0 -6
- package/dist/ui-kit/FormField/dataSources.js.map +0 -1
- package/dist/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/dist/ui-kit/FormField/isRenderField.js.map +0 -1
- package/lib/ui-kit/FormField/dataSources.d.ts +0 -3
- package/lib/ui-kit/FormField/dataSources.js +0 -4
- package/lib/ui-kit/FormField/dataSources.js.map +0 -1
- package/lib/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/lib/ui-kit/FormField/isRenderField.js.map +0 -1
- package/mobile/bundle/ui-kit/FormField/dataSources.d.ts +0 -3
- package/mobile/bundle/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/mobile/dist/ui-kit/FormField/dataSources.d.ts +0 -3
- package/mobile/dist/ui-kit/FormField/dataSources.js +0 -6
- package/mobile/dist/ui-kit/FormField/dataSources.js.map +0 -1
- package/mobile/dist/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/mobile/dist/ui-kit/FormField/isRenderField.js.map +0 -1
- package/mobile/lib/ui-kit/FormField/dataSources.d.ts +0 -3
- package/mobile/lib/ui-kit/FormField/dataSources.js +0 -4
- package/mobile/lib/ui-kit/FormField/dataSources.js.map +0 -1
- package/mobile/lib/ui-kit/FormField/isRenderField.d.ts +0 -6
- package/mobile/lib/ui-kit/FormField/isRenderField.js.map +0 -1
- package/mobile/src/ui-kit/FormField/dataSources.ts +0 -3
- package/src/ui-kit/FormField/dataSources.ts +0 -3
|
@@ -2,12 +2,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useCallback, useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useForm } from '../../hooks/useForm/useForm';
|
|
4
4
|
import { useRetailFormStore } from '../../hooks/useRetailFormStore';
|
|
5
|
-
import { type
|
|
5
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
6
6
|
import type { LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
7
|
-
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
8
7
|
import { calculateInputs } from '../../services/retail/utils/calculateInputs';
|
|
9
8
|
import { getFormValidator } from '../../ui-kit/FormField/getObjectValidator';
|
|
10
|
-
import { CreditFormStatusTracker } from './CreditFormStatusTracker';
|
|
11
9
|
import { type ProgramsSourceProps } from './ProgramsSourceProps';
|
|
12
10
|
import { renderStep } from './renderStep';
|
|
13
11
|
import { StepsNavigationButtons } from './StepsNavigationButtons';
|
|
@@ -16,7 +14,6 @@ import { useCreditFormAPI } from './useCreditFormAPI';
|
|
|
16
14
|
export interface CreditFormStepProps {
|
|
17
15
|
step: number;
|
|
18
16
|
sections: SectionsRetailProps[];
|
|
19
|
-
isFormFinished?: boolean;
|
|
20
17
|
programsSource?: ProgramsSourceProps;
|
|
21
18
|
onNextStep: () => void;
|
|
22
19
|
onPrevStep: () => void;
|
|
@@ -24,12 +21,12 @@ export interface CreditFormStepProps {
|
|
|
24
21
|
}
|
|
25
22
|
|
|
26
23
|
export const CreditFormStep = JSX<CreditFormStepProps>(
|
|
27
|
-
({ step, sections,
|
|
24
|
+
({ step, sections, programsSource, onPrevStep, onNextStep, onFinish }) => {
|
|
28
25
|
const { programId } = useRetailFormStore();
|
|
29
26
|
const calcData = programsSource?.[programId ?? '']; // Need normalizator useForm, to be save defaultParams
|
|
30
27
|
|
|
31
28
|
const inputs = useMemo(
|
|
32
|
-
() =>
|
|
29
|
+
() => sections?.flatMap((_: SectionsRetailProps) => _?.inputs ?? []),
|
|
33
30
|
[sections],
|
|
34
31
|
);
|
|
35
32
|
|
|
@@ -51,9 +48,7 @@ export const CreditFormStep = JSX<CreditFormStepProps>(
|
|
|
51
48
|
onSubmit,
|
|
52
49
|
});
|
|
53
50
|
|
|
54
|
-
return
|
|
55
|
-
<CreditFormStatusTracker />
|
|
56
|
-
) : (
|
|
51
|
+
return (
|
|
57
52
|
<form onSubmit={handleSubmit} className="space-y-m">
|
|
58
53
|
{renderStep({ sections, field, step, params: { calcData } })}
|
|
59
54
|
<StepsNavigationButtons step={step} isSending={isSending} onPrevStep={onPrevStep} />
|
|
@@ -11,4 +11,4 @@ export interface RenderInputsProps {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export const renderInputs = ({ field, inputs, params }: RenderInputsProps) =>
|
|
14
|
-
inputs.map(getField(field, params, { ...InputsRetailMap }));
|
|
14
|
+
inputs.map(getField<FieldRetailDef>(field, params, { ...InputsRetailMap }));
|
|
@@ -148,6 +148,6 @@ export interface LeadFormState extends FormRetailConsents, FormStateDeliveryType
|
|
|
148
148
|
loanAmount?: number;
|
|
149
149
|
creditPeriod?: number;
|
|
150
150
|
paymentTypeCd?: PaymentType;
|
|
151
|
+
// TODO: Only fields with value should be in state. Currently, for compatibility, all fields from NameFieldDef are listed here
|
|
152
|
+
infoCard?: string;
|
|
151
153
|
}
|
|
152
|
-
|
|
153
|
-
export { type NameFieldDef } from '../../../ui-kit/FormField/NameFieldDef';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
type NameFieldApplicationBaseDef =
|
|
2
|
+
| 'surname'
|
|
3
|
+
| 'name'
|
|
4
|
+
| 'middleName'
|
|
5
|
+
| 'limitedBirthday'
|
|
6
|
+
| 'email'
|
|
7
|
+
| 'phone'
|
|
8
|
+
| 'inn';
|
|
9
|
+
|
|
10
|
+
type NameFieldConsentDef =
|
|
11
|
+
| 'processPersonalDataFlg'
|
|
12
|
+
| 'consentProviderFlg'
|
|
13
|
+
| 'consentInformFlg'
|
|
14
|
+
| 'consentPfrFlg'
|
|
15
|
+
| 'consentOthersFlg';
|
|
16
|
+
|
|
17
|
+
type NameFieldCreditCardDef =
|
|
18
|
+
| 'addressCourier'
|
|
19
|
+
| 'paymentSystem'
|
|
20
|
+
| 'currency'
|
|
21
|
+
| 'cardCategory'
|
|
22
|
+
| 'codeWord'
|
|
23
|
+
| 'confirmationIncome'
|
|
24
|
+
| 'methodObtain'
|
|
25
|
+
| 'deliveryDate';
|
|
26
|
+
|
|
27
|
+
type NameFieldRetailDef =
|
|
28
|
+
| 'organization'
|
|
29
|
+
| 'organizationAddress'
|
|
30
|
+
| 'organizationPhone'
|
|
31
|
+
| 'organizationName'
|
|
32
|
+
| 'legalForm'
|
|
33
|
+
| 'generalSeniority'
|
|
34
|
+
| 'lastJobExperience'
|
|
35
|
+
| 'experience5Years'
|
|
36
|
+
| 'jobsNumber'
|
|
37
|
+
| 'beginDate'
|
|
38
|
+
| 'addressFact'
|
|
39
|
+
| 'addressRegistration'
|
|
40
|
+
| 'addressRetail'
|
|
41
|
+
| 'addressMatch'
|
|
42
|
+
| 'sex'
|
|
43
|
+
| 'birthPlace'
|
|
44
|
+
| 'education'
|
|
45
|
+
| 'housing'
|
|
46
|
+
| 'amountWorkers'
|
|
47
|
+
| 'employment'
|
|
48
|
+
| 'employerActivities'
|
|
49
|
+
| 'employerOrganization'
|
|
50
|
+
| 'positionOrganization'
|
|
51
|
+
| 'familyStatus'
|
|
52
|
+
| 'familyMembers'
|
|
53
|
+
| 'children'
|
|
54
|
+
| 'dependents'
|
|
55
|
+
| 'totalIncome'
|
|
56
|
+
| 'expenses'
|
|
57
|
+
| 'snils'
|
|
58
|
+
| 'conscription'
|
|
59
|
+
| 'armyIdFlg'
|
|
60
|
+
| 'dulSerie'
|
|
61
|
+
| 'dulNumber'
|
|
62
|
+
| 'dulIssueDateField'
|
|
63
|
+
| 'dulSubdivisionCode'
|
|
64
|
+
| 'dulIssuedBy'
|
|
65
|
+
| 'participantDateRegistration'
|
|
66
|
+
| 'retirementIncome'
|
|
67
|
+
| 'rentalIncome'
|
|
68
|
+
| 'otherIncome'
|
|
69
|
+
| 'otherPayments'
|
|
70
|
+
| 'additionalIncome'
|
|
71
|
+
| 'wages'
|
|
72
|
+
| 'mandatoryPayments'
|
|
73
|
+
| 'disablePeopleFlg'
|
|
74
|
+
| 'bankruptcyFlg'
|
|
75
|
+
| 'shareholderFlg'
|
|
76
|
+
| 'legalEntityName'
|
|
77
|
+
| 'creditInRshbCd'
|
|
78
|
+
| 'bankEmployeeCode'
|
|
79
|
+
| 'partInBusiness'
|
|
80
|
+
| 'regionRetail'
|
|
81
|
+
| 'calculator'
|
|
82
|
+
| 'infoCard'
|
|
83
|
+
| 'comment';
|
|
84
|
+
|
|
85
|
+
export type NameFieldDef =
|
|
86
|
+
| NameFieldApplicationBaseDef
|
|
87
|
+
| NameFieldConsentDef
|
|
88
|
+
| NameFieldRetailDef
|
|
89
|
+
| NameFieldCreditCardDef;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type FieldDef } from '../../../components/ApplicationForm/ApplicationFormContent';
|
|
2
1
|
import { type Option } from '../../../ui-kit/Select/Option';
|
|
3
2
|
import { type LeadFormState } from '../model/LeadFormState';
|
|
4
3
|
import { type FieldRetailDef } from '../model/RetailFormContent';
|
|
@@ -28,24 +27,24 @@ export const calculateInputs = (getValue: GetValue) => (inputs: FieldRetailDef[]
|
|
|
28
27
|
const checkIsRetiree = (step: number, getValue: GetValue) =>
|
|
29
28
|
step === 2 && getValue('employment')?.key === 'RETIREE';
|
|
30
29
|
|
|
31
|
-
const checkBusinessOwner = ({ name }:
|
|
30
|
+
const checkBusinessOwner = ({ name }: FieldRetailDef, getValue: GetValue) =>
|
|
32
31
|
name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
|
|
33
32
|
|
|
34
|
-
const checkAddressFillFromESIA = ({ name, filledByEsia }:
|
|
33
|
+
const checkAddressFillFromESIA = ({ name, filledByEsia }: FieldRetailDef, getValue: GetValue) =>
|
|
35
34
|
name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
|
|
36
35
|
|
|
37
|
-
const checkAddressFact = ({ name }:
|
|
36
|
+
const checkAddressFact = ({ name }: FieldRetailDef, getValue: GetValue) =>
|
|
38
37
|
name === 'addressFact' && getValue('addressMatch');
|
|
39
38
|
|
|
40
|
-
export const checkCondition = ({ condition }:
|
|
39
|
+
export const checkCondition = ({ condition }: FieldRetailDef, getValue: GetValue) =>
|
|
41
40
|
condition?.name &&
|
|
42
41
|
condition?.values?.some((_) => {
|
|
43
|
-
const dataValue = getValue(condition?.name
|
|
42
|
+
const dataValue = getValue(condition?.name);
|
|
44
43
|
|
|
45
44
|
return _ !== ((dataValue as Option)?.key ?? dataValue);
|
|
46
45
|
});
|
|
47
46
|
|
|
48
|
-
const checkConsentPfrFlg = ({ name }:
|
|
47
|
+
const checkConsentPfrFlg = ({ name }: FieldRetailDef, getValue: GetValue) =>
|
|
49
48
|
name === 'snils' && isSnilsRequired(getValue);
|
|
50
49
|
|
|
51
50
|
const isSnilsRequired = (getValue: GetValue) =>
|
|
@@ -1,79 +1,3 @@
|
|
|
1
|
-
type NameFieldConsentDef =
|
|
2
|
-
| 'processPersonalDataFlg'
|
|
3
|
-
| 'consentProviderFlg'
|
|
4
|
-
| 'consentInformFlg'
|
|
5
|
-
| 'consentPfrFlg'
|
|
6
|
-
| 'consentOthersFlg';
|
|
7
|
-
|
|
8
|
-
type NameFieldCreditCardDef =
|
|
9
|
-
| 'addressCourier'
|
|
10
|
-
| 'paymentSystem'
|
|
11
|
-
| 'currency'
|
|
12
|
-
| 'cardCategory'
|
|
13
|
-
| 'codeWord'
|
|
14
|
-
| 'confirmationIncome'
|
|
15
|
-
| 'methodObtain'
|
|
16
|
-
| 'deliveryDate';
|
|
17
|
-
|
|
18
|
-
type NameFieldRetailDef =
|
|
19
|
-
| 'organization'
|
|
20
|
-
| 'organizationAddress'
|
|
21
|
-
| 'organizationPhone'
|
|
22
|
-
| 'organizationName'
|
|
23
|
-
| 'legalForm'
|
|
24
|
-
| 'generalSeniority'
|
|
25
|
-
| 'lastJobExperience'
|
|
26
|
-
| 'experience5Years'
|
|
27
|
-
| 'jobsNumber'
|
|
28
|
-
| 'beginDate'
|
|
29
|
-
| 'addressFact'
|
|
30
|
-
| 'addressRegistration'
|
|
31
|
-
| 'addressRetail'
|
|
32
|
-
| 'addressMatch'
|
|
33
|
-
| 'sex'
|
|
34
|
-
| 'limitedBirthday'
|
|
35
|
-
| 'birthPlace'
|
|
36
|
-
| 'education'
|
|
37
|
-
| 'housing'
|
|
38
|
-
| 'amountWorkers'
|
|
39
|
-
| 'employment'
|
|
40
|
-
| 'employerActivities'
|
|
41
|
-
| 'employerOrganization'
|
|
42
|
-
| 'positionOrganization'
|
|
43
|
-
| 'familyStatus'
|
|
44
|
-
| 'familyMembers'
|
|
45
|
-
| 'children'
|
|
46
|
-
| 'dependents'
|
|
47
|
-
| 'totalIncome'
|
|
48
|
-
| 'expenses'
|
|
49
|
-
| 'snils'
|
|
50
|
-
| 'conscription'
|
|
51
|
-
| 'armyIdFlg'
|
|
52
|
-
| 'dulSerie'
|
|
53
|
-
| 'dulNumber'
|
|
54
|
-
| 'dulIssueDateField'
|
|
55
|
-
| 'dulSubdivisionCode'
|
|
56
|
-
| 'dulIssuedBy'
|
|
57
|
-
| 'participantDateRegistration'
|
|
58
|
-
| 'retirementIncome'
|
|
59
|
-
| 'rentalIncome'
|
|
60
|
-
| 'otherIncome'
|
|
61
|
-
| 'otherPayments'
|
|
62
|
-
| 'additionalIncome'
|
|
63
|
-
| 'wages'
|
|
64
|
-
| 'mandatoryPayments'
|
|
65
|
-
| 'incomeAverage'
|
|
66
|
-
| 'disablePeopleFlg'
|
|
67
|
-
| 'bankruptcyFlg'
|
|
68
|
-
| 'shareholderFlg'
|
|
69
|
-
| 'legalEntityName'
|
|
70
|
-
| 'creditInRshbCd'
|
|
71
|
-
| 'bankEmployeeCode'
|
|
72
|
-
| 'partInBusiness'
|
|
73
|
-
| 'regionRetail'
|
|
74
|
-
| 'calculator'
|
|
75
|
-
| 'infoCard';
|
|
76
|
-
|
|
77
1
|
type NameFieldApplicationDef =
|
|
78
2
|
| 'surname'
|
|
79
3
|
| 'name'
|
|
@@ -110,8 +34,4 @@ type NameFieldApplicationDef =
|
|
|
110
34
|
| 'consentToReceiveMaterials'
|
|
111
35
|
| 'consentDataProcessing';
|
|
112
36
|
|
|
113
|
-
export type NameFieldDef =
|
|
114
|
-
| NameFieldApplicationDef
|
|
115
|
-
| NameFieldRetailDef
|
|
116
|
-
| NameFieldCreditCardDef
|
|
117
|
-
| NameFieldConsentDef;
|
|
37
|
+
export type NameFieldDef = NameFieldApplicationDef;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
//TODO: Убрать обращение к компонентам т.к. ApplicationForm
|
|
2
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
3
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
4
2
|
import { type FormTypeFieldDef } from '../../model/FormTypeFieldDef';
|
|
5
3
|
import { type VNode } from '../../model/VNode';
|
|
6
4
|
import { InputControl } from '../Input/InputControl';
|
|
5
|
+
import { type BaseFieldDef } from './BaseFieldDef';
|
|
7
6
|
import { type CustomFieldProps } from './CustomFieldProps';
|
|
8
7
|
import { AcquiringField } from './Fields/AcquiringField';
|
|
9
8
|
import { AddressBranchField } from './Fields/AddressBranchField';
|
|
@@ -37,7 +36,7 @@ import { TermField } from './Fields/TermField';
|
|
|
37
36
|
import { UltraPremiumField } from './Fields/UltraPremiumField';
|
|
38
37
|
import { VedField } from './Fields/VedField';
|
|
39
38
|
import { getPremium } from './getPremium';
|
|
40
|
-
import {
|
|
39
|
+
import { shouldRenderField } from './shouldRenderField';
|
|
41
40
|
|
|
42
41
|
const PRODUCT_REF = {
|
|
43
42
|
$ref: '/wcms-resources/outservice-productlist.json',
|
|
@@ -86,18 +85,20 @@ const InputsMap = {
|
|
|
86
85
|
};
|
|
87
86
|
|
|
88
87
|
export const getField =
|
|
89
|
-
(
|
|
88
|
+
<F extends BaseFieldDef>(
|
|
90
89
|
field: FormFieldRegisterer<any>,
|
|
91
90
|
params?: Record<string, any>,
|
|
92
91
|
externalInputs: Record<string, VNode> = {},
|
|
93
92
|
) =>
|
|
94
|
-
(input:
|
|
95
|
-
const
|
|
93
|
+
(input: F, i: number) => {
|
|
94
|
+
const fieldsRegister = {
|
|
96
95
|
...InputsMap,
|
|
97
96
|
...externalInputs,
|
|
98
97
|
};
|
|
99
98
|
|
|
100
|
-
return
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
return (
|
|
100
|
+
shouldRenderField({ input, field }) && (
|
|
101
|
+
<div key={i}>{fieldsRegister[String(input.name)]?.({ field, input, params })}</div>
|
|
102
|
+
)
|
|
103
|
+
);
|
|
103
104
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
1
|
import { type FieldValidatorsMap } from '../../hooks/useForm/FormOptions';
|
|
3
2
|
import { type Validator } from '../../validation/validator';
|
|
3
|
+
import { type BaseFieldDef } from './BaseFieldDef';
|
|
4
4
|
import {
|
|
5
5
|
addressDaDataValidator,
|
|
6
6
|
addressOrganizationValidator,
|
|
@@ -124,8 +124,8 @@ export const validatorObj: Record<string, Validator> = {
|
|
|
124
124
|
...validatorCreditCardObj,
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
-
export const getFormValidator = <FormState extends Record<string, any
|
|
128
|
-
fieldDefs:
|
|
127
|
+
export const getFormValidator = <FormState extends Record<string, any>, F extends BaseFieldDef>(
|
|
128
|
+
fieldDefs: F[],
|
|
129
129
|
): ((_: FormState) => FieldValidatorsMap<FormState>) => {
|
|
130
130
|
const requiredFields = fieldDefs.filter((_) => Boolean(_?.required && _?.name));
|
|
131
131
|
|
|
@@ -145,11 +145,11 @@ export const getFormValidator = <FormState extends Record<string, any>>(
|
|
|
145
145
|
: requiredFieldValidatorsMap;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
const byNonEmptyValidator = ({ name }:
|
|
148
|
+
const byNonEmptyValidator = ({ name }: BaseFieldDef): boolean => Boolean(validatorObj[name ?? '']);
|
|
149
149
|
|
|
150
150
|
const byCondition =
|
|
151
151
|
<FormState extends Record<string, any>>(formState: FormState) =>
|
|
152
|
-
(fieldDef:
|
|
152
|
+
(fieldDef: BaseFieldDef) =>
|
|
153
153
|
!fieldDef?.condition ||
|
|
154
154
|
fieldDef.condition.values.find((_) => {
|
|
155
155
|
const dependencyValue = formState?.[fieldDef?.condition?.name ?? ''];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
2
|
+
import { type BaseFieldDef } from './BaseFieldDef';
|
|
3
3
|
|
|
4
|
-
export function
|
|
4
|
+
export function shouldRenderField<F extends BaseFieldDef>({
|
|
5
5
|
input,
|
|
6
6
|
field,
|
|
7
7
|
}: {
|
|
8
|
-
input:
|
|
8
|
+
input: F;
|
|
9
9
|
field: FormFieldRegisterer<any>;
|
|
10
10
|
}) {
|
|
11
11
|
const { condition } = input;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataSources.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/dataSources.ts"],"names":[],"mappings":";;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,6CAA6C;CACpD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRenderField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/isRenderField.tsx"],"names":[],"mappings":";;AAGA,SAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,GAIN;IACC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAE/C,OAAO,CAAC,SAAS,IAAI,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AACnF,CAAC;AAXD,sCAWC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataSources.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/dataSources.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,6CAA6C;CACpD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRenderField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/isRenderField.tsx"],"names":[],"mappings":"AAGA,MAAM,UAAU,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,GAIN;IACC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAE/C,OAAO,CAAC,SAAS,IAAI,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AACnF,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataSources.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/dataSources.ts"],"names":[],"mappings":";;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,6CAA6C;CACpD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRenderField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/isRenderField.tsx"],"names":[],"mappings":";;AAGA,SAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,GAIN;IACC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAE/C,OAAO,CAAC,SAAS,IAAI,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AACnF,CAAC;AAXD,sCAWC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataSources.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/dataSources.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,6CAA6C;CACpD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
3
|
-
export declare function isRenderField({ input, field, }: {
|
|
4
|
-
input: FieldDef;
|
|
5
|
-
field: FormFieldRegisterer<any>;
|
|
6
|
-
}): string | true | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isRenderField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/isRenderField.tsx"],"names":[],"mappings":"AAGA,MAAM,UAAU,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,GAIN;IACC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAE/C,OAAO,CAAC,SAAS,IAAI,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC;AACnF,CAAC"}
|