@redneckz/wildless-cms-uni-blocks 0.14.49 → 0.14.51
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/bin/migration-scripts/0.14.31.js +66 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +47 -58
- 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/bundle/model/JSXBlock.d.ts +2 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/dist/components/Blocks.js +0 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- 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/ProductBlock/ProductBlock.js +1 -13
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- 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/model/JSXBlock.d.ts +2 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/dist/ui-kit/BaseTile/BaseTile.js +16 -5
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/lib/components/Blocks.js +0 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- 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/ProductBlock/ProductBlock.fixture.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +2 -0
- package/lib/components/ProductBlock/ProductBlock.js +2 -14
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- 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/model/JSXBlock.d.ts +2 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/lib/ui-kit/BaseTile/BaseTile.js +16 -5
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +47 -58
- 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/bundle/model/JSXBlock.d.ts +2 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/mobile/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- 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/ProductBlock/ProductBlock.js +1 -13
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- 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/model/JSXBlock.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +16 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.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/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- 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/ProductBlock/ProductBlock.js +2 -14
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- 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/model/JSXBlock.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +16 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/src/common.css +4 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
- package/mobile/src/components/Blocks.ts +0 -4
- 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/ProductBlock/ProductBlock.tsx +13 -32
- 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/model/JSXBlock.ts +2 -2
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +5 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +48 -35
- package/package.json +1 -1
- package/src/common.css +4 -0
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -4
- 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/DepositFiltration/DepositFiltration.fixture.mobile.tsx +5 -5
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +5 -5
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +15 -15
- package/src/components/LinkDocs/LinkDocs.tsx +3 -0
- package/src/components/LinkDocs/LinkDocsContent.ts +10 -5
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +8 -8
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +8 -8
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +8 -3
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +41 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +40 -0
- package/src/components/ProductBlock/ProductBlock.tsx +13 -32
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.mobile.tsx +9 -9
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +11 -11
- 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/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +3 -3
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +9 -10
- package/src/model/EmptyOptionType.ts +1 -3
- package/src/model/JSXBlock.ts +2 -2
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +5 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +48 -35
- package/bundle/components/ProductTile/ProductTile.d.ts +0 -5
- package/bundle/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/bundle/components/Tile/Tile.d.ts +0 -5
- package/bundle/components/Tile/TileContent.d.ts +0 -6
- package/dist/components/ProductTile/ProductTile.d.ts +0 -5
- package/dist/components/ProductTile/ProductTile.js +0 -9
- package/dist/components/ProductTile/ProductTile.js.map +0 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/dist/components/ProductTile/ProductTileContent.js +0 -2
- package/dist/components/ProductTile/ProductTileContent.js.map +0 -1
- package/dist/components/Tile/Tile.d.ts +0 -5
- package/dist/components/Tile/Tile.js +0 -8
- package/dist/components/Tile/Tile.js.map +0 -1
- package/dist/components/Tile/TileContent.d.ts +0 -6
- package/dist/components/Tile/TileContent.js +0 -2
- package/dist/components/Tile/TileContent.js.map +0 -1
- package/lib/components/ProductTile/ProductTile.d.ts +0 -5
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +0 -17
- package/lib/components/ProductTile/ProductTile.fixture.mobile.d.ts +0 -16
- package/lib/components/ProductTile/ProductTile.js +0 -7
- package/lib/components/ProductTile/ProductTile.js.map +0 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/lib/components/ProductTile/ProductTileContent.js +0 -2
- package/lib/components/ProductTile/ProductTileContent.js.map +0 -1
- package/lib/components/Tile/Tile.d.ts +0 -5
- package/lib/components/Tile/Tile.fixture.d.ts +0 -15
- package/lib/components/Tile/Tile.fixture.mobile.d.ts +0 -9
- package/lib/components/Tile/Tile.js +0 -6
- package/lib/components/Tile/Tile.js.map +0 -1
- package/lib/components/Tile/TileContent.d.ts +0 -6
- package/lib/components/Tile/TileContent.js +0 -2
- package/lib/components/Tile/TileContent.js.map +0 -1
- package/mobile/bundle/components/ProductTile/ProductTile.d.ts +0 -5
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/mobile/bundle/components/Tile/Tile.d.ts +0 -5
- package/mobile/bundle/components/Tile/TileContent.d.ts +0 -6
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +0 -5
- package/mobile/dist/components/ProductTile/ProductTile.js +0 -9
- package/mobile/dist/components/ProductTile/ProductTile.js.map +0 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/mobile/dist/components/ProductTile/ProductTileContent.js +0 -2
- package/mobile/dist/components/ProductTile/ProductTileContent.js.map +0 -1
- package/mobile/dist/components/Tile/Tile.d.ts +0 -5
- package/mobile/dist/components/Tile/Tile.js +0 -8
- package/mobile/dist/components/Tile/Tile.js.map +0 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +0 -6
- package/mobile/dist/components/Tile/TileContent.js +0 -2
- package/mobile/dist/components/Tile/TileContent.js.map +0 -1
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +0 -5
- package/mobile/lib/components/ProductTile/ProductTile.js +0 -7
- package/mobile/lib/components/ProductTile/ProductTile.js.map +0 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +0 -7
- package/mobile/lib/components/ProductTile/ProductTileContent.js +0 -2
- package/mobile/lib/components/ProductTile/ProductTileContent.js.map +0 -1
- package/mobile/lib/components/Tile/Tile.d.ts +0 -5
- package/mobile/lib/components/Tile/Tile.js +0 -6
- package/mobile/lib/components/Tile/Tile.js.map +0 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +0 -6
- package/mobile/lib/components/Tile/TileContent.js +0 -2
- package/mobile/lib/components/Tile/TileContent.js.map +0 -1
- package/mobile/src/components/ProductTile/ProductTile.example.json +0 -44
- package/mobile/src/components/ProductTile/ProductTile.tsx +0 -40
- package/mobile/src/components/ProductTile/ProductTile.ui.json +0 -17
- package/mobile/src/components/ProductTile/ProductTileContent.ts +0 -10
- package/mobile/src/components/Tile/Tile.example.json +0 -28
- package/mobile/src/components/Tile/Tile.tsx +0 -23
- package/mobile/src/components/Tile/Tile.ui.json +0 -17
- package/mobile/src/components/Tile/TileContent.ts +0 -7
- package/src/components/ProductTile/ProductTile.example.json +0 -44
- package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +0 -217
- package/src/components/ProductTile/ProductTile.fixture.tsx +0 -227
- package/src/components/ProductTile/ProductTile.tsx +0 -40
- package/src/components/ProductTile/ProductTile.ui.json +0 -17
- package/src/components/ProductTile/ProductTileContent.ts +0 -10
- package/src/components/Tile/Tile.example.json +0 -28
- package/src/components/Tile/Tile.fixture.mobile.tsx +0 -48
- package/src/components/Tile/Tile.fixture.tsx +0 -146
- package/src/components/Tile/Tile.tsx +0 -23
- package/src/components/Tile/Tile.ui.json +0 -17
- package/src/components/Tile/TileContent.ts +0 -7
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type ListBenefitDef = ListContent & {
|
|
|
22
21
|
/** @default list */
|
|
23
22
|
benefitType?: 'list';
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyDescription = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
benefitType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Вид контента
|
|
27
|
-
* @default
|
|
31
|
+
* @default { "benefitType": "" }
|
|
28
32
|
*/
|
|
29
|
-
export declare type DescriptionDef =
|
|
33
|
+
export declare type DescriptionDef = EmptyDescription | TextBenefitDef | ListBenefitDef;
|
|
30
34
|
/**
|
|
31
35
|
* @title Преимущество
|
|
32
36
|
*/
|
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type BonusCountDef = {
|
|
|
22
21
|
/** @title Наименование */
|
|
23
22
|
bonusName?: string;
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyBonusItemContent = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
bonusType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Вид контента
|
|
27
|
-
* @default
|
|
31
|
+
* @default { "bonusType": "" }
|
|
28
32
|
*/
|
|
29
|
-
export declare type BonusItemContentDef =
|
|
33
|
+
export declare type BonusItemContentDef = EmptyBonusItemContent | BonusImageDef | BonusCountDef;
|
|
30
34
|
/**
|
|
31
35
|
* @title Плитка
|
|
32
36
|
*/
|
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type ULRateDef = RateParams & {
|
|
|
22
21
|
export declare type IPRateDef = RateParams & {
|
|
23
22
|
rateType: 'IP';
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyRateParams = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
rateType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Назначение ставки
|
|
27
|
-
* @default
|
|
31
|
+
* @default {"rateType": ""}
|
|
28
32
|
*/
|
|
29
|
-
export declare type RateParamsDef =
|
|
33
|
+
export declare type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
30
34
|
export declare type CommonCalculatorProps = Footnote & ButtonsSectionContent & {
|
|
31
35
|
/** @title Адрес справочника */
|
|
32
36
|
sourceBookDir?: string;
|
|
@@ -128,11 +132,16 @@ export declare type BonusCalculatorParamsDef = TitleProps & CommonCalculatorProp
|
|
|
128
132
|
export declare type RefinancingCalculatorParamsDef = TitleProps & RefinancingCalculatorProps & {
|
|
129
133
|
calcType: 'RefinancingCalculatorForm';
|
|
130
134
|
};
|
|
135
|
+
/** @title Не выбрано * */
|
|
136
|
+
export declare type EmptyCalculatorBlock = {
|
|
137
|
+
/** @default "" */
|
|
138
|
+
calcType: '';
|
|
139
|
+
};
|
|
131
140
|
/**
|
|
132
141
|
* @title Настройки калькулятора
|
|
133
|
-
* @default
|
|
142
|
+
* @default { "calcType": "" }
|
|
134
143
|
*/
|
|
135
|
-
export declare type CalculatorBlockDef =
|
|
144
|
+
export declare type CalculatorBlockDef = EmptyCalculatorBlock | CreditCalculatorParamsDef | DepositCalculatorParamsDef | BusinessDepositCalculatorParamsDef | BonusCalculatorParamsDef | RefinancingCalculatorParamsDef;
|
|
136
145
|
/**
|
|
137
146
|
* @title Кнопка навигации
|
|
138
147
|
*/
|
|
@@ -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';
|
|
@@ -28,23 +27,28 @@ export interface AttachmentDoc {
|
|
|
28
27
|
}
|
|
29
28
|
/**
|
|
30
29
|
* @title Ссылка на документ
|
|
31
|
-
* @default {"docType": "Link"}
|
|
32
30
|
*/
|
|
33
31
|
export declare type LinkDocDef = LinkDoc & {
|
|
32
|
+
/** @default "Link" */
|
|
34
33
|
docType: 'Link';
|
|
35
34
|
};
|
|
36
35
|
/**
|
|
37
36
|
* @title Файл
|
|
38
|
-
* @default {"docType": "Attachment"}
|
|
39
37
|
*/
|
|
40
38
|
export declare type AttachmentDocDef = AttachmentDoc & {
|
|
39
|
+
/** @default "Attachment" */
|
|
41
40
|
docType: 'Attachment';
|
|
42
41
|
};
|
|
42
|
+
/** @title Не выбрано * */
|
|
43
|
+
export declare type EmptyDocType = {
|
|
44
|
+
/** @default "" */
|
|
45
|
+
docType: '';
|
|
46
|
+
};
|
|
43
47
|
/**
|
|
44
48
|
* @title Документ
|
|
45
|
-
* @default
|
|
49
|
+
* @default {"docType": ""}
|
|
46
50
|
*/
|
|
47
|
-
export declare type DocBlockDef =
|
|
51
|
+
export declare type DocBlockDef = EmptyDocType | LinkDocDef | AttachmentDocDef;
|
|
48
52
|
/**
|
|
49
53
|
* @title Список документов
|
|
50
54
|
*/
|
|
@@ -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
|
/**
|
|
@@ -27,11 +26,16 @@ export declare type AtmsDef = {
|
|
|
27
26
|
/** @title Список */
|
|
28
27
|
list?: ItemList[];
|
|
29
28
|
};
|
|
29
|
+
/** @title Не выбрано * */
|
|
30
|
+
export declare type EmptyOfficesAtmsBlock = {
|
|
31
|
+
/** @default "" */
|
|
32
|
+
dataType: '';
|
|
33
|
+
};
|
|
30
34
|
/**
|
|
31
35
|
* @title Данные
|
|
32
|
-
* @default
|
|
36
|
+
* @default { "dataType": "" }
|
|
33
37
|
*/
|
|
34
|
-
export declare type OfficesAtmsBlockDef =
|
|
38
|
+
export declare type OfficesAtmsBlockDef = EmptyOfficesAtmsBlock | OfficesDef | AtmsDef;
|
|
35
39
|
/**
|
|
36
40
|
* @title Блок офисов и банкоматов
|
|
37
41
|
*/
|
|
@@ -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';
|
|
@@ -77,11 +76,16 @@ export declare type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
|
77
76
|
/** @default Table */
|
|
78
77
|
tableCellType: 'Table';
|
|
79
78
|
};
|
|
79
|
+
/** @title Не выбрано * */
|
|
80
|
+
export declare type EmptyCellType = {
|
|
81
|
+
/** @default "" */
|
|
82
|
+
tableCellType: '';
|
|
83
|
+
};
|
|
80
84
|
/**
|
|
81
85
|
* @title Содержимое ячейки
|
|
82
|
-
* @default
|
|
86
|
+
* @default { "tableCellType": "" }
|
|
83
87
|
*/
|
|
84
|
-
export declare type CellDef =
|
|
88
|
+
export declare type CellDef = EmptyCellType | ImageCellDef | ButtonsCellDef | LabelDescriptionCellDef | ListBlockDef | InnerTableBlockDef;
|
|
85
89
|
/**
|
|
86
90
|
* @title Колонка
|
|
87
91
|
*/
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type TariffTableContentProps } from './TariffsTableCell';
|
|
3
2
|
import { type CellDef } from './TariffsTableContent';
|
|
4
3
|
interface TariffTableCellInnerProps extends TariffTableContentProps {
|
|
5
4
|
cellIdx: number;
|
|
6
5
|
rowIdx: number;
|
|
7
6
|
}
|
|
8
|
-
export
|
|
7
|
+
export interface RenderCellInnerProps extends TariffTableCellInnerProps {
|
|
8
|
+
cell: CellDef;
|
|
9
|
+
fieldIdx: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const RenderCellInner: import("@redneckz/uni-jsx").UNIComponent<RenderCellInnerProps, any, any>;
|
|
9
12
|
export {};
|
|
@@ -8,9 +8,9 @@ import { type VNode } from './VNode';
|
|
|
8
8
|
/**
|
|
9
9
|
* @title Внутренний отступ
|
|
10
10
|
* @default ""
|
|
11
|
-
* @enumNames ["По умолчанию", "Большой", "Средний", "Маленький", "Оч. маленький", "Нулевой"]
|
|
11
|
+
* @enumNames ["По умолчанию", "Оч. Большой", "Большой", "Средний", "Маленький", "Оч. маленький", "Нулевой"]
|
|
12
12
|
*/
|
|
13
|
-
export declare type UniBlockPadding = '' | 'p-3xl' | 'p-xl' | 'p-m' | 'p-xs' | 'p-0';
|
|
13
|
+
export declare type UniBlockPadding = '' | 'p-6xl' | 'p-3xl' | 'p-xl' | 'p-m' | 'p-xs' | 'p-0';
|
|
14
14
|
export interface UniBlockContent {
|
|
15
15
|
version?: BlockVersion;
|
|
16
16
|
/**
|
|
@@ -2,6 +2,7 @@ import { type UniBlockProps } from '../../model/JSXBlock';
|
|
|
2
2
|
import { type VNode } from '../../model/VNode';
|
|
3
3
|
import { type BaseProductTileContent } from './BaseProductTileContent';
|
|
4
4
|
interface BaseProductTileProps extends UniBlockProps, BaseProductTileContent {
|
|
5
|
+
backwardButton?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const BaseProductTile: import("@redneckz/uni-jsx").UNIComponent<BaseProductTileProps, any, any>;
|
|
7
8
|
export declare const leftOrRightImage: (img: VNode, directionRight: boolean) => {
|
|
@@ -10,6 +10,7 @@ interface BaseTileProps extends UniBlockProps {
|
|
|
10
10
|
buttons?: VNode;
|
|
11
11
|
isImageAlwaysOnRight?: boolean;
|
|
12
12
|
isImageSecondary?: boolean;
|
|
13
|
+
backwardButton?: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
|
|
15
16
|
export {};
|
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type ListBenefitDef = ListContent & {
|
|
|
22
21
|
/** @default list */
|
|
23
22
|
benefitType?: 'list';
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyDescription = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
benefitType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Вид контента
|
|
27
|
-
* @default
|
|
31
|
+
* @default { "benefitType": "" }
|
|
28
32
|
*/
|
|
29
|
-
export declare type DescriptionDef =
|
|
33
|
+
export declare type DescriptionDef = EmptyDescription | TextBenefitDef | ListBenefitDef;
|
|
30
34
|
/**
|
|
31
35
|
* @title Преимущество
|
|
32
36
|
*/
|
|
@@ -37,7 +37,6 @@ const ParagraphBlock_1 = require("./ParagraphBlock/ParagraphBlock");
|
|
|
37
37
|
const Placeholder_1 = require("./Placeholder/Placeholder");
|
|
38
38
|
const ProductBlock_1 = require("./ProductBlock/ProductBlock");
|
|
39
39
|
const ProductGallery_1 = require("./ProductGallery/ProductGallery");
|
|
40
|
-
const ProductTile_1 = require("./ProductTile/ProductTile");
|
|
41
40
|
const RepresentativeOfficeInfo_1 = require("./RepresentativeOfficeInfo/RepresentativeOfficeInfo");
|
|
42
41
|
const RichTextBlock_1 = require("./RichTextBlock/RichTextBlock");
|
|
43
42
|
const RollupItem_1 = require("./RollupItem/RollupItem");
|
|
@@ -48,7 +47,6 @@ const SwipeListControlBlock_1 = require("./SwipeListControlBlock/SwipeListContro
|
|
|
48
47
|
const Tabs_1 = require("./Tabs/Tabs");
|
|
49
48
|
const TariffsTable_1 = require("./TariffsTable/TariffsTable");
|
|
50
49
|
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
51
|
-
const Tile_1 = require("./Tile/Tile");
|
|
52
50
|
const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
|
|
53
51
|
const Video_1 = require("./Video/Video");
|
|
54
52
|
exports.Blocks = {
|
|
@@ -89,7 +87,6 @@ exports.Blocks = {
|
|
|
89
87
|
Placeholder: Placeholder_1.Placeholder,
|
|
90
88
|
ProductBlock: ProductBlock_1.ProductBlock,
|
|
91
89
|
ProductGallery: ProductGallery_1.ProductGallery,
|
|
92
|
-
ProductTile: ProductTile_1.ProductTile,
|
|
93
90
|
RepresentativeOfficeInfo: RepresentativeOfficeInfo_1.RepresentativeOfficeInfo,
|
|
94
91
|
RichTextBlock: RichTextBlock_1.RichTextBlock,
|
|
95
92
|
RollupItem: RollupItem_1.RollupItem,
|
|
@@ -100,7 +97,6 @@ exports.Blocks = {
|
|
|
100
97
|
Tabs: Tabs_1.Tabs,
|
|
101
98
|
TariffsTable: TariffsTable_1.TariffsTable,
|
|
102
99
|
TextBlock: TextBlock_1.TextBlock,
|
|
103
|
-
Tile: Tile_1.Tile,
|
|
104
100
|
VerticalLayout: VerticalLayout_1.VerticalLayout,
|
|
105
101
|
Video: Video_1.Video,
|
|
106
102
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,+FAA4F;AAC5F,8DAA2D;AAC3D,mFAAgF;AAChF,4FAAyF;AACzF,iEAA8D;AAC9D,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,iEAA8D;AAC9D,6EAA0E;AAC1E,wDAAqD;AACrD,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,iEAA8D;AAC9D,gFAA6E;AAC7E,oEAAiE;AACjE,oEAAiE;AACjE,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,+FAA4F;AAC5F,8DAA2D;AAC3D,mFAAgF;AAChF,4FAAyF;AACzF,iEAA8D;AAC9D,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,iEAA8D;AAC9D,6EAA0E;AAC1E,wDAAqD;AACrD,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDA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BAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,wBAAwB,EAAxB,mDAAwB;IACxB,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,qBAAqB,EAArB,6CAAqB;IACrB,gBAAgB,EAAhB,mCAAgB;IAChB,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,cAAc,EAAd,+BAAc;IACd,KAAK,EAAL,aAAK;CACN,CAAC"}
|
|
@@ -30,7 +30,6 @@ const OfficesAtmsMap_1 = require("./OfficesAtmsMap/OfficesAtmsMap");
|
|
|
30
30
|
const Placeholder_1 = require("./Placeholder/Placeholder");
|
|
31
31
|
const ProductBlock_1 = require("./ProductBlock/ProductBlock");
|
|
32
32
|
const ProductGallery_1 = require("./ProductGallery/ProductGallery");
|
|
33
|
-
const ProductTile_1 = require("./ProductTile/ProductTile");
|
|
34
33
|
const RepresentativeOfficeInfo_1 = require("./RepresentativeOfficeInfo/RepresentativeOfficeInfo");
|
|
35
34
|
const RichTextBlock_1 = require("./RichTextBlock/RichTextBlock");
|
|
36
35
|
const RollupItem_1 = require("./RollupItem/RollupItem");
|
|
@@ -40,7 +39,6 @@ const StickyBottomMenu_1 = require("./StickyBottomMenu/StickyBottomMenu");
|
|
|
40
39
|
const Tabs_1 = require("./Tabs/Tabs");
|
|
41
40
|
const TariffsTable_1 = require("./TariffsTable/TariffsTable");
|
|
42
41
|
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
43
|
-
const Tile_1 = require("./Tile/Tile");
|
|
44
42
|
const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
|
|
45
43
|
exports.Blocks = {
|
|
46
44
|
ApplicationForm: ApplicationForm_1.ApplicationForm,
|
|
@@ -73,7 +71,6 @@ exports.Blocks = {
|
|
|
73
71
|
Placeholder: Placeholder_1.Placeholder,
|
|
74
72
|
ProductBlock: ProductBlock_1.ProductBlock,
|
|
75
73
|
ProductGallery: ProductGallery_1.ProductGallery,
|
|
76
|
-
ProductTile: ProductTile_1.ProductTile,
|
|
77
74
|
RepresentativeOfficeInfo: RepresentativeOfficeInfo_1.RepresentativeOfficeInfo,
|
|
78
75
|
RichTextBlock: RichTextBlock_1.RichTextBlock,
|
|
79
76
|
RollupItem: RollupItem_1.RollupItem,
|
|
@@ -83,7 +80,6 @@ exports.Blocks = {
|
|
|
83
80
|
Tabs: Tabs_1.Tabs,
|
|
84
81
|
TariffsTable: TariffsTable_1.TariffsTable,
|
|
85
82
|
TextBlock: TextBlock_1.TextBlock,
|
|
86
|
-
Tile: Tile_1.Tile,
|
|
87
83
|
VerticalLayout: VerticalLayout_1.VerticalLayout,
|
|
88
84
|
};
|
|
89
85
|
//# sourceMappingURL=Blocks.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,+FAA4F;AAC5F,8DAA2D;AAC3D,mFAAgF;AAChF,iEAA8D;AAC9D,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,6EAA0E;AAC1E,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,gFAA6E;AAC7E,oEAAiE;AACjE,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":";;AACA,uEAAoE;AACpE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,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,kBAAkB,EAAlB,uCAAkB;IAClB,cAAc,EAAd,+BAAc;IACd,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,cAAc,EAAd,+BAAc;IACd,wBAAwB,EAAxB,mDAAwB;IACxB,aAAa,EAAb,6BAAa;IACb,UAAU,EAAV,uBAAU;IACV,iBAAiB,EAAjB,qCAAiB;IACjB,UAAU,EAAV,uBAAU;IACV,gBAAgB,EAAhB,mCAAgB;IAChB,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,cAAc,EAAd,+BAAc;CACf,CAAC"}
|
|
@@ -9,7 +9,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
9
9
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
10
10
|
const Headline_1 = require("../Headline/Headline");
|
|
11
11
|
exports.Bonus = (0, uni_jsx_1.JSX)(({ className = '', title, description, bonusItems = [], align = AlignStyles_1.AlignStyles, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap gap-3xl gap-x-m w-full", children: bonusItems.length > 0
|
|
12
|
-
? bonusItems.map((_, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow
|
|
12
|
+
? bonusItems.map((_, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow p-xl sm:p-m border border-gray", children: [(0, jsx_runtime_1.jsx)("div", { className: "grow", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [(0, jsx_runtime_1.jsx)("div", { className: "hidden sm:block", children: (0, renderButtonsSection_1.renderButtonsSection)(_?.buttons) }), _.bonusItemContent?.bonusType
|
|
13
13
|
? renderBonusItemContent(_.bonusItemContent)
|
|
14
14
|
: null] })] }, String(i))))
|
|
15
15
|
: null })] }) })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yDAAsD;AAEtD,4DAAyD;AACzD,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAKnC,QAAA,KAAK,GAAG,IAAA,aAAG,EACtB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,GAAG,EAAE,EAAE,KAAK,GAAG,yBAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACzF,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,YACjE,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,SAAS,EAAC,OAAO,EACjB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,GACZ,EACF,gCAAK,SAAS,EAAC,uCAAuC,YACnD,UAAU,CAAC,MAAM,GAAG,CAAC;oBACpB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACvB,iCAEE,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.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AAC,IAAI,IACJ,KAjBD,MAAM,CAAC,CAAC,CAAC,CAkBV,CACP,CAAC;oBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CACjF,gBAAgB,CAAC,SAAS,KAAK,OAAO;IACpC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;IACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,CAAC;AAE1D,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,kFAAkF,aAC9F,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QACd,+HAA+H;QAC/H,gCAAK,SAAS,EAAC,0BAA0B,YACvC,iCAAM,SAAS,EAAC,sEAAsE,YACnF,CAAC,CAAC,UAAU,GACR,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,8BAA8B,YAC3C,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YAAE,CAAC,CAAC,SAAS,GAAQ,GACrC,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,qCAAqC,EAAC,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type BonusCountDef = {
|
|
|
22
21
|
/** @title Наименование */
|
|
23
22
|
bonusName?: string;
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyBonusItemContent = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
bonusType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Вид контента
|
|
27
|
-
* @default
|
|
31
|
+
* @default { "bonusType": "" }
|
|
28
32
|
*/
|
|
29
|
-
export declare type BonusItemContentDef =
|
|
33
|
+
export declare type BonusItemContentDef = EmptyBonusItemContent | BonusImageDef | BonusCountDef;
|
|
30
34
|
/**
|
|
31
35
|
* @title Плитка
|
|
32
36
|
*/
|
|
@@ -23,7 +23,7 @@ exports.BusinessDepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', ra
|
|
|
23
23
|
isPartialWithdrawal: false,
|
|
24
24
|
isMonthlyInterestPayment: false,
|
|
25
25
|
});
|
|
26
|
-
const calculatorParams = (0, useBusinessDepositCalculatorParams_1.useBusinessDepositCalculatorParams)(userInputParams, rateParams?.sourceBookDir);
|
|
26
|
+
const calculatorParams = (0, useBusinessDepositCalculatorParams_1.useBusinessDepositCalculatorParams)(userInputParams, rateParams?.rateType && rateParams.sourceBookDir);
|
|
27
27
|
const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
|
|
28
28
|
return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('flex flex-col justify-between @5xl:flex-row gap-m', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-y-m sm:max-w-md gap-2xl", children: [(0, renderWantedSumInput_1.renderWantedSumInput)({
|
|
29
29
|
title: 'Сумма, ₽',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessDepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BusinessDepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAAwE;AACxE,mFAAgF;AAChF,6DAA0D;AAC1D,iDAA8C;AAC9C,6CAA0C;AAE1C,iEAA8D;AAC9D,2CAA0E;AAC1E,uDAAoD;AACpD,qDAAkD;AAClD,mEAAgE;AAChE,6CAA0C;AAC1C,iEAA8D;AAC9D,6FAI8C;AAMjC,QAAA,6BAA6B,GAAG,IAAA,aAAG,EAC9C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,EAAE;IACxF,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QAC3C,UAAU,EAAE,gCAAoB;QAChC,SAAS,EAAE,iCAAqB;QAChC,aAAa,EAAE,KAAK;QACpB,mBAAmB,EAAE,KAAK;QAC1B,wBAAwB,EAAE,KAAK;KAChC,CAAC,CAAC;IAEH,MAAM,gBAAgB,GAAG,IAAA,uEAAkC,EACzD,eAAe,EACf,UAAU,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"BusinessDepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BusinessDepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAAwE;AACxE,mFAAgF;AAChF,6DAA0D;AAC1D,iDAA8C;AAC9C,6CAA0C;AAE1C,iEAA8D;AAC9D,2CAA0E;AAC1E,uDAAoD;AACpD,qDAAkD;AAClD,mEAAgE;AAChE,6CAA0C;AAC1C,iEAA8D;AAC9D,6FAI8C;AAMjC,QAAA,6BAA6B,GAAG,IAAA,aAAG,EAC9C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,EAAE;IACxF,MAAM,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC;QA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EAAC,QAAG,GAAG,IAC7E,CACP,CAAC"}
|
|
@@ -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';
|
|
@@ -22,11 +21,16 @@ export declare type ULRateDef = RateParams & {
|
|
|
22
21
|
export declare type IPRateDef = RateParams & {
|
|
23
22
|
rateType: 'IP';
|
|
24
23
|
};
|
|
24
|
+
/** @title Не выбрано * */
|
|
25
|
+
export declare type EmptyRateParams = {
|
|
26
|
+
/** @default "" */
|
|
27
|
+
rateType: '';
|
|
28
|
+
};
|
|
25
29
|
/**
|
|
26
30
|
* @title Назначение ставки
|
|
27
|
-
* @default
|
|
31
|
+
* @default {"rateType": ""}
|
|
28
32
|
*/
|
|
29
|
-
export declare type RateParamsDef =
|
|
33
|
+
export declare type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
30
34
|
export declare type CommonCalculatorProps = Footnote & ButtonsSectionContent & {
|
|
31
35
|
/** @title Адрес справочника */
|
|
32
36
|
sourceBookDir?: string;
|
|
@@ -128,11 +132,16 @@ export declare type BonusCalculatorParamsDef = TitleProps & CommonCalculatorProp
|
|
|
128
132
|
export declare type RefinancingCalculatorParamsDef = TitleProps & RefinancingCalculatorProps & {
|
|
129
133
|
calcType: 'RefinancingCalculatorForm';
|
|
130
134
|
};
|
|
135
|
+
/** @title Не выбрано * */
|
|
136
|
+
export declare type EmptyCalculatorBlock = {
|
|
137
|
+
/** @default "" */
|
|
138
|
+
calcType: '';
|
|
139
|
+
};
|
|
131
140
|
/**
|
|
132
141
|
* @title Настройки калькулятора
|
|
133
|
-
* @default
|
|
142
|
+
* @default { "calcType": "" }
|
|
134
143
|
*/
|
|
135
|
-
export declare type CalculatorBlockDef =
|
|
144
|
+
export declare type CalculatorBlockDef = EmptyCalculatorBlock | CreditCalculatorParamsDef | DepositCalculatorParamsDef | BusinessDepositCalculatorParamsDef | BonusCalculatorParamsDef | RefinancingCalculatorParamsDef;
|
|
136
145
|
/**
|
|
137
146
|
* @title Кнопка навигации
|
|
138
147
|
*/
|
|
@@ -20,6 +20,9 @@ exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', title, description, ali
|
|
|
20
20
|
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
|
|
21
21
|
});
|
|
22
22
|
const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
|
|
23
|
+
if (docBlockDef?.docType === '') {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
23
26
|
const href = docBlockDef?.docType === 'Attachment'
|
|
24
27
|
? (0, adjustHref_1.adjustHref)(router)(docBlockDef?.attachment?.src)
|
|
25
28
|
: docBlockDef?.href;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAA+D;AAG/D,4DAAyD;AACzD,8CAA2C;AAC3C,uDAAoD;AACpD,yDAAsD;AACtD,6CAA0C;AAC1C,mDAAgD;AAChD,+CAA4C;AAE5C,mDAAgD;AAEhD,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,aAAa;CACtB,CA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B,MAAM,QAAQ,GACZ,WAAW,EAAE,OAAO,KAAK,YAAY;QACnC,CAAC,CAAC,IAAA,yBAAW,EAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,IAAI,CAAC,CAAC;QACrD,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC;IAE5B,MAAM,UAAU,GAAG,WAAW,EAAE,OAAO,KAAK,YAAY,CAAC,CAAC,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAExF,OAAO,CACL,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,yBAAW,IACV,IAAI,EAAE,WAAW,EAAE,IAAI,EACvB,MAAM,EAAE,WAAW,EAAE,MAAM,EAC3B,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,6BAAa,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GACzF,IARM,MAAM,CAAC,CAAC,CAAC,CASb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -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';
|
|
@@ -28,23 +27,28 @@ export interface AttachmentDoc {
|
|
|
28
27
|
}
|
|
29
28
|
/**
|
|
30
29
|
* @title Ссылка на документ
|
|
31
|
-
* @default {"docType": "Link"}
|
|
32
30
|
*/
|
|
33
31
|
export declare type LinkDocDef = LinkDoc & {
|
|
32
|
+
/** @default "Link" */
|
|
34
33
|
docType: 'Link';
|
|
35
34
|
};
|
|
36
35
|
/**
|
|
37
36
|
* @title Файл
|
|
38
|
-
* @default {"docType": "Attachment"}
|
|
39
37
|
*/
|
|
40
38
|
export declare type AttachmentDocDef = AttachmentDoc & {
|
|
39
|
+
/** @default "Attachment" */
|
|
41
40
|
docType: 'Attachment';
|
|
42
41
|
};
|
|
42
|
+
/** @title Не выбрано * */
|
|
43
|
+
export declare type EmptyDocType = {
|
|
44
|
+
/** @default "" */
|
|
45
|
+
docType: '';
|
|
46
|
+
};
|
|
43
47
|
/**
|
|
44
48
|
* @title Документ
|
|
45
|
-
* @default
|
|
49
|
+
* @default {"docType": ""}
|
|
46
50
|
*/
|
|
47
|
-
export declare type DocBlockDef =
|
|
51
|
+
export declare type DocBlockDef = EmptyDocType | LinkDocDef | AttachmentDocDef;
|
|
48
52
|
/**
|
|
49
53
|
* @title Список документов
|
|
50
54
|
*/
|
|
@@ -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
|
/**
|
|
@@ -27,11 +26,16 @@ export declare type AtmsDef = {
|
|
|
27
26
|
/** @title Список */
|
|
28
27
|
list?: ItemList[];
|
|
29
28
|
};
|
|
29
|
+
/** @title Не выбрано * */
|
|
30
|
+
export declare type EmptyOfficesAtmsBlock = {
|
|
31
|
+
/** @default "" */
|
|
32
|
+
dataType: '';
|
|
33
|
+
};
|
|
30
34
|
/**
|
|
31
35
|
* @title Данные
|
|
32
|
-
* @default
|
|
36
|
+
* @default { "dataType": "" }
|
|
33
37
|
*/
|
|
34
|
-
export declare type OfficesAtmsBlockDef =
|
|
38
|
+
export declare type OfficesAtmsBlockDef = EmptyOfficesAtmsBlock | OfficesDef | AtmsDef;
|
|
35
39
|
/**
|
|
36
40
|
* @title Блок офисов и банкоматов
|
|
37
41
|
*/
|
|
@@ -2,21 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ProductBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
-
const useRouter_1 = require("../../hooks/useRouter");
|
|
7
5
|
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
8
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
9
7
|
const getBorderStyle_1 = require("../../utils/getBorderStyle");
|
|
10
8
|
const style_1 = require("../../utils/style");
|
|
11
|
-
|
|
12
|
-
exports.ProductBlock = (0, uni_jsx_1.JSX)(({ className, padding, backwardButton, showBorder, ...rest }) => {
|
|
13
|
-
const router = (0, useRouter_1.useRouter)();
|
|
14
|
-
const handleClick = (0, hooks_1.useCallback)((ev) => {
|
|
15
|
-
ev?.preventDefault();
|
|
16
|
-
router.back();
|
|
17
|
-
}, []);
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden flex flex-col gap-3xl box-border', (0, getBorderStyle_1.getBorderStyle)(showBorder), className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
|
|
19
|
-
? (0, renderBackwardButton_1.renderBackwardButton)(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
|
|
20
|
-
: null, (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "grow h-full", ...rest })] }));
|
|
21
|
-
});
|
|
9
|
+
exports.ProductBlock = (0, uni_jsx_1.JSX)(({ className, padding, showBorder, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden flex flex-col gap-3xl box-border', (0, getBorderStyle_1.getBorderStyle)(showBorder), className), padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { defaultPadding: "p-6xl", padding: padding, className: "grow h-full", ...rest }) })));
|
|
22
10
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AACzD,+DAA4D;AAC5D,6CAA0C;AAK7B,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC/C,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,kDAAkD,EAClD,IAAA,+BAAc,EAAC,UAAU,CAAC,EAC1B,SAAS,CACV,EACD,OAAO,EAAC,KAAK,KACT,IAAI,YAER,uBAAC,iCAAe,IAAC,cAAc,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,aAAa,KAAK,IAAI,GAAI,GACjF,CAChB,CACF,CAAC"}
|
|
@@ -5,14 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const TariffsTableRenderCell_1 = require("./TariffsTableRenderCell");
|
|
6
6
|
exports.TariffsTableCell = (0, uni_jsx_1.JSX)(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
|
|
7
7
|
return ((0, jsx_runtime_1.jsx)("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
|
|
8
|
-
? cells.map((0,
|
|
9
|
-
rowIdx,
|
|
10
|
-
cellIdx,
|
|
11
|
-
setTableInner,
|
|
12
|
-
tableInner,
|
|
13
|
-
openTableInnerIdx,
|
|
14
|
-
setOpenTableInnerIdx,
|
|
15
|
-
}))
|
|
8
|
+
? cells.map((_, i) => ((0, jsx_runtime_1.jsx)(TariffsTableRenderCell_1.RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
|
|
16
9
|
: null }));
|
|
17
10
|
});
|
|
18
11
|
//# sourceMappingURL=TariffsTableCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,qEAA2D;AAe9C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,EAAE;IACH,OAAO,CACL,gCAAK,SAAS,EAAC,gDAAgD,EAAC,IAAI,EAAC,MAAM,YACxE,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,qEAA2D;AAe9C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,EAAE;IACH,OAAO,CACL,gCAAK,SAAS,EAAC,gDAAgD,EAAC,IAAI,EAAC,MAAM,YACxE,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAClB,uBAAC,wCAAe,IAEd,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,EACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,oBAAoB,IARrC,MAAM,CAAC,CAAC,CAAC,CASd,CACH,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|