arvue-ui 0.3.3 → 0.5.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.
Files changed (93) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/autocomplete/autocompleteInput.js +3 -3
  3. package/dist/autocomplete/autocompleteInput.js.map +1 -1
  4. package/dist/combobox/combobox.js +56 -0
  5. package/dist/combobox/combobox.js.map +1 -0
  6. package/dist/combobox/comboboxAnchor.js +24 -0
  7. package/dist/combobox/comboboxAnchor.js.map +1 -0
  8. package/dist/combobox/comboboxCancel.js +23 -0
  9. package/dist/combobox/comboboxCancel.js.map +1 -0
  10. package/dist/combobox/comboboxContent.js +73 -0
  11. package/dist/combobox/comboboxContent.js.map +1 -0
  12. package/dist/combobox/comboboxEmpty.js +33 -0
  13. package/dist/combobox/comboboxEmpty.js.map +1 -0
  14. package/dist/combobox/comboboxGroup.js +23 -0
  15. package/dist/combobox/comboboxGroup.js.map +1 -0
  16. package/dist/combobox/comboboxInput.js +67 -0
  17. package/dist/combobox/comboboxInput.js.map +1 -0
  18. package/dist/combobox/comboboxItem.js +36 -0
  19. package/dist/combobox/comboboxItem.js.map +1 -0
  20. package/dist/combobox/comboboxLabel.js +34 -0
  21. package/dist/combobox/comboboxLabel.js.map +1 -0
  22. package/dist/combobox/comboboxPortal.js +25 -0
  23. package/dist/combobox/comboboxPortal.js.map +1 -0
  24. package/dist/combobox/comboboxSeparator.js +33 -0
  25. package/dist/combobox/comboboxSeparator.js.map +1 -0
  26. package/dist/combobox/comboboxTrigger.js +24 -0
  27. package/dist/combobox/comboboxTrigger.js.map +1 -0
  28. package/dist/combobox/comboboxViewport.js +24 -0
  29. package/dist/combobox/comboboxViewport.js.map +1 -0
  30. package/dist/dialog/dialogDescription.js.map +1 -1
  31. package/dist/dialog/dialogFooter.js.map +1 -1
  32. package/dist/dialog/dialogHeader.js.map +1 -1
  33. package/dist/dialog/dialogTitle.js.map +1 -1
  34. package/dist/drawer/drawerDescription.js.map +1 -1
  35. package/dist/drawer/drawerFooter.js.map +1 -1
  36. package/dist/drawer/drawerHeader.js.map +1 -1
  37. package/dist/drawer/drawerTitle.js.map +1 -1
  38. package/dist/index.d.ts +331 -113
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +57 -1277
  41. package/dist/index.js.map +1 -1
  42. package/dist/sheet/sheetContent.js.map +1 -1
  43. package/dist/sheet/sheetDescription.js.map +1 -1
  44. package/dist/sheet/sheetFooter.js.map +1 -1
  45. package/dist/sheet/sheetHeader.js.map +1 -1
  46. package/dist/sheet/sheetOverlay.js.map +1 -1
  47. package/dist/sheet/sheetTitle.js.map +1 -1
  48. package/dist/sonner/sonner.js +51 -0
  49. package/dist/sonner/sonner.js.map +1 -0
  50. package/dist/style.css +30 -14
  51. package/package.json +3 -2
  52. package/src/autocomplete/AutocompleteInput.vue +1 -1
  53. package/src/autocomplete/autocomplete-input.css +5 -0
  54. package/src/autocomplete/autocomplete.css +1 -0
  55. package/src/combobox/Combobox.vue +36 -0
  56. package/src/combobox/ComboboxAnchor.vue +17 -0
  57. package/src/combobox/ComboboxCancel.vue +17 -0
  58. package/src/combobox/ComboboxContent.vue +46 -0
  59. package/src/combobox/ComboboxEmpty.vue +31 -0
  60. package/src/combobox/ComboboxGroup.vue +17 -0
  61. package/src/combobox/ComboboxInput.vue +69 -0
  62. package/src/combobox/ComboboxItem.vue +35 -0
  63. package/src/combobox/ComboboxLabel.vue +31 -0
  64. package/src/combobox/ComboboxPortal.vue +17 -0
  65. package/src/combobox/ComboboxSeparator.vue +31 -0
  66. package/src/combobox/ComboboxTrigger.vue +17 -0
  67. package/src/combobox/ComboboxViewport.vue +17 -0
  68. package/src/combobox/combobox-content.css +11 -0
  69. package/src/combobox/combobox-empty.css +7 -0
  70. package/src/combobox/combobox-input.css +10 -0
  71. package/src/combobox/combobox-item.css +14 -0
  72. package/src/combobox/combobox-label.css +6 -0
  73. package/src/combobox/combobox-separator.css +5 -0
  74. package/src/combobox/combobox.css +5 -0
  75. package/src/combobox/index.ts +56 -0
  76. package/src/dialog/DialogDescription.vue +1 -1
  77. package/src/dialog/DialogFooter.vue +1 -1
  78. package/src/dialog/DialogHeader.vue +1 -1
  79. package/src/dialog/DialogTitle.vue +1 -1
  80. package/src/drawer/DrawerDescription.vue +1 -1
  81. package/src/drawer/DrawerFooter.vue +1 -1
  82. package/src/drawer/DrawerHeader.vue +1 -1
  83. package/src/drawer/DrawerTitle.vue +1 -1
  84. package/src/index.ts +2 -0
  85. package/src/sheet/SheetContent.vue +1 -1
  86. package/src/sheet/SheetDescription.vue +1 -1
  87. package/src/sheet/SheetFooter.vue +1 -1
  88. package/src/sheet/SheetHeader.vue +1 -1
  89. package/src/sheet/SheetOverlay.vue +1 -1
  90. package/src/sheet/SheetTitle.vue +1 -1
  91. package/src/sonner/Sonner.vue +47 -0
  92. package/src/sonner/index.ts +5 -0
  93. package/src/sonner/sonner.css +91 -0
package/dist/index.js CHANGED
@@ -1,1277 +1,57 @@
1
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, useTemplateRef, withCtx } from "vue";
2
- import { reactiveOmit } from "@vueuse/core";
3
- import { AutocompleteAnchor, AutocompleteArrow, AutocompleteCancel, AutocompleteContent, AutocompleteEmpty, AutocompleteGroup, AutocompleteInput, AutocompleteItem, AutocompleteLabel, AutocompletePortal, AutocompleteRoot, AutocompleteSeparator, AutocompleteTrigger, AutocompleteViewport, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger, Primitive, useForwardPropsEmits } from "reka-ui";
4
- import { AnimatePresence, Motion } from "motion-v";
5
- import { DrawerClose, DrawerContent, DrawerDescription, DrawerOverlay, DrawerPortal, DrawerRoot, DrawerTitle, DrawerTrigger } from "vaul-vue";
6
- //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
7
- function r(e) {
8
- var t, f, n = "";
9
- if ("string" == typeof e || "number" == typeof e) n += e;
10
- else if ("object" == typeof e) if (Array.isArray(e)) {
11
- var o = e.length;
12
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
13
- } else for (f in e) e[f] && (n && (n += " "), n += f);
14
- return n;
15
- }
16
- function clsx() {
17
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
18
- return n;
19
- }
20
- //#endregion
21
- //#region src/autocomplete/Autocomplete.vue
22
- const _sfc_main = /* @__PURE__ */ defineComponent({
23
- __name: "Autocomplete",
24
- props: {
25
- class: { type: [
26
- Boolean,
27
- null,
28
- String,
29
- Object,
30
- Array
31
- ] },
32
- modelValue: {},
33
- defaultValue: {},
34
- open: { type: Boolean },
35
- defaultOpen: { type: Boolean },
36
- disabled: { type: Boolean },
37
- dir: {},
38
- name: {},
39
- required: { type: Boolean },
40
- resetSearchTermOnBlur: { type: Boolean },
41
- openOnFocus: { type: Boolean },
42
- openOnClick: { type: Boolean },
43
- ignoreFilter: { type: Boolean },
44
- highlightOnHover: { type: Boolean },
45
- asChild: { type: Boolean },
46
- as: {}
47
- },
48
- emits: [
49
- "update:modelValue",
50
- "highlight",
51
- "update:open"
52
- ],
53
- setup(__props, { emit: __emit }) {
54
- const props = __props;
55
- const emits = __emit;
56
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
57
- return (_ctx, _cache) => {
58
- return openBlock(), createBlock(unref(AutocompleteRoot), mergeProps(unref(forwarded), { class: unref(clsx)("arvue-autocomplete", props.class) }), {
59
- default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
60
- _: 3
61
- }, 16, ["class"]);
62
- };
63
- }
64
- });
65
- //#endregion
66
- //#region src/autocomplete/AutocompleteAnchor.vue
67
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
68
- __name: "AutocompleteAnchor",
69
- props: {
70
- reference: {},
71
- asChild: { type: Boolean },
72
- as: {}
73
- },
74
- setup(__props) {
75
- const props = __props;
76
- return (_ctx, _cache) => {
77
- return openBlock(), createBlock(unref(AutocompleteAnchor), normalizeProps(guardReactiveProps(props)), {
78
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
79
- _: 3
80
- }, 16);
81
- };
82
- }
83
- });
84
- //#endregion
85
- //#region src/autocomplete/AutocompleteArrow.vue
86
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
87
- __name: "AutocompleteArrow",
88
- props: {
89
- width: {},
90
- height: {},
91
- rounded: { type: Boolean },
92
- asChild: { type: Boolean },
93
- as: {}
94
- },
95
- setup(__props) {
96
- const props = __props;
97
- return (_ctx, _cache) => {
98
- return openBlock(), createBlock(unref(AutocompleteArrow), normalizeProps(guardReactiveProps(props)), {
99
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
100
- _: 3
101
- }, 16);
102
- };
103
- }
104
- });
105
- //#endregion
106
- //#region src/autocomplete/AutocompleteCancel.vue
107
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
108
- __name: "AutocompleteCancel",
109
- props: {
110
- asChild: { type: Boolean },
111
- as: {}
112
- },
113
- setup(__props) {
114
- const props = __props;
115
- return (_ctx, _cache) => {
116
- return openBlock(), createBlock(unref(AutocompleteCancel), normalizeProps(guardReactiveProps(props)), {
117
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
118
- _: 3
119
- }, 16);
120
- };
121
- }
122
- });
123
- //#endregion
124
- //#region src/autocomplete/AutocompleteContent.vue
125
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
126
- inheritAttrs: false,
127
- __name: "AutocompleteContent",
128
- props: {
129
- class: { type: [
130
- Boolean,
131
- null,
132
- String,
133
- Object,
134
- Array
135
- ] },
136
- forceMount: { type: Boolean },
137
- bodyLock: { type: Boolean },
138
- hideWhenEmpty: { type: Boolean },
139
- side: {},
140
- sideOffset: {},
141
- sideFlip: { type: Boolean },
142
- align: {},
143
- alignOffset: {},
144
- alignFlip: { type: Boolean },
145
- avoidCollisions: { type: Boolean },
146
- collisionBoundary: {},
147
- collisionPadding: {},
148
- arrowPadding: {},
149
- hideShiftedArrow: { type: Boolean },
150
- sticky: {},
151
- hideWhenDetached: { type: Boolean },
152
- positionStrategy: {},
153
- updatePositionStrategy: {},
154
- disableUpdateOnLayoutShift: { type: Boolean },
155
- prioritizePosition: { type: Boolean },
156
- reference: {},
157
- asChild: { type: Boolean },
158
- as: {},
159
- disableOutsidePointerEvents: { type: Boolean }
160
- },
161
- emits: [
162
- "escapeKeyDown",
163
- "pointerDownOutside",
164
- "focusOutside",
165
- "interactOutside"
166
- ],
167
- setup(__props, { emit: __emit }) {
168
- const props = __props;
169
- const emits = __emit;
170
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
171
- return (_ctx, _cache) => {
172
- return openBlock(), createBlock(unref(AutocompleteContent), mergeProps({
173
- ..._ctx.$attrs,
174
- ...unref(forwarded)
175
- }, {
176
- class: unref(clsx)("arvue-autocomplete-content", props.class),
177
- position: "popper"
178
- }), {
179
- default: withCtx(() => [createVNode(unref(_sfc_main$13), null, {
180
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
181
- _: 3
182
- })]),
183
- _: 3
184
- }, 16, ["class"]);
185
- };
186
- }
187
- });
188
- //#endregion
189
- //#region src/autocomplete/AutocompleteEmpty.vue
190
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
191
- __name: "AutocompleteEmpty",
192
- props: {
193
- class: { type: [
194
- Boolean,
195
- null,
196
- String,
197
- Object,
198
- Array
199
- ] },
200
- asChild: { type: Boolean },
201
- as: {}
202
- },
203
- setup(__props) {
204
- const props = __props;
205
- const delegatedProps = reactiveOmit(props, "class");
206
- return (_ctx, _cache) => {
207
- return openBlock(), createBlock(unref(AutocompleteEmpty), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-autocomplete-empty", props.class) }), {
208
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
209
- _: 3
210
- }, 16, ["class"]);
211
- };
212
- }
213
- });
214
- //#endregion
215
- //#region src/autocomplete/AutocompleteGroup.vue
216
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
217
- __name: "AutocompleteGroup",
218
- props: {
219
- asChild: { type: Boolean },
220
- as: {}
221
- },
222
- setup(__props) {
223
- const props = __props;
224
- return (_ctx, _cache) => {
225
- return openBlock(), createBlock(unref(AutocompleteGroup), normalizeProps(guardReactiveProps(props)), {
226
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
227
- _: 3
228
- }, 16);
229
- };
230
- }
231
- });
232
- //#endregion
233
- //#region src/autocomplete/AutocompleteInput.vue
234
- const _hoisted_1$1 = { class: "arvue-autocomplete-input-wrapper" };
235
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
236
- inheritAttrs: false,
237
- __name: "AutocompleteInput",
238
- props: {
239
- showTriggerButton: {
240
- type: Boolean,
241
- default: true
242
- },
243
- showCancelButton: {
244
- type: Boolean,
245
- default: false
246
- },
247
- modelValue: {},
248
- autoFocus: { type: Boolean },
249
- disabled: { type: Boolean },
250
- asChild: { type: Boolean },
251
- as: {}
252
- },
253
- emits: ["cancel", "update:modelValue"],
254
- setup(__props, { emit: __emit }) {
255
- const props = __props;
256
- const emits = __emit;
257
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "showCancelButton", "showTriggerButton"), emits);
258
- const inputRef = useTemplateRef("inputRef");
259
- return (_ctx, _cache) => {
260
- return openBlock(), createElementBlock("div", _hoisted_1$1, [createVNode(unref(_sfc_main$1), {
261
- class: "state-with-inner-icon right",
262
- reference: inputRef.value?.$el
263
- }, {
264
- default: withCtx(() => [createVNode(unref(AutocompleteInput), mergeProps({
265
- ..._ctx.$attrs,
266
- ...unref(forwarded)
267
- }, {
268
- ref_key: "inputRef",
269
- ref: inputRef
270
- }), null, 16), __props.showTriggerButton ? (openBlock(), createBlock(unref(_sfc_main$12), {
271
- key: 0,
272
- class: "icon"
273
- }, {
274
- default: withCtx(() => [..._cache[1] || (_cache[1] = [createElementVNode("i", { class: "fas fa-chevron-down" }, null, -1)])]),
275
- _: 1
276
- })) : createCommentVNode("v-if", true)]),
277
- _: 1
278
- }, 8, ["reference"]), __props.showCancelButton ? (openBlock(), createBlock(unref(_sfc_main$3), {
279
- key: 0,
280
- class: "icon",
281
- onClick: _cache[0] || (_cache[0] = ($event) => emits("cancel"))
282
- }, {
283
- default: withCtx(() => [..._cache[2] || (_cache[2] = [createElementVNode("i", { class: "fas fa-times" }, null, -1)])]),
284
- _: 1
285
- })) : createCommentVNode("v-if", true)]);
286
- };
287
- }
288
- });
289
- //#endregion
290
- //#region src/autocomplete/AutocompleteItem.vue
291
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
292
- __name: "AutocompleteItem",
293
- props: {
294
- class: { type: [
295
- Boolean,
296
- null,
297
- String,
298
- Object,
299
- Array
300
- ] },
301
- textValue: {},
302
- value: {},
303
- disabled: { type: Boolean },
304
- asChild: { type: Boolean },
305
- as: {}
306
- },
307
- emits: ["select"],
308
- setup(__props, { emit: __emit }) {
309
- const props = __props;
310
- const forwarded = useForwardPropsEmits(props, __emit);
311
- return (_ctx, _cache) => {
312
- return openBlock(), createBlock(unref(AutocompleteItem), mergeProps(unref(forwarded), { class: unref(clsx)("arvue-autocomplete-item", props.class) }), {
313
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
314
- _: 3
315
- }, 16, ["class"]);
316
- };
317
- }
318
- });
319
- //#endregion
320
- //#region src/autocomplete/AutocompleteLabel.vue
321
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
322
- __name: "AutocompleteLabel",
323
- props: {
324
- class: { type: [
325
- Boolean,
326
- null,
327
- String,
328
- Object,
329
- Array
330
- ] },
331
- for: {},
332
- asChild: { type: Boolean },
333
- as: {}
334
- },
335
- setup(__props) {
336
- const props = __props;
337
- const delegatedProps = reactiveOmit(props, "class");
338
- return (_ctx, _cache) => {
339
- return openBlock(), createBlock(unref(AutocompleteLabel), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-autocomplete-label", props.class) }), {
340
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
341
- _: 3
342
- }, 16, ["class"]);
343
- };
344
- }
345
- });
346
- //#endregion
347
- //#region src/autocomplete/AutocompletePortal.vue
348
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
349
- __name: "AutocompletePortal",
350
- props: {
351
- to: {},
352
- disabled: { type: Boolean },
353
- defer: { type: Boolean },
354
- forceMount: { type: Boolean }
355
- },
356
- setup(__props) {
357
- const props = __props;
358
- return (_ctx, _cache) => {
359
- return openBlock(), createBlock(unref(AutocompletePortal), normalizeProps(guardReactiveProps(props)), {
360
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
361
- _: 3
362
- }, 16);
363
- };
364
- }
365
- });
366
- //#endregion
367
- //#region src/autocomplete/AutocompleteSeparator.vue
368
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
369
- __name: "AutocompleteSeparator",
370
- props: {
371
- class: { type: [
372
- Boolean,
373
- null,
374
- String,
375
- Object,
376
- Array
377
- ] },
378
- asChild: { type: Boolean },
379
- as: {}
380
- },
381
- setup(__props) {
382
- const props = __props;
383
- const delegatedProps = reactiveOmit(props, "class");
384
- return (_ctx, _cache) => {
385
- return openBlock(), createBlock(unref(AutocompleteSeparator), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-autocomplete-separator", props.class) }), {
386
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
387
- _: 3
388
- }, 16, ["class"]);
389
- };
390
- }
391
- });
392
- //#endregion
393
- //#region src/autocomplete/AutocompleteTrigger.vue
394
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
395
- __name: "AutocompleteTrigger",
396
- props: {
397
- disabled: { type: Boolean },
398
- asChild: { type: Boolean },
399
- as: {}
400
- },
401
- setup(__props) {
402
- const props = __props;
403
- return (_ctx, _cache) => {
404
- return openBlock(), createBlock(unref(AutocompleteTrigger), normalizeProps(guardReactiveProps(props)), {
405
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
406
- _: 3
407
- }, 16);
408
- };
409
- }
410
- });
411
- //#endregion
412
- //#region src/autocomplete/AutocompleteViewport.vue
413
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
414
- __name: "AutocompleteViewport",
415
- props: {
416
- nonce: {},
417
- asChild: { type: Boolean },
418
- as: {}
419
- },
420
- setup(__props) {
421
- const props = __props;
422
- return (_ctx, _cache) => {
423
- return openBlock(), createBlock(unref(AutocompleteViewport), normalizeProps(guardReactiveProps(props)), {
424
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
425
- _: 3
426
- }, 16);
427
- };
428
- }
429
- });
430
- //#endregion
431
- //#region src/dialog/Dialog.vue
432
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
433
- __name: "Dialog",
434
- props: {
435
- class: { type: [
436
- Boolean,
437
- null,
438
- String,
439
- Object,
440
- Array
441
- ] },
442
- open: { type: Boolean },
443
- defaultOpen: { type: Boolean },
444
- modal: { type: Boolean }
445
- },
446
- emits: ["update:open"],
447
- setup(__props, { emit: __emit }) {
448
- const forwarded = useForwardPropsEmits(__props, __emit);
449
- return (_ctx, _cache) => {
450
- return openBlock(), createBlock(unref(DialogRoot), normalizeProps(guardReactiveProps(unref(forwarded))), {
451
- default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
452
- _: 3
453
- }, 16);
454
- };
455
- }
456
- });
457
- //#endregion
458
- //#region src/dialog/DialogClose.vue
459
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
460
- __name: "DialogClose",
461
- props: {
462
- asChild: { type: Boolean },
463
- as: { default: "a" }
464
- },
465
- setup(__props) {
466
- const props = __props;
467
- return (_ctx, _cache) => {
468
- return openBlock(), createBlock(unref(DialogClose), normalizeProps(guardReactiveProps(props)), {
469
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
470
- _: 3
471
- }, 16);
472
- };
473
- }
474
- });
475
- //#endregion
476
- //#region src/dialog/DialogContent.vue
477
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
478
- inheritAttrs: false,
479
- __name: "DialogContent",
480
- props: {
481
- class: { type: [
482
- Boolean,
483
- null,
484
- String,
485
- Object,
486
- Array
487
- ] },
488
- showCloseButton: {
489
- type: Boolean,
490
- default: true
491
- },
492
- forceMount: { type: Boolean },
493
- disableOutsidePointerEvents: { type: Boolean },
494
- asChild: { type: Boolean },
495
- as: {}
496
- },
497
- emits: [
498
- "escapeKeyDown",
499
- "pointerDownOutside",
500
- "focusOutside",
501
- "interactOutside",
502
- "openAutoFocus",
503
- "closeAutoFocus"
504
- ],
505
- setup(__props, { emit: __emit }) {
506
- const props = __props;
507
- const emits = __emit;
508
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
509
- return (_ctx, _cache) => {
510
- return openBlock(), createBlock(unref(DialogPortal), null, {
511
- default: withCtx(() => [createVNode(unref(AnimatePresence), { as: "div" }, {
512
- default: withCtx(() => [createVNode(unref(_sfc_main$20), { "as-child": "" }, {
513
- default: withCtx(() => [createVNode(unref(Motion), {
514
- initial: { opacity: 0 },
515
- animate: { opacity: 1 },
516
- exit: { opacity: 0 },
517
- transition: {
518
- duration: .2,
519
- ease: "easeInOut"
520
- }
521
- })]),
522
- _: 1
523
- }), createVNode(unref(DialogContent), mergeProps({
524
- ..._ctx.$attrs,
525
- ...unref(forwarded)
526
- }, {
527
- class: unref(clsx)("arvue-dialog-content", props.class),
528
- "as-child": ""
529
- }), {
530
- default: withCtx(() => [createVNode(unref(Motion), {
531
- initial: {
532
- y: "2rem",
533
- opacity: 0
534
- },
535
- animate: {
536
- y: 0,
537
- opacity: 1
538
- },
539
- exit: {
540
- y: "2rem",
541
- opacity: 0
542
- },
543
- transition: {
544
- duration: .2,
545
- ease: "easeInOut"
546
- }
547
- }, {
548
- default: withCtx(() => [renderSlot(_ctx.$slots, "default"), __props.showCloseButton ? (openBlock(), createBlock(unref(_sfc_main$15), {
549
- key: 0,
550
- class: "arvue-dialog-close-button icon"
551
- }, {
552
- default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "fas fa-times" }, null, -1)])]),
553
- _: 1
554
- })) : createCommentVNode("v-if", true)]),
555
- _: 3
556
- })]),
557
- _: 3
558
- }, 16, ["class"])]),
559
- _: 3
560
- })]),
561
- _: 3
562
- });
563
- };
564
- }
565
- });
566
- //#endregion
567
- //#region src/dialog/DialogDescription.vue
568
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
569
- __name: "DialogDescription",
570
- props: {
571
- class: { type: [
572
- Boolean,
573
- null,
574
- String,
575
- Object,
576
- Array
577
- ] },
578
- asChild: { type: Boolean },
579
- as: { default: "p" }
580
- },
581
- setup(__props) {
582
- const props = __props;
583
- const delegatedProps = reactiveOmit(props, "class");
584
- return (_ctx, _cache) => {
585
- return openBlock(), createBlock(unref(DialogDescription), mergeProps({ class: unref(clsx)("arvue-dialog-description", props.class) }, unref(delegatedProps)), {
586
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
587
- _: 3
588
- }, 16, ["class"]);
589
- };
590
- }
591
- });
592
- //#endregion
593
- //#region src/dialog/DialogFooter.vue
594
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
595
- __name: "DialogFooter",
596
- props: {
597
- class: { type: [
598
- Boolean,
599
- null,
600
- String,
601
- Object,
602
- Array
603
- ] },
604
- asChild: { type: Boolean },
605
- as: {}
606
- },
607
- setup(__props) {
608
- const props = __props;
609
- const delegatedProps = reactiveOmit(props, "class");
610
- return (_ctx, _cache) => {
611
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-dialog-footer", props.class) }, unref(delegatedProps)), {
612
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
613
- _: 3
614
- }, 16, ["class"]);
615
- };
616
- }
617
- });
618
- //#endregion
619
- //#region src/dialog/DialogHeader.vue
620
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
621
- __name: "DialogHeader",
622
- props: {
623
- class: { type: [
624
- Boolean,
625
- null,
626
- String,
627
- Object,
628
- Array
629
- ] },
630
- asChild: { type: Boolean },
631
- as: {}
632
- },
633
- setup(__props) {
634
- const props = __props;
635
- const delegatedProps = reactiveOmit(props, "class");
636
- return (_ctx, _cache) => {
637
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-dialog-header", props.class) }, unref(delegatedProps)), {
638
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
639
- _: 3
640
- }, 16, ["class"]);
641
- };
642
- }
643
- });
644
- //#endregion
645
- //#region src/dialog/DialogOverlay.vue
646
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
647
- __name: "DialogOverlay",
648
- props: {
649
- class: { type: [
650
- Boolean,
651
- null,
652
- String,
653
- Object,
654
- Array
655
- ] },
656
- forceMount: { type: Boolean },
657
- asChild: { type: Boolean },
658
- as: {}
659
- },
660
- setup(__props) {
661
- const props = __props;
662
- const delegatedProps = reactiveOmit(props, "class");
663
- return (_ctx, _cache) => {
664
- return openBlock(), createBlock(unref(DialogOverlay), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-dialog-overlay", props.class) }), {
665
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
666
- _: 3
667
- }, 16, ["class"]);
668
- };
669
- }
670
- });
671
- //#endregion
672
- //#region src/dialog/DialogTitle.vue
673
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
674
- __name: "DialogTitle",
675
- props: {
676
- class: { type: [
677
- Boolean,
678
- null,
679
- String,
680
- Object,
681
- Array
682
- ] },
683
- asChild: { type: Boolean },
684
- as: { default: "h3" }
685
- },
686
- setup(__props) {
687
- const props = __props;
688
- const delegatedProps = reactiveOmit(props, "class");
689
- return (_ctx, _cache) => {
690
- return openBlock(), createBlock(unref(DialogTitle), mergeProps({ class: unref(clsx)("arvue-dialog-title", props.class) }, unref(delegatedProps)), {
691
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
692
- _: 3
693
- }, 16, ["class"]);
694
- };
695
- }
696
- });
697
- //#endregion
698
- //#region src/dialog/DialogTrigger.vue
699
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
700
- __name: "DialogTrigger",
701
- props: {
702
- asChild: { type: Boolean },
703
- as: {}
704
- },
705
- setup(__props) {
706
- const props = __props;
707
- return (_ctx, _cache) => {
708
- return openBlock(), createBlock(unref(DialogTrigger), normalizeProps(guardReactiveProps(props)), {
709
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
710
- _: 3
711
- }, 16);
712
- };
713
- }
714
- });
715
- //#endregion
716
- //#region src/drawer/Drawer.vue
717
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
718
- __name: "Drawer",
719
- props: {
720
- class: { type: [
721
- Boolean,
722
- null,
723
- String,
724
- Object,
725
- Array
726
- ] },
727
- open: { type: Boolean },
728
- defaultOpen: { type: Boolean },
729
- modal: { type: Boolean }
730
- },
731
- emits: ["update:open"],
732
- setup(__props, { emit: __emit }) {
733
- const forwarded = useForwardPropsEmits(__props, __emit);
734
- return (_ctx, _cache) => {
735
- return openBlock(), createBlock(unref(DialogRoot), normalizeProps(guardReactiveProps(unref(forwarded))), {
736
- default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
737
- _: 3
738
- }, 16);
739
- };
740
- }
741
- });
742
- //#endregion
743
- //#region src/drawer/DrawerClose.vue
744
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
745
- __name: "DrawerClose",
746
- props: {
747
- asChild: { type: Boolean },
748
- as: { default: "a" }
749
- },
750
- setup(__props) {
751
- const props = __props;
752
- return (_ctx, _cache) => {
753
- return openBlock(), createBlock(unref(DialogClose), normalizeProps(guardReactiveProps(props)), {
754
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
755
- _: 3
756
- }, 16);
757
- };
758
- }
759
- });
760
- //#endregion
761
- //#region src/drawer/DrawerContent.vue
762
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
763
- inheritAttrs: false,
764
- __name: "DrawerContent",
765
- props: {
766
- class: { type: [
767
- Boolean,
768
- null,
769
- String,
770
- Object,
771
- Array
772
- ] },
773
- side: { default: "right" },
774
- showCloseButton: {
775
- type: Boolean,
776
- default: true
777
- },
778
- forceMount: { type: Boolean },
779
- disableOutsidePointerEvents: { type: Boolean },
780
- asChild: { type: Boolean },
781
- as: {}
782
- },
783
- emits: [
784
- "escapeKeyDown",
785
- "pointerDownOutside",
786
- "focusOutside",
787
- "interactOutside",
788
- "openAutoFocus",
789
- "closeAutoFocus"
790
- ],
791
- setup(__props, { emit: __emit }) {
792
- const props = __props;
793
- const emits = __emit;
794
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "class", "side"), emits);
795
- const sideMotion = {
796
- top: {
797
- initial: { y: "-100%" },
798
- animate: { y: 0 },
799
- exit: { y: "-100%" }
800
- },
801
- bottom: {
802
- initial: { y: "100%" },
803
- animate: { y: 0 },
804
- exit: { y: "100%" }
805
- },
806
- left: {
807
- initial: { x: "-100%" },
808
- animate: { x: 0 },
809
- exit: { x: "-100%" }
810
- },
811
- right: {
812
- initial: { x: "100%" },
813
- animate: { x: 0 },
814
- exit: { x: "100%" }
815
- }
816
- };
817
- const motionProps = computed(() => sideMotion[props.side]);
818
- return (_ctx, _cache) => {
819
- return openBlock(), createBlock(unref(DialogPortal), null, {
820
- default: withCtx(() => [createVNode(unref(AnimatePresence), { as: "div" }, {
821
- default: withCtx(() => [createVNode(unref(_sfc_main$29), { "as-child": "" }, {
822
- default: withCtx(() => [createVNode(unref(Motion), {
823
- initial: { opacity: 0 },
824
- animate: { opacity: 1 },
825
- exit: { opacity: 0 },
826
- transition: {
827
- duration: .3,
828
- ease: "easeInOut"
829
- }
830
- })]),
831
- _: 1
832
- }), createVNode(unref(DialogContent), mergeProps({ class: unref(clsx)("arvue-drawer-content", __props.side === "top" && "top", __props.side === "right" && "right", __props.side === "bottom" && "bottom", __props.side === "left" && "left", props.class) }, {
833
- ..._ctx.$attrs,
834
- ...unref(forwarded)
835
- }, { "as-child": "" }), {
836
- default: withCtx(() => [createVNode(unref(Motion), mergeProps(motionProps.value, { transition: {
837
- duration: .3,
838
- ease: "easeIn"
839
- } }), {
840
- default: withCtx(() => [renderSlot(_ctx.$slots, "default"), __props.showCloseButton ? (openBlock(), createBlock(unref(_sfc_main$24), {
841
- key: 0,
842
- class: "arvue-drawer-close-button icon"
843
- }, {
844
- default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "fas fa-times" }, null, -1)])]),
845
- _: 1
846
- })) : createCommentVNode("v-if", true)]),
847
- _: 3
848
- }, 16)]),
849
- _: 3
850
- }, 16, ["class"])]),
851
- _: 3
852
- })]),
853
- _: 3
854
- });
855
- };
856
- }
857
- });
858
- //#endregion
859
- //#region src/drawer/DrawerDescription.vue
860
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
861
- __name: "DrawerDescription",
862
- props: {
863
- class: { type: [
864
- Boolean,
865
- null,
866
- String,
867
- Object,
868
- Array
869
- ] },
870
- asChild: { type: Boolean },
871
- as: { default: "p" }
872
- },
873
- setup(__props) {
874
- const props = __props;
875
- const delegatedProps = reactiveOmit(props, "class");
876
- return (_ctx, _cache) => {
877
- return openBlock(), createBlock(unref(DialogDescription), mergeProps({ class: unref(clsx)("arvue-drawer-description", props.class) }, unref(delegatedProps)), {
878
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
879
- _: 3
880
- }, 16, ["class"]);
881
- };
882
- }
883
- });
884
- //#endregion
885
- //#region src/drawer/DrawerFooter.vue
886
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
887
- __name: "DrawerFooter",
888
- props: {
889
- class: { type: [
890
- Boolean,
891
- null,
892
- String,
893
- Object,
894
- Array
895
- ] },
896
- asChild: { type: Boolean },
897
- as: {}
898
- },
899
- setup(__props) {
900
- const props = __props;
901
- const delegatedProps = reactiveOmit(props, "class");
902
- return (_ctx, _cache) => {
903
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-drawer-footer", props.class) }, unref(delegatedProps)), {
904
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
905
- _: 3
906
- }, 16, ["class"]);
907
- };
908
- }
909
- });
910
- //#endregion
911
- //#region src/drawer/DrawerHeader.vue
912
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
913
- __name: "DrawerHeader",
914
- props: {
915
- class: { type: [
916
- Boolean,
917
- null,
918
- String,
919
- Object,
920
- Array
921
- ] },
922
- asChild: { type: Boolean },
923
- as: {}
924
- },
925
- setup(__props) {
926
- const props = __props;
927
- const delegatedProps = reactiveOmit(props, "class");
928
- return (_ctx, _cache) => {
929
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-drawer-header", props.class) }, unref(delegatedProps)), {
930
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
931
- _: 3
932
- }, 16, ["class"]);
933
- };
934
- }
935
- });
936
- //#endregion
937
- //#region src/drawer/DrawerOverlay.vue
938
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
939
- __name: "DrawerOverlay",
940
- props: {
941
- class: { type: [
942
- Boolean,
943
- null,
944
- String,
945
- Object,
946
- Array
947
- ] },
948
- forceMount: { type: Boolean },
949
- asChild: { type: Boolean },
950
- as: {}
951
- },
952
- setup(__props) {
953
- const props = __props;
954
- const delegatedProps = reactiveOmit(props, "class");
955
- return (_ctx, _cache) => {
956
- return openBlock(), createBlock(unref(DialogOverlay), mergeProps(unref(delegatedProps), { class: unref(clsx)("arvue-drawer-overlay", props.class) }), {
957
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
958
- _: 3
959
- }, 16, ["class"]);
960
- };
961
- }
962
- });
963
- //#endregion
964
- //#region src/drawer/DrawerTitle.vue
965
- const _sfc_main$30 = /* @__PURE__ */ defineComponent({
966
- __name: "DrawerTitle",
967
- props: {
968
- class: { type: [
969
- Boolean,
970
- null,
971
- String,
972
- Object,
973
- Array
974
- ] },
975
- asChild: { type: Boolean },
976
- as: { default: "h3" }
977
- },
978
- setup(__props) {
979
- const props = __props;
980
- const delegatedProps = reactiveOmit(props, "class");
981
- return (_ctx, _cache) => {
982
- return openBlock(), createBlock(unref(DialogTitle), mergeProps({ class: unref(clsx)("arvue-drawer-title", props.class) }, unref(delegatedProps)), {
983
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
984
- _: 3
985
- }, 16, ["class"]);
986
- };
987
- }
988
- });
989
- //#endregion
990
- //#region src/drawer/DrawerTrigger.vue
991
- const _sfc_main$31 = /* @__PURE__ */ defineComponent({
992
- __name: "DrawerTrigger",
993
- props: {
994
- asChild: { type: Boolean },
995
- as: {}
996
- },
997
- setup(__props) {
998
- const props = __props;
999
- return (_ctx, _cache) => {
1000
- return openBlock(), createBlock(unref(DialogTrigger), normalizeProps(guardReactiveProps(props)), {
1001
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1002
- _: 3
1003
- }, 16);
1004
- };
1005
- }
1006
- });
1007
- //#endregion
1008
- //#region src/sheet/Sheet.vue
1009
- const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1010
- __name: "Sheet",
1011
- props: {
1012
- class: { type: [
1013
- Boolean,
1014
- null,
1015
- String,
1016
- Object,
1017
- Array
1018
- ] },
1019
- activeSnapPoint: {},
1020
- closeThreshold: {},
1021
- shouldScaleBackground: { type: Boolean },
1022
- setBackgroundColorOnScale: { type: Boolean },
1023
- scrollLockTimeout: {},
1024
- fixed: { type: Boolean },
1025
- dismissible: { type: Boolean },
1026
- modal: { type: Boolean },
1027
- open: { type: Boolean },
1028
- defaultOpen: { type: Boolean },
1029
- nested: { type: Boolean },
1030
- direction: {},
1031
- noBodyStyles: { type: Boolean },
1032
- handleOnly: { type: Boolean },
1033
- preventScrollRestoration: { type: Boolean },
1034
- snapPoints: {},
1035
- fadeFromIndex: {}
1036
- },
1037
- emits: [
1038
- "drag",
1039
- "release",
1040
- "close",
1041
- "update:open",
1042
- "update:activeSnapPoint",
1043
- "animationEnd"
1044
- ],
1045
- setup(__props, { emit: __emit }) {
1046
- const forwarded = useForwardPropsEmits(__props, __emit);
1047
- return (_ctx, _cache) => {
1048
- return openBlock(), createBlock(unref(DrawerRoot), normalizeProps(guardReactiveProps(unref(forwarded))), {
1049
- default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
1050
- _: 3
1051
- }, 16);
1052
- };
1053
- }
1054
- });
1055
- //#endregion
1056
- //#region src/sheet/SheetClose.vue
1057
- const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1058
- __name: "SheetClose",
1059
- props: {
1060
- asChild: { type: Boolean },
1061
- as: { default: "a" }
1062
- },
1063
- setup(__props) {
1064
- const props = __props;
1065
- return (_ctx, _cache) => {
1066
- return openBlock(), createBlock(unref(DrawerClose), normalizeProps(guardReactiveProps(props)), {
1067
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1068
- _: 3
1069
- }, 16);
1070
- };
1071
- }
1072
- });
1073
- //#endregion
1074
- //#region src/sheet/SheetContent.vue
1075
- const _hoisted_1 = {
1076
- key: 0,
1077
- class: "arvue-sheet-handle"
1078
- };
1079
- const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1080
- inheritAttrs: false,
1081
- __name: "SheetContent",
1082
- props: {
1083
- class: { type: [
1084
- Boolean,
1085
- null,
1086
- String,
1087
- Object,
1088
- Array
1089
- ] },
1090
- showHandle: {
1091
- type: Boolean,
1092
- default: true
1093
- },
1094
- forceMount: { type: Boolean },
1095
- disableOutsidePointerEvents: { type: Boolean },
1096
- asChild: { type: Boolean },
1097
- as: {}
1098
- },
1099
- emits: [
1100
- "escapeKeyDown",
1101
- "pointerDownOutside",
1102
- "focusOutside",
1103
- "interactOutside",
1104
- "openAutoFocus",
1105
- "closeAutoFocus"
1106
- ],
1107
- setup(__props, { emit: __emit }) {
1108
- const props = __props;
1109
- const emits = __emit;
1110
- const forwarded = useForwardPropsEmits(reactiveOmit(props, "class"), emits);
1111
- return (_ctx, _cache) => {
1112
- return openBlock(), createBlock(unref(DrawerPortal), null, {
1113
- default: withCtx(() => [createVNode(unref(_sfc_main$38)), createVNode(unref(DrawerContent), mergeProps({ class: unref(clsx)("arvue-sheet-content", props.class) }, {
1114
- ..._ctx.$attrs,
1115
- ...unref(forwarded)
1116
- }), {
1117
- default: withCtx(() => [__props.showHandle ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")]),
1118
- _: 3
1119
- }, 16, ["class"])]),
1120
- _: 3
1121
- });
1122
- };
1123
- }
1124
- });
1125
- //#endregion
1126
- //#region src/sheet/SheetDescription.vue
1127
- const _sfc_main$35 = /* @__PURE__ */ defineComponent({
1128
- __name: "SheetDescription",
1129
- props: {
1130
- class: { type: [
1131
- Boolean,
1132
- null,
1133
- String,
1134
- Object,
1135
- Array
1136
- ] },
1137
- asChild: { type: Boolean },
1138
- as: { default: "p" }
1139
- },
1140
- setup(__props) {
1141
- const props = __props;
1142
- const delegatedProps = reactiveOmit(props, "class");
1143
- return (_ctx, _cache) => {
1144
- return openBlock(), createBlock(unref(DrawerDescription), mergeProps({ class: unref(clsx)("arvue-sheet-description", props.class) }, unref(delegatedProps)), {
1145
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1146
- _: 3
1147
- }, 16, ["class"]);
1148
- };
1149
- }
1150
- });
1151
- //#endregion
1152
- //#region src/sheet/SheetFooter.vue
1153
- const _sfc_main$36 = /* @__PURE__ */ defineComponent({
1154
- __name: "SheetFooter",
1155
- props: {
1156
- class: { type: [
1157
- Boolean,
1158
- null,
1159
- String,
1160
- Object,
1161
- Array
1162
- ] },
1163
- asChild: { type: Boolean },
1164
- as: {}
1165
- },
1166
- setup(__props) {
1167
- const props = __props;
1168
- const delegatedProps = reactiveOmit(props, "class");
1169
- return (_ctx, _cache) => {
1170
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-sheet-footer", props.class) }, unref(delegatedProps)), {
1171
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1172
- _: 3
1173
- }, 16, ["class"]);
1174
- };
1175
- }
1176
- });
1177
- //#endregion
1178
- //#region src/sheet/SheetHeader.vue
1179
- const _sfc_main$37 = /* @__PURE__ */ defineComponent({
1180
- __name: "SheetHeader",
1181
- props: {
1182
- class: { type: [
1183
- Boolean,
1184
- null,
1185
- String,
1186
- Object,
1187
- Array
1188
- ] },
1189
- asChild: { type: Boolean },
1190
- as: {}
1191
- },
1192
- setup(__props) {
1193
- const props = __props;
1194
- const delegatedProps = reactiveOmit(props, "class");
1195
- return (_ctx, _cache) => {
1196
- return openBlock(), createBlock(unref(Primitive), mergeProps({ class: unref(clsx)("arvue-sheet-header", props.class) }, unref(delegatedProps)), {
1197
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1198
- _: 3
1199
- }, 16, ["class"]);
1200
- };
1201
- }
1202
- });
1203
- //#endregion
1204
- //#region src/sheet/SheetOverlay.vue
1205
- const _sfc_main$38 = /* @__PURE__ */ defineComponent({
1206
- __name: "SheetOverlay",
1207
- props: {
1208
- class: { type: [
1209
- Boolean,
1210
- null,
1211
- String,
1212
- Object,
1213
- Array
1214
- ] },
1215
- forceMount: { type: Boolean },
1216
- asChild: { type: Boolean },
1217
- as: {}
1218
- },
1219
- setup(__props) {
1220
- const props = __props;
1221
- const delegatedProps = reactiveOmit(props, "class");
1222
- return (_ctx, _cache) => {
1223
- return openBlock(), createBlock(unref(DrawerOverlay), mergeProps({ class: unref(clsx)("arvue-sheet-overlay", props.class) }, unref(delegatedProps)), {
1224
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1225
- _: 3
1226
- }, 16, ["class"]);
1227
- };
1228
- }
1229
- });
1230
- //#endregion
1231
- //#region src/sheet/SheetTitle.vue
1232
- const _sfc_main$39 = /* @__PURE__ */ defineComponent({
1233
- __name: "SheetTitle",
1234
- props: {
1235
- class: { type: [
1236
- Boolean,
1237
- null,
1238
- String,
1239
- Object,
1240
- Array
1241
- ] },
1242
- asChild: { type: Boolean },
1243
- as: { default: "h3" }
1244
- },
1245
- setup(__props) {
1246
- const props = __props;
1247
- const delegatedProps = reactiveOmit(props, "class");
1248
- return (_ctx, _cache) => {
1249
- return openBlock(), createBlock(unref(DrawerTitle), mergeProps({ class: unref(clsx)("arvue-sheet-title", props.class) }, unref(delegatedProps)), {
1250
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1251
- _: 3
1252
- }, 16, ["class"]);
1253
- };
1254
- }
1255
- });
1256
- //#endregion
1257
- //#region src/sheet/SheetTrigger.vue
1258
- const _sfc_main$40 = /* @__PURE__ */ defineComponent({
1259
- __name: "SheetTrigger",
1260
- props: {
1261
- asChild: { type: Boolean },
1262
- as: {}
1263
- },
1264
- setup(__props) {
1265
- const props = __props;
1266
- return (_ctx, _cache) => {
1267
- return openBlock(), createBlock(unref(DrawerTrigger), normalizeProps(guardReactiveProps(props)), {
1268
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1269
- _: 3
1270
- }, 16);
1271
- };
1272
- }
1273
- });
1274
- //#endregion
1275
- export { _sfc_main as Autocomplete, _sfc_main$1 as AutocompleteAnchor, _sfc_main$2 as AutocompleteArrow, _sfc_main$3 as AutocompleteCancel, _sfc_main$4 as AutocompleteContent, _sfc_main$5 as AutocompleteEmpty, _sfc_main$6 as AutocompleteGroup, _sfc_main$7 as AutocompleteInput, _sfc_main$8 as AutocompleteItem, _sfc_main$9 as AutocompleteLabel, _sfc_main$10 as AutocompletePortal, _sfc_main$11 as AutocompleteSeparator, _sfc_main$12 as AutocompleteTrigger, _sfc_main$13 as AutocompleteViewport, _sfc_main$14 as Dialog, _sfc_main$15 as DialogClose, _sfc_main$16 as DialogContent, _sfc_main$17 as DialogDescription, _sfc_main$18 as DialogFooter, _sfc_main$19 as DialogHeader, _sfc_main$20 as DialogOverlay, _sfc_main$21 as DialogTitle, _sfc_main$22 as DialogTrigger, _sfc_main$23 as Drawer, _sfc_main$24 as DrawerClose, _sfc_main$25 as DrawerContent, _sfc_main$26 as DrawerDescription, _sfc_main$27 as DrawerFooter, _sfc_main$28 as DrawerHeader, _sfc_main$29 as DrawerOverlay, _sfc_main$30 as DrawerTitle, _sfc_main$31 as DrawerTrigger, _sfc_main$32 as Sheet, _sfc_main$33 as SheetClose, _sfc_main$34 as SheetContent, _sfc_main$35 as SheetDescription, _sfc_main$36 as SheetFooter, _sfc_main$37 as SheetHeader, _sfc_main$38 as SheetOverlay, _sfc_main$39 as SheetTitle, _sfc_main$40 as SheetTrigger };
1276
-
1277
- //# sourceMappingURL=index.js.map
1
+ import { _sfc_main } from "./autocomplete/autocomplete.js";
2
+ import { _sfc_main as _sfc_main$1 } from "./autocomplete/autocompleteAnchor.js";
3
+ import { _sfc_main as _sfc_main$2 } from "./autocomplete/autocompleteArrow.js";
4
+ import { _sfc_main as _sfc_main$3 } from "./autocomplete/autocompleteCancel.js";
5
+ import { _sfc_main as _sfc_main$4 } from "./autocomplete/autocompleteContent.js";
6
+ import { _sfc_main as _sfc_main$5 } from "./autocomplete/autocompleteEmpty.js";
7
+ import { _sfc_main as _sfc_main$6 } from "./autocomplete/autocompleteGroup.js";
8
+ import { _sfc_main as _sfc_main$7 } from "./autocomplete/autocompleteInput.js";
9
+ import { _sfc_main as _sfc_main$8 } from "./autocomplete/autocompleteItem.js";
10
+ import { _sfc_main as _sfc_main$9 } from "./autocomplete/autocompleteLabel.js";
11
+ import { _sfc_main as _sfc_main$10 } from "./autocomplete/autocompletePortal.js";
12
+ import { _sfc_main as _sfc_main$11 } from "./autocomplete/autocompleteSeparator.js";
13
+ import { _sfc_main as _sfc_main$12 } from "./autocomplete/autocompleteTrigger.js";
14
+ import { _sfc_main as _sfc_main$13 } from "./autocomplete/autocompleteViewport.js";
15
+ import { _sfc_main as _sfc_main$14 } from "./combobox/combobox.js";
16
+ import { _sfc_main as _sfc_main$15 } from "./combobox/comboboxAnchor.js";
17
+ import { _sfc_main as _sfc_main$16 } from "./combobox/comboboxCancel.js";
18
+ import { _sfc_main as _sfc_main$17 } from "./combobox/comboboxContent.js";
19
+ import { _sfc_main as _sfc_main$18 } from "./combobox/comboboxEmpty.js";
20
+ import { _sfc_main as _sfc_main$19 } from "./combobox/comboboxGroup.js";
21
+ import { _sfc_main as _sfc_main$20 } from "./combobox/comboboxInput.js";
22
+ import { _sfc_main as _sfc_main$21 } from "./combobox/comboboxItem.js";
23
+ import { _sfc_main as _sfc_main$22 } from "./combobox/comboboxLabel.js";
24
+ import { _sfc_main as _sfc_main$23 } from "./combobox/comboboxPortal.js";
25
+ import { _sfc_main as _sfc_main$24 } from "./combobox/comboboxSeparator.js";
26
+ import { _sfc_main as _sfc_main$25 } from "./combobox/comboboxTrigger.js";
27
+ import { _sfc_main as _sfc_main$26 } from "./combobox/comboboxViewport.js";
28
+ import { _sfc_main as _sfc_main$27 } from "./dialog/dialog.js";
29
+ import { _sfc_main as _sfc_main$28 } from "./dialog/dialogClose.js";
30
+ import { _sfc_main as _sfc_main$29 } from "./dialog/dialogContent.js";
31
+ import { _sfc_main as _sfc_main$30 } from "./dialog/dialogDescription.js";
32
+ import { _sfc_main as _sfc_main$31 } from "./dialog/dialogFooter.js";
33
+ import { _sfc_main as _sfc_main$32 } from "./dialog/dialogHeader.js";
34
+ import { _sfc_main as _sfc_main$33 } from "./dialog/dialogOverlay.js";
35
+ import { _sfc_main as _sfc_main$34 } from "./dialog/dialogTitle.js";
36
+ import { _sfc_main as _sfc_main$35 } from "./dialog/dialogTrigger.js";
37
+ import { _sfc_main as _sfc_main$36 } from "./drawer/drawer.js";
38
+ import { _sfc_main as _sfc_main$37 } from "./drawer/drawerClose.js";
39
+ import { _sfc_main as _sfc_main$38 } from "./drawer/drawerContent.js";
40
+ import { _sfc_main as _sfc_main$39 } from "./drawer/drawerDescription.js";
41
+ import { _sfc_main as _sfc_main$40 } from "./drawer/drawerFooter.js";
42
+ import { _sfc_main as _sfc_main$41 } from "./drawer/drawerHeader.js";
43
+ import { _sfc_main as _sfc_main$42 } from "./drawer/drawerOverlay.js";
44
+ import { _sfc_main as _sfc_main$43 } from "./drawer/drawerTitle.js";
45
+ import { _sfc_main as _sfc_main$44 } from "./drawer/drawerTrigger.js";
46
+ import { _sfc_main as _sfc_main$45 } from "./sheet/sheet.js";
47
+ import { _sfc_main as _sfc_main$46 } from "./sheet/sheetClose.js";
48
+ import { _sfc_main as _sfc_main$47 } from "./sheet/sheetContent.js";
49
+ import { _sfc_main as _sfc_main$48 } from "./sheet/sheetDescription.js";
50
+ import { _sfc_main as _sfc_main$49 } from "./sheet/sheetFooter.js";
51
+ import { _sfc_main as _sfc_main$50 } from "./sheet/sheetHeader.js";
52
+ import { _sfc_main as _sfc_main$51 } from "./sheet/sheetOverlay.js";
53
+ import { _sfc_main as _sfc_main$52 } from "./sheet/sheetTitle.js";
54
+ import { _sfc_main as _sfc_main$53 } from "./sheet/sheetTrigger.js";
55
+ import { _sfc_main as _sfc_main$54 } from "./sonner/sonner.js";
56
+ import { toast } from "vue-sonner";
57
+ export { _sfc_main as Autocomplete, _sfc_main$1 as AutocompleteAnchor, _sfc_main$2 as AutocompleteArrow, _sfc_main$3 as AutocompleteCancel, _sfc_main$4 as AutocompleteContent, _sfc_main$5 as AutocompleteEmpty, _sfc_main$6 as AutocompleteGroup, _sfc_main$7 as AutocompleteInput, _sfc_main$8 as AutocompleteItem, _sfc_main$9 as AutocompleteLabel, _sfc_main$10 as AutocompletePortal, _sfc_main$11 as AutocompleteSeparator, _sfc_main$12 as AutocompleteTrigger, _sfc_main$13 as AutocompleteViewport, _sfc_main$14 as Combobox, _sfc_main$15 as ComboboxAnchor, _sfc_main$16 as ComboboxCancel, _sfc_main$17 as ComboboxContent, _sfc_main$18 as ComboboxEmpty, _sfc_main$19 as ComboboxGroup, _sfc_main$20 as ComboboxInput, _sfc_main$21 as ComboboxItem, _sfc_main$22 as ComboboxLabel, _sfc_main$23 as ComboboxPortal, _sfc_main$24 as ComboboxSeparator, _sfc_main$25 as ComboboxTrigger, _sfc_main$26 as ComboboxViewport, _sfc_main$27 as Dialog, _sfc_main$28 as DialogClose, _sfc_main$29 as DialogContent, _sfc_main$30 as DialogDescription, _sfc_main$31 as DialogFooter, _sfc_main$32 as DialogHeader, _sfc_main$33 as DialogOverlay, _sfc_main$34 as DialogTitle, _sfc_main$35 as DialogTrigger, _sfc_main$36 as Drawer, _sfc_main$37 as DrawerClose, _sfc_main$38 as DrawerContent, _sfc_main$39 as DrawerDescription, _sfc_main$40 as DrawerFooter, _sfc_main$41 as DrawerHeader, _sfc_main$42 as DrawerOverlay, _sfc_main$43 as DrawerTitle, _sfc_main$44 as DrawerTrigger, _sfc_main$45 as Sheet, _sfc_main$46 as SheetClose, _sfc_main$47 as SheetContent, _sfc_main$48 as SheetDescription, _sfc_main$49 as SheetFooter, _sfc_main$50 as SheetHeader, _sfc_main$51 as SheetOverlay, _sfc_main$52 as SheetTitle, _sfc_main$53 as SheetTrigger, _sfc_main$54 as Sonner, toast };