@daisforge/ui 1.18.0 → 1.20.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-Cdo6_s1Y.mjs → AnalyticalWidget-BtyWKJuu.mjs} +34 -34
- package/chunks/AnalyticalWidget-YytE3Rlw.cjs +43 -0
- package/chunks/{ApprovalCenter-DxcvzR8q.mjs → ApprovalCenter-DLKZP2AO.mjs} +2 -2
- package/chunks/{ApprovalCenter-CAcC43zn.cjs → ApprovalCenter-DdsLEipZ.cjs} +1 -1
- package/chunks/BlockTitle-DC1McGof.cjs +1 -0
- package/chunks/BlockTitle-DsXxImR6.mjs +86 -0
- package/chunks/{Container-CrB1jwqH.cjs → Container-DHnX1sHY.cjs} +1 -1
- package/chunks/{Container-Cy8w2JOq.mjs → Container-DbZwlfIM.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/{EmptyState-B205JfZA.mjs → EmptyState-CUCseg9M.mjs} +1 -1
- package/chunks/{EmptyState-CcxlsZm0.cjs → EmptyState-DH1xawxg.cjs} +1 -1
- package/chunks/{FiltersActions-BKJJH6Mu.cjs → FiltersActions-Cw_JG2O2.cjs} +1 -1
- package/chunks/{FiltersActions-CFStLRsU.mjs → FiltersActions-UayfdMLv.mjs} +4 -4
- package/chunks/{FormSegmentGroup-CCCqRgCG.cjs → FormSegmentGroup-BYQ6yMK1.cjs} +1 -1
- package/chunks/{FormSegmentGroup-E1JurEt7.mjs → FormSegmentGroup-C9qYxYT9.mjs} +1 -1
- package/chunks/{GridDND-UMUi8M_Q.mjs → GridDND-CqvpXgCY.mjs} +2 -2
- package/chunks/{GridDND-DV-1g1sI.cjs → GridDND-DK6SAO8q.cjs} +1 -1
- package/chunks/LeftPanel-AyuV7bGS.cjs +1 -0
- package/chunks/{LeftPanel-HZu3ECqD.mjs → LeftPanel-C5SsoRJS.mjs} +47 -45
- package/chunks/{ListOfFilters-DJvnT9kw.cjs → ListOfFilters-8rHTfUXT.cjs} +1 -1
- package/chunks/{ListOfFilters-DTAZ3wfQ.mjs → ListOfFilters-B3CA32OD.mjs} +3 -3
- package/chunks/{MassActions-Z-48g81T.cjs → MassActions-5p7to0R5.cjs} +1 -1
- package/chunks/{MassActions-DSAaO1-u.mjs → MassActions-BJxR4H1S.mjs} +3 -3
- package/chunks/PageTitle-CrBeieoq.cjs +9 -0
- package/chunks/PageTitle-DkfAiZM4.mjs +133 -0
- package/chunks/{SplitView-DYHeCnl9.mjs → SplitView-BqS1Jbo4.mjs} +1 -1
- package/chunks/{SplitView-UKIBuvTi.cjs → SplitView-DNmd4sJe.cjs} +1 -1
- package/chunks/{Stories-Dlwle-SM.mjs → Stories-BnHxMCEZ.mjs} +3 -3
- package/chunks/{Stories-CZXv_Ves.cjs → Stories-UYVANawW.cjs} +1 -1
- package/chunks/Table--NExtXRi.cjs +31 -0
- package/chunks/{Table-B9OAyWAW.mjs → Table-bmvWLH9o.mjs} +2682 -2608
- package/chunks/TableCanvas-DTm2pu0r.cjs +30 -0
- package/chunks/{TableCanvas-DcoUBrgC.mjs → TableCanvas-DxcB4WOJ.mjs} +7982 -7663
- package/chunks/{TableGlide-Ch-gaROR.mjs → TableGlide-BMBq6g4-.mjs} +2297 -2198
- package/chunks/TableGlide-DtosQrHB.cjs +1 -0
- package/chunks/styles-CJ5y9FKW.mjs +132 -0
- package/chunks/styles-kUWPuNSD.cjs +2 -0
- package/chunks/utils-ChDQGRjv.cjs +25 -0
- package/chunks/{utils-YKicAHp0.mjs → utils-u1KJ37g3.mjs} +120 -108
- package/chunks/{vendor-BzEO8Fvp.cjs → vendor-BSEdLAmZ.cjs} +1049 -1309
- package/chunks/{vendor-DBRfVjyT.mjs → vendor-CA3z7N_7.mjs} +1053 -1313
- package/components/AiAgentPopover/index.cjs +1 -1
- package/components/AiAgentPopover/index.mjs +1 -1
- 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/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +2 -2
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +1 -1
- package/components/BlockTitle/BlockTitle.d.ts +1 -1
- package/components/BlockTitle/BlockTitle.types.d.ts +2 -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/Collapse/index.cjs +1 -1
- package/components/Collapse/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 -1
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- 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/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +1 -1
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/styled.d.ts +1 -0
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- 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/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +1 -1
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +2 -2
- package/components/NumberFormat/NumberFormat.d.ts +48 -0
- package/components/NumberFormatAmount/NumberFormatAmount.styled.d.ts +48 -0
- package/components/PageTitle/PageTitle.styled.d.ts +3 -1
- 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.mjs +1 -1
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +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/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +2 -2
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +2 -2
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +3 -3
- 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/combobox.d.ts +3 -2
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.d.ts +4 -2
- package/components/Table/feature-filtering/combobox/index.mjs +7 -3
- 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/filter-component-in-popover.d.ts +1 -2
- 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/index.cjs +1 -1
- package/components/Table/feature-filtering/index.d.ts +1 -1
- package/components/Table/feature-filtering/index.mjs +13 -9
- package/components/Table/feature-filtering/render-slot.d.ts +5 -0
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +2 -2
- package/components/Table/feature-filtering/use-focus-search-input.d.ts +2 -0
- 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 +3 -3
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +3 -3
- package/components/Table/feature-reorder-columns/handlers.d.ts +4 -0
- 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/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 +5 -5
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +2 -2
- 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-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-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 +2 -2
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.d.ts +1 -1
- package/components/Table/index.mjs +43 -39
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +3 -3
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +9 -9
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +3 -3
- package/components/Table/types/column-config.type.d.ts +1 -0
- 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 +4 -4
- 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/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-borders/buildBorderCallbacks.d.ts +16 -0
- package/components/TableCanvas/feature-borders/useBorders.d.ts +14 -0
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- 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/types.d.ts +7 -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 +1 -0
- 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/combobox.d.ts +3 -2
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.d.ts +4 -2
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +7 -3
- 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/filter-component-in-popover.d.ts +1 -2
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +2 -2
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +12 -8
- package/components/TableCanvas/feature-filtering/render-slot.d.ts +5 -0
- 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 +2 -2
- 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 +8 -8
- 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-reorder-columns/handlers.d.ts +4 -0
- 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/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 +3 -3
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- 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-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 +2 -2
- 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 +5 -5
- package/components/TableCanvas/feature-tree/handlers.d.ts +1 -0
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/tree-disclosure-icons.d.ts +65 -0
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.d.ts +1 -1
- package/components/TableCanvas/index.mjs +64 -60
- 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 -0
- package/components/TableCanvas/renders/styleConstants.d.ts +3 -1
- package/components/TableCanvas/renders/styled.d.ts +0 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +11 -11
- package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -0
- package/components/TableCanvas/types/column-config.type.d.ts +1 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +2 -2
- package/components/TableCanvas/types/table-config.type.d.ts +29 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +2 -2
- 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 +5 -5
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +8 -8
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- 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 +2 -2
- package/components/TableGlide/constants.d.ts +1 -1
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.d.ts +1 -2
- package/components/TableGlide/hooks/selection/index.mjs +6 -7
- package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +25 -0
- package/components/TableGlide/hooks/useHoverState.d.ts +18 -0
- package/components/TableGlide/hooks/useItemHoveredHandler.d.ts +4 -1
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +9 -9
- 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 +1 -1
- 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 +1 -1
- package/components/TableGlide/lib/canvas/utils/portalHoverEvents.d.ts +1 -0
- package/components/TableGlide/theming/custom-colors.d.ts +1 -1
- package/components/TableGlide/theming/glide-colors.d.ts +1 -0
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +3 -3
- 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 +1 -3
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +1 -1
- 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 +4 -4
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +2 -2
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +1 -1
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/index.cjs +1 -1
- package/index.mjs +1778 -1773
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +1 -1
- 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/layouts/Layout/index.cjs +1 -1
- package/layouts/Layout/index.mjs +1 -1
- package/layouts/PageLayout/index.cjs +1 -1
- package/layouts/PageLayout/index.mjs +1 -1
- package/mcp-data/component-index.json +945 -137
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +10 -10
- 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/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.mjs +30 -29
- package/utils/react/getMFReactDOMClient.d.ts +7 -0
- package/utils/react/index.cjs +1 -0
- package/utils/react/index.d.ts +1 -0
- package/utils/react/index.mjs +4 -0
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-wke3Jm3X.cjs +0 -43
- package/chunks/BlockTitle-BEIxiECX.cjs +0 -1
- package/chunks/BlockTitle-BZxOEdTc.mjs +0 -85
- package/chunks/LeftPanel-B3-ySDMW.cjs +0 -1
- package/chunks/PageTitle-Bh3g6FUT.cjs +0 -1
- package/chunks/PageTitle-CaqXfrrQ.mjs +0 -123
- package/chunks/Table-BwhzcFX1.cjs +0 -31
- package/chunks/TableCanvas-MMWMrYiV.cjs +0 -30
- package/chunks/TableGlide-TYzM2bEB.cjs +0 -1
- package/chunks/styles-BBVEBDDw.mjs +0 -132
- package/chunks/styles-C-pJNMSQ.cjs +0 -2
- package/chunks/utils-CUW5bd8S.cjs +0 -25
|
@@ -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-DTm2pu0r.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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d1 as i, d2 as o, d3 as t, d4 as e, d5 as n, d6 as c, d7 as d } from "../../../../../chunks/TableCanvas-DxcB4WOJ.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
i as useMassActionsButtons,
|
|
4
|
+
o as useMassActionsCollapse,
|
|
5
|
+
t as useMassActionsCompression,
|
|
6
|
+
e as useMassActionsEffects,
|
|
7
|
+
n as useMassActionsPosition,
|
|
8
|
+
c as useMassActionsSidebar,
|
|
9
|
+
d as useMassActionsVisibility
|
|
10
10
|
};
|
|
@@ -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-DTm2pu0r.cjs");exports.MassActionButton=t.MassActionButton;exports.MassActions=t.MassActions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=.5,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=.5,D=O,E=O,L=.15,_="header-tooltip-hidden-cols";exports.COLLAPSE_DECOR_DELAY=E;exports.COLLAPSE_DECOR_FADE=L;exports.COLLAPSE_DURATION=D;exports.DURATION=O;exports.HEADER_TOOLTIP_HIDDEN_COLS_ID=_;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const D = 0.5, O = 0.5, A = 0.5, E = 0.15, o = "header-tooltip-hidden-cols";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
A as COLLAPSE_DECOR_DELAY,
|
|
4
4
|
E as COLLAPSE_DECOR_FADE,
|
|
5
5
|
O as COLLAPSE_DURATION,
|
|
6
|
-
|
|
6
|
+
D as DURATION,
|
|
7
|
+
o as HEADER_TOOLTIP_HIDDEN_COLS_ID
|
|
7
8
|
};
|
|
@@ -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--NExtXRi.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-ChDQGRjv.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-bmvWLH9o.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";
|
|
@@ -9,7 +9,7 @@ import Qe from "swr/mutation";
|
|
|
9
9
|
import { s as U } from "../../constants/index.mjs";
|
|
10
10
|
import { surfaceSolidCard as Ze, textSecondary as et, textPrimary as tt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
11
11
|
import Be from "styled-components";
|
|
12
|
-
import { u as nt } from "../../chunks/utils-
|
|
12
|
+
import { u as nt } from "../../chunks/utils-u1KJ37g3.mjs";
|
|
13
13
|
import { ErrorPage as ot } from "../../layouts/ErrorPage/index.mjs";
|
|
14
14
|
const te = async (o, t) => {
|
|
15
15
|
const r = await o(t);
|
|
@@ -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-DtosQrHB.cjs");exports.rectContainsCell=e.rectContainsCell;exports.useColoringLayers=e.useColoringLayers;exports.useNativeGridSelection=e.useNativeGridSelection;exports.useSelectionGeometry=e.useSelectionGeometry;exports.useTableSelectionSystem=e.useTableSelectionSystem;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { rectContainsCell } from './rectGeometry';
|
|
2
|
-
export {
|
|
3
|
-
export { useColumnRowHighlightRegions } from './useColumnRowHighlightRegions';
|
|
2
|
+
export { useColoringLayers } from './useColoringLayers';
|
|
4
3
|
export { useNativeGridSelection } from './useNativeGridSelection';
|
|
5
4
|
export { useSelectionGeometry } from './useSelectionGeometry';
|
|
6
5
|
export { useTableSelectionSystem } from './useTableSelectionSystem';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { by as
|
|
1
|
+
import { by as a, bz as o, bA as t, bB as i, bC as l } from "../../../../chunks/TableGlide-BMBq6g4-.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
o as
|
|
5
|
-
t as
|
|
6
|
-
|
|
7
|
-
l as
|
|
8
|
-
n as useTableSelectionSystem
|
|
3
|
+
a as rectContainsCell,
|
|
4
|
+
o as useColoringLayers,
|
|
5
|
+
t as useNativeGridSelection,
|
|
6
|
+
i as useSelectionGeometry,
|
|
7
|
+
l as useTableSelectionSystem
|
|
9
8
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CellsSelectionMode, GlideProps, Theme } from '../../types';
|
|
2
|
+
import { GridSelection, Rectangle } from '@glideappsfinal/glide-data-grid';
|
|
3
|
+
|
|
4
|
+
interface UseColoringLayersParams {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
cellsSelectionMode: CellsSelectionMode;
|
|
7
|
+
selection: GridSelection;
|
|
8
|
+
serviceColumnsCount: number;
|
|
9
|
+
activeDataRange?: Rectangle;
|
|
10
|
+
outlineRange?: Rectangle;
|
|
11
|
+
checkboxSelectedRowIndexes?: ReadonlySet<number>;
|
|
12
|
+
errorCellRanges?: readonly Rectangle[];
|
|
13
|
+
highlightRegionsExternal?: GlideProps['highlightRegions'];
|
|
14
|
+
selectedColumnIndexes: number[];
|
|
15
|
+
headerSelectedRowIndexes: number[];
|
|
16
|
+
activeRow?: number;
|
|
17
|
+
checkboxVisibleRowIndexes?: ReadonlySet<number>;
|
|
18
|
+
totalRows: number;
|
|
19
|
+
columnsCount: number;
|
|
20
|
+
isRowHoverEnabled: boolean;
|
|
21
|
+
hoverRow?: number;
|
|
22
|
+
dataRowsCount: number;
|
|
23
|
+
}
|
|
24
|
+
export declare function useColoringLayers({ theme, cellsSelectionMode, selection, serviceColumnsCount, activeDataRange, outlineRange, checkboxSelectedRowIndexes, errorCellRanges, highlightRegionsExternal, selectedColumnIndexes, headerSelectedRowIndexes, activeRow, checkboxVisibleRowIndexes, totalRows, columnsCount, isRowHoverEnabled, hoverRow, dataRowsCount, }: UseColoringLayersParams): GlideProps['highlightRegions'];
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { DataEditorRef } from '@glideappsfinal/glide-data-grid';
|
|
3
|
+
|
|
4
|
+
export interface HoveredCell {
|
|
5
|
+
colInd: number;
|
|
6
|
+
rowInd: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function useHoverState({ isRowHoverEnabled, dataEditorRef, columnsCount, rowsCount, }: {
|
|
9
|
+
isRowHoverEnabled: boolean;
|
|
10
|
+
dataEditorRef: RefObject<DataEditorRef | null>;
|
|
11
|
+
columnsCount: number;
|
|
12
|
+
rowsCount: number;
|
|
13
|
+
}): {
|
|
14
|
+
hoveredCellRef: import('react').MutableRefObject<HoveredCell | null>;
|
|
15
|
+
setHoveredCell: (next: HoveredCell | null) => void;
|
|
16
|
+
hoverRow: number | undefined;
|
|
17
|
+
onHoverRowChange: ((nextRow: number | undefined) => void) | undefined;
|
|
18
|
+
};
|
|
@@ -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-DtosQrHB.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,5 +1,5 @@
|
|
|
1
1
|
import { GridCellKind as e } from "@glideappsfinal/glide-data-grid";
|
|
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 _,
|
|
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 _, bE as D, bF as L, D as P, bG as x, F as A, m as G, ae as p, bw as h, R as N, bH 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, bD as va, b5 as ba, i as ca, d as da, e as Ia, bI as Ea, g as Ba, b6 as Ta, bJ as Sa, b7 as ga, bi as ua, bK as ma, bj as Ha, bL as Ra, bk as _a, A as Da, b8 as La, bm as Pa, U as xa, aY as Aa, aZ as Ga, V as pa, bM 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-BMBq6g4-.mjs";
|
|
3
3
|
export {
|
|
4
4
|
t as BUTTON_PADDING_Y,
|
|
5
5
|
o as CANVAS_CELL_KIND,
|
|
@@ -22,10 +22,10 @@ export {
|
|
|
22
22
|
H as CanvasRoot,
|
|
23
23
|
R as CanvasText,
|
|
24
24
|
_ as CellCanvasRoot,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
D as DEFAULT_HEADER_HEIGHT,
|
|
26
|
+
L as DEFAULT_ROW_HEIGHT,
|
|
27
|
+
P as DrawBatcher,
|
|
28
|
+
x as EMPTY_CELL_OBJ,
|
|
29
29
|
A as FlexBox,
|
|
30
30
|
G as FlexElement,
|
|
31
31
|
e as GridCellKind,
|
|
@@ -77,10 +77,10 @@ export {
|
|
|
77
77
|
Ha as isReactIcon,
|
|
78
78
|
Ra as isValueEmpty,
|
|
79
79
|
_a as lockPortalHover,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
Da as normalizeCanvasInteraction,
|
|
81
|
+
La as normalizeHoverPoint,
|
|
82
|
+
Pa as normalizeIcon,
|
|
83
|
+
xa as onAnyIconLoad,
|
|
84
84
|
Aa as performCanvasClick,
|
|
85
85
|
Ga as performCanvasPointerDownIntent,
|
|
86
86
|
pa as preloadIconSprites,
|
|
@@ -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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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-DtosQrHB.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 { 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-
|
|
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-BMBq6g4-.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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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,4 +1,4 @@
|
|
|
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-
|
|
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-BMBq6g4-.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BUTTON_PADDING_Y,
|
|
4
4
|
n 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-DtosQrHB.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-DtosQrHB.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-BMBq6g4-.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-DtosQrHB.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, h } from "../../../../../chunks/TableGlide-
|
|
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-BMBq6g4-.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as CANVAS_PORTAL_EVENT,
|
|
4
4
|
e as clearIconCache,
|
|
@@ -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;
|
|
@@ -19,5 +19,5 @@ export declare const getCustomColors: (activeTheme: ActiveTheme) => {
|
|
|
19
19
|
errorOutlineColor: "#F81C42" | "#FF3D51" | "#E9203F";
|
|
20
20
|
bgRowHovered: "#E8EEF2" | "#F7F9FB";
|
|
21
21
|
bgServiceRowHovered: "#D4E7F2" | "#B9D6E7";
|
|
22
|
-
bgSelectedRowHovered: "#
|
|
22
|
+
bgSelectedRowHovered: "#D4E7F2" | "#B9D6E7";
|
|
23
23
|
};
|
|
@@ -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-DtosQrHB.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;
|
|
@@ -17,9 +17,7 @@ export type RowHeightGlide = GlideProps['rowHeight'];
|
|
|
17
17
|
export type HighlightActiveType = 'cell' | 'row' | 'range-cell' | 'disabled';
|
|
18
18
|
export type CellsSelectionMode = 'cell' | 'range-cell' | 'multi-range-cell' | 'disabled';
|
|
19
19
|
export type HoverEffectsConfig = {
|
|
20
|
-
row?: boolean
|
|
21
|
-
color?: string;
|
|
22
|
-
};
|
|
20
|
+
row?: boolean;
|
|
23
21
|
};
|
|
24
22
|
export type ObjectForExtending = Record<string, any>;
|
|
25
23
|
export interface CanvasCellOptions<R extends ObjectForExtending = ObjectForExtending, SR = unknown> {
|