@daisforge/ui 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AnalyticalWidget-BWcBjoNh.mjs → AnalyticalWidget-Cdo6_s1Y.mjs} +165 -163
- package/chunks/AnalyticalWidget-wke3Jm3X.cjs +43 -0
- package/chunks/{ApprovalCenter-CGs7n-2C.cjs → ApprovalCenter-CAcC43zn.cjs} +1 -1
- package/chunks/{ApprovalCenter-BqN8Zjol.mjs → ApprovalCenter-DxcvzR8q.mjs} +1 -1
- package/chunks/{BlockTitle-o2QTRA7D.cjs → BlockTitle-BEIxiECX.cjs} +1 -1
- package/chunks/{BlockTitle-BM2EE1b1.mjs → BlockTitle-BZxOEdTc.mjs} +1 -1
- package/chunks/{FiltersActions-CKimtYsU.cjs → FiltersActions-BKJJH6Mu.cjs} +1 -1
- package/chunks/{FiltersActions-C5OGUDDx.mjs → FiltersActions-CFStLRsU.mjs} +3 -3
- package/chunks/{GridDND-DkL6-TgS.cjs → GridDND-DV-1g1sI.cjs} +1 -1
- package/chunks/{GridDND-D9T2wqLt.mjs → GridDND-UMUi8M_Q.mjs} +1 -1
- package/chunks/{ListOfFilters-B8XF6KiI.cjs → ListOfFilters-DJvnT9kw.cjs} +1 -1
- package/chunks/{ListOfFilters-BEDW_v5t.mjs → ListOfFilters-DTAZ3wfQ.mjs} +2 -2
- package/chunks/{MassActions-C66ulAuq.mjs → MassActions-DSAaO1-u.mjs} +2 -2
- package/chunks/{MassActions-BHNmuh3s.cjs → MassActions-Z-48g81T.cjs} +1 -1
- package/chunks/{PageTitle-BEdQpyZh.cjs → PageTitle-Bh3g6FUT.cjs} +1 -1
- package/chunks/{PageTitle-BVbWaV52.mjs → PageTitle-CaqXfrrQ.mjs} +1 -1
- package/chunks/{Stories-DVh7iByM.cjs → Stories-CZXv_Ves.cjs} +1 -1
- package/chunks/{Stories-lNAuXVJN.mjs → Stories-Dlwle-SM.mjs} +1 -1
- package/chunks/{Table-C_1QGsh8.mjs → Table-B9OAyWAW.mjs} +4 -4
- package/chunks/{Table-C-lLZklk.cjs → Table-BwhzcFX1.cjs} +1 -1
- package/chunks/{TableCanvas--g37wjRi.mjs → TableCanvas-DcoUBrgC.mjs} +5315 -4827
- package/chunks/TableCanvas-MMWMrYiV.cjs +30 -0
- package/chunks/{TableGlide-Cjcw7Wur.mjs → TableGlide-Ch-gaROR.mjs} +1982 -1852
- package/chunks/TableGlide-TYzM2bEB.cjs +1 -0
- package/components/AiAgentPopover/AiAgentPopover.styled.d.ts +1 -0
- package/components/AnalyticalWidget/AnalyticalWidget.d.ts +5 -3
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +69 -11
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/ApprovalCenter/styled.d.ts +1 -0
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +1 -1
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DrawerDF/components/styled.d.ts +1 -0
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/LeftPanel/styled.d.ts +1 -0
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActions/styled.d.ts +7 -2
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +1 -1
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.d.ts +1 -1
- package/components/PopupDF/index.mjs +108 -94
- package/components/PopupDF/types.d.ts +1 -1
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/CollapseTableButton.d.ts +2 -0
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-column-control/styled.d.ts +1 -0
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/styles.d.ts +1 -0
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/handlers.d.ts +1 -0
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-searching/styled.d.ts +1 -0
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-sorting/styles.d.ts +1 -0
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/control-block-button.d.ts +3 -2
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/type.d.ts +3 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/types.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/utils/applyBlockEdit.d.ts +12 -0
- package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +2 -1
- package/components/TableCanvas/feature-cell-transfer/utils/collectMatrixFromTargets.d.ts +1 -0
- package/components/TableCanvas/feature-cell-transfer/utils/collectTextMatrix.d.ts +1 -0
- package/components/TableCanvas/feature-cell-transfer/utils/resolveBlockOrigin.d.ts +13 -0
- package/components/TableCanvas/feature-cell-transfer/utils/snapDestToRowBlocks.d.ts +4 -0
- package/components/TableCanvas/feature-collapse-table/CollapseTableButton.d.ts +3 -2
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/styled.d.ts +1 -0
- package/components/TableCanvas/feature-column-control/types.d.ts +3 -0
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +5 -1
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/styles.d.ts +1 -0
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/handlers.d.ts +1 -0
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +2 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/mergedView.d.ts +14 -0
- package/components/TableCanvas/feature-rows-grouping/types.d.ts +4 -0
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/styled.d.ts +1 -0
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/styles.d.ts +1 -0
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/mergedSubRows.d.ts +5 -0
- package/components/TableCanvas/feature-tree/types.d.ts +2 -0
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +4 -4
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/renders/rowIconConfig.d.ts +0 -5
- package/components/TableCanvas/renders/withSelectIcon.d.ts +3 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/createMergeByValueRowSpan.d.ts +7 -0
- package/components/TableCanvas/table-hooks/createMergedRegionsResolver.d.ts +21 -0
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/resolveMergedView.d.ts +7 -0
- package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +4 -1
- package/components/TableCanvas/types/column-config-internal.type.d.ts +4 -1
- package/components/TableCanvas/types/column-config.type.d.ts +2 -0
- package/components/TableCanvas/types/ctxs.type.d.ts +2 -0
- package/components/TableCanvas/types/glide-type.d.ts +1 -1
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.d.ts +1 -0
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/merged-cells.type.d.ts +4 -0
- package/components/TableCanvas/types/table-config.type.d.ts +15 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/control-block-button.d.ts +3 -2
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/styled.d.ts +10 -4
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +1 -1
- package/components/TableGlide/TableGlide.d.ts +1 -1
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/hooks/useErrorCellRanges.d.ts +14 -0
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +13 -13
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +22 -22
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/types.d.ts +10 -0
- package/components/TableGlide/utils/findBlockOrigin.d.ts +5 -0
- package/components/TableGlide/utils/getRowSpan.d.ts +6 -0
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +1 -1
- package/components/TourWidget/index.mjs +1 -1
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/Widget.d.ts +1 -0
- package/components/Widget/components/WidgetIconButtonDots.d.ts +1 -0
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +1 -1
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/ui/FormDatePickerRangeStyled.d.ts +2 -0
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/ButtonStyled.d.ts +1 -0
- package/formComponents/FormTextField/ui/IconButtonStyled.d.ts +1 -0
- package/index.cjs +1 -1
- package/index.mjs +11 -11
- package/layouts/FiltersActions/FiltersActions.d.ts +15 -6
- package/layouts/FiltersActions/components/FiltersButton.d.ts +4 -0
- package/layouts/FiltersActions/components/ResetAllFiltersButton.d.ts +6 -4
- package/layouts/FiltersActions/components/Tabs.d.ts +4 -2
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/mcp-data/component-index.json +250 -80
- package/package.json +7 -6
- package/shared/ui/Search/styled.d.ts +1 -0
- package/chunks/AnalyticalWidget-z2HzQ4aA.cjs +0 -43
- package/chunks/TableCanvas-uzBMXlx6.cjs +0 -30
- package/chunks/TableGlide-DTBZ1jNA.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EmbeddedButton as
|
|
2
|
-
import { IconButtonFilter as
|
|
3
|
-
import { Dropdown as
|
|
4
|
-
import { jsx as i, jsxs as
|
|
5
|
-
import { textPrimary as
|
|
6
|
-
import
|
|
7
|
-
import { u as
|
|
8
|
-
import { useRef as R, createElement as
|
|
9
|
-
import { IconDotsVerticalOutline as
|
|
10
|
-
import { Collapse as
|
|
11
|
-
const
|
|
1
|
+
import { EmbeddedButton as et } from "@salutejs/sdds-finai/beta";
|
|
2
|
+
import { IconButtonFilter as it } from "../components/IconButton/index.mjs";
|
|
3
|
+
import { Dropdown as nt, ChipGroup as at, Chip as lt, Tooltip as B, TextXS as ot, TextS as dt, TextM as rt, TextL as st, H5 as pt, H4 as ct, H3 as ht, H2 as gt, H1 as yt, DsplS as mt, DsplM as ut, DsplL as xt, BodyXXS as ft, BodyXS as wt, BodyS as St, BodyM as V, BodyL as vt, Link as Wt } from "@salutejs/sdds-finai";
|
|
4
|
+
import { jsx as i, jsxs as v, Fragment as _t } from "react/jsx-runtime";
|
|
5
|
+
import { textPrimary as E, inverseTextPrimary as Ct, bodyXS as Tt, textTertiary as bt, bodyM as At, textSecondary as T, bodyMBold as Ht, surfaceSolidCard as Nt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
6
|
+
import a, { css as A } from "styled-components";
|
|
7
|
+
import { u as It, a as Rt, m as S, b as N } from "./utils-YKicAHp0.mjs";
|
|
8
|
+
import { forwardRef as Bt, useRef as R, createElement as Et, useState as $t, useCallback as I, useEffect as F, isValidElement as Lt } from "react";
|
|
9
|
+
import { IconDotsVerticalOutline as Dt, IconDotsHorizontalOutline as kt, IconInfoCircleOutline as Mt } from "@salutejs/plasma-icons";
|
|
10
|
+
import { Collapse as Ot } from "../components/Collapse/index.mjs";
|
|
11
|
+
const zt = {
|
|
12
12
|
l: {
|
|
13
13
|
xl: {
|
|
14
14
|
minWidth: "448px",
|
|
@@ -102,7 +102,7 @@ const Mt = {
|
|
|
102
102
|
borderRadius: "16px"
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, Ft = {
|
|
106
106
|
l: {
|
|
107
107
|
topSlot: !0,
|
|
108
108
|
// Filters + chips
|
|
@@ -133,7 +133,7 @@ const Mt = {
|
|
|
133
133
|
// Маркер на корне виджета: rightSlot шапки заполнен. По нему абсолютная
|
|
134
134
|
// dots-кнопка (сиблинг) поднимает top с 12 до 16 через CSS.
|
|
135
135
|
hasRightSlot: "analytical-widget--has-right-slot"
|
|
136
|
-
},
|
|
136
|
+
}, Gt = a.div.withConfig({
|
|
137
137
|
displayName: "AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"
|
|
138
138
|
})(["position:absolute;top:", "px;right:", "px;.", " ~ &,&:has(~ .", "),&:has(~ * .", "){top:", "px;}"], ({
|
|
139
139
|
$offset: t
|
|
@@ -141,164 +141,166 @@ const Mt = {
|
|
|
141
141
|
$offset: t
|
|
142
142
|
}) => t, r.hasRightSlot, r.hasRightSlot, r.hasRightSlot, ({
|
|
143
143
|
$offset: t
|
|
144
|
-
}) => t + 4),
|
|
144
|
+
}) => t + 4), X = Bt(({
|
|
145
145
|
dropdownProps: t,
|
|
146
146
|
iconSize: e,
|
|
147
147
|
iconOrientation: o = "vertical",
|
|
148
148
|
view: d = "secondary",
|
|
149
|
-
size:
|
|
149
|
+
size: l = "m",
|
|
150
150
|
absolute: s = !1,
|
|
151
151
|
absoluteOffset: n = 12,
|
|
152
152
|
style: g,
|
|
153
153
|
...p
|
|
154
|
-
}) => {
|
|
155
|
-
const
|
|
156
|
-
return s ? /* @__PURE__ */ i(
|
|
157
|
-
}
|
|
154
|
+
}, y) => {
|
|
155
|
+
const f = /* @__PURE__ */ i(et, { ref: y, view: d, size: l, style: g, ...p, children: /* @__PURE__ */ i(o === "vertical" ? Dt : kt, { size: e ?? "s", color: E }) }), w = t ? /* @__PURE__ */ i(nt, { ...t, children: f }) : f;
|
|
156
|
+
return s ? /* @__PURE__ */ i(Gt, { $offset: n, children: w }) : w;
|
|
157
|
+
});
|
|
158
|
+
X.displayName = "AnalyticalWidgetIconButtonDots";
|
|
159
|
+
const Vt = a(lt).withConfig({
|
|
158
160
|
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChip"
|
|
159
|
-
})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),
|
|
161
|
+
})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), Xt = a(at).withConfig({
|
|
160
162
|
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChipGroup"
|
|
161
|
-
})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]),
|
|
163
|
+
})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]), Yt = ({
|
|
162
164
|
chips: t,
|
|
163
165
|
commonView: e = "default",
|
|
164
166
|
commonSize: o = "xs",
|
|
165
167
|
opened: d = !1,
|
|
166
|
-
...
|
|
168
|
+
...l
|
|
167
169
|
}) => {
|
|
168
|
-
const s =
|
|
170
|
+
const s = It(d, 300, !1), n = R(t);
|
|
169
171
|
t.length > 0 && (n.current = t);
|
|
170
172
|
const g = t.length > 0 ? t : n.current;
|
|
171
|
-
return /* @__PURE__ */ i("div", { className: r.selfSpacedTopSlot, children: /* @__PURE__ */ i(
|
|
173
|
+
return /* @__PURE__ */ i("div", { className: r.selfSpacedTopSlot, children: /* @__PURE__ */ i(Ot, { isOpen: s, unMountOnClose: !0, children: /* @__PURE__ */ i(Xt, { view: e, size: o, isCommonChipStyles: !1, ...l, children: g.map(({
|
|
172
174
|
key: p,
|
|
173
175
|
view: y,
|
|
174
176
|
...c
|
|
175
|
-
}, f) => /* @__PURE__ */
|
|
176
|
-
},
|
|
177
|
+
}, f) => /* @__PURE__ */ Et(Vt, { size: "xs", appearance: "transparent", ...c, key: p ?? `${c == null ? void 0 : c.name}-${f}` })) }) }) });
|
|
178
|
+
}, jt = a.div.withConfig({
|
|
177
179
|
displayName: "TooltipList__StyledTooltipContent"
|
|
178
|
-
})(["color:", ";", ";max-height:130px;overflow-y:auto;padding-block:2px;padding-right:2px;& > ul{padding-top:1px;display:flex;flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;}& li{padding-left:12px;position:relative;&::before{content:'•';position:absolute;left:2px;}}"], () =>
|
|
180
|
+
})(["color:", ";", ";max-height:130px;overflow-y:auto;padding-block:2px;padding-right:2px;& > ul{padding-top:1px;display:flex;flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;}& li{padding-left:12px;position:relative;&::before{content:'•';position:absolute;left:2px;}}"], () => Ct, () => A(Tt)), Pt = ({
|
|
179
181
|
groupLabel: t,
|
|
180
182
|
items: e
|
|
181
|
-
}) => /* @__PURE__ */
|
|
183
|
+
}) => /* @__PURE__ */ v(jt, { children: [
|
|
182
184
|
/* @__PURE__ */ i("span", { children: t }),
|
|
183
185
|
/* @__PURE__ */ i("ul", { children: e.map((o, d) => (
|
|
184
186
|
// eslint-disable-next-line react/no-array-index-key
|
|
185
187
|
/* @__PURE__ */ i("li", { children: o }, `${o}-${d}`)
|
|
186
188
|
)) })
|
|
187
|
-
] }),
|
|
189
|
+
] }), qt = a.div.withConfig({
|
|
188
190
|
displayName: "TooltipList__FullWidthWrapper"
|
|
189
|
-
})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]),
|
|
191
|
+
})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]), Ie = ({
|
|
190
192
|
groupLabel: t,
|
|
191
193
|
items: e,
|
|
192
194
|
children: o,
|
|
193
195
|
fullWidth: d,
|
|
194
|
-
...
|
|
196
|
+
...l
|
|
195
197
|
}) => {
|
|
196
198
|
const s = e.length > 0, n = /* @__PURE__ */ i(
|
|
197
|
-
|
|
199
|
+
B,
|
|
198
200
|
{
|
|
199
201
|
usePortal: !0,
|
|
200
202
|
size: "s",
|
|
201
203
|
mouseEnterDelay: 500,
|
|
202
|
-
...
|
|
203
|
-
trigger: s ?
|
|
204
|
-
text: s ? /* @__PURE__ */ i(
|
|
205
|
-
opened: s ?
|
|
204
|
+
...l,
|
|
205
|
+
trigger: s ? l.trigger ?? "hover" : "none",
|
|
206
|
+
text: s ? /* @__PURE__ */ i(Pt, { groupLabel: t, items: e }) : null,
|
|
207
|
+
opened: s ? l.opened : !1,
|
|
206
208
|
children: o
|
|
207
209
|
}
|
|
208
210
|
);
|
|
209
|
-
return d ? /* @__PURE__ */ i(
|
|
210
|
-
},
|
|
211
|
-
BodyL:
|
|
211
|
+
return d ? /* @__PURE__ */ i(qt, { children: n }) : n;
|
|
212
|
+
}, Jt = {
|
|
213
|
+
BodyL: vt,
|
|
212
214
|
BodyM: V,
|
|
213
|
-
BodyS:
|
|
214
|
-
BodyXS:
|
|
215
|
-
BodyXXS:
|
|
216
|
-
DsplL:
|
|
217
|
-
DsplM:
|
|
218
|
-
DsplS:
|
|
219
|
-
H1:
|
|
220
|
-
H2:
|
|
221
|
-
H3:
|
|
222
|
-
H4:
|
|
223
|
-
H5:
|
|
224
|
-
TextL:
|
|
225
|
-
TextM:
|
|
226
|
-
TextS:
|
|
227
|
-
TextXS:
|
|
215
|
+
BodyS: St,
|
|
216
|
+
BodyXS: wt,
|
|
217
|
+
BodyXXS: ft,
|
|
218
|
+
DsplL: xt,
|
|
219
|
+
DsplM: ut,
|
|
220
|
+
DsplS: mt,
|
|
221
|
+
H1: yt,
|
|
222
|
+
H2: gt,
|
|
223
|
+
H3: ht,
|
|
224
|
+
H4: ct,
|
|
225
|
+
H5: pt,
|
|
226
|
+
TextL: st,
|
|
227
|
+
TextM: rt,
|
|
228
|
+
TextS: dt,
|
|
229
|
+
TextXS: ot
|
|
228
230
|
};
|
|
229
|
-
function
|
|
231
|
+
function $({
|
|
230
232
|
variant: t,
|
|
231
233
|
children: e,
|
|
232
234
|
refTypography: o,
|
|
233
235
|
...d
|
|
234
236
|
}) {
|
|
235
|
-
const
|
|
236
|
-
return /* @__PURE__ */ i(
|
|
237
|
+
const l = Jt[t];
|
|
238
|
+
return /* @__PURE__ */ i(l, { ...d, ref: o, children: e });
|
|
237
239
|
}
|
|
238
|
-
|
|
239
|
-
const
|
|
240
|
-
let
|
|
241
|
-
function
|
|
240
|
+
$.displayName = "Typography";
|
|
241
|
+
const b = "typography-with-auto-tooltip-root";
|
|
242
|
+
let W = !1, x = null, C = 0;
|
|
243
|
+
function Y() {
|
|
242
244
|
if (typeof document > "u")
|
|
243
245
|
return;
|
|
244
|
-
const t = document.getElementById(
|
|
246
|
+
const t = document.getElementById(b);
|
|
245
247
|
t && t.querySelectorAll("[id^='plasma-popover-root']:empty").forEach((e) => e.remove());
|
|
246
248
|
}
|
|
247
|
-
function Jt() {
|
|
248
|
-
v || (v = !0, x = setTimeout(() => {
|
|
249
|
-
v = !1, x = null, X();
|
|
250
|
-
}, 0));
|
|
251
|
-
}
|
|
252
249
|
function Kt() {
|
|
253
|
-
|
|
250
|
+
W || (W = !0, x = setTimeout(() => {
|
|
251
|
+
W = !1, x = null, Y();
|
|
252
|
+
}, 0));
|
|
254
253
|
}
|
|
255
254
|
function Qt() {
|
|
256
|
-
x && (clearTimeout(x), x = null),
|
|
255
|
+
x && (clearTimeout(x), x = null), W = !1;
|
|
257
256
|
}
|
|
258
257
|
function Ut() {
|
|
258
|
+
x && (clearTimeout(x), x = null), W = !1, Y();
|
|
259
|
+
}
|
|
260
|
+
function Zt() {
|
|
259
261
|
if (!(typeof document > "u")) {
|
|
260
|
-
if (
|
|
262
|
+
if (C += 1, C === 1) {
|
|
261
263
|
const t = document.createElement("div");
|
|
262
|
-
t.id =
|
|
264
|
+
t.id = b, document.body.appendChild(t);
|
|
263
265
|
}
|
|
264
266
|
return () => {
|
|
265
|
-
if (
|
|
266
|
-
const t = document.getElementById(
|
|
267
|
+
if (C -= 1, C === 0) {
|
|
268
|
+
const t = document.getElementById(b);
|
|
267
269
|
t && (t.querySelectorAll("[id^='plasma-popover-root']").length > 0 || t.remove());
|
|
268
270
|
}
|
|
269
271
|
};
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
|
-
function
|
|
274
|
+
function te() {
|
|
273
275
|
return {
|
|
274
|
-
schedule:
|
|
275
|
-
flush:
|
|
276
|
-
cancel:
|
|
277
|
-
getContainerId: () =>
|
|
278
|
-
createContainer:
|
|
276
|
+
schedule: Kt,
|
|
277
|
+
flush: Ut,
|
|
278
|
+
cancel: Qt,
|
|
279
|
+
getContainerId: () => b,
|
|
280
|
+
createContainer: Zt
|
|
279
281
|
};
|
|
280
282
|
}
|
|
281
|
-
const
|
|
283
|
+
const ee = a(B).withConfig({
|
|
282
284
|
displayName: "TypographyWithAutoTooltipstyled__StyledTooltip"
|
|
283
|
-
})(["&.popover-target{width:100%;}"]),
|
|
285
|
+
})(["&.popover-target{width:100%;}"]), ie = a.div.withConfig({
|
|
284
286
|
displayName: "TypographyWithAutoTooltipstyled__StyleTooltipWrapper"
|
|
285
|
-
})(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]),
|
|
287
|
+
})(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ne = 1, L = ({
|
|
286
288
|
tooltipText: t,
|
|
287
289
|
tooltipProps: e,
|
|
288
290
|
lines: o = 1,
|
|
289
291
|
className: d,
|
|
290
|
-
children:
|
|
292
|
+
children: l,
|
|
291
293
|
...s
|
|
292
294
|
}) => {
|
|
293
295
|
const {
|
|
294
296
|
mouseEnterDelay: n = 500,
|
|
295
297
|
mouseLeaveDelay: g = 0,
|
|
296
298
|
...p
|
|
297
|
-
} = e || {}, y = R(null), [c, f] =
|
|
298
|
-
schedule:
|
|
299
|
-
getContainerId:
|
|
299
|
+
} = e || {}, y = R(null), [c, f] = $t(!1), w = R(), {
|
|
300
|
+
schedule: _,
|
|
301
|
+
getContainerId: P,
|
|
300
302
|
createContainer: D
|
|
301
|
-
} =
|
|
303
|
+
} = te(), k = I(() => {
|
|
302
304
|
if (!y.current)
|
|
303
305
|
return !1;
|
|
304
306
|
const h = y.current;
|
|
@@ -307,28 +309,28 @@ const te = l(E).withConfig({
|
|
|
307
309
|
try {
|
|
308
310
|
const m = document.createRange();
|
|
309
311
|
m.selectNodeContents(h);
|
|
310
|
-
const
|
|
312
|
+
const U = m.getBoundingClientRect().width, Z = h.getBoundingClientRect().width;
|
|
311
313
|
m.detach();
|
|
312
|
-
const
|
|
313
|
-
return (
|
|
314
|
+
const tt = window.devicePixelRatio || 1;
|
|
315
|
+
return (U - Z) * tt > ne;
|
|
314
316
|
} catch {
|
|
315
317
|
return !1;
|
|
316
318
|
}
|
|
317
|
-
}, [o]),
|
|
318
|
-
k() && (
|
|
319
|
+
}, [o]), q = I(() => {
|
|
320
|
+
k() && (w.current = setTimeout(() => {
|
|
319
321
|
f(!0);
|
|
320
322
|
}, n));
|
|
321
|
-
}, [k, n]),
|
|
322
|
-
clearTimeout(
|
|
323
|
-
f(!1),
|
|
323
|
+
}, [k, n]), J = I(() => {
|
|
324
|
+
clearTimeout(w.current), setTimeout(() => {
|
|
325
|
+
f(!1), _();
|
|
324
326
|
}, g);
|
|
325
|
-
}, [g,
|
|
326
|
-
variant:
|
|
327
|
+
}, [g, _]), {
|
|
328
|
+
variant: K,
|
|
327
329
|
bold: M,
|
|
328
330
|
size: O,
|
|
329
331
|
...u
|
|
330
|
-
} = s,
|
|
331
|
-
variant:
|
|
332
|
+
} = s, Q = {
|
|
333
|
+
variant: K,
|
|
332
334
|
...M !== void 0 && {
|
|
333
335
|
bold: M
|
|
334
336
|
},
|
|
@@ -346,93 +348,93 @@ const te = l(E).withConfig({
|
|
|
346
348
|
(m = u.onMouseLeave) == null || m.call(u, h);
|
|
347
349
|
},
|
|
348
350
|
style: {
|
|
349
|
-
...
|
|
351
|
+
...Rt({
|
|
350
352
|
lines: o
|
|
351
353
|
}),
|
|
352
354
|
...u.style || {}
|
|
353
355
|
},
|
|
354
|
-
children:
|
|
355
|
-
}, z = /* @__PURE__ */ i(
|
|
356
|
+
children: l
|
|
357
|
+
}, z = /* @__PURE__ */ i($, { ...Q, children: l });
|
|
356
358
|
return F(() => D(), [D]), F(() => () => {
|
|
357
|
-
clearTimeout(
|
|
358
|
-
}, [
|
|
359
|
-
},
|
|
359
|
+
clearTimeout(w.current), _();
|
|
360
|
+
}, [_]), /* @__PURE__ */ i(ie, { className: d, onMouseEnter: q, onMouseLeave: J, children: c ? /* @__PURE__ */ i(ee, { opened: c, text: t ?? "", target: z, frame: P(), ...p }) : z });
|
|
361
|
+
}, ae = () => A(Ht), j = () => A(At), le = a.header.withConfig({
|
|
360
362
|
displayName: "AnalyticalWidgetHeaderstyled__StyledHeader"
|
|
361
|
-
})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], r.popoverInfo),
|
|
363
|
+
})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], r.popoverInfo), oe = a.div.withConfig({
|
|
362
364
|
displayName: "AnalyticalWidgetHeaderstyled__StyledLeftSlot"
|
|
363
|
-
})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]),
|
|
365
|
+
})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]), de = a.div.withConfig({
|
|
364
366
|
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleContainer"
|
|
365
367
|
})(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);
|
|
366
|
-
|
|
368
|
+
a.p.withConfig({
|
|
367
369
|
displayName: "AnalyticalWidgetHeaderstyled__StyledTitle"
|
|
368
|
-
})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () =>
|
|
369
|
-
const
|
|
370
|
+
})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ae(), () => E);
|
|
371
|
+
const re = a(L).withConfig({
|
|
370
372
|
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
|
|
371
|
-
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),
|
|
373
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), se = a(L).withConfig({
|
|
372
374
|
displayName: "AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"
|
|
373
|
-
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),
|
|
375
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), pe = a.p.withConfig({
|
|
374
376
|
displayName: "AnalyticalWidgetHeaderstyled__StyledAfterTitle"
|
|
375
|
-
})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () =>
|
|
377
|
+
})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () => j(), () => bt), ce = a.div.attrs({
|
|
376
378
|
className: r.headerActions
|
|
377
379
|
}).withConfig({
|
|
378
380
|
displayName: "AnalyticalWidgetHeaderstyled__StyledHeaderActions"
|
|
379
381
|
})(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);
|
|
380
|
-
|
|
382
|
+
a.p.withConfig({
|
|
381
383
|
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitle"
|
|
382
|
-
})(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () =>
|
|
383
|
-
|
|
384
|
+
})(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => j(), () => T);
|
|
385
|
+
a($).withConfig({
|
|
384
386
|
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"
|
|
385
|
-
})(["color:", ";"], () =>
|
|
386
|
-
const
|
|
387
|
+
})(["color:", ";"], () => T);
|
|
388
|
+
const he = a(Wt).withConfig({
|
|
387
389
|
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleLink"
|
|
388
390
|
})(["display:flex;min-width:0;flex-shrink:1;"]);
|
|
389
|
-
|
|
391
|
+
a(L).withConfig({
|
|
390
392
|
displayName: "AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"
|
|
391
393
|
})(["flex-shrink:1;margin:0;min-width:0;"]);
|
|
392
|
-
const
|
|
394
|
+
const ge = a.div.withConfig({
|
|
393
395
|
displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
|
|
394
396
|
})(["align-self:start;flex-shrink:0;"]), G = ({
|
|
395
397
|
title: t,
|
|
396
398
|
titleTooltipProps: e
|
|
397
|
-
}) => typeof t != "string" ? /* @__PURE__ */ i(
|
|
399
|
+
}) => typeof t != "string" ? /* @__PURE__ */ i(_t, { children: t }) : /* @__PURE__ */ i(re, { tooltipText: t, tooltipProps: {
|
|
398
400
|
placement: "top",
|
|
399
401
|
...e
|
|
400
402
|
}, variant: "BodyM", bold: !0, style: {
|
|
401
|
-
color:
|
|
403
|
+
color: E,
|
|
402
404
|
wordBreak: "normal"
|
|
403
|
-
}, lines: 1, children: t }),
|
|
405
|
+
}, lines: 1, children: t }), ye = ({
|
|
404
406
|
title: t,
|
|
405
407
|
titleTooltipProps: e,
|
|
406
408
|
badge: o,
|
|
407
409
|
badgeStyles: d,
|
|
408
|
-
subtitle:
|
|
410
|
+
subtitle: l,
|
|
409
411
|
subtitleTooltipProps: s,
|
|
410
412
|
infoTooltipText: n,
|
|
411
413
|
infoTooltipProps: g,
|
|
412
414
|
rightSlot: p,
|
|
413
415
|
className: y,
|
|
414
416
|
titleLinkProps: c
|
|
415
|
-
}) => /* @__PURE__ */
|
|
416
|
-
/* @__PURE__ */
|
|
417
|
-
/* @__PURE__ */
|
|
418
|
-
t && c ? /* @__PURE__ */ i(
|
|
419
|
-
o && /* @__PURE__ */ i(
|
|
420
|
-
n && /* @__PURE__ */ i(
|
|
417
|
+
}) => /* @__PURE__ */ v(le, { className: S(r.header, y), children: [
|
|
418
|
+
/* @__PURE__ */ v(oe, { children: [
|
|
419
|
+
/* @__PURE__ */ v(de, { children: [
|
|
420
|
+
t && c ? /* @__PURE__ */ i(he, { underline: "none", ...c, children: /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }) }) : /* @__PURE__ */ i(G, { title: t, titleTooltipProps: e }),
|
|
421
|
+
o && /* @__PURE__ */ i(pe, { style: d, children: o }),
|
|
422
|
+
n && /* @__PURE__ */ i(ce, { children: /* @__PURE__ */ i(B, { trigger: "hover", placement: "top", text: n, target: /* @__PURE__ */ i(Mt, { size: "xs", style: {
|
|
421
423
|
cursor: "pointer",
|
|
422
|
-
color:
|
|
423
|
-
} }), className:
|
|
424
|
+
color: T
|
|
425
|
+
} }), className: S(r.popoverInfo), ...g }) })
|
|
424
426
|
] }),
|
|
425
|
-
|
|
426
|
-
color:
|
|
427
|
+
l && (typeof l == "string" ? /* @__PURE__ */ i(se, { variant: "BodyXS", tooltipText: l, style: {
|
|
428
|
+
color: T,
|
|
427
429
|
wordBreak: "normal"
|
|
428
430
|
}, tooltipProps: {
|
|
429
431
|
placement: "top",
|
|
430
432
|
...s
|
|
431
|
-
}, lines: 1, children:
|
|
433
|
+
}, lines: 1, children: l }) : l)
|
|
432
434
|
] }),
|
|
433
|
-
p && /* @__PURE__ */ i(
|
|
434
|
-
] }),
|
|
435
|
-
const e =
|
|
435
|
+
p && /* @__PURE__ */ i(ge, { children: p })
|
|
436
|
+
] }), me = (t) => {
|
|
437
|
+
const e = zt[t];
|
|
436
438
|
return {
|
|
437
439
|
xl: `
|
|
438
440
|
--analytical-widget-padding: ${e.xl.padding};
|
|
@@ -480,56 +482,56 @@ const he = l.div.withConfig({
|
|
|
480
482
|
border-radius: var(--analytical-widget-br);
|
|
481
483
|
`
|
|
482
484
|
};
|
|
483
|
-
},
|
|
485
|
+
}, ue = a.article.withConfig({
|
|
484
486
|
displayName: "AnalyticalWidgetstyled__StyledWidget"
|
|
485
|
-
})(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""],
|
|
487
|
+
})(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""], Nt, r.headerActions, ({
|
|
486
488
|
$size: t
|
|
487
489
|
}) => {
|
|
488
|
-
const e =
|
|
489
|
-
return
|
|
490
|
+
const e = me(t);
|
|
491
|
+
return A(["", " ", " ", " "], N.exact(0, 1439)(e.md), N.exact(1440, 1919)(e.lg), N.exact(1920, 1e5)(e.xl));
|
|
490
492
|
}, ({
|
|
491
493
|
$css: t
|
|
492
|
-
}) => t),
|
|
494
|
+
}) => t), xe = a(V).withConfig({
|
|
493
495
|
displayName: "AnalyticalWidgetstyled__StyledTopSlot"
|
|
494
|
-
})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], r.selfSpacedTopSlot),
|
|
496
|
+
})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], r.selfSpacedTopSlot), fe = a.div.withConfig({
|
|
495
497
|
displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
|
|
496
|
-
})(["overflow:hidden;padding-top:8px;"]),
|
|
498
|
+
})(["overflow:hidden;padding-top:8px;"]), we = a.div.withConfig({
|
|
497
499
|
displayName: "AnalyticalWidgetstyled__StyledContent"
|
|
498
500
|
})(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:", ";"], ({
|
|
499
501
|
scrollable: t
|
|
500
|
-
}) => t ? "auto" : "visible"),
|
|
502
|
+
}) => t ? "auto" : "visible"), H = ({
|
|
501
503
|
size: t = "l",
|
|
502
504
|
scrollable: e = !0,
|
|
503
505
|
headerSlot: o,
|
|
504
506
|
topSlot: d,
|
|
505
|
-
middleSlot:
|
|
507
|
+
middleSlot: l,
|
|
506
508
|
contentSlot: s,
|
|
507
509
|
classes: n,
|
|
508
510
|
$css: g
|
|
509
511
|
}) => {
|
|
510
|
-
const p =
|
|
511
|
-
return /* @__PURE__ */
|
|
512
|
+
const p = Ft[t], y = Lt(o) && !!o.props.rightSlot;
|
|
513
|
+
return /* @__PURE__ */ v(ue, { $size: t, $css: g, className: S(r.root, y ? r.hasRightSlot : void 0, n == null ? void 0 : n.root), children: [
|
|
512
514
|
/* @__PURE__ */ i("div", { style: {
|
|
513
515
|
minHeight: "32px"
|
|
514
516
|
}, children: o }),
|
|
515
|
-
p.topSlot && d || p.middleSlot &&
|
|
516
|
-
p.topSlot && d && /* @__PURE__ */ i(
|
|
517
|
-
p.middleSlot &&
|
|
517
|
+
p.topSlot && d || p.middleSlot && l ? /* @__PURE__ */ v("div", { children: [
|
|
518
|
+
p.topSlot && d && /* @__PURE__ */ i(xe, { className: S(r.topSlot, n == null ? void 0 : n.topSlot), children: d }),
|
|
519
|
+
p.middleSlot && l && /* @__PURE__ */ i(fe, { className: S(r.middleSlot, n == null ? void 0 : n.middleSlot), children: l })
|
|
518
520
|
] }) : null,
|
|
519
|
-
/* @__PURE__ */ i(
|
|
521
|
+
/* @__PURE__ */ i(we, { scrollable: e, className: S(r.contentSlot, n == null ? void 0 : n.contentSlot), children: s })
|
|
520
522
|
] });
|
|
521
523
|
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
524
|
+
H.Header = ye;
|
|
525
|
+
H.FilterIconButton = it;
|
|
526
|
+
H.DotsIconButton = X;
|
|
527
|
+
H.Chips = Yt;
|
|
526
528
|
export {
|
|
527
|
-
A,
|
|
528
|
-
|
|
529
|
+
H as A,
|
|
530
|
+
$ as T,
|
|
529
531
|
L as a,
|
|
530
532
|
r as b,
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
533
|
+
Ie as c,
|
|
534
|
+
X as d,
|
|
535
|
+
Yt as e,
|
|
536
|
+
ye as f
|
|
535
537
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";const Q=require("@salutejs/sdds-finai/beta"),U=require("../components/IconButton/index.cjs"),a=require("@salutejs/sdds-finai"),i=require("react/jsx-runtime"),h=require("@salutejs/sdds-themes/tokens/sdds_finai"),n=require("styled-components"),u=require("./utils-CUW5bd8S.cjs"),y=require("react"),I=require("@salutejs/plasma-icons"),Z=require("../components/Collapse/index.cjs"),tt={l:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"}},m:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}},s:{xl:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}}},et={l:{topSlot:!0,middleSlot:!0},m:{topSlot:!0,middleSlot:!1},s:{topSlot:!0,middleSlot:!1}},s={root:"analytical-widget",header:"analytical-widget__header",popoverInfo:"analytical-widget__popover-info",topSlot:"analytical-widget__top-slot",middleSlot:"analytical-widget__middle-slot",contentSlot:"analytical-widget__content",headerActions:"analytical-widget__header-actions",selfSpacedTopSlot:"analytical-widget__self-spaced-top-slot",hasRightSlot:"analytical-widget--has-right-slot"},it=n.div.withConfig({displayName:"AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"})(["position:absolute;top:","px;right:","px;."," ~ &,&:has(~ .","),&:has(~ * .","){top:","px;}"],({$offset:t})=>t,({$offset:t})=>t,s.hasRightSlot,s.hasRightSlot,s.hasRightSlot,({$offset:t})=>t+4),R=y.forwardRef(({dropdownProps:t,iconSize:e,iconOrientation:d="vertical",view:r="secondary",size:o="m",absolute:p=!1,absoluteOffset:l=12,style:x,...c},f)=>{const g=d==="vertical"?I.IconDotsVerticalOutline:I.IconDotsHorizontalOutline,C=i.jsx(Q.EmbeddedButton,{ref:f,view:r,size:o,style:x,...c,children:i.jsx(g,{size:e??"s",color:h.textPrimary})}),T=t?i.jsx(a.Dropdown,{...t,children:C}):C;return p?i.jsx(it,{$offset:l,children:T}):T});R.displayName="AnalyticalWidgetIconButtonDots";const nt=n(a.Chip).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChip"})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),lt=n(a.ChipGroup).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChipGroup"})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]),M=({chips:t,commonView:e="default",commonSize:d="xs",opened:r=!1,...o})=>{const p=u.useDebouncedValue(r,300,!1),l=y.useRef(t);t.length>0&&(l.current=t);const x=t.length>0?t:l.current;return i.jsx("div",{className:s.selfSpacedTopSlot,children:i.jsx(Z.Collapse,{isOpen:p,unMountOnClose:!0,children:i.jsx(lt,{view:e,size:d,isCommonChipStyles:!1,...o,children:x.map(({key:c,view:f,...g},C)=>y.createElement(nt,{size:"xs",appearance:"transparent",...g,key:c??`${g==null?void 0:g.name}-${C}`}))})})})},at=n.div.withConfig({displayName:"TooltipList__StyledTooltipContent"})(["color:",";",";max-height:130px;overflow-y:auto;padding-block:2px;padding-right:2px;& > ul{padding-top:1px;display:flex;flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;}& li{padding-left:12px;position:relative;&::before{content:'•';position:absolute;left:2px;}}"],()=>h.inverseTextPrimary,()=>n.css(h.bodyXS)),ot=({groupLabel:t,items:e})=>i.jsxs(at,{children:[i.jsx("span",{children:t}),i.jsx("ul",{children:e.map((d,r)=>i.jsx("li",{children:d},`${d}-${r}`))})]}),dt=n.div.withConfig({displayName:"TooltipList__FullWidthWrapper"})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]),rt=({groupLabel:t,items:e,children:d,fullWidth:r,...o})=>{const p=e.length>0,l=i.jsx(a.Tooltip,{usePortal:!0,size:"s",mouseEnterDelay:500,...o,trigger:p?o.trigger??"hover":"none",text:p?i.jsx(ot,{groupLabel:t,items:e}):null,opened:p?o.opened:!1,children:d});return r?i.jsx(dt,{children:l}):l},st={BodyL:a.BodyL,BodyM:a.BodyM,BodyS:a.BodyS,BodyXS:a.BodyXS,BodyXXS:a.BodyXXS,DsplL:a.DsplL,DsplM:a.DsplM,DsplS:a.DsplS,H1:a.H1,H2:a.H2,H3:a.H3,H4:a.H4,H5:a.H5,TextL:a.TextL,TextM:a.TextM,TextS:a.TextS,TextXS:a.TextXS};function j({variant:t,children:e,refTypography:d,...r}){const o=st[t];return i.jsx(o,{...r,ref:d,children:e})}j.displayName="Typography";const H="typography-with-auto-tooltip-root";let W=!1,v=null,A=0;function O(){if(typeof document>"u")return;const t=document.getElementById(H);t&&t.querySelectorAll("[id^='plasma-popover-root']:empty").forEach(e=>e.remove())}function pt(){W||(W=!0,v=setTimeout(()=>{W=!1,v=null,O()},0))}function ct(){v&&(clearTimeout(v),v=null),W=!1}function ht(){v&&(clearTimeout(v),v=null),W=!1,O()}function gt(){if(!(typeof document>"u")){if(A+=1,A===1){const t=document.createElement("div");t.id=H,document.body.appendChild(t)}return()=>{if(A-=1,A===0){const t=document.getElementById(H);t&&(t.querySelectorAll("[id^='plasma-popover-root']").length>0||t.remove())}}}}function yt(){return{schedule:pt,flush:ht,cancel:ct,getContainerId:()=>H,createContainer:gt}}const mt=n(a.Tooltip).withConfig({displayName:"TypographyWithAutoTooltipstyled__StyledTooltip"})(["&.popover-target{width:100%;}"]),ut=n.div.withConfig({displayName:"TypographyWithAutoTooltipstyled__StyleTooltipWrapper"})(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]),xt=1,N=({tooltipText:t,tooltipProps:e,lines:d=1,className:r,children:o,...p})=>{const{mouseEnterDelay:l=500,mouseLeaveDelay:x=0,...c}=e||{},f=y.useRef(null),[g,C]=y.useState(!1),T=y.useRef(),{schedule:b,getContainerId:z,createContainer:B}=yt(),L=y.useCallback(()=>{if(!f.current)return!1;const m=f.current;if(d>1)return m.scrollHeight>m.clientHeight||m.scrollWidth>m.clientWidth;try{const w=document.createRange();w.selectNodeContents(m);const Y=w.getBoundingClientRect().width,J=m.getBoundingClientRect().width;w.detach();const K=window.devicePixelRatio||1;return(Y-J)*K>xt}catch{return!1}},[d]),F=y.useCallback(()=>{L()&&(T.current=setTimeout(()=>{C(!0)},l))},[L,l]),G=y.useCallback(()=>{clearTimeout(T.current),setTimeout(()=>{C(!1),b()},x)},[x,b]),{variant:V,bold:D,size:E,...S}=p,P={variant:V,...D!==void 0&&{bold:D},...E!==void 0&&{size:E},...S,refTypography:f,onMouseEnter:m=>{var w;(w=S.onMouseEnter)==null||w.call(S,m)},onMouseLeave:m=>{var w;(w=S.onMouseLeave)==null||w.call(S,m)},style:{...u.truncateText({lines:d}),...S.style||{}},children:o},$=i.jsx(j,{...P,children:o});return y.useEffect(()=>B(),[B]),y.useEffect(()=>()=>{clearTimeout(T.current),b()},[b]),i.jsx(ut,{className:r,onMouseEnter:F,onMouseLeave:G,children:g?i.jsx(mt,{opened:g,text:t??"",target:$,frame:z(),...c}):$})},ft=()=>n.css(h.bodyMBold),q=()=>n.css(h.bodyM),wt=n.header.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeader"})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.","){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"],s.popoverInfo),St=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLeftSlot"})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]),vt=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleContainer"})(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitle"})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';",";color:",";"],()=>ft(),()=>h.textPrimary);const Ct=n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),Tt=n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),Wt=n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledAfterTitle"})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';"," color:",";text-transform:uppercase;"],()=>q(),()=>h.textTertiary),_t=n.div.attrs({className:s.headerActions}).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeaderActions"})(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitle"})([""," flex-shrink:1;margin:0;min-width:0;color:",";"],()=>q(),()=>h.textSecondary);n(j).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"})(["color:",";"],()=>h.textSecondary);const bt=n(a.Link).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleLink"})(["display:flex;min-width:0;flex-shrink:1;"]);n(N).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"})(["flex-shrink:1;margin:0;min-width:0;"]);const At=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledRightSlot"})(["align-self:start;flex-shrink:0;"]),k=({title:t,titleTooltipProps:e})=>typeof t!="string"?i.jsx(i.Fragment,{children:t}):i.jsx(Ct,{tooltipText:t,tooltipProps:{placement:"top",...e},variant:"BodyM",bold:!0,style:{color:h.textPrimary,wordBreak:"normal"},lines:1,children:t}),X=({title:t,titleTooltipProps:e,badge:d,badgeStyles:r,subtitle:o,subtitleTooltipProps:p,infoTooltipText:l,infoTooltipProps:x,rightSlot:c,className:f,titleLinkProps:g})=>i.jsxs(wt,{className:u.mergeClasses(s.header,f),children:[i.jsxs(St,{children:[i.jsxs(vt,{children:[t&&g?i.jsx(bt,{underline:"none",...g,children:i.jsx(k,{title:t,titleTooltipProps:e})}):i.jsx(k,{title:t,titleTooltipProps:e}),d&&i.jsx(Wt,{style:r,children:d}),l&&i.jsx(_t,{children:i.jsx(a.Tooltip,{trigger:"hover",placement:"top",text:l,target:i.jsx(I.IconInfoCircleOutline,{size:"xs",style:{cursor:"pointer",color:h.textSecondary}}),className:u.mergeClasses(s.popoverInfo),...x})})]}),o&&(typeof o=="string"?i.jsx(Tt,{variant:"BodyXS",tooltipText:o,style:{color:h.textSecondary,wordBreak:"normal"},tooltipProps:{placement:"top",...p},lines:1,children:o}):o)]}),c&&i.jsx(At,{children:c})]}),Ht=t=>{const e=tt[t];return{xl:`
|
|
2
|
+
--analytical-widget-padding: ${e.xl.padding};
|
|
3
|
+
--analytical-widget-br: ${e.xl.borderRadius};
|
|
4
|
+
--analytical-widget-min-height: ${e.xl.minHeight};
|
|
5
|
+
--analytical-widget-min-width: ${e.xl.minWidth||"unset"};
|
|
6
|
+
--analytical-widget-max-width: ${e.xl.maxWidth||"unset"};
|
|
7
|
+
|
|
8
|
+
width: ${e.xl.width};
|
|
9
|
+
min-height: var(--analytical-widget-min-height);
|
|
10
|
+
height: 100%;
|
|
11
|
+
min-width: var(--analytical-widget-min-width);
|
|
12
|
+
max-width: var(--analytical-widget-max-width);
|
|
13
|
+
padding: var(--analytical-widget-padding);
|
|
14
|
+
border-radius: var(--analytical-widget-br);
|
|
15
|
+
`,lg:`
|
|
16
|
+
--analytical-widget-padding: ${e.lg.padding};
|
|
17
|
+
--analytical-widget-br: ${e.lg.borderRadius};
|
|
18
|
+
--analytical-widget-min-height: ${e.lg.minHeight};
|
|
19
|
+
--analytical-widget-min-width: ${e.lg.minWidth||"unset"};
|
|
20
|
+
--analytical-widget-max-width: ${e.lg.maxWidth||"unset"};
|
|
21
|
+
|
|
22
|
+
width: ${e.lg.width};
|
|
23
|
+
min-height: var(--analytical-widget-min-height);
|
|
24
|
+
height: 100%;
|
|
25
|
+
min-width: var(--analytical-widget-min-width);
|
|
26
|
+
max-width: var(--analytical-widget-max-width);
|
|
27
|
+
padding: var(--analytical-widget-padding);
|
|
28
|
+
border-radius: var(--analytical-widget-br);
|
|
29
|
+
`,md:`
|
|
30
|
+
--analytical-widget-padding: ${e.md.padding};
|
|
31
|
+
--analytical-widget-br: ${e.md.borderRadius};
|
|
32
|
+
--analytical-widget-min-height: ${e.md.minHeight};
|
|
33
|
+
--analytical-widget-min-width: ${e.md.minWidth||"unset"};
|
|
34
|
+
--analytical-widget-max-width: ${e.md.maxWidth||"unset"};
|
|
35
|
+
|
|
36
|
+
width: ${e.md.width};
|
|
37
|
+
min-height: var(--analytical-widget-min-height);
|
|
38
|
+
height: 100%;
|
|
39
|
+
min-width: var(--analytical-widget-min-width);
|
|
40
|
+
max-width: var(--analytical-widget-max-width);
|
|
41
|
+
padding: var(--analytical-widget-padding);
|
|
42
|
+
border-radius: var(--analytical-widget-br);
|
|
43
|
+
`}},jt=n.article.withConfig({displayName:"AnalyticalWidgetstyled__StyledWidget"})(["--analytical-widget-bg:",";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.","{opacity:1;}}"," ",""],h.surfaceSolidCard,s.headerActions,({$size:t})=>{const e=Ht(t);return n.css([""," "," "," "],u.media.exact(0,1439)(e.md),u.media.exact(1440,1919)(e.lg),u.media.exact(1920,1e5)(e.xl))},({$css:t})=>t),Nt=n(a.BodyM).withConfig({displayName:"AnalyticalWidgetstyled__StyledTopSlot"})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.","){margin-top:0;}"],s.selfSpacedTopSlot),It=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledMiddleSlot"})(["overflow:hidden;padding-top:8px;"]),Rt=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledContent"})(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:",";"],({scrollable:t})=>t?"auto":"visible"),_=({size:t="l",scrollable:e=!0,headerSlot:d,topSlot:r,middleSlot:o,contentSlot:p,classes:l,$css:x})=>{const c=et[t],f=y.isValidElement(d)&&!!d.props.rightSlot;return i.jsxs(jt,{$size:t,$css:x,className:u.mergeClasses(s.root,f?s.hasRightSlot:void 0,l==null?void 0:l.root),children:[i.jsx("div",{style:{minHeight:"32px"},children:d}),c.topSlot&&r||c.middleSlot&&o?i.jsxs("div",{children:[c.topSlot&&r&&i.jsx(Nt,{className:u.mergeClasses(s.topSlot,l==null?void 0:l.topSlot),children:r}),c.middleSlot&&o&&i.jsx(It,{className:u.mergeClasses(s.middleSlot,l==null?void 0:l.middleSlot),children:o})]}):null,i.jsx(Rt,{scrollable:e,className:u.mergeClasses(s.contentSlot,l==null?void 0:l.contentSlot),children:p})]})};_.Header=X;_.FilterIconButton=U.IconButtonFilter;_.DotsIconButton=R;_.Chips=M;exports.AnalyticalWidget=_;exports.AnalyticalWidgetChipsGroup=M;exports.AnalyticalWidgetHeader=X;exports.AnalyticalWidgetIconButtonDots=R;exports.TooltipList=rt;exports.Typography=j;exports.TypographyWithAutoTooltip=N;exports.analyticalWidgetClassNames=s;
|