@daisforge/ui 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AiAgentPopup-CLGSjg5L.cjs +11 -0
- package/chunks/AiAgentPopup-CtMhai1X.mjs +797 -0
- package/chunks/AnalyticalWidget-Bvcm1qpU.cjs +43 -0
- package/chunks/AnalyticalWidget-CRfihris.mjs +352 -0
- package/chunks/ApprovalCenter-D7K7J-QB.cjs +1 -0
- package/chunks/{ApprovalCenter-DLKZP2AO.mjs → ApprovalCenter-dJpI91uN.mjs} +10 -10
- package/chunks/BlockTitle-CcYYHiOo.cjs +1 -0
- package/chunks/{BlockTitle-DsXxImR6.mjs → BlockTitle-DCmM-9AN.mjs} +2 -2
- package/chunks/{Container-DbZwlfIM.mjs → Container-C7PzvUwd.mjs} +1 -1
- package/chunks/{Container-DHnX1sHY.cjs → Container-bVqI3en9.cjs} +1 -1
- package/chunks/{EmptyState-DH1xawxg.cjs → EmptyState-D-bmtvmy.cjs} +1 -1
- package/chunks/{EmptyState-CUCseg9M.mjs → EmptyState-ZsOlvU4d.mjs} +1 -1
- package/chunks/{FiltersActions-CDZSO0MM.mjs → FiltersActions-CS27WxA6.mjs} +38 -36
- package/chunks/FiltersActions-Cie245Po.cjs +1 -0
- package/chunks/{FormSegmentGroup-BYQ6yMK1.cjs → FormSegmentGroup-CNIqOYfm.cjs} +1 -1
- package/chunks/{FormSegmentGroup-C9qYxYT9.mjs → FormSegmentGroup-DwTRM58f.mjs} +1 -1
- package/chunks/{GridDND-DK6SAO8q.cjs → GridDND-Bwmr7gla.cjs} +1 -1
- package/chunks/{GridDND-CqvpXgCY.mjs → GridDND-DC5VoxEY.mjs} +83 -83
- package/chunks/{LeftPanel-C5SsoRJS.mjs → LeftPanel-C10BLKIn.mjs} +1 -1
- package/chunks/{LeftPanel-AyuV7bGS.cjs → LeftPanel-upGFk7jM.cjs} +1 -1
- package/chunks/{ListOfFilters-Bd8CZHDq.mjs → ListOfFilters-CEWrWotU.mjs} +3 -3
- package/chunks/{ListOfFilters-BAPz0OY9.cjs → ListOfFilters-DNi-z1cn.cjs} +1 -1
- package/chunks/MassActions-DJiKcC6r.cjs +1 -0
- package/chunks/{MassActions-D5UwHcNG.mjs → MassActions-NLCRjIHw.mjs} +187 -186
- package/chunks/PageTitle-Bg4PNEXS.cjs +9 -0
- package/chunks/{PageTitle-DkfAiZM4.mjs → PageTitle-CXtNgH-b.mjs} +7 -7
- package/chunks/{SplitView-BqS1Jbo4.mjs → SplitView-BzamJzNc.mjs} +17 -17
- package/chunks/{SplitView-DNmd4sJe.cjs → SplitView-DeJ3V-kq.cjs} +1 -1
- package/chunks/Stories-CNlL0Bcb.cjs +1 -0
- package/chunks/{Stories-BnHxMCEZ.mjs → Stories-UUV0GNEV.mjs} +33 -33
- package/chunks/Table-CZludfzU.cjs +31 -0
- package/chunks/{Table-DYSssxRS.mjs → Table-FrYs56BB.mjs} +2341 -2329
- package/chunks/{TableCanvas-DDNRdQjN.mjs → TableCanvas-CasYPFSm.mjs} +6016 -5720
- package/chunks/TableCanvas-DFne0YHS.cjs +30 -0
- package/chunks/TableGlide-BKSjSgBn.mjs +9131 -0
- package/chunks/TableGlide-C2_HrWEA.cjs +1 -0
- package/chunks/{styles-CJ5y9FKW.mjs → styles-CJPkBVWK.mjs} +6 -6
- package/chunks/{styles-kUWPuNSD.cjs → styles-CpC_FuBg.cjs} +1 -1
- package/chunks/{utils-u1KJ37g3.mjs → utils-Hu77fGGe.mjs} +102 -102
- package/chunks/{utils-ChDQGRjv.cjs → utils-OQNruMpn.cjs} +5 -5
- package/components/AiAgentPopover/index.cjs +1 -1
- package/components/AiAgentPopover/index.mjs +1 -1
- package/components/AiAgentPopup/AiAgentInput.d.ts +3 -0
- package/components/AiAgentPopup/AiAgentLeftPanel.d.ts +6 -0
- package/components/AiAgentPopup/AiAgentPopup.constants.d.ts +32 -0
- package/components/AiAgentPopup/AiAgentPopup.d.ts +3 -0
- package/components/AiAgentPopup/AiAgentPopup.styled.d.ts +33 -0
- package/components/AiAgentPopup/AiAgentPopup.types.d.ts +83 -0
- package/components/AiAgentPopup/AiAgentPopup.utils.d.ts +12 -0
- package/components/AiAgentPopup/AiAgentSurface.d.ts +6 -0
- package/components/AiAgentPopup/hooks/useDrag.d.ts +18 -0
- package/components/AiAgentPopup/hooks/useIsDarkTheme.d.ts +1 -0
- package/components/AiAgentPopup/hooks/usePopupPosition.d.ts +20 -0
- package/components/AiAgentPopup/hooks/usePopupResize.d.ts +40 -0
- package/components/AiAgentPopup/hooks/useStateStorage.d.ts +6 -0
- package/components/AiAgentPopup/index.cjs +1 -0
- package/components/AiAgentPopup/index.d.ts +3 -0
- package/components/AiAgentPopup/index.mjs +5 -0
- package/components/AnalyticalWidget/AnalyticalWidget.d.ts +8 -24
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/AnalyticalWidgetIconButtonDots.d.ts +8 -24
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +2 -2
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +2 -2
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +128 -128
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +2 -2
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +1 -1
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +1 -1
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +1 -1
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActions/types.d.ts +1 -0
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +1 -1
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +6 -6
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +9 -9
- package/components/PopoverDF/styled.d.ts +1 -23
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +118 -143
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/popover.d.ts +1 -23
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-searching/styled.d.ts +128 -128
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/types/table-config.type.d.ts +1 -0
- package/components/Table/types/utils.type.d.ts +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/TableGlideInstance.d.ts +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +6 -6
- package/components/TableCanvas/TableGlideInstance/reexports-for-external.d.ts +4 -1
- package/components/TableCanvas/TableGlideInstance/type.d.ts +4 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/contexts.d.ts +8 -2
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +13 -13
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +2 -2
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +2 -2
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +4 -4
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +3 -3
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +6 -6
- package/components/TableCanvas/feature-edit/types.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +4 -4
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +3 -3
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +4 -4
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +6 -6
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +2 -2
- package/components/TableCanvas/feature-pagination/TablePagination.d.ts +2 -0
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +3 -3
- package/components/TableCanvas/feature-popover-table/components/styled.d.ts +1 -23
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +3 -3
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/compatibility.d.ts +8 -0
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.d.ts +2 -3
- package/components/TableCanvas/feature-right-sidebar/index.mjs +3 -3
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +7 -7
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +4 -4
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +10 -10
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/styled.d.ts +128 -128
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/types.d.ts +1 -0
- package/components/TableCanvas/feature-select-row/useSelectRow.d.ts +1 -0
- package/components/TableCanvas/feature-sidebar/constants.d.ts +7 -0
- package/components/TableCanvas/feature-sidebar/getCustomSidebarTabs.d.ts +4 -0
- package/components/TableCanvas/feature-sidebar/index.cjs +1 -0
- package/components/TableCanvas/feature-sidebar/index.d.ts +1 -0
- package/components/TableCanvas/feature-sidebar/index.mjs +4 -0
- package/components/TableCanvas/feature-sidebar/ui/BottomSheet.d.ts +6 -0
- package/components/TableCanvas/feature-sidebar/ui/BottomSheet.styled.d.ts +6 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarContentLayout.d.ts +1 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/SidebarTabs.d.ts +2 -1
- package/components/TableCanvas/feature-sidebar/ui/TableSidebar.d.ts +16 -0
- package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/styled.d.ts +5 -2
- package/components/TableCanvas/feature-sidebar/useSidebarTabsState.d.ts +14 -0
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-sticky/index.cjs +1 -0
- package/components/TableCanvas/feature-sticky/index.d.ts +3 -0
- package/components/TableCanvas/feature-sticky/index.mjs +5 -0
- package/components/TableCanvas/feature-sticky/types.d.ts +2 -0
- package/components/TableCanvas/feature-sticky/useStickyColumnIndexes.d.ts +8 -0
- package/components/TableCanvas/feature-sticky/useStickyRowIndexes.d.ts +3 -0
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +2 -2
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +4 -4
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.d.ts +2 -1
- package/components/TableCanvas/index.mjs +43 -41
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/renders/renderEditCell.d.ts +1 -1
- package/components/TableCanvas/styles/classNames.d.ts +1 -0
- package/components/TableCanvas/styles/getReservedTableHeight.d.ts +18 -0
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +10 -10
- package/components/TableCanvas/styles/styles.constants.d.ts +1 -1
- package/components/TableCanvas/styles/styles.d.ts +2 -5
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +4 -4
- package/components/TableCanvas/table-hooks/useInlineStyle.d.ts +2 -1
- package/components/TableCanvas/table-hooks/useLeftSidebarValues.d.ts +7 -0
- package/components/TableCanvas/table-hooks/useSidebarOpenState.d.ts +11 -0
- package/components/TableCanvas/table-hooks/useSidebarValues.d.ts +1 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +2 -2
- package/components/TableCanvas/types/table-config.type.d.ts +20 -1
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/control-block.constants.d.ts +6 -0
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +5 -5
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/types.d.ts +1 -0
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +5 -5
- package/components/TableCanvas/widgets/mass-actions/MassActions.d.ts +2 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCanvasWidth.d.ts +1 -0
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCompression.d.ts +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsSidebar.d.ts +4 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/widgets/table-or-card-UI.d.ts +6 -3
- package/components/TableContract/index.cjs +1 -1
- package/components/TableContract/index.mjs +2 -2
- package/components/TableGlide/TableGlide.d.ts +1 -1
- package/components/TableGlide/cellRenderer.d.ts +2 -1
- package/components/TableGlide/constants.d.ts +3 -3
- package/components/TableGlide/content-tokens.generated.d.ts +612 -0
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/hooks/selection/useBaseHighlightRegions.d.ts +2 -1
- package/components/TableGlide/hooks/selection/useColoringLayers.d.ts +2 -3
- package/components/TableGlide/hooks/selection/useColumnRowHighlightRegions.d.ts +1 -4
- package/components/TableGlide/hooks/selection/useSelectionGeometry.d.ts +3 -1
- package/components/TableGlide/hooks/useErrorCellRanges.d.ts +1 -2
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +93 -90
- package/components/TableGlide/lib/canvas/cells/CellCanvasRoot.d.ts +2 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +4 -4
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +16 -16
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +4 -4
- package/components/TableGlide/lib/canvas/cells/renderer/types.d.ts +4 -2
- package/components/TableGlide/lib/canvas/cells/types.d.ts +3 -1
- package/components/TableGlide/lib/canvas/components/index.d.ts +31 -4
- package/components/TableGlide/lib/canvas/core/CanvasImageResources.d.ts +7 -0
- package/components/TableGlide/lib/canvas/core/CanvasImageTransitions.d.ts +11 -0
- package/components/TableGlide/lib/canvas/core/DrawBatcher.d.ts +5 -0
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +4 -4
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.d.ts +7 -7
- package/components/TableGlide/lib/canvas/index.mjs +75 -72
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/CanvasAvatar.d.ts +58 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasAvatarGroup.d.ts +45 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasImage.d.ts +17 -0
- package/components/TableGlide/lib/canvas/primitives/CanvasLink.d.ts +2 -2
- package/components/TableGlide/lib/canvas/primitives/CanvasText.d.ts +3 -1
- package/components/TableGlide/lib/canvas/primitives/avatar/geometry.d.ts +6 -0
- package/components/TableGlide/lib/canvas/primitives/image/image.d.ts +20 -0
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.d.ts +11 -4
- package/components/TableGlide/lib/canvas/primitives/index.mjs +14 -11
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +2 -2
- package/components/TableGlide/theming/activeTheme.type.d.ts +3 -1
- package/components/TableGlide/theming/cell-fill-override.d.ts +31 -0
- package/components/TableGlide/theming/custom-colors.d.ts +46 -11
- package/components/TableGlide/theming/fill-states.d.ts +19 -0
- package/components/TableGlide/theming/glide-colors.d.ts +14 -14
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/theming/size-tokens.d.ts +1 -1
- package/components/TableGlide/theming/table-colors.generated.d.ts +529 -0
- package/components/TableGlide/tokens.d.ts +3 -103
- package/components/TableGlide/types.d.ts +3 -5
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/TourWidget.palette.d.ts +36 -0
- package/components/TourWidget/TourWidget.styled.d.ts +4 -0
- package/components/TourWidget/TourWidget.tokens.d.ts +52 -0
- package/components/TourWidget/hooks/useIsDarkTheme.d.ts +1 -0
- package/components/TourWidget/index.cjs +22 -22
- package/components/TourWidget/index.d.ts +1 -0
- package/components/TourWidget/index.mjs +269 -179
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +2 -2
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +1 -1
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +1 -1
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +3 -1
- package/index.mjs +1864 -1858
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +1 -1
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +1 -1
- package/layouts/Layout/index.mjs +1 -1
- package/layouts/PageLayout/index.cjs +1 -1
- package/layouts/PageLayout/index.mjs +1 -1
- package/mcp-data/component-index.json +1912 -366
- package/mixins/index.cjs +4 -4
- package/mixins/index.mjs +61 -54
- package/package.json +7 -7
- package/shared/utils/resizable/index.cjs +1 -0
- package/shared/utils/resizable/index.d.ts +2 -0
- package/shared/utils/resizable/index.mjs +39 -0
- package/shared/utils/resizable/resizableConfig.d.ts +16 -0
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/types/index.d.ts +1 -0
- package/types/utility.d.ts +1 -0
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +2 -2
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/getActiveTheme.d.ts +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.mjs +8 -8
- package/utils/react/index.cjs +1 -1
- package/utils/react/index.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-BtyWKJuu.mjs +0 -537
- package/chunks/AnalyticalWidget-YytE3Rlw.cjs +0 -43
- package/chunks/ApprovalCenter-DdsLEipZ.cjs +0 -1
- package/chunks/BlockTitle-DC1McGof.cjs +0 -1
- package/chunks/FiltersActions-CVtgAJnC.cjs +0 -1
- package/chunks/MassActions-C08IgW4a.cjs +0 -1
- package/chunks/PageTitle-CrBeieoq.cjs +0 -9
- package/chunks/Stories-UYVANawW.cjs +0 -1
- package/chunks/Table-CdaMPDkg.cjs +0 -31
- package/chunks/TableCanvas-DPHSYfH3.cjs +0 -30
- package/chunks/TableGlide-DAnTJtye.mjs +0 -7811
- package/chunks/TableGlide-am_w97mF.cjs +0 -1
- package/components/TableCanvas/feature-right-sidebar/constants.d.ts +0 -1
- package/components/TableCanvas/feature-right-sidebar/ui/TableSidebar.d.ts +0 -16
- /package/components/TableCanvas/{feature-right-sidebar → feature-sidebar}/ui/TableSidebar.classnames.d.ts +0 -0
|
@@ -1,186 +1,258 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import { useContext as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import s, { css as
|
|
7
|
-
const
|
|
8
|
-
root: `${
|
|
9
|
-
horizontal: `${
|
|
10
|
-
vertical: `${
|
|
11
|
-
header: `${
|
|
12
|
-
headerTitle: `${
|
|
13
|
-
headerDescription: `${
|
|
14
|
-
content: `${
|
|
15
|
-
footer: `${
|
|
16
|
-
gradient: `${
|
|
17
|
-
shapeGradient: `${
|
|
18
|
-
bullets: `${
|
|
19
|
-
bulletsTrack: `${
|
|
20
|
-
bullet: `${
|
|
21
|
-
bulletActive: `${
|
|
22
|
-
bulletEdge: `${
|
|
23
|
-
}, _ =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
1
|
+
import { jsx as d, jsxs as u, Fragment as q } from "react/jsx-runtime";
|
|
2
|
+
import { x as F } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
3
|
+
import { useContext as J, createContext as K, forwardRef as p, useId as Q, useState as Y, useEffect as tt } from "react";
|
|
4
|
+
import { a as N } from "../../chunks/AiAgentPopup-CtMhai1X.mjs";
|
|
5
|
+
import { onDarkSurfaceSolidCardBrightness as et, onLightSurfaceSolidPrimary as z, surfaceTransparentTertiary as at, textPrimary as S, outlineAccentGradient as rt } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
6
|
+
import s, { css as x } from "styled-components";
|
|
7
|
+
const n = "TourWidget__", a = {
|
|
8
|
+
root: `${n}root`,
|
|
9
|
+
horizontal: `${n}horizontal`,
|
|
10
|
+
vertical: `${n}vertical`,
|
|
11
|
+
header: `${n}header`,
|
|
12
|
+
headerTitle: `${n}header-title`,
|
|
13
|
+
headerDescription: `${n}header-description`,
|
|
14
|
+
content: `${n}content`,
|
|
15
|
+
footer: `${n}footer`,
|
|
16
|
+
gradient: `${n}gradient`,
|
|
17
|
+
shapeGradient: `${n}shape-gradient`,
|
|
18
|
+
bullets: `${n}bullets`,
|
|
19
|
+
bulletsTrack: `${n}bullets-track`,
|
|
20
|
+
bullet: `${n}bullet`,
|
|
21
|
+
bulletActive: `${n}bullet-active`,
|
|
22
|
+
bulletEdge: `${n}bullet-edge`
|
|
23
|
+
}, _ = K({}), it = _.Provider, $ = () => J(_), t = {
|
|
24
|
+
background: "--tour-widget-background",
|
|
25
|
+
borderRadius: "--tour-widget-border-radius",
|
|
26
|
+
bulletActiveBackground: "--tour-widget-bullet-active-background",
|
|
27
|
+
bulletBackground: "--tour-widget-bullet-background",
|
|
28
|
+
bulletsOffset: "--tour-widget-bullets-offset",
|
|
29
|
+
bulletsWidth: "--tour-widget-bullets-width",
|
|
30
|
+
contentBorderRadius: "--tour-widget-content-border-radius",
|
|
31
|
+
gradientBackground: "--tour-widget-gradient-background",
|
|
32
|
+
gradientBlur: "--tour-widget-gradient-blur",
|
|
33
|
+
gradientFrameBottom: "--tour-widget-gradient-frame-bottom",
|
|
34
|
+
gradientFrameFade: "--tour-widget-gradient-frame-fade",
|
|
35
|
+
gradientFrameHeight: "--tour-widget-gradient-frame-height",
|
|
36
|
+
gradientFrameLeft: "--tour-widget-gradient-frame-left",
|
|
37
|
+
gradientFrameRight: "--tour-widget-gradient-frame-right",
|
|
38
|
+
gradientHeight: "--tour-widget-gradient-height",
|
|
39
|
+
gradientLeft: "--tour-widget-gradient-left",
|
|
40
|
+
gradientOpacity: "--tour-widget-gradient-opacity",
|
|
41
|
+
gradientTop: "--tour-widget-gradient-top",
|
|
42
|
+
gradientWidth: "--tour-widget-gradient-width",
|
|
43
|
+
inlineOvalDisplay: "--tour-widget-inline-oval-display",
|
|
44
|
+
minWidth: "--tour-widget-min-width",
|
|
45
|
+
ovalBackground: "--tour-widget-oval-background",
|
|
46
|
+
ovalBlur: "--tour-widget-oval-blur",
|
|
47
|
+
ovalBorderRadius: "--tour-widget-oval-border-radius",
|
|
48
|
+
ovalFrameDisplay: "--tour-widget-oval-frame-display",
|
|
49
|
+
ovalFrameHeight: "--tour-widget-oval-frame-height",
|
|
50
|
+
ovalHeight: "--tour-widget-oval-height",
|
|
51
|
+
ovalLeft: "--tour-widget-oval-left",
|
|
52
|
+
ovalOpacity: "--tour-widget-oval-opacity",
|
|
53
|
+
ovalTop: "--tour-widget-oval-top",
|
|
54
|
+
ovalWidth: "--tour-widget-oval-width",
|
|
55
|
+
shapeGradientMaskMiddle: "--tour-widget-shape-gradient-mask-middle",
|
|
56
|
+
shapeGradientMaskStart: "--tour-widget-shape-gradient-mask-start",
|
|
57
|
+
shapeGradientOpacity: "--tour-widget-shape-gradient-opacity",
|
|
58
|
+
shapeGradientPathOpacity: "--tour-widget-shape-gradient-path-opacity",
|
|
59
|
+
themeBackground: "--tour-widget-theme-background",
|
|
60
|
+
themeGradientHorizontal: "--tour-widget-theme-gradient-horizontal",
|
|
61
|
+
themeGradientHorizontalBlur: "--tour-widget-theme-gradient-horizontal-blur",
|
|
62
|
+
themeGradientOpacity: "--tour-widget-theme-gradient-opacity",
|
|
63
|
+
themeGradientVertical: "--tour-widget-theme-gradient-vertical",
|
|
64
|
+
themeGradientVerticalBlur: "--tour-widget-theme-gradient-vertical-blur",
|
|
65
|
+
themeOvalBackground: "--tour-widget-theme-oval-background",
|
|
66
|
+
themeOvalHorizontalBlur: "--tour-widget-theme-oval-horizontal-blur",
|
|
67
|
+
themeOvalHorizontalOpacity: "--tour-widget-theme-oval-horizontal-opacity",
|
|
68
|
+
themeOvalVerticalBlur: "--tour-widget-theme-oval-vertical-blur",
|
|
69
|
+
themeOvalVerticalOpacity: "--tour-widget-theme-oval-vertical-opacity",
|
|
70
|
+
themeShapeEnd: "--tour-widget-theme-shape-end",
|
|
71
|
+
themeShapeMiddle: "--tour-widget-theme-shape-middle",
|
|
72
|
+
themeShapeOpacity: "--tour-widget-theme-shape-opacity",
|
|
73
|
+
themeShapeStart: "--tour-widget-theme-shape-start"
|
|
74
|
+
}, W = `linear-gradient(
|
|
75
|
+
270deg,
|
|
76
|
+
#00dfff 33.759%,
|
|
77
|
+
#51b7fb 63.268%,
|
|
78
|
+
#bbb0fc 84.246%
|
|
79
|
+
)`, H = `linear-gradient(
|
|
80
|
+
180deg,
|
|
81
|
+
#56ff71 0%,
|
|
82
|
+
rgba(86, 255, 113, 0) 100%
|
|
83
|
+
)`, v = {
|
|
84
|
+
light: {
|
|
85
|
+
[t.themeBackground]: z,
|
|
86
|
+
[t.themeGradientVertical]: W,
|
|
87
|
+
[t.themeGradientHorizontal]: W,
|
|
88
|
+
[t.themeGradientOpacity]: "1",
|
|
89
|
+
[t.themeGradientVerticalBlur]: "25px",
|
|
90
|
+
[t.themeGradientHorizontalBlur]: "25px",
|
|
91
|
+
[t.themeOvalBackground]: H,
|
|
92
|
+
[t.themeOvalVerticalOpacity]: "0.42",
|
|
93
|
+
[t.themeOvalHorizontalOpacity]: "0.42",
|
|
94
|
+
[t.themeOvalVerticalBlur]: "48px",
|
|
95
|
+
[t.themeOvalHorizontalBlur]: "15px",
|
|
96
|
+
[t.themeShapeOpacity]: "0.32",
|
|
97
|
+
[t.themeShapeStart]: "#bbb0fc",
|
|
98
|
+
[t.themeShapeMiddle]: "#00dfff",
|
|
99
|
+
[t.themeShapeEnd]: "#56ff71"
|
|
100
|
+
},
|
|
101
|
+
dark: {
|
|
102
|
+
[t.themeBackground]: et,
|
|
103
|
+
[t.themeGradientVertical]: `linear-gradient(
|
|
104
|
+
-45.68deg,
|
|
105
|
+
rgb(56 255 62) 16.982%,
|
|
106
|
+
rgb(0 224 255) 16.982%,
|
|
107
|
+
rgb(16 194 219) 44.903%,
|
|
108
|
+
rgb(110 135 219) 69.826%
|
|
109
|
+
)`,
|
|
110
|
+
[t.themeGradientHorizontal]: `linear-gradient(
|
|
111
|
+
-45.68deg,
|
|
112
|
+
rgb(56 255 136) 16.982%,
|
|
113
|
+
rgb(0 224 255) 16.982%,
|
|
114
|
+
rgb(16 138 219) 44.903%,
|
|
115
|
+
rgb(90 117 207) 69.826%
|
|
116
|
+
)`,
|
|
117
|
+
[t.themeGradientOpacity]: "1",
|
|
118
|
+
[t.themeGradientVerticalBlur]: "25px",
|
|
119
|
+
[t.themeGradientHorizontalBlur]: "25px",
|
|
120
|
+
[t.themeOvalBackground]: H,
|
|
121
|
+
[t.themeOvalVerticalOpacity]: "0.42",
|
|
122
|
+
[t.themeOvalHorizontalOpacity]: "0.42",
|
|
123
|
+
[t.themeOvalVerticalBlur]: "48px",
|
|
124
|
+
[t.themeOvalHorizontalBlur]: "15px",
|
|
125
|
+
[t.themeShapeOpacity]: "0.32",
|
|
126
|
+
[t.themeShapeStart]: "#6e87db",
|
|
127
|
+
[t.themeShapeMiddle]: "#00e0ff",
|
|
128
|
+
[t.themeShapeEnd]: "#56ff88"
|
|
129
|
+
}
|
|
130
|
+
}, w = v.light, c = {
|
|
63
131
|
radius: "14px",
|
|
64
132
|
contentRadius: "6px",
|
|
65
|
-
cardBg: () =>
|
|
66
|
-
titleColor: () =>
|
|
67
|
-
descriptionColor: () =>
|
|
68
|
-
},
|
|
69
|
-
$orientation:
|
|
70
|
-
}) =>
|
|
71
|
-
className:
|
|
133
|
+
cardBg: () => `var(${t.themeBackground}, ${z})`,
|
|
134
|
+
titleColor: () => S,
|
|
135
|
+
descriptionColor: () => S
|
|
136
|
+
}, ot = x(["", ":10%;", ":0;", ":0;", ":0;", ":60%;", ":var( ", ",", " );", ":115%;", ":70%;", ":-15%;", ":110%;", ":var( ", ",25px );", ":var( ", ",1 );", ":none;", ":block;", ":32%;", ":50%;", ":84%;", ":94%;", ":45%;", ":100%;", ":90%;", ":60%;", ":var(", ",48px);", ":var( ", ",0.42 );"], t.gradientFrameHeight, t.gradientFrameLeft, t.gradientFrameRight, t.gradientFrameBottom, t.gradientFrameFade, t.gradientBackground, t.themeGradientVertical, w[t.themeGradientVertical], t.gradientWidth, t.gradientHeight, t.gradientLeft, t.gradientTop, t.gradientBlur, t.themeGradientVerticalBlur, t.gradientOpacity, t.themeGradientOpacity, t.inlineOvalDisplay, t.ovalFrameDisplay, t.ovalFrameHeight, t.ovalBorderRadius, t.shapeGradientMaskStart, t.shapeGradientMaskMiddle, t.ovalWidth, t.ovalHeight, t.ovalLeft, t.ovalTop, t.ovalBlur, t.themeOvalVerticalBlur, t.ovalOpacity, t.themeOvalVerticalOpacity), dt = x(["", ":30%;", ":0;", ":0;", ":0;", ":78%;", ":var( ", ",", " );", ":115%;", ":50%;", ":-10%;", ":100%;", ":var( ", ",25px );", ":var( ", ",1 );", ":none;", ":block;", ":max(42%,110px);", ":50%;", ":76%;", ":88%;", ":max(30%,216px);", ":120%;", ":calc(100% - 72px);", ":20%;", ":var(", ",15px);", ":var( ", ",0.42 );"], t.gradientFrameHeight, t.gradientFrameLeft, t.gradientFrameRight, t.gradientFrameBottom, t.gradientFrameFade, t.gradientBackground, t.themeGradientHorizontal, w[t.themeGradientHorizontal], t.gradientWidth, t.gradientHeight, t.gradientLeft, t.gradientTop, t.gradientBlur, t.themeGradientHorizontalBlur, t.gradientOpacity, t.themeGradientOpacity, t.inlineOvalDisplay, t.ovalFrameDisplay, t.ovalFrameHeight, t.ovalBorderRadius, t.shapeGradientMaskStart, t.shapeGradientMaskMiddle, t.ovalWidth, t.ovalHeight, t.ovalLeft, t.ovalTop, t.ovalBlur, t.themeOvalHorizontalBlur, t.ovalOpacity, t.themeOvalHorizontalOpacity), nt = x(["", " display:flex;flex-direction:column;& .", "{padding:12px 12px 0;}& .", "{padding-top:24px;padding-inline:12px;}& .", "{padding:24px 12px 12px;}"], ot, a.content, a.header, a.footer), lt = x(["", " display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr) max-content;align-items:stretch;& .", "{grid-column:1 / span 1;grid-row:1 / span 1;padding:12px 12px 0;}& .", "{grid-column:1 / span 1;grid-row:3 / span 1;align-self:end;margin-top:0;padding:24px 12px 12px;}&:has(> .", "){grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;column-gap:24px;}&:has(> .", ") .", "{grid-column:1;grid-row:1 / 4;padding:12px 0 12px 12px;}&:has(> .", ") .", "{grid-column:2;grid-row:1;padding:12px 12px 0 0;}&:has(> .", ") .", "{grid-column:2;grid-row:3;padding:0 12px 12px 0;}"], dt, a.header, a.footer, a.content, a.content, a.content, a.content, a.header, a.content, a.footer), st = ({
|
|
137
|
+
$orientation: e
|
|
138
|
+
}) => e === "vertical" ? nt : lt, gt = s.div.attrs({
|
|
139
|
+
className: a.root
|
|
72
140
|
}).withConfig({
|
|
73
141
|
displayName: "TourWidgetstyled__StyledContainer"
|
|
74
|
-
})(["position:relative;isolation:isolate;overflow:hidden;min-width:var(
|
|
75
|
-
$
|
|
76
|
-
}) =>
|
|
77
|
-
|
|
142
|
+
})(["position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;min-width:var(", ",auto);width:fit-content;color:", ";border:4px solid transparent;background:linear-gradient( var(", ",", "),var(", ",", ") ) padding-box,", " border-box;border-radius:var(", ",", ");& >:not(.", "):not(.", "){position:relative;z-index:1;}", " ", " ", ""], t.minWidth, c.titleColor, t.background, c.cardBg, t.background, c.cardBg, rt, t.borderRadius, c.radius, a.gradient, a.shapeGradient, ({
|
|
143
|
+
$isDark: e
|
|
144
|
+
}) => v[e ? "dark" : "light"], st, ({
|
|
145
|
+
$css: e
|
|
146
|
+
}) => e), ct = s.svg.attrs({
|
|
147
|
+
className: a.shapeGradient,
|
|
78
148
|
focusable: "false",
|
|
79
149
|
preserveAspectRatio: "none"
|
|
80
150
|
}).withConfig({
|
|
81
151
|
displayName: "TourWidgetstyled__StyledShapeGradient"
|
|
82
|
-
})(["position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;
|
|
83
|
-
className:
|
|
152
|
+
})(["position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;clip-path:inset( 0 round max(0px,calc(var(", ",", ") - 4px)) );opacity:var( ", ",var(", ",0.32) );-webkit-mask-image:linear-gradient( to bottom,transparent var(", ",42%),rgba(0,0,0,0.55) var(", ",58%),#000 100% );mask-image:linear-gradient( to bottom,transparent var(", ",42%),rgba(0,0,0,0.55) var(", ",58%),#000 100% );& path{opacity:var(", ",0.86);}"], t.borderRadius, c.radius, t.shapeGradientOpacity, t.themeShapeOpacity, t.shapeGradientMaskStart, t.shapeGradientMaskMiddle, t.shapeGradientMaskStart, t.shapeGradientMaskMiddle, t.shapeGradientPathOpacity), M = s.div.attrs({
|
|
153
|
+
className: a.gradient
|
|
84
154
|
}).withConfig({
|
|
85
155
|
displayName: "TourWidgetstyled__StyledGradient"
|
|
86
|
-
})(["position:absolute;z-index:0;left:var(
|
|
87
|
-
|
|
156
|
+
})(["position:absolute;z-index:0;left:var(", ",0);right:var(", ",0);bottom:var(", ",0);height:var(", ",36%);overflow:hidden;border-radius:max(0px,calc(var(", ",", ") - 4px));pointer-events:none;mask-image:linear-gradient( to bottom,transparent 0%,#000 var(", ",24%),#000 100% );&::before,&::after{content:'';position:absolute;pointer-events:none;}&::before{width:var(", ");height:var(", ");left:var(", ");top:var(", ");background:var( ", ",", " );filter:blur(var(", ",69px));opacity:var(", ",1);}&::after{display:var(", ",block);width:var(", ");height:var(", ");left:var(", ");top:var(", ");border-radius:var(", ",0);background:var( ", ",var( ", ",", " ) );filter:blur(var(", ",127px));opacity:var(", ",1);}"], t.gradientFrameLeft, t.gradientFrameRight, t.gradientFrameBottom, t.gradientFrameHeight, t.borderRadius, c.radius, t.gradientFrameFade, t.gradientWidth, t.gradientHeight, t.gradientLeft, t.gradientTop, t.gradientBackground, w[t.themeGradientHorizontal], t.gradientBlur, t.gradientOpacity, t.inlineOvalDisplay, t.ovalWidth, t.ovalHeight, t.ovalLeft, t.ovalTop, t.ovalBorderRadius, t.ovalBackground, t.themeOvalBackground, w[t.themeOvalBackground], t.ovalBlur, t.ovalOpacity), ht = s(M).withConfig({
|
|
157
|
+
displayName: "TourWidgetstyled__StyledOvalGradient"
|
|
158
|
+
})(["display:var(", ",none);height:var(", ",0%);mask-image:linear-gradient(to bottom,transparent 0%,#000 40%,#000 100%);&::before{display:none;}&::after{display:block;}"], t.ovalFrameDisplay, t.ovalFrameHeight), ut = s.div.attrs({
|
|
159
|
+
className: a.header
|
|
88
160
|
}).withConfig({
|
|
89
161
|
displayName: "TourWidgetstyled__StyledHeader"
|
|
90
162
|
})(["min-width:0;display:flex;flex-direction:column;row-gap:4px;", ""], ({
|
|
91
|
-
$css:
|
|
92
|
-
}) =>
|
|
93
|
-
className:
|
|
163
|
+
$css: e
|
|
164
|
+
}) => e), pt = s(N).attrs({
|
|
165
|
+
className: a.headerTitle
|
|
94
166
|
}).withConfig({
|
|
95
167
|
displayName: "TourWidgetstyled__StyledHeaderTitle"
|
|
96
|
-
})(["min-width:0;color:", ";white-space:pre-line;"],
|
|
97
|
-
className:
|
|
168
|
+
})(["min-width:0;color:", ";white-space:pre-line;"], c.titleColor), mt = s(N).attrs({
|
|
169
|
+
className: a.headerDescription
|
|
98
170
|
}).withConfig({
|
|
99
171
|
displayName: "TourWidgetstyled__StyledHeaderDescription"
|
|
100
|
-
})(["min-width:0;color:", ";white-space:pre-line;"],
|
|
101
|
-
className:
|
|
172
|
+
})(["min-width:0;color:", ";white-space:pre-line;"], c.descriptionColor), vt = s.div.attrs({
|
|
173
|
+
className: a.content
|
|
102
174
|
}).withConfig({
|
|
103
175
|
displayName: "TourWidgetstyled__StyledContent"
|
|
104
|
-
})(["& img,& picture,& video,& canvas,& svg{display:block;object-fit:cover;border-radius:var(
|
|
105
|
-
$css:
|
|
106
|
-
}) =>
|
|
107
|
-
className:
|
|
176
|
+
})(["& img,& picture,& video,& canvas,& svg{display:block;object-fit:cover;border-radius:var(", ",", ");}", ""], t.contentBorderRadius, c.contentRadius, ({
|
|
177
|
+
$css: e
|
|
178
|
+
}) => e), yt = s.div.attrs({
|
|
179
|
+
className: a.footer
|
|
108
180
|
}).withConfig({
|
|
109
181
|
displayName: "TourWidgetstyled__StyledFooter"
|
|
110
182
|
})(["min-width:0;", ""], ({
|
|
111
|
-
$css:
|
|
112
|
-
}) =>
|
|
113
|
-
className:
|
|
183
|
+
$css: e
|
|
184
|
+
}) => e), ft = s.div.attrs({
|
|
185
|
+
className: a.bullets
|
|
114
186
|
}).withConfig({
|
|
115
187
|
displayName: "TourWidgetstyled__StyledBullets"
|
|
116
|
-
})(["display:inline-block;width:var(
|
|
117
|
-
$css:
|
|
118
|
-
}) =>
|
|
119
|
-
className:
|
|
188
|
+
})(["display:inline-block;width:var(", ",auto);min-width:0;overflow:hidden;", ""], t.bulletsWidth, ({
|
|
189
|
+
$css: e
|
|
190
|
+
}) => e), bt = s.div.attrs({
|
|
191
|
+
className: a.bulletsTrack
|
|
120
192
|
}).withConfig({
|
|
121
193
|
displayName: "TourWidgetstyled__StyledBulletsTrack"
|
|
122
|
-
})(["display:flex;align-items:center;gap:8px;transform:translateX(var(
|
|
123
|
-
className:
|
|
194
|
+
})(["display:flex;align-items:center;gap:8px;transform:translateX(var(", ",0px));transition:transform 300ms ease;will-change:transform;"], t.bulletsOffset), wt = s.span.attrs({
|
|
195
|
+
className: a.bullet
|
|
124
196
|
}).withConfig({
|
|
125
197
|
displayName: "TourWidgetstyled__StyledBullet"
|
|
126
|
-
})(["display:block;flex:0 0 8px;width:8px;height:8px;border-radius:100%;background:var(
|
|
127
|
-
$css:
|
|
128
|
-
}) =>
|
|
129
|
-
index:
|
|
130
|
-
active:
|
|
198
|
+
})(["display:block;flex:0 0 8px;width:8px;height:8px;border-radius:100%;background:var(", ",", ");transform:scale(1);transform-origin:center;transition:background-color 300ms ease,opacity 300ms ease,transform 300ms ease;&.", "{background:var(", ",", ");}&.", "{transform:scale(0.75);}", ""], t.bulletBackground, at, a.bulletActive, t.bulletActiveBackground, S, a.bulletEdge, ({
|
|
199
|
+
$css: e
|
|
200
|
+
}) => e), T = p(({
|
|
201
|
+
index: e,
|
|
202
|
+
active: r,
|
|
131
203
|
className: o,
|
|
132
204
|
"aria-label": g,
|
|
133
|
-
...
|
|
134
|
-
},
|
|
205
|
+
...i
|
|
206
|
+
}, h) => {
|
|
135
207
|
const {
|
|
136
208
|
activeStepIndex: l
|
|
137
|
-
} =
|
|
138
|
-
return /* @__PURE__ */
|
|
209
|
+
} = $(), y = r ?? (typeof e == "number" && l === e);
|
|
210
|
+
return /* @__PURE__ */ d(wt, { ref: h, className: F(y && a.bulletActive, o), "aria-current": y ? "step" : void 0, "aria-label": g ?? (typeof e == "number" ? `Шаг ${e + 1}` : void 0), ...i });
|
|
139
211
|
});
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
count:
|
|
143
|
-
style:
|
|
212
|
+
T.displayName = "TourWidget.Bullet";
|
|
213
|
+
const b = 7, L = 8, E = 8, xt = L + E, C = (e, r, o) => Math.min(Math.max(e, r), o), Bt = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : 0, Ot = (e) => e > 0 ? e * L + (e - 1) * E : 0, D = p(({
|
|
214
|
+
count: e,
|
|
215
|
+
style: r,
|
|
144
216
|
"aria-label": o,
|
|
145
217
|
...g
|
|
146
|
-
},
|
|
218
|
+
}, i) => {
|
|
147
219
|
const {
|
|
148
|
-
activeStepIndex:
|
|
149
|
-
} =
|
|
150
|
-
...
|
|
151
|
-
|
|
152
|
-
|
|
220
|
+
activeStepIndex: h = 0
|
|
221
|
+
} = $(), l = Bt(e), y = Number.isFinite(h) ? Math.floor(h) : 0, B = l > 0 ? C(y, 0, l - 1) : 0, O = Math.min(l, b), P = Math.max(0, l - O), f = l > b ? C(B - Math.floor(b / 2), 0, P) : 0, G = f + O - 1, U = f > 0, j = G < l - 1, Z = {
|
|
222
|
+
...r,
|
|
223
|
+
[t.bulletsOffset]: `-${f * xt}px`,
|
|
224
|
+
[t.bulletsWidth]: `${Ot(O)}px`
|
|
153
225
|
};
|
|
154
|
-
return /* @__PURE__ */
|
|
226
|
+
return /* @__PURE__ */ d(ft, { ref: i, "aria-label": o ?? (l > 0 ? `Шаг ${B + 1} из ${l}` : void 0), style: Z, ...g, children: /* @__PURE__ */ d(bt, { children: Array.from({
|
|
155
227
|
length: l
|
|
156
|
-
}, (
|
|
157
|
-
const
|
|
158
|
-
return /* @__PURE__ */
|
|
228
|
+
}, (Ht, m) => {
|
|
229
|
+
const X = l > b && (m === f && U || m === G && j);
|
|
230
|
+
return /* @__PURE__ */ d(T, { index: m, active: m === B, className: X ? a.bulletEdge : void 0 }, m);
|
|
159
231
|
}) }) });
|
|
160
232
|
});
|
|
161
|
-
|
|
162
|
-
const
|
|
163
|
-
children:
|
|
164
|
-
...
|
|
165
|
-
}, o) => /* @__PURE__ */
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
children:
|
|
169
|
-
...
|
|
170
|
-
}, o) => /* @__PURE__ */
|
|
171
|
-
|
|
172
|
-
const
|
|
173
|
-
title:
|
|
174
|
-
description:
|
|
233
|
+
D.displayName = "TourWidget.Bullets";
|
|
234
|
+
const R = p(({
|
|
235
|
+
children: e,
|
|
236
|
+
...r
|
|
237
|
+
}, o) => /* @__PURE__ */ d(vt, { ref: o, ...r, children: e }));
|
|
238
|
+
R.displayName = "TourWidget.Content";
|
|
239
|
+
const V = p(({
|
|
240
|
+
children: e,
|
|
241
|
+
...r
|
|
242
|
+
}, o) => /* @__PURE__ */ d(yt, { ref: o, ...r, children: e }));
|
|
243
|
+
V.displayName = "TourWidget.Footer";
|
|
244
|
+
const A = p(({
|
|
245
|
+
title: e,
|
|
246
|
+
description: r,
|
|
175
247
|
children: o,
|
|
176
248
|
...g
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
|
|
249
|
+
}, i) => /* @__PURE__ */ u(ut, { ref: i, ...g, children: [
|
|
250
|
+
e != null && /* @__PURE__ */ d(pt, { variant: "H3", bold: !0, children: e }),
|
|
251
|
+
r != null && /* @__PURE__ */ d(mt, { variant: "TextM", children: r }),
|
|
180
252
|
o
|
|
181
253
|
] }));
|
|
182
|
-
|
|
183
|
-
const
|
|
254
|
+
A.displayName = "TourWidget.Header";
|
|
255
|
+
const kt = {
|
|
184
256
|
vertical: {
|
|
185
257
|
viewBox: "0 0 286 480",
|
|
186
258
|
gradient: {
|
|
@@ -223,54 +295,72 @@ const ft = {
|
|
|
223
295
|
},
|
|
224
296
|
path: "M0 172 C 88 228 330 252 720 206 L720 262 L0 262 Z"
|
|
225
297
|
}
|
|
226
|
-
},
|
|
227
|
-
orientation:
|
|
298
|
+
}, I = ({
|
|
299
|
+
orientation: e
|
|
228
300
|
}) => {
|
|
229
|
-
const
|
|
230
|
-
return /* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */
|
|
234
|
-
/* @__PURE__ */
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
/* @__PURE__ */
|
|
301
|
+
const r = Q().replace(/[^a-zA-Z0-9_-]/g, ""), o = `tour-widget-tail-gradient-${r}`, g = `tour-widget-tail-blur-${r}`, i = kt[e];
|
|
302
|
+
return /* @__PURE__ */ u(q, { children: [
|
|
303
|
+
/* @__PURE__ */ u(ct, { "aria-hidden": !0, viewBox: i.viewBox, children: [
|
|
304
|
+
/* @__PURE__ */ u("defs", { children: [
|
|
305
|
+
/* @__PURE__ */ u("linearGradient", { id: o, x1: i.gradient.x1, y1: i.gradient.y1, x2: i.gradient.x2, y2: i.gradient.y2, gradientUnits: "userSpaceOnUse", children: [
|
|
306
|
+
/* @__PURE__ */ d("stop", { offset: "0", stopColor: `var(${t.themeShapeStart}, ${v.light[t.themeShapeStart]})`, stopOpacity: i.gradient.startOpacity }),
|
|
307
|
+
/* @__PURE__ */ d("stop", { offset: i.gradient.middleOffset, stopColor: `var(${t.themeShapeMiddle}, ${v.light[t.themeShapeMiddle]})`, stopOpacity: i.gradient.middleOpacity }),
|
|
308
|
+
/* @__PURE__ */ d("stop", { offset: "1", stopColor: `var(${t.themeShapeEnd}, ${v.light[t.themeShapeEnd]})`, stopOpacity: i.gradient.endOpacity })
|
|
237
309
|
] }),
|
|
238
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ d("filter", { id: g, x: i.filter.x, y: i.filter.y, width: i.filter.width, height: i.filter.height, children: /* @__PURE__ */ d("feGaussianBlur", { stdDeviation: i.filter.blur }) })
|
|
239
311
|
] }),
|
|
240
|
-
/* @__PURE__ */
|
|
312
|
+
/* @__PURE__ */ d("path", { d: i.path, fill: `url(#${o})`, filter: `url(#${g})` })
|
|
241
313
|
] }),
|
|
242
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ d(M, { "aria-hidden": !0 }),
|
|
315
|
+
/* @__PURE__ */ d(ht, { "aria-hidden": !0 })
|
|
243
316
|
] });
|
|
244
317
|
};
|
|
245
|
-
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
},
|
|
250
|
-
|
|
251
|
-
|
|
318
|
+
I.displayName = "TourWidget.Gradient";
|
|
319
|
+
const k = () => {
|
|
320
|
+
var e;
|
|
321
|
+
return !!((e = document.documentElement.getAttribute("data-theme")) != null && e.toLowerCase().includes("dark"));
|
|
322
|
+
}, St = () => {
|
|
323
|
+
const [e, r] = Y(k);
|
|
324
|
+
return tt(() => {
|
|
325
|
+
r(k());
|
|
326
|
+
const o = new MutationObserver(() => r(k()));
|
|
327
|
+
return o.observe(document.documentElement, {
|
|
328
|
+
attributes: !0,
|
|
329
|
+
attributeFilter: ["data-theme"]
|
|
330
|
+
}), () => o.disconnect();
|
|
331
|
+
}, []), e;
|
|
332
|
+
}, Tt = {
|
|
333
|
+
horizontal: a.horizontal,
|
|
334
|
+
vertical: a.vertical
|
|
335
|
+
}, Gt = p(({
|
|
336
|
+
children: e,
|
|
337
|
+
orientation: r = "vertical",
|
|
252
338
|
activeStepIndex: o,
|
|
253
339
|
className: g,
|
|
254
|
-
...
|
|
255
|
-
},
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
340
|
+
...i
|
|
341
|
+
}, h) => {
|
|
342
|
+
const l = St();
|
|
343
|
+
return /* @__PURE__ */ d(it, { value: {
|
|
344
|
+
activeStepIndex: o
|
|
345
|
+
}, children: /* @__PURE__ */ u(gt, { ref: h, $orientation: r, $isDark: l, className: F(Tt[r], g), ...i, children: [
|
|
346
|
+
/* @__PURE__ */ d(I, { orientation: r }),
|
|
347
|
+
e
|
|
348
|
+
] }) });
|
|
349
|
+
}), Wt = Object.assign(Gt, {
|
|
350
|
+
Header: A,
|
|
351
|
+
Content: R,
|
|
352
|
+
Footer: V,
|
|
353
|
+
Bullet: T,
|
|
354
|
+
Bullets: D
|
|
266
355
|
});
|
|
267
|
-
|
|
356
|
+
Wt.displayName = "TourWidget";
|
|
268
357
|
export {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
358
|
+
Wt as TourWidget,
|
|
359
|
+
T as TourWidgetBullet,
|
|
360
|
+
D as TourWidgetBullets,
|
|
361
|
+
R as TourWidgetContent,
|
|
362
|
+
V as TourWidgetFooter,
|
|
363
|
+
A as TourWidgetHeader,
|
|
364
|
+
a as tourWidgetClassNames,
|
|
365
|
+
t as tourWidgetTokens
|
|
276
366
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/AiAgentPopup-CLGSjg5L.cjs"),e=require("@salutejs/sdds-finai");exports.Typography=t.Typography;exports.TypographyWithAutoTooltip=t.TypographyWithAutoTooltip;Object.defineProperty(exports,"BodyL",{enumerable:!0,get:()=>e.BodyL});Object.defineProperty(exports,"BodyM",{enumerable:!0,get:()=>e.BodyM});Object.defineProperty(exports,"BodyS",{enumerable:!0,get:()=>e.BodyS});Object.defineProperty(exports,"BodyXS",{enumerable:!0,get:()=>e.BodyXS});Object.defineProperty(exports,"BodyXXS",{enumerable:!0,get:()=>e.BodyXXS});Object.defineProperty(exports,"DsplL",{enumerable:!0,get:()=>e.DsplL});Object.defineProperty(exports,"DsplM",{enumerable:!0,get:()=>e.DsplM});Object.defineProperty(exports,"DsplS",{enumerable:!0,get:()=>e.DsplS});Object.defineProperty(exports,"H1",{enumerable:!0,get:()=>e.H1});Object.defineProperty(exports,"H2",{enumerable:!0,get:()=>e.H2});Object.defineProperty(exports,"H3",{enumerable:!0,get:()=>e.H3});Object.defineProperty(exports,"H4",{enumerable:!0,get:()=>e.H4});Object.defineProperty(exports,"H5",{enumerable:!0,get:()=>e.H5});Object.defineProperty(exports,"TextL",{enumerable:!0,get:()=>e.TextL});Object.defineProperty(exports,"TextM",{enumerable:!0,get:()=>e.TextM});Object.defineProperty(exports,"TextS",{enumerable:!0,get:()=>e.TextS});Object.defineProperty(exports,"TextXS",{enumerable:!0,get:()=>e.TextXS});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as t, T as y } from "../../chunks/AiAgentPopup-CtMhai1X.mjs";
|
|
2
2
|
import { BodyL as e, BodyM as r, BodyS as x, BodyXS as S, BodyXXS as a, DsplL as d, DsplM as s, DsplS as B, H1 as H, H2 as l, H3 as X, H4 as h, H5 as D, TextL as L, TextM as M, TextS as f, TextXS as g } from "@salutejs/sdds-finai";
|
|
3
3
|
export {
|
|
4
4
|
e as BodyL,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("@salutejs/sdds-finai"),n=require("../../constants/index.cjs"),l=require("styled-components"),o=require("react/jsx-runtime"),g=require("@salutejs/sdds-themes/tokens/sdds_finai"),m=require("../Box/index.cjs"),M=require("../../chunks/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("@salutejs/sdds-finai"),n=require("../../constants/index.cjs"),l=require("styled-components"),o=require("react/jsx-runtime"),g=require("@salutejs/sdds-themes/tokens/sdds_finai"),m=require("../Box/index.cjs"),M=require("../../chunks/AiAgentPopup-CLGSjg5L.cjs"),S=require("../../chunks/utils-OQNruMpn.cjs"),x=require("@salutejs/plasma-icons"),B=require("react"),L=require("../IconButton/index.cjs"),j={spaceX2:()=>n.s.x2},T=l(h.Divider).attrs({length:"16px",orientation:"vertical"}).withConfig({displayName:"WidgetDivider"})(["margin-left:",";margin-right:calc("," + 1px);"],j.spaceX2,j.spaceX2),a="Widget__",e={container:`${a}container`,serviceButtons:`${a}service-buttons`,header:`${a}header`,headerTitlesContainer:`${a}header-title-container`,backIconButton:`${a}back-icon-button`,headerTitlesBox:`${a}header-titles-box`,headerTitle:`${a}header-title`,headerSlotToTheLeftOfTitle:`${a}header-slot-to-the-left-of-title`,headerSubTitle:`${a}header-subTitle`,headerRightBlock:`${a}header-right-block`,headerBottomBlock:`${a}header-bottom-block`,headerBadge:`${a}header-badge`,footer:`${a}footer`,footerTopBlock:`${a}footer-top-block`,slotBlock:`${a}footer-slot`,footerLeft:`${a}footer-left`,footerRight:`${a}footer-right`,content:`${a}content`,containerTypeDefault:`${a}default`,containerTypeModal:`${a}modal`,containerTypeSplitView:`${a}split-view`},i={spaceY:()=>n.s.x8,spaceX:()=>n.s.x8,spaceX12:()=>n.s.x12,spaceX2:()=>n.s.x2,spaceX4:()=>n.s.x4,spaceX8:()=>n.s.x8,spaceX16:()=>n.s.x16,bg:()=>g.surfaceSolidCard,textSecondary:()=>g.textSecondary,bodyS:()=>g.bodyS,textPrimary:()=>g.textPrimary,h4Bold:()=>g.h4Bold},H=l.div.attrs({className:e.container}).withConfig({displayName:"Widgetstyled__StyledContainer"})(["height:100%;display:flex;flex-direction:column;overflow:hidden;margin-block:",";max-height:calc(100% - "," - ",");&:not(:has(.",")){overflow-y:scroll;& .","{position:sticky;background-color:",";top:0px;}}&.","{& .",",& .","{padding-right:",";}& .","{margin-right:",";}}",""],i.spaceY,i.spaceY,i.spaceY,e.content,e.header,i.bg,e.containerTypeSplitView,e.header,e.footer,i.spaceX16,e.content,i.spaceX16,({$css:t})=>t),O=l(m.Box).attrs({className:e.header}).withConfig({displayName:"Widgetstyled__StyledHeader"})(["&.","{flex-shrink:0;height:fit-content;padding-inline:",";padding-bottom:",";margin-bottom:",";",";display:grid;grid-template-columns:1fr auto;grid-template-areas:'"," ","' '"," ","';column-gap:",";& .","{grid-area:",";display:flex;gap:",";align-content:flex-start;}& .","{display:flex;flex-direction:column;row-gap:",";& .","{padding:0px;margin:0px;color:",";",";display:flex;align-items:center;gap:",";}& .","{padding:0px;margin:0px;color:",";",";}}& .","{flex-shrink:0;}& .","{grid-area:",";display:flex;height:fit-content;align-items:center;margin-bottom:auto;}& .","{grid-area:",";margin-top:",";}}"],e.header,i.spaceX,i.spaceY,i.spaceX4,({dividerBottom:t})=>t&&l.css(["border-bottom:1px solid ",";"],g.outlineSolidPrimary),e.headerTitlesContainer,e.headerRightBlock,e.headerBottomBlock,e.headerBottomBlock,i.spaceX12,e.headerTitlesContainer,e.headerTitlesContainer,i.spaceX8,e.headerTitlesBox,i.spaceX2,e.headerTitle,i.textPrimary,i.h4Bold,i.spaceX4,e.headerSubTitle,i.textSecondary,i.bodyS,e.backIconButton,e.headerRightBlock,e.headerRightBlock,e.headerBottomBlock,e.headerBottomBlock,i.spaceX),w=l(m.Box).attrs({className:e.content}).withConfig({displayName:"Widgetstyled__StyledContent"})(["&{flex-grow:1;overflow-y:auto;overflow-x:hidden;border-radius:",";padding-left:",";margin-right:",";&:last-child{padding-bottom:0;}}"],n.br.xs,i.spaceX,i.spaceX),Y=l(m.Box).attrs({className:e.footer}).withConfig({displayName:"Widgetstyled__StyledFooter"})(["&.","{flex-shrink:0;height:fit-content;",";padding-inline:",";padding-top:",";margin-top:",";display:grid;grid-template-columns:auto auto;grid-template-areas:'"," ","' '"," ","';column-gap:",";.","{grid-area:",";}.","{grid-area:",";margin-bottom:",";}.","{justify-self:start;align-self:center;grid-area:",";}.","{justify-self:end;grid-area:",";}}"],e.footer,({dividerTop:t})=>t&&l.css(["border-top:1px solid ",";"],g.outlineSolidPrimary),i.spaceX,i.spaceY,i.spaceX4,e.footerTopBlock,e.footerTopBlock,e.footerLeft,e.footerRight,i.spaceX12,e.slotBlock,e.footerTopBlock,e.footerTopBlock,e.footerTopBlock,i.spaceX,e.footerLeft,e.footerLeft,e.footerRight,e.footerRight),V=l(h.Badge).attrs({view:"default"}).withConfig({displayName:"Widgetstyled__StyledBadge"})(["align-self:flex-start;margin-top:",";"],t=>t.$badgeMarginTop?`${t.$badgeMarginTop}px`:"0");function N({leftBlock:t,rightBlock:s,topBlock:r,children:d,...c}){return o.jsx(Y,{...c,children:d?o.jsx("div",{className:e.slotBlock,children:d}):o.jsxs(o.Fragment,{children:[!!r&&o.jsx("div",{className:e.footerTopBlock,children:r}),!!t&&o.jsx("div",{className:e.footerLeft,children:t}),!!s&&o.jsx("div",{className:e.footerRight,children:s})]})})}const v=({iconSize:t,...s})=>o.jsx(h.IconButton,{view:"secondary",size:"s",pin:"circle-circle",className:e.backIconButton,...s,children:o.jsx(x.IconArrowLeft,{size:t??"s",...t&&{size:t}})}),W=B.createContext("default"),z=()=>{const t=B.useContext(W);if(!t)throw new Error("useContextMenu used outside Provider");return t},A=l(m.Box).attrs({className:e.serviceButtons}).withConfig({displayName:"WidgetServiceButtons__StyledServiceButtons"})(["display:inline-flex;column-gap:",";"],()=>n.s.x2),b=({fullScreened:t,toggleFullScreened:s,onClose:r,iconButtonsPin:d,...c})=>{const y=typeof t=="boolean",f=z(),p=d??(f==="splitView"?"square-square":"circle-circle"),u=t?x.IconFullscreenOff:x.IconFullscreenOn;return o.jsxs(A,{...c,children:[y&&o.jsx(h.IconButton,{onClick:s??void 0,size:"xs",view:"secondary",pin:p,title:t?"Выйти из полноэкранного режима":"На весь экран",children:o.jsx(u,{size:"xs"})}),r&&o.jsx(h.IconButton,{onClick:r,size:"xs",view:"secondary",pin:p,title:"Закрыть",children:o.jsx(x.IconClose,{size:"xs"})})]})};function $({title:t,titleSize:s,titleLeftSlot:r,titleRightSlot:d,badge:c,badgeMarginTop:y,subTitle:f,rightBlock:p,bottomBlock:u,onBackClick:I,showBackButton:R=!1,fullScreened:k,toggleFullScreened:_,onClose:C,iconButtonsPin:q,titleTooltipProps:D,...P}){const F=y??(s?void 0:2);return o.jsxs(O,{...P,children:[o.jsxs("div",{className:e.headerTitlesContainer,children:[R&&o.jsx(v,{onClick:I}),r&&o.jsx("div",{className:e.headerSlotToTheLeftOfTitle,children:r}),o.jsxs("div",{className:e.headerTitlesBox,children:[t&&o.jsxs("div",{className:e.headerTitle,children:[o.jsx(M.TypographyWithAutoTooltip,{variant:s??"H4",bold:!0,lines:2,tooltipText:typeof t=="string"?t:void 0,...D,children:t}),typeof d>"u"&&c&&o.jsx(V,{$badgeMarginTop:F,view:"default",...c,className:S.mergeClasses(e.headerBadge,c.className)}),d]}),f&&o.jsx("p",{className:e.headerSubTitle,children:f})]})]}),o.jsxs("div",{className:e.headerRightBlock,children:[p,p&&(C||typeof k=="boolean")&&o.jsx(T,{}),o.jsx(b,{onClose:C,fullScreened:k,toggleFullScreened:_,iconButtonsPin:q})]}),u&&o.jsx("div",{className:e.headerBottomBlock,children:u})]})}const X=L.IconButtonDots,E={splitView:e.containerTypeSplitView,modal:e.containerTypeModal,default:e.containerTypeDefault},G=B.forwardRef(({children:t,containerType:s="default",className:r,...d},c)=>o.jsx(W.Provider,{value:s,children:o.jsx(H,{ref:c,className:S.mCls(E[s],r),...d,children:t})})),J=Object.assign(G,{Header:$,Footer:N,Content:w,Divider:T,ServiceButtons:b,IconButtonDots:X,IconButtonBack:v});exports.Widget=J;exports.WidgetContent=w;exports.WidgetDivider=T;exports.WidgetFooter=N;exports.WidgetHeader=$;exports.WidgetIconButtonBack=v;exports.WidgetIconButtonDots=X;exports.WidgetServiceButtons=b;exports.widgetClassNames=e;
|
|
@@ -4,8 +4,8 @@ import p, { css as v } from "styled-components";
|
|
|
4
4
|
import { jsx as i, jsxs as c, Fragment as M } from "react/jsx-runtime";
|
|
5
5
|
import { outlineSolidPrimary as b, textPrimary as P, h4Bold as Y, textSecondary as j, bodyS as H, surfaceSolidCard as O } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
6
6
|
import { Box as f } from "../Box/index.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { m as z,
|
|
7
|
+
import { T as V } from "../../chunks/AiAgentPopup-CtMhai1X.mjs";
|
|
8
|
+
import { m as z, x as E } from "../../chunks/utils-Hu77fGGe.mjs";
|
|
9
9
|
import { IconArrowLeft as q, IconFullscreenOff as A, IconFullscreenOn as G, IconClose as J } from "@salutejs/plasma-icons";
|
|
10
10
|
import { useContext as K, createContext as Q, forwardRef as U } from "react";
|
|
11
11
|
import { IconButtonDots as Z } from "../IconButton/index.mjs";
|