@redneckz/wildless-cms-uni-blocks 0.6.18 → 0.6.20
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.6.19.js +21 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +129 -77
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Blocks.d.ts +2 -41
- package/bundle/components/Blocks.mobile.d.ts +2 -18
- package/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- package/bundle/components/ContentPage/mapSlot.d.ts +2 -0
- package/bundle/components/ContentPage/normalizeBlock.d.ts +3 -11
- package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +3 -2
- package/bundle/components/ContentPage/renderBlock.d.ts +7 -3
- package/bundle/components/ContentPage/renderBlockList.d.ts +14 -0
- package/bundle/components/ContentPage/renderSlots.d.ts +12 -0
- package/bundle/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +7 -1
- package/bundle/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/bundle/model/BlockDecorator.d.ts +4 -3
- package/bundle/model/BlocksRegistry.d.ts +1 -1
- package/bundle/model/ContentPageDef.d.ts +1 -4
- package/bundle/model/JSXBlock.d.ts +3 -1
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/dist/components/Blocks.d.ts +2 -41
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.d.ts +2 -18
- 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/ContentPage/ContentPage.d.ts +2 -2
- package/dist/components/ContentPage/ContentPage.js +12 -11
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/mapSlot.d.ts +2 -0
- package/dist/components/ContentPage/mapSlot.js +14 -0
- package/dist/components/ContentPage/mapSlot.js.map +1 -0
- package/dist/components/ContentPage/normalizeBlock.d.ts +3 -11
- package/dist/components/ContentPage/normalizeBlock.js +13 -3
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +3 -2
- package/dist/components/ContentPage/normalizeBlock.mobile.js +18 -3
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.js +2 -14
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/ContentPage/renderBlock.d.ts +7 -3
- package/dist/components/ContentPage/renderBlock.js +9 -9
- package/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/dist/components/ContentPage/renderBlockList.d.ts +14 -0
- package/dist/components/ContentPage/renderBlockList.js +18 -0
- package/dist/components/ContentPage/renderBlockList.js.map +1 -0
- package/dist/components/ContentPage/renderSlots.d.ts +12 -0
- package/dist/components/ContentPage/renderSlots.js +17 -0
- package/dist/components/ContentPage/renderSlots.js.map +1 -0
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -3
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/renderItems.js +1 -4
- package/dist/components/StepsBlock/renderItems.js.map +1 -1
- package/dist/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/dist/components/StepsBlock/renderStepContent.js +13 -8
- package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +7 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +4 -11
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/dist/components/TariffsTable/TariffsTableCell.js +13 -18
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +42 -0
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +6 -2
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +2 -8
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/model/BlockDecorator.d.ts +4 -3
- package/dist/model/BlockDecorator.js +1 -2
- package/dist/model/BlockDecorator.js.map +1 -1
- package/dist/model/BlocksRegistry.d.ts +1 -1
- package/dist/model/ContentPageDef.d.ts +1 -4
- package/dist/model/JSXBlock.d.ts +3 -1
- package/dist/model/getParentBlockDef.js +5 -2
- package/dist/model/getParentBlockDef.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -6
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.d.ts +2 -41
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.d.ts +2 -18
- 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/ContentPage/ContentPage.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.js +12 -11
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/mapSlot.d.ts +2 -0
- package/lib/components/ContentPage/mapSlot.js +11 -0
- package/lib/components/ContentPage/mapSlot.js.map +1 -0
- package/lib/components/ContentPage/normalizeBlock.d.ts +3 -11
- package/lib/components/ContentPage/normalizeBlock.js +13 -3
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +3 -2
- package/lib/components/ContentPage/normalizeBlock.mobile.js +18 -3
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.js +2 -14
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/ContentPage/renderBlock.d.ts +7 -3
- package/lib/components/ContentPage/renderBlock.js +9 -9
- package/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/lib/components/ContentPage/renderBlockList.d.ts +14 -0
- package/lib/components/ContentPage/renderBlockList.js +15 -0
- package/lib/components/ContentPage/renderBlockList.js.map +1 -0
- package/lib/components/ContentPage/renderSlots.d.ts +12 -0
- package/lib/components/ContentPage/renderSlots.js +14 -0
- package/lib/components/ContentPage/renderSlots.js.map +1 -0
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +6 -2
- package/lib/components/StepsBlock/StepsBlock.js +3 -3
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/renderItems.js +1 -4
- package/lib/components/StepsBlock/renderItems.js.map +1 -1
- package/lib/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/lib/components/StepsBlock/renderStepContent.js +14 -9
- package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +7 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +4 -11
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/lib/components/TariffsTable/TariffsTableCell.js +14 -19
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +39 -0
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +6 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -8
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/model/BlockDecorator.d.ts +4 -3
- package/lib/model/BlockDecorator.js +0 -1
- package/lib/model/BlockDecorator.js.map +1 -1
- package/lib/model/BlocksRegistry.d.ts +1 -1
- package/lib/model/ContentPageDef.d.ts +1 -4
- package/lib/model/JSXBlock.d.ts +3 -1
- package/lib/model/getParentBlockDef.js +5 -2
- package/lib/model/getParentBlockDef.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/lib/ui-kit/InnerTable/InnerTable.js +3 -2
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -6
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +50 -23
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Blocks.d.ts +2 -18
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/bundle/components/ContentPage/mapSlot.d.ts +2 -0
- package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +3 -2
- package/mobile/bundle/components/ContentPage/renderBlock.d.ts +7 -3
- package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +14 -0
- package/mobile/bundle/components/ContentPage/renderSlots.d.ts +12 -0
- package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/mobile/bundle/model/BlockDecorator.d.ts +4 -3
- package/mobile/bundle/model/BlocksRegistry.d.ts +1 -1
- package/mobile/bundle/model/ContentPageDef.d.ts +1 -4
- package/mobile/bundle/model/JSXBlock.d.ts +3 -1
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/mobile/dist/components/Blocks.d.ts +2 -18
- 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/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js +12 -11
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/mapSlot.d.ts +2 -0
- package/mobile/dist/components/ContentPage/mapSlot.js +14 -0
- package/mobile/dist/components/ContentPage/mapSlot.js.map +1 -0
- package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +3 -2
- package/mobile/dist/components/ContentPage/normalizeBlock.js +18 -3
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +2 -14
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderBlock.d.ts +7 -3
- package/mobile/dist/components/ContentPage/renderBlock.js +9 -9
- package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderBlockList.d.ts +14 -0
- package/mobile/dist/components/ContentPage/renderBlockList.js +18 -0
- package/mobile/dist/components/ContentPage/renderBlockList.js.map +1 -0
- package/mobile/dist/components/ContentPage/renderSlots.d.ts +12 -0
- package/mobile/dist/components/ContentPage/renderSlots.js +17 -0
- package/mobile/dist/components/ContentPage/renderSlots.js.map +1 -0
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderItems.js +1 -4
- package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/renderStepContent.js +13 -8
- package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +13 -18
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +42 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +2 -8
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/model/BlockDecorator.d.ts +4 -3
- package/mobile/dist/model/BlockDecorator.js +1 -2
- package/mobile/dist/model/BlockDecorator.js.map +1 -1
- package/mobile/dist/model/BlocksRegistry.d.ts +1 -1
- package/mobile/dist/model/ContentPageDef.d.ts +1 -4
- package/mobile/dist/model/JSXBlock.d.ts +3 -1
- package/mobile/dist/model/getParentBlockDef.js +5 -2
- package/mobile/dist/model/getParentBlockDef.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -6
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/components/Blocks.d.ts +2 -18
- 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/ContentPage/ContentPage.d.ts +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js +12 -11
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/mapSlot.d.ts +2 -0
- package/mobile/lib/components/ContentPage/mapSlot.js +11 -0
- package/mobile/lib/components/ContentPage/mapSlot.js.map +1 -0
- package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +3 -2
- package/mobile/lib/components/ContentPage/normalizeBlock.js +18 -3
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +2 -14
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlock.d.ts +7 -3
- package/mobile/lib/components/ContentPage/renderBlock.js +9 -9
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlockList.d.ts +14 -0
- package/mobile/lib/components/ContentPage/renderBlockList.js +15 -0
- package/mobile/lib/components/ContentPage/renderBlockList.js.map +1 -0
- package/mobile/lib/components/ContentPage/renderSlots.d.ts +12 -0
- package/mobile/lib/components/ContentPage/renderSlots.js +14 -0
- package/mobile/lib/components/ContentPage/renderSlots.js.map +1 -0
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderItems.js +1 -4
- package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/renderStepContent.js +14 -9
- package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +8 -2
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -19
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -4
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +11 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +39 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +3 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -8
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/model/BlockDecorator.d.ts +4 -3
- package/mobile/lib/model/BlockDecorator.js +0 -1
- package/mobile/lib/model/BlockDecorator.js.map +1 -1
- package/mobile/lib/model/BlocksRegistry.d.ts +1 -1
- package/mobile/lib/model/ContentPageDef.d.ts +1 -4
- package/mobile/lib/model/JSXBlock.d.ts +3 -1
- package/mobile/lib/model/getParentBlockDef.js +5 -2
- package/mobile/lib/model/getParentBlockDef.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +3 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -6
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/src/components/Blocks.ts +2 -1
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +7 -10
- package/mobile/src/components/ContentPage/ContentPage.tsx +24 -28
- package/mobile/src/components/ContentPage/mapSlot.ts +17 -0
- package/mobile/src/components/ContentPage/normalizeBlock.ts +26 -4
- package/mobile/src/components/ContentPage/normalizePage.ts +3 -20
- package/mobile/src/components/ContentPage/renderBlock.tsx +16 -18
- package/mobile/src/components/ContentPage/renderBlockList.tsx +39 -0
- package/mobile/src/components/ContentPage/renderSlots.tsx +33 -0
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +5 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/mobile/src/components/StepsBlock/renderItems.tsx +5 -8
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +40 -15
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +39 -45
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +3 -4
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +88 -0
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +18 -9
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +5 -20
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -1
- package/mobile/src/model/BlockDecorator.ts +4 -4
- package/mobile/src/model/BlocksRegistry.ts +1 -1
- package/mobile/src/model/ContentPageDef.ts +1 -5
- package/mobile/src/model/JSXBlock.ts +3 -1
- package/mobile/src/model/getParentBlockDef.ts +6 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +13 -4
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +20 -26
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +2 -2
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +16 -4
- package/src/components/Blocks.mobile.ts +2 -1
- package/src/components/Blocks.ts +2 -1
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/ContentPage/ContentPage.page.json +7 -10
- package/src/components/ContentPage/ContentPage.tsx +24 -28
- package/src/components/ContentPage/mapSlot.ts +17 -0
- package/src/components/ContentPage/normalizeBlock.mobile.ts +26 -4
- package/src/components/ContentPage/normalizeBlock.ts +17 -4
- package/src/components/ContentPage/normalizePage.ts +3 -20
- package/src/components/ContentPage/renderBlock.tsx +16 -18
- package/src/components/ContentPage/renderBlockList.tsx +39 -0
- package/src/components/ContentPage/renderSlots.tsx +33 -0
- package/src/components/ProductBlock/renderBackwardButton.tsx +5 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +72 -81
- package/src/components/StepsBlock/StepsBlock.tsx +3 -3
- package/src/components/StepsBlock/renderItems.tsx +5 -8
- package/src/components/StepsBlock/renderStepContent.tsx +40 -15
- package/src/components/TariffsTable/EmbeddableCellData.tsx +20 -18
- package/src/components/TariffsTable/TariffsTable.tsx +1 -2
- package/src/components/TariffsTable/TariffsTableCell.tsx +39 -45
- package/src/components/TariffsTable/TariffsTableContent.ts +3 -4
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +88 -0
- package/src/components/TariffsTable/TariffsTableRow.tsx +18 -9
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +5 -20
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -1
- package/src/model/BlockDecorator.ts +4 -4
- package/src/model/BlocksRegistry.ts +1 -1
- package/src/model/ContentPageDef.ts +1 -5
- package/src/model/JSXBlock.ts +3 -1
- package/src/model/getParentBlockDef.ts +6 -2
- package/src/ui-kit/InnerTable/InnerTable.tsx +13 -4
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +20 -26
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/Radio/Radio.tsx +2 -2
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/bundle/components/ContentPage/filterBlocks.d.ts +0 -12
- package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +0 -12
- package/dist/components/ContentPage/filterBlocks.d.ts +0 -12
- package/dist/components/ContentPage/filterBlocks.js +0 -6
- package/dist/components/ContentPage/filterBlocks.js.map +0 -1
- package/dist/components/ContentPage/filterBlocks.mobile.d.ts +0 -12
- package/dist/components/ContentPage/filterBlocks.mobile.js +0 -8
- package/dist/components/ContentPage/filterBlocks.mobile.js.map +0 -1
- package/lib/components/ContentPage/filterBlocks.d.ts +0 -12
- package/lib/components/ContentPage/filterBlocks.js +0 -3
- package/lib/components/ContentPage/filterBlocks.js.map +0 -1
- package/lib/components/ContentPage/filterBlocks.mobile.d.ts +0 -12
- package/lib/components/ContentPage/filterBlocks.mobile.js +0 -5
- package/lib/components/ContentPage/filterBlocks.mobile.js.map +0 -1
- package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +0 -3
- package/mobile/dist/components/ContentPage/filterBlocks.d.ts +0 -3
- package/mobile/dist/components/ContentPage/filterBlocks.js +0 -8
- package/mobile/dist/components/ContentPage/filterBlocks.js.map +0 -1
- package/mobile/lib/components/ContentPage/filterBlocks.d.ts +0 -3
- package/mobile/lib/components/ContentPage/filterBlocks.js +0 -5
- package/mobile/lib/components/ContentPage/filterBlocks.js.map +0 -1
- package/mobile/src/components/ContentPage/filterBlocks.ts +0 -11
- package/src/components/ContentPage/filterBlocks.mobile.ts +0 -11
- package/src/components/ContentPage/filterBlocks.ts +0 -6
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
|
-
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
5
5
|
import type { Picture } from '../../model/Picture';
|
|
6
6
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
7
|
-
import type { HeadingProps } from '../../ui-kit/Heading/HeadingProps';
|
|
8
7
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
9
8
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
10
9
|
/**
|
|
@@ -38,7 +37,7 @@ export declare type Data = {
|
|
|
38
37
|
/**
|
|
39
38
|
* @title Параметр
|
|
40
39
|
*/
|
|
41
|
-
export declare type TariffsTableRowHeader =
|
|
40
|
+
export declare type TariffsTableRowHeader = TitleProps & {
|
|
42
41
|
/** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
|
|
43
42
|
icon?: Picture;
|
|
44
43
|
};
|
|
@@ -97,7 +96,7 @@ export interface TariffsTableColumn {
|
|
|
97
96
|
/**
|
|
98
97
|
* @title Таблица тарифов
|
|
99
98
|
*/
|
|
100
|
-
export declare type TariffsTableContent =
|
|
99
|
+
export declare type TariffsTableContent = TitleProps & DescriptionProps & {
|
|
101
100
|
/** @title Колонки */
|
|
102
101
|
tariffsColumns?: TariffsTableColumn[];
|
|
103
102
|
/** @title Параметры */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
3
|
+
import type { TariffTableContentProps } from './TariffsTableCell';
|
|
4
|
+
import type { CellDef } from './TariffsTableContent';
|
|
5
|
+
interface TariffTableCellInnerProps extends TariffTableContentProps {
|
|
6
|
+
cellIdx: number;
|
|
7
|
+
context: ContentPageContext;
|
|
8
|
+
rowIdx: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const renderCellInner: ({ rowIdx, context, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }: TariffTableCellInnerProps) => (cell: CellDef, i: number) => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderCellInner = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
|
+
const EmbeddableCellData_1 = require("./EmbeddableCellData");
|
|
6
|
+
const renderCellInner = ({ rowIdx, context, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (cell, i) => {
|
|
7
|
+
const [isVisible, setVisibility] = (0, hooks_1.useState)(true);
|
|
8
|
+
(0, hooks_1.useEffect)(() => {
|
|
9
|
+
if (cellIdx !== openTableInnerIdx || !tableInner) {
|
|
10
|
+
setVisibility(true);
|
|
11
|
+
}
|
|
12
|
+
}, [tableInner, openTableInnerIdx]);
|
|
13
|
+
const displayTable = (props) => {
|
|
14
|
+
setVisibility(false);
|
|
15
|
+
setOpenTableInnerIdx(cellIdx);
|
|
16
|
+
setTableInner(props);
|
|
17
|
+
};
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: cell?.tableCellType === 'Table' ? 'ml-10' : `first:pt-5 last:pb-5 pl-10`, children: [i > 0 ? (0, jsx_runtime_1.jsx)("div", { className: "h-5" }) : null, renderCell({
|
|
19
|
+
cell,
|
|
20
|
+
cellProps: {
|
|
21
|
+
rowIdx,
|
|
22
|
+
cellIdx,
|
|
23
|
+
fieldIdx: i,
|
|
24
|
+
displayTable,
|
|
25
|
+
isVisible,
|
|
26
|
+
context,
|
|
27
|
+
},
|
|
28
|
+
})] }, String(i)));
|
|
29
|
+
};
|
|
30
|
+
exports.renderCellInner = renderCellInner;
|
|
31
|
+
const renderCell = ({ cell, cellProps }) => {
|
|
32
|
+
if (!cell) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
const { tableCellType: type, ...rest } = cell;
|
|
36
|
+
if (!type || !(type in EmbeddableCellData_1.EmbeddableCellData)) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
const EmbeddableCellInner = EmbeddableCellData_1.EmbeddableCellData[type];
|
|
40
|
+
return (0, jsx_runtime_1.jsx)(EmbeddableCellInner, { ...cellProps, ...rest });
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=TariffsTableRenderCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TariffsTableRenderCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRenderCell.tsx"],"names":[],"mappings":";;;AAAA,uDAAkE;AAGlE,6DAA0D;AAwBnD,MAAM,eAAe,GAC1B,CAAC,EACC,MAAM,EACN,OAAO,EACP,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACM,EAAE,EAAE,CAChC,CAAC,IAAa,EAAE,CAAS,EAAE,EAAE;IAC3B,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IAElD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,OAAO,KAAK,iBAAiB,IAAI,CAAC,UAAU,EAAE;YAChD,aAAa,CAAC,IAAI,CAAC,CAAC;SACrB;IACH,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEpC,MAAM,YAAY,GAAG,CAAC,KAA+B,EAAE,EAAE;QACvD,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAC9B,aAAa,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO,CACL,iCAEE,SAAS,EAAE,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,4BAA4B,aAElF,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,EACtC,UAAU,CAAC;gBACV,IAAI;gBACJ,SAAS,EAAE;oBACT,MAAM;oBACN,OAAO;oBACP,QAAQ,EAAE,CAAC;oBACX,YAAY;oBACZ,SAAS;oBACT,OAAO;iBACR;aACF,CAAC,KAdG,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;AACJ,CAAC,CAAC;AA5CS,QAAA,eAAe,mBA4CxB;AAEJ,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAmB,EAAE,EAAE;IAC1D,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE9C,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,uCAAkB,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,MAAM,mBAAmB,GAAG,uCAAkB,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO,uBAAC,mBAAmB,OAAK,SAAS,KAAM,IAAI,GAAI,CAAC;AAC1D,CAAC,CAAC"}
|
|
@@ -3,7 +3,6 @@ import type { Data } from './TariffsTableContent';
|
|
|
3
3
|
export interface TariffsTableRowProps extends UniBlockProps {
|
|
4
4
|
row: Data;
|
|
5
5
|
activeCardIndex: number;
|
|
6
|
-
isLastRow: boolean;
|
|
7
6
|
rowIdx: number;
|
|
8
7
|
}
|
|
9
8
|
export declare const TariffsTableRow: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowProps, any, any>;
|
|
@@ -2,12 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.TariffsTableRow = 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");
|
|
5
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
7
|
const TableCarouselContainer_1 = require("../ComparisonTable/TableCarouselContainer");
|
|
7
8
|
const constants_1 = require("./constants");
|
|
8
9
|
const TariffsTableCell_1 = require("./TariffsTableCell");
|
|
9
10
|
const TariffsTableRowContainer_1 = require("./TariffsTableRowContainer");
|
|
10
|
-
exports.TariffsTableRow = (0, uni_jsx_1.JSX)(({ row: { header, data }, activeCardIndex,
|
|
11
|
-
|
|
11
|
+
exports.TariffsTableRow = (0, uni_jsx_1.JSX)(({ row: { header, data }, activeCardIndex, context, rowIdx }) => {
|
|
12
|
+
const [tableInner, setTableInner] = (0, hooks_1.useState)(undefined);
|
|
13
|
+
const [openTableInnerIdx, setOpenTableInnerIdx] = (0, hooks_1.useState)(undefined);
|
|
14
|
+
const onHideContentClick = () => setTableInner(undefined);
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(TariffsTableRowContainer_1.TariffsTableRowContainer, { context: context, onHideContentClick: onHideContentClick, tableInner: tableInner, children: [(0, jsx_runtime_1.jsx)("div", { className: `text-s py-5 ${constants_1.FIRST_CELL_CLASSES} ${constants_1.DIVIDER_CLASSES}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title ? (0, jsx_runtime_1.jsx)("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? ((0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => ((0, jsx_runtime_1.jsx)(TariffsTableCell_1.TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, context: context, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i)))) })) : null] }));
|
|
12
16
|
});
|
|
13
17
|
//# sourceMappingURL=TariffsTableRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,8CAA2C;AAE3C,sFAAmF;AACnF,2CAAgF;AAChF,yDAAsD;AAEtD,yEAAsE;AAQzD,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAuC,SAAS,CAAC,CAAC;IAC9F,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,IAAA,gBAAQ,EAAqB,SAAS,CAAC,CAAC;IAE1F,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAE1D,OAAO,CACL,wBAAC,mDAAwB,IACvB,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,EAAE,UAAU,aAEtB,gCAAK,SAAS,EAAE,eAAe,8BAAkB,IAAI,2BAAe,EAAE,YACpE,iCAAK,SAAS,EAAC,qCAAqC,EAAC,IAAI,EAAC,MAAM,aAC7D,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,uBAAC,SAAG,IACF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAE,MAAM,CAAC,IAAI,EAClB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,cAAc,YAAE,MAAM,EAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,IACvE,GACF,EACL,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,+CAAsB,IACrB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,wBAAY,EACzB,OAAO,EAAC,QAAQ,YAEf,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,mCAAgB,IAEf,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,EACV,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,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACiB,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { VNode } from '../../model/VNode';
|
|
3
|
+
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
3
4
|
export interface TariffsTableRowContainerProps extends UniBlockProps {
|
|
4
5
|
children?: VNode;
|
|
5
|
-
|
|
6
|
+
onHideContentClick: () => void;
|
|
7
|
+
tableInner?: TariffsTableInnerContent;
|
|
6
8
|
}
|
|
7
9
|
export declare const TariffsTableRowContainer: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowContainerProps, any, any>;
|
|
@@ -2,14 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.TariffsTableRowContainer = 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 EventBus_1 = require("../../EventBus/EventBus");
|
|
7
5
|
const InnerTable_1 = require("../../ui-kit/InnerTable/InnerTable");
|
|
8
|
-
exports.TariffsTableRowContainer = (0, uni_jsx_1.JSX)(({ context, children,
|
|
9
|
-
|
|
10
|
-
(0, hooks_1.useEffect)(() => EventBus_1.EventBus.inst.subscribe('tariffInnerTable', (event) => {
|
|
11
|
-
setTableInnerData(rowIdx === event.rowIdx ? { dataUrl: event.dataUrl, pdfUrl: event.pdfUrl } : undefined);
|
|
12
|
-
}), [rowIdx]);
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "self-start flex flex-col", role: "row", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex", children: children }), tableInnerData ? ((0, jsx_runtime_1.jsx)("div", { className: "origin-top animate-expansion", children: (0, jsx_runtime_1.jsx)(InnerTable_1.InnerTable, { context: context, ...tableInnerData }) })) : null] }));
|
|
6
|
+
exports.TariffsTableRowContainer = (0, uni_jsx_1.JSX)(({ context, children, tableInner, onHideContentClick }) => {
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "self-start flex flex-col", role: "row", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex", children: children }), tableInner ? ((0, jsx_runtime_1.jsx)("div", { className: "origin-top animate-expansion", children: (0, jsx_runtime_1.jsx)(InnerTable_1.InnerTable, { context: context, ...tableInner, onClick: onHideContentClick }) })) : null] }));
|
|
14
8
|
});
|
|
15
9
|
//# sourceMappingURL=TariffsTableRowContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,mEAAgE;AASnD,QAAA,wBAAwB,GAAG,IAAA,aAAG,EACzC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,iCAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,KAAK,aAClD,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EACrC,UAAU,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,8BAA8B,YAC3C,uBAAC,uBAAU,IAAC,OAAO,EAAE,OAAO,KAAM,UAAU,EAAE,OAAO,EAAE,kBAAkB,GAAI,GACzE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -17,6 +17,6 @@ const renderCell = (cell, context) => {
|
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
19
19
|
const EmbeddableCellInner = EmbeddableCellData_1.EmbeddableCellData[type];
|
|
20
|
-
return (0, jsx_runtime_1.jsx)(EmbeddableCellInner, { context: context, ...rest });
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(EmbeddableCellInner, { context: context, displayTable: () => null, ...rest, isVisible: true }));
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=TariffsTableTileCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableTileCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableTileCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,uDAAoD;AAQvC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EAA4B,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IACvF,OAAO,CACL,iCAAK,SAAS,EAAC,4DAA4D,aACzE,uBAAC,iCAAe,OAAK,IAAI,CAAC,MAAM,GAAI,EACnC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,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CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/D,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,OAA2B,EAAE,EAAE,CAAC,CAAC,IAAa,EAAE,CAAS,EAAE,EAAE,CACpF,CACE,4CACG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,EACtC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,KAFlB,MAAM,CAAC,CAAC,CAAC,CAGb,CACP,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,IAAa,EAAE,OAA2B,EAAE,EAAE;IAChE,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE9C,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,uCAAkB,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,MAAM,mBAAmB,GAAG,uCAAkB,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO,CACL,uBAAC,mBAAmB,IAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,KAAM,IAAI,EAAE,SAAS,EAAE,IAAI,GAAI,CAC/F,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { BlockDef, Slot
|
|
1
|
+
import type { BlockDef, Slot } from './ContentPageDef';
|
|
2
2
|
export declare const DEFAULT_SLOT_NAME: null;
|
|
3
|
-
export declare type
|
|
4
|
-
export declare
|
|
3
|
+
export declare type SlotName = string | typeof DEFAULT_SLOT_NAME;
|
|
4
|
+
export declare type BlockAncestorItem = [Slot, SlotName];
|
|
5
|
+
export declare type BlockAncestors = BlockAncestorItem[];
|
|
5
6
|
interface BlockDecoratorProps<VNode> {
|
|
6
7
|
blockClassName: string;
|
|
7
8
|
block: BlockDef;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.
|
|
2
|
+
exports.DEFAULT_SLOT_NAME = void 0;
|
|
3
3
|
exports.DEFAULT_SLOT_NAME = null;
|
|
4
|
-
exports.DEFAULT_ANCESTORS = [exports.DEFAULT_SLOT_NAME];
|
|
5
4
|
//# sourceMappingURL=BlockDecorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockDecorator.js","sourceRoot":"","sources":["../../src/model/BlockDecorator.ts"],"names":[],"mappings":";;AAEa,QAAA,iBAAiB,GAAG,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"BlockDecorator.js","sourceRoot":"","sources":["../../src/model/BlockDecorator.ts"],"names":[],"mappings":";;AAEa,QAAA,iBAAiB,GAAG,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { JSXBlock } from './JSXBlock';
|
|
2
|
-
export declare type BlocksRegistry
|
|
2
|
+
export declare type BlocksRegistry = Record<string, JSXBlock<any>>;
|
|
@@ -18,9 +18,7 @@ export interface BlockDef extends BaseBlockDef {
|
|
|
18
18
|
export interface Slot {
|
|
19
19
|
style?: string[];
|
|
20
20
|
blocks?: BlockDef[];
|
|
21
|
-
|
|
22
|
-
export interface SlotsMap {
|
|
23
|
-
header?: Slot;
|
|
21
|
+
slots?: Record<string, BlockDef[]>;
|
|
24
22
|
}
|
|
25
23
|
export interface ContentPageMeta {
|
|
26
24
|
title?: string;
|
|
@@ -37,7 +35,6 @@ export interface ContentPageMeta {
|
|
|
37
35
|
}
|
|
38
36
|
export interface ContentPageDef extends ContentPageMeta, Slot {
|
|
39
37
|
_customPageType?: string;
|
|
40
|
-
slots?: SlotsMap;
|
|
41
38
|
fallback?: Record<string, unknown>;
|
|
42
39
|
likeControl?: boolean;
|
|
43
40
|
colorPalette?: ColorPalette;
|
package/dist/model/JSXBlock.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UNIComponent } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
3
|
-
import type { BlockAncestors } from './BlockDecorator';
|
|
3
|
+
import type { BlockAncestors, SlotName } from './BlockDecorator';
|
|
4
4
|
import type { ContentPageDef } from './ContentPageDef';
|
|
5
5
|
import type { VNode } from './VNode';
|
|
6
6
|
export interface UniBlockProps {
|
|
@@ -10,8 +10,10 @@ export interface UniBlockProps {
|
|
|
10
10
|
ancestors?: BlockAncestors;
|
|
11
11
|
labels?: string[];
|
|
12
12
|
anchor?: string;
|
|
13
|
+
slots?: Record<string, VNode>;
|
|
13
14
|
}
|
|
14
15
|
export declare type JSXBlock<BlockProps = Record<string, any>> = UNIComponent<BlockProps & UniBlockProps, any, VNode | VNode[]> & {
|
|
15
16
|
childrenTypes?: string[];
|
|
17
|
+
slots?: (props: BlockProps) => SlotName[];
|
|
16
18
|
renderChild?: (child: VNode, i: number) => VNode;
|
|
17
19
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getParentBlockDef = void 0;
|
|
3
3
|
function getParentBlockDef(ancestors, type) {
|
|
4
|
-
const [
|
|
5
|
-
|
|
4
|
+
const [block] = (ancestors || [])
|
|
5
|
+
.map((item) => item)
|
|
6
|
+
.reverse()
|
|
7
|
+
.find(([_]) => _ && 'type' in _ && (!type || type === _.type)) || [];
|
|
8
|
+
return block || {};
|
|
6
9
|
}
|
|
7
10
|
exports.getParentBlockDef = getParentBlockDef;
|
|
8
11
|
//# sourceMappingURL=getParentBlockDef.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockDef.js","sourceRoot":"","sources":["../../src/model/getParentBlockDef.ts"],"names":[],"mappings":";;AAGA,SAAgB,iBAAiB,CAAC,SAAqC,EAAE,IAAa;IACpF,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"getParentBlockDef.js","sourceRoot":"","sources":["../../src/model/getParentBlockDef.ts"],"names":[],"mappings":";;AAGA,SAAgB,iBAAiB,CAAC,SAAqC,EAAE,IAAa;IACpF,MAAM,CAAC,KAAK,CAAC,GACX,CAAC,SAAS,IAAI,EAAE,CAAC;SACd,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;SACnB,OAAO,EAAE;SACT,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,KAAM,CAAc,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IAEvF,OAAO,KAAK,IAAI,EAAE,CAAC;AACrB,CAAC;AARD,8CAQC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { TariffsTableInnerContent } from './InnerTableProps';
|
|
3
3
|
export interface InnerTableProps extends TariffsTableInnerContent, UniBlockProps {
|
|
4
|
+
onClick: () => void;
|
|
4
5
|
}
|
|
5
6
|
export declare const InnerTable: import("@redneckz/uni-jsx").UNIComponent<InnerTableProps, any, any>;
|
|
@@ -7,11 +7,12 @@ const useTariffsInnerTableData_1 = require("../../hooks/useTariffsInnerTableData
|
|
|
7
7
|
const InnerTableBody_1 = require("./InnerTableBody");
|
|
8
8
|
const InnerTableButton_1 = require("./InnerTableButton");
|
|
9
9
|
const InnerTableHeader_1 = require("./InnerTableHeader");
|
|
10
|
-
|
|
10
|
+
const EMPTY_DATA = 'Данных нет';
|
|
11
|
+
exports.InnerTable = (0, uni_jsx_1.JSX)(({ context, dataUrl, pdfUrl, onClick }) => {
|
|
11
12
|
const { tableData } = (0, useTariffsInnerTableData_1.useTariffsInnerTableData)(dataUrl);
|
|
12
13
|
const [activeTabIndex, setActiveTabIndex] = (0, hooks_1.useState)(0);
|
|
13
14
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
14
15
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
15
|
-
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, { context: context, activeTabIndex: activeTabIndex, items: items }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { context: context, isOpen: true })] })) :
|
|
16
|
+
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, { context: context, activeTabIndex: activeTabIndex, items: items }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { context: context, onClick: onClick, isOpen: true })] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "my-5 text-h6 text-center", children: [(0, jsx_runtime_1.jsx)("p", { children: EMPTY_DATA }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { context: context, onClick: onClick, isOpen: true })] }));
|
|
16
17
|
});
|
|
17
18
|
//# sourceMappingURL=InnerTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,mFAAgF;AAE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uBAAC,mCAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IAC3D,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { TariffsTableInnerEvent } from './InnerTableProps';
|
|
3
3
|
export interface TableInnerButtonProps extends TariffsTableInnerEvent, UniBlockProps {
|
|
4
|
+
onClick?: () => void;
|
|
4
5
|
isOpen?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const TableInnerButton: import("@redneckz/uni-jsx").UNIComponent<TableInnerButtonProps, any, any>;
|
|
@@ -2,13 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.TableInnerButton = 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 EventBus_1 = require("../../EventBus/EventBus");
|
|
6
5
|
const Button_1 = require("../Button/Button");
|
|
7
6
|
const Icon_1 = require("../Icon/Icon");
|
|
8
|
-
exports.TableInnerButton = (0, uni_jsx_1.JSX)(({ isOpen,
|
|
9
|
-
|
|
10
|
-
EventBus_1.EventBus.inst.fire('tariffInnerTable', { dataUrl, pdfUrl, rowIdx, cellIdx, fieldIdx });
|
|
11
|
-
};
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { version: "primary", onClick: handleClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
|
|
7
|
+
exports.TableInnerButton = (0, uni_jsx_1.JSX)(({ isOpen, onClick }) => {
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
|
|
13
9
|
});
|
|
14
10
|
//# sourceMappingURL=InnerTableButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,uCAAoC;AAQvB,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,OAAO,CACL,wBAAC,eAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,2DAA2D,aAErE,gCAAK,SAAS,EAAC,SAAS,YAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,2BAA2B,GAAO,EAChF,uBAAC,WAAI,IACH,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAC9C,SAAS,EAAC,MAAM,EAChB,WAAW,EAAC,OAAO,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ exports.InputRange = (0, uni_jsx_1.JSX)(({ className, title, items = [], min = 1
|
|
|
16
16
|
const inputStyle = {
|
|
17
17
|
backgroundSize: `${(((value - min) * 100) / (max - min)).toFixed(2)}% 100%`,
|
|
18
18
|
};
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-m-light", children: title }) : null, (0, jsx_runtime_1.jsx)("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-primary-text", children: title }) : null, (0, jsx_runtime_1.jsx)("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
20
20
|
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`, value: (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(value), disabled: disabled, onChange: handleChange, onBlur: handleChange }), (0, jsx_runtime_1.jsx)("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: (0, jsx_runtime_1.jsx)("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: handleChange, style: inputStyle }) })] }), renderRangeCaption(items)] }));
|
|
21
21
|
});
|
|
22
22
|
function renderRangeCaption(items) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAC9E,6CAA0C;AAC1C,qEAAkE;AAGlE,MAAM,sBAAsB,GAAG,sDAAsD,CAAC;AAEzE,QAAA,UAAU,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AO,CACL,gCAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,iCAAsB,SAAS,EAAC,kCAAkC,YAC/D,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -2,5 +2,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Radio = 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
|
-
exports.Radio = (0, uni_jsx_1.JSX)(({ name, text, value, checked, onChange, className }) => ((0, jsx_runtime_1.jsx)("div", { className: className, children: (0, jsx_runtime_1.jsxs)("label", { className: "flex items-center relative cursor-pointer", children: [(0, jsx_runtime_1.jsx)("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? (0, jsx_runtime_1.jsx)("span", { className: "
|
|
5
|
+
exports.Radio = (0, uni_jsx_1.JSX)(({ name, text, value, checked, onChange, className }) => ((0, jsx_runtime_1.jsx)("div", { className: className, children: (0, jsx_runtime_1.jsxs)("label", { className: "font-sans flex items-center relative cursor-pointer", children: [(0, jsx_runtime_1.jsx)("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? (0, jsx_runtime_1.jsx)("span", { className: "text-primary-text ml-3 cursor-pointer", children: text }) : null] }) })));
|
|
6
6
|
//# sourceMappingURL=Radio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/ui-kit/Radio/Radio.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5F,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,qDAAqD,aACpE,kCACE,SAAS,EAAC,uYAEoH,EAC9H,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,EACD,IAAI,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,uCAAuC,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IAC9E,GACJ,CACP,CAAC,CAAC"}
|
|
@@ -19,7 +19,7 @@ exports.Select = (0, uni_jsx_1.JSX)(({ className = '', isBorder = true, label, o
|
|
|
19
19
|
(0, hooks_1.useEffect)(() => {
|
|
20
20
|
setSelectedItem(value || { key: '', text: '' });
|
|
21
21
|
}, [value]);
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `${className}`, ref: wrapperRef, children: [label ? (0, jsx_runtime_1.jsx)("span", { className: "mb-2 flex", children: label }) : null, (0, jsx_runtime_1.jsxs)("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `${className}`, ref: wrapperRef, children: [label ? (0, jsx_runtime_1.jsx)("span", { className: "mb-2 flex text-primary-text", children: label }) : null, (0, jsx_runtime_1.jsxs)("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
|
|
23
23
|
${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [(0, jsx_runtime_1.jsx)("p", { className: "p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: (0, jsx_runtime_1.jsx)("div", { className: `bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
|
|
24
24
|
});
|
|
25
25
|
const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0E;AAC1E,iEAA8D;AAC9D,uCAA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