@redneckz/wildless-cms-uni-blocks 0.14.50 → 0.14.52
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 +23 -27
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/bundle/components/Bonus/BonusContent.d.ts +7 -3
- package/bundle/components/Calculator/CalculatorContent.d.ts +14 -5
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
- package/bundle/model/EmptyOptionType.d.ts +1 -3
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +7 -3
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +14 -5
- package/dist/components/LinkDocs/LinkDocs.js +3 -0
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/dist/components/TariffsTable/TariffsTableCell.js +1 -8
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +14 -14
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/dist/model/EmptyOptionType.d.ts +1 -3
- package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +7 -3
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +14 -5
- package/lib/components/LinkDocs/LinkDocs.js +3 -0
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/lib/components/TariffsTable/TariffsTableCell.js +2 -9
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +13 -12
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/lib/model/EmptyOptionType.d.ts +1 -3
- package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +23 -27
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +7 -3
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +14 -5
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
- package/mobile/bundle/model/EmptyOptionType.d.ts +1 -3
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +7 -3
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +14 -5
- package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -8
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +14 -14
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/dist/model/EmptyOptionType.d.ts +1 -3
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +7 -3
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +14 -5
- package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +9 -5
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -9
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +13 -12
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/lib/model/EmptyOptionType.d.ts +1 -3
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/Bonus/BonusContent.ts +8 -3
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/CalculatorContent.ts +16 -5
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +3 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +10 -5
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +8 -3
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +14 -11
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +8 -3
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +22 -18
- package/mobile/src/model/EmptyOptionType.ts +1 -3
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +2 -2
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/package.json +1 -1
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/Bonus/BonusContent.ts +8 -3
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/CalculatorContent.ts +16 -5
- package/src/components/LinkDocs/LinkDocs.tsx +3 -0
- package/src/components/LinkDocs/LinkDocsContent.ts +10 -5
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +8 -3
- package/src/components/TariffsTable/TariffsTableCell.tsx +14 -11
- package/src/components/TariffsTable/TariffsTableContent.ts +8 -3
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +22 -18
- package/src/model/EmptyOptionType.ts +1 -3
- package/src/ui-kit/BaseTile/BaseTile.tsx +2 -2
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU;QACR,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,2CAA2C,EAC/C,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAAsB,EAAE,KAAc,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAE5D,OAAO,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAC1B,KAAC,MAAM,IAEL,SAAS,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU;QACR,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,2CAA2C,EAC/C,SAAS,CACV,YAEA,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAAsB,EAAE,KAAc,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IACjE,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,MAAM,gBAAgB,GAAG,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAE5D,OAAO,IAAI,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAC1B,KAAC,MAAM,IAEL,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAAE,eAAe,CAAC,EAC9D,UAAU,EAAE,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,CAAC,EACtD,WAAW,EAAE,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC,EAC9E,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,KACN,IAAI,IANH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAO/B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,EAAE,CAAC;AAE1B,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,OAAO,GAAG,WAAW,EAAE,EAAE;IAC1E,MAAM,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvE,OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACb,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type LabelProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -25,11 +24,17 @@ export type ListBenefitDef = ListContent & {
|
|
|
25
24
|
benefitType?: 'list';
|
|
26
25
|
};
|
|
27
26
|
|
|
27
|
+
/** @title Не выбрано * */
|
|
28
|
+
export type EmptyDescription = {
|
|
29
|
+
/** @default "" */
|
|
30
|
+
benefitType: '';
|
|
31
|
+
};
|
|
32
|
+
|
|
28
33
|
/**
|
|
29
34
|
* @title Вид контента
|
|
30
|
-
* @default
|
|
35
|
+
* @default { "benefitType": "" }
|
|
31
36
|
*/
|
|
32
|
-
export type DescriptionDef =
|
|
37
|
+
export type DescriptionDef = EmptyDescription | TextBenefitDef | ListBenefitDef;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
40
|
* @title Преимущество
|
|
@@ -27,7 +27,7 @@ export const Bonus = JSX<BonusProps>(
|
|
|
27
27
|
? bonusItems.map((_, i) => (
|
|
28
28
|
<div
|
|
29
29
|
key={String(i)}
|
|
30
|
-
className="w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow
|
|
30
|
+
className="w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow p-xl sm:p-m border border-gray"
|
|
31
31
|
>
|
|
32
32
|
<div className="grow">
|
|
33
33
|
<Headline
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
@@ -25,11 +24,17 @@ export type BonusCountDef = {
|
|
|
25
24
|
bonusName?: string;
|
|
26
25
|
};
|
|
27
26
|
|
|
27
|
+
/** @title Не выбрано * */
|
|
28
|
+
export type EmptyBonusItemContent = {
|
|
29
|
+
/** @default "" */
|
|
30
|
+
bonusType: '';
|
|
31
|
+
};
|
|
32
|
+
|
|
28
33
|
/**
|
|
29
34
|
* @title Вид контента
|
|
30
|
-
* @default
|
|
35
|
+
* @default { "bonusType": "" }
|
|
31
36
|
*/
|
|
32
|
-
export type BonusItemContentDef =
|
|
37
|
+
export type BonusItemContentDef = EmptyBonusItemContent | BonusImageDef | BonusCountDef;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
40
|
* @title Плитка
|
|
@@ -34,7 +34,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
|
|
|
34
34
|
|
|
35
35
|
const calculatorParams = useBusinessDepositCalculatorParams(
|
|
36
36
|
userInputParams,
|
|
37
|
-
rateParams?.sourceBookDir,
|
|
37
|
+
rateParams?.rateType && rateParams.sourceBookDir,
|
|
38
38
|
);
|
|
39
39
|
const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
|
|
40
40
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Align } from '../../model/Align';
|
|
2
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
3
2
|
import { type Footnote } from '../../model/Footnote';
|
|
4
3
|
import { type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
|
|
5
4
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -26,11 +25,17 @@ export type IPRateDef = RateParams & {
|
|
|
26
25
|
rateType: 'IP';
|
|
27
26
|
};
|
|
28
27
|
|
|
28
|
+
/** @title Не выбрано * */
|
|
29
|
+
export type EmptyRateParams = {
|
|
30
|
+
/** @default "" */
|
|
31
|
+
rateType: '';
|
|
32
|
+
};
|
|
33
|
+
|
|
29
34
|
/**
|
|
30
35
|
* @title Назначение ставки
|
|
31
|
-
* @default
|
|
36
|
+
* @default {"rateType": ""}
|
|
32
37
|
*/
|
|
33
|
-
export type RateParamsDef =
|
|
38
|
+
export type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
34
39
|
|
|
35
40
|
export type CommonCalculatorProps = Footnote &
|
|
36
41
|
ButtonsSectionContent & {
|
|
@@ -153,12 +158,18 @@ export type RefinancingCalculatorParamsDef = TitleProps &
|
|
|
153
158
|
calcType: 'RefinancingCalculatorForm';
|
|
154
159
|
};
|
|
155
160
|
|
|
161
|
+
/** @title Не выбрано * */
|
|
162
|
+
export type EmptyCalculatorBlock = {
|
|
163
|
+
/** @default "" */
|
|
164
|
+
calcType: '';
|
|
165
|
+
};
|
|
166
|
+
|
|
156
167
|
/**
|
|
157
168
|
* @title Настройки калькулятора
|
|
158
|
-
* @default
|
|
169
|
+
* @default { "calcType": "" }
|
|
159
170
|
*/
|
|
160
171
|
export type CalculatorBlockDef =
|
|
161
|
-
|
|
|
172
|
+
| EmptyCalculatorBlock
|
|
162
173
|
| CreditCalculatorParamsDef
|
|
163
174
|
| DepositCalculatorParamsDef
|
|
164
175
|
| BusinessDepositCalculatorParamsDef
|
|
@@ -61,6 +61,9 @@ export const LinkDocs = JSX<LinkDocsProps>(
|
|
|
61
61
|
|
|
62
62
|
const renderLinkDocItem =
|
|
63
63
|
(router: Router, icon: Picture) => (docBlockDef: DocBlockDef, i: number) => {
|
|
64
|
+
if (docBlockDef?.docType === '') {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
64
67
|
const href =
|
|
65
68
|
docBlockDef?.docType === 'Attachment'
|
|
66
69
|
? adjustHref(router)(docBlockDef?.attachment?.src)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Attachment } from '../../model/Attachment';
|
|
2
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
3
2
|
import { type AlignProps, type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
3
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
5
4
|
import { type LinkProps, type Target } from '../../model/LinkProps';
|
|
@@ -32,25 +31,31 @@ export interface AttachmentDoc {
|
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* @title Ссылка на документ
|
|
35
|
-
* @default {"docType": "Link"}
|
|
36
34
|
*/
|
|
37
35
|
export type LinkDocDef = LinkDoc & {
|
|
36
|
+
/** @default "Link" */
|
|
38
37
|
docType: 'Link';
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
/**
|
|
42
41
|
* @title Файл
|
|
43
|
-
* @default {"docType": "Attachment"}
|
|
44
42
|
*/
|
|
45
43
|
export type AttachmentDocDef = AttachmentDoc & {
|
|
44
|
+
/** @default "Attachment" */
|
|
46
45
|
docType: 'Attachment';
|
|
47
46
|
};
|
|
48
47
|
|
|
48
|
+
/** @title Не выбрано * */
|
|
49
|
+
export type EmptyDocType = {
|
|
50
|
+
/** @default "" */
|
|
51
|
+
docType: '';
|
|
52
|
+
};
|
|
53
|
+
|
|
49
54
|
/**
|
|
50
55
|
* @title Документ
|
|
51
|
-
* @default
|
|
56
|
+
* @default {"docType": ""}
|
|
52
57
|
*/
|
|
53
|
-
export type DocBlockDef =
|
|
58
|
+
export type DocBlockDef = EmptyDocType | LinkDocDef | AttachmentDocDef;
|
|
54
59
|
|
|
55
60
|
/**
|
|
56
61
|
* @title Список документов
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
2
|
import { type Picture } from '../../model/Picture';
|
|
4
3
|
|
|
@@ -31,11 +30,17 @@ export type AtmsDef = {
|
|
|
31
30
|
list?: ItemList[];
|
|
32
31
|
};
|
|
33
32
|
|
|
33
|
+
/** @title Не выбрано * */
|
|
34
|
+
export type EmptyOfficesAtmsBlock = {
|
|
35
|
+
/** @default "" */
|
|
36
|
+
dataType: '';
|
|
37
|
+
};
|
|
38
|
+
|
|
34
39
|
/**
|
|
35
40
|
* @title Данные
|
|
36
|
-
* @default
|
|
41
|
+
* @default { "dataType": "" }
|
|
37
42
|
*/
|
|
38
|
-
export type OfficesAtmsBlockDef =
|
|
43
|
+
export type OfficesAtmsBlockDef = EmptyOfficesAtmsBlock | OfficesDef | AtmsDef;
|
|
39
44
|
|
|
40
45
|
/**
|
|
41
46
|
* @title Блок офисов и банкоматов
|
|
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
4
4
|
import { type CellDef } from './TariffsTableContent';
|
|
5
|
-
import {
|
|
5
|
+
import { RenderCellInner } from './TariffsTableRenderCell';
|
|
6
6
|
|
|
7
7
|
export interface TariffTableContentProps {
|
|
8
8
|
openTableInnerIdx?: number;
|
|
@@ -30,16 +30,19 @@ export const TariffsTableCell = JSX<TariffsTableCellProps>(
|
|
|
30
30
|
return (
|
|
31
31
|
<div className="w-80 flex-grow flex flex-col gap-m @4xl:gap-lg" role="cell">
|
|
32
32
|
{cells?.length
|
|
33
|
-
? cells.map(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
? cells.map((_, i) => (
|
|
34
|
+
<RenderCellInner
|
|
35
|
+
key={String(i)}
|
|
36
|
+
cell={_}
|
|
37
|
+
fieldIdx={i}
|
|
38
|
+
rowIdx={rowIdx}
|
|
39
|
+
cellIdx={cellIdx}
|
|
40
|
+
setTableInner={setTableInner}
|
|
41
|
+
tableInner={tableInner}
|
|
42
|
+
openTableInnerIdx={openTableInnerIdx}
|
|
43
|
+
setOpenTableInnerIdx={setOpenTableInnerIdx}
|
|
44
|
+
/>
|
|
45
|
+
))
|
|
43
46
|
: null}
|
|
44
47
|
</div>
|
|
45
48
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type DescriptionProps, type LabelProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent, type UniBlockProps } from '../../model/JSXBlock';
|
|
4
3
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -89,12 +88,18 @@ export type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
|
89
88
|
tableCellType: 'Table';
|
|
90
89
|
};
|
|
91
90
|
|
|
91
|
+
/** @title Не выбрано * */
|
|
92
|
+
export type EmptyCellType = {
|
|
93
|
+
/** @default "" */
|
|
94
|
+
tableCellType: '';
|
|
95
|
+
};
|
|
96
|
+
|
|
92
97
|
/**
|
|
93
98
|
* @title Содержимое ячейки
|
|
94
|
-
* @default
|
|
99
|
+
* @default { "tableCellType": "" }
|
|
95
100
|
*/
|
|
96
101
|
export type CellDef =
|
|
97
|
-
|
|
|
102
|
+
| EmptyCellType
|
|
98
103
|
| ImageCellDef
|
|
99
104
|
| ButtonsCellDef
|
|
100
105
|
| LabelDescriptionCellDef
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
1
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
3
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
3
4
|
import { EmbeddableCellData } from './EmbeddableCellData';
|
|
@@ -22,16 +23,22 @@ interface CellProps {
|
|
|
22
23
|
displayTable: (props: TariffsTableInnerContent) => void;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export
|
|
26
|
+
export interface RenderCellInnerProps extends TariffTableCellInnerProps {
|
|
27
|
+
cell: CellDef;
|
|
28
|
+
fieldIdx: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const RenderCellInner = JSX<RenderCellInnerProps>(
|
|
26
32
|
({
|
|
33
|
+
cell,
|
|
34
|
+
fieldIdx,
|
|
27
35
|
rowIdx,
|
|
28
36
|
cellIdx,
|
|
29
37
|
setTableInner,
|
|
30
38
|
tableInner,
|
|
31
39
|
openTableInnerIdx,
|
|
32
40
|
setOpenTableInnerIdx,
|
|
33
|
-
}
|
|
34
|
-
(cell: CellDef, i: number) => {
|
|
41
|
+
}) => {
|
|
35
42
|
const [isVisible, setVisibility] = useState(true);
|
|
36
43
|
|
|
37
44
|
useEffect(() => {
|
|
@@ -46,21 +53,18 @@ export const renderCellInner =
|
|
|
46
53
|
setTableInner(props);
|
|
47
54
|
};
|
|
48
55
|
|
|
49
|
-
return (
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</div>
|
|
62
|
-
);
|
|
63
|
-
};
|
|
56
|
+
return renderCell({
|
|
57
|
+
cell,
|
|
58
|
+
cellProps: {
|
|
59
|
+
rowIdx,
|
|
60
|
+
cellIdx,
|
|
61
|
+
fieldIdx,
|
|
62
|
+
displayTable,
|
|
63
|
+
isVisible,
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
);
|
|
64
68
|
|
|
65
69
|
const renderCell = ({ cell, cellProps }: RenderCellProps) => {
|
|
66
70
|
if (!cell) {
|
|
@@ -55,8 +55,8 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
55
55
|
{title ? <div className="relative">{title}</div> : null}
|
|
56
56
|
<div
|
|
57
57
|
className={style(
|
|
58
|
-
'grow relative flex flex-col @xl:flex-row gap-3xl',
|
|
59
|
-
leftImage ? 'self-start' : '',
|
|
58
|
+
'grow relative flex flex-col @xl:flex-row gap-3xl w-full',
|
|
59
|
+
leftImage ? 'self-start @xl:w-auto' : '',
|
|
60
60
|
)}
|
|
61
61
|
>
|
|
62
62
|
{renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' })}
|
|
@@ -39,7 +39,7 @@ const renderButton =
|
|
|
39
39
|
return text || icon?.icon ? (
|
|
40
40
|
<Button
|
|
41
41
|
key={index ? String(index) : ''}
|
|
42
|
-
className={style('basis-full lg:basis-auto', buttonClassName)}
|
|
42
|
+
className={style('basis-full @lg:basis-auto', buttonClassName)}
|
|
43
43
|
appendLeft={renderButtonIcon({ ...icon, iconVersion })}
|
|
44
44
|
appendRight={renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion })}
|
|
45
45
|
version={version}
|
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type LabelProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -25,11 +24,17 @@ export type ListBenefitDef = ListContent & {
|
|
|
25
24
|
benefitType?: 'list';
|
|
26
25
|
};
|
|
27
26
|
|
|
27
|
+
/** @title Не выбрано * */
|
|
28
|
+
export type EmptyDescription = {
|
|
29
|
+
/** @default "" */
|
|
30
|
+
benefitType: '';
|
|
31
|
+
};
|
|
32
|
+
|
|
28
33
|
/**
|
|
29
34
|
* @title Вид контента
|
|
30
|
-
* @default
|
|
35
|
+
* @default { "benefitType": "" }
|
|
31
36
|
*/
|
|
32
|
-
export type DescriptionDef =
|
|
37
|
+
export type DescriptionDef = EmptyDescription | TextBenefitDef | ListBenefitDef;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
40
|
* @title Преимущество
|
|
@@ -27,7 +27,7 @@ export const Bonus = JSX<BonusProps>(
|
|
|
27
27
|
? bonusItems.map((_, i) => (
|
|
28
28
|
<div
|
|
29
29
|
key={String(i)}
|
|
30
|
-
className="w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow
|
|
30
|
+
className="w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow p-xl sm:p-m border border-gray"
|
|
31
31
|
>
|
|
32
32
|
<div className="grow">
|
|
33
33
|
<Headline
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
4
3
|
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
@@ -25,11 +24,17 @@ export type BonusCountDef = {
|
|
|
25
24
|
bonusName?: string;
|
|
26
25
|
};
|
|
27
26
|
|
|
27
|
+
/** @title Не выбрано * */
|
|
28
|
+
export type EmptyBonusItemContent = {
|
|
29
|
+
/** @default "" */
|
|
30
|
+
bonusType: '';
|
|
31
|
+
};
|
|
32
|
+
|
|
28
33
|
/**
|
|
29
34
|
* @title Вид контента
|
|
30
|
-
* @default
|
|
35
|
+
* @default { "bonusType": "" }
|
|
31
36
|
*/
|
|
32
|
-
export type BonusItemContentDef =
|
|
37
|
+
export type BonusItemContentDef = EmptyBonusItemContent | BonusImageDef | BonusCountDef;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
40
|
* @title Плитка
|
|
@@ -34,7 +34,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
|
|
|
34
34
|
|
|
35
35
|
const calculatorParams = useBusinessDepositCalculatorParams(
|
|
36
36
|
userInputParams,
|
|
37
|
-
rateParams?.sourceBookDir,
|
|
37
|
+
rateParams?.rateType && rateParams.sourceBookDir,
|
|
38
38
|
);
|
|
39
39
|
const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
|
|
40
40
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Align } from '../../model/Align';
|
|
2
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
3
2
|
import { type Footnote } from '../../model/Footnote';
|
|
4
3
|
import { type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
|
|
5
4
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -26,11 +25,17 @@ export type IPRateDef = RateParams & {
|
|
|
26
25
|
rateType: 'IP';
|
|
27
26
|
};
|
|
28
27
|
|
|
28
|
+
/** @title Не выбрано * */
|
|
29
|
+
export type EmptyRateParams = {
|
|
30
|
+
/** @default "" */
|
|
31
|
+
rateType: '';
|
|
32
|
+
};
|
|
33
|
+
|
|
29
34
|
/**
|
|
30
35
|
* @title Назначение ставки
|
|
31
|
-
* @default
|
|
36
|
+
* @default {"rateType": ""}
|
|
32
37
|
*/
|
|
33
|
-
export type RateParamsDef =
|
|
38
|
+
export type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
34
39
|
|
|
35
40
|
export type CommonCalculatorProps = Footnote &
|
|
36
41
|
ButtonsSectionContent & {
|
|
@@ -153,12 +158,18 @@ export type RefinancingCalculatorParamsDef = TitleProps &
|
|
|
153
158
|
calcType: 'RefinancingCalculatorForm';
|
|
154
159
|
};
|
|
155
160
|
|
|
161
|
+
/** @title Не выбрано * */
|
|
162
|
+
export type EmptyCalculatorBlock = {
|
|
163
|
+
/** @default "" */
|
|
164
|
+
calcType: '';
|
|
165
|
+
};
|
|
166
|
+
|
|
156
167
|
/**
|
|
157
168
|
* @title Настройки калькулятора
|
|
158
|
-
* @default
|
|
169
|
+
* @default { "calcType": "" }
|
|
159
170
|
*/
|
|
160
171
|
export type CalculatorBlockDef =
|
|
161
|
-
|
|
|
172
|
+
| EmptyCalculatorBlock
|
|
162
173
|
| CreditCalculatorParamsDef
|
|
163
174
|
| DepositCalculatorParamsDef
|
|
164
175
|
| BusinessDepositCalculatorParamsDef
|
|
@@ -61,6 +61,9 @@ export const LinkDocs = JSX<LinkDocsProps>(
|
|
|
61
61
|
|
|
62
62
|
const renderLinkDocItem =
|
|
63
63
|
(router: Router, icon: Picture) => (docBlockDef: DocBlockDef, i: number) => {
|
|
64
|
+
if (docBlockDef?.docType === '') {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
64
67
|
const href =
|
|
65
68
|
docBlockDef?.docType === 'Attachment'
|
|
66
69
|
? adjustHref(router)(docBlockDef?.attachment?.src)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Attachment } from '../../model/Attachment';
|
|
2
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
3
2
|
import { type AlignProps, type HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
3
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
5
4
|
import { type LinkProps, type Target } from '../../model/LinkProps';
|
|
@@ -32,25 +31,31 @@ export interface AttachmentDoc {
|
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* @title Ссылка на документ
|
|
35
|
-
* @default {"docType": "Link"}
|
|
36
34
|
*/
|
|
37
35
|
export type LinkDocDef = LinkDoc & {
|
|
36
|
+
/** @default "Link" */
|
|
38
37
|
docType: 'Link';
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
/**
|
|
42
41
|
* @title Файл
|
|
43
|
-
* @default {"docType": "Attachment"}
|
|
44
42
|
*/
|
|
45
43
|
export type AttachmentDocDef = AttachmentDoc & {
|
|
44
|
+
/** @default "Attachment" */
|
|
46
45
|
docType: 'Attachment';
|
|
47
46
|
};
|
|
48
47
|
|
|
48
|
+
/** @title Не выбрано * */
|
|
49
|
+
export type EmptyDocType = {
|
|
50
|
+
/** @default "" */
|
|
51
|
+
docType: '';
|
|
52
|
+
};
|
|
53
|
+
|
|
49
54
|
/**
|
|
50
55
|
* @title Документ
|
|
51
|
-
* @default
|
|
56
|
+
* @default {"docType": ""}
|
|
52
57
|
*/
|
|
53
|
-
export type DocBlockDef =
|
|
58
|
+
export type DocBlockDef = EmptyDocType | LinkDocDef | AttachmentDocDef;
|
|
54
59
|
|
|
55
60
|
/**
|
|
56
61
|
* @title Список документов
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
2
|
import { type Picture } from '../../model/Picture';
|
|
4
3
|
|
|
@@ -31,11 +30,17 @@ export type AtmsDef = {
|
|
|
31
30
|
list?: ItemList[];
|
|
32
31
|
};
|
|
33
32
|
|
|
33
|
+
/** @title Не выбрано * */
|
|
34
|
+
export type EmptyOfficesAtmsBlock = {
|
|
35
|
+
/** @default "" */
|
|
36
|
+
dataType: '';
|
|
37
|
+
};
|
|
38
|
+
|
|
34
39
|
/**
|
|
35
40
|
* @title Данные
|
|
36
|
-
* @default
|
|
41
|
+
* @default { "dataType": "" }
|
|
37
42
|
*/
|
|
38
|
-
export type OfficesAtmsBlockDef =
|
|
43
|
+
export type OfficesAtmsBlockDef = EmptyOfficesAtmsBlock | OfficesDef | AtmsDef;
|
|
39
44
|
|
|
40
45
|
/**
|
|
41
46
|
* @title Блок офисов и банкоматов
|
|
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
4
4
|
import { type CellDef } from './TariffsTableContent';
|
|
5
|
-
import {
|
|
5
|
+
import { RenderCellInner } from './TariffsTableRenderCell';
|
|
6
6
|
|
|
7
7
|
export interface TariffTableContentProps {
|
|
8
8
|
openTableInnerIdx?: number;
|
|
@@ -30,16 +30,19 @@ export const TariffsTableCell = JSX<TariffsTableCellProps>(
|
|
|
30
30
|
return (
|
|
31
31
|
<div className="w-80 flex-grow flex flex-col gap-m @4xl:gap-lg" role="cell">
|
|
32
32
|
{cells?.length
|
|
33
|
-
? cells.map(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
? cells.map((_, i) => (
|
|
34
|
+
<RenderCellInner
|
|
35
|
+
key={String(i)}
|
|
36
|
+
cell={_}
|
|
37
|
+
fieldIdx={i}
|
|
38
|
+
rowIdx={rowIdx}
|
|
39
|
+
cellIdx={cellIdx}
|
|
40
|
+
setTableInner={setTableInner}
|
|
41
|
+
tableInner={tableInner}
|
|
42
|
+
openTableInnerIdx={openTableInnerIdx}
|
|
43
|
+
setOpenTableInnerIdx={setOpenTableInnerIdx}
|
|
44
|
+
/>
|
|
45
|
+
))
|
|
43
46
|
: null}
|
|
44
47
|
</div>
|
|
45
48
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EmptyOption } from '../../model/EmptyOptionType';
|
|
2
1
|
import { type DescriptionProps, type LabelProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type UniBlockContent, type UniBlockProps } from '../../model/JSXBlock';
|
|
4
3
|
import { type IconProps } from '../../model/Picture';
|
|
@@ -89,12 +88,18 @@ export type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
|
89
88
|
tableCellType: 'Table';
|
|
90
89
|
};
|
|
91
90
|
|
|
91
|
+
/** @title Не выбрано * */
|
|
92
|
+
export type EmptyCellType = {
|
|
93
|
+
/** @default "" */
|
|
94
|
+
tableCellType: '';
|
|
95
|
+
};
|
|
96
|
+
|
|
92
97
|
/**
|
|
93
98
|
* @title Содержимое ячейки
|
|
94
|
-
* @default
|
|
99
|
+
* @default { "tableCellType": "" }
|
|
95
100
|
*/
|
|
96
101
|
export type CellDef =
|
|
97
|
-
|
|
|
102
|
+
| EmptyCellType
|
|
98
103
|
| ImageCellDef
|
|
99
104
|
| ButtonsCellDef
|
|
100
105
|
| LabelDescriptionCellDef
|