@redneckz/wildless-cms-uni-blocks 0.14.854 → 0.14.855
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.850.js +70 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +55 -107
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/bundle/components/TariffsTable/renderCell.d.ts +2 -0
- package/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
- package/bundle/model/onClick.d.ts +3 -0
- package/bundle/model/onClose.d.ts +3 -0
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +4 -11
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/dist/components/TariffsTable/TariffsTableCell.js +14 -4
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableRow.js +6 -10
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
- package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/dist/components/TariffsTable/dataFixture.js +1 -14
- package/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/dist/components/TariffsTable/renderCell.d.ts +2 -0
- package/dist/components/TariffsTable/renderCell.js +15 -0
- package/dist/components/TariffsTable/renderCell.js.map +1 -0
- package/dist/components/TariffsTable/renderHeader.d.ts +2 -0
- package/dist/components/TariffsTable/renderHeader.js +10 -0
- package/dist/components/TariffsTable/renderHeader.js.map +1 -0
- package/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/dist/model/onClick.d.ts +3 -0
- package/dist/model/onClick.js +2 -0
- package/dist/model/onClick.js.map +1 -0
- package/dist/model/onClose.d.ts +3 -0
- package/dist/model/onClose.js +2 -0
- package/dist/model/onClose.js.map +1 -0
- package/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.js +2 -3
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -1
- package/lib/components/TariffsTable/TariffsTable.js +4 -11
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/lib/components/TariffsTable/TariffsTableCell.js +14 -4
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableRow.js +6 -10
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
- package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/lib/components/TariffsTable/dataFixture.js +1 -14
- package/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/lib/components/TariffsTable/renderCell.d.ts +2 -0
- package/lib/components/TariffsTable/renderCell.js +12 -0
- package/lib/components/TariffsTable/renderCell.js.map +1 -0
- package/lib/components/TariffsTable/renderHeader.d.ts +2 -0
- package/lib/components/TariffsTable/renderHeader.js +7 -0
- package/lib/components/TariffsTable/renderHeader.js.map +1 -0
- package/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/lib/model/onClick.d.ts +3 -0
- package/lib/model/onClick.js +2 -0
- package/lib/model/onClick.js.map +1 -0
- package/lib/model/onClose.d.ts +3 -0
- package/lib/model/onClose.js +2 -0
- package/lib/model/onClose.js.map +1 -0
- package/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.js +2 -3
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +45 -122
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/bundle/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/bundle/model/onClick.d.ts +3 -0
- package/mobile/bundle/model/onClose.d.ts +3 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/mobile/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +4 -11
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +14 -4
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -10
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
- package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/dist/components/TariffsTable/dataFixture.js +1 -14
- package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/dist/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/dist/components/TariffsTable/renderCell.js +15 -0
- package/mobile/dist/components/TariffsTable/renderCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/dist/components/TariffsTable/renderHeader.js +10 -0
- package/mobile/dist/components/TariffsTable/renderHeader.js.map +1 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/mobile/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/mobile/dist/model/onClick.d.ts +3 -0
- package/mobile/dist/model/onClick.js +2 -0
- package/mobile/dist/model/onClick.js.map +1 -0
- package/mobile/dist/model/onClose.d.ts +3 -0
- package/mobile/dist/model/onClose.js +2 -0
- package/mobile/dist/model/onClose.js.map +1 -0
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -3
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
- package/mobile/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +4 -11
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -4
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -68
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -10
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
- package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
- package/mobile/lib/components/TariffsTable/dataFixture.js +1 -14
- package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/lib/components/TariffsTable/renderCell.d.ts +2 -0
- package/mobile/lib/components/TariffsTable/renderCell.js +12 -0
- package/mobile/lib/components/TariffsTable/renderCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/renderHeader.d.ts +2 -0
- package/mobile/lib/components/TariffsTable/renderHeader.js +7 -0
- package/mobile/lib/components/TariffsTable/renderHeader.js.map +1 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
- package/mobile/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
- package/mobile/lib/model/onClick.d.ts +3 -0
- package/mobile/lib/model/onClick.js +2 -0
- package/mobile/lib/model/onClick.js.map +1 -0
- package/mobile/lib/model/onClose.d.ts +3 -0
- package/mobile/lib/model/onClose.js +2 -0
- package/mobile/lib/model/onClose.js.map +1 -0
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
- package/mobile/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -34
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -13
- package/mobile/src/components/TariffsTable/TariffsTable.ui.json +0 -3
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +7 -84
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
- package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
- package/mobile/src/components/TariffsTable/dataFixture.tsx +9 -22
- package/mobile/src/components/TariffsTable/renderCell.tsx +42 -0
- package/mobile/src/components/TariffsTable/renderHeader.tsx +19 -0
- package/mobile/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
- package/mobile/src/model/onClick.ts +3 -0
- package/mobile/src/model/onClose.ts +3 -0
- package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +5 -3
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +2 -6
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -4
- package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
- package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
- package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +1 -1
- package/package.json +1 -1
- package/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
- package/src/components/TariffsTable/TariffsTable.example.json +1 -34
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +28 -2
- package/src/components/TariffsTable/TariffsTable.tsx +6 -13
- package/src/components/TariffsTable/TariffsTable.ui.json +0 -3
- package/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
- package/src/components/TariffsTable/TariffsTableContent.ts +7 -84
- package/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
- package/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
- package/src/components/TariffsTable/dataFixture.tsx +9 -22
- package/src/components/TariffsTable/renderCell.tsx +42 -0
- package/src/components/TariffsTable/renderHeader.tsx +19 -0
- package/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
- package/src/model/onClick.ts +3 -0
- package/src/model/onClose.ts +3 -0
- package/src/retail/components/DraftDialog/DraftActionButton.tsx +5 -3
- package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +1 -4
- package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +1 -4
- package/src/ui-kit/InnerTable/InnerTable.tsx +2 -6
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -4
- package/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
- package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
- package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +1 -1
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/bundle/components/TariffsTable/constants.d.ts +0 -4
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/dist/components/TariffsTable/TableTileHeader.js +0 -8
- package/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/dist/components/TariffsTable/constants.d.ts +0 -4
- package/dist/components/TariffsTable/constants.js +0 -7
- package/dist/components/TariffsTable/constants.js.map +0 -1
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/lib/components/TariffsTable/TableTileHeader.js +0 -6
- package/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/lib/components/TariffsTable/constants.d.ts +0 -4
- package/lib/components/TariffsTable/constants.js +0 -5
- package/lib/components/TariffsTable/constants.js.map +0 -1
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/bundle/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +0 -8
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/mobile/dist/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/dist/components/TariffsTable/constants.js +0 -7
- package/mobile/dist/components/TariffsTable/constants.js.map +0 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +0 -6
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
- package/mobile/lib/components/TariffsTable/constants.d.ts +0 -4
- package/mobile/lib/components/TariffsTable/constants.js +0 -5
- package/mobile/lib/components/TariffsTable/constants.js.map +0 -1
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +0 -15
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
- package/mobile/src/components/TariffsTable/constants.ts +0 -4
- package/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
- package/src/components/TariffsTable/TableTileHeader.tsx +0 -15
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
- package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
- package/src/components/TariffsTable/constants.ts +0 -4
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
2
|
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
4
|
-
import { useCarouselControls } from '../../hooks/useCarouselControls.js';
|
|
5
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
6
4
|
import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
|
|
7
5
|
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
8
6
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
7
|
+
import { UniBlock } from '../../UniBlock/UniBlock.js';
|
|
9
8
|
import { style } from '../../utils/style.js';
|
|
10
9
|
import { Headline } from '../Headline/Headline.js';
|
|
11
|
-
import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
|
|
12
10
|
import { TariffsTableRow } from './TariffsTableRow.js';
|
|
13
11
|
import { TariffsTableWrapper } from './TariffsTableWrapper.js';
|
|
14
|
-
export const TariffsTable =
|
|
12
|
+
export const TariffsTable = UniBlock(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
15
13
|
const colData = columns?.map(({ data }) => data) || [];
|
|
16
14
|
const rowData = rowHeaders?.map((header, i) => ({
|
|
17
15
|
header,
|
|
18
16
|
data: colData.map((col) => col?.[i] || []),
|
|
19
17
|
}));
|
|
20
|
-
const
|
|
21
|
-
const [activeIndex, controls] = useCarouselControls({
|
|
22
|
-
itemCount: itemCount,
|
|
23
|
-
visibleItemCount: COLS_LENGTH_FOR_SCROLL,
|
|
24
|
-
});
|
|
25
|
-
const rows = (rowData || []).map((row, i) => (_jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
|
|
18
|
+
const rows = (rowData || []).map((row, i) => (_jsx(TariffsTableRow, { row: row, ...rest }, String(i))));
|
|
26
19
|
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
27
20
|
const [isUnfolded, { toggle }] = useBool(false);
|
|
28
|
-
return (_jsxs(BlockWrapper, { className: style('relative space-y-
|
|
21
|
+
return (_jsxs(BlockWrapper, { className: style('relative space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [_jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), _jsx("div", { className: "space-y-m overflow-hidden", children: hiddenRowsNum > 0 ? (_jsxs(Foldable, { children: [_jsxs(TariffsTableWrapper, { children: [visibleRows, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] }), _jsx(DefaultFoldButton, { className: "text-h4", isUnfolded: isUnfolded, onClick: toggle })] })) : (_jsx(TariffsTableWrapper, { children: rows })) })] }));
|
|
29
22
|
});
|
|
30
23
|
//# sourceMappingURL=TariffsTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAI5D,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,UAAU,EACV,cAAc,EAAE,OAAO,EACvB,aAAa,GAAG,CAAC,EACjB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAC9C,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;KAC3C,CAAC,CAAC,CAAC;IACJ,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAC3C,KAAC,eAAe,IAAiB,GAAG,EAAE,GAAG,KAAM,IAAI,IAA7B,MAAM,CAAC,CAAC,CAAC,CAAwB,CACxD,CAAC,CAAC;IACH,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,GAC7B,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAE/F,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAEhD,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,qBAAqB,EAAE,SAAS,CAAC,EAClD,cAAc,EAAC,OAAO,KAClB,IAAI,aAER,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,aAAa,GACnB,EACF,cAAK,SAAS,EAAC,2BAA2B,YACvC,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CACnB,MAAC,QAAQ,eACP,MAAC,mBAAmB,eACjB,WAAW,EACZ,KAAC,eAAe,IAAC,UAAU,EAAE,UAAU,YAAG,UAAU,GAAmB,IACnD,EACtB,KAAC,iBAAiB,IAAC,SAAS,EAAC,SAAS,EAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAI,IACzE,CACZ,CAAC,CAAC,CAAC,CACF,KAAC,mBAAmB,cAAE,IAAI,GAAuB,CAClD,GACG,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { JSONRefObject } from '../../data/JSONRefObject';
|
|
2
|
+
import { type OnCloseProps } from '../../model/onClose';
|
|
3
|
+
import { type TableFetchData, type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
2
4
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
3
5
|
import { type CellDef } from './TariffsTableContent';
|
|
4
6
|
export interface TariffTableContentProps {
|
|
5
|
-
|
|
6
|
-
setOpenTableInnerIdx: (props?: number) => void;
|
|
7
|
-
setTableInner: (props?: TariffsTableInnerContent) => void;
|
|
7
|
+
onSetTable: (props?: TariffsTableInnerContent) => void;
|
|
8
8
|
tableInner?: TariffsTableInnerContent;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
declare type CellDefProps = CellDef & {
|
|
11
|
+
tableSource?: JSONRefObject & TableFetchData;
|
|
12
|
+
};
|
|
13
|
+
export interface TariffsTableCellProps extends TariffTableContentProps, UniBlockProps, OnCloseProps {
|
|
14
|
+
cells: CellDefProps[];
|
|
14
15
|
}
|
|
15
16
|
export declare const TariffsTableCell: import("@redneckz/uni-jsx").UNIComponent<TariffsTableCellProps, any, any>;
|
|
17
|
+
export {};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { TableInnerButton } from '../../ui-kit/InnerTable/InnerTableButton.js';
|
|
4
|
+
import { renderCell } from './renderCell.js';
|
|
5
|
+
export const TariffsTableCell = JSX(({ cells, tableInner, onSetTable }) => {
|
|
6
|
+
return (_jsx("div", { className: "w-80 flex-grow flex flex-col gap-lg", role: "cell", children: cells?.length
|
|
7
|
+
? cells.map((_, i) => {
|
|
8
|
+
if (_?.tableSource?.tableData) {
|
|
9
|
+
return (_jsx(TableInnerButton, { className: "w-fit", isOpen: Boolean(tableInner), onClick: () => {
|
|
10
|
+
onSetTable(tableInner ? undefined : { tableSource: _.tableSource });
|
|
11
|
+
} }, String(i)));
|
|
12
|
+
}
|
|
13
|
+
return renderCell(_, i);
|
|
14
|
+
})
|
|
15
|
+
: null }));
|
|
16
|
+
});
|
|
7
17
|
//# sourceMappingURL=TariffsTableCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAM5E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAiB1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE;IAC/F,OAAO,CACL,cAAK,SAAS,EAAC,qCAAqC,EAAC,IAAI,EAAC,MAAM,YAC7D,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;gBACjB,IAAI,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE;oBAC7B,OAAO,CACL,KAAC,gBAAgB,IAEf,SAAS,EAAC,OAAO,EACjB,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,EAC3B,OAAO,EAAE,GAAG,EAAE;4BACZ,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;wBACtE,CAAC,IALI,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC;iBACH;gBAED,OAAO,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YAC1B,CAAC,CAAC;YACJ,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -4,28 +4,7 @@ import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
|
4
4
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
5
5
|
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
6
6
|
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
7
|
-
import { type UniBlockContent
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface TariffsTableTile {
|
|
12
|
-
header: TariffsTableRowHeader;
|
|
13
|
-
data: CellDef[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export interface TariffsTableProps extends UniBlockProps {
|
|
19
|
-
tiles?: TariffsTableTile[];
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export interface TariffsTableCellIndexProps {
|
|
25
|
-
rowIdx: number;
|
|
26
|
-
cellIdx: number;
|
|
27
|
-
fieldIdx: number;
|
|
28
|
-
}
|
|
7
|
+
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
29
8
|
/**
|
|
30
9
|
* @hidden
|
|
31
10
|
*/
|
|
@@ -37,55 +16,10 @@ export declare type Data = {
|
|
|
37
16
|
* @title Параметр
|
|
38
17
|
*/
|
|
39
18
|
export declare type TariffsTableRowHeader = TitleProps & IconProps;
|
|
40
|
-
/**
|
|
41
|
-
* @title Изображение
|
|
42
|
-
*/
|
|
43
|
-
export declare type ImageCellDef = ImageContent & {
|
|
44
|
-
/** @default Img */
|
|
45
|
-
tableCellType: 'Img';
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @title Кнопки
|
|
49
|
-
*/
|
|
50
|
-
export declare type ButtonsCellDef = ButtonsSectionContent & {
|
|
51
|
-
/** @default Buttons */
|
|
52
|
-
tableCellType: 'Buttons';
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @title Заголовок и описание
|
|
56
|
-
*/
|
|
57
|
-
export declare type LabelDescriptionCell = LabelProps & DescriptionProps;
|
|
58
|
-
/**
|
|
59
|
-
* @title Заголовок и описание
|
|
60
|
-
*/
|
|
61
|
-
export declare type LabelDescriptionCellDef = LabelDescriptionCell & {
|
|
62
|
-
/** @default LabelDescription */
|
|
63
|
-
tableCellType: 'LabelDescription';
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @title Список
|
|
67
|
-
*/
|
|
68
|
-
export declare type RichTextDef = RichTextProps & {
|
|
69
|
-
/** @default RichText */
|
|
70
|
-
tableCellType: 'RichText';
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* @title Таблица
|
|
74
|
-
*/
|
|
75
|
-
export declare type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
76
|
-
/** @default Table */
|
|
77
|
-
tableCellType: 'Table';
|
|
78
|
-
};
|
|
79
|
-
/** @title Не выбрано * */
|
|
80
|
-
export declare type EmptyCellType = {
|
|
81
|
-
/** @default "" */
|
|
82
|
-
tableCellType: '';
|
|
83
|
-
};
|
|
84
19
|
/**
|
|
85
20
|
* @title Содержимое ячейки
|
|
86
|
-
* @default { "tableCellType": "" }
|
|
87
21
|
*/
|
|
88
|
-
export declare type CellDef =
|
|
22
|
+
export declare type CellDef = LabelProps & DescriptionProps & RichTextProps & ImageContent & TariffsTableInnerContent & ButtonsSectionContent;
|
|
89
23
|
/**
|
|
90
24
|
* @title Ячейки
|
|
91
25
|
*/
|
|
@@ -2,7 +2,5 @@ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
|
2
2
|
import { type Data } from './TariffsTableContent';
|
|
3
3
|
export interface TariffsTableRowProps extends UniBlockProps {
|
|
4
4
|
row: Data;
|
|
5
|
-
activeIndex: number;
|
|
6
|
-
rowIdx: number;
|
|
7
5
|
}
|
|
8
6
|
export declare const TariffsTableRow: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowProps, any, any>;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import {
|
|
5
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
6
|
-
import { style } from '../../utils/style.js';
|
|
7
|
-
import { COLUMN_WIDTH, firstCellStyle } from './constants.js';
|
|
4
|
+
import { renderHeader } from './renderHeader.js';
|
|
8
5
|
import { TableCarouselContainer } from './TableCarouselContainer.js';
|
|
9
6
|
import { TariffsTableCell } from './TariffsTableCell.js';
|
|
10
7
|
import { TariffsTableRowContainer } from './TariffsTableRowContainer.js';
|
|
11
|
-
export const TariffsTableRow = JSX(({ row: { header, data
|
|
8
|
+
export const TariffsTableRow = JSX(({ row: { header, data = [] }, ...rest }) => {
|
|
12
9
|
const [tableInner, setTableInner] = useState(undefined);
|
|
13
|
-
const handleSetTableInner = useCallback((_) =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return (_jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [_jsx("div", { className: style('text-s', firstCellStyle), children: _jsxs("div", { className: "flex gap-m items-center", role: "cell", children: [header?.icon ? (_jsx(Img, { className: "hidden @4xl:block max-w-6 shrink-0", image: header.icon, width: "24", height: "24" })) : null, header?.title ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: header?.title })) : null] }) }), data?.length ? (_jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
|
|
10
|
+
const handleSetTableInner = useCallback((_) => {
|
|
11
|
+
setTableInner(_);
|
|
12
|
+
}, []);
|
|
13
|
+
return (_jsxs(TariffsTableRowContainer, { tableInner: tableInner, ...rest, children: [renderHeader(header), data?.length ? (_jsx(TableCarouselContainer, { version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, onSetTable: handleSetTableInner, tableInner: tableInner, ...rest }, String(i)))) })) : null] }));
|
|
18
14
|
});
|
|
19
15
|
//# sourceMappingURL=TariffsTableRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAuC,SAAS,CAAC,CAAC;IAC9F,MAAM,mBAAmB,GAAG,WAAW,CAAC,CAAC,CAA4B,EAAE,EAAE;QACvE,aAAa,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,MAAC,wBAAwB,IAAC,UAAU,EAAE,UAAU,KAAM,IAAI,aACvD,YAAY,CAAC,MAAM,CAAC,EACpB,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,sBAAsB,IAAC,OAAO,EAAC,QAAQ,YACrC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,gBAAgB,IAEf,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,mBAAmB,EAC/B,UAAU,EAAE,UAAU,KAClB,IAAI,IAJH,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACiB,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTabl
|
|
|
2
2
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
3
3
|
export interface TariffsTableRowContainerProps extends UniBlockProps {
|
|
4
4
|
tableInner?: TariffsTableInnerContent;
|
|
5
|
-
|
|
5
|
+
onClick?: (_?: TariffsTableInnerContent) => void;
|
|
6
6
|
}
|
|
7
|
+
export declare const DIVIDER_STYLE = "border-main-divider lg:border-b w-full py-s lg:py-xl";
|
|
7
8
|
export declare const TariffsTableRowContainer: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowContainerProps, any, any>;
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { InnerTable } from '../../ui-kit/InnerTable/InnerTable.js';
|
|
4
4
|
import { style } from '../../utils/style.js';
|
|
5
|
-
|
|
6
|
-
export const TariffsTableRowContainer = JSX(({ children, tableInner,
|
|
5
|
+
export const DIVIDER_STYLE = 'border-main-divider lg:border-b w-full py-s lg:py-xl';
|
|
6
|
+
export const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (_jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [_jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (_jsx("div", { className: "origin-top animate-expansion", children: _jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
|
|
7
7
|
//# sourceMappingURL=TariffsTableRowContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C,MAAM,CAAC,MAAM,aAAa,GAAG,sDAAsD,CAAC;AAEpF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CACzC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrC,eAAK,SAAS,EAAE,KAAK,CAAC,iCAAiC,EAAE,aAAa,CAAC,EAAE,IAAI,EAAC,KAAK,aACjF,cAAK,SAAS,EAAE,KAAK,CAAC,8CAA8C,CAAC,YAAG,QAAQ,GAAO,EACtF,UAAU,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,UAAU,OAAK,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,GAC5C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface WrapperProps {
|
|
3
|
-
controls: CarouselControls;
|
|
4
|
-
}
|
|
5
|
-
export declare const TariffsTableWrapper: import("@redneckz/uni-jsx").UNIComponent<WrapperProps, any, any>;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const TariffsTableWrapper: import("@redneckz/uni-jsx").UNIComponent<{}, any, any>;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
|
|
4
|
-
export const TariffsTableWrapper = JSX(({ children, controls }) => {
|
|
5
|
-
const { isScrollAvailable } = controls;
|
|
6
|
-
return (_jsxs("div", { role: "table", className: "overflow-x-auto w-auto grid md:block", children: [_jsxs("div", { className: "relative space-y-xs", children: [children, renderArrows({
|
|
7
|
-
...controls,
|
|
8
|
-
btnClass: ['top-28', 'top-11'],
|
|
9
|
-
className: 'right-7',
|
|
10
|
-
})] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
|
|
11
|
-
});
|
|
3
|
+
export const TariffsTableWrapper = JSX(({ children }) => (_jsx("div", { role: "table", className: "overflow-x-auto w-auto grid relative gap-y-xs", children: children })));
|
|
12
4
|
//# sourceMappingURL=TariffsTableWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableWrapper.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,
|
|
1
|
+
{"version":3,"file":"TariffsTableWrapper.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACvD,cAAK,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,+CAA+C,YACxE,QAAQ,GACL,CACP,CAAC,CAAC"}
|
|
@@ -11,25 +11,19 @@ const image = {
|
|
|
11
11
|
title: 'Платёжные системы',
|
|
12
12
|
};
|
|
13
13
|
const LABEL_BLOCK = {
|
|
14
|
-
tableCellType: 'LabelDescription',
|
|
15
14
|
label: 'Заголовок без описания',
|
|
16
15
|
};
|
|
17
16
|
const LABEL_DESCRIPTION_BLOCK = {
|
|
18
17
|
label: 'Ячейка 1-2',
|
|
19
|
-
tableCellType: 'LabelDescription',
|
|
20
18
|
description: 'Описание',
|
|
21
19
|
};
|
|
22
20
|
const TABLE_BLOCK = {
|
|
23
|
-
tableCellType: 'Table',
|
|
24
21
|
tableSource: { $ref: '/wcms-resources/tariffs-inner-table-data.json' },
|
|
25
|
-
pdfUrl: '#',
|
|
26
22
|
};
|
|
27
23
|
const DESCRIPTION_BLOCK = {
|
|
28
|
-
tableCellType: 'LabelDescription',
|
|
29
24
|
description: 'Описание без заголовка',
|
|
30
25
|
};
|
|
31
26
|
const RICHTEXT_BLOCK = {
|
|
32
|
-
tableCellType: 'RichText',
|
|
33
27
|
__html: `
|
|
34
28
|
<ul>
|
|
35
29
|
<li>Элемент списка 1</li>
|
|
@@ -58,29 +52,24 @@ export const columns = [
|
|
|
58
52
|
{
|
|
59
53
|
label: 'Бесплатно',
|
|
60
54
|
description: 'В банкоматах и кассах Россельхозбанка и банков-партнеров',
|
|
61
|
-
tableCellType: 'LabelDescription',
|
|
62
55
|
},
|
|
63
56
|
{
|
|
64
57
|
label: 'Бесплатно',
|
|
65
58
|
description: 'В сторонних банкоматах - 1 раз в месяц, далее 1% минимум 150 руб',
|
|
66
|
-
tableCellType: 'LabelDescription',
|
|
67
59
|
},
|
|
68
60
|
],
|
|
69
61
|
[LABEL_BLOCK],
|
|
70
62
|
[
|
|
71
63
|
{
|
|
72
64
|
label: 'Платёжные системы картинкой',
|
|
73
|
-
tableCellType: 'LabelDescription',
|
|
74
65
|
},
|
|
75
66
|
{
|
|
76
67
|
image: image,
|
|
77
|
-
tableCellType: 'Img',
|
|
78
68
|
},
|
|
79
69
|
],
|
|
80
70
|
[
|
|
81
|
-
{ label: 'Кнопки-иконки'
|
|
71
|
+
{ label: 'Кнопки-иконки' },
|
|
82
72
|
{
|
|
83
|
-
tableCellType: 'Buttons',
|
|
84
73
|
buttons: [
|
|
85
74
|
{
|
|
86
75
|
icon: { icon: 'AppleIcon' },
|
|
@@ -102,7 +91,6 @@ export const columns = [
|
|
|
102
91
|
[
|
|
103
92
|
{
|
|
104
93
|
label: 'Бесплатно',
|
|
105
|
-
tableCellType: 'LabelDescription',
|
|
106
94
|
},
|
|
107
95
|
],
|
|
108
96
|
[
|
|
@@ -116,7 +104,6 @@ export const columns = [
|
|
|
116
104
|
},
|
|
117
105
|
alt: 'Деньги',
|
|
118
106
|
},
|
|
119
|
-
tableCellType: 'Img',
|
|
120
107
|
},
|
|
121
108
|
],
|
|
122
109
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataFixture.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/dataFixture.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataFixture.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/dataFixture.tsx"],"names":[],"mappings":"AAUA,MAAM,KAAK,GAAG,WAAW,CAAC;AAC1B,MAAM,WAAW,GAAG,oCAAoC,CAAC;AAEzD,MAAM,KAAK,GAAY;IACrB,GAAG,EAAE,qBAAqB;IAC1B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;KACX;IACD,GAAG,EAAE,mBAAmB;IACxB,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEF,MAAM,WAAW,GAAY;IAC3B,KAAK,EAAE,wBAAwB;CAChC,CAAC;AAEF,MAAM,uBAAuB,GAAY;IACvC,KAAK,EAAE,YAAY;IAEnB,WAAW,EAAE,UAAU;CACxB,CAAC;AAEF,MAAM,WAAW,GAA6B;IAC5C,WAAW,EAAE,EAAE,IAAI,EAAE,+CAA+C,EAAE;CACvE,CAAC;AAEF,MAAM,iBAAiB,GAAY;IACjC,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEF,MAAM,cAAc,GAAY;IAC9B,MAAM,EAAE;;;;;UAKA;IACR,QAAQ,EAAE,IAAI;CACf,CAAC;AAEF,MAAM,UAAU,GAA4B;IAC1C,EAAE,KAAK,EAAE,0CAA0C,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC/E;QACE,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;KAC3E;IACD,EAAE,KAAK,EAAE,gBAAgB,EAAE;IAC3B,EAAE,KAAK,EAAE,eAAe,EAAE;IAC1B,EAAE,KAAK,EAAE,2BAA2B,EAAE;IACtC,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC9B,EAAE,KAAK,EAAE,mBAAmB,EAAE;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAyB;IAC3C;QACE,IAAI,EAAE;YACJ,CAAC,WAAW,EAAE,cAAc,EAAE,uBAAuB,EAAE,cAAc,CAAC;YACtE;gBACE;oBACE,KAAK,EAAE,WAAW;oBAClB,WAAW,EAAE,0DAA0D;iBACxE;gBACD;oBACE,KAAK,EAAE,WAAW;oBAClB,WAAW,EAAE,kEAAkE;iBAChF;aACF;YACD,CAAC,WAAW,CAAC;YACb;gBACE;oBACE,KAAK,EAAE,6BAA6B;iBACrC;gBACD;oBACE,KAAK,EAAE,KAAK;iBACb;aACF;YACD;gBACE,EAAE,KAAK,EAAE,eAAe,EAAE;gBAC1B;oBACE,OAAO,EAAE;wBACP;4BACE,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;4BAC3B,OAAO,EAAE,IAAI;4BACb,OAAO,EAAE,WAAW;4BACpB,IAAI,EAAE,GAAG;4BACT,MAAM,EAAE,QAAQ;yBACjB;wBACD;4BACE,IAAI,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;4BAChC,OAAO,EAAE,IAAI;4BACb,OAAO,EAAE,WAAW;4BACpB,IAAI,EAAE,GAAG;4BACT,MAAM,EAAE,QAAQ;yBACjB;qBACF;iBACF;aACF;YACD;gBACE;oBACE,KAAK,EAAE,WAAW;iBACnB;aACF;YACD;gBACE;oBACE,KAAK,EAAE;wBACL,GAAG,EAAE,aAAa;wBAClB,MAAM,EAAE,MAAM;wBACd,IAAI,EAAE;4BACJ,KAAK,EAAE,GAAG;4BACV,MAAM,EAAE,GAAG;yBACZ;wBACD,GAAG,EAAE,QAAQ;qBACd;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAyB;IAChD;QACE,IAAI,EAAE;YACJ,CAAC,WAAW,EAAE,cAAc,CAAC;YAC7B,CAAC,WAAW,EAAE,iBAAiB,CAAC;YAChC,CAAC,cAAc,EAAE,iBAAiB,CAAC;YACnC,CAAC,WAAW,CAAC;SACd;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAwB;IAChE,KAAK;IACL,WAAW;IACX,cAAc,EAAE,OAAO;IACvB,UAAU;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAwB;IAC5E,KAAK;IACL,WAAW;IACX,cAAc,EAAE,YAAY;IAC5B,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Img } from '../../ui-kit/Img/Img.js';
|
|
3
|
+
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
|
|
4
|
+
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
6
|
+
export const renderCell = ({ label, description, __html, isDotted, buttons, image }, i) => (_jsxs("div", { className: "grid gap-xs", children: [renderLabel(label), renderDescription(description), renderRich({ __html, isDotted }), renderButtonsSection(buttons, {
|
|
7
|
+
buttonClassName: 'basis-0',
|
|
8
|
+
}), image?.src ? _jsx(Img, { image: image }) : null] }, String(i)));
|
|
9
|
+
const renderLabel = (label) => label ? (_jsx("div", { children: _jsx(Text, { size: "text-h6", children: label }) })) : null;
|
|
10
|
+
const renderDescription = (description) => description ? (_jsx("div", { className: "text-l font-light", children: _jsx(Text, { color: "text-secondary-text", children: description }) })) : null;
|
|
11
|
+
const renderRich = ({ __html, isDotted }) => __html ? (_jsx("div", { className: "flex flex-col justify-between items-start text-h6", children: _jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-m" }) })) : null;
|
|
12
|
+
//# sourceMappingURL=renderCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/renderCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAW,EACjE,CAAS,EACT,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,aAAa,aACzB,WAAW,CAAC,KAAK,CAAC,EAClB,iBAAiB,CAAC,WAAW,CAAC,EAC9B,UAAU,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAChC,oBAAoB,CAAC,OAAO,EAAE;YAC7B,eAAe,EAAE,SAAS;SAC3B,CAAC,EACD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,KAPV,MAAM,CAAC,CAAC,CAAC,CAQrC,CACP,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CACrC,KAAK,CAAC,CAAC,CAAC,CACN,wBACE,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,KAAK,GAAQ,GAC/B,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,iBAAiB,GAAG,CAAC,WAAoB,EAAE,EAAE,CACjD,WAAW,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,mBAAmB,YAChC,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,YAAE,WAAW,GAAQ,GAClD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAiB,EAAE,EAAE,CACzD,MAAM,CAAC,CAAC,CAAC,CACP,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAC,QAAQ,GAAG,GAC9D,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Img } from '../../ui-kit/Img/Img.js';
|
|
3
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
const FIRST_CELL_STYLES = 'w-80 flex-shrink-0 sticky left-0 bg-white';
|
|
6
|
+
export const renderHeader = ({ title, icon }) => (_jsxs("div", { className: style('flex gap-m items-center', FIRST_CELL_STYLES), role: "cell", children: [icon ? (_jsx(Img, { className: "hidden lg:block max-w-6 shrink-0", image: icon, width: "24", height: "24" })) : null, title ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null] }));
|
|
7
|
+
//# sourceMappingURL=renderHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/renderHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,MAAM,iBAAiB,GAAG,2CAA2C,CAAC;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAyB,EAAE,EAAE,CAAC,CACtE,eAAK,SAAS,EAAE,KAAK,CAAC,yBAAyB,EAAE,iBAAiB,CAAC,EAAE,IAAI,EAAC,MAAM,aAC7E,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IAAC,SAAS,EAAC,kCAAkC,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,mBAAmB,YAC5D,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=renderInnerTableCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderInnerTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/renderInnerTableCell.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onClick.js","sourceRoot":"","sources":["../../src/model/onClick.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onClose.js","sourceRoot":"","sources":["../../src/model/onClose.ts"],"names":[],"mappings":""}
|
|
@@ -3,5 +3,5 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Img } from '../../../ui-kit/Img/Img.js';
|
|
4
4
|
import { Text } from '../../../ui-kit/Text/Text.js';
|
|
5
5
|
import { noop } from '../../../utils/noop.js';
|
|
6
|
-
export const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (_jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [_jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), _jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [_jsx(Text, { font: "font-medium", size: "text-s", children: title }), description ? (_jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
|
|
6
|
+
export const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (_jsxs("button", { className: "flex gap-lg items-center border border-gray/30 rounded-xl cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [_jsx(Img, { image: { icon, iconVersion: 'normal' }, width: "78", height: "78" }), _jsxs("div", { className: "flex flex-col items-start gap-xs md:w-72 md:mr-lg", children: [title ? (_jsx(Text, { font: "font-medium", size: "text-s", children: title })) : null, description ? (_jsx(Text, { color: "text-secondary-text", size: "text-xs", children: description })) : null] })] })));
|
|
7
7
|
//# sourceMappingURL=DraftActionButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraftActionButton.js","sourceRoot":"","sources":["../../../../src/retail/components/DraftDialog/DraftActionButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAQ3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChD,kBACE,SAAS,EAAC,iGAAiG,EAC3G,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,aAEhB,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACtE,eAAK,SAAS,EAAC,mDAAmD,
|
|
1
|
+
{"version":3,"file":"DraftActionButton.js","sourceRoot":"","sources":["../../../../src/retail/components/DraftDialog/DraftActionButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAQ3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChD,kBACE,SAAS,EAAC,iGAAiG,EAC3G,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,aAEhB,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACtE,eAAK,SAAS,EAAC,mDAAmD,aAC/D,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,YACnC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,SAAS,YAC7C,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,IACC,CACV,CACF,CAAC"}
|
|
@@ -3,15 +3,14 @@ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
3
3
|
import { UniBlock } from '../../UniBlock/UniBlock.js';
|
|
4
4
|
import { Text } from '../Text/Text.js';
|
|
5
5
|
import { InnerTableBody } from './InnerTableBody.js';
|
|
6
|
-
import { TableInnerButton } from './InnerTableButton.js';
|
|
7
6
|
import { InnerTableHeader } from './InnerTableHeader.js';
|
|
8
7
|
const EMPTY_DATA = 'Данных нет';
|
|
9
|
-
export const InnerTable = UniBlock(({ tableSource
|
|
8
|
+
export const InnerTable = UniBlock(({ tableSource }) => {
|
|
10
9
|
const tableData = tableSource?.tableData;
|
|
11
10
|
const [activeTabIndex, setActiveTabIndex] = useState(0);
|
|
12
11
|
const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
|
|
13
12
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
14
13
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
15
|
-
return tableData ? (_jsxs("div", { className: "bg-white z-10", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex
|
|
14
|
+
return tableData ? (_jsxs("div", { className: "bg-white z-10", children: [_jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex }), _jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items })] })) : (_jsx("div", { className: "space-y-m text-center", children: _jsx(Text, { size: "text-h6", children: EMPTY_DATA }) }));
|
|
16
15
|
});
|
|
17
16
|
//# sourceMappingURL=InnerTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,UAAU,GAAG,YAAY,CAAC;AAEhC,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAkB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;IACtE,MAAM,SAAS,GAAG,WAAW,EAAE,SAAS,CAAC;IACzC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxD,MAAM,oBAAoB,GAAG,WAAW,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClF,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,EAAE,CAAC;IACvD,MAAM,UAAU,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IAEjE,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,gBAAgB,IACf,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,oBAAoB,GACvC,EACF,KAAC,cAAc,IAAC,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAI,IAC5D,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,uBAAuB,YACpC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YAAE,UAAU,GAAQ,GACpC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,10 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
4
|
import { InnerTableBodyItem } from './InnerTableBodyItem.js';
|
|
5
|
-
export const InnerTableBody = JSX(({ activeTabIndex, items }) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) }));
|
|
10
|
-
});
|
|
5
|
+
export const InnerTableBody = JSX(({ activeTabIndex, items }) => (_jsx("div", { children: items.map((_, tableIdx) => {
|
|
6
|
+
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
7
|
+
return (_jsxs("div", { className: "w-full @container", children: [_jsx("div", { className: "flex py-m px-m bg-white @4xl:bg-gray relative", children: _jsx(Text, { size: "text-xl", align: "text-left", children: _.title }) }), _jsx("div", { className: "w-full sm:pl-xs overflow-hidden transition-height duration-500 ease-in-out", children: _jsx("div", { className: "relative", children: _jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
8
|
+
}) })));
|
|
11
9
|
//# sourceMappingURL=InnerTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACpF,wBACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE;QACzB,MAAM,GAAG,GAAG,gBAAgB,cAAc,aAAa,QAAQ,EAAE,CAAC;QAElE,OAAO,CACL,eAAe,SAAS,EAAC,mBAAmB,aAC1C,cAAK,SAAS,EAAC,+CAA+C,YAC5D,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,WAAW,YACnC,CAAC,CAAC,KAAK,GACH,GACH,EACN,cAAK,SAAS,EAAC,4EAA4E,YACzF,cAAK,SAAS,EAAC,UAAU,YACvB,KAAC,kBAAkB,IAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,GAAI,GACpC,GACF,KAVE,GAAG,CAWP,CACP,CAAC;IACJ,CAAC,CAAC,GACE,CACP,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { type TariffsTableCellIndexProps } from '../../components/TariffsTable/TariffsTableContent';
|
|
2
1
|
import { type ComponentType } from '../../model/ComponentType';
|
|
3
|
-
import type
|
|
2
|
+
import { type OnClickProps } from '../../model/onClick';
|
|
4
3
|
import { type TariffsTableInnerContent } from './InnerTableProps';
|
|
5
|
-
export interface InnerTableButtonProps extends
|
|
4
|
+
export interface InnerTableButtonProps extends TariffsTableInnerContent, ComponentType, OnClickProps {
|
|
6
5
|
isOpen?: boolean;
|
|
7
6
|
}
|
|
8
7
|
export declare const TableInnerButton: import("@redneckz/uni-jsx").UNIComponent<InnerTableButtonProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAUlE,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACvC,KAAC,iBAAiB,IAChB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EACrC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAC,WAAW,EACnB,KAAK,QACL,OAAO,EAAE,OAAO,GAChB,CACH,CACF,CAAC"}
|
|
@@ -14,9 +14,7 @@ export declare type TableData = {
|
|
|
14
14
|
export declare type TableFetchData = {
|
|
15
15
|
tableData?: TableData[];
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export declare type TariffsTableInnerContent = {
|
|
18
18
|
/** @title Справочник */
|
|
19
19
|
tableSource?: JSONRefObject;
|
|
20
|
-
|
|
21
|
-
pdfUrl?: string;
|
|
22
|
-
}
|
|
20
|
+
};
|