@daisforge/ui 1.12.1 → 1.13.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-29tSeB0C.cjs +43 -0
- package/chunks/AnalyticalWidget-DnHHyjnv.mjs +528 -0
- package/chunks/ApprovalCenter-BREfTiqK.mjs +176 -0
- package/chunks/ApprovalCenter-BRUYlLoC.cjs +1 -0
- package/chunks/BlockTitle-BNm60_dx.mjs +85 -0
- package/chunks/BlockTitle-CCvkcUe_.cjs +1 -0
- package/chunks/Container-CV4sT-bB.mjs +117 -0
- package/chunks/Container-D8Bcg69e.cjs +17 -0
- package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
- package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
- package/chunks/FiltersActions-49uNOjLq.cjs +1 -0
- package/chunks/FiltersActions-Be9uBM67.mjs +429 -0
- package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
- package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
- package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
- package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
- package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
- package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
- package/chunks/GridDND-BAHGzR5e.cjs +1 -0
- package/chunks/GridDND-rY1o5ItA.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-BQyYeGQG.cjs +1 -0
- package/chunks/ListOfFilters-DRrawM8s.mjs +260 -0
- package/chunks/MassActions-ByZr-Wjd.mjs +966 -0
- package/chunks/MassActions-CxF6wvlS.cjs +1 -0
- package/chunks/PageTitle-BLBN06Xe.mjs +123 -0
- package/chunks/PageTitle-j-pmmoZ9.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories-CO4lXbo6.cjs +1 -0
- package/chunks/Stories-COpgkk_M.mjs +673 -0
- package/chunks/Table-JFzBB9zK.cjs +31 -0
- package/chunks/Table-XpsCe-vS.mjs +7757 -0
- package/chunks/TableCanvas-AwmzU0Jc.cjs +30 -0
- package/chunks/TableCanvas-BnwR-C1X.mjs +11870 -0
- package/chunks/TableGlide-BAH73oGi.cjs +1 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-o9aqEk4d.mjs} +2263 -2342
- package/chunks/styles-Dd4uEa27.mjs +128 -0
- package/chunks/styles-kPI9R7DO.cjs +2 -0
- package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
- package/chunks/utils-DKi1rqLX.cjs +25 -0
- package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
- package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
- package/components/AiAgentPopover/index.cjs +2 -2
- package/components/AiAgentPopover/index.mjs +248 -373
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/AnalyticalWidgetChipsGroup.styled.d.ts +7 -0
- 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/Autocomplete/index.cjs +1 -1
- package/components/Autocomplete/index.mjs +22 -35
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +33 -83
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +41 -53
- 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/Box/index.mjs +17 -7
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +41 -62
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DatePicker/index.cjs +1 -1
- package/components/DatePicker/index.mjs +21 -59
- package/components/DrawerDF/index.cjs +1 -1
- package/components/DrawerDF/index.mjs +144 -391
- 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 +49 -112
- package/components/IconSvgSprite/index.cjs +1 -1
- package/components/IconSvgSprite/index.mjs +13 -49
- 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/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/ListOfFilters/useSyncTabsScrollArrows.d.ts +3 -0
- 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/MassActionsStatic/index.cjs +2 -2
- package/components/MassActionsStatic/index.mjs +13 -34
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +169 -381
- package/components/ModalDFConfirmation/index.cjs +1 -1
- package/components/ModalDFConfirmation/index.mjs +66 -114
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +16 -22
- package/components/NumberFormat/index.cjs +1 -1
- package/components/NumberFormat/index.mjs +24 -37
- package/components/NumberFormatAmount/index.cjs +1 -1
- package/components/NumberFormatAmount/index.mjs +12 -27
- 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 +125 -261
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +141 -308
- 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/Stories.types.d.ts +1 -0
- 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/Stories/store/StoriesContext.d.ts +1 -0
- 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 +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-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/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/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-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 +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/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 +2 -0
- 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-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-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 +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/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/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/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/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/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -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 +1 -1
- package/components/TableCanvas/types/column-config.type.d.ts +3 -0
- package/components/TableCanvas/types/columns-grouping.type.d.ts +8 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +3 -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 +1 -1
- 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/TableContract/index.cjs +2 -2
- package/components/TableContract/index.mjs +540 -798
- 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/index.cjs +1 -1
- package/components/TableGlide/index.mjs +1 -1
- 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 +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/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/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/types.d.ts +3 -2
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +136 -305
- package/components/TextArea/index.cjs +1 -1
- package/components/TextArea/index.mjs +26 -40
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.mjs +38 -82
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +15 -15
- package/components/TourWidget/index.mjs +176 -371
- 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 +151 -363
- package/formComponents/FormAutocomplete/index.cjs +1 -1
- package/formComponents/FormAutocomplete/index.mjs +63 -68
- package/formComponents/FormCheckbox/index.cjs +1 -1
- package/formComponents/FormCheckbox/index.mjs +27 -55
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +61 -75
- package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
- package/formComponents/FormDatePickers/index.cjs +1 -1
- package/formComponents/FormDatePickers/index.mjs +1 -1
- package/formComponents/FormMask/index.cjs +1 -1
- package/formComponents/FormMask/index.mjs +61 -66
- package/formComponents/FormNumberFormat/index.cjs +1 -1
- package/formComponents/FormNumberFormat/index.mjs +56 -68
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +71 -144
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSelect/index.cjs +1 -1
- package/formComponents/FormSelect/index.mjs +62 -76
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +25 -53
- package/formComponents/FormTextArea/index.cjs +1 -1
- package/formComponents/FormTextArea/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/index.cjs +1 -1
- package/formComponents/FormTextArea/ui/index.mjs +1 -1
- package/formComponents/FormTextField/index.cjs +1 -1
- package/formComponents/FormTextField/index.mjs +70 -101
- package/index.cjs +1 -1
- package/index.mjs +21 -21
- 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 +81 -146
- 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 +5 -5
- package/layouts/Layout/index.mjs +78 -115
- package/layouts/PageLayout/index.cjs +2 -2
- package/layouts/PageLayout/index.mjs +15 -32
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +6 -6
- package/shared/ui/Search/index.cjs +1 -1
- package/shared/ui/Search/index.mjs +30 -52
- package/shared/utils/inputs/index.cjs +1 -1
- package/shared/utils/inputs/index.mjs +33 -48
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.cjs +1 -1
- package/themes/index.mjs +1 -1
- 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.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
- package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
- package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
- package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
- package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
- package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
- package/chunks/Container-ChuCs63G.cjs +0 -17
- package/chunks/Container-D8RdjkGo.mjs +0 -180
- package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
- package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
- package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
- package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
- package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
- package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
- package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
- package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
- package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
- package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
- package/chunks/GridDND-Bycwiynh.mjs +0 -1086
- package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
- package/chunks/LeftPanel-C72uosX_.mjs +0 -303
- package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
- package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
- package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
- package/chunks/MassActions-BbAXi3z9.cjs +0 -1
- package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
- package/chunks/PageTitle-DEsijnDg.cjs +0 -1
- package/chunks/PageTitle-TusD1S2c.mjs +0 -282
- package/chunks/SplitView-BHdftJ9A.cjs +0 -12
- package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
- package/chunks/Stories-CR_EUNO7.mjs +0 -1018
- package/chunks/Stories-CxsYx2OE.cjs +0 -1
- package/chunks/Table--05ONCr1.cjs +0 -31
- package/chunks/Table-l-P3NNUN.mjs +0 -11944
- package/chunks/TableCanvas-BYKPeWME.mjs +0 -16941
- package/chunks/TableCanvas-ZmjSKk64.cjs +0 -30
- package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
- package/chunks/styles-D8FDGdVz.mjs +0 -240
- package/chunks/styles-OR0WE1xm.cjs +0 -2
- package/chunks/utils-C93a2mD7.cjs +0 -25
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";const q=require("../components/IconButton/index.cjs"),a=require("@salutejs/sdds-finai"),i=require("react/jsx-runtime"),r=require("@salutejs/sdds-themes/tokens/sdds_finai"),n=require("styled-components"),h=require("./utils-DKi1rqLX.cjs"),p=require("react"),K=require("../components/Collapse/index.cjs"),D=require("@salutejs/plasma-icons"),Q=n(a.Chip).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChip"})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),Z=n(a.ChipGroup).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChipGroup"})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);"]),z=({chips:e,commonView:t="default",commonSize:d="xs",opened:s=!1,...o})=>{const y=h.useDebouncedValue(s,300,!1);return i.jsx(K.Collapse,{isOpen:y,unMountOnClose:!0,children:i.jsx(Z,{view:t,size:d,isCommonChipStyles:!1,...o,children:e.map(({key:l,view:S,...c},v)=>p.createElement(Q,{size:"xs",appearance:"transparent",...c,key:l??`${c==null?void 0:c.name}-${v}`}))})})},tt=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;}}"],()=>r.inverseTextPrimary,()=>n.css(r.bodyXS)),et=({groupLabel:e,items:t})=>i.jsxs(tt,{children:[i.jsx("span",{children:e}),i.jsx("ul",{children:t.map((d,s)=>i.jsx("li",{children:d},`${d}-${s}`))})]}),it=n.div.withConfig({displayName:"TooltipList__FullWidthWrapper"})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]),nt=({groupLabel:e,items:t,children:d,fullWidth:s,...o})=>{const y=t.length>0,l=i.jsx(a.Tooltip,{usePortal:!0,size:"s",mouseEnterDelay:500,...o,trigger:y?o.trigger??"hover":"none",text:y?i.jsx(et,{groupLabel:e,items:t}):null,opened:y?o.opened:!1,children:d});return s?i.jsx(it,{children:l}):l},at={l:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"16px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"16px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"16px",borderRadius:"16px"}},m:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"}},s:{xl:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"},lg:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"},md:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"16px",borderRadius:"16px"}}},lt={l:{topSlot:!0,middleSlot:!0},m:{topSlot:!0,middleSlot:!1},s:{topSlot:!0,middleSlot:!1}},m={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"},ot={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 $({variant:e,children:t,refTypography:d,...s}){const o=ot[e];return i.jsx(o,{...s,ref:d,children:t})}$.displayName="Typography";const L="typography-with-auto-tooltip-root";let A=!1,w=null,B=0;function G(){if(typeof document>"u")return;const e=document.getElementById(L);e&&e.querySelectorAll("[id^='plasma-popover-root']:empty").forEach(t=>t.remove())}function dt(){A||(A=!0,w=setTimeout(()=>{A=!1,w=null,G()},0))}function rt(){w&&(clearTimeout(w),w=null),A=!1}function st(){w&&(clearTimeout(w),w=null),A=!1,G()}function ct(){if(!(typeof document>"u")){if(B+=1,B===1){const e=document.createElement("div");e.id=L,document.body.appendChild(e)}return()=>{if(B-=1,B===0){const e=document.getElementById(L);e&&(e.querySelectorAll("[id^='plasma-popover-root']").length>0||e.remove())}}}}function pt(){return{schedule:dt,flush:st,cancel:rt,getContainerId:()=>L,createContainer:ct}}const ht=n(a.Tooltip).withConfig({displayName:"TypographyWithAutoTooltipstyled__StyledTooltip"})(["&.popover-target{width:100%;}"]),yt=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;}"]),gt=1,k=({tooltipText:e,tooltipProps:t,lines:d=1,className:s,children:o,...y})=>{const{mouseEnterDelay:l=500,mouseLeaveDelay:S=0,...c}=t||{},v=p.useRef(null),[T,j]=p.useState(!1),W=p.useRef(),{schedule:u,getContainerId:C,createContainer:N}=pt(),I=p.useCallback(()=>{if(!v.current)return!1;const g=v.current;if(d>1)return g.scrollHeight>g.clientHeight||g.scrollWidth>g.clientWidth;try{const x=document.createRange();x.selectNodeContents(g);const Y=x.getBoundingClientRect().width,U=g.getBoundingClientRect().width;x.detach();const J=window.devicePixelRatio||1;return(Y-U)*J>gt}catch{return!1}},[d]),R=p.useCallback(()=>{I()&&(W.current=setTimeout(()=>{j(!0)},l))},[I,l]),_=p.useCallback(()=>{clearTimeout(W.current),setTimeout(()=>{j(!1),u()},S)},[S,u]),{variant:E,bold:M,size:b,...f}=y,V={variant:E,...M!==void 0&&{bold:M},...b!==void 0&&{size:b},...f,refTypography:v,onMouseEnter:g=>{var x;(x=f.onMouseEnter)==null||x.call(f,g)},onMouseLeave:g=>{var x;(x=f.onMouseLeave)==null||x.call(f,g)},style:{...h.truncateText({lines:d}),...f.style||{}},children:o},X=i.jsx($,{...V,children:o});return p.useEffect(()=>N(),[N]),p.useEffect(()=>()=>{clearTimeout(W.current),u()},[u]),i.jsx(yt,{className:s,onMouseEnter:R,onMouseLeave:_,children:T?i.jsx(ht,{opened:T,text:e??"",target:X,frame:C(),...c}):X})},ut=()=>n.css(r.bodyMBold),F=()=>n.css(r.bodyM),mt=n.header.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeader"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-right:40px;& .popover-wrapper:has(.","){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"],m.popoverInfo),xt=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLeftSlot"})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;"]),ft=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleContainer"})(["margin:0;display:flex;flex-shrink:1;min-width:0;"]);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitle"})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';",";color:",";"],()=>ut(),()=>r.textPrimary);const wt=n(k).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),St=n(k).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;padding-bottom:4px;"]),vt=n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledAfterTitle"})(["flex-shrink:0;margin:0;margin-right:5px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';"," color:",";text-transform:uppercase;"],()=>F(),()=>r.textTertiary),Ct=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledActionsContainer"})(["display:flex;align-items:center;min-width:0;flex:1;position:relative;"]),Wt=n.div.attrs({className:m.headerActions}).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledActionsWrapper"})(["position:absolute;display:flex;left:0;top:0;transform:translateX( ","px );padding-left:","px;opacity:0;transition:opacity 0.3s ease;background:linear-gradient( to right,"," 0%,"," 15%,"," 40%,"," 100% );"],e=>e.$translateX?e.$translateX:0,e=>e.$translateX?20:0,r.surfaceClear,r.surfaceClear,r.surfaceSolidCard,r.surfaceSolidCard);n.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitle"})([""," flex-shrink:1;margin:0;min-width:0;color:",";"],()=>F(),()=>r.textSecondary);n($).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"})(["color:",";"],()=>r.textSecondary);const Tt=n(a.Link).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleLink"})(["display:flex;min-width:0;flex-shrink:1;"]);n(k).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"})(["flex-shrink:1;margin:0;min-width:0;"]);const _t=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledRightSlot"})(["align-self:start;"]),bt=n(a.IconButton).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLinkIconButton"})(["&&{width:24px;height:24px;color:",";}"],()=>r.textSecondary),O=({title:e,titleTooltipProps:t})=>i.jsx(wt,{tooltipText:e,tooltipProps:{placement:"top",...t},variant:"BodyM",bold:!0,style:{color:r.textPrimary,wordBreak:"normal"},lines:1,children:e}),P=({title:e,titleTooltipProps:t,badge:d,badgeStyles:s,subtitle:o,subtitleTooltipProps:y,infoTooltipText:l,infoTooltipProps:S,href:c,hrefProps:v,rightSlot:T,className:j,titleLinkProps:W})=>{const u=p.useRef(null),C=p.useRef(null),[N,I]=p.useState(0);return p.useLayoutEffect(()=>{const R=()=>{if(u.current&&C.current){const E=u.current.offsetWidth,b=C.current.offsetWidth-E;I(b>0?-b-4:0)}},_=h.createSafeResizeObserver(R);return u.current&&_.observe(u.current),C.current&&_.observe(C.current),R(),()=>_.disconnect()},[]),i.jsxs(mt,{className:h.mergeClasses(m.header,j),children:[i.jsxs(xt,{children:[i.jsxs(ft,{children:[e&&W?i.jsx(Tt,{underline:"none",...W,children:i.jsx(O,{title:e,titleTooltipProps:t})}):i.jsx(O,{title:e,titleTooltipProps:t}),d&&i.jsx(vt,{style:s,children:d}),i.jsx(Ct,{ref:u,children:i.jsxs(Wt,{ref:C,$translateX:N,children:[l&&i.jsx(a.Tooltip,{trigger:"hover",placement:"top",text:l,target:i.jsx(a.EmbedIconButton,{children:i.jsx(D.IconInfoCircleOutline,{size:"xs",style:{cursor:"pointer",color:r.textSecondary}})}),className:h.mergeClasses(m.popoverInfo),...S}),c&&i.jsx(a.Link,{href:c,style:{flexShrink:0},size:"xs",...v,children:i.jsx(bt,{view:"clear",size:"xs",children:i.jsx(D.IconArrowDiagRightUp,{size:"xs"})})})]})})]}),o&&i.jsx(St,{variant:"BodyXS",tooltipText:o,style:{color:r.textSecondary,wordBreak:"normal"},tooltipProps:{placement:"top",...y},lines:1,children:o})]}),T&&i.jsx(_t,{children:T})]})},At=e=>{const t=at[e];return{xl:`
|
|
2
|
+
--analytical-widget-padding: ${t.xl.padding};
|
|
3
|
+
--analytical-widget-br: ${t.xl.borderRadius};
|
|
4
|
+
--analytical-widget-min-height: ${t.xl.minHeight};
|
|
5
|
+
--analytical-widget-min-width: ${t.xl.minWidth||"unset"};
|
|
6
|
+
--analytical-widget-max-width: ${t.xl.maxWidth||"unset"};
|
|
7
|
+
|
|
8
|
+
width: ${t.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: ${t.lg.padding};
|
|
17
|
+
--analytical-widget-br: ${t.lg.borderRadius};
|
|
18
|
+
--analytical-widget-min-height: ${t.lg.minHeight};
|
|
19
|
+
--analytical-widget-min-width: ${t.lg.minWidth||"unset"};
|
|
20
|
+
--analytical-widget-max-width: ${t.lg.maxWidth||"unset"};
|
|
21
|
+
|
|
22
|
+
width: ${t.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: ${t.md.padding};
|
|
31
|
+
--analytical-widget-br: ${t.md.borderRadius};
|
|
32
|
+
--analytical-widget-min-height: ${t.md.minHeight};
|
|
33
|
+
--analytical-widget-min-width: ${t.md.minWidth||"unset"};
|
|
34
|
+
--analytical-widget-max-width: ${t.md.maxWidth||"unset"};
|
|
35
|
+
|
|
36
|
+
width: ${t.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
|
+
`}},Ht=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;}}"," ",""],r.surfaceSolidCard,m.headerActions,({$size:e})=>{const t=At(e);return n.css([""," "," "," "],h.media.exact(0,1439)(t.md),h.media.exact(1440,1919)(t.lg),h.media.exact(1920,1e5)(t.xl))},({$css:e})=>e),jt=n(a.BodyM).withConfig({displayName:"AnalyticalWidgetstyled__StyledTopSlot"})(["overflow:hidden;"]),Nt=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledMiddleSlot"})(["overflow:hidden;padding-top:4px;"]),It=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledContent"})(["position:relative;flex:1;min-height:30px;margin-top:4px;overflow-y:",";"],({scrollable:e})=>e?"auto":"visible"),H=({size:e="l",scrollable:t=!0,headerSlot:d,topSlot:s,middleSlot:o,contentSlot:y,classes:l,$css:S})=>{const c=lt[e];return i.jsxs(Ht,{$size:e,$css:S,className:h.mergeClasses(m.root,l==null?void 0:l.root),children:[i.jsx("div",{style:{minHeight:"32px"},children:d}),c.topSlot&&s||c.middleSlot&&o?i.jsxs("div",{children:[c.topSlot&&s&&i.jsx(jt,{className:h.mergeClasses(m.topSlot,l==null?void 0:l.topSlot),children:s}),c.middleSlot&&o&&i.jsx(Nt,{className:h.mergeClasses(m.middleSlot,l==null?void 0:l.middleSlot),children:o})]}):null,i.jsx(It,{scrollable:t,className:h.mergeClasses(m.contentSlot,l==null?void 0:l.contentSlot),children:y})]})};H.Header=P;H.FilterIconButton=q.IconButtonFilter;H.DotsIconButton=q.IconButtonDots;H.Chips=z;exports.AnalyticalWidget=H;exports.AnalyticalWidgetChipsGroup=z;exports.AnalyticalWidgetHeader=P;exports.TooltipList=nt;exports.Typography=$;exports.TypographyWithAutoTooltip=k;exports.analyticalWidgetClassNames=m;
|
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
import { IconButtonFilter as at, IconButtonDots as lt } from "../components/IconButton/index.mjs";
|
|
2
|
+
import { ChipGroup as ot, Chip as dt, Tooltip as z, TextXS as rt, TextS as st, TextM as pt, TextL as ct, H5 as ht, H4 as yt, H3 as gt, H2 as mt, H1 as ut, DsplS as xt, DsplM as ft, DsplL as wt, BodyXXS as St, BodyXS as vt, BodyS as Wt, BodyM as q, BodyL as Ct, Link as U, IconButton as _t, EmbedIconButton as Tt } from "@salutejs/sdds-finai";
|
|
3
|
+
import { jsx as i, jsxs as w } from "react/jsx-runtime";
|
|
4
|
+
import { inverseTextPrimary as bt, bodyXS as At, textTertiary as Ht, surfaceClear as Y, surfaceSolidCard as X, textSecondary as b, bodyM as Nt, textPrimary as J, bodyMBold as It } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
|
+
import n, { css as B } from "styled-components";
|
|
6
|
+
import { u as Rt, a as $t, c as Lt, m as v, b as D } from "./utils-C5SQhoON.mjs";
|
|
7
|
+
import { createElement as Bt, useRef as $, useState as K, useCallback as O, useEffect as P, useLayoutEffect as Et } from "react";
|
|
8
|
+
import { Collapse as kt } from "../components/Collapse/index.mjs";
|
|
9
|
+
import { IconInfoCircleOutline as Mt, IconArrowDiagRightUp as Dt } from "@salutejs/plasma-icons";
|
|
10
|
+
const Ot = n(dt).withConfig({
|
|
11
|
+
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChip"
|
|
12
|
+
})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), Xt = n(ot).withConfig({
|
|
13
|
+
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChipGroup"
|
|
14
|
+
})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);"]), zt = ({
|
|
15
|
+
chips: e,
|
|
16
|
+
commonView: t = "default",
|
|
17
|
+
commonSize: o = "xs",
|
|
18
|
+
opened: d = !1,
|
|
19
|
+
...l
|
|
20
|
+
}) => {
|
|
21
|
+
const s = Rt(d, 300, !1);
|
|
22
|
+
return /* @__PURE__ */ i(kt, { isOpen: s, unMountOnClose: !0, children: /* @__PURE__ */ i(Xt, { view: t, size: o, isCommonChipStyles: !1, ...l, children: e.map(({
|
|
23
|
+
key: a,
|
|
24
|
+
view: u,
|
|
25
|
+
...r
|
|
26
|
+
}, x) => /* @__PURE__ */ Bt(Ot, { size: "xs", appearance: "transparent", ...r, key: a ?? `${r == null ? void 0 : r.name}-${x}` })) }) });
|
|
27
|
+
}, Gt = n.div.withConfig({
|
|
28
|
+
displayName: "TooltipList__StyledTooltipContent"
|
|
29
|
+
})(["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;}}"], () => bt, () => B(At)), Ft = ({
|
|
30
|
+
groupLabel: e,
|
|
31
|
+
items: t
|
|
32
|
+
}) => /* @__PURE__ */ w(Gt, { children: [
|
|
33
|
+
/* @__PURE__ */ i("span", { children: e }),
|
|
34
|
+
/* @__PURE__ */ i("ul", { children: t.map((o, d) => (
|
|
35
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
36
|
+
/* @__PURE__ */ i("li", { children: o }, `${o}-${d}`)
|
|
37
|
+
)) })
|
|
38
|
+
] }), Vt = n.div.withConfig({
|
|
39
|
+
displayName: "TooltipList__FullWidthWrapper"
|
|
40
|
+
})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]), Ne = ({
|
|
41
|
+
groupLabel: e,
|
|
42
|
+
items: t,
|
|
43
|
+
children: o,
|
|
44
|
+
fullWidth: d,
|
|
45
|
+
...l
|
|
46
|
+
}) => {
|
|
47
|
+
const s = t.length > 0, a = /* @__PURE__ */ i(
|
|
48
|
+
z,
|
|
49
|
+
{
|
|
50
|
+
usePortal: !0,
|
|
51
|
+
size: "s",
|
|
52
|
+
mouseEnterDelay: 500,
|
|
53
|
+
...l,
|
|
54
|
+
trigger: s ? l.trigger ?? "hover" : "none",
|
|
55
|
+
text: s ? /* @__PURE__ */ i(Ft, { groupLabel: e, items: t }) : null,
|
|
56
|
+
opened: s ? l.opened : !1,
|
|
57
|
+
children: o
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
return d ? /* @__PURE__ */ i(Vt, { children: a }) : a;
|
|
61
|
+
}, Yt = {
|
|
62
|
+
l: {
|
|
63
|
+
xl: {
|
|
64
|
+
minWidth: "448px",
|
|
65
|
+
maxWidth: "unset",
|
|
66
|
+
// 608
|
|
67
|
+
width: "100%",
|
|
68
|
+
minHeight: "512px",
|
|
69
|
+
padding: "16px",
|
|
70
|
+
borderRadius: "16px"
|
|
71
|
+
},
|
|
72
|
+
lg: {
|
|
73
|
+
minWidth: "448px",
|
|
74
|
+
maxWidth: "unset",
|
|
75
|
+
// 608
|
|
76
|
+
width: "100%",
|
|
77
|
+
minHeight: "512px",
|
|
78
|
+
// 432px
|
|
79
|
+
padding: "16px",
|
|
80
|
+
borderRadius: "16px"
|
|
81
|
+
},
|
|
82
|
+
md: {
|
|
83
|
+
minWidth: "448px",
|
|
84
|
+
maxWidth: "unset",
|
|
85
|
+
// 608
|
|
86
|
+
width: "100%",
|
|
87
|
+
minHeight: "512px",
|
|
88
|
+
// 344px
|
|
89
|
+
padding: "16px",
|
|
90
|
+
borderRadius: "16px"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
m: {
|
|
94
|
+
xl: {
|
|
95
|
+
minWidth: "448px",
|
|
96
|
+
maxWidth: "unset",
|
|
97
|
+
// 608
|
|
98
|
+
width: "100%",
|
|
99
|
+
minHeight: "248px",
|
|
100
|
+
padding: "16px",
|
|
101
|
+
borderRadius: "16px"
|
|
102
|
+
},
|
|
103
|
+
lg: {
|
|
104
|
+
minWidth: "448px",
|
|
105
|
+
maxWidth: "unset",
|
|
106
|
+
// 608
|
|
107
|
+
width: "100%",
|
|
108
|
+
minHeight: "248px",
|
|
109
|
+
// 208px
|
|
110
|
+
padding: "16px",
|
|
111
|
+
borderRadius: "16px"
|
|
112
|
+
},
|
|
113
|
+
md: {
|
|
114
|
+
minWidth: "448px",
|
|
115
|
+
maxWidth: "unset",
|
|
116
|
+
// 608
|
|
117
|
+
width: "100%",
|
|
118
|
+
minHeight: "248px",
|
|
119
|
+
// 172px
|
|
120
|
+
padding: "16px",
|
|
121
|
+
borderRadius: "16px"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
s: {
|
|
125
|
+
xl: {
|
|
126
|
+
minWidth: "216px",
|
|
127
|
+
maxWidth: "unset",
|
|
128
|
+
// 296px
|
|
129
|
+
width: "100%",
|
|
130
|
+
minHeight: "248px",
|
|
131
|
+
padding: "16px",
|
|
132
|
+
borderRadius: "16px"
|
|
133
|
+
},
|
|
134
|
+
lg: {
|
|
135
|
+
minWidth: "216px",
|
|
136
|
+
maxWidth: "unset",
|
|
137
|
+
// 296px
|
|
138
|
+
width: "100%",
|
|
139
|
+
minHeight: "248px",
|
|
140
|
+
// 208px
|
|
141
|
+
padding: "16px",
|
|
142
|
+
borderRadius: "16px"
|
|
143
|
+
},
|
|
144
|
+
md: {
|
|
145
|
+
minWidth: "216px",
|
|
146
|
+
maxWidth: "unset",
|
|
147
|
+
// 296px
|
|
148
|
+
width: "100%",
|
|
149
|
+
minHeight: "248px",
|
|
150
|
+
// 172px
|
|
151
|
+
padding: "16px",
|
|
152
|
+
borderRadius: "16px"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}, Pt = {
|
|
156
|
+
l: {
|
|
157
|
+
topSlot: !0,
|
|
158
|
+
// Filters + chips
|
|
159
|
+
middleSlot: !0
|
|
160
|
+
// Tabs
|
|
161
|
+
},
|
|
162
|
+
m: {
|
|
163
|
+
topSlot: !0,
|
|
164
|
+
// Filters + chips
|
|
165
|
+
middleSlot: !1
|
|
166
|
+
// Tabs
|
|
167
|
+
},
|
|
168
|
+
s: {
|
|
169
|
+
topSlot: !0,
|
|
170
|
+
// Filters + chips
|
|
171
|
+
middleSlot: !1
|
|
172
|
+
// Tabs
|
|
173
|
+
}
|
|
174
|
+
}, y = {
|
|
175
|
+
root: "analytical-widget",
|
|
176
|
+
header: "analytical-widget__header",
|
|
177
|
+
popoverInfo: "analytical-widget__popover-info",
|
|
178
|
+
topSlot: "analytical-widget__top-slot",
|
|
179
|
+
middleSlot: "analytical-widget__middle-slot",
|
|
180
|
+
contentSlot: "analytical-widget__content",
|
|
181
|
+
headerActions: "analytical-widget__header-actions"
|
|
182
|
+
}, jt = {
|
|
183
|
+
BodyL: Ct,
|
|
184
|
+
BodyM: q,
|
|
185
|
+
BodyS: Wt,
|
|
186
|
+
BodyXS: vt,
|
|
187
|
+
BodyXXS: St,
|
|
188
|
+
DsplL: wt,
|
|
189
|
+
DsplM: ft,
|
|
190
|
+
DsplS: xt,
|
|
191
|
+
H1: ut,
|
|
192
|
+
H2: mt,
|
|
193
|
+
H3: gt,
|
|
194
|
+
H4: yt,
|
|
195
|
+
H5: ht,
|
|
196
|
+
TextL: ct,
|
|
197
|
+
TextM: pt,
|
|
198
|
+
TextS: st,
|
|
199
|
+
TextXS: rt
|
|
200
|
+
};
|
|
201
|
+
function G({
|
|
202
|
+
variant: e,
|
|
203
|
+
children: t,
|
|
204
|
+
refTypography: o,
|
|
205
|
+
...d
|
|
206
|
+
}) {
|
|
207
|
+
const l = jt[e];
|
|
208
|
+
return /* @__PURE__ */ i(l, { ...d, ref: o, children: t });
|
|
209
|
+
}
|
|
210
|
+
G.displayName = "Typography";
|
|
211
|
+
const L = "typography-with-auto-tooltip-root";
|
|
212
|
+
let T = !1, m = null, R = 0;
|
|
213
|
+
function Q() {
|
|
214
|
+
if (typeof document > "u")
|
|
215
|
+
return;
|
|
216
|
+
const e = document.getElementById(L);
|
|
217
|
+
e && e.querySelectorAll("[id^='plasma-popover-root']:empty").forEach((t) => t.remove());
|
|
218
|
+
}
|
|
219
|
+
function qt() {
|
|
220
|
+
T || (T = !0, m = setTimeout(() => {
|
|
221
|
+
T = !1, m = null, Q();
|
|
222
|
+
}, 0));
|
|
223
|
+
}
|
|
224
|
+
function Ut() {
|
|
225
|
+
m && (clearTimeout(m), m = null), T = !1;
|
|
226
|
+
}
|
|
227
|
+
function Jt() {
|
|
228
|
+
m && (clearTimeout(m), m = null), T = !1, Q();
|
|
229
|
+
}
|
|
230
|
+
function Kt() {
|
|
231
|
+
if (!(typeof document > "u")) {
|
|
232
|
+
if (R += 1, R === 1) {
|
|
233
|
+
const e = document.createElement("div");
|
|
234
|
+
e.id = L, document.body.appendChild(e);
|
|
235
|
+
}
|
|
236
|
+
return () => {
|
|
237
|
+
if (R -= 1, R === 0) {
|
|
238
|
+
const e = document.getElementById(L);
|
|
239
|
+
e && (e.querySelectorAll("[id^='plasma-popover-root']").length > 0 || e.remove());
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
function Qt() {
|
|
245
|
+
return {
|
|
246
|
+
schedule: qt,
|
|
247
|
+
flush: Jt,
|
|
248
|
+
cancel: Ut,
|
|
249
|
+
getContainerId: () => L,
|
|
250
|
+
createContainer: Kt
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
const Zt = n(z).withConfig({
|
|
254
|
+
displayName: "TypographyWithAutoTooltipstyled__StyledTooltip"
|
|
255
|
+
})(["&.popover-target{width:100%;}"]), te = n.div.withConfig({
|
|
256
|
+
displayName: "TypographyWithAutoTooltipstyled__StyleTooltipWrapper"
|
|
257
|
+
})(["display:flex;align-items:center;min-width:0;& .popover-target{width:100%;}& .popover-wrapper{overflow:hidden;width:100%;display:flex;}"]), ee = 1, F = ({
|
|
258
|
+
tooltipText: e,
|
|
259
|
+
tooltipProps: t,
|
|
260
|
+
lines: o = 1,
|
|
261
|
+
className: d,
|
|
262
|
+
children: l,
|
|
263
|
+
...s
|
|
264
|
+
}) => {
|
|
265
|
+
const {
|
|
266
|
+
mouseEnterDelay: a = 500,
|
|
267
|
+
mouseLeaveDelay: u = 0,
|
|
268
|
+
...r
|
|
269
|
+
} = t || {}, x = $(null), [W, A] = K(!1), S = $(), {
|
|
270
|
+
schedule: c,
|
|
271
|
+
getContainerId: f,
|
|
272
|
+
createContainer: H
|
|
273
|
+
} = Qt(), N = O(() => {
|
|
274
|
+
if (!x.current)
|
|
275
|
+
return !1;
|
|
276
|
+
const p = x.current;
|
|
277
|
+
if (o > 1)
|
|
278
|
+
return p.scrollHeight > p.clientHeight || p.scrollWidth > p.clientWidth;
|
|
279
|
+
try {
|
|
280
|
+
const h = document.createRange();
|
|
281
|
+
h.selectNodeContents(p);
|
|
282
|
+
const et = h.getBoundingClientRect().width, it = p.getBoundingClientRect().width;
|
|
283
|
+
h.detach();
|
|
284
|
+
const nt = window.devicePixelRatio || 1;
|
|
285
|
+
return (et - it) * nt > ee;
|
|
286
|
+
} catch {
|
|
287
|
+
return !1;
|
|
288
|
+
}
|
|
289
|
+
}, [o]), I = O(() => {
|
|
290
|
+
N() && (S.current = setTimeout(() => {
|
|
291
|
+
A(!0);
|
|
292
|
+
}, a));
|
|
293
|
+
}, [N, a]), C = O(() => {
|
|
294
|
+
clearTimeout(S.current), setTimeout(() => {
|
|
295
|
+
A(!1), c();
|
|
296
|
+
}, u);
|
|
297
|
+
}, [u, c]), {
|
|
298
|
+
variant: k,
|
|
299
|
+
bold: M,
|
|
300
|
+
size: _,
|
|
301
|
+
...g
|
|
302
|
+
} = s, tt = {
|
|
303
|
+
variant: k,
|
|
304
|
+
...M !== void 0 && {
|
|
305
|
+
bold: M
|
|
306
|
+
},
|
|
307
|
+
..._ !== void 0 && {
|
|
308
|
+
size: _
|
|
309
|
+
},
|
|
310
|
+
...g,
|
|
311
|
+
refTypography: x,
|
|
312
|
+
onMouseEnter: (p) => {
|
|
313
|
+
var h;
|
|
314
|
+
(h = g.onMouseEnter) == null || h.call(g, p);
|
|
315
|
+
},
|
|
316
|
+
onMouseLeave: (p) => {
|
|
317
|
+
var h;
|
|
318
|
+
(h = g.onMouseLeave) == null || h.call(g, p);
|
|
319
|
+
},
|
|
320
|
+
style: {
|
|
321
|
+
...$t({
|
|
322
|
+
lines: o
|
|
323
|
+
}),
|
|
324
|
+
...g.style || {}
|
|
325
|
+
},
|
|
326
|
+
children: l
|
|
327
|
+
}, V = /* @__PURE__ */ i(G, { ...tt, children: l });
|
|
328
|
+
return P(() => H(), [H]), P(() => () => {
|
|
329
|
+
clearTimeout(S.current), c();
|
|
330
|
+
}, [c]), /* @__PURE__ */ i(te, { className: d, onMouseEnter: I, onMouseLeave: C, children: W ? /* @__PURE__ */ i(Zt, { opened: W, text: e ?? "", target: V, frame: f(), ...r }) : V });
|
|
331
|
+
}, ie = () => B(It), Z = () => B(Nt), ne = n.header.withConfig({
|
|
332
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledHeader"
|
|
333
|
+
})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-right:40px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], y.popoverInfo), ae = n.div.withConfig({
|
|
334
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledLeftSlot"
|
|
335
|
+
})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;"]), le = n.div.withConfig({
|
|
336
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleContainer"
|
|
337
|
+
})(["margin:0;display:flex;flex-shrink:1;min-width:0;"]);
|
|
338
|
+
n.p.withConfig({
|
|
339
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitle"
|
|
340
|
+
})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => ie(), () => J);
|
|
341
|
+
const oe = n(F).withConfig({
|
|
342
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
|
|
343
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), de = n(F).withConfig({
|
|
344
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"
|
|
345
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;padding-bottom:4px;"]), re = n.p.withConfig({
|
|
346
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledAfterTitle"
|
|
347
|
+
})(["flex-shrink:0;margin:0;margin-right:5px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () => Z(), () => Ht), se = n.div.withConfig({
|
|
348
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledActionsContainer"
|
|
349
|
+
})(["display:flex;align-items:center;min-width:0;flex:1;position:relative;"]), pe = n.div.attrs({
|
|
350
|
+
className: y.headerActions
|
|
351
|
+
}).withConfig({
|
|
352
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledActionsWrapper"
|
|
353
|
+
})(["position:absolute;display:flex;left:0;top:0;transform:translateX( ", "px );padding-left:", "px;opacity:0;transition:opacity 0.3s ease;background:linear-gradient( to right,", " 0%,", " 15%,", " 40%,", " 100% );"], (e) => e.$translateX ? e.$translateX : 0, (e) => e.$translateX ? 20 : 0, Y, Y, X, X);
|
|
354
|
+
n.p.withConfig({
|
|
355
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitle"
|
|
356
|
+
})(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => Z(), () => b);
|
|
357
|
+
n(G).withConfig({
|
|
358
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"
|
|
359
|
+
})(["color:", ";"], () => b);
|
|
360
|
+
const ce = n(U).withConfig({
|
|
361
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleLink"
|
|
362
|
+
})(["display:flex;min-width:0;flex-shrink:1;"]);
|
|
363
|
+
n(F).withConfig({
|
|
364
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"
|
|
365
|
+
})(["flex-shrink:1;margin:0;min-width:0;"]);
|
|
366
|
+
const he = n.div.withConfig({
|
|
367
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
|
|
368
|
+
})(["align-self:start;"]), ye = n(_t).withConfig({
|
|
369
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledLinkIconButton"
|
|
370
|
+
})(["&&{width:24px;height:24px;color:", ";}"], () => b), j = ({
|
|
371
|
+
title: e,
|
|
372
|
+
titleTooltipProps: t
|
|
373
|
+
}) => /* @__PURE__ */ i(oe, { tooltipText: e, tooltipProps: {
|
|
374
|
+
placement: "top",
|
|
375
|
+
...t
|
|
376
|
+
}, variant: "BodyM", bold: !0, style: {
|
|
377
|
+
color: J,
|
|
378
|
+
wordBreak: "normal"
|
|
379
|
+
}, lines: 1, children: e }), ge = ({
|
|
380
|
+
title: e,
|
|
381
|
+
titleTooltipProps: t,
|
|
382
|
+
badge: o,
|
|
383
|
+
badgeStyles: d,
|
|
384
|
+
subtitle: l,
|
|
385
|
+
subtitleTooltipProps: s,
|
|
386
|
+
infoTooltipText: a,
|
|
387
|
+
infoTooltipProps: u,
|
|
388
|
+
href: r,
|
|
389
|
+
hrefProps: x,
|
|
390
|
+
rightSlot: W,
|
|
391
|
+
className: A,
|
|
392
|
+
titleLinkProps: S
|
|
393
|
+
}) => {
|
|
394
|
+
const c = $(null), f = $(null), [H, N] = K(0);
|
|
395
|
+
return Et(() => {
|
|
396
|
+
const I = () => {
|
|
397
|
+
if (c.current && f.current) {
|
|
398
|
+
const k = c.current.offsetWidth, _ = f.current.offsetWidth - k;
|
|
399
|
+
N(_ > 0 ? -_ - 4 : 0);
|
|
400
|
+
}
|
|
401
|
+
}, C = Lt(I);
|
|
402
|
+
return c.current && C.observe(c.current), f.current && C.observe(f.current), I(), () => C.disconnect();
|
|
403
|
+
}, []), /* @__PURE__ */ w(ne, { className: v(y.header, A), children: [
|
|
404
|
+
/* @__PURE__ */ w(ae, { children: [
|
|
405
|
+
/* @__PURE__ */ w(le, { children: [
|
|
406
|
+
e && S ? /* @__PURE__ */ i(ce, { underline: "none", ...S, children: /* @__PURE__ */ i(j, { title: e, titleTooltipProps: t }) }) : /* @__PURE__ */ i(j, { title: e, titleTooltipProps: t }),
|
|
407
|
+
o && /* @__PURE__ */ i(re, { style: d, children: o }),
|
|
408
|
+
/* @__PURE__ */ i(se, { ref: c, children: /* @__PURE__ */ w(pe, { ref: f, $translateX: H, children: [
|
|
409
|
+
a && /* @__PURE__ */ i(z, { trigger: "hover", placement: "top", text: a, target: /* @__PURE__ */ i(Tt, { children: /* @__PURE__ */ i(Mt, { size: "xs", style: {
|
|
410
|
+
cursor: "pointer",
|
|
411
|
+
color: b
|
|
412
|
+
} }) }), className: v(y.popoverInfo), ...u }),
|
|
413
|
+
r && /* @__PURE__ */ i(U, { href: r, style: {
|
|
414
|
+
flexShrink: 0
|
|
415
|
+
}, size: "xs", ...x, children: /* @__PURE__ */ i(ye, { view: "clear", size: "xs", children: /* @__PURE__ */ i(Dt, { size: "xs" }) }) })
|
|
416
|
+
] }) })
|
|
417
|
+
] }),
|
|
418
|
+
l && /* @__PURE__ */ i(de, { variant: "BodyXS", tooltipText: l, style: {
|
|
419
|
+
color: b,
|
|
420
|
+
wordBreak: "normal"
|
|
421
|
+
}, tooltipProps: {
|
|
422
|
+
placement: "top",
|
|
423
|
+
...s
|
|
424
|
+
}, lines: 1, children: l })
|
|
425
|
+
] }),
|
|
426
|
+
W && /* @__PURE__ */ i(he, { children: W })
|
|
427
|
+
] });
|
|
428
|
+
}, me = (e) => {
|
|
429
|
+
const t = Yt[e];
|
|
430
|
+
return {
|
|
431
|
+
xl: `
|
|
432
|
+
--analytical-widget-padding: ${t.xl.padding};
|
|
433
|
+
--analytical-widget-br: ${t.xl.borderRadius};
|
|
434
|
+
--analytical-widget-min-height: ${t.xl.minHeight};
|
|
435
|
+
--analytical-widget-min-width: ${t.xl.minWidth || "unset"};
|
|
436
|
+
--analytical-widget-max-width: ${t.xl.maxWidth || "unset"};
|
|
437
|
+
|
|
438
|
+
width: ${t.xl.width};
|
|
439
|
+
min-height: var(--analytical-widget-min-height);
|
|
440
|
+
height: 100%;
|
|
441
|
+
min-width: var(--analytical-widget-min-width);
|
|
442
|
+
max-width: var(--analytical-widget-max-width);
|
|
443
|
+
padding: var(--analytical-widget-padding);
|
|
444
|
+
border-radius: var(--analytical-widget-br);
|
|
445
|
+
`,
|
|
446
|
+
lg: `
|
|
447
|
+
--analytical-widget-padding: ${t.lg.padding};
|
|
448
|
+
--analytical-widget-br: ${t.lg.borderRadius};
|
|
449
|
+
--analytical-widget-min-height: ${t.lg.minHeight};
|
|
450
|
+
--analytical-widget-min-width: ${t.lg.minWidth || "unset"};
|
|
451
|
+
--analytical-widget-max-width: ${t.lg.maxWidth || "unset"};
|
|
452
|
+
|
|
453
|
+
width: ${t.lg.width};
|
|
454
|
+
min-height: var(--analytical-widget-min-height);
|
|
455
|
+
height: 100%;
|
|
456
|
+
min-width: var(--analytical-widget-min-width);
|
|
457
|
+
max-width: var(--analytical-widget-max-width);
|
|
458
|
+
padding: var(--analytical-widget-padding);
|
|
459
|
+
border-radius: var(--analytical-widget-br);
|
|
460
|
+
`,
|
|
461
|
+
md: `
|
|
462
|
+
--analytical-widget-padding: ${t.md.padding};
|
|
463
|
+
--analytical-widget-br: ${t.md.borderRadius};
|
|
464
|
+
--analytical-widget-min-height: ${t.md.minHeight};
|
|
465
|
+
--analytical-widget-min-width: ${t.md.minWidth || "unset"};
|
|
466
|
+
--analytical-widget-max-width: ${t.md.maxWidth || "unset"};
|
|
467
|
+
|
|
468
|
+
width: ${t.md.width};
|
|
469
|
+
min-height: var(--analytical-widget-min-height);
|
|
470
|
+
height: 100%;
|
|
471
|
+
min-width: var(--analytical-widget-min-width);
|
|
472
|
+
max-width: var(--analytical-widget-max-width);
|
|
473
|
+
padding: var(--analytical-widget-padding);
|
|
474
|
+
border-radius: var(--analytical-widget-br);
|
|
475
|
+
`
|
|
476
|
+
};
|
|
477
|
+
}, ue = n.article.withConfig({
|
|
478
|
+
displayName: "AnalyticalWidgetstyled__StyledWidget"
|
|
479
|
+
})(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""], X, y.headerActions, ({
|
|
480
|
+
$size: e
|
|
481
|
+
}) => {
|
|
482
|
+
const t = me(e);
|
|
483
|
+
return B(["", " ", " ", " "], D.exact(0, 1439)(t.md), D.exact(1440, 1919)(t.lg), D.exact(1920, 1e5)(t.xl));
|
|
484
|
+
}, ({
|
|
485
|
+
$css: e
|
|
486
|
+
}) => e), xe = n(q).withConfig({
|
|
487
|
+
displayName: "AnalyticalWidgetstyled__StyledTopSlot"
|
|
488
|
+
})(["overflow:hidden;"]), fe = n.div.withConfig({
|
|
489
|
+
displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
|
|
490
|
+
})(["overflow:hidden;padding-top:4px;"]), we = n.div.withConfig({
|
|
491
|
+
displayName: "AnalyticalWidgetstyled__StyledContent"
|
|
492
|
+
})(["position:relative;flex:1;min-height:30px;margin-top:4px;overflow-y:", ";"], ({
|
|
493
|
+
scrollable: e
|
|
494
|
+
}) => e ? "auto" : "visible"), E = ({
|
|
495
|
+
size: e = "l",
|
|
496
|
+
scrollable: t = !0,
|
|
497
|
+
headerSlot: o,
|
|
498
|
+
topSlot: d,
|
|
499
|
+
middleSlot: l,
|
|
500
|
+
contentSlot: s,
|
|
501
|
+
classes: a,
|
|
502
|
+
$css: u
|
|
503
|
+
}) => {
|
|
504
|
+
const r = Pt[e];
|
|
505
|
+
return /* @__PURE__ */ w(ue, { $size: e, $css: u, className: v(y.root, a == null ? void 0 : a.root), children: [
|
|
506
|
+
/* @__PURE__ */ i("div", { style: {
|
|
507
|
+
minHeight: "32px"
|
|
508
|
+
}, children: o }),
|
|
509
|
+
r.topSlot && d || r.middleSlot && l ? /* @__PURE__ */ w("div", { children: [
|
|
510
|
+
r.topSlot && d && /* @__PURE__ */ i(xe, { className: v(y.topSlot, a == null ? void 0 : a.topSlot), children: d }),
|
|
511
|
+
r.middleSlot && l && /* @__PURE__ */ i(fe, { className: v(y.middleSlot, a == null ? void 0 : a.middleSlot), children: l })
|
|
512
|
+
] }) : null,
|
|
513
|
+
/* @__PURE__ */ i(we, { scrollable: t, className: v(y.contentSlot, a == null ? void 0 : a.contentSlot), children: s })
|
|
514
|
+
] });
|
|
515
|
+
};
|
|
516
|
+
E.Header = ge;
|
|
517
|
+
E.FilterIconButton = at;
|
|
518
|
+
E.DotsIconButton = lt;
|
|
519
|
+
E.Chips = zt;
|
|
520
|
+
export {
|
|
521
|
+
E as A,
|
|
522
|
+
G as T,
|
|
523
|
+
F as a,
|
|
524
|
+
y as b,
|
|
525
|
+
Ne as c,
|
|
526
|
+
zt as d,
|
|
527
|
+
ge as e
|
|
528
|
+
};
|