@sprawlify/vue 0.0.70 → 0.0.73

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.
Files changed (101) hide show
  1. package/dist/boolean-CpMsIRK4.js +7 -0
  2. package/dist/components/accordion/index.d.ts +20 -20
  3. package/dist/components/accordion/index.js +1 -1
  4. package/dist/components/angle-slider/index.d.ts +19 -19
  5. package/dist/components/avatar/index.d.ts +3 -3
  6. package/dist/components/bottom-sheet/index.d.ts +22 -22
  7. package/dist/components/carousel/index.d.ts +25 -25
  8. package/dist/components/checkbox/index.d.ts +28 -28
  9. package/dist/components/checkbox/index.js +1 -6
  10. package/dist/components/client-only/index.d.ts +2 -2
  11. package/dist/components/clipboard/index.d.ts +17 -17
  12. package/dist/components/collapsible/index.d.ts +17 -17
  13. package/dist/components/collapsible/index.js +1 -1
  14. package/dist/components/collection/index.d.ts +1 -1
  15. package/dist/components/collection/index.js +1 -1
  16. package/dist/components/color-picker/index.d.ts +58 -58
  17. package/dist/components/combobox/index.d.ts +38 -38
  18. package/dist/components/combobox/index.js +1 -1
  19. package/dist/components/date-picker/index.d.ts +51 -51
  20. package/dist/components/dialog/index.d.ts +33 -33
  21. package/dist/components/download-trigger/index.d.ts +4 -4
  22. package/dist/components/editable/index.d.ts +29 -29
  23. package/dist/components/field/index.d.ts +26 -26
  24. package/dist/components/fieldset/index.d.ts +13 -13
  25. package/dist/components/file-upload/index.d.ts +25 -25
  26. package/dist/components/floating-panel/index.d.ts +24 -25
  27. package/dist/components/focus-trap/index.d.ts +5 -5
  28. package/dist/components/format/index.d.ts +4 -4
  29. package/dist/components/frame/index.d.ts +6 -6
  30. package/dist/components/highlight/index.d.ts +5 -5
  31. package/dist/components/hover-card/index.d.ts +27 -27
  32. package/dist/components/image-cropper/index.d.ts +16 -16
  33. package/dist/components/json-tree-view/index.d.ts +12 -12
  34. package/dist/components/json-tree-view/index.js +3 -3
  35. package/dist/components/listbox/index.d.ts +26 -26
  36. package/dist/components/listbox/index.js +1 -1
  37. package/dist/components/marquee/index.d.ts +23 -23
  38. package/dist/components/menu/index.d.ts +53 -54
  39. package/dist/components/navigation-menu/index.d.ts +20 -20
  40. package/dist/components/number-input/index.d.ts +22 -22
  41. package/dist/components/pagination/index.d.ts +17 -17
  42. package/dist/components/password-input/index.d.ts +25 -25
  43. package/dist/components/pin-input/index.d.ts +21 -21
  44. package/dist/components/popover/index.d.ts +34 -34
  45. package/dist/components/presence/index.d.ts +2 -2
  46. package/dist/components/progress/index.d.ts +231 -0
  47. package/dist/components/progress/index.js +372 -0
  48. package/dist/components/qr-code/index.d.ts +159 -0
  49. package/dist/components/qr-code/index.js +263 -0
  50. package/dist/components/radio-group/index.d.ts +231 -0
  51. package/dist/components/radio-group/index.js +378 -0
  52. package/dist/components/rating-group/index.d.ts +201 -0
  53. package/dist/components/rating-group/index.js +330 -0
  54. package/dist/components/scroll-area/index.d.ts +171 -0
  55. package/dist/components/scroll-area/index.js +264 -0
  56. package/dist/components/segment-group/index.d.ts +231 -0
  57. package/dist/components/segment-group/index.js +422 -0
  58. package/dist/components/select/index.d.ts +39 -39
  59. package/dist/components/select/index.js +1 -1
  60. package/dist/components/signature-pad/index.d.ts +202 -0
  61. package/dist/components/signature-pad/index.js +345 -0
  62. package/dist/components/slider/index.d.ts +300 -0
  63. package/dist/components/slider/index.js +511 -0
  64. package/dist/components/splitter/index.d.ts +162 -0
  65. package/dist/components/splitter/index.js +280 -0
  66. package/dist/components/steps/index.d.ts +290 -0
  67. package/dist/components/steps/index.js +469 -0
  68. package/dist/components/switch/index.d.ts +179 -0
  69. package/dist/components/switch/index.js +290 -0
  70. package/dist/components/tabs/index.d.ts +181 -0
  71. package/dist/components/tabs/index.js +335 -0
  72. package/dist/components/tags-input/index.d.ts +339 -0
  73. package/dist/components/tags-input/index.js +569 -0
  74. package/dist/components/timer/index.d.ts +177 -0
  75. package/dist/components/timer/index.js +295 -0
  76. package/dist/components/toast/index.d.ts +154 -0
  77. package/dist/components/toast/index.js +265 -0
  78. package/dist/components/toggle/index.d.ts +101 -0
  79. package/dist/components/toggle/index.js +131 -0
  80. package/dist/components/toggle-group/index.d.ts +127 -0
  81. package/dist/components/toggle-group/index.js +207 -0
  82. package/dist/components/tooltip/index.d.ts +201 -0
  83. package/dist/components/tooltip/index.js +349 -0
  84. package/dist/components/tour/index.d.ts +308 -0
  85. package/dist/components/tour/index.js +505 -0
  86. package/dist/components/tree-view/index.d.ts +5 -5
  87. package/dist/components/tree-view/index.js +3 -3
  88. package/dist/{index-Cjk1WhUx.d.ts → index-8bjPAUl0.d.ts} +10 -10
  89. package/dist/{index-D0_ID5xv.d.ts → index-BnYwp0nl.d.ts} +7 -7
  90. package/dist/{index-ByYmM8LZ.d.ts → index-CmCVWB7e.d.ts} +33 -33
  91. package/dist/index.d.ts +3 -3
  92. package/dist/{tree-view-CzfDgztL.js → tree-view-N6ShNmpe.js} +1 -1
  93. package/package.json +78 -2
  94. /package/dist/{collapsible-D1Mx4C0H.js → collapsible-SXAS3iFc.js} +0 -0
  95. /package/dist/{collection-DiwGNCAy.js → collection-C_ZHBDQD.js} +0 -0
  96. /package/dist/{factory-Dg6Whljf.d.ts → factory-B5zr8_kk.d.ts} +0 -0
  97. /package/dist/{index-DI09ccnU.d.ts → index-CCRVRFFQ.d.ts} +0 -0
  98. /package/dist/{index-ECeveDvH.d.ts → index-DhFoJHfp.d.ts} +0 -0
  99. /package/dist/{presence-types-BaQ7PILD.d.ts → presence-types-BJRr8tqd.d.ts} +0 -0
  100. /package/dist/{types-BkS9kMJ5.d.ts → types-DIEO6uP3.d.ts} +0 -0
  101. /package/dist/{use-render-strategy-bdLKqL57.d.ts → use-render-strategy-U5NxU252.d.ts} +0 -0
@@ -0,0 +1,349 @@
1
+ import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
2
+ import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DNndr38p.js";
3
+ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
4
+ import { t as createContext } from "../../create-context-Ds1GbsVc.js";
5
+ import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
6
+ import { t as sprawlify } from "../../factory-Co08Aw8u.js";
7
+ import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
8
+ import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
9
+ import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
10
+ import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
11
+ import * as tooltip from "@sprawlify/primitives/machines/tooltip";
12
+ import { anatomy as tooltipAnatomy } from "@sprawlify/primitives/machines/tooltip";
13
+
14
+ //#region src/components/tooltip/use-tooltip-context.ts
15
+ const [TooltipProvider, useTooltipContext] = createContext("TooltipContext");
16
+
17
+ //#endregion
18
+ //#region src/components/tooltip/tooltip-arrow-tip.vue?vue&type=script&setup=true&lang.ts
19
+ var tooltip_arrow_tip_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
20
+ __name: "tooltip-arrow-tip",
21
+ props: { asChild: {
22
+ type: Boolean,
23
+ required: false
24
+ } },
25
+ setup(__props) {
26
+ const tooltip = useTooltipContext();
27
+ useForwardExpose();
28
+ return (_ctx, _cache) => {
29
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tooltip).getArrowTipProps(), { "as-child": __props.asChild }), {
30
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
31
+ _: 3
32
+ }, 16, ["as-child"]);
33
+ };
34
+ }
35
+ });
36
+
37
+ //#endregion
38
+ //#region src/components/tooltip/tooltip-arrow-tip.vue
39
+ var tooltip_arrow_tip_default = tooltip_arrow_tip_vue_vue_type_script_setup_true_lang_default;
40
+
41
+ //#endregion
42
+ //#region src/components/tooltip/tooltip-arrow.vue?vue&type=script&setup=true&lang.ts
43
+ var tooltip_arrow_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
44
+ __name: "tooltip-arrow",
45
+ props: { asChild: {
46
+ type: Boolean,
47
+ required: false
48
+ } },
49
+ setup(__props) {
50
+ const tooltip = useTooltipContext();
51
+ useForwardExpose();
52
+ return (_ctx, _cache) => {
53
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tooltip).getArrowProps(), { "as-child": __props.asChild }), {
54
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
55
+ _: 3
56
+ }, 16, ["as-child"]);
57
+ };
58
+ }
59
+ });
60
+
61
+ //#endregion
62
+ //#region src/components/tooltip/tooltip-arrow.vue
63
+ var tooltip_arrow_default = tooltip_arrow_vue_vue_type_script_setup_true_lang_default;
64
+
65
+ //#endregion
66
+ //#region src/components/tooltip/tooltip-content.vue?vue&type=script&setup=true&lang.ts
67
+ var tooltip_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
68
+ __name: "tooltip-content",
69
+ props: { asChild: {
70
+ type: Boolean,
71
+ required: false
72
+ } },
73
+ setup(__props) {
74
+ const tooltip = useTooltipContext();
75
+ const presence = usePresenceContext();
76
+ const mergedProps = computed(() => mergeProps$1(tooltip.value.getContentProps(), presence.value.presenceProps));
77
+ useForwardExpose();
78
+ return (_ctx, _cache) => {
79
+ return !unref(presence).unmounted ? (openBlock(), createBlock(unref(sprawlify).div, mergeProps({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
80
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
81
+ _: 3
82
+ }, 16, ["as-child"])) : createCommentVNode("v-if", true);
83
+ };
84
+ }
85
+ });
86
+
87
+ //#endregion
88
+ //#region src/components/tooltip/tooltip-content.vue
89
+ var tooltip_content_default = tooltip_content_vue_vue_type_script_setup_true_lang_default;
90
+
91
+ //#endregion
92
+ //#region src/components/tooltip/tooltip-context.vue?vue&type=script&setup=true&lang.ts
93
+ var tooltip_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
94
+ __name: "tooltip-context",
95
+ setup(__props) {
96
+ const tooltip = useTooltipContext();
97
+ return (_ctx, _cache) => {
98
+ return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(tooltip))));
99
+ };
100
+ }
101
+ });
102
+
103
+ //#endregion
104
+ //#region src/components/tooltip/tooltip-context.vue
105
+ var tooltip_context_default = tooltip_context_vue_vue_type_script_setup_true_lang_default;
106
+
107
+ //#endregion
108
+ //#region src/components/tooltip/tooltip-positioner.vue?vue&type=script&setup=true&lang.ts
109
+ var tooltip_positioner_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
110
+ __name: "tooltip-positioner",
111
+ props: { asChild: {
112
+ type: Boolean,
113
+ required: false
114
+ } },
115
+ setup(__props) {
116
+ const tooltip = useTooltipContext();
117
+ const presence = usePresenceContext();
118
+ useForwardExpose();
119
+ return (_ctx, _cache) => {
120
+ return !unref(presence).unmounted ? (openBlock(), createBlock(unref(sprawlify).div, mergeProps({ key: 0 }, unref(tooltip).getPositionerProps(), { "as-child": __props.asChild }), {
121
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
122
+ _: 3
123
+ }, 16, ["as-child"])) : createCommentVNode("v-if", true);
124
+ };
125
+ }
126
+ });
127
+
128
+ //#endregion
129
+ //#region src/components/tooltip/tooltip-positioner.vue
130
+ var tooltip_positioner_default = tooltip_positioner_vue_vue_type_script_setup_true_lang_default;
131
+
132
+ //#endregion
133
+ //#region src/components/tooltip/tooltip-root-provider.vue?vue&type=script&setup=true&lang.ts
134
+ var tooltip_root_provider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
135
+ __name: "tooltip-root-provider",
136
+ props: {
137
+ value: {
138
+ type: null,
139
+ required: true
140
+ },
141
+ lazyMount: {
142
+ type: Boolean,
143
+ required: false
144
+ },
145
+ unmountOnExit: {
146
+ type: Boolean,
147
+ required: false
148
+ }
149
+ },
150
+ emits: ["exitComplete"],
151
+ setup(__props, { emit: __emit }) {
152
+ const props = __props;
153
+ const emits = __emit;
154
+ const tooltip = computed(() => props.value);
155
+ const presence = usePresence(computed(() => ({
156
+ present: tooltip.value.open,
157
+ lazyMount: props.lazyMount,
158
+ unmountOnExit: props.unmountOnExit
159
+ })), emits);
160
+ TooltipProvider(tooltip);
161
+ PresenceProvider(presence);
162
+ RenderStrategyPropsProvider(computed(() => ({
163
+ lazyMount: props.lazyMount,
164
+ unmountOnExit: props.unmountOnExit
165
+ })));
166
+ useForwardExpose();
167
+ return (_ctx, _cache) => {
168
+ return renderSlot(_ctx.$slots, "default");
169
+ };
170
+ }
171
+ });
172
+
173
+ //#endregion
174
+ //#region src/components/tooltip/tooltip-root-provider.vue
175
+ var tooltip_root_provider_default = tooltip_root_provider_vue_vue_type_script_setup_true_lang_default;
176
+
177
+ //#endregion
178
+ //#region src/components/tooltip/use-tooltip.ts
179
+ const useTooltip = (props = {}, emit) => {
180
+ const id = useId();
181
+ const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
182
+ const locale = useLocaleContext(DEFAULT_LOCALE);
183
+ const context = computed(() => {
184
+ const localProps = toValue(props);
185
+ return {
186
+ id,
187
+ dir: locale.value.dir,
188
+ getRootNode: env?.value.getRootNode,
189
+ ...cleanProps(localProps),
190
+ onOpenChange: (details) => {
191
+ emit?.("openChange", details);
192
+ emit?.("update:open", details.open);
193
+ localProps.onOpenChange?.(details);
194
+ }
195
+ };
196
+ });
197
+ const service = useMachine(tooltip.machine, context);
198
+ return computed(() => tooltip.connect(service, normalizeProps$1));
199
+ };
200
+
201
+ //#endregion
202
+ //#region src/components/tooltip/tooltip-root.vue?vue&type=script&setup=true&lang.ts
203
+ var tooltip_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
204
+ __name: "tooltip-root",
205
+ props: /* @__PURE__ */ mergeDefaults({
206
+ "aria-label": {
207
+ type: String,
208
+ required: false
209
+ },
210
+ closeDelay: {
211
+ type: Number,
212
+ required: false
213
+ },
214
+ closeOnClick: {
215
+ type: Boolean,
216
+ required: false
217
+ },
218
+ closeOnEscape: {
219
+ type: Boolean,
220
+ required: false
221
+ },
222
+ closeOnPointerDown: {
223
+ type: Boolean,
224
+ required: false
225
+ },
226
+ closeOnScroll: {
227
+ type: Boolean,
228
+ required: false
229
+ },
230
+ defaultOpen: {
231
+ type: Boolean,
232
+ required: false
233
+ },
234
+ disabled: {
235
+ type: Boolean,
236
+ required: false
237
+ },
238
+ id: {
239
+ type: String,
240
+ required: false
241
+ },
242
+ ids: {
243
+ type: Object,
244
+ required: false
245
+ },
246
+ interactive: {
247
+ type: Boolean,
248
+ required: false
249
+ },
250
+ open: {
251
+ type: Boolean,
252
+ required: false
253
+ },
254
+ openDelay: {
255
+ type: Number,
256
+ required: false
257
+ },
258
+ positioning: {
259
+ type: null,
260
+ required: false
261
+ },
262
+ lazyMount: {
263
+ type: Boolean,
264
+ required: false
265
+ },
266
+ unmountOnExit: {
267
+ type: Boolean,
268
+ required: false
269
+ }
270
+ }, {
271
+ closeOnClick: void 0,
272
+ closeOnEscape: void 0,
273
+ closeOnPointerDown: void 0,
274
+ closeOnScroll: void 0,
275
+ defaultOpen: void 0,
276
+ disabled: void 0,
277
+ interactive: void 0,
278
+ open: void 0
279
+ }),
280
+ emits: [
281
+ "exitComplete",
282
+ "openChange",
283
+ "update:open"
284
+ ],
285
+ setup(__props, { emit: __emit }) {
286
+ const props = __props;
287
+ const emits = __emit;
288
+ const tooltip = useTooltip(props, emits);
289
+ const presence = usePresence(computed(() => ({
290
+ present: tooltip.value.open,
291
+ lazyMount: props.lazyMount,
292
+ unmountOnExit: props.unmountOnExit
293
+ })), emits);
294
+ TooltipProvider(tooltip);
295
+ PresenceProvider(presence);
296
+ RenderStrategyPropsProvider(computed(() => ({
297
+ lazyMount: props.lazyMount,
298
+ unmountOnExit: props.unmountOnExit
299
+ })));
300
+ useForwardExpose();
301
+ return (_ctx, _cache) => {
302
+ return renderSlot(_ctx.$slots, "default");
303
+ };
304
+ }
305
+ });
306
+
307
+ //#endregion
308
+ //#region src/components/tooltip/tooltip-root.vue
309
+ var tooltip_root_default = tooltip_root_vue_vue_type_script_setup_true_lang_default;
310
+
311
+ //#endregion
312
+ //#region src/components/tooltip/tooltip-trigger.vue?vue&type=script&setup=true&lang.ts
313
+ var tooltip_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
314
+ __name: "tooltip-trigger",
315
+ props: { asChild: {
316
+ type: Boolean,
317
+ required: false
318
+ } },
319
+ setup(__props) {
320
+ const tooltip = useTooltipContext();
321
+ useForwardExpose();
322
+ return (_ctx, _cache) => {
323
+ return openBlock(), createBlock(unref(sprawlify).button, mergeProps(unref(tooltip).getTriggerProps(), { "as-child": __props.asChild }), {
324
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
325
+ _: 3
326
+ }, 16, ["as-child"]);
327
+ };
328
+ }
329
+ });
330
+
331
+ //#endregion
332
+ //#region src/components/tooltip/tooltip-trigger.vue
333
+ var tooltip_trigger_default = tooltip_trigger_vue_vue_type_script_setup_true_lang_default;
334
+
335
+ //#endregion
336
+ //#region src/components/tooltip/tooltip.ts
337
+ var tooltip_exports = /* @__PURE__ */ __exportAll({
338
+ Arrow: () => tooltip_arrow_default,
339
+ ArrowTip: () => tooltip_arrow_tip_default,
340
+ Content: () => tooltip_content_default,
341
+ Context: () => tooltip_context_default,
342
+ Positioner: () => tooltip_positioner_default,
343
+ Root: () => tooltip_root_default,
344
+ RootProvider: () => tooltip_root_provider_default,
345
+ Trigger: () => tooltip_trigger_default
346
+ });
347
+
348
+ //#endregion
349
+ export { tooltip_exports as Tooltip, tooltip_arrow_default as TooltipArrow, tooltip_arrow_tip_default as TooltipArrowTip, tooltip_content_default as TooltipContent, tooltip_context_default as TooltipContext, tooltip_positioner_default as TooltipPositioner, tooltip_root_default as TooltipRoot, tooltip_root_provider_default as TooltipRootProvider, tooltip_trigger_default as TooltipTrigger, tooltipAnatomy, useTooltip, useTooltipContext };
@@ -0,0 +1,308 @@
1
+ import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
2
+ import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
3
+ import { r as PropTypes } from "../../index-CCRVRFFQ.js";
4
+ import { t as RenderStrategyProps } from "../../use-render-strategy-U5NxU252.js";
5
+ import * as vue814 from "vue";
6
+ import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
7
+ import { WaitForOptions as WaitOptions$1 } from "@sprawlify/primitives/dom-query";
8
+ import * as _sprawlify_primitives_anatomy2 from "@sprawlify/primitives/anatomy";
9
+ import * as _sprawlify_primitives_machines_menu5 from "@sprawlify/primitives/machines/menu";
10
+ import * as tour from "@sprawlify/primitives/machines/tour";
11
+ import { FocusOutsideEvent, FocusOutsideEvent as TourFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as TourInteractOutsideEvent, Point, PointerDownOutsideEvent, PointerDownOutsideEvent as TourPointerDownOutsideEvent, ProgressTextDetails, StatusChangeDetails, StepAction, StepAction as StepAction$1, StepActionMap, StepActionTriggerProps, StepActionTriggerProps as StepActionTriggerProps$1, StepBaseDetails, StepChangeDetails, StepDetails, StepDetails as TourStepDetails, StepEffectArgs, StepEffectArgs as TourStepEffectArgs, StepPlacement, StepStatus, StepType, WaitOptions, waitForElement, waitForElementValue, waitForPromise } from "@sprawlify/primitives/machines/tour";
12
+
13
+ //#region src/components/tour/wait-for-event.d.ts
14
+ type WaitForEventReturn<K extends keyof HTMLElementEventMap> = [Promise<HTMLElementEventMap[K]>, VoidFunction];
15
+ interface WaitForEventOptions<T extends HTMLElement = HTMLElement> extends AddEventListenerOptions {
16
+ predicate?: (element: T) => boolean;
17
+ }
18
+ declare function waitForEvent<T extends HTMLElement = HTMLElement, K extends keyof HTMLElementEventMap = keyof HTMLElementEventMap>(target: (() => HTMLElement | null) | undefined, event: K, options?: WaitForEventOptions<T>): WaitForEventReturn<K>;
19
+ //#endregion
20
+ //#region src/components/tour/tour-action-trigger.vue.d.ts
21
+ interface TourActionTriggerBaseProps extends StepActionTriggerProps, PolymorphicProps {}
22
+ interface TourActionTriggerProps extends TourActionTriggerBaseProps,
23
+ /**
24
+ * @vue-ignore
25
+ */
26
+ ButtonHTMLAttributes {}
27
+ declare const _default: typeof __VLS_export$14;
28
+ declare const __VLS_export$14: __VLS_WithSlots$14<vue814.DefineComponent<TourActionTriggerBaseProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourActionTriggerBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
29
+ type __VLS_WithSlots$14<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
34
+ //#endregion
35
+ //#region src/components/tour/tour-actions.vue.d.ts
36
+ interface TourActionsProps extends SlotsType<{
37
+ default: UnwrapRef<StepAction[]>;
38
+ }> {}
39
+ declare const _default$1: typeof __VLS_export$13;
40
+ declare const __VLS_export$13: __VLS_WithSlots$13<vue814.DefineComponent<{}, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, true, {}, any>, {
41
+ default(tour: UnwrapRef<StepAction[]>): unknown;
42
+ }>;
43
+ type __VLS_WithSlots$13<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
48
+ //#endregion
49
+ //#region src/components/tour/tour-arrow-tip.vue.d.ts
50
+ interface TourArrowTipBaseProps extends PolymorphicProps {}
51
+ interface TourArrowTipProps extends TourArrowTipBaseProps,
52
+ /**
53
+ * @vue-ignore
54
+ */
55
+ HTMLAttributes {}
56
+ declare const _default$3: typeof __VLS_export$12;
57
+ declare const __VLS_export$12: __VLS_WithSlots$12<vue814.DefineComponent<TourArrowTipProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
58
+ default?: (props: {}) => any;
59
+ }>;
60
+ type __VLS_WithSlots$12<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
65
+ //#endregion
66
+ //#region src/components/tour/tour-arrow.vue.d.ts
67
+ interface TourArrowBaseProps extends PolymorphicProps {}
68
+ interface TourArrowProps extends TourArrowBaseProps,
69
+ /**
70
+ * @vue-ignore
71
+ */
72
+ HTMLAttributes {}
73
+ declare const _default$2: typeof __VLS_export$11;
74
+ declare const __VLS_export$11: __VLS_WithSlots$11<vue814.DefineComponent<TourArrowProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
75
+ default?: (props: {}) => any;
76
+ }>;
77
+ type __VLS_WithSlots$11<T, S> = T & {
78
+ new (): {
79
+ $slots: S;
80
+ };
81
+ };
82
+ //#endregion
83
+ //#region src/components/tour/tour-backdrop.vue.d.ts
84
+ interface TourBackdropBaseProps extends PolymorphicProps {}
85
+ interface TourBackdropProps extends TourBackdropBaseProps,
86
+ /**
87
+ * @vue-ignore
88
+ */
89
+ HTMLAttributes {}
90
+ declare const _default$4: typeof __VLS_export$10;
91
+ declare const __VLS_export$10: __VLS_WithSlots$10<vue814.DefineComponent<TourBackdropProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
92
+ default?: (props: {}) => any;
93
+ }>;
94
+ type __VLS_WithSlots$10<T, S> = T & {
95
+ new (): {
96
+ $slots: S;
97
+ };
98
+ };
99
+ //#endregion
100
+ //#region src/components/tour/tour-close-trigger.vue.d.ts
101
+ interface TourCloseTriggerBaseProps extends PolymorphicProps {}
102
+ interface TourCloseTriggerProps extends TourCloseTriggerBaseProps,
103
+ /**
104
+ * @vue-ignore
105
+ */
106
+ ButtonHTMLAttributes {}
107
+ declare const _default$5: typeof __VLS_export$9;
108
+ declare const __VLS_export$9: __VLS_WithSlots$9<vue814.DefineComponent<TourCloseTriggerProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
109
+ default?: (props: {}) => any;
110
+ }>;
111
+ type __VLS_WithSlots$9<T, S> = T & {
112
+ new (): {
113
+ $slots: S;
114
+ };
115
+ };
116
+ //#endregion
117
+ //#region src/components/tour/tour-content.vue.d.ts
118
+ interface TourContentBaseProps extends PolymorphicProps {}
119
+ interface TourContentProps extends TourContentBaseProps,
120
+ /**
121
+ * @vue-ignore
122
+ */
123
+ HTMLAttributes {}
124
+ declare const _default$6: typeof __VLS_export$8;
125
+ declare const __VLS_export$8: __VLS_WithSlots$8<vue814.DefineComponent<TourContentProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
126
+ default?: (props: {}) => any;
127
+ }>;
128
+ type __VLS_WithSlots$8<T, S> = T & {
129
+ new (): {
130
+ $slots: S;
131
+ };
132
+ };
133
+ //#endregion
134
+ //#region src/components/tour/tour-control.vue.d.ts
135
+ interface TourControlBaseProps extends PolymorphicProps {}
136
+ interface TourControlProps extends TourControlBaseProps,
137
+ /**
138
+ * @vue-ignore
139
+ */
140
+ HTMLAttributes {}
141
+ declare const _default$8: typeof __VLS_export$7;
142
+ declare const __VLS_export$7: __VLS_WithSlots$7<vue814.DefineComponent<TourControlProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
143
+ default?: (props: {}) => any;
144
+ }>;
145
+ type __VLS_WithSlots$7<T, S> = T & {
146
+ new (): {
147
+ $slots: S;
148
+ };
149
+ };
150
+ //#endregion
151
+ //#region src/components/tour/tour-description.vue.d.ts
152
+ interface TourDescriptionBaseProps extends PolymorphicProps {}
153
+ interface TourDescriptionProps extends TourDescriptionBaseProps,
154
+ /**
155
+ * @vue-ignore
156
+ */
157
+ HTMLAttributes {}
158
+ declare const _default$9: typeof __VLS_export$6;
159
+ declare const __VLS_export$6: __VLS_WithSlots$6<vue814.DefineComponent<TourDescriptionProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
160
+ type __VLS_WithSlots$6<T, S> = T & {
161
+ new (): {
162
+ $slots: S;
163
+ };
164
+ };
165
+ //#endregion
166
+ //#region src/components/tour/tour-positioner.vue.d.ts
167
+ interface TourPositionerBaseProps extends PolymorphicProps {}
168
+ interface TourPositionerProps extends TourPositionerBaseProps,
169
+ /**
170
+ * @vue-ignore
171
+ */
172
+ HTMLAttributes {}
173
+ declare const _default$10: typeof __VLS_export$5;
174
+ declare const __VLS_export$5: __VLS_WithSlots$5<vue814.DefineComponent<TourPositionerProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
175
+ default?: (props: {}) => any;
176
+ }>;
177
+ type __VLS_WithSlots$5<T, S> = T & {
178
+ new (): {
179
+ $slots: S;
180
+ };
181
+ };
182
+ //#endregion
183
+ //#region src/components/tour/tour-progress-text.vue.d.ts
184
+ interface TourProgressTextBaseProps extends PolymorphicProps {}
185
+ interface TourProgressTextProps extends TourProgressTextBaseProps,
186
+ /**
187
+ * @vue-ignore
188
+ */
189
+ HTMLAttributes {}
190
+ declare const _default$11: typeof __VLS_export$4;
191
+ declare const __VLS_export$4: __VLS_WithSlots$4<vue814.DefineComponent<TourProgressTextProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourProgressTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
192
+ type __VLS_WithSlots$4<T, S> = T & {
193
+ new (): {
194
+ $slots: S;
195
+ };
196
+ };
197
+ //#endregion
198
+ //#region src/components/tour/tour-types.d.ts
199
+ type RootEmits = {
200
+ exitComplete: [];
201
+ focusOutside: [event: tour.FocusOutsideEvent];
202
+ interactOutside: [event: tour.InteractOutsideEvent];
203
+ pointerDownOutside: [event: tour.PointerDownOutsideEvent];
204
+ statusChange: [details: tour.StatusChangeDetails];
205
+ stepChange: [details: tour.StepChangeDetails];
206
+ stepsChange: [details: {
207
+ steps: tour.StepDetails[];
208
+ }];
209
+ };
210
+ //#endregion
211
+ //#region src/components/tour/tour-root.vue.d.ts
212
+ interface RootProps {
213
+ tour: UnwrapRef<UseTourReturn>;
214
+ }
215
+ interface TourRootBaseProps extends RootProps, RenderStrategyProps {}
216
+ interface TourRootProps extends TourRootBaseProps {}
217
+ interface TourRootEmits extends RootEmits {}
218
+ declare const _default$12: typeof __VLS_export$3;
219
+ declare const __VLS_export$3: __VLS_WithSlots$3<vue814.DefineComponent<TourRootProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {
220
+ statusChange: (details: tour.StatusChangeDetails) => any;
221
+ exitComplete: () => any;
222
+ focusOutside: (event: _sprawlify_primitives_machines_menu5.FocusOutsideEvent) => any;
223
+ interactOutside: (event: _sprawlify_primitives_machines_menu5.InteractOutsideEvent) => any;
224
+ pointerDownOutside: (event: _sprawlify_primitives_machines_menu5.PointerDownOutsideEvent) => any;
225
+ stepChange: (details: tour.StepChangeDetails) => any;
226
+ stepsChange: (details: {
227
+ steps: tour.StepDetails[];
228
+ }) => any;
229
+ }, string, vue814.PublicProps, Readonly<TourRootProps> & Readonly<{
230
+ onStatusChange?: ((details: tour.StatusChangeDetails) => any) | undefined;
231
+ onExitComplete?: (() => any) | undefined;
232
+ onFocusOutside?: ((event: _sprawlify_primitives_machines_menu5.FocusOutsideEvent) => any) | undefined;
233
+ onInteractOutside?: ((event: _sprawlify_primitives_machines_menu5.InteractOutsideEvent) => any) | undefined;
234
+ onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu5.PointerDownOutsideEvent) => any) | undefined;
235
+ onStepChange?: ((details: tour.StepChangeDetails) => any) | undefined;
236
+ onStepsChange?: ((details: {
237
+ steps: tour.StepDetails[];
238
+ }) => any) | undefined;
239
+ }>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
240
+ default?: (props: {}) => any;
241
+ }>;
242
+ type __VLS_WithSlots$3<T, S> = T & {
243
+ new (): {
244
+ $slots: S;
245
+ };
246
+ };
247
+ //#endregion
248
+ //#region src/components/tour/tour-spotlight.vue.d.ts
249
+ interface TourSpotlightBaseProps extends PolymorphicProps {}
250
+ interface TourSpotlightProps extends TourSpotlightBaseProps,
251
+ /**
252
+ * @vue-ignore
253
+ */
254
+ HTMLAttributes {}
255
+ declare const _default$13: typeof __VLS_export$2;
256
+ declare const __VLS_export$2: __VLS_WithSlots$2<vue814.DefineComponent<TourSpotlightProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourSpotlightProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, {
257
+ default?: (props: {}) => any;
258
+ }>;
259
+ type __VLS_WithSlots$2<T, S> = T & {
260
+ new (): {
261
+ $slots: S;
262
+ };
263
+ };
264
+ //#endregion
265
+ //#region src/components/tour/tour-title.vue.d.ts
266
+ interface TourTitleBaseProps extends PolymorphicProps {}
267
+ interface TourTitleProps extends TourTitleBaseProps,
268
+ /**
269
+ * @vue-ignore
270
+ */
271
+ HTMLAttributes {}
272
+ declare const _default$14: typeof __VLS_export$1;
273
+ declare const __VLS_export$1: __VLS_WithSlots$1<vue814.DefineComponent<TourTitleProps, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<TourTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
274
+ type __VLS_WithSlots$1<T, S> = T & {
275
+ new (): {
276
+ $slots: S;
277
+ };
278
+ };
279
+ declare namespace tour_d_exports {
280
+ export { _default as ActionTrigger, TourActionTriggerBaseProps as ActionTriggerBaseProps, TourActionTriggerProps as ActionTriggerProps, _default$1 as Actions, TourActionsProps as ActionsProps, _default$2 as Arrow, TourArrowBaseProps as ArrowBaseProps, TourArrowProps as ArrowProps, _default$3 as ArrowTip, TourArrowTipBaseProps as ArrowTipBaseProps, TourArrowTipProps as ArrowTipProps, _default$4 as Backdrop, TourBackdropBaseProps as BackdropBaseProps, TourBackdropProps as BackdropProps, _default$5 as CloseTrigger, TourCloseTriggerBaseProps as CloseTriggerBaseProps, TourCloseTriggerProps as CloseTriggerProps, _default$6 as Content, TourContentBaseProps as ContentBaseProps, TourContentProps as ContentProps, _default$7 as Context, TourContextProps as ContextProps, _default$8 as Control, TourControlBaseProps as ControlBaseProps, TourControlProps as ControlProps, _default$9 as Description, TourDescriptionBaseProps as DescriptionBaseProps, TourDescriptionProps as DescriptionProps, FocusOutsideEvent, InteractOutsideEvent, Point, PointerDownOutsideEvent, _default$10 as Positioner, TourPositionerBaseProps as PositionerBaseProps, TourPositionerProps as PositionerProps, _default$11 as ProgressText, TourProgressTextBaseProps as ProgressTextBaseProps, ProgressTextDetails, TourProgressTextProps as ProgressTextProps, _default$12 as Root, TourRootBaseProps as RootBaseProps, TourRootEmits as RootEmits, TourRootProps as RootProps, _default$13 as Spotlight, TourSpotlightBaseProps as SpotlightBaseProps, TourSpotlightProps as SpotlightProps, StatusChangeDetails, StepAction$1 as StepAction, StepActionMap, StepActionTriggerProps$1 as StepActionTriggerProps, StepBaseDetails, StepChangeDetails, StepDetails, StepEffectArgs, StepPlacement, StepStatus, StepType, _default$14 as Title, TourTitleBaseProps as TitleBaseProps, TourTitleProps as TitleProps, WaitOptions$1 as WaitOptions };
281
+ }
282
+ //#endregion
283
+ //#region src/components/tour/use-tour.d.ts
284
+ interface UseTourProps extends Optional<Omit<tour.Props, 'dir' | 'getRootNode'>, 'id'> {}
285
+ interface UseTourReturn extends ComputedRef<tour.Api<PropTypes>> {}
286
+ declare const useTour: (props?: MaybeRef<UseTourProps>, emit?: EmitFn$1<TourRootEmits>) => ComputedRef<tour.Api<PropTypes>>;
287
+ //#endregion
288
+ //#region src/components/tour/use-tour-context.d.ts
289
+ interface UseTourContext extends UseTourReturn {}
290
+ //#endregion
291
+ //#region src/components/tour/tour-context.vue.d.ts
292
+ interface TourContextProps extends SlotsType<{
293
+ default: UnwrapRef<UseTourContext>;
294
+ }> {}
295
+ declare const _default$7: typeof __VLS_export;
296
+ declare const __VLS_export: __VLS_WithSlots<vue814.DefineComponent<{}, {}, {}, {}, {}, vue814.ComponentOptionsMixin, vue814.ComponentOptionsMixin, {}, string, vue814.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue814.ComponentProvideOptions, true, {}, any>, {
297
+ default(tour: UnwrapRef<UseTourContext>): unknown;
298
+ }>;
299
+ type __VLS_WithSlots<T, S> = T & {
300
+ new (): {
301
+ $slots: S;
302
+ };
303
+ };
304
+ //#endregion
305
+ //#region src/components/tour/tour-anatomy.d.ts
306
+ declare const tourAnatomy: _sprawlify_primitives_anatomy2.AnatomyInstance<"title" | "control" | "progressText" | "content" | "arrow" | "positioner" | "arrowTip" | "actionTrigger" | "closeTrigger" | "description" | "backdrop" | "spotlight">;
307
+ //#endregion
308
+ export { tour_d_exports as Tour, _default as TourActionTrigger, type TourActionTriggerBaseProps, type TourActionTriggerProps, _default$1 as TourActions, type TourActionsProps, _default$2 as TourArrow, type TourArrowBaseProps, type TourArrowProps, _default$3 as TourArrowTip, type TourArrowTipBaseProps, type TourArrowTipProps, _default$4 as TourBackdrop, type TourBackdropBaseProps, type TourBackdropProps, _default$5 as TourCloseTrigger, type TourCloseTriggerBaseProps, type TourCloseTriggerProps, _default$6 as TourContent, type TourContentBaseProps, type TourContentProps, _default$7 as TourContext, type TourContextProps, _default$8 as TourControl, type TourControlBaseProps, type TourControlProps, _default$9 as TourDescription, type TourDescriptionBaseProps, type TourDescriptionProps, type TourFocusOutsideEvent, type TourInteractOutsideEvent, type TourPointerDownOutsideEvent, _default$10 as TourPositioner, type TourPositionerBaseProps, type TourPositionerProps, _default$11 as TourProgressText, type TourProgressTextBaseProps, type TourProgressTextProps, _default$12 as TourRoot, type TourRootBaseProps, type TourRootEmits, type TourRootProps, _default$13 as TourSpotlight, type TourSpotlightBaseProps, type TourSpotlightProps, type TourStepDetails, type TourStepEffectArgs, _default$14 as TourTitle, type TourTitleBaseProps, type TourTitleProps, type UseTourContext, type UseTourProps, type UseTourReturn, type WaitForEventOptions, type WaitOptions, tourAnatomy, useTour, useTourContext, waitForElement, waitForElementValue, waitForEvent, waitForPromise };