nuance-ui 0.1.38 → 0.1.39

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 (274) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/action-icon/action-icon-group.d.vue.ts +2 -2
  3. package/dist/runtime/components/action-icon/action-icon-group.vue.d.ts +2 -2
  4. package/dist/runtime/components/action-icon/action-icon-section.d.vue.ts +2 -2
  5. package/dist/runtime/components/action-icon/action-icon-section.vue.d.ts +2 -2
  6. package/dist/runtime/components/action-icon/action-icon.d.vue.ts +2 -2
  7. package/dist/runtime/components/action-icon/action-icon.vue.d.ts +2 -2
  8. package/dist/runtime/components/alert.d.vue.ts +3 -3
  9. package/dist/runtime/components/alert.vue.d.ts +3 -3
  10. package/dist/runtime/components/app-shell/app-shell-aside.d.vue.ts +2 -2
  11. package/dist/runtime/components/app-shell/app-shell-aside.vue.d.ts +2 -2
  12. package/dist/runtime/components/app-shell/app-shell-footer.d.vue.ts +2 -2
  13. package/dist/runtime/components/app-shell/app-shell-footer.vue.d.ts +2 -2
  14. package/dist/runtime/components/app-shell/app-shell-header.d.vue.ts +2 -2
  15. package/dist/runtime/components/app-shell/app-shell-header.vue.d.ts +2 -2
  16. package/dist/runtime/components/app-shell/app-shell-main.d.vue.ts +2 -2
  17. package/dist/runtime/components/app-shell/app-shell-main.vue.d.ts +2 -2
  18. package/dist/runtime/components/app-shell/app-shell-navbar.d.vue.ts +2 -2
  19. package/dist/runtime/components/app-shell/app-shell-navbar.vue.d.ts +2 -2
  20. package/dist/runtime/components/app-shell/app-shell-section.d.vue.ts +2 -2
  21. package/dist/runtime/components/app-shell/app-shell-section.vue.d.ts +2 -2
  22. package/dist/runtime/components/app-shell/app-shell.d.vue.ts +2 -2
  23. package/dist/runtime/components/app-shell/app-shell.vue.d.ts +2 -2
  24. package/dist/runtime/components/avatar/avatar-group.d.vue.ts +2 -2
  25. package/dist/runtime/components/avatar/avatar-group.vue.d.ts +2 -2
  26. package/dist/runtime/components/avatar/avatar.d.vue.ts +2 -2
  27. package/dist/runtime/components/avatar/avatar.vue.d.ts +2 -2
  28. package/dist/runtime/components/badge.d.vue.ts +4 -4
  29. package/dist/runtime/components/badge.vue +45 -24
  30. package/dist/runtime/components/badge.vue.d.ts +4 -4
  31. package/dist/runtime/components/box.d.vue.ts +2 -2
  32. package/dist/runtime/components/box.vue.d.ts +2 -2
  33. package/dist/runtime/components/breadcrumbs.d.vue.ts +4 -4
  34. package/dist/runtime/components/breadcrumbs.vue.d.ts +4 -4
  35. package/dist/runtime/components/button/button-group.d.vue.ts +2 -2
  36. package/dist/runtime/components/button/button-group.vue.d.ts +2 -2
  37. package/dist/runtime/components/button/button.d.vue.ts +8 -8
  38. package/dist/runtime/components/button/button.module.css +1 -1
  39. package/dist/runtime/components/button/button.vue.d.ts +8 -8
  40. package/dist/runtime/components/button/unstyled-button.d.vue.ts +2 -2
  41. package/dist/runtime/components/button/unstyled-button.vue +2 -2
  42. package/dist/runtime/components/button/unstyled-button.vue.d.ts +2 -2
  43. package/dist/runtime/components/calendar/calendar.d.vue.ts +20 -8
  44. package/dist/runtime/components/calendar/calendar.vue +1 -1
  45. package/dist/runtime/components/calendar/calendar.vue.d.ts +20 -8
  46. package/dist/runtime/components/calendar/lib/context.d.ts +1 -1
  47. package/dist/runtime/components/calendar/lib/use-calendar-selection.js +5 -4
  48. package/dist/runtime/components/calendar/model.d.ts +3 -2
  49. package/dist/runtime/components/calendar/ui/core/calendar-cell.d.vue.ts +2 -2
  50. package/dist/runtime/components/calendar/ui/core/calendar-cell.vue +22 -13
  51. package/dist/runtime/components/calendar/ui/core/calendar-cell.vue.d.ts +2 -2
  52. package/dist/runtime/components/calendar/ui/core/calendar-header.d.vue.ts +2 -2
  53. package/dist/runtime/components/calendar/ui/core/calendar-header.vue +22 -17
  54. package/dist/runtime/components/calendar/ui/core/calendar-header.vue.d.ts +2 -2
  55. package/dist/runtime/components/calendar/ui/core/calendar-root.d.vue.ts +19 -9
  56. package/dist/runtime/components/calendar/ui/core/calendar-root.vue +6 -7
  57. package/dist/runtime/components/calendar/ui/core/calendar-root.vue.d.ts +19 -9
  58. package/dist/runtime/components/calendar/ui/levels/calendar-decade.d.vue.ts +1 -1
  59. package/dist/runtime/components/calendar/ui/levels/calendar-decade.vue.d.ts +1 -1
  60. package/dist/runtime/components/calendar/ui/levels/calendar-month.d.vue.ts +3 -3
  61. package/dist/runtime/components/calendar/ui/levels/calendar-month.vue +9 -16
  62. package/dist/runtime/components/calendar/ui/levels/calendar-month.vue.d.ts +3 -3
  63. package/dist/runtime/components/calendar/ui/levels/calendar-year.d.vue.ts +1 -1
  64. package/dist/runtime/components/calendar/ui/levels/calendar-year.vue +9 -5
  65. package/dist/runtime/components/calendar/ui/levels/calendar-year.vue.d.ts +1 -1
  66. package/dist/runtime/components/card/card-section.d.vue.ts +2 -2
  67. package/dist/runtime/components/card/card-section.vue.d.ts +2 -2
  68. package/dist/runtime/components/card/card.d.vue.ts +2 -2
  69. package/dist/runtime/components/card/card.vue.d.ts +2 -2
  70. package/dist/runtime/components/checkbox/checkbox-card.d.vue.ts +2 -2
  71. package/dist/runtime/components/checkbox/checkbox-card.vue.d.ts +2 -2
  72. package/dist/runtime/components/checkbox/checkbox-group.d.vue.ts +5 -5
  73. package/dist/runtime/components/checkbox/checkbox-group.vue.d.ts +5 -5
  74. package/dist/runtime/components/checkbox/checkbox-indicator.d.vue.ts +2 -2
  75. package/dist/runtime/components/checkbox/checkbox-indicator.vue.d.ts +2 -2
  76. package/dist/runtime/components/checkbox/checkbox.d.vue.ts +2 -2
  77. package/dist/runtime/components/checkbox/checkbox.vue.d.ts +2 -2
  78. package/dist/runtime/components/chip/chip-group.d.vue.ts +10 -6
  79. package/dist/runtime/components/chip/chip-group.vue.d.ts +10 -6
  80. package/dist/runtime/components/chip/chip.d.vue.ts +2 -2
  81. package/dist/runtime/components/chip/chip.vue.d.ts +2 -2
  82. package/dist/runtime/components/combobox/combobox-dropdown.d.vue.ts +2 -2
  83. package/dist/runtime/components/combobox/combobox-dropdown.vue.d.ts +2 -2
  84. package/dist/runtime/components/combobox/combobox-empty.d.vue.ts +2 -2
  85. package/dist/runtime/components/combobox/combobox-empty.vue.d.ts +2 -2
  86. package/dist/runtime/components/combobox/combobox-group.d.vue.ts +10 -6
  87. package/dist/runtime/components/combobox/combobox-group.vue.d.ts +10 -6
  88. package/dist/runtime/components/combobox/combobox-option-list.d.vue.ts +2 -2
  89. package/dist/runtime/components/combobox/combobox-option-list.vue.d.ts +2 -2
  90. package/dist/runtime/components/combobox/combobox-option.d.vue.ts +8 -4
  91. package/dist/runtime/components/combobox/combobox-option.vue.d.ts +8 -4
  92. package/dist/runtime/components/combobox/combobox-options-dropdown.d.vue.ts +10 -7
  93. package/dist/runtime/components/combobox/combobox-options-dropdown.vue +1 -3
  94. package/dist/runtime/components/combobox/combobox-options-dropdown.vue.d.ts +10 -7
  95. package/dist/runtime/components/combobox/combobox-root.d.vue.ts +2 -2
  96. package/dist/runtime/components/combobox/combobox-root.vue +2 -2
  97. package/dist/runtime/components/combobox/combobox-root.vue.d.ts +2 -2
  98. package/dist/runtime/components/combobox/combobox-target.d.vue.ts +2 -2
  99. package/dist/runtime/components/combobox/combobox-target.vue +1 -1
  100. package/dist/runtime/components/combobox/combobox-target.vue.d.ts +2 -2
  101. package/dist/runtime/components/container.d.vue.ts +2 -2
  102. package/dist/runtime/components/container.vue.d.ts +2 -2
  103. package/dist/runtime/components/date-time-picker.d.vue.ts +47 -0
  104. package/dist/runtime/components/date-time-picker.vue +151 -0
  105. package/dist/runtime/components/date-time-picker.vue.d.ts +47 -0
  106. package/dist/runtime/components/dialog/index.d.ts +4 -4
  107. package/dist/runtime/components/dialog/{dialog-close-button.d.vue.ts → ui/dialog-close-button.d.vue.ts} +3 -3
  108. package/dist/runtime/components/dialog/{dialog-close-button.vue → ui/dialog-close-button.vue} +2 -2
  109. package/dist/runtime/components/dialog/{dialog-close-button.vue.d.ts → ui/dialog-close-button.vue.d.ts} +3 -3
  110. package/dist/runtime/components/dialog/{dialog-header.d.vue.ts → ui/dialog-header.d.vue.ts} +3 -3
  111. package/dist/runtime/components/dialog/{dialog-header.vue → ui/dialog-header.vue} +1 -1
  112. package/dist/runtime/components/dialog/{dialog-header.vue.d.ts → ui/dialog-header.vue.d.ts} +3 -3
  113. package/dist/runtime/components/dialog/{dialog-root.d.vue.ts → ui/dialog-root.d.vue.ts} +5 -5
  114. package/dist/runtime/components/dialog/{dialog-root.vue → ui/dialog-root.vue} +5 -5
  115. package/dist/runtime/components/dialog/{dialog-root.vue.d.ts → ui/dialog-root.vue.d.ts} +5 -5
  116. package/dist/runtime/components/dialog/{dialog-title.d.vue.ts → ui/dialog-title.d.vue.ts} +3 -3
  117. package/dist/runtime/components/dialog/{dialog-title.vue → ui/dialog-title.vue} +2 -2
  118. package/dist/runtime/components/dialog/{dialog-title.vue.d.ts → ui/dialog-title.vue.d.ts} +3 -3
  119. package/dist/runtime/components/dialog/ui/dialog.module.css +1 -0
  120. package/dist/runtime/components/drawer/drawer-close-button.d.vue.ts +2 -2
  121. package/dist/runtime/components/drawer/drawer-close-button.vue +1 -1
  122. package/dist/runtime/components/drawer/drawer-close-button.vue.d.ts +2 -2
  123. package/dist/runtime/components/drawer/drawer-header.d.vue.ts +2 -2
  124. package/dist/runtime/components/drawer/drawer-header.vue +1 -1
  125. package/dist/runtime/components/drawer/drawer-header.vue.d.ts +2 -2
  126. package/dist/runtime/components/drawer/drawer-root.d.vue.ts +2 -2
  127. package/dist/runtime/components/drawer/drawer-root.vue +3 -3
  128. package/dist/runtime/components/drawer/drawer-root.vue.d.ts +2 -2
  129. package/dist/runtime/components/drawer/drawer-title.d.vue.ts +2 -2
  130. package/dist/runtime/components/drawer/drawer-title.vue +2 -2
  131. package/dist/runtime/components/drawer/drawer-title.vue.d.ts +2 -2
  132. package/dist/runtime/components/drawer/drawer.module.css +1 -1
  133. package/dist/runtime/components/file-upload.d.vue.ts +9 -5
  134. package/dist/runtime/components/file-upload.vue.d.ts +9 -5
  135. package/dist/runtime/components/index.d.ts +1 -0
  136. package/dist/runtime/components/input/date-picker.d.vue.ts +44 -0
  137. package/dist/runtime/components/input/date-picker.vue +174 -0
  138. package/dist/runtime/components/input/date-picker.vue.d.ts +44 -0
  139. package/dist/runtime/components/input/email-input.d.vue.ts +6 -6
  140. package/dist/runtime/components/input/email-input.vue +9 -5
  141. package/dist/runtime/components/input/email-input.vue.d.ts +6 -6
  142. package/dist/runtime/components/input/index.d.ts +2 -1
  143. package/dist/runtime/components/input/lib/input-wrapper.context.d.ts +2 -2
  144. package/dist/runtime/components/input/lib/input-wrapper.context.js +1 -2
  145. package/dist/runtime/components/input/number-input.d.vue.ts +5 -5
  146. package/dist/runtime/components/input/number-input.vue +19 -18
  147. package/dist/runtime/components/input/number-input.vue.d.ts +5 -5
  148. package/dist/runtime/components/input/password-input.d.vue.ts +6 -6
  149. package/dist/runtime/components/input/password-input.vue +8 -1
  150. package/dist/runtime/components/input/password-input.vue.d.ts +6 -6
  151. package/dist/runtime/components/input/text-input.d.vue.ts +21 -11
  152. package/dist/runtime/components/input/text-input.vue +34 -15
  153. package/dist/runtime/components/input/text-input.vue.d.ts +21 -11
  154. package/dist/runtime/components/input/types/index.d.ts +2 -0
  155. package/dist/runtime/components/input/ui/button-input.d.vue.ts +42 -0
  156. package/dist/runtime/components/input/ui/button-input.vue +103 -0
  157. package/dist/runtime/components/input/ui/button-input.vue.d.ts +42 -0
  158. package/dist/runtime/components/input/ui/input-base.d.vue.ts +11 -63
  159. package/dist/runtime/components/input/ui/input-base.vue +55 -78
  160. package/dist/runtime/components/input/ui/input-base.vue.d.ts +11 -63
  161. package/dist/runtime/components/input/ui/input-inline.d.vue.ts +5 -5
  162. package/dist/runtime/components/input/ui/input-inline.vue +2 -6
  163. package/dist/runtime/components/input/ui/input-inline.vue.d.ts +5 -5
  164. package/dist/runtime/components/input/ui/input-label.vue +2 -5
  165. package/dist/runtime/components/input/ui/input-wrapper.d.vue.ts +5 -5
  166. package/dist/runtime/components/input/ui/input-wrapper.vue +11 -5
  167. package/dist/runtime/components/input/ui/input-wrapper.vue.d.ts +5 -5
  168. package/dist/runtime/components/input/ui/spin-input.d.vue.ts +25 -0
  169. package/dist/runtime/components/input/ui/spin-input.vue +155 -0
  170. package/dist/runtime/components/input/ui/spin-input.vue.d.ts +25 -0
  171. package/dist/runtime/components/link/link-button.d.vue.ts +4 -4
  172. package/dist/runtime/components/link/link-button.vue.d.ts +4 -4
  173. package/dist/runtime/components/link/link.d.vue.ts +2 -2
  174. package/dist/runtime/components/link/link.vue +1 -1
  175. package/dist/runtime/components/link/link.vue.d.ts +2 -2
  176. package/dist/runtime/components/modal/modal-close-button.d.vue.ts +2 -2
  177. package/dist/runtime/components/modal/modal-close-button.vue +1 -1
  178. package/dist/runtime/components/modal/modal-close-button.vue.d.ts +2 -2
  179. package/dist/runtime/components/modal/modal-header.d.vue.ts +2 -2
  180. package/dist/runtime/components/modal/modal-header.vue +1 -1
  181. package/dist/runtime/components/modal/modal-header.vue.d.ts +2 -2
  182. package/dist/runtime/components/modal/modal-root.d.vue.ts +2 -2
  183. package/dist/runtime/components/modal/modal-root.vue +3 -3
  184. package/dist/runtime/components/modal/modal-root.vue.d.ts +2 -2
  185. package/dist/runtime/components/modal/modal-title.d.vue.ts +2 -2
  186. package/dist/runtime/components/modal/modal-title.vue +2 -2
  187. package/dist/runtime/components/modal/modal-title.vue.d.ts +2 -2
  188. package/dist/runtime/components/nav-link/nav-icon-link.d.vue.ts +2 -2
  189. package/dist/runtime/components/nav-link/nav-icon-link.vue.d.ts +2 -2
  190. package/dist/runtime/components/nav-link/nav-link.d.vue.ts +5 -5
  191. package/dist/runtime/components/nav-link/nav-link.vue.d.ts +5 -5
  192. package/dist/runtime/components/paper.d.vue.ts +2 -2
  193. package/dist/runtime/components/paper.vue.d.ts +2 -2
  194. package/dist/runtime/components/popover/lib/use-popover.d.ts +1 -0
  195. package/dist/runtime/components/popover/lib/use-popover.js +2 -1
  196. package/dist/runtime/components/popover/popover-dropdown.vue +2 -0
  197. package/dist/runtime/components/popover/popover-target.d.vue.ts +7 -3
  198. package/dist/runtime/components/popover/popover-target.vue +10 -2
  199. package/dist/runtime/components/popover/popover-target.vue.d.ts +7 -3
  200. package/dist/runtime/components/popover/popover.vue +1 -1
  201. package/dist/runtime/components/progress/progress-label.d.vue.ts +2 -2
  202. package/dist/runtime/components/progress/progress-label.vue.d.ts +2 -2
  203. package/dist/runtime/components/progress/progress-root.d.vue.ts +2 -2
  204. package/dist/runtime/components/progress/progress-root.vue.d.ts +2 -2
  205. package/dist/runtime/components/progress/progress-section.d.vue.ts +2 -2
  206. package/dist/runtime/components/progress/progress-section.vue.d.ts +2 -2
  207. package/dist/runtime/components/renderless/renderless.d.vue.ts +2 -2
  208. package/dist/runtime/components/renderless/renderless.vue.d.ts +2 -2
  209. package/dist/runtime/components/roving-focus/roving-focus-item.d.vue.ts +2 -2
  210. package/dist/runtime/components/roving-focus/roving-focus-item.vue.d.ts +2 -2
  211. package/dist/runtime/components/roving-focus/roving-focus.d.vue.ts +2 -2
  212. package/dist/runtime/components/roving-focus/roving-focus.vue.d.ts +2 -2
  213. package/dist/runtime/components/select/select.d.vue.ts +12 -8
  214. package/dist/runtime/components/select/select.vue +9 -11
  215. package/dist/runtime/components/select/select.vue.d.ts +12 -8
  216. package/dist/runtime/components/table/table.d.vue.ts +10 -6
  217. package/dist/runtime/components/table/table.vue +1 -1
  218. package/dist/runtime/components/table/table.vue.d.ts +10 -6
  219. package/dist/runtime/components/tabs/tabs-list.d.vue.ts +2 -2
  220. package/dist/runtime/components/tabs/tabs-list.vue +1 -1
  221. package/dist/runtime/components/tabs/tabs-list.vue.d.ts +2 -2
  222. package/dist/runtime/components/tabs/tabs-panel.d.vue.ts +2 -2
  223. package/dist/runtime/components/tabs/tabs-panel.vue.d.ts +2 -2
  224. package/dist/runtime/components/tabs/tabs-root.d.vue.ts +2 -2
  225. package/dist/runtime/components/tabs/tabs-root.vue.d.ts +2 -2
  226. package/dist/runtime/components/tabs/tabs-tab.d.vue.ts +4 -4
  227. package/dist/runtime/components/tabs/tabs-tab.vue.d.ts +4 -4
  228. package/dist/runtime/components/text.d.vue.ts +2 -2
  229. package/dist/runtime/components/text.vue +1 -1
  230. package/dist/runtime/components/text.vue.d.ts +2 -2
  231. package/dist/runtime/components/textarea.d.vue.ts +11 -9
  232. package/dist/runtime/components/textarea.vue +42 -30
  233. package/dist/runtime/components/textarea.vue.d.ts +11 -9
  234. package/dist/runtime/components/time-picker/index.d.ts +6 -0
  235. package/dist/runtime/components/time-picker/index.js +5 -0
  236. package/dist/runtime/components/time-picker/lib/clamp-time.d.ts +13 -0
  237. package/dist/runtime/components/time-picker/lib/clamp-time.js +23 -0
  238. package/dist/runtime/components/time-picker/lib/get-parsed-time.d.ts +16 -0
  239. package/dist/runtime/components/time-picker/lib/get-parsed-time.js +26 -0
  240. package/dist/runtime/components/time-picker/lib/get-time-string.d.ts +13 -0
  241. package/dist/runtime/components/time-picker/lib/get-time-string.js +41 -0
  242. package/dist/runtime/components/time-picker/lib/pad-time.d.ts +1 -0
  243. package/dist/runtime/components/time-picker/lib/pad-time.js +3 -0
  244. package/dist/runtime/components/time-picker/lib/split-time-string.d.ts +5 -0
  245. package/dist/runtime/components/time-picker/lib/split-time-string.js +4 -0
  246. package/dist/runtime/components/time-picker/lib/use-time-picker.d.ts +29 -0
  247. package/dist/runtime/components/time-picker/lib/use-time-picker.js +103 -0
  248. package/dist/runtime/components/time-picker/model.d.ts +17 -0
  249. package/dist/runtime/components/time-picker/model.js +0 -0
  250. package/dist/runtime/components/time-picker/time-picker.d.vue.ts +88 -0
  251. package/dist/runtime/components/time-picker/time-picker.vue +313 -0
  252. package/dist/runtime/components/time-picker/time-picker.vue.d.ts +88 -0
  253. package/dist/runtime/components/title.d.vue.ts +2 -2
  254. package/dist/runtime/components/title.vue +1 -1
  255. package/dist/runtime/components/title.vue.d.ts +2 -2
  256. package/dist/runtime/components/tree/_ui/tree-root.d.vue.ts +2 -2
  257. package/dist/runtime/components/tree/_ui/tree-root.vue.d.ts +2 -2
  258. package/dist/runtime/components/visually-hidden/visually-hidden-input.d.vue.ts +10 -6
  259. package/dist/runtime/components/visually-hidden/visually-hidden-input.vue.d.ts +10 -6
  260. package/dist/runtime/components/visually-hidden/visually-hidden.d.vue.ts +2 -2
  261. package/dist/runtime/components/visually-hidden/visually-hidden.vue.d.ts +2 -2
  262. package/dist/runtime/composals/use-date-config.d.ts +11 -1
  263. package/dist/runtime/composals/use-date-config.js +8 -5
  264. package/dist/runtime/helpers/date/create-months.d.ts +1 -7
  265. package/dist/runtime/helpers/date/create-months.js +1 -1
  266. package/dist/runtime/helpers/date/get-days-between.js +4 -1
  267. package/dist/runtime/types/index.d.ts +1 -1
  268. package/package.json +18 -18
  269. package/dist/runtime/components/dialog/dialog.module.css +0 -1
  270. package/dist/runtime/components/input/input.d.vue.ts +0 -38
  271. package/dist/runtime/components/input/input.vue +0 -47
  272. package/dist/runtime/components/input/input.vue.d.ts +0 -38
  273. /package/dist/runtime/components/dialog/{types/index.d.ts → model.d.ts} +0 -0
  274. /package/dist/runtime/components/dialog/{types/index.js → model.js} +0 -0
@@ -19,8 +19,6 @@ export interface CalendarRootProps<T extends SelectionMode> {
19
19
  excludeDate?: DateMatcher;
20
20
  /** Determines whether today should be highlighted with a border @default `false` */
21
21
  highlightToday?: boolean;
22
- /** Determines whether weekdays row should be hidden @default `false` */
23
- hideWeekdays?: boolean;
24
22
  /** Determines whether outside dates should be hidden @default `false` */
25
23
  hideOutsideDates?: boolean;
26
24
  /** Whether the calendar is disabled */
@@ -30,28 +28,40 @@ export interface CalendarRootProps<T extends SelectionMode> {
30
28
  /** `@formkit/tempo` locale config */
31
29
  config?: DateConfig;
32
30
  }
33
- declare const __VLS_export: <T extends SelectionMode = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
34
- props: __VLS_PrettifyLocal<(CalendarRootProps<T> & {
31
+ declare const __VLS_export: <T extends SelectionMode = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
32
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(CalendarRootProps<T> & {
35
33
  date: DateInput;
36
34
  select?: DateSelection<T>;
37
35
  }) & {
38
36
  onSelect?: ((args_0: DateSelection<T>) => any) | undefined;
39
37
  "onUpdate:date"?: ((value: DateInput) => any) | undefined;
40
38
  "onUpdate:select"?: ((value: DateSelection<T>) => any) | undefined;
41
- }> & import("vue").PublicProps;
39
+ }> & (typeof globalThis extends {
40
+ __VLS_PROPS_FALLBACK: infer P;
41
+ } ? P : {});
42
42
  expose: (exposed: {}) => void;
43
43
  attrs: any;
44
44
  slots: {
45
45
  default?: (props: {
46
- config: any;
46
+ config: Omit<import("@formkit/tempo").FormatOptions, "date" | "format"> & {
47
+ firstDayOfWeek: number;
48
+ } & {
49
+ firstDayOfWeek: number;
50
+ locale?: string;
51
+ genitive?: boolean;
52
+ tz?: string;
53
+ partFilter?: (part: import("@formkit/tempo").Part) => boolean;
54
+ };
47
55
  }) => any;
48
56
  };
49
- emit: ((evt: "select", args_0: DateSelection<T>) => void) & (((evt: "update:date", value: DateInput) => void) & ((evt: "update:select", value: DateSelection<T>) => void));
57
+ emit: ((evt: "select", args_0: DateSelection<T>) => void) & (((event: "update:date", value: DateInput) => void) & ((event: "update:select", value: DateSelection<T>) => void));
50
58
  }>) => import("vue").VNode & {
51
59
  __ctx?: Awaited<typeof __VLS_setup>;
52
60
  };
53
61
  declare const _default: typeof __VLS_export;
54
62
  export default _default;
55
- type __VLS_PrettifyLocal<T> = {
63
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
64
+ [K in keyof T]: T[K];
65
+ } : {
56
66
  [K in keyof T as K]: T[K];
57
- } & {};
67
+ }) & {};
@@ -4,7 +4,7 @@ import type { CalendarCellProps } from '../core/index.js';
4
4
  export interface CalendarDecadeProps extends CalendarCellProps {
5
5
  date: DateInput;
6
6
  /** Controls size */
7
- size?: NuanceSize;
7
+ size?: NuanceSize | string;
8
8
  selectable?: boolean;
9
9
  }
10
10
  declare const __VLS_export: import("vue").DefineComponent<CalendarDecadeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -4,7 +4,7 @@ import type { CalendarCellProps } from '../core/index.js';
4
4
  export interface CalendarDecadeProps extends CalendarCellProps {
5
5
  date: DateInput;
6
6
  /** Controls size */
7
- size?: NuanceSize;
7
+ size?: NuanceSize | string;
8
8
  selectable?: boolean;
9
9
  }
10
10
  declare const __VLS_export: import("vue").DefineComponent<CalendarDecadeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -5,17 +5,17 @@ export interface CalendarMonthProps {
5
5
  /** Detects the presence of spaces between cells. @default `true` */
6
6
  withCellSpacing?: boolean;
7
7
  /** Controls size */
8
- size?: NuanceSize;
8
+ size?: NuanceSize | string;
9
9
  /** Determines whether week numbers should be displayed @default `false` */
10
10
  withWeekNumbers?: boolean;
11
11
  }
12
12
  declare var __VLS_1: {
13
13
  day: string;
14
- }, __VLS_16: {};
14
+ }, __VLS_21: {};
15
15
  type __VLS_Slots = {} & {
16
16
  weekday?: (props: typeof __VLS_1) => any;
17
17
  } & {
18
- default?: (props: typeof __VLS_16) => any;
18
+ default?: (props: typeof __VLS_21) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<CalendarMonthProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  select: (date: DateInput) => any;
@@ -14,22 +14,14 @@ const { month, size, withWeekNumbers, withCellSpacing = true } = defineProps({
14
14
  });
15
15
  const emit = defineEmits(["select"]);
16
16
  const ctx = useCalendarState();
17
- const weeks = shallowRef(createMonth({
18
- date: month,
19
- config: ctx.config.value,
20
- fixedWeeks: ctx.fixedWeeks
21
- }));
17
+ const weeks = shallowRef(createMonth(month, ctx.config, ctx.fixedWeeks));
22
18
  watch(() => month, (date, oldDate) => {
23
19
  if (date === oldDate)
24
20
  return;
25
- weeks.value = createMonth({
26
- date,
27
- config: ctx.config.value,
28
- fixedWeeks: ctx.fixedWeeks
29
- });
21
+ weeks.value = createMonth(date, ctx.config, ctx.fixedWeeks);
30
22
  });
31
23
  const today = /* @__PURE__ */ new Date();
32
- const isWeekend = (day) => isWeekendDay(day, ctx.config.value.firstDayOfWeek);
24
+ const isWeekend = (day) => isWeekendDay(day, ctx.config.firstDayOfWeek);
33
25
  const isOutside = (day) => !isSameMonth(day, month);
34
26
  const isToday = (day) => !!ctx.highlightToday && sameDay(day, today);
35
27
  const isDisabled = (day) => {
@@ -137,10 +129,11 @@ function handleSelect(event) {
137
129
  }
138
130
 
139
131
  .weekday {
140
- color: var(--color-dimmed);
141
- font-weight: normal;
142
- font-size: var(--wr-fz, var(--font-size-sm));
143
- text-transform: capitalize;
144
- padding-bottom: calc(var(--wr-spacing, var(--spacing-sm)) / 2);
132
+ padding-bottom: calc(var(--wr-spacing, var(--spacing-sm)) / 2);
133
+
134
+ font-size: var(--wr-fz, var(--font-size-sm));
135
+ font-weight: normal;
136
+ color: var(--color-dimmed);
137
+ text-transform: capitalize;
145
138
  }
146
139
  </style>
@@ -5,17 +5,17 @@ export interface CalendarMonthProps {
5
5
  /** Detects the presence of spaces between cells. @default `true` */
6
6
  withCellSpacing?: boolean;
7
7
  /** Controls size */
8
- size?: NuanceSize;
8
+ size?: NuanceSize | string;
9
9
  /** Determines whether week numbers should be displayed @default `false` */
10
10
  withWeekNumbers?: boolean;
11
11
  }
12
12
  declare var __VLS_1: {
13
13
  day: string;
14
- }, __VLS_16: {};
14
+ }, __VLS_21: {};
15
15
  type __VLS_Slots = {} & {
16
16
  weekday?: (props: typeof __VLS_1) => any;
17
17
  } & {
18
- default?: (props: typeof __VLS_16) => any;
18
+ default?: (props: typeof __VLS_21) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<CalendarMonthProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  select: (date: DateInput) => any;
@@ -4,7 +4,7 @@ import type { CalendarCellProps } from '../core/index.js';
4
4
  export interface CalendarYearProps extends CalendarCellProps {
5
5
  year: DateInput;
6
6
  /** Controls size */
7
- size?: NuanceSize;
7
+ size?: NuanceSize | string;
8
8
  selectable?: boolean;
9
9
  }
10
10
  declare const __VLS_export: import("vue").DefineComponent<CalendarYearProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -18,7 +18,7 @@ const emit = defineEmits(["select"]);
18
18
  const ctx = useCalendarState();
19
19
  const dateYear = computed(() => date(year).getFullYear());
20
20
  const monthList = computed(() => {
21
- const months = range("MMMM", ctx.config.value.locale, ctx.config.value.genitive).map((label, ix) => ({ label, ix }));
21
+ const months = range("MMMM", ctx.config.locale, ctx.config.genitive).map((label, ix) => ({ label, ix }));
22
22
  return chunk(months, 3);
23
23
  });
24
24
  const isToday = (month) => isSameMonth(new Date(dateYear.value, month), /* @__PURE__ */ new Date());
@@ -85,12 +85,16 @@ function handleSelect(month) {
85
85
  --day-size-lg: 3rem;
86
86
  --day-size-xl: 3.375rem;
87
87
 
88
- height: var(--day-size);
89
- width: calc((var(--day-size) * 7) / 3 + .09375rem);
88
+ cursor: pointer;
89
+
90
90
  display: flex;
91
- justify-content: center;
92
91
  align-items: center;
93
- cursor: pointer;
92
+ justify-content: center;
93
+
94
+ width: calc((var(--day-size) * 7) / 3 + .09375rem);
95
+
96
+ height: var(--day-size);
97
+
94
98
  text-transform: capitalize;
95
99
  }
96
100
  </style>
@@ -4,7 +4,7 @@ import type { CalendarCellProps } from '../core/index.js';
4
4
  export interface CalendarYearProps extends CalendarCellProps {
5
5
  year: DateInput;
6
6
  /** Controls size */
7
- size?: NuanceSize;
7
+ size?: NuanceSize | string;
8
8
  selectable?: boolean;
9
9
  }
10
10
  declare const __VLS_export: import("vue").DefineComponent<CalendarYearProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -4,9 +4,9 @@ export interface CardSectionProps extends BoxProps {
4
4
  /** Determines whether the section should inherit padding from the parent `UiCard`, `false` by default */
5
5
  inheritPadding?: boolean;
6
6
  }
7
- declare var __VLS_6: {};
7
+ declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_6) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<CardSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardSectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -4,9 +4,9 @@ export interface CardSectionProps extends BoxProps {
4
4
  /** Determines whether the section should inherit padding from the parent `UiCard`, `false` by default */
5
5
  inheritPadding?: boolean;
6
6
  }
7
- declare var __VLS_6: {};
7
+ declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_6) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<CardSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardSectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,9 +3,9 @@ import type { PaperProps } from '../paper.vue.js';
3
3
  export interface CardProps extends PaperProps {
4
4
  padding?: NuanceSpacing;
5
5
  }
6
- declare var __VLS_6: {};
6
+ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_6) => any;
8
+ default?: (props: typeof __VLS_8) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,9 +3,9 @@ import type { PaperProps } from '../paper.vue.js';
3
3
  export interface CardProps extends PaperProps {
4
4
  padding?: NuanceSpacing;
5
5
  }
6
- declare var __VLS_6: {};
6
+ declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_6) => any;
8
+ default?: (props: typeof __VLS_8) => any;
9
9
  };
10
10
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -11,9 +11,9 @@ type __VLS_ModelProps = {
11
11
  modelValue?: boolean;
12
12
  };
13
13
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
- declare var __VLS_9: {};
14
+ declare var __VLS_10: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_9) => any;
16
+ default?: (props: typeof __VLS_10) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: boolean) => any;
@@ -11,9 +11,9 @@ type __VLS_ModelProps = {
11
11
  modelValue?: boolean;
12
12
  };
13
13
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
- declare var __VLS_9: {};
14
+ declare var __VLS_10: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_9) => any;
16
+ default?: (props: typeof __VLS_10) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: boolean) => any;
@@ -9,15 +9,15 @@ type __VLS_ModelProps = {
9
9
  modelValue?: string[];
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_7: {}, __VLS_9: {}, __VLS_12: {}, __VLS_15: {};
12
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_14: {}, __VLS_17: {};
13
13
  type __VLS_Slots = {} & {
14
- label?: (props: typeof __VLS_7) => any;
14
+ label?: (props: typeof __VLS_9) => any;
15
15
  } & {
16
- default?: (props: typeof __VLS_9) => any;
16
+ default?: (props: typeof __VLS_11) => any;
17
17
  } & {
18
- description?: (props: typeof __VLS_12) => any;
18
+ description?: (props: typeof __VLS_14) => any;
19
19
  } & {
20
- error?: (props: typeof __VLS_15) => any;
20
+ error?: (props: typeof __VLS_17) => any;
21
21
  };
22
22
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  "update:modelValue": (value: string[]) => any;
@@ -9,15 +9,15 @@ type __VLS_ModelProps = {
9
9
  modelValue?: string[];
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_7: {}, __VLS_9: {}, __VLS_12: {}, __VLS_15: {};
12
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_14: {}, __VLS_17: {};
13
13
  type __VLS_Slots = {} & {
14
- label?: (props: typeof __VLS_7) => any;
14
+ label?: (props: typeof __VLS_9) => any;
15
15
  } & {
16
- default?: (props: typeof __VLS_9) => any;
16
+ default?: (props: typeof __VLS_11) => any;
17
17
  } & {
18
- description?: (props: typeof __VLS_12) => any;
18
+ description?: (props: typeof __VLS_14) => any;
19
19
  } & {
20
- error?: (props: typeof __VLS_15) => any;
20
+ error?: (props: typeof __VLS_17) => any;
21
21
  };
22
22
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  "update:modelValue": (value: string[]) => any;
@@ -12,7 +12,7 @@ type __VLS_ModelProps = {
12
12
  modelValue?: boolean;
13
13
  };
14
14
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
- declare var __VLS_6: {
15
+ declare var __VLS_8: {
16
16
  mod: {
17
17
  checked: boolean | undefined;
18
18
  };
@@ -20,7 +20,7 @@ declare var __VLS_6: {
20
20
  indeterminate: boolean;
21
21
  };
22
22
  type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_6) => any;
23
+ default?: (props: typeof __VLS_8) => any;
24
24
  };
25
25
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
26
  "update:modelValue": (value: boolean | undefined) => any;
@@ -12,7 +12,7 @@ type __VLS_ModelProps = {
12
12
  modelValue?: boolean;
13
13
  };
14
14
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
- declare var __VLS_6: {
15
+ declare var __VLS_8: {
16
16
  mod: {
17
17
  checked: boolean | undefined;
18
18
  };
@@ -20,7 +20,7 @@ declare var __VLS_6: {
20
20
  indeterminate: boolean;
21
21
  };
22
22
  type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_6) => any;
23
+ default?: (props: typeof __VLS_8) => any;
24
24
  };
25
25
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
26
  "update:modelValue": (value: boolean | undefined) => any;
@@ -13,12 +13,12 @@ type __VLS_ModelProps = {
13
13
  modelValue?: boolean | 'indeterminate';
14
14
  };
15
15
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
- declare var __VLS_10: {
16
+ declare var __VLS_14: {
17
17
  class: string;
18
18
  indeterminate: boolean;
19
19
  };
20
20
  type __VLS_Slots = {} & {
21
- icon?: (props: typeof __VLS_10) => any;
21
+ icon?: (props: typeof __VLS_14) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
24
  "update:modelValue": (value: boolean | "indeterminate" | undefined) => any;
@@ -13,12 +13,12 @@ type __VLS_ModelProps = {
13
13
  modelValue?: boolean | 'indeterminate';
14
14
  };
15
15
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
- declare var __VLS_10: {
16
+ declare var __VLS_14: {
17
17
  class: string;
18
18
  indeterminate: boolean;
19
19
  };
20
20
  type __VLS_Slots = {} & {
21
- icon?: (props: typeof __VLS_10) => any;
21
+ icon?: (props: typeof __VLS_14) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
24
  "update:modelValue": (value: boolean | "indeterminate" | undefined) => any;
@@ -4,23 +4,27 @@ export interface ChipGroupProps<T extends boolean = false> {
4
4
  multiple?: T;
5
5
  disabled?: boolean;
6
6
  }
7
- declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
7
+ declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(ChipGroupProps<T> & {
9
9
  modelValue?: ChipGroupValue<T>;
10
10
  }) & {
11
11
  "onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
12
- }> & import("vue").PublicProps;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
13
15
  expose: (exposed: {}) => void;
14
16
  attrs: any;
15
17
  slots: {
16
18
  default?: (props: {}) => any;
17
19
  };
18
- emit: (evt: "update:modelValue", value: ChipGroupValue<T>) => void;
20
+ emit: (event: "update:modelValue", value: ChipGroupValue<T>) => void;
19
21
  }>) => import("vue").VNode & {
20
22
  __ctx?: Awaited<typeof __VLS_setup>;
21
23
  };
22
24
  declare const _default: typeof __VLS_export;
23
25
  export default _default;
24
- type __VLS_PrettifyLocal<T> = {
26
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
27
+ [K in keyof T]: T[K];
28
+ } : {
25
29
  [K in keyof T as K]: T[K];
26
- } & {};
30
+ }) & {};
@@ -4,23 +4,27 @@ export interface ChipGroupProps<T extends boolean = false> {
4
4
  multiple?: T;
5
5
  disabled?: boolean;
6
6
  }
7
- declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
7
+ declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(ChipGroupProps<T> & {
9
9
  modelValue?: ChipGroupValue<T>;
10
10
  }) & {
11
11
  "onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
12
- }> & import("vue").PublicProps;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
13
15
  expose: (exposed: {}) => void;
14
16
  attrs: any;
15
17
  slots: {
16
18
  default?: (props: {}) => any;
17
19
  };
18
- emit: (evt: "update:modelValue", value: ChipGroupValue<T>) => void;
20
+ emit: (event: "update:modelValue", value: ChipGroupValue<T>) => void;
19
21
  }>) => import("vue").VNode & {
20
22
  __ctx?: Awaited<typeof __VLS_setup>;
21
23
  };
22
24
  declare const _default: typeof __VLS_export;
23
25
  export default _default;
24
- type __VLS_PrettifyLocal<T> = {
26
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
27
+ [K in keyof T]: T[K];
28
+ } : {
25
29
  [K in keyof T as K]: T[K];
26
- } & {};
30
+ }) & {};
@@ -16,9 +16,9 @@ type __VLS_ModelProps = {
16
16
  modelValue?: boolean;
17
17
  };
18
18
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
- declare var __VLS_15: {};
19
+ declare var __VLS_19: {};
20
20
  type __VLS_Slots = {} & {
21
- default?: (props: typeof __VLS_15) => any;
21
+ default?: (props: typeof __VLS_19) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
24
  "update:modelValue": (value: boolean) => any;
@@ -16,9 +16,9 @@ type __VLS_ModelProps = {
16
16
  modelValue?: boolean;
17
17
  };
18
18
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
- declare var __VLS_15: {};
19
+ declare var __VLS_19: {};
20
20
  type __VLS_Slots = {} & {
21
- default?: (props: typeof __VLS_15) => any;
21
+ default?: (props: typeof __VLS_19) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
24
  "update:modelValue": (value: boolean) => any;
@@ -1,6 +1,6 @@
1
- declare var __VLS_10: {};
1
+ declare var __VLS_14: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_10) => any;
3
+ default?: (props: typeof __VLS_14) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,6 +1,6 @@
1
- declare var __VLS_10: {};
1
+ declare var __VLS_14: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_10) => any;
3
+ default?: (props: typeof __VLS_14) => any;
4
4
  };
5
5
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,9 +1,9 @@
1
1
  import type { BoxProps } from '../box.vue.js';
2
2
  export interface ComboboxEmptyProps extends BoxProps {
3
3
  }
4
- declare var __VLS_6: {};
4
+ declare var __VLS_8: {};
5
5
  type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_6) => any;
6
+ default?: (props: typeof __VLS_8) => any;
7
7
  };
8
8
  declare const __VLS_base: import("vue").DefineComponent<ComboboxEmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,9 +1,9 @@
1
1
  import type { BoxProps } from '../box.vue.js';
2
2
  export interface ComboboxEmptyProps extends BoxProps {
3
3
  }
4
- declare var __VLS_6: {};
4
+ declare var __VLS_8: {};
5
5
  type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_6) => any;
6
+ default?: (props: typeof __VLS_8) => any;
7
7
  };
8
8
  declare const __VLS_base: import("vue").DefineComponent<ComboboxEmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -5,12 +5,14 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
5
5
  label?: string;
6
6
  data: ComboboxItemGroup<Value, Ext>;
7
7
  }
8
- declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
8
+ declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
10
10
  value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
11
11
  }) & {
12
12
  "onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
13
- }> & import("vue").PublicProps;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
14
16
  expose: (exposed: {}) => void;
15
17
  attrs: any;
16
18
  slots: {
@@ -23,12 +25,14 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
23
25
  iconPosition: "left" | "right";
24
26
  }) => any;
25
27
  };
26
- emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
28
+ emit: (event: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
27
29
  }>) => import("vue").VNode & {
28
30
  __ctx?: Awaited<typeof __VLS_setup>;
29
31
  };
30
32
  declare const _default: typeof __VLS_export;
31
33
  export default _default;
32
- type __VLS_PrettifyLocal<T> = {
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
35
+ [K in keyof T]: T[K];
36
+ } : {
33
37
  [K in keyof T as K]: T[K];
34
- } & {};
38
+ }) & {};
@@ -5,12 +5,14 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
5
5
  label?: string;
6
6
  data: ComboboxItemGroup<Value, Ext>;
7
7
  }
8
- declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
8
+ declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
10
10
  value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
11
11
  }) & {
12
12
  "onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
13
- }> & import("vue").PublicProps;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
14
16
  expose: (exposed: {}) => void;
15
17
  attrs: any;
16
18
  slots: {
@@ -23,12 +25,14 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
23
25
  iconPosition: "left" | "right";
24
26
  }) => any;
25
27
  };
26
- emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
28
+ emit: (event: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
27
29
  }>) => import("vue").VNode & {
28
30
  __ctx?: Awaited<typeof __VLS_setup>;
29
31
  };
30
32
  declare const _default: typeof __VLS_export;
31
33
  export default _default;
32
- type __VLS_PrettifyLocal<T> = {
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
35
+ [K in keyof T]: T[K];
36
+ } : {
33
37
  [K in keyof T as K]: T[K];
34
- } & {};
38
+ }) & {};