@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
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearIcon,
|
|
3
|
+
clearImage,
|
|
4
|
+
deleteEmptyButton,
|
|
5
|
+
deleteProp,
|
|
6
|
+
traversePageBlocks,
|
|
7
|
+
} from '../utils.js';
|
|
8
|
+
|
|
9
|
+
export const description = 'v0.14.850';
|
|
10
|
+
|
|
11
|
+
export default traversePageBlocks(adjustDeleteSizeSteps);
|
|
12
|
+
|
|
13
|
+
function adjustDeleteSizeSteps(block) {
|
|
14
|
+
const content = block?.content;
|
|
15
|
+
if (block?.type !== 'TariffsTable') {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (content?.hiddenRowsNum === '') {
|
|
20
|
+
Reflect.deleteProperty(content, 'hiddenRowsNum');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (content?.rowHeaders?.length) {
|
|
24
|
+
content.rowHeaders = content.rowHeaders.map((_) => clearIcon(_));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (content?.tariffsColumns?.length) {
|
|
28
|
+
content.tariffsColumns = content.tariffsColumns.map((_) => {
|
|
29
|
+
if (_?.data?.length) {
|
|
30
|
+
_.data = _.data.map((column) => {
|
|
31
|
+
if (column?.length) {
|
|
32
|
+
for (let cell of column) {
|
|
33
|
+
deleteProp(cell, 'listItemSize');
|
|
34
|
+
|
|
35
|
+
if ('tableCellType' in cell) {
|
|
36
|
+
Reflect.deleteProperty(cell, 'tableCellType');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (cell?.data?.length === 0) {
|
|
40
|
+
deleteProp(cell, 'data');
|
|
41
|
+
Reflect.deleteProperty(cell, 'data');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
cell = clearContent(cell);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return column;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return _;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function clearContent(content) {
|
|
58
|
+
const clearedContent = deleteEmptyButton(clearIcon(clearImage(content)));
|
|
59
|
+
if (clearedContent?.buttons?.length === 0) {
|
|
60
|
+
deleteProp(clearedContent, 'buttons');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return deleteEmptyArray(clearedContent);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function deleteEmptyArray(content) {
|
|
67
|
+
return Object.fromEntries(
|
|
68
|
+
Object.entries(content).filter(([, val]) => !Array.isArray(val) || val?.length),
|
|
69
|
+
);
|
|
70
|
+
}
|