@daisforge/ui 1.21.0 → 1.22.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/{FiltersActions-CDZSO0MM.mjs → FiltersActions-BJ5gD6Nx.mjs} +26 -24
- package/chunks/FiltersActions-Bg5wvHFG.cjs +1 -0
- package/chunks/{ListOfFilters-Bd8CZHDq.mjs → ListOfFilters-CfV2bs_4.mjs} +2 -2
- package/chunks/{ListOfFilters-BAPz0OY9.cjs → ListOfFilters-mqTsQbq_.cjs} +1 -1
- package/chunks/MassActions-BTrj9l-R.cjs +1 -0
- package/chunks/{MassActions-D5UwHcNG.mjs → MassActions-C6LY-g9r.mjs} +214 -213
- package/chunks/{Table-DYSssxRS.mjs → Table-tUWuA3Ri.mjs} +1113 -1112
- package/chunks/Table-vv1HTrxe.cjs +31 -0
- package/chunks/{TableCanvas-DDNRdQjN.mjs → TableCanvas-BX5aciu7.mjs} +2850 -2793
- package/chunks/TableCanvas-qnwh4c5g.cjs +30 -0
- package/chunks/{TableGlide-DAnTJtye.mjs → TableGlide-BLbbkn4C.mjs} +5669 -5326
- package/chunks/TableGlide-CZ2mkokV.cjs +1 -0
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/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/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/types/table-config.type.d.ts +1 -0
- 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/reexports-for-external.d.ts +4 -1
- package/components/TableCanvas/TableGlideInstance/type.d.ts +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/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-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-edit/types.d.ts +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/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-select-row/types.d.ts +1 -0
- package/components/TableCanvas/feature-select-row/useSelectRow.d.ts +1 -0
- 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/renders/renderEditCell.d.ts +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/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +1 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/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 +1 -1
- package/components/TableGlide/cellRenderer.d.ts +2 -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 +92 -89
- 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 +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 +19 -19
- 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/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 +70 -67
- 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/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 +1 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/tokens.d.ts +3 -0
- 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/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/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 +1609 -1608
- 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/mcp-data/component-index.json +848 -254
- package/package.json +2 -2
- package/chunks/FiltersActions-CVtgAJnC.cjs +0 -1
- package/chunks/MassActions-C08IgW4a.cjs +0 -1
- package/chunks/Table-CdaMPDkg.cjs +0 -31
- package/chunks/TableCanvas-DPHSYfH3.cjs +0 -30
- package/chunks/TableGlide-am_w97mF.cjs +0 -1
|
@@ -1,186 +1,258 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { s as
|
|
3
|
-
import { useContext as
|
|
4
|
-
import { T as
|
|
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 { s as F } from "../../chunks/utils-u1KJ37g3.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 { T as N } from "../../chunks/AnalyticalWidget-BtyWKJuu.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]: "0.53",
|
|
89
|
+
[t.themeGradientVerticalBlur]: "45px",
|
|
90
|
+
[t.themeGradientHorizontalBlur]: "45px",
|
|
91
|
+
[t.themeOvalBackground]: H,
|
|
92
|
+
[t.themeOvalVerticalOpacity]: "0.42",
|
|
93
|
+
[t.themeOvalHorizontalOpacity]: "0.42",
|
|
94
|
+
[t.themeOvalVerticalBlur]: "48px",
|
|
95
|
+
[t.themeOvalHorizontalBlur]: "48px",
|
|
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]: "34px",
|
|
119
|
+
[t.themeGradientHorizontalBlur]: "46px",
|
|
120
|
+
[t.themeOvalBackground]: H,
|
|
121
|
+
[t.themeOvalVerticalOpacity]: "1",
|
|
122
|
+
[t.themeOvalHorizontalOpacity]: "0.82",
|
|
123
|
+
[t.themeOvalVerticalBlur]: "37px",
|
|
124
|
+
[t.themeOvalHorizontalBlur]: "86px",
|
|
125
|
+
[t.themeShapeOpacity]: "0.84",
|
|
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(["", ":20%;", ":0;", ":0;", ":0;", ":60%;", ":var( ", ",", " );", ":115%;", ":100%;", ":-15%;", ":60%;", ":var( ", ",45px );", ":var( ", ",0.53 );", ":none;", ":block;", ":32%;", ":50%;", ":84%;", ":94%;", ":45%;", ":100%;", ":78%;", ":35%;", ":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%;", ":100%;", ":-10%;", ":55%;", ":var( ", ",45px );", ":var( ", ",0.53 );", ":none;", ":block;", ":42%;", ":50%;", ":76%;", ":88%;", ":30%;", ":120%;", ":84%;", ":20%;", ":var(", ",48px);", ":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 b=require("react/jsx-runtime"),P=require("../../chunks/Table-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react/jsx-runtime"),P=require("../../chunks/Table-vv1HTrxe.cjs"),T=require("react-hook-form"),x=require("../utils/index.cjs"),l=({name:d,options:i,label:f,helperText:y="",items:g,onChange:r,onBlur:e,placeholder:v,disabled:C,view:a,required:F,multiple:S=!1,...m})=>{const c={...i,required:x.getPriorityRequired({options:i,ruleName:"required"})?i==null?void 0:i.required:F},s=x.useChangedFormContext(c),{control:j,rules:A,remOptions:O}=s;return b.jsx(T.Controller,{control:j,name:d,...O,render:({field:{name:w,onBlur:q,...u},fieldState:{error:t}})=>{const n=S?!0:Array.isArray(u.value);return b.jsx(P.StyledCombobox,{...u,multiple:n,disabled:C,helperText:(t==null?void 0:t.message)||y,items:g,label:f,placeholder:v,required:!!c.required||void 0,requiredPlacement:"right",hasRequiredIndicator:!!c.required||void 0,size:"s",view:t!=null&&t.type?"negative":a??"default",onChange:o=>{u.onChange(o),r==null||r(o,s),(m.closeAfterSelect??!n)&&(q(),e==null||e(void 0))},onBlur:o=>{q(),e==null||e(o)},...m})},rules:A})};exports.FormCombobox=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { S as F } from "../../chunks/Table-
|
|
2
|
+
import { S as F } from "../../chunks/Table-tUWuA3Ri.mjs";
|
|
3
3
|
import { Controller as N } from "react-hook-form";
|
|
4
4
|
import { getPriorityRequired as O, useChangedFormContext as P } from "../utils/index.mjs";
|
|
5
5
|
const _ = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),F=require("react-hook-form"),S=require("../utils/index.cjs"),k=require("../../chunks/FiltersActions-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),F=require("react-hook-form"),S=require("../utils/index.cjs"),k=require("../../chunks/FiltersActions-Bg5wvHFG.cjs"),x=({label:n,name:t,options:u,onChange:e,...m})=>{const r=S.useChangedFormContext(u),{control:l,rules:d,remOptions:a,formState:{defaultValues:o}}=r;return i.jsx(F.Controller,{control:l,name:t,...a,render:({field:{name:g,value:f,...c}})=>i.jsx(k.Switch,{...c,defaultChecked:o&&o[t],checked:f,label:n,size:"s",onChange:s=>{c.onChange(s.target.checked),e==null||e(s.target.checked,r)},...m}),rules:d})};exports.FormSwitch=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { Controller as k } from "react-hook-form";
|
|
3
3
|
import { useChangedFormContext as l } from "../utils/index.mjs";
|
|
4
|
-
import { S as x } from "../../chunks/FiltersActions-
|
|
4
|
+
import { S as x } from "../../chunks/FiltersActions-BJ5gD6Nx.mjs";
|
|
5
5
|
const F = ({
|
|
6
6
|
label: f,
|
|
7
7
|
name: r,
|