@daisforge/ui 1.17.0 → 1.19.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/{EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-B8FhA_zv.cjs → EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-75fNjCa0.cjs} +1059 -1293
- package/chunks/{EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-w2nh9o1i.mjs → EXTERNAL_PACKAGE_MODULE_sdds_finai_high_contrast__light_theme-DjDujEzF.mjs} +1060 -1294
- 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-DkZAx-r9.mjs} +6104 -5386
- package/chunks/TableCanvas-QmXGAjPk.cjs +30 -0
- package/chunks/TableGlide-Bngn5_5l.cjs +1 -0
- package/chunks/{TableGlide-Cjcw7Wur.mjs → TableGlide-CkorJrl9.mjs} +2124 -1956
- package/chunks/styles-AUqEaroI.cjs +2 -0
- package/chunks/styles-C-1Srtr7.mjs +132 -0
- package/chunks/{vendor-BzEO8Fvp.cjs → vendor-BSEdLAmZ.cjs} +1049 -1309
- package/chunks/{vendor-DBRfVjyT.mjs → vendor-CA3z7N_7.mjs} +1053 -1313
- 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/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +1 -1
- package/components/NumberFormat/NumberFormat.d.ts +48 -0
- package/components/NumberFormatAmount/NumberFormatAmount.styled.d.ts +48 -0
- 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-edit/textEditor.styled.d.ts +48 -0
- 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/columnsRenderOrder.d.ts +1 -0
- package/components/TableCanvas/feature-column-control/groupDepth.d.ts +14 -0
- package/components/TableCanvas/feature-column-control/hiddenBoundaries.d.ts +4 -0
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.d.ts +2 -0
- package/components/TableCanvas/feature-column-control/index.mjs +4 -2
- package/components/TableCanvas/feature-column-control/styled.d.ts +1 -0
- package/components/TableCanvas/feature-column-control/types.d.ts +10 -0
- package/components/TableCanvas/feature-column-control/useHiddenColumnsIndicator.d.ts +19 -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 +3 -3
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +2 -2
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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/constants.d.ts +1 -0
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/types.d.ts +2 -0
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +4 -4
- 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/tree-disclosure-icons.d.ts +65 -0
- package/components/TableCanvas/feature-tree/types.d.ts +2 -0
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +18 -18
- 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 +6 -5
- package/components/TableCanvas/renders/styleConstants.d.ts +3 -1
- package/components/TableCanvas/renders/styled.d.ts +0 -1
- 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 +3 -3
- package/components/TableCanvas/table-hooks/resolveMergedView.d.ts +7 -0
- package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -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 +17 -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 +3 -3
- 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/TableCanvasSharedConstants/index.cjs +1 -1
- package/components/TableCanvasSharedConstants/index.d.ts +1 -0
- package/components/TableCanvasSharedConstants/index.mjs +4 -3
- 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/constants.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/hooks/useItemHoveredHandler.d.ts +4 -1
- 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/components/index.d.ts +1 -0
- 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/CanvasEmbedIconButton.d.ts +2 -0
- 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/lib/canvas/utils/portalHoverEvents.d.ts +1 -0
- package/components/TableGlide/theming/glide-colors.d.ts +1 -0
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/theming/size-tokens.d.ts +1 -1
- package/components/TableGlide/theming/sizes.d.ts +2 -2
- 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 +2 -2
- package/components/TourWidget/index.mjs +3 -3
- 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 +14 -14
- 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 +713 -159
- package/package.json +10 -9
- package/shared/ui/Search/styled.d.ts +1 -0
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.cjs +1 -1
- package/themes/index.mjs +2 -2
- package/chunks/AnalyticalWidget-z2HzQ4aA.cjs +0 -43
- package/chunks/TableCanvas-uzBMXlx6.cjs +0 -30
- package/chunks/TableGlide-DTBZ1jNA.cjs +0 -1
- package/chunks/styles-BBVEBDDw.mjs +0 -132
- package/chunks/styles-C-pJNMSQ.cjs +0 -2
|
@@ -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-Bngn5_5l.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-CkorJrl9.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 {};
|
|
@@ -13,5 +13,8 @@ export interface UseItemHoveredHandlerParams<R extends ObjectForExtending, SR> {
|
|
|
13
13
|
externalOnItemHovered?: OnItemHovered;
|
|
14
14
|
onHoverRowChange?: (rowInd: number | undefined) => void;
|
|
15
15
|
}
|
|
16
|
-
export declare function useItemHoveredHandler<R extends ObjectForExtending, SR>(params: UseItemHoveredHandlerParams<R, SR>, dataEditorRef: RefObject<DataEditorRef | null>):
|
|
16
|
+
export declare function useItemHoveredHandler<R extends ObjectForExtending, SR>(params: UseItemHoveredHandlerParams<R, SR>, dataEditorRef: RefObject<DataEditorRef | null>): {
|
|
17
|
+
onItemHovered: OnItemHovered;
|
|
18
|
+
hideTooltip: () => void;
|
|
19
|
+
};
|
|
17
20
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@glideappsfinal/glide-data-grid"),e=require("../../chunks/TableGlide-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@glideappsfinal/glide-data-grid"),e=require("../../chunks/TableGlide-Bngn5_5l.cjs");Object.defineProperty(exports,"GridCellKind",{enumerable:!0,get:()=>a.GridCellKind});exports.BUTTON_PADDING_Y=e.BUTTON_PADDING_Y;exports.CANVAS_CELL_KIND=e.CANVAS_CELL_KIND;exports.CANVAS_PORTAL_EVENT=e.CANVAS_PORTAL_EVENT;exports.Canvas=e.Canvas;exports.CanvasAbsoluteContainer=e.CanvasAbsoluteContainer;exports.CanvasBadge=e.CanvasBadge;exports.CanvasButton=e.CanvasButton;exports.CanvasChevron=e.CanvasChevron;exports.CanvasContainer=e.CanvasContainer;exports.CanvasEmbedIconButton=e.CanvasEmbedIconButton;exports.CanvasHoverController=e.CanvasHoverController;exports.CanvasIcon=e.CanvasIcon;exports.CanvasIconButton=e.CanvasIconButton;exports.CanvasLeaf=e.CanvasLeaf;exports.CanvasLink=e.CanvasLink;exports.CanvasNode=e.CanvasNode;exports.CanvasRect=e.CanvasRect;exports.CanvasRegistry=e.CanvasRegistry;exports.CanvasRoot=e.CanvasRoot;exports.CanvasText=e.CanvasText;exports.CellCanvasRoot=e.CellCanvasRoot;exports.DEFAULT_HEADER_HEIGHT=e.DEFAULT_HEADER_HEIGHT;exports.DEFAULT_ROW_HEIGHT=e.DEFAULT_ROW_HEIGHT;exports.DrawBatcher=e.DrawBatcher;exports.EMPTY_CELL_OBJ=e.EMPTY_CELL_OBJ;exports.FlexBox=e.FlexBox;exports.FlexElement=e.FlexElement;exports.ICON_SIZE_ADJUSTMENT=e.ICON_SIZE_ADJUSTMENT;exports.RootBridge=e.RootBridge;exports.RootFlexBox=e.RootFlexBox;exports.SIZES=e.SIZES;exports.SIZE_CONFIG=e.SIZE_CONFIG;exports.TABLE_GLIDE_SIZES=e.TABLE_GLIDE_SIZES;exports.THEME=e.THEME;exports.TableGlide=e.TableGlide;exports.VIEW_COLORS=e.VIEW_COLORS;exports.buildCanvasTree=e.buildCanvasTree;exports.buildCellId=e.buildCellId;exports.canvasCellRenderer=e.canvasCellRenderer;exports.clearIconCache=e.clearIconCache;exports.createCanvasCell=e.createCanvasCell;exports.createCanvasCellRenderer=e.createCanvasCellRenderer;exports.createEmptyCellGlide=e.createEmptyCellGlide;exports.createNormalCanvasInteraction=e.createNormalCanvasInteraction;exports.createTextCellGlide=e.createTextCellGlide;exports.defaultBatcher=e.defaultBatcher;exports.dispatchCanvasPortalHover=e.dispatchCanvasPortalHover;exports.drawButton=e.drawButton;exports.drawButtonWithView=e.drawButtonWithView;exports.drawIcon=e.drawIcon$1;exports.drawIconButton=e.drawIconButton;exports.drawIconButtonWithView=e.drawIconButtonWithView;exports.flexBoxLayout=e.flexBoxLayout;exports.fontStyles=e.fontStyles;exports.getCellIndices=e.getCellIndices;exports.getHoverState=e.getHoverState;exports.getIconCacheSize=e.getIconCacheSize;exports.getIconImageDirect=e.getIconImageDirect;exports.getIconSprite=e.getIconSprite;exports.getIconSpriteStats=e.getIconSpriteStats;exports.getTheme=e.getTheme;exports.isCanvasCell=e.isCanvasCell;exports.isCanvasContent=e.isCanvasContent;exports.isCanvasEl=e.isCanvasEl;exports.isCanvasString=e.isCanvasString;exports.isGlideCellObj=e.isGlideCellObj;exports.isGlideGridCellObj=e.isGlideGridCellObj;exports.isHoveringBounds=e.isHoveringBounds;exports.isObject=e.isObject;exports.isPointInArea=e.isPointInArea;exports.isPortalHoverLocked=e.isPortalHoverLocked;exports.isPrimitive=e.isPrimitive;exports.isReactIcon=e.isReactIcon;exports.isValueEmpty=e.isValueEmpty;exports.lockPortalHover=e.lockPortalHover;exports.normalizeCanvasInteraction=e.normalizeCanvasInteraction;exports.normalizeHoverPoint=e.normalizeHoverPoint;exports.normalizeIcon=e.normalizeIcon;exports.onAnyIconLoad=e.onAnyIconLoad;exports.performCanvasClick=e.performCanvasClick;exports.performCanvasPointerDownIntent=e.performCanvasPointerDownIntent;exports.preloadIconSprites=e.preloadIconSprites;exports.queryGlideElements=e.queryGlideElements;exports.reactIconToSvg=e.reactIconToSvg;exports.registerIconDefinitions=e.registerIconDefinitions;exports.resetIconSpriteCache=e.resetIconSpriteCache;exports.resolveClickPoint=e.resolveClickPoint;exports.resolveFlexPaddingBox=e.resolvePaddingBox;exports.resolvePaddingBox=e.resolvePaddingBox$1;exports.retrieveRenderData=e.retrieveRenderData;exports.storeRenderData=e.storeRenderData;exports.subscribeToCanvasPortalHover=e.subscribeToCanvasPortalHover;exports.subscribeToPortalHoverLock=e.subscribeToPortalHoverLock;exports.toRelativePoint=e.toRelativePoint;exports.updateHoverState=e.updateHoverState;exports.useCanvasRegistry=e.useCanvasRegistry;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GridCellKind as e } from "@glideappsfinal/glide-data-grid";
|
|
2
|
-
import { Y as
|
|
2
|
+
import { Y as t, a$ as o, be as r, C as i, p as l, aB as C, aC as v, aD as b, q as c, aE as d, t as I, aF as E, aG as B, u as T, aH as S, v as g, aI as u, w as m, x as H, aK as R, b0 as _, bF as L, bG as P, D as x, bH as D, F as A, m as G, ae as p, bw as h, R as N, bI as O, ah as w, a as f, k as F, T as y, ai as k, bx as V, b1 as j, aP as z, bf as M, b2 as U, aQ as W, c as Z, y as q, b as K, z as Y, bg as J, an as Q, ao as X, aq as $, ar as aa, as as sa, n as ea, j as na, b3 as ta, b4 as oa, bh as ra, M as ia, N as la, O as Ca, bE as va, b5 as ba, i as ca, d as da, e as Ia, bJ as Ea, g as Ba, b6 as Ta, bK as Sa, b7 as ga, bi as ua, bL as ma, bj as Ha, bM as Ra, bk as _a, A as La, b8 as Pa, bm as xa, U as Da, aY as Aa, aZ as Ga, V as pa, bN as ha, bn as Na, W as Oa, X as wa, b9 as fa, r as Fa, B as ya, ba as ka, bb as Va, s as ja, h as za, bc as Ma, bd as Ua, bq as Wa } from "../../chunks/TableGlide-CkorJrl9.mjs";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as BUTTON_PADDING_Y,
|
|
5
|
+
o as CANVAS_CELL_KIND,
|
|
6
6
|
r as CANVAS_PORTAL_EVENT,
|
|
7
7
|
i as Canvas,
|
|
8
8
|
l as CanvasAbsoluteContainer,
|
|
@@ -33,12 +33,12 @@ export {
|
|
|
33
33
|
h as RootBridge,
|
|
34
34
|
N as RootFlexBox,
|
|
35
35
|
O as SIZES,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
w as SIZE_CONFIG,
|
|
37
|
+
f as TABLE_GLIDE_SIZES,
|
|
38
38
|
F as THEME,
|
|
39
39
|
y as TableGlide,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
k as VIEW_COLORS,
|
|
41
|
+
V as buildCanvasTree,
|
|
42
42
|
j as buildCellId,
|
|
43
43
|
z as canvasCellRenderer,
|
|
44
44
|
M as clearIconCache,
|
|
@@ -56,8 +56,8 @@ export {
|
|
|
56
56
|
sa as drawIconButtonWithView,
|
|
57
57
|
ea as flexBoxLayout,
|
|
58
58
|
na as fontStyles,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ta as getCellIndices,
|
|
60
|
+
oa as getHoverState,
|
|
61
61
|
ra as getIconCacheSize,
|
|
62
62
|
ia as getIconImageDirect,
|
|
63
63
|
la as getIconSprite,
|
|
@@ -87,12 +87,12 @@ export {
|
|
|
87
87
|
ha as queryGlideElements,
|
|
88
88
|
Na as reactIconToSvg,
|
|
89
89
|
Oa as registerIconDefinitions,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
wa as resetIconSpriteCache,
|
|
91
|
+
fa as resolveClickPoint,
|
|
92
92
|
Fa as resolveFlexPaddingBox,
|
|
93
93
|
ya as resolvePaddingBox,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
ka as retrieveRenderData,
|
|
95
|
+
Va as storeRenderData,
|
|
96
96
|
ja as subscribeToCanvasPortalHover,
|
|
97
97
|
za as subscribeToPortalHoverLock,
|
|
98
98
|
Ma as toRelativePoint,
|
|
@@ -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-Bngn5_5l.cjs");exports.BUTTON_PADDING_Y=e.BUTTON_PADDING_Y;exports.CACHE_SEPARATOR=e.CACHE_SEPARATOR;exports.DANGER_COLOR=e.DANGER_COLOR;exports.DANGER_TEXT_COLOR=e.DANGER_TEXT_COLOR;exports.DEFAULT_ACCENT_FG=e.DEFAULT_ACCENT_FG;exports.DEFAULT_BORDER_WIDTH=e.DEFAULT_BORDER_WIDTH;exports.DEFAULT_BUTTON_RADIUS=e.DEFAULT_BUTTON_RADIUS;exports.DEFAULT_ICON_SIZE=e.DEFAULT_ICON_SIZE;exports.DEFAULT_ICON_SPACING=e.DEFAULT_ICON_SPACING;exports.DEFAULT_SECONDARY_HOVER=e.DEFAULT_SECONDARY_HOVER;exports.DEFAULT_SIZE=e.DEFAULT_SIZE;exports.DEFAULT_TEXT_PADDING=e.DEFAULT_TEXT_PADDING;exports.DEFAULT_VIEW=e.DEFAULT_VIEW;exports.DISABLED_BG_COLOR=e.DISABLED_BG_COLOR;exports.DISABLED_BORDER_COLOR=e.DISABLED_BORDER_COLOR;exports.DISABLED_TEXT_COLOR=e.DISABLED_TEXT_COLOR;exports.HEX_COLOR_CHAR_CODE=e.HEX_COLOR_CHAR_CODE;exports.HEX_COLOR_PREFIX=e.HEX_COLOR_PREFIX;exports.ICON_SIZE_ADJUSTMENT=e.ICON_SIZE_ADJUSTMENT;exports.LIGHTEN_AMOUNT=e.LIGHTEN_AMOUNT;exports.MAX_ICON_SIZE=e.MAX_ICON_SIZE;exports.SIZE_CONFIG=e.SIZE_CONFIG;exports.VIEW_COLORS=e.VIEW_COLORS;exports.buildButtonViewColors=e.buildButtonViewColors;exports.calculateButtonWidth=e.calculateButtonWidth;exports.calculateContentWidth=e.calculateContentWidth;exports.clearButtonCaches=e.clearButtonCaches;exports.drawButton=e.drawButton;exports.drawButtonWithView=e.drawButtonWithView;exports.drawEmbedIconButtonWithView=e.drawEmbedIconButtonWithView;exports.drawIcon=e.drawIcon$1;exports.drawIconButton=e.drawIconButton;exports.drawIconButtonWithView=e.drawIconButtonWithView;exports.getCachedTextWidth=e.getCachedTextWidth;exports.getIconSpriteStats=e.getIconSpriteStats;exports.lightenColor=e.lightenColor;exports.lightenColorCached=e.lightenColorCached;exports.preloadIconSprites=e.preloadIconSprites;exports.registerIconDefinitions=e.registerIconDefinitions;exports.resetIconSpriteCache=e.resetIconSpriteCache;exports.resolveButtonColors=e.resolveButtonColors;exports.resolveDangerColors=e.resolveDangerColors;exports.resolvePrimaryColors=e.resolvePrimaryColors;exports.resolveSecondaryColors=e.resolveSecondaryColors;exports.resolveViewColors=e.resolveViewColors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as o, Z as t, _ as e, $ as _, a0 as E, a1 as r, a2 as C, a3 as O, a4 as D, a5 as I, a6 as A, a7 as T, a8 as n, a9 as i, aa as l, ab as L, ac as R, ad as c, ae as S, af as B, ag as N, ah as d, ai as U, aj as h, ak as u, al as w, am as F, an as W, ao as G, ap as V, aq as X, ar as g, as as H, at as p, O as v, au as P, av as Z, V as m, W as b, X as f, aw as x, ax as y, ay as M, az as Y, aA as j } from "../../../../../../chunks/TableGlide-
|
|
1
|
+
import { Y as o, Z as t, _ as e, $ as _, a0 as E, a1 as r, a2 as C, a3 as O, a4 as D, a5 as I, a6 as A, a7 as T, a8 as n, a9 as i, aa as l, ab as L, ac as R, ad as c, ae as S, af as B, ag as N, ah as d, ai as U, aj as h, ak as u, al as w, am as F, an as W, ao as G, ap as V, aq as X, ar as g, as as H, at as p, O as v, au as P, av as Z, V as m, W as b, X as f, aw as x, ax as y, ay as M, az as Y, aA as j } from "../../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
o as BUTTON_PADDING_Y,
|
|
4
4
|
t as CACHE_SEPARATOR,
|
|
@@ -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-Bngn5_5l.cjs");exports.IconSpriteManager=e.IconSpriteManager;exports.createSvgDataUrl=e.createSvgDataUrl;exports.defaultIconManager=e.defaultIconManager;exports.drawIcon=e.drawIcon;exports.drawIconDirect=e.drawIconDirect;exports.getDpr=e.getDpr;exports.getIconImageDirect=e.getIconImageDirect;exports.getIconSprite=e.getIconSprite;exports.getIconSpriteStats=e.getIconSpriteStats;exports.hashString=e.hashString;exports.onAnyIconLoad=e.onAnyIconLoad;exports.preloadIconSprites=e.preloadIconSprites;exports.registerIconDefinitions=e.registerIconDefinitions;exports.resetIconSpriteCache=e.resetIconSpriteCache;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as r, E as t, G as s, H as n, J as o, K as c, M as I, N as i, O as g, Q as p, U as S, V as d, W as D, X as f } from "../../../../../../chunks/TableGlide-
|
|
1
|
+
import { I as r, E as t, G as s, H as n, J as o, K as c, M as I, N as i, O as g, Q as p, U as S, V as d, W as D, X as f } from "../../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
r as IconSpriteManager,
|
|
4
4
|
t as createSvgDataUrl,
|
|
@@ -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-Bngn5_5l.cjs");exports.BUTTON_PADDING_Y=e.BUTTON_PADDING_Y;exports.CANVAS_CELL_KIND=e.CANVAS_CELL_KIND;exports.CellCanvasRoot=e.CellCanvasRoot;exports.ICON_SIZE_ADJUSTMENT=e.ICON_SIZE_ADJUSTMENT;exports.SIZE_CONFIG=e.SIZE_CONFIG;exports.VIEW_COLORS=e.VIEW_COLORS;exports.buildCellId=e.buildCellId;exports.canvasCellRenderer=e.canvasCellRenderer;exports.createCanvasCell=e.createCanvasCell;exports.createCanvasCellRenderer=e.createCanvasCellRenderer;exports.drawButton=e.drawButton;exports.drawButtonWithView=e.drawButtonWithView;exports.drawIcon=e.drawIcon$1;exports.drawIconButton=e.drawIconButton;exports.drawIconButtonWithView=e.drawIconButtonWithView;exports.drawIconDirect=e.drawIcon;exports.getCellIndices=e.getCellIndices;exports.getHoverState=e.getHoverState;exports.getIconImageDirect=e.getIconImageDirect;exports.getIconSprite=e.getIconSprite;exports.getIconSpriteStats=e.getIconSpriteStats;exports.isCanvasCell=e.isCanvasCell;exports.isHoveringBounds=e.isHoveringBounds;exports.isPointInArea=e.isPointInArea;exports.normalizeHoverPoint=e.normalizeHoverPoint;exports.onAnyIconLoad=e.onAnyIconLoad;exports.performCanvasClick=e.performCanvasClick;exports.performCanvasPointerDownIntent=e.performCanvasPointerDownIntent;exports.preloadIconSprites=e.preloadIconSprites;exports.registerIconDefinitions=e.registerIconDefinitions;exports.resetIconSpriteCache=e.resetIconSpriteCache;exports.resolveClickPoint=e.resolveClickPoint;exports.retrieveRenderData=e.retrieveRenderData;exports.storeRenderData=e.storeRenderData;exports.toRelativePoint=e.toRelativePoint;exports.updateHoverState=e.updateHoverState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as s, a$ as t, b0 as n, ae as r, ah as o, ai as i, b1 as I, aP as c, b2 as l, aQ as C, an as d, ao as b, aq as v, ar as S, as as D, H as p, b3 as w, b4 as g, M as N, N as _, O as u, b5 as P, b6 as R, b7 as A, b8 as B, U as O, aY as m, aZ as E, V as H, W as V, X as f, b9 as h, ba as L, bb as T, bc as W, bd as U } from "../../../../../chunks/TableGlide-
|
|
1
|
+
import { Y as s, a$ as t, b0 as n, ae as r, ah as o, ai as i, b1 as I, aP as c, b2 as l, aQ as C, an as d, ao as b, aq as v, ar as S, as as D, H as p, b3 as w, b4 as g, M as N, N as _, O as u, b5 as P, b6 as R, b7 as A, b8 as B, U as O, aY as m, aZ as E, V as H, W as V, X as f, b9 as h, ba as L, bb as T, bc as W, bd as U } from "../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as BUTTON_PADDING_Y,
|
|
4
4
|
t as CANVAS_CELL_KIND,
|
|
@@ -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-Bngn5_5l.cjs");exports.DEFAULT_CURSOR=e.DEFAULT_CURSOR;exports.LEGACY_HOVER_CURSOR=e.LEGACY_HOVER_CURSOR;exports.POINTER_CANDIDATE_KEYS=e.POINTER_CANDIDATE_KEYS;exports.RELATIVE_COORD_TOLERANCE=e.RELATIVE_COORD_TOLERANCE;exports.canvasCellRenderer=e.canvasCellRenderer;exports.createCanvasCellRenderer=e.createCanvasCellRenderer;exports.getRelativePointerPosition=e.getRelativePointerPosition;exports.handleCanvasRootClick=e.handleCanvasRootClick;exports.handleCanvasRootHover=e.handleCanvasRootHover;exports.handleCellClick=e.handleCellClick;exports.handleClickHandlers=e.handleClickHandlers;exports.isAbsoluteCoords=e.isAbsoluteCoords;exports.isRelativeCoords=e.isRelativeCoords;exports.performCanvasClick=e.performCanvasClick;exports.performCanvasPointerDownIntent=e.performCanvasPointerDownIntent;exports.updateHoverStateIfNeeded=e.updateHoverStateIfNeeded;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as s, aM as o, aN as C, aO as n, aP as l, aQ as r, aR as t, aS as R, aT as d, aU as i, aV as v, aW as E, aX as O, aY as _, aZ as A, a_ as c } from "../../../../../../chunks/TableGlide-
|
|
1
|
+
import { aL as s, aM as o, aN as C, aO as n, aP as l, aQ as r, aR as t, aS as R, aT as d, aU as i, aV as v, aW as E, aX as O, aY as _, aZ as A, a_ as c } from "../../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as DEFAULT_CURSOR,
|
|
4
4
|
o as LEGACY_HOVER_CURSOR,
|
|
@@ -119,6 +119,7 @@ interface EmbedIconButtonProps extends CanvasInteractionProps, CanvasLayerProps
|
|
|
119
119
|
buttonSize?: EmbedIconButtonSize;
|
|
120
120
|
overrideSquareSize?: number;
|
|
121
121
|
overrideIconSize?: number;
|
|
122
|
+
overrideWidth?: number;
|
|
122
123
|
iconColor?: string;
|
|
123
124
|
iconColorHovered?: string;
|
|
124
125
|
disabled?: boolean;
|
|
@@ -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-Bngn5_5l.cjs");exports.FlexTreeBuilder=e.FlexTreeBuilder;exports.LayoutReconciler=e.LayoutReconciler;exports.PositionResolver=e.PositionResolver;exports.SizeAccumulator=e.SizeAccumulator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../chunks/TableGlide-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../chunks/TableGlide-Bngn5_5l.cjs");exports.CanvasAbsoluteContainer=a.CanvasAbsoluteContainer;exports.CanvasContainer=a.CanvasContainer;exports.CanvasHoverController=a.CanvasHoverController;exports.CanvasLeaf=a.CanvasLeaf;exports.CanvasNode=a.CanvasNode;exports.CanvasRegistry=a.CanvasRegistry;exports.CanvasRoot=a.CanvasRoot;exports.DrawBatcher=a.DrawBatcher;exports.createNormalCanvasInteraction=a.createNormalCanvasInteraction;exports.defaultBatcher=a.defaultBatcher;exports.normalizeCanvasInteraction=a.normalizeCanvasInteraction;exports.resolvePaddingBox=a.resolvePaddingBox$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as n, q as e, t as o, u as r, v as t, w as v, x as C, D as i, y as l, z as c, A as d, B } from "../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
n as CanvasAbsoluteContainer,
|
|
4
4
|
e as CanvasContainer,
|
|
@@ -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-Bngn5_5l.cjs");exports.createRafUpdate=e.createRafUpdate;exports.updateGridCells=e.updateGridCells;exports.useCanvasRegistry=e.useCanvasRegistry;exports.useFontLoadRedraw=e.useFontLoadRedraw;exports.useIconLoadRedraw=e.useIconLoadRedraw;exports.waitForCanvasFonts=e.waitForCanvasFonts;exports.waitForDocumentFonts=e.waitForDocumentFonts;exports.waitForFonts=e.waitForFonts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bo as o, bp as t, bq as e, br as r, bs as b, bt as n, bu as d, bv as F } from "../../../../../chunks/TableGlide-
|
|
1
|
+
import { bo as o, bp as t, bq as e, br as r, bs as b, bt as n, bu as d, bv as F } from "../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
o as createRafUpdate,
|
|
4
4
|
t as updateGridCells,
|
|
@@ -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-Bngn5_5l.cjs");exports.BUTTON_PADDING_Y=e.BUTTON_PADDING_Y;exports.CANVAS_CELL_KIND=e.CANVAS_CELL_KIND;exports.CANVAS_PORTAL_EVENT=e.CANVAS_PORTAL_EVENT;exports.Canvas=e.Canvas;exports.CanvasAbsoluteContainer=e.CanvasAbsoluteContainer;exports.CanvasBadge=e.CanvasBadge;exports.CanvasButton=e.CanvasButton;exports.CanvasChevron=e.CanvasChevron;exports.CanvasContainer=e.CanvasContainer;exports.CanvasEmbedIconButton=e.CanvasEmbedIconButton;exports.CanvasHoverController=e.CanvasHoverController;exports.CanvasIcon=e.CanvasIcon;exports.CanvasIconButton=e.CanvasIconButton;exports.CanvasLeaf=e.CanvasLeaf;exports.CanvasLink=e.CanvasLink;exports.CanvasNode=e.CanvasNode;exports.CanvasRect=e.CanvasRect;exports.CanvasRegistry=e.CanvasRegistry;exports.CanvasRoot=e.CanvasRoot;exports.CanvasText=e.CanvasText;exports.CellCanvasRoot=e.CellCanvasRoot;exports.DrawBatcher=e.DrawBatcher;exports.FlexBox=e.FlexBox;exports.FlexElement=e.FlexElement;exports.ICON_SIZE_ADJUSTMENT=e.ICON_SIZE_ADJUSTMENT;exports.RootBridge=e.RootBridge;exports.RootFlexBox=e.RootFlexBox;exports.SIZE_CONFIG=e.SIZE_CONFIG;exports.VIEW_COLORS=e.VIEW_COLORS;exports.buildCanvasTree=e.buildCanvasTree;exports.buildCellId=e.buildCellId;exports.canvasCellRenderer=e.canvasCellRenderer;exports.clearIconCache=e.clearIconCache;exports.createCanvasCell=e.createCanvasCell;exports.createCanvasCellRenderer=e.createCanvasCellRenderer;exports.createNormalCanvasInteraction=e.createNormalCanvasInteraction;exports.defaultBatcher=e.defaultBatcher;exports.dispatchCanvasPortalHover=e.dispatchCanvasPortalHover;exports.drawButton=e.drawButton;exports.drawButtonWithView=e.drawButtonWithView;exports.drawIcon=e.drawIcon$1;exports.drawIconButton=e.drawIconButton;exports.drawIconButtonWithView=e.drawIconButtonWithView;exports.flexBoxLayout=e.flexBoxLayout;exports.getCellIndices=e.getCellIndices;exports.getHoverState=e.getHoverState;exports.getIconCacheSize=e.getIconCacheSize;exports.getIconImageDirect=e.getIconImageDirect;exports.getIconSprite=e.getIconSprite;exports.getIconSpriteStats=e.getIconSpriteStats;exports.isCanvasCell=e.isCanvasCell;exports.isHoveringBounds=e.isHoveringBounds;exports.isPointInArea=e.isPointInArea;exports.isPortalHoverLocked=e.isPortalHoverLocked;exports.isReactIcon=e.isReactIcon;exports.lockPortalHover=e.lockPortalHover;exports.normalizeCanvasInteraction=e.normalizeCanvasInteraction;exports.normalizeHoverPoint=e.normalizeHoverPoint;exports.normalizeIcon=e.normalizeIcon;exports.onAnyIconLoad=e.onAnyIconLoad;exports.performCanvasClick=e.performCanvasClick;exports.performCanvasPointerDownIntent=e.performCanvasPointerDownIntent;exports.preloadIconSprites=e.preloadIconSprites;exports.reactIconToSvg=e.reactIconToSvg;exports.registerIconDefinitions=e.registerIconDefinitions;exports.resetIconSpriteCache=e.resetIconSpriteCache;exports.resolveClickPoint=e.resolveClickPoint;exports.resolveFlexPaddingBox=e.resolvePaddingBox;exports.resolvePaddingBox=e.resolvePaddingBox$1;exports.retrieveRenderData=e.retrieveRenderData;exports.storeRenderData=e.storeRenderData;exports.subscribeToCanvasPortalHover=e.subscribeToCanvasPortalHover;exports.subscribeToPortalHoverLock=e.subscribeToPortalHoverLock;exports.toRelativePoint=e.toRelativePoint;exports.updateHoverState=e.updateHoverState;exports.useCanvasRegistry=e.useCanvasRegistry;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Y as e, a$ as
|
|
1
|
+
import { Y as e, a$ as n, be as o, C as t, p as r, aB as C, aC as i, aD as v, q as c, aE as l, t as b, aF as I, aG as d, u as B, aH as u, v as g, aI as R, w as P, x as S, aK as x, b0 as h, D as m, F as D, m as N, ae as p, bw as w, R as A, ah as H, ai as T, bx as E, b1 as L, aP as _, bf as f, b2 as k, aQ as F, y as O, z as V, bg as y, an as z, ao as W, aq as q, ar as G, as as U, n as Y, b3 as Z, b4 as K, bh as M, M as j, N as J, O as Q, b5 as X, b6 as $, b7 as aa, bi as sa, bj as ea, bk as na, A as oa, b8 as ta, bm as ra, U as Ca, aY as ia, aZ as va, V as ca, bn as la, W as ba, X as Ia, b9 as da, r as Ba, B as ua, ba as ga, bb as Ra, s as Pa, h as Sa, bc as xa, bd as ha, bq as ma } from "../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BUTTON_PADDING_Y,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
n as CANVAS_CELL_KIND,
|
|
5
|
+
o as CANVAS_PORTAL_EVENT,
|
|
6
6
|
t as Canvas,
|
|
7
7
|
r as CanvasAbsoluteContainer,
|
|
8
8
|
C as CanvasBadge,
|
|
9
9
|
i as CanvasButton,
|
|
10
10
|
v as CanvasChevron,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
c as CanvasContainer,
|
|
12
|
+
l as CanvasEmbedIconButton,
|
|
13
13
|
b as CanvasHoverController,
|
|
14
14
|
I as CanvasIcon,
|
|
15
15
|
d as CanvasIconButton,
|
|
16
16
|
B as CanvasLeaf,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
u as CanvasLink,
|
|
18
|
+
g as CanvasNode,
|
|
19
19
|
R as CanvasRect,
|
|
20
20
|
P as CanvasRegistry,
|
|
21
21
|
S as CanvasRoot,
|
|
22
22
|
x as CanvasText,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
h as CellCanvasRoot,
|
|
24
|
+
m as DrawBatcher,
|
|
25
|
+
D as FlexBox,
|
|
26
|
+
N as FlexElement,
|
|
27
|
+
p as ICON_SIZE_ADJUSTMENT,
|
|
28
|
+
w as RootBridge,
|
|
29
|
+
A as RootFlexBox,
|
|
30
30
|
H as SIZE_CONFIG,
|
|
31
31
|
T as VIEW_COLORS,
|
|
32
32
|
E as buildCanvasTree,
|
|
@@ -55,25 +55,25 @@ export {
|
|
|
55
55
|
aa as isPointInArea,
|
|
56
56
|
sa as isPortalHoverLocked,
|
|
57
57
|
ea as isReactIcon,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
na as lockPortalHover,
|
|
59
|
+
oa as normalizeCanvasInteraction,
|
|
60
60
|
ta as normalizeHoverPoint,
|
|
61
61
|
ra as normalizeIcon,
|
|
62
62
|
Ca as onAnyIconLoad,
|
|
63
63
|
ia as performCanvasClick,
|
|
64
64
|
va as performCanvasPointerDownIntent,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
ca as preloadIconSprites,
|
|
66
|
+
la as reactIconToSvg,
|
|
67
67
|
ba as registerIconDefinitions,
|
|
68
68
|
Ia as resetIconSpriteCache,
|
|
69
69
|
da as resolveClickPoint,
|
|
70
70
|
Ba as resolveFlexPaddingBox,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
ua as resolvePaddingBox,
|
|
72
|
+
ga as retrieveRenderData,
|
|
73
73
|
Ra as storeRenderData,
|
|
74
74
|
Pa as subscribeToCanvasPortalHover,
|
|
75
75
|
Sa as subscribeToPortalHoverLock,
|
|
76
76
|
xa as toRelativePoint,
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
ha as updateHoverState,
|
|
78
|
+
ma as useCanvasRegistry
|
|
79
79
|
};
|
|
@@ -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-Bngn5_5l.cjs");exports.FlexBox=e.FlexBox;exports.FlexElement=e.FlexElement;exports.RootFlexBox=e.RootFlexBox;exports.flexBoxLayout=e.flexBoxLayout;exports.resolvePaddingBox=e.resolvePaddingBox;
|
|
@@ -11,6 +11,7 @@ export interface CanvasEmbedIconButtonOptions {
|
|
|
11
11
|
buttonSize?: EmbedIconButtonSize;
|
|
12
12
|
overrideSquareSize?: number;
|
|
13
13
|
overrideIconSize?: number;
|
|
14
|
+
overrideWidth?: number;
|
|
14
15
|
iconColor?: string;
|
|
15
16
|
iconColorHovered?: string;
|
|
16
17
|
disabled?: boolean;
|
|
@@ -25,6 +26,7 @@ export declare class CanvasEmbedIconButton extends CanvasLeaf {
|
|
|
25
26
|
disabled: boolean;
|
|
26
27
|
overrideSquareSize?: number;
|
|
27
28
|
overrideIconSize?: number;
|
|
29
|
+
overrideWidth?: number;
|
|
28
30
|
iconColor?: string;
|
|
29
31
|
iconColorHovered?: string;
|
|
30
32
|
isHovered: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../chunks/TableGlide-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../chunks/TableGlide-Bngn5_5l.cjs");exports.CanvasBadge=a.CanvasBadge;exports.CanvasButton=a.CanvasButton;exports.CanvasChevron=a.CanvasChevron;exports.CanvasEmbedIconButton=a.CanvasEmbedIconButton;exports.CanvasIcon=a.CanvasIcon;exports.CanvasIconButton=a.CanvasIconButton;exports.CanvasLink=a.CanvasLink;exports.CanvasRect=a.CanvasRect;exports.CanvasSkeleton=a.CanvasSkeleton;exports.CanvasText=a.CanvasText;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aB as n, aC as C, aD as v, aE as o, aF as t, aG as e, aH as B, aI as c, aJ as I, aK as r } from "../../../../../chunks/TableGlide-
|
|
1
|
+
import { aB as n, aC as C, aD as v, aE as o, aF as t, aG as e, aH as B, aI as c, aJ as I, aK as r } from "../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
n as CanvasBadge,
|
|
4
4
|
C as CanvasButton,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../chunks/TableGlide-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../chunks/TableGlide-Bngn5_5l.cjs");exports.CANVAS_PORTAL_EVENT=o.CANVAS_PORTAL_EVENT;exports.clearIconCache=o.clearIconCache;exports.dispatchCanvasPortalHover=o.dispatchCanvasPortalHover;exports.getIconCacheSize=o.getIconCacheSize;exports.isPortalHoverLocked=o.isPortalHoverLocked;exports.isReactIcon=o.isReactIcon;exports.lockPortalHover=o.lockPortalHover;exports.normalizeDimensionValue=o.normalizeDimensionValue;exports.normalizeIcon=o.normalizeIcon;exports.reactIconToSvg=o.reactIconToSvg;exports.subscribeToCanvasPortalHover=o.subscribeToCanvasPortalHover;exports.subscribeToPortalHoverLock=o.subscribeToPortalHoverLock;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { be as s, bf as e, bg as r, bh as c, bi as b, bj as n, bk as i, bl as l, bm as t, bn as v, s as P,
|
|
1
|
+
import { be as s, bf as e, bg as r, bh as c, bi as b, bj as n, bk as i, bl as l, bm as t, bn as v, s as P, h } from "../../../../../chunks/TableGlide-CkorJrl9.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as CANVAS_PORTAL_EVENT,
|
|
4
4
|
e as clearIconCache,
|
|
@@ -11,5 +11,5 @@ export {
|
|
|
11
11
|
t as normalizeIcon,
|
|
12
12
|
v as reactIconToSvg,
|
|
13
13
|
P as subscribeToCanvasPortalHover,
|
|
14
|
-
|
|
14
|
+
h as subscribeToPortalHoverLock
|
|
15
15
|
};
|
|
@@ -26,6 +26,7 @@ export interface TooltipContext<T = unknown> {
|
|
|
26
26
|
}
|
|
27
27
|
export type CanvasNodeTooltipProps = Pick<TooltipProps, 'placement' | 'view' | 'minWidth' | 'maxWidth'> & {
|
|
28
28
|
preserveLineBreaks?: boolean;
|
|
29
|
+
offsetX?: number;
|
|
29
30
|
};
|
|
30
31
|
export type CanvasNodeTooltipConfig = string | (CanvasNodeTooltipProps & {
|
|
31
32
|
text: string;
|
|
@@ -14,4 +14,5 @@ export declare const getGlideColors: (activeTheme: ActiveTheme) => {
|
|
|
14
14
|
borderColor: "#D5DFE6" | "#C4CFD7" | "#CFDBE4";
|
|
15
15
|
bgGroupHeader: "#EFF8FF" | "#ECF6FCFF" | "#CFE5F2FF";
|
|
16
16
|
bgGroupHeaderHovered: "#DEECF5" | "#C2DCEB";
|
|
17
|
+
hiddenColumnsIndicatorColor: "#0058A2" | "#0087CD" | "#0b7ecb";
|
|
17
18
|
};
|
|
@@ -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-Bngn5_5l.cjs");exports.THEME=e.THEME;exports.getTheme=e.getTheme;
|
|
@@ -6,7 +6,7 @@ export declare const getSizeProps: (rowSize?: SIZE) => {
|
|
|
6
6
|
fontFamily: string;
|
|
7
7
|
editorFontSize: string;
|
|
8
8
|
lineHeight: number;
|
|
9
|
-
cellHorizontalPadding: 16 |
|
|
9
|
+
cellHorizontalPadding: 16 | 4 | 6;
|
|
10
10
|
cellVerticalPadding: 4 | 7 | 12;
|
|
11
11
|
activeSizes: {
|
|
12
12
|
readonly cellVerticalPadding: 12;
|
|
@@ -14,7 +14,7 @@ export declare const getSizeProps: (rowSize?: SIZE) => {
|
|
|
14
14
|
readonly textfieldSize: "s";
|
|
15
15
|
} | {
|
|
16
16
|
readonly cellVerticalPadding: 7;
|
|
17
|
-
readonly cellHorizontalPadding:
|
|
17
|
+
readonly cellHorizontalPadding: 6;
|
|
18
18
|
readonly textfieldSize: "s";
|
|
19
19
|
} | {
|
|
20
20
|
readonly cellVerticalPadding: 4;
|
|
@@ -80,6 +80,9 @@ export type CellInfo<R extends ObjectForExtending, SR = unknown> = {
|
|
|
80
80
|
theme: Theme;
|
|
81
81
|
hovered: CellHoverState;
|
|
82
82
|
active: CellActiveState;
|
|
83
|
+
__mergedCell?: {
|
|
84
|
+
align?: SpanCellAlign;
|
|
85
|
+
};
|
|
83
86
|
};
|
|
84
87
|
export type EditingCellInfoGlide<R extends ObjectForExtending, SR = unknown> = Omit<CellInfo<R, SR>, 'hovered' | 'active'> & {
|
|
85
88
|
onRowChange: (row: R, commitChanges?: boolean) => void;
|
|
@@ -101,6 +104,11 @@ export type HeaderCellInfo<R extends ObjectForExtending, SR> = {
|
|
|
101
104
|
theme: Theme;
|
|
102
105
|
};
|
|
103
106
|
export type ColSpan<R extends ObjectForExtending, SR> = number | ((cellInfo: CellInfo<R, SR>) => number);
|
|
107
|
+
export type RowSpan<R extends ObjectForExtending, SR> = (cellInfo: CellInfo<R, SR>) => readonly [number, number] | null;
|
|
108
|
+
export type SpanCellAlign = {
|
|
109
|
+
horizontal?: 'left' | 'center' | 'right';
|
|
110
|
+
vertical?: 'top' | 'center' | 'bottom';
|
|
111
|
+
};
|
|
104
112
|
export type ColumnGlideGetCellContent<R extends ObjectForExtending, SR> = (cellInfo: CellInfo<R, SR>) => CellContent;
|
|
105
113
|
export type ColumnGlideGetSummaryCellContent<R extends ObjectForExtending, SR> = (cellInfo: CellInfo<R, SR>) => CellContent;
|
|
106
114
|
export type ColumnGlideCustoms<R extends ObjectForExtending, SR = unknown> = {
|
|
@@ -115,6 +123,8 @@ export type ColumnGlideCustoms<R extends ObjectForExtending, SR = unknown> = {
|
|
|
115
123
|
renderEditCell?: (cellInfo: EditingCellInfoGlide<R, SR>) => CellContent;
|
|
116
124
|
renderSummaryCell?: (summaryCellInfo: SummaryCellInfo<R, SR>) => CellContent;
|
|
117
125
|
colSpan?: ColSpan<R, SR>;
|
|
126
|
+
rowSpan?: RowSpan<R, SR>;
|
|
127
|
+
spanAlign?: SpanCellAlign | ((cellInfo: CellInfo<R, SR>) => SpanCellAlign | undefined);
|
|
118
128
|
cellTooltip?: CanvasNodeTooltipConfig | ((context: {
|
|
119
129
|
row: R;
|
|
120
130
|
column: ColumnGlideLast<R, SR>;
|