@orchidui/dashboard 1.8.1-96 → 1.8.1-97

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 (166) hide show
  1. package/dist/Dashboard/Card/OcCard.js +1 -1
  2. package/dist/Dashboard/TextEditor/QuillEditor.js +1 -1
  3. package/dist/{OcCard-B3SCzVwn.js → OcCard-D3be6IMj.js} +58 -54
  4. package/dist/OcCodeBlock-uFQyGnLq.js +37 -0
  5. package/dist/{OcLottieAnimation-DeMoIDaX.js → OcLottieAnimation-BB7AK2AO.js} +62 -62
  6. package/dist/{QuillEditor-hFQ0MJZO.js → QuillEditor-DRwC0sgJ.js} +579 -556
  7. package/dist/index.js +4 -4
  8. package/package.json +3 -265
  9. package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-BdmLII9i.js +0 -295
  10. package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-DpJRpFhK.js +0 -891
  11. package/dist/CardTitle.vue_vue_type_script_setup_true_lang-D2_Bj3jw.js +0 -68
  12. package/dist/Checkbox.vue_vue_type_script_setup_true_lang-C51LjITJ.js +0 -172
  13. package/dist/CollapsibleTrigger-fCarY5DJ.js +0 -154
  14. package/dist/Collection-COudIl-A.js +0 -55
  15. package/dist/ConfigProvider-7mV0D7Sp.js +0 -6
  16. package/dist/DialogContent.vue_vue_type_script_setup_true_lang-CdrrrG29.js +0 -68
  17. package/dist/DialogOverlay-Cj3UTjZ8.js +0 -309
  18. package/dist/DialogPortal-zAvO8zt4.js +0 -23
  19. package/dist/DialogTrigger-BIF1A4hk.js +0 -72
  20. package/dist/DismissableLayer-C7IJliOb.js +0 -151
  21. package/dist/FocusScope--pJ6bboI.js +0 -121
  22. package/dist/FormMessage.vue_vue_type_script_setup_true_lang-DwlnFEn2.js +0 -92
  23. package/dist/Input.vue_vue_type_script_setup_true_lang-BrjsUUvL.js +0 -27
  24. package/dist/Label.vue_vue_type_script_setup_true_lang-D_LMIKBv.js +0 -51
  25. package/dist/ListboxItem-CjMk-mEX.js +0 -417
  26. package/dist/MenuSubTrigger-CUrxnPwO.js +0 -845
  27. package/dist/OcCodeBlock-CBdVqav7.js +0 -37
  28. package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-DtI_qIyx.js +0 -394
  29. package/dist/PopperContent-BT3Svcc3.js +0 -1465
  30. package/dist/Presence-CxfTrw6l.js +0 -133
  31. package/dist/Primitive-B3twiLO1.js +0 -44
  32. package/dist/RadioGroupItem.vue_vue_type_script_setup_true_lang-BNfRYIhL.js +0 -297
  33. package/dist/RovingFocusGroup-0OHdFQl0.js +0 -92
  34. package/dist/RovingFocusItem-s7Ug6oxb.js +0 -82
  35. package/dist/SelectValue.vue_vue_type_script_setup_true_lang-CVsYrN1R.js +0 -1255
  36. package/dist/Separator-DRam5i7g.js +0 -54
  37. package/dist/Separator.vue_vue_type_script_setup_true_lang-DGPbh6Dt.js +0 -27
  38. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-k1A7l6Y-.js +0 -17
  39. package/dist/Switch.vue_vue_type_script_setup_true_lang-94ZKgnTz.js +0 -135
  40. package/dist/Teleport-DnUewq5H.js +0 -25
  41. package/dist/Textarea.vue_vue_type_script_setup_true_lang-DKazues9.js +0 -27
  42. package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-CZ3AuN38.js +0 -426
  43. package/dist/VisuallyHidden-DMAU4heD.js +0 -41
  44. package/dist/VisuallyHiddenInput-DvJnsVHt.js +0 -59
  45. package/dist/_commonjsHelpers-B4e78b8K.js +0 -28
  46. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  47. package/dist/array-CqVTtuYm.js +0 -6
  48. package/dist/arrays-4jDZqbdb.js +0 -20
  49. package/dist/check-C2tzJ0Gk.js +0 -11
  50. package/dist/chevron-down-CnpAlizg.js +0 -13
  51. package/dist/chevron-left-BOwFasou.js +0 -13
  52. package/dist/chevron-right-D308801z.js +0 -13
  53. package/dist/circle-A-6NpYiX.js +0 -13
  54. package/dist/clamp-BL1Rb24G.js +0 -22
  55. package/dist/constant-CuDQlTIy.js +0 -3433
  56. package/dist/createContext-CZEfaSVa.js +0 -17
  57. package/dist/createLucideIcon-eXqDwUWj.js +0 -71
  58. package/dist/ellipsis-CEG9G7eN.js +0 -15
  59. package/dist/getActiveElement-B-HWdUIb.js +0 -11
  60. package/dist/handleAndDispatchCustomEvent-Byh08EHr.js +0 -11
  61. package/dist/index-B3LW8uSH.js +0 -133
  62. package/dist/index-BIlpXuWX.js +0 -3430
  63. package/dist/index-BlGEiPHj.js +0 -1246
  64. package/dist/index-BwPb_idr.js +0 -574
  65. package/dist/index-C9julNQm.js +0 -173
  66. package/dist/index-C_aI-Wfj.js +0 -34
  67. package/dist/index-CumjCvqB.js +0 -5703
  68. package/dist/index-LqWMCtOd.js +0 -809
  69. package/dist/index-OpE2oGce.js +0 -110
  70. package/dist/isValueEqualOrExist-BDSMUv8t.js +0 -8
  71. package/dist/lib/utils.js +0 -5
  72. package/dist/nullish-CjWwlQS3.js +0 -6
  73. package/dist/ohash.D__AXeF1-DX2n0b2C.js +0 -106
  74. package/dist/plus-CgluTYQY.js +0 -14
  75. package/dist/text-zwICaAnx.js +0 -743
  76. package/dist/ui/accordion/index.js +0 -7
  77. package/dist/ui/alert/index.js +0 -64
  78. package/dist/ui/alert-dialog/index.js +0 -356
  79. package/dist/ui/aspect-ratio/index.js +0 -50
  80. package/dist/ui/auto-form/constant.js +0 -5
  81. package/dist/ui/auto-form/dependencies.js +0 -61
  82. package/dist/ui/auto-form/index.js +0 -227
  83. package/dist/ui/auto-form/interface.js +0 -4
  84. package/dist/ui/auto-form/utils.js +0 -89
  85. package/dist/ui/avatar/index.js +0 -189
  86. package/dist/ui/badge/index.js +0 -37
  87. package/dist/ui/breadcrumb/index.js +0 -126
  88. package/dist/ui/button/index.js +0 -55
  89. package/dist/ui/calendar/index.js +0 -15
  90. package/dist/ui/card/index.js +0 -38
  91. package/dist/ui/carousel/index.js +0 -174
  92. package/dist/ui/carousel/interface.js +0 -1
  93. package/dist/ui/carousel/useCarousel.js +0 -1288
  94. package/dist/ui/chart/index.js +0 -8
  95. package/dist/ui/chart/interface.js +0 -1
  96. package/dist/ui/chart-area/index.js +0 -331
  97. package/dist/ui/chart-bar/index.js +0 -490
  98. package/dist/ui/chart-donut/index.js +0 -509
  99. package/dist/ui/chart-line/index.js +0 -110
  100. package/dist/ui/checkbox/index.js +0 -4
  101. package/dist/ui/collapsible/index.js +0 -60
  102. package/dist/ui/combobox/index.js +0 -877
  103. package/dist/ui/command/index.js +0 -323
  104. package/dist/ui/context-menu/index.js +0 -734
  105. package/dist/ui/dialog/index.js +0 -169
  106. package/dist/ui/drawer/index.js +0 -971
  107. package/dist/ui/dropdown-menu/index.js +0 -723
  108. package/dist/ui/form/index.js +0 -13
  109. package/dist/ui/form/injectionKeys.js +0 -4
  110. package/dist/ui/form/useFormField.js +0 -25
  111. package/dist/ui/hover-card/index.js +0 -331
  112. package/dist/ui/input/index.js +0 -4
  113. package/dist/ui/label/index.js +0 -4
  114. package/dist/ui/menubar/index.js +0 -862
  115. package/dist/ui/navigation-menu/index.js +0 -873
  116. package/dist/ui/number-field/index.js +0 -682
  117. package/dist/ui/pagination/index.js +0 -444
  118. package/dist/ui/pin-input/index.js +0 -308
  119. package/dist/ui/popover/index.js +0 -6
  120. package/dist/ui/progress/index.js +0 -137
  121. package/dist/ui/radio-group/index.js +0 -5
  122. package/dist/ui/range-calendar/index.js +0 -986
  123. package/dist/ui/resizable/index.js +0 -1432
  124. package/dist/ui/scroll-area/index.js +0 -775
  125. package/dist/ui/select/index.js +0 -135
  126. package/dist/ui/separator/index.js +0 -4
  127. package/dist/ui/sheet/index.js +0 -188
  128. package/dist/ui/sidebar/index.js +0 -652
  129. package/dist/ui/sidebar/utils.js +0 -12
  130. package/dist/ui/skeleton/index.js +0 -4
  131. package/dist/ui/slider/index.js +0 -478
  132. package/dist/ui/sonner/index.js +0 -892
  133. package/dist/ui/stepper/index.js +0 -442
  134. package/dist/ui/switch/index.js +0 -4
  135. package/dist/ui/table/index.js +0 -153
  136. package/dist/ui/tabs/index.js +0 -280
  137. package/dist/ui/tags-input/index.js +0 -449
  138. package/dist/ui/textarea/index.js +0 -4
  139. package/dist/ui/toast/index.js +0 -738
  140. package/dist/ui/toast/use-toast.js +0 -85
  141. package/dist/ui/toggle/index.js +0 -6
  142. package/dist/ui/toggle-group/index.js +0 -112
  143. package/dist/ui/tooltip/index.js +0 -29
  144. package/dist/useArrowNavigation-BRMPveaB.js +0 -49
  145. package/dist/useBodyScrollLock-CazCRZjZ.js +0 -153
  146. package/dist/useDirection-C3C_TLKm.js +0 -14
  147. package/dist/useFocusGuards-CyjC9cG9.js +0 -26
  148. package/dist/useFormControl-CFVC51Lp.js +0 -11
  149. package/dist/useForwardExpose-DZT6mL_U.js +0 -37
  150. package/dist/useForwardPropsEmits-0XKBv1pB.js +0 -33
  151. package/dist/useGraceArea-D7-GP1ii.js +0 -137
  152. package/dist/useId-reAg216X.js +0 -13
  153. package/dist/useKbd-BJNupnml.js +0 -41
  154. package/dist/useLocale-BfU0LC8Z.js +0 -14
  155. package/dist/useNonce-C1ZOgOp5.js +0 -14
  156. package/dist/usePrimitiveElement-BjwUvHih.js +0 -15
  157. package/dist/useSingleOrMultipleValue-BkTAaaJB.js +0 -43
  158. package/dist/useSize-BnyQ8FZF.js +0 -37
  159. package/dist/useTypeahead-oSidjyFF.js +0 -40
  160. package/dist/utils-DKNaYMZh.js +0 -57
  161. package/dist/utils-Dx9la83v.js +0 -35
  162. package/dist/utils-DxQ_ywGa.js +0 -55
  163. package/dist/utils-SFgRDk1R.js +0 -2748
  164. package/dist/utils-W-UiqiPE.js +0 -1869
  165. package/dist/vee-validate-Cf8JDJ_k.js +0 -2232
  166. package/dist/x-Cl6YllUK.js +0 -14
@@ -1,426 +0,0 @@
1
- import { defineComponent as h, toRefs as z, ref as P, renderSlot as _, computed as v, watch as V, createBlock as y, openBlock as b, unref as o, withCtx as f, useSlots as W, onMounted as I, withModifiers as j, createVNode as E, mergeProps as $, createTextVNode as G, toDisplayString as U, Comment as q, resolveDynamicComponent as J, normalizeProps as L, guardReactiveProps as R, toHandlers as Q } from "vue";
2
- import { a as X, u as S } from "./useForwardPropsEmits-0XKBv1pB.js";
3
- import { c as Y } from "./utils-SFgRDk1R.js";
4
- import { _ as Z } from "./Teleport-DnUewq5H.js";
5
- import { n as N, u as ee, e as K } from "./index-BwPb_idr.js";
6
- import { _ as oe, a as te, b as ae } from "./PopperContent-BT3Svcc3.js";
7
- import { u as w } from "./useForwardExpose-DZT6mL_U.js";
8
- import { _ as ne } from "./DismissableLayer-C7IJliOb.js";
9
- import { _ as re } from "./VisuallyHidden-DMAU4heD.js";
10
- import { u as se } from "./useGraceArea-D7-GP1ii.js";
11
- import { P as ie } from "./Presence-CxfTrw6l.js";
12
- import { r as le } from "./index-OpE2oGce.js";
13
- import { u as de } from "./useId-reAg216X.js";
14
- import { P as pe } from "./Primitive-B3twiLO1.js";
15
- import { c as H } from "./createContext-CZEfaSVa.js";
16
- const M = "tooltip.open", [x, ue] = H("TooltipProvider"), Se = /* @__PURE__ */ h({
17
- inheritAttrs: !1,
18
- __name: "TooltipProvider",
19
- props: {
20
- delayDuration: { default: 700 },
21
- skipDelayDuration: { default: 300 },
22
- disableHoverableContent: { type: Boolean, default: !1 },
23
- disableClosingTrigger: { type: Boolean },
24
- disabled: { type: Boolean },
25
- ignoreNonKeyboardFocus: { type: Boolean, default: !1 }
26
- },
27
- setup(r) {
28
- const i = r, { delayDuration: e, skipDelayDuration: l, disableHoverableContent: t, disableClosingTrigger: d, ignoreNonKeyboardFocus: s, disabled: u } = z(i);
29
- w();
30
- const m = P(!0), C = P(!1), { start: n, stop: a } = N(() => {
31
- m.value = !0;
32
- }, l, { immediate: !1 });
33
- return ue({
34
- isOpenDelayed: m,
35
- delayDuration: e,
36
- onOpen() {
37
- a(), m.value = !1;
38
- },
39
- onClose() {
40
- n();
41
- },
42
- isPointerInTransitRef: C,
43
- disableHoverableContent: t,
44
- disableClosingTrigger: d,
45
- disabled: u,
46
- ignoreNonKeyboardFocus: s
47
- }), (p, c) => _(p.$slots, "default");
48
- }
49
- }), [F, ce] = H("TooltipRoot"), fe = /* @__PURE__ */ h({
50
- __name: "TooltipRoot",
51
- props: {
52
- defaultOpen: { type: Boolean, default: !1 },
53
- open: { type: Boolean, default: void 0 },
54
- delayDuration: { default: void 0 },
55
- disableHoverableContent: { type: Boolean, default: void 0 },
56
- disableClosingTrigger: { type: Boolean, default: void 0 },
57
- disabled: { type: Boolean, default: void 0 },
58
- ignoreNonKeyboardFocus: { type: Boolean, default: void 0 }
59
- },
60
- emits: ["update:open"],
61
- setup(r, { emit: i }) {
62
- const e = r, l = i;
63
- w();
64
- const t = x(), d = v(() => e.disableHoverableContent ?? t.disableHoverableContent.value), s = v(() => e.disableClosingTrigger ?? t.disableClosingTrigger.value), u = v(() => e.disabled ?? t.disabled.value), m = v(() => e.delayDuration ?? t.delayDuration.value), C = v(() => e.ignoreNonKeyboardFocus ?? t.ignoreNonKeyboardFocus.value), n = ee(e, "open", l, {
65
- defaultValue: e.defaultOpen,
66
- passive: e.open === void 0
67
- });
68
- V(n, (O) => {
69
- t.onClose && (O ? (t.onOpen(), document.dispatchEvent(new CustomEvent(M))) : t.onClose());
70
- });
71
- const a = P(!1), p = P(), c = v(() => n.value ? a.value ? "delayed-open" : "instant-open" : "closed"), { start: B, stop: D } = N(() => {
72
- a.value = !0, n.value = !0;
73
- }, m, { immediate: !1 });
74
- function g() {
75
- D(), a.value = !1, n.value = !0;
76
- }
77
- function T() {
78
- D(), n.value = !1;
79
- }
80
- function k() {
81
- B();
82
- }
83
- return ce({
84
- contentId: "",
85
- open: n,
86
- stateAttribute: c,
87
- trigger: p,
88
- onTriggerChange(O) {
89
- p.value = O;
90
- },
91
- onTriggerEnter() {
92
- t.isOpenDelayed.value ? k() : g();
93
- },
94
- onTriggerLeave() {
95
- d.value ? T() : D();
96
- },
97
- onOpen: g,
98
- onClose: T,
99
- disableHoverableContent: d,
100
- disableClosingTrigger: s,
101
- disabled: u,
102
- ignoreNonKeyboardFocus: C
103
- }), (O, be) => (b(), y(o(oe), null, {
104
- default: f(() => [
105
- _(O.$slots, "default", { open: o(n) })
106
- ]),
107
- _: 3
108
- }));
109
- }
110
- }), A = /* @__PURE__ */ h({
111
- __name: "TooltipContentImpl",
112
- props: {
113
- ariaLabel: {},
114
- asChild: { type: Boolean },
115
- as: {},
116
- side: { default: "top" },
117
- sideOffset: { default: 0 },
118
- align: { default: "center" },
119
- alignOffset: {},
120
- avoidCollisions: { type: Boolean, default: !0 },
121
- collisionBoundary: { default: () => [] },
122
- collisionPadding: { default: 0 },
123
- arrowPadding: { default: 0 },
124
- sticky: { default: "partial" },
125
- hideWhenDetached: { type: Boolean, default: !1 },
126
- positionStrategy: {},
127
- updatePositionStrategy: {}
128
- },
129
- emits: ["escapeKeyDown", "pointerDownOutside"],
130
- setup(r, { emit: i }) {
131
- const e = r, l = i, t = F(), { forwardRef: d } = w(), s = W(), u = v(() => {
132
- var n;
133
- return (n = s.default) == null ? void 0 : n.call(s, {});
134
- }), m = v(() => {
135
- var p;
136
- if (e.ariaLabel)
137
- return e.ariaLabel;
138
- let n = "";
139
- function a(c) {
140
- typeof c.children == "string" && c.type !== q ? n += c.children : Array.isArray(c.children) && c.children.forEach((B) => a(B));
141
- }
142
- return (p = u.value) == null || p.forEach((c) => a(c)), n;
143
- }), C = v(() => {
144
- const { ariaLabel: n, ...a } = e;
145
- return a;
146
- });
147
- return I(() => {
148
- K(window, "scroll", (n) => {
149
- const a = n.target;
150
- a != null && a.contains(t.trigger.value) && t.onClose();
151
- }), K(window, M, t.onClose);
152
- }), (n, a) => (b(), y(o(ne), {
153
- "as-child": "",
154
- "disable-outside-pointer-events": !1,
155
- onEscapeKeyDown: a[0] || (a[0] = (p) => l("escapeKeyDown", p)),
156
- onPointerDownOutside: a[1] || (a[1] = (p) => {
157
- var c;
158
- o(t).disableClosingTrigger.value && ((c = o(t).trigger.value) != null && c.contains(p.target)) && p.preventDefault(), l("pointerDownOutside", p);
159
- }),
160
- onFocusOutside: a[2] || (a[2] = j(() => {
161
- }, ["prevent"])),
162
- onDismiss: a[3] || (a[3] = (p) => o(t).onClose())
163
- }, {
164
- default: f(() => [
165
- E(o(te), $({
166
- ref: o(d),
167
- "data-state": o(t).stateAttribute.value
168
- }, { ...n.$attrs, ...C.value }, { style: {
169
- "--reka-tooltip-content-transform-origin": "var(--reka-popper-transform-origin)",
170
- "--reka-tooltip-content-available-width": "var(--reka-popper-available-width)",
171
- "--reka-tooltip-content-available-height": "var(--reka-popper-available-height)",
172
- "--reka-tooltip-trigger-width": "var(--reka-popper-anchor-width)",
173
- "--reka-tooltip-trigger-height": "var(--reka-popper-anchor-height)"
174
- } }), {
175
- default: f(() => [
176
- _(n.$slots, "default"),
177
- E(o(re), {
178
- id: o(t).contentId,
179
- role: "tooltip"
180
- }, {
181
- default: f(() => [
182
- G(U(m.value), 1)
183
- ]),
184
- _: 1
185
- }, 8, ["id"])
186
- ]),
187
- _: 3
188
- }, 16, ["data-state"])
189
- ]),
190
- _: 3
191
- }));
192
- }
193
- }), me = /* @__PURE__ */ h({
194
- __name: "TooltipContentHoverable",
195
- props: {
196
- ariaLabel: {},
197
- asChild: { type: Boolean },
198
- as: {},
199
- side: {},
200
- sideOffset: {},
201
- align: {},
202
- alignOffset: {},
203
- avoidCollisions: { type: Boolean },
204
- collisionBoundary: {},
205
- collisionPadding: {},
206
- arrowPadding: {},
207
- sticky: {},
208
- hideWhenDetached: { type: Boolean },
209
- positionStrategy: {},
210
- updatePositionStrategy: {}
211
- },
212
- setup(r) {
213
- const e = X(r), { forwardRef: l, currentElement: t } = w(), { trigger: d, onClose: s } = F(), u = x(), { isPointerInTransit: m, onPointerExit: C } = se(d, t);
214
- return u.isPointerInTransitRef = m, C(() => {
215
- s();
216
- }), (n, a) => (b(), y(A, $({ ref: o(l) }, o(e)), {
217
- default: f(() => [
218
- _(n.$slots, "default")
219
- ]),
220
- _: 3
221
- }, 16));
222
- }
223
- }), ge = /* @__PURE__ */ h({
224
- __name: "TooltipContent",
225
- props: {
226
- forceMount: { type: Boolean },
227
- ariaLabel: {},
228
- asChild: { type: Boolean },
229
- as: {},
230
- side: { default: "top" },
231
- sideOffset: {},
232
- align: {},
233
- alignOffset: {},
234
- avoidCollisions: { type: Boolean },
235
- collisionBoundary: {},
236
- collisionPadding: {},
237
- arrowPadding: {},
238
- sticky: {},
239
- hideWhenDetached: { type: Boolean },
240
- positionStrategy: {},
241
- updatePositionStrategy: {}
242
- },
243
- emits: ["escapeKeyDown", "pointerDownOutside"],
244
- setup(r, { emit: i }) {
245
- const e = r, l = i, t = F(), d = S(e, l), { forwardRef: s } = w();
246
- return (u, m) => (b(), y(o(ie), {
247
- present: u.forceMount || o(t).open.value
248
- }, {
249
- default: f(() => [
250
- (b(), y(J(o(t).disableHoverableContent.value ? A : me), $({ ref: o(s) }, o(d)), {
251
- default: f(() => [
252
- _(u.$slots, "default")
253
- ]),
254
- _: 3
255
- }, 16))
256
- ]),
257
- _: 3
258
- }, 8, ["present"]));
259
- }
260
- }), ve = /* @__PURE__ */ h({
261
- __name: "TooltipPortal",
262
- props: {
263
- to: {},
264
- disabled: { type: Boolean },
265
- defer: { type: Boolean },
266
- forceMount: { type: Boolean }
267
- },
268
- setup(r) {
269
- const i = r;
270
- return (e, l) => (b(), y(o(Z), L(R(i)), {
271
- default: f(() => [
272
- _(e.$slots, "default")
273
- ]),
274
- _: 3
275
- }, 16));
276
- }
277
- }), ye = /* @__PURE__ */ h({
278
- __name: "TooltipTrigger",
279
- props: {
280
- reference: {},
281
- asChild: { type: Boolean },
282
- as: { default: "button" }
283
- },
284
- setup(r) {
285
- const i = r, e = F(), l = x();
286
- e.contentId || (e.contentId = de(void 0, "reka-tooltip-content"));
287
- const { forwardRef: t, currentElement: d } = w(), s = P(!1), u = P(!1), m = v(() => e.disabled.value ? {} : {
288
- click: D,
289
- focus: c,
290
- pointermove: a,
291
- pointerleave: p,
292
- pointerdown: n,
293
- blur: B
294
- });
295
- I(() => {
296
- e.onTriggerChange(d.value);
297
- });
298
- function C() {
299
- setTimeout(() => {
300
- s.value = !1;
301
- }, 1);
302
- }
303
- function n() {
304
- e.open && !e.disableClosingTrigger.value && e.onClose(), s.value = !0, document.addEventListener("pointerup", C, { once: !0 });
305
- }
306
- function a(g) {
307
- g.pointerType !== "touch" && !u.value && !l.isPointerInTransitRef.value && (e.onTriggerEnter(), u.value = !0);
308
- }
309
- function p() {
310
- e.onTriggerLeave(), u.value = !1;
311
- }
312
- function c(g) {
313
- var T, k;
314
- s.value || e.ignoreNonKeyboardFocus.value && !((k = (T = g.target).matches) != null && k.call(T, ":focus-visible")) || e.onOpen();
315
- }
316
- function B() {
317
- e.onClose();
318
- }
319
- function D() {
320
- e.disableClosingTrigger.value || e.onClose();
321
- }
322
- return (g, T) => (b(), y(o(ae), {
323
- "as-child": "",
324
- reference: g.reference
325
- }, {
326
- default: f(() => [
327
- E(o(pe), $({
328
- ref: o(t),
329
- "aria-describedby": o(e).open.value ? o(e).contentId : void 0,
330
- "data-state": o(e).stateAttribute.value,
331
- as: g.as,
332
- "as-child": i.asChild,
333
- "data-grace-area-trigger": ""
334
- }, Q(m.value)), {
335
- default: f(() => [
336
- _(g.$slots, "default")
337
- ]),
338
- _: 3
339
- }, 16, ["aria-describedby", "data-state", "as", "as-child"])
340
- ]),
341
- _: 3
342
- }, 8, ["reference"]));
343
- }
344
- }), xe = /* @__PURE__ */ h({
345
- __name: "Tooltip",
346
- props: {
347
- defaultOpen: { type: Boolean },
348
- open: { type: Boolean },
349
- delayDuration: {},
350
- disableHoverableContent: { type: Boolean },
351
- disableClosingTrigger: { type: Boolean },
352
- disabled: { type: Boolean },
353
- ignoreNonKeyboardFocus: { type: Boolean }
354
- },
355
- emits: ["update:open"],
356
- setup(r, { emit: i }) {
357
- const t = S(r, i);
358
- return (d, s) => (b(), y(o(fe), L(R(o(t))), {
359
- default: f(() => [
360
- _(d.$slots, "default")
361
- ]),
362
- _: 3
363
- }, 16));
364
- }
365
- }), Ke = /* @__PURE__ */ h({
366
- inheritAttrs: !1,
367
- __name: "TooltipContent",
368
- props: {
369
- forceMount: { type: Boolean },
370
- ariaLabel: {},
371
- asChild: { type: Boolean },
372
- as: {},
373
- side: {},
374
- sideOffset: { default: 4 },
375
- align: {},
376
- alignOffset: {},
377
- avoidCollisions: { type: Boolean },
378
- collisionBoundary: {},
379
- collisionPadding: {},
380
- arrowPadding: {},
381
- sticky: {},
382
- hideWhenDetached: { type: Boolean },
383
- positionStrategy: {},
384
- updatePositionStrategy: {},
385
- class: {}
386
- },
387
- emits: ["escapeKeyDown", "pointerDownOutside"],
388
- setup(r, { emit: i }) {
389
- const e = r, l = i, t = le(e, "class"), d = S(t, l);
390
- return (s, u) => (b(), y(o(ve), null, {
391
- default: f(() => [
392
- E(o(ge), $({ ...o(d), ...s.$attrs }, {
393
- class: o(Y)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", e.class)
394
- }), {
395
- default: f(() => [
396
- _(s.$slots, "default")
397
- ]),
398
- _: 3
399
- }, 16, ["class"])
400
- ]),
401
- _: 3
402
- }));
403
- }
404
- }), Ie = /* @__PURE__ */ h({
405
- __name: "TooltipTrigger",
406
- props: {
407
- reference: {},
408
- asChild: { type: Boolean },
409
- as: { type: [String, Object, Function] }
410
- },
411
- setup(r) {
412
- const i = r;
413
- return (e, l) => (b(), y(o(ye), L(R(i)), {
414
- default: f(() => [
415
- _(e.$slots, "default")
416
- ]),
417
- _: 3
418
- }, 16));
419
- }
420
- });
421
- export {
422
- Se as _,
423
- xe as a,
424
- Ke as b,
425
- Ie as c
426
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as a, createBlock as d, openBlock as i, unref as r, withCtx as t, renderSlot as o } from "vue";
2
- import { P as n } from "./Primitive-B3twiLO1.js";
3
- const f = /* @__PURE__ */ a({
4
- __name: "VisuallyHidden",
5
- props: {
6
- feature: { default: "focusable" },
7
- asChild: { type: Boolean },
8
- as: { default: "span" }
9
- },
10
- setup(l) {
11
- return (e, s) => (i(), d(r(n), {
12
- as: e.as,
13
- "as-child": e.asChild,
14
- "aria-hidden": e.feature === "focusable" ? "true" : void 0,
15
- "data-hidden": e.feature === "fully-hidden" ? "" : void 0,
16
- tabindex: e.feature === "fully-hidden" ? "-1" : void 0,
17
- style: {
18
- // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
19
- position: "absolute",
20
- border: 0,
21
- width: "1px",
22
- height: "1px",
23
- padding: 0,
24
- margin: "-1px",
25
- overflow: "hidden",
26
- clip: "rect(0, 0, 0, 0)",
27
- clipPath: "inset(50%)",
28
- whiteSpace: "nowrap",
29
- wordWrap: "normal"
30
- }
31
- }, {
32
- default: t(() => [
33
- o(e.$slots, "default")
34
- ]),
35
- _: 3
36
- }, 8, ["as", "as-child", "aria-hidden", "data-hidden", "tabindex"]));
37
- }
38
- });
39
- export {
40
- f as _
41
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as f, computed as i, watch as h, createBlock as p, openBlock as l, mergeProps as m, createElementBlock as E, Fragment as _, renderList as $ } from "vue";
2
- import { _ as k } from "./VisuallyHidden-DMAU4heD.js";
3
- import { u as A } from "./usePrimitiveElement-BjwUvHih.js";
4
- const v = /* @__PURE__ */ f({
5
- inheritAttrs: !1,
6
- __name: "VisuallyHiddenInputBubble",
7
- props: {
8
- name: {},
9
- value: {},
10
- checked: { type: Boolean, default: void 0 },
11
- required: { type: Boolean },
12
- disabled: { type: Boolean },
13
- feature: { default: "fully-hidden" }
14
- },
15
- setup(o) {
16
- const e = o, { primitiveElement: s, currentElement: u } = A(), t = i(() => e.checked ?? e.value);
17
- return h(t, (a, n) => {
18
- if (!u.value)
19
- return;
20
- const r = u.value, d = window.HTMLInputElement.prototype, c = Object.getOwnPropertyDescriptor(d, "value").set;
21
- if (c && a !== n) {
22
- const y = new Event("input", { bubbles: !0 }), b = new Event("change", { bubbles: !0 });
23
- c.call(r, a), r.dispatchEvent(y), r.dispatchEvent(b);
24
- }
25
- }), (a, n) => (l(), p(k, m({
26
- ref_key: "primitiveElement",
27
- ref: s
28
- }, { ...e, ...a.$attrs }, { as: "input" }), null, 16));
29
- }
30
- }), q = /* @__PURE__ */ f({
31
- inheritAttrs: !1,
32
- __name: "VisuallyHiddenInput",
33
- props: {
34
- name: {},
35
- value: {},
36
- checked: { type: Boolean, default: void 0 },
37
- required: { type: Boolean },
38
- disabled: { type: Boolean },
39
- feature: { default: "fully-hidden" }
40
- },
41
- setup(o) {
42
- const e = o, s = i(
43
- () => typeof e.value == "object" && Array.isArray(e.value) && e.value.length === 0 && e.required
44
- ), u = i(() => typeof e.value == "string" || typeof e.value == "number" || typeof e.value == "boolean" ? [{ name: e.name, value: e.value }] : typeof e.value == "object" && Array.isArray(e.value) ? e.value.flatMap((t, a) => typeof t == "object" ? Object.entries(t).map(([n, r]) => ({ name: `[${e.name}][${a}][${n}]`, value: r })) : { name: `[${e.name}][${a}]`, value: t }) : e.value !== null && typeof e.value == "object" && !Array.isArray(e.value) ? Object.entries(e.value).map(([t, a]) => ({ name: `[${e.name}][${t}]`, value: a })) : []);
45
- return (t, a) => s.value ? (l(), p(v, m({ key: t.name }, { ...e, ...t.$attrs }, {
46
- name: t.name,
47
- value: t.value
48
- }), null, 16, ["name", "value"])) : (l(!0), E(_, { key: 1 }, $(u.value, (n) => (l(), p(v, m({
49
- key: n.name,
50
- ref_for: !0
51
- }, { ...e, ...t.$attrs }, {
52
- name: n.name,
53
- value: n.value
54
- }), null, 16, ["name", "value"]))), 128));
55
- }
56
- });
57
- export {
58
- q as _
59
- };
@@ -1,28 +0,0 @@
1
- var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function f(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- function l(e) {
6
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
- var r = e.default;
8
- if (typeof r == "function") {
9
- var t = function o() {
10
- return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
11
- };
12
- t.prototype = r.prototype;
13
- } else t = {};
14
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
15
- var n = Object.getOwnPropertyDescriptor(e, o);
16
- Object.defineProperty(t, o, n.get ? n : {
17
- enumerable: !0,
18
- get: function() {
19
- return e[o];
20
- }
21
- });
22
- }), t;
23
- }
24
- export {
25
- l as a,
26
- u as c,
27
- f as g
28
- };
@@ -1,9 +0,0 @@
1
- const s = (t, r) => {
2
- const o = t.__vccOpts || t;
3
- for (const [c, e] of r)
4
- o[c] = e;
5
- return o;
6
- };
7
- export {
8
- s as _
9
- };
@@ -1,6 +0,0 @@
1
- function t(r) {
2
- return typeof r == "object" && "length" in r ? r : Array.from(r);
3
- }
4
- export {
5
- t as a
6
- };
@@ -1,20 +0,0 @@
1
- import { i as d } from "./ohash.D__AXeF1-DX2n0b2C.js";
2
- function r(n, i) {
3
- if (n.length !== i.length)
4
- return !1;
5
- for (let e = 0; e < n.length; e++)
6
- if (n[e] !== i[e])
7
- return !1;
8
- return !0;
9
- }
10
- function c(n, i, e) {
11
- const f = n.findIndex((t) => d(t, i)), s = n.findIndex((t) => d(t, e));
12
- if (f === -1 || s === -1)
13
- return [];
14
- const [u, l] = [f, s].sort((t, o) => t - o);
15
- return n.slice(u, l + 1);
16
- }
17
- export {
18
- r as a,
19
- c as f
20
- };
@@ -1,11 +0,0 @@
1
- import { c } from "./createLucideIcon-eXqDwUWj.js";
2
- /**
3
- * @license lucide-vue-next v0.514.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const o = c("check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
9
- export {
10
- o as C
11
- };
@@ -1,13 +0,0 @@
1
- import { c as o } from "./createLucideIcon-eXqDwUWj.js";
2
- /**
3
- * @license lucide-vue-next v0.514.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const n = o("chevron-down", [
9
- ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
10
- ]);
11
- export {
12
- n as C
13
- };
@@ -1,13 +0,0 @@
1
- import { c as e } from "./createLucideIcon-eXqDwUWj.js";
2
- /**
3
- * @license lucide-vue-next v0.514.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const t = e("chevron-left", [
9
- ["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
10
- ]);
11
- export {
12
- t as C
13
- };
@@ -1,13 +0,0 @@
1
- import { c as t } from "./createLucideIcon-eXqDwUWj.js";
2
- /**
3
- * @license lucide-vue-next v0.514.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const h = t("chevron-right", [
9
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
10
- ]);
11
- export {
12
- h as C
13
- };
@@ -1,13 +0,0 @@
1
- import { c } from "./createLucideIcon-eXqDwUWj.js";
2
- /**
3
- * @license lucide-vue-next v0.514.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const r = c("circle", [
9
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
10
- ]);
11
- export {
12
- r as C
13
- };
@@ -1,22 +0,0 @@
1
- function i(N, n = Number.NEGATIVE_INFINITY, r = Number.POSITIVE_INFINITY) {
2
- return Math.min(r, Math.max(n, N));
3
- }
4
- function u(N, n) {
5
- let r = N;
6
- const o = n.toString(), t = o.indexOf("."), e = t >= 0 ? o.length - t : 0;
7
- if (e > 0) {
8
- const a = 10 ** e;
9
- r = Math.round(r * a) / a;
10
- }
11
- return r;
12
- }
13
- function c(N, n, r, o) {
14
- n = Number(n), r = Number(r);
15
- const t = (N - (Number.isNaN(n) ? 0 : n)) % o;
16
- let e = u(Math.abs(t) * 2 >= o ? N + Math.sign(t) * (o - Math.abs(t)) : N - t, o);
17
- return Number.isNaN(n) ? !Number.isNaN(r) && e > r && (e = Math.floor(u(r / o, o)) * o) : e < n ? e = n : !Number.isNaN(r) && e > r && (e = n + Math.floor(u((r - n) / o, o)) * o), e = u(e, o), e;
18
- }
19
- export {
20
- i as c,
21
- c as s
22
- };