@daisforge/ui 1.12.1 → 1.12.2
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-CBi-2MtJ.mjs +528 -0
- package/chunks/AnalyticalWidget-fBDe37Ur.cjs +43 -0
- package/chunks/ApprovalCenter-ClCoA3cr.mjs +176 -0
- package/chunks/ApprovalCenter-oACSjXxE.cjs +1 -0
- package/chunks/BlockTitle-CylSY2DM.cjs +1 -0
- package/chunks/BlockTitle-DTaIqiFF.mjs +85 -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-C3yWFtQT.mjs +429 -0
- package/chunks/FiltersActions-D1aQXh5d.cjs +1 -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-BP_H26We.cjs +1 -0
- package/chunks/GridDND-rVSi0xX1.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-DgInAZFi.cjs +1 -0
- package/chunks/ListOfFilters-IEPKSKxx.mjs +243 -0
- package/chunks/MassActions-BCgI08G9.cjs +1 -0
- package/chunks/MassActions-D4nb1_gx.mjs +966 -0
- package/chunks/PageTitle-B0tuR3fU.mjs +123 -0
- package/chunks/PageTitle-BC0PnHgQ.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories--_pE4YtR.mjs +668 -0
- package/chunks/Stories-Dvh6rMeV.cjs +1 -0
- package/chunks/Table-Bj2se1hR.mjs +7757 -0
- package/chunks/Table-CnWVNNoW.cjs +31 -0
- package/chunks/TableCanvas-Y53zQ7M0.mjs +11857 -0
- package/chunks/TableCanvas-eYhmqTbp.cjs +30 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-CuBMIM6Q.mjs} +1417 -1554
- package/chunks/TableGlide-CvMz7x7a.cjs +1 -0
- 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/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/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/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +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/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-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/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- 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/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/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 +1 -1
- 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,528 @@
|
|
|
1
|
+
import { IconButtonFilter as nt, IconButtonDots as at } from "../components/IconButton/index.mjs";
|
|
2
|
+
import { ChipGroup as lt, Chip as ot, Tooltip as O, TextXS as dt, TextS as rt, TextM as st, TextL as pt, H5 as ct, H4 as ht, H3 as yt, H2 as gt, H1 as mt, DsplS as ut, DsplM as xt, DsplL as ft, BodyXXS as wt, BodyXS as St, BodyS as vt, BodyM as P, BodyL as Wt, Link as U, IconButton as Ct, EmbedIconButton as Tt } from "@salutejs/sdds-finai";
|
|
3
|
+
import { jsx as i, jsxs as w } from "react/jsx-runtime";
|
|
4
|
+
import { inverseTextPrimary as _t, bodyXS as bt, textTertiary as At, surfaceClear as j, surfaceSolidCard as z, textSecondary as b, bodyM as Ht, textPrimary as J, bodyMBold as Nt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
|
+
import n, { css as L } from "styled-components";
|
|
6
|
+
import { u as It, a as $t, c as Rt, m as v, b as X } from "./utils-C5SQhoON.mjs";
|
|
7
|
+
import { createElement as Bt, useRef as R, useState as K, useCallback as D, useEffect as V, useLayoutEffect as Lt } from "react";
|
|
8
|
+
import { Collapse as kt } from "../components/Collapse/index.mjs";
|
|
9
|
+
import { IconInfoCircleOutline as Et, IconArrowDiagRightUp as Mt } from "@salutejs/plasma-icons";
|
|
10
|
+
const Xt = n(ot).withConfig({
|
|
11
|
+
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChip"
|
|
12
|
+
})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), Dt = n(lt).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 p = It(d, 300, !1);
|
|
22
|
+
return /* @__PURE__ */ i(kt, { isOpen: p, unMountOnClose: !0, children: /* @__PURE__ */ i(Dt, { view: t, size: o, isCommonChipStyles: !1, ...l, children: e.map(({
|
|
23
|
+
key: a,
|
|
24
|
+
view: u,
|
|
25
|
+
...r
|
|
26
|
+
}, x) => /* @__PURE__ */ Bt(Xt, { size: "xs", appearance: "transparent", ...r, key: a ?? `${r == null ? void 0 : r.name}-${x}` })) }) });
|
|
27
|
+
}, Ot = 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;}}"], () => _t, () => L(bt)), Gt = ({
|
|
30
|
+
groupLabel: e,
|
|
31
|
+
items: t
|
|
32
|
+
}) => /* @__PURE__ */ w(Ot, { 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
|
+
] }), Ft = n.div.withConfig({
|
|
39
|
+
displayName: "TooltipList__FullWidthWrapper"
|
|
40
|
+
})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]), Ae = ({
|
|
41
|
+
groupLabel: e,
|
|
42
|
+
items: t,
|
|
43
|
+
children: o,
|
|
44
|
+
fullWidth: d,
|
|
45
|
+
...l
|
|
46
|
+
}) => {
|
|
47
|
+
const p = t.length > 0, a = /* @__PURE__ */ i(
|
|
48
|
+
O,
|
|
49
|
+
{
|
|
50
|
+
usePortal: !0,
|
|
51
|
+
size: "s",
|
|
52
|
+
mouseEnterDelay: 500,
|
|
53
|
+
...l,
|
|
54
|
+
trigger: p ? l.trigger ?? "hover" : "none",
|
|
55
|
+
text: p ? /* @__PURE__ */ i(Gt, { groupLabel: e, items: t }) : null,
|
|
56
|
+
opened: p ? l.opened : !1,
|
|
57
|
+
children: o
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
return d ? /* @__PURE__ */ i(Ft, { 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
|
+
}, jt = {
|
|
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
|
+
}, Vt = {
|
|
183
|
+
BodyL: Wt,
|
|
184
|
+
BodyM: P,
|
|
185
|
+
BodyS: vt,
|
|
186
|
+
BodyXS: St,
|
|
187
|
+
BodyXXS: wt,
|
|
188
|
+
DsplL: ft,
|
|
189
|
+
DsplM: xt,
|
|
190
|
+
DsplS: ut,
|
|
191
|
+
H1: mt,
|
|
192
|
+
H2: gt,
|
|
193
|
+
H3: yt,
|
|
194
|
+
H4: ht,
|
|
195
|
+
H5: ct,
|
|
196
|
+
TextL: pt,
|
|
197
|
+
TextM: st,
|
|
198
|
+
TextS: rt,
|
|
199
|
+
TextXS: dt
|
|
200
|
+
};
|
|
201
|
+
function G({
|
|
202
|
+
variant: e,
|
|
203
|
+
children: t,
|
|
204
|
+
refTypography: o,
|
|
205
|
+
...d
|
|
206
|
+
}) {
|
|
207
|
+
const l = Vt[e];
|
|
208
|
+
return /* @__PURE__ */ i(l, { ...d, ref: o, children: t });
|
|
209
|
+
}
|
|
210
|
+
G.displayName = "Typography";
|
|
211
|
+
const B = "typography-with-auto-tooltip-root";
|
|
212
|
+
let _ = !1, m = null, $ = 0;
|
|
213
|
+
function Q() {
|
|
214
|
+
if (typeof document > "u")
|
|
215
|
+
return;
|
|
216
|
+
const e = document.getElementById(B);
|
|
217
|
+
e && e.querySelectorAll("[id^='plasma-popover-root']:empty").forEach((t) => t.remove());
|
|
218
|
+
}
|
|
219
|
+
function qt() {
|
|
220
|
+
_ || (_ = !0, m = setTimeout(() => {
|
|
221
|
+
_ = !1, m = null, Q();
|
|
222
|
+
}, 0));
|
|
223
|
+
}
|
|
224
|
+
function Pt() {
|
|
225
|
+
m && (clearTimeout(m), m = null), _ = !1;
|
|
226
|
+
}
|
|
227
|
+
function Ut() {
|
|
228
|
+
m && (clearTimeout(m), m = null), _ = !1, Q();
|
|
229
|
+
}
|
|
230
|
+
function Jt() {
|
|
231
|
+
if (!(typeof document > "u")) {
|
|
232
|
+
if ($ += 1, $ === 1) {
|
|
233
|
+
const e = document.createElement("div");
|
|
234
|
+
e.id = B, document.body.appendChild(e);
|
|
235
|
+
}
|
|
236
|
+
return () => {
|
|
237
|
+
if ($ -= 1, $ === 0) {
|
|
238
|
+
const e = document.getElementById(B);
|
|
239
|
+
e && (e.querySelectorAll("[id^='plasma-popover-root']").length > 0 || e.remove());
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
function Kt() {
|
|
245
|
+
return {
|
|
246
|
+
schedule: qt,
|
|
247
|
+
flush: Ut,
|
|
248
|
+
cancel: Pt,
|
|
249
|
+
getContainerId: () => B,
|
|
250
|
+
createContainer: Jt
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
const Qt = n(O).withConfig({
|
|
254
|
+
displayName: "TypographyWithAutoTooltipstyled__StyledTooltip"
|
|
255
|
+
})(["&.popover-target{width:100%;}"]), Zt = 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;}"]), F = ({
|
|
258
|
+
tooltipText: e,
|
|
259
|
+
tooltipProps: t,
|
|
260
|
+
lines: o = 1,
|
|
261
|
+
className: d,
|
|
262
|
+
children: l,
|
|
263
|
+
...p
|
|
264
|
+
}) => {
|
|
265
|
+
const {
|
|
266
|
+
mouseEnterDelay: a = 500,
|
|
267
|
+
mouseLeaveDelay: u = 0,
|
|
268
|
+
...r
|
|
269
|
+
} = t || {}, x = R(null), [W, A] = K(!1), S = R(), {
|
|
270
|
+
schedule: c,
|
|
271
|
+
getContainerId: f,
|
|
272
|
+
createContainer: H
|
|
273
|
+
} = Kt(), N = D(() => {
|
|
274
|
+
if (!x.current)
|
|
275
|
+
return !1;
|
|
276
|
+
const s = x.current;
|
|
277
|
+
if (o > 1)
|
|
278
|
+
return s.scrollHeight > s.clientHeight || s.scrollWidth > s.clientWidth;
|
|
279
|
+
if (s.scrollWidth > s.clientWidth)
|
|
280
|
+
return !0;
|
|
281
|
+
try {
|
|
282
|
+
const h = document.createRange();
|
|
283
|
+
h.selectNodeContents(s);
|
|
284
|
+
const et = h.getBoundingClientRect().width, it = s.getBoundingClientRect().width;
|
|
285
|
+
return h.detach(), et > it;
|
|
286
|
+
} catch {
|
|
287
|
+
return !1;
|
|
288
|
+
}
|
|
289
|
+
}, [o]), I = D(() => {
|
|
290
|
+
N() && (S.current = setTimeout(() => {
|
|
291
|
+
A(!0);
|
|
292
|
+
}, a));
|
|
293
|
+
}, [N, a]), C = D(() => {
|
|
294
|
+
clearTimeout(S.current), setTimeout(() => {
|
|
295
|
+
A(!1), c();
|
|
296
|
+
}, u);
|
|
297
|
+
}, [u, c]), {
|
|
298
|
+
variant: E,
|
|
299
|
+
bold: M,
|
|
300
|
+
size: T,
|
|
301
|
+
...g
|
|
302
|
+
} = p, tt = {
|
|
303
|
+
variant: E,
|
|
304
|
+
...M !== void 0 && {
|
|
305
|
+
bold: M
|
|
306
|
+
},
|
|
307
|
+
...T !== void 0 && {
|
|
308
|
+
size: T
|
|
309
|
+
},
|
|
310
|
+
...g,
|
|
311
|
+
refTypography: x,
|
|
312
|
+
onMouseEnter: (s) => {
|
|
313
|
+
var h;
|
|
314
|
+
(h = g.onMouseEnter) == null || h.call(g, s);
|
|
315
|
+
},
|
|
316
|
+
onMouseLeave: (s) => {
|
|
317
|
+
var h;
|
|
318
|
+
(h = g.onMouseLeave) == null || h.call(g, s);
|
|
319
|
+
},
|
|
320
|
+
style: {
|
|
321
|
+
...$t({
|
|
322
|
+
lines: o
|
|
323
|
+
}),
|
|
324
|
+
...g.style || {}
|
|
325
|
+
},
|
|
326
|
+
children: l
|
|
327
|
+
}, Y = /* @__PURE__ */ i(G, { ...tt, children: l });
|
|
328
|
+
return V(() => H(), [H]), V(() => () => {
|
|
329
|
+
clearTimeout(S.current), c();
|
|
330
|
+
}, [c]), /* @__PURE__ */ i(Zt, { className: d, onMouseEnter: I, onMouseLeave: C, children: W ? /* @__PURE__ */ i(Qt, { opened: W, text: e ?? "", target: Y, frame: f(), ...r }) : Y });
|
|
331
|
+
}, te = () => L(Nt), Z = () => L(Ht), ee = 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), ie = 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;"]), ne = 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:", ";"], () => te(), () => J);
|
|
341
|
+
const ae = n(F).withConfig({
|
|
342
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
|
|
343
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), le = 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;"]), oe = 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(), () => At), de = n.div.withConfig({
|
|
348
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledActionsContainer"
|
|
349
|
+
})(["display:flex;align-items:center;min-width:0;flex:1;position:relative;"]), re = 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, j, j, z, z);
|
|
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 se = 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 pe = n.div.withConfig({
|
|
367
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
|
|
368
|
+
})(["align-self:start;"]), ce = n(Ct).withConfig({
|
|
369
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledLinkIconButton"
|
|
370
|
+
})(["&&{width:24px;height:24px;color:", ";}"], () => b), q = ({
|
|
371
|
+
title: e,
|
|
372
|
+
titleTooltipProps: t
|
|
373
|
+
}) => /* @__PURE__ */ i(ae, { 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 }), he = ({
|
|
380
|
+
title: e,
|
|
381
|
+
titleTooltipProps: t,
|
|
382
|
+
badge: o,
|
|
383
|
+
badgeStyles: d,
|
|
384
|
+
subtitle: l,
|
|
385
|
+
subtitleTooltipProps: p,
|
|
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 = R(null), f = R(null), [H, N] = K(0);
|
|
395
|
+
return Lt(() => {
|
|
396
|
+
const I = () => {
|
|
397
|
+
if (c.current && f.current) {
|
|
398
|
+
const E = c.current.offsetWidth, T = f.current.offsetWidth - E;
|
|
399
|
+
N(T > 0 ? -T - 4 : 0);
|
|
400
|
+
}
|
|
401
|
+
}, C = Rt(I);
|
|
402
|
+
return c.current && C.observe(c.current), f.current && C.observe(f.current), I(), () => C.disconnect();
|
|
403
|
+
}, []), /* @__PURE__ */ w(ee, { className: v(y.header, A), children: [
|
|
404
|
+
/* @__PURE__ */ w(ie, { children: [
|
|
405
|
+
/* @__PURE__ */ w(ne, { children: [
|
|
406
|
+
e && S ? /* @__PURE__ */ i(se, { underline: "none", ...S, children: /* @__PURE__ */ i(q, { title: e, titleTooltipProps: t }) }) : /* @__PURE__ */ i(q, { title: e, titleTooltipProps: t }),
|
|
407
|
+
o && /* @__PURE__ */ i(oe, { style: d, children: o }),
|
|
408
|
+
/* @__PURE__ */ i(de, { ref: c, children: /* @__PURE__ */ w(re, { ref: f, $translateX: H, children: [
|
|
409
|
+
a && /* @__PURE__ */ i(O, { trigger: "hover", placement: "top", text: a, target: /* @__PURE__ */ i(Tt, { children: /* @__PURE__ */ i(Et, { 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(ce, { view: "clear", size: "xs", children: /* @__PURE__ */ i(Mt, { size: "xs" }) }) })
|
|
416
|
+
] }) })
|
|
417
|
+
] }),
|
|
418
|
+
l && /* @__PURE__ */ i(le, { variant: "BodyXS", tooltipText: l, style: {
|
|
419
|
+
color: b,
|
|
420
|
+
wordBreak: "normal"
|
|
421
|
+
}, tooltipProps: {
|
|
422
|
+
placement: "top",
|
|
423
|
+
...p
|
|
424
|
+
}, lines: 1, children: l })
|
|
425
|
+
] }),
|
|
426
|
+
W && /* @__PURE__ */ i(pe, { children: W })
|
|
427
|
+
] });
|
|
428
|
+
}, ye = (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
|
+
}, ge = 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;}}", " ", ""], z, y.headerActions, ({
|
|
480
|
+
$size: e
|
|
481
|
+
}) => {
|
|
482
|
+
const t = ye(e);
|
|
483
|
+
return L(["", " ", " ", " "], X.exact(0, 1439)(t.md), X.exact(1440, 1919)(t.lg), X.exact(1920, 1e5)(t.xl));
|
|
484
|
+
}, ({
|
|
485
|
+
$css: e
|
|
486
|
+
}) => e), me = n(P).withConfig({
|
|
487
|
+
displayName: "AnalyticalWidgetstyled__StyledTopSlot"
|
|
488
|
+
})(["overflow:hidden;"]), ue = n.div.withConfig({
|
|
489
|
+
displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
|
|
490
|
+
})(["overflow:hidden;padding-top:4px;"]), xe = 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"), k = ({
|
|
495
|
+
size: e = "l",
|
|
496
|
+
scrollable: t = !0,
|
|
497
|
+
headerSlot: o,
|
|
498
|
+
topSlot: d,
|
|
499
|
+
middleSlot: l,
|
|
500
|
+
contentSlot: p,
|
|
501
|
+
classes: a,
|
|
502
|
+
$css: u
|
|
503
|
+
}) => {
|
|
504
|
+
const r = jt[e];
|
|
505
|
+
return /* @__PURE__ */ w(ge, { $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(me, { className: v(y.topSlot, a == null ? void 0 : a.topSlot), children: d }),
|
|
511
|
+
r.middleSlot && l && /* @__PURE__ */ i(ue, { className: v(y.middleSlot, a == null ? void 0 : a.middleSlot), children: l })
|
|
512
|
+
] }) : null,
|
|
513
|
+
/* @__PURE__ */ i(xe, { scrollable: t, className: v(y.contentSlot, a == null ? void 0 : a.contentSlot), children: p })
|
|
514
|
+
] });
|
|
515
|
+
};
|
|
516
|
+
k.Header = he;
|
|
517
|
+
k.FilterIconButton = nt;
|
|
518
|
+
k.DotsIconButton = at;
|
|
519
|
+
k.Chips = zt;
|
|
520
|
+
export {
|
|
521
|
+
k as A,
|
|
522
|
+
G as T,
|
|
523
|
+
F as a,
|
|
524
|
+
y as b,
|
|
525
|
+
Ae as c,
|
|
526
|
+
zt as d,
|
|
527
|
+
he as e
|
|
528
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";const z=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"),y=require("./utils-DKi1rqLX.cjs"),h=require("react"),J=require("../components/Collapse/index.cjs"),D=require("@salutejs/plasma-icons"),K=n(a.Chip).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChip"})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),Q=n(a.ChipGroup).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChipGroup"})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);"]),O=({chips:e,commonView:t="default",commonSize:o="xs",opened:s=!1,...d})=>{const g=y.useDebouncedValue(s,300,!1);return i.jsx(J.Collapse,{isOpen:g,unMountOnClose:!0,children:i.jsx(Q,{view:t,size:o,isCommonChipStyles:!1,...d,children:e.map(({key:l,view:S,...c},v)=>h.createElement(K,{size:"xs",appearance:"transparent",...c,key:l??`${c==null?void 0:c.name}-${v}`}))})})},Z=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)),tt=({groupLabel:e,items:t})=>i.jsxs(Z,{children:[i.jsx("span",{children:e}),i.jsx("ul",{children:t.map((o,s)=>i.jsx("li",{children:o},`${o}-${s}`))})]}),et=n.div.withConfig({displayName:"TooltipList__FullWidthWrapper"})(["width:100%;& .popover-target,& .popover-wrapper{width:100%;}"]),it=({groupLabel:e,items:t,children:o,fullWidth:s,...d})=>{const g=t.length>0,l=i.jsx(a.Tooltip,{usePortal:!0,size:"s",mouseEnterDelay:500,...d,trigger:g?d.trigger??"hover":"none",text:g?i.jsx(tt,{groupLabel:e,items:t}):null,opened:g?d.opened:!1,children:o});return s?i.jsx(et,{children:l}):l},nt={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"}}},at={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"},lt={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:o,...s}){const d=lt[e];return i.jsx(d,{...s,ref:o,children:t})}$.displayName="Typography";const L="typography-with-auto-tooltip-root";let A=!1,w=null,R=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 ot(){w&&(clearTimeout(w),w=null),A=!1}function rt(){w&&(clearTimeout(w),w=null),A=!1,G()}function st(){if(!(typeof document>"u")){if(R+=1,R===1){const e=document.createElement("div");e.id=L,document.body.appendChild(e)}return()=>{if(R-=1,R===0){const e=document.getElementById(L);e&&(e.querySelectorAll("[id^='plasma-popover-root']").length>0||e.remove())}}}}function ct(){return{schedule:dt,flush:rt,cancel:ot,getContainerId:()=>L,createContainer:st}}const pt=n(a.Tooltip).withConfig({displayName:"TypographyWithAutoTooltipstyled__StyledTooltip"})(["&.popover-target{width:100%;}"]),ht=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;}"]),k=({tooltipText:e,tooltipProps:t,lines:o=1,className:s,children:d,...g})=>{const{mouseEnterDelay:l=500,mouseLeaveDelay:S=0,...c}=t||{},v=h.useRef(null),[T,j]=h.useState(!1),C=h.useRef(),{schedule:u,getContainerId:W,createContainer:N}=ct(),I=h.useCallback(()=>{if(!v.current)return!1;const p=v.current;if(o>1)return p.scrollHeight>p.clientHeight||p.scrollWidth>p.clientWidth;if(p.scrollWidth>p.clientWidth)return!0;try{const x=document.createRange();x.selectNodeContents(p);const V=x.getBoundingClientRect().width,U=p.getBoundingClientRect().width;return x.detach(),V>U}catch{return!1}},[o]),B=h.useCallback(()=>{I()&&(C.current=setTimeout(()=>{j(!0)},l))},[I,l]),_=h.useCallback(()=>{clearTimeout(C.current),setTimeout(()=>{j(!1),u()},S)},[S,u]),{variant:M,bold:E,size:b,...f}=g,P={variant:M,...E!==void 0&&{bold:E},...b!==void 0&&{size:b},...f,refTypography:v,onMouseEnter:p=>{var x;(x=f.onMouseEnter)==null||x.call(f,p)},onMouseLeave:p=>{var x;(x=f.onMouseLeave)==null||x.call(f,p)},style:{...y.truncateText({lines:o}),...f.style||{}},children:d},X=i.jsx($,{...P,children:d});return h.useEffect(()=>N(),[N]),h.useEffect(()=>()=>{clearTimeout(C.current),u()},[u]),i.jsx(ht,{className:s,onMouseEnter:B,onMouseLeave:_,children:T?i.jsx(pt,{opened:T,text:e??"",target:X,frame:W(),...c}):X})},yt=()=>n.css(r.bodyMBold),F=()=>n.css(r.bodyM),gt=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),ut=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLeftSlot"})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;"]),mt=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:",";"],()=>yt(),()=>r.textPrimary);const xt=n(k).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),ft=n(k).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;padding-bottom:4px;"]),wt=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),St=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledActionsContainer"})(["display:flex;align-items:center;min-width:0;flex:1;position:relative;"]),vt=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 Wt=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 Ct=n.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledRightSlot"})(["align-self:start;"]),Tt=n(a.IconButton).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLinkIconButton"})(["&&{width:24px;height:24px;color:",";}"],()=>r.textSecondary),q=({title:e,titleTooltipProps:t})=>i.jsx(xt,{tooltipText:e,tooltipProps:{placement:"top",...t},variant:"BodyM",bold:!0,style:{color:r.textPrimary,wordBreak:"normal"},lines:1,children:e}),Y=({title:e,titleTooltipProps:t,badge:o,badgeStyles:s,subtitle:d,subtitleTooltipProps:g,infoTooltipText:l,infoTooltipProps:S,href:c,hrefProps:v,rightSlot:T,className:j,titleLinkProps:C})=>{const u=h.useRef(null),W=h.useRef(null),[N,I]=h.useState(0);return h.useLayoutEffect(()=>{const B=()=>{if(u.current&&W.current){const M=u.current.offsetWidth,b=W.current.offsetWidth-M;I(b>0?-b-4:0)}},_=y.createSafeResizeObserver(B);return u.current&&_.observe(u.current),W.current&&_.observe(W.current),B(),()=>_.disconnect()},[]),i.jsxs(gt,{className:y.mergeClasses(m.header,j),children:[i.jsxs(ut,{children:[i.jsxs(mt,{children:[e&&C?i.jsx(Wt,{underline:"none",...C,children:i.jsx(q,{title:e,titleTooltipProps:t})}):i.jsx(q,{title:e,titleTooltipProps:t}),o&&i.jsx(wt,{style:s,children:o}),i.jsx(St,{ref:u,children:i.jsxs(vt,{ref:W,$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:y.mergeClasses(m.popoverInfo),...S}),c&&i.jsx(a.Link,{href:c,style:{flexShrink:0},size:"xs",...v,children:i.jsx(Tt,{view:"clear",size:"xs",children:i.jsx(D.IconArrowDiagRightUp,{size:"xs"})})})]})})]}),d&&i.jsx(ft,{variant:"BodyXS",tooltipText:d,style:{color:r.textSecondary,wordBreak:"normal"},tooltipProps:{placement:"top",...g},lines:1,children:d})]}),T&&i.jsx(Ct,{children:T})]})},_t=e=>{const t=nt[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
|
+
`}},bt=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=_t(e);return n.css([""," "," "," "],y.media.exact(0,1439)(t.md),y.media.exact(1440,1919)(t.lg),y.media.exact(1920,1e5)(t.xl))},({$css:e})=>e),At=n(a.BodyM).withConfig({displayName:"AnalyticalWidgetstyled__StyledTopSlot"})(["overflow:hidden;"]),Ht=n.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledMiddleSlot"})(["overflow:hidden;padding-top:4px;"]),jt=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:o,topSlot:s,middleSlot:d,contentSlot:g,classes:l,$css:S})=>{const c=at[e];return i.jsxs(bt,{$size:e,$css:S,className:y.mergeClasses(m.root,l==null?void 0:l.root),children:[i.jsx("div",{style:{minHeight:"32px"},children:o}),c.topSlot&&s||c.middleSlot&&d?i.jsxs("div",{children:[c.topSlot&&s&&i.jsx(At,{className:y.mergeClasses(m.topSlot,l==null?void 0:l.topSlot),children:s}),c.middleSlot&&d&&i.jsx(Ht,{className:y.mergeClasses(m.middleSlot,l==null?void 0:l.middleSlot),children:d})]}):null,i.jsx(jt,{scrollable:t,className:y.mergeClasses(m.contentSlot,l==null?void 0:l.contentSlot),children:g})]})};H.Header=Y;H.FilterIconButton=z.IconButtonFilter;H.DotsIconButton=z.IconButtonDots;H.Chips=O;exports.AnalyticalWidget=H;exports.AnalyticalWidgetChipsGroup=O;exports.AnalyticalWidgetHeader=Y;exports.TooltipList=it;exports.Typography=$;exports.TypographyWithAutoTooltip=k;exports.analyticalWidgetClassNames=m;
|