@daisforge/ui 1.22.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-BJ5gD6Nx.mjs → FiltersActions-CS27WxA6.mjs} +15 -15
- 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-CfV2bs_4.mjs → ListOfFilters-CEWrWotU.mjs} +3 -3
- package/chunks/{ListOfFilters-mqTsQbq_.cjs → ListOfFilters-DNi-z1cn.cjs} +1 -1
- package/chunks/MassActions-DJiKcC6r.cjs +1 -0
- package/chunks/{MassActions-C6LY-g9r.mjs → MassActions-NLCRjIHw.mjs} +46 -46
- 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-vv1HTrxe.cjs → Table-CZludfzU.cjs} +6 -6
- package/chunks/{Table-tUWuA3Ri.mjs → Table-FrYs56BB.mjs} +1597 -1586
- package/chunks/{TableCanvas-BX5aciu7.mjs → TableCanvas-CasYPFSm.mjs} +5872 -5633
- 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/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/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/type.d.ts +3 -0
- 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-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-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/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 +19 -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/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 +31 -31
- 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 +13 -13
- 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/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 +34 -34
- 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/CanvasLink.d.ts +2 -2
- package/components/TableGlide/lib/canvas/primitives/CanvasText.d.ts +3 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +5 -5
- 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 +1 -104
- 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/index.cjs +3 -3
- package/components/TourWidget/index.mjs +14 -14
- 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 -1859
- 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 +1158 -206
- package/mixins/index.cjs +4 -4
- package/mixins/index.mjs +61 -54
- package/package.json +6 -6
- 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-Bg5wvHFG.cjs +0 -1
- package/chunks/MassActions-BTrj9l-R.cjs +0 -1
- package/chunks/PageTitle-CrBeieoq.cjs +0 -9
- package/chunks/Stories-UYVANawW.cjs +0 -1
- package/chunks/TableCanvas-qnwh4c5g.cjs +0 -30
- package/chunks/TableGlide-BLbbkn4C.mjs +0 -8154
- package/chunks/TableGlide-CZ2mkokV.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
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),h=require("../../chunks/EmptyState-D-bmtvmy.cjs"),x=require("@salutejs/plasma-icons"),t=require("@salutejs/sdds-themes/tokens/sdds_finai"),f=require("react"),g=require("../Autocomplete/index.cjs"),A=require("../../chunks/AiAgentPopup-CLGSjg5L.cjs"),a=require("styled-components"),q=a(g.Autocomplete).withConfig({displayName:"AutocompleteSearchstyled__StyledAutocomplete"})(["&&{.input-wrapper{background:",";box-shadow:none;}}"],()=>t.surfaceTransparentSecondary),w=a(A.Typography).withConfig({displayName:"AutocompleteSearchstyled__StyledBeforeList"})(["padding:10px 12px;color:",";"],()=>t.textSecondary),b=({placeholder:d="Поиск",size:c="s",value:s,onChange:p,handlerClear:i,onClear:S,disabled:y,readOnly:l,beforeListTotal:o,beforeListTotalEntity:u,...m})=>{const n=f.useRef(0);return r.jsx(q,{value:s,placeholder:d,size:c,view:"default",onChange:p,disabled:y,readOnly:l,beforeList:(typeof o=="number"||o)&&n.current&&r.jsxs(w,{variant:"BodyS",children:["Найдено",u?` ${u}`:"",":"," ",typeof o=="number"?o:n.current]}),renderList:e=>(n.current=(e==null?void 0:e.length)??0,e!=null&&e.length?void 0:r.jsx(h.EmptyState,{size:"s",title:"Ничего не нашлось",variant:"not-result",$css:{background:t.surfaceSolidCard,borderRadius:"10px",boxShadow:t.shadowDownSoftS,padding:"16px 0"}})),contentLeft:r.jsx(x.IconSearch,{color:t.textSecondary,size:c}),onClear:S??i,...m})};exports.AutocompleteSearch=b;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { E as l } from "../../chunks/EmptyState-
|
|
2
|
+
import { E as l } from "../../chunks/EmptyState-ZsOlvU4d.mjs";
|
|
3
3
|
import { IconSearch as x } from "@salutejs/plasma-icons";
|
|
4
4
|
import { surfaceTransparentSecondary as g, textSecondary as a, shadowDownSoftS as w, surfaceSolidCard as A } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
5
|
import { useRef as b } from "react";
|
|
6
6
|
import { Autocomplete as v } from "../Autocomplete/index.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { a as C } from "../../chunks/AiAgentPopup-CtMhai1X.mjs";
|
|
8
8
|
import c from "styled-components";
|
|
9
9
|
const _ = c(v).withConfig({
|
|
10
10
|
displayName: "AutocompleteSearchstyled__StyledAutocomplete"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),n=require("../../mixins/index.cjs"),_=require("../../chunks/utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),n=require("../../mixins/index.cjs"),_=require("../../chunks/utils-OQNruMpn.cjs"),s=require("react"),m=require("styled-components"),C={container:"blockGradientScroll_container"},S=(e,o)=>r=>{o.current=r,typeof e=="function"?e(r):e&&(e.current=r)},g=m.div.withConfig({displayName:"BlockGradientScroll__Container"})([""," ",""],({$css:e})=>e,({$variant:e})=>n.BlockGradientScrollMixin({variant:e})),B=s.forwardRef(({children:e,$css:o,className:r,style:u,variant:d="white",...f},y)=>{const c=s.useRef(null);s.useLayoutEffect(()=>{const t=c.current;if(!t)return;const l=()=>{const i=getComputedStyle(t);t.style.setProperty(n.BLOCK_GRADIENT_VAR_LEFT,i.paddingLeft),t.style.setProperty(n.BLOCK_GRADIENT_VAR_RIGHT,i.paddingRight),t.style.setProperty(n.BLOCK_GRADIENT_VAR_BOTTOM,i.paddingBottom)};l();const a=new ResizeObserver(l);return a.observe(t),()=>{a.disconnect()}},[]);const R=S(y,c);return p.jsx(g,{ref:R,$css:o,className:_.mergeClasses(C.container,r),style:u,$variant:d,...f,children:e})});exports.BlockGradientScroll=B;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { BLOCK_GRADIENT_VAR_LEFT as u, BLOCK_GRADIENT_VAR_RIGHT as _, BLOCK_GRADIENT_VAR_BOTTOM as y, BlockGradientScrollMixin as R } from "../../mixins/index.mjs";
|
|
3
|
-
import { m as C } from "../../chunks/utils-
|
|
3
|
+
import { m as C } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
4
4
|
import { forwardRef as B, useRef as G, useLayoutEffect as g } from "react";
|
|
5
5
|
import v from "styled-components";
|
|
6
6
|
const S = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/BlockTitle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/BlockTitle-CcYYHiOo.cjs");exports.BlockTitle=e.BlockTitle;exports.blockTitleClassNames=e.blockTitleClassNames;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/BlockTitle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/BlockTitle-CcYYHiOo.cjs");exports.getBlockTitleBackButtonSize=e.getBlockTitleBackButtonSize;exports.getBlockTitleSlotSizes=e.getBlockTitleSlotSizes;exports.renderBlockTitleSlot=e.renderBlockTitleSlot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),h=require("../Box/index.cjs"),K=require("../../chunks/utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),h=require("../Box/index.cjs"),K=require("../../chunks/utils-OQNruMpn.cjs"),i=require("react"),j=({orientation:l="vertical",isOpen:t,children:p,duration:r=.5,animation:e="linear",sizeOnClose:f="0px",sizeOnOpen:n,unMountOnClose:b,intContainerCss:c,extContainerCss:g})=>{var d;const o=i.useRef(null),$=K.useDebouncedValue(t,r*1e3),u=K.useDebouncedValue(t,0);if(b&&(!t&&!$))return null;const y=n??((d=o.current)==null?void 0:d[l==="vertical"?"clientHeight":"clientWidth"])??"200px",x=l==="vertical"?{reactCssKey:"height"}:{reactCssKey:"width"},s=l==="vertical"?{reactCssKey:"maxHeight",cssKey:"max-height"}:{reactCssKey:"maxWidth",cssKey:"max-width"};return a.jsx(h.Box,{className:"ext-container",$css:{[x.reactCssKey]:y,[s.reactCssKey]:f,transition:`${s.cssKey} ${r}s ${e!==null&&typeof e=="object"?e.close:e}`,overflow:"hidden",...u&&{[s.reactCssKey]:y,transition:`${s.cssKey} ${r}s ${e!==null&&typeof e=="object"?e.open:e}`},...g},children:a.jsx(h.Box,{ref:o,className:"int-container",$css:{[x.reactCssKey]:"fit-content",...c==null?void 0:c.always,...u&&(c==null?void 0:c.onOpen)},children:p})})};exports.Collapse=j;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Box as x } from "../Box/index.mjs";
|
|
3
|
-
import { u as K } from "../../chunks/utils-
|
|
3
|
+
import { u as K } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
4
4
|
import { useRef as v } from "react";
|
|
5
5
|
const D = ({
|
|
6
6
|
orientation: l = "vertical",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/Table-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/Table-CZludfzU.cjs");exports.Combobox=e.StyledCombobox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../chunks/EmptyState-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../chunks/EmptyState-D-bmtvmy.cjs");exports.EmptyStateButtonsGroup=t.EmptyStateButtonsGroup;exports.EmptyStateExtraButtonWrapper=t.EmptyStateExtraButtonWrapper;exports.EmptyStateImageRenderer=t.EmptyStateImageRenderer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/EmptyState-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/EmptyState-D-bmtvmy.cjs");exports.EmptyState=t.EmptyState;exports.emptyStateClassNames=t.emptyStateClassNames;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/GridDND-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/GridDND-Bwmr7gla.cjs");exports.GridDND=e.GridDND;exports.GridDNDClassNames=e.GridDNDClassNames;exports.fallbackCols=e.fallbackCols;exports.fallbackRowHeight=e.fallbackRowHeight;exports.gridItemPlaceholderMixin=e.gridItemPlaceholderMixin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/GridDND-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/GridDND-Bwmr7gla.cjs");exports.convertAreaToLayoutsInit=e.convertAreaToLayoutsInit;exports.findNearestSourceBp=e.findNearestSourceBp;exports.getBreakpointFromWidth=e.getBreakpointFromWidth;exports.gridWrapWordLike=e.gridWrapWordLike;exports.initSizeByType=e.initSizeByType;exports.isEmptyCell=e.isEmptyCell;exports.layoutsShallowEqual=e.layoutsShallowEqual;exports.orderBreakpointsDesc=e.orderBreakpointsDesc;exports.packByItemsOrder=e.packByItemsOrder;exports.pickWidestBreakpoint=e.pickWidestBreakpoint;exports.placeRectFirstFit=e.placeRectFirstFit;exports.readingOrder=e.readingOrder;exports.unlockAfterFrame=e.unlockAfterFrame;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as r, d as s, e as t, h as i, i as o, j as p, l as d, o as c, p as l, k as n, m as k, r as m, u } from "../../../chunks/GridDND-
|
|
1
|
+
import { c as r, d as s, e as t, h as i, i as o, j as p, l as d, o as c, p as l, k as n, m as k, r as m, u } from "../../../chunks/GridDND-DC5VoxEY.mjs";
|
|
2
2
|
export {
|
|
3
3
|
r as convertAreaToLayoutsInit,
|
|
4
4
|
s as findNearestSourceBp,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@salutejs/plasma-icons"),s=require("@salutejs/sdds-finai"),t=require("react/jsx-runtime"),u=require("../../chunks/utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@salutejs/plasma-icons"),s=require("@salutejs/sdds-finai"),t=require("react/jsx-runtime"),u=require("../../chunks/utils-OQNruMpn.cjs"),d=require("styled-components"),I=require("../Box/index.cjs"),B=require("@salutejs/sdds-themes/tokens/sdds_finai"),x=({dropdownProps:o,iconSize:e,iconOrientation:r="horizontal",...i})=>{const c=r==="vertical"?l.IconDotsVerticalCenteredOutline:l.IconDotsHorizontalOutline,n=t.jsx(s.IconButton,{view:"secondary",size:"s",...i,children:t.jsx(c,{size:e??"s"})});return o?t.jsx(s.Dropdown,{...o,children:n}):n},j=({visible:o,topLeft:e})=>t.jsx(I.Box,{$css:{position:"absolute",top:e??0,right:e??0,width:"6px",aspectRatio:"1",borderRadius:"50%",transition:u.DEFAULT_TRANSITION,backgroundColor:"transparent",transform:"scale(0)",...o&&{backgroundColor:B.surfaceNegative,transform:"scale(1)"}}}),m=d(s.IconButton).withConfig({displayName:"IconButtonFilter__StyledIconButton"})(["position:relative;"]),a={root:"IconButtonFilter__root"},g=({redSquare:o,dropdownProps:e,iconSize:r,className:i,...c})=>{const n=t.jsxs(m,{view:"secondary",size:"s",redSquare:o,...c,children:[t.jsx(l.IconSettingsFilter,{size:r??"s"}),t.jsx(j,{visible:o})]});return e?t.jsx(s.Dropdown,{className:u.mergeClasses(a.root,i),...e,children:n}):n};Object.defineProperty(exports,"IconButton",{enumerable:!0,get:()=>s.IconButton});exports.IconButtonDots=x;exports.IconButtonFilter=g;exports.iconButtonFilterClassNames=a;
|
|
@@ -2,7 +2,7 @@ import { IconDotsVerticalCenteredOutline as l, IconDotsHorizontalOutline as m, I
|
|
|
2
2
|
import { IconButton as c, Dropdown as a } from "@salutejs/sdds-finai";
|
|
3
3
|
import { IconButton as R } from "@salutejs/sdds-finai";
|
|
4
4
|
import { jsx as n, jsxs as I } from "react/jsx-runtime";
|
|
5
|
-
import { D as f, m as d } from "../../chunks/utils-
|
|
5
|
+
import { D as f, m as d } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
6
6
|
import p from "styled-components";
|
|
7
7
|
import { Box as B } from "../Box/index.mjs";
|
|
8
8
|
import { surfaceNegative as h } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-upGFk7jM.cjs");exports.LeftPanelToggleButton=e.LeftPanelToggleButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-upGFk7jM.cjs");exports.useResize=e.useResize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/LeftPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/LeftPanel-upGFk7jM.cjs");exports.LeftPanel=e.LeftPanel;exports.LeftPanelToggleButton=e.LeftPanelToggleButton;exports.toggleButtonClassNames=e.toggleButtonClassNames;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/LeftPanel-upGFk7jM.cjs");exports.getLeftPanelMinWidth=e.getLeftPanelMinWidth;exports.getLeftPanelSlotSizes=e.getLeftPanelSlotSizes;exports.renderLeftPanelSlot=e.renderLeftPanelSlot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../chunks/ListOfFilters-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../chunks/ListOfFilters-DNi-z1cn.cjs");exports.ListOfFilters=s.ListOfFilters;exports.isGroup=s.isGroup;exports.listOfFiltersClassNames=s.listOfFiltersClassNames;exports.useFiltersList=s.useFiltersList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../chunks/MassActions-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../chunks/MassActions-DJiKcC6r.cjs");exports.useMassActionsButtons=s.useMassActionsButtons;exports.useMassActionsCollapse=s.useMassActionsCollapse;exports.useMassActionsCompression=s.useMassActionsCompression;exports.useMassActionsContainer=s.useMassActionsContainer;exports.useMassActionsEffects=s.useMassActionsEffects;exports.useMassActionsPosition=s.useMassActionsPosition;exports.useMassActionsSidebar=s.useMassActionsSidebar;exports.useMassActionsVisibility=s.useMassActionsVisibility;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as o, k as i, l as t, m as e, n, o as u, p as c, q as A } from "../../../chunks/MassActions-
|
|
1
|
+
import { u as o, k as i, l as t, m as e, n, o as u, p as c, q as A } from "../../../chunks/MassActions-NLCRjIHw.mjs";
|
|
2
2
|
export {
|
|
3
3
|
o as useMassActionsButtons,
|
|
4
4
|
i as useMassActionsCollapse,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("../../chunks/MassActions-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("../../chunks/MassActions-DJiKcC6r.cjs");exports.ACTION_BUTTON_WIDTH_ESTIMATE=A.ACTION_BUTTON_WIDTH_ESTIMATE;exports.ANIMATION_COMPLETE_DELAY=A.ANIMATION_COMPLETE_DELAY;exports.ANIMATION_DURATION=A.ANIMATION_DURATION;exports.COLLAPSE_BUTTON_WIDTH=A.COLLAPSE_BUTTON_WIDTH;exports.COMPRESSION_CALCULATION_DELAY=A.COMPRESSION_CALCULATION_DELAY;exports.CONTAINER_PADDING_HORIZONTAL=A.CONTAINER_PADDING_HORIZONTAL;exports.COUNTER_WIDTH_ESTIMATE=A.COUNTER_WIDTH_ESTIMATE;exports.DELAY_BEFORE_SHOW_PANEL=A.DELAY_BEFORE_SHOW_PANEL;exports.ELEMENTS_GAP=A.ELEMENTS_GAP;exports.INITIAL_POSITION_CALCULATION_DELAY=A.INITIAL_POSITION_CALCULATION_DELAY;exports.MIN_PANEL_PADDING=A.MIN_PANEL_PADDING;exports.MORE_BUTTON_WIDTH_ESTIMATE=A.MORE_BUTTON_WIDTH_ESTIMATE;exports.MassActions=A.MassActions;exports.MassActionsButton=A.MassActionsButton;exports.MassActionsCounter=A.MassActionsCounter;exports.PANEL_PADDING_COLLAPSED=A.PANEL_PADDING_COLLAPSED;exports.PANEL_PADDING_EXPANDED=A.PANEL_PADDING_EXPANDED;exports.RESET_BUTTON_WIDTH_ESTIMATE=A.RESET_BUTTON_WIDTH_ESTIMATE;exports.TOGGLE_SIDEBAR_PANEL_WIDTH=A.TOGGLE_SIDEBAR_PANEL_WIDTH;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as E, a as _, b as I, C as N, c as s, d as O, e as D, D as a, E as L, I as P, f as M, g as C, M as S, h as R, i as H, P as U, j as o, R as t, T as B } from "../../chunks/MassActions-
|
|
1
|
+
import { A as E, a as _, b as I, C as N, c as s, d as O, e as D, D as a, E as L, I as P, f as M, g as C, M as S, h as R, i as H, P as U, j as o, R as t, T as B } from "../../chunks/MassActions-NLCRjIHw.mjs";
|
|
2
2
|
export {
|
|
3
3
|
E as ACTION_BUTTON_WIDTH_ESTIMATE,
|
|
4
4
|
_ as ANIMATION_COMPLETE_DELAY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@salutejs/sdds-finai"),o=require("react/jsx-runtime"),v=require("@salutejs/plasma-icons"),h=require("../../constants/index.cjs"),d=require("styled-components"),X=require("../../chunks/Container-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@salutejs/sdds-finai"),o=require("react/jsx-runtime"),v=require("@salutejs/plasma-icons"),h=require("../../constants/index.cjs"),d=require("styled-components"),X=require("../../chunks/Container-bVqI3en9.cjs"),x=require("@salutejs/sdds-themes/tokens/sdds_finai"),g=require("../Box/index.cjs"),u=require("react"),t={cardWrapper:"modalDF_card-wrapper",container:"modalDF_container",root:"modalDF_root",left:"modalDF_left",main:"modalDF_main-container",serviceButtons:"modalDF_service-buttons",header:"modalDF_header",headerTitlesContainer:"modalDF_header-title-container",backIconButton:"modalDF_back-icon-button",headerTitlesBox:"modalDF_header-titles-box",headerTitle:"modalDF_header-title",headerSubTitle:"modalDF_header-subTitle",headerRightBlock:"modalDF_header-right-block",footer:"modalDF_footer",mainFooterLeft:"modalDF_footer-left",mainFooterRight:"modalDF_footer-right",content:"modalDF_content"},p=({iconSize:e,...s})=>o.jsx(m.IconButton,{view:"secondary",size:"xs",pin:"circle-circle",className:t.backIconButton,...s,children:o.jsx(v.IconArrowLeft,{size:"xs",...s.size==="s"&&{size:s.size},...e&&{size:e}})}),P={spaceX4:()=>h.s.x4},b=d(m.Divider).attrs({length:"16px",orientation:"vertical"}).withConfig({displayName:"Divider"})(["margin-inline:",";"],P.spaceX4),B=({dropdownProps:e,iconSize:s,...n})=>{const i=o.jsx(m.IconButton,{view:"secondary",size:"xs",...n,children:o.jsx(v.IconDotsVerticalCenteredOutline,{size:"xs",...n.size==="s"&&{size:n.size},...s&&{size:s}})});return e?o.jsx(m.Dropdown,{...e,children:i}):i},a={spaceX:()=>h.s.x8,spaceY:()=>h.s.x8,spaceX24:()=>h.s.x24,spaceX8:()=>h.s.x8,spaceX1:()=>h.s.x1,spaceX12:()=>h.s.x12,borderRadius:()=>h.br.m,bg:()=>x.surfaceSolidCard},R=d(X.Container).attrs({className:t.root}).withConfig({displayName:"styled__StyledContainer"})(["&,& *{box-sizing:border-box;}&{view-transition-name:",";display:grid;min-width:400px;max-width:calc(","px - 32px);max-height:calc(100vh - 32px);position:relative;background:",";box-shadow:",";border-radius:",";"," & > div:not(.","):not(.","){max-height:inherit;}&:not(:has(.",")){.","{margin-left:",";}}","}"],t.root,h.breakP.xl-32,a.bg,()=>x.shadowUpSoftL,a.borderRadius,()=>x.bodyS,t.left,t.main,t.left,t.main,a.spaceX,({$fullScreened:e})=>e&&d.css(["width:calc(100vw - 32px);height:calc(100vh - 32px);"])),w=d.css(["overflow:hidden;margin-block:",";max-height:calc(100% - "," - ",");&:not(:has(.",")){overflow-y:scroll;& .","{position:sticky;background-color:",";top:0px;}}"],a.spaceY,a.spaceY,a.spaceY,t.content,t.header,a.bg),_=d(g.Box).attrs({className:t.left}).withConfig({displayName:"styled__StyledLeft"})(["&.","{margin-left:",";"," display:flex;flex-direction:column;& .","{& .","{display:none;}}& .","{}}"],t.left,a.spaceX,w,t.header,t.serviceButtons,t.content),k=d(g.Box).attrs({className:t.main}).withConfig({displayName:"styled__StyledMain"})(["&.","{margin-right:",";"," height:100%;display:flex;flex-direction:column;}"],t.main,a.spaceX,w),L=d(g.Box).attrs({className:t.header}).withConfig({displayName:"styled__StyledHeader"})(["&.","{flex-shrink:0;height:fit-content;min-height:",";padding-bottom:",";display:flex;justify-content:space-between;align-items:center;column-gap:",";& .","{display:flex;gap:",";align-content:flex-start;}& .","{display:flex;flex-direction:column;row-gap:",";& .","{padding:0px;margin:0px;color:",";",";}& .","{padding:0px;margin:0px;color:",";",";}}& .","{flex-shrink:0;}& .","{display:flex;height:fit-content;align-items:center;margin-bottom:auto;}}"],t.header,a.spaceX24,a.spaceY,a.spaceX12,t.headerTitlesContainer,a.spaceX8,t.headerTitlesBox,a.spaceX1,t.headerTitle,()=>x.textPrimary,()=>x.h4Bold,t.headerSubTitle,()=>x.textSecondary,()=>x.bodyS,t.backIconButton,t.headerRightBlock),N=d(g.Box).attrs({className:t.content}).withConfig({displayName:"styled__StyledContent"})(["&{flex-grow:1;overflow-y:auto;overflow-x:hidden;}"]),q=d(g.Box).attrs({className:t.footer}).withConfig({displayName:"styled__StyledMainFooter"})(["&.","{flex-shrink:0;height:fit-content;padding-top:",";display:flex;justify-content:space-between;}"],t.footer,a.spaceX);function M({leftBlock:e,rightBlock:s,...n}){return o.jsxs(q,{...n,children:[o.jsx("div",{className:t.mainFooterLeft,children:e}),o.jsx("div",{className:t.mainFooterRight,children:s})]})}const S=u.createContext(!1),I=u.createContext(null),z=u.createContext(null),A=({children:e,fullScreened:s,toggleFullScreen:n,onClose:i})=>o.jsx(z.Provider,{value:i??null,children:o.jsx(S.Provider,{value:s,children:o.jsx(I.Provider,{value:n,children:e})})}),H=d(g.Box).attrs({className:t.serviceButtons}).withConfig({displayName:"ServiceButtons__StyledServiceButtons"})(["display:inline-flex;column-gap:",";background-color:",";"],h.s.x2,({hasBackground:e})=>e?x.surfaceSolidCard:"transparent"),j=({hasBackground:e=!0,...s})=>{const n=u.useContext(S),i=u.useContext(I),c=u.useContext(z),r=n!==null,l=n?v.IconFullscreenOff:v.IconFullscreenOn;return o.jsxs(H,{hasBackground:e,...s,children:[r&&o.jsx(m.IconButton,{onClick:i??void 0,size:"xs",view:"secondary",pin:"circle-circle",title:n?"Выйти из полноэкранного режима":"На весь экран",children:o.jsx(l,{size:"xs"})}),o.jsx(m.IconButton,{onClick:c??void 0,size:"xs",view:"secondary",pin:"circle-circle",title:"Закрыть",children:o.jsx(v.IconClose,{size:"xs"})})]})},Y=d(m.Badge).attrs({view:"light"}).withConfig({displayName:"Header__StyledBadge"})([""]);function O({title:e,badge:s,subTitle:n,rightBlock:i,onBackClick:c,showServiceButtons:r=!0,showBackButton:l=!1,...f}){return o.jsxs(L,{...f,children:[o.jsxs("div",{className:t.headerTitlesContainer,children:[l&&o.jsx(p,{onClick:c}),o.jsxs("div",{className:t.headerTitlesBox,children:[e&&o.jsxs("h3",{className:t.headerTitle,children:[e,s&&o.jsxs(o.Fragment,{children:[" ",o.jsx(Y,{view:"light",...s})]})]}),n&&o.jsx("p",{className:t.headerSubTitle,children:n})]})]}),o.jsxs("div",{className:t.headerRightBlock,children:[i,i&&o.jsx(b,{}),r&&o.jsx(j,{})]})]})}const V=e=>{const s=e.closeOnOverlayClick??!0;return{closeOnOverlayClick:s,closeOnEsc:!0,overlay:o.jsx(m.Overlay,{onOverlayClick:n=>{var i;e!=null&&e.onOverlayClick?e.onOverlayClick(n):s&&((i=e==null?void 0:e.onClose)==null||i.call(e))},zIndex:e.zIndexOverlay??"9000",backgroundColorProperty:"#060A0C47"}),hasBody:!1}};function W(e){const s=[t.left,t.main];return!!e&&Array.isArray(e)&&s.every(n=>e.some(i=>{var c,r,l;return(l=(r=(c=i==null?void 0:i.type)==null?void 0:c.attrs)==null?void 0:r[1].className)==null?void 0:l.includes(n)}))}const D=e=>e?typeof e=="object"?e.defaultEnabled??!1:!1:null,$=(e,s)=>{const[n,i]=u.useState(()=>D(e)),c=e&&typeof e=="object"&&e.saveStateAfterClosing;u.useEffect(()=>{!s&&!c&&i(D(e))},[s]);const r=u.useCallback(()=>{var f;if(!e)return;const l=()=>i(y=>{var C,F;return typeof e!="boolean"&&(y?(F=e==null?void 0:e.onExitFullScreen)==null||F.call(e):(C=e==null?void 0:e.onFullScreen)==null||C.call(e)),!y});document.startViewTransition||l(),(f=document.startViewTransition)==null||f.call(document,l)},[]);return{fullScreened:n,toggleFullScreen:r}},U=u.forwardRef((e,s)=>{const{fullScreen:n,contentContainerProps:i,children:c,...r}=e,{fullScreened:l,toggleFullScreen:f}=$(n,r.opened),y=W(c),C=y?{split:!0,view:"30/70"}:{stretch:!0},F=y?c:o.jsx("div",{children:c});return o.jsx(m.PopupProvider,{children:o.jsx(A,{onClose:r.onClose,fullScreened:l,toggleFullScreen:f,children:o.jsx(m.Modal,{ref:s,...V(e),...r,children:o.jsx(R,{className:t.container,$fullScreened:!!l,roundedInner:!1,...C,...i,children:F})})})})}),T=Object.assign(U,{Left:_,Main:k,Header:O,Footer:M,Content:N,Divider:b,ServiceButtons:j,DotsIconButton:B,BackIconButton:p});T.displayName="ModalDF";exports.ModalDF=T;exports.ModalDFBackIconButton=p;exports.ModalDFContent=N;exports.ModalDFDivider=b;exports.ModalDFDotsIconButton=B;exports.ModalDFFooter=M;exports.ModalDFHeader=O;exports.ModalDFLeft=_;exports.ModalDFMain=k;exports.ModalDFServiceButtons=j;exports.modalDFClassNames=t;
|
|
@@ -3,7 +3,7 @@ import { jsx as i, jsxs as h, Fragment as A } from "react/jsx-runtime";
|
|
|
3
3
|
import { IconArrowLeft as R, IconDotsVerticalCenteredOutline as j, IconFullscreenOff as H, IconFullscreenOn as Y, IconClose as V } from "@salutejs/plasma-icons";
|
|
4
4
|
import { s as m, breakP as $, br as W } from "../../constants/index.mjs";
|
|
5
5
|
import d, { css as b } from "styled-components";
|
|
6
|
-
import { C as U } from "../../chunks/Container-
|
|
6
|
+
import { C as U } from "../../chunks/Container-C7PzvUwd.mjs";
|
|
7
7
|
import { textPrimary as q, h4Bold as G, textSecondary as J, bodyS as D, surfaceSolidCard as w, shadowUpSoftL as K } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
8
8
|
import { Box as u } from "../Box/index.mjs";
|
|
9
9
|
import { createContext as C, useContext as F, useState as Q, useEffect as Z, useCallback as E, forwardRef as ee } from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@salutejs/sdds-finai"),o=require("../../chunks/styles-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@salutejs/sdds-finai"),o=require("../../chunks/styles-CpC_FuBg.cjs"),n=require("../../chunks/utils-OQNruMpn.cjs"),a=require("react/jsx-runtime"),l=require("react"),c=({backgroundColor:e,titleColor:i,view:t})=>n.mCls(o.cls.wrapper,!!e&&o.cls.hasBackground,!!i&&o.cls.hasTitleColor,o.cls.hasBorderColor,t&&t in o.cls&&o.cls[t]);function d({id:e,...i},t){const s=c(i);return r.addNotification({id:e,...i,className:s},t)}const u=l.forwardRef((e,i)=>{const t=c(e);return a.jsx(r.Notification,{...e,ref:i,className:t})});Object.defineProperty(exports,"NotificationsProvider",{enumerable:!0,get:()=>r.NotificationsProvider});Object.defineProperty(exports,"closeNotification",{enumerable:!0,get:()=>r.closeNotification});exports.Notification=u;exports.addNotification=d;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addNotification as c, Notification as n } from "@salutejs/sdds-finai";
|
|
2
2
|
import { NotificationsProvider as B, closeNotification as $ } from "@salutejs/sdds-finai";
|
|
3
|
-
import { c as a } from "../../chunks/styles-
|
|
4
|
-
import {
|
|
3
|
+
import { c as a } from "../../chunks/styles-CJPkBVWK.mjs";
|
|
4
|
+
import { x as f } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
5
5
|
import { jsx as m } from "react/jsx-runtime";
|
|
6
6
|
import { forwardRef as d } from "react";
|
|
7
7
|
const r = ({
|
|
@@ -9,7 +9,7 @@ const r = ({
|
|
|
9
9
|
titleColor: t,
|
|
10
10
|
view: o
|
|
11
11
|
}) => f(a.wrapper, !!i && a.hasBackground, !!t && a.hasTitleColor, a.hasBorderColor, o && o in a && a[o]);
|
|
12
|
-
function
|
|
12
|
+
function x({
|
|
13
13
|
id: i,
|
|
14
14
|
...t
|
|
15
15
|
}, o) {
|
|
@@ -20,13 +20,13 @@ function C({
|
|
|
20
20
|
className: s
|
|
21
21
|
}, o);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const C = d((i, t) => {
|
|
24
24
|
const o = r(i);
|
|
25
25
|
return /* @__PURE__ */ m(n, { ...i, ref: t, className: o });
|
|
26
26
|
});
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
C as Notification,
|
|
29
29
|
B as NotificationsProvider,
|
|
30
|
-
|
|
30
|
+
x as addNotification,
|
|
31
31
|
$ as closeNotification
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/PageTitle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/PageTitle-Bg4PNEXS.cjs");exports.PageTitle=e.PageTitle;exports.pageTitleClassNames=e.pageTitleClassNames;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/PageTitle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../chunks/PageTitle-Bg4PNEXS.cjs");exports.getPageTitleSlotSizes=e.getPageTitleSlotSizes;exports.renderPageTitleSlot=e.renderPageTitleSlot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),_=require("../Box/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),_=require("../Box/index.cjs"),L=require("@salutejs/sdds-finai/beta"),a=require("../../constants/index.cjs"),m=require("@salutejs/sdds-themes/tokens/sdds_finai"),r=require("styled-components"),O=require("@salutejs/sdds-finai"),I=require("../../chunks/AiAgentPopup-CLGSjg5L.cjs"),B=require("@salutejs/plasma-icons"),l=require("react"),c={m:{titleDescriptionGap:a.s.x2,sectionInnerGap:a.s.x4,sectionGap:a.s.x6,contentPaddingY:a.s.x6,contentPaddingX:"14px"},s:{titleDescriptionGap:a.s.x1,sectionInnerGap:a.s.x4,sectionGap:a.s.x4,contentPaddingY:a.s.x4,contentPaddingX:"10px"}},f={bg:()=>m.surfaceSolidCard,radius:()=>a.br.l,titleColor:()=>m.textPrimary,descriptionColor:()=>m.textSecondary,shadow:()=>m.shadowDownHardS},W=r(L.Popover).withConfig({displayName:"styled__StyledPopover"})(["&.popover-root{padding:0;border-radius:10px;box-shadow:",";}"],f.shadow),Y=r.div.withConfig({displayName:"styled__StyledContainer"})(["display:flex;flex-direction:column;gap:",";width:100%;height:100%;min-width:0;min-height:0;padding:",";background:",";border-radius:",";overflow:hidden;"],({$size:t})=>c[t].sectionGap,({$size:t})=>`${c[t].contentPaddingY} ${c[t].contentPaddingX}`,f.bg,f.radius),V=r(_.Box).withConfig({displayName:"styled__StyledHeader"})(["flex-shrink:0;display:grid;grid-template-columns:1fr auto;grid-template-areas:'content actions' 'bottom bottom';align-items:start;column-gap:",";"],({$size:t})=>c[t].sectionInnerGap),J=r.div.withConfig({displayName:"styled__StyledHeaderContent"})(["grid-area:content;min-width:0;"]),K=r.div.withConfig({displayName:"styled__StyledHeaderTitle"})(["color:",";min-width:0;"],f.titleColor),Q=r.div.withConfig({displayName:"styled__StyledHeaderDescription"})(["margin-top:",";color:",";min-width:0;"],({$size:t})=>c[t].titleDescriptionGap,f.descriptionColor),U=r.div.withConfig({displayName:"styled__StyledHeaderActions"})(["grid-area:actions;display:inline-flex;align-items:center;column-gap:",";"],({$size:t})=>c[t].sectionInnerGap),Z=r.div.withConfig({displayName:"styled__StyledHeaderBottom"})(["grid-area:bottom;margin-top:",";"],({$size:t})=>c[t].sectionInnerGap),E=r(_.Box).withConfig({displayName:"styled__StyledBody"})(["flex:1 1 auto;min-height:0;min-width:0;overflow:auto;"]),tt=r(_.Box).withConfig({displayName:"styled__StyledFooter"})(["flex-shrink:0;min-width:0;"]);function F({children:t,...e}){return n.jsx(E,{...e,children:t})}function H({children:t,...e}){return n.jsx(tt,{...e,children:t})}const R=l.createContext({onClose:null,size:"m"}),et=()=>l.useContext(R);function G({title:t,description:e,bottomBlock:o,showCloseButton:i=!0,onClose:d,...p}){const{onClose:u,size:s}=et(),y=d??u,x=i&&!!y,C=s==="s"?"BodyXS":"BodyM",v=s==="s"?"BodyXXS":"BodyXS",b=s==="s"?"xxs":"xs",S="xs",h=typeof e=="string"||typeof e=="number";return n.jsxs(V,{$size:s,...p,children:[n.jsxs(J,{children:[t&&n.jsx(K,{children:n.jsx(I.TypographyWithAutoTooltip,{variant:C,bold:!0,lines:2,tooltipText:typeof t=="string"?t:void 0,children:t})}),e&&n.jsx(Q,{$size:s,children:h?n.jsx(I.TypographyWithAutoTooltip,{variant:v,lines:2,tooltipText:e,children:e}):e})]}),x&&n.jsx(U,{$size:s,children:n.jsx(O.IconButton,{onClick:y,size:b,view:"secondary",pin:"circle-circle",title:"Закрыть",children:n.jsx(B.IconClose,{size:S})})}),o&&n.jsx(Z,{$size:s,children:o})]})}const P="s",N=["top-left","top-right","bottom-left","bottom-right"],ot=t=>{switch(t){case"top-end":return"top-left";case"top":case"top-start":return"top-right";case"bottom-end":return"bottom-left";case"bottom":case"bottom-start":case void 0:return"bottom-right";case"left-end":return"top-left";case"left":case"left-start":return"bottom-left";case"right-end":return"top-right";case"right":case"right-start":return"bottom-right";default:return"bottom-right"}},q=t=>[t],g=(t,e=P)=>{const o={};return t.includes("left")&&(o.transform="scaleX(-1)"),t.includes("top")&&(o.transform=o.transform?"scale(-1, -1)":"scaleY(-1)"),n.jsx(B.IconResizeCorneredFill,{color:m.textTertiary,size:e,style:o})},X=(t,e)=>({topLeft:(t==null?void 0:t.topLeft)||g("top-left",e),topRight:(t==null?void 0:t.topRight)||g("top-right",e),bottomLeft:(t==null?void 0:t.bottomLeft)||g("bottom-left",e),bottomRight:(t==null?void 0:t.bottomRight)||g("bottom-right",e)}),z=t=>({directions:q(t),icons:X(void 0,P),hiddenIcons:N.filter(e=>e!==t),minWidth:240,minHeight:120,iconSize:P}),nt=(t,e)=>{if(!t)return t;if(t===!0)return z(e);const o=t,i=z(e),d=o.directions??i.directions??q(e),p=o.hiddenIcons??(o.directions?N.filter(u=>!d.includes(u)):i.hiddenIcons);return{...i,...o,directions:d,icons:X(o.icons,o.iconSize),hiddenIcons:p,iconSize:o.iconSize??i.iconSize}},it=(t,e)=>nt(t,ot(e)),st=l.forwardRef(({children:t,opened:e,defaultOpened:o=!1,onToggle:i,size:d="m",placement:p,hasTail:u=!0,resizable:s,target:y,...x},C)=>{const[v,b]=l.useState(o),S=e===void 0?v:e,h=l.useCallback(D=>{e===void 0&&b(D),i==null||i(D)},[i,e]),T=l.useCallback(()=>{h(!1)},[h]),w=p??"bottom",$=l.useMemo(()=>it(s,w),[s,w]),j=e===void 0||i?T:null,k=l.useMemo(()=>({onClose:j,size:d}),[j,d]),M=n.jsx(Y,{$size:d,children:t});return n.jsx(R.Provider,{value:k,children:n.jsx(W,{...x,ref:C,target:y,opened:S,onToggle:h,size:d,placement:w,resizable:$,hasTail:u,children:M})})}),A=Object.assign(st,{Header:G,Body:F,Footer:H});A.displayName="PopoverDF";exports.PopoverDF=A;exports.PopoverDFBody=F;exports.PopoverDFFooter=H;exports.PopoverDFHeader=G;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as i, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import { Box as C } from "../Box/index.mjs";
|
|
3
3
|
import { Popover as L } from "@salutejs/sdds-finai/beta";
|
|
4
|
-
import { s as a, br as
|
|
5
|
-
import { textPrimary as
|
|
4
|
+
import { s as a, br as T } from "../../constants/index.mjs";
|
|
5
|
+
import { textPrimary as Y, textSecondary as j, shadowDownHardS as A, surfaceSolidCard as M, textTertiary as O } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
6
6
|
import s from "styled-components";
|
|
7
7
|
import { IconButton as W } from "@salutejs/sdds-finai";
|
|
8
|
-
import {
|
|
8
|
+
import { T as D } from "../../chunks/AiAgentPopup-CtMhai1X.mjs";
|
|
9
9
|
import { IconClose as q, IconResizeCorneredFill as J } from "@salutejs/plasma-icons";
|
|
10
10
|
import { useContext as K, createContext as Q, forwardRef as U, useState as Z, useCallback as I, useMemo as B } from "react";
|
|
11
11
|
const l = {
|
|
@@ -24,11 +24,11 @@ const l = {
|
|
|
24
24
|
contentPaddingX: "10px"
|
|
25
25
|
}
|
|
26
26
|
}, m = {
|
|
27
|
-
bg: () =>
|
|
28
|
-
radius: () =>
|
|
29
|
-
titleColor: () =>
|
|
30
|
-
descriptionColor: () =>
|
|
31
|
-
shadow: () =>
|
|
27
|
+
bg: () => M,
|
|
28
|
+
radius: () => T.l,
|
|
29
|
+
titleColor: () => Y,
|
|
30
|
+
descriptionColor: () => j,
|
|
31
|
+
shadow: () => A
|
|
32
32
|
}, E = s(L).withConfig({
|
|
33
33
|
displayName: "styled__StyledPopover"
|
|
34
34
|
})(["&.popover-root{padding:0;border-radius:10px;box-shadow:", ";}"], m.shadow), tt = s.div.withConfig({
|
|
@@ -127,7 +127,7 @@ const g = "s", R = ["top-left", "top-right", "bottom-left", "bottom-right"], ft
|
|
|
127
127
|
}
|
|
128
128
|
}, G = (t) => [t], y = (t, e = g) => {
|
|
129
129
|
const o = {};
|
|
130
|
-
return t.includes("left") && (o.transform = "scaleX(-1)"), t.includes("top") && (o.transform = o.transform ? "scale(-1, -1)" : "scaleY(-1)"), /* @__PURE__ */ i(J, { color:
|
|
130
|
+
return t.includes("left") && (o.transform = "scaleX(-1)"), t.includes("top") && (o.transform = o.transform ? "scale(-1, -1)" : "scaleY(-1)"), /* @__PURE__ */ i(J, { color: O, size: e, style: o });
|
|
131
131
|
}, N = (t, e) => ({
|
|
132
132
|
topLeft: (t == null ? void 0 : t.topLeft) || y("top-left", e),
|
|
133
133
|
topRight: (t == null ? void 0 : t.topRight) || y("top-right", e),
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
import { PopoverDFSize } from './types';
|
|
2
2
|
import { Box } from '../Box';
|
|
3
3
|
|
|
4
|
-
export declare const StyledPopover: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<
|
|
5
|
-
view: {
|
|
6
|
-
action: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
7
|
-
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
8
|
-
};
|
|
9
|
-
size: {
|
|
10
|
-
m: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
11
|
-
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
12
|
-
};
|
|
13
|
-
}> & import('react').HTMLAttributes<HTMLDivElement> & import('@salutejs/plasma-new-hope/types/components/_beta/Popover/Popover.types.js').BasicPopoverProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "appearance"> & {
|
|
14
|
-
appearance?: "default" | undefined;
|
|
15
|
-
}) | (Omit<Omit<import('@salutejs/plasma-new-hope/types/engines/types.js').PropsType<{
|
|
16
|
-
view: {
|
|
17
|
-
action: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
18
|
-
info: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
19
|
-
};
|
|
20
|
-
size: {
|
|
21
|
-
m: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
22
|
-
s: import('@salutejs/plasma-new-hope/types/engines/types.js').PolymorphicClassName;
|
|
23
|
-
};
|
|
24
|
-
}> & import('react').HTMLAttributes<HTMLDivElement> & import('@salutejs/plasma-new-hope/types/components/_beta/Popover/Popover.types.js').BasicPopoverProps & import('react').RefAttributes<HTMLDivElement>, "ref">, "appearance"> & {
|
|
25
|
-
appearance: "closeInner";
|
|
26
|
-
})) & import('react').RefAttributes<HTMLDivElement>>, import('styled-components').DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledPopover: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('@salutejs/sdds-finai/beta').PopoverProps & import('react').RefAttributes<HTMLDivElement>>, import('styled-components').DefaultTheme, {}, never>;
|
|
27
5
|
export declare const StyledContainer: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
28
6
|
$size: PopoverDFSize;
|
|
29
7
|
}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),_=require("../Box/index.cjs"),S=require("@salutejs/sdds-finai"),i=require("../../constants/index.cjs"),C=require("@salutejs/sdds-themes/tokens/sdds_finai"),s=require("styled-components"),P=require("../../chunks/AiAgentPopup-CLGSjg5L.cjs"),j=require("@salutejs/plasma-icons"),a=require("react"),N=require("../../shared/utils/resizable/index.cjs"),r={l:{titleDescriptionGap:i.s.x1,sectionInnerGap:i.s.x4,sectionGap:"16px",contentPadding:"16px",subHeaderBottomGap:"0",rightBlockGap:i.s.x8,rightBlockToCloseGap:i.s.x6,rightBlockMaxHeight:"32px"},m:{titleDescriptionGap:i.s.x1,sectionInnerGap:i.s.x4,sectionGap:"16px",contentPadding:"16px",subHeaderBottomGap:"0",rightBlockGap:i.s.x8,rightBlockToCloseGap:i.s.x6,rightBlockMaxHeight:"32px"},s:{titleDescriptionGap:i.s.x1,sectionInnerGap:i.s.x4,sectionGap:"12px",contentPadding:"12px",subHeaderBottomGap:"0",rightBlockGap:i.s.x8,rightBlockToCloseGap:i.s.x4,rightBlockMaxHeight:"24px"}},h={bg:()=>C.surfaceSolidCard,radius:()=>i.br.m,shadow:()=>C.shadowDownHardS,titleColor:()=>C.textPrimary,descriptionColor:()=>C.textSecondary},I=s(S.Popup).withConfig({displayName:"styled__StyledPopup"})(["&& .","{padding:0;}"],S.popupClasses.root),R=s.div.withConfig({displayName:"styled__StyledContainer"})(["display:flex;flex-direction:column;gap:",";width:100%;height:100%;min-width:0;min-height:0;padding:",";background:",";border-radius:",";box-shadow:",";overflow:hidden;"],({$size:e})=>r[e].sectionGap,({$size:e})=>r[e].contentPadding,h.bg,h.radius,h.shadow),q=s(_.Box).withConfig({displayName:"styled__StyledHeader"})(["flex-shrink:0;min-width:0;"]),M=s.div.withConfig({displayName:"styled__StyledHeaderTop"})(["display:flex;align-items:",";min-width:0;"],({$alignTitleToClose:e})=>e?"center":"flex-start"),$=s.div.withConfig({displayName:"styled__StyledHeaderContent"})(["flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:",";"],({$alignTitleToClose:e})=>e?"center":"flex-start"),A=s.div.withConfig({displayName:"styled__StyledHeaderTitle"})(["color:",";min-width:0;"],h.titleColor),O=s.div.withConfig({displayName:"styled__StyledHeaderDescription"})(["margin-top:",";color:",";min-width:0;"],({$size:e})=>r[e].titleDescriptionGap,h.descriptionColor),V=s.div.withConfig({displayName:"styled__StyledHeaderActions"})(["flex-shrink:0;display:inline-flex;align-items:center;margin-left:",";column-gap:",";"],({$size:e,$hasRightBlock:t})=>t?r[e].rightBlockToCloseGap:r[e].sectionInnerGap,({$size:e})=>r[e].sectionInnerGap),W=s.div.withConfig({displayName:"styled__StyledHeaderRightBlock"})(["flex-shrink:0;display:inline-flex;align-items:center;margin-left:",";max-height:",";overflow:hidden;"],({$size:e})=>r[e].rightBlockGap,({$size:e})=>r[e].rightBlockMaxHeight),X=s.div.withConfig({displayName:"styled__StyledHeaderSubHeader"})(["margin-top:8px;margin-bottom:",";min-width:0;"],({$size:e})=>r[e].subHeaderBottomGap),L=s.div.withConfig({displayName:"styled__StyledHeaderBackButton"})(["flex-shrink:0;margin-right:12px;"]),U=s(_.Box).withConfig({displayName:"styled__StyledBody"})(["flex:1 1 auto;min-width:0;min-height:0;overflow:auto;"]),J=s(_.Box).withConfig({displayName:"styled__StyledFooter"})(["flex-shrink:0;min-width:0;"]);function k({children:e,...t}){return o.jsx(U,{...t,children:e})}function z({children:e,...t}){return o.jsx(J,{...t,children:e})}const D=a.createContext({onClose:null,size:"m"}),K=()=>a.useContext(D);function F({title:e,description:t,subHeader:u,rightBlock:l,showCloseButton:c=!0,onBackButtonClick:d,onClose:y,...B}){const{onClose:w,size:n}=K(),x=y??w,g=c&&!!x,b={s:"BodyXS",m:"BodyM",l:"H4"}[n],v=n==="l"?"BodyS":"BodyXS",p=n==="s"?"xxs":"xs",m="xs",f=typeof t=="string"||typeof t=="number",G=!t&&g;return o.jsxs(q,{$size:n,...B,children:[o.jsxs(M,{$size:n,$alignTitleToClose:G,children:[d&&o.jsx(L,{children:o.jsx(S.IconButton,{onClick:d,size:p,view:"secondary",pin:"circle-circle",title:"Назад",children:o.jsx(j.IconChevronLeft,{size:m})})}),o.jsxs($,{$alignTitleToClose:G,children:[e&&o.jsx(A,{children:o.jsx(P.TypographyWithAutoTooltip,{variant:b,bold:!0,lines:2,tooltipText:typeof e=="string"?e:void 0,children:e})}),t&&o.jsx(O,{$size:n,children:f?o.jsx(P.TypographyWithAutoTooltip,{variant:v,lines:2,tooltipText:t,children:t}):t})]}),l&&o.jsx(W,{$size:n,children:l}),g&&o.jsx(V,{$size:n,$hasRightBlock:!!l,children:o.jsx(S.IconButton,{onClick:x,size:p,view:"secondary",pin:"circle-circle",title:"Закрыть",children:o.jsx(j.IconClose,{size:m})})})]}),u&&o.jsx(X,{$size:n,children:u})]})}const Q=e=>{switch(e){case"top-left":case"top":case"left":return"bottom-right";case"top-right":case"right":return"bottom-left";case"bottom-left":case"bottom":return"top-right";case"bottom-right":return"top-left";case"center":case void 0:default:return"bottom-right"}},Y=(e,t)=>N.buildPopupResizableConfig(e,{corner:Q(t),minWidth:240,minHeight:120}),Z=a.forwardRef(({children:e,opened:t,defaultOpened:u=!1,onToggle:l,size:c="m",placement:d="center",resizable:y,...B},w)=>{const[n,x]=a.useState(u),g=t===void 0?n:t,H=a.useCallback(f=>{t===void 0&&x(f),l==null||l(f)},[l,t]),b=a.useCallback(()=>{H(!1)},[H]),v=a.useMemo(()=>Y(y,d),[d,y]),p=t===void 0||l?b:null,m=a.useMemo(()=>({onClose:p,size:c}),[p,c]);return o.jsx(D.Provider,{value:m,children:o.jsx(I,{...B,ref:w,isOpen:!1,opened:g,placement:d,resizable:v,children:o.jsx(R,{$size:c,children:e})})})}),T=Object.assign(Z,{Header:F,Body:k,Footer:z});T.displayName="PopupDF";exports.PopupDF=T;exports.PopupDFBody=k;exports.PopupDFFooter=z;exports.PopupDFHeader=F;
|