@daisforge/ui 1.16.0 → 1.18.0
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/chunks/{AnalyticalWidget-BWcBjoNh.mjs → AnalyticalWidget-Cdo6_s1Y.mjs} +165 -163
- package/chunks/AnalyticalWidget-wke3Jm3X.cjs +43 -0
- package/chunks/{ApprovalCenter-CGs7n-2C.cjs → ApprovalCenter-CAcC43zn.cjs} +1 -1
- package/chunks/{ApprovalCenter-BqN8Zjol.mjs → ApprovalCenter-DxcvzR8q.mjs} +1 -1
- package/chunks/{BlockTitle-o2QTRA7D.cjs → BlockTitle-BEIxiECX.cjs} +1 -1
- package/chunks/{BlockTitle-BM2EE1b1.mjs → BlockTitle-BZxOEdTc.mjs} +1 -1
- package/chunks/{FiltersActions-CKimtYsU.cjs → FiltersActions-BKJJH6Mu.cjs} +1 -1
- package/chunks/{FiltersActions-C5OGUDDx.mjs → FiltersActions-CFStLRsU.mjs} +3 -3
- package/chunks/{GridDND-DkL6-TgS.cjs → GridDND-DV-1g1sI.cjs} +1 -1
- package/chunks/{GridDND-D9T2wqLt.mjs → GridDND-UMUi8M_Q.mjs} +1 -1
- package/chunks/{ListOfFilters-B8XF6KiI.cjs → ListOfFilters-DJvnT9kw.cjs} +1 -1
- package/chunks/{ListOfFilters-BEDW_v5t.mjs → ListOfFilters-DTAZ3wfQ.mjs} +2 -2
- package/chunks/{MassActions-C66ulAuq.mjs → MassActions-DSAaO1-u.mjs} +2 -2
- package/chunks/{MassActions-BHNmuh3s.cjs → MassActions-Z-48g81T.cjs} +1 -1
- package/chunks/{PageTitle-BEdQpyZh.cjs → PageTitle-Bh3g6FUT.cjs} +1 -1
- package/chunks/{PageTitle-BVbWaV52.mjs → PageTitle-CaqXfrrQ.mjs} +1 -1
- package/chunks/{Stories-DVh7iByM.cjs → Stories-CZXv_Ves.cjs} +1 -1
- package/chunks/{Stories-lNAuXVJN.mjs → Stories-Dlwle-SM.mjs} +1 -1
- package/chunks/{Table-C_1QGsh8.mjs → Table-B9OAyWAW.mjs} +4 -4
- package/chunks/{Table-C-lLZklk.cjs → Table-BwhzcFX1.cjs} +1 -1
- package/chunks/{TableCanvas--g37wjRi.mjs → TableCanvas-DcoUBrgC.mjs} +5315 -4827
- package/chunks/TableCanvas-MMWMrYiV.cjs +30 -0
- package/chunks/{TableGlide-Cjcw7Wur.mjs → TableGlide-Ch-gaROR.mjs} +1982 -1852
- package/chunks/TableGlide-TYzM2bEB.cjs +1 -0
- package/components/AiAgentPopover/AiAgentPopover.styled.d.ts +1 -0
- package/components/AnalyticalWidget/AnalyticalWidget.d.ts +5 -3
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +69 -11
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/ApprovalCenter/styled.d.ts +1 -0
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +1 -1
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DrawerDF/components/styled.d.ts +1 -0
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/LeftPanel/styled.d.ts +1 -0
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActions/styled.d.ts +7 -2
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +1 -1
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.d.ts +1 -1
- package/components/PopupDF/index.mjs +108 -94
- package/components/PopupDF/types.d.ts +1 -1
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/CollapseTableButton.d.ts +2 -0
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-column-control/styled.d.ts +1 -0
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/styles.d.ts +1 -0
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/handlers.d.ts +1 -0
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-searching/styled.d.ts +1 -0
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-sorting/styles.d.ts +1 -0
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/control-block-button.d.ts +3 -2
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/type.d.ts +3 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/types.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/utils/applyBlockEdit.d.ts +12 -0
- package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +2 -1
- package/components/TableCanvas/feature-cell-transfer/utils/collectMatrixFromTargets.d.ts +1 -0
- package/components/TableCanvas/feature-cell-transfer/utils/collectTextMatrix.d.ts +1 -0
- package/components/TableCanvas/feature-cell-transfer/utils/resolveBlockOrigin.d.ts +13 -0
- package/components/TableCanvas/feature-cell-transfer/utils/snapDestToRowBlocks.d.ts +4 -0
- package/components/TableCanvas/feature-collapse-table/CollapseTableButton.d.ts +3 -2
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/styled.d.ts +1 -0
- package/components/TableCanvas/feature-column-control/types.d.ts +3 -0
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +5 -1
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/styles.d.ts +1 -0
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/handlers.d.ts +1 -0
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +2 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/mergedView.d.ts +14 -0
- package/components/TableCanvas/feature-rows-grouping/types.d.ts +4 -0
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/styled.d.ts +1 -0
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/styles.d.ts +1 -0
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/mergedSubRows.d.ts +5 -0
- package/components/TableCanvas/feature-tree/types.d.ts +2 -0
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +4 -4
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/renders/rowIconConfig.d.ts +0 -5
- package/components/TableCanvas/renders/withSelectIcon.d.ts +3 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/createMergeByValueRowSpan.d.ts +7 -0
- package/components/TableCanvas/table-hooks/createMergedRegionsResolver.d.ts +21 -0
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/resolveMergedView.d.ts +7 -0
- package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +4 -1
- package/components/TableCanvas/types/column-config-internal.type.d.ts +4 -1
- package/components/TableCanvas/types/column-config.type.d.ts +2 -0
- package/components/TableCanvas/types/ctxs.type.d.ts +2 -0
- package/components/TableCanvas/types/glide-type.d.ts +1 -1
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.d.ts +1 -0
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/merged-cells.type.d.ts +4 -0
- package/components/TableCanvas/types/table-config.type.d.ts +15 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/control-block-button.d.ts +3 -2
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/styled.d.ts +10 -4
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +1 -1
- package/components/TableGlide/TableGlide.d.ts +1 -1
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/hooks/useErrorCellRanges.d.ts +14 -0
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +13 -13
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +22 -22
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/types.d.ts +10 -0
- package/components/TableGlide/utils/findBlockOrigin.d.ts +5 -0
- package/components/TableGlide/utils/getRowSpan.d.ts +6 -0
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +1 -1
- package/components/TourWidget/index.mjs +1 -1
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/Widget.d.ts +1 -0
- package/components/Widget/components/WidgetIconButtonDots.d.ts +1 -0
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +1 -1
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/ui/FormDatePickerRangeStyled.d.ts +2 -0
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/ButtonStyled.d.ts +1 -0
- package/formComponents/FormTextField/ui/IconButtonStyled.d.ts +1 -0
- package/index.cjs +1 -1
- package/index.mjs +11 -11
- package/layouts/FiltersActions/FiltersActions.d.ts +15 -6
- package/layouts/FiltersActions/components/FiltersButton.d.ts +4 -0
- package/layouts/FiltersActions/components/ResetAllFiltersButton.d.ts +6 -4
- package/layouts/FiltersActions/components/Tabs.d.ts +4 -2
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/mcp-data/component-index.json +250 -80
- package/package.json +7 -6
- package/shared/ui/Search/styled.d.ts +1 -0
- package/chunks/AnalyticalWidget-z2HzQ4aA.cjs +0 -43
- package/chunks/TableCanvas-uzBMXlx6.cjs +0 -30
- package/chunks/TableGlide-DTBZ1jNA.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/TableCanvas-MMWMrYiV.cjs"),l=require("@glideappsfinal/glide-data-grid"),o=require("../TableCanvasSharedConstants/index.cjs"),t=require("../../chunks/TableGlide-TYzM2bEB.cjs");exports.COLORS=e.COLORS;exports.CUSTOM_TOKENS=e.CUSTOM_TOKENS;exports.CUSTOM_TOKENS_KEYS=e.CUSTOM_TOKENS_KEYS;exports.Canvas=e.Canvas;exports.CellEditorCombobox=e.CellEditorCombobox;exports.CellEditorNumberFormat=e.CellEditorNumberFormat;exports.CellEditorTextArea=e.CellEditorTextArea;exports.ContainerStyled=e.ContainerStyled;exports.DEFAULT_TABLE_TRANSITION=e.DEFAULT_TABLE_TRANSITION;exports.DEFAULT_TABLE_TRANSITION_DELAY=e.DEFAULT_TABLE_TRANSITION_DELAY;exports.DETAIL_PANEL_ROW_CLASS=e.DETAIL_PANEL_ROW_CLASS;exports.DOM_METADATA_ACTIONS=e.DOM_METADATA_ACTIONS;exports.FIRST_ROW=e.FIRST_ROW;exports.HEIGHT_CONTROL_BLOCK=e.HEIGHT_CONTROL_BLOCK;exports.HEIGHT_FILTERLIST_BLOCK=e.HEIGHT_FILTERLIST_BLOCK;exports.HEIGHT_TABLE_DEFAULT=e.HEIGHT_TABLE_DEFAULT;exports.LIST_WIDTH=e.LIST_WIDTH;exports.LVL_1_ROW_CLASS=e.LVL_1_ROW_CLASS;exports.MIN_CONTENT_HEIGHT=e.MIN_CONTENT_HEIGHT;exports.ROW_IDX_START_CLASS=e.ROW_IDX_START_CLASS;exports.SIZES=e.SIZES;exports.SplitIconButton=e.SplitIconButton;exports.TABLE_BORDER_RADIUS=e.TABLE_BORDER_RADIUS;exports.TableCanvas=e.TableCanvas;exports.TableFilterSelectListItem=e.StyledListItem;exports.TableGlideInstance=e.TableGlideInstance;exports.addSkeletonToCellInRow=e.addSkeletonToCellInRow;exports.autoFocus=e.autoFocus;exports.autoFocusAndSelect=e.autoFocusAndSelect;exports.customColorGlobalVars=e.customColorGlobalVars;exports.customColorTokens=e.customColorTokens;exports.customColorTokensKeys=e.customColorTokensKeys;exports.fullScreenStyles=e.fullScreenStyles;exports.getRowWithoutServiceKeys=e.hideRowServiceKeysHandler;exports.getTableHeightStyles=e.getTableHeightStyles;exports.isDetailPanelRow=e.isDetailPanelRow;exports.isGroupRow=e.isGroupRow;exports.isNotGroupRow=e.isNotGroupRow;exports.isRowWithDetailPanelRow=e.isRowWithDetailPanelRow;exports.rowIColumnStyles=e.rowIColumnStyles;exports.scrollbarStyles=e.scrollbarStyles;exports.tableBorderRadius=e.tableBorderRadius;exports.tableClassNames=e.tableClassNames;exports.useHeaderContext=e.useHeaderContext;exports.useRefTableGlobalContainerContext=e.useRefTableGlobalContainerContext;exports.useRowContext=e.useRowContext;exports.useSidebar=e.useSidebar;Object.defineProperty(exports,"CompactSelection",{enumerable:!0,get:()=>l.CompactSelection});Object.defineProperty(exports,"TextCellEntry",{enumerable:!0,get:()=>l.TextCellEntry});exports.COLLAPSE_DECOR_DELAY=o.COLLAPSE_DECOR_DELAY;exports.COLLAPSE_DECOR_FADE=o.COLLAPSE_DECOR_FADE;exports.COLLAPSE_DURATION=o.COLLAPSE_DURATION;exports.DURATION=o.DURATION;exports.TABLE_GLIDE_SIZES=t.TABLE_GLIDE_SIZES;exports.createEmptyCellGlide=t.createEmptyCellGlide;exports.createTextCellGlide=t.createTextCellGlide;exports.isCanvasContent=t.isCanvasContent;exports.isCanvasEl=t.isCanvasEl;exports.isCanvasString=t.isCanvasString;exports.isGlideGridCellObj=t.isGlideGridCellObj;exports.subscribeToCanvasPortalHover=t.subscribeToCanvasPortalHover;exports.subscribeToPortalHoverLock=t.subscribeToPortalHoverLock;exports.tableCanvasFonts=t.fontStyles;exports.tableCanvasTheme=t.THEME;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as e, p as o, q as t, d3 as l, bf as T, bh as r, bj as C, r as S, D as E, s as _, v as n, d2 as i, F as L, H as A, w as b, x as I, L as O, y as R, M as d, R as u, z as D, Q as c, A as N, T as m, br as G, d as H, bA as v, bm as x, bn as F, B, E as p, G as w, I as y, d4 as P, J as U, d5 as
|
|
1
|
+
import { o as e, p as o, q as t, d3 as l, bf as T, bh as r, bj as C, r as S, D as E, s as _, v as n, d2 as i, F as L, H as A, w as b, x as I, L as O, y as R, M as d, R as u, z as D, Q as c, A as N, T as m, br as G, d as H, bA as v, bm as x, bn as F, B, E as p, G as w, I as y, d4 as P, J as U, d5 as K, aT as f, aU as W, d6 as h, K as M, N as g, O as k, P as j, d7 as Y, d8 as V, d9 as Z, da as q } from "../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
import { CompactSelection as J, TextCellEntry as Q } from "@glideappsfinal/glide-data-grid";
|
|
3
3
|
import { COLLAPSE_DECOR_DELAY as $, COLLAPSE_DECOR_FADE as aa, COLLAPSE_DURATION as sa, DURATION as ea } from "../TableCanvasSharedConstants/index.mjs";
|
|
4
|
-
import { a as ta, c as la, b as Ta, i as ra, d as Ca, e as Sa,
|
|
4
|
+
import { a as ta, c as la, b as Ta, i as ra, d as Ca, e as Sa, g as Ea, s as _a, h as na, j as ia, k as La } from "../../chunks/TableGlide-Ch-gaROR.mjs";
|
|
5
5
|
export {
|
|
6
6
|
$ as COLLAPSE_DECOR_DELAY,
|
|
7
7
|
aa as COLLAPSE_DECOR_FADE,
|
|
@@ -50,9 +50,9 @@ export {
|
|
|
50
50
|
ra as isCanvasContent,
|
|
51
51
|
Ca as isCanvasEl,
|
|
52
52
|
Sa as isCanvasString,
|
|
53
|
-
|
|
53
|
+
K as isDetailPanelRow,
|
|
54
54
|
Ea as isGlideGridCellObj,
|
|
55
|
-
|
|
55
|
+
f as isGroupRow,
|
|
56
56
|
W as isNotGroupRow,
|
|
57
57
|
h as isRowWithDetailPanelRow,
|
|
58
58
|
M as rowIColumnStyles,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.FormattedContent=e.FormattedContent;exports.formatCellValue=e.formatCellValue;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_ROW_HEIGHT } from '../../TableGlide';
|
|
2
2
|
|
|
3
3
|
export type RowSize = keyof typeof DEFAULT_ROW_HEIGHT;
|
|
4
|
-
export declare const ROW_HEIGHT_BY_SIZE: {
|
|
5
|
-
readonly small: 20;
|
|
6
|
-
readonly medium: 32;
|
|
7
|
-
readonly big: 48;
|
|
8
|
-
};
|
|
9
4
|
export declare const ROW_ICON_BUTTON_CONFIG: Record<RowSize, {
|
|
10
5
|
overrideSquareSize: number;
|
|
11
6
|
overrideIconSize: number;
|
|
@@ -4,7 +4,9 @@ import { CanvasContent } from '../TableGlideInstance';
|
|
|
4
4
|
type SelectCellVisual = {
|
|
5
5
|
rowSize: RowSize;
|
|
6
6
|
cellPaddingInline: number;
|
|
7
|
-
|
|
7
|
+
cellVerticalPadding: number;
|
|
8
|
+
mergedVerticalAlign?: 'top' | 'center' | 'bottom';
|
|
9
|
+
mergedHorizontalAlign?: 'left' | 'center' | 'right';
|
|
8
10
|
};
|
|
9
11
|
export declare const withSelectIcon: (content: CanvasContent, { isSelect, editModeEnabled, textInCanvasText, visual, }: {
|
|
10
12
|
isSelect: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../../chunks/TableCanvas-MMWMrYiV.cjs"),_=require("../../TableCanvasSharedConstants/index.cjs");exports.COLORS=T.COLORS;exports.CUSTOM_TOKENS=T.CUSTOM_TOKENS;exports.CUSTOM_TOKENS_KEYS=T.CUSTOM_TOKENS_KEYS;exports.ContainerStyled=T.ContainerStyled;exports.DEFAULT_TABLE_TRANSITION=T.DEFAULT_TABLE_TRANSITION;exports.DEFAULT_TABLE_TRANSITION_DELAY=T.DEFAULT_TABLE_TRANSITION_DELAY;exports.DETAIL_PANEL_ROW_CLASS=T.DETAIL_PANEL_ROW_CLASS;exports.FIRST_ROW=T.FIRST_ROW;exports.HEIGHT_CONTROL_BLOCK=T.HEIGHT_CONTROL_BLOCK;exports.HEIGHT_FILTERLIST_BLOCK=T.HEIGHT_FILTERLIST_BLOCK;exports.HEIGHT_TABLE_DEFAULT=T.HEIGHT_TABLE_DEFAULT;exports.LIST_WIDTH=T.LIST_WIDTH;exports.LVL_1_ROW_CLASS=T.LVL_1_ROW_CLASS;exports.MIN_CONTENT_HEIGHT=T.MIN_CONTENT_HEIGHT;exports.ROW_IDX_START_CLASS=T.ROW_IDX_START_CLASS;exports.SIZES=T.SIZES;exports.TABLE_BORDER_RADIUS=T.TABLE_BORDER_RADIUS;exports.customColorGlobalVars=T.customColorGlobalVars;exports.customColorTokens=T.customColorTokens;exports.customColorTokensKeys=T.customColorTokensKeys;exports.fullScreenStyles=T.fullScreenStyles;exports.getTableHeightStyles=T.getTableHeightStyles;exports.rowIColumnStyles=T.rowIColumnStyles;exports.scrollbarStyles=T.scrollbarStyles;exports.tableBorderRadius=T.tableBorderRadius;exports.tableClassNames=T.tableClassNames;exports.COLLAPSE_DECOR_DELAY=_.COLLAPSE_DECOR_DELAY;exports.COLLAPSE_DECOR_FADE=_.COLLAPSE_DECOR_FADE;exports.COLLAPSE_DURATION=_.COLLAPSE_DURATION;exports.DURATION=_.DURATION;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as T, p as _, q as L, r as S, D as E, s as O, v as A, F as o, H as I, w as C, x as e, L as R, y as l, M as r, R as D, z as t, A as N, B as H, E as B, G as U, I as m, J as y, K as F, N as K, O as n, P as u } from "../../../chunks/TableCanvas
|
|
1
|
+
import { o as T, p as _, q as L, r as S, D as E, s as O, v as A, F as o, H as I, w as C, x as e, L as R, y as l, M as r, R as D, z as t, A as N, B as H, E as B, G as U, I as m, J as y, K as F, N as K, O as n, P as u } from "../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
import { COLLAPSE_DECOR_DELAY as b, COLLAPSE_DECOR_FADE as c, COLLAPSE_DURATION as P, DURATION as W } from "../../TableCanvasSharedConstants/index.mjs";
|
|
3
3
|
export {
|
|
4
4
|
b as COLLAPSE_DECOR_DELAY,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ObjectForExtending } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare function createMergeByValueRowSpan<R extends ObjectForExtending>(valueOf: (row: R) => unknown, rowsRef: {
|
|
4
|
+
readonly current: readonly R[];
|
|
5
|
+
}): (cellInfo: {
|
|
6
|
+
rowInd: number;
|
|
7
|
+
}) => readonly [number, number] | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MergedCellsAlign, MergedCellsRegion, ObjectForExtending } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare function createMergedRegionsResolver<R extends ObjectForExtending>(regions: readonly MergedCellsRegion[], renderColKeysRef: {
|
|
4
|
+
readonly current: readonly string[];
|
|
5
|
+
}, rowsRef: {
|
|
6
|
+
readonly current: readonly R[];
|
|
7
|
+
}, rowKeyGetter: (row: R) => string | number): {
|
|
8
|
+
regionCols: Set<string>;
|
|
9
|
+
colSpan: (colKey: string) => (cellInfo: {
|
|
10
|
+
rowInd: number;
|
|
11
|
+
}) => number;
|
|
12
|
+
rowSpan: (colKey: string) => (cellInfo: {
|
|
13
|
+
rowInd: number;
|
|
14
|
+
}) => readonly [
|
|
15
|
+
number,
|
|
16
|
+
number
|
|
17
|
+
] | null;
|
|
18
|
+
align: (colKey: string) => (cellInfo: {
|
|
19
|
+
rowInd: number;
|
|
20
|
+
}) => MergedCellsAlign | undefined;
|
|
21
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.useColumns=e.useColumns;exports.useContextMenuValues=e.useContextMenuValues;exports.useContextsValues=e.useContextsValues;exports.useFilteredRows=e.useFilteredRows;exports.useFlattenedRows=e.useFlattenedRows;exports.useInlineStyle=e.useInlineStyle;exports.useIsLoadingTable=e.useIsLoadingTable;exports.useOnCellClick=e.useOnCellClick;exports.useOnRowsChange=e.useOnRowsChange;exports.usePrepareTableConfig=e.usePrepareTableConfig;exports.useRecalculateColumnsWidth=e.useRecalculateColumnsWidth;exports.useRowClass=e.useRowClass;exports.useRowHeight=e.useRowHeight;exports.useRowInstruments=e.useRowInstruments;exports.useRowsWithSkeletonsOrNot=e.useRowsWithSkeletonsOrNot;exports.useSearchValues=e.useSearchValues;exports.useSidebarState=e.useSidebarState;exports.useTableCollapseValues=e.useTableCollapseValues;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c8 as a, c9 as u, ca as c, cb as l, cc as o, cd as t, ce as n, cf as i, cg as C, ch as r, ci as R, cj as w, ck as d, cl as h, cm as b, cn as g, co as m, cp as S } from "../../../chunks/TableCanvas
|
|
1
|
+
import { c8 as a, c9 as u, ca as c, cb as l, cc as o, cd as t, ce as n, cf as i, cg as C, ch as r, ci as R, cj as w, ck as d, cl as h, cm as b, cn as g, co as m, cp as S } from "../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
export {
|
|
3
3
|
a as useColumns,
|
|
4
4
|
u as useContextMenuValues,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ObjectForExtending, TableConfig } from '../types';
|
|
2
|
+
|
|
3
|
+
export interface MergedViewInfo {
|
|
4
|
+
kind: 'grouping' | 'subRows';
|
|
5
|
+
keys: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function resolveMergedView<FilterStateType extends ObjectForExtending, RowIdType extends string | number, RowType extends ObjectForExtending, SummaryRowType = unknown>(tableConfig: TableConfig<RowType, SummaryRowType, RowIdType, FilterStateType>): MergedViewInfo | null;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ObjectForExtending, TableConfig } from '../types';
|
|
2
2
|
|
|
3
|
-
export declare const usePrepareTableConfig: <FilterStateType extends ObjectForExtending, RowIdType extends string | number, RowType extends ObjectForExtending, SummaryRowType = unknown>({ tableConfigExternal, }: {
|
|
3
|
+
export declare const usePrepareTableConfig: <FilterStateType extends ObjectForExtending, RowIdType extends string | number, RowType extends ObjectForExtending, SummaryRowType = unknown>({ tableConfigExternal, flattenedRowsRef, }: {
|
|
4
4
|
tableConfigExternal: TableConfig<RowType, SummaryRowType, RowIdType, FilterStateType>;
|
|
5
|
+
flattenedRowsRef?: {
|
|
6
|
+
readonly current: readonly RowType[];
|
|
7
|
+
};
|
|
5
8
|
}) => {
|
|
6
9
|
tableConfig: TableConfig<RowType, SummaryRowType, RowIdType, FilterStateType>;
|
|
7
10
|
};
|
|
@@ -2,5 +2,8 @@ import { ObjectForExtending } from './utils.type';
|
|
|
2
2
|
import { DefaultOmittedKeys } from './glide-type';
|
|
3
3
|
import { ColumnConfig } from './column-config.type';
|
|
4
4
|
import { ColumnGlideInstance } from '../TableGlideInstance/type';
|
|
5
|
+
import { CellInfo, SpanCellAlign } from '../../TableGlide';
|
|
5
6
|
|
|
6
|
-
export type ColumnConfigInternal<R extends ObjectForExtending, SR = unknown> = ColumnConfig<R, SR> & Pick<ColumnGlideInstance<R, SR>, DefaultOmittedKeys
|
|
7
|
+
export type ColumnConfigInternal<R extends ObjectForExtending, SR = unknown> = ColumnConfig<R, SR> & Pick<ColumnGlideInstance<R, SR>, DefaultOmittedKeys> & {
|
|
8
|
+
spanAlign?: SpanCellAlign | ((cellInfo: CellInfo<R, SR>) => SpanCellAlign | undefined);
|
|
9
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ObjectForExtending } from './utils.type';
|
|
2
|
+
import { MergedCellsAlign } from './merged-cells.type';
|
|
2
3
|
import { ColumnDefaultOmitted } from './glide-type';
|
|
3
4
|
import { CtxsType } from './ctxs.type';
|
|
4
5
|
import { HeaderAlignment } from './columns-grouping.type';
|
|
@@ -130,6 +131,7 @@ export type ColumnConfig<Row extends ObjectForExtending, SummRow = unknown, Cust
|
|
|
130
131
|
keyText?: KeyTextColumnConfig<Row, SummRow>;
|
|
131
132
|
themeOverride?: (cellInfo: CellInfo<Row, SummRow, CustomCtxs>, lvl: number) => CellThemeOverrideResult | undefined;
|
|
132
133
|
squashedHeaderAlign?: HeaderAlignment;
|
|
134
|
+
mergedCellsAlign?: MergedCellsAlign | ((row: Row) => MergedCellsAlign | undefined);
|
|
133
135
|
};
|
|
134
136
|
export type ColumnOrColumnGroupConfig<R extends ObjectForExtending, SR = unknown> = ColumnConfig<R, SR> | ColumnGroupConfig<R, SR>;
|
|
135
137
|
export declare interface ColumnGroupConfig<R extends ObjectForExtending, SR = unknown> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObjectForExtending } from './utils.type';
|
|
2
2
|
import { ColumnGlideInstance } from '../TableGlideInstance/type';
|
|
3
3
|
|
|
4
|
-
export type DefaultOmittedKeys = Extract<keyof ColumnGlideInstance<ObjectForExtending, unknown, ObjectForExtending>, 'editable' | 'frozen' | 'isServiceColumn' | 'isErrorCell' | 'renderEditCell' | 'renderCellPreview' | 'renderCell' | 'columnThemeOverride'>;
|
|
4
|
+
export type DefaultOmittedKeys = Extract<keyof ColumnGlideInstance<ObjectForExtending, unknown, ObjectForExtending>, 'editable' | 'frozen' | 'isServiceColumn' | 'isErrorCell' | 'renderEditCell' | 'renderCellPreview' | 'renderCell' | 'columnThemeOverride' | 'colSpan' | 'rowSpan' | 'spanAlign'>;
|
|
5
5
|
export type ColumnDefaultOmitted<Row extends ObjectForExtending, SummRow = unknown, CustomCtxs extends ObjectForExtending = {}> = Omit<ColumnGlideInstance<Row, SummRow, CustomCtxs>, DefaultOmittedKeys>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.DOM_METADATA_ACTIONS=e.DOM_METADATA_ACTIONS;
|
|
@@ -2,6 +2,7 @@ export type { CellTransferConfig } from '../feature-cell-transfer/types';
|
|
|
2
2
|
export type * from './column-config.type';
|
|
3
3
|
export type { DomMetadataAction } from './dom-metadata-actions';
|
|
4
4
|
export { DOM_METADATA_ACTIONS } from './dom-metadata-actions';
|
|
5
|
+
export type * from './merged-cells.type';
|
|
5
6
|
export type * from './table.type';
|
|
6
7
|
export type * from './table-config.type';
|
|
7
8
|
export type * from './utils.type';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Maybe, ObjectForExtending, Prettify } from './utils.type';
|
|
2
|
+
import { MergedCellsAlign } from './merged-cells.type';
|
|
2
3
|
import { ColumnsGroupingConfig } from './columns-grouping.type';
|
|
3
4
|
import { ColumnConfig, EditingCellInfo, SortColumn } from './column-config.type';
|
|
4
5
|
import { DomMetadata } from './additional.type';
|
|
@@ -205,6 +206,11 @@ export type CellsSelectionConfig = {
|
|
|
205
206
|
enableSelectAll?: boolean;
|
|
206
207
|
state?: [GridSelection, React.Dispatch<React.SetStateAction<GridSelection>>];
|
|
207
208
|
};
|
|
209
|
+
export type MergedCellsRegion = {
|
|
210
|
+
rowKeys: Array<string | number>;
|
|
211
|
+
colKeys: string[];
|
|
212
|
+
mergedCellsAlign?: MergedCellsAlign;
|
|
213
|
+
};
|
|
208
214
|
export type TableConfig<RowType extends ObjectForExtending, SummaryRowType, RowIdType extends string | number, FilterStateType extends ObjectForExtending> = {
|
|
209
215
|
columnsGrouping?: ColumnsGroupingConfig;
|
|
210
216
|
highlightActiveType?: HighlightActiveType;
|
|
@@ -249,6 +255,15 @@ export type TableConfig<RowType extends ObjectForExtending, SummaryRowType, RowI
|
|
|
249
255
|
};
|
|
250
256
|
editing?: EditingConfig<RowType, RowIdType, SummaryRowType>;
|
|
251
257
|
cellTransfer?: CellTransferConfig;
|
|
258
|
+
mergeCells?: {
|
|
259
|
+
mergeByCellValues?: Array<string | {
|
|
260
|
+
colKey: string;
|
|
261
|
+
value: (row: RowType) => unknown;
|
|
262
|
+
}>;
|
|
263
|
+
mergedCellsRegions?: MergedCellsRegion[];
|
|
264
|
+
rowKeyGetter?: (row: RowType) => string | number;
|
|
265
|
+
mergedCellsAlign?: MergedCellsAlign;
|
|
266
|
+
};
|
|
252
267
|
notifications?: TableNotificationsConfig;
|
|
253
268
|
subRows?: SubRows<RowType, RowIdType>;
|
|
254
269
|
rowMarkers?: RowMarkersTableConfig<RowType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/TableCanvas-MMWMrYiV.cjs"),t=require("../../../chunks/utils-CUW5bd8S.cjs");exports.calculateMinColumnWidth=e.calculateMinColumnWidth;exports.getDataAttributes=e.getDataAttributes;exports.overflowDotsStyle=e.overflowDotsStyle;exports.pasteOnlyKeysWithNotUndefinedValue=e.pasteOnlyKeysWithNotUndefinedValue;exports.setValueInObj=e.setValueInObj;exports.viewportToContainerPosition=e.viewportToContainerPosition;exports.tableDebug=t.tableDebug;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b7 as a, b8 as o, b9 as s, ba as b, bb as i, bc as l } from "../../../chunks/TableCanvas
|
|
1
|
+
import { b7 as a, b8 as o, b9 as s, ba as b, bb as i, bc as l } from "../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
import { z as r } from "../../../chunks/utils-YKicAHp0.mjs";
|
|
3
3
|
export {
|
|
4
4
|
a as calculateMinColumnWidth,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const e=require("../../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const e=require("../../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.useCompressionFeatures=e.useCompressionFeatures;exports.useControlBlockMeasurements=e.useControlBlockMeasurements;exports.useMeasurementEffects=e.useMeasurementEffects;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import { cs as r, ct as t, cu as u } from "../../../../../chunks/TableCanvas
|
|
2
|
+
import { cs as r, ct as t, cu as u } from "../../../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
3
3
|
export {
|
|
4
4
|
r as useCompressionFeatures,
|
|
5
5
|
t as useControlBlockMeasurements,
|
|
@@ -2,7 +2,7 @@ import { ButtonProps, ControlBlockButtonProps } from './control-block-button.typ
|
|
|
2
2
|
import { CSSObject, FlattenSimpleInterpolation } from 'styled-components';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
|
|
5
|
-
export declare const StyledLinkButton: React.
|
|
5
|
+
export declare const StyledLinkButton: React.ForwardRefExoticComponent<Omit<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
6
6
|
view: {
|
|
7
7
|
default: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
8
8
|
accent: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -11,6 +11,7 @@ export declare const StyledLinkButton: React.FunctionComponent<import('@salutejs
|
|
|
11
11
|
warning: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
12
12
|
negative: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
13
13
|
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
14
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
14
15
|
};
|
|
15
16
|
size: {
|
|
16
17
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -30,7 +31,7 @@ export declare const StyledLinkButton: React.FunctionComponent<import('@salutejs
|
|
|
30
31
|
disabled?: boolean | undefined;
|
|
31
32
|
view?: string | undefined;
|
|
32
33
|
size?: string | undefined;
|
|
33
|
-
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
34
|
+
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
34
35
|
export declare const StyledDivider: import('styled-components').StyledComponent<React.FunctionComponent<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
35
36
|
view: {
|
|
36
37
|
default: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.CONTROL_BLOCK=o.CONTROL_BLOCK;exports.ControlBlock=o.ControlBlock;exports.ControlBlockLazy=o.ControlBlockLazy;exports.ControlBlockSwitch=o.ControlBlockSwitch;exports.ControlBlockWithoutResize=o.ControlBlockWithoutResize;exports.controlBlockClassNames=o.controlBlockClassNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cw as l, cx as s, cy as a, cz as t, cA as r, cB as B } from "../../../../chunks/TableCanvas
|
|
1
|
+
import { cw as l, cx as s, cy as a, cz as t, cA as r, cB as B } from "../../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
export {
|
|
3
3
|
l as CONTROL_BLOCK,
|
|
4
4
|
s as ControlBlock,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.RightSide=e.RightSide;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.ControlBlock=o.ControlBlock;exports.ControlBlockLazy=o.ControlBlockLazy;exports.MassActions=o.MassActions;exports.NoRowsFallback=o.NoRowsFallback;exports.TableOrCardsUI=o.TableOrCardsUI;exports.renderFilterSortHeader=o.renderFilterSortHeader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cx as r, cy as s, cK as c, cX as l, cY as e, cZ as t } from "../../../chunks/TableCanvas
|
|
1
|
+
import { cx as r, cy as s, cK as c, cX as l, cY as e, cZ as t } from "../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
export {
|
|
3
3
|
r as ControlBlock,
|
|
4
4
|
s as ControlBlockLazy,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.useMassActionsButtons=s.useMassActionsButtons;exports.useMassActionsCollapse=s.useMassActionsCollapse;exports.useMassActionsCompression=s.useMassActionsCompression;exports.useMassActionsEffects=s.useMassActionsEffects;exports.useMassActionsPosition=s.useMassActionsPosition;exports.useMassActionsSidebar=s.useMassActionsSidebar;exports.useMassActionsVisibility=s.useMassActionsVisibility;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cC as c, cD as i, cE as o, cF as t, cG as e, cH as n, cI as u } from "../../../../../chunks/TableCanvas
|
|
1
|
+
import { cC as c, cD as i, cE as o, cF as t, cG as e, cH as n, cI as u } from "../../../../../chunks/TableCanvas-DcoUBrgC.mjs";
|
|
2
2
|
export {
|
|
3
3
|
c as useMassActionsButtons,
|
|
4
4
|
i as useMassActionsCollapse,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../chunks/TableCanvas-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../chunks/TableCanvas-MMWMrYiV.cjs");exports.MassActionButton=t.MassActionButton;exports.MassActions=t.MassActions;
|
|
@@ -13,6 +13,7 @@ export declare const StyledButtonWithDropdown: import('react').ComponentType<imp
|
|
|
13
13
|
dark: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
14
14
|
black: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
15
15
|
white: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
16
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
16
17
|
};
|
|
17
18
|
size: {
|
|
18
19
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -65,6 +66,7 @@ export declare const StyledButtonWithDropdown: import('react').ComponentType<imp
|
|
|
65
66
|
dark: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
66
67
|
black: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
67
68
|
white: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
69
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
68
70
|
};
|
|
69
71
|
size: {
|
|
70
72
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -106,7 +108,7 @@ export declare const StyledButtonWithDropdown: import('react').ComponentType<imp
|
|
|
106
108
|
value?: undefined;
|
|
107
109
|
contentRight?: import('react').ReactNode;
|
|
108
110
|
} & import('react').RefAttributes<HTMLButtonElement>, "ref">> & StyledButtonProps>;
|
|
109
|
-
export declare const StyledLinkButtonWithDropdown: import('react').ComponentType<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
111
|
+
export declare const StyledLinkButtonWithDropdown: import('react').ComponentType<Omit<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
110
112
|
view: {
|
|
111
113
|
default: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
112
114
|
accent: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -115,6 +117,7 @@ export declare const StyledLinkButtonWithDropdown: import('react').ComponentType
|
|
|
115
117
|
warning: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
116
118
|
negative: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
117
119
|
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
120
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
118
121
|
};
|
|
119
122
|
size: {
|
|
120
123
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -134,7 +137,7 @@ export declare const StyledLinkButtonWithDropdown: import('react').ComponentType
|
|
|
134
137
|
disabled?: boolean | undefined;
|
|
135
138
|
view?: string | undefined;
|
|
136
139
|
size?: string | undefined;
|
|
137
|
-
} & import('react').RefAttributes<HTMLAnchorElement> & StyledButtonProps>;
|
|
140
|
+
} & import('react').RefAttributes<HTMLAnchorElement>, "ref"> & import('react').RefAttributes<HTMLAnchorElement> & StyledButtonProps>;
|
|
138
141
|
export declare const MassActionsContainer: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
139
142
|
$isCollapsed?: boolean | undefined;
|
|
140
143
|
$size?: MassActionsSize | undefined;
|
|
@@ -149,7 +152,7 @@ export declare const ActionsWrapper: import('styled-components').StyledComponent
|
|
|
149
152
|
$isCollapsed: boolean;
|
|
150
153
|
}, never>;
|
|
151
154
|
export declare const ResetButtonWrapper: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
152
|
-
export declare const ResetButton: import('styled-components').StyledComponent<import('react').
|
|
155
|
+
export declare const ResetButton: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<Omit<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
153
156
|
view: {
|
|
154
157
|
default: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
155
158
|
accent: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -158,6 +161,7 @@ export declare const ResetButton: import('styled-components').StyledComponent<im
|
|
|
158
161
|
warning: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
159
162
|
negative: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
160
163
|
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
164
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
161
165
|
};
|
|
162
166
|
size: {
|
|
163
167
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -177,7 +181,7 @@ export declare const ResetButton: import('styled-components').StyledComponent<im
|
|
|
177
181
|
disabled?: boolean | undefined;
|
|
178
182
|
view?: string | undefined;
|
|
179
183
|
size?: string | undefined;
|
|
180
|
-
} & import('react').RefAttributes<HTMLAnchorElement>>, import('styled-components').DefaultTheme, {}, never>;
|
|
184
|
+
} & import('react').RefAttributes<HTMLAnchorElement>, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>, import('styled-components').DefaultTheme, {}, never>;
|
|
181
185
|
export declare const StyledDivider: import('styled-components').StyledComponent<import('react').FunctionComponent<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
182
186
|
view: {
|
|
183
187
|
default: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -212,6 +216,7 @@ export declare const CollapseButton: import('styled-components').StyledComponent
|
|
|
212
216
|
warning: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
213
217
|
negative: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
214
218
|
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
219
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
215
220
|
};
|
|
216
221
|
size: {
|
|
217
222
|
l: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -286,6 +291,7 @@ export declare const MoreButton: import('styled-components').StyledComponent<imp
|
|
|
286
291
|
dark: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
287
292
|
black: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
288
293
|
white: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
294
|
+
gradient: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
289
295
|
};
|
|
290
296
|
size: {
|
|
291
297
|
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("@salutejs/sdds-finai"),d=require("react/jsx-runtime"),xe=require("../ModalDFConfirmation/index.cjs"),k=require("../../chunks/Table-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("@salutejs/sdds-finai"),d=require("react/jsx-runtime"),xe=require("../ModalDFConfirmation/index.cjs"),k=require("../../chunks/Table-BwhzcFX1.cjs"),f=require("react"),je=require("swr"),Oe=require("@salutejs/plasma-icons"),Be=require("swr/mutation"),W=require("../../constants/index.cjs"),ue=require("@salutejs/sdds-themes/tokens/sdds_finai"),ve=require("styled-components"),Ee=require("../../chunks/utils-CUW5bd8S.cjs"),Ae=require("../../layouts/ErrorPage/index.cjs"),H=async(o,t)=>{const r=await o(t);if(!r.ok){const i=new Error,n=await r.json();throw i.status=r.status,i.info=n,i.message=`An error occurred while fetching the data.
|
|
2
2
|
|
|
3
3
|
${JSON.stringify(n,void 0,2)}`,i}return r.json()},ge=class ge{};ge.get=async(t,r)=>H(r,t);let te=ge;const J=class J{};J.createOne=(t,r)=>H(r,{method:"POST",body:JSON.stringify(t)}),J.deleteOne=(t,r)=>H(r,{method:"POST",body:JSON.stringify(t),pathParams:"delete"}),J.updateOne=(t,r)=>H(r,{method:"PUT",body:JSON.stringify(t)});let z=J;const G={sort:"sort",page:"page",pageSize:"pageSize",q:"q"},Ie={height:"500px"},Pe=[{ansiSqlType:"Real",semanticType:"FLOAT",jsType:"number"},{ansiSqlType:"Integer/Int/Int4",semanticType:"INTEGER",jsType:"number"},{ansiSqlType:"Numeric/decimal",semanticType:"DECIMAL",jsType:"number"},{ansiSqlType:"Text",semanticType:"STRING",jsType:"string"},{ansiSqlType:"Date",semanticType:"DATE",jsType:"Date"},{ansiSqlType:"Time",semanticType:"TIME",jsType:"Date"},{ansiSqlType:"Timestamp without timezone",semanticType:"DATETIME",jsType:"Date"},{ansiSqlType:"Timestamp with timezone",semanticType:"TIMESTAMP",jsType:"Date"},{ansiSqlType:"Boolean",semanticType:"BOOLEAN",jsType:"boolean"}],fe=(o,t)=>{const r=o==null?void 0:o[t.shift()];return!r||!t.length?r:fe(r,t)},$=o=>t=>o.split(",").reduce((n,s)=>{const a=fe(t,s.split("."))??"";return n+a},""),M="AddRowsIconButtonWithPopover",E={container:`${M}_container`,bottomBlock:`${M}_bottomBlock`,title:`${M}_title`,description:`${M}_description`,arrowSelector:`${M}_popover-arrow:before`},U={spaceX6:()=>W.s.x6,spaceX8:()=>W.s.x8,spaceX4:()=>W.s.x4,spaceX2:()=>W.s.x2},Ne=ve(N.Popover).withConfig({displayName:"AddRowsIconButtonWithPopover__PopoverStyled"})(["& .",",& .","{background-color:",";}.","{padding:"," 14px;border-radius:",";.","{margin-bottom:",";}.","{color:",";}.","{margin-top:",";display:flex;gap:",";}}"],E.arrowSelector,E.container,()=>ue.surfaceSolidCard,E.container,U.spaceX6,U.spaceX8,E.title,U.spaceX2,E.description,()=>ue.textSecondary,E.bottomBlock,U.spaceX6,U.spaceX4),_e=({onSubmit:o})=>{const[t,r]=f.useState(!1),[i,n]=f.useState(1);return d.jsx(Ne,{opened:t,usePortal:!0,onToggle:s=>r(s),role:"presentation",target:d.jsx(N.IconButton,{size:"xs",view:"clear",children:d.jsx(Oe.IconTableRowAdd,{color:"inherit"})}),placement:"bottom",offset:[0,8],trigger:"click",hasArrow:!0,closeOnOverlayClick:!0,closeOnEsc:!0,isFocusTrapped:!0,children:d.jsxs("div",{className:E.container,children:[d.jsx(N.BodyM,{bold:!0,className:E.title,children:"Добавить строки"}),d.jsx(N.BodyS,{className:E.description,children:"Введите необходимое количество"}),d.jsxs("div",{className:E.bottomBlock,children:[d.jsx(N.NumberInput,{view:"secondary",size:"s",value:i,min:0,onChange:(s,a)=>{a!==void 0&&n(+a)},width:140}),d.jsx(N.Button,{size:"s",view:"accent",onClick:()=>{o(i),r(!1)},children:"Добавить"})]})]})})},se={header:"Удалить строку?",body:"Если удалить строку, восстановить ее и продолжить с ней работу будет невозможно.",mainButton:{view:"negative",text:"Удалить"},secondaryButton:{view:"secondary",text:"Отменить"}},ie={opened:!1,mainButtonOnClick:()=>{},secondaryButtonOnClick:()=>{}},F="NEW_ROW_KEY_XXXXXXXXX",Ce=o=>!!(o!=null&&o[F]),ee=o=>{const t=k.deleteSkeletonFromRow(o);return delete t[F],t};function Re({tableConfigBackendSubRows:o,tableConfigBackendEditing:t,tableConfigColumnsConfig:r,setRowsState:i,fetcher:n,onRowMutationError:s}){const{rowUniqIdKey:a,rowEditable:e,defaultEnabled:l,showToggleEnabledButton:u,saving:c}=t??{},g=(c==null?void 0:c.type)??"onRowChange",C=!!t,p=!!(t!=null&&t.defaultEnabled),[T,A]=f.useState([]),[P,q]=f.useState(!!(t!=null&&t.defaultEnabled)),[O,_]=f.useState(ie),I=f.useCallback((S,w)=>{const b=h=>typeof w=="function"?w(h):w;i(h=>{const m=h.findIndex(S);if(m===-1)return h;const y=[...h],x=y[m],V=b(x);return y[m]=V,y})},[i]);f.useEffect(()=>{q(p)},[p]);const X=o==null?void 0:o.subRowsKey,K=JSON.stringify(e),D=f.useMemo(()=>{if(!C||!a)return null;const S=$(a);return{editing:{rowKeyGetter:S,...K&&{rowEditable(w){const b=JSON.parse(K);return $(b.keyInRow)(w)===b.editableValue}},async onRowsChange(w,b){if(g==="onRowChange"){const h=b.rows[0],m=b.indexes[0];if(!h||m===void 0||m===-1)return;const y=h.after,x=h.before;if(Ce(y)){const j=r==null?void 0:r.every(v=>(y==null?void 0:y[v.key])!==void 0),B=v=>(v==null?void 0:v[F])===(y==null?void 0:y[F]);if(!j){I(B,y);return}try{I(B,L=>k.addSkeletonToRow(L));const v=await z.createOne(ee(y),n);I(B,ee(v))}catch(v){I(B,L=>k.deleteSkeletonFromRow(L)),s==null||s(v)}return}const V=j=>S(j)===S(x);try{I(V,v=>k.addSkeletonToRow(v));const j={before:ee(x),after:ee(y)},B=await z.updateOne(j,n);I(V,k.deleteSkeletonFromRow(B.after))}catch(j){I(V,B=>k.deleteSkeletonFromRow(B)),s==null||s(j)}}},...X&&{subRowsKey:X},defaultEnabled:l,showToggleEnabledButton:u,async onToggleEnableEditing(w){w||i(b=>b.filter(h=>!h[F])),q(w)}}}},[l,C,n,s,K,a,g,i,u,X,r,I]),{isMutating:Y,trigger:Q}=Be("saving",async()=>n({method:"PUT",body:JSON.stringify(T)}),{onError(S,w,b){},onSuccess(S,w,b){}}),Z=P&&g==="onSubmit"?{text:"Сохранить",isLoading:Y,disabled:T.length===0,onClick:()=>{Q()}}:null;return{editing:D,saveButton:Z,...P&&{createOneRowButton:{value:"createOneRow",CustomIconRender:()=>d.jsx(_e,{onSubmit:S=>{if(S>0){const w=Array.from({length:S},(b,h)=>({[F]:crypto.randomUUID()}));i(b=>[...w,...b])}}})},getDeleteOneRowRowInstrument:({row:S})=>({value:"delete",label:"Удалить строку",contentLeft:d.jsx(Oe.IconTrashOutline,{size:"xs",color:"inherit"}),async onItemSelect(){var h;const w=(h=D==null?void 0:D.editing)==null?void 0:h.rowKeyGetter;if(!w)return;const b=async()=>{if(Ce(S)){i(y=>y.filter(x=>x[F]!==S[F]));return}const m=y=>w(y)===w(S);try{I(m,k.addSkeletonToRow(S)),await z.deleteOne(S,n),i(y=>y.filter(x=>!m(x)))}catch(y){I(m,k.deleteSkeletonFromRow(S)),s==null||s(y)}};_({opened:!0,mainButtonOnClick:()=>{b(),_(ie)},secondaryButtonOnClick:()=>{_(ie)}})}})},modalDeletePropsState:O}}const ce=o=>Object.fromEntries(o.map(t=>[t.key,""])),Fe=({tableConfigBackendFiltering:o,dispatchParams:t,columnsConfig:r})=>{const i=!!o,n=r??[],[s,a]=f.useState(ce(n));f.useEffect(()=>{a(ce(n))},[n.length]);const e=f.useMemo(()=>ce(n),[n.length]),l=Ee.useDebouncedValue(s,1e3);return f.useEffect(()=>{t(["filters",l])},[l,t]),f.useMemo(()=>!i||!(Object.keys(e).length===Object.keys(s).length)?null:{filtering:{state:[s,a],manualFiltering:!0,clearedValue:e}},[e,s,i])};function Te(o){const t=Number(o);return typeof o!="number"&&t===0||Number.isNaN(t)?null:t}function qe({tableConfigBackendPagination:o,params:t,dispatchParams:r}){const{defaultPage:i,defaultPageSize:n,total:s,pageSizeList:a}=o??{};return f.useMemo(()=>{if(!i||!n||!s)return null;const e=Te(t.get(G.page))??i,l=Te(t.get(G.pageSize))??n;return{pagination:{count:s,value:e,perPage:l,...a&&{perPageList:a},onChange:(u,c,g)=>{if(typeof u!="number")return;const C=e!==u,p=!!l&&!!c&&+l!==c,T={};if(C&&(T.page=u,T.pageSize=c),p){T.pageSize=c;const A=s?Math.ceil(s/c):0;if(+e>A){const P=A;T.page=P}}Object.keys(T).length&&(r(["pagination",T]),g())}}}},[i,n,r,s,t])}const Ve={debounceDelay:1e3};function De({tableConfigBackendSearching:o,dispatchParams:t}){const{enabled:r,type:i,defaultSearchQuery:n,showSearchBlock:s,debounceDelay:a,isDebounceActive:e,searchClasses:l,placeholder:u}=o??{};return f.useMemo(()=>{if(!r)return null;const c={defaultSearchQuery:n,showSearchBlock:s,debounceDelay:a,isDebounceActive:e,searchClasses:l,placeholder:u};return i==="frontend"?{searching:{enabled:!0,manualSearching:!1,...c}}:{searching:{enabled:!0,manualSearching:!0,onDebouncedChange(g){t(["q",g])},...c,debounceDelay:c.debounceDelay??Ve.debounceDelay}}},[r,n,s,a,e,l,u,i,t])}const ne="sortKey",de="sortOrder";function Le(o,t){return o?{columnKey:o,direction:t?t.toUpperCase():"ASC"}:null}function ze({params:o,dispatchParams:t,tableConfigBackendSorting:r}){const i=!!r,n=(r==null?void 0:r.type)==="backend",s=o.get(ne),a=o.get(de),e=f.useState([]),l=f.useMemo(()=>{const c=Le(s,a),g=c?[c]:[];return[g,C=>{let p=g;typeof C=="function"?p=C(g):p=C,t([ne,p])}]},[t,s,a]),u=i&&(n?l:e);return u?{sorting:{state:u,manualSorting:n}}:null}function Ge(o){const{subRowsKey:t,rowUniqIdKey:r}=o??{},i=!!o;return f.useMemo(()=>!i||t===void 0||r===void 0?null:{subRows:{getSubRows(n){let s=[t];t.includes(".")&&(s=t.split("."));const a=fe(n,s);return Array.isArray(a)?a:void 0},rowKeyGetter:$(r)}},[i,r,t])}function Xe(o,t){const[r,i]=t;switch(r){case"sortKey":{const n=new URLSearchParams(o),[s]=i;return s?(n.set(ne,s.columnKey),n.set(de,s.direction.toLowerCase())):(n.delete(ne),n.delete(de)),n}case"pagination":{const n=new URLSearchParams(o);return Object.entries(i).forEach(([s,a])=>{a&&n.set(s,a.toString())}),n}case"q":{const n=new URLSearchParams(o);return n.set(G.q,i),n}case"filters":{const n=new URLSearchParams(o);return Object.entries(i).forEach(([a,e])=>{if(!((e==null?void 0:e.trim())??"")){n.delete(a);return}n.set(a,e)}),o.get(G.page)&&n.set(G.page,"1"),n}default:return o}}const Ke={true:!0,false:!1},Me=[{value:"true",label:"true"},{value:"false",label:"false"}];function Ue({row:o,column:t,onRowChange:r}){const i=k.useRowContext(),n=o[t.key],s=n===void 0?n:n.toString(),a=f.useRef(null),e=k.useRefTableGlobalContainerContext();return f.useEffect(()=>{setTimeout(()=>{var l,u;(u=(l=a.current)==null?void 0:l.click)==null||u.call(l)},0)},[]),d.jsx(N.Select,{ref:a,portal:e,listWidth:"200px",value:s,size:k.SIZES[i.rowSize].input,onChange:l=>{typeof l=="string"&&r({...o,[t.key]:Ke[l]},!0)},items:Me})}const We={Boolean:{component:o=>d.jsx(Ue,{...o})},Text:{component:"inputString"},"Integer/Int/Int4":{component:"inputNumber"},"Numeric/decimal":{component:"inputNumber"},Real:{component:"inputNumber"},Date:{component:"inputString"},Time:{component:"inputString"},"Timestamp with timezone":{component:"inputString"},"Timestamp without timezone":{component:"inputString"}},ae=(o,t)=>{if(!o)return t?{...We[t],error:{value:()=>!1},editable:!0}:void 0;const{error:r,editable:i,...n}=o,s=r?{value:l=>$(r.value.keyInRow)(l)===r.value.errorValue}:void 0,a=i?l=>i?$(i.keyInRow)(l)===i.editableValue:!1:void 0;return{...s&&{error:s},...a&&{editable:a},...n}},He=(o,t)=>o.map(r=>{const{columnType:i}=r,n=[];t!=null&&t.filtering&&n.push(["filtering",{component:"input",filter:"includes",keyInFilterState:r.key}]);const s=Object.entries(r).map(e=>{const l=e[0];switch(l){case"subRow":{let u=null;const c=e[1];if(!c)return[l,c];const{contentFormat:g,keyOfColumnInSubRow:C,editingCell:p,...T}=c,A=p?ae(p,i):void 0;return u={...T,...g&&{contentFormat:g},...A&&{editingCell:A},...C&&{keyOfColumnInSubRow:P=>{var O,_;return typeof c.keyOfColumnInSubRow=="string"||typeof c.keyOfColumnInSubRow=="number"?c.keyOfColumnInSubRow:((O=c.keyOfColumnInSubRow)==null?void 0:O[P])??((_=c.keyOfColumnInSubRow)==null?void 0:_.default)??""}}},[l,u]}case"searching":{const u=e[1];return u?[l,{valueInRow(g){return g==null?void 0:g[u.keyInRow]}}]:[l,u]}case"summaryCell":{const u="renderSummaryCell",c=e[1];return!c||!c.key&&!c.text?[u,void 0]:[u,({row:C})=>c.text!==void 0?c.text:c.key?C[c.key]:null]}case"columnType":{const u=e[1],c=[l,u];if(!u)return c;const g=r.editingCell;if(!!g)return c;const p="editingCell",T=ae(g,i);return n.push([p,T]),c}case"editingCell":{const u=e[1],c=ae(u,i);return[l,c]}default:return e}});return Object.fromEntries([...n,...s])}),Je=o=>{const{data:{main:t,topSummary:r,bottomSummary:i},meta:{tableConfig:n,columns:s}}=o,a=He(s,n);return{rows:t,columnsConfig:a,tableConfigBackend:n,topSummaryRows:r,bottomSummaryRows:i}},ke=ve.div.withConfig({displayName:"TableOtherView__StyledDiv"})(["&{border:1px solid ",";border-radius:","px;background-color:",";height:",";display:flex;justify-content:center;align-items:center;flex-direction:column;& .spinner{margin-bottom:",";}}"],()=>k.COLORS.border,()=>k.TABLE_BORDER_RADIUS,()=>k.COLORS.white,()=>Ie.height,()=>W.s.x6),le=({view:o,...t})=>o==="loading"?d.jsxs(ke,{...t,children:[d.jsx(N.Spinner,{view:"default",className:"spinner",size:"xl"}),d.jsx(N.H3,{color:ue.textPrimary,children:"Загрузка таблицы"})]}):d.jsx(ke,{...t,children:d.jsx(Ae.ErrorPage,{unknownStatus:{title:"Похоже, таблица не загружается",description:"Попробуйте обновить страницу или зайдите позже"}})}),$e=({fetcher:o,stylesBeforeLoad:t,onRowMutationError:r})=>{var v,L,ye,me,Se,we,be,he,pe;const i=f.useId(),[n,s]=f.useReducer(Xe,void 0,()=>new URLSearchParams),a=n.toString(),{data:e,isValidating:l,isLoading:u,error:c}=je(()=>i+a,async()=>{const R=await te.get({params:a},o);return Je(R)},{keepPreviousData:!0,staleTime:3e3,revalidateOnFocus:!1}),[g,C]=f.useState(()=>{var R;return(R=e==null?void 0:e.tableConfigBackend)!=null&&R.editing?e!=null&&e.rows?e.rows:[]:[]}),p=!!((v=e==null?void 0:e.tableConfigBackend)!=null&&v.editing);f.useEffect(()=>{p&&e!=null&&e.rows&&e!=null&&e.rows&&C(e.rows)},[e==null?void 0:e.rows,p]);const{editing:T,saveButton:A,createOneRowButton:P,getDeleteOneRowRowInstrument:q,modalDeletePropsState:O}=Re({tableConfigBackendSubRows:(L=e==null?void 0:e.tableConfigBackend)==null?void 0:L.subRows,tableConfigBackendEditing:(ye=e==null?void 0:e.tableConfigBackend)==null?void 0:ye.editing,tableConfigColumnsConfig:e==null?void 0:e.columnsConfig,setRowsState:C,rowsFromBackend:(e==null?void 0:e.rows)??[],fetcher:o,onRowMutationError:r}),_=De({tableConfigBackendSearching:(me=e==null?void 0:e.tableConfigBackend)==null?void 0:me.searching,dispatchParams:s}),I=Fe({tableConfigBackendFiltering:(Se=e==null?void 0:e.tableConfigBackend)==null?void 0:Se.filtering,dispatchParams:s,columnsConfig:e==null?void 0:e.columnsConfig}),X=qe({tableConfigBackendPagination:(we=e==null?void 0:e.tableConfigBackend)==null?void 0:we.pagination,params:n,dispatchParams:s}),K=ze({tableConfigBackendSorting:(be=e==null?void 0:e.tableConfigBackend)==null?void 0:be.sorting,params:n,dispatchParams:s}),D=Ge((he=e==null?void 0:e.tableConfigBackend)==null?void 0:he.subRows),Y=f.useMemo(()=>q?{getRowDropdownConfig:R=>({items:[q(R)],dropdownProps:{useItemContentAsButtonContent:!0}}),showInControl:!1,openedState:[!0,()=>{}]}:null,[q]);if(!(e!=null&&e.rows)&&u)return d.jsx(le,{view:"loading",style:t});const Q=(pe=e==null?void 0:e.tableConfigBackend)==null?void 0:pe.containerStyle;if(!(e!=null&&e.rows)||c)return d.jsx(le,{view:"error",style:{...t,...Q}});if(!(e!=null&&e.rows))return d.jsx(le,{view:"error",style:{...t,...Q}});const Z=[...A?[A]:[]],oe=[...P?[P]:[]],re=oe.length>0,S=Z.length>0,w=S||re,{rows:b,columnsConfig:h,tableConfigBackend:m,topSummaryRows:y,bottomSummaryRows:x}=e,V={containerStyle:{...m==null?void 0:m.containerStyle,height:(m==null?void 0:m.height)??Ie.height}},j={...D,...K,...X,..._,...T,...I,...V},B=m?Object.fromEntries(Object.entries(m).filter(([R])=>!j[R])):{};return d.jsxs(d.Fragment,{children:[d.jsx(k.Table,{tableConfig:{isLoading:{boolean:l,skeletonRowsCount:b.length??10},...w&&{controlBlock:{enableAdaptiveCompress:!1,...S&&{rightSideInner:Z},...re&&{customFeatures:oe}}},...Y&&{rowInstruments:Y},...B,...j},columnConfig:h,rows:T?g:b,topSummaryRows:y,bottomSummaryRows:x}),d.jsx(xe.ModalDFConfirmation,{opened:O==null?void 0:O.opened,content:{...se,mainButton:{...se.mainButton,onClick:O==null?void 0:O.mainButtonOnClick},secondaryButton:{...se.secondaryButton,onClick:O==null?void 0:O.secondaryButtonOnClick}}})]})};exports.DATA_TYPES=Pe;exports.DataViewApi=te;exports.EditingApi=z;exports.Q_PARAMS=G;exports.TableContract=$e;exports.fetcherWrapper=H;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BodyM as xe, BodyS as Ee, NumberInput as Pe, Button as _e, IconButton as Ae, Popover as Ve, Select as Fe, Spinner as je, H3 as Re } from "@salutejs/sdds-finai";
|
|
2
2
|
import { jsx as m, jsxs as ne, Fragment as De } from "react/jsx-runtime";
|
|
3
3
|
import { ModalDFConfirmation as Le } from "../ModalDFConfirmation/index.mjs";
|
|
4
|
-
import { a as ie, d as K, u as ze, b as qe, c as Ge, C as ke, e as Xe, f as Ke } from "../../chunks/Table-
|
|
4
|
+
import { a as ie, d as K, u as ze, b as qe, c as Ge, C as ke, e as Xe, f as Ke } from "../../chunks/Table-B9OAyWAW.mjs";
|
|
5
5
|
import { useState as V, useCallback as Ue, useEffect as M, useMemo as F, useRef as We, useId as He, useReducer as Je } from "react";
|
|
6
6
|
import Me from "swr";
|
|
7
7
|
import { IconTableRowAdd as $e, IconTrashOutline as Ye } from "@salutejs/plasma-icons";
|
|
@@ -6,4 +6,4 @@ export declare class CellContentCache {
|
|
|
6
6
|
get(col: number, row: number): import('@glideappsfinal/glide-data-grid').TextCell | import('@glideappsfinal/glide-data-grid').ImageCell | import('@glideappsfinal/glide-data-grid').BooleanCell | import('@glideappsfinal/glide-data-grid').MarkdownCell | import('@glideappsfinal/glide-data-grid').UriCell | import('@glideappsfinal/glide-data-grid').NumberCell | import('@glideappsfinal/glide-data-grid').CustomCell<{}> | import('@glideappsfinal/glide-data-grid').BubbleCell | import('@glideappsfinal/glide-data-grid').RowIDCell | import('@glideappsfinal/glide-data-grid').LoadingCell | import('@glideappsfinal/glide-data-grid').ProtectedCell | import('@glideappsfinal/glide-data-grid').DrilldownCell | undefined;
|
|
7
7
|
set(colInd: number, rowInd: number, value: GridCell): void;
|
|
8
8
|
}
|
|
9
|
-
export declare const TableGlide: <R extends ObjectForExtending, SR = unknown>({ columns, rows, bottomSummaryRows, rowHeight, width, rowSize, ctxs, freezeColumns, onColumnResize, renderGroupHeader, groupAlignMap, refTable, onColumnsReorder, portalEventTargetRef, onItemHovered: onItemHoveredExternal, unstickyHeader, resizableColumn, minColumnWidth, maxColumnWidth, maxColumnAutoWidth, containerRef: containerRefExternal, containerClassName, containerStyle, renderOverlayFeatures, hideGrid, contentStateNode, fullScreened, editorOverlayPortal, highlightActiveType, cellsSelectionMode, enableColumnSelection, enableRowSelection, enableSelectAll, enableLowDprHairline, gridSelection: gridSelectionExternal, onGridSelectionChange: onGridSelectionChangeExternal, onSelectionEmit, onColumnSelectionChange, pendingColumnSelectionKeys, onColumnSelectionApplied, highlightActiveRow, onHighlightActiveRowChange, highlightActiveRowControlled, highlightRegions: highlightRegionsExternal, checkboxSelectedRowIndexes, checkboxVisibleRowIndexes, hoverEffects, onCellClicked: onCellClickedExternal, onCellContextMenu: onCellContextMenuExternal, onGroupHeaderClicked: onGroupHeaderClickedExternal, onMouseMove: onMouseMoveExternal, portalElementRef: _portalElementRef, ...restProps }: TableGlideProps<R, SR>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const TableGlide: <R extends ObjectForExtending, SR = unknown>({ columns, rows, bottomSummaryRows, rowHeight, width, rowSize, ctxs, freezeColumns, onColumnResize, renderGroupHeader, groupAlignMap, refTable, onColumnsReorder, portalEventTargetRef, onItemHovered: onItemHoveredExternal, unstickyHeader, resizableColumn, minColumnWidth, maxColumnWidth, maxColumnAutoWidth, containerRef: containerRefExternal, containerClassName, containerStyle, renderOverlayFeatures, hideGrid, contentStateNode, fullScreened, editorOverlayPortal, highlightActiveType, cellsSelectionMode, enableColumnSelection, enableRowSelection, enableSelectAll, enableLowDprHairline, gridSelection: gridSelectionExternal, onGridSelectionChange: onGridSelectionChangeExternal, onSelectionEmit, onColumnSelectionChange, pendingColumnSelectionKeys, onColumnSelectionApplied, highlightActiveRow, onHighlightActiveRowChange, highlightActiveRowControlled, highlightRegions: highlightRegionsExternal, checkboxSelectedRowIndexes, checkboxVisibleRowIndexes, hoverEffects, onCellClicked: onCellClickedExternal, onCellContextMenu: onCellContextMenuExternal, onGroupHeaderClicked: onGroupHeaderClickedExternal, onMouseMove: onMouseMoveExternal, onVisibleRegionChanged: onVisibleRegionChangedExternal, portalElementRef: _portalElementRef, ...restProps }: TableGlideProps<R, SR>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../chunks/TableGlide-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../chunks/TableGlide-TYzM2bEB.cjs");exports.rectContainsCell=e.rectContainsCell;exports.useBaseHighlightRegions=e.useBaseHighlightRegions;exports.useColumnRowHighlightRegions=e.useColumnRowHighlightRegions;exports.useNativeGridSelection=e.useNativeGridSelection;exports.useSelectionGeometry=e.useSelectionGeometry;exports.useTableSelectionSystem=e.useTableSelectionSystem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { by as i, bz as o, bA as t, bB as a, bC as l, bD as n } from "../../../../chunks/TableGlide-
|
|
1
|
+
import { by as i, bz as o, bA as t, bB as a, bC as l, bD as n } from "../../../../chunks/TableGlide-Ch-gaROR.mjs";
|
|
2
2
|
export {
|
|
3
3
|
i as rectContainsCell,
|
|
4
4
|
o as useBaseHighlightRegions,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ColumnGlideLast, ObjectForExtending } from '../types';
|
|
2
|
+
import { Rectangle } from '@glideappsfinal/glide-data-grid';
|
|
3
|
+
|
|
4
|
+
interface UseErrorCellRangesParams<R extends ObjectForExtending, SR> {
|
|
5
|
+
columns: readonly ColumnGlideLast<R, SR>[];
|
|
6
|
+
rows: readonly R[];
|
|
7
|
+
freezeColumns?: number;
|
|
8
|
+
selectedRange?: Rectangle;
|
|
9
|
+
}
|
|
10
|
+
export declare function useErrorCellRanges<R extends ObjectForExtending, SR>({ columns, rows, freezeColumns, selectedRange, }: UseErrorCellRangesParams<R, SR>): {
|
|
11
|
+
errorCellRanges: Rectangle[];
|
|
12
|
+
trackVisibleRegion: (visible: Rectangle) => void;
|
|
13
|
+
};
|
|
14
|
+
export {};
|