iryx-ui 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +35 -1235
  2. package/dist/component-names.d.ts +1 -1
  3. package/dist/component-names.js +1 -1
  4. package/dist/components/Accordion.js +5 -0
  5. package/dist/components/Accordion.vue.d.ts +80 -0
  6. package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js +87 -0
  7. package/dist/components/Alert.vue.d.ts +1 -1
  8. package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +43 -43
  9. package/dist/components/App.vue.d.ts +1 -1
  10. package/dist/components/AppShell.js +5 -0
  11. package/dist/components/AppShell.vue.d.ts +46 -0
  12. package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js +59 -0
  13. package/dist/components/AspectRatio.js +5 -0
  14. package/dist/components/AspectRatio.vue.d.ts +26 -0
  15. package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js +27 -0
  16. package/dist/components/Avatar.js +5 -0
  17. package/dist/components/Avatar.vue.d.ts +52 -0
  18. package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js +67 -0
  19. package/dist/components/AvatarGroup.js +5 -0
  20. package/dist/components/AvatarGroup.vue.d.ts +39 -0
  21. package/dist/components/AvatarGroup.vue_vue_type_script_setup_true_lang.js +45 -0
  22. package/dist/components/Badge.vue.d.ts +1 -1
  23. package/dist/components/Banner.vue.d.ts +2 -2
  24. package/dist/components/Banner.vue_vue_type_script_setup_true_lang.js +40 -40
  25. package/dist/components/BarChart.vue.d.ts +1 -1
  26. package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +14 -14
  27. package/dist/components/Breadcrumb.vue_vue_type_script_setup_true_lang.js +28 -28
  28. package/dist/components/Button.vue.d.ts +2 -2
  29. package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +14 -14
  30. package/dist/components/ButtonGroup.vue.d.ts +1 -1
  31. package/dist/components/Card.vue.d.ts +1 -1
  32. package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +37 -30
  33. package/dist/components/Collapsible.js +5 -0
  34. package/dist/components/Collapsible.vue.d.ts +58 -0
  35. package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js +67 -0
  36. package/dist/components/ColorPicker.js +5 -0
  37. package/dist/components/ColorPicker.vue.d.ts +49 -0
  38. package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js +172 -0
  39. package/dist/components/Combobox.vue.d.ts +6 -6
  40. package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +62 -60
  41. package/dist/components/CommandPalette.js +5 -0
  42. package/dist/components/CommandPalette.vue.d.ts +63 -0
  43. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js +185 -0
  44. package/dist/components/Container.js +5 -0
  45. package/dist/components/Container.vue.d.ts +33 -0
  46. package/dist/components/Container.vue_vue_type_script_setup_true_lang.js +40 -0
  47. package/dist/components/ContextMenu.js +5 -0
  48. package/dist/components/ContextMenu.vue.d.ts +42 -0
  49. package/dist/components/ContextMenu.vue_vue_type_script_setup_true_lang.js +49 -0
  50. package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +65 -65
  51. package/dist/components/DateRangePicker.vue.d.ts +1 -1
  52. package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +74 -74
  53. package/dist/components/Dialog.vue.d.ts +1 -1
  54. package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js +34 -34
  55. package/dist/components/Drawer.js +5 -0
  56. package/dist/components/Drawer.vue.d.ts +94 -0
  57. package/dist/components/Drawer.vue_vue_type_script_setup_true_lang.js +144 -0
  58. package/dist/components/DropdownMenuItems.vue_vue_type_script_setup_true_lang.js +42 -42
  59. package/dist/components/EmptyState.vue.d.ts +1 -1
  60. package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js +77 -77
  61. package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js +11 -11
  62. package/dist/components/Input.vue.d.ts +1 -1
  63. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +33 -33
  64. package/dist/components/Kbd.js +5 -0
  65. package/dist/components/Kbd.vue.d.ts +46 -0
  66. package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js +41 -0
  67. package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +19 -19
  68. package/dist/components/Menubar.js +5 -0
  69. package/dist/components/Menubar.vue.d.ts +62 -0
  70. package/dist/components/Menubar.vue_vue_type_script_setup_true_lang.js +79 -0
  71. package/dist/components/NavigationMenu.js +5 -0
  72. package/dist/components/NavigationMenu.vue.d.ts +75 -0
  73. package/dist/components/NavigationMenu.vue_vue_type_script_setup_true_lang.js +167 -0
  74. package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js +68 -66
  75. package/dist/components/PageHeader.js +5 -0
  76. package/dist/components/PageHeader.vue.d.ts +52 -0
  77. package/dist/components/PageHeader.vue_vue_type_script_setup_true_lang.js +59 -0
  78. package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js +37 -37
  79. package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +37 -37
  80. package/dist/components/PinInput.js +5 -0
  81. package/dist/components/PinInput.vue.d.ts +65 -0
  82. package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +76 -0
  83. package/dist/components/Popover.js +5 -0
  84. package/dist/components/Popover.vue.d.ts +75 -0
  85. package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js +99 -0
  86. package/dist/components/Progress.vue.d.ts +20 -1
  87. package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +85 -42
  88. package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +4 -1
  89. package/dist/components/ScrollArea.js +5 -0
  90. package/dist/components/ScrollArea.vue.d.ts +41 -0
  91. package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js +68 -0
  92. package/dist/components/ScrollFade.js +5 -0
  93. package/dist/components/ScrollFade.vue.d.ts +36 -0
  94. package/dist/components/ScrollFade.vue_vue_type_script_setup_true_lang.js +59 -0
  95. package/dist/components/Select.vue.d.ts +2 -2
  96. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +47 -45
  97. package/dist/components/Sidebar.js +5 -0
  98. package/dist/components/Sidebar.vue.d.ts +72 -0
  99. package/dist/components/Sidebar.vue_vue_type_script_setup_true_lang.js +183 -0
  100. package/dist/components/SignaturePad.js +5 -0
  101. package/dist/components/SignaturePad.vue.d.ts +60 -0
  102. package/dist/components/SignaturePad.vue_vue_type_script_setup_true_lang.js +158 -0
  103. package/dist/components/Skeleton.vue.d.ts +1 -1
  104. package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js +8 -8
  105. package/dist/components/Slider.js +5 -0
  106. package/dist/components/Slider.vue.d.ts +80 -0
  107. package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js +115 -0
  108. package/dist/components/Splitter.js +5 -0
  109. package/dist/components/Splitter.vue.d.ts +59 -0
  110. package/dist/components/Splitter.vue_vue_type_script_setup_true_lang.js +69 -0
  111. package/dist/components/Stat.vue.d.ts +1 -1
  112. package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js +27 -27
  113. package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js +38 -38
  114. package/dist/components/Switch.vue.d.ts +1 -0
  115. package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +16 -5
  116. package/dist/components/Table.vue.d.ts +7 -1
  117. package/dist/components/Table.vue_vue_type_script_setup_true_lang.js +120 -105
  118. package/dist/components/TagsInput.js +5 -0
  119. package/dist/components/TagsInput.vue.d.ts +71 -0
  120. package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js +119 -0
  121. package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +3 -3
  122. package/dist/components/TimeField.js +5 -0
  123. package/dist/components/TimeField.vue.d.ts +50 -0
  124. package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +85 -0
  125. package/dist/components/Timeline.js +5 -0
  126. package/dist/components/Timeline.vue.d.ts +61 -0
  127. package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js +60 -0
  128. package/dist/components/Toaster.vue.d.ts +1 -1
  129. package/dist/components/Toaster.vue_vue_type_script_setup_true_lang.js +41 -41
  130. package/dist/components/Toggle.js +5 -0
  131. package/dist/components/Toggle.vue.d.ts +42 -0
  132. package/dist/components/Toggle.vue_vue_type_script_setup_true_lang.js +52 -0
  133. package/dist/components/ToggleGroup.js +5 -0
  134. package/dist/components/ToggleGroup.vue.d.ts +64 -0
  135. package/dist/components/ToggleGroup.vue_vue_type_script_setup_true_lang.js +78 -0
  136. package/dist/components/Toolbar.js +5 -0
  137. package/dist/components/Toolbar.vue.d.ts +52 -0
  138. package/dist/components/Toolbar.vue_vue_type_script_setup_true_lang.js +94 -0
  139. package/dist/components/Tree.js +5 -0
  140. package/dist/components/Tree.vue.d.ts +70 -0
  141. package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js +112 -0
  142. package/dist/components/index.d.ts +30 -0
  143. package/dist/components/index.js +144 -84
  144. package/dist/composables/appearance.js +5 -1
  145. package/dist/composables/cartesian.d.ts +11 -0
  146. package/dist/composables/cartesian.js +18 -19
  147. package/dist/composables/command-palette.d.ts +42 -0
  148. package/dist/composables/command-palette.js +32 -0
  149. package/dist/composables/date.d.ts +18 -2
  150. package/dist/composables/date.js +23 -15
  151. package/dist/composables/kbd.d.ts +26 -0
  152. package/dist/composables/kbd.js +161 -0
  153. package/dist/composables/navigation-menu.d.ts +29 -0
  154. package/dist/composables/navigation-menu.js +6 -0
  155. package/dist/composables/scroll-fade.d.ts +35 -0
  156. package/dist/composables/scroll-fade.js +36 -0
  157. package/dist/composables/sidebar.d.ts +35 -0
  158. package/dist/composables/sidebar.js +23 -0
  159. package/dist/composables/signature.d.ts +22 -0
  160. package/dist/composables/signature.js +13 -0
  161. package/dist/index.d.ts +36 -0
  162. package/dist/index.js +153 -92
  163. package/dist/theme/accordion.d.ts +68 -0
  164. package/dist/theme/accordion.js +24 -0
  165. package/dist/theme/alert.d.ts +0 -3
  166. package/dist/theme/app-shell.d.ts +77 -0
  167. package/dist/theme/app-shell.js +35 -0
  168. package/dist/theme/avatar.d.ts +253 -0
  169. package/dist/theme/avatar.js +84 -0
  170. package/dist/theme/banner.d.ts +0 -9
  171. package/dist/theme/bar-chart.d.ts +0 -16
  172. package/dist/theme/breadcrumb.d.ts +3 -3
  173. package/dist/theme/button-group.d.ts +0 -3
  174. package/dist/theme/button.d.ts +0 -3
  175. package/dist/theme/card.js +2 -2
  176. package/dist/theme/chart-legend.d.ts +3 -11
  177. package/dist/theme/collapsible.d.ts +44 -0
  178. package/dist/theme/collapsible.js +17 -0
  179. package/dist/theme/color-picker.d.ts +98 -0
  180. package/dist/theme/color-picker.js +19 -0
  181. package/dist/theme/command-palette.d.ts +122 -0
  182. package/dist/theme/command-palette.js +22 -0
  183. package/dist/theme/container.d.ts +101 -0
  184. package/dist/theme/container.js +26 -0
  185. package/dist/theme/date-picker.d.ts +12 -0
  186. package/dist/theme/date-picker.js +1 -1
  187. package/dist/theme/drawer.d.ts +110 -0
  188. package/dist/theme/drawer.js +100 -0
  189. package/dist/theme/dropdown-menu.d.ts +0 -9
  190. package/dist/theme/file-upload.d.ts +0 -3
  191. package/dist/theme/form.d.ts +12 -12
  192. package/dist/theme/index.d.ts +26 -0
  193. package/dist/theme/kbd.d.ts +71 -0
  194. package/dist/theme/kbd.js +29 -0
  195. package/dist/theme/line-chart.d.ts +0 -9
  196. package/dist/theme/menubar.d.ts +29 -0
  197. package/dist/theme/menubar.js +11 -0
  198. package/dist/theme/navigation-menu.d.ts +161 -0
  199. package/dist/theme/navigation-menu.js +43 -0
  200. package/dist/theme/number-input.d.ts +0 -3
  201. package/dist/theme/page-header.d.ts +47 -0
  202. package/dist/theme/page-header.js +17 -0
  203. package/dist/theme/pagination.d.ts +0 -3
  204. package/dist/theme/pin-input.d.ts +86 -0
  205. package/dist/theme/pin-input.js +32 -0
  206. package/dist/theme/popover.d.ts +119 -0
  207. package/dist/theme/popover.js +31 -0
  208. package/dist/theme/presets.d.ts +0 -2
  209. package/dist/theme/progress.d.ts +93 -0
  210. package/dist/theme/progress.js +37 -7
  211. package/dist/theme/radio-group.d.ts +24 -0
  212. package/dist/theme/radio-group.js +23 -14
  213. package/dist/theme/scroll-area.d.ts +65 -0
  214. package/dist/theme/scroll-area.js +57 -0
  215. package/dist/theme/scroll-fade.d.ts +35 -0
  216. package/dist/theme/scroll-fade.js +12 -0
  217. package/dist/theme/sidebar.d.ts +167 -0
  218. package/dist/theme/sidebar.js +43 -0
  219. package/dist/theme/signature-pad.d.ts +50 -0
  220. package/dist/theme/signature-pad.js +17 -0
  221. package/dist/theme/slider.d.ts +128 -0
  222. package/dist/theme/slider.js +49 -0
  223. package/dist/theme/sparkline.d.ts +0 -6
  224. package/dist/theme/splitter.d.ts +59 -0
  225. package/dist/theme/splitter.js +25 -0
  226. package/dist/theme/stat.d.ts +0 -3
  227. package/dist/theme/stepper.js +2 -2
  228. package/dist/theme/switch.d.ts +53 -29
  229. package/dist/theme/switch.js +33 -8
  230. package/dist/theme/table.d.ts +51 -3
  231. package/dist/theme/table.js +8 -3
  232. package/dist/theme/tabs.d.ts +0 -3
  233. package/dist/theme/tags-input.d.ts +110 -0
  234. package/dist/theme/tags-input.js +42 -0
  235. package/dist/theme/time-field.d.ts +68 -0
  236. package/dist/theme/time-field.js +21 -0
  237. package/dist/theme/timeline.d.ts +182 -0
  238. package/dist/theme/timeline.js +83 -0
  239. package/dist/theme/toggle.d.ts +145 -0
  240. package/dist/theme/toggle.js +84 -0
  241. package/dist/theme/toolbar.d.ts +56 -0
  242. package/dist/theme/toolbar.js +21 -0
  243. package/dist/theme/tree.d.ts +68 -0
  244. package/dist/theme/tree.js +28 -0
  245. package/package.json +4 -3
  246. package/theme.css +335 -0
  247. package/dist/node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js +0 -377
  248. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/_virtual/_plugin-vue_export-helper.js +0 -8
  249. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue.js +0 -25
  250. package/dist/node_modules/.pnpm/@hugeicons_vue@1.0.7_vue@3.5.35_typescript@6.0.3_/node_modules/@hugeicons/vue/dist/esm/components/HugeiconsIcon.vue2.js +0 -63
  251. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js +0 -122
  252. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js +0 -84
  253. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +0 -91
  254. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/conversion.js +0 -107
  255. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/manipulation.js +0 -159
  256. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js +0 -29
  257. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js +0 -37
  258. package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/utils.js +0 -6
@@ -0,0 +1,63 @@
1
+ import type { CommandEntry, CommandItem } from '../composables/command-palette';
2
+ export interface CommandPaletteProps {
3
+ /** Commands, optionally grouped. An entry with `items` is a group. */
4
+ items?: CommandEntry[];
5
+ placeholder?: string;
6
+ /** Shown when the query matches nothing. Override for non-English apps. */
7
+ emptyText?: string;
8
+ /** Accessible name for the dialog, since a palette has no visible title. */
9
+ label?: string;
10
+ /**
11
+ * Global shortcut that opens it. `mod` is Command on Apple platforms and
12
+ * Control elsewhere. Pass `null` to bind nothing and drive `open` yourself.
13
+ */
14
+ hotkey?: string | null;
15
+ /** Close once a command is chosen. */
16
+ closeOnSelect?: boolean;
17
+ /** Hint row along the bottom. Set `false` to drop it. */
18
+ footer?: boolean;
19
+ /** Skip built-in classes; you take over styling entirely. */
20
+ unstyled?: boolean;
21
+ class?: string;
22
+ ui?: Partial<Record<'overlay' | 'content' | 'header' | 'icon' | 'input' | 'viewport' | 'group' | 'groupLabel' | 'item' | 'itemIcon' | 'itemLabel' | 'shortcut' | 'key' | 'empty' | 'footer' | 'list', string>>;
23
+ }
24
+ type __VLS_Props = CommandPaletteProps;
25
+ type __VLS_ModelProps = {
26
+ 'open'?: boolean;
27
+ };
28
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
29
+ declare var __VLS_59: {
30
+ query: string;
31
+ }, __VLS_81: {
32
+ item: CommandItem;
33
+ }, __VLS_93: {};
34
+ type __VLS_Slots = {} & {
35
+ empty?: (props: typeof __VLS_59) => any;
36
+ } & {
37
+ item?: (props: typeof __VLS_81) => any;
38
+ } & {
39
+ footer?: (props: typeof __VLS_93) => any;
40
+ };
41
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
+ select: (item: CommandItem) => any;
43
+ "update:open": (value: boolean) => any;
44
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
45
+ onSelect?: ((item: CommandItem) => any) | undefined;
46
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
47
+ }>, {
48
+ unstyled: boolean;
49
+ label: string;
50
+ placeholder: string;
51
+ footer: boolean;
52
+ emptyText: string;
53
+ hotkey: string | null;
54
+ closeOnSelect: boolean;
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
56
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
57
+ declare const _default: typeof __VLS_export;
58
+ export default _default;
59
+ type __VLS_WithSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S;
62
+ };
63
+ };
@@ -0,0 +1,185 @@
1
+ import { useIryxUiConfig as e } from "../config.js";
2
+ import t from "./Icon.js";
3
+ import { commandHaystack as n, matchesHotkey as r, toCommandGroups as i } from "../composables/command-palette.js";
4
+ import { commandPaletteTheme as a } from "../theme/command-palette.js";
5
+ import o from "./Kbd.js";
6
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, normalizeClass as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useModel as E, watch as D, withCtx as O } from "vue";
7
+ import { Search01Icon as k } from "@hugeicons/core-free-icons";
8
+ import { DialogContent as ee, DialogOverlay as te, DialogPortal as ne, DialogRoot as A, DialogTitle as j, ListboxContent as M, ListboxFilter as N, ListboxGroup as P, ListboxGroupLabel as F, ListboxItem as I, ListboxRoot as L, VisuallyHidden as R, useFilter as z } from "reka-ui";
9
+ //#region src/components/CommandPalette.vue?vue&type=script&setup=true&lang.ts
10
+ var B = /*@__PURE__*/ h({
11
+ __name: "CommandPalette",
12
+ props: /*@__PURE__*/ g({
13
+ items: {},
14
+ placeholder: { default: "Search commands…" },
15
+ emptyText: { default: "No matching commands." },
16
+ label: { default: "Command palette" },
17
+ hotkey: { default: "mod+k" },
18
+ closeOnSelect: {
19
+ type: Boolean,
20
+ default: !0
21
+ },
22
+ footer: {
23
+ type: Boolean,
24
+ default: !0
25
+ },
26
+ unstyled: {
27
+ type: Boolean,
28
+ default: void 0
29
+ },
30
+ class: {},
31
+ ui: {}
32
+ }, {
33
+ open: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ openModifiers: {}
38
+ }),
39
+ emits: /*@__PURE__*/ g(["select"], ["update:open"]),
40
+ setup(h, { emit: g }) {
41
+ let B = h, V = g, H = E(h, "open"), U = x("");
42
+ D(H, (e) => {
43
+ e || (U.value = "");
44
+ });
45
+ let { contains: W } = z({ sensitivity: "base" }), G = c(() => i(B.items)), K = c(() => {
46
+ let e = U.value.trim();
47
+ return G.value.map((t) => ({
48
+ ...t,
49
+ items: e ? t.items.filter((r) => W(n(r, t.label), e)) : t.items
50
+ })).filter((e) => e.items.length > 0);
51
+ }), q = c(() => K.value.length === 0);
52
+ function J(e, t) {
53
+ return `${e}:${t}`;
54
+ }
55
+ function Y(e) {
56
+ e.disabled || (V("select", e), e.onSelect?.(), B.closeOnSelect && (H.value = !1));
57
+ }
58
+ function X(e) {
59
+ B.hotkey && r(e, B.hotkey) && (e.preventDefault(), H.value = !H.value);
60
+ }
61
+ y(() => window.addEventListener("keydown", X)), v(() => window.removeEventListener("keydown", X));
62
+ let re = e(), Z = c(() => B.unstyled ?? re.unstyled), Q = c(() => a());
63
+ function $(e, t) {
64
+ let n = B.ui?.[e];
65
+ return Z.value ? [n, t].filter(Boolean).join(" ") : Q.value[e]({ class: [n, t] });
66
+ }
67
+ function ie(e) {
68
+ return e.split(" ").filter(Boolean);
69
+ }
70
+ return (e, n) => (b(), l(T(A), {
71
+ open: H.value,
72
+ "onUpdate:open": n[1] ||= (e) => H.value = e
73
+ }, {
74
+ default: O(() => [m(T(ne), null, {
75
+ default: O(() => [m(T(te), { class: _($("overlay")) }, null, 8, ["class"]), m(T(ee), {
76
+ class: _(Z.value ? [B.ui?.content, B.class] : Q.value.content({ class: [B.ui?.content, B.class] })),
77
+ "aria-label": B.label
78
+ }, {
79
+ default: O(() => [
80
+ m(T(R), null, {
81
+ default: O(() => [m(T(j), null, {
82
+ default: O(() => [p(w(B.label), 1)]),
83
+ _: 1
84
+ })]),
85
+ _: 1
86
+ }),
87
+ m(T(L), {
88
+ "highlight-on-hover": "",
89
+ class: _($("list"))
90
+ }, {
91
+ default: O(() => [f("div", { class: _($("header")) }, [f("span", { class: _($("icon")) }, [m(t, { icon: T(k) }, null, 8, ["icon"])], 2), m(T(N), {
92
+ modelValue: U.value,
93
+ "onUpdate:modelValue": n[0] ||= (e) => U.value = e,
94
+ "auto-focus": "",
95
+ placeholder: B.placeholder,
96
+ class: _($("input"))
97
+ }, null, 8, [
98
+ "modelValue",
99
+ "placeholder",
100
+ "class"
101
+ ])], 2), m(T(M), { class: _($("viewport")) }, {
102
+ default: O(() => [q.value ? (b(), d("p", {
103
+ key: 0,
104
+ class: _($("empty"))
105
+ }, [C(e.$slots, "empty", { query: U.value }, () => [p(w(B.emptyText), 1)])], 2)) : u("", !0), (b(!0), d(s, null, S(K.value, (n, r) => (b(), l(T(P), {
106
+ key: n.label || r,
107
+ class: _($("group"))
108
+ }, {
109
+ default: O(() => [n.label ? (b(), l(T(F), {
110
+ key: 0,
111
+ class: _($("groupLabel"))
112
+ }, {
113
+ default: O(() => [p(w(n.label), 1)]),
114
+ _: 2
115
+ }, 1032, ["class"])) : u("", !0), (b(!0), d(s, null, S(n.items, (n, i) => (b(), l(T(I), {
116
+ key: J(r, i),
117
+ value: J(r, i),
118
+ disabled: n.disabled,
119
+ "aria-disabled": n.disabled || void 0,
120
+ as: n.href ? "a" : "div",
121
+ href: n.href,
122
+ class: _($("item")),
123
+ onSelect: (e) => Y(n)
124
+ }, {
125
+ default: O(() => [C(e.$slots, "item", { item: n }, () => [
126
+ n.icon ? (b(), d("span", {
127
+ key: 0,
128
+ class: _($("itemIcon"))
129
+ }, [m(t, { icon: n.icon }, null, 8, ["icon"])], 2)) : u("", !0),
130
+ f("span", { class: _($("itemLabel")) }, w(n.label), 3),
131
+ n.shortcut ? (b(), l(o, {
132
+ key: 1,
133
+ keys: ie(n.shortcut),
134
+ class: _($("shortcut")),
135
+ ui: { key: B.ui?.key }
136
+ }, null, 8, [
137
+ "keys",
138
+ "class",
139
+ "ui"
140
+ ])) : u("", !0)
141
+ ])]),
142
+ _: 2
143
+ }, 1032, [
144
+ "value",
145
+ "disabled",
146
+ "aria-disabled",
147
+ "as",
148
+ "href",
149
+ "class",
150
+ "onSelect"
151
+ ]))), 128))]),
152
+ _: 2
153
+ }, 1032, ["class"]))), 128))]),
154
+ _: 3
155
+ }, 8, ["class"])]),
156
+ _: 3
157
+ }, 8, ["class"]),
158
+ B.footer ? (b(), d("div", {
159
+ key: 0,
160
+ class: _($("footer"))
161
+ }, [C(e.$slots, "footer", {}, () => [
162
+ f("span", null, [m(o, {
163
+ keys: ["up", "down"],
164
+ ui: { key: B.ui?.key }
165
+ }, null, 8, ["ui"]), n[2] ||= p(" to navigate", -1)]),
166
+ f("span", null, [m(o, {
167
+ keys: "enter",
168
+ ui: { key: B.ui?.key }
169
+ }, null, 8, ["ui"]), n[3] ||= p(" to select", -1)]),
170
+ f("span", null, [m(o, {
171
+ keys: "escape",
172
+ ui: { key: B.ui?.key }
173
+ }, null, 8, ["ui"]), n[4] ||= p(" to close", -1)])
174
+ ])], 2)) : u("", !0)
175
+ ]),
176
+ _: 3
177
+ }, 8, ["class", "aria-label"])]),
178
+ _: 3
179
+ })]),
180
+ _: 3
181
+ }, 8, ["open"]));
182
+ }
183
+ });
184
+ //#endregion
185
+ export { B as default };
@@ -0,0 +1,5 @@
1
+ import e from "./Container.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/components/Container.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,33 @@
1
+ export interface ContainerProps {
2
+ /** Render as a different element or component. */
3
+ as?: string;
4
+ /** Merge props onto the immediate child instead of rendering an element. */
5
+ asChild?: boolean;
6
+ /** Maximum content width. `full` removes the cap but keeps the gutter. */
7
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
8
+ /** Horizontal gutter. `none` leaves it to you. */
9
+ gutter?: 'none' | 'sm' | 'md' | 'lg';
10
+ /** Skip built-in classes; you take over styling entirely. */
11
+ unstyled?: boolean;
12
+ class?: string;
13
+ /** Override classes per slot, e.g. `{ root: 'py-10' }`. */
14
+ ui?: {
15
+ root?: string;
16
+ };
17
+ }
18
+ declare var __VLS_8: {};
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_8) => any;
21
+ };
22
+ declare const __VLS_base: import("vue").DefineComponent<ContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContainerProps> & Readonly<{}>, {
23
+ unstyled: boolean;
24
+ as: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,40 @@
1
+ import { useIryxUiConfig as e } from "../config.js";
2
+ import { containerTheme as t } from "../theme/container.js";
3
+ import { computed as n, createBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
4
+ import { Primitive as u } from "reka-ui";
5
+ //#region src/components/Container.vue?vue&type=script&setup=true&lang.ts
6
+ var d = /*@__PURE__*/ i({
7
+ __name: "Container",
8
+ props: {
9
+ as: { default: "div" },
10
+ asChild: { type: Boolean },
11
+ size: {},
12
+ gutter: {},
13
+ unstyled: {
14
+ type: Boolean,
15
+ default: void 0
16
+ },
17
+ class: {},
18
+ ui: {}
19
+ },
20
+ setup(i) {
21
+ let d = i, f = e(), p = n(() => d.unstyled ?? f.unstyled), m = n(() => t({
22
+ size: d.size,
23
+ gutter: d.gutter
24
+ })), h = n(() => p.value ? [d.ui?.root, d.class] : m.value.root({ class: [d.ui?.root, d.class] }));
25
+ return (e, t) => (o(), r(c(u), {
26
+ as: d.as,
27
+ "as-child": d.asChild,
28
+ class: a(h.value)
29
+ }, {
30
+ default: l(() => [s(e.$slots, "default")]),
31
+ _: 3
32
+ }, 8, [
33
+ "as",
34
+ "as-child",
35
+ "class"
36
+ ]));
37
+ }
38
+ });
39
+ //#endregion
40
+ export { d as default };
@@ -0,0 +1,5 @@
1
+ import e from "./ContextMenu.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/components/ContextMenu.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,42 @@
1
+ import type { DropdownMenuEntry } from '../composables/dropdown-menu';
2
+ export interface ContextMenuProps {
3
+ /** Entries to render. Nest by giving an entry its own `items`. */
4
+ items?: DropdownMenuEntry[];
5
+ /**
6
+ * How far the menu is kept from the viewport edge when it would overflow.
7
+ */
8
+ collisionPadding?: number;
9
+ /** Skip built-in classes; you take over styling entirely. */
10
+ unstyled?: boolean;
11
+ class?: string;
12
+ /** Override classes per slot, e.g. `{ item: 'py-2' }`. */
13
+ ui?: {
14
+ content?: string;
15
+ item?: string;
16
+ label?: string;
17
+ separator?: string;
18
+ subTrigger?: string;
19
+ subContent?: string;
20
+ };
21
+ }
22
+ declare var __VLS_16: {}, __VLS_30: {};
23
+ type __VLS_Slots = {} & {
24
+ trigger?: (props: typeof __VLS_16) => any;
25
+ } & {
26
+ default?: (props: typeof __VLS_30) => any;
27
+ };
28
+ declare const __VLS_base: import("vue").DefineComponent<ContextMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:open": (value: boolean) => any;
30
+ }, string, import("vue").PublicProps, Readonly<ContextMenuProps> & Readonly<{
31
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
32
+ }>, {
33
+ unstyled: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,49 @@
1
+ import { useIryxUiConfig as e } from "../config.js";
2
+ import { dropdownMenuTheme as t } from "../theme/dropdown-menu.js";
3
+ import n from "./DropdownMenuItems.js";
4
+ import { computed as r, createBlock as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l, unref as u, withCtx as d } from "vue";
5
+ import { ContextMenuContent as f, ContextMenuPortal as p, ContextMenuRoot as m, ContextMenuTrigger as h } from "reka-ui";
6
+ //#region src/components/ContextMenu.vue?vue&type=script&setup=true&lang.ts
7
+ var g = /*@__PURE__*/ o({
8
+ __name: "ContextMenu",
9
+ props: {
10
+ items: {},
11
+ collisionPadding: {},
12
+ unstyled: {
13
+ type: Boolean,
14
+ default: void 0
15
+ },
16
+ class: {},
17
+ ui: {}
18
+ },
19
+ emits: ["update:open"],
20
+ setup(o, { emit: g }) {
21
+ let _ = o, v = g, y = e(), b = r(() => _.unstyled ?? y.unstyled), x = r(() => _.items ?? []), S = r(() => b.value ? [_.ui?.content, _.class] : t().content({ class: [_.ui?.content, _.class] }));
22
+ return (e, t) => (c(), i(u(m), { "onUpdate:open": t[0] ||= (e) => v("update:open", e) }, {
23
+ default: d(() => [a(u(h), { "as-child": "" }, {
24
+ default: d(() => [l(e.$slots, "trigger")]),
25
+ _: 3
26
+ }), a(u(p), null, {
27
+ default: d(() => [a(u(f), {
28
+ "collision-padding": _.collisionPadding,
29
+ class: s(S.value)
30
+ }, {
31
+ default: d(() => [l(e.$slots, "default", {}, () => [a(n, {
32
+ entries: x.value,
33
+ unstyled: b.value,
34
+ ui: _.ui
35
+ }, null, 8, [
36
+ "entries",
37
+ "unstyled",
38
+ "ui"
39
+ ])])]),
40
+ _: 3
41
+ }, 8, ["collision-padding", "class"])]),
42
+ _: 3
43
+ })]),
44
+ _: 3
45
+ }));
46
+ }
47
+ });
48
+ //#endregion
49
+ export { g as default };
@@ -1,20 +1,20 @@
1
- import { ArrowLeft01Icon as e, ArrowRight01Icon as t, Calendar03Icon as n } from "../node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js";
2
- import { useIryxUiConfig as r } from "../config.js";
3
- import i from "./Icon.js";
4
- import { useFormField as a } from "../composables/form.js";
5
- import { formatIsoDate as o, isoToday as ee, toCalendarDate as s, toIsoDate as c } from "../composables/date.js";
6
- import { datePickerTheme as l } from "../theme/date-picker.js";
7
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, mergeModels as y, normalizeClass as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T, useModel as E, withCtx as D } from "vue";
8
- import { CalendarCell as te, CalendarCellTrigger as ne, CalendarGrid as O, CalendarGridBody as k, CalendarGridHead as A, CalendarGridRow as j, CalendarHeadCell as M, CalendarHeader as N, CalendarHeading as P, CalendarNext as F, CalendarPrev as I, CalendarRoot as L, PopoverContent as R, PopoverPortal as z, PopoverRoot as B, PopoverTrigger as V } from "reka-ui";
1
+ import { useIryxUiConfig as e } from "../config.js";
2
+ import t from "./Icon.js";
3
+ import { useFormField as n } from "../composables/form.js";
4
+ import { formatIsoDate as r, isoToday as i, toCalendarDate as a, toIsoDate as o } from "../composables/date.js";
5
+ import { datePickerTheme as s } from "../theme/date-picker.js";
6
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as ee, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, normalizeClass as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, useModel as C, withCtx as w } from "vue";
7
+ import { ArrowLeft01Icon as T, ArrowRight01Icon as te, Calendar03Icon as E } from "@hugeicons/core-free-icons";
8
+ import { CalendarCell as D, CalendarCellTrigger as O, CalendarGrid as k, CalendarGridBody as A, CalendarGridHead as j, CalendarGridRow as M, CalendarHeadCell as N, CalendarHeader as P, CalendarHeading as F, CalendarNext as I, CalendarPrev as L, CalendarRoot as R, PopoverContent as z, PopoverPortal as B, PopoverRoot as ne, PopoverTrigger as V } from "reka-ui";
9
9
  //#region src/components/DatePicker.vue?vue&type=script&setup=true&lang.ts
10
10
  var H = [
11
11
  "id",
12
12
  "disabled",
13
13
  "aria-invalid",
14
14
  "aria-describedby"
15
- ], U = { key: 0 }, W = /*@__PURE__*/ v({
15
+ ], U = { key: 0 }, W = /*@__PURE__*/ h({
16
16
  __name: "DatePicker",
17
- props: /*@__PURE__*/ y({
17
+ props: /*@__PURE__*/ g({
18
18
  size: {},
19
19
  placeholder: { default: "Pick a date" },
20
20
  disabled: { type: Boolean },
@@ -44,106 +44,106 @@ var H = [
44
44
  modelModifiers: {}
45
45
  }),
46
46
  emits: ["update:modelValue"],
47
- setup(v) {
48
- let y = v, W = E(v, "modelValue"), G = S(!1), K = a(), q = d(() => y.id ?? K?.id.value), J = d(() => y.invalid ?? K?.invalid.value ?? !1), Y = r(), X = d(() => y.unstyled ?? Y.unstyled), Z = d({
49
- get: () => s(W.value),
47
+ setup(h) {
48
+ let g = h, W = C(h, "modelValue"), G = y(!1), K = n(), q = l(() => g.id ?? K?.id.value), J = l(() => g.invalid ?? K?.invalid.value ?? !1), Y = e(), X = l(() => g.unstyled ?? Y.unstyled), Z = l({
49
+ get: () => a(W.value),
50
50
  set: (e) => {
51
- W.value = c(e);
51
+ W.value = o(e);
52
52
  }
53
- }), re = d(() => s(y.min)), ie = d(() => s(y.max)), Q = d(() => o(W.value, y.locale, y.format));
53
+ }), re = l(() => a(g.min)), ie = l(() => a(g.max)), Q = l(() => r(W.value, g.locale, g.format));
54
54
  function ae() {
55
- W.value = ee(), G.value = !1;
55
+ W.value = i(), G.value = !1;
56
56
  }
57
57
  function oe() {
58
58
  W.value = null, G.value = !1;
59
59
  }
60
- let se = d(() => l({
61
- size: y.size,
60
+ let se = l(() => s({
61
+ size: g.size,
62
62
  invalid: J.value
63
63
  }));
64
64
  function $(e, t) {
65
- let n = y.ui?.[e];
65
+ let n = g.ui?.[e];
66
66
  return X.value ? [n, t] : se.value[e]({ class: [n, t] });
67
67
  }
68
- return (r, a) => (x(), f(T(B), {
68
+ return (e, n) => (v(), u(S(ne), {
69
69
  open: G.value,
70
- "onUpdate:open": a[2] ||= (e) => G.value = e
70
+ "onUpdate:open": n[2] ||= (e) => G.value = e
71
71
  }, {
72
- default: D(() => [_(T(V), { "as-child": "" }, {
73
- default: D(() => [h("button", {
72
+ default: w(() => [m(S(V), { "as-child": "" }, {
73
+ default: w(() => [f("button", {
74
74
  id: q.value,
75
75
  type: "button",
76
- disabled: y.disabled,
76
+ disabled: g.disabled,
77
77
  "aria-invalid": J.value || void 0,
78
- "aria-describedby": T(K)?.describedBy.value,
79
- class: b($("trigger", y.class))
80
- }, [Q.value ? (x(), m("span", U, w(Q.value), 1)) : (x(), m("span", {
78
+ "aria-describedby": S(K)?.describedBy.value,
79
+ class: _($("trigger", g.class))
80
+ }, [Q.value ? (v(), d("span", U, x(Q.value), 1)) : (v(), d("span", {
81
81
  key: 1,
82
- class: b($("placeholder"))
83
- }, w(y.placeholder), 3)), _(i, { icon: T(n) }, null, 8, ["icon"])], 10, H)]),
82
+ class: _($("placeholder"))
83
+ }, x(g.placeholder), 3)), m(t, { icon: S(E) }, null, 8, ["icon"])], 10, H)]),
84
84
  _: 1
85
- }), _(T(z), null, {
86
- default: D(() => [_(T(R), {
87
- class: b($("content")),
85
+ }), m(S(B), null, {
86
+ default: w(() => [m(S(z), {
87
+ class: _($("content")),
88
88
  "side-offset": 4,
89
89
  align: "start"
90
90
  }, {
91
- default: D(() => [_(T(L), {
91
+ default: w(() => [m(S(R), {
92
92
  modelValue: Z.value,
93
- "onUpdate:modelValue": [a[0] ||= (e) => Z.value = e, a[1] ||= (e) => G.value = !1],
93
+ "onUpdate:modelValue": [n[0] ||= (e) => Z.value = e, n[1] ||= (e) => G.value = !1],
94
94
  "min-value": re.value,
95
95
  "max-value": ie.value,
96
- locale: y.locale,
97
- "week-starts-on": y.weekStartsOn,
96
+ locale: g.locale,
97
+ "week-starts-on": g.weekStartsOn,
98
98
  "fixed-weeks": "",
99
99
  "initial-focus": ""
100
100
  }, {
101
- default: D(({ grid: n, weekDays: r }) => [_(T(N), { class: b($("header")) }, {
102
- default: D(() => [
103
- _(T(I), {
104
- "aria-label": y.previousLabel,
105
- class: b($("nav"))
101
+ default: w(({ grid: e, weekDays: n }) => [m(S(P), { class: _($("header")) }, {
102
+ default: w(() => [
103
+ m(S(L), {
104
+ "aria-label": g.previousLabel,
105
+ class: _($("nav"))
106
106
  }, {
107
- default: D(() => [_(i, { icon: T(e) }, null, 8, ["icon"])]),
107
+ default: w(() => [m(t, { icon: S(T) }, null, 8, ["icon"])]),
108
108
  _: 1
109
109
  }, 8, ["aria-label", "class"]),
110
- _(T(P), { class: b($("heading")) }, null, 8, ["class"]),
111
- _(T(F), {
112
- "aria-label": y.nextLabel,
113
- class: b($("nav"))
110
+ m(S(F), { class: _($("heading")) }, null, 8, ["class"]),
111
+ m(S(I), {
112
+ "aria-label": g.nextLabel,
113
+ class: _($("nav"))
114
114
  }, {
115
- default: D(() => [_(i, { icon: T(t) }, null, 8, ["icon"])]),
115
+ default: w(() => [m(t, { icon: S(te) }, null, 8, ["icon"])]),
116
116
  _: 1
117
117
  }, 8, ["aria-label", "class"])
118
118
  ]),
119
119
  _: 1
120
- }, 8, ["class"]), h("div", { class: b($("months")) }, [(x(!0), m(u, null, C(n, (e) => (x(), f(T(O), {
120
+ }, 8, ["class"]), f("div", { class: _($("months")) }, [(v(!0), d(c, null, b(e, (e) => (v(), u(S(k), {
121
121
  key: e.value.toString(),
122
- class: b($("grid"))
122
+ class: _($("grid"))
123
123
  }, {
124
- default: D(() => [_(T(A), null, {
125
- default: D(() => [_(T(j), null, {
126
- default: D(() => [(x(!0), m(u, null, C(r, (e) => (x(), f(T(M), {
124
+ default: w(() => [m(S(j), null, {
125
+ default: w(() => [m(S(M), null, {
126
+ default: w(() => [(v(!0), d(c, null, b(n, (e) => (v(), u(S(N), {
127
127
  key: e,
128
- class: b($("headCell"))
128
+ class: _($("headCell"))
129
129
  }, {
130
- default: D(() => [g(w(e), 1)]),
130
+ default: w(() => [p(x(e), 1)]),
131
131
  _: 2
132
132
  }, 1032, ["class"]))), 128))]),
133
133
  _: 2
134
134
  }, 1024)]),
135
135
  _: 2
136
- }, 1024), _(T(k), null, {
137
- default: D(() => [(x(!0), m(u, null, C(e.rows, (t, n) => (x(), f(T(j), { key: `week-${n}` }, {
138
- default: D(() => [(x(!0), m(u, null, C(t, (t) => (x(), f(T(te), {
136
+ }, 1024), m(S(A), null, {
137
+ default: w(() => [(v(!0), d(c, null, b(e.rows, (t, n) => (v(), u(S(M), { key: `week-${n}` }, {
138
+ default: w(() => [(v(!0), d(c, null, b(t, (t) => (v(), u(S(D), {
139
139
  key: t.toString(),
140
140
  date: t,
141
- class: b($("cell"))
141
+ class: _($("cell"))
142
142
  }, {
143
- default: D(() => [_(T(ne), {
143
+ default: w(() => [m(S(O), {
144
144
  day: t,
145
145
  month: e.value,
146
- class: b($("cellTrigger"))
146
+ class: _($("cellTrigger"))
147
147
  }, null, 8, [
148
148
  "day",
149
149
  "month",
@@ -164,16 +164,16 @@ var H = [
164
164
  "max-value",
165
165
  "locale",
166
166
  "week-starts-on"
167
- ]), h("div", { class: b($("footer")) }, [h("button", {
167
+ ]), f("div", { class: _($("footer")) }, [f("button", {
168
168
  type: "button",
169
- class: b($("action")),
169
+ class: _($("action")),
170
170
  onClick: ae
171
- }, w(y.todayLabel), 3), y.clearable ? (x(), m("button", {
171
+ }, x(g.todayLabel), 3), g.clearable ? (v(), d("button", {
172
172
  key: 0,
173
173
  type: "button",
174
- class: b($("action")),
174
+ class: _($("action")),
175
175
  onClick: oe
176
- }, w(y.clearLabel), 3)) : p("", !0)], 2)]),
176
+ }, x(g.clearLabel), 3)) : ee("", !0)], 2)]),
177
177
  _: 1
178
178
  }, 8, ["class"])]),
179
179
  _: 1
@@ -48,8 +48,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
48
48
  "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
49
49
  }>, {
50
50
  unstyled: boolean;
51
- separator: string;
52
51
  placeholder: string;
52
+ separator: string;
53
53
  invalid: boolean;
54
54
  months: number;
55
55
  clearLabel: string;