@daisforge/ui 1.12.2 → 1.14.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-B6czTLSw.cjs +43 -0
- package/chunks/{AnalyticalWidget-CBi-2MtJ.mjs → AnalyticalWidget-BWggL9xa.mjs} +144 -144
- package/chunks/{ApprovalCenter-oACSjXxE.cjs → ApprovalCenter-DG3YvEkY.cjs} +1 -1
- package/chunks/{ApprovalCenter-ClCoA3cr.mjs → ApprovalCenter-XCXGHaEP.mjs} +2 -2
- package/chunks/{BlockTitle-CylSY2DM.cjs → BlockTitle-3YmyxJHJ.cjs} +1 -1
- package/chunks/{BlockTitle-DTaIqiFF.mjs → BlockTitle-DDWF1ZeV.mjs} +2 -2
- package/chunks/{Container-CV4sT-bB.mjs → Container-BlAaXm8V.mjs} +1 -1
- package/chunks/{Container-D8Bcg69e.cjs → Container-CJX4h6tb.cjs} +1 -1
- package/chunks/{EmptyState-Bct6Wrxv.mjs → EmptyState-BB3duGQw.mjs} +1 -1
- package/chunks/{EmptyState-BD6Ic-OX.cjs → EmptyState-Du-RIjie.cjs} +1 -1
- package/chunks/{FiltersActions-C3yWFtQT.mjs → FiltersActions-C38x0y5T.mjs} +4 -4
- package/chunks/{FiltersActions-D1aQXh5d.cjs → FiltersActions-CvAwGV9F.cjs} +1 -1
- package/chunks/{FormSegmentGroup-C8kROjlQ.mjs → FormSegmentGroup-9b3w4_KU.mjs} +1 -1
- package/chunks/{FormSegmentGroup-DIaBZRWv.cjs → FormSegmentGroup-DcOPPn3M.cjs} +1 -1
- package/chunks/{GridDND-rVSi0xX1.mjs → GridDND-BnK1dEhJ.mjs} +2 -2
- package/chunks/{GridDND-BP_H26We.cjs → GridDND-CVAlpElj.cjs} +1 -1
- package/chunks/{LeftPanel-CgexykUg.cjs → LeftPanel-Ciehaz28.cjs} +1 -1
- package/chunks/{LeftPanel-bKmeEOHx.mjs → LeftPanel-DuIinlBm.mjs} +1 -1
- package/chunks/ListOfFilters-Cji5UH2J.mjs +260 -0
- package/chunks/ListOfFilters-DNzfSG-p.cjs +1 -0
- package/chunks/{MassActions-D4nb1_gx.mjs → MassActions-BOG04zip.mjs} +3 -3
- package/chunks/{MassActions-BCgI08G9.cjs → MassActions-DCk9APKP.cjs} +1 -1
- package/chunks/{PageTitle-BC0PnHgQ.cjs → PageTitle-BIllremL.cjs} +1 -1
- package/chunks/{PageTitle-B0tuR3fU.mjs → PageTitle-CQ_6jZ0x.mjs} +2 -2
- package/chunks/{SplitView-OUGciQ51.cjs → SplitView-DdLshcIk.cjs} +1 -1
- package/chunks/{SplitView-C8de8YKV.mjs → SplitView-Dm62AAZj.mjs} +1 -1
- package/chunks/Stories-dFpUqS5T.mjs +673 -0
- package/chunks/Stories-e_CX_1CS.cjs +1 -0
- package/chunks/Table-CrJFfavU.cjs +31 -0
- package/chunks/{Table-Bj2se1hR.mjs → Table-f0CmcIhI.mjs} +1161 -1161
- package/chunks/{TableCanvas-Y53zQ7M0.mjs → TableCanvas-1bi1WWeP.mjs} +2561 -2548
- package/chunks/TableCanvas-DqF5YxEY.cjs +30 -0
- package/chunks/TableGlide-CGAh5x3Q.cjs +1 -0
- package/chunks/{TableGlide-CuBMIM6Q.mjs → TableGlide-DGKw3w0G.mjs} +2184 -2126
- package/chunks/{styles-Dd4uEa27.mjs → styles-BMXAIiBk.mjs} +1 -1
- package/chunks/{styles-kPI9R7DO.cjs → styles-DwCVRGsC.cjs} +1 -1
- package/chunks/{utils-C5SQhoON.mjs → utils-D4eJY8pa.mjs} +81 -74
- package/chunks/utils-DvDFSlCG.cjs +25 -0
- package/components/AiAgentPopover/index.cjs +1 -1
- package/components/AiAgentPopover/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/AnalyticalWidgetChipsGroup.styled.d.ts +7 -0
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +2 -2
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +1 -1
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +1 -1
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +1 -1
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/ListOfFilters/useSyncTabsScrollArrows.d.ts +3 -0
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +1 -1
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +2 -2
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +1 -1
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +1 -1
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/Stories.types.d.ts +1 -0
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Stories/store/StoriesContext.d.ts +1 -0
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/type.d.ts +2 -0
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +1 -0
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/types/column-config.type.d.ts +3 -0
- package/components/TableCanvas/types/columns-grouping.type.d.ts +8 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +3 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +2 -2
- package/components/TableGlide/TableGlide.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/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/types.d.ts +3 -2
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +1 -1
- package/components/TourWidget/index.mjs +2 -2
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +2 -2
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +1 -1
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/index.cjs +1 -1
- package/index.mjs +137 -136
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +1 -1
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +1 -1
- package/layouts/Layout/index.mjs +1 -1
- package/layouts/PageLayout/index.cjs +1 -1
- package/layouts/PageLayout/index.mjs +1 -1
- package/mcp-data/component-index.json +45769 -0
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +6 -6
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.d.ts +2 -2
- package/utils/clickStream/index.mjs +6 -5
- package/utils/clickStream/types.d.ts +14 -1
- package/utils/clickStream/utils.d.ts +2 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.mjs +26 -25
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-fBDe37Ur.cjs +0 -43
- package/chunks/ListOfFilters-DgInAZFi.cjs +0 -1
- package/chunks/ListOfFilters-IEPKSKxx.mjs +0 -243
- package/chunks/Stories--_pE4YtR.mjs +0 -668
- package/chunks/Stories-Dvh6rMeV.cjs +0 -1
- package/chunks/Table-CnWVNNoW.cjs +0 -31
- package/chunks/TableCanvas-eYhmqTbp.cjs +0 -30
- package/chunks/TableGlide-CvMz7x7a.cjs +0 -1
- package/chunks/utils-DKi1rqLX.cjs +0 -25
|
@@ -1,668 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as L, Fragment as ve } from "react/jsx-runtime";
|
|
2
|
-
import { Spinner as we, IconButton as ee } from "@salutejs/sdds-finai";
|
|
3
|
-
import { IconDisclosureLeftOutline as be, IconDisclosureRightOutline as Ie, IconClose as _e } from "@salutejs/plasma-icons";
|
|
4
|
-
import { useRef as P, useEffect as A, useContext as Ce, createContext as Ne, useSyncExternalStore as Pe, useState as pe, useCallback as ue, lazy as Te, forwardRef as ke, Children as Oe, useImperativeHandle as Re, cloneElement as Ee, isValidElement as Ae, Suspense as ze } from "react";
|
|
5
|
-
import { createPortal as $e, flushSync as De } from "react-dom";
|
|
6
|
-
import { E as Be } from "./EmptyState-Bct6Wrxv.mjs";
|
|
7
|
-
import { n as Ge, x as Ve, y as te } from "./utils-C5SQhoON.mjs";
|
|
8
|
-
import { surfaceSolidCard as Le, onLightSurfaceTransparentDeep as je, onDarkSurfaceTransparentDeep as Fe, onLightSurfaceTransparentTertiary as He, onDarkSurfaceTransparentTertiary as Me, textAccent as Xe, shadowDownSoftL as We, textPrimary as Ye } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
9
|
-
import S, { keyframes as G, css as ge, createGlobalStyle as Ze } from "styled-components";
|
|
10
|
-
import { a as Ke } from "./AnalyticalWidget-CBi-2MtJ.mjs";
|
|
11
|
-
const qe = ({
|
|
12
|
-
controller: e,
|
|
13
|
-
pauseHoldDelay: t,
|
|
14
|
-
tapPrevZone: o,
|
|
15
|
-
isOpen: r
|
|
16
|
-
}) => {
|
|
17
|
-
const i = P(), f = P(!1), l = P("next"), d = () => {
|
|
18
|
-
i.current && (clearTimeout(i.current), i.current = void 0);
|
|
19
|
-
}, h = (y) => {
|
|
20
|
-
const a = y.currentTarget.getBoundingClientRect(), v = a.width > 0 ? (y.clientX - a.left) / a.width : 1;
|
|
21
|
-
l.current = v < o ? "prev" : "next", f.current = !1, d(), i.current = setTimeout(() => {
|
|
22
|
-
f.current = !0, e.pause();
|
|
23
|
-
}, t);
|
|
24
|
-
}, u = () => {
|
|
25
|
-
if (d(), f.current) {
|
|
26
|
-
f.current = !1, e.resume();
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
l.current === "prev" ? e.prev() : e.next();
|
|
30
|
-
}, g = () => {
|
|
31
|
-
d(), f.current && (f.current = !1, e.resume());
|
|
32
|
-
};
|
|
33
|
-
return A(() => {
|
|
34
|
-
if (!r)
|
|
35
|
-
return;
|
|
36
|
-
const y = (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", y), () => window.removeEventListener("keydown", y);
|
|
40
|
-
}, [r, e]), {
|
|
41
|
-
onPointerDown: h,
|
|
42
|
-
onPointerUp: u,
|
|
43
|
-
onPointerLeave: g,
|
|
44
|
-
onPointerCancel: g
|
|
45
|
-
};
|
|
46
|
-
}, fe = Ne(null), Ue = fe.Provider, W = () => {
|
|
47
|
-
const e = Ce(fe);
|
|
48
|
-
if (!e)
|
|
49
|
-
throw new Error("Компоненты Stories должны использоваться внутри <Stories>.");
|
|
50
|
-
return e;
|
|
51
|
-
}, Y = (e) => Pe(e.subscribe, e.getSnapshot, e.getSnapshot), _ = {
|
|
52
|
-
root: "df-stories",
|
|
53
|
-
preview: "df-stories-preview",
|
|
54
|
-
previewRing: "df-stories-preview__ring",
|
|
55
|
-
previewGap: "df-stories-preview__gap",
|
|
56
|
-
previewBody: "df-stories-preview__body",
|
|
57
|
-
previewTitle: "df-stories-preview__title",
|
|
58
|
-
viewer: "df-stories-viewer",
|
|
59
|
-
overlay: "df-stories-viewer__overlay",
|
|
60
|
-
stage: "df-stories-viewer__stage",
|
|
61
|
-
banner: "df-stories-banner",
|
|
62
|
-
progress: "df-stories-progress",
|
|
63
|
-
progressItem: "df-stories-progress__item",
|
|
64
|
-
content: "df-stories-content",
|
|
65
|
-
action: "df-stories-banner__action",
|
|
66
|
-
arrowPrev: "df-stories-viewer__arrow-prev",
|
|
67
|
-
arrowNext: "df-stories-viewer__arrow-next",
|
|
68
|
-
close: "df-stories-viewer__close"
|
|
69
|
-
}, Je = "linear-gradient(135deg, #08c6c9 0%, #99b0fe 100%)", Qe = "#ecf6fc", V = "df-stories-banner", X = {
|
|
70
|
-
/** Длительность показа сегмента по умолчанию, мс. */
|
|
71
|
-
duration: 5e3,
|
|
72
|
-
/** Порог удержания указателя, после которого включается пауза (мс). До него — тап-навигация. */
|
|
73
|
-
pauseHoldDelay: 200,
|
|
74
|
-
/** Доля ширины баннера слева, отвечающая за переход к предыдущему сегменту (⅓). */
|
|
75
|
-
tapPrevZone: 1 / 3,
|
|
76
|
-
/** Цвет оверлея (тот же, что у ModalDF). */
|
|
77
|
-
overlayColor: "#060a0c47",
|
|
78
|
-
/** z-index оверлея; баннер получает zIndex + 1. */
|
|
79
|
-
zIndex: 9e3
|
|
80
|
-
}, I = {
|
|
81
|
-
/** Диаметр круглого триггера, px. */
|
|
82
|
-
circle: 98,
|
|
83
|
-
/** Толщина каждого кольца (градиент / белый зазор), px. */
|
|
84
|
-
ring: 2,
|
|
85
|
-
/** Отступ от триггера до подписи, px. */
|
|
86
|
-
titleGap: 6,
|
|
87
|
-
/** Радиусы прямоугольного триггера: внешнее кольцо / белый зазор / тело. */
|
|
88
|
-
rectRadiusOuter: 12,
|
|
89
|
-
rectRadiusBody: 8,
|
|
90
|
-
/** Баннер. */
|
|
91
|
-
bannerMaxWidth: 430,
|
|
92
|
-
bannerMaxHeight: 900,
|
|
93
|
-
bannerRadius: 16,
|
|
94
|
-
bannerPadding: 28,
|
|
95
|
-
/** Внешний контейнер вьюера (баннер + просветы под стрелки). */
|
|
96
|
-
stageWidth: 558,
|
|
97
|
-
/** Прогресс-индикаторы. */
|
|
98
|
-
progressHeight: 4,
|
|
99
|
-
progressRadius: 2,
|
|
100
|
-
progressFillRadius: 6,
|
|
101
|
-
progressGap: 4
|
|
102
|
-
}, et = "StoriesPreview", le = S.div.withConfig({
|
|
103
|
-
displayName: "StoriesContentstyled__StyledContent"
|
|
104
|
-
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:", ";"], Le), tt = S.img.withConfig({
|
|
105
|
-
displayName: "StoriesContentstyled__StyledImage"
|
|
106
|
-
})(["width:100%;height:100%;object-fit:", ";opacity:", ";transition:opacity 0.2s ease;user-select:none;"], ({
|
|
107
|
-
$objectFit: e
|
|
108
|
-
}) => e, ({
|
|
109
|
-
$loaded: e
|
|
110
|
-
}) => e ? 1 : 0), nt = S.div.withConfig({
|
|
111
|
-
displayName: "StoriesContentstyled__StyledSpinner"
|
|
112
|
-
})(["position:absolute;display:flex;align-items:center;justify-content:center;"]), ot = S.div.withConfig({
|
|
113
|
-
displayName: "StoriesContentstyled__StyledErrorSlot"
|
|
114
|
-
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:", "px;"], I.bannerPadding), rt = ({
|
|
115
|
-
slide: e,
|
|
116
|
-
status: t,
|
|
117
|
-
errorNode: o
|
|
118
|
-
}) => {
|
|
119
|
-
const r = e.objectFit ?? "cover", i = t === "loaded";
|
|
120
|
-
return t === "error" ? /* @__PURE__ */ n(le, { className: _.content, children: /* @__PURE__ */ n(ot, { children: o }) }) : /* @__PURE__ */ L(le, { className: _.content, children: [
|
|
121
|
-
/* @__PURE__ */ n(tt, { src: e.src, alt: "", draggable: !1, $objectFit: r, $loaded: i }),
|
|
122
|
-
t === "loading" ? /* @__PURE__ */ n(nt, { children: /* @__PURE__ */ n(we, { view: "default", size: "l" }) }) : null
|
|
123
|
-
] });
|
|
124
|
-
}, de = (e, t) => {
|
|
125
|
-
e && (e.style.transform = `scaleX(${t})`);
|
|
126
|
-
}, it = ({
|
|
127
|
-
fillRef: e,
|
|
128
|
-
active: t,
|
|
129
|
-
duration: o,
|
|
130
|
-
isPlaying: r,
|
|
131
|
-
isReady: i,
|
|
132
|
-
resetKey: f,
|
|
133
|
-
onComplete: l
|
|
134
|
-
}) => {
|
|
135
|
-
const d = P(0), h = P(l);
|
|
136
|
-
h.current = l, A(() => {
|
|
137
|
-
d.current = 0, de(e.current, 0);
|
|
138
|
-
}, [f, e]), A(() => {
|
|
139
|
-
if (!t || !r || !i || o <= 0)
|
|
140
|
-
return;
|
|
141
|
-
let u = 0, g = performance.now();
|
|
142
|
-
const y = (a) => {
|
|
143
|
-
d.current += a - g, g = a;
|
|
144
|
-
const v = Math.min(1, d.current / o);
|
|
145
|
-
if (de(e.current, v), v >= 1) {
|
|
146
|
-
h.current();
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
u = requestAnimationFrame(y);
|
|
150
|
-
};
|
|
151
|
-
return u = requestAnimationFrame(y), () => cancelAnimationFrame(u);
|
|
152
|
-
}, [t, r, i, o, f, e]);
|
|
153
|
-
}, st = S.div.withConfig({
|
|
154
|
-
displayName: "StoriesProgressstyled__StyledProgress"
|
|
155
|
-
})(["display:flex;gap:", "px;width:100%;"], I.progressGap), at = S.div.withConfig({
|
|
156
|
-
displayName: "StoriesProgressstyled__StyledItem"
|
|
157
|
-
})(["position:relative;flex:1 1 0;height:", "px;border-radius:", "px;overflow:hidden;background:", ";"], I.progressHeight, I.progressRadius, ({
|
|
158
|
-
$bg: e
|
|
159
|
-
}) => e), lt = S.span.withConfig({
|
|
160
|
-
displayName: "StoriesProgressstyled__StyledFill"
|
|
161
|
-
})(["position:absolute;inset:0;border-radius:", "px;background:", ";transform:scaleX(0);transform-origin:left center;will-change:transform;"], I.progressFillRadius, ({
|
|
162
|
-
$color: e
|
|
163
|
-
}) => e), dt = ({
|
|
164
|
-
isReady: e
|
|
165
|
-
}) => {
|
|
166
|
-
var E;
|
|
167
|
-
const {
|
|
168
|
-
store: t,
|
|
169
|
-
controller: o,
|
|
170
|
-
groups: r,
|
|
171
|
-
defaultDuration: i,
|
|
172
|
-
mode: f
|
|
173
|
-
} = W(), {
|
|
174
|
-
groupIndex: l,
|
|
175
|
-
slideIndex: d,
|
|
176
|
-
isPlaying: h,
|
|
177
|
-
isOpen: u
|
|
178
|
-
} = Y(t), g = Ge(), a = (f ?? g) === "dark", v = a ? He : Me, p = a ? je : Fe, w = r[l], T = (w == null ? void 0 : w.slides) ?? [], z = P(null), k = ((E = T[d]) == null ? void 0 : E.duration) ?? (w == null ? void 0 : w.defaultDuration) ?? i;
|
|
179
|
-
return it({
|
|
180
|
-
fillRef: z,
|
|
181
|
-
active: u,
|
|
182
|
-
duration: k,
|
|
183
|
-
isPlaying: h,
|
|
184
|
-
isReady: e,
|
|
185
|
-
resetKey: `${l}-${d}`,
|
|
186
|
-
onComplete: o.next
|
|
187
|
-
}), /* @__PURE__ */ n(st, { className: _.progress, children: T.map(($, N) => {
|
|
188
|
-
const D = $.id ?? `${l}-${N}`, O = N < d, j = N === d;
|
|
189
|
-
return /* @__PURE__ */ n(at, { className: _.progressItem, $bg: O ? p : v, children: j ? /* @__PURE__ */ n(lt, { ref: z, $color: p }) : null }, D);
|
|
190
|
-
}) });
|
|
191
|
-
}, ct = G(["from{opacity:0;transform:scale(0.92) translateY(8px);}to{opacity:1;transform:scale(1) translateY(0);}"]), pt = G(["from{opacity:1;transform:scale(1) translateY(0);}to{opacity:0;transform:scale(0.96) translateY(6px);}"]), ut = S.div.withConfig({
|
|
192
|
-
displayName: "StoriesBannerstyled__StyledBanner"
|
|
193
|
-
})(["position:relative;width:min(", "px,calc(100vw - 100px));height:100%;max-height:", "px;border-radius:", "px;overflow:hidden;view-transition-name:", ";animation:", " ", " ease forwards;"], I.bannerMaxWidth, I.bannerMaxHeight, I.bannerRadius, V, ({
|
|
194
|
-
$closing: e
|
|
195
|
-
}) => e ? pt : ct, ({
|
|
196
|
-
$closing: e
|
|
197
|
-
}) => e ? "0.2s" : "0.24s"), gt = S.div.withConfig({
|
|
198
|
-
displayName: "StoriesBannerstyled__StyledTapLayer"
|
|
199
|
-
})(["position:absolute;inset:0;z-index:1;touch-action:none;"]), ft = S.div.withConfig({
|
|
200
|
-
displayName: "StoriesBannerstyled__StyledTop"
|
|
201
|
-
})(["position:absolute;top:0;left:0;right:0;z-index:2;padding:", "px;pointer-events:none;"], I.bannerPadding), yt = S.div.withConfig({
|
|
202
|
-
displayName: "StoriesBannerstyled__StyledBottom"
|
|
203
|
-
})(["position:absolute;bottom:0;left:0;right:0;z-index:2;padding:", "px;pointer-events:none;"], I.bannerPadding), mt = S.div.withConfig({
|
|
204
|
-
displayName: "StoriesBannerstyled__StyledActionSlot"
|
|
205
|
-
})(["pointer-events:auto;"]), St = ({
|
|
206
|
-
closing: e,
|
|
207
|
-
onAnimationEnd: t
|
|
208
|
-
}) => {
|
|
209
|
-
const {
|
|
210
|
-
store: o,
|
|
211
|
-
controller: r,
|
|
212
|
-
groups: i,
|
|
213
|
-
pauseHoldDelay: f,
|
|
214
|
-
tapPrevZone: l,
|
|
215
|
-
loadingDelay: d,
|
|
216
|
-
onError: h,
|
|
217
|
-
renderError: u
|
|
218
|
-
} = W(), {
|
|
219
|
-
groupIndex: g,
|
|
220
|
-
slideIndex: y,
|
|
221
|
-
isOpen: a
|
|
222
|
-
} = Y(o), v = i[g], p = v == null ? void 0 : v.slides[y], {
|
|
223
|
-
status: w,
|
|
224
|
-
reload: T
|
|
225
|
-
} = Ve(p == null ? void 0 : p.src, d), z = qe({
|
|
226
|
-
controller: r,
|
|
227
|
-
pauseHoldDelay: f,
|
|
228
|
-
tapPrevZone: l,
|
|
229
|
-
isOpen: a
|
|
230
|
-
}), k = P();
|
|
231
|
-
A(() => {
|
|
232
|
-
if (w !== "error" || !p)
|
|
233
|
-
return;
|
|
234
|
-
const O = `${g}-${y}`;
|
|
235
|
-
k.current !== O && (k.current = O, h == null || h({
|
|
236
|
-
groupIndex: g,
|
|
237
|
-
slideIndex: y,
|
|
238
|
-
slide: p,
|
|
239
|
-
retry: T
|
|
240
|
-
}));
|
|
241
|
-
}, [w, g, y, p, h, T]);
|
|
242
|
-
const E = (O) => O.stopPropagation(), $ = (O) => {
|
|
243
|
-
O.target === O.currentTarget && t();
|
|
244
|
-
};
|
|
245
|
-
if (!p)
|
|
246
|
-
return null;
|
|
247
|
-
const {
|
|
248
|
-
footer: N
|
|
249
|
-
} = p, D = u ? u({
|
|
250
|
-
groupIndex: g,
|
|
251
|
-
slideIndex: y,
|
|
252
|
-
slide: p,
|
|
253
|
-
retry: T
|
|
254
|
-
}) : /* @__PURE__ */ n(Be, { size: "s", variant: "not-found", title: "Не удалось загрузить", subtitle: "Проверьте соединение и попробуйте снова", centered: !0, buttons: [{
|
|
255
|
-
type: "button",
|
|
256
|
-
props: {
|
|
257
|
-
text: "Попробовать снова",
|
|
258
|
-
view: "secondary",
|
|
259
|
-
onClick: T
|
|
260
|
-
}
|
|
261
|
-
}] });
|
|
262
|
-
return /* @__PURE__ */ L(ut, { className: _.banner, $closing: e, onClick: E, onAnimationEnd: $, children: [
|
|
263
|
-
/* @__PURE__ */ n(rt, { slide: p, status: w, errorNode: D }),
|
|
264
|
-
w === "error" ? null : /* @__PURE__ */ n(gt, { ...z }),
|
|
265
|
-
/* @__PURE__ */ n(ft, { children: /* @__PURE__ */ n(dt, { isReady: w === "loaded" }) }),
|
|
266
|
-
N ? /* @__PURE__ */ n(yt, { children: /* @__PURE__ */ n(mt, { className: _.action, children: N }) }) : null
|
|
267
|
-
] });
|
|
268
|
-
}, ne = {
|
|
269
|
-
ring: () => Je,
|
|
270
|
-
fallback: () => Qe,
|
|
271
|
-
boxShadow: () => We
|
|
272
|
-
}, oe = (e, t) => e === "circle" ? "50%" : `${{
|
|
273
|
-
outer: I.rectRadiusOuter,
|
|
274
|
-
body: I.rectRadiusBody
|
|
275
|
-
}[t]}px`, xt = S.div.withConfig({
|
|
276
|
-
displayName: "StoriesPreviewstyled__StyledPreview"
|
|
277
|
-
})(["display:flex;flex-direction:column;align-items:center;width:", "px;"], ({
|
|
278
|
-
$width: e
|
|
279
|
-
}) => e), ht = S.button.withConfig({
|
|
280
|
-
displayName: "StoriesPreviewstyled__StyledTrigger"
|
|
281
|
-
})(["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;}"], ({
|
|
282
|
-
$width: e
|
|
283
|
-
}) => e, ({
|
|
284
|
-
$height: e
|
|
285
|
-
}) => e, ({
|
|
286
|
-
$shape: e
|
|
287
|
-
}) => oe(e, "outer"), Xe), vt = S.div.withConfig({
|
|
288
|
-
displayName: "StoriesPreviewstyled__StyledRing"
|
|
289
|
-
})(["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;"], I.ring, ne.ring, ({
|
|
290
|
-
$shape: e
|
|
291
|
-
}) => oe(e, "outer")), wt = S.div.withConfig({
|
|
292
|
-
displayName: "StoriesPreviewstyled__StyledBody"
|
|
293
|
-
})(["position:absolute;inset:", "px;box-sizing:border-box;box-shadow:", ";background-color:", ";background-position:center;background-size:cover;background-repeat:no-repeat;", " border-radius:", ";"], ({
|
|
294
|
-
$viewed: e
|
|
295
|
-
}) => e ? 0 : I.ring * 2, ne.boxShadow, ne.fallback, ({
|
|
296
|
-
$image: e
|
|
297
|
-
}) => e && ge(["background-image:url(", ");"], e), ({
|
|
298
|
-
$shape: e,
|
|
299
|
-
$viewed: t
|
|
300
|
-
}) => oe(e, t ? "outer" : "body")), bt = S.div.withConfig({
|
|
301
|
-
displayName: "StoriesPreviewstyled__StyledTitle"
|
|
302
|
-
})(["margin-top:", "px;width:100%;text-align:", ";& > *{width:100%;}"], I.titleGap, ({
|
|
303
|
-
$align: e
|
|
304
|
-
}) => e), ye = (e) => {
|
|
305
|
-
var Z;
|
|
306
|
-
const {
|
|
307
|
-
slides: t,
|
|
308
|
-
shape: o = "circle",
|
|
309
|
-
title: r,
|
|
310
|
-
titleProps: i,
|
|
311
|
-
image: f,
|
|
312
|
-
viewed: l = !1,
|
|
313
|
-
size: d = I.circle,
|
|
314
|
-
width: h,
|
|
315
|
-
height: u,
|
|
316
|
-
renderTrigger: g,
|
|
317
|
-
className: y,
|
|
318
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
319
|
-
__index: a = 0
|
|
320
|
-
} = e, {
|
|
321
|
-
store: v,
|
|
322
|
-
controller: p,
|
|
323
|
-
preloadOnHover: w
|
|
324
|
-
} = W(), T = Y(v), z = T.isOpen && T.groupIndex === a, k = o === "rect" ? h ?? d : d, E = o === "rect" ? u ?? d : d, $ = () => p.open(a), N = () => {
|
|
325
|
-
w && t[0] && te(t[0].src);
|
|
326
|
-
}, D = () => g ? g({
|
|
327
|
-
index: a,
|
|
328
|
-
viewed: l,
|
|
329
|
-
isActive: z
|
|
330
|
-
}) : /* @__PURE__ */ L(ve, { children: [
|
|
331
|
-
l ? null : /* @__PURE__ */ n(vt, { className: _.previewRing, $shape: o }),
|
|
332
|
-
/* @__PURE__ */ n(wt, { className: _.previewBody, $shape: o, $viewed: l, $image: f })
|
|
333
|
-
] }), O = {
|
|
334
|
-
variant: "BodyXXS",
|
|
335
|
-
bold: !0,
|
|
336
|
-
lines: 2,
|
|
337
|
-
tooltipText: r,
|
|
338
|
-
color: Ye,
|
|
339
|
-
...i,
|
|
340
|
-
children: r
|
|
341
|
-
}, j = ((Z = i == null ? void 0 : i.style) == null ? void 0 : Z.textAlign) ?? "center";
|
|
342
|
-
return /* @__PURE__ */ L(xt, { className: [_.preview, y].filter(Boolean).join(" "), "data-component": et, $width: k, children: [
|
|
343
|
-
/* @__PURE__ */ n(ht, { type: "button", "aria-label": r, $width: k, $height: E, $shape: o, onClick: $, onMouseEnter: N, children: D() }),
|
|
344
|
-
r ? /* @__PURE__ */ n(bt, { className: _.previewTitle, style: {
|
|
345
|
-
maxWidth: k
|
|
346
|
-
}, $align: j, children: /* @__PURE__ */ n(Ke, { ...O }) }) : null
|
|
347
|
-
] });
|
|
348
|
-
}, It = G(["from{opacity:0;}to{opacity:1;}"]), _t = G(["from{opacity:1;}to{opacity:0;}"]), me = (e) => ge(["animation:", " ", " ease forwards;"], e ? _t : It, e ? "0.2s" : "0.24s"), Ct = S.div.withConfig({
|
|
349
|
-
displayName: "StoriesViewerstyled__StyledRoot"
|
|
350
|
-
})(["position:fixed;inset:0;z-index:", ";display:flex;align-items:center;justify-content:center;"], ({
|
|
351
|
-
$zIndex: e
|
|
352
|
-
}) => e), Nt = S.div.withConfig({
|
|
353
|
-
displayName: "StoriesViewerstyled__StyledOverlay"
|
|
354
|
-
})(["position:absolute;inset:0;background:", ";opacity:", ";transition:opacity 0.24s ease;"], ({
|
|
355
|
-
$color: e
|
|
356
|
-
}) => e, ({
|
|
357
|
-
$closing: e
|
|
358
|
-
}) => e ? 0 : 1), Pt = S.div.withConfig({
|
|
359
|
-
displayName: "StoriesViewerstyled__StyledStage"
|
|
360
|
-
})(["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;"], I.stageWidth, I.bannerMaxHeight), ce = S.div.withConfig({
|
|
361
|
-
displayName: "StoriesViewerstyled__StyledArrow"
|
|
362
|
-
})(["position:absolute;top:50%;", " z-index:3;transform:translateY(-50%);", ""], ({
|
|
363
|
-
$side: e
|
|
364
|
-
}) => e === "prev" ? "left: 0;" : "right: 0;", ({
|
|
365
|
-
$closing: e
|
|
366
|
-
}) => me(e)), Tt = S.div.withConfig({
|
|
367
|
-
displayName: "StoriesViewerstyled__StyledClose"
|
|
368
|
-
})(["position:absolute;top:0;right:0;z-index:3;", ""], ({
|
|
369
|
-
$closing: e
|
|
370
|
-
}) => me(e)), kt = G(["from{transform:translateX(24px);opacity:0;}to{transform:translateX(0);opacity:1;}"]), Ot = G(["from{transform:translateX(0);opacity:1;}to{transform:translateX(-24px);opacity:0;}"]), Rt = G(["from{transform:translateX(-24px);opacity:0;}to{transform:translateX(0);opacity:1;}"]), Et = G(["from{transform:translateX(0);opacity:1;}to{transform:translateX(24px);opacity:0;}"]), At = Ze(["::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:", ";}"], V, V, V, kt, V, Ot, V, Rt, V, Et), zt = () => {
|
|
371
|
-
const {
|
|
372
|
-
store: e,
|
|
373
|
-
controller: t,
|
|
374
|
-
groups: o,
|
|
375
|
-
overlay: r,
|
|
376
|
-
overlayColor: i,
|
|
377
|
-
zIndex: f,
|
|
378
|
-
groupTransition: l,
|
|
379
|
-
arrows: d,
|
|
380
|
-
preloadGroup: h
|
|
381
|
-
} = W(), {
|
|
382
|
-
isOpen: u,
|
|
383
|
-
groupIndex: g
|
|
384
|
-
} = Y(e), [y, a] = pe(u), v = P(null);
|
|
385
|
-
A(() => {
|
|
386
|
-
u && a(!0);
|
|
387
|
-
}, [u]), A(() => {
|
|
388
|
-
var N;
|
|
389
|
-
u && ((N = v.current) == null || N.focus());
|
|
390
|
-
}, [u]), A(() => {
|
|
391
|
-
u && h(g);
|
|
392
|
-
}, [u, g, h]);
|
|
393
|
-
const p = y && !u, w = ue(() => {
|
|
394
|
-
p && a(!1);
|
|
395
|
-
}, [p]);
|
|
396
|
-
if (!y || typeof document > "u")
|
|
397
|
-
return null;
|
|
398
|
-
const T = g > 0, z = g < o.length - 1, k = d === "always" || d === "auto" && o.length > 1, E = (N) => N.stopPropagation(), $ = /* @__PURE__ */ L(Ct, { className: _.viewer, $zIndex: f, onClick: () => t.close(), children: [
|
|
399
|
-
r ? /* @__PURE__ */ n(Nt, { className: _.overlay, $color: i, $closing: p }) : null,
|
|
400
|
-
l === "slide" ? /* @__PURE__ */ n(At, {}) : null,
|
|
401
|
-
/* @__PURE__ */ L(Pt, { ref: v, tabIndex: -1, className: _.stage, children: [
|
|
402
|
-
k ? /* @__PURE__ */ n(ce, { className: _.arrowPrev, $side: "prev", $closing: p, onClick: E, children: /* @__PURE__ */ n(ee, { size: "s", view: "white", pin: "circle-circle", "aria-label": "Предыдущая группа", disabled: !T, onClick: () => t.prevGroup(), children: /* @__PURE__ */ n(be, { size: "s" }) }) }) : null,
|
|
403
|
-
/* @__PURE__ */ n(St, { closing: p, onAnimationEnd: w }),
|
|
404
|
-
k ? /* @__PURE__ */ n(ce, { className: _.arrowNext, $side: "next", $closing: p, onClick: E, children: /* @__PURE__ */ n(ee, { size: "s", view: "white", pin: "circle-circle", "aria-label": "Следующая группа", disabled: !z, onClick: () => t.nextGroup(), children: /* @__PURE__ */ n(Ie, { size: "s" }) }) }) : null,
|
|
405
|
-
/* @__PURE__ */ n(Tt, { className: _.close, $closing: p, onClick: E, children: /* @__PURE__ */ n(ee, { size: "s", view: "white", pin: "circle-circle", "aria-label": "Закрыть", onClick: () => t.close(), children: /* @__PURE__ */ n(_e, { size: "s" }) }) })
|
|
406
|
-
] })
|
|
407
|
-
] });
|
|
408
|
-
return $e($, document.body);
|
|
409
|
-
}, $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
410
|
-
__proto__: null,
|
|
411
|
-
StoriesViewer: zt
|
|
412
|
-
}, Symbol.toStringTag, { value: "Module" })), Dt = Te(() => Promise.resolve().then(() => $t).then((e) => ({
|
|
413
|
-
default: e.StoriesViewer
|
|
414
|
-
}))), Bt = (e) => {
|
|
415
|
-
const t = P(e);
|
|
416
|
-
return t.current = e, ue((o) => {
|
|
417
|
-
const r = t.current[o];
|
|
418
|
-
if (!r)
|
|
419
|
-
return;
|
|
420
|
-
r.slides.forEach((f) => te(f.src));
|
|
421
|
-
const i = t.current[o + 1];
|
|
422
|
-
i != null && i.slides[0] && te(i.slides[0].src);
|
|
423
|
-
}, []);
|
|
424
|
-
}, Gt = {
|
|
425
|
-
isOpen: !1,
|
|
426
|
-
groupIndex: 0,
|
|
427
|
-
slideIndex: 0,
|
|
428
|
-
isPlaying: !0,
|
|
429
|
-
direction: "next"
|
|
430
|
-
}, Vt = (e) => {
|
|
431
|
-
let t = {
|
|
432
|
-
...Gt,
|
|
433
|
-
...e
|
|
434
|
-
};
|
|
435
|
-
const o = /* @__PURE__ */ new Set();
|
|
436
|
-
return {
|
|
437
|
-
getSnapshot: () => t,
|
|
438
|
-
subscribe: (r) => (o.add(r), () => {
|
|
439
|
-
o.delete(r);
|
|
440
|
-
}),
|
|
441
|
-
setState: (r) => {
|
|
442
|
-
Object.keys(r).some((l) => t[l] !== r[l]) && (t = {
|
|
443
|
-
...t,
|
|
444
|
-
...r
|
|
445
|
-
}, o.forEach((l) => l()));
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
}, Lt = () => typeof document < "u" && typeof document.startViewTransition == "function", jt = (e, t) => {
|
|
449
|
-
const {
|
|
450
|
-
direction: o = "next",
|
|
451
|
-
enabled: r = !0
|
|
452
|
-
} = t ?? {};
|
|
453
|
-
if (!r || !Lt()) {
|
|
454
|
-
e();
|
|
455
|
-
return;
|
|
456
|
-
}
|
|
457
|
-
const i = document;
|
|
458
|
-
i.documentElement.dataset.dfStoriesDir = o, i.startViewTransition(() => De(e)).finished.finally(() => {
|
|
459
|
-
delete i.documentElement.dataset.dfStoriesDir;
|
|
460
|
-
});
|
|
461
|
-
}, Ft = S.div.withConfig({
|
|
462
|
-
displayName: "Storiesstyled__StyledStories"
|
|
463
|
-
})(["display:flex;align-items:flex-start;gap:16px;"]), Ht = (e) => Ae(e) && e.type === ye, Mt = () => {
|
|
464
|
-
const {
|
|
465
|
-
store: e
|
|
466
|
-
} = W(), {
|
|
467
|
-
isOpen: t
|
|
468
|
-
} = Y(e), [o, r] = pe(t);
|
|
469
|
-
return A(() => {
|
|
470
|
-
t && r(!0);
|
|
471
|
-
}, [t]), o ? /* @__PURE__ */ n(ze, { fallback: null, children: /* @__PURE__ */ n(Dt, {}) }) : null;
|
|
472
|
-
}, Xt = (e, t) => {
|
|
473
|
-
const {
|
|
474
|
-
children: o,
|
|
475
|
-
defaultDuration: r = X.duration,
|
|
476
|
-
open: i,
|
|
477
|
-
defaultOpen: f,
|
|
478
|
-
activeGroupIndex: l,
|
|
479
|
-
activeSlideIndex: d,
|
|
480
|
-
onOpenChange: h,
|
|
481
|
-
onGroupChange: u,
|
|
482
|
-
onSlideChange: g,
|
|
483
|
-
onComplete: y,
|
|
484
|
-
onGroupComplete: a,
|
|
485
|
-
onClose: v,
|
|
486
|
-
onError: p,
|
|
487
|
-
renderError: w,
|
|
488
|
-
overlay: T = !0,
|
|
489
|
-
overlayColor: z = X.overlayColor,
|
|
490
|
-
zIndex: k = X.zIndex,
|
|
491
|
-
preloadOnHover: E = !0,
|
|
492
|
-
loadingDelay: $ = 0,
|
|
493
|
-
pauseHoldDelay: N = X.pauseHoldDelay,
|
|
494
|
-
groupTransition: D = "slide",
|
|
495
|
-
arrows: O = "auto",
|
|
496
|
-
mode: j,
|
|
497
|
-
className: Z
|
|
498
|
-
} = e, re = Oe.toArray(o).filter(Ht), K = re.map((b) => ({
|
|
499
|
-
slides: b.props.slides ?? [],
|
|
500
|
-
defaultDuration: b.props.defaultDuration
|
|
501
|
-
})), U = P();
|
|
502
|
-
U.current || (U.current = Vt({
|
|
503
|
-
isOpen: f ?? !1
|
|
504
|
-
}));
|
|
505
|
-
const c = U.current, q = P(K);
|
|
506
|
-
q.current = K;
|
|
507
|
-
const ie = P({
|
|
508
|
-
groupTransition: D
|
|
509
|
-
});
|
|
510
|
-
ie.current = {
|
|
511
|
-
groupTransition: D
|
|
512
|
-
};
|
|
513
|
-
const F = P({
|
|
514
|
-
onOpenChange: h,
|
|
515
|
-
onGroupChange: u,
|
|
516
|
-
onSlideChange: g,
|
|
517
|
-
onComplete: y,
|
|
518
|
-
onGroupComplete: a,
|
|
519
|
-
onClose: v
|
|
520
|
-
});
|
|
521
|
-
F.current = {
|
|
522
|
-
onOpenChange: h,
|
|
523
|
-
onGroupChange: u,
|
|
524
|
-
onSlideChange: g,
|
|
525
|
-
onComplete: y,
|
|
526
|
-
onGroupComplete: a,
|
|
527
|
-
onClose: v
|
|
528
|
-
};
|
|
529
|
-
const J = P();
|
|
530
|
-
if (!J.current) {
|
|
531
|
-
const b = (s, C) => c.setState({
|
|
532
|
-
slideIndex: s,
|
|
533
|
-
direction: C,
|
|
534
|
-
isPlaying: !0
|
|
535
|
-
}), m = (s, C, R) => jt(() => c.setState({
|
|
536
|
-
groupIndex: s,
|
|
537
|
-
slideIndex: C,
|
|
538
|
-
direction: R,
|
|
539
|
-
isPlaying: !0
|
|
540
|
-
}), {
|
|
541
|
-
direction: R,
|
|
542
|
-
enabled: ie.current.groupTransition !== "none"
|
|
543
|
-
}), x = () => {
|
|
544
|
-
var s, C;
|
|
545
|
-
(C = (s = F.current).onComplete) == null || C.call(s), c.setState({
|
|
546
|
-
isOpen: !1,
|
|
547
|
-
isPlaying: !1
|
|
548
|
-
});
|
|
549
|
-
};
|
|
550
|
-
J.current = {
|
|
551
|
-
open: (s, C) => {
|
|
552
|
-
const R = c.getSnapshot();
|
|
553
|
-
c.setState({
|
|
554
|
-
isOpen: !0,
|
|
555
|
-
groupIndex: s ?? R.groupIndex,
|
|
556
|
-
slideIndex: C ?? 0,
|
|
557
|
-
isPlaying: !0,
|
|
558
|
-
direction: "next"
|
|
559
|
-
});
|
|
560
|
-
},
|
|
561
|
-
close: () => c.setState({
|
|
562
|
-
isOpen: !1,
|
|
563
|
-
isPlaying: !1
|
|
564
|
-
}),
|
|
565
|
-
next: () => {
|
|
566
|
-
var R, B, H, M, ae;
|
|
567
|
-
const s = c.getSnapshot(), C = ((R = q.current[s.groupIndex]) == null ? void 0 : R.slides.length) ?? 0;
|
|
568
|
-
s.slideIndex + 1 < C ? b(s.slideIndex + 1, "next") : s.groupIndex + 1 < q.current.length ? ((H = (B = F.current).onGroupComplete) == null || H.call(B, s.groupIndex), m(s.groupIndex + 1, 0, "next")) : ((ae = (M = F.current).onGroupComplete) == null || ae.call(M, s.groupIndex), x());
|
|
569
|
-
},
|
|
570
|
-
prev: () => {
|
|
571
|
-
const s = c.getSnapshot();
|
|
572
|
-
s.slideIndex > 0 ? b(s.slideIndex - 1, "prev") : s.groupIndex > 0 && m(s.groupIndex - 1, 0, "prev");
|
|
573
|
-
},
|
|
574
|
-
nextGroup: () => {
|
|
575
|
-
const s = c.getSnapshot();
|
|
576
|
-
s.groupIndex + 1 < q.current.length && m(s.groupIndex + 1, 0, "next");
|
|
577
|
-
},
|
|
578
|
-
prevGroup: () => {
|
|
579
|
-
const s = c.getSnapshot();
|
|
580
|
-
s.groupIndex > 0 && m(s.groupIndex - 1, 0, "prev");
|
|
581
|
-
},
|
|
582
|
-
goTo: (s, C) => {
|
|
583
|
-
const R = c.getSnapshot(), B = s < R.groupIndex ? "prev" : "next";
|
|
584
|
-
s === R.groupIndex ? b(C ?? 0, B) : m(s, C ?? 0, B);
|
|
585
|
-
},
|
|
586
|
-
pause: () => c.setState({
|
|
587
|
-
isPlaying: !1
|
|
588
|
-
}),
|
|
589
|
-
resume: () => c.setState({
|
|
590
|
-
isPlaying: !0
|
|
591
|
-
})
|
|
592
|
-
};
|
|
593
|
-
}
|
|
594
|
-
const Q = J.current, xe = Bt(K), se = P(c.getSnapshot());
|
|
595
|
-
A(() => c.subscribe(() => {
|
|
596
|
-
var s, C, R, B, H, M;
|
|
597
|
-
const b = se.current, m = c.getSnapshot();
|
|
598
|
-
se.current = m;
|
|
599
|
-
const x = F.current;
|
|
600
|
-
if (b.isOpen !== m.isOpen) {
|
|
601
|
-
(s = x.onOpenChange) == null || s.call(x, m.isOpen, {
|
|
602
|
-
groupIndex: m.groupIndex
|
|
603
|
-
}), m.isOpen ? ((C = x.onGroupChange) == null || C.call(x, m.groupIndex), (R = x.onSlideChange) == null || R.call(x, m.groupIndex, m.slideIndex)) : (B = x.onClose) == null || B.call(x);
|
|
604
|
-
return;
|
|
605
|
-
}
|
|
606
|
-
m.isOpen && (b.groupIndex !== m.groupIndex && ((H = x.onGroupChange) == null || H.call(x, m.groupIndex)), (b.groupIndex !== m.groupIndex || b.slideIndex !== m.slideIndex) && ((M = x.onSlideChange) == null || M.call(x, m.groupIndex, m.slideIndex)));
|
|
607
|
-
}), [c]), A(() => {
|
|
608
|
-
i !== void 0 && c.setState({
|
|
609
|
-
isOpen: i
|
|
610
|
-
});
|
|
611
|
-
}, [i, c]), A(() => {
|
|
612
|
-
l !== void 0 && c.setState({
|
|
613
|
-
groupIndex: l
|
|
614
|
-
});
|
|
615
|
-
}, [l, c]), A(() => {
|
|
616
|
-
d !== void 0 && c.setState({
|
|
617
|
-
slideIndex: d
|
|
618
|
-
});
|
|
619
|
-
}, [d, c]), Re(t, () => ({
|
|
620
|
-
...Q,
|
|
621
|
-
getState: () => {
|
|
622
|
-
const b = c.getSnapshot();
|
|
623
|
-
return {
|
|
624
|
-
isOpen: b.isOpen,
|
|
625
|
-
groupIndex: b.groupIndex,
|
|
626
|
-
slideIndex: b.slideIndex,
|
|
627
|
-
isPlaying: b.isPlaying
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
}), [Q, c]);
|
|
631
|
-
const he = {
|
|
632
|
-
store: c,
|
|
633
|
-
controller: Q,
|
|
634
|
-
groups: K,
|
|
635
|
-
defaultDuration: r,
|
|
636
|
-
pauseHoldDelay: N,
|
|
637
|
-
tapPrevZone: X.tapPrevZone,
|
|
638
|
-
preloadGroup: xe,
|
|
639
|
-
preloadOnHover: E,
|
|
640
|
-
loadingDelay: $,
|
|
641
|
-
overlay: T,
|
|
642
|
-
overlayColor: z,
|
|
643
|
-
zIndex: k,
|
|
644
|
-
groupTransition: D,
|
|
645
|
-
arrows: O,
|
|
646
|
-
mode: j,
|
|
647
|
-
onError: p,
|
|
648
|
-
renderError: w
|
|
649
|
-
};
|
|
650
|
-
return /* @__PURE__ */ L(Ue, { value: he, children: [
|
|
651
|
-
/* @__PURE__ */ n(Ft, { className: [_.root, Z].filter(Boolean).join(" "), children: re.map((b, m) => Ee(b, {
|
|
652
|
-
__index: m
|
|
653
|
-
})) }),
|
|
654
|
-
/* @__PURE__ */ n(Mt, {})
|
|
655
|
-
] });
|
|
656
|
-
}, Se = ke(Xt);
|
|
657
|
-
Se.Preview = ye;
|
|
658
|
-
Se.displayName = "Stories";
|
|
659
|
-
export {
|
|
660
|
-
Se as S,
|
|
661
|
-
ye as a,
|
|
662
|
-
rt as b,
|
|
663
|
-
dt as c,
|
|
664
|
-
St as d,
|
|
665
|
-
zt as e,
|
|
666
|
-
Dt as f,
|
|
667
|
-
_ as s
|
|
668
|
-
};
|