@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,17 +1,17 @@
|
|
|
1
1
|
import { jsx as v } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as T, useState as m, useEffect as p, useMemo as R, useContext as w, useRef as C, useCallback as x } from "react";
|
|
3
3
|
import { breakPoints as _, viewColors as k } from "../constants/index.mjs";
|
|
4
|
-
import { ThemeProvider as
|
|
5
|
-
import
|
|
6
|
-
import { createDebugLogger as
|
|
7
|
-
const I = "xl", E = _,
|
|
4
|
+
import { ThemeProvider as W, css as S, keyframes as $ } from "styled-components";
|
|
5
|
+
import N from "react-dom/client";
|
|
6
|
+
import { createDebugLogger as V } from "../shared/utils/debug/index.mjs";
|
|
7
|
+
const I = "xl", E = _, L = T({
|
|
8
8
|
breakpoint: I,
|
|
9
9
|
breakpointConfig: E
|
|
10
10
|
}), b = (e) => (t) => `
|
|
11
11
|
@media ${e} {
|
|
12
12
|
${t}
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`, U = (e) => ({
|
|
15
15
|
xs: {
|
|
16
16
|
min: 0,
|
|
17
17
|
max: e.xs - 1
|
|
@@ -36,8 +36,8 @@ const I = "xl", E = _, D = T({
|
|
|
36
36
|
min: e.xl + 1,
|
|
37
37
|
max: 1e5
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
40
|
-
const t =
|
|
39
|
+
}), O = (e) => {
|
|
40
|
+
const t = U(e);
|
|
41
41
|
return {
|
|
42
42
|
up: (n) => b(`(min-width: ${t[n].max + 1}px)`),
|
|
43
43
|
down: (n) => b(`(max-width: ${t[n].min - 1}px)`),
|
|
@@ -46,12 +46,12 @@ const I = "xl", E = _, D = T({
|
|
|
46
46
|
between: (n, r) => b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),
|
|
47
47
|
exact: (n, r) => b(`(min-width: ${n}px) and (max-width: ${r}px)`)
|
|
48
48
|
};
|
|
49
|
-
},
|
|
49
|
+
}, he = O(E), M = ({
|
|
50
50
|
breakpointConfig: e = E,
|
|
51
51
|
children: t
|
|
52
|
-
}) => /* @__PURE__ */ v(
|
|
53
|
-
media:
|
|
54
|
-
}, children: t }),
|
|
52
|
+
}) => /* @__PURE__ */ v(W, { theme: {
|
|
53
|
+
media: O(e)
|
|
54
|
+
}, children: t }), pe = ({
|
|
55
55
|
children: e,
|
|
56
56
|
breakpointConfig: t = E
|
|
57
57
|
}) => {
|
|
@@ -83,12 +83,12 @@ const I = "xl", E = _, D = T({
|
|
|
83
83
|
breakpoint: n,
|
|
84
84
|
breakpointConfig: t
|
|
85
85
|
}), [n, t]);
|
|
86
|
-
return /* @__PURE__ */ v(
|
|
87
|
-
},
|
|
86
|
+
return /* @__PURE__ */ v(L.Provider, { value: o, children: /* @__PURE__ */ v(M, { breakpointConfig: t, children: e }) });
|
|
87
|
+
}, ge = () => {
|
|
88
88
|
const {
|
|
89
89
|
breakpoint: e,
|
|
90
90
|
breakpointConfig: t
|
|
91
|
-
} = w(
|
|
91
|
+
} = w(L), n = R(() => ({
|
|
92
92
|
up: (r) => t[e] > t[r],
|
|
93
93
|
down: (r) => t[e] < t[r],
|
|
94
94
|
only: (r) => t[e] === t[r],
|
|
@@ -100,7 +100,7 @@ const I = "xl", E = _, D = T({
|
|
|
100
100
|
...n
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
function
|
|
103
|
+
function be(e, t, n, r = {}) {
|
|
104
104
|
const o = {
|
|
105
105
|
bubbles: !0,
|
|
106
106
|
cancelable: !0,
|
|
@@ -110,17 +110,17 @@ function ge(e, t, n, r = {}) {
|
|
|
110
110
|
}, i = new CustomEvent(t, o);
|
|
111
111
|
return e.dispatchEvent(i);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const j = null, B = T(j), we = ({
|
|
114
114
|
children: e,
|
|
115
115
|
clickStreamInstance: t
|
|
116
|
-
}) => /* @__PURE__ */ v(
|
|
117
|
-
var
|
|
118
|
-
const
|
|
119
|
-
const e = w(
|
|
116
|
+
}) => /* @__PURE__ */ v(B.Provider, { value: t, children: e });
|
|
117
|
+
var H = /* @__PURE__ */ ((e) => (e.START = "Start", e.END = "End", e.SUCCESS = "Success", e.FAILED = "Failed", e))(H || {}), z = /* @__PURE__ */ ((e) => (e.BUISINESS = "business", e))(z || {});
|
|
118
|
+
const xe = () => {
|
|
119
|
+
const e = w(B);
|
|
120
120
|
if (!e)
|
|
121
121
|
throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");
|
|
122
122
|
return e;
|
|
123
|
-
},
|
|
123
|
+
}, ye = (e, t) => e.join("/").concat(t ? `_${t}` : ""), ve = (e) => Object.entries(e).reduce((t, n) => {
|
|
124
124
|
if (n[0] && n[1]) {
|
|
125
125
|
const r = {
|
|
126
126
|
key: n[0],
|
|
@@ -129,14 +129,14 @@ const we = () => {
|
|
|
129
129
|
t.push(r);
|
|
130
130
|
}
|
|
131
131
|
return t;
|
|
132
|
-
}, []),
|
|
133
|
-
function
|
|
132
|
+
}, []), Ce = (e) => Array.isArray(e) ? e.join(";") : typeof e == "boolean" ? `${e}` : e ?? "null";
|
|
133
|
+
function Te(e, t) {
|
|
134
134
|
if (!t)
|
|
135
135
|
return e;
|
|
136
136
|
const n = JSON.stringify(t), r = btoa(n);
|
|
137
137
|
return e.set("X-Digital-Trace-Context", r), e;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function Se(e) {
|
|
140
140
|
function t() {
|
|
141
141
|
const s = C(e), a = x(() => s.current, []), u = C(/* @__PURE__ */ new Set()), l = x((d) => {
|
|
142
142
|
s.current = {
|
|
@@ -183,8 +183,8 @@ function Te(e) {
|
|
|
183
183
|
useDispatch: i
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
|
|
186
|
+
const K = typeof requestAnimationFrame == "function", q = typeof cancelAnimationFrame == "function", Q = (e) => K ? requestAnimationFrame(e) : setTimeout(e, 0), X = (e) => {
|
|
187
|
+
q ? cancelAnimationFrame(e) : clearTimeout(e);
|
|
188
188
|
}, Y = (e) => {
|
|
189
189
|
let t = null;
|
|
190
190
|
return new ResizeObserver((n, r) => {
|
|
@@ -192,7 +192,7 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
|
|
|
192
192
|
t = null, e(n, r);
|
|
193
193
|
});
|
|
194
194
|
});
|
|
195
|
-
},
|
|
195
|
+
}, Ee = (e, t = 200) => {
|
|
196
196
|
let n;
|
|
197
197
|
return (...r) => {
|
|
198
198
|
clearTimeout(n), n = setTimeout(() => {
|
|
@@ -212,18 +212,18 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
|
|
|
212
212
|
}
|
|
213
213
|
r.push(u);
|
|
214
214
|
}), [r, o];
|
|
215
|
-
},
|
|
215
|
+
}, Ae = (e) => x((t, n) => {
|
|
216
216
|
const r = e.get(t.value);
|
|
217
217
|
r == null || r(t, n);
|
|
218
|
-
}, [e]), J = null, F = T(J),
|
|
218
|
+
}, [e]), J = null, F = T(J), Ie = ({
|
|
219
219
|
children: e,
|
|
220
220
|
busInstance: t
|
|
221
|
-
}) => /* @__PURE__ */ v(F.Provider, { value: t, children: e }),
|
|
221
|
+
}) => /* @__PURE__ */ v(F.Provider, { value: t, children: e }), $e = () => {
|
|
222
222
|
const e = w(F);
|
|
223
223
|
if (!e)
|
|
224
224
|
throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");
|
|
225
225
|
return e;
|
|
226
|
-
},
|
|
226
|
+
}, De = () => {
|
|
227
227
|
const e = new Uint8Array(16);
|
|
228
228
|
crypto.getRandomValues(e);
|
|
229
229
|
const t = Array.from(e).map((o) => o.toString(16).padStart(2, "0")).join(""), n = new Uint8Array(8);
|
|
@@ -237,11 +237,11 @@ const q = typeof requestAnimationFrame == "function", K = typeof cancelAnimation
|
|
|
237
237
|
"x-b3-spanid": r
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
|
-
}, A = () => {
|
|
240
|
+
}, Z = ["light", "dark", "highContrastLight", "highContrastDark", "betaCoreLight", "betaCoreDark"], A = () => {
|
|
241
241
|
const e = document.documentElement.getAttribute("data-theme");
|
|
242
|
-
return
|
|
243
|
-
},
|
|
244
|
-
function
|
|
242
|
+
return Z.find((t) => t === e) ?? "light";
|
|
243
|
+
}, Re = (e) => e ? S(["&&{", "}"], e) : void 0, y = /* @__PURE__ */ new Map();
|
|
244
|
+
function ee(e) {
|
|
245
245
|
const t = `${e}_<space>`;
|
|
246
246
|
if (y.has(t)) {
|
|
247
247
|
const o = y.get(t);
|
|
@@ -257,7 +257,7 @@ function Z(e) {
|
|
|
257
257
|
const r = n.offsetWidth;
|
|
258
258
|
return document.body.removeChild(n), y.set(t, r), r;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function te(e, t) {
|
|
261
261
|
const n = document.createElement("span");
|
|
262
262
|
n.style.cssText = `
|
|
263
263
|
font: ${t};
|
|
@@ -272,7 +272,7 @@ function ee(e, t) {
|
|
|
272
272
|
}
|
|
273
273
|
function P(e, t) {
|
|
274
274
|
if (e === " ")
|
|
275
|
-
return
|
|
275
|
+
return ee(t);
|
|
276
276
|
if (e === " ")
|
|
277
277
|
return P(" ", t) * 4;
|
|
278
278
|
const n = `${t}_${e}`;
|
|
@@ -280,16 +280,16 @@ function P(e, t) {
|
|
|
280
280
|
const o = y.get(n);
|
|
281
281
|
return typeof o == "number" && o || 0;
|
|
282
282
|
}
|
|
283
|
-
const r =
|
|
283
|
+
const r = te(e, t);
|
|
284
284
|
return y.set(n, r), r;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Le(e, t, n = 0) {
|
|
287
287
|
if (!e)
|
|
288
288
|
return 0;
|
|
289
289
|
const r = Array.from(e).reduce((c, s) => c + P(s, t), 0), o = e.length, i = Math.max(o - 1, 0) * n;
|
|
290
290
|
return r + i;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function ne(e, t, n = 0) {
|
|
293
293
|
const r = document.createElement("span");
|
|
294
294
|
r.style.cssText = `
|
|
295
295
|
font: ${t};
|
|
@@ -303,13 +303,13 @@ function te(e, t, n = 0) {
|
|
|
303
303
|
const o = r.offsetWidth;
|
|
304
304
|
return document.body.removeChild(r), o;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
return e ?
|
|
306
|
+
function Oe(e, t, n = 0) {
|
|
307
|
+
return e ? ne(e, t, n) : 0;
|
|
308
308
|
}
|
|
309
309
|
const Be = (e) => {
|
|
310
310
|
const t = e.substring(e.indexOf("(") + 1, e.indexOf(","));
|
|
311
311
|
return getComputedStyle(document.body).getPropertyValue(t);
|
|
312
|
-
},
|
|
312
|
+
}, Fe = (e, t) => {
|
|
313
313
|
const n = t.split(".");
|
|
314
314
|
let r = e;
|
|
315
315
|
for (const o of n)
|
|
@@ -318,7 +318,7 @@ const Be = (e) => {
|
|
|
318
318
|
else
|
|
319
319
|
return;
|
|
320
320
|
return r;
|
|
321
|
-
},
|
|
321
|
+
}, Pe = (e) => k[e], _e = () => {
|
|
322
322
|
const [e, t] = m(() => A() ?? "light");
|
|
323
323
|
return p(() => {
|
|
324
324
|
t(A());
|
|
@@ -333,7 +333,7 @@ const Be = (e) => {
|
|
|
333
333
|
return (r = n == null ? void 0 : n.disconnect) == null ? void 0 : r.call(n);
|
|
334
334
|
};
|
|
335
335
|
}, []), e;
|
|
336
|
-
},
|
|
336
|
+
}, ke = (e, t) => {
|
|
337
337
|
const [n, r] = m(!1), o = C();
|
|
338
338
|
return [x(
|
|
339
339
|
// eslint-disable-next-line func-names
|
|
@@ -346,7 +346,7 @@ const Be = (e) => {
|
|
|
346
346
|
), {
|
|
347
347
|
debouncing: n
|
|
348
348
|
}];
|
|
349
|
-
},
|
|
349
|
+
}, We = (e, t = 500, n) => {
|
|
350
350
|
const [r, o] = m(n ?? e);
|
|
351
351
|
return p(() => {
|
|
352
352
|
const i = setTimeout(() => {
|
|
@@ -356,14 +356,14 @@ const Be = (e) => {
|
|
|
356
356
|
clearTimeout(i);
|
|
357
357
|
};
|
|
358
358
|
}, [e]), r;
|
|
359
|
-
}, h = /* @__PURE__ */ new Map(),
|
|
359
|
+
}, h = /* @__PURE__ */ new Map(), Ne = (e) => !e || h.get(e) === "loaded" ? Promise.resolve() : new Promise((t) => {
|
|
360
360
|
const n = new Image();
|
|
361
361
|
n.onload = () => {
|
|
362
362
|
h.set(e, "loaded"), t();
|
|
363
363
|
}, n.onerror = () => {
|
|
364
364
|
h.set(e, "error"), t();
|
|
365
365
|
}, n.src = e;
|
|
366
|
-
}),
|
|
366
|
+
}), Ve = (e, t = 0) => {
|
|
367
367
|
const [n, r] = m(() => e ? h.get(e) ?? "loading" : "idle"), [o, i] = m(0), c = C(e);
|
|
368
368
|
c.current = e;
|
|
369
369
|
const s = x(() => {
|
|
@@ -383,10 +383,10 @@ const Be = (e) => {
|
|
|
383
383
|
r("loading");
|
|
384
384
|
const f = (g) => {
|
|
385
385
|
h.set(e, g);
|
|
386
|
-
const
|
|
386
|
+
const D = () => {
|
|
387
387
|
u && c.current === e && r(g);
|
|
388
388
|
};
|
|
389
|
-
t > 0 ? l = setTimeout(
|
|
389
|
+
t > 0 ? l = setTimeout(D, t) : D();
|
|
390
390
|
}, d = new Image();
|
|
391
391
|
return d.onload = () => f("loaded"), d.onerror = () => f("error"), d.src = e, () => {
|
|
392
392
|
u = !1, l && clearTimeout(l);
|
|
@@ -399,10 +399,10 @@ const Be = (e) => {
|
|
|
399
399
|
reload: s
|
|
400
400
|
};
|
|
401
401
|
}, Ue = typeof window < "u" && "structuredClone" in window && typeof window.structuredClone == "function" || typeof globalThis < "u" && "structuredClone" in globalThis && typeof globalThis.structuredClone == "function";
|
|
402
|
-
function
|
|
402
|
+
function re(...e) {
|
|
403
403
|
return e.reduce((t, n) => (!n || typeof n != "string" || (t = `${t} ${n}`), t), "");
|
|
404
404
|
}
|
|
405
|
-
const
|
|
405
|
+
const Me = re;
|
|
406
406
|
function je(...e) {
|
|
407
407
|
const t = e.filter(Boolean);
|
|
408
408
|
return t.length <= 1 ? t[0] || null : function(r) {
|
|
@@ -410,17 +410,17 @@ function je(...e) {
|
|
|
410
410
|
typeof o == "function" ? o(r) : o && (o.current = r);
|
|
411
411
|
};
|
|
412
412
|
}
|
|
413
|
-
const
|
|
413
|
+
const He = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
|
|
414
414
|
identifierPrefix: t
|
|
415
415
|
}) => ({
|
|
416
416
|
...e,
|
|
417
417
|
// Переопределяем createRoot для добавления префикса к useId
|
|
418
|
-
createRoot: (n, r) =>
|
|
418
|
+
createRoot: (n, r) => N.createRoot(n, {
|
|
419
419
|
...r,
|
|
420
420
|
identifierPrefix: t
|
|
421
421
|
// Уникальный префикс микрофронтенда
|
|
422
422
|
})
|
|
423
|
-
}),
|
|
423
|
+
}), oe = (e) => e != null && e.lines && e.lines > 1 ? {
|
|
424
424
|
display: "-webkit-box",
|
|
425
425
|
WebkitLineClamp: e.lines,
|
|
426
426
|
WebkitBoxOrient: "vertical",
|
|
@@ -431,14 +431,14 @@ const Me = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
|
|
|
431
431
|
whiteSpace: "nowrap",
|
|
432
432
|
overflow: "hidden",
|
|
433
433
|
textOverflow: "ellipsis"
|
|
434
|
-
},
|
|
434
|
+
}, Ke = (e) => S(oe(e)), qe = S(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]), Qe = (e, t = 200) => {
|
|
435
435
|
let n;
|
|
436
436
|
return (...r) => {
|
|
437
437
|
n || (n = !0, e(...r), setTimeout(() => {
|
|
438
438
|
n = !1;
|
|
439
439
|
}, t));
|
|
440
440
|
};
|
|
441
|
-
},
|
|
441
|
+
}, Xe = (e, t = 200) => {
|
|
442
442
|
let n = null, r = null, o = !1;
|
|
443
443
|
const i = (...c) => {
|
|
444
444
|
n = c, o || (e(...c), o = !0, r = setTimeout(() => {
|
|
@@ -448,15 +448,15 @@ const Me = (e, t, n) => t > n ? n : t < e ? e : t, ze = (e, {
|
|
|
448
448
|
return i.cancel = () => {
|
|
449
449
|
r && (clearTimeout(r), o = !1, r = null);
|
|
450
450
|
}, i;
|
|
451
|
-
},
|
|
451
|
+
}, se = "0.3s", Ye = `all ${se} ease`, ie = $(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]), ae = $(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);
|
|
452
452
|
S(["animation:", " ", " ", " forwards;"], ({
|
|
453
453
|
$isOpen: e
|
|
454
|
-
}) => e ?
|
|
454
|
+
}) => e ? ie : ae, ({
|
|
455
455
|
$duration: e = "2.35s"
|
|
456
456
|
}) => e, ({
|
|
457
457
|
$timing: e = "ease"
|
|
458
458
|
}) => e);
|
|
459
|
-
const
|
|
459
|
+
const Ge = $(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]), Je = (e, t = "vertical", n = !0) => {
|
|
460
460
|
const [r, o] = m({
|
|
461
461
|
vertical: !1,
|
|
462
462
|
horizontal: !1
|
|
@@ -489,54 +489,54 @@ const Ye = L(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transfor
|
|
|
489
489
|
default:
|
|
490
490
|
return r.vertical;
|
|
491
491
|
}
|
|
492
|
-
},
|
|
492
|
+
}, Ze = V("TABLE");
|
|
493
493
|
export {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
494
|
+
Pe as A,
|
|
495
|
+
pe as B,
|
|
496
|
+
we as C,
|
|
497
|
+
Ye as D,
|
|
498
|
+
z as E,
|
|
499
|
+
H as F,
|
|
500
|
+
Ie as G,
|
|
501
|
+
ye as H,
|
|
502
|
+
Se as I,
|
|
503
|
+
De as J,
|
|
504
504
|
ze as K,
|
|
505
|
-
|
|
506
|
-
|
|
505
|
+
Le as L,
|
|
506
|
+
M,
|
|
507
507
|
Be as N,
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
508
|
+
Te as O,
|
|
509
|
+
Qe as P,
|
|
510
|
+
ve as Q,
|
|
511
|
+
Ce as R,
|
|
512
|
+
Ke as S,
|
|
513
|
+
xe as T,
|
|
514
|
+
ke as U,
|
|
515
|
+
$e as V,
|
|
516
|
+
oe as a,
|
|
517
|
+
he as b,
|
|
518
518
|
Y as c,
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
519
|
+
Ee as d,
|
|
520
|
+
ge as e,
|
|
521
|
+
He as f,
|
|
522
522
|
A as g,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
523
|
+
Je as h,
|
|
524
|
+
Fe as i,
|
|
525
|
+
Ae as j,
|
|
526
|
+
Oe as k,
|
|
527
|
+
Ue as l,
|
|
528
|
+
re as m,
|
|
529
|
+
Ge as n,
|
|
530
|
+
_e as o,
|
|
531
531
|
G as p,
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
532
|
+
be as q,
|
|
533
|
+
je as r,
|
|
534
|
+
Ze as s,
|
|
535
|
+
Xe as t,
|
|
536
|
+
We as u,
|
|
537
537
|
qe as v,
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
Re as w,
|
|
539
|
+
Me as x,
|
|
540
540
|
Ve as y,
|
|
541
|
-
|
|
541
|
+
Ne as z
|
|
542
542
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";const x=require("react/jsx-runtime"),s=require("react"),T=require("../constants/index.cjs"),h=require("styled-components"),V=require("react-dom/client"),W=require("../shared/utils/debug/index.cjs"),
|
|
1
|
+
"use strict";const x=require("react/jsx-runtime"),s=require("react"),T=require("../constants/index.cjs"),h=require("styled-components"),V=require("react-dom/client"),W=require("../shared/utils/debug/index.cjs"),v="xl",S=T.breakPoints,E=s.createContext({breakpoint:v,breakpointConfig:S}),b=e=>t=>`
|
|
2
2
|
@media ${e} {
|
|
3
3
|
${t}
|
|
4
4
|
}
|
|
5
|
-
`,
|
|
5
|
+
`,_=e=>({xs:{min:0,max:e.xs-1},s:{min:e.xs+1,max:e.s},m:{min:e.s+1,max:e.m},l:{min:e.m+1,max:e.l},xl:{min:e.l+1,max:e.xl},xxl:{min:e.xl+1,max:1e5}}),A=e=>{const t=_(e);return{up:n=>b(`(min-width: ${t[n].max+1}px)`),down:n=>b(`(max-width: ${t[n].min-1}px)`),only:n=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[n].max}px)`),not:n=>b(`(max-width: ${t[n].min-1}px), (min-width: ${t[n].max+1}px)`),between:(n,r)=>b(`(min-width: ${t[n].min}px) and (max-width: ${t[r].max}px)`),exact:(n,r)=>b(`(min-width: ${n}px) and (max-width: ${r}px)`)}},j=A(S),I=({breakpointConfig:e=S,children:t})=>x.jsx(h.ThemeProvider,{theme:{media:A(e)},children:t}),N=({children:e,breakpointConfig:t=S})=>{const[n,r]=s.useState(v);s.useEffect(()=>{const c=Object.entries(t).map(([i,a])=>({key:i,mql:window.matchMedia(`(max-width: ${a}px)`)})),u=()=>{var a;const i=((a=c.find(({mql:l})=>l.matches))==null?void 0:a.key)||v;r(i)};return u(),c.forEach(({mql:i})=>{i.addEventListener("change",u)}),()=>{c.forEach(({mql:i})=>{i.removeEventListener("change",u)})}},[]);const o=s.useMemo(()=>({breakpoint:n,breakpointConfig:t}),[n,t]);return x.jsx(E.Provider,{value:o,children:x.jsx(I,{breakpointConfig:t,children:e})})},M=()=>{const{breakpoint:e,breakpointConfig:t}=s.useContext(E),n=s.useMemo(()=>({up:r=>t[e]>t[r],down:r=>t[e]<t[r],only:r=>t[e]===t[r],not:r=>t[e]!==t[r],between:(r,o)=>t[e]>t[r]&&t[e]<t[o]}),[e,t]);return{breakpoint:e,...n}};function U(e,t,n,r={}){const o={bubbles:!0,cancelable:!0,composed:!0,...r,detail:n},c=new CustomEvent(t,o);return e.dispatchEvent(c)}const H=null,k=s.createContext(H),q=({children:e,clickStreamInstance:t})=>x.jsx(k.Provider,{value:t,children:e});var D=(e=>(e.START="Start",e.END="End",e.SUCCESS="Success",e.FAILED="Failed",e))(D||{}),R=(e=>(e.BUISINESS="business",e))(R||{});const z=()=>{const e=s.useContext(k);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в ClickStreamProvider");return e},K=(e,t)=>e.join("/").concat(t?`_${t}`:""),Q=e=>Object.entries(e).reduce((t,n)=>{if(n[0]&&n[1]){const r={key:n[0],value:n[1]};t.push(r)}return t},[]),X=e=>Array.isArray(e)?e.join(";"):typeof e=="boolean"?`${e}`:e??"null";function Y(e,t){if(!t)return e;const n=JSON.stringify(t),r=btoa(n);return e.set("X-Digital-Trace-Context",r),e}function G(e){function t(){const i=s.useRef(e),a=s.useCallback(()=>i.current,[]),l=s.useRef(new Set),d=s.useCallback(m=>{i.current={...i.current,...m},l.current.forEach(g=>g())},[]),f=s.useCallback(m=>(l.current.add(m),()=>l.current.delete(m)),[]);return{get:a,set:d,subscribe:f}}const n=s.createContext(null);function r({children:i}){return x.jsx(n.Provider,{value:t(),children:i})}function o(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),[i(l),a.set]}function c(){const i=s.useContext(n);if(!i)throw new Error("Store not found");return i.set}function u(i){const a=s.useContext(n);if(!a)throw new Error("Store not found");const[l,d]=s.useState(a.get());return s.useEffect(()=>a.subscribe(()=>d(a.get())),[]),i(l)}return{Provider:r,useStore:o,useSelector:u,useDispatch:c}}const J=typeof requestAnimationFrame=="function",Z=typeof cancelAnimationFrame=="function",ee=e=>J?requestAnimationFrame(e):setTimeout(e,0),te=e=>{Z?cancelAnimationFrame(e):clearTimeout(e)},B=e=>{let t=null;return new ResizeObserver((n,r)=>{t!==null&&te(t),t=ee(()=>{t=null,e(n,r)})})},ne=(e,t=200)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}},P=(e,t,n="")=>{const r=[],o=new Map;return e.forEach((c,u)=>{const i=`${n}-${u}`,a=c.value||i,l={...c,value:a};if(t&&o.set(a.toString(),t),c.items){const[d,f]=P(c.items,t,i);f.forEach((m,g)=>o.set(g,m)),l.items=d}r.push(l)}),[r,o]},re=e=>s.useCallback((t,n)=>{const r=e.get(t.value);r==null||r(t,n)},[e]),oe=null,L=s.createContext(oe),se=({children:e,busInstance:t})=>x.jsx(L.Provider,{value:t,children:e}),ie=()=>{const e=s.useContext(L);if(!e)throw new Error("Ошибка. Приложение необходимо обернуть в EventBusProvider");return e},ce=()=>{const e=new Uint8Array(16);crypto.getRandomValues(e);const t=Array.from(e).map(o=>o.toString(16).padStart(2,"0")).join(""),n=new Uint8Array(8);crypto.getRandomValues(n);const r=Array.from(n).map(o=>o.toString(16).padStart(2,"0")).join("");return{traceId:t,requestQueryParam:"rq",headers:{"x-b3-traceid":t,"x-b3-spanid":r}}},ae=["light","dark","highContrastLight","highContrastDark","betaCoreLight","betaCoreDark"],w=()=>{const e=document.documentElement.getAttribute("data-theme");return ae.find(t=>t===e)??"light"},ue=e=>e?h.css(["&&{","}"],e):void 0,C=new Map;function le(e){const t=`${e}_<space>`;if(C.has(t)){const o=C.get(t);return typeof o=="number"&&o||0}const n=document.createElement("span");n.style.cssText=`
|
|
6
6
|
font: ${e};
|
|
7
7
|
visibility: hidden;
|
|
8
8
|
white-space: pre-wrap;
|
|
9
9
|
position: absolute;
|
|
10
|
-
`,n.textContent=" ",document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),C.set(t,r),r}function
|
|
10
|
+
`,n.textContent=" ",document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),C.set(t,r),r}function de(e,t){const n=document.createElement("span");n.style.cssText=`
|
|
11
11
|
font: ${t};
|
|
12
12
|
visibility: hidden;
|
|
13
13
|
white-space: nowrap;
|
|
14
14
|
position: absolute;
|
|
15
15
|
padding: 0;
|
|
16
16
|
margin: 0;
|
|
17
|
-
`,n.textContent=e,document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),r}function $(e,t){if(e===" ")return
|
|
17
|
+
`,n.textContent=e,document.body.appendChild(n);const r=n.offsetWidth;return document.body.removeChild(n),r}function $(e,t){if(e===" ")return le(t);if(e===" ")return $(" ",t)*4;const n=`${t}_${e}`;if(C.has(n)){const o=C.get(n);return typeof o=="number"&&o||0}const r=de(e,t);return C.set(n,r),r}function me(e,t,n=0){if(!e)return 0;const r=Array.from(e).reduce((u,i)=>u+$(i,t),0),o=e.length,c=Math.max(o-1,0)*n;return r+c}function fe(e,t,n=0){const r=document.createElement("span");r.style.cssText=`
|
|
18
18
|
font: ${t};
|
|
19
19
|
visibility: hidden;
|
|
20
20
|
position: absolute;
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
padding: 0;
|
|
23
23
|
margin: 0;
|
|
24
24
|
letter-spacing: ${n}px;
|
|
25
|
-
`,r.textContent=e,document.body.appendChild(r);const o=r.offsetWidth;return document.body.removeChild(r),o}function
|
|
25
|
+
`,r.textContent=e,document.body.appendChild(r);const o=r.offsetWidth;return document.body.removeChild(r),o}function he(e,t,n=0){return e?fe(e,t,n):0}const pe=e=>{const t=e.substring(e.indexOf("(")+1,e.indexOf(","));return getComputedStyle(document.body).getPropertyValue(t)},ge=(e,t)=>{const n=t.split(".");let r=e;for(const o of n)if(typeof r=="object"&&r!==null&&o in r)r=r[o];else return;return r},be=e=>T.viewColors[e],Ce=()=>{const[e,t]=s.useState(()=>w()??"light");return s.useEffect(()=>{t(w());const n=new MutationObserver(()=>t(w()));return n.observe(document.documentElement,{childList:!1,attributes:!0,attributeFilter:["data-theme"],subtree:!1}),()=>{var r;return(r=n==null?void 0:n.disconnect)==null?void 0:r.call(n)}},[]),e},xe=(e,t)=>{const[n,r]=s.useState(!1),o=s.useRef();return[s.useCallback(function(...u){r(!0),clearTimeout(o.current),o.current=setTimeout(()=>{e.apply(this,u),r(!1)},t)},[t,e]),{debouncing:n}]},we=(e,t=500,n)=>{const[r,o]=s.useState(n??e);return s.useEffect(()=>{const c=setTimeout(()=>{o(e)},t);return()=>{clearTimeout(c)}},[e]),r},p=new Map,Se=e=>!e||p.get(e)==="loaded"?Promise.resolve():new Promise(t=>{const n=new Image;n.onload=()=>{p.set(e,"loaded"),t()},n.onerror=()=>{p.set(e,"error"),t()},n.src=e}),ve=(e,t=0)=>{const[n,r]=s.useState(()=>e?p.get(e)??"loading":"idle"),[o,c]=s.useState(0),u=s.useRef(e);u.current=e;const i=s.useCallback(()=>{e&&p.delete(e),c(a=>a+1)},[e]);return s.useEffect(()=>{if(!e){r("idle");return}const a=p.get(e);if(a){r(a);return}let l=!0,d;r("loading");const f=g=>{p.set(e,g);const y=()=>{l&&u.current===e&&r(g)};t>0?d=setTimeout(y,t):y()},m=new Image;return m.onload=()=>f("loaded"),m.onerror=()=>f("error"),m.src=e,()=>{l=!1,d&&clearTimeout(d)}},[e,o,t]),{status:n,isLoading:n==="loading",isLoaded:n==="loaded",isError:n==="error",reload:i}},ye=typeof window<"u"&&"structuredClone"in window&&typeof window.structuredClone=="function"||typeof globalThis<"u"&&"structuredClone"in globalThis&&typeof globalThis.structuredClone=="function";function O(...e){return e.reduce((t,n)=>(!n||typeof n!="string"||(t=`${t} ${n}`),t),"")}const Te=O;function Ee(...e){const t=e.filter(Boolean);return t.length<=1?t[0]||null:function(r){for(const o of t)typeof o=="function"?o(r):o&&(o.current=r)}}const Ae=(e,t,n)=>t>n?n:t<e?e:t,Ie=(e,{identifierPrefix:t})=>({...e,createRoot:(n,r)=>V.createRoot(n,{...r,identifierPrefix:t})}),F=e=>e!=null&&e.lines&&e.lines>1?{display:"-webkit-box",WebkitLineClamp:e.lines,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"normal"}:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},ke=e=>h.css(F(e)),De=h.css(["width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;"]),Re=(e,t=200)=>{let n;return(...r)=>{n||(n=!0,e(...r),setTimeout(()=>{n=!1},t))}},Be=(e,t=200)=>{let n=null,r=null,o=!1;const c=(...u)=>{n=u,o||(e(...u),o=!0,r=setTimeout(()=>{o=!1,n!==u&&c(...n),r=null},t))};return c.cancel=()=>{r&&(clearTimeout(r),o=!1,r=null)},c},Pe="0.3s",Le=`all ${Pe} ease`,$e=h.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]),Oe=h.keyframes(["from{transform:scale(1);opacity:1;}to{transform:scale(0.85);opacity:0;}"]);h.css(["animation:"," "," "," forwards;"],({$isOpen:e})=>e?$e:Oe,({$duration:e="2.35s"})=>e,({$timing:e="ease"})=>e);const Fe=h.keyframes(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]),Ve=(e,t="vertical",n=!0)=>{const[r,o]=s.useState({vertical:!1,horizontal:!1});switch(s.useEffect(()=>{const c=e.current;if(!c)return;const u=()=>{if(!c)return;const a=c.scrollHeight>c.clientHeight,l=c.scrollWidth>c.clientWidth;o(d=>d.vertical!==a||d.horizontal!==l?{vertical:a,horizontal:l}:d)};u();let i;return n&&typeof ResizeObserver<"u"&&(i=B(u),i.observe(c)),()=>{i==null||i.disconnect()}},[e,n]),t){case"vertical":return r.vertical;case"horizontal":return r.horizontal;case"both":return r;default:return r.vertical}},We=W.createDebugLogger("TABLE");exports.BreakpointProvider=N;exports.ClickStreamProvider=q;exports.DEFAULT_TRANSITION=Le;exports.EClickStreamErrorType=R;exports.EClickStreamStatusProcess=D;exports.EventBusProvider=se;exports.MediaProvider=I;exports.bubble=U;exports.clamp=Ae;exports.createClickStreamEventValue=K;exports.createSafeResizeObserver=B;exports.createStore=G;exports.debounce=ne;exports.fadeIn=Fe;exports.generateB3Headers=ce;exports.getActiveTheme=w;exports.getCssProp=ue;exports.getMFReactDOMClient=Ie;exports.getTextWidth=he;exports.getTextWidthByCache=me;exports.getTokenValue=pe;exports.getValue=ge;exports.getViewColor=be;exports.injectDigitalTraceContextHeader=Y;exports.isStructuredCloneSupported=ye;exports.mCls=Te;exports.media=j;exports.mergeClasses=O;exports.mergeRefs=Ee;exports.preloadImage=Se;exports.processDropdownItems=P;exports.tableDebug=We;exports.throttle=Re;exports.throttleWithLastCall=Be;exports.transformClickStreamProperties=Q;exports.transformClickStreamPropertyValuesToString=X;exports.truncateText=F;exports.truncateTextCss=ke;exports.useActiveTheme=Ce;exports.useBreakpoint=M;exports.useClickStream=z;exports.useDebouncedFn=xe;exports.useDebouncedValue=we;exports.useDropdownItemClickHandler=re;exports.useEventBus=ie;exports.useHasScroll=Ve;exports.useImageLoader=ve;exports.visuallyHiddenCss=De;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("@salutejs/sdds-finai"),N=require("react/jsx-runtime"),st=require("@salutejs/plasma-icons"),G=require("@salutejs/sdds-themes/tokens/sdds_finai"),B=require("../../chunks/utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("@salutejs/sdds-finai"),N=require("react/jsx-runtime"),st=require("@salutejs/plasma-icons"),G=require("@salutejs/sdds-themes/tokens/sdds_finai"),B=require("../../chunks/utils-OQNruMpn.cjs"),e=require("react"),tt=require("../../constants/index.cjs"),lt=require("styled-components"),W={popoverContentContainer:"ai-agent-popover-content-container",popoverIconTrigger:"ai-agent-popover-icon-trigger"},ht={root:"popover-root",arrow:"popover-arrow"},$={purple:"#b559f3",blue:"#7496fd"},xt=26,it=5,Mt=56,Ct={x:window.innerWidth-100,y:window.innerHeight-100},ct=10,at="ai-agent-popover-position",Et=`${ht.arrow}:before`,j={spaceX4:()=>tt.s.x4,spaceX3:()=>tt.s.x3,brS:()=>tt.borderRadius.s},St=lt(ut.Popover).withConfig({displayName:"AiAgentPopoverstyled__AiAgentPopoverStyled"})(["--ai-agent-popover-content-container-pd:"," "," "," ",";--ai-agent-popover-border-radius:",";"," &:is(.",",.","){border-radius:var(--ai-agent-popover-border-radius);}& .","{padding:var(--ai-agent-popover-content-container-pd);background:",";height:100%;}& .","{background:",";}"],j.spaceX4,j.spaceX3,j.spaceX3,j.spaceX3,j.brS,({$draggable:t,$position:r})=>{if(t)return"";if(typeof r=="string")switch(r){case"top-left":return`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 56px;
|
|
4
4
|
top: 56px;
|
|
@@ -2,7 +2,7 @@ import { Popover as Et, IconButton as At } from "@salutejs/sdds-finai";
|
|
|
2
2
|
import { jsx as F } from "react/jsx-runtime";
|
|
3
3
|
import { IconMagic as It, IconResizeCorneredFill as Tt } from "@salutejs/plasma-icons";
|
|
4
4
|
import { surfaceSolidCard as ct, shadowDownSoftM as Dt, textTertiary as Pt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
5
|
-
import { t as Lt, c as at } from "../../chunks/utils-
|
|
5
|
+
import { t as Lt, c as at } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
6
6
|
import { useState as _, useRef as X, useCallback as T, useEffect as R, useMemo as K, useLayoutEffect as et } from "react";
|
|
7
7
|
import { s as ht, borderRadius as St } from "../../constants/index.mjs";
|
|
8
8
|
import lt from "styled-components";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const DRAG_THRESHOLD = 5;
|
|
2
|
+
export declare const GLOW_BORDER = 4;
|
|
3
|
+
export declare const DEFAULT_TARGET_GAP = 12;
|
|
4
|
+
export declare const DEFAULT_MIN_WIDTH = 360;
|
|
5
|
+
export declare const DEFAULT_MIN_HEIGHT = 360;
|
|
6
|
+
export declare const CARD_PADDING = 16;
|
|
7
|
+
export declare const DEFAULT_POPUP_SIZE: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const FALLBACK_POSITION_INDENT = 56;
|
|
12
|
+
export declare const RESIZE_THROTTLE_DELAY = 100;
|
|
13
|
+
export declare const LOCAL_STORAGE_DEFAULT_KEY = "ai-agent-popup-state";
|
|
14
|
+
export declare const STORAGE_SAVE_DELAY = 300;
|
|
15
|
+
export declare const DRAGGING_CLASS = "ai-agent-popup-dragging";
|
|
16
|
+
export declare const NO_DRAG_SELECTOR = "button, a, input, textarea, select, [contenteditable=\"true\"], [data-no-drag]";
|
|
17
|
+
export declare const GLOW_WIDTH_RATIO = 0.93;
|
|
18
|
+
export declare const GLOW_HEIGHT = 79;
|
|
19
|
+
export declare const GLOW_TOP_OVERHANG = 25;
|
|
20
|
+
export declare const DEFAULT_INPUT_MAX_HEIGHT = 220;
|
|
21
|
+
export declare const INPUT_VERTICAL_CHROME = 23;
|
|
22
|
+
export declare const LEFT_PANEL_RAIL_WIDTH = 48;
|
|
23
|
+
export declare const LEFT_PANEL_SECTION_WIDTH = 300;
|
|
24
|
+
export declare const LEFT_PANEL_INNER_GAP = 8;
|
|
25
|
+
export declare const LEFT_PANEL_CONTENT_GAP = 12;
|
|
26
|
+
export declare const LEFT_PANEL_DIVIDER_WIDTH = 1;
|
|
27
|
+
export declare const LEFT_PANEL_DIVIDER_RADIUS = 2;
|
|
28
|
+
export declare const LEFT_PANEL_HEADER_HEIGHT = 40;
|
|
29
|
+
export declare const LEFT_PANEL_HEADER_GAP = 2;
|
|
30
|
+
export declare const POPUP_MAX_SIZE = 800;
|
|
31
|
+
export declare const MIN_WIDTH_WITH_SECTION = 615;
|
|
32
|
+
export declare const LEFT_PANEL_SECTION_DELTA: number;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledPopup: import('styled-components').StyledComponent<import('react').ForwardRefExoticComponent<import('../Popup').PopupProps & import('react').RefAttributes<HTMLDivElement>>, import('styled-components').DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledSurfaceFloating: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
4
|
+
$shadow: string;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const StyledSurfaceEmbedded: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
7
|
+
$shadow: string;
|
|
8
|
+
}, never>;
|
|
9
|
+
export declare const StyledCard: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
10
|
+
export declare const StyledCardContent: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
11
|
+
export declare const StyledInputRoot: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
12
|
+
export declare const StyledInputGlow: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
13
|
+
$visible: boolean;
|
|
14
|
+
$isDark: boolean;
|
|
15
|
+
}, never>;
|
|
16
|
+
export declare const StyledInputBackplate: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
17
|
+
$maxHeight: number;
|
|
18
|
+
}, never>;
|
|
19
|
+
export declare const StyledLeftPanel: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
20
|
+
export declare const StyledLeftPanelZone: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
21
|
+
$open: boolean;
|
|
22
|
+
}, never>;
|
|
23
|
+
export declare const StyledRail: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
24
|
+
$active: boolean;
|
|
25
|
+
}, never>;
|
|
26
|
+
export declare const StyledSection: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {
|
|
27
|
+
$active: boolean;
|
|
28
|
+
}, never>;
|
|
29
|
+
export declare const StyledSectionHeader: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
30
|
+
export declare const StyledSectionTitleIcon: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
31
|
+
export declare const StyledSectionTitle: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
32
|
+
export declare const StyledSectionContent: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|
|
33
|
+
export declare const StyledLeftPanelDivider: import('styled-components').StyledComponent<"div", import('styled-components').DefaultTheme, {}, never>;
|