@bitrix24/b24ui-nuxt 2.1.7 → 2.1.9

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 (226) hide show
  1. package/dist/meta.d.mts +39966 -51971
  2. package/dist/meta.mjs +39966 -51971
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/components/Accordion.d.vue.ts +3 -3
  6. package/dist/runtime/components/Accordion.vue.d.ts +3 -3
  7. package/dist/runtime/components/Advice.d.vue.ts +1 -4
  8. package/dist/runtime/components/Advice.vue.d.ts +1 -4
  9. package/dist/runtime/components/Alert.d.vue.ts +3 -6
  10. package/dist/runtime/components/Alert.vue.d.ts +3 -6
  11. package/dist/runtime/components/App.d.vue.ts +3 -1
  12. package/dist/runtime/components/App.vue.d.ts +3 -1
  13. package/dist/runtime/components/Badge.d.vue.ts +1 -4
  14. package/dist/runtime/components/Badge.vue.d.ts +1 -4
  15. package/dist/runtime/components/Banner.d.vue.ts +2 -2
  16. package/dist/runtime/components/Banner.vue.d.ts +2 -2
  17. package/dist/runtime/components/Breadcrumb.d.vue.ts +3 -1
  18. package/dist/runtime/components/Breadcrumb.vue.d.ts +3 -1
  19. package/dist/runtime/components/Button.d.vue.ts +1 -4
  20. package/dist/runtime/components/Button.vue.d.ts +1 -4
  21. package/dist/runtime/components/Calendar.d.vue.ts +8 -11
  22. package/dist/runtime/components/Calendar.vue.d.ts +8 -11
  23. package/dist/runtime/components/ChatMessage.d.vue.ts +1 -3
  24. package/dist/runtime/components/ChatMessage.vue.d.ts +1 -3
  25. package/dist/runtime/components/ChatMessages.d.vue.ts +3 -8
  26. package/dist/runtime/components/ChatMessages.vue.d.ts +3 -8
  27. package/dist/runtime/components/ChatPrompt.d.vue.ts +2 -7
  28. package/dist/runtime/components/ChatPrompt.vue.d.ts +2 -7
  29. package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +3 -9
  30. package/dist/runtime/components/ChatPromptSubmit.vue +1 -20
  31. package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +3 -9
  32. package/dist/runtime/components/CheckboxGroup.d.vue.ts +3 -4
  33. package/dist/runtime/components/CheckboxGroup.vue.d.ts +3 -4
  34. package/dist/runtime/components/Chip.d.vue.ts +1 -6
  35. package/dist/runtime/components/Chip.vue.d.ts +1 -6
  36. package/dist/runtime/components/Collapsible.d.vue.ts +1 -3
  37. package/dist/runtime/components/Collapsible.vue.d.ts +1 -3
  38. package/dist/runtime/components/ColorPicker.d.vue.ts +1 -5
  39. package/dist/runtime/components/ColorPicker.vue.d.ts +1 -5
  40. package/dist/runtime/components/CommandPalette.d.vue.ts +9 -14
  41. package/dist/runtime/components/CommandPalette.vue.d.ts +9 -14
  42. package/dist/runtime/components/ContextMenu.d.vue.ts +3 -3
  43. package/dist/runtime/components/ContextMenu.vue.d.ts +3 -3
  44. package/dist/runtime/components/ContextMenuContent.d.vue.ts +3 -7
  45. package/dist/runtime/components/ContextMenuContent.vue.d.ts +3 -7
  46. package/dist/runtime/components/Countdown.d.vue.ts +1 -10
  47. package/dist/runtime/components/Countdown.vue.d.ts +1 -10
  48. package/dist/runtime/components/DashboardGroup.d.vue.ts +1 -4
  49. package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -4
  50. package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -9
  51. package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -9
  52. package/dist/runtime/components/DashboardSearchButton.d.vue.ts +3 -8
  53. package/dist/runtime/components/DashboardSearchButton.vue +1 -20
  54. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +3 -8
  55. package/dist/runtime/components/DescriptionList.d.vue.ts +3 -1
  56. package/dist/runtime/components/DescriptionList.vue.d.ts +3 -1
  57. package/dist/runtime/components/DropdownMenu.d.vue.ts +3 -3
  58. package/dist/runtime/components/DropdownMenu.vue.d.ts +3 -3
  59. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +3 -7
  60. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +3 -7
  61. package/dist/runtime/components/Empty.d.vue.ts +1 -3
  62. package/dist/runtime/components/Empty.vue.d.ts +1 -3
  63. package/dist/runtime/components/Error.d.vue.ts +2 -5
  64. package/dist/runtime/components/Error.vue.d.ts +2 -5
  65. package/dist/runtime/components/FieldGroup.d.vue.ts +1 -4
  66. package/dist/runtime/components/FieldGroup.vue.d.ts +1 -4
  67. package/dist/runtime/components/FileUpload.d.vue.ts +5 -6
  68. package/dist/runtime/components/FileUpload.vue.d.ts +5 -6
  69. package/dist/runtime/components/Form.d.vue.ts +3 -4
  70. package/dist/runtime/components/Form.vue.d.ts +3 -4
  71. package/dist/runtime/components/Input.d.vue.ts +5 -7
  72. package/dist/runtime/components/Input.vue.d.ts +5 -7
  73. package/dist/runtime/components/InputDate.d.vue.ts +4 -8
  74. package/dist/runtime/components/InputDate.vue.d.ts +4 -8
  75. package/dist/runtime/components/InputMenu.d.vue.ts +7 -15
  76. package/dist/runtime/components/InputMenu.vue.d.ts +7 -15
  77. package/dist/runtime/components/InputNumber.d.vue.ts +7 -9
  78. package/dist/runtime/components/InputNumber.vue.d.ts +7 -9
  79. package/dist/runtime/components/InputTags.d.vue.ts +4 -10
  80. package/dist/runtime/components/InputTags.vue.d.ts +4 -10
  81. package/dist/runtime/components/InputTime.d.vue.ts +3 -5
  82. package/dist/runtime/components/InputTime.vue.d.ts +3 -5
  83. package/dist/runtime/components/Kbd.d.vue.ts +1 -4
  84. package/dist/runtime/components/Kbd.vue.d.ts +1 -4
  85. package/dist/runtime/components/Link.d.vue.ts +6 -7
  86. package/dist/runtime/components/Link.vue.d.ts +6 -7
  87. package/dist/runtime/components/LinkBase.d.vue.ts +1 -4
  88. package/dist/runtime/components/LinkBase.vue.d.ts +1 -4
  89. package/dist/runtime/components/Modal.d.vue.ts +3 -12
  90. package/dist/runtime/components/Modal.vue.d.ts +3 -12
  91. package/dist/runtime/components/Navbar.d.vue.ts +1 -3
  92. package/dist/runtime/components/Navbar.vue.d.ts +1 -3
  93. package/dist/runtime/components/NavbarDivider.d.vue.ts +1 -3
  94. package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -3
  95. package/dist/runtime/components/NavbarSection.d.vue.ts +1 -3
  96. package/dist/runtime/components/NavbarSection.vue.d.ts +1 -3
  97. package/dist/runtime/components/NavbarSpacer.d.vue.ts +1 -3
  98. package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -3
  99. package/dist/runtime/components/NavigationMenu.d.vue.ts +3 -3
  100. package/dist/runtime/components/NavigationMenu.vue.d.ts +3 -3
  101. package/dist/runtime/components/PageCard.d.vue.ts +1 -3
  102. package/dist/runtime/components/PageCard.vue.d.ts +1 -3
  103. package/dist/runtime/components/PageLinks.d.vue.ts +3 -1
  104. package/dist/runtime/components/PageLinks.vue.d.ts +3 -1
  105. package/dist/runtime/components/PageList.d.vue.ts +1 -3
  106. package/dist/runtime/components/PageList.vue.d.ts +1 -3
  107. package/dist/runtime/components/Pagination.d.vue.ts +1 -9
  108. package/dist/runtime/components/Pagination.vue.d.ts +1 -9
  109. package/dist/runtime/components/PinInput.d.vue.ts +4 -7
  110. package/dist/runtime/components/PinInput.vue.d.ts +4 -7
  111. package/dist/runtime/components/Popover.d.vue.ts +3 -4
  112. package/dist/runtime/components/Popover.vue.d.ts +3 -4
  113. package/dist/runtime/components/Progress.d.vue.ts +1 -5
  114. package/dist/runtime/components/Progress.vue.d.ts +1 -5
  115. package/dist/runtime/components/RadioGroup.d.vue.ts +3 -4
  116. package/dist/runtime/components/RadioGroup.vue.d.ts +3 -4
  117. package/dist/runtime/components/Range.d.vue.ts +3 -4
  118. package/dist/runtime/components/Range.vue.d.ts +3 -4
  119. package/dist/runtime/components/Select.d.vue.ts +4 -8
  120. package/dist/runtime/components/Select.vue.d.ts +4 -8
  121. package/dist/runtime/components/SelectMenu.d.vue.ts +7 -14
  122. package/dist/runtime/components/SelectMenu.vue.d.ts +7 -14
  123. package/dist/runtime/components/Separator.d.vue.ts +1 -6
  124. package/dist/runtime/components/Separator.vue.d.ts +1 -6
  125. package/dist/runtime/components/Sidebar.d.vue.ts +1 -3
  126. package/dist/runtime/components/Sidebar.vue.d.ts +1 -3
  127. package/dist/runtime/components/SidebarBody.d.vue.ts +1 -4
  128. package/dist/runtime/components/SidebarBody.vue.d.ts +1 -4
  129. package/dist/runtime/components/SidebarFooter.d.vue.ts +1 -3
  130. package/dist/runtime/components/SidebarFooter.vue.d.ts +1 -3
  131. package/dist/runtime/components/SidebarHeader.d.vue.ts +1 -3
  132. package/dist/runtime/components/SidebarHeader.vue.d.ts +1 -3
  133. package/dist/runtime/components/SidebarHeading.d.vue.ts +1 -3
  134. package/dist/runtime/components/SidebarHeading.vue.d.ts +1 -3
  135. package/dist/runtime/components/SidebarLayout.d.vue.ts +1 -6
  136. package/dist/runtime/components/SidebarLayout.vue.d.ts +1 -6
  137. package/dist/runtime/components/SidebarSection.d.vue.ts +1 -3
  138. package/dist/runtime/components/SidebarSection.vue.d.ts +1 -3
  139. package/dist/runtime/components/SidebarSpacer.d.vue.ts +1 -3
  140. package/dist/runtime/components/SidebarSpacer.vue.d.ts +1 -3
  141. package/dist/runtime/components/Skeleton.d.vue.ts +1 -3
  142. package/dist/runtime/components/Skeleton.vue.d.ts +1 -3
  143. package/dist/runtime/components/Slideover.d.vue.ts +3 -13
  144. package/dist/runtime/components/Slideover.vue.d.ts +3 -13
  145. package/dist/runtime/components/Stepper.d.vue.ts +3 -5
  146. package/dist/runtime/components/Stepper.vue.d.ts +3 -5
  147. package/dist/runtime/components/Table.d.vue.ts +4 -16
  148. package/dist/runtime/components/Table.vue +55 -33
  149. package/dist/runtime/components/Table.vue.d.ts +4 -16
  150. package/dist/runtime/components/TableWrapper.d.vue.ts +1 -4
  151. package/dist/runtime/components/TableWrapper.vue.d.ts +1 -4
  152. package/dist/runtime/components/Tabs.d.vue.ts +3 -3
  153. package/dist/runtime/components/Tabs.vue.d.ts +3 -3
  154. package/dist/runtime/components/Textarea.d.vue.ts +5 -7
  155. package/dist/runtime/components/Textarea.vue.d.ts +5 -7
  156. package/dist/runtime/components/Timeline.d.vue.ts +3 -3
  157. package/dist/runtime/components/Timeline.vue.d.ts +3 -3
  158. package/dist/runtime/components/Toast.d.vue.ts +3 -7
  159. package/dist/runtime/components/Toast.vue.d.ts +3 -7
  160. package/dist/runtime/components/Toaster.d.vue.ts +1 -8
  161. package/dist/runtime/components/Toaster.vue.d.ts +1 -8
  162. package/dist/runtime/components/Tooltip.d.vue.ts +1 -4
  163. package/dist/runtime/components/Tooltip.vue.d.ts +1 -4
  164. package/dist/runtime/components/User.d.vue.ts +1 -3
  165. package/dist/runtime/components/User.vue.d.ts +1 -3
  166. package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +3 -5
  167. package/dist/runtime/components/color-mode/ColorModeButton.vue +3 -22
  168. package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -5
  169. package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
  170. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
  171. package/dist/runtime/components/content/ContentSearch.d.vue.ts +6 -6
  172. package/dist/runtime/components/content/ContentSearch.vue.d.ts +6 -6
  173. package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +3 -8
  174. package/dist/runtime/components/content/ContentSearchButton.vue +1 -20
  175. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +3 -8
  176. package/dist/runtime/components/content/ContentSurround.d.vue.ts +3 -1
  177. package/dist/runtime/components/content/ContentSurround.vue.d.ts +3 -1
  178. package/dist/runtime/components/content/ContentToc.d.vue.ts +3 -4
  179. package/dist/runtime/components/content/ContentToc.vue.d.ts +3 -4
  180. package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -5
  181. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -5
  182. package/dist/runtime/components/prose/Accordion.d.vue.ts +1 -3
  183. package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -3
  184. package/dist/runtime/components/prose/CodeGroup.d.vue.ts +1 -3
  185. package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -3
  186. package/dist/runtime/components/prose/H1.d.vue.ts +1 -3
  187. package/dist/runtime/components/prose/H1.vue.d.ts +1 -3
  188. package/dist/runtime/components/prose/H2.d.vue.ts +1 -3
  189. package/dist/runtime/components/prose/H2.vue.d.ts +1 -3
  190. package/dist/runtime/components/prose/H3.d.vue.ts +1 -3
  191. package/dist/runtime/components/prose/H3.vue.d.ts +1 -3
  192. package/dist/runtime/components/prose/H4.d.vue.ts +1 -3
  193. package/dist/runtime/components/prose/H4.vue.d.ts +1 -3
  194. package/dist/runtime/components/prose/H5.d.vue.ts +1 -3
  195. package/dist/runtime/components/prose/H5.vue.d.ts +1 -3
  196. package/dist/runtime/components/prose/H6.d.vue.ts +1 -3
  197. package/dist/runtime/components/prose/H6.vue.d.ts +1 -3
  198. package/dist/runtime/components/prose/Img.d.vue.ts +1 -3
  199. package/dist/runtime/components/prose/Img.vue.d.ts +1 -3
  200. package/dist/runtime/components/prose/P.d.vue.ts +1 -4
  201. package/dist/runtime/components/prose/P.vue.d.ts +1 -4
  202. package/dist/runtime/components/prose/Table.d.vue.ts +1 -7
  203. package/dist/runtime/components/prose/Table.vue.d.ts +1 -7
  204. package/dist/runtime/components/prose/Tabs.d.vue.ts +1 -3
  205. package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -3
  206. package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
  207. package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
  208. package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
  209. package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
  210. package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
  211. package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
  212. package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
  213. package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
  214. package/dist/runtime/inertia/components/Link.d.vue.ts +1 -7
  215. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -7
  216. package/dist/runtime/inertia/components/LinkBase.d.vue.ts +1 -4
  217. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -4
  218. package/dist/runtime/utils/content.d.ts +2 -2
  219. package/dist/runtime/vue/components/Link.d.vue.ts +1 -7
  220. package/dist/runtime/vue/components/Link.vue.d.ts +1 -7
  221. package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +1 -3
  222. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -3
  223. package/dist/shared/{b24ui-nuxt.CIiXiDdZ.mjs → b24ui-nuxt.auTgHcA7.mjs} +18 -18
  224. package/dist/unplugin.mjs +1 -1
  225. package/dist/vite.mjs +1 -1
  226. package/package.json +9 -8
@@ -40,13 +40,9 @@ type DropdownMenuContentSlots<A extends ArrayOrNested<DropdownMenuItem> = ArrayO
40
40
  b24ui: DropdownMenu['b24ui'];
41
41
  }>;
42
42
  declare const __VLS_export: <T extends ArrayOrNested<DropdownMenuItem>>(__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<{
43
- props: __VLS_PrettifyLocal<DropdownMenuContentProps<T> & {
44
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
45
- onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
46
- onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
47
- onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
48
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
49
- }> & import("vue").PublicProps;
43
+ props: __VLS_PrettifyLocal<DropdownMenuContentProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: import("reka-ui").PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: import("reka-ui").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
44
+ __VLS_PROPS_FALLBACK: infer P;
45
+ } ? P : {});
50
46
  expose: (exposed: {}) => void;
51
47
  attrs: any;
52
48
  slots: DropdownMenuContentSlots<T, NestedItem<T>>;
@@ -40,13 +40,9 @@ type DropdownMenuContentSlots<A extends ArrayOrNested<DropdownMenuItem> = ArrayO
40
40
  b24ui: DropdownMenu['b24ui'];
41
41
  }>;
42
42
  declare const __VLS_export: <T extends ArrayOrNested<DropdownMenuItem>>(__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<{
43
- props: __VLS_PrettifyLocal<DropdownMenuContentProps<T> & {
44
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
45
- onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
46
- onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
47
- onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
48
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
49
- }> & import("vue").PublicProps;
43
+ props: __VLS_PrettifyLocal<DropdownMenuContentProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: import("reka-ui").PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: import("reka-ui").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
44
+ __VLS_PROPS_FALLBACK: infer P;
45
+ } ? P : {});
50
46
  expose: (exposed: {}) => void;
51
47
  attrs: any;
52
48
  slots: DropdownMenuContentSlots<T, NestedItem<T>>;
@@ -48,9 +48,7 @@ export interface EmptySlots {
48
48
  actions(props?: {}): any;
49
49
  footer(props?: {}): any;
50
50
  }
51
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
52
- inverted: boolean;
53
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, EmptySlots>;
51
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, EmptySlots>;
54
52
  declare const _default: typeof __VLS_export;
55
53
  export default _default;
56
54
  type __VLS_WithSlots<T, S> = T & {
@@ -48,9 +48,7 @@ export interface EmptySlots {
48
48
  actions(props?: {}): any;
49
49
  footer(props?: {}): any;
50
50
  }
51
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
52
- inverted: boolean;
53
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, EmptySlots>;
51
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, EmptySlots>;
54
52
  declare const _default: typeof __VLS_export;
55
53
  export default _default;
56
54
  type __VLS_WithSlots<T, S> = T & {
@@ -23,7 +23,7 @@ export interface ErrorProps {
23
23
  * `{ size: 'lg', color: 'air-primary', label: 'Back to home' }`{lang="ts-type"}
24
24
  * @defaultValue true
25
25
  */
26
- clear?: boolean | Partial<ButtonProps>;
26
+ clear?: boolean | ButtonProps;
27
27
  class?: any;
28
28
  b24ui?: Error['slots'];
29
29
  }
@@ -34,10 +34,7 @@ export interface ErrorSlots {
34
34
  message(props?: {}): any;
35
35
  links(props?: {}): any;
36
36
  }
37
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ErrorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ErrorProps> & Readonly<{}>, {
38
- redirect: string;
39
- clear: boolean | Partial<ButtonProps>;
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ErrorSlots>;
37
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ErrorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ErrorSlots>;
41
38
  declare const _default: typeof __VLS_export;
42
39
  export default _default;
43
40
  type __VLS_WithSlots<T, S> = T & {
@@ -23,7 +23,7 @@ export interface ErrorProps {
23
23
  * `{ size: 'lg', color: 'air-primary', label: 'Back to home' }`{lang="ts-type"}
24
24
  * @defaultValue true
25
25
  */
26
- clear?: boolean | Partial<ButtonProps>;
26
+ clear?: boolean | ButtonProps;
27
27
  class?: any;
28
28
  b24ui?: Error['slots'];
29
29
  }
@@ -34,10 +34,7 @@ export interface ErrorSlots {
34
34
  message(props?: {}): any;
35
35
  links(props?: {}): any;
36
36
  }
37
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ErrorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ErrorProps> & Readonly<{}>, {
38
- redirect: string;
39
- clear: boolean | Partial<ButtonProps>;
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ErrorSlots>;
37
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ErrorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ErrorSlots>;
41
38
  declare const _default: typeof __VLS_export;
42
39
  export default _default;
43
40
  type __VLS_WithSlots<T, S> = T & {
@@ -28,10 +28,7 @@ export interface FieldGroupProps {
28
28
  export interface FieldGroupSlots {
29
29
  default(props?: {}): any;
30
30
  }
31
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldGroupProps> & Readonly<{}>, {
32
- orientation: FieldGroup["variants"]["orientation"];
33
- noSplit: boolean;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FieldGroupSlots>;
31
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FieldGroupSlots>;
35
32
  declare const _default: typeof __VLS_export;
36
33
  export default _default;
37
34
  type __VLS_WithSlots<T, S> = T & {
@@ -28,10 +28,7 @@ export interface FieldGroupProps {
28
28
  export interface FieldGroupSlots {
29
29
  default(props?: {}): any;
30
30
  }
31
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldGroupProps> & Readonly<{}>, {
32
- orientation: FieldGroup["variants"]["orientation"];
33
- noSplit: boolean;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FieldGroupSlots>;
31
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FieldGroupSlots>;
35
32
  declare const _default: typeof __VLS_export;
36
33
  export default _default;
37
34
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import type { AppConfig } from '@nuxt/schema';
2
2
  import type { UseFileDialogReturn } from '@vueuse/core';
3
3
  import theme from '#build/b24ui/file-upload';
4
- import type { ButtonProps, IconComponent } from '../types';
4
+ import type { ButtonProps, IconComponent, LinkPropsKeys } from '../types';
5
5
  import type { InputHTMLAttributes } from '../types/html';
6
6
  import type { ComponentConfig } from '../types/tv';
7
7
  type FileUpload = ComponentConfig<typeof theme, AppConfig, 'fileUpload'>;
@@ -83,7 +83,7 @@ export interface FileUploadProps<M extends boolean = false> extends /** @vue-ign
83
83
  * When `layout` is `grid`, the default is `{ color: 'air-secondary-no-accent', size: 'xs' }`{lang="ts-type"}
84
84
  * When `layout` is `list`, the default is `{ color: 'air-tertiary-no-accent' }`{lang="ts-type"}
85
85
  */
86
- fileDelete?: boolean | Partial<ButtonProps>;
86
+ fileDelete?: boolean | Omit<ButtonProps, LinkPropsKeys>;
87
87
  /**
88
88
  * The icon displayed to delete a file.
89
89
  * @defaultValue icons.close
@@ -157,10 +157,9 @@ export interface FileUploadSlots<M extends boolean = false> {
157
157
  declare const __VLS_export: <M 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<{
158
158
  props: __VLS_PrettifyLocal<(FileUploadProps<M> & {
159
159
  modelValue?: (M extends true ? File[] : File) | null;
160
- }) & {
161
- onChange?: ((event: Event) => any) | undefined;
162
- "onUpdate:modelValue"?: ((value: (M extends true ? File[] : File) | null | undefined) => any) | undefined;
163
- }> & import("vue").PublicProps;
160
+ }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: (M extends true ? File[] : File) | null | undefined) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
161
+ __VLS_PROPS_FALLBACK: infer P;
162
+ } ? P : {});
164
163
  expose: (exposed: import("vue").ShallowUnwrapRef<{
165
164
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
166
165
  dropzoneRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
@@ -1,7 +1,7 @@
1
1
  import type { AppConfig } from '@nuxt/schema';
2
2
  import type { UseFileDialogReturn } from '@vueuse/core';
3
3
  import theme from '#build/b24ui/file-upload';
4
- import type { ButtonProps, IconComponent } from '../types';
4
+ import type { ButtonProps, IconComponent, LinkPropsKeys } from '../types';
5
5
  import type { InputHTMLAttributes } from '../types/html';
6
6
  import type { ComponentConfig } from '../types/tv';
7
7
  type FileUpload = ComponentConfig<typeof theme, AppConfig, 'fileUpload'>;
@@ -83,7 +83,7 @@ export interface FileUploadProps<M extends boolean = false> extends /** @vue-ign
83
83
  * When `layout` is `grid`, the default is `{ color: 'air-secondary-no-accent', size: 'xs' }`{lang="ts-type"}
84
84
  * When `layout` is `list`, the default is `{ color: 'air-tertiary-no-accent' }`{lang="ts-type"}
85
85
  */
86
- fileDelete?: boolean | Partial<ButtonProps>;
86
+ fileDelete?: boolean | Omit<ButtonProps, LinkPropsKeys>;
87
87
  /**
88
88
  * The icon displayed to delete a file.
89
89
  * @defaultValue icons.close
@@ -157,10 +157,9 @@ export interface FileUploadSlots<M extends boolean = false> {
157
157
  declare const __VLS_export: <M 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<{
158
158
  props: __VLS_PrettifyLocal<(FileUploadProps<M> & {
159
159
  modelValue?: (M extends true ? File[] : File) | null;
160
- }) & {
161
- onChange?: ((event: Event) => any) | undefined;
162
- "onUpdate:modelValue"?: ((value: (M extends true ? File[] : File) | null | undefined) => any) | undefined;
163
- }> & import("vue").PublicProps;
160
+ }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: (M extends true ? File[] : File) | null | undefined) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
161
+ __VLS_PROPS_FALLBACK: infer P;
162
+ } ? P : {});
164
163
  expose: (exposed: import("vue").ShallowUnwrapRef<{
165
164
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
166
165
  dropzoneRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
@@ -60,10 +60,9 @@ export interface FormSlots {
60
60
  }): any;
61
61
  }
62
62
  declare const __VLS_export: <S extends FormSchema, T extends boolean = true, N 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<{
63
- props: __VLS_PrettifyLocal<FormProps<S, T, N> & {
64
- onError?: ((event: FormErrorEvent) => any) | undefined;
65
- onSubmit?: ((event: FormSubmitEvent<FormData<S, T>>) => any) | undefined;
66
- }> & import("vue").PublicProps;
63
+ props: __VLS_PrettifyLocal<FormProps<S, T, N> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "error", event: FormErrorEvent) => void) & ((evt: "submit", event: FormSubmitEvent<FormData<S, T>>) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
64
+ __VLS_PROPS_FALLBACK: infer P;
65
+ } ? P : {});
67
66
  expose: (exposed: import("vue").ShallowUnwrapRef<{
68
67
  validate: {
69
68
  <T_1 extends boolean>(opts: {
@@ -60,10 +60,9 @@ export interface FormSlots {
60
60
  }): any;
61
61
  }
62
62
  declare const __VLS_export: <S extends FormSchema, T extends boolean = true, N 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<{
63
- props: __VLS_PrettifyLocal<FormProps<S, T, N> & {
64
- onError?: ((event: FormErrorEvent) => any) | undefined;
65
- onSubmit?: ((event: FormSubmitEvent<FormData<S, T>>) => any) | undefined;
66
- }> & import("vue").PublicProps;
63
+ props: __VLS_PrettifyLocal<FormProps<S, T, N> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "error", event: FormErrorEvent) => void) & ((evt: "submit", event: FormSubmitEvent<FormData<S, T>>) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
64
+ __VLS_PROPS_FALLBACK: infer P;
65
+ } ? P : {});
67
66
  expose: (exposed: import("vue").ShallowUnwrapRef<{
68
67
  validate: {
69
68
  <T_1 extends boolean>(opts: {
@@ -97,17 +97,15 @@ export interface InputSlots {
97
97
  }): any;
98
98
  }
99
99
  declare const __VLS_export: <T extends InputValue>(__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<{
100
- props: __VLS_PrettifyLocal<InputProps<T> & {
101
- onChange?: ((event: Event) => any) | undefined;
102
- onBlur?: ((event: FocusEvent) => any) | undefined;
103
- "onUpdate:modelValue"?: ((value: T) => any) | undefined;
104
- }> & import("vue").PublicProps;
100
+ props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
101
+ __VLS_PROPS_FALLBACK: infer P;
102
+ } ? P : {});
105
103
  expose: (exposed: import("vue").ShallowUnwrapRef<{
106
- inputRef: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
104
+ inputRef: Readonly<import("vue").ShallowRef<any>>;
107
105
  }>) => void;
108
106
  attrs: any;
109
107
  slots: InputSlots;
110
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "update:modelValue", value: T) => void);
108
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
111
109
  }>) => import("vue").VNode & {
112
110
  __ctx?: Awaited<typeof __VLS_setup>;
113
111
  };
@@ -97,17 +97,15 @@ export interface InputSlots {
97
97
  }): any;
98
98
  }
99
99
  declare const __VLS_export: <T extends InputValue>(__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<{
100
- props: __VLS_PrettifyLocal<InputProps<T> & {
101
- onChange?: ((event: Event) => any) | undefined;
102
- onBlur?: ((event: FocusEvent) => any) | undefined;
103
- "onUpdate:modelValue"?: ((value: T) => any) | undefined;
104
- }> & import("vue").PublicProps;
100
+ props: __VLS_PrettifyLocal<InputProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
101
+ __VLS_PROPS_FALLBACK: infer P;
102
+ } ? P : {});
105
103
  expose: (exposed: import("vue").ShallowUnwrapRef<{
106
- inputRef: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
104
+ inputRef: Readonly<import("vue").ShallowRef<any>>;
107
105
  }>) => void;
108
106
  attrs: any;
109
107
  slots: InputSlots;
110
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "update:modelValue", value: T) => void);
108
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
111
109
  }>) => import("vue").VNode & {
112
110
  __ctx?: Awaited<typeof __VLS_setup>;
113
111
  };
@@ -87,19 +87,15 @@ export interface InputDateSlots {
87
87
  }): any;
88
88
  }
89
89
  declare const __VLS_export: <R extends boolean>(__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<{
90
- props: __VLS_PrettifyLocal<InputDateProps<R> & {
91
- onChange?: ((event: Event) => any) | undefined;
92
- onBlur?: ((event: FocusEvent) => any) | undefined;
93
- onFocus?: ((event: FocusEvent) => any) | undefined;
94
- "onUpdate:modelValue"?: ((date: InputDateModelValue<R>) => any) | undefined;
95
- "onUpdate:placeholder"?: ((...args: DateValue[]) => any) | undefined;
96
- }> & import("vue").PublicProps;
90
+ props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
91
+ __VLS_PROPS_FALLBACK: infer P;
92
+ } ? P : {});
97
93
  expose: (exposed: import("vue").ShallowUnwrapRef<{
98
94
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
99
95
  }>) => void;
100
96
  attrs: any;
101
97
  slots: InputDateSlots;
102
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
98
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
103
99
  }>) => import("vue").VNode & {
104
100
  __ctx?: Awaited<typeof __VLS_setup>;
105
101
  };
@@ -87,19 +87,15 @@ export interface InputDateSlots {
87
87
  }): any;
88
88
  }
89
89
  declare const __VLS_export: <R extends boolean>(__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<{
90
- props: __VLS_PrettifyLocal<InputDateProps<R> & {
91
- onChange?: ((event: Event) => any) | undefined;
92
- onBlur?: ((event: FocusEvent) => any) | undefined;
93
- onFocus?: ((event: FocusEvent) => any) | undefined;
94
- "onUpdate:modelValue"?: ((date: InputDateModelValue<R>) => any) | undefined;
95
- "onUpdate:placeholder"?: ((...args: DateValue[]) => any) | undefined;
96
- }> & import("vue").PublicProps;
90
+ props: __VLS_PrettifyLocal<InputDateProps<R> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
91
+ __VLS_PROPS_FALLBACK: infer P;
92
+ } ? P : {});
97
93
  expose: (exposed: import("vue").ShallowUnwrapRef<{
98
94
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
99
95
  }>) => void;
100
96
  attrs: any;
101
97
  slots: InputDateSlots;
102
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
98
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", date: InputDateModelValue<R>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void);
103
99
  }>) => import("vue").VNode & {
104
100
  __ctx?: Awaited<typeof __VLS_setup>;
105
101
  };
@@ -224,26 +224,18 @@ export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOr
224
224
  declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M 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<{
225
225
  props: __VLS_PrettifyLocal<(InputMenuProps<T, VK, M> & {
226
226
  searchTerm?: string;
227
- }) & {
228
- onChange?: ((event: Event) => any) | undefined;
229
- onBlur?: ((event: FocusEvent) => any) | undefined;
230
- onFocus?: ((event: FocusEvent) => any) | undefined;
231
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
232
- onCreate?: ((item: string) => any) | undefined;
233
- "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
234
- onHighlight?: ((payload: {
235
- ref: HTMLElement;
236
- value: GetModelValue<T, VK, M>;
237
- } | undefined) => any) | undefined;
238
- "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
239
- "onRemove-tag"?: ((item: GetModelValue<T, VK, M>) => any) | undefined;
240
- }> & import("vue").PublicProps;
227
+ }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
228
+ ref: HTMLElement;
229
+ value: GetModelValue<T, VK, M>;
230
+ } | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
231
+ __VLS_PROPS_FALLBACK: infer P;
232
+ } ? P : {});
241
233
  expose: (exposed: import("vue").ShallowUnwrapRef<{
242
234
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
243
235
  }>) => void;
244
236
  attrs: any;
245
237
  slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
246
- emit: (((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
238
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
247
239
  ref: HTMLElement;
248
240
  value: GetModelValue<T, VK, M>;
249
241
  } | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
@@ -224,26 +224,18 @@ export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOr
224
224
  declare const __VLS_export: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M 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<{
225
225
  props: __VLS_PrettifyLocal<(InputMenuProps<T, VK, M> & {
226
226
  searchTerm?: string;
227
- }) & {
228
- onChange?: ((event: Event) => any) | undefined;
229
- onBlur?: ((event: FocusEvent) => any) | undefined;
230
- onFocus?: ((event: FocusEvent) => any) | undefined;
231
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
232
- onCreate?: ((item: string) => any) | undefined;
233
- "onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
234
- onHighlight?: ((payload: {
235
- ref: HTMLElement;
236
- value: GetModelValue<T, VK, M>;
237
- } | undefined) => any) | undefined;
238
- "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
239
- "onRemove-tag"?: ((item: GetModelValue<T, VK, M>) => any) | undefined;
240
- }> & import("vue").PublicProps;
227
+ }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
228
+ ref: HTMLElement;
229
+ value: GetModelValue<T, VK, M>;
230
+ } | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void) & ((evt: "update:searchTerm", value: string) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
231
+ __VLS_PROPS_FALLBACK: infer P;
232
+ } ? P : {});
241
233
  expose: (exposed: import("vue").ShallowUnwrapRef<{
242
234
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
243
235
  }>) => void;
244
236
  attrs: any;
245
237
  slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
246
- emit: (((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
238
+ emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "create", item: string) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
247
239
  ref: HTMLElement;
248
240
  value: GetModelValue<T, VK, M>;
249
241
  } | undefined) => void) & ((evt: "remove-tag", item: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
@@ -1,7 +1,7 @@
1
1
  import type { NumberFieldRootProps } from 'reka-ui';
2
2
  import type { AppConfig } from '@nuxt/schema';
3
3
  import theme from '#build/b24ui/input-number';
4
- import type { ButtonProps, BadgeProps, IconComponent } from '../types';
4
+ import type { ButtonProps, BadgeProps, IconComponent, LinkPropsKeys } from '../types';
5
5
  import type { InputHTMLAttributes } from '../types/html';
6
6
  import type { ModelModifiers } from '../types/input';
7
7
  import type { ComponentConfig } from '../types/tv';
@@ -54,7 +54,7 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
54
54
  * Configure the increment button. The `size` is inherited.
55
55
  * @defaultValue { color: 'air-tertiary-no-accent' }
56
56
  */
57
- increment?: boolean | ButtonProps;
57
+ increment?: boolean | Omit<ButtonProps, LinkPropsKeys>;
58
58
  /**
59
59
  * The icon displayed to increment the value.
60
60
  * @defaultValue icons.plus
@@ -67,7 +67,7 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
67
67
  * Configure the decrement button. The `size` is inherited.
68
68
  * @defaultValue { color: 'air-tertiary-no-accent' }
69
69
  */
70
- decrement?: boolean | ButtonProps;
70
+ decrement?: boolean | Omit<ButtonProps, LinkPropsKeys>;
71
71
  /**
72
72
  * The icon displayed to decrement the value.
73
73
  * @defaultValue icons.minus
@@ -92,17 +92,15 @@ export interface InputNumberSlots {
92
92
  decrement(props?: {}): any;
93
93
  }
94
94
  declare const __VLS_export: <T extends InputNumberValue = InputNumberValue>(__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<{
95
- props: __VLS_PrettifyLocal<InputNumberProps<T> & {
96
- onChange?: ((event: Event) => any) | undefined;
97
- onBlur?: ((event: FocusEvent) => any) | undefined;
98
- "onUpdate:modelValue"?: ((value: T) => any) | undefined;
99
- }> & import("vue").PublicProps;
95
+ props: __VLS_PrettifyLocal<InputNumberProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
96
+ __VLS_PROPS_FALLBACK: infer P;
97
+ } ? P : {});
100
98
  expose: (exposed: import("vue").ShallowUnwrapRef<{
101
99
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
102
100
  }>) => void;
103
101
  attrs: any;
104
102
  slots: InputNumberSlots;
105
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "update:modelValue", value: T) => void);
103
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
106
104
  }>) => import("vue").VNode & {
107
105
  __ctx?: Awaited<typeof __VLS_setup>;
108
106
  };
@@ -1,7 +1,7 @@
1
1
  import type { NumberFieldRootProps } from 'reka-ui';
2
2
  import type { AppConfig } from '@nuxt/schema';
3
3
  import theme from '#build/b24ui/input-number';
4
- import type { ButtonProps, BadgeProps, IconComponent } from '../types';
4
+ import type { ButtonProps, BadgeProps, IconComponent, LinkPropsKeys } from '../types';
5
5
  import type { InputHTMLAttributes } from '../types/html';
6
6
  import type { ModelModifiers } from '../types/input';
7
7
  import type { ComponentConfig } from '../types/tv';
@@ -54,7 +54,7 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
54
54
  * Configure the increment button. The `size` is inherited.
55
55
  * @defaultValue { color: 'air-tertiary-no-accent' }
56
56
  */
57
- increment?: boolean | ButtonProps;
57
+ increment?: boolean | Omit<ButtonProps, LinkPropsKeys>;
58
58
  /**
59
59
  * The icon displayed to increment the value.
60
60
  * @defaultValue icons.plus
@@ -67,7 +67,7 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
67
67
  * Configure the decrement button. The `size` is inherited.
68
68
  * @defaultValue { color: 'air-tertiary-no-accent' }
69
69
  */
70
- decrement?: boolean | ButtonProps;
70
+ decrement?: boolean | Omit<ButtonProps, LinkPropsKeys>;
71
71
  /**
72
72
  * The icon displayed to decrement the value.
73
73
  * @defaultValue icons.minus
@@ -92,17 +92,15 @@ export interface InputNumberSlots {
92
92
  decrement(props?: {}): any;
93
93
  }
94
94
  declare const __VLS_export: <T extends InputNumberValue = InputNumberValue>(__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<{
95
- props: __VLS_PrettifyLocal<InputNumberProps<T> & {
96
- onChange?: ((event: Event) => any) | undefined;
97
- onBlur?: ((event: FocusEvent) => any) | undefined;
98
- "onUpdate:modelValue"?: ((value: T) => any) | undefined;
99
- }> & import("vue").PublicProps;
95
+ props: __VLS_PrettifyLocal<InputNumberProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
96
+ __VLS_PROPS_FALLBACK: infer P;
97
+ } ? P : {});
100
98
  expose: (exposed: import("vue").ShallowUnwrapRef<{
101
99
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
102
100
  }>) => void;
103
101
  attrs: any;
104
102
  slots: InputNumberSlots;
105
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "update:modelValue", value: T) => void);
103
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: T) => void);
106
104
  }>) => import("vue").VNode & {
107
105
  __ctx?: Awaited<typeof __VLS_setup>;
108
106
  };
@@ -82,21 +82,15 @@ export interface InputTagsSlots<T extends InputTagItem = InputTagItem> {
82
82
  'item-delete': SlotProps<T>;
83
83
  }
84
84
  declare const __VLS_export: <T extends InputTagItem>(__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<{
85
- props: __VLS_PrettifyLocal<InputTagsProps<T> & {
86
- onChange?: ((event: Event) => any) | undefined;
87
- onBlur?: ((event: FocusEvent) => any) | undefined;
88
- onFocus?: ((event: FocusEvent) => any) | undefined;
89
- onInvalid?: ((payload: T) => any) | undefined;
90
- "onUpdate:modelValue"?: ((payload: T[]) => any) | undefined;
91
- onAddTag?: ((payload: T) => any) | undefined;
92
- onRemoveTag?: ((payload: T) => any) | undefined;
93
- }> & import("vue").PublicProps;
85
+ props: __VLS_PrettifyLocal<InputTagsProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "removeTag", payload: T) => void) & ((evt: "addTag", payload: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
86
+ __VLS_PROPS_FALLBACK: infer P;
87
+ } ? P : {});
94
88
  expose: (exposed: import("vue").ShallowUnwrapRef<{
95
89
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
96
90
  }>) => void;
97
91
  attrs: any;
98
92
  slots: InputTagsSlots<T>;
99
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "addTag", payload: T) => void) & ((evt: "removeTag", payload: T) => void);
93
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "removeTag", payload: T) => void) & ((evt: "addTag", payload: T) => void);
100
94
  }>) => import("vue").VNode & {
101
95
  __ctx?: Awaited<typeof __VLS_setup>;
102
96
  };
@@ -82,21 +82,15 @@ export interface InputTagsSlots<T extends InputTagItem = InputTagItem> {
82
82
  'item-delete': SlotProps<T>;
83
83
  }
84
84
  declare const __VLS_export: <T extends InputTagItem>(__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<{
85
- props: __VLS_PrettifyLocal<InputTagsProps<T> & {
86
- onChange?: ((event: Event) => any) | undefined;
87
- onBlur?: ((event: FocusEvent) => any) | undefined;
88
- onFocus?: ((event: FocusEvent) => any) | undefined;
89
- onInvalid?: ((payload: T) => any) | undefined;
90
- "onUpdate:modelValue"?: ((payload: T[]) => any) | undefined;
91
- onAddTag?: ((payload: T) => any) | undefined;
92
- onRemoveTag?: ((payload: T) => any) | undefined;
93
- }> & import("vue").PublicProps;
85
+ props: __VLS_PrettifyLocal<InputTagsProps<T> & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "removeTag", payload: T) => void) & ((evt: "addTag", payload: T) => void)>>> & import("vue").PublicProps & (typeof globalThis extends {
86
+ __VLS_PROPS_FALLBACK: infer P;
87
+ } ? P : {});
94
88
  expose: (exposed: import("vue").ShallowUnwrapRef<{
95
89
  inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
96
90
  }>) => void;
97
91
  attrs: any;
98
92
  slots: InputTagsSlots<T>;
99
- emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "addTag", payload: T) => void) & ((evt: "removeTag", payload: T) => void);
93
+ emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "removeTag", payload: T) => void) & ((evt: "addTag", payload: T) => void);
100
94
  }>) => import("vue").VNode & {
101
95
  __ctx?: Awaited<typeof __VLS_setup>;
102
96
  };
@@ -71,20 +71,18 @@ export interface InputTimeSlots {
71
71
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<InputTimeProps, {
72
72
  inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
73
73
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
74
- change: (event: Event) => any;
75
74
  blur: (event: FocusEvent) => any;
75
+ change: (event: Event) => any;
76
76
  focus: (event: FocusEvent) => any;
77
77
  "update:modelValue": (date: (import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | import("@internationalized/date").Time) | undefined) => any;
78
78
  "update:placeholder": (date: import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | import("@internationalized/date").Time) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<InputTimeProps> & Readonly<{
80
- onChange?: ((event: Event) => any) | undefined;
81
80
  onBlur?: ((event: FocusEvent) => any) | undefined;
81
+ onChange?: ((event: Event) => any) | undefined;
82
82
  onFocus?: ((event: FocusEvent) => any) | undefined;
83
83
  "onUpdate:modelValue"?: ((date: (import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | import("@internationalized/date").Time) | undefined) => any) | undefined;
84
84
  "onUpdate:placeholder"?: ((date: import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime | import("@internationalized/date").Time) => any) | undefined;
85
- }>, {
86
- autofocusDelay: number;
87
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, InputTimeSlots>;
85
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, InputTimeSlots>;
88
86
  declare const _default: typeof __VLS_export;
89
87
  export default _default;
90
88
  type __VLS_WithSlots<T, S> = T & {