@wow-two-beta/fe 0.0.32 → 0.0.33

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 (47) hide show
  1. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js +155 -0
  2. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js.map +1 -0
  3. package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js → ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js} +70 -230
  4. package/dist/chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js.map +1 -0
  5. package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js} +87 -233
  6. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js.map +1 -0
  7. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js +216 -0
  8. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js.map +1 -0
  9. package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js → KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js} +177 -223
  10. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js.map +1 -0
  11. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js.map +1 -1
  12. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js +447 -0
  13. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js.map +1 -0
  14. package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js → TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js} +299 -108
  15. package/dist/chunks/TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js.map +1 -0
  16. package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js → UseTypedConfirmation-CvY2T4Up.js} +331 -582
  17. package/dist/chunks/UseTypedConfirmation-CvY2T4Up.js.map +1 -0
  18. package/dist/foundation/http/ApiDecoderExtensions.d.ts +22 -0
  19. package/dist/foundation/http/ApiFailureExtensions.d.ts +22 -0
  20. package/dist/foundation/http/ProblemDetailsExtensions.d.ts +31 -0
  21. package/dist/foundation/http/index.d.ts +3 -0
  22. package/dist/foundation/http/index.js +93 -2
  23. package/dist/foundation/http/index.js.map +1 -1
  24. package/dist/index.js +632 -627
  25. package/dist/index.js.map +1 -1
  26. package/dist/presentation/display/index.js +158 -157
  27. package/dist/presentation/display/index.js.map +1 -1
  28. package/dist/presentation/feedback/index.js +43 -42
  29. package/dist/presentation/feedback/index.js.map +1 -1
  30. package/dist/presentation/forms/index.d.ts +1 -0
  31. package/dist/presentation/forms/index.js +139 -137
  32. package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +1 -1
  33. package/dist/presentation/forms/typedConfirmField/TypedConfirmField.vue.d.ts +61 -0
  34. package/dist/presentation/forms/typedConfirmField/UseTypedConfirmation.d.ts +32 -0
  35. package/dist/presentation/forms/typedConfirmField/index.d.ts +2 -0
  36. package/dist/presentation/overlays/index.d.ts +1 -0
  37. package/dist/presentation/overlays/index.js +6 -5
  38. package/dist/presentation/overlays/typedConfirmModal/TypedConfirmModal.vue.d.ts +64 -0
  39. package/dist/presentation/overlays/typedConfirmModal/index.d.ts +1 -0
  40. package/package.json +1 -1
  41. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js.map +0 -1
  42. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js.map +0 -1
  43. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js.map +0 -1
  44. package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js.map +0 -1
  45. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js +0 -44
  46. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js.map +0 -1
  47. package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js.map +0 -1
@@ -1,31 +1,31 @@
1
- import { defineComponent, useAttrs, computed, useTemplateRef, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createElementVNode, createVNode, ref, createCommentVNode, toValue, createBlock, withCtx, createTextVNode, toDisplayString, nextTick, useSlots, renderSlot, createSlots, inject, watch, provide, shallowRef, Fragment, renderList, onBeforeUnmount, onMounted, normalizeStyle, onErrorCaptured, h, Teleport, withModifiers, useId as useId$1, toHandlers, resolveComponent, resolveDynamicComponent, withKeys, onUpdated } from "vue";
2
- import { x as useNativeFormReset, e as _sfc_main$23, c as _sfc_main$25, _ as _sfc_main$26, f as _sfc_main$28, y as buildMonthGrid, s as addDays, A as sundayIndex, B as addMonths, D as isSameDay, v as isToday, E as startOfMonth, p as today, F as isDateDisabled, G as formatISODate, H as parseISODate, I as normalizeMinuteStep, J as isTimeInBounds, K as clampTime, L as formatISODateTime, M as clampDate, N as parseISODateTime, O as clampDateTime, P as isDateTimeInBounds, Q as formatISOTime, R as isInRange, S as SwatchShape, a as _sfc_main$2g, b as ColorSwatchPreviewSize, g as _sfc_main$2i, U as daysInMonth, d as _sfc_main$2j, i as _sfc_main$2m, j as _sfc_main$2n, h as _sfc_main$2o } from "./FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js";
1
+ import { defineComponent, useAttrs, computed, useTemplateRef, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createElementVNode, createVNode, ref, createCommentVNode, toValue, createBlock, withCtx, createTextVNode, toDisplayString, nextTick, inject, useSlots, renderSlot, watch, provide, shallowRef, Fragment, renderList, onBeforeUnmount, onMounted, normalizeStyle, onErrorCaptured, h, Teleport, withModifiers, useId as useId$1, toHandlers, resolveComponent, resolveDynamicComponent, withKeys, onUpdated } from "vue";
2
+ import { u as useNativeFormReset, b as _sfc_main$24 } from "./FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js";
3
3
  import { c as cn } from "./Cn-C7De6POU.js";
4
4
  import { u as useControlled } from "./UseControlled-BQneb7BW.js";
5
- import { u as useSkeletonState, p as provideSkeletonState } from "./SkeletonStateContext-tVYMa6xt.js";
5
+ import { c as InputState, i as inputBaseVariants, R as ReadOnlyLook, j as listboxVariants, L as ListboxPickerItemState, f as listboxItemVariants, l as listboxGroupLabelVariants, h as listboxSeparatorVariants, g as listboxEmptyVariants, b as InputSize } from "./TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js";
6
6
  import { u as useFormControl } from "./FormControlContext-B71MFW26.js";
7
7
  import { Minus, Plus, EyeOff, Eye, Search, X, Upload, Check, Loader2, ChevronDown, ChevronLeft, ChevronRight, Calendar, CalendarClock, Clock, UploadCloud, Heading1, Heading2, Bold, Italic, Code, Link2, List, Quote, Copy, Zap, Wallet, Video, User, Trash, Tag, Sun, Star, ShoppingCart, Share2, Settings, Send, Play, Pin, Phone, Pencil, Paperclip, Music, Moon, Mic, MessageCircle, Map as Map$1, Mail, Lock, Lightbulb, Layers, Info, Inbox, Image, Home, Heart, Globe, Folder, File, ExternalLink, Edit, Download, Compass, Coffee, Cloud, Camera, Bookmark, Bell, Flag, Hash, Car, Bike, Utensils, PawPrint, Smile, Maximize, ChevronsRight, ChevronsLeft } from "lucide-vue-next";
8
8
  import { u as useLocaleDefaults } from "./UseLocaleDefaults-DnL2Ctbe.js";
9
- import { _ as _sfc_main$20 } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
9
+ import { _ as _sfc_main$1_ } from "./Icon.vue_vue_type_script_setup_true_lang-Ca4wsJw9.js";
10
+ import { u as useSkeletonState, p as provideSkeletonState } from "./SkeletonStateContext-tVYMa6xt.js";
10
11
  import { S as Size } from "./StyleTokens-Bkz7Dm5L.js";
11
- import { _ as _sfc_main$24 } from "./FieldErrorCallout.vue_vue_type_script_setup_true_lang-BRcaaXCd.js";
12
- import { _ as _sfc_main$22 } from "./FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js";
13
12
  import { u as useId } from "./UseId-CtgAhGrn.js";
13
+ import { _ as _sfc_main$21, d as _sfc_main$23, v as buildMonthGrid, q as addDays, w as sundayIndex, x as addMonths, y as isSameDay, r as isToday, A as startOfMonth, l as today, B as isDateDisabled, D as formatISODate, E as parseISODate, F as normalizeMinuteStep, G as isTimeInBounds, H as clampTime, I as formatISODateTime, J as clampDate, K as parseISODateTime, L as clampDateTime, M as isDateTimeInBounds, N as formatISOTime, O as isInRange, S as SwatchShape, a as _sfc_main$2c, b as ColorSwatchPreviewSize, e as _sfc_main$2e, P as daysInMonth, c as _sfc_main$2f, g as _sfc_main$2i, h as _sfc_main$2j, f as _sfc_main$2k } from "./ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js";
14
+ import { _ as _sfc_main$20 } from "./FormControlProvider.vue_vue_type_script_setup_true_lang-D_yikT2o.js";
14
15
  import { S as Side } from "./Side-Kw61CDou.js";
15
16
  import { O as Orientation } from "./Orientation-u-sYunuG.js";
16
- import { _ as _sfc_main$27, a as _sfc_main$2k } from "./StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js";
17
+ import { _ as _sfc_main$22, a as _sfc_main$2g } from "./StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js";
17
18
  import { u as useLocale } from "./LocaleContext-B7vUZmX-.js";
18
- import { d as listboxVariants, L as ListboxPickerItemState, a as listboxItemVariants, l as listboxGroupLabelVariants, c as listboxSeparatorVariants, b as listboxEmptyVariants } from "./ListboxPicker.variants-hiMcl66_.js";
19
- import { _ as _sfc_main$29, b as _sfc_main$2b, a as _sfc_main$2c } from "./PopoverContent.vue_vue_type_script_setup_true_lang-iUlvOlO9.js";
19
+ import { _ as _sfc_main$25, b as _sfc_main$27, a as _sfc_main$28 } from "./PopoverContent.vue_vue_type_script_setup_true_lang-iUlvOlO9.js";
20
20
  import { A as AriaAttribute } from "./AriaAttribute-CmUjjXjp.js";
21
21
  import { D as DomOrderExtensions } from "./DomOrderExtensions-Czsyvn6e.js";
22
22
  import { s as surfaceVariants } from "./SurfaceStyles-DUVz963_.js";
23
- import { _ as _sfc_main$2d } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
23
+ import { _ as _sfc_main$29 } from "./Portal.vue_vue_type_script_setup_true_lang-C2_xSIMy.js";
24
24
  import { P as Presence } from "./Presence-DDk0ZtAr.js";
25
- import { _ as _sfc_main$2e } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
26
- import { _ as _sfc_main$2f } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
25
+ import { _ as _sfc_main$2a } from "./AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
26
+ import { _ as _sfc_main$2b } from "./DismissableLayer.vue_vue_type_script_setup_true_lang-B8hZrhek.js";
27
27
  import { Temporal } from "temporal-polyfill";
28
- import { b as useRovingFocusItem, _ as _sfc_main$2h, O as Orientation$1 } from "./RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js";
28
+ import { b as useRovingFocusItem, _ as _sfc_main$2d, O as Orientation$1 } from "./RovingFocusGroup.vue_vue_type_script_setup_true_lang-DVRYYua_.js";
29
29
  import { a as matchesAcceptType, m as matchesAccept } from "./Accept-BWpCXDmS.js";
30
30
  import { U as UrlExtensions } from "./UrlExtensions-DqgLm0KY.js";
31
31
  import { Marked } from "marked";
@@ -35,190 +35,20 @@ import { a as ColorTone } from "./ColorExtensions-DiCSaVbJ.js";
35
35
  import { a as EmojiCategory, E as EmojiCatalog } from "./EmojiCatalog-BZxsd9fO.js";
36
36
  import { K as Key } from "./Key-CQlkK53D.js";
37
37
  import { a as useRecentItems } from "./UseRecentItems-BV7p4em6.js";
38
- import { _ as _sfc_main$2l, a as ButtonVariant, B as ButtonShape } from "./Button.vue_vue_type_script_setup_true_lang-CAbPBMuc.js";
38
+ import { _ as _sfc_main$2h, a as ButtonVariant, B as ButtonShape } from "./Button.vue_vue_type_script_setup_true_lang-CAbPBMuc.js";
39
39
  import { tv } from "tailwind-variants";
40
40
  import { S as SkeletonStateLine } from "./SkeletonStateLine-anGWn2Vm.js";
41
41
  import { E as ExactNumber } from "./ExactNumber-CboRl3_0.js";
42
42
  import { R as ResultExtensions } from "./ResultExtensions-B7dWH0FZ.js";
43
43
  import { E as Equality } from "./Equality-BabbLMBX.js";
44
44
  import { u as useTypeahead } from "./UseTypeahead-C-y7nBo2.js";
45
- import { _ as _sfc_main$2a } from "./Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js";
45
+ import { _ as _sfc_main$26 } from "./Announce.vue_vue_type_script_setup_true_lang-DbqODft3.js";
46
46
  import { u as useResizeObserver } from "./UseResizeObserver-Des0Rurq.js";
47
- import { _ as _sfc_main$21 } from "./VisuallyHidden.vue_vue_type_script_setup_true_lang-SZseKI7j.js";
47
+ import { _ as _sfc_main$1$ } from "./VisuallyHidden.vue_vue_type_script_setup_true_lang-SZseKI7j.js";
48
48
  import { ImageEditRecipeExtensions } from "../domain/imageEditing/index.js";
49
49
  import { c as createSnapshotHistory, u as useHistoryVersion } from "./UseUndoHistory-C0ASU3yD.js";
50
- const inputBaseVariants = tv({
51
- base: "flex w-full rounded-md bg-field text-foreground placeholder:text-subtle-foreground transition-colors focus-visible:outline-hidden focus-visible:ring-ring disabled:cursor-not-allowed disabled:bg-muted disabled:opacity-60 readonly:cursor-default readonly:bg-muted readonly:text-muted-foreground readonly:focus-visible:ring-1",
52
- variants: {
53
- size: {
54
- xs: "h-7 px-2 text-xs",
55
- sm: "h-8 px-2.5 text-sm",
56
- md: "h-10 px-3 text-sm",
57
- lg: "h-12 px-4 text-base"
58
- },
59
- state: {
60
- default: "border-input hover:border-border-strong readonly:hover:border-input readonly:focus-visible:ring-muted-foreground",
61
- invalid: "border-destructive-soft-foreground focus-visible:ring-destructive-soft-foreground"
62
- },
63
- /* Border weight — scale like `size`/`radius`; default `sm` (1px). */
64
- border: {
65
- none: "border-0",
66
- xs: "border-[0.5px]",
67
- sm: "border",
68
- md: "border-2",
69
- lg: "border-4",
70
- xl: "border-8"
71
- },
72
- /* Focus-ring weight — default `md` (2px); `sm` for a hairline focus. */
73
- ring: {
74
- none: "focus-visible:ring-0",
75
- sm: "focus-visible:ring-1",
76
- md: "focus-visible:ring-2",
77
- lg: "focus-visible:ring-4"
78
- }
79
- },
80
- /* A caller that turned the focus ring off keeps it off while the control is read-only. */
81
- compoundVariants: [{ ring: "none", class: "readonly:focus-visible:ring-0" }],
82
- defaultVariants: {
83
- size: "md",
84
- state: "default",
85
- border: "sm",
86
- ring: "md"
87
- }
88
- });
89
- const ReadOnlyLook = "readonly:cursor-default readonly:bg-muted readonly:text-muted-foreground readonly:hover:bg-muted readonly:focus-visible:ring-1 readonly:focus-visible:ring-muted-foreground";
90
- const InputSize = {
91
- /** Refers to the extra-small step (h-7). */
92
- Xs: "xs",
93
- /** Refers to the small step (h-8). */
94
- Sm: "sm",
95
- /** Refers to the medium (default) step (h-10). */
96
- Md: "md",
97
- /** Refers to the large step (h-12). */
98
- Lg: "lg"
99
- };
100
- const InputState = {
101
- /** Refers to the default (valid / untouched) surface. */
102
- Default: "default",
103
- /** Refers to the invalid surface (destructive border + ring). */
104
- Invalid: "invalid"
105
- };
106
- const InputBorder = {
107
- /** Refers to no border. */
108
- None: "none",
109
- /** Refers to a 0.5px hairline border. */
110
- Xs: "xs",
111
- /** Refers to a 1px border (default). */
112
- Sm: "sm",
113
- /** Refers to a 2px border. */
114
- Md: "md",
115
- /** Refers to a 4px border. */
116
- Lg: "lg",
117
- /** Refers to an 8px border. */
118
- Xl: "xl"
119
- };
120
- const InputRing = {
121
- /** Refers to no focus ring. */
122
- None: "none",
123
- /** Refers to a 1px focus ring. */
124
- Sm: "sm",
125
- /** Refers to a 2px focus ring (default). */
126
- Md: "md",
127
- /** Refers to a 4px focus ring. */
128
- Lg: "lg"
129
- };
130
- const _hoisted_1$1G = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby", "data-skeleton", "inert"];
131
- const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
132
- ...{ name: "TextInput", inheritAttrs: false },
133
- __name: "TextInput",
134
- props: {
135
- size: {},
136
- state: {},
137
- border: {},
138
- ring: {},
139
- modelValue: {},
140
- defaultValue: {},
141
- id: {},
142
- isDisabled: { type: Boolean, default: void 0 },
143
- disabled: { type: Boolean, default: void 0 },
144
- isRequired: { type: Boolean, default: void 0 },
145
- required: { type: Boolean, default: void 0 },
146
- isReadOnly: { type: Boolean, default: void 0 },
147
- readOnly: { type: Boolean, default: void 0 },
148
- readonly: { type: Boolean, default: void 0 },
149
- isSkeleton: { type: Boolean, default: void 0 }
150
- },
151
- emits: ["update:modelValue"],
152
- setup(__props, { expose: __expose, emit: __emit }) {
153
- const props = __props;
154
- const emit = __emit;
155
- const attrs = useAttrs();
156
- const ctx = useFormControl();
157
- const controlled = useControlled({
158
- controlled: () => props.modelValue,
159
- default: () => props.defaultValue ?? "",
160
- onChange: (next) => {
161
- emit("update:modelValue", String(next));
162
- }
163
- });
164
- const currentValue = controlled.value;
165
- function onInput(event) {
166
- if (event.isComposing) return;
167
- controlled.setValue(event.target.value);
168
- }
169
- const finalState = computed(() => props.state ?? (ctx?.isInvalid ? InputState.Invalid : InputState.Default));
170
- const inputId = computed(() => props.id ?? ctx?.id);
171
- const finalDisabled = computed(() => props.isDisabled ?? props.disabled ?? ctx?.isDisabled);
172
- const finalRequired = computed(() => props.isRequired ?? props.required ?? ctx?.isRequired);
173
- const finalReadOnly = computed(() => props.isReadOnly ?? props.readonly ?? props.readOnly ?? ctx?.isReadOnly);
174
- const isInvalid = computed(() => ctx?.isInvalid || void 0);
175
- const describedBy = computed(() => ctx?.describedBy);
176
- const OwnedAttributes = /* @__PURE__ */ new Set(["class", "value"]);
177
- const passthroughAttrs = computed(
178
- () => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key)))
179
- );
180
- const skeleton = useSkeletonState(() => props.isSkeleton);
181
- const rootClass = computed(
182
- () => cn(
183
- inputBaseVariants({
184
- size: props.size,
185
- state: finalState.value,
186
- border: props.border,
187
- ring: props.ring
188
- }),
189
- attrs.class,
190
- skeleton.boxClass.value
191
- )
192
- );
193
- const root = useTemplateRef("root");
194
- useNativeFormReset(root, controlled.reset, () => {
195
- if (root.value) root.value.value = String(currentValue.value ?? "");
196
- });
197
- __expose({ el: root });
198
- return (_ctx, _cache) => {
199
- return openBlock(), createElementBlock("input", mergeProps({
200
- ref_key: "root",
201
- ref: root,
202
- type: "text",
203
- id: inputId.value,
204
- value: unref(currentValue),
205
- disabled: finalDisabled.value,
206
- required: finalRequired.value,
207
- readonly: finalReadOnly.value,
208
- "aria-invalid": isInvalid.value,
209
- "aria-describedby": describedBy.value,
210
- "data-skeleton": unref(skeleton).isSkeleton.value || void 0,
211
- inert: unref(skeleton).isSkeleton.value || void 0,
212
- class: rootClass.value
213
- }, passthroughAttrs.value, {
214
- onInput,
215
- onCompositionend: onInput
216
- }), null, 16, _hoisted_1$1G);
217
- };
218
- }
219
- });
220
- const _hoisted_1$1F = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
221
- const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
50
+ const _hoisted_1$1E = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
51
+ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
222
52
  ...{ name: "EmailInput", inheritAttrs: false },
223
53
  __name: "EmailInput",
224
54
  props: {
@@ -301,12 +131,12 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
301
131
  }, passthroughAttrs.value, {
302
132
  onInput,
303
133
  onCompositionend: onInput
304
- }), null, 16, _hoisted_1$1F);
134
+ }), null, 16, _hoisted_1$1E);
305
135
  };
306
136
  }
307
137
  });
308
- const _hoisted_1$1E = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
309
- const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
138
+ const _hoisted_1$1D = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
139
+ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
310
140
  ...{ name: "TelInput", inheritAttrs: false },
311
141
  __name: "TelInput",
312
142
  props: {
@@ -388,12 +218,12 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
388
218
  }, passthroughAttrs.value, {
389
219
  onInput,
390
220
  onCompositionend: onInput
391
- }), null, 16, _hoisted_1$1E);
221
+ }), null, 16, _hoisted_1$1D);
392
222
  };
393
223
  }
394
224
  });
395
- const _hoisted_1$1D = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
396
- const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
225
+ const _hoisted_1$1C = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
226
+ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
397
227
  ...{ name: "UrlInput", inheritAttrs: false },
398
228
  __name: "UrlInput",
399
229
  props: {
@@ -476,15 +306,15 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
476
306
  }, passthroughAttrs.value, {
477
307
  onInput,
478
308
  onCompositionend: onInput
479
- }), null, 16, _hoisted_1$1D);
309
+ }), null, 16, _hoisted_1$1C);
480
310
  };
481
311
  }
482
312
  });
483
- const _hoisted_1$1C = ["step", "id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
313
+ const _hoisted_1$1B = ["step", "id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
484
314
  const _hoisted_2$1b = { class: "absolute right-1 top-1/2 flex -translate-y-1/2 items-center" };
485
315
  const _hoisted_3$N = ["disabled", "aria-label"];
486
316
  const _hoisted_4$D = ["disabled", "aria-label"];
487
- const _sfc_main$1X = /* @__PURE__ */ defineComponent({
317
+ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
488
318
  ...{ name: "NumberInput", inheritAttrs: false },
489
319
  __name: "NumberInput",
490
320
  props: {
@@ -592,7 +422,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
592
422
  }, passthroughAttrs.value, {
593
423
  onInput,
594
424
  onCompositionend: onInput
595
- }), null, 16, _hoisted_1$1C),
425
+ }), null, 16, _hoisted_1$1B),
596
426
  createElementVNode("div", _hoisted_2$1b, [
597
427
  createElementVNode("button", {
598
428
  type: "button",
@@ -601,7 +431,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
601
431
  class: "grid h-7 w-6 place-items-center rounded text-muted-foreground hover:bg-muted disabled:opacity-50",
602
432
  onClick: _cache[0] || (_cache[0] = ($event) => adjust(-1))
603
433
  }, [
604
- createVNode(unref(_sfc_main$20), {
434
+ createVNode(unref(_sfc_main$1_), {
605
435
  icon: unref(MinusIcon),
606
436
  size: 14
607
437
  }, null, 8, ["icon"])
@@ -613,7 +443,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
613
443
  class: "grid h-7 w-6 place-items-center rounded text-muted-foreground hover:bg-muted disabled:opacity-50",
614
444
  onClick: _cache[1] || (_cache[1] = ($event) => adjust(1))
615
445
  }, [
616
- createVNode(unref(_sfc_main$20), {
446
+ createVNode(unref(_sfc_main$1_), {
617
447
  icon: unref(PlusIcon),
618
448
  size: 14
619
449
  }, null, 8, ["icon"])
@@ -623,9 +453,9 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
623
453
  };
624
454
  }
625
455
  });
626
- const _hoisted_1$1B = ["type", "autocomplete", "id", "disabled", "required", "readonly", "value", "aria-invalid", "aria-describedby"];
456
+ const _hoisted_1$1A = ["type", "autocomplete", "id", "disabled", "required", "readonly", "value", "aria-invalid", "aria-describedby"];
627
457
  const _hoisted_2$1a = ["disabled", "aria-label", "aria-pressed"];
628
- const _sfc_main$1W = /* @__PURE__ */ defineComponent({
458
+ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
629
459
  ...{ name: "PasswordInput", inheritAttrs: false },
630
460
  __name: "PasswordInput",
631
461
  props: {
@@ -723,7 +553,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
723
553
  }, passthroughAttrs.value, {
724
554
  onInput,
725
555
  onCompositionend: onInput
726
- }), null, 16, _hoisted_1$1B),
556
+ }), null, 16, _hoisted_1$1A),
727
557
  __props.hasToggle ? (openBlock(), createElementBlock("button", {
728
558
  key: 0,
729
559
  type: "button",
@@ -733,7 +563,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
733
563
  class: "absolute right-1 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded text-muted-foreground hover:bg-muted disabled:opacity-50",
734
564
  onClick: toggle
735
565
  }, [
736
- createVNode(unref(_sfc_main$20), {
566
+ createVNode(unref(_sfc_main$1_), {
737
567
  icon: toggleIcon.value,
738
568
  size: 16
739
569
  }, null, 8, ["icon"])
@@ -742,9 +572,9 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
742
572
  };
743
573
  }
744
574
  });
745
- const _hoisted_1$1A = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
575
+ const _hoisted_1$1z = ["id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby"];
746
576
  const _hoisted_2$19 = ["disabled", "aria-label"];
747
- const _sfc_main$1V = /* @__PURE__ */ defineComponent({
577
+ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
748
578
  ...{ name: "SearchInput", inheritAttrs: false },
749
579
  __name: "SearchInput",
750
580
  props: {
@@ -831,7 +661,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
831
661
  return openBlock(), createElementBlock("div", {
832
662
  class: normalizeClass(wrapperClass.value)
833
663
  }, [
834
- createVNode(unref(_sfc_main$20), {
664
+ createVNode(unref(_sfc_main$1_), {
835
665
  icon: unref(SearchIcon),
836
666
  size: 16,
837
667
  class: "absolute left-3 top-1/2 -translate-y-1/2 text-subtle-foreground"
@@ -851,7 +681,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
851
681
  }, passthroughAttrs.value, {
852
682
  onInput,
853
683
  onCompositionend: onInput
854
- }), null, 16, _hoisted_1$1A),
684
+ }), null, 16, _hoisted_1$1z),
855
685
  showClear.value ? (openBlock(), createElementBlock("button", {
856
686
  key: 0,
857
687
  type: "button",
@@ -860,7 +690,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
860
690
  class: "absolute right-1 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded text-subtle-foreground hover:bg-muted hover:text-muted-foreground",
861
691
  onClick: handleClear
862
692
  }, [
863
- createVNode(unref(_sfc_main$20), {
693
+ createVNode(unref(_sfc_main$1_), {
864
694
  icon: unref(ClearIcon),
865
695
  size: 14
866
696
  }, null, 8, ["icon"])
@@ -869,8 +699,8 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
869
699
  };
870
700
  }
871
701
  });
872
- const _hoisted_1$1z = ["rows", "id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby", "data-skeleton", "inert"];
873
- const _sfc_main$1U = /* @__PURE__ */ defineComponent({
702
+ const _hoisted_1$1y = ["rows", "id", "value", "disabled", "required", "readonly", "aria-invalid", "aria-describedby", "data-skeleton", "inert"];
703
+ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
874
704
  ...{ name: "TextAreaInput", inheritAttrs: false },
875
705
  __name: "TextAreaInput",
876
706
  props: {
@@ -958,7 +788,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
958
788
  }, passthroughAttrs.value, {
959
789
  onInput,
960
790
  onCompositionend: onInput
961
- }), null, 16, _hoisted_1$1z);
791
+ }), null, 16, _hoisted_1$1y);
962
792
  };
963
793
  }
964
794
  });
@@ -974,7 +804,7 @@ function useReadOnlyHint(isReadOnly) {
974
804
  }
975
805
  };
976
806
  }
977
- const _sfc_main$1T = /* @__PURE__ */ defineComponent({
807
+ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
978
808
  ...{ name: "ReadOnlyHint" },
979
809
  __name: "ReadOnlyHint",
980
810
  props: {
@@ -984,7 +814,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
984
814
  const props = __props;
985
815
  const locale = useLocale();
986
816
  return (_ctx, _cache) => {
987
- return openBlock(), createBlock(unref(_sfc_main$21), {
817
+ return openBlock(), createBlock(unref(_sfc_main$1$), {
988
818
  id: props.id
989
819
  }, {
990
820
  default: withCtx(() => [
@@ -995,14 +825,14 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
995
825
  };
996
826
  }
997
827
  });
998
- const _hoisted_1$1y = ["data-skeleton", "inert"];
828
+ const _hoisted_1$1x = ["data-skeleton", "inert"];
999
829
  const _hoisted_2$18 = ["id", "disabled", "required", "checked", "aria-invalid", "aria-describedby", "data-readonly"];
1000
830
  const SizeClass$4 = {
1001
831
  sm: "h-4 w-4",
1002
832
  md: "h-5 w-5",
1003
833
  lg: "h-6 w-6"
1004
834
  };
1005
- const _sfc_main$1S = /* @__PURE__ */ defineComponent({
835
+ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
1006
836
  ...{ name: "RadioInput", inheritAttrs: false },
1007
837
  __name: "RadioInput",
1008
838
  props: {
@@ -1102,15 +932,15 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
1102
932
  }, [..._cache[1] || (_cache[1] = [
1103
933
  createElementVNode("span", { class: "h-2 w-2 rounded-full bg-primary-soft-foreground" }, null, -1)
1104
934
  ])], 2),
1105
- finalReadOnly.value ? (openBlock(), createBlock(_sfc_main$1T, {
935
+ finalReadOnly.value ? (openBlock(), createBlock(_sfc_main$1S, {
1106
936
  key: 0,
1107
937
  id: unref(readOnlyHint).hintId
1108
938
  }, null, 8, ["id"])) : createCommentVNode("", true)
1109
- ], 10, _hoisted_1$1y);
939
+ ], 10, _hoisted_1$1x);
1110
940
  };
1111
941
  }
1112
942
  });
1113
- const _hoisted_1$1x = ["data-skeleton", "inert"];
943
+ const _hoisted_1$1w = ["data-skeleton", "inert"];
1114
944
  const _hoisted_2$17 = ["id", "disabled", "required", "checked", "aria-invalid", "aria-readonly"];
1115
945
  const TrackClass$2 = {
1116
946
  sm: "h-4 w-7",
@@ -1127,7 +957,7 @@ const TrackCheckedClass = {
1127
957
  md: "peer-checked:[&>span]:translate-x-4",
1128
958
  lg: "peer-checked:[&>span]:translate-x-5"
1129
959
  };
1130
- const _sfc_main$1R = /* @__PURE__ */ defineComponent({
960
+ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1131
961
  ...{ name: "SwitchInput", inheritAttrs: false },
1132
962
  __name: "SwitchInput",
1133
963
  props: {
@@ -1228,17 +1058,17 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
1228
1058
  class: normalizeClass(thumbClass.value)
1229
1059
  }, null, 2)
1230
1060
  ], 2)
1231
- ], 10, _hoisted_1$1x);
1061
+ ], 10, _hoisted_1$1w);
1232
1062
  };
1233
1063
  }
1234
1064
  });
1235
- const _hoisted_1$1w = ["id", "disabled", "required", "min", "max", "value", "aria-invalid", "aria-describedby", "aria-readonly"];
1065
+ const _hoisted_1$1v = ["id", "disabled", "required", "min", "max", "value", "aria-invalid", "aria-describedby", "aria-readonly"];
1236
1066
  const TrackClass$1 = {
1237
1067
  sm: "[&::-webkit-slider-runnable-track]:h-1 [&::-moz-range-track]:h-1",
1238
1068
  md: "[&::-webkit-slider-runnable-track]:h-1.5 [&::-moz-range-track]:h-1.5",
1239
1069
  lg: "[&::-webkit-slider-runnable-track]:h-2 [&::-moz-range-track]:h-2"
1240
1070
  };
1241
- const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1071
+ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
1242
1072
  ...{ name: "SliderInput", inheritAttrs: false },
1243
1073
  __name: "SliderInput",
1244
1074
  props: {
@@ -1326,98 +1156,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
1326
1156
  onPointerdown: _cache[0] || (_cache[0] = ($event) => finalReadOnly.value && $event.preventDefault()),
1327
1157
  onKeydown: _cache[1] || (_cache[1] = ($event) => finalReadOnly.value && $event.preventDefault()),
1328
1158
  onCompositionend: onInput
1329
- }), null, 16, _hoisted_1$1w);
1330
- };
1331
- }
1332
- });
1333
- const _hoisted_1$1v = ["data-skeleton", "aria-busy"];
1334
- const _sfc_main$1P = /* @__PURE__ */ defineComponent({
1335
- ...{ name: "Field", inheritAttrs: false },
1336
- __name: "Field",
1337
- props: {
1338
- label: {},
1339
- helper: {},
1340
- error: {},
1341
- isRequired: { type: Boolean, default: void 0 },
1342
- isDisabled: { type: Boolean, default: void 0 },
1343
- isReadOnly: { type: Boolean, default: void 0 },
1344
- isSkeleton: { type: Boolean, default: void 0 }
1345
- },
1346
- setup(__props, { expose: __expose }) {
1347
- const props = __props;
1348
- const skeleton = useSkeletonState(() => props.isSkeleton);
1349
- provideSkeletonState(skeleton);
1350
- const attrs = useAttrs();
1351
- const slots = useSlots();
1352
- const parent = useFormControl();
1353
- const hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));
1354
- const hasHelper = computed(() => Boolean(props.helper) || Boolean(slots.helper));
1355
- const hasOwnError = computed(() => Boolean(props.error) || Boolean(slots.error));
1356
- const showError = computed(
1357
- () => hasOwnError.value || (parent?.errors?.length ?? 0) > 0 && (parent?.isInvalid ?? false)
1358
- );
1359
- const parentId = computed(() => parent?.id);
1360
- const parentErrors = computed(() => parent?.errors);
1361
- const isInvalid = computed(() => hasOwnError.value || (parent?.isInvalid ?? false));
1362
- const isRequired = computed(() => props.isRequired ?? parent?.isRequired);
1363
- const isDisabled = computed(() => props.isDisabled ?? parent?.isDisabled);
1364
- const isReadOnly = computed(() => props.isReadOnly ?? parent?.isReadOnly);
1365
- const OwnedAttributes = /* @__PURE__ */ new Set(["class"]);
1366
- const passthroughAttrs = computed(
1367
- () => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key)))
1368
- );
1369
- const rootClass = computed(() => cn("flex flex-col gap-1.5", attrs.class));
1370
- const root = useTemplateRef("root");
1371
- __expose({ el: root });
1372
- return (_ctx, _cache) => {
1373
- return openBlock(), createBlock(unref(_sfc_main$22), {
1374
- id: parentId.value,
1375
- errors: parentErrors.value,
1376
- "is-invalid": isInvalid.value,
1377
- "is-required": isRequired.value,
1378
- "is-disabled": isDisabled.value,
1379
- "is-read-only": isReadOnly.value
1380
- }, {
1381
- default: withCtx(() => [
1382
- createElementVNode("div", mergeProps({
1383
- ref_key: "root",
1384
- ref: root,
1385
- "data-skeleton": unref(skeleton).isSkeleton.value || void 0,
1386
- "aria-busy": props.isSkeleton || void 0,
1387
- class: rootClass.value
1388
- }, passthroughAttrs.value), [
1389
- hasLabel.value ? (openBlock(), createBlock(_sfc_main$23, { key: 0 }, {
1390
- default: withCtx(() => [
1391
- renderSlot(_ctx.$slots, "label", {}, () => [
1392
- createTextVNode(toDisplayString(__props.label), 1)
1393
- ])
1394
- ]),
1395
- _: 3
1396
- })) : createCommentVNode("", true),
1397
- renderSlot(_ctx.$slots, "default"),
1398
- showError.value ? (openBlock(), createBlock(_sfc_main$24, {
1399
- key: 1,
1400
- message: hasOwnError.value ? __props.error : void 0
1401
- }, createSlots({ _: 2 }, [
1402
- hasOwnError.value && _ctx.$slots.error ? {
1403
- name: "default",
1404
- fn: withCtx(() => [
1405
- renderSlot(_ctx.$slots, "error")
1406
- ]),
1407
- key: "0"
1408
- } : void 0
1409
- ]), 1032, ["message"])) : hasHelper.value ? (openBlock(), createBlock(_sfc_main$25, { key: 2 }, {
1410
- default: withCtx(() => [
1411
- renderSlot(_ctx.$slots, "helper", {}, () => [
1412
- createTextVNode(toDisplayString(__props.helper), 1)
1413
- ])
1414
- ]),
1415
- _: 3
1416
- })) : createCommentVNode("", true)
1417
- ], 16, _hoisted_1$1v)
1418
- ]),
1419
- _: 3
1420
- }, 8, ["id", "errors", "is-invalid", "is-required", "is-disabled", "is-read-only"]);
1159
+ }), null, 16, _hoisted_1$1v);
1421
1160
  };
1422
1161
  }
1423
1162
  });
@@ -1495,13 +1234,13 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
1495
1234
  for: inputId.value,
1496
1235
  class: normalizeClass(wrapperClass.value)
1497
1236
  }, [
1498
- isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$22), {
1237
+ isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$20), {
1499
1238
  key: 0,
1500
1239
  "is-disabled": groupDisabled.value,
1501
1240
  "is-invalid": groupInvalid.value
1502
1241
  }, {
1503
1242
  default: withCtx(() => [
1504
- createVNode(_sfc_main$26, mergeProps({
1243
+ createVNode(_sfc_main$21, mergeProps({
1505
1244
  ref_key: "inner",
1506
1245
  ref: inner
1507
1246
  }, { ...checkboxProps.value, ...passthroughAttrs.value }, {
@@ -1512,7 +1251,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
1512
1251
  }), null, 16, ["id", "model-value", "class"])
1513
1252
  ]),
1514
1253
  _: 1
1515
- }, 8, ["is-disabled", "is-invalid"])) : (openBlock(), createBlock(_sfc_main$26, mergeProps({
1254
+ }, 8, ["is-disabled", "is-invalid"])) : (openBlock(), createBlock(_sfc_main$21, mergeProps({
1516
1255
  key: 1,
1517
1256
  ref_key: "inner",
1518
1257
  ref: inner
@@ -1616,14 +1355,14 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
1616
1355
  for: inputId.value,
1617
1356
  class: normalizeClass(wrapperClass.value)
1618
1357
  }, [
1619
- isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$22), {
1358
+ isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$20), {
1620
1359
  key: 0,
1621
1360
  "is-disabled": groupDisabled.value,
1622
1361
  "is-invalid": groupInvalid.value,
1623
1362
  "is-required": groupRequired.value
1624
1363
  }, {
1625
1364
  default: withCtx(() => [
1626
- createVNode(_sfc_main$1S, mergeProps({
1365
+ createVNode(_sfc_main$1R, mergeProps({
1627
1366
  ref_key: "inner",
1628
1367
  ref: inner
1629
1368
  }, { ...radioProps.value, ...passthroughAttrs.value }, {
@@ -1635,7 +1374,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
1635
1374
  }), null, 16, ["id", "name", "model-value", "class"])
1636
1375
  ]),
1637
1376
  _: 1
1638
- }, 8, ["is-disabled", "is-invalid", "is-required"])) : (openBlock(), createBlock(_sfc_main$1S, mergeProps({
1377
+ }, 8, ["is-disabled", "is-invalid", "is-required"])) : (openBlock(), createBlock(_sfc_main$1R, mergeProps({
1639
1378
  key: 1,
1640
1379
  ref_key: "inner",
1641
1380
  ref: inner
@@ -1717,7 +1456,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
1717
1456
  for: inputId.value,
1718
1457
  class: normalizeClass(wrapperClass.value)
1719
1458
  }, [
1720
- createVNode(_sfc_main$1R, mergeProps({
1459
+ createVNode(_sfc_main$1Q, mergeProps({
1721
1460
  ref_key: "inner",
1722
1461
  ref: inner
1723
1462
  }, { ...switchProps.value, ...passthroughAttrs.value }, {
@@ -1801,7 +1540,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
1801
1540
  controlled.reset();
1802
1541
  });
1803
1542
  return (_ctx, _cache) => {
1804
- return openBlock(), createBlock(_sfc_main$27, mergeProps({
1543
+ return openBlock(), createBlock(_sfc_main$22, mergeProps({
1805
1544
  key: unref(formResetRevision),
1806
1545
  ref_key: "root",
1807
1546
  ref: root,
@@ -1813,7 +1552,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
1813
1552
  class: rootClass.value
1814
1553
  }, passthroughAttrs.value), {
1815
1554
  default: withCtx(() => [
1816
- hasLegend.value ? (openBlock(), createBlock(_sfc_main$28, { key: 0 }, {
1555
+ hasLegend.value ? (openBlock(), createBlock(_sfc_main$23, { key: 0 }, {
1817
1556
  default: withCtx(() => [
1818
1557
  renderSlot(_ctx.$slots, "legend", {}, () => [
1819
1558
  createTextVNode(toDisplayString(__props.legend), 1)
@@ -1907,7 +1646,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1907
1646
  controlled.reset();
1908
1647
  });
1909
1648
  return (_ctx, _cache) => {
1910
- return openBlock(), createBlock(_sfc_main$27, mergeProps({
1649
+ return openBlock(), createBlock(_sfc_main$22, mergeProps({
1911
1650
  key: unref(formResetRevision),
1912
1651
  ref_key: "root",
1913
1652
  ref: root,
@@ -1920,7 +1659,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
1920
1659
  class: rootClass.value
1921
1660
  }, passthroughAttrs.value), {
1922
1661
  default: withCtx(() => [
1923
- hasLegend.value ? (openBlock(), createBlock(_sfc_main$28, { key: 0 }, {
1662
+ hasLegend.value ? (openBlock(), createBlock(_sfc_main$23, { key: 0 }, {
1924
1663
  default: withCtx(() => [
1925
1664
  renderSlot(_ctx.$slots, "legend", {}, () => [
1926
1665
  createTextVNode(toDisplayString(__props.legend), 1)
@@ -2268,7 +2007,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
2268
2007
  class: normalizeClass(wrapperClass.value)
2269
2008
  }, [
2270
2009
  createElementVNode("span", _hoisted_1$1n, toDisplayString(__props.symbol), 1),
2271
- createVNode(_sfc_main$1X, mergeProps({
2010
+ createVNode(_sfc_main$1W, mergeProps({
2272
2011
  ref_key: "inner",
2273
2012
  ref: inner
2274
2013
  }, { ...numberProps.value, ...passthroughAttrs.value }, { class: "pl-7" }), null, 16)
@@ -2312,7 +2051,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
2312
2051
  return openBlock(), createElementBlock("div", {
2313
2052
  class: normalizeClass(wrapperClass.value)
2314
2053
  }, [
2315
- createVNode(_sfc_main$1X, mergeProps({
2054
+ createVNode(_sfc_main$1W, mergeProps({
2316
2055
  ref_key: "inner",
2317
2056
  ref: inner
2318
2057
  }, { ...props, ...passthroughAttrs.value }, { class: "pr-16" }), null, 16),
@@ -2353,7 +2092,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
2353
2092
  class: rootClass.value
2354
2093
  }, passthroughAttrs.value), [
2355
2094
  createElementVNode("div", _hoisted_1$1m, [
2356
- createVNode(_sfc_main$23, { for: unref(generatedId) }, {
2095
+ createVNode(_sfc_main$24, { for: unref(generatedId) }, {
2357
2096
  default: withCtx(() => [
2358
2097
  renderSlot(_ctx.$slots, "label", {}, () => [
2359
2098
  createTextVNode(toDisplayString(__props.label), 1)
@@ -2460,14 +2199,14 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2460
2199
  for: inputId.value,
2461
2200
  class: normalizeClass(rootClass.value)
2462
2201
  }, [
2463
- isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$22), {
2202
+ isInGroup.value ? (openBlock(), createBlock(unref(_sfc_main$20), {
2464
2203
  key: 0,
2465
2204
  "is-disabled": groupDisabled.value,
2466
2205
  "is-invalid": groupInvalid.value,
2467
2206
  "is-required": groupRequired.value
2468
2207
  }, {
2469
2208
  default: withCtx(() => [
2470
- createVNode(_sfc_main$1S, mergeProps({
2209
+ createVNode(_sfc_main$1R, mergeProps({
2471
2210
  ref_key: "inner",
2472
2211
  ref: inner
2473
2212
  }, { ...radioProps.value, ...passthroughAttrs.value }, {
@@ -2479,7 +2218,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
2479
2218
  }), null, 16, ["id", "name", "model-value"])
2480
2219
  ]),
2481
2220
  _: 1
2482
- }, 8, ["is-disabled", "is-invalid", "is-required"])) : (openBlock(), createBlock(_sfc_main$1S, mergeProps({
2221
+ }, 8, ["is-disabled", "is-invalid", "is-required"])) : (openBlock(), createBlock(_sfc_main$1R, mergeProps({
2483
2222
  key: 1,
2484
2223
  ref_key: "inner",
2485
2224
  ref: inner
@@ -2594,7 +2333,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2594
2333
  class: normalizeClass(buttonClass.value),
2595
2334
  onClick: openPicker
2596
2335
  }, [
2597
- createVNode(unref(_sfc_main$20), {
2336
+ createVNode(unref(_sfc_main$1_), {
2598
2337
  icon: unref(UploadIcon),
2599
2338
  size: 16
2600
2339
  }, null, 8, ["icon"]),
@@ -2602,7 +2341,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
2602
2341
  createTextVNode(toDisplayString(unref(props).label), 1)
2603
2342
  ])
2604
2343
  ], 10, _hoisted_1$1k),
2605
- readOnlyButton.value ? (openBlock(), createBlock(_sfc_main$1T, {
2344
+ readOnlyButton.value ? (openBlock(), createBlock(_sfc_main$1S, {
2606
2345
  key: 0,
2607
2346
  id: unref(readOnlyHint).hintId
2608
2347
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -3338,7 +3077,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
3338
3077
  activeDescendant.value = null;
3339
3078
  });
3340
3079
  return (_ctx, _cache) => {
3341
- return openBlock(), createBlock(unref(_sfc_main$29), {
3080
+ return openBlock(), createBlock(unref(_sfc_main$25), {
3342
3081
  key: unref(formResetRevision),
3343
3082
  open: isOpenNow.value,
3344
3083
  placement: __props.placement,
@@ -3555,13 +3294,13 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
3555
3294
  "data-skeleton": unref(skeleton).isSkeleton.value || void 0,
3556
3295
  inert: unref(skeleton).isSkeleton.value || void 0
3557
3296
  }, [
3558
- createVNode(unref(_sfc_main$2a), null, {
3297
+ createVNode(unref(_sfc_main$26), null, {
3559
3298
  default: withCtx(() => [
3560
3299
  createTextVNode(toDisplayString(unref(ctx).isLoading ? unref(ctx).loadingLabel : ""), 1)
3561
3300
  ]),
3562
3301
  _: 1
3563
3302
  }),
3564
- createVNode(unref(_sfc_main$2b), { "as-child": "" }, {
3303
+ createVNode(unref(_sfc_main$27), { "as-child": "" }, {
3565
3304
  default: withCtx(() => [
3566
3305
  createElementVNode("button", mergeProps({
3567
3306
  ref_key: "root",
@@ -3719,7 +3458,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3719
3458
  const selectedForListbox = computed(() => ctx.selectedKey ?? void 0);
3720
3459
  return (_ctx, _cache) => {
3721
3460
  return openBlock(), createElementBlock(Fragment, null, [
3722
- createVNode(unref(_sfc_main$2c), mergeProps({
3461
+ createVNode(unref(_sfc_main$28), mergeProps({
3723
3462
  variant: __props.variant,
3724
3463
  tone: __props.tone,
3725
3464
  radius: __props.radius,
@@ -3730,7 +3469,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
3730
3469
  }), {
3731
3470
  default: withCtx(() => [
3732
3471
  __props.isSearchable ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
3733
- createVNode(_sfc_main$1V, {
3472
+ createVNode(_sfc_main$1U, {
3734
3473
  size: "sm",
3735
3474
  autofocus: "",
3736
3475
  role: "combobox",
@@ -3949,7 +3688,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
3949
3688
  valuesCtl.reset();
3950
3689
  });
3951
3690
  return (_ctx, _cache) => {
3952
- return openBlock(), createBlock(unref(_sfc_main$29), {
3691
+ return openBlock(), createBlock(unref(_sfc_main$25), {
3953
3692
  key: unref(formResetRevision),
3954
3693
  open: isOpenNow.value,
3955
3694
  placement: __props.placement,
@@ -4107,7 +3846,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4107
3846
  const ChevronDownIcon = ChevronDown;
4108
3847
  __expose({ el: root });
4109
3848
  return (_ctx, _cache) => {
4110
- return openBlock(), createBlock(unref(_sfc_main$2b), { "as-child": "" }, {
3849
+ return openBlock(), createBlock(unref(_sfc_main$27), { "as-child": "" }, {
4111
3850
  default: withCtx(() => [
4112
3851
  createElementVNode("button", mergeProps({
4113
3852
  ref_key: "root",
@@ -4160,7 +3899,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4160
3899
  }
4161
3900
  return (_ctx, _cache) => {
4162
3901
  return openBlock(), createElementBlock(Fragment, null, [
4163
- createVNode(unref(_sfc_main$2c), {
3902
+ createVNode(unref(_sfc_main$28), {
4164
3903
  variant: __props.variant,
4165
3904
  tone: __props.tone,
4166
3905
  radius: __props.radius,
@@ -4606,19 +4345,19 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
4606
4345
  )
4607
4346
  );
4608
4347
  return (_ctx, _cache) => {
4609
- return openBlock(), createBlock(unref(_sfc_main$2d), null, {
4348
+ return openBlock(), createBlock(unref(_sfc_main$29), null, {
4610
4349
  default: withCtx(() => [
4611
4350
  createVNode(unref(Presence), { "is-present": isOpen.value }, {
4612
4351
  default: withCtx(() => [
4613
4352
  createElementVNode("div", _hoisted_1$17, [
4614
- createVNode(unref(_sfc_main$2e), {
4353
+ createVNode(unref(_sfc_main$2a), {
4615
4354
  anchor: anchor.value,
4616
4355
  placement: __props.placement,
4617
4356
  offset: __props.offset,
4618
4357
  class: "z-dropdown"
4619
4358
  }, {
4620
4359
  default: withCtx(() => [
4621
- createVNode(unref(_sfc_main$2f), mergeProps({
4360
+ createVNode(unref(_sfc_main$2b), mergeProps({
4622
4361
  ref: setRef,
4623
4362
  "on-escape": onEscape,
4624
4363
  "on-outside-pointer-down": onOutsidePointerDown,
@@ -5276,7 +5015,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5276
5015
  "aria-invalid": isInvalid.value,
5277
5016
  "aria-describedby": describedBy.value,
5278
5017
  class: inputClass.value
5279
- }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$12)) : (openBlock(), createBlock(unref(_sfc_main$29), {
5018
+ }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$12)) : (openBlock(), createBlock(unref(_sfc_main$25), {
5280
5019
  key: 1,
5281
5020
  open: open.value,
5282
5021
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -5304,7 +5043,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5304
5043
  onBlur,
5305
5044
  onKeydown
5306
5045
  }), null, 16, _hoisted_2$P),
5307
- createVNode(unref(_sfc_main$2b), {
5046
+ createVNode(unref(_sfc_main$27), {
5308
5047
  "aria-label": unref(locale).t("DateInput.chooseDate", void 0, "Choose date"),
5309
5048
  disabled: finalDisabled.value || finalReadOnly.value,
5310
5049
  class: "absolute right-1 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
@@ -5314,7 +5053,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5314
5053
  ]),
5315
5054
  _: 1
5316
5055
  }, 8, ["aria-label", "disabled"]),
5317
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
5056
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
5318
5057
  default: withCtx(() => [
5319
5058
  createVNode(_sfc_main$1f, {
5320
5059
  "model-value": unref(committed),
@@ -5699,7 +5438,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5699
5438
  "aria-invalid": isInvalid.value,
5700
5439
  "aria-describedby": describedBy.value,
5701
5440
  class: inputClass.value
5702
- }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$10)) : (openBlock(), createBlock(unref(_sfc_main$29), {
5441
+ }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$10)) : (openBlock(), createBlock(unref(_sfc_main$25), {
5703
5442
  key: 1,
5704
5443
  open: open.value,
5705
5444
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -5727,7 +5466,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5727
5466
  onBlur,
5728
5467
  onKeydown
5729
5468
  }), null, 16, _hoisted_2$N),
5730
- createVNode(unref(_sfc_main$2b), {
5469
+ createVNode(unref(_sfc_main$27), {
5731
5470
  "aria-label": unref(locale).t("DateTimeInput.chooseDateAndTime", void 0, "Choose date and time"),
5732
5471
  disabled: finalDisabled.value || finalReadOnly.value,
5733
5472
  class: "absolute right-1 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
@@ -5737,7 +5476,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5737
5476
  ]),
5738
5477
  _: 1
5739
5478
  }, 8, ["aria-label", "disabled"]),
5740
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
5479
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
5741
5480
  default: withCtx(() => [
5742
5481
  createElementVNode("div", _hoisted_3$C, [
5743
5482
  createVNode(_sfc_main$1f, {
@@ -5927,7 +5666,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5927
5666
  "aria-invalid": isInvalid.value,
5928
5667
  "aria-describedby": describedBy.value,
5929
5668
  class: inputClass.value
5930
- }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$$)) : (openBlock(), createBlock(unref(_sfc_main$29), {
5669
+ }, passthroughAttrs.value, { onInput: onNativeInput }), null, 16, _hoisted_1$$)) : (openBlock(), createBlock(unref(_sfc_main$25), {
5931
5670
  key: 1,
5932
5671
  open: open.value,
5933
5672
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -5956,7 +5695,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5956
5695
  onBlur,
5957
5696
  onKeydown
5958
5697
  }), null, 16, _hoisted_2$M),
5959
- createVNode(unref(_sfc_main$2b), {
5698
+ createVNode(unref(_sfc_main$27), {
5960
5699
  "aria-label": unref(locale).t("TimeInput.chooseTime", void 0, "Choose time"),
5961
5700
  disabled: finalDisabled.value || finalReadOnly.value,
5962
5701
  class: "absolute right-1 top-1/2 grid h-8 w-8 -translate-y-1/2 place-items-center rounded text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
@@ -5966,7 +5705,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5966
5705
  ]),
5967
5706
  _: 1
5968
5707
  }, 8, ["aria-label", "disabled"]),
5969
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
5708
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
5970
5709
  default: withCtx(() => [
5971
5710
  createVNode(_sfc_main$1d, {
5972
5711
  "is-disabled": finalDisabled.value || finalReadOnly.value,
@@ -6227,7 +5966,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
6227
5966
  controlled.reset();
6228
5967
  });
6229
5968
  return (_ctx, _cache) => {
6230
- return openBlock(), createBlock(unref(_sfc_main$29), {
5969
+ return openBlock(), createBlock(unref(_sfc_main$25), {
6231
5970
  key: unref(formResetRevision),
6232
5971
  open: open.value,
6233
5972
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -6235,7 +5974,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
6235
5974
  offset: 6
6236
5975
  }, {
6237
5976
  default: withCtx(() => [
6238
- createVNode(unref(_sfc_main$2b), mergeProps({
5977
+ createVNode(unref(_sfc_main$27), mergeProps({
6239
5978
  ref_key: "trigger",
6240
5979
  ref: trigger,
6241
5980
  id: triggerId.value,
@@ -6255,11 +5994,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
6255
5994
  ]),
6256
5995
  _: 1
6257
5996
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
6258
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
5997
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
6259
5998
  key: 0,
6260
5999
  id: unref(readOnlyHint).hintId
6261
6000
  }, null, 8, ["id"])) : createCommentVNode("", true),
6262
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
6001
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
6263
6002
  default: withCtx(() => [
6264
6003
  createVNode(_sfc_main$1f, {
6265
6004
  "model-value": unref(date),
@@ -6377,7 +6116,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6377
6116
  controlled.reset();
6378
6117
  });
6379
6118
  return (_ctx, _cache) => {
6380
- return openBlock(), createBlock(unref(_sfc_main$29), {
6119
+ return openBlock(), createBlock(unref(_sfc_main$25), {
6381
6120
  key: unref(formResetRevision),
6382
6121
  open: open.value,
6383
6122
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -6385,7 +6124,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6385
6124
  offset: 6
6386
6125
  }, {
6387
6126
  default: withCtx(() => [
6388
- createVNode(unref(_sfc_main$2b), mergeProps({
6127
+ createVNode(unref(_sfc_main$27), mergeProps({
6389
6128
  ref_key: "trigger",
6390
6129
  ref: trigger,
6391
6130
  id: triggerId.value,
@@ -6405,11 +6144,11 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6405
6144
  ]),
6406
6145
  _: 1
6407
6146
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
6408
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
6147
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
6409
6148
  key: 0,
6410
6149
  id: unref(readOnlyHint).hintId
6411
6150
  }, null, 8, ["id"])) : createCommentVNode("", true),
6412
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
6151
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
6413
6152
  default: withCtx(() => [
6414
6153
  createVNode(_sfc_main$1d, {
6415
6154
  "is-disabled": finalDisabled.value || finalReadOnly.value,
@@ -6542,7 +6281,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
6542
6281
  controlled.reset();
6543
6282
  });
6544
6283
  return (_ctx, _cache) => {
6545
- return openBlock(), createBlock(unref(_sfc_main$29), {
6284
+ return openBlock(), createBlock(unref(_sfc_main$25), {
6546
6285
  key: unref(formResetRevision),
6547
6286
  open: open.value,
6548
6287
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -6550,7 +6289,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
6550
6289
  offset: 6
6551
6290
  }, {
6552
6291
  default: withCtx(() => [
6553
- createVNode(unref(_sfc_main$2b), mergeProps({
6292
+ createVNode(unref(_sfc_main$27), mergeProps({
6554
6293
  ref_key: "trigger",
6555
6294
  ref: trigger,
6556
6295
  id: triggerId.value,
@@ -6570,11 +6309,11 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
6570
6309
  ]),
6571
6310
  _: 1
6572
6311
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
6573
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
6312
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
6574
6313
  key: 0,
6575
6314
  id: unref(readOnlyHint).hintId
6576
6315
  }, null, 8, ["id"])) : createCommentVNode("", true),
6577
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
6316
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
6578
6317
  default: withCtx(() => [
6579
6318
  createVNode(_sfc_main$1a, {
6580
6319
  "model-value": unref(range),
@@ -6819,7 +6558,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
6819
6558
  return (_ctx, _cache) => {
6820
6559
  return openBlock(), createElementBlock("div", _hoisted_1$W, [
6821
6560
  createElementVNode("span", _hoisted_2$I, [
6822
- createVNode(_sfc_main$2g, {
6561
+ createVNode(_sfc_main$2c, {
6823
6562
  color: swatchColor.value,
6824
6563
  size: "sm",
6825
6564
  shape: __props.swatchShape
@@ -7470,7 +7209,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
7470
7209
  }
7471
7210
  }
7472
7211
  return (_ctx, _cache) => {
7473
- return openBlock(), createBlock(_sfc_main$2g, {
7212
+ return openBlock(), createBlock(_sfc_main$2c, {
7474
7213
  ref: unref(roving).ref,
7475
7214
  color: __props.color,
7476
7215
  size: __props.size,
@@ -7542,7 +7281,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
7542
7281
  controlled.reset();
7543
7282
  });
7544
7283
  return (_ctx, _cache) => {
7545
- return openBlock(), createBlock(unref(_sfc_main$2h), mergeProps({
7284
+ return openBlock(), createBlock(unref(_sfc_main$2d), mergeProps({
7546
7285
  key: unref(formResetRevision),
7547
7286
  ref_key: "root",
7548
7287
  ref: root,
@@ -7567,7 +7306,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
7567
7306
  onSelect
7568
7307
  }, null, 8, ["color", "is-selected", "is-disabled", "is-read-only", "size", "shape"]);
7569
7308
  }), 128)),
7570
- readOnlyGroup.value ? (openBlock(), createBlock(_sfc_main$1T, {
7309
+ readOnlyGroup.value ? (openBlock(), createBlock(_sfc_main$1S, {
7571
7310
  key: 0,
7572
7311
  id: unref(readOnlyHint).hintId
7573
7312
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -7705,9 +7444,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7705
7444
  });
7706
7445
  const locale = useLocale();
7707
7446
  return (_ctx, _cache) => {
7708
- return openBlock(), createBlock(unref(_sfc_main$29), { key: unref(formResetRevision) }, {
7447
+ return openBlock(), createBlock(unref(_sfc_main$25), { key: unref(formResetRevision) }, {
7709
7448
  default: withCtx(() => [
7710
- hasCustomTrigger.value ? (openBlock(), createBlock(unref(_sfc_main$2b), {
7449
+ hasCustomTrigger.value ? (openBlock(), createBlock(unref(_sfc_main$27), {
7711
7450
  key: 0,
7712
7451
  ref_key: "trigger",
7713
7452
  ref: trigger,
@@ -7721,7 +7460,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7721
7460
  renderSlot(_ctx.$slots, "trigger")
7722
7461
  ]),
7723
7462
  _: 3
7724
- }, 8, ["disabled", "data-readonly", "aria-describedby"])) : isSwatchTrigger.value ? (openBlock(), createBlock(unref(_sfc_main$2b), mergeProps({
7463
+ }, 8, ["disabled", "data-readonly", "aria-describedby"])) : isSwatchTrigger.value ? (openBlock(), createBlock(unref(_sfc_main$27), mergeProps({
7725
7464
  key: 1,
7726
7465
  ref_key: "trigger",
7727
7466
  ref: trigger,
@@ -7734,7 +7473,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7734
7473
  "data-readonly": readOnlyTrigger.value || void 0
7735
7474
  }, passthroughAttrs.value, { onClick: onTriggerClick }), {
7736
7475
  default: withCtx(() => [
7737
- createVNode(_sfc_main$2g, {
7476
+ createVNode(_sfc_main$2c, {
7738
7477
  color: swatchColor.value,
7739
7478
  size: __props.triggerSize,
7740
7479
  "is-disabled": finalDisabled.value,
@@ -7743,7 +7482,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7743
7482
  }, null, 8, ["color", "size", "is-disabled", "class"])
7744
7483
  ]),
7745
7484
  _: 1
7746
- }, 16, ["id", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "data-readonly"])) : (openBlock(), createBlock(unref(_sfc_main$2b), mergeProps({
7485
+ }, 16, ["id", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "data-readonly"])) : (openBlock(), createBlock(unref(_sfc_main$27), mergeProps({
7747
7486
  key: 2,
7748
7487
  ref_key: "trigger",
7749
7488
  ref: trigger,
@@ -7757,7 +7496,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7757
7496
  class: framedTriggerClass.value
7758
7497
  }, passthroughAttrs.value, { onClick: onTriggerClick }), {
7759
7498
  default: withCtx(() => [
7760
- isFullTrigger.value ? (openBlock(), createBlock(_sfc_main$2g, {
7499
+ isFullTrigger.value ? (openBlock(), createBlock(_sfc_main$2c, {
7761
7500
  key: 0,
7762
7501
  color: swatchColor.value,
7763
7502
  size: __props.triggerSize
@@ -7766,16 +7505,16 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7766
7505
  ]),
7767
7506
  _: 1
7768
7507
  }, 16, ["id", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "disabled", "data-readonly", "class"])),
7769
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
7508
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
7770
7509
  key: 3,
7771
7510
  id: unref(readOnlyHint).hintId
7772
7511
  }, null, 8, ["id"])) : createCommentVNode("", true),
7773
- createVNode(unref(_sfc_main$2c), {
7512
+ createVNode(unref(_sfc_main$28), {
7774
7513
  "aria-label": unref(locale).t("ColorPicker.colorPicker", void 0, "Color picker"),
7775
7514
  class: "flex w-64 flex-col gap-3"
7776
7515
  }, {
7777
7516
  default: withCtx(() => [
7778
- createVNode(unref(_sfc_main$22), {
7517
+ createVNode(unref(_sfc_main$20), {
7779
7518
  "is-disabled": finalDisabled.value || finalReadOnly.value,
7780
7519
  "is-read-only": finalReadOnly.value
7781
7520
  }, {
@@ -7790,7 +7529,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7790
7529
  ]),
7791
7530
  _: 1
7792
7531
  }, 8, ["is-disabled", "is-read-only"]),
7793
- createVNode(unref(_sfc_main$22), {
7532
+ createVNode(unref(_sfc_main$20), {
7794
7533
  "is-disabled": finalDisabled.value || finalReadOnly.value,
7795
7534
  "is-read-only": finalReadOnly.value
7796
7535
  }, {
@@ -7804,7 +7543,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7804
7543
  ]),
7805
7544
  _: 1
7806
7545
  }, 8, ["is-disabled", "is-read-only"]),
7807
- __props.hasAlpha ? (openBlock(), createBlock(unref(_sfc_main$22), {
7546
+ __props.hasAlpha ? (openBlock(), createBlock(unref(_sfc_main$20), {
7808
7547
  key: 0,
7809
7548
  "is-disabled": finalDisabled.value || finalReadOnly.value,
7810
7549
  "is-read-only": finalReadOnly.value
@@ -7820,7 +7559,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7820
7559
  ]),
7821
7560
  _: 1
7822
7561
  }, 8, ["is-disabled", "is-read-only"])) : createCommentVNode("", true),
7823
- createVNode(unref(_sfc_main$22), {
7562
+ createVNode(unref(_sfc_main$20), {
7824
7563
  "is-disabled": finalDisabled.value || finalReadOnly.value,
7825
7564
  "is-read-only": finalReadOnly.value
7826
7565
  }, {
@@ -7834,7 +7573,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7834
7573
  ]),
7835
7574
  _: 1
7836
7575
  }, 8, ["is-disabled", "is-read-only"]),
7837
- hasPresets.value ? (openBlock(), createBlock(unref(_sfc_main$22), {
7576
+ hasPresets.value ? (openBlock(), createBlock(unref(_sfc_main$20), {
7838
7577
  key: 1,
7839
7578
  "is-disabled": finalDisabled.value || finalReadOnly.value,
7840
7579
  "is-read-only": finalReadOnly.value
@@ -8028,7 +7767,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
8028
7767
  onClick: onContainerClick
8029
7768
  }, [
8030
7769
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(tags), (t, i) => {
8031
- return openBlock(), createBlock(_sfc_main$2i, mergeProps({
7770
+ return openBlock(), createBlock(_sfc_main$2e, mergeProps({
8032
7771
  key: `${t}-${i}`,
8033
7772
  variant: __props.tagVariant,
8034
7773
  "data-pending-delete": isPendingDelete(i) ? "" : void 0,
@@ -8270,7 +8009,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
8270
8009
  onDragleave: onDragLeave,
8271
8010
  onDrop
8272
8011
  }, [
8273
- createVNode(unref(_sfc_main$20), {
8012
+ createVNode(unref(_sfc_main$1_), {
8274
8013
  icon: unref(UploadIcon),
8275
8014
  size: 28,
8276
8015
  class: normalizeClass(iconClass.value)
@@ -8302,7 +8041,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
8302
8041
  class: "sr-only"
8303
8042
  }, passthroughAttrs.value, { onChange }), null, 16, _hoisted_3$w)
8304
8043
  ], 42, _hoisted_1$P),
8305
- readOnlyZone.value ? (openBlock(), createBlock(_sfc_main$1T, {
8044
+ readOnlyZone.value ? (openBlock(), createBlock(_sfc_main$1S, {
8306
8045
  key: 0,
8307
8046
  id: unref(readOnlyHint).hintId
8308
8047
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -8490,7 +8229,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
8490
8229
  onClick
8491
8230
  }), [
8492
8231
  renderSlot(_ctx.$slots, "default", {}, () => [
8493
- createVNode(unref(_sfc_main$20), {
8232
+ createVNode(unref(_sfc_main$1_), {
8494
8233
  icon: unref(CloseIcon),
8495
8234
  size: 14
8496
8235
  }, null, 8, ["icon"])
@@ -8660,7 +8399,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
8660
8399
  onClick
8661
8400
  }), [
8662
8401
  renderSlot(_ctx.$slots, "default", {}, () => [
8663
- createVNode(unref(_sfc_main$20), {
8402
+ createVNode(unref(_sfc_main$1_), {
8664
8403
  icon: unref(CheckIcon),
8665
8404
  size: 14
8666
8405
  }, null, 8, ["icon"])
@@ -9475,7 +9214,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
9475
9214
  class: "inline-flex h-7 w-7 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
9476
9215
  onClick: ($event) => applyAction(a)
9477
9216
  }, [
9478
- createVNode(unref(_sfc_main$20), {
9217
+ createVNode(unref(_sfc_main$1_), {
9479
9218
  icon: a.icon,
9480
9219
  size: 14
9481
9220
  }, null, 8, ["icon"])
@@ -9711,7 +9450,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9711
9450
  class: "inline-flex h-5 w-5 items-center justify-center text-muted-foreground hover:text-foreground",
9712
9451
  onClick: _cache[0] || (_cache[0] = ($event) => open.value = !open.value)
9713
9452
  }, [
9714
- createVNode(unref(_sfc_main$20), {
9453
+ createVNode(unref(_sfc_main$1_), {
9715
9454
  icon: unref(ChevronIcon),
9716
9455
  size: 12,
9717
9456
  class: normalizeClass(chevronClass.value)
@@ -9744,7 +9483,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9744
9483
  class: "ml-auto opacity-0 transition-opacity group-hover:opacity-100 inline-flex h-5 w-5 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",
9745
9484
  onClick: copyPath
9746
9485
  }, [
9747
- createVNode(unref(_sfc_main$20), {
9486
+ createVNode(unref(_sfc_main$1_), {
9748
9487
  icon: unref(CopyIcon),
9749
9488
  size: 11
9750
9489
  }, null, 8, ["icon"])
@@ -10362,7 +10101,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10362
10101
  for: `${unref(uid)}-end-never`,
10363
10102
  class: "flex items-center gap-2"
10364
10103
  }, [
10365
- createVNode(_sfc_main$1S, {
10104
+ createVNode(_sfc_main$1R, {
10366
10105
  id: `${unref(uid)}-end-never`,
10367
10106
  size: "sm",
10368
10107
  name: endRadioName.value,
@@ -10376,7 +10115,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10376
10115
  for: `${unref(uid)}-end-count`,
10377
10116
  class: "flex items-center gap-2"
10378
10117
  }, [
10379
- createVNode(_sfc_main$1S, {
10118
+ createVNode(_sfc_main$1R, {
10380
10119
  id: `${unref(uid)}-end-count`,
10381
10120
  size: "sm",
10382
10121
  name: endRadioName.value,
@@ -10401,7 +10140,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10401
10140
  for: `${unref(uid)}-end-until`,
10402
10141
  class: "flex items-center gap-2"
10403
10142
  }, [
10404
- createVNode(_sfc_main$1S, {
10143
+ createVNode(_sfc_main$1R, {
10405
10144
  id: `${unref(uid)}-end-until`,
10406
10145
  size: "sm",
10407
10146
  name: endRadioName.value,
@@ -10901,7 +10640,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10901
10640
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(keys), (k, i) => {
10902
10641
  return openBlock(), createElementBlock(Fragment, { key: k }, [
10903
10642
  i > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$i, "+")) : createCommentVNode("", true),
10904
- createVNode(_sfc_main$2j, null, {
10643
+ createVNode(_sfc_main$2f, null, {
10905
10644
  default: withCtx(() => [
10906
10645
  createTextVNode(toDisplayString(modifierLabel(k)), 1)
10907
10646
  ]),
@@ -10918,7 +10657,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
10918
10657
  "aria-hidden": "true"
10919
10658
  }, null, 8, _hoisted_6$f)
10920
10659
  ], 16, _hoisted_1$y)),
10921
- readOnlyButton.value ? (openBlock(), createBlock(_sfc_main$1T, {
10660
+ readOnlyButton.value ? (openBlock(), createBlock(_sfc_main$1S, {
10922
10661
  key: 0,
10923
10662
  id: unref(readOnlyHint).hintId
10924
10663
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -11123,7 +10862,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11123
10862
  class: normalizeClass(buttonClass(key)),
11124
10863
  onClick: ($event) => pick(key)
11125
10864
  }, [
11126
- createVNode(unref(_sfc_main$20), {
10865
+ createVNode(unref(_sfc_main$1_), {
11127
10866
  icon: iconComp,
11128
10867
  size: __props.size
11129
10868
  }, null, 8, ["icon", "size"])
@@ -11132,7 +10871,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11132
10871
  }), 128)),
11133
10872
  filtered.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$h, toDisplayString(unref(locale).t("IconPicker.noIconsMatch", void 0, "No icons match.")), 1)) : createCommentVNode("", true)
11134
10873
  ], 12, _hoisted_3$l),
11135
- readOnlyGrid.value ? (openBlock(), createBlock(_sfc_main$1T, {
10874
+ readOnlyGrid.value ? (openBlock(), createBlock(_sfc_main$1S, {
11136
10875
  key: 0,
11137
10876
  id: unref(readOnlyHint).hintId
11138
10877
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -11296,12 +11035,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
11296
11035
  key: unref(formResetRevision),
11297
11036
  class: wrapperClass.value
11298
11037
  }, passthroughAttrs.value), [
11299
- createVNode(unref(_sfc_main$29), {
11038
+ createVNode(unref(_sfc_main$25), {
11300
11039
  open: open.value,
11301
11040
  "onUpdate:open": onOpenChange
11302
11041
  }, {
11303
11042
  default: withCtx(() => [
11304
- createVNode(unref(_sfc_main$2b), { "as-child": "" }, {
11043
+ createVNode(unref(_sfc_main$27), { "as-child": "" }, {
11305
11044
  default: withCtx(() => [
11306
11045
  createElementVNode("button", {
11307
11046
  type: "button",
@@ -11320,7 +11059,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
11320
11059
  style: normalizeStyle({ fontFamily: unref(family) }),
11321
11060
  class: "truncate"
11322
11061
  }, toDisplayString(current.value?.name ?? __props.placeholder), 5),
11323
- createVNode(unref(_sfc_main$20), {
11062
+ createVNode(unref(_sfc_main$1_), {
11324
11063
  icon: unref(ChevronDownIcon),
11325
11064
  size: 14,
11326
11065
  class: "text-muted-foreground"
@@ -11329,11 +11068,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
11329
11068
  ]),
11330
11069
  _: 1
11331
11070
  }),
11332
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
11071
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
11333
11072
  key: 0,
11334
11073
  id: unref(readOnlyHint).hintId
11335
11074
  }, null, 8, ["id"])) : createCommentVNode("", true),
11336
- createVNode(unref(_sfc_main$2c), { class: "w-[20rem] p-2" }, {
11075
+ createVNode(unref(_sfc_main$28), { class: "w-[20rem] p-2" }, {
11337
11076
  default: withCtx(() => [
11338
11077
  createElementVNode("input", {
11339
11078
  ref_key: "search",
@@ -11854,7 +11593,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
11854
11593
  class: "inline-flex h-7 w-7 items-center justify-center rounded text-destructive-soft-foreground hover:bg-destructive-soft disabled:pointer-events-none disabled:opacity-40",
11855
11594
  onClick: ($event) => removeStop(i)
11856
11595
  }, [
11857
- createVNode(unref(_sfc_main$20), {
11596
+ createVNode(unref(_sfc_main$1_), {
11858
11597
  icon: unref(TrashIcon),
11859
11598
  size: 12
11860
11599
  }, null, 8, ["icon"])
@@ -11868,13 +11607,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
11868
11607
  class: "inline-flex h-8 w-full items-center justify-center gap-1 rounded-md border border-dashed border-border text-xs text-muted-foreground hover:bg-muted hover:text-foreground",
11869
11608
  onClick: addStop
11870
11609
  }, [
11871
- createVNode(unref(_sfc_main$20), {
11610
+ createVNode(unref(_sfc_main$1_), {
11872
11611
  icon: unref(PlusIcon),
11873
11612
  size: 12
11874
11613
  }, null, 8, ["icon"]),
11875
11614
  createTextVNode(" " + toDisplayString(unref(locale).t("GradientPicker.addStop", void 0, "Add stop")), 1)
11876
11615
  ], 8, _hoisted_12$4),
11877
- readOnlyGroup.value ? (openBlock(), createBlock(_sfc_main$1T, {
11616
+ readOnlyGroup.value ? (openBlock(), createBlock(_sfc_main$1S, {
11878
11617
  key: 0,
11879
11618
  id: unref(readOnlyHint).hintId
11880
11619
  }, null, 8, ["id"])) : createCommentVNode("", true),
@@ -12918,14 +12657,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
12918
12657
  });
12919
12658
  const locale = useLocale();
12920
12659
  return (_ctx, _cache) => {
12921
- return openBlock(), createBlock(unref(_sfc_main$2k), {
12660
+ return openBlock(), createBlock(unref(_sfc_main$2g), {
12922
12661
  key: unref(formResetRevision),
12923
12662
  gap: "3"
12924
12663
  }, {
12925
12664
  default: withCtx(() => [
12926
12665
  createElementVNode("div", _hoisted_1$p, [
12927
12666
  createElementVNode("span", _hoisted_2$j, toDisplayString(unref(props).label), 1),
12928
- createVNode(unref(_sfc_main$2l), {
12667
+ createVNode(unref(_sfc_main$2h), {
12929
12668
  variant: isNoneSelected.value ? void 0 : unref(ButtonVariant).Outline,
12930
12669
  tone: isNoneSelected.value ? unref(ColorTone).Primary : unref(ColorTone).Neutral,
12931
12670
  size: unref(SizePreset).Sm,
@@ -12938,14 +12677,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
12938
12677
  _: 1
12939
12678
  }, 8, ["variant", "tone", "size", "aria-pressed"])
12940
12679
  ]),
12941
- createVNode(_sfc_main$1V, {
12680
+ createVNode(_sfc_main$1U, {
12942
12681
  size: searchSize.value,
12943
12682
  placeholder: unref(locale).t("EmojiPicker.searchEmoji", void 0, "Search emoji…"),
12944
12683
  "model-value": unref(picker).searchKeyword.value,
12945
12684
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(picker).searchKeyword.value = $event),
12946
12685
  onClear: _cache[2] || (_cache[2] = ($event) => unref(picker).searchKeyword.value = "")
12947
12686
  }, null, 8, ["size", "placeholder", "model-value"]),
12948
- createVNode(unref(_sfc_main$2k), { gap: "2" }, {
12687
+ createVNode(unref(_sfc_main$2g), { gap: "2" }, {
12949
12688
  default: withCtx(() => [
12950
12689
  !unref(picker).showSearch.value ? (openBlock(), createBlock(_sfc_main$B, {
12951
12690
  key: 0,
@@ -13038,14 +12777,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
13038
12777
  });
13039
12778
  const locale = useLocale();
13040
12779
  return (_ctx, _cache) => {
13041
- return openBlock(), createBlock(unref(_sfc_main$29), {
12780
+ return openBlock(), createBlock(unref(_sfc_main$25), {
13042
12781
  key: unref(formResetRevision),
13043
12782
  open: isOpenNow.value,
13044
12783
  placement: __props.placement,
13045
12784
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => unref(openCtl).setValue($event))
13046
12785
  }, {
13047
12786
  default: withCtx(() => [
13048
- createVNode(unref(_sfc_main$2b), {
12787
+ createVNode(unref(_sfc_main$27), {
13049
12788
  "as-child": "",
13050
12789
  disabled: unref(field)?.isDisabled,
13051
12790
  "data-readonly": readOnlyTrigger.value || void 0,
@@ -13054,7 +12793,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
13054
12793
  }, {
13055
12794
  default: withCtx(() => [
13056
12795
  renderSlot(_ctx.$slots, "trigger", {}, () => [
13057
- createVNode(unref(_sfc_main$2l), {
12796
+ createVNode(unref(_sfc_main$2h), {
13058
12797
  variant: unref(ButtonVariant).Ghost,
13059
12798
  tone: unref(ColorTone).Neutral,
13060
12799
  size: unref(SizePreset).Sm,
@@ -13075,16 +12814,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
13075
12814
  ]),
13076
12815
  _: 3
13077
12816
  }, 8, ["disabled", "data-readonly", "aria-describedby"]),
13078
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
12817
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
13079
12818
  key: 0,
13080
12819
  id: unref(readOnlyHint).hintId
13081
12820
  }, null, 8, ["id"])) : createCommentVNode("", true),
13082
- createVNode(unref(_sfc_main$2c), {
12821
+ createVNode(unref(_sfc_main$28), {
13083
12822
  class: "w-80",
13084
12823
  padding: "sm"
13085
12824
  }, {
13086
12825
  default: withCtx(() => [
13087
- createVNode(unref(_sfc_main$22), {
12826
+ createVNode(unref(_sfc_main$20), {
13088
12827
  "is-disabled": unref(field)?.isDisabled,
13089
12828
  "is-read-only": finalReadOnly.value
13090
12829
  }, {
@@ -13762,7 +13501,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
13762
13501
  const root = useTemplateRef("root");
13763
13502
  __expose({ el: computed(() => root.value?.el ?? null) });
13764
13503
  return (_ctx, _cache) => {
13765
- return openBlock(), createBlock(unref(_sfc_main$27), mergeProps({
13504
+ return openBlock(), createBlock(unref(_sfc_main$22), mergeProps({
13766
13505
  ref_key: "root",
13767
13506
  ref: root,
13768
13507
  disabled: finalDisabled.value,
@@ -14050,7 +13789,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14050
13789
  });
14051
13790
  return (_ctx, _cache) => {
14052
13791
  return openBlock(), createElementBlock(Fragment, null, [
14053
- (openBlock(), createBlock(_sfc_main$2l, mergeProps({
13792
+ (openBlock(), createBlock(_sfc_main$2h, mergeProps({
14054
13793
  key: unref(formResetRevision),
14055
13794
  variant: unref(ButtonVariant).Ghost,
14056
13795
  tone: __props.tone ?? void 0,
@@ -14951,7 +14690,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
14951
14690
  class: "inline-flex h-7 w-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",
14952
14691
  onClick: zoomIn
14953
14692
  }, [
14954
- createVNode(unref(_sfc_main$20), {
14693
+ createVNode(unref(_sfc_main$1_), {
14955
14694
  icon: unref(Plus),
14956
14695
  size: 14
14957
14696
  }, null, 8, ["icon"])
@@ -14962,7 +14701,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
14962
14701
  class: "inline-flex h-7 w-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",
14963
14702
  onClick: zoomOut
14964
14703
  }, [
14965
- createVNode(unref(_sfc_main$20), {
14704
+ createVNode(unref(_sfc_main$1_), {
14966
14705
  icon: unref(Minus),
14967
14706
  size: 14
14968
14707
  }, null, 8, ["icon"])
@@ -14973,7 +14712,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
14973
14712
  class: "inline-flex h-7 w-7 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground",
14974
14713
  onClick: fitView
14975
14714
  }, [
14976
- createVNode(unref(_sfc_main$20), {
14715
+ createVNode(unref(_sfc_main$1_), {
14977
14716
  icon: unref(Maximize),
14978
14717
  size: 12
14979
14718
  }, null, 8, ["icon"])
@@ -15544,7 +15283,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15544
15283
  ),
15545
15284
  "data-fill": fillOf(mark) === 1 ? "full" : fillOf(mark) > 0 ? "partial" : "empty"
15546
15285
  }, [
15547
- createVNode(unref(_sfc_main$20), {
15286
+ createVNode(unref(_sfc_main$1_), {
15548
15287
  icon: markIcon.value,
15549
15288
  size: iconSize.value,
15550
15289
  class: "text-muted-foreground/40"
@@ -15553,7 +15292,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15553
15292
  class: "pointer-events-none absolute inset-y-0 start-0 overflow-hidden",
15554
15293
  style: normalizeStyle({ width: `${fillOf(mark) * 100}%` })
15555
15294
  }, [
15556
- createVNode(unref(_sfc_main$20), {
15295
+ createVNode(unref(_sfc_main$1_), {
15557
15296
  icon: markIcon.value,
15558
15297
  size: iconSize.value,
15559
15298
  class: normalizeClass(unref(cn)("fill-current", ToneClass[__props.tone] ?? ToneClass.warning))
@@ -16382,7 +16121,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16382
16121
  controlled.reset();
16383
16122
  });
16384
16123
  return (_ctx, _cache) => {
16385
- return openBlock(), createBlock(unref(_sfc_main$29), {
16124
+ return openBlock(), createBlock(unref(_sfc_main$25), {
16386
16125
  key: unref(formResetRevision),
16387
16126
  open: open.value,
16388
16127
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -16390,7 +16129,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16390
16129
  offset: 6
16391
16130
  }, {
16392
16131
  default: withCtx(() => [
16393
- createVNode(unref(_sfc_main$2b), mergeProps({
16132
+ createVNode(unref(_sfc_main$27), mergeProps({
16394
16133
  ref_key: "trigger",
16395
16134
  ref: trigger,
16396
16135
  id: triggerId.value,
@@ -16410,11 +16149,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16410
16149
  ]),
16411
16150
  _: 1
16412
16151
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
16413
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
16152
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
16414
16153
  key: 0,
16415
16154
  id: unref(readOnlyHint).hintId
16416
16155
  }, null, 8, ["id"])) : createCommentVNode("", true),
16417
- createVNode(unref(_sfc_main$2c), { "is-bare": "" }, {
16156
+ createVNode(unref(_sfc_main$28), { "is-bare": "" }, {
16418
16157
  default: withCtx(() => [
16419
16158
  createVNode(_sfc_main$c, {
16420
16159
  kind: props.kind,
@@ -17018,13 +16757,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
17018
16757
  onPointercancel: onPointerEnd
17019
16758
  }, null, 42, _hoisted_4$5)
17020
16759
  ], 10, _hoisted_1$6),
17021
- readOnlyPad.value ? (openBlock(), createBlock(_sfc_main$1T, {
16760
+ readOnlyPad.value ? (openBlock(), createBlock(_sfc_main$1S, {
17022
16761
  key: 0,
17023
16762
  id: unref(readOnlyHint).hintId
17024
16763
  }, null, 8, ["id"])) : createCommentVNode("", true),
17025
16764
  createElementVNode("div", _hoisted_5$5, [
17026
16765
  createElementVNode("span", _hoisted_6$4, toDisplayString(statusText.value), 1),
17027
- createVNode(unref(_sfc_main$2l), {
16766
+ createVNode(unref(_sfc_main$2h), {
17028
16767
  size: "sm",
17029
16768
  variant: "ghost",
17030
16769
  disabled: locked.value || strokeCount.value === 0,
@@ -17035,7 +16774,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
17035
16774
  ]),
17036
16775
  _: 1
17037
16776
  }, 8, ["disabled"]),
17038
- createVNode(unref(_sfc_main$2l), {
16777
+ createVNode(unref(_sfc_main$2h), {
17039
16778
  size: "sm",
17040
16779
  variant: "ghost",
17041
16780
  disabled: locked.value || isEmpty.value,
@@ -17307,7 +17046,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17307
17046
  setup(__props) {
17308
17047
  return (_ctx, _cache) => {
17309
17048
  const _component_TreeSelectPickerNode = resolveComponent("TreeSelectPickerNode", true);
17310
- return __props.node.children && __props.node.children.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$2m), {
17049
+ return __props.node.children && __props.node.children.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$2i), {
17311
17050
  key: 0,
17312
17051
  value: __props.node.value,
17313
17052
  label: __props.node.label,
@@ -17322,7 +17061,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17322
17061
  }), 128))
17323
17062
  ]),
17324
17063
  _: 1
17325
- }, 8, ["value", "label", "is-disabled"])) : (openBlock(), createBlock(unref(_sfc_main$2n), {
17064
+ }, 8, ["value", "label", "is-disabled"])) : (openBlock(), createBlock(unref(_sfc_main$2j), {
17326
17065
  key: 1,
17327
17066
  value: __props.node.value,
17328
17067
  "is-disabled": __props.node.isDisabled
@@ -17421,7 +17160,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17421
17160
  controlled.reset();
17422
17161
  });
17423
17162
  return (_ctx, _cache) => {
17424
- return openBlock(), createBlock(unref(_sfc_main$29), {
17163
+ return openBlock(), createBlock(unref(_sfc_main$25), {
17425
17164
  key: unref(formResetRevision),
17426
17165
  open: open.value,
17427
17166
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -17429,7 +17168,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17429
17168
  offset: 6
17430
17169
  }, {
17431
17170
  default: withCtx(() => [
17432
- createVNode(unref(_sfc_main$2b), mergeProps({
17171
+ createVNode(unref(_sfc_main$27), mergeProps({
17433
17172
  id: unref(props).id ?? unref(field)?.id,
17434
17173
  disabled: disabled.value,
17435
17174
  "data-readonly": readOnlyTrigger.value || void 0,
@@ -17447,13 +17186,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17447
17186
  ]),
17448
17187
  _: 1
17449
17188
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
17450
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
17189
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
17451
17190
  key: 0,
17452
17191
  id: unref(readOnlyHint).hintId
17453
17192
  }, null, 8, ["id"])) : createCommentVNode("", true),
17454
- createVNode(unref(_sfc_main$2c), { class: "max-h-80 min-w-56 overflow-y-auto p-1" }, {
17193
+ createVNode(unref(_sfc_main$28), { class: "max-h-80 min-w-56 overflow-y-auto p-1" }, {
17455
17194
  default: withCtx(() => [
17456
- createVNode(unref(_sfc_main$2o), {
17195
+ createVNode(unref(_sfc_main$2k), {
17457
17196
  "model-value": unref(value),
17458
17197
  "default-expanded": initialExpanded.value,
17459
17198
  "aria-label": ariaLabel.value,
@@ -17659,7 +17398,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
17659
17398
  controlled.reset();
17660
17399
  });
17661
17400
  return (_ctx, _cache) => {
17662
- return openBlock(), createBlock(unref(_sfc_main$29), {
17401
+ return openBlock(), createBlock(unref(_sfc_main$25), {
17663
17402
  key: unref(formResetRevision),
17664
17403
  open: open.value,
17665
17404
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
@@ -17667,7 +17406,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
17667
17406
  offset: 6
17668
17407
  }, {
17669
17408
  default: withCtx(() => [
17670
- createVNode(unref(_sfc_main$2b), mergeProps({
17409
+ createVNode(unref(_sfc_main$27), mergeProps({
17671
17410
  id: unref(props).id ?? unref(field)?.id,
17672
17411
  disabled: disabled.value,
17673
17412
  "data-readonly": readOnlyTrigger.value || void 0,
@@ -17685,11 +17424,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
17685
17424
  ]),
17686
17425
  _: 1
17687
17426
  }, 16, ["id", "disabled", "data-readonly", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "class"]),
17688
- readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1T, {
17427
+ readOnlyTrigger.value ? (openBlock(), createBlock(_sfc_main$1S, {
17689
17428
  key: 0,
17690
17429
  id: unref(readOnlyHint).hintId
17691
17430
  }, null, 8, ["id"])) : createCommentVNode("", true),
17692
- createVNode(unref(_sfc_main$2c), { class: "max-w-[calc(100vw-2rem)] overflow-x-auto p-0" }, {
17431
+ createVNode(unref(_sfc_main$28), { class: "max-w-[calc(100vw-2rem)] overflow-x-auto p-0" }, {
17693
17432
  default: withCtx(() => [
17694
17433
  createElementVNode("div", {
17695
17434
  ref_key: "columnsEl",
@@ -18367,7 +18106,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18367
18106
  role: "group",
18368
18107
  "aria-label": label("history", "Edit history")
18369
18108
  }, [
18370
- createVNode(unref(_sfc_main$2l), {
18109
+ createVNode(unref(_sfc_main$2h), {
18371
18110
  type: "button",
18372
18111
  variant: "outline",
18373
18112
  size: "sm",
@@ -18379,7 +18118,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18379
18118
  ]),
18380
18119
  _: 1
18381
18120
  }, 8, ["is-disabled"]),
18382
- createVNode(unref(_sfc_main$2l), {
18121
+ createVNode(unref(_sfc_main$2h), {
18383
18122
  type: "button",
18384
18123
  variant: "outline",
18385
18124
  size: "sm",
@@ -18391,7 +18130,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18391
18130
  ]),
18392
18131
  _: 1
18393
18132
  }, 8, ["is-disabled"]),
18394
- createVNode(unref(_sfc_main$2l), {
18133
+ createVNode(unref(_sfc_main$2h), {
18395
18134
  type: "button",
18396
18135
  variant: "outline",
18397
18136
  size: "sm",
@@ -18423,7 +18162,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18423
18162
  "aria-label": label("aspect", "Crop aspect ratio")
18424
18163
  }, [
18425
18164
  (openBlock(), createElementBlock(Fragment, null, renderList(ratios, (preset) => {
18426
- return createVNode(unref(_sfc_main$2l), {
18165
+ return createVNode(unref(_sfc_main$2h), {
18427
18166
  key: preset.key,
18428
18167
  type: "button",
18429
18168
  variant: "outline",
@@ -18438,7 +18177,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18438
18177
  _: 2
18439
18178
  }, 1032, ["aria-pressed", "is-disabled", "onClick"]);
18440
18179
  }), 64)),
18441
- createVNode(unref(_sfc_main$2l), {
18180
+ createVNode(unref(_sfc_main$2h), {
18442
18181
  type: "button",
18443
18182
  variant: "outline",
18444
18183
  size: "sm",
@@ -18470,7 +18209,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18470
18209
  role: "group",
18471
18210
  "aria-label": label("transform", "Rotate and flip")
18472
18211
  }, [
18473
- createVNode(unref(_sfc_main$2l), {
18212
+ createVNode(unref(_sfc_main$2h), {
18474
18213
  type: "button",
18475
18214
  variant: "outline",
18476
18215
  size: "sm",
@@ -18482,7 +18221,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18482
18221
  ]),
18483
18222
  _: 1
18484
18223
  }, 8, ["is-disabled"]),
18485
- createVNode(unref(_sfc_main$2l), {
18224
+ createVNode(unref(_sfc_main$2h), {
18486
18225
  type: "button",
18487
18226
  variant: "outline",
18488
18227
  size: "sm",
@@ -18494,7 +18233,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18494
18233
  ]),
18495
18234
  _: 1
18496
18235
  }, 8, ["is-disabled"]),
18497
- createVNode(unref(_sfc_main$2l), {
18236
+ createVNode(unref(_sfc_main$2h), {
18498
18237
  type: "button",
18499
18238
  variant: "outline",
18500
18239
  size: "sm",
@@ -18507,7 +18246,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18507
18246
  ]),
18508
18247
  _: 1
18509
18248
  }, 8, ["aria-pressed", "is-disabled"]),
18510
- createVNode(unref(_sfc_main$2l), {
18249
+ createVNode(unref(_sfc_main$2h), {
18511
18250
  type: "button",
18512
18251
  variant: "outline",
18513
18252
  size: "sm",
@@ -18528,7 +18267,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18528
18267
  for: `${unref(id)}-width`
18529
18268
  }, [
18530
18269
  createElementVNode("span", null, toDisplayString(label("width", "Output width")), 1),
18531
- createVNode(unref(_sfc_main$1X), {
18270
+ createVNode(unref(_sfc_main$1W), {
18532
18271
  id: `${unref(id)}-width`,
18533
18272
  "model-value": outputSize.value.width,
18534
18273
  min: 1,
@@ -18542,7 +18281,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18542
18281
  for: `${unref(id)}-height`
18543
18282
  }, [
18544
18283
  createElementVNode("span", null, toDisplayString(label("height", "Output height")), 1),
18545
- createVNode(unref(_sfc_main$1X), {
18284
+ createVNode(unref(_sfc_main$1W), {
18546
18285
  id: `${unref(id)}-height`,
18547
18286
  "model-value": outputSize.value.height,
18548
18287
  min: 1,
@@ -18553,7 +18292,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18553
18292
  ], 8, _hoisted_16)
18554
18293
  ]),
18555
18294
  createElementVNode("label", _hoisted_17, [
18556
- createVNode(unref(_sfc_main$26), {
18295
+ createVNode(unref(_sfc_main$21), {
18557
18296
  modelValue: isProportional.value,
18558
18297
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isProportional.value = $event),
18559
18298
  "is-disabled": locked.value
@@ -18566,7 +18305,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18566
18305
  "aria-label": label("format", "Output format")
18567
18306
  }, [
18568
18307
  (openBlock(), createElementBlock(Fragment, null, renderList(formats, (item) => {
18569
- return createVNode(unref(_sfc_main$2l), {
18308
+ return createVNode(unref(_sfc_main$2h), {
18570
18309
  key: item,
18571
18310
  type: "button",
18572
18311
  variant: "outline",
@@ -18587,7 +18326,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18587
18326
  for: `${unref(id)}-quality`
18588
18327
  }, [
18589
18328
  createElementVNode("span", null, toDisplayString(label("quality", "Output quality (JPEG and WebP)")), 1),
18590
- createVNode(unref(_sfc_main$1X), {
18329
+ createVNode(unref(_sfc_main$1W), {
18591
18330
  id: `${unref(id)}-quality`,
18592
18331
  "model-value": unref(value).output.quality,
18593
18332
  min: 1,
@@ -18597,7 +18336,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18597
18336
  }, null, 8, ["id", "model-value", "is-disabled"])
18598
18337
  ], 8, _hoisted_19),
18599
18338
  createElementVNode("label", _hoisted_20, [
18600
- createVNode(unref(_sfc_main$26), {
18339
+ createVNode(unref(_sfc_main$21), {
18601
18340
  "model-value": unref(value).removeBackground,
18602
18341
  "is-disabled": locked.value || !__props.canRemoveBackground && !unref(value).removeBackground,
18603
18342
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => patch({ removeBackground: $event }))
@@ -18608,7 +18347,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18608
18347
  __props.error || validationMessage.value ? (openBlock(), createElementBlock("p", _hoisted_22, toDisplayString(__props.error || validationMessage.value), 1)) : createCommentVNode("", true),
18609
18348
  __props.isBusy ? (openBlock(), createElementBlock("p", _hoisted_23, toDisplayString(label("busy", "Processing image…")), 1)) : createCommentVNode("", true),
18610
18349
  createElementVNode("div", _hoisted_24, [
18611
- createVNode(unref(_sfc_main$2l), {
18350
+ createVNode(unref(_sfc_main$2h), {
18612
18351
  type: "button",
18613
18352
  variant: "outline",
18614
18353
  "is-disabled": locked.value || Boolean(issue.value) || needsSourceReset.value,
@@ -18619,7 +18358,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18619
18358
  ]),
18620
18359
  _: 1
18621
18360
  }, 8, ["is-disabled"]),
18622
- createVNode(unref(_sfc_main$2l), {
18361
+ createVNode(unref(_sfc_main$2h), {
18623
18362
  type: "button",
18624
18363
  "is-disabled": locked.value || Boolean(issue.value) || needsSourceReset.value,
18625
18364
  onClick: _cache[12] || (_cache[12] = ($event) => request("apply"))
@@ -18873,9 +18612,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18873
18612
  style: normalizeStyle(markerStyle.value),
18874
18613
  "aria-hidden": "true"
18875
18614
  }, null, 4),
18876
- isOpen.value ? (openBlock(), createBlock(unref(_sfc_main$2d), { key: 0 }, {
18615
+ isOpen.value ? (openBlock(), createBlock(unref(_sfc_main$29), { key: 0 }, {
18877
18616
  default: withCtx(() => [
18878
- createVNode(unref(_sfc_main$2e), {
18617
+ createVNode(unref(_sfc_main$2a), {
18879
18618
  anchor: marker.value,
18880
18619
  placement: "bottom-start",
18881
18620
  offset: 4,
@@ -18921,6 +18660,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18921
18660
  };
18922
18661
  }
18923
18662
  });
18663
+ function useTypedConfirmation(expected, options = {}) {
18664
+ const typed = shallowRef("");
18665
+ const isNeeded = computed(() => toValue(options.isNeeded) ?? true);
18666
+ const isMatched = computed(() => {
18667
+ const target = toValue(expected);
18668
+ return target.length > 0 && typed.value === target;
18669
+ });
18670
+ const isConfirmed = computed(() => !isNeeded.value || isMatched.value);
18671
+ const confirm = computed(() => isNeeded.value ? typed.value : void 0);
18672
+ const reset = () => {
18673
+ typed.value = "";
18674
+ };
18675
+ watch(() => toValue(expected), reset);
18676
+ return { typed, isNeeded, isConfirmed, confirm, reset };
18677
+ }
18924
18678
  export {
18925
18679
  EmojiEmptyLabels as $,
18926
18680
  AddressCountries as A,
@@ -18948,10 +18702,10 @@ export {
18948
18702
  _sfc_main$X as W,
18949
18703
  _sfc_main$W as X,
18950
18704
  _sfc_main$V as Y,
18951
- _sfc_main$1_ as Z,
18705
+ _sfc_main$1Z as Z,
18952
18706
  _sfc_main$D as _,
18953
18707
  _sfc_main$1f as a,
18954
- RatingStep as a$,
18708
+ RecurrenceFreq as a$,
18955
18709
  _sfc_main$y as a0,
18956
18710
  _sfc_main$x as a1,
18957
18711
  EmojiPickerSizes as a2,
@@ -18959,126 +18713,121 @@ export {
18959
18713
  _sfc_main$w as a4,
18960
18714
  EmojiTileShape as a5,
18961
18715
  _sfc_main$g as a6,
18962
- _sfc_main$1P as a7,
18963
- _sfc_main$1D as a8,
18964
- FileRejectionReason as a9,
18965
- _sfc_main as aA,
18966
- _sfc_main$a as aB,
18967
- _sfc_main$1s as aC,
18968
- _sfc_main$1p as aD,
18969
- _sfc_main$1o as aE,
18970
- _sfc_main$1r as aF,
18971
- _sfc_main$1q as aG,
18972
- _sfc_main$l as aH,
18973
- _sfc_main$1X as aI,
18974
- _sfc_main$r as aJ,
18975
- _sfc_main$p as aK,
18976
- _sfc_main$1W as aL,
18977
- _sfc_main$1G as aM,
18978
- PhoneCountries as aN,
18979
- _sfc_main$C as aO,
18980
- PickerElement as aP,
18981
- _sfc_main$1J as aQ,
18982
- PinInputType as aR,
18983
- _sfc_main$1N as aS,
18984
- _sfc_main$1K as aT,
18985
- RadioGroupKey as aU,
18986
- _sfc_main$1S as aV,
18987
- _sfc_main$1a as aW,
18988
- _sfc_main$e as aX,
18989
- RangeSliderInputSize as aY,
18990
- _sfc_main$f as aZ,
18991
- RatingPickerSize as a_,
18992
- _sfc_main$_ as aa,
18993
- _sfc_main$G as ab,
18994
- GradientKind as ac,
18995
- _sfc_main$E as ad,
18996
- _sfc_main$H as ae,
18997
- _sfc_main$2 as af,
18998
- _sfc_main$1 as ag,
18999
- InputBorder as ah,
19000
- InputRing as ai,
19001
- InputSize as aj,
19002
- InputState as ak,
19003
- _sfc_main$L as al,
19004
- JsonEditorMode as am,
19005
- _sfc_main$I as an,
19006
- _sfc_main$J as ao,
19007
- KnobInputTone as ap,
19008
- _sfc_main$1F as aq,
19009
- _sfc_main$1C as ar,
19010
- _sfc_main$1y as as,
19011
- _sfc_main$1A as at,
19012
- ListboxPickerIndicator as au,
19013
- _sfc_main$1B as av,
19014
- _sfc_main$1z as aw,
19015
- _sfc_main$P as ax,
19016
- MarkdownEditorView as ay,
19017
- _sfc_main$1I as az,
18716
+ _sfc_main$1D as a7,
18717
+ FileRejectionReason as a8,
18718
+ _sfc_main$_ as a9,
18719
+ _sfc_main$1r as aA,
18720
+ _sfc_main$1q as aB,
18721
+ _sfc_main$l as aC,
18722
+ _sfc_main$1W as aD,
18723
+ _sfc_main$r as aE,
18724
+ _sfc_main$p as aF,
18725
+ _sfc_main$1V as aG,
18726
+ _sfc_main$1G as aH,
18727
+ PhoneCountries as aI,
18728
+ _sfc_main$C as aJ,
18729
+ PickerElement as aK,
18730
+ _sfc_main$1J as aL,
18731
+ PinInputType as aM,
18732
+ _sfc_main$1N as aN,
18733
+ _sfc_main$1K as aO,
18734
+ RadioGroupKey as aP,
18735
+ _sfc_main$1R as aQ,
18736
+ _sfc_main$1a as aR,
18737
+ _sfc_main$e as aS,
18738
+ RangeSliderInputSize as aT,
18739
+ _sfc_main$f as aU,
18740
+ RatingPickerSize as aV,
18741
+ RatingStep as aW,
18742
+ _sfc_main$v as aX,
18743
+ RecentCategory as aY,
18744
+ _sfc_main$K as aZ,
18745
+ RecurrenceEndMode as a_,
18746
+ _sfc_main$G as aa,
18747
+ GradientKind as ab,
18748
+ _sfc_main$E as ac,
18749
+ _sfc_main$H as ad,
18750
+ _sfc_main$2 as ae,
18751
+ _sfc_main$1 as af,
18752
+ _sfc_main$L as ag,
18753
+ JsonEditorMode as ah,
18754
+ _sfc_main$I as ai,
18755
+ _sfc_main$J as aj,
18756
+ KnobInputTone as ak,
18757
+ _sfc_main$1F as al,
18758
+ _sfc_main$1C as am,
18759
+ _sfc_main$1y as an,
18760
+ _sfc_main$1A as ao,
18761
+ ListboxPickerIndicator as ap,
18762
+ _sfc_main$1B as aq,
18763
+ _sfc_main$1z as ar,
18764
+ _sfc_main$P as as,
18765
+ MarkdownEditorView as at,
18766
+ _sfc_main$1I as au,
18767
+ _sfc_main as av,
18768
+ _sfc_main$a as aw,
18769
+ _sfc_main$1s as ax,
18770
+ _sfc_main$1p as ay,
18771
+ _sfc_main$1o as az,
19018
18772
  _sfc_main$3 as b,
19019
- _sfc_main$v as b0,
19020
- RecentCategory as b1,
19021
- _sfc_main$K as b2,
19022
- RecurrenceEndMode as b3,
19023
- RecurrenceFreq as b4,
19024
- RecurrenceWeekday as b5,
19025
- _sfc_main$1V as b6,
19026
- _sfc_main$o as b7,
19027
- _sfc_main$1x as b8,
19028
- _sfc_main$1u as b9,
19029
- ToggleInputVariant as bA,
19030
- ToggleItemRole as bB,
19031
- ToggleMode as bC,
19032
- _sfc_main$6 as bD,
19033
- _sfc_main$4 as bE,
19034
- _sfc_main$1Y as bF,
19035
- _sfc_main$U as bG,
19036
- _sfc_main$T as bH,
19037
- _sfc_main$S as bI,
19038
- _sfc_main$R as bJ,
19039
- _sfc_main$9 as bK,
19040
- controlGroupVariants as bL,
19041
- gradientToCss as bM,
19042
- optionTileGroupVariants as bN,
19043
- optionTileVariants as bO,
19044
- resolveElementSize as bP,
19045
- selectTriggerVariants as bQ,
19046
- toggleButtonVariants as bR,
19047
- useCheckboxGroup as bS,
19048
- useComboboxContext as bT,
19049
- useEditableContext as bU,
19050
- useEmojiPicker as bV,
19051
- useMultiSelectContext as bW,
19052
- useRadioGroup as bX,
19053
- useSortableItem as bY,
19054
- useSortableRoot as bZ,
19055
- useWizard as b_,
19056
- _sfc_main$1t as ba,
19057
- SelectPickerSize as bb,
19058
- _sfc_main$1v as bc,
19059
- _sfc_main$1w as bd,
19060
- SignatureFormat as be,
19061
- _sfc_main$7 as bf,
19062
- _sfc_main$1Q as bg,
19063
- _sfc_main$k as bh,
19064
- _sfc_main$i as bi,
19065
- _sfc_main$j as bj,
19066
- _sfc_main$h as bk,
19067
- SubmitTrigger as bl,
19068
- _sfc_main$1M as bm,
19069
- _sfc_main$1R as bn,
19070
- _sfc_main$$ as bo,
19071
- _sfc_main$1Z as bp,
19072
- _sfc_main$1U as bq,
19073
- _sfc_main$1$ as br,
19074
- _sfc_main$1b as bs,
19075
- _sfc_main$18 as bt,
19076
- _sfc_main$d as bu,
19077
- _sfc_main$s as bv,
19078
- ToggleGroupKey as bw,
19079
- ToggleGroupVariant as bx,
19080
- _sfc_main$q as by,
19081
- ToggleInputElement as bz,
18773
+ RecurrenceWeekday as b0,
18774
+ _sfc_main$1U as b1,
18775
+ _sfc_main$o as b2,
18776
+ _sfc_main$1x as b3,
18777
+ _sfc_main$1u as b4,
18778
+ _sfc_main$1t as b5,
18779
+ SelectPickerSize as b6,
18780
+ _sfc_main$1v as b7,
18781
+ _sfc_main$1w as b8,
18782
+ SignatureFormat as b9,
18783
+ _sfc_main$U as bA,
18784
+ _sfc_main$T as bB,
18785
+ _sfc_main$S as bC,
18786
+ _sfc_main$R as bD,
18787
+ _sfc_main$9 as bE,
18788
+ controlGroupVariants as bF,
18789
+ gradientToCss as bG,
18790
+ optionTileGroupVariants as bH,
18791
+ optionTileVariants as bI,
18792
+ resolveElementSize as bJ,
18793
+ selectTriggerVariants as bK,
18794
+ toggleButtonVariants as bL,
18795
+ useCheckboxGroup as bM,
18796
+ useComboboxContext as bN,
18797
+ useEditableContext as bO,
18798
+ useEmojiPicker as bP,
18799
+ useMultiSelectContext as bQ,
18800
+ useRadioGroup as bR,
18801
+ useSortableItem as bS,
18802
+ useSortableRoot as bT,
18803
+ useTypedConfirmation as bU,
18804
+ useWizard as bV,
18805
+ _sfc_main$7 as ba,
18806
+ _sfc_main$1P as bb,
18807
+ _sfc_main$k as bc,
18808
+ _sfc_main$i as bd,
18809
+ _sfc_main$j as be,
18810
+ _sfc_main$h as bf,
18811
+ SubmitTrigger as bg,
18812
+ _sfc_main$1M as bh,
18813
+ _sfc_main$1Q as bi,
18814
+ _sfc_main$$ as bj,
18815
+ _sfc_main$1Y as bk,
18816
+ _sfc_main$1T as bl,
18817
+ _sfc_main$1b as bm,
18818
+ _sfc_main$18 as bn,
18819
+ _sfc_main$d as bo,
18820
+ _sfc_main$s as bp,
18821
+ ToggleGroupKey as bq,
18822
+ ToggleGroupVariant as br,
18823
+ _sfc_main$q as bs,
18824
+ ToggleInputElement as bt,
18825
+ ToggleInputVariant as bu,
18826
+ ToggleItemRole as bv,
18827
+ ToggleMode as bw,
18828
+ _sfc_main$6 as bx,
18829
+ _sfc_main$4 as by,
18830
+ _sfc_main$1X as bz,
19082
18831
  CategoryNavVariant as c,
19083
18832
  CategoryOrder as d,
19084
18833
  CenterEmojiSize as e,
@@ -19104,4 +18853,4 @@ export {
19104
18853
  _sfc_main$1m as y,
19105
18854
  _sfc_main$1k as z
19106
18855
  };
19107
- //# sourceMappingURL=MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js.map
18856
+ //# sourceMappingURL=UseTypedConfirmation-CvY2T4Up.js.map