@daisforge/ui 1.10.3 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AnalyticalWidget-C7Eg_BvO.mjs → AnalyticalWidget-Ca_EuSTO.mjs} +1 -1
- package/chunks/{AnalyticalWidget-B7ClAsdR.cjs → AnalyticalWidget-xgvWcsXx.cjs} +1 -1
- package/chunks/{ApprovalCenter-DF3QvU-j.mjs → ApprovalCenter-4aJlJfei.mjs} +2 -2
- package/chunks/{ApprovalCenter-BBO6xzlj.cjs → ApprovalCenter-Ij5NMkY-.cjs} +1 -1
- package/chunks/{BlockTitle-C-S68hGO.mjs → BlockTitle-CgXVHok6.mjs} +2 -2
- package/chunks/{BlockTitle-B9kddQoH.cjs → BlockTitle-SaP9H2PI.cjs} +1 -1
- package/chunks/{Container-FDjGjCwM.cjs → Container-ChuCs63G.cjs} +1 -1
- package/chunks/{Container-MnZxUYkx.mjs → Container-D8RdjkGo.mjs} +1 -1
- package/chunks/{EmptyState-B4btmmsT.cjs → EmptyState-BxUh2dhY.cjs} +1 -1
- package/chunks/{EmptyState-Dt-0Lcpf.mjs → EmptyState-C0aHgxrn.mjs} +1 -1
- package/chunks/{FiltersActions-B5itGUXL.cjs → FiltersActions-BekNxF-h.cjs} +1 -1
- package/chunks/{FiltersActions-B8qHj-O3.mjs → FiltersActions-CSucE-Ql.mjs} +4 -4
- package/chunks/FormDatePickers-BCyW24Pr.cjs +1 -0
- package/chunks/{FormDatePickers-BClwflaz.mjs → FormDatePickers-DfdGdbwP.mjs} +205 -202
- package/chunks/{FormSegmentGroup-BlE9ahgH.cjs → FormSegmentGroup-BKuHtPEn.cjs} +1 -1
- package/chunks/{FormSegmentGroup-CLpUa9ZF.mjs → FormSegmentGroup-DqFMVBr0.mjs} +24 -24
- package/chunks/{FormTextArea-BNLRTeXN.mjs → FormTextArea-CCrYx4pL.mjs} +63 -64
- package/chunks/FormTextArea-sly1mY7h.cjs +1 -0
- package/chunks/{GridDND-DCBTab4L.mjs → GridDND-Bycwiynh.mjs} +151 -147
- package/chunks/GridDND-MsZt1fXJ.cjs +1 -0
- package/chunks/{LeftPanel-DrfExsdt.mjs → LeftPanel-C72uosX_.mjs} +1 -1
- package/chunks/{LeftPanel-Bio5yorL.cjs → LeftPanel-Di-IqpZ_.cjs} +1 -1
- package/chunks/{ListOfFilters-Bub8eS7H.cjs → ListOfFilters-B3bM1n4w.cjs} +1 -1
- package/chunks/{ListOfFilters-CQMba-A5.mjs → ListOfFilters-CPJGgMMc.mjs} +3 -3
- package/chunks/{MassActions-BUQnJNLt.cjs → MassActions-BbAXi3z9.cjs} +1 -1
- package/chunks/{MassActions-D3pcqOuK.mjs → MassActions-CZm8vqj8.mjs} +3 -3
- package/chunks/{PageTitle-BKByYCPS.cjs → PageTitle-DEsijnDg.cjs} +1 -1
- package/chunks/{PageTitle-CDzW4L5v.mjs → PageTitle-TusD1S2c.mjs} +2 -2
- package/chunks/{SplitView-CXHc8Kth.cjs → SplitView-BHdftJ9A.cjs} +1 -1
- package/chunks/{SplitView-Djf6REPV.mjs → SplitView-Cd-xkxCe.mjs} +1 -1
- package/chunks/Stories-CR_EUNO7.mjs +1018 -0
- package/chunks/Stories-CxsYx2OE.cjs +1 -0
- package/chunks/{Table-CNzEc_EO.cjs → Table--05ONCr1.cjs} +1 -1
- package/chunks/{Table-DTb3FpsK.mjs → Table-l-P3NNUN.mjs} +6 -6
- package/chunks/{TableCanvas-BmR3qLnY.cjs → TableCanvas-D-sndY82.cjs} +2 -2
- package/chunks/{TableCanvas-CqJEwXwz.mjs → TableCanvas-D4Bck7wv.mjs} +17 -14
- package/chunks/{TableGlide-B0WCOgRq.mjs → TableGlide-B61Yi-Hs.mjs} +1069 -1048
- package/chunks/TableGlide-CbvaAM_H.cjs +1 -0
- package/chunks/{styles-BFPdR0Hr.mjs → styles-D8FDGdVz.mjs} +1 -1
- package/chunks/{styles-B2ZkJ8rO.cjs → styles-OR0WE1xm.cjs} +1 -1
- package/chunks/utils-BNelzuI-.mjs +548 -0
- package/chunks/utils-C93a2mD7.cjs +25 -0
- package/components/AiAgentPopover/AiAgentPopover.utils.d.ts +1 -1
- package/components/AiAgentPopover/index.cjs +1 -1
- package/components/AiAgentPopover/index.d.ts +1 -1
- package/components/AiAgentPopover/index.mjs +1 -1
- package/components/AnalyticalWidget/AnalyticalWidget.d.ts +2 -2
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.d.ts +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/AnalyticalWidgetHeader.d.ts +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/AnalyticalWidgetTitle.d.ts +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.d.ts +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.d.ts +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- 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.d.ts +1 -1
- package/components/BlockGradientScroll/index.mjs +1 -1
- package/components/BlockTitle/BlockTitle.d.ts +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/Calendar/index.d.ts +2 -2
- package/components/Cell/index.d.ts +1 -1
- package/components/Collapse/Collapse.d.ts +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/DatePicker/DatePicker.types.d.ts +1 -1
- package/components/DatePicker/index.d.ts +1 -1
- package/components/DateTimePicker/index.d.ts +1 -1
- package/components/Drawer/index.d.ts +2 -2
- package/components/DrawerDF/components/CloseButton.d.ts +1 -1
- package/components/DrawerDF/index.cjs +1 -1
- package/components/DrawerDF/index.d.ts +1 -1
- package/components/DrawerDF/index.mjs +6 -6
- 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.d.ts +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/Grid/index.d.ts +1 -1
- package/components/GridDND/GridDND.ItemWrapper.d.ts +1 -1
- package/components/GridDND/GridDND.d.ts +1 -1
- package/components/GridDND/GridDND.styled.d.ts +1 -0
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.d.ts +1 -0
- package/components/GridDND/index.mjs +5 -4
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +3 -3
- package/components/IconButton/IconButtonFilter/Circle.d.ts +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.d.ts +1 -1
- package/components/IconButton/index.mjs +1 -1
- package/components/IconSvgSprite/IconSvgSprite.d.ts +1 -1
- package/components/InformationWrapper/index.d.ts +1 -1
- package/components/LeftPanel/LeftPanel.d.ts +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/hooks/useResize.d.ts +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/ChipOrGroup.d.ts +1 -1
- package/components/ListOfFilters/ListOfFilters.d.ts +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/ListOfFilters/useFiltersList.d.ts +1 -1
- package/components/MassActions/MassActions.d.ts +1 -1
- package/components/MassActions/MassActionsDropdown.d.ts +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/hooks/useMassActionsButtons.d.ts +1 -1
- package/components/MassActions/hooks/useMassActionsCollapse.d.ts +1 -1
- package/components/MassActions/hooks/useMassActionsCompression.d.ts +1 -1
- package/components/MassActions/hooks/useMassActionsEffects.d.ts +1 -1
- package/components/MassActions/hooks/useMassActionsPosition.d.ts +1 -1
- package/components/MassActions/hooks/useMassActionsSidebar.d.ts +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/ModalDF/ctxs.d.ts +1 -1
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +1 -1
- package/components/ModalDFConfirmation/index.d.ts +1 -1
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.d.ts +1 -1
- package/components/Notification/index.mjs +2 -2
- package/components/Notification/utils/getClassName.d.ts +1 -1
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.d.ts +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/Popover/index.d.ts +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.d.ts +1 -1
- package/components/PopoverDF/index.mjs +1 -1
- package/components/Popup/index.d.ts +2 -2
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.d.ts +1 -1
- package/components/PopupDF/index.mjs +1 -1
- package/components/Segment/index.d.ts +1 -1
- package/components/Skeleton/index.d.ts +1 -1
- package/components/SplitView/components/SplitViewFullscreenWrapper.d.ts +1 -1
- package/components/SplitView/hooks/useIsClosingClosedOpening.d.ts +1 -1
- package/components/SplitView/hooks/useResize.d.ts +1 -1
- package/components/SplitView/hooks/useUpdateSidebarPxOnContainerResize.d.ts +1 -1
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.d.ts +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/Stories.constants.d.ts +47 -0
- package/components/Stories/Stories.d.ts +9 -0
- package/components/Stories/Stories.styled.d.ts +1 -0
- package/components/Stories/Stories.types.d.ts +96 -0
- package/components/Stories/components/StoriesBanner/StoriesBanner.d.ts +6 -0
- package/components/Stories/components/StoriesBanner/StoriesBanner.styled.d.ts +7 -0
- package/components/Stories/components/StoriesBanner/index.cjs +1 -0
- package/components/Stories/components/StoriesBanner/index.d.ts +2 -0
- package/components/Stories/components/StoriesBanner/index.mjs +4 -0
- package/components/Stories/components/StoriesContent/StoriesContent.d.ts +10 -0
- package/components/Stories/components/StoriesContent/StoriesContent.styled.d.ts +9 -0
- package/components/Stories/components/StoriesContent/index.cjs +1 -0
- package/components/Stories/components/StoriesContent/index.d.ts +2 -0
- package/components/Stories/components/StoriesContent/index.mjs +4 -0
- package/components/Stories/components/StoriesPreview/StoriesPreview.d.ts +3 -0
- package/components/Stories/components/StoriesPreview/StoriesPreview.styled.d.ts +21 -0
- package/components/Stories/components/StoriesPreview/StoriesPreview.types.d.ts +5 -0
- package/components/Stories/components/StoriesPreview/index.cjs +1 -0
- package/components/Stories/components/StoriesPreview/index.d.ts +2 -0
- package/components/Stories/components/StoriesPreview/index.mjs +4 -0
- package/components/Stories/components/StoriesProgress/StoriesProgress.d.ts +5 -0
- package/components/Stories/components/StoriesProgress/StoriesProgress.styled.d.ts +7 -0
- package/components/Stories/components/StoriesProgress/index.cjs +1 -0
- package/components/Stories/components/StoriesProgress/index.d.ts +2 -0
- package/components/Stories/components/StoriesProgress/index.mjs +4 -0
- package/components/Stories/components/StoriesViewer/StoriesViewTransitionStyle.d.ts +1 -0
- package/components/Stories/components/StoriesViewer/StoriesViewer.d.ts +2 -0
- package/components/Stories/components/StoriesViewer/StoriesViewer.lazy.d.ts +2 -0
- package/components/Stories/components/StoriesViewer/StoriesViewer.styled.d.ts +15 -0
- package/components/Stories/components/StoriesViewer/index.cjs +1 -0
- package/components/Stories/components/StoriesViewer/index.d.ts +2 -0
- package/components/Stories/components/StoriesViewer/index.mjs +5 -0
- package/components/Stories/hooks/useAssetPreloader.d.ts +3 -0
- package/components/Stories/hooks/useNavigation.d.ts +16 -0
- package/components/Stories/hooks/useTimeline.d.ts +12 -0
- package/components/Stories/index.cjs +1 -0
- package/components/Stories/index.d.ts +4 -0
- package/components/Stories/index.mjs +6 -0
- package/components/Stories/store/StoriesContext.d.ts +25 -0
- package/components/Stories/store/createStoriesStore.d.ts +13 -0
- package/components/Stories/store/useStoriesSnapshot.d.ts +3 -0
- package/components/Stories/store/viewTransition.d.ts +5 -0
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.d.ts +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/contexts.d.ts +2 -2
- 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/ChangeAllButtonsBlock.d.ts +1 -1
- package/components/Table/feature-column-control/ColumnsControlInner.d.ts +1 -1
- package/components/Table/feature-column-control/ColumnsList/ColumnsList.d.ts +1 -1
- package/components/Table/feature-column-control/ColumnsList/handlers.d.ts +2 -2
- 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/ConfirmOrResetBlock.d.ts +1 -1
- package/components/Table/feature-column-control/dnd/DragButton.d.ts +1 -1
- package/components/Table/feature-column-control/dnd/useDragAndDrop.d.ts +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-column-control/useColumnsControl.d.ts +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.d.ts +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-edit/selectEditor.d.ts +1 -1
- package/components/Table/feature-edit/textEditor.d.ts +2 -2
- package/components/Table/feature-filtering/combobox/combobox.d.ts +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/combobox/styled.d.ts +1937 -4
- package/components/Table/feature-filtering/filter-list-block/filter-list-block.d.ts +1 -1
- package/components/Table/feature-filtering/filter-list-block/get-chips-array.d.ts +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/header-filter-button.d.ts +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/hooks/use-filter-management.d.ts +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/SidebarFilter.d.ts +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.d.ts +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/use-infinity-scroll.d.ts +1 -1
- package/components/Table/feature-infinity-scroll/use-stack.d.ts +1 -1
- package/components/Table/feature-key-text/constants.d.ts +1 -1
- package/components/Table/feature-key-text/handlers.d.ts +2 -2
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-key-text/useColsWithKeyTextMap.d.ts +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-reorder-columns/handlers.d.ts +6 -6
- package/components/Table/feature-reorder-columns/reorderHandler.d.ts +1 -1
- package/components/Table/feature-reorder-columns/useReorderDragable.d.ts +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-right-sidebar/ui/SidebarTabs.d.ts +1 -1
- package/components/Table/feature-row-detail/ExpandDetailButton.d.ts +1 -1
- package/components/Table/feature-row-detail/ctx.d.ts +1 -1
- package/components/Table/feature-row-detail/handlers.d.ts +2 -2
- 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-detail/useRowDetailPanel.d.ts +1 -1
- package/components/Table/feature-row-instruments/ctx.d.ts +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-instruments/row-instruments-columns.d.ts +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/RowsGroupingRenderCell.d.ts +1 -1
- package/components/Table/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +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-rows-grouping/useGetRowsGroupingBtnProps.d.ts +1 -1
- package/components/Table/feature-rows-grouping/useGroupedRows.d.ts +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-select-row/summary-checkbox.d.ts +1 -1
- package/components/Table/feature-select-row/useSelectRow.d.ts +1 -1
- package/components/Table/feature-sorting/header-sort-button.d.ts +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-sorting/useSortedRows.d.ts +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/cell-expand-formatter.d.ts +1 -1
- package/components/Table/feature-tree/chevron-tree-btn.d.ts +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.d.ts +3 -3
- 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/renders/renderCell.d.ts +1 -1
- package/components/Table/renders/renderEditCell.d.ts +1 -1
- package/components/Table/resize-observer-context.d.ts +2 -2
- 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/table-hooks/useColumns.d.ts +1 -1
- package/components/Table/table-hooks/useContextMenuValues.d.ts +2 -2
- package/components/Table/table-hooks/useContextsValues.d.ts +1 -1
- package/components/Table/table-hooks/useFilteredRows.d.ts +1 -1
- package/components/Table/table-hooks/useFlattenedRows.d.ts +1 -1
- package/components/Table/table-hooks/useInlineStyle.d.ts +1 -1
- package/components/Table/table-hooks/useIsLoadingTable.d.ts +1 -1
- package/components/Table/table-hooks/useOnCellClick.d.ts +1 -1
- package/components/Table/table-hooks/useOnRowsChange.d.ts +1 -1
- package/components/Table/table-hooks/useOnScroll.d.ts +1 -1
- package/components/Table/table-hooks/usePrepareTableConfig.d.ts +1 -1
- package/components/Table/table-hooks/useRowClass.d.ts +1 -1
- package/components/Table/table-hooks/useRowHeight.d.ts +1 -1
- package/components/Table/table-hooks/useRowsWithSkeletonsOrNot.d.ts +1 -1
- package/components/Table/table-hooks/useSearchValues.d.ts +1 -1
- package/components/Table/table-hooks/useSidebarValues.d.ts +1 -1
- package/components/Table/table-hooks/useTableCollapseValues.d.ts +1 -1
- package/components/Table/types/column-config.type.d.ts +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/ControlBlock.d.ts +1 -1
- package/components/Table/widgets/control-block/ControlBlock.lazy.d.ts +1 -1
- package/components/Table/widgets/control-block/ControlBlockWithoutResize.d.ts +1 -1
- package/components/Table/widgets/control-block/control-block-actions.d.ts +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/control-block/right-side/right-side.d.ts +1 -1
- package/components/Table/widgets/control-block/use-feature-array.d.ts +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/MassActions.d.ts +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/Table/widgets/table-or-card-UI.d.ts +1 -1
- package/components/TableCanvas/TableCanvas.d.ts +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/adaptColumn.d.ts +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/adaptRenderHeaderCell.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.d.ts +2 -2
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/reexports-for-external.d.ts +2 -2
- package/components/TableCanvas/TableGlideInstance/type.d.ts +2 -2
- package/components/TableCanvas/TableGlideInstance/utils/column/getColumnName.d.ts +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/SplitIconButton.d.ts +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.d.ts +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/contexts.d.ts +2 -2
- package/components/TableCanvas/feature-cell-transfer/hooks/useClipboard.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/hooks/useCopy.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/hooks/useFillHandle.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/hooks/usePaste.d.ts +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.d.ts +4 -4
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +1 -1
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ChangeAllButtonsBlock.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsControlInner.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/ColumnsList.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/handlers.d.ts +2 -2
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ConfirmOrResetBlock.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/dnd/DragButton.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/dnd/useDragAndDrop.d.ts +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/useColumnsControl.d.ts +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-content-state/TableContentStateOverlay.d.ts +1 -1
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.d.ts +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-content-state/useContentStateOverlay.d.ts +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.d.ts +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/types.d.ts +1 -1
- package/components/TableCanvas/feature-edit/CellEditorCombobox.d.ts +1 -1
- package/components/TableCanvas/feature-edit/CellEditorNumberFormat.d.ts +1 -1
- package/components/TableCanvas/feature-edit/CellEditorTextArea.d.ts +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/combobox.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/styled.d.ts +1937 -4
- package/components/TableCanvas/feature-filtering/filter-list-block/filter-list-block.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/get-chips-array.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/header-filter-button.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/hooks/use-filter-management.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/SidebarFilter.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/use-infinity-scroll.d.ts +1 -1
- package/components/TableCanvas/feature-infinity-scroll/use-stack.d.ts +1 -1
- package/components/TableCanvas/feature-key-text/constants.d.ts +1 -1
- package/components/TableCanvas/feature-key-text/handlers.d.ts +2 -2
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/useColsWithKeyTextMap.d.ts +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.d.ts +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/components/PopoverContainer.d.ts +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.d.ts +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.d.ts +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-reorder-columns/handlers.d.ts +6 -6
- package/components/TableCanvas/feature-reorder-columns/reorderHandler.d.ts +1 -1
- package/components/TableCanvas/feature-reorder-columns/useReorderDragable.d.ts +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/ui/SidebarTabs.d.ts +1 -1
- package/components/TableCanvas/feature-row-detail/ExpandDetailButton.d.ts +1 -1
- package/components/TableCanvas/feature-row-detail/ExpandDetailButtonComponent.d.ts +1 -1
- package/components/TableCanvas/feature-row-detail/ctx.d.ts +1 -1
- package/components/TableCanvas/feature-row-detail/handlers.d.ts +2 -2
- 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-detail/useRowDetailPanel.d.ts +1 -1
- package/components/TableCanvas/feature-row-instruments/ctx.d.ts +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/row-instruments-columns.d.ts +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/RowsGroupingRenderCell.d.ts +1 -1
- package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/useGetRowsGroupingBtnProps.d.ts +1 -1
- package/components/TableCanvas/feature-rows-grouping/useGroupedRows.d.ts +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/checbox-column.d.ts +1 -1
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/summary-checkbox.d.ts +2 -2
- package/components/TableCanvas/feature-select-row/useCheckboxRowIndexes.d.ts +1 -1
- package/components/TableCanvas/feature-select-row/useSelectRow.d.ts +1 -1
- package/components/TableCanvas/feature-sorting/header-sort-button.d.ts +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/useSortedRows.d.ts +1 -1
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.d.ts +2 -2
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.d.ts +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/cell-expand-formatter.d.ts +1 -1
- package/components/TableCanvas/feature-tree/chevron-tree-btn.d.ts +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.d.ts +6 -6
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/renders/renderCellGlide.d.ts +1 -1
- package/components/TableCanvas/renders/renderEditCell.d.ts +1 -1
- package/components/TableCanvas/renders/withSelectIcon.d.ts +1 -1
- package/components/TableCanvas/resize-observer-context.d.ts +2 -2
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/styles/styles.constants.d.ts +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useContextMenuValues.d.ts +2 -2
- package/components/TableCanvas/table-hooks/useContextsValues.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useFilteredRows.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useFlattenedRows.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useInlineStyle.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useIsLoadingTable.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useOnCellClick.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useOnRowsChange.d.ts +1 -1
- package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useRowClass.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useRowHeight.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useRowsWithSkeletonsOrNot.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useSearchValues.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useSidebarValues.d.ts +1 -1
- package/components/TableCanvas/table-hooks/useTableCollapseValues.d.ts +1 -1
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/ControlBlock.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/ControlBlock.lazy.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/ControlBlockWithoutResize.d.ts +1 -1
- 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/compression/measure.d.ts +2 -2
- package/components/TableCanvas/widgets/control-block/control-block-actions.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/pinning-menu/PinningFeature.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/pinning-menu/pinning-actions.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/right-side.d.ts +1 -1
- package/components/TableCanvas/widgets/control-block/use-feature-array.d.ts +1 -1
- package/components/TableCanvas/widgets/filter-sort-header.d.ts +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/MassActions.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/MassActionsDropdown.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsButtons.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCollapse.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCompression.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsEffects.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsPosition.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsSidebar.d.ts +1 -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 +1 -1
- package/components/TableContract/TableContract.d.ts +1 -1
- package/components/TableContract/features/editing.d.ts +1 -1
- package/components/TableContract/features/filtering.d.ts +1 -1
- package/components/TableContract/features/pagination.d.ts +1 -1
- package/components/TableContract/features/searching.d.ts +1 -1
- package/components/TableContract/features/sorting.d.ts +1 -1
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +2 -2
- package/components/TableContract/ui/AddRowsIconButtonWithPopover.d.ts +1 -1
- package/components/TableContract/ui/selectBooleanEditor.d.ts +1 -1
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/types.d.ts +2 -0
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/portalHoverEvents.d.ts +3 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableTabs/TableTabs.d.ts +1 -1
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.d.ts +1 -1
- package/components/TableTabs/index.mjs +1 -1
- package/components/Tabs/index.d.ts +2 -2
- package/components/TextField/TextFieldSearch.d.ts +1938 -5
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.mjs +51 -48
- package/components/Toast/index.d.ts +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/components/TourWidgetGradient.d.ts +1 -1
- package/components/TourWidget/index.cjs +1 -1
- package/components/TourWidget/index.d.ts +1 -1
- package/components/TourWidget/index.mjs +2 -2
- package/components/Typography/BaseComponents.d.ts +1 -1
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.d.ts +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/FormAutocomplete/FormAutocomplete.d.ts +1 -1
- package/formComponents/FormAutocomplete/index.cjs +1 -1
- package/formComponents/FormAutocomplete/index.mjs +40 -38
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +29 -29
- package/formComponents/FormDatePickers/FormDatePicker/FormDatePicker.d.ts +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/FormDatePickerRange.d.ts +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/validateRangeDate.d.ts +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/validateRequiredHo/321/201.d.ts +1 -1
- package/formComponents/FormDatePickers/index.cjs +1 -1
- package/formComponents/FormDatePickers/index.mjs +1 -1
- package/formComponents/FormDatePickers/lib/ui/RightIconButton.d.ts +1 -1
- package/formComponents/FormDatePickers/lib/utils/convertToISO.d.ts +1 -1
- package/formComponents/FormDatePickers/lib/utils/validateDate.d.ts +1 -1
- package/formComponents/FormMask/FormMask.d.ts +1 -1
- package/formComponents/FormMask/index.cjs +1 -1
- package/formComponents/FormMask/index.mjs +34 -32
- package/formComponents/FormNumberFormat/FormNumberFormat.d.ts +1 -1
- package/formComponents/FormNumberFormat/index.cjs +1 -1
- package/formComponents/FormNumberFormat/index.mjs +36 -34
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +12 -12
- package/formComponents/FormSegments/SegmentControlled.d.ts +1 -1
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSelect/index.cjs +1 -1
- package/formComponents/FormSelect/index.mjs +21 -21
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/formComponents/FormTextArea/components/RightContent.d.ts +1 -1
- package/formComponents/FormTextArea/index.cjs +1 -1
- package/formComponents/FormTextArea/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/index.cjs +1 -1
- package/formComponents/FormTextArea/ui/index.mjs +1 -1
- package/formComponents/FormTextField/index.cjs +1 -1
- package/formComponents/FormTextField/index.mjs +21 -21
- package/formComponents/utils/getPriorityRequired.d.ts +1 -1
- package/formComponents/utils/getRuleValue.d.ts +1 -1
- package/formComponents/utils/hasValidationRule.d.ts +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.mjs +1583 -1576
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.d.ts +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.d.ts +1 -1
- package/layouts/ErrorPage/index.mjs +1 -1
- package/layouts/FiltersActions/FiltersActions.d.ts +1939 -6
- package/layouts/FiltersActions/components/Circle.d.ts +1 -1
- package/layouts/FiltersActions/components/ListOfFilters.d.ts +1 -1
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/hooks/useAdaptiveFilters.d.ts +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.d.ts +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/PageLayout.d.ts +1 -1
- package/layouts/PageLayout/index.cjs +1 -1
- package/layouts/PageLayout/index.mjs +1 -1
- package/mixins/blockGradientScroll/index.d.ts +2 -2
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/mixins/scrollbar/mixin.d.ts +1 -1
- package/mixins/tourPulse/mixin.d.ts +1 -1
- package/package.json +1 -1
- package/shared/ui/Search/styled.d.ts +1937 -4
- package/shared/utils/inputs/getClearIcon.d.ts +1 -1
- package/shared/utils/inputs/getContentRight.d.ts +1 -1
- package/styles/DefaultGlobalStyle.d.ts +3 -3
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.d.ts +1 -1
- package/tokens/border/index.d.ts +1 -1
- package/tokens/color/index.d.ts +1 -1
- package/tokens/gradient/index.d.ts +1 -1
- package/tokens/shadow/index.d.ts +1 -1
- package/tokens/spacing/index.d.ts +1 -1
- package/tokens/typography/index.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.d.ts +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.d.ts +2 -2
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.d.ts +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.d.ts +2 -0
- package/utils/hooks/index.mjs +6 -4
- package/utils/hooks/useImageLoader.d.ts +10 -0
- package/utils/index.cjs +1 -1
- package/utils/index.d.ts +3 -3
- package/utils/index.mjs +25 -23
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/FormDatePickers-k_9RxQ8v.cjs +0 -1
- package/chunks/FormTextArea-gkAcAtRJ.cjs +0 -1
- package/chunks/GridDND-Btk25GHs.cjs +0 -1
- package/chunks/TableGlide-DBSIrlp_.cjs +0 -1
- package/chunks/utils-Ch8gMTzR.mjs +0 -504
- package/chunks/utils-DN3rU1Iu.cjs +0 -25
|
@@ -0,0 +1,1018 @@
|
|
|
1
|
+
import { j as n } from "./vendor-BG4P-329.mjs";
|
|
2
|
+
import { Spinner as ye, IconButton as Q } from "@salutejs/sdds-finai";
|
|
3
|
+
import { IconDisclosureLeftOutline as ve, IconDisclosureRightOutline as he, IconClose as be } from "@salutejs/plasma-icons";
|
|
4
|
+
import { useRef as V, useEffect as T, useContext as Ne, createContext as ke, useSyncExternalStore as Ce, useState as ce, useCallback as ue, lazy as Ie, forwardRef as Ve, Children as _e, useImperativeHandle as Ee, cloneElement as Pe, isValidElement as De, Suspense as je } from "react";
|
|
5
|
+
import { createPortal as Te, flushSync as Oe } from "react-dom";
|
|
6
|
+
import { E as Re } from "./EmptyState-C0aHgxrn.mjs";
|
|
7
|
+
import { n as Be, x as Ae, y as ee } from "./utils-BNelzuI-.mjs";
|
|
8
|
+
import { surfaceSolidCard as ze, onLightSurfaceTransparentDeep as $e, onDarkSurfaceTransparentDeep as Ge, onLightSurfaceTransparentTertiary as Le, onDarkSurfaceTransparentTertiary as Fe, textAccent as He, shadowDownSoftL as Me, textPrimary as Xe } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
9
|
+
import x, { keyframes as z, css as me, createGlobalStyle as We } from "styled-components";
|
|
10
|
+
import { a as Ye } from "./AnalyticalWidget-Ca_EuSTO.mjs";
|
|
11
|
+
const Ze = ({
|
|
12
|
+
controller: e,
|
|
13
|
+
pauseHoldDelay: i,
|
|
14
|
+
tapPrevZone: t,
|
|
15
|
+
isOpen: o
|
|
16
|
+
}) => {
|
|
17
|
+
const r = V(), f = V(!1), d = V("next"), l = () => {
|
|
18
|
+
r.current && (clearTimeout(r.current), r.current = void 0);
|
|
19
|
+
}, y = (g) => {
|
|
20
|
+
const a = g.currentTarget.getBoundingClientRect(), v = a.width > 0 ? (g.clientX - a.left) / a.width : 1;
|
|
21
|
+
d.current = v < t ? "prev" : "next", f.current = !1, l(), r.current = setTimeout(() => {
|
|
22
|
+
f.current = !0, e.pause();
|
|
23
|
+
}, i);
|
|
24
|
+
}, m = () => {
|
|
25
|
+
if (l(), f.current) {
|
|
26
|
+
f.current = !1, e.resume();
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
d.current === "prev" ? e.prev() : e.next();
|
|
30
|
+
}, p = () => {
|
|
31
|
+
l(), f.current && (f.current = !1, e.resume());
|
|
32
|
+
};
|
|
33
|
+
return T(() => {
|
|
34
|
+
if (!o)
|
|
35
|
+
return;
|
|
36
|
+
const g = (a) => {
|
|
37
|
+
a.key === "ArrowLeft" ? (a.preventDefault(), e.prev()) : a.key === "ArrowRight" ? (a.preventDefault(), e.next()) : a.key === "Escape" && (a.preventDefault(), e.close());
|
|
38
|
+
};
|
|
39
|
+
return window.addEventListener("keydown", g), () => window.removeEventListener("keydown", g);
|
|
40
|
+
}, [o, e]), {
|
|
41
|
+
onPointerDown: y,
|
|
42
|
+
onPointerUp: m,
|
|
43
|
+
onPointerLeave: p,
|
|
44
|
+
onPointerCancel: p
|
|
45
|
+
};
|
|
46
|
+
}, pe = ke(null), Ke = pe.Provider, X = () => {
|
|
47
|
+
const e = Ne(pe);
|
|
48
|
+
if (!e)
|
|
49
|
+
throw new Error(
|
|
50
|
+
"Компоненты Stories должны использоваться внутри <Stories>."
|
|
51
|
+
);
|
|
52
|
+
return e;
|
|
53
|
+
}, W = (e) => Ce(e.subscribe, e.getSnapshot, e.getSnapshot), k = {
|
|
54
|
+
root: "df-stories",
|
|
55
|
+
preview: "df-stories-preview",
|
|
56
|
+
previewRing: "df-stories-preview__ring",
|
|
57
|
+
previewGap: "df-stories-preview__gap",
|
|
58
|
+
previewBody: "df-stories-preview__body",
|
|
59
|
+
previewTitle: "df-stories-preview__title",
|
|
60
|
+
viewer: "df-stories-viewer",
|
|
61
|
+
overlay: "df-stories-viewer__overlay",
|
|
62
|
+
stage: "df-stories-viewer__stage",
|
|
63
|
+
banner: "df-stories-banner",
|
|
64
|
+
progress: "df-stories-progress",
|
|
65
|
+
progressItem: "df-stories-progress__item",
|
|
66
|
+
content: "df-stories-content",
|
|
67
|
+
action: "df-stories-banner__action",
|
|
68
|
+
arrowPrev: "df-stories-viewer__arrow-prev",
|
|
69
|
+
arrowNext: "df-stories-viewer__arrow-next",
|
|
70
|
+
close: "df-stories-viewer__close"
|
|
71
|
+
}, qe = "linear-gradient(135deg, #08c6c9 0%, #99b0fe 100%)", Ue = "#ecf6fc", $ = "df-stories-banner", M = {
|
|
72
|
+
/** Длительность показа сегмента по умолчанию, мс. */
|
|
73
|
+
duration: 5e3,
|
|
74
|
+
/** Порог удержания указателя, после которого включается пауза (мс). До него — тап-навигация. */
|
|
75
|
+
pauseHoldDelay: 200,
|
|
76
|
+
/** Доля ширины баннера слева, отвечающая за переход к предыдущему сегменту (⅓). */
|
|
77
|
+
tapPrevZone: 1 / 3,
|
|
78
|
+
/** Цвет оверлея (тот же, что у ModalDF). */
|
|
79
|
+
overlayColor: "#060a0c47",
|
|
80
|
+
/** z-index оверлея; баннер получает zIndex + 1. */
|
|
81
|
+
zIndex: 9e3
|
|
82
|
+
}, N = {
|
|
83
|
+
/** Диаметр круглого триггера, px. */
|
|
84
|
+
circle: 98,
|
|
85
|
+
/** Толщина каждого кольца (градиент / белый зазор), px. */
|
|
86
|
+
ring: 2,
|
|
87
|
+
/** Отступ от триггера до подписи, px. */
|
|
88
|
+
titleGap: 6,
|
|
89
|
+
/** Радиусы прямоугольного триггера: внешнее кольцо / белый зазор / тело. */
|
|
90
|
+
rectRadiusOuter: 12,
|
|
91
|
+
rectRadiusBody: 8,
|
|
92
|
+
/** Баннер. */
|
|
93
|
+
bannerMaxWidth: 430,
|
|
94
|
+
bannerMaxHeight: 900,
|
|
95
|
+
bannerRadius: 16,
|
|
96
|
+
bannerPadding: 28,
|
|
97
|
+
/** Внешний контейнер вьюера (баннер + просветы под стрелки). */
|
|
98
|
+
stageWidth: 558,
|
|
99
|
+
/** Прогресс-индикаторы. */
|
|
100
|
+
progressHeight: 4,
|
|
101
|
+
progressRadius: 2,
|
|
102
|
+
progressFillRadius: 6,
|
|
103
|
+
progressGap: 4
|
|
104
|
+
}, Je = "StoriesPreview", ae = x.div.withConfig({
|
|
105
|
+
displayName: "StoriesContentstyled__StyledContent"
|
|
106
|
+
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:", ";"], ze), Qe = x.img.withConfig({
|
|
107
|
+
displayName: "StoriesContentstyled__StyledImage"
|
|
108
|
+
})(["width:100%;height:100%;object-fit:", ";opacity:", ";transition:opacity 0.2s ease;user-select:none;"], ({
|
|
109
|
+
$objectFit: e
|
|
110
|
+
}) => e, ({
|
|
111
|
+
$loaded: e
|
|
112
|
+
}) => e ? 1 : 0), en = x.div.withConfig({
|
|
113
|
+
displayName: "StoriesContentstyled__StyledSpinner"
|
|
114
|
+
})(["position:absolute;display:flex;align-items:center;justify-content:center;"]), nn = x.div.withConfig({
|
|
115
|
+
displayName: "StoriesContentstyled__StyledErrorSlot"
|
|
116
|
+
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:", "px;"], N.bannerPadding), tn = ({
|
|
117
|
+
slide: e,
|
|
118
|
+
status: i,
|
|
119
|
+
errorNode: t
|
|
120
|
+
}) => {
|
|
121
|
+
const o = e.objectFit ?? "cover", r = i === "loaded";
|
|
122
|
+
return i === "error" ? /* @__PURE__ */ n.jsxDEV(ae, { className: k.content, children: /* @__PURE__ */ n.jsxDEV(nn, { children: t }, void 0, !1, {
|
|
123
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
124
|
+
lineNumber: 37,
|
|
125
|
+
columnNumber: 9
|
|
126
|
+
}, void 0) }, void 0, !1, {
|
|
127
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
128
|
+
lineNumber: 36,
|
|
129
|
+
columnNumber: 7
|
|
130
|
+
}, void 0) : /* @__PURE__ */ n.jsxDEV(ae, { className: k.content, children: [
|
|
131
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
132
|
+
Qe,
|
|
133
|
+
{
|
|
134
|
+
src: e.src,
|
|
135
|
+
alt: "",
|
|
136
|
+
draggable: !1,
|
|
137
|
+
$objectFit: o,
|
|
138
|
+
$loaded: r
|
|
139
|
+
},
|
|
140
|
+
void 0,
|
|
141
|
+
!1,
|
|
142
|
+
{
|
|
143
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
144
|
+
lineNumber: 44,
|
|
145
|
+
columnNumber: 7
|
|
146
|
+
},
|
|
147
|
+
void 0
|
|
148
|
+
),
|
|
149
|
+
i === "loading" ? /* @__PURE__ */ n.jsxDEV(en, { children: /* @__PURE__ */ n.jsxDEV(ye, { view: "default", size: "l" }, void 0, !1, {
|
|
150
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
151
|
+
lineNumber: 53,
|
|
152
|
+
columnNumber: 11
|
|
153
|
+
}, void 0) }, void 0, !1, {
|
|
154
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
155
|
+
lineNumber: 52,
|
|
156
|
+
columnNumber: 7
|
|
157
|
+
}, void 0) : null
|
|
158
|
+
] }, void 0, !0, {
|
|
159
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesContent/StoriesContent.tsx",
|
|
160
|
+
lineNumber: 43,
|
|
161
|
+
columnNumber: 5
|
|
162
|
+
}, void 0);
|
|
163
|
+
}, de = (e, i) => {
|
|
164
|
+
e && (e.style.transform = `scaleX(${i})`);
|
|
165
|
+
}, on = ({
|
|
166
|
+
fillRef: e,
|
|
167
|
+
active: i,
|
|
168
|
+
duration: t,
|
|
169
|
+
isPlaying: o,
|
|
170
|
+
isReady: r,
|
|
171
|
+
resetKey: f,
|
|
172
|
+
onComplete: d
|
|
173
|
+
}) => {
|
|
174
|
+
const l = V(0), y = V(d);
|
|
175
|
+
y.current = d, T(() => {
|
|
176
|
+
l.current = 0, de(e.current, 0);
|
|
177
|
+
}, [f, e]), T(() => {
|
|
178
|
+
if (!i || !o || !r || t <= 0)
|
|
179
|
+
return;
|
|
180
|
+
let m = 0, p = performance.now();
|
|
181
|
+
const g = (a) => {
|
|
182
|
+
l.current += a - p, p = a;
|
|
183
|
+
const v = Math.min(1, l.current / t);
|
|
184
|
+
if (de(e.current, v), v >= 1) {
|
|
185
|
+
y.current();
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
m = requestAnimationFrame(g);
|
|
189
|
+
};
|
|
190
|
+
return m = requestAnimationFrame(g), () => cancelAnimationFrame(m);
|
|
191
|
+
}, [i, o, r, t, f, e]);
|
|
192
|
+
}, rn = x.div.withConfig({
|
|
193
|
+
displayName: "StoriesProgressstyled__StyledProgress"
|
|
194
|
+
})(["display:flex;gap:", "px;width:100%;"], N.progressGap), sn = x.div.withConfig({
|
|
195
|
+
displayName: "StoriesProgressstyled__StyledItem"
|
|
196
|
+
})(["position:relative;flex:1 1 0;height:", "px;border-radius:", "px;overflow:hidden;background:", ";"], N.progressHeight, N.progressRadius, ({
|
|
197
|
+
$bg: e
|
|
198
|
+
}) => e), an = x.span.withConfig({
|
|
199
|
+
displayName: "StoriesProgressstyled__StyledFill"
|
|
200
|
+
})(["position:absolute;inset:0;border-radius:", "px;background:", ";transform:scaleX(0);transform-origin:left center;will-change:transform;"], N.progressFillRadius, ({
|
|
201
|
+
$color: e
|
|
202
|
+
}) => e), dn = ({
|
|
203
|
+
isReady: e
|
|
204
|
+
}) => {
|
|
205
|
+
var j;
|
|
206
|
+
const { store: i, controller: t, groups: o, defaultDuration: r, mode: f } = X(), { groupIndex: d, slideIndex: l, isPlaying: y, isOpen: m } = W(i), p = Be(), a = (f ?? p) === "dark", v = a ? Le : Fe, u = a ? $e : Ge, h = o[d], _ = (h == null ? void 0 : h.slides) ?? [], O = V(null), E = ((j = _[l]) == null ? void 0 : j.duration) ?? (h == null ? void 0 : h.defaultDuration) ?? r;
|
|
207
|
+
return on({
|
|
208
|
+
fillRef: O,
|
|
209
|
+
active: m,
|
|
210
|
+
duration: E,
|
|
211
|
+
isPlaying: y,
|
|
212
|
+
isReady: e,
|
|
213
|
+
resetKey: `${d}-${l}`,
|
|
214
|
+
onComplete: t.next
|
|
215
|
+
}), /* @__PURE__ */ n.jsxDEV(rn, { className: k.progress, children: _.map((R, I) => {
|
|
216
|
+
const B = R.id ?? `${d}-${I}`, P = I < l, G = I === l;
|
|
217
|
+
return /* @__PURE__ */ n.jsxDEV(
|
|
218
|
+
sn,
|
|
219
|
+
{
|
|
220
|
+
className: k.progressItem,
|
|
221
|
+
$bg: P ? u : v,
|
|
222
|
+
children: G ? /* @__PURE__ */ n.jsxDEV(an, { ref: O, $color: u }, void 0, !1, {
|
|
223
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesProgress/StoriesProgress.tsx",
|
|
224
|
+
lineNumber: 74,
|
|
225
|
+
columnNumber: 26
|
|
226
|
+
}, void 0) : null
|
|
227
|
+
},
|
|
228
|
+
B,
|
|
229
|
+
!1,
|
|
230
|
+
{
|
|
231
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesProgress/StoriesProgress.tsx",
|
|
232
|
+
lineNumber: 69,
|
|
233
|
+
columnNumber: 11
|
|
234
|
+
},
|
|
235
|
+
void 0
|
|
236
|
+
);
|
|
237
|
+
}) }, void 0, !1, {
|
|
238
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesProgress/StoriesProgress.tsx",
|
|
239
|
+
lineNumber: 62,
|
|
240
|
+
columnNumber: 5
|
|
241
|
+
}, void 0);
|
|
242
|
+
}, ln = z(["from{opacity:0;transform:scale(0.92) translateY(8px);}to{opacity:1;transform:scale(1) translateY(0);}"]), cn = z(["from{opacity:1;transform:scale(1) translateY(0);}to{opacity:0;transform:scale(0.96) translateY(6px);}"]), un = x.div.withConfig({
|
|
243
|
+
displayName: "StoriesBannerstyled__StyledBanner"
|
|
244
|
+
})(["position:relative;width:min(", "px,calc(100vw - 100px));height:100%;max-height:", "px;border-radius:", "px;overflow:hidden;view-transition-name:", ";animation:", " ", " ease forwards;"], N.bannerMaxWidth, N.bannerMaxHeight, N.bannerRadius, $, ({
|
|
245
|
+
$closing: e
|
|
246
|
+
}) => e ? cn : ln, ({
|
|
247
|
+
$closing: e
|
|
248
|
+
}) => e ? "0.2s" : "0.24s"), mn = x.div.withConfig({
|
|
249
|
+
displayName: "StoriesBannerstyled__StyledTapLayer"
|
|
250
|
+
})(["position:absolute;inset:0;z-index:1;touch-action:none;"]), pn = x.div.withConfig({
|
|
251
|
+
displayName: "StoriesBannerstyled__StyledTop"
|
|
252
|
+
})(["position:absolute;top:0;left:0;right:0;z-index:2;padding:", "px;pointer-events:none;"], N.bannerPadding), fn = x.div.withConfig({
|
|
253
|
+
displayName: "StoriesBannerstyled__StyledBottom"
|
|
254
|
+
})(["position:absolute;bottom:0;left:0;right:0;z-index:2;padding:", "px;pointer-events:none;"], N.bannerPadding), gn = x.div.withConfig({
|
|
255
|
+
displayName: "StoriesBannerstyled__StyledActionSlot"
|
|
256
|
+
})(["pointer-events:auto;"]), Sn = ({
|
|
257
|
+
closing: e,
|
|
258
|
+
onAnimationEnd: i
|
|
259
|
+
}) => {
|
|
260
|
+
const {
|
|
261
|
+
store: t,
|
|
262
|
+
controller: o,
|
|
263
|
+
groups: r,
|
|
264
|
+
pauseHoldDelay: f,
|
|
265
|
+
tapPrevZone: d,
|
|
266
|
+
loadingDelay: l,
|
|
267
|
+
onError: y,
|
|
268
|
+
renderError: m
|
|
269
|
+
} = X(), { groupIndex: p, slideIndex: g, isOpen: a } = W(t), v = r[p], u = v == null ? void 0 : v.slides[g], { status: h, reload: _ } = Ae(u == null ? void 0 : u.src, l), O = Ze({
|
|
270
|
+
controller: o,
|
|
271
|
+
pauseHoldDelay: f,
|
|
272
|
+
tapPrevZone: d,
|
|
273
|
+
isOpen: a
|
|
274
|
+
}), E = V();
|
|
275
|
+
T(() => {
|
|
276
|
+
if (h !== "error" || !u)
|
|
277
|
+
return;
|
|
278
|
+
const P = `${p}-${g}`;
|
|
279
|
+
E.current !== P && (E.current = P, y == null || y({ groupIndex: p, slideIndex: g, slide: u, retry: _ }));
|
|
280
|
+
}, [h, p, g, u, y, _]);
|
|
281
|
+
const j = (P) => P.stopPropagation(), R = (P) => {
|
|
282
|
+
P.target === P.currentTarget && i();
|
|
283
|
+
};
|
|
284
|
+
if (!u)
|
|
285
|
+
return null;
|
|
286
|
+
const { footer: I } = u, B = m ? m({ groupIndex: p, slideIndex: g, slide: u, retry: _ }) : /* @__PURE__ */ n.jsxDEV(
|
|
287
|
+
Re,
|
|
288
|
+
{
|
|
289
|
+
size: "s",
|
|
290
|
+
variant: "not-found",
|
|
291
|
+
title: "Не удалось загрузить",
|
|
292
|
+
subtitle: "Проверьте соединение и попробуйте снова",
|
|
293
|
+
centered: !0,
|
|
294
|
+
buttons: [
|
|
295
|
+
{
|
|
296
|
+
type: "button",
|
|
297
|
+
props: {
|
|
298
|
+
text: "Попробовать снова",
|
|
299
|
+
view: "secondary",
|
|
300
|
+
onClick: _
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
void 0,
|
|
306
|
+
!1,
|
|
307
|
+
{
|
|
308
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
309
|
+
lineNumber: 85,
|
|
310
|
+
columnNumber: 3
|
|
311
|
+
},
|
|
312
|
+
void 0
|
|
313
|
+
);
|
|
314
|
+
return /* @__PURE__ */ n.jsxDEV(
|
|
315
|
+
un,
|
|
316
|
+
{
|
|
317
|
+
className: k.banner,
|
|
318
|
+
$closing: e,
|
|
319
|
+
onClick: j,
|
|
320
|
+
onAnimationEnd: R,
|
|
321
|
+
children: [
|
|
322
|
+
/* @__PURE__ */ n.jsxDEV(tn, { slide: u, status: h, errorNode: B }, void 0, !1, {
|
|
323
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
324
|
+
lineNumber: 111,
|
|
325
|
+
columnNumber: 7
|
|
326
|
+
}, void 0),
|
|
327
|
+
h === "error" ? null : /* @__PURE__ */ n.jsxDEV(mn, { ...O }, void 0, !1, {
|
|
328
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
329
|
+
lineNumber: 113,
|
|
330
|
+
columnNumber: 36
|
|
331
|
+
}, void 0),
|
|
332
|
+
/* @__PURE__ */ n.jsxDEV(pn, { children: /* @__PURE__ */ n.jsxDEV(dn, { isReady: h === "loaded" }, void 0, !1, {
|
|
333
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
334
|
+
lineNumber: 116,
|
|
335
|
+
columnNumber: 9
|
|
336
|
+
}, void 0) }, void 0, !1, {
|
|
337
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
338
|
+
lineNumber: 115,
|
|
339
|
+
columnNumber: 7
|
|
340
|
+
}, void 0),
|
|
341
|
+
I ? /* @__PURE__ */ n.jsxDEV(fn, { children: /* @__PURE__ */ n.jsxDEV(gn, { className: k.action, children: I }, void 0, !1, {
|
|
342
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
343
|
+
lineNumber: 121,
|
|
344
|
+
columnNumber: 11
|
|
345
|
+
}, void 0) }, void 0, !1, {
|
|
346
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
347
|
+
lineNumber: 120,
|
|
348
|
+
columnNumber: 7
|
|
349
|
+
}, void 0) : null
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
void 0,
|
|
353
|
+
!0,
|
|
354
|
+
{
|
|
355
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesBanner/StoriesBanner.tsx",
|
|
356
|
+
lineNumber: 105,
|
|
357
|
+
columnNumber: 5
|
|
358
|
+
},
|
|
359
|
+
void 0
|
|
360
|
+
);
|
|
361
|
+
}, ne = {
|
|
362
|
+
ring: () => qe,
|
|
363
|
+
fallback: () => Ue,
|
|
364
|
+
boxShadow: () => Me
|
|
365
|
+
}, ie = (e, i) => e === "circle" ? "50%" : `${{
|
|
366
|
+
outer: N.rectRadiusOuter,
|
|
367
|
+
body: N.rectRadiusBody
|
|
368
|
+
}[i]}px`, xn = x.div.withConfig({
|
|
369
|
+
displayName: "StoriesPreviewstyled__StyledPreview"
|
|
370
|
+
})(["display:flex;flex-direction:column;align-items:center;width:", "px;"], ({
|
|
371
|
+
$width: e
|
|
372
|
+
}) => e), wn = x.button.withConfig({
|
|
373
|
+
displayName: "StoriesPreviewstyled__StyledTrigger"
|
|
374
|
+
})(["position:relative;display:block;box-sizing:border-box;width:", "px;height:", "px;padding:0;margin:0;border:0;background:transparent;cursor:pointer;border-radius:", ";outline:none;&:focus-visible{outline:2px solid ", ";outline-offset:2px;}"], ({
|
|
375
|
+
$width: e
|
|
376
|
+
}) => e, ({
|
|
377
|
+
$height: e
|
|
378
|
+
}) => e, ({
|
|
379
|
+
$shape: e
|
|
380
|
+
}) => ie(e, "outer"), He), yn = x.div.withConfig({
|
|
381
|
+
displayName: "StoriesPreviewstyled__StyledRing"
|
|
382
|
+
})(["position:absolute;inset:0;box-sizing:border-box;padding:", "px;background:", ";border-radius:", ";-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;"], N.ring, ne.ring, ({
|
|
383
|
+
$shape: e
|
|
384
|
+
}) => ie(e, "outer")), vn = x.div.withConfig({
|
|
385
|
+
displayName: "StoriesPreviewstyled__StyledBody"
|
|
386
|
+
})(["position:absolute;inset:", "px;box-sizing:border-box;box-shadow:", ";background-color:", ";background-position:center;background-size:cover;background-repeat:no-repeat;", " border-radius:", ";"], ({
|
|
387
|
+
$viewed: e
|
|
388
|
+
}) => e ? 0 : N.ring * 2, ne.boxShadow, ne.fallback, ({
|
|
389
|
+
$image: e
|
|
390
|
+
}) => e && me(["background-image:url(", ");"], e), ({
|
|
391
|
+
$shape: e,
|
|
392
|
+
$viewed: i
|
|
393
|
+
}) => ie(e, i ? "outer" : "body")), hn = x.div.withConfig({
|
|
394
|
+
displayName: "StoriesPreviewstyled__StyledTitle"
|
|
395
|
+
})(["margin-top:", "px;width:100%;text-align:", ";& > *{width:100%;}"], N.titleGap, ({
|
|
396
|
+
$align: e
|
|
397
|
+
}) => e), fe = (e) => {
|
|
398
|
+
var Y;
|
|
399
|
+
const {
|
|
400
|
+
slides: i,
|
|
401
|
+
shape: t = "circle",
|
|
402
|
+
title: o,
|
|
403
|
+
titleProps: r,
|
|
404
|
+
image: f,
|
|
405
|
+
viewed: d = !1,
|
|
406
|
+
size: l = N.circle,
|
|
407
|
+
width: y,
|
|
408
|
+
height: m,
|
|
409
|
+
renderTrigger: p,
|
|
410
|
+
className: g,
|
|
411
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
412
|
+
__index: a = 0
|
|
413
|
+
} = e, { store: v, controller: u, preloadOnHover: h } = X(), _ = W(v), O = _.isOpen && _.groupIndex === a, E = t === "rect" ? y ?? l : l, j = t === "rect" ? m ?? l : l, R = () => u.open(a), I = () => {
|
|
414
|
+
h && i[0] && ee(i[0].src);
|
|
415
|
+
}, B = () => p ? p({ index: a, viewed: d, isActive: O }) : /* @__PURE__ */ n.jsxDEV(n.Fragment, { children: [
|
|
416
|
+
d ? null : /* @__PURE__ */ n.jsxDEV(
|
|
417
|
+
yn,
|
|
418
|
+
{
|
|
419
|
+
className: k.previewRing,
|
|
420
|
+
$shape: t
|
|
421
|
+
},
|
|
422
|
+
void 0,
|
|
423
|
+
!1,
|
|
424
|
+
{
|
|
425
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
426
|
+
lineNumber: 66,
|
|
427
|
+
columnNumber: 9
|
|
428
|
+
},
|
|
429
|
+
void 0
|
|
430
|
+
),
|
|
431
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
432
|
+
vn,
|
|
433
|
+
{
|
|
434
|
+
className: k.previewBody,
|
|
435
|
+
$shape: t,
|
|
436
|
+
$viewed: d,
|
|
437
|
+
$image: f
|
|
438
|
+
},
|
|
439
|
+
void 0,
|
|
440
|
+
!1,
|
|
441
|
+
{
|
|
442
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
443
|
+
lineNumber: 71,
|
|
444
|
+
columnNumber: 9
|
|
445
|
+
},
|
|
446
|
+
void 0
|
|
447
|
+
)
|
|
448
|
+
] }, void 0, !0, {
|
|
449
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
450
|
+
lineNumber: 64,
|
|
451
|
+
columnNumber: 7
|
|
452
|
+
}, void 0), P = {
|
|
453
|
+
variant: "BodyXXS",
|
|
454
|
+
bold: !0,
|
|
455
|
+
lines: 2,
|
|
456
|
+
tooltipText: o,
|
|
457
|
+
color: Xe,
|
|
458
|
+
...r,
|
|
459
|
+
children: o
|
|
460
|
+
}, G = ((Y = r == null ? void 0 : r.style) == null ? void 0 : Y.textAlign) ?? "center";
|
|
461
|
+
return /* @__PURE__ */ n.jsxDEV(
|
|
462
|
+
xn,
|
|
463
|
+
{
|
|
464
|
+
className: [k.preview, g].filter(Boolean).join(" "),
|
|
465
|
+
"data-component": Je,
|
|
466
|
+
$width: E,
|
|
467
|
+
children: [
|
|
468
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
469
|
+
wn,
|
|
470
|
+
{
|
|
471
|
+
type: "button",
|
|
472
|
+
"aria-label": o,
|
|
473
|
+
$width: E,
|
|
474
|
+
$height: j,
|
|
475
|
+
$shape: t,
|
|
476
|
+
onClick: R,
|
|
477
|
+
onMouseEnter: I,
|
|
478
|
+
children: B()
|
|
479
|
+
},
|
|
480
|
+
void 0,
|
|
481
|
+
!1,
|
|
482
|
+
{
|
|
483
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
484
|
+
lineNumber: 101,
|
|
485
|
+
columnNumber: 7
|
|
486
|
+
},
|
|
487
|
+
void 0
|
|
488
|
+
),
|
|
489
|
+
o ? /* @__PURE__ */ n.jsxDEV(
|
|
490
|
+
hn,
|
|
491
|
+
{
|
|
492
|
+
className: k.previewTitle,
|
|
493
|
+
style: { maxWidth: E },
|
|
494
|
+
$align: G,
|
|
495
|
+
children: /* @__PURE__ */ n.jsxDEV(Ye, { ...P }, void 0, !1, {
|
|
496
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
497
|
+
lineNumber: 119,
|
|
498
|
+
columnNumber: 11
|
|
499
|
+
}, void 0)
|
|
500
|
+
},
|
|
501
|
+
void 0,
|
|
502
|
+
!1,
|
|
503
|
+
{
|
|
504
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
505
|
+
lineNumber: 114,
|
|
506
|
+
columnNumber: 7
|
|
507
|
+
},
|
|
508
|
+
void 0
|
|
509
|
+
) : null
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
void 0,
|
|
513
|
+
!0,
|
|
514
|
+
{
|
|
515
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesPreview/StoriesPreview.tsx",
|
|
516
|
+
lineNumber: 94,
|
|
517
|
+
columnNumber: 5
|
|
518
|
+
},
|
|
519
|
+
void 0
|
|
520
|
+
);
|
|
521
|
+
}, bn = z(["from{opacity:0;}to{opacity:1;}"]), Nn = z(["from{opacity:1;}to{opacity:0;}"]), ge = (e) => me(["animation:", " ", " ease forwards;"], e ? Nn : bn, e ? "0.2s" : "0.24s"), kn = x.div.withConfig({
|
|
522
|
+
displayName: "StoriesViewerstyled__StyledRoot"
|
|
523
|
+
})(["position:fixed;inset:0;z-index:", ";display:flex;align-items:center;justify-content:center;"], ({
|
|
524
|
+
$zIndex: e
|
|
525
|
+
}) => e), Cn = x.div.withConfig({
|
|
526
|
+
displayName: "StoriesViewerstyled__StyledOverlay"
|
|
527
|
+
})(["position:absolute;inset:0;background:", ";opacity:", ";transition:opacity 0.24s ease;"], ({
|
|
528
|
+
$color: e
|
|
529
|
+
}) => e, ({
|
|
530
|
+
$closing: e
|
|
531
|
+
}) => e ? 0 : 1), In = x.div.withConfig({
|
|
532
|
+
displayName: "StoriesViewerstyled__StyledStage"
|
|
533
|
+
})(["position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:min(", "px,100vw);height:min(", "px,calc(100vh - 32px));outline:none;"], N.stageWidth, N.bannerMaxHeight), le = x.div.withConfig({
|
|
534
|
+
displayName: "StoriesViewerstyled__StyledArrow"
|
|
535
|
+
})(["position:absolute;top:50%;", " z-index:3;transform:translateY(-50%);", ""], ({
|
|
536
|
+
$side: e
|
|
537
|
+
}) => e === "prev" ? "left: 0;" : "right: 0;", ({
|
|
538
|
+
$closing: e
|
|
539
|
+
}) => ge(e)), Vn = x.div.withConfig({
|
|
540
|
+
displayName: "StoriesViewerstyled__StyledClose"
|
|
541
|
+
})(["position:absolute;top:0;right:0;z-index:3;", ""], ({
|
|
542
|
+
$closing: e
|
|
543
|
+
}) => ge(e)), _n = z(["from{transform:translateX(24px);opacity:0;}to{transform:translateX(0);opacity:1;}"]), En = z(["from{transform:translateX(0);opacity:1;}to{transform:translateX(-24px);opacity:0;}"]), Pn = z(["from{transform:translateX(-24px);opacity:0;}to{transform:translateX(0);opacity:1;}"]), Dn = z(["from{transform:translateX(0);opacity:1;}to{transform:translateX(24px);opacity:0;}"]), jn = We(["::view-transition-old(", "),::view-transition-new(", "){animation-duration:0.3s;animation-timing-function:ease;}html[data-df-stories-dir='next']::view-transition-new(", "){animation-name:", ";}html[data-df-stories-dir='next']::view-transition-old(", "){animation-name:", ";}html[data-df-stories-dir='prev']::view-transition-new(", "){animation-name:", ";}html[data-df-stories-dir='prev']::view-transition-old(", "){animation-name:", ";}"], $, $, $, _n, $, En, $, Pn, $, Dn), Tn = () => {
|
|
544
|
+
const {
|
|
545
|
+
store: e,
|
|
546
|
+
controller: i,
|
|
547
|
+
groups: t,
|
|
548
|
+
overlay: o,
|
|
549
|
+
overlayColor: r,
|
|
550
|
+
zIndex: f,
|
|
551
|
+
groupTransition: d,
|
|
552
|
+
arrows: l,
|
|
553
|
+
preloadGroup: y
|
|
554
|
+
} = X(), { isOpen: m, groupIndex: p } = W(e), [g, a] = ce(m), v = V(null);
|
|
555
|
+
T(() => {
|
|
556
|
+
m && a(!0);
|
|
557
|
+
}, [m]), T(() => {
|
|
558
|
+
var I;
|
|
559
|
+
m && ((I = v.current) == null || I.focus());
|
|
560
|
+
}, [m]), T(() => {
|
|
561
|
+
m && y(p);
|
|
562
|
+
}, [m, p, y]);
|
|
563
|
+
const u = g && !m, h = ue(() => {
|
|
564
|
+
u && a(!1);
|
|
565
|
+
}, [u]);
|
|
566
|
+
if (!g || typeof document > "u")
|
|
567
|
+
return null;
|
|
568
|
+
const _ = p > 0, O = p < t.length - 1, E = l === "always" || l === "auto" && t.length > 1, j = (I) => I.stopPropagation(), R = /* @__PURE__ */ n.jsxDEV(
|
|
569
|
+
kn,
|
|
570
|
+
{
|
|
571
|
+
className: k.viewer,
|
|
572
|
+
$zIndex: f,
|
|
573
|
+
onClick: () => i.close(),
|
|
574
|
+
children: [
|
|
575
|
+
o ? /* @__PURE__ */ n.jsxDEV(
|
|
576
|
+
Cn,
|
|
577
|
+
{
|
|
578
|
+
className: k.overlay,
|
|
579
|
+
$color: r,
|
|
580
|
+
$closing: u
|
|
581
|
+
},
|
|
582
|
+
void 0,
|
|
583
|
+
!1,
|
|
584
|
+
{
|
|
585
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
586
|
+
lineNumber: 84,
|
|
587
|
+
columnNumber: 5
|
|
588
|
+
},
|
|
589
|
+
void 0
|
|
590
|
+
) : null,
|
|
591
|
+
d === "slide" ? /* @__PURE__ */ n.jsxDEV(jn, {}, void 0, !1, {
|
|
592
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
593
|
+
lineNumber: 91,
|
|
594
|
+
columnNumber: 38
|
|
595
|
+
}, void 0) : null,
|
|
596
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
597
|
+
In,
|
|
598
|
+
{
|
|
599
|
+
ref: v,
|
|
600
|
+
tabIndex: -1,
|
|
601
|
+
className: k.stage,
|
|
602
|
+
children: [
|
|
603
|
+
E ? /* @__PURE__ */ n.jsxDEV(
|
|
604
|
+
le,
|
|
605
|
+
{
|
|
606
|
+
className: k.arrowPrev,
|
|
607
|
+
$side: "prev",
|
|
608
|
+
$closing: u,
|
|
609
|
+
onClick: j,
|
|
610
|
+
children: /* @__PURE__ */ n.jsxDEV(
|
|
611
|
+
Q,
|
|
612
|
+
{
|
|
613
|
+
size: "s",
|
|
614
|
+
view: "white",
|
|
615
|
+
pin: "circle-circle",
|
|
616
|
+
"aria-label": "Предыдущая группа",
|
|
617
|
+
disabled: !_,
|
|
618
|
+
onClick: () => i.prevGroup(),
|
|
619
|
+
children: /* @__PURE__ */ n.jsxDEV(ve, { size: "s" }, void 0, !1, {
|
|
620
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
621
|
+
lineNumber: 113,
|
|
622
|
+
columnNumber: 15
|
|
623
|
+
}, void 0)
|
|
624
|
+
},
|
|
625
|
+
void 0,
|
|
626
|
+
!1,
|
|
627
|
+
{
|
|
628
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
629
|
+
lineNumber: 105,
|
|
630
|
+
columnNumber: 13
|
|
631
|
+
},
|
|
632
|
+
void 0
|
|
633
|
+
)
|
|
634
|
+
},
|
|
635
|
+
void 0,
|
|
636
|
+
!1,
|
|
637
|
+
{
|
|
638
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
639
|
+
lineNumber: 99,
|
|
640
|
+
columnNumber: 7
|
|
641
|
+
},
|
|
642
|
+
void 0
|
|
643
|
+
) : null,
|
|
644
|
+
/* @__PURE__ */ n.jsxDEV(Sn, { closing: u, onAnimationEnd: h }, void 0, !1, {
|
|
645
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
646
|
+
lineNumber: 118,
|
|
647
|
+
columnNumber: 9
|
|
648
|
+
}, void 0),
|
|
649
|
+
E ? /* @__PURE__ */ n.jsxDEV(
|
|
650
|
+
le,
|
|
651
|
+
{
|
|
652
|
+
className: k.arrowNext,
|
|
653
|
+
$side: "next",
|
|
654
|
+
$closing: u,
|
|
655
|
+
onClick: j,
|
|
656
|
+
children: /* @__PURE__ */ n.jsxDEV(
|
|
657
|
+
Q,
|
|
658
|
+
{
|
|
659
|
+
size: "s",
|
|
660
|
+
view: "white",
|
|
661
|
+
pin: "circle-circle",
|
|
662
|
+
"aria-label": "Следующая группа",
|
|
663
|
+
disabled: !O,
|
|
664
|
+
onClick: () => i.nextGroup(),
|
|
665
|
+
children: /* @__PURE__ */ n.jsxDEV(he, { size: "s" }, void 0, !1, {
|
|
666
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
667
|
+
lineNumber: 135,
|
|
668
|
+
columnNumber: 15
|
|
669
|
+
}, void 0)
|
|
670
|
+
},
|
|
671
|
+
void 0,
|
|
672
|
+
!1,
|
|
673
|
+
{
|
|
674
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
675
|
+
lineNumber: 127,
|
|
676
|
+
columnNumber: 13
|
|
677
|
+
},
|
|
678
|
+
void 0
|
|
679
|
+
)
|
|
680
|
+
},
|
|
681
|
+
void 0,
|
|
682
|
+
!1,
|
|
683
|
+
{
|
|
684
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
685
|
+
lineNumber: 121,
|
|
686
|
+
columnNumber: 7
|
|
687
|
+
},
|
|
688
|
+
void 0
|
|
689
|
+
) : null,
|
|
690
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
691
|
+
Vn,
|
|
692
|
+
{
|
|
693
|
+
className: k.close,
|
|
694
|
+
$closing: u,
|
|
695
|
+
onClick: j,
|
|
696
|
+
children: /* @__PURE__ */ n.jsxDEV(
|
|
697
|
+
Q,
|
|
698
|
+
{
|
|
699
|
+
size: "s",
|
|
700
|
+
view: "white",
|
|
701
|
+
pin: "circle-circle",
|
|
702
|
+
"aria-label": "Закрыть",
|
|
703
|
+
onClick: () => i.close(),
|
|
704
|
+
children: /* @__PURE__ */ n.jsxDEV(be, { size: "s" }, void 0, !1, {
|
|
705
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
706
|
+
lineNumber: 152,
|
|
707
|
+
columnNumber: 13
|
|
708
|
+
}, void 0)
|
|
709
|
+
},
|
|
710
|
+
void 0,
|
|
711
|
+
!1,
|
|
712
|
+
{
|
|
713
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
714
|
+
lineNumber: 145,
|
|
715
|
+
columnNumber: 11
|
|
716
|
+
},
|
|
717
|
+
void 0
|
|
718
|
+
)
|
|
719
|
+
},
|
|
720
|
+
void 0,
|
|
721
|
+
!1,
|
|
722
|
+
{
|
|
723
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
724
|
+
lineNumber: 140,
|
|
725
|
+
columnNumber: 9
|
|
726
|
+
},
|
|
727
|
+
void 0
|
|
728
|
+
)
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
void 0,
|
|
732
|
+
!0,
|
|
733
|
+
{
|
|
734
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
735
|
+
lineNumber: 93,
|
|
736
|
+
columnNumber: 7
|
|
737
|
+
},
|
|
738
|
+
void 0
|
|
739
|
+
)
|
|
740
|
+
]
|
|
741
|
+
},
|
|
742
|
+
void 0,
|
|
743
|
+
!0,
|
|
744
|
+
{
|
|
745
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/components/StoriesViewer/StoriesViewer.tsx",
|
|
746
|
+
lineNumber: 78,
|
|
747
|
+
columnNumber: 3
|
|
748
|
+
},
|
|
749
|
+
void 0
|
|
750
|
+
);
|
|
751
|
+
return Te(R, document.body);
|
|
752
|
+
}, On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
753
|
+
__proto__: null,
|
|
754
|
+
StoriesViewer: Tn
|
|
755
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = Ie(
|
|
756
|
+
() => Promise.resolve().then(() => On).then((e) => ({
|
|
757
|
+
default: e.StoriesViewer
|
|
758
|
+
}))
|
|
759
|
+
), Bn = (e) => {
|
|
760
|
+
const i = V(e);
|
|
761
|
+
return i.current = e, ue((t) => {
|
|
762
|
+
const o = i.current[t];
|
|
763
|
+
if (!o)
|
|
764
|
+
return;
|
|
765
|
+
o.slides.forEach((f) => ee(f.src));
|
|
766
|
+
const r = i.current[t + 1];
|
|
767
|
+
r != null && r.slides[0] && ee(r.slides[0].src);
|
|
768
|
+
}, []);
|
|
769
|
+
}, An = {
|
|
770
|
+
isOpen: !1,
|
|
771
|
+
groupIndex: 0,
|
|
772
|
+
slideIndex: 0,
|
|
773
|
+
isPlaying: !0,
|
|
774
|
+
direction: "next"
|
|
775
|
+
}, zn = (e) => {
|
|
776
|
+
let i = {
|
|
777
|
+
...An,
|
|
778
|
+
...e
|
|
779
|
+
};
|
|
780
|
+
const t = /* @__PURE__ */ new Set();
|
|
781
|
+
return {
|
|
782
|
+
getSnapshot: () => i,
|
|
783
|
+
subscribe: (o) => (t.add(o), () => {
|
|
784
|
+
t.delete(o);
|
|
785
|
+
}),
|
|
786
|
+
setState: (o) => {
|
|
787
|
+
Object.keys(o).some((d) => i[d] !== o[d]) && (i = {
|
|
788
|
+
...i,
|
|
789
|
+
...o
|
|
790
|
+
}, t.forEach((d) => d()));
|
|
791
|
+
}
|
|
792
|
+
};
|
|
793
|
+
}, $n = () => typeof document < "u" && typeof document.startViewTransition == "function", Gn = (e, i) => {
|
|
794
|
+
const {
|
|
795
|
+
direction: t = "next",
|
|
796
|
+
enabled: o = !0
|
|
797
|
+
} = i ?? {};
|
|
798
|
+
if (!o || !$n()) {
|
|
799
|
+
e();
|
|
800
|
+
return;
|
|
801
|
+
}
|
|
802
|
+
const r = document;
|
|
803
|
+
r.documentElement.dataset.dfStoriesDir = t, r.startViewTransition(() => Oe(e)).finished.finally(() => {
|
|
804
|
+
delete r.documentElement.dataset.dfStoriesDir;
|
|
805
|
+
});
|
|
806
|
+
}, Ln = x.div.withConfig({
|
|
807
|
+
displayName: "Storiesstyled__StyledStories"
|
|
808
|
+
})(["display:flex;align-items:flex-start;gap:16px;"]), Fn = (e) => De(e) && e.type === fe, Hn = () => {
|
|
809
|
+
const { store: e } = X(), { isOpen: i } = W(e), [t, o] = ce(i);
|
|
810
|
+
return T(() => {
|
|
811
|
+
i && o(!0);
|
|
812
|
+
}, [i]), t ? /* @__PURE__ */ n.jsxDEV(je, { fallback: null, children: /* @__PURE__ */ n.jsxDEV(Rn, {}, void 0, !1, {
|
|
813
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/Stories.tsx",
|
|
814
|
+
lineNumber: 65,
|
|
815
|
+
columnNumber: 7
|
|
816
|
+
}, void 0) }, void 0, !1, {
|
|
817
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/Stories.tsx",
|
|
818
|
+
lineNumber: 64,
|
|
819
|
+
columnNumber: 5
|
|
820
|
+
}, void 0) : null;
|
|
821
|
+
}, Mn = (e, i) => {
|
|
822
|
+
const {
|
|
823
|
+
children: t,
|
|
824
|
+
defaultDuration: o = M.duration,
|
|
825
|
+
open: r,
|
|
826
|
+
defaultOpen: f,
|
|
827
|
+
activeGroupIndex: d,
|
|
828
|
+
activeSlideIndex: l,
|
|
829
|
+
onOpenChange: y,
|
|
830
|
+
onGroupChange: m,
|
|
831
|
+
onSlideChange: p,
|
|
832
|
+
onComplete: g,
|
|
833
|
+
onGroupComplete: a,
|
|
834
|
+
onClose: v,
|
|
835
|
+
onError: u,
|
|
836
|
+
renderError: h,
|
|
837
|
+
overlay: _ = !0,
|
|
838
|
+
overlayColor: O = M.overlayColor,
|
|
839
|
+
zIndex: E = M.zIndex,
|
|
840
|
+
preloadOnHover: j = !0,
|
|
841
|
+
loadingDelay: R = 0,
|
|
842
|
+
pauseHoldDelay: I = M.pauseHoldDelay,
|
|
843
|
+
groupTransition: B = "slide",
|
|
844
|
+
arrows: P = "auto",
|
|
845
|
+
mode: G,
|
|
846
|
+
className: Y
|
|
847
|
+
} = e, te = _e.toArray(t).filter(Fn), Z = te.map((b) => ({
|
|
848
|
+
slides: b.props.slides ?? [],
|
|
849
|
+
defaultDuration: b.props.defaultDuration
|
|
850
|
+
})), q = V();
|
|
851
|
+
q.current || (q.current = zn({ isOpen: f ?? !1 }));
|
|
852
|
+
const c = q.current, K = V(Z);
|
|
853
|
+
K.current = Z;
|
|
854
|
+
const oe = V({ groupTransition: B });
|
|
855
|
+
oe.current = { groupTransition: B };
|
|
856
|
+
const L = V({
|
|
857
|
+
onOpenChange: y,
|
|
858
|
+
onGroupChange: m,
|
|
859
|
+
onSlideChange: p,
|
|
860
|
+
onComplete: g,
|
|
861
|
+
onGroupComplete: a,
|
|
862
|
+
onClose: v
|
|
863
|
+
});
|
|
864
|
+
L.current = {
|
|
865
|
+
onOpenChange: y,
|
|
866
|
+
onGroupChange: m,
|
|
867
|
+
onSlideChange: p,
|
|
868
|
+
onComplete: g,
|
|
869
|
+
onGroupComplete: a,
|
|
870
|
+
onClose: v
|
|
871
|
+
};
|
|
872
|
+
const U = V();
|
|
873
|
+
if (!U.current) {
|
|
874
|
+
const b = (s, C) => c.setState({ slideIndex: s, direction: C, isPlaying: !0 }), S = (s, C, D) => Gn(
|
|
875
|
+
() => c.setState({
|
|
876
|
+
groupIndex: s,
|
|
877
|
+
slideIndex: C,
|
|
878
|
+
direction: D,
|
|
879
|
+
isPlaying: !0
|
|
880
|
+
}),
|
|
881
|
+
{ direction: D, enabled: oe.current.groupTransition !== "none" }
|
|
882
|
+
), w = () => {
|
|
883
|
+
var s, C;
|
|
884
|
+
(C = (s = L.current).onComplete) == null || C.call(s), c.setState({ isOpen: !1, isPlaying: !1 });
|
|
885
|
+
};
|
|
886
|
+
U.current = {
|
|
887
|
+
open: (s, C) => {
|
|
888
|
+
const D = c.getSnapshot();
|
|
889
|
+
c.setState({
|
|
890
|
+
isOpen: !0,
|
|
891
|
+
groupIndex: s ?? D.groupIndex,
|
|
892
|
+
slideIndex: C ?? 0,
|
|
893
|
+
isPlaying: !0,
|
|
894
|
+
direction: "next"
|
|
895
|
+
});
|
|
896
|
+
},
|
|
897
|
+
close: () => c.setState({ isOpen: !1, isPlaying: !1 }),
|
|
898
|
+
next: () => {
|
|
899
|
+
var D, A, F, H, se;
|
|
900
|
+
const s = c.getSnapshot(), C = ((D = K.current[s.groupIndex]) == null ? void 0 : D.slides.length) ?? 0;
|
|
901
|
+
s.slideIndex + 1 < C ? b(s.slideIndex + 1, "next") : s.groupIndex + 1 < K.current.length ? ((F = (A = L.current).onGroupComplete) == null || F.call(A, s.groupIndex), S(s.groupIndex + 1, 0, "next")) : ((se = (H = L.current).onGroupComplete) == null || se.call(H, s.groupIndex), w());
|
|
902
|
+
},
|
|
903
|
+
prev: () => {
|
|
904
|
+
const s = c.getSnapshot();
|
|
905
|
+
s.slideIndex > 0 ? b(s.slideIndex - 1, "prev") : s.groupIndex > 0 && S(s.groupIndex - 1, 0, "prev");
|
|
906
|
+
},
|
|
907
|
+
nextGroup: () => {
|
|
908
|
+
const s = c.getSnapshot();
|
|
909
|
+
s.groupIndex + 1 < K.current.length && S(s.groupIndex + 1, 0, "next");
|
|
910
|
+
},
|
|
911
|
+
prevGroup: () => {
|
|
912
|
+
const s = c.getSnapshot();
|
|
913
|
+
s.groupIndex > 0 && S(s.groupIndex - 1, 0, "prev");
|
|
914
|
+
},
|
|
915
|
+
goTo: (s, C) => {
|
|
916
|
+
const D = c.getSnapshot(), A = s < D.groupIndex ? "prev" : "next";
|
|
917
|
+
s === D.groupIndex ? b(C ?? 0, A) : S(s, C ?? 0, A);
|
|
918
|
+
},
|
|
919
|
+
pause: () => c.setState({ isPlaying: !1 }),
|
|
920
|
+
resume: () => c.setState({ isPlaying: !0 })
|
|
921
|
+
};
|
|
922
|
+
}
|
|
923
|
+
const J = U.current, xe = Bn(Z), re = V(c.getSnapshot());
|
|
924
|
+
T(
|
|
925
|
+
() => c.subscribe(() => {
|
|
926
|
+
var s, C, D, A, F, H;
|
|
927
|
+
const b = re.current, S = c.getSnapshot();
|
|
928
|
+
re.current = S;
|
|
929
|
+
const w = L.current;
|
|
930
|
+
if (b.isOpen !== S.isOpen) {
|
|
931
|
+
(s = w.onOpenChange) == null || s.call(w, S.isOpen, { groupIndex: S.groupIndex }), S.isOpen ? ((C = w.onGroupChange) == null || C.call(w, S.groupIndex), (D = w.onSlideChange) == null || D.call(w, S.groupIndex, S.slideIndex)) : (A = w.onClose) == null || A.call(w);
|
|
932
|
+
return;
|
|
933
|
+
}
|
|
934
|
+
S.isOpen && (b.groupIndex !== S.groupIndex && ((F = w.onGroupChange) == null || F.call(w, S.groupIndex)), (b.groupIndex !== S.groupIndex || b.slideIndex !== S.slideIndex) && ((H = w.onSlideChange) == null || H.call(w, S.groupIndex, S.slideIndex)));
|
|
935
|
+
}),
|
|
936
|
+
[c]
|
|
937
|
+
), T(() => {
|
|
938
|
+
r !== void 0 && c.setState({ isOpen: r });
|
|
939
|
+
}, [r, c]), T(() => {
|
|
940
|
+
d !== void 0 && c.setState({ groupIndex: d });
|
|
941
|
+
}, [d, c]), T(() => {
|
|
942
|
+
l !== void 0 && c.setState({ slideIndex: l });
|
|
943
|
+
}, [l, c]), Ee(
|
|
944
|
+
i,
|
|
945
|
+
() => ({
|
|
946
|
+
...J,
|
|
947
|
+
getState: () => {
|
|
948
|
+
const b = c.getSnapshot();
|
|
949
|
+
return {
|
|
950
|
+
isOpen: b.isOpen,
|
|
951
|
+
groupIndex: b.groupIndex,
|
|
952
|
+
slideIndex: b.slideIndex,
|
|
953
|
+
isPlaying: b.isPlaying
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
}),
|
|
957
|
+
[J, c]
|
|
958
|
+
);
|
|
959
|
+
const we = {
|
|
960
|
+
store: c,
|
|
961
|
+
controller: J,
|
|
962
|
+
groups: Z,
|
|
963
|
+
defaultDuration: o,
|
|
964
|
+
pauseHoldDelay: I,
|
|
965
|
+
tapPrevZone: M.tapPrevZone,
|
|
966
|
+
preloadGroup: xe,
|
|
967
|
+
preloadOnHover: j,
|
|
968
|
+
loadingDelay: R,
|
|
969
|
+
overlay: _,
|
|
970
|
+
overlayColor: O,
|
|
971
|
+
zIndex: E,
|
|
972
|
+
groupTransition: B,
|
|
973
|
+
arrows: P,
|
|
974
|
+
mode: G,
|
|
975
|
+
onError: u,
|
|
976
|
+
renderError: h
|
|
977
|
+
};
|
|
978
|
+
return /* @__PURE__ */ n.jsxDEV(Ke, { value: we, children: [
|
|
979
|
+
/* @__PURE__ */ n.jsxDEV(
|
|
980
|
+
Ln,
|
|
981
|
+
{
|
|
982
|
+
className: [k.root, Y].filter(Boolean).join(" "),
|
|
983
|
+
children: te.map(
|
|
984
|
+
(b, S) => Pe(b, { __index: S })
|
|
985
|
+
)
|
|
986
|
+
},
|
|
987
|
+
void 0,
|
|
988
|
+
!1,
|
|
989
|
+
{
|
|
990
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/Stories.tsx",
|
|
991
|
+
lineNumber: 312,
|
|
992
|
+
columnNumber: 7
|
|
993
|
+
},
|
|
994
|
+
void 0
|
|
995
|
+
),
|
|
996
|
+
/* @__PURE__ */ n.jsxDEV(Hn, {}, void 0, !1, {
|
|
997
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/Stories.tsx",
|
|
998
|
+
lineNumber: 321,
|
|
999
|
+
columnNumber: 7
|
|
1000
|
+
}, void 0)
|
|
1001
|
+
] }, void 0, !0, {
|
|
1002
|
+
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/Stories/Stories.tsx",
|
|
1003
|
+
lineNumber: 311,
|
|
1004
|
+
columnNumber: 5
|
|
1005
|
+
}, void 0);
|
|
1006
|
+
}, Se = Ve(Mn);
|
|
1007
|
+
Se.Preview = fe;
|
|
1008
|
+
Se.displayName = "Stories";
|
|
1009
|
+
export {
|
|
1010
|
+
Se as S,
|
|
1011
|
+
fe as a,
|
|
1012
|
+
tn as b,
|
|
1013
|
+
dn as c,
|
|
1014
|
+
Sn as d,
|
|
1015
|
+
Tn as e,
|
|
1016
|
+
Rn as f,
|
|
1017
|
+
k as s
|
|
1018
|
+
};
|