@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,335 @@
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 { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
9
+ import { i as usePresence, n as PresenceProvider } 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 tabs from "@sprawlify/primitives/machines/tabs";
12
+ import { anatomy as tabsAnatomy } from "@sprawlify/primitives/machines/tabs";
13
+
14
+ //#region src/components/tabs/use-tabs-context.ts
15
+ const [TabsProvider, useTabsContext] = createContext("TabsContext");
16
+
17
+ //#endregion
18
+ //#region src/components/tabs/tab-content.vue?vue&type=script&setup=true&lang.ts
19
+ var tab_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
20
+ __name: "tab-content",
21
+ props: {
22
+ value: {
23
+ type: String,
24
+ required: true
25
+ },
26
+ asChild: {
27
+ type: Boolean,
28
+ required: false
29
+ }
30
+ },
31
+ setup(__props) {
32
+ const props = __props;
33
+ const tabs = useTabsContext();
34
+ const renderStrategy = useRenderStrategyProps();
35
+ const presence = usePresence(computed(() => ({
36
+ ...renderStrategy.value,
37
+ present: tabs.value.value === props.value,
38
+ immediate: true
39
+ })));
40
+ PresenceProvider(presence);
41
+ const mergedProps = computed(() => mergeProps$1(tabs.value.getContentProps(props), presence.value.presenceProps));
42
+ useForwardExpose();
43
+ return (_ctx, _cache) => {
44
+ return !unref(presence).unmounted ? (openBlock(), createBlock(unref(sprawlify).div, mergeProps({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
45
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
46
+ _: 3
47
+ }, 16, ["as-child"])) : createCommentVNode("v-if", true);
48
+ };
49
+ }
50
+ });
51
+
52
+ //#endregion
53
+ //#region src/components/tabs/tab-content.vue
54
+ var tab_content_default = tab_content_vue_vue_type_script_setup_true_lang_default;
55
+
56
+ //#endregion
57
+ //#region src/components/tabs/tab-indicator.vue?vue&type=script&setup=true&lang.ts
58
+ var tab_indicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
59
+ __name: "tab-indicator",
60
+ props: { asChild: {
61
+ type: Boolean,
62
+ required: false
63
+ } },
64
+ setup(__props) {
65
+ const tabs = useTabsContext();
66
+ useForwardExpose();
67
+ return (_ctx, _cache) => {
68
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tabs).getIndicatorProps(), { "as-child": __props.asChild }), {
69
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
70
+ _: 3
71
+ }, 16, ["as-child"]);
72
+ };
73
+ }
74
+ });
75
+
76
+ //#endregion
77
+ //#region src/components/tabs/tab-indicator.vue
78
+ var tab_indicator_default = tab_indicator_vue_vue_type_script_setup_true_lang_default;
79
+
80
+ //#endregion
81
+ //#region src/components/tabs/tab-list.vue?vue&type=script&setup=true&lang.ts
82
+ var tab_list_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
83
+ __name: "tab-list",
84
+ props: { asChild: {
85
+ type: Boolean,
86
+ required: false
87
+ } },
88
+ setup(__props) {
89
+ const tabs = useTabsContext();
90
+ useForwardExpose();
91
+ return (_ctx, _cache) => {
92
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tabs).getListProps(), { "as-child": __props.asChild }), {
93
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
94
+ _: 3
95
+ }, 16, ["as-child"]);
96
+ };
97
+ }
98
+ });
99
+
100
+ //#endregion
101
+ //#region src/components/tabs/tab-list.vue
102
+ var tab_list_default = tab_list_vue_vue_type_script_setup_true_lang_default;
103
+
104
+ //#endregion
105
+ //#region src/components/tabs/tab-trigger.vue?vue&type=script&setup=true&lang.ts
106
+ var tab_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
107
+ __name: "tab-trigger",
108
+ props: {
109
+ value: {
110
+ type: String,
111
+ required: true
112
+ },
113
+ disabled: {
114
+ type: Boolean,
115
+ required: false,
116
+ skipCheck: true
117
+ },
118
+ asChild: {
119
+ type: Boolean,
120
+ required: false
121
+ }
122
+ },
123
+ setup(__props) {
124
+ const props = __props;
125
+ const tabs = useTabsContext();
126
+ useForwardExpose();
127
+ return (_ctx, _cache) => {
128
+ return openBlock(), createBlock(unref(sprawlify).button, mergeProps(unref(tabs).getTriggerProps(props), { "as-child": __props.asChild }), {
129
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
130
+ _: 3
131
+ }, 16, ["as-child"]);
132
+ };
133
+ }
134
+ });
135
+
136
+ //#endregion
137
+ //#region src/components/tabs/tab-trigger.vue
138
+ var tab_trigger_default = tab_trigger_vue_vue_type_script_setup_true_lang_default;
139
+
140
+ //#endregion
141
+ //#region src/components/tabs/tabs-context.vue?vue&type=script&setup=true&lang.ts
142
+ var tabs_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
143
+ __name: "tabs-context",
144
+ setup(__props) {
145
+ const tabs = useTabsContext();
146
+ return (_ctx, _cache) => {
147
+ return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(tabs))));
148
+ };
149
+ }
150
+ });
151
+
152
+ //#endregion
153
+ //#region src/components/tabs/tabs-context.vue
154
+ var tabs_context_default = tabs_context_vue_vue_type_script_setup_true_lang_default;
155
+
156
+ //#endregion
157
+ //#region src/components/tabs/tabs-root-provider.vue?vue&type=script&setup=true&lang.ts
158
+ var tabs_root_provider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
159
+ __name: "tabs-root-provider",
160
+ props: {
161
+ value: {
162
+ type: null,
163
+ required: true
164
+ },
165
+ lazyMount: {
166
+ type: Boolean,
167
+ required: false
168
+ },
169
+ unmountOnExit: {
170
+ type: Boolean,
171
+ required: false
172
+ },
173
+ asChild: {
174
+ type: Boolean,
175
+ required: false
176
+ }
177
+ },
178
+ setup(__props) {
179
+ const props = __props;
180
+ const tabs = computed(() => props.value);
181
+ TabsProvider(tabs);
182
+ RenderStrategyPropsProvider(computed(() => ({
183
+ lazyMount: props.lazyMount,
184
+ unmountOnExit: props.unmountOnExit
185
+ })));
186
+ useForwardExpose();
187
+ return (_ctx, _cache) => {
188
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(tabs.value.getRootProps(), { "as-child": __props.asChild }), {
189
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
190
+ _: 3
191
+ }, 16, ["as-child"]);
192
+ };
193
+ }
194
+ });
195
+
196
+ //#endregion
197
+ //#region src/components/tabs/tabs-root-provider.vue
198
+ var tabs_root_provider_default = tabs_root_provider_vue_vue_type_script_setup_true_lang_default;
199
+
200
+ //#endregion
201
+ //#region src/components/tabs/use-tabs.ts
202
+ const useTabs = (props = {}, emit) => {
203
+ const id = useId();
204
+ const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
205
+ const locale = useLocaleContext(DEFAULT_LOCALE);
206
+ const context = computed(() => {
207
+ const localProps = toValue(props);
208
+ return {
209
+ id,
210
+ dir: locale.value.dir,
211
+ value: localProps.modelValue,
212
+ getRootNode: env?.value.getRootNode,
213
+ ...cleanProps(localProps),
214
+ onFocusChange: (details) => {
215
+ emit?.("focusChange", details);
216
+ localProps.onFocusChange?.(details);
217
+ },
218
+ onValueChange: (details) => {
219
+ emit?.("valueChange", details);
220
+ emit?.("update:modelValue", details.value);
221
+ localProps.onValueChange?.(details);
222
+ }
223
+ };
224
+ });
225
+ const service = useMachine(tabs.machine, context);
226
+ return computed(() => tabs.connect(service, normalizeProps$1));
227
+ };
228
+
229
+ //#endregion
230
+ //#region src/components/tabs/tabs-root.vue?vue&type=script&setup=true&lang.ts
231
+ var tabs_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
232
+ __name: "tabs-root",
233
+ props: /* @__PURE__ */ mergeDefaults({
234
+ activationMode: {
235
+ type: String,
236
+ required: false
237
+ },
238
+ composite: {
239
+ type: Boolean,
240
+ required: false
241
+ },
242
+ defaultValue: {
243
+ type: String,
244
+ required: false
245
+ },
246
+ deselectable: {
247
+ type: Boolean,
248
+ required: false
249
+ },
250
+ id: {
251
+ type: String,
252
+ required: false
253
+ },
254
+ ids: {
255
+ type: Object,
256
+ required: false
257
+ },
258
+ loopFocus: {
259
+ type: Boolean,
260
+ required: false
261
+ },
262
+ modelValue: {
263
+ type: String,
264
+ required: false
265
+ },
266
+ navigate: {
267
+ type: Function,
268
+ required: false
269
+ },
270
+ orientation: {
271
+ type: String,
272
+ required: false
273
+ },
274
+ translations: {
275
+ type: null,
276
+ required: false
277
+ },
278
+ lazyMount: {
279
+ type: Boolean,
280
+ required: false
281
+ },
282
+ unmountOnExit: {
283
+ type: Boolean,
284
+ required: false
285
+ },
286
+ asChild: {
287
+ type: Boolean,
288
+ required: false
289
+ }
290
+ }, {
291
+ composite: void 0,
292
+ deselectable: void 0,
293
+ loopFocus: void 0
294
+ }),
295
+ emits: [
296
+ "focusChange",
297
+ "valueChange",
298
+ "update:modelValue"
299
+ ],
300
+ setup(__props, { emit: __emit }) {
301
+ const props = __props;
302
+ const tabs = useTabs(props, __emit);
303
+ TabsProvider(tabs);
304
+ RenderStrategyPropsProvider(computed(() => ({
305
+ lazyMount: props.lazyMount,
306
+ unmountOnExit: props.unmountOnExit
307
+ })));
308
+ useForwardExpose();
309
+ return (_ctx, _cache) => {
310
+ return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tabs).getRootProps(), { "as-child": __props.asChild }), {
311
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
312
+ _: 3
313
+ }, 16, ["as-child"]);
314
+ };
315
+ }
316
+ });
317
+
318
+ //#endregion
319
+ //#region src/components/tabs/tabs-root.vue
320
+ var tabs_root_default = tabs_root_vue_vue_type_script_setup_true_lang_default;
321
+
322
+ //#endregion
323
+ //#region src/components/tabs/tabs.ts
324
+ var tabs_exports = /* @__PURE__ */ __exportAll({
325
+ Content: () => tab_content_default,
326
+ Context: () => tabs_context_default,
327
+ Indicator: () => tab_indicator_default,
328
+ List: () => tab_list_default,
329
+ Root: () => tabs_root_default,
330
+ RootProvider: () => tabs_root_provider_default,
331
+ Trigger: () => tab_trigger_default
332
+ });
333
+
334
+ //#endregion
335
+ export { tab_content_default as TabContent, tab_indicator_default as TabIndicator, tab_list_default as TabList, tab_trigger_default as TabTrigger, tabs_exports as Tabs, tabs_context_default as TabsContext, tabs_root_default as TabsRoot, tabs_root_provider_default as TabsRootProvider, tabsAnatomy, useTabs, useTabsContext };
@@ -0,0 +1,339 @@
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 * as vue744 from "vue";
5
+ import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
6
+ import * as _sprawlify_primitives_machines_menu0 from "@sprawlify/primitives/machines/menu";
7
+ import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
8
+ import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps as ItemProps$1, ItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as TagsInputPointerDownOutsideEvent, ValidityChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, anatomy as tagsInputAnatomy } from "@sprawlify/primitives/machines/tags-input";
9
+
10
+ //#region src/components/tags-input/tags-input-clear-trigger.vue.d.ts
11
+ interface TagsInputClearTriggerBaseProps extends PolymorphicProps {}
12
+ interface TagsInputClearTriggerProps extends TagsInputClearTriggerBaseProps,
13
+ /**
14
+ * @vue-ignore
15
+ */
16
+ ButtonHTMLAttributes {}
17
+ declare const _default: typeof __VLS_export$13;
18
+ declare const __VLS_export$13: __VLS_WithSlots$13<vue744.DefineComponent<TagsInputClearTriggerProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
19
+ default?: (props: {}) => any;
20
+ }>;
21
+ type __VLS_WithSlots$13<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
26
+ //#endregion
27
+ //#region src/components/tags-input/tags-input-types.d.ts
28
+ interface RootProps {
29
+ addOnPaste?: boolean;
30
+ allowOverflow?: boolean;
31
+ autoFocus?: boolean;
32
+ blurBehavior?: 'clear' | 'add';
33
+ defaultInputValue?: string;
34
+ defaultValue?: string[];
35
+ delimiter?: string | RegExp;
36
+ disabled?: boolean;
37
+ editable?: boolean;
38
+ form?: string;
39
+ id?: string;
40
+ ids?: Partial<{
41
+ root: string;
42
+ input: string;
43
+ hiddenInput: string;
44
+ clearBtn: string;
45
+ label: string;
46
+ control: string;
47
+ item(opts: tagsInput.ItemProps): string;
48
+ itemDeleteTrigger(opts: tagsInput.ItemProps): string;
49
+ itemInput(opts: tagsInput.ItemProps): string;
50
+ }>;
51
+ inputValue?: string;
52
+ invalid?: boolean;
53
+ max?: number;
54
+ maxLength?: number;
55
+ modelValue?: string[];
56
+ name?: string;
57
+ placeholder?: string;
58
+ readOnly?: boolean;
59
+ required?: boolean;
60
+ translations?: tagsInput.IntlTranslations;
61
+ validate?: (details: tagsInput.ValidateArgs) => boolean;
62
+ }
63
+ type RootEmits = {
64
+ focusOutside: [event: tagsInput.FocusOutsideEvent];
65
+ highlightChange: [details: tagsInput.HighlightChangeDetails];
66
+ inputValueChange: [details: tagsInput.InputValueChangeDetails];
67
+ interactOutside: [event: tagsInput.InteractOutsideEvent];
68
+ pointerDownOutside: [event: tagsInput.PointerDownOutsideEvent];
69
+ valueChange: [details: tagsInput.ValueChangeDetails];
70
+ valueInvalid: [details: tagsInput.ValidityChangeDetails];
71
+ 'update:modelValue': [value: string[]];
72
+ 'update:inputValue': [value: string];
73
+ };
74
+ //#endregion
75
+ //#region src/components/tags-input/use-tags-input.d.ts
76
+ interface UseTagsInputProps extends Optional<Omit<tagsInput.Props, 'dir' | 'getRootNode'>, 'id'> {
77
+ modelValue?: tagsInput.Props['value'];
78
+ }
79
+ interface UseTagsInputReturn extends ComputedRef<tagsInput.Api<PropTypes>> {}
80
+ declare const useTagsInput: (props?: MaybeRef<UseTagsInputProps>, emit?: EmitFn$1<RootEmits>) => UseTagsInputReturn;
81
+ //#endregion
82
+ //#region src/components/tags-input/use-tags-input-context.d.ts
83
+ interface UseTagsInputContext extends UseTagsInputReturn {}
84
+ //#endregion
85
+ //#region src/components/tags-input/tags-input-context.vue.d.ts
86
+ interface TagsInputContextProps extends SlotsType<{
87
+ default: UnwrapRef<UseTagsInputContext>;
88
+ }> {}
89
+ declare const _default$1: typeof __VLS_export$12;
90
+ declare const __VLS_export$12: __VLS_WithSlots$12<vue744.DefineComponent<{}, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, true, {}, any>, {
91
+ default(tagsInput: UnwrapRef<UseTagsInputContext>): unknown;
92
+ }>;
93
+ type __VLS_WithSlots$12<T, S> = T & {
94
+ new (): {
95
+ $slots: S;
96
+ };
97
+ };
98
+ //#endregion
99
+ //#region src/components/tags-input/tags-input-control.vue.d.ts
100
+ interface TagsInputControlBaseProps extends PolymorphicProps {}
101
+ interface TagsInputControlProps extends TagsInputControlBaseProps,
102
+ /**
103
+ * @vue-ignore
104
+ */
105
+ HTMLAttributes {}
106
+ declare const _default$2: typeof __VLS_export$11;
107
+ declare const __VLS_export$11: __VLS_WithSlots$11<vue744.DefineComponent<TagsInputControlProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
108
+ default?: (props: {}) => any;
109
+ }>;
110
+ type __VLS_WithSlots$11<T, S> = T & {
111
+ new (): {
112
+ $slots: S;
113
+ };
114
+ };
115
+ //#endregion
116
+ //#region src/components/tags-input/tags-input-hidden-input.vue.d.ts
117
+ interface TagsInputHiddenInputBaseProps extends PolymorphicProps {}
118
+ interface TagsInputHiddenInputProps extends TagsInputHiddenInputBaseProps,
119
+ /**
120
+ * @vue-ignore
121
+ */
122
+ InputHTMLAttributes {}
123
+ declare const _default$3: typeof __VLS_export$10;
124
+ declare const __VLS_export$10: __VLS_WithSlots$10<vue744.DefineComponent<TagsInputHiddenInputProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
125
+ default?: (props: {}) => any;
126
+ }>;
127
+ type __VLS_WithSlots$10<T, S> = T & {
128
+ new (): {
129
+ $slots: S;
130
+ };
131
+ };
132
+ //#endregion
133
+ //#region src/components/tags-input/tags-input-input.vue.d.ts
134
+ interface TagsInputInputBaseProps extends PolymorphicProps {}
135
+ interface TagsInputInputProps extends TagsInputInputBaseProps,
136
+ /**
137
+ * @vue-ignore
138
+ */
139
+ InputHTMLAttributes {}
140
+ declare const _default$4: typeof __VLS_export$9;
141
+ declare const __VLS_export$9: __VLS_WithSlots$9<vue744.DefineComponent<TagsInputInputProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
142
+ default?: (props: {}) => any;
143
+ }>;
144
+ type __VLS_WithSlots$9<T, S> = T & {
145
+ new (): {
146
+ $slots: S;
147
+ };
148
+ };
149
+ //#endregion
150
+ //#region src/components/tags-input/use-tags-input-item-context.d.ts
151
+ interface UseTagsInputItemContext extends ComputedRef<ItemState> {}
152
+ //#endregion
153
+ //#region src/components/tags-input/tags-input-item-context.vue.d.ts
154
+ interface TagsInputItemContextProps extends SlotsType<{
155
+ default: UnwrapRef<UseTagsInputItemContext>;
156
+ }> {}
157
+ declare const _default$6: typeof __VLS_export$8;
158
+ declare const __VLS_export$8: __VLS_WithSlots$8<vue744.DefineComponent<{}, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, true, {}, any>, {
159
+ default(tagsInput: UnwrapRef<UseTagsInputItemContext>): unknown;
160
+ }>;
161
+ type __VLS_WithSlots$8<T, S> = T & {
162
+ new (): {
163
+ $slots: S;
164
+ };
165
+ };
166
+ //#endregion
167
+ //#region src/components/tags-input/tags-input-item-delete-trigger.vue.d.ts
168
+ interface TagsInputItemDeleteTriggerBaseProps extends PolymorphicProps {}
169
+ interface TagsInputItemDeleteTriggerProps extends TagsInputItemDeleteTriggerBaseProps,
170
+ /**
171
+ * @vue-ignore
172
+ */
173
+ ButtonHTMLAttributes {}
174
+ declare const _default$7: typeof __VLS_export$7;
175
+ declare const __VLS_export$7: __VLS_WithSlots$7<vue744.DefineComponent<TagsInputItemDeleteTriggerProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputItemDeleteTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
176
+ default?: (props: {}) => any;
177
+ }>;
178
+ type __VLS_WithSlots$7<T, S> = T & {
179
+ new (): {
180
+ $slots: S;
181
+ };
182
+ };
183
+ //#endregion
184
+ //#region src/components/tags-input/tags-input-item-input.vue.d.ts
185
+ interface TagsInputItemInputBaseProps extends PolymorphicProps {}
186
+ interface TagsInputItemInputProps extends TagsInputItemInputBaseProps,
187
+ /**
188
+ * @vue-ignore
189
+ */
190
+ InputHTMLAttributes {}
191
+ declare const _default$8: typeof __VLS_export$6;
192
+ declare const __VLS_export$6: __VLS_WithSlots$6<vue744.DefineComponent<TagsInputItemInputProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputItemInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
193
+ default?: (props: {}) => any;
194
+ }>;
195
+ type __VLS_WithSlots$6<T, S> = T & {
196
+ new (): {
197
+ $slots: S;
198
+ };
199
+ };
200
+ //#endregion
201
+ //#region src/components/tags-input/tags-input-item-preview.vue.d.ts
202
+ interface TagsInputItemPreviewBaseProps extends PolymorphicProps {}
203
+ interface TagsInputItemPreviewProps extends TagsInputItemPreviewBaseProps,
204
+ /**
205
+ * @vue-ignore
206
+ */
207
+ HTMLAttributes {}
208
+ declare const _default$9: typeof __VLS_export$5;
209
+ declare const __VLS_export$5: __VLS_WithSlots$5<vue744.DefineComponent<TagsInputItemPreviewProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputItemPreviewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
210
+ default?: (props: {}) => any;
211
+ }>;
212
+ type __VLS_WithSlots$5<T, S> = T & {
213
+ new (): {
214
+ $slots: S;
215
+ };
216
+ };
217
+ //#endregion
218
+ //#region src/components/tags-input/tags-input-item-text.vue.d.ts
219
+ interface TagsInputItemTextBaseProps extends PolymorphicProps {}
220
+ interface TagsInputItemTextProps extends TagsInputItemTextBaseProps,
221
+ /**
222
+ * @vue-ignore
223
+ */
224
+ HTMLAttributes {}
225
+ declare const _default$10: typeof __VLS_export$4;
226
+ declare const __VLS_export$4: __VLS_WithSlots$4<vue744.DefineComponent<TagsInputItemTextProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
227
+ default?: (props: {}) => any;
228
+ }>;
229
+ type __VLS_WithSlots$4<T, S> = T & {
230
+ new (): {
231
+ $slots: S;
232
+ };
233
+ };
234
+ //#endregion
235
+ //#region src/components/tags-input/tags-input-item.vue.d.ts
236
+ interface TagsInputItemBaseProps extends ItemProps$1, PolymorphicProps {}
237
+ interface TagsInputItemProps extends TagsInputItemBaseProps,
238
+ /**
239
+ * @vue-ignore
240
+ */
241
+ HTMLAttributes {}
242
+ declare const _default$5: typeof __VLS_export$3;
243
+ declare const __VLS_export$3: __VLS_WithSlots$3<vue744.DefineComponent<TagsInputItemProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
244
+ default?: (props: {}) => any;
245
+ }>;
246
+ type __VLS_WithSlots$3<T, S> = T & {
247
+ new (): {
248
+ $slots: S;
249
+ };
250
+ };
251
+ //#endregion
252
+ //#region src/components/tags-input/tags-input-label.vue.d.ts
253
+ interface TagsInputLabelBaseProps extends PolymorphicProps {}
254
+ interface TagsInputLabelProps extends TagsInputLabelBaseProps,
255
+ /**
256
+ * @vue-ignore
257
+ */
258
+ LabelHTMLAttributes {}
259
+ declare const _default$11: typeof __VLS_export$2;
260
+ declare const __VLS_export$2: __VLS_WithSlots$2<vue744.DefineComponent<TagsInputLabelProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
261
+ default?: (props: {}) => any;
262
+ }>;
263
+ type __VLS_WithSlots$2<T, S> = T & {
264
+ new (): {
265
+ $slots: S;
266
+ };
267
+ };
268
+ //#endregion
269
+ //#region src/components/tags-input/tags-input-root-provider.vue.d.ts
270
+ interface RootProviderProps {
271
+ value: UnwrapRef<UseTagsInputReturn>;
272
+ }
273
+ interface TagsInputRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
274
+ interface TagsInputRootProviderProps extends TagsInputRootProviderBaseProps,
275
+ /**
276
+ * @vue-ignore
277
+ */
278
+ HTMLAttributes {}
279
+ declare const _default$13: typeof __VLS_export$1;
280
+ declare const __VLS_export$1: __VLS_WithSlots$1<vue744.DefineComponent<TagsInputRootProviderProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {}, string, vue744.PublicProps, Readonly<TagsInputRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
281
+ default?: (props: {}) => any;
282
+ }>;
283
+ type __VLS_WithSlots$1<T, S> = T & {
284
+ new (): {
285
+ $slots: S;
286
+ };
287
+ };
288
+ //#endregion
289
+ //#region src/components/tags-input/tags-input-root.vue.d.ts
290
+ interface TagsInputRootBaseProps extends RootProps, PolymorphicProps {}
291
+ interface TagsInputRootProps extends TagsInputRootBaseProps,
292
+ /**
293
+ * @vue-ignore
294
+ */
295
+ HTMLAttributes {}
296
+ interface TagsInputRootEmits extends RootEmits {}
297
+ declare const _default$12: typeof __VLS_export;
298
+ declare const __VLS_export: __VLS_WithSlots<vue744.DefineComponent<TagsInputRootProps, {}, {}, {}, {}, vue744.ComponentOptionsMixin, vue744.ComponentOptionsMixin, {
299
+ "update:modelValue": (value: string[]) => any;
300
+ valueChange: (details: tagsInput.ValueChangeDetails) => any;
301
+ valueInvalid: (details: tagsInput.ValidityChangeDetails) => any;
302
+ focusOutside: (event: _sprawlify_primitives_machines_menu0.FocusOutsideEvent) => any;
303
+ highlightChange: (details: tagsInput.HighlightChangeDetails) => any;
304
+ inputValueChange: (details: tagsInput.InputValueChangeDetails) => any;
305
+ interactOutside: (event: _sprawlify_primitives_machines_menu0.InteractOutsideEvent) => any;
306
+ pointerDownOutside: (event: _sprawlify_primitives_machines_menu0.PointerDownOutsideEvent) => any;
307
+ "update:inputValue": (value: string) => any;
308
+ }, string, vue744.PublicProps, Readonly<TagsInputRootProps> & Readonly<{
309
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
310
+ onValueChange?: ((details: tagsInput.ValueChangeDetails) => any) | undefined;
311
+ onValueInvalid?: ((details: tagsInput.ValidityChangeDetails) => any) | undefined;
312
+ onFocusOutside?: ((event: _sprawlify_primitives_machines_menu0.FocusOutsideEvent) => any) | undefined;
313
+ onHighlightChange?: ((details: tagsInput.HighlightChangeDetails) => any) | undefined;
314
+ onInputValueChange?: ((details: tagsInput.InputValueChangeDetails) => any) | undefined;
315
+ onInteractOutside?: ((event: _sprawlify_primitives_machines_menu0.InteractOutsideEvent) => any) | undefined;
316
+ onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu0.PointerDownOutsideEvent) => any) | undefined;
317
+ "onUpdate:inputValue"?: ((value: string) => any) | undefined;
318
+ }>, {
319
+ required: boolean;
320
+ disabled: boolean;
321
+ invalid: boolean;
322
+ readOnly: boolean;
323
+ autoFocus: boolean;
324
+ addOnPaste: boolean;
325
+ allowOverflow: boolean;
326
+ editable: boolean;
327
+ }, {}, {}, {}, string, vue744.ComponentProvideOptions, false, {}, any>, {
328
+ default?: (props: {}) => any;
329
+ }>;
330
+ type __VLS_WithSlots<T, S> = T & {
331
+ new (): {
332
+ $slots: S;
333
+ };
334
+ };
335
+ declare namespace tags_input_d_exports {
336
+ export { _default as ClearTrigger, TagsInputClearTriggerBaseProps as ClearTriggerBaseProps, TagsInputClearTriggerProps as ClearTriggerProps, _default$1 as Context, TagsInputContextProps as ContextProps, _default$2 as Control, TagsInputControlBaseProps as ControlBaseProps, TagsInputControlProps as ControlProps, FocusOutsideEvent, _default$3 as HiddenInput, TagsInputHiddenInputBaseProps as HiddenInputBaseProps, TagsInputHiddenInputProps as HiddenInputProps, HighlightChangeDetails, _default$4 as Input, TagsInputInputBaseProps as InputBaseProps, TagsInputInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, _default$5 as Item, TagsInputItemBaseProps as ItemBaseProps, _default$6 as ItemContext, TagsInputItemContextProps as ItemContextProps, _default$7 as ItemDeleteTrigger, TagsInputItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, TagsInputItemDeleteTriggerProps as ItemDeleteTriggerProps, _default$8 as ItemInput, TagsInputItemInputBaseProps as ItemInputBaseProps, TagsInputItemInputProps as ItemInputProps, _default$9 as ItemPreview, TagsInputItemPreviewBaseProps as ItemPreviewBaseProps, TagsInputItemPreviewProps as ItemPreviewProps, TagsInputItemProps as ItemProps, _default$10 as ItemText, TagsInputItemTextBaseProps as ItemTextBaseProps, TagsInputItemTextProps as ItemTextProps, _default$11 as Label, TagsInputLabelBaseProps as LabelBaseProps, TagsInputLabelProps as LabelProps, PointerDownOutsideEvent, _default$12 as Root, TagsInputRootBaseProps as RootBaseProps, TagsInputRootEmits as RootEmits, TagsInputRootProps as RootProps, _default$13 as RootProvider, TagsInputRootProviderBaseProps as RootProviderBaseProps, TagsInputRootProviderProps as RootProviderProps, ValidityChangeDetails, ValueChangeDetails };
337
+ }
338
+ //#endregion
339
+ export { tags_input_d_exports as TagsInput, _default as TagsInputClearTrigger, type TagsInputClearTriggerBaseProps, type TagsInputClearTriggerProps, _default$1 as TagsInputContext, type TagsInputContextProps, _default$2 as TagsInputControl, type TagsInputControlBaseProps, type TagsInputControlProps, type TagsInputFocusOutsideEvent, _default$3 as TagsInputHiddenInput, type TagsInputHiddenInputBaseProps, type TagsInputHiddenInputProps, type TagsInputHighlightChangeDetails, _default$4 as TagsInputInput, type TagsInputInputBaseProps, type TagsInputInputProps, type TagsInputInputValueChangeDetails, type TagsInputInteractOutsideEvent, _default$5 as TagsInputItem, type TagsInputItemBaseProps, _default$6 as TagsInputItemContext, type TagsInputItemContextProps, _default$7 as TagsInputItemDeleteTrigger, type TagsInputItemDeleteTriggerBaseProps, type TagsInputItemDeleteTriggerProps, _default$8 as TagsInputItemInput, type TagsInputItemInputBaseProps, type TagsInputItemInputProps, _default$9 as TagsInputItemPreview, type TagsInputItemPreviewBaseProps, type TagsInputItemPreviewProps, type TagsInputItemProps, _default$10 as TagsInputItemText, type TagsInputItemTextBaseProps, type TagsInputItemTextProps, _default$11 as TagsInputLabel, type TagsInputLabelBaseProps, type TagsInputLabelProps, type TagsInputPointerDownOutsideEvent, _default$12 as TagsInputRoot, type TagsInputRootBaseProps, type TagsInputRootEmits, type TagsInputRootProps, _default$13 as TagsInputRootProvider, type TagsInputRootProviderBaseProps, type TagsInputRootProviderProps, type TagsInputValidityChangeDetails, type TagsInputValueChangeDetails, type UseTagsInputContext, type UseTagsInputItemContext, type UseTagsInputProps, type UseTagsInputReturn, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };