@wirekyt/vue 0.0.1 → 0.0.2

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 (291) hide show
  1. package/dist/accordion.cjs +273 -0
  2. package/dist/accordion.d.cts +195 -0
  3. package/dist/accordion.d.ts +195 -0
  4. package/dist/accordion.js +250 -0
  5. package/dist/angle-slider.cjs +268 -0
  6. package/dist/angle-slider.d.cts +228 -0
  7. package/dist/angle-slider.d.ts +228 -0
  8. package/dist/angle-slider.js +244 -0
  9. package/dist/avatar.cjs +145 -0
  10. package/dist/avatar.d.cts +114 -0
  11. package/dist/avatar.d.ts +114 -0
  12. package/dist/avatar.js +126 -0
  13. package/dist/boolean-BCaEpMxQ.js +6 -0
  14. package/dist/boolean-Dyu9-5Wp.cjs +11 -0
  15. package/dist/carousel.cjs +342 -0
  16. package/dist/carousel.d.cts +303 -0
  17. package/dist/carousel.d.ts +303 -0
  18. package/dist/carousel.js +320 -0
  19. package/dist/checkbox.cjs +345 -0
  20. package/dist/checkbox.d.cts +272 -0
  21. package/dist/checkbox.d.ts +272 -0
  22. package/dist/checkbox.js +324 -0
  23. package/dist/clean-props--1kqQE0Y.js +8 -0
  24. package/dist/clean-props-MyKqus13.cjs +13 -0
  25. package/dist/client-only.cjs +17 -0
  26. package/dist/client-only.d.cts +18 -0
  27. package/dist/client-only.d.ts +18 -0
  28. package/dist/client-only.js +16 -0
  29. package/dist/clipboard.cjs +229 -0
  30. package/dist/clipboard.d.cts +203 -0
  31. package/dist/clipboard.d.ts +203 -0
  32. package/dist/clipboard.js +206 -0
  33. package/dist/collapsible-CEjnJlpm.js +179 -0
  34. package/dist/collapsible-aSz4kYqo.cjs +232 -0
  35. package/dist/collapsible.cjs +23 -0
  36. package/dist/collapsible.d.cts +161 -0
  37. package/dist/collapsible.d.ts +161 -0
  38. package/dist/collapsible.js +2 -0
  39. package/dist/collection-1IjtyI-g.cjs +254 -0
  40. package/dist/collection-Ea6ZCZKK.js +211 -0
  41. package/dist/collection.cjs +9 -0
  42. package/dist/collection.d.cts +2 -0
  43. package/dist/collection.d.ts +2 -0
  44. package/dist/collection.js +2 -0
  45. package/dist/color-picker.cjs +804 -0
  46. package/dist/color-picker.d.cts +605 -0
  47. package/dist/color-picker.d.ts +605 -0
  48. package/dist/color-picker.js +759 -0
  49. package/dist/combobox.cjs +552 -0
  50. package/dist/combobox.d.cts +442 -0
  51. package/dist/combobox.d.ts +442 -0
  52. package/dist/combobox.js +521 -0
  53. package/dist/create-split-props-BBxrD7TV.js +10 -0
  54. package/dist/create-split-props-Jx-IEwdk.cjs +15 -0
  55. package/dist/date-input.cjs +293 -0
  56. package/dist/date-input.d.cts +212 -0
  57. package/dist/date-input.d.ts +212 -0
  58. package/dist/date-input.js +270 -0
  59. package/dist/date-picker.cjs +821 -0
  60. package/dist/date-picker.d.cts +637 -0
  61. package/dist/date-picker.d.ts +637 -0
  62. package/dist/date-picker.js +776 -0
  63. package/dist/dialog.cjs +333 -0
  64. package/dist/dialog.d.cts +272 -0
  65. package/dist/dialog.d.ts +272 -0
  66. package/dist/dialog.js +308 -0
  67. package/dist/download-trigger.cjs +65 -0
  68. package/dist/download-trigger.d.cts +34 -0
  69. package/dist/download-trigger.d.ts +34 -0
  70. package/dist/download-trigger.js +63 -0
  71. package/dist/drawer.cjs +448 -0
  72. package/dist/drawer.d.cts +346 -0
  73. package/dist/drawer.d.ts +346 -0
  74. package/dist/drawer.js +415 -0
  75. package/dist/editable.cjs +331 -0
  76. package/dist/editable.d.cts +285 -0
  77. package/dist/editable.d.ts +285 -0
  78. package/dist/editable.js +306 -0
  79. package/dist/factory-8Ao0DEy3.js +34 -0
  80. package/dist/factory-BNwuanv4.d.cts +21 -0
  81. package/dist/factory-BNwuanv4.d.ts +21 -0
  82. package/dist/factory-JL7MPjkk.cjs +45 -0
  83. package/dist/field-C3pLqz1S.js +435 -0
  84. package/dist/field-DRz-v4rB.cjs +524 -0
  85. package/dist/field.cjs +22 -0
  86. package/dist/field.d.cts +344 -0
  87. package/dist/field.d.ts +344 -0
  88. package/dist/field.js +2 -0
  89. package/dist/fieldset-ByP_r1Uq.js +216 -0
  90. package/dist/fieldset-C5aj6Ims.cjs +275 -0
  91. package/dist/fieldset.cjs +17 -0
  92. package/dist/fieldset.d.cts +159 -0
  93. package/dist/fieldset.d.ts +159 -0
  94. package/dist/fieldset.js +2 -0
  95. package/dist/file-upload.cjs +421 -0
  96. package/dist/file-upload.d.cts +327 -0
  97. package/dist/file-upload.d.ts +327 -0
  98. package/dist/file-upload.js +392 -0
  99. package/dist/floating-panel.cjs +412 -0
  100. package/dist/floating-panel.d.cts +337 -0
  101. package/dist/floating-panel.d.ts +337 -0
  102. package/dist/floating-panel.js +383 -0
  103. package/dist/focus-trap.cjs +79 -0
  104. package/dist/focus-trap.d.cts +46 -0
  105. package/dist/focus-trap.d.ts +46 -0
  106. package/dist/focus-trap.js +78 -0
  107. package/dist/format.cjs +116 -0
  108. package/dist/format.d.cts +46 -0
  109. package/dist/format.d.ts +46 -0
  110. package/dist/format.js +106 -0
  111. package/dist/frame.cjs +93 -0
  112. package/dist/frame.d.cts +37 -0
  113. package/dist/frame.d.ts +37 -0
  114. package/dist/frame.js +92 -0
  115. package/dist/highlight.cjs +44 -0
  116. package/dist/highlight.d.cts +32 -0
  117. package/dist/highlight.d.ts +32 -0
  118. package/dist/highlight.js +42 -0
  119. package/dist/hover-card.cjs +269 -0
  120. package/dist/hover-card.d.cts +202 -0
  121. package/dist/hover-card.d.ts +202 -0
  122. package/dist/hover-card.js +246 -0
  123. package/dist/image-cropper.cjs +252 -0
  124. package/dist/image-cropper.d.cts +207 -0
  125. package/dist/image-cropper.d.ts +207 -0
  126. package/dist/image-cropper.js +235 -0
  127. package/dist/index-B-o8jLyV.d.cts +31 -0
  128. package/dist/index-BSoF1D-v.d.ts +31 -0
  129. package/dist/index-BTNfeIXf.d.ts +104 -0
  130. package/dist/index-C6Q2DqG6.d.ts +37 -0
  131. package/dist/index-CG9mpPgL.d.cts +444 -0
  132. package/dist/index-Cc4qS0rQ.d.cts +38 -0
  133. package/dist/index-Cc4qS0rQ.d.ts +38 -0
  134. package/dist/index-DB2uALlJ.d.cts +74 -0
  135. package/dist/index-DXb0W_NP.d.cts +37 -0
  136. package/dist/index-Zc9P69Ka.d.cts +104 -0
  137. package/dist/index-aMWdJRGL.d.ts +444 -0
  138. package/dist/index-uLE-tXSk.d.ts +74 -0
  139. package/dist/index.cjs +43 -0
  140. package/dist/index.d.cts +5 -0
  141. package/dist/index.d.ts +5 -0
  142. package/dist/index.js +7 -0
  143. package/dist/json-tree-view.cjs +346 -0
  144. package/dist/json-tree-view.d.cts +86 -0
  145. package/dist/json-tree-view.d.ts +86 -0
  146. package/dist/json-tree-view.js +336 -0
  147. package/dist/listbox.cjs +386 -0
  148. package/dist/listbox.d.cts +323 -0
  149. package/dist/listbox.d.ts +323 -0
  150. package/dist/listbox.js +361 -0
  151. package/dist/marquee.cjs +256 -0
  152. package/dist/marquee.d.cts +208 -0
  153. package/dist/marquee.d.ts +208 -0
  154. package/dist/marquee.js +235 -0
  155. package/dist/menu.cjs +650 -0
  156. package/dist/menu.d.cts +501 -0
  157. package/dist/menu.d.ts +501 -0
  158. package/dist/menu.js +613 -0
  159. package/dist/navigation-menu.cjs +408 -0
  160. package/dist/navigation-menu.d.cts +271 -0
  161. package/dist/navigation-menu.d.ts +271 -0
  162. package/dist/navigation-menu.js +380 -0
  163. package/dist/number-input.cjs +298 -0
  164. package/dist/number-input.d.cts +253 -0
  165. package/dist/number-input.d.ts +253 -0
  166. package/dist/number-input.js +274 -0
  167. package/dist/pagination.cjs +249 -0
  168. package/dist/pagination.d.cts +209 -0
  169. package/dist/pagination.d.ts +209 -0
  170. package/dist/pagination.js +226 -0
  171. package/dist/password-input.cjs +232 -0
  172. package/dist/password-input.d.cts +208 -0
  173. package/dist/password-input.d.ts +208 -0
  174. package/dist/password-input.js +210 -0
  175. package/dist/pin-input.cjs +245 -0
  176. package/dist/pin-input.d.cts +199 -0
  177. package/dist/pin-input.d.ts +199 -0
  178. package/dist/pin-input.js +224 -0
  179. package/dist/popover.cjs +377 -0
  180. package/dist/popover.d.cts +324 -0
  181. package/dist/popover.d.ts +324 -0
  182. package/dist/popover.js +349 -0
  183. package/dist/presence-DD3l4Tgb.cjs +60 -0
  184. package/dist/presence-jaHZaD_O.js +43 -0
  185. package/dist/presence.cjs +7 -0
  186. package/dist/presence.d.cts +3 -0
  187. package/dist/presence.d.ts +3 -0
  188. package/dist/presence.js +3 -0
  189. package/dist/progress.cjs +270 -0
  190. package/dist/progress.d.cts +229 -0
  191. package/dist/progress.d.ts +229 -0
  192. package/dist/progress.js +245 -0
  193. package/dist/providers-5QhcwgSd.cjs +190 -0
  194. package/dist/providers-C3XQH-uu.js +119 -0
  195. package/dist/qr-code.cjs +195 -0
  196. package/dist/qr-code.d.cts +157 -0
  197. package/dist/qr-code.d.ts +157 -0
  198. package/dist/qr-code.js +174 -0
  199. package/dist/radio-group.cjs +274 -0
  200. package/dist/radio-group.d.cts +230 -0
  201. package/dist/radio-group.d.ts +230 -0
  202. package/dist/radio-group.js +249 -0
  203. package/dist/rating-group.cjs +243 -0
  204. package/dist/rating-group.d.cts +200 -0
  205. package/dist/rating-group.d.ts +200 -0
  206. package/dist/rating-group.js +220 -0
  207. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  208. package/dist/rolldown-runtime-DakpK96I.cjs +43 -0
  209. package/dist/scroll-area.cjs +206 -0
  210. package/dist/scroll-area.d.cts +169 -0
  211. package/dist/scroll-area.d.ts +169 -0
  212. package/dist/scroll-area.js +184 -0
  213. package/dist/segment-group.cjs +318 -0
  214. package/dist/segment-group.d.cts +229 -0
  215. package/dist/segment-group.d.ts +229 -0
  216. package/dist/segment-group.js +298 -0
  217. package/dist/select.cjs +560 -0
  218. package/dist/select.d.cts +430 -0
  219. package/dist/select.d.ts +430 -0
  220. package/dist/select.js +523 -0
  221. package/dist/signature-pad.cjs +260 -0
  222. package/dist/signature-pad.d.cts +200 -0
  223. package/dist/signature-pad.d.ts +200 -0
  224. package/dist/signature-pad.js +237 -0
  225. package/dist/slider.cjs +350 -0
  226. package/dist/slider.d.cts +299 -0
  227. package/dist/slider.d.ts +299 -0
  228. package/dist/slider.js +323 -0
  229. package/dist/splitter.cjs +225 -0
  230. package/dist/splitter.d.cts +166 -0
  231. package/dist/splitter.d.ts +166 -0
  232. package/dist/splitter.js +198 -0
  233. package/dist/steps.cjs +348 -0
  234. package/dist/steps.d.cts +289 -0
  235. package/dist/steps.d.ts +289 -0
  236. package/dist/steps.js +319 -0
  237. package/dist/swap.cjs +154 -0
  238. package/dist/swap.d.cts +98 -0
  239. package/dist/swap.d.ts +98 -0
  240. package/dist/swap.js +141 -0
  241. package/dist/switch.cjs +213 -0
  242. package/dist/switch.d.cts +177 -0
  243. package/dist/switch.d.ts +177 -0
  244. package/dist/switch.js +192 -0
  245. package/dist/tabs.cjs +240 -0
  246. package/dist/tabs.d.cts +179 -0
  247. package/dist/tabs.d.ts +179 -0
  248. package/dist/tabs.js +218 -0
  249. package/dist/tags-input.cjs +405 -0
  250. package/dist/tags-input.d.cts +340 -0
  251. package/dist/tags-input.d.ts +340 -0
  252. package/dist/tags-input.js +376 -0
  253. package/dist/timer.cjs +221 -0
  254. package/dist/timer.d.cts +176 -0
  255. package/dist/timer.d.ts +176 -0
  256. package/dist/timer.js +199 -0
  257. package/dist/toast.cjs +211 -0
  258. package/dist/toast.d.cts +157 -0
  259. package/dist/toast.d.ts +157 -0
  260. package/dist/toast.js +189 -0
  261. package/dist/toggle-group.cjs +150 -0
  262. package/dist/toggle-group.d.cts +122 -0
  263. package/dist/toggle-group.d.ts +122 -0
  264. package/dist/toggle-group.js +132 -0
  265. package/dist/toggle.cjs +107 -0
  266. package/dist/toggle.d.cts +98 -0
  267. package/dist/toggle.d.ts +98 -0
  268. package/dist/toggle.js +94 -0
  269. package/dist/tooltip.cjs +265 -0
  270. package/dist/tooltip.d.cts +204 -0
  271. package/dist/tooltip.d.ts +204 -0
  272. package/dist/tooltip.js +242 -0
  273. package/dist/tour.cjs +418 -0
  274. package/dist/tour.d.cts +304 -0
  275. package/dist/tour.d.ts +304 -0
  276. package/dist/tour.js +374 -0
  277. package/dist/tree-view-CWH9tv7s.cjs +651 -0
  278. package/dist/tree-view-CZcXMwi6.js +508 -0
  279. package/dist/tree-view.cjs +41 -0
  280. package/dist/tree-view.d.cts +3 -0
  281. package/dist/tree-view.d.ts +3 -0
  282. package/dist/tree-view.js +3 -0
  283. package/dist/types-rSRkzyd6.d.cts +13 -0
  284. package/dist/types-rSRkzyd6.d.ts +13 -0
  285. package/dist/use-presence-BSp_dR-C.d.cts +22 -0
  286. package/dist/use-presence-CtEY6ZT8.cjs +49 -0
  287. package/dist/use-presence-DkGU_j9h.d.ts +22 -0
  288. package/dist/use-presence-oNdFU2c2.js +42 -0
  289. package/dist/utils-D95V66v9.js +548 -0
  290. package/dist/utils-XrBZd2Yk.cjs +625 -0
  291. package/package.json +278 -6
@@ -0,0 +1,759 @@
1
+ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
+ import { a as mergeProps$1, c as normalizeProps$1, d as useForwardExpose, m as createContext, n as RenderStrategyPropsProvider, s as useMachine } from "./utils-D95V66v9.js";
3
+ import { a as DEFAULT_LOCALE, d as useEnvironmentContext, o as useLocaleContext, u as DEFAULT_ENVIRONMENT } from "./providers-C3XQH-uu.js";
4
+ import { t as cleanProps } from "./clean-props--1kqQE0Y.js";
5
+ import { n as wire } from "./factory-8Ao0DEy3.js";
6
+ import { h as useFieldContext } from "./field-C3pLqz1S.js";
7
+ import { n as PresenceProvider, r as usePresenceContext } from "./presence-jaHZaD_O.js";
8
+ import { t as usePresence } from "./use-presence-oNdFU2c2.js";
9
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
10
+ import * as colorPicker from "@wirekyt/dom/machines/color-picker";
11
+ import { anatomy, parse as parseColor } from "@wirekyt/dom/machines/color-picker";
12
+ //#region src/components/color-picker/use-area-props-context.ts
13
+ const [ColorPickerAreaPropsProvider, useColorPickerAreaPropsContext] = createContext("ColorPickerAreaPropsContext");
14
+ //#endregion
15
+ //#region src/components/color-picker/use-context.ts
16
+ const [ColorPickerProvider, useColorPickerContext] = createContext("ColorPickerContext");
17
+ //#endregion
18
+ //#region src/components/color-picker/area-background.vue
19
+ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
20
+ __name: "area-background",
21
+ props: { asChild: { type: Boolean } },
22
+ setup(__props) {
23
+ const colorPicker = useColorPickerContext();
24
+ const areaProps = useColorPickerAreaPropsContext();
25
+ useForwardExpose();
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getAreaBackgroundProps(unref(areaProps)), { "as-child": __props.asChild }), {
28
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
29
+ _: 3
30
+ }, 16, ["as-child"]);
31
+ };
32
+ }
33
+ });
34
+ //#endregion
35
+ //#region src/components/color-picker/area-thumb.vue
36
+ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
37
+ __name: "area-thumb",
38
+ props: { asChild: { type: Boolean } },
39
+ setup(__props) {
40
+ const colorPicker = useColorPickerContext();
41
+ const areaProps = useColorPickerAreaPropsContext();
42
+ useForwardExpose();
43
+ return (_ctx, _cache) => {
44
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getAreaThumbProps(unref(areaProps)), { "as-child": __props.asChild }), {
45
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
46
+ _: 3
47
+ }, 16, ["as-child"]);
48
+ };
49
+ }
50
+ });
51
+ //#endregion
52
+ //#region src/components/color-picker/area.vue
53
+ const _sfc_main = /*@__PURE__*/ defineComponent({
54
+ __name: "area",
55
+ props: {
56
+ xChannel: {},
57
+ yChannel: {},
58
+ asChild: { type: Boolean }
59
+ },
60
+ setup(__props) {
61
+ const props = __props;
62
+ const colorPicker = useColorPickerContext();
63
+ ColorPickerAreaPropsProvider(props);
64
+ useForwardExpose();
65
+ return (_ctx, _cache) => {
66
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getAreaProps(props), { "as-child": __props.asChild }), {
67
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
68
+ _: 3
69
+ }, 16, ["as-child"]);
70
+ };
71
+ }
72
+ });
73
+ //#endregion
74
+ //#region src/components/color-picker/channel-input.vue
75
+ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
76
+ __name: "channel-input",
77
+ props: {
78
+ channel: {},
79
+ orientation: {},
80
+ asChild: { type: Boolean }
81
+ },
82
+ setup(__props) {
83
+ const props = __props;
84
+ const colorPicker = useColorPickerContext();
85
+ useForwardExpose();
86
+ return (_ctx, _cache) => {
87
+ return openBlock(), createBlock(unref(wire).input, mergeProps(unref(colorPicker).getChannelInputProps(props), { "as-child": __props.asChild }), {
88
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
89
+ _: 3
90
+ }, 16, ["as-child"]);
91
+ };
92
+ }
93
+ });
94
+ //#endregion
95
+ //#region src/components/color-picker/use-channel-props-context.ts
96
+ const [ColorPickerChannelPropsProvider, useColorPickerChannelPropsContext] = createContext("ColorPickerChannelPropsContext");
97
+ //#endregion
98
+ //#region src/components/color-picker/channel-slider-label.vue
99
+ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
100
+ __name: "channel-slider-label",
101
+ props: { asChild: { type: Boolean } },
102
+ setup(__props) {
103
+ const colorPicker = useColorPickerContext();
104
+ const channelProps = useColorPickerChannelPropsContext();
105
+ useForwardExpose();
106
+ return (_ctx, _cache) => {
107
+ return openBlock(), createBlock(unref(wire).label, mergeProps(unref(colorPicker).getChannelSliderLabelProps(unref(channelProps)), { "as-child": __props.asChild }), {
108
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
109
+ _: 3
110
+ }, 16, ["as-child"]);
111
+ };
112
+ }
113
+ });
114
+ //#endregion
115
+ //#region src/components/color-picker/use-format-context.ts
116
+ const [ColorPickerFormatPropsProvider, useColorPickerFormatPropsContext] = createContext("ColorPickerFormatProps");
117
+ //#endregion
118
+ //#region src/components/color-picker/channel-slider-thumb.vue
119
+ const _sfc_main$6 = /*@__PURE__*/ defineComponent({
120
+ __name: "channel-slider-thumb",
121
+ props: { asChild: { type: Boolean } },
122
+ setup(__props) {
123
+ const colorPicker = useColorPickerContext();
124
+ const formatProps = useColorPickerFormatPropsContext();
125
+ const channelProps = useColorPickerChannelPropsContext();
126
+ const channelSliderProps = computed(() => ({
127
+ ...channelProps,
128
+ ...formatProps
129
+ }));
130
+ useForwardExpose();
131
+ return (_ctx, _cache) => {
132
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getChannelSliderThumbProps(channelSliderProps.value), { "as-child": __props.asChild }), {
133
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
134
+ _: 3
135
+ }, 16, ["as-child"]);
136
+ };
137
+ }
138
+ });
139
+ //#endregion
140
+ //#region src/components/color-picker/channel-slider-track.vue
141
+ const _sfc_main$7 = /*@__PURE__*/ defineComponent({
142
+ __name: "channel-slider-track",
143
+ props: { asChild: { type: Boolean } },
144
+ setup(__props) {
145
+ const colorPicker = useColorPickerContext();
146
+ const formatProps = useColorPickerFormatPropsContext();
147
+ const channelProps = useColorPickerChannelPropsContext();
148
+ const channelSliderProps = computed(() => ({
149
+ ...channelProps,
150
+ ...formatProps
151
+ }));
152
+ useForwardExpose();
153
+ return (_ctx, _cache) => {
154
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getChannelSliderTrackProps(channelSliderProps.value), { "as-child": __props.asChild }), {
155
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
156
+ _: 3
157
+ }, 16, ["as-child"]);
158
+ };
159
+ }
160
+ });
161
+ //#endregion
162
+ //#region src/components/color-picker/channel-slider-value-text.vue
163
+ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
164
+ __name: "channel-slider-value-text",
165
+ props: { asChild: { type: Boolean } },
166
+ setup(__props) {
167
+ const colorPicker = useColorPickerContext();
168
+ const channelProps = useColorPickerChannelPropsContext();
169
+ const slots = useSlots();
170
+ const localeContext = useLocaleContext(DEFAULT_LOCALE);
171
+ useForwardExpose();
172
+ return (_ctx, _cache) => {
173
+ return openBlock(), createBlock(unref(wire).span, mergeProps(unref(colorPicker).getChannelSliderValueTextProps(unref(channelProps)), { "as-child": __props.asChild }), {
174
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(slots.default?.() || unref(colorPicker).getChannelValueText(unref(channelProps).channel, unref(localeContext).locale)), 1)])]),
175
+ _: 3
176
+ }, 16, ["as-child"]);
177
+ };
178
+ }
179
+ });
180
+ //#endregion
181
+ //#region src/components/color-picker/channel-slider.vue
182
+ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
183
+ __name: "channel-slider",
184
+ props: {
185
+ channel: {},
186
+ orientation: {},
187
+ asChild: { type: Boolean }
188
+ },
189
+ setup(__props) {
190
+ const props = __props;
191
+ const colorPicker = useColorPickerContext();
192
+ const formatProps = useColorPickerFormatPropsContext();
193
+ const channelSliderProps = computed(() => ({
194
+ ...props,
195
+ ...formatProps
196
+ }));
197
+ ColorPickerChannelPropsProvider(props);
198
+ useForwardExpose();
199
+ return (_ctx, _cache) => {
200
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getChannelSliderProps(channelSliderProps.value), { "as-child": __props.asChild }), {
201
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
202
+ _: 3
203
+ }, 16, ["as-child"]);
204
+ };
205
+ }
206
+ });
207
+ //#endregion
208
+ //#region src/components/color-picker/content.vue
209
+ const _sfc_main$9 = /*@__PURE__*/ defineComponent({
210
+ __name: "content",
211
+ props: {
212
+ immediate: { type: Boolean },
213
+ lazyMount: { type: Boolean },
214
+ present: { type: Boolean },
215
+ skipAnimationOnMount: { type: Boolean },
216
+ unmountOnExit: { type: Boolean },
217
+ asChild: { type: Boolean }
218
+ },
219
+ setup(__props) {
220
+ const colorPicker = useColorPickerContext();
221
+ const presence = usePresenceContext();
222
+ const mergedProps = computed(() => mergeProps$1(colorPicker.value.getContentProps(), presence.value.presenceProps));
223
+ useForwardExpose();
224
+ return (_ctx, _cache) => {
225
+ return !unref(presence).unmounted ? (openBlock(), createBlock(unref(wire).div, mergeProps({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
226
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
227
+ _: 3
228
+ }, 16, ["as-child"])) : createCommentVNode("v-if", true);
229
+ };
230
+ }
231
+ });
232
+ //#endregion
233
+ //#region src/components/color-picker/context.vue
234
+ const _sfc_main$10 = /*@__PURE__*/ defineComponent({
235
+ __name: "context",
236
+ setup(__props) {
237
+ const colorPicker = useColorPickerContext();
238
+ return (_ctx, _cache) => {
239
+ return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(colorPicker))));
240
+ };
241
+ }
242
+ });
243
+ //#endregion
244
+ //#region src/components/color-picker/control.vue
245
+ const _sfc_main$11 = /*@__PURE__*/ defineComponent({
246
+ __name: "control",
247
+ props: { asChild: { type: Boolean } },
248
+ setup(__props) {
249
+ const colorPicker = useColorPickerContext();
250
+ useForwardExpose();
251
+ return (_ctx, _cache) => {
252
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getControlProps(), { "as-child": __props.asChild }), {
253
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
254
+ _: 3
255
+ }, 16, ["as-child"]);
256
+ };
257
+ }
258
+ });
259
+ //#endregion
260
+ //#region src/components/color-picker/eye-dropper-trigger.vue
261
+ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
262
+ __name: "eye-dropper-trigger",
263
+ props: { asChild: { type: Boolean } },
264
+ setup(__props) {
265
+ const colorPicker = useColorPickerContext();
266
+ useForwardExpose();
267
+ return (_ctx, _cache) => {
268
+ return openBlock(), createBlock(unref(wire).button, mergeProps(unref(colorPicker).getEyeDropperTriggerProps(), { "as-child": __props.asChild }), {
269
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
270
+ _: 3
271
+ }, 16, ["as-child"]);
272
+ };
273
+ }
274
+ });
275
+ //#endregion
276
+ //#region src/components/color-picker/format-select.vue
277
+ const _sfc_main$13 = /*@__PURE__*/ defineComponent({
278
+ __name: "format-select",
279
+ props: { asChild: { type: Boolean } },
280
+ setup(__props) {
281
+ const colorPicker = useColorPickerContext();
282
+ useForwardExpose();
283
+ return (_ctx, _cache) => {
284
+ return openBlock(), createBlock(unref(wire).select, normalizeProps(guardReactiveProps(unref(colorPicker).getFormatSelectProps())), {
285
+ default: withCtx(() => [(openBlock(), createElementBlock(Fragment, null, renderList([
286
+ "rgba",
287
+ "hsla",
288
+ "hsba"
289
+ ], (format) => {
290
+ return createVNode(unref(wire).option, {
291
+ key: format,
292
+ value: format
293
+ }, {
294
+ default: withCtx(() => [createTextVNode(toDisplayString(format), 1)]),
295
+ _: 2
296
+ }, 1032, ["value"]);
297
+ }), 64))]),
298
+ _: 1
299
+ }, 16);
300
+ };
301
+ }
302
+ });
303
+ //#endregion
304
+ //#region src/components/color-picker/format-trigger.vue
305
+ const _sfc_main$14 = /*@__PURE__*/ defineComponent({
306
+ __name: "format-trigger",
307
+ props: { asChild: { type: Boolean } },
308
+ setup(__props) {
309
+ const colorPicker = useColorPickerContext();
310
+ useForwardExpose();
311
+ return (_ctx, _cache) => {
312
+ return openBlock(), createBlock(unref(wire).button, mergeProps(unref(colorPicker).getFormatTriggerProps(), { "as-child": __props.asChild }), {
313
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
314
+ _: 3
315
+ }, 16, ["as-child"]);
316
+ };
317
+ }
318
+ });
319
+ //#endregion
320
+ //#region src/components/color-picker/hidden-input.vue
321
+ const _sfc_main$15 = /*@__PURE__*/ defineComponent({
322
+ __name: "hidden-input",
323
+ props: { asChild: { type: Boolean } },
324
+ setup(__props) {
325
+ const colorPicker = useColorPickerContext();
326
+ const field = useFieldContext();
327
+ useForwardExpose();
328
+ return (_ctx, _cache) => {
329
+ return openBlock(), createBlock(unref(wire).input, mergeProps({ "aria-describedby": unref(field)?.ariaDescribedby }, unref(colorPicker).getHiddenInputProps(), { "as-child": __props.asChild }), {
330
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
331
+ _: 3
332
+ }, 16, ["aria-describedby", "as-child"]);
333
+ };
334
+ }
335
+ });
336
+ //#endregion
337
+ //#region src/components/color-picker/label.vue
338
+ const _sfc_main$16 = /*@__PURE__*/ defineComponent({
339
+ __name: "label",
340
+ props: { asChild: { type: Boolean } },
341
+ setup(__props) {
342
+ const colorPicker = useColorPickerContext();
343
+ useForwardExpose();
344
+ return (_ctx, _cache) => {
345
+ return openBlock(), createBlock(unref(wire).label, mergeProps(unref(colorPicker).getLabelProps(), { "as-child": __props.asChild }), {
346
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
347
+ _: 3
348
+ }, 16, ["as-child"]);
349
+ };
350
+ }
351
+ });
352
+ //#endregion
353
+ //#region src/components/color-picker/positioner.vue
354
+ const _sfc_main$17 = /*@__PURE__*/ defineComponent({
355
+ __name: "positioner",
356
+ props: { asChild: { type: Boolean } },
357
+ setup(__props) {
358
+ const colorPicker = useColorPickerContext();
359
+ const presence = usePresenceContext();
360
+ useForwardExpose();
361
+ return (_ctx, _cache) => {
362
+ return !unref(presence).unmounted ? (openBlock(), createBlock(unref(wire).div, mergeProps({ key: 0 }, unref(colorPicker).getPositionerProps(), { "as-child": __props.asChild }), {
363
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
364
+ _: 3
365
+ }, 16, ["as-child"])) : createCommentVNode("v-if", true);
366
+ };
367
+ }
368
+ });
369
+ //#endregion
370
+ //#region src/components/color-picker/root-provider.vue
371
+ const _sfc_main$19 = /*@__PURE__*/ defineComponent({
372
+ __name: "root-provider",
373
+ props: {
374
+ value: {},
375
+ lazyMount: { type: Boolean },
376
+ unmountOnExit: { type: Boolean },
377
+ asChild: { type: Boolean }
378
+ },
379
+ emits: ["exitComplete"],
380
+ setup(__props, { emit: __emit }) {
381
+ const props = __props;
382
+ const emits = __emit;
383
+ const colorPicker = computed(() => props.value);
384
+ const presence = usePresence(computed(() => ({
385
+ present: colorPicker.value.open,
386
+ lazyMount: props.lazyMount,
387
+ unmountOnExit: props.unmountOnExit
388
+ })), emits);
389
+ ColorPickerProvider(colorPicker);
390
+ PresenceProvider(presence);
391
+ RenderStrategyPropsProvider(computed(() => ({
392
+ lazyMount: props.lazyMount,
393
+ unmountOnExit: props.unmountOnExit
394
+ })));
395
+ useForwardExpose();
396
+ return (_ctx, _cache) => {
397
+ return openBlock(), createBlock(unref(wire).div, mergeProps(colorPicker.value.getRootProps(), { "as-child": __props.asChild }), {
398
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
399
+ _: 3
400
+ }, 16, ["as-child"]);
401
+ };
402
+ }
403
+ });
404
+ //#endregion
405
+ //#region src/components/color-picker/use-color-picker.ts
406
+ const useColorPicker = (props = {}, emit) => {
407
+ const id = useId();
408
+ const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
409
+ const locale = useLocaleContext(DEFAULT_LOCALE);
410
+ const field = useFieldContext();
411
+ const context = computed(() => {
412
+ const localProps = toValue(props);
413
+ return {
414
+ id,
415
+ ids: {
416
+ label: field?.value.ids.label,
417
+ input: field?.value.ids.control
418
+ },
419
+ disabled: field?.value.disabled,
420
+ invalid: field?.value.invalid,
421
+ readOnly: field?.value.readOnly,
422
+ required: field?.value.required,
423
+ dir: locale.value.dir,
424
+ value: localProps.modelValue,
425
+ getRootNode: env?.value.getRootNode,
426
+ ...cleanProps(localProps),
427
+ onOpenChange(details) {
428
+ emit?.("openChange", details);
429
+ emit?.("update:open", details.open);
430
+ localProps.onOpenChange?.(details);
431
+ },
432
+ onValueChange(details) {
433
+ emit?.("valueChange", details);
434
+ emit?.("update:modelValue", details.value);
435
+ localProps.onValueChange?.(details);
436
+ },
437
+ onFocusOutside: (details) => {
438
+ emit?.("focusOutside", details);
439
+ localProps.onFocusOutside?.(details);
440
+ },
441
+ onFormatChange: (details) => {
442
+ emit?.("formatChange", details);
443
+ emit?.("update:format", details.format);
444
+ localProps.onFormatChange?.(details);
445
+ },
446
+ onInteractOutside: (details) => {
447
+ emit?.("interactOutside", details);
448
+ localProps.onInteractOutside?.(details);
449
+ },
450
+ onPointerDownOutside: (details) => {
451
+ emit?.("pointerDownOutside", details);
452
+ localProps.onPointerDownOutside?.(details);
453
+ },
454
+ onValueChangeEnd: (details) => {
455
+ emit?.("valueChangeEnd", details);
456
+ localProps.onValueChangeEnd?.(details);
457
+ }
458
+ };
459
+ });
460
+ const service = useMachine(colorPicker.machine, context);
461
+ return computed(() => colorPicker.connect(service, normalizeProps$1));
462
+ };
463
+ //#endregion
464
+ //#region src/components/color-picker/root.vue
465
+ const _sfc_main$18 = /*@__PURE__*/ defineComponent({
466
+ __name: "root",
467
+ props: /*@__PURE__*/ mergeDefaults({
468
+ closeOnSelect: { type: Boolean },
469
+ defaultFormat: {},
470
+ defaultOpen: { type: Boolean },
471
+ defaultValue: {},
472
+ disabled: { type: Boolean },
473
+ format: {},
474
+ id: {},
475
+ ids: {},
476
+ initialFocusEl: { type: Function },
477
+ invalid: { type: Boolean },
478
+ modelValue: {},
479
+ name: {},
480
+ open: { type: Boolean },
481
+ openAutoFocus: { type: Boolean },
482
+ positioning: {},
483
+ readOnly: { type: Boolean },
484
+ required: { type: Boolean },
485
+ inline: { type: Boolean },
486
+ lazyMount: { type: Boolean },
487
+ unmountOnExit: { type: Boolean },
488
+ asChild: { type: Boolean }
489
+ }, {
490
+ closeOnSelect: void 0,
491
+ defaultOpen: void 0,
492
+ disabled: void 0,
493
+ invalid: void 0,
494
+ open: void 0,
495
+ openAutoFocus: void 0,
496
+ readOnly: void 0,
497
+ required: void 0,
498
+ inline: void 0
499
+ }),
500
+ emits: [
501
+ "exitComplete",
502
+ "focusOutside",
503
+ "formatChange",
504
+ "interactOutside",
505
+ "openChange",
506
+ "pointerDownOutside",
507
+ "valueChange",
508
+ "valueChangeEnd",
509
+ "update:modelValue",
510
+ "update:open",
511
+ "update:format"
512
+ ],
513
+ setup(__props, { emit: __emit }) {
514
+ const props = __props;
515
+ const emits = __emit;
516
+ const colorPicker = useColorPicker(props, emits);
517
+ const presence = usePresence(computed(() => ({
518
+ present: colorPicker.value.open,
519
+ lazyMount: props.lazyMount,
520
+ unmountOnExit: props.unmountOnExit
521
+ })), emits);
522
+ ColorPickerProvider(colorPicker);
523
+ PresenceProvider(presence);
524
+ RenderStrategyPropsProvider(computed(() => ({
525
+ lazyMount: props.lazyMount,
526
+ unmountOnExit: props.unmountOnExit
527
+ })));
528
+ useForwardExpose();
529
+ return (_ctx, _cache) => {
530
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getRootProps(), { "as-child": __props.asChild }), {
531
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
532
+ _: 3
533
+ }, 16, ["as-child"]);
534
+ };
535
+ }
536
+ });
537
+ //#endregion
538
+ //#region src/components/color-picker/anatomy.ts
539
+ const colorPickerAnatomy = anatomy.extendWith("view");
540
+ //#endregion
541
+ //#region src/components/color-picker/swatch-group.vue
542
+ const _sfc_main$21 = /*@__PURE__*/ defineComponent({
543
+ __name: "swatch-group",
544
+ props: { asChild: { type: Boolean } },
545
+ setup(__props) {
546
+ useForwardExpose();
547
+ return (_ctx, _cache) => {
548
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPickerAnatomy).build().swatchGroup.attrs, { "as-child": __props.asChild }), {
549
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
550
+ _: 3
551
+ }, 16, ["as-child"]);
552
+ };
553
+ }
554
+ });
555
+ //#endregion
556
+ //#region src/components/color-picker/use-swatch-props-context.ts
557
+ const [ColorPickerSwatchPropsProvider, useColorPickerSwatchPropsContext] = createContext("ColorPickerSwatchPropsContext");
558
+ //#endregion
559
+ //#region src/components/color-picker/swatch-indicator.vue
560
+ const _sfc_main$22 = /*@__PURE__*/ defineComponent({
561
+ __name: "swatch-indicator",
562
+ props: { asChild: { type: Boolean } },
563
+ setup(__props) {
564
+ const colorPicker = useColorPickerContext();
565
+ const swatchProps = useColorPickerSwatchPropsContext();
566
+ useForwardExpose();
567
+ return (_ctx, _cache) => {
568
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getSwatchIndicatorProps(unref(swatchProps)), { "as-child": __props.asChild }), {
569
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
570
+ _: 3
571
+ }, 16, ["as-child"]);
572
+ };
573
+ }
574
+ });
575
+ //#endregion
576
+ //#region src/components/color-picker/swatch-trigger.vue
577
+ const _sfc_main$23 = /*@__PURE__*/ defineComponent({
578
+ __name: "swatch-trigger",
579
+ props: {
580
+ value: {},
581
+ disabled: { type: Boolean },
582
+ asChild: { type: Boolean }
583
+ },
584
+ setup(__props) {
585
+ const props = __props;
586
+ const colorPicker = useColorPickerContext();
587
+ useForwardExpose();
588
+ return (_ctx, _cache) => {
589
+ return openBlock(), createBlock(unref(wire).button, mergeProps(unref(colorPicker).getSwatchTriggerProps(props), { "as-child": __props.asChild }), {
590
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
591
+ _: 3
592
+ }, 16, ["as-child"]);
593
+ };
594
+ }
595
+ });
596
+ //#endregion
597
+ //#region src/components/color-picker/swatch.vue
598
+ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
599
+ __name: "swatch",
600
+ props: {
601
+ value: {},
602
+ respectAlpha: { type: Boolean },
603
+ asChild: { type: Boolean }
604
+ },
605
+ setup(__props) {
606
+ const props = __props;
607
+ const colorPicker = useColorPickerContext();
608
+ ColorPickerSwatchPropsProvider(props);
609
+ useForwardExpose();
610
+ return (_ctx, _cache) => {
611
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getSwatchProps(props), { "as-child": __props.asChild }), {
612
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
613
+ _: 3
614
+ }, 16, ["as-child"]);
615
+ };
616
+ }
617
+ });
618
+ //#endregion
619
+ //#region src/components/color-picker/transparency-grid.vue
620
+ const _sfc_main$24 = /*@__PURE__*/ defineComponent({
621
+ __name: "transparency-grid",
622
+ props: {
623
+ size: {},
624
+ asChild: { type: Boolean }
625
+ },
626
+ setup(__props) {
627
+ const props = __props;
628
+ const colorPicker = useColorPickerContext();
629
+ useForwardExpose();
630
+ return (_ctx, _cache) => {
631
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getTransparencyGridProps(props), { "as-child": __props.asChild }), {
632
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
633
+ _: 3
634
+ }, 16, ["as-child"]);
635
+ };
636
+ }
637
+ });
638
+ //#endregion
639
+ //#region src/components/color-picker/trigger.vue
640
+ const _sfc_main$25 = /*@__PURE__*/ defineComponent({
641
+ __name: "trigger",
642
+ props: { asChild: { type: Boolean } },
643
+ setup(__props) {
644
+ const colorPicker = useColorPickerContext();
645
+ useForwardExpose();
646
+ return (_ctx, _cache) => {
647
+ return openBlock(), createBlock(unref(wire).button, mergeProps(unref(colorPicker).getTriggerProps(), { "as-child": __props.asChild }), {
648
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
649
+ _: 3
650
+ }, 16, ["as-child"]);
651
+ };
652
+ }
653
+ });
654
+ //#endregion
655
+ //#region src/components/color-picker/value-swatch.vue
656
+ const _sfc_main$26 = /*@__PURE__*/ defineComponent({
657
+ __name: "value-swatch",
658
+ props: {
659
+ respectAlpha: { type: Boolean },
660
+ asChild: { type: Boolean }
661
+ },
662
+ setup(__props) {
663
+ const props = __props;
664
+ const colorPicker = useColorPickerContext();
665
+ const swatchProps = computed(() => ({
666
+ value: colorPicker.value.value,
667
+ respectAlpha: props.respectAlpha
668
+ }));
669
+ ColorPickerSwatchPropsProvider(swatchProps.value);
670
+ useForwardExpose();
671
+ return (_ctx, _cache) => {
672
+ return openBlock(), createBlock(unref(wire).div, mergeProps(unref(colorPicker).getSwatchProps(swatchProps.value), { "as-child": __props.asChild }), {
673
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
674
+ _: 3
675
+ }, 16, ["as-child"]);
676
+ };
677
+ }
678
+ });
679
+ //#endregion
680
+ //#region src/components/color-picker/value-text.vue
681
+ const _sfc_main$27 = /*@__PURE__*/ defineComponent({
682
+ __name: "value-text",
683
+ props: {
684
+ format: {},
685
+ asChild: { type: Boolean }
686
+ },
687
+ setup(__props) {
688
+ const props = __props;
689
+ const colorPicker = useColorPickerContext();
690
+ const slots = useSlots();
691
+ useForwardExpose();
692
+ const valueAsString = computed(() => props.format ? colorPicker.value.value.toString(props.format) : colorPicker.value.valueAsString);
693
+ return (_ctx, _cache) => {
694
+ return openBlock(), createBlock(unref(wire).span, mergeProps(unref(colorPicker).getValueTextProps(), { "as-child": __props.asChild }), {
695
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(slots.default?.() || valueAsString.value), 1)])]),
696
+ _: 3
697
+ }, 16, ["as-child"]);
698
+ };
699
+ }
700
+ });
701
+ //#endregion
702
+ //#region src/components/color-picker/view.vue
703
+ const _sfc_main$28 = /*@__PURE__*/ defineComponent({
704
+ __name: "view",
705
+ props: {
706
+ format: {},
707
+ asChild: { type: Boolean }
708
+ },
709
+ setup(__props) {
710
+ const props = __props;
711
+ const colorPicker = useColorPickerContext();
712
+ ColorPickerFormatPropsProvider(props);
713
+ useForwardExpose();
714
+ return (_ctx, _cache) => {
715
+ return unref(colorPicker).format === __props.format ? (openBlock(), createBlock(unref(wire).div, mergeProps({ key: 0 }, unref(colorPickerAnatomy).build().view.attrs, {
716
+ "data-format": __props.format,
717
+ "as-child": __props.asChild
718
+ }), {
719
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
720
+ _: 3
721
+ }, 16, ["data-format", "as-child"])) : createCommentVNode("v-if", true);
722
+ };
723
+ }
724
+ });
725
+ //#endregion
726
+ //#region src/components/color-picker/color-picker.ts
727
+ var color_picker_exports = /* @__PURE__ */ __exportAll({
728
+ Area: () => _sfc_main,
729
+ AreaBackground: () => _sfc_main$1,
730
+ AreaThumb: () => _sfc_main$2,
731
+ ChannelInput: () => _sfc_main$3,
732
+ ChannelSlider: () => _sfc_main$4,
733
+ ChannelSliderLabel: () => _sfc_main$5,
734
+ ChannelSliderThumb: () => _sfc_main$6,
735
+ ChannelSliderTrack: () => _sfc_main$7,
736
+ ChannelSliderValueText: () => _sfc_main$8,
737
+ Content: () => _sfc_main$9,
738
+ Context: () => _sfc_main$10,
739
+ Control: () => _sfc_main$11,
740
+ EyeDropperTrigger: () => _sfc_main$12,
741
+ FormatSelect: () => _sfc_main$13,
742
+ FormatTrigger: () => _sfc_main$14,
743
+ HiddenInput: () => _sfc_main$15,
744
+ Label: () => _sfc_main$16,
745
+ Positioner: () => _sfc_main$17,
746
+ Root: () => _sfc_main$18,
747
+ RootProvider: () => _sfc_main$19,
748
+ Swatch: () => _sfc_main$20,
749
+ SwatchGroup: () => _sfc_main$21,
750
+ SwatchIndicator: () => _sfc_main$22,
751
+ SwatchTrigger: () => _sfc_main$23,
752
+ TransparencyGrid: () => _sfc_main$24,
753
+ Trigger: () => _sfc_main$25,
754
+ ValueSwatch: () => _sfc_main$26,
755
+ ValueText: () => _sfc_main$27,
756
+ View: () => _sfc_main$28
757
+ });
758
+ //#endregion
759
+ export { color_picker_exports as ColorPicker, _sfc_main as ColorPickerArea, _sfc_main$1 as ColorPickerAreaBackground, _sfc_main$2 as ColorPickerAreaThumb, _sfc_main$3 as ColorPickerChannelInput, _sfc_main$4 as ColorPickerChannelSlider, _sfc_main$5 as ColorPickerChannelSliderLabel, _sfc_main$6 as ColorPickerChannelSliderThumb, _sfc_main$7 as ColorPickerChannelSliderTrack, _sfc_main$8 as ColorPickerChannelSliderValueText, _sfc_main$9 as ColorPickerContent, _sfc_main$10 as ColorPickerContext, _sfc_main$11 as ColorPickerControl, _sfc_main$12 as ColorPickerEyeDropperTrigger, _sfc_main$13 as ColorPickerFormatSelect, _sfc_main$14 as ColorPickerFormatTrigger, _sfc_main$15 as ColorPickerHiddenInput, _sfc_main$16 as ColorPickerLabel, _sfc_main$17 as ColorPickerPositioner, _sfc_main$18 as ColorPickerRoot, _sfc_main$19 as ColorPickerRootProvider, _sfc_main$20 as ColorPickerSwatch, _sfc_main$21 as ColorPickerSwatchGroup, _sfc_main$22 as ColorPickerSwatchIndicator, _sfc_main$23 as ColorPickerSwatchTrigger, _sfc_main$24 as ColorPickerTransparencyGrid, _sfc_main$25 as ColorPickerTrigger, _sfc_main$26 as ColorPickerValueSwatch, _sfc_main$27 as ColorPickerValueText, _sfc_main$28 as ColorPickerView, colorPickerAnatomy, parseColor, useColorPicker, useColorPickerContext };