@daisforge/ui 1.21.0 → 1.23.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/AiAgentPopup-CLGSjg5L.cjs +11 -0
- package/chunks/AiAgentPopup-CtMhai1X.mjs +797 -0
- package/chunks/AnalyticalWidget-Bvcm1qpU.cjs +43 -0
- package/chunks/AnalyticalWidget-CRfihris.mjs +352 -0
- package/chunks/ApprovalCenter-D7K7J-QB.cjs +1 -0
- package/chunks/{ApprovalCenter-DLKZP2AO.mjs → ApprovalCenter-dJpI91uN.mjs} +10 -10
- package/chunks/BlockTitle-CcYYHiOo.cjs +1 -0
- package/chunks/{BlockTitle-DsXxImR6.mjs → BlockTitle-DCmM-9AN.mjs} +2 -2
- package/chunks/{Container-DbZwlfIM.mjs → Container-C7PzvUwd.mjs} +1 -1
- package/chunks/{Container-DHnX1sHY.cjs → Container-bVqI3en9.cjs} +1 -1
- package/chunks/{EmptyState-DH1xawxg.cjs → EmptyState-D-bmtvmy.cjs} +1 -1
- package/chunks/{EmptyState-CUCseg9M.mjs → EmptyState-ZsOlvU4d.mjs} +1 -1
- package/chunks/{FiltersActions-CDZSO0MM.mjs → FiltersActions-CS27WxA6.mjs} +38 -36
- package/chunks/FiltersActions-Cie245Po.cjs +1 -0
- package/chunks/{FormSegmentGroup-BYQ6yMK1.cjs → FormSegmentGroup-CNIqOYfm.cjs} +1 -1
- package/chunks/{FormSegmentGroup-C9qYxYT9.mjs → FormSegmentGroup-DwTRM58f.mjs} +1 -1
- package/chunks/{GridDND-DK6SAO8q.cjs → GridDND-Bwmr7gla.cjs} +1 -1
- package/chunks/{GridDND-CqvpXgCY.mjs → GridDND-DC5VoxEY.mjs} +83 -83
- package/chunks/{LeftPanel-C5SsoRJS.mjs → LeftPanel-C10BLKIn.mjs} +1 -1
- package/chunks/{LeftPanel-AyuV7bGS.cjs → LeftPanel-upGFk7jM.cjs} +1 -1
- package/chunks/{ListOfFilters-Bd8CZHDq.mjs → ListOfFilters-CEWrWotU.mjs} +3 -3
- package/chunks/{ListOfFilters-BAPz0OY9.cjs → ListOfFilters-DNi-z1cn.cjs} +1 -1
- package/chunks/MassActions-DJiKcC6r.cjs +1 -0
- package/chunks/{MassActions-D5UwHcNG.mjs → MassActions-NLCRjIHw.mjs} +187 -186
- package/chunks/PageTitle-Bg4PNEXS.cjs +9 -0
- package/chunks/{PageTitle-DkfAiZM4.mjs → PageTitle-CXtNgH-b.mjs} +7 -7
- package/chunks/{SplitView-BqS1Jbo4.mjs → SplitView-BzamJzNc.mjs} +17 -17
- package/chunks/{SplitView-DNmd4sJe.cjs → SplitView-DeJ3V-kq.cjs} +1 -1
- package/chunks/Stories-CNlL0Bcb.cjs +1 -0
- package/chunks/{Stories-BnHxMCEZ.mjs → Stories-UUV0GNEV.mjs} +33 -33
- package/chunks/Table-CZludfzU.cjs +31 -0
- package/chunks/{Table-DYSssxRS.mjs → Table-FrYs56BB.mjs} +2341 -2329
- package/chunks/{TableCanvas-DDNRdQjN.mjs → TableCanvas-CasYPFSm.mjs} +6016 -5720
- package/chunks/TableCanvas-DFne0YHS.cjs +30 -0
- package/chunks/TableGlide-BKSjSgBn.mjs +9131 -0
- package/chunks/TableGlide-C2_HrWEA.cjs +1 -0
- package/chunks/{styles-CJ5y9FKW.mjs → styles-CJPkBVWK.mjs} +6 -6
- package/chunks/{styles-kUWPuNSD.cjs → styles-CpC_FuBg.cjs} +1 -1
- package/chunks/{utils-u1KJ37g3.mjs → utils-Hu77fGGe.mjs} +102 -102
- package/chunks/{utils-ChDQGRjv.cjs → utils-OQNruMpn.cjs} +5 -5
- package/components/AiAgentPopover/index.cjs +1 -1
- package/components/AiAgentPopover/index.mjs +1 -1
- package/components/AiAgentPopup/AiAgentInput.d.ts +3 -0
- package/components/AiAgentPopup/AiAgentLeftPanel.d.ts +6 -0
- package/components/AiAgentPopup/AiAgentPopup.constants.d.ts +32 -0
- package/components/AiAgentPopup/AiAgentPopup.d.ts +3 -0
- package/components/AiAgentPopup/AiAgentPopup.styled.d.ts +33 -0
- package/components/AiAgentPopup/AiAgentPopup.types.d.ts +83 -0
- package/components/AiAgentPopup/AiAgentPopup.utils.d.ts +12 -0
- package/components/AiAgentPopup/AiAgentSurface.d.ts +6 -0
- package/components/AiAgentPopup/hooks/useDrag.d.ts +18 -0
- package/components/AiAgentPopup/hooks/useIsDarkTheme.d.ts +1 -0
- package/components/AiAgentPopup/hooks/usePopupPosition.d.ts +20 -0
- package/components/AiAgentPopup/hooks/usePopupResize.d.ts +40 -0
- package/components/AiAgentPopup/hooks/useStateStorage.d.ts +6 -0
- package/components/AiAgentPopup/index.cjs +1 -0
- package/components/AiAgentPopup/index.d.ts +3 -0
- package/components/AiAgentPopup/index.mjs +5 -0
- package/components/AnalyticalWidget/AnalyticalWidget.d.ts +8 -24
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +8 -24
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +2 -2
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +2 -2
- 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/Autocomplete.d.ts +128 -128
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +2 -2
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +1 -1
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +1 -1
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +1 -1
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/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/MassActions/types.d.ts +1 -0
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +1 -1
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +6 -6
- 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 +9 -9
- package/components/PopoverDF/styled.d.ts +1 -23
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +118 -143
- 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/popover.d.ts +1 -23
- 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-searching/styled.d.ts +128 -128
- 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/types/table-config.type.d.ts +1 -0
- package/components/Table/types/utils.type.d.ts +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/TableGlideInstance.d.ts +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 +6 -6
- package/components/TableCanvas/TableGlideInstance/reexports-for-external.d.ts +4 -1
- package/components/TableCanvas/TableGlideInstance/type.d.ts +4 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +2 -2
- 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/contexts.d.ts +8 -2
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +13 -13
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +2 -2
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +2 -2
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +4 -4
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +3 -3
- 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 +6 -6
- package/components/TableCanvas/feature-edit/types.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +4 -4
- 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 +3 -3
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +4 -4
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +6 -6
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +2 -2
- package/components/TableCanvas/feature-pagination/TablePagination.d.ts +2 -0
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +3 -3
- package/components/TableCanvas/feature-popover-table/components/styled.d.ts +1 -23
- 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 +3 -3
- 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/compatibility.d.ts +8 -0
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.d.ts +2 -3
- package/components/TableCanvas/feature-right-sidebar/index.mjs +3 -3
- 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 +7 -7
- 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 +4 -4
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +10 -10
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/styled.d.ts +128 -128
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/types.d.ts +1 -0
- package/components/TableCanvas/feature-select-row/useSelectRow.d.ts +1 -0
- package/components/TableCanvas/feature-sidebar/constants.d.ts +7 -0
- package/components/TableCanvas/feature-sidebar/getCustomSidebarTabs.d.ts +4 -0
- package/components/TableCanvas/feature-sidebar/index.cjs +1 -0
- package/components/TableCanvas/feature-sidebar/index.d.ts +1 -0
- package/components/TableCanvas/feature-sidebar/index.mjs +4 -0
- package/components/TableCanvas/feature-sidebar/ui/BottomSheet.d.ts +6 -0
- package/components/TableCanvas/feature-sidebar/ui/BottomSheet.styled.d.ts +6 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarContentLayout.d.ts +1 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarTabs.d.ts +2 -1
- package/components/TableCanvas/feature-sidebar/ui/TableSidebar.d.ts +16 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/styled.d.ts +5 -2
- package/components/TableCanvas/feature-sidebar/useSidebarTabsState.d.ts +14 -0
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-sticky/index.cjs +1 -0
- package/components/TableCanvas/feature-sticky/index.d.ts +3 -0
- package/components/TableCanvas/feature-sticky/index.mjs +5 -0
- package/components/TableCanvas/feature-sticky/types.d.ts +2 -0
- package/components/TableCanvas/feature-sticky/useStickyColumnIndexes.d.ts +8 -0
- package/components/TableCanvas/feature-sticky/useStickyRowIndexes.d.ts +3 -0
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +2 -2
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +4 -4
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.d.ts +2 -1
- package/components/TableCanvas/index.mjs +43 -41
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/renders/renderEditCell.d.ts +1 -1
- package/components/TableCanvas/styles/classNames.d.ts +1 -0
- package/components/TableCanvas/styles/getReservedTableHeight.d.ts +18 -0
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +10 -10
- package/components/TableCanvas/styles/styles.constants.d.ts +1 -1
- package/components/TableCanvas/styles/styles.d.ts +2 -5
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +4 -4
- package/components/TableCanvas/table-hooks/useInlineStyle.d.ts +2 -1
- package/components/TableCanvas/table-hooks/useLeftSidebarValues.d.ts +7 -0
- package/components/TableCanvas/table-hooks/useSidebarOpenState.d.ts +11 -0
- package/components/TableCanvas/table-hooks/useSidebarValues.d.ts +1 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +2 -2
- package/components/TableCanvas/types/table-config.type.d.ts +20 -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/control-block.constants.d.ts +6 -0
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +5 -5
- 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/control-block/types.d.ts +1 -0
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +5 -5
- package/components/TableCanvas/widgets/mass-actions/MassActions.d.ts +2 -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/hooks/useMassActionsCanvasWidth.d.ts +1 -0
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCompression.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsSidebar.d.ts +4 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/widgets/table-or-card-UI.d.ts +6 -3
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +2 -2
- package/components/TableGlide/TableGlide.d.ts +1 -1
- package/components/TableGlide/cellRenderer.d.ts +2 -1
- package/components/TableGlide/constants.d.ts +3 -3
- package/components/TableGlide/content-tokens.generated.d.ts +612 -0
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/hooks/selection/useBaseHighlightRegions.d.ts +2 -1
- package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +2 -3
- package/components/TableGlide/hooks/selection/useColumnRowHighlightRegions.d.ts +1 -4
- package/components/TableGlide/hooks/selection/useSelectionGeometry.d.ts +3 -1
- package/components/TableGlide/hooks/useErrorCellRanges.d.ts +1 -2
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +93 -90
- package/components/TableGlide/lib/canvas/cells/CellCanvasRoot.d.ts +2 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +4 -4
- 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 +16 -16
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +4 -4
- package/components/TableGlide/lib/canvas/cells/renderer/types.d.ts +4 -2
- package/components/TableGlide/lib/canvas/cells/types.d.ts +3 -1
- package/components/TableGlide/lib/canvas/components/index.d.ts +31 -4
- package/components/TableGlide/lib/canvas/core/CanvasImageResources.d.ts +7 -0
- package/components/TableGlide/lib/canvas/core/CanvasImageTransitions.d.ts +11 -0
- package/components/TableGlide/lib/canvas/core/DrawBatcher.d.ts +5 -0
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +4 -4
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.d.ts +7 -7
- package/components/TableGlide/lib/canvas/index.mjs +75 -72
- 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/CanvasAvatar.d.ts +58 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasAvatarGroup.d.ts +45 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasImage.d.ts +17 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasLink.d.ts +2 -2
- package/components/TableGlide/lib/canvas/primitives/CanvasText.d.ts +3 -1
- package/components/TableGlide/lib/canvas/primitives/avatar/geometry.d.ts +6 -0
- package/components/TableGlide/lib/canvas/primitives/image/image.d.ts +20 -0
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.d.ts +11 -4
- package/components/TableGlide/lib/canvas/primitives/index.mjs +14 -11
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
- package/components/TableGlide/theming/activeTheme.type.d.ts +3 -1
- package/components/TableGlide/theming/cell-fill-override.d.ts +31 -0
- package/components/TableGlide/theming/custom-colors.d.ts +46 -11
- package/components/TableGlide/theming/fill-states.d.ts +19 -0
- package/components/TableGlide/theming/glide-colors.d.ts +14 -14
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/theming/size-tokens.d.ts +1 -1
- package/components/TableGlide/theming/table-colors.generated.d.ts +529 -0
- package/components/TableGlide/tokens.d.ts +3 -103
- package/components/TableGlide/types.d.ts +3 -5
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/TourWidget.palette.d.ts +36 -0
- package/components/TourWidget/TourWidget.styled.d.ts +4 -0
- package/components/TourWidget/TourWidget.tokens.d.ts +52 -0
- package/components/TourWidget/hooks/useIsDarkTheme.d.ts +1 -0
- package/components/TourWidget/index.cjs +22 -22
- package/components/TourWidget/index.d.ts +1 -0
- package/components/TourWidget/index.mjs +269 -179
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +2 -2
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +1 -1
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +3 -1
- package/index.mjs +1864 -1858
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +1 -1
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +1 -1
- package/layouts/Layout/index.mjs +1 -1
- package/layouts/PageLayout/index.cjs +1 -1
- package/layouts/PageLayout/index.mjs +1 -1
- package/mcp-data/component-index.json +1912 -366
- package/mixins/index.cjs +4 -4
- package/mixins/index.mjs +61 -54
- package/package.json +7 -7
- package/shared/utils/resizable/index.cjs +1 -0
- package/shared/utils/resizable/index.d.ts +2 -0
- package/shared/utils/resizable/index.mjs +39 -0
- package/shared/utils/resizable/resizableConfig.d.ts +16 -0
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/types/index.d.ts +1 -0
- package/types/utility.d.ts +1 -0
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +2 -2
- 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/getActiveTheme.d.ts +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 +8 -8
- package/utils/react/index.cjs +1 -1
- package/utils/react/index.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-BtyWKJuu.mjs +0 -537
- package/chunks/AnalyticalWidget-YytE3Rlw.cjs +0 -43
- package/chunks/ApprovalCenter-DdsLEipZ.cjs +0 -1
- package/chunks/BlockTitle-DC1McGof.cjs +0 -1
- package/chunks/FiltersActions-CVtgAJnC.cjs +0 -1
- package/chunks/MassActions-C08IgW4a.cjs +0 -1
- package/chunks/PageTitle-CrBeieoq.cjs +0 -9
- package/chunks/Stories-UYVANawW.cjs +0 -1
- package/chunks/Table-CdaMPDkg.cjs +0 -31
- package/chunks/TableCanvas-DPHSYfH3.cjs +0 -30
- package/chunks/TableGlide-DAnTJtye.mjs +0 -7811
- package/chunks/TableGlide-am_w97mF.cjs +0 -1
- package/components/TableCanvas/feature-right-sidebar/constants.d.ts +0 -1
- package/components/TableCanvas/feature-right-sidebar/ui/TableSidebar.d.ts +0 -16
- /package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/TableSidebar.classnames.d.ts +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";const H=require("@salutejs/sdds-finai/beta"),N=require("../components/IconButton/index.cjs"),x=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),s=require("./utils-OQNruMpn.cjs"),S=require("react"),g=require("@salutejs/sdds-themes/tokens/sdds_finai"),a=require("styled-components"),W=require("@salutejs/plasma-icons"),j=require("../components/Collapse/index.cjs"),f=require("./AiAgentPopup-CLGSjg5L.cjs"),R={l:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"512px",padding:"12px",borderRadius:"16px"}},m:{xl:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"448px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}},s:{xl:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},lg:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"},md:{minWidth:"216px",maxWidth:"unset",width:"100%",minHeight:"248px",padding:"12px",borderRadius:"16px"}}},I={l:{topSlot:!0,middleSlot:!0},m:{topSlot:!0,middleSlot:!1},s:{topSlot:!0,middleSlot:!1}},d={root:"analytical-widget",header:"analytical-widget__header",popoverInfo:"analytical-widget__popover-info",topSlot:"analytical-widget__top-slot",middleSlot:"analytical-widget__middle-slot",contentSlot:"analytical-widget__content",headerActions:"analytical-widget__header-actions",selfSpacedTopSlot:"analytical-widget__self-spaced-top-slot",hasRightSlot:"analytical-widget--has-right-slot"},$=a.div.withConfig({displayName:"AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"})(["position:absolute;top:","px;right:","px;."," ~ &,&:has(~ .","),&:has(~ * .","){top:","px;}"],({$offset:t})=>t,({$offset:t})=>t,d.hasRightSlot,d.hasRightSlot,d.hasRightSlot,({$offset:t})=>t+4),_=S.forwardRef(({dropdownProps:t,iconSize:i,iconOrientation:r="vertical",view:h="default",size:n="m",absolute:c=!1,absoluteOffset:l=12,style:y,...o},m)=>{const p=r==="vertical"?W.IconDotsVerticalOutline:W.IconDotsHorizontalOutline,u=e.jsx(H.EmbeddedButton,{ref:m,view:h,size:n,style:y,...o,children:e.jsx(p,{size:i??"s"})}),C=t?e.jsx(x.Dropdown,{...t,children:u}):u;return c?e.jsx($,{$offset:l,children:C}):C});_.displayName="AnalyticalWidgetIconButtonDots";const B=a(x.Chip).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChip"})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]),k=a(x.ChipGroup).withConfig({displayName:"AnalyticalWidgetChipsGroupstyled__StyledChipGroup"})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]),A=({chips:t,commonView:i="default",commonSize:r="xs",opened:h=!1,...n})=>{const c=s.useDebouncedValue(h,300,!1),l=S.useRef(t);t.length>0&&(l.current=t);const y=t.length>0?t:l.current;return e.jsx("div",{className:d.selfSpacedTopSlot,children:e.jsx(j.Collapse,{isOpen:c,unMountOnClose:!0,children:e.jsx(k,{view:i,size:r,isCommonChipStyles:!1,...n,children:y.map(({key:o,view:m,...p},u)=>S.createElement(B,{size:"xs",appearance:"transparent",...p,key:o??`${p==null?void 0:p.name}-${u}`}))})})})},D=()=>a.css(g.bodyMBold),b=()=>a.css(g.bodyM),q=a.header.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeader"})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.","){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"],d.popoverInfo),L=a.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledLeftSlot"})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]),G=a.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleContainer"})(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);a.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitle"})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';",";color:",";"],()=>D(),()=>g.textPrimary);const z=a(f.TypographyWithAutoTooltip).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),M=a(f.TypographyWithAutoTooltip).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]),O=a.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledAfterTitle"})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';"," color:",";text-transform:uppercase;"],()=>b(),()=>g.textTertiary),E=a.div.attrs({className:d.headerActions}).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledHeaderActions"})(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);a.p.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitle"})([""," flex-shrink:1;margin:0;min-width:0;color:",";"],()=>b(),()=>g.textSecondary);a(f.Typography).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"})(["color:",";"],()=>g.textSecondary);const F=a(x.Link).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledTitleLink"})(["display:flex;min-width:0;flex-shrink:1;"]);a(f.TypographyWithAutoTooltip).withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"})(["flex-shrink:1;margin:0;min-width:0;"]);const V=a.div.withConfig({displayName:"AnalyticalWidgetHeaderstyled__StyledRightSlot"})(["align-self:start;flex-shrink:0;"]),v=({title:t,titleTooltipProps:i})=>typeof t!="string"?e.jsx(e.Fragment,{children:t}):e.jsx(z,{tooltipText:t,tooltipProps:{placement:"top",...i},variant:"BodyM",bold:!0,style:{color:g.textPrimary,wordBreak:"normal"},lines:1,children:t}),T=({title:t,titleTooltipProps:i,badge:r,badgeStyles:h,subtitle:n,subtitleTooltipProps:c,infoTooltipText:l,infoTooltipProps:y,rightSlot:o,className:m,titleLinkProps:p})=>e.jsxs(q,{className:s.mergeClasses(d.header,m),children:[e.jsxs(L,{children:[e.jsxs(G,{children:[t&&p?e.jsx(F,{underline:"none",...p,children:e.jsx(v,{title:t,titleTooltipProps:i})}):e.jsx(v,{title:t,titleTooltipProps:i}),r&&e.jsx(O,{style:h,children:r}),l&&e.jsx(E,{children:e.jsx(x.Tooltip,{trigger:"hover",placement:"top",text:l,target:e.jsx(W.IconInfoCircleOutline,{size:"xs",style:{cursor:"pointer",color:g.textSecondary}}),className:s.mergeClasses(d.popoverInfo),...y})})]}),n&&(typeof n=="string"?e.jsx(M,{variant:"BodyXS",tooltipText:n,style:{color:g.textSecondary,wordBreak:"normal"},tooltipProps:{placement:"top",...c},lines:1,children:n}):n)]}),o&&e.jsx(V,{children:o})]}),Y=t=>{const i=R[t];return{xl:`
|
|
2
|
+
--analytical-widget-padding: ${i.xl.padding};
|
|
3
|
+
--analytical-widget-br: ${i.xl.borderRadius};
|
|
4
|
+
--analytical-widget-min-height: ${i.xl.minHeight};
|
|
5
|
+
--analytical-widget-min-width: ${i.xl.minWidth||"unset"};
|
|
6
|
+
--analytical-widget-max-width: ${i.xl.maxWidth||"unset"};
|
|
7
|
+
|
|
8
|
+
width: ${i.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: ${i.lg.padding};
|
|
17
|
+
--analytical-widget-br: ${i.lg.borderRadius};
|
|
18
|
+
--analytical-widget-min-height: ${i.lg.minHeight};
|
|
19
|
+
--analytical-widget-min-width: ${i.lg.minWidth||"unset"};
|
|
20
|
+
--analytical-widget-max-width: ${i.lg.maxWidth||"unset"};
|
|
21
|
+
|
|
22
|
+
width: ${i.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: ${i.md.padding};
|
|
31
|
+
--analytical-widget-br: ${i.md.borderRadius};
|
|
32
|
+
--analytical-widget-min-height: ${i.md.minHeight};
|
|
33
|
+
--analytical-widget-min-width: ${i.md.minWidth||"unset"};
|
|
34
|
+
--analytical-widget-max-width: ${i.md.maxWidth||"unset"};
|
|
35
|
+
|
|
36
|
+
width: ${i.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
|
+
`}},X=a.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;}}"," ",""],g.surfaceSolidCard,d.headerActions,({$size:t})=>{const i=Y(t);return a.css([""," "," "," "],s.media.exact(0,1439)(i.md),s.media.exact(1440,1919)(i.lg),s.media.exact(1920,1e5)(i.xl))},({$css:t})=>t),J=a(x.BodyM).withConfig({displayName:"AnalyticalWidgetstyled__StyledTopSlot"})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.","){margin-top:0;}"],d.selfSpacedTopSlot),K=a.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledMiddleSlot"})(["overflow:hidden;padding-top:8px;"]),Q=a.div.withConfig({displayName:"AnalyticalWidgetstyled__StyledContent"})(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:",";"],({scrollable:t})=>t?"auto":"visible"),w=({size:t="l",scrollable:i=!0,headerSlot:r,topSlot:h,middleSlot:n,contentSlot:c,classes:l,$css:y})=>{const o=I[t],m=S.isValidElement(r)&&!!r.props.rightSlot;return e.jsxs(X,{$size:t,$css:y,className:s.mergeClasses(d.root,m?d.hasRightSlot:void 0,l==null?void 0:l.root),children:[e.jsx("div",{style:{minHeight:"32px"},children:r}),o.topSlot&&h||o.middleSlot&&n?e.jsxs("div",{children:[o.topSlot&&h&&e.jsx(J,{className:s.mergeClasses(d.topSlot,l==null?void 0:l.topSlot),children:h}),o.middleSlot&&n&&e.jsx(K,{className:s.mergeClasses(d.middleSlot,l==null?void 0:l.middleSlot),children:n})]}):null,e.jsx(Q,{scrollable:i,className:s.mergeClasses(d.contentSlot,l==null?void 0:l.contentSlot),children:c})]})};w.Header=T;w.FilterIconButton=N.IconButtonFilter;w.DotsIconButton=_;w.Chips=A;exports.AnalyticalWidget=w;exports.AnalyticalWidgetChipsGroup=A;exports.AnalyticalWidgetHeader=T;exports.AnalyticalWidgetIconButtonDots=_;exports.analyticalWidgetClassNames=d;
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import { EmbeddedButton as H } from "@salutejs/sdds-finai/beta";
|
|
2
|
+
import { IconButtonFilter as T } from "../components/IconButton/index.mjs";
|
|
3
|
+
import { Dropdown as N, ChipGroup as R, Chip as $, Link as I, Tooltip as k, BodyM as B } from "@salutejs/sdds-finai";
|
|
4
|
+
import { jsx as e, Fragment as D, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
import { u as L, m, b as u } from "./utils-Hu77fGGe.mjs";
|
|
6
|
+
import { forwardRef as z, useRef as G, createElement as M, isValidElement as O } from "react";
|
|
7
|
+
import { textTertiary as E, bodyM as F, textPrimary as C, textSecondary as w, bodyMBold as V, surfaceSolidCard as j } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
8
|
+
import l, { css as S } from "styled-components";
|
|
9
|
+
import { IconDotsVerticalOutline as Y, IconDotsHorizontalOutline as X, IconInfoCircleOutline as q } from "@salutejs/plasma-icons";
|
|
10
|
+
import { Collapse as J } from "../components/Collapse/index.mjs";
|
|
11
|
+
import { T as W, a as K } from "./AiAgentPopup-CtMhai1X.mjs";
|
|
12
|
+
const Q = {
|
|
13
|
+
l: {
|
|
14
|
+
xl: {
|
|
15
|
+
minWidth: "448px",
|
|
16
|
+
maxWidth: "unset",
|
|
17
|
+
// 608
|
|
18
|
+
width: "100%",
|
|
19
|
+
minHeight: "512px",
|
|
20
|
+
padding: "12px",
|
|
21
|
+
borderRadius: "16px"
|
|
22
|
+
},
|
|
23
|
+
lg: {
|
|
24
|
+
minWidth: "448px",
|
|
25
|
+
maxWidth: "unset",
|
|
26
|
+
// 608
|
|
27
|
+
width: "100%",
|
|
28
|
+
minHeight: "512px",
|
|
29
|
+
// 432px
|
|
30
|
+
padding: "12px",
|
|
31
|
+
borderRadius: "16px"
|
|
32
|
+
},
|
|
33
|
+
md: {
|
|
34
|
+
minWidth: "448px",
|
|
35
|
+
maxWidth: "unset",
|
|
36
|
+
// 608
|
|
37
|
+
width: "100%",
|
|
38
|
+
minHeight: "512px",
|
|
39
|
+
// 344px
|
|
40
|
+
padding: "12px",
|
|
41
|
+
borderRadius: "16px"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
m: {
|
|
45
|
+
xl: {
|
|
46
|
+
minWidth: "448px",
|
|
47
|
+
maxWidth: "unset",
|
|
48
|
+
// 608
|
|
49
|
+
width: "100%",
|
|
50
|
+
minHeight: "248px",
|
|
51
|
+
padding: "12px",
|
|
52
|
+
borderRadius: "16px"
|
|
53
|
+
},
|
|
54
|
+
lg: {
|
|
55
|
+
minWidth: "448px",
|
|
56
|
+
maxWidth: "unset",
|
|
57
|
+
// 608
|
|
58
|
+
width: "100%",
|
|
59
|
+
minHeight: "248px",
|
|
60
|
+
// 208px
|
|
61
|
+
padding: "12px",
|
|
62
|
+
borderRadius: "16px"
|
|
63
|
+
},
|
|
64
|
+
md: {
|
|
65
|
+
minWidth: "448px",
|
|
66
|
+
maxWidth: "unset",
|
|
67
|
+
// 608
|
|
68
|
+
width: "100%",
|
|
69
|
+
minHeight: "248px",
|
|
70
|
+
// 172px
|
|
71
|
+
padding: "12px",
|
|
72
|
+
borderRadius: "16px"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
s: {
|
|
76
|
+
xl: {
|
|
77
|
+
minWidth: "216px",
|
|
78
|
+
maxWidth: "unset",
|
|
79
|
+
// 296px
|
|
80
|
+
width: "100%",
|
|
81
|
+
minHeight: "248px",
|
|
82
|
+
padding: "12px",
|
|
83
|
+
borderRadius: "16px"
|
|
84
|
+
},
|
|
85
|
+
lg: {
|
|
86
|
+
minWidth: "216px",
|
|
87
|
+
maxWidth: "unset",
|
|
88
|
+
// 296px
|
|
89
|
+
width: "100%",
|
|
90
|
+
minHeight: "248px",
|
|
91
|
+
// 208px
|
|
92
|
+
padding: "12px",
|
|
93
|
+
borderRadius: "16px"
|
|
94
|
+
},
|
|
95
|
+
md: {
|
|
96
|
+
minWidth: "216px",
|
|
97
|
+
maxWidth: "unset",
|
|
98
|
+
// 296px
|
|
99
|
+
width: "100%",
|
|
100
|
+
minHeight: "248px",
|
|
101
|
+
// 172px
|
|
102
|
+
padding: "12px",
|
|
103
|
+
borderRadius: "16px"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}, U = {
|
|
107
|
+
l: {
|
|
108
|
+
topSlot: !0,
|
|
109
|
+
// Filters + chips
|
|
110
|
+
middleSlot: !0
|
|
111
|
+
// Tabs
|
|
112
|
+
},
|
|
113
|
+
m: {
|
|
114
|
+
topSlot: !0,
|
|
115
|
+
// Filters + chips
|
|
116
|
+
middleSlot: !1
|
|
117
|
+
// Tabs
|
|
118
|
+
},
|
|
119
|
+
s: {
|
|
120
|
+
topSlot: !0,
|
|
121
|
+
// Filters + chips
|
|
122
|
+
middleSlot: !1
|
|
123
|
+
// Tabs
|
|
124
|
+
}
|
|
125
|
+
}, d = {
|
|
126
|
+
root: "analytical-widget",
|
|
127
|
+
header: "analytical-widget__header",
|
|
128
|
+
popoverInfo: "analytical-widget__popover-info",
|
|
129
|
+
topSlot: "analytical-widget__top-slot",
|
|
130
|
+
middleSlot: "analytical-widget__middle-slot",
|
|
131
|
+
contentSlot: "analytical-widget__content",
|
|
132
|
+
headerActions: "analytical-widget__header-actions",
|
|
133
|
+
selfSpacedTopSlot: "analytical-widget__self-spaced-top-slot",
|
|
134
|
+
// Маркер на корне виджета: rightSlot шапки заполнен. По нему абсолютная
|
|
135
|
+
// dots-кнопка (сиблинг) поднимает top с 12 до 16 через CSS.
|
|
136
|
+
hasRightSlot: "analytical-widget--has-right-slot"
|
|
137
|
+
}, Z = l.div.withConfig({
|
|
138
|
+
displayName: "AnalyticalWidgetIconButtonDotsstyled__StyledAbsoluteDots"
|
|
139
|
+
})(["position:absolute;top:", "px;right:", "px;.", " ~ &,&:has(~ .", "),&:has(~ * .", "){top:", "px;}"], ({
|
|
140
|
+
$offset: t
|
|
141
|
+
}) => t, ({
|
|
142
|
+
$offset: t
|
|
143
|
+
}) => t, d.hasRightSlot, d.hasRightSlot, d.hasRightSlot, ({
|
|
144
|
+
$offset: t
|
|
145
|
+
}) => t + 4), b = z(({
|
|
146
|
+
dropdownProps: t,
|
|
147
|
+
iconSize: i,
|
|
148
|
+
iconOrientation: r = "vertical",
|
|
149
|
+
view: p = "default",
|
|
150
|
+
size: n = "m",
|
|
151
|
+
absolute: s = !1,
|
|
152
|
+
absoluteOffset: a = 12,
|
|
153
|
+
style: g,
|
|
154
|
+
...o
|
|
155
|
+
}, y) => {
|
|
156
|
+
const x = /* @__PURE__ */ e(H, { ref: y, view: p, size: n, style: g, ...o, children: /* @__PURE__ */ e(r === "vertical" ? Y : X, { size: i ?? "s" }) }), _ = t ? /* @__PURE__ */ e(N, { ...t, children: x }) : x;
|
|
157
|
+
return s ? /* @__PURE__ */ e(Z, { $offset: a, children: _ }) : _;
|
|
158
|
+
});
|
|
159
|
+
b.displayName = "AnalyticalWidgetIconButtonDots";
|
|
160
|
+
const P = l($).withConfig({
|
|
161
|
+
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChip"
|
|
162
|
+
})(["max-height:20px;max-width:180px;border-radius:12px;padding-inline:8px;"]), tt = l(R).withConfig({
|
|
163
|
+
displayName: "AnalyticalWidgetChipsGroupstyled__StyledChipGroup"
|
|
164
|
+
})(["--analytical-widget-chips-gap:4px;gap:var(--analytical-widget-chips-gap);padding-top:8px;"]), it = ({
|
|
165
|
+
chips: t,
|
|
166
|
+
commonView: i = "default",
|
|
167
|
+
commonSize: r = "xs",
|
|
168
|
+
opened: p = !1,
|
|
169
|
+
...n
|
|
170
|
+
}) => {
|
|
171
|
+
const s = L(p, 300, !1), a = G(t);
|
|
172
|
+
t.length > 0 && (a.current = t);
|
|
173
|
+
const g = t.length > 0 ? t : a.current;
|
|
174
|
+
return /* @__PURE__ */ e("div", { className: d.selfSpacedTopSlot, children: /* @__PURE__ */ e(J, { isOpen: s, unMountOnClose: !0, children: /* @__PURE__ */ e(tt, { view: i, size: r, isCommonChipStyles: !1, ...n, children: g.map(({
|
|
175
|
+
key: o,
|
|
176
|
+
view: y,
|
|
177
|
+
...h
|
|
178
|
+
}, x) => /* @__PURE__ */ M(P, { size: "xs", appearance: "transparent", ...h, key: o ?? `${h == null ? void 0 : h.name}-${x}` })) }) }) });
|
|
179
|
+
}, et = () => S(V), A = () => S(F), at = l.header.withConfig({
|
|
180
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledHeader"
|
|
181
|
+
})(["display:flex;justify-content:space-between;align-items:center;padding-right:24px;& .popover-wrapper:has(.", "){display:flex;flex-shrink:0;height:100%;align-items:center;transition:none;}"], d.popoverInfo), lt = l.div.withConfig({
|
|
182
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledLeftSlot"
|
|
183
|
+
})(["display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:2px;min-height:32px;margin-right:16px;"]), dt = l.div.withConfig({
|
|
184
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleContainer"
|
|
185
|
+
})(["margin:0;display:flex;align-items:center;flex-shrink:1;min-width:0;"]);
|
|
186
|
+
l.p.withConfig({
|
|
187
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitle"
|
|
188
|
+
})(["margin:0;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", ";color:", ";"], () => et(), () => C);
|
|
189
|
+
const nt = l(W).withConfig({
|
|
190
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleWithTooltip"
|
|
191
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), ot = l(W).withConfig({
|
|
192
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubTitleWithTooltip"
|
|
193
|
+
})(["display:flex;flex-shrink:1;align-items:center;min-width:0;margin-right:4px;"]), rt = l.p.withConfig({
|
|
194
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledAfterTitle"
|
|
195
|
+
})(["flex-shrink:0;margin:0;margin-right:4px;white-space:'nowrap';overflow:'hidden';text-overflow:'ellipsis';", " color:", ";text-transform:uppercase;"], () => A(), () => E), pt = l.div.attrs({
|
|
196
|
+
className: d.headerActions
|
|
197
|
+
}).withConfig({
|
|
198
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledHeaderActions"
|
|
199
|
+
})(["display:inline-flex;align-items:center;flex-shrink:0;opacity:0;transition:opacity 0.3s ease;"]);
|
|
200
|
+
l.p.withConfig({
|
|
201
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitle"
|
|
202
|
+
})(["", " flex-shrink:1;margin:0;min-width:0;color:", ";"], () => A(), () => w);
|
|
203
|
+
l(K).withConfig({
|
|
204
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledSubtitleTypography"
|
|
205
|
+
})(["color:", ";"], () => w);
|
|
206
|
+
const ht = l(I).withConfig({
|
|
207
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledTitleLink"
|
|
208
|
+
})(["display:flex;min-width:0;flex-shrink:1;"]);
|
|
209
|
+
l(W).withConfig({
|
|
210
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyleSubtitledWithTooltip"
|
|
211
|
+
})(["flex-shrink:1;margin:0;min-width:0;"]);
|
|
212
|
+
const st = l.div.withConfig({
|
|
213
|
+
displayName: "AnalyticalWidgetHeaderstyled__StyledRightSlot"
|
|
214
|
+
})(["align-self:start;flex-shrink:0;"]), v = ({
|
|
215
|
+
title: t,
|
|
216
|
+
titleTooltipProps: i
|
|
217
|
+
}) => typeof t != "string" ? /* @__PURE__ */ e(D, { children: t }) : /* @__PURE__ */ e(nt, { tooltipText: t, tooltipProps: {
|
|
218
|
+
placement: "top",
|
|
219
|
+
...i
|
|
220
|
+
}, variant: "BodyM", bold: !0, style: {
|
|
221
|
+
color: C,
|
|
222
|
+
wordBreak: "normal"
|
|
223
|
+
}, lines: 1, children: t }), gt = ({
|
|
224
|
+
title: t,
|
|
225
|
+
titleTooltipProps: i,
|
|
226
|
+
badge: r,
|
|
227
|
+
badgeStyles: p,
|
|
228
|
+
subtitle: n,
|
|
229
|
+
subtitleTooltipProps: s,
|
|
230
|
+
infoTooltipText: a,
|
|
231
|
+
infoTooltipProps: g,
|
|
232
|
+
rightSlot: o,
|
|
233
|
+
className: y,
|
|
234
|
+
titleLinkProps: h
|
|
235
|
+
}) => /* @__PURE__ */ c(at, { className: m(d.header, y), children: [
|
|
236
|
+
/* @__PURE__ */ c(lt, { children: [
|
|
237
|
+
/* @__PURE__ */ c(dt, { children: [
|
|
238
|
+
t && h ? /* @__PURE__ */ e(ht, { underline: "none", ...h, children: /* @__PURE__ */ e(v, { title: t, titleTooltipProps: i }) }) : /* @__PURE__ */ e(v, { title: t, titleTooltipProps: i }),
|
|
239
|
+
r && /* @__PURE__ */ e(rt, { style: p, children: r }),
|
|
240
|
+
a && /* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(k, { trigger: "hover", placement: "top", text: a, target: /* @__PURE__ */ e(q, { size: "xs", style: {
|
|
241
|
+
cursor: "pointer",
|
|
242
|
+
color: w
|
|
243
|
+
} }), className: m(d.popoverInfo), ...g }) })
|
|
244
|
+
] }),
|
|
245
|
+
n && (typeof n == "string" ? /* @__PURE__ */ e(ot, { variant: "BodyXS", tooltipText: n, style: {
|
|
246
|
+
color: w,
|
|
247
|
+
wordBreak: "normal"
|
|
248
|
+
}, tooltipProps: {
|
|
249
|
+
placement: "top",
|
|
250
|
+
...s
|
|
251
|
+
}, lines: 1, children: n }) : n)
|
|
252
|
+
] }),
|
|
253
|
+
o && /* @__PURE__ */ e(st, { children: o })
|
|
254
|
+
] }), yt = (t) => {
|
|
255
|
+
const i = Q[t];
|
|
256
|
+
return {
|
|
257
|
+
xl: `
|
|
258
|
+
--analytical-widget-padding: ${i.xl.padding};
|
|
259
|
+
--analytical-widget-br: ${i.xl.borderRadius};
|
|
260
|
+
--analytical-widget-min-height: ${i.xl.minHeight};
|
|
261
|
+
--analytical-widget-min-width: ${i.xl.minWidth || "unset"};
|
|
262
|
+
--analytical-widget-max-width: ${i.xl.maxWidth || "unset"};
|
|
263
|
+
|
|
264
|
+
width: ${i.xl.width};
|
|
265
|
+
min-height: var(--analytical-widget-min-height);
|
|
266
|
+
height: 100%;
|
|
267
|
+
min-width: var(--analytical-widget-min-width);
|
|
268
|
+
max-width: var(--analytical-widget-max-width);
|
|
269
|
+
padding: var(--analytical-widget-padding);
|
|
270
|
+
border-radius: var(--analytical-widget-br);
|
|
271
|
+
`,
|
|
272
|
+
lg: `
|
|
273
|
+
--analytical-widget-padding: ${i.lg.padding};
|
|
274
|
+
--analytical-widget-br: ${i.lg.borderRadius};
|
|
275
|
+
--analytical-widget-min-height: ${i.lg.minHeight};
|
|
276
|
+
--analytical-widget-min-width: ${i.lg.minWidth || "unset"};
|
|
277
|
+
--analytical-widget-max-width: ${i.lg.maxWidth || "unset"};
|
|
278
|
+
|
|
279
|
+
width: ${i.lg.width};
|
|
280
|
+
min-height: var(--analytical-widget-min-height);
|
|
281
|
+
height: 100%;
|
|
282
|
+
min-width: var(--analytical-widget-min-width);
|
|
283
|
+
max-width: var(--analytical-widget-max-width);
|
|
284
|
+
padding: var(--analytical-widget-padding);
|
|
285
|
+
border-radius: var(--analytical-widget-br);
|
|
286
|
+
`,
|
|
287
|
+
md: `
|
|
288
|
+
--analytical-widget-padding: ${i.md.padding};
|
|
289
|
+
--analytical-widget-br: ${i.md.borderRadius};
|
|
290
|
+
--analytical-widget-min-height: ${i.md.minHeight};
|
|
291
|
+
--analytical-widget-min-width: ${i.md.minWidth || "unset"};
|
|
292
|
+
--analytical-widget-max-width: ${i.md.maxWidth || "unset"};
|
|
293
|
+
|
|
294
|
+
width: ${i.md.width};
|
|
295
|
+
min-height: var(--analytical-widget-min-height);
|
|
296
|
+
height: 100%;
|
|
297
|
+
min-width: var(--analytical-widget-min-width);
|
|
298
|
+
max-width: var(--analytical-widget-max-width);
|
|
299
|
+
padding: var(--analytical-widget-padding);
|
|
300
|
+
border-radius: var(--analytical-widget-br);
|
|
301
|
+
`
|
|
302
|
+
};
|
|
303
|
+
}, mt = l.article.withConfig({
|
|
304
|
+
displayName: "AnalyticalWidgetstyled__StyledWidget"
|
|
305
|
+
})(["--analytical-widget-bg:", ";display:flex;flex-direction:column;box-sizing:border-box;background:var(--analytical-widget-bg);&:hover{.", "{opacity:1;}}", " ", ""], j, d.headerActions, ({
|
|
306
|
+
$size: t
|
|
307
|
+
}) => {
|
|
308
|
+
const i = yt(t);
|
|
309
|
+
return S(["", " ", " ", " "], u.exact(0, 1439)(i.md), u.exact(1440, 1919)(i.lg), u.exact(1920, 1e5)(i.xl));
|
|
310
|
+
}, ({
|
|
311
|
+
$css: t
|
|
312
|
+
}) => t), ct = l(B).withConfig({
|
|
313
|
+
displayName: "AnalyticalWidgetstyled__StyledTopSlot"
|
|
314
|
+
})(["overflow:hidden;margin-top:8px;&:empty{margin-top:0;}&:has(.", "){margin-top:0;}"], d.selfSpacedTopSlot), xt = l.div.withConfig({
|
|
315
|
+
displayName: "AnalyticalWidgetstyled__StyledMiddleSlot"
|
|
316
|
+
})(["overflow:hidden;padding-top:8px;"]), wt = l.div.withConfig({
|
|
317
|
+
displayName: "AnalyticalWidgetstyled__StyledContent"
|
|
318
|
+
})(["position:relative;flex:1;min-height:30px;margin-top:8px;overflow-y:", ";"], ({
|
|
319
|
+
scrollable: t
|
|
320
|
+
}) => t ? "auto" : "visible"), f = ({
|
|
321
|
+
size: t = "l",
|
|
322
|
+
scrollable: i = !0,
|
|
323
|
+
headerSlot: r,
|
|
324
|
+
topSlot: p,
|
|
325
|
+
middleSlot: n,
|
|
326
|
+
contentSlot: s,
|
|
327
|
+
classes: a,
|
|
328
|
+
$css: g
|
|
329
|
+
}) => {
|
|
330
|
+
const o = U[t], y = O(r) && !!r.props.rightSlot;
|
|
331
|
+
return /* @__PURE__ */ c(mt, { $size: t, $css: g, className: m(d.root, y ? d.hasRightSlot : void 0, a == null ? void 0 : a.root), children: [
|
|
332
|
+
/* @__PURE__ */ e("div", { style: {
|
|
333
|
+
minHeight: "32px"
|
|
334
|
+
}, children: r }),
|
|
335
|
+
o.topSlot && p || o.middleSlot && n ? /* @__PURE__ */ c("div", { children: [
|
|
336
|
+
o.topSlot && p && /* @__PURE__ */ e(ct, { className: m(d.topSlot, a == null ? void 0 : a.topSlot), children: p }),
|
|
337
|
+
o.middleSlot && n && /* @__PURE__ */ e(xt, { className: m(d.middleSlot, a == null ? void 0 : a.middleSlot), children: n })
|
|
338
|
+
] }) : null,
|
|
339
|
+
/* @__PURE__ */ e(wt, { scrollable: i, className: m(d.contentSlot, a == null ? void 0 : a.contentSlot), children: s })
|
|
340
|
+
] });
|
|
341
|
+
};
|
|
342
|
+
f.Header = gt;
|
|
343
|
+
f.FilterIconButton = T;
|
|
344
|
+
f.DotsIconButton = b;
|
|
345
|
+
f.Chips = it;
|
|
346
|
+
export {
|
|
347
|
+
f as A,
|
|
348
|
+
d as a,
|
|
349
|
+
b,
|
|
350
|
+
it as c,
|
|
351
|
+
gt as d
|
|
352
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("@salutejs/sdds-finai"),e=require("react/jsx-runtime"),W=require("react"),r=require("@salutejs/sdds-themes/tokens/sdds_finai"),x=require("@salutejs/plasma-icons"),l=require("styled-components"),h=require("./AiAgentPopup-CLGSjg5L.cjs"),P=require("./EmptyState-D-bmtvmy.cjs"),R={DEFAULT:e.jsx(x.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(x.IconFocusOutline,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(x.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(x.IconCloseCircleFill,{size:"xs",color:r.textNegative})},_={DEFAULT:e.jsx(x.IconDoneCircleFill,{size:"xs",color:r.surfaceTransparentSecondary}),WAIT:e.jsx(x.IconInProgressFill,{size:"xs",color:r.textWarning}),SUCCESSFUL:e.jsx(x.IconDoneCircleFill,{size:"xs",color:r.surfacePositive}),FAILURE:e.jsx(x.IconCloseCircleFill,{size:"xs",color:r.textNegative})},q={DEFAULT:"inactive",WAIT:"active",SUCCESSFUL:"completed",FAILURE:"completed"},Y={DEFAULT:"default",WAIT:"warning",SUCCESSFUL:"positive",FAILURE:"negative"},O={LIFE_CYCLE:"Жизненный цикл",HISTORY:"История изменений"},I=l.div.withConfig({displayName:"styled__ApprovalCenterContainer"})(["min-width:360px;min-height:600px;width:100%;height:100%;border-radius:16px;display:flex;flex-direction:column;flex:1;padding:12px 4px 12px 16px;background:",";",""],()=>r.surfaceSolidCard,({$css:s})=>s),V=l.div.withConfig({displayName:"styled__ApprovalCenterContentWrapper"})(["margin-top:20px;min-height:0;flex-direction:column;display:flex;flex:1;"]),X=l.div.withConfig({displayName:"styled__PreviewContainer"})(["display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;"]),M=l.div.withConfig({displayName:"styled__LifeCycleContainer"})(["overflow-y:auto;min-height:0;flex:1;display:flex;flex-direction:column;padding-right:12px;"]),K=l.div.withConfig({displayName:"styled__LifeCycleAccordionTitle"})(["display:flex;align-items:center;gap:4px;"]),D=l.div.withConfig({displayName:"styled__LifeCycleStageContent"})(["> *:not(:first-child){margin-top:8px;}> .comment:not(:first-child){margin-top:2px;}"]),$=l.div.withConfig({displayName:"styled__LifeCycleAssignees"})(["display:flex;flex-direction:column;gap:8px;"]),B=l.div.withConfig({displayName:"styled__LifeCycleButtonsWrapper"})(["display:flex;gap:4px;"]),G=l.div.withConfig({displayName:"styled__LifeCycleStageButtonsWrapper"})(["display:flex;gap:16px;"]),E=l(o.Button).withConfig({displayName:"styled__LifeCycleStyledButton"})(["margin-top:8px;"]),J=l.div.withConfig({displayName:"styled__HistoryContainer"})(["display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;overflow-y:auto;padding-right:12px;"]),Q=l.div.withConfig({displayName:"styled__HistoryDay"})(["display:flex;flex-direction:column;gap:12px;"]),Z=l.div.withConfig({displayName:"styled__HistoryDate"})(["top:0px;position:sticky;display:flex;justify-content:center;width:100%;"]),ee=l.div.withConfig({displayName:"styled__HistoryActions"})(["display:flex;flex-direction:column;gap:12px;"]);l(o.Badge).withConfig({displayName:"styled__HistoryStyledBadge"})(["flex-shrink:0;white-space:nowrap;"]);const T=s=>{const{historyByDay:p}=s;return e.jsx(J,{children:p.map(c=>e.jsxs(Q,{children:[e.jsx(Z,{children:e.jsx(o.Badge,{size:"m",text:c.date,view:"light",customColor:r.textSecondary,customBackgroundColor:r.surfaceSolidCard})}),e.jsx(ee,{children:c.actions.map(i=>e.jsx(o.Cell,{size:"s",title:i.title,subtitle:i.time,contentLeft:R[i.status]}))})]},c.date))})};function d(s){return s!=null}function g(s){return Array.isArray(s)&&s.length>0}function te(s){const p=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"}),c=new Intl.DateTimeFormat("ru-RU",{hour:"2-digit",minute:"2-digit",hour12:!1}),i=new Date,t=new Map;for(const a of s){const n=new Date(a.actionDate),u=n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()&&n.getDate()===i.getDate()?"Сегодня":p.format(n),v=c.format(n),m={status:a.status,title:a.actionTitle,time:v};let y=t.get(u);y===void 0&&(y=[],t.set(u,y)),y.push(m)}return Array.from(t,([a,n])=>({date:a,actions:n}))}const w=s=>{const{lifeCycle:p}=s,c=p.map(i=>({title:i.title,status:q[i.status],completedItemView:Y[i.status],content:d(i.stages)?e.jsxs(e.Fragment,{children:[e.jsx(o.Accordion,{size:"s",view:"clear",defaultActiveEventKey:i.stages.reduce((t,a,n)=>(a.open&&t.push(n),t),[]),children:i.stages.map((t,a)=>e.jsx(o.AccordionItem,{contentLeft:d(t.tooltip)?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:_[t.status],trigger:"hover",placement:"top-start",text:t.tooltip.text})}):_[t.status],title:e.jsxs(K,{children:[e.jsx(h.Typography,{variant:"TextS",children:t.title}),d(t.mark)&&(t.mark.tooltip?e.jsx(o.ViewContainer,{view:"onDark",children:e.jsx(o.Tooltip,{maxWidth:250,offset:[2,11],target:t.mark.icon,trigger:"hover",placement:"top-start",text:t.mark.tooltip.text})}):t.mark.icon)]}),eventKey:a,children:e.jsxs(D,{children:[g(t.assignee)&&e.jsx($,{children:t.assignee.map(n=>e.jsx(h.Typography,{variant:"TextXS",bold:!0,color:r.textPrimary,children:n},n))}),d(t.comment)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textPrimary,children:t.comment}),g(t.buttons)&&e.jsx(G,{children:t.buttons.map(n=>e.jsx(o.LinkButton,{contentLeft:n.contentLeft,text:n.text,size:"xxs",onClick:n.onClick},n.text))}),d(t.actionTitle)&&e.jsx(h.Typography,{variant:"TextXS",color:r.textSecondary,children:t.actionTitle})]})},t.title))}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]}):e.jsxs(D,{children:[e.jsx(h.Typography,{variant:"BodyXS",color:r.textSecondary,children:i.actionTitle}),g(i.buttons)&&e.jsx(B,{children:i.buttons.map(t=>e.jsx(E,{text:t.text,contentLeft:t.contentLeft,view:"secondary",size:"xs"}))})]})}));return e.jsx(M,{children:e.jsx(o.Steps,{style:{paddingTop:"1px",height:"auto"},items:c,orientation:"vertical",size:"m"})})},L=s=>{const{preview:p}=s,{button:c,loading:i}=p??{},t=d(c);return e.jsx(X,{children:i?e.jsx(o.Spinner,{size:"l",view:"default"}):e.jsx(P.EmptyState,{size:"m",variant:"no-content",buttons:t?[{props:{text:c.text,children:c.text,view:"accent",onClick:c.onClick},type:"link"}]:void 0})})},ie=s=>{const{className:p,$css:c,preview:i,tabs:t,lifeCycle:a,history:n}=s,[f,u]=W.useState(t.active),v=t.available.length>1,m=t.available[0],y=m==="LIFE_CYCLE",N=m==="HISTORY",b=f==="LIFE_CYCLE",z=f==="HISTORY",S=d(a),H=d(n),A=d(i),j=H?te(n):null,F=d(j);if(v){const k=e.jsxs(V,{children:[S&&b&&e.jsx(w,{lifeCycle:a}),F&&z&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{className:p,$css:c,children:A?e.jsx(L,{preview:i}):e.jsxs(e.Fragment,{children:[e.jsx(o.Tabs,{view:"divider",size:"s",orientation:"horizontal",children:t.available.map(C=>e.jsx(o.TabItem,{view:"divider",size:"s",selected:C===f,onClick:()=>u(C),children:O[C]},C))}),k]})})}const U=e.jsxs(e.Fragment,{children:[S&&y&&e.jsx(w,{lifeCycle:a}),F&&N&&e.jsx(T,{historyByDay:j})]});return e.jsx(I,{children:A?e.jsx(L,{preview:i}):U})};exports.ApprovalCenter=ie;exports.History=T;exports.LifeCycle=w;exports.Preview=L;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button as q, Badge as k, Cell as G, Accordion as J, AccordionItem as Q, LinkButton as Z, ViewContainer as _, Tooltip as F, Steps as tt, Spinner as et, Tabs as it, TabItem as ot } from "@salutejs/sdds-finai";
|
|
2
2
|
import { jsx as t, jsxs as d, Fragment as w } from "react/jsx-runtime";
|
|
3
3
|
import { useState as nt } from "react";
|
|
4
|
-
import { textNegative as W, surfacePositive as R, textWarning as P, surfaceTransparentSecondary as Y, surfaceSolidCard as O, textSecondary as
|
|
4
|
+
import { textNegative as W, surfacePositive as R, textWarning as P, surfaceTransparentSecondary as Y, surfaceSolidCard as O, textSecondary as L, textPrimary as I } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
5
|
import { IconCloseCircleFill as j, IconDoneCircleFill as u, IconFocusOutline as st, IconInProgressFill as rt } from "@salutejs/plasma-icons";
|
|
6
6
|
import s from "styled-components";
|
|
7
|
-
import {
|
|
8
|
-
import { E as lt } from "./EmptyState-
|
|
7
|
+
import { a as f } from "./AiAgentPopup-CtMhai1X.mjs";
|
|
8
|
+
import { E as lt } from "./EmptyState-ZsOlvU4d.mjs";
|
|
9
9
|
const at = {
|
|
10
10
|
DEFAULT: /* @__PURE__ */ t(u, { size: "xs", color: Y }),
|
|
11
11
|
WAIT: /* @__PURE__ */ t(st, { size: "xs", color: P }),
|
|
@@ -68,7 +68,7 @@ const z = (n) => {
|
|
|
68
68
|
historyByDay: c
|
|
69
69
|
} = n;
|
|
70
70
|
return /* @__PURE__ */ t(ut, { children: c.map((r) => /* @__PURE__ */ d(vt, { children: [
|
|
71
|
-
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(k, { size: "m", text: r.date, view: "light", customColor:
|
|
71
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(k, { size: "m", text: r.date, view: "light", customColor: L, customBackgroundColor: O }) }),
|
|
72
72
|
/* @__PURE__ */ t(wt, { children: r.actions.map((i) => /* @__PURE__ */ t(G, { size: "s", title: i.title, subtitle: i.time, contentLeft: at[i.status] })) })
|
|
73
73
|
] }, r.date)) });
|
|
74
74
|
};
|
|
@@ -78,7 +78,7 @@ function a(n) {
|
|
|
78
78
|
function C(n) {
|
|
79
79
|
return Array.isArray(n) && n.length > 0;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Lt(n) {
|
|
82
82
|
const c = new Intl.DateTimeFormat("ru-RU", {
|
|
83
83
|
day: "numeric",
|
|
84
84
|
month: "long"
|
|
@@ -116,11 +116,11 @@ const H = (n) => {
|
|
|
116
116
|
C(e.assignee) && /* @__PURE__ */ t(xt, { children: e.assignee.map((o) => /* @__PURE__ */ t(f, { variant: "TextXS", bold: !0, color: I, children: o }, o)) }),
|
|
117
117
|
a(e.comment) && /* @__PURE__ */ t(f, { variant: "TextXS", color: I, children: e.comment }),
|
|
118
118
|
C(e.buttons) && /* @__PURE__ */ t(Ct, { children: e.buttons.map((o) => /* @__PURE__ */ t(Z, { contentLeft: o.contentLeft, text: o.text, size: "xxs", onClick: o.onClick }, o.text)) }),
|
|
119
|
-
a(e.actionTitle) && /* @__PURE__ */ t(f, { variant: "TextXS", color:
|
|
119
|
+
a(e.actionTitle) && /* @__PURE__ */ t(f, { variant: "TextXS", color: L, children: e.actionTitle })
|
|
120
120
|
] }) }, e.title)) }),
|
|
121
121
|
C(i.buttons) && /* @__PURE__ */ t(E, { children: i.buttons.map((e) => /* @__PURE__ */ t(N, { text: e.text, contentLeft: e.contentLeft, view: "secondary", size: "xs" })) })
|
|
122
122
|
] }) : /* @__PURE__ */ d(D, { children: [
|
|
123
|
-
/* @__PURE__ */ t(f, { variant: "BodyXS", color:
|
|
123
|
+
/* @__PURE__ */ t(f, { variant: "BodyXS", color: L, children: i.actionTitle }),
|
|
124
124
|
C(i.buttons) && /* @__PURE__ */ t(E, { children: i.buttons.map((e) => /* @__PURE__ */ t(N, { text: e.text, contentLeft: e.contentLeft, view: "secondary", size: "xs" })) })
|
|
125
125
|
] })
|
|
126
126
|
}));
|
|
@@ -152,10 +152,10 @@ const H = (n) => {
|
|
|
152
152
|
tabs: e,
|
|
153
153
|
lifeCycle: l,
|
|
154
154
|
history: o
|
|
155
|
-
} = n, [y, m] = nt(e.active), v = e.available.length > 1, h = e.available[0], p = h === "LIFE_CYCLE", X = h === "HISTORY", M = y === "LIFE_CYCLE", V = y === "HISTORY",
|
|
155
|
+
} = n, [y, m] = nt(e.active), v = e.available.length > 1, h = e.available[0], p = h === "LIFE_CYCLE", X = h === "HISTORY", M = y === "LIFE_CYCLE", V = y === "HISTORY", T = a(l), K = a(o), S = a(i), g = K ? Lt(o) : null, A = a(g);
|
|
156
156
|
if (v) {
|
|
157
157
|
const $ = /* @__PURE__ */ d(yt, { children: [
|
|
158
|
-
|
|
158
|
+
T && M && /* @__PURE__ */ t(H, { lifeCycle: l }),
|
|
159
159
|
A && V && /* @__PURE__ */ t(z, { historyByDay: g })
|
|
160
160
|
] });
|
|
161
161
|
return /* @__PURE__ */ t(B, { className: c, $css: r, children: S ? /* @__PURE__ */ t(U, { preview: i }) : /* @__PURE__ */ d(w, { children: [
|
|
@@ -164,7 +164,7 @@ const H = (n) => {
|
|
|
164
164
|
] }) });
|
|
165
165
|
}
|
|
166
166
|
return /* @__PURE__ */ t(B, { children: S ? /* @__PURE__ */ t(U, { preview: i }) : /* @__PURE__ */ d(w, { children: [
|
|
167
|
-
|
|
167
|
+
T && p && /* @__PURE__ */ t(H, { lifeCycle: l }),
|
|
168
168
|
A && X && /* @__PURE__ */ t(z, { historyByDay: g })
|
|
169
169
|
] }) });
|
|
170
170
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),S=require("../components/Box/index.cjs"),b=require("@salutejs/sdds-finai"),x=require("./AiAgentPopup-CLGSjg5L.cjs"),C=require("@salutejs/plasma-icons"),N=require("./utils-OQNruMpn.cjs"),c=require("@salutejs/sdds-themes/tokens/sdds_finai"),o=require("styled-components"),i={backButton:"block-title__back-button",container:"block-title__container",contentLeft:"block-title__content-left",description:"block-title__description",topBlock:"block-title__top-block",rightBlock:"block-title__right-block",title:"block-title__title",titleBlock:"block-title__title-block"},z=o.div.withConfig({displayName:"styled__BlockTitleContainer"})(["display:flex;justify-content:space-between;width:100%;gap:",";"],()=>c.spacing12x),j=o.div.withConfig({displayName:"styled__BlockTitleBlock"})(["display:flex;align-items:center;gap:",";margin-bottom:",";"],()=>c.spacing2x,()=>c.spacing2x),w=o.div.withConfig({displayName:"styled__BlockTitleCustomBlock"})(["width:100%;margin-bottom:",";"],()=>c.spacing2x),v=o(x.Typography).withConfig({displayName:"styled__BlockTitleDescription"})(["color:",";padding-left:",";"],()=>c.textSecondary,({$hasLeftSlot:t})=>t?"28px":"0"),L=o.div.withConfig({displayName:"styled__BlockTitleLeftBlock"})(["display:flex;min-height:100%;flex-direction:column;justify-content:end;"]),I=o.div.withConfig({displayName:"styled__BlockTitleRightBlock"})(["display:flex;min-height:100%;align-items:end;"]),q=o.div.withConfig({displayName:"styled__BlockTitleContentLeft"})(["display:flex;align-items:flex-start;gap:",";flex:1;min-width:0;"],()=>c.spacing8x),A=o.div.withConfig({displayName:"styled__BlockTitleBackButtonContainer"})(["margin-top:3px;"]),h={titleBadgeSize:"m",titleIconSize:"s"},D=t=>t==="H4"||t==="H5"?{titleBadgeSize:"s",titleIconSize:"xs"}:h,m=(t,l)=>({...l?D(t):h,buttonSize:l?"xs":"s",actionIconSize:l?"xs":"s"}),_=t=>t?"xxs":"xs",s=(t,l)=>typeof t=="function"?t(l):t,E=({title:t,titleSize:l="H2",titleTooltipProps:d,titleLeftSlot:r,titleRightSlot:k,description:B,topSlot:T,rightSlot:f,disableMediaAdaptive:u=!1,containerProps:n,onBackButtonClick:p})=>{const{down:y}=N.useBreakpoint(),g=!u&&y("xl"),a=m(l,g);return e.jsxs(S.Box,{...n,className:`${i.container} ${(n==null?void 0:n.className)??""}`,children:[e.jsx(w,{className:i.topBlock,children:s(T,a)}),e.jsxs(z,{children:[e.jsxs(q,{className:i.contentLeft,children:[p&&e.jsx(A,{className:i.backButton,children:e.jsx(b.IconButton,{size:_(g),view:"secondary",pin:"circle-circle",onClick:p,children:e.jsx(C.IconChevronLeft,{size:"xs",color:"inherit"})})}),e.jsxs(L,{children:[e.jsxs(j,{className:i.titleBlock,children:[s(r,a),e.jsx(x.TypographyWithAutoTooltip,{tooltipText:typeof t=="string"?t:void 0,variant:l,className:i.title,lines:2,tooltipProps:d,children:t}),s(k,a)]}),B&&e.jsx(v,{variant:"BodyS",className:i.description,$hasLeftSlot:!!r,children:B})]})]}),e.jsx(I,{className:i.rightBlock,children:s(f,a)})]})]})};exports.BlockTitle=E;exports.blockTitleClassNames=i;exports.getBlockTitleBackButtonSize=_;exports.getBlockTitleSlotSizes=m;exports.renderBlockTitleSlot=s;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as c, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { Box as x } from "../components/Box/index.mjs";
|
|
3
3
|
import { IconButton as b } from "@salutejs/sdds-finai";
|
|
4
|
-
import {
|
|
4
|
+
import { a as S, T as u } from "./AiAgentPopup-CtMhai1X.mjs";
|
|
5
5
|
import { IconChevronLeft as C } from "@salutejs/plasma-icons";
|
|
6
|
-
import {
|
|
6
|
+
import { e as N } from "./utils-Hu77fGGe.mjs";
|
|
7
7
|
import { spacing2x as d, spacing12x as w, spacing8x as z, textSecondary as v } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
8
8
|
import o from "styled-components";
|
|
9
9
|
const e = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as D } from "react/jsx-runtime";
|
|
2
|
-
import { b as n,
|
|
2
|
+
import { b as n, w as T } from "./utils-Hu77fGGe.mjs";
|
|
3
3
|
import A from "react";
|
|
4
4
|
import { Box as x } from "../components/Box/index.mjs";
|
|
5
5
|
import { borderRadiusM as h } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),i=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),i=require("./utils-OQNruMpn.cjs"),T=require("react"),u=require("../components/Box/index.cjs"),x=require("@salutejs/sdds-themes/tokens/sdds_finai"),t=require("styled-components"),a={wrapper:"container__wrapper",left:"container__wrapper_left",middle:"container__wrapper_middle",right:"container__wrapper_right"},m={MIN_COL_WIDTH:"360px",GAP:"24px",FIXED_WIDTH:"360px",MIN_FIXED_WIDTH:"240px"},f=e=>{switch(e){case"30/70":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),30%) minmax(0,1fr);"]);case"20/80":return t.css(["grid-template-columns:minmax(var(--container-min-col-width),20%) minmax(0,1fr);"]);case"70/30":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),30%);"]);case"80/20":return t.css(["grid-template-columns:minmax(0,1fr) minmax(var(--container-min-col-width),20%);"]);case"1/1":return t.css(["grid-template-columns:minmax(0,1fr) minmax(0,1fr);",""],i.media.down("xl")`
|
|
2
2
|
grid-template-columns: minmax(0, 1fr)
|
|
3
3
|
`);case"1/1/1":return t.css(["grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);",""],i.media.down("xl")`
|
|
4
4
|
grid-template-columns: minmax(0, 1fr)
|