@n8n/design-system 2.38.2 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/README.md +12 -1
  2. package/dist/components/AskAssistantAvatar/AssistantAvatar.vue.d.ts +3 -2
  3. package/dist/components/AskAssistantButton/AskAssistantButton.vue.d.ts +3 -2
  4. package/dist/components/AskAssistantChat/AskAssistantChat.vue.d.ts +57 -672
  5. package/dist/components/AskAssistantChat/messages/BaseMessage.vue.d.ts +8 -12
  6. package/dist/components/AskAssistantChat/messages/BlockMessage.vue.d.ts +3 -2
  7. package/dist/components/AskAssistantChat/messages/CodeDiffMessage.vue.d.ts +3 -2
  8. package/dist/components/AskAssistantChat/messages/ErrorMessage.vue.d.ts +2 -1
  9. package/dist/components/AskAssistantChat/messages/EventMessage.vue.d.ts +2 -1
  10. package/dist/components/AskAssistantChat/messages/MessageRating.vue.d.ts +3 -138
  11. package/dist/components/AskAssistantChat/messages/MessageWrapper.vue.d.ts +24 -27
  12. package/dist/components/AskAssistantChat/messages/RestoreVersionConfirm.vue.d.ts +3 -2
  13. package/dist/components/AskAssistantChat/messages/TextMessage.vue.d.ts +11 -19
  14. package/dist/components/AskAssistantChat/messages/ThinkingMessage.vue.d.ts +3 -2
  15. package/dist/components/AskAssistantChat/messages/ToolMessage.vue.d.ts +2 -1
  16. package/dist/components/AskAssistantChat/messages/helpers.d.ts +6 -8
  17. package/dist/components/AskAssistantIcon/AssistantIcon.vue.d.ts +3 -2
  18. package/dist/components/AskAssistantText/AssistantText.vue.d.ts +3 -2
  19. package/dist/components/BlinkingCursor/BlinkingCursor.vue.d.ts +2 -1
  20. package/dist/components/CanvasCollaborationPill/CanvasCollaborationPill.vue.d.ts +3 -2
  21. package/dist/components/CanvasPill/CanvasPill.vue.d.ts +9 -12
  22. package/dist/components/CanvasThinkingPill/CanvasThinkingPill.vue.d.ts +3 -2
  23. package/dist/components/CodeDiff/CodeDiff.vue.d.ts +3 -2
  24. package/dist/components/ConditionalRouterLink/CondtionalRouterLink.vue.d.ts +11 -13
  25. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +9 -20
  26. package/dist/components/DateRangePicker/DateRangePickerField.vue.d.ts +2 -1
  27. package/dist/components/IconTextButton/IconTextButton.vue.d.ts +8 -16
  28. package/dist/components/InlineAskAssistantButton/InlineAskAssistantButton.vue.d.ts +3 -2
  29. package/dist/components/N8nActionDropdown/ActionDropdown.vue.d.ts +22 -15
  30. package/dist/components/N8nActionPill/ActionPill.vue.d.ts +10 -13
  31. package/dist/components/N8nActionToggle/ActionToggle.vue.d.ts +18 -13
  32. package/dist/components/N8nAiActivityStep/AiActivityStep.vue.d.ts +10 -13
  33. package/dist/components/N8nAiActivityStepButton/AiActivityStepButton.vue.d.ts +11 -19
  34. package/dist/components/N8nAiActivityStepChevron/AiActivityStepChevron.vue.d.ts +5 -1
  35. package/dist/components/N8nAiActivityStepGroup/AiActivityStepGroup.vue.d.ts +12 -13
  36. package/dist/components/N8nAiActivityStepResultSection/AiActivityStepResultSection.vue.d.ts +7 -11
  37. package/dist/components/N8nAiModelSelectorDropdown/AiModelSelectorDropdown.vue.d.ts +17 -24
  38. package/dist/components/N8nAlert/Alert.vue.d.ts +14 -15
  39. package/dist/components/N8nAlertDialog/AlertDialog.vue.d.ts +6 -13
  40. package/dist/components/N8nAnimatedCollapsibleContent/AnimatedCollapsibleContent.vue.d.ts +7 -11
  41. package/dist/components/N8nAvatar/Avatar.vue.d.ts +3 -2
  42. package/dist/components/N8nBadge/Badge.vue.d.ts +8 -12
  43. package/dist/components/N8nBlockUi/BlockUi.vue.d.ts +2 -1
  44. package/dist/components/N8nBreadcrumbs/Breadcrumbs.vue.d.ts +10 -13
  45. package/dist/components/N8nButton/Button.vue.d.ts +9 -12
  46. package/dist/components/N8nButtonList/ButtonList.vue.d.ts +8 -12
  47. package/dist/components/N8nCallout/Callout.vue.d.ts +12 -14
  48. package/dist/components/N8nCard/Card.vue.d.ts +16 -16
  49. package/dist/components/N8nChatActions/ChatActions.types.d.ts +27 -0
  50. package/dist/components/N8nChatActions/ChatActions.vue.d.ts +17 -0
  51. package/dist/components/N8nChatInput/ChatInput.vue.d.ts +19 -22
  52. package/dist/components/N8nChatMessage/ChatMessage.vue.d.ts +7 -21
  53. package/dist/components/N8nCircleLoader/CircleLoader.vue.d.ts +3 -2
  54. package/dist/components/N8nCodeBlock/CodeBlock.vue.d.ts +6 -6
  55. package/dist/components/N8nCollapsiblePanel/CollapsiblePanel.vue.d.ts +11 -13
  56. package/dist/components/N8nColorPicker/ColorPicker.vue.d.ts +3 -2
  57. package/dist/components/N8nCommandBar/CommandBar.vue.d.ts +6 -168
  58. package/dist/components/N8nCommandBar/CommandBarItem.vue.d.ts +3 -2
  59. package/dist/components/N8nCopyInput/CopyInput.vue.d.ts +3 -2
  60. package/dist/components/N8nDataTableServer/N8nDataTableServer.vue.d.ts +29 -34
  61. package/dist/components/N8nDatatable/Datatable.vue.d.ts +18 -12
  62. package/dist/components/N8nDialog/Dialog.vue.d.ts +7 -11
  63. package/dist/components/N8nDialog/DialogClose.vue.d.ts +9 -12
  64. package/dist/components/N8nDialog/DialogContent.vue.d.ts +7 -11
  65. package/dist/components/N8nDialog/DialogDescription.vue.d.ts +7 -11
  66. package/dist/components/N8nDialog/DialogFooter.vue.d.ts +7 -11
  67. package/dist/components/N8nDialog/DialogHeader.vue.d.ts +7 -11
  68. package/dist/components/N8nDialog/DialogOverlay.vue.d.ts +2 -1
  69. package/dist/components/N8nDialog/DialogTitle.vue.d.ts +7 -11
  70. package/dist/components/N8nDropdownMenu/DropdownMenu.types.d.ts +1 -0
  71. package/dist/components/N8nDropdownMenu/DropdownMenu.vue.d.ts +19 -14
  72. package/dist/components/N8nDropdownMenu/DropdownMenuItem.vue.d.ts +18 -13
  73. package/dist/components/N8nDropdownMenu/DropdownMenuItems.vue.d.ts +18 -13
  74. package/dist/components/N8nDropdownMenu/DropdownMenuSearch.vue.d.ts +9 -21
  75. package/dist/components/N8nDropdownMenu/DropdownMenuSearchableContent.vue.d.ts +19 -23
  76. package/dist/components/N8nEmptyState/EmptyState.vue.d.ts +14 -15
  77. package/dist/components/N8nEmptyState/EmptyStateIconCards.vue.d.ts +2 -1
  78. package/dist/components/N8nExternalLink/ExternalLink.vue.d.ts +7 -11
  79. package/dist/components/N8nFloatingWindow/FloatingWindow.vue.d.ts +11 -21
  80. package/dist/components/N8nFormBox/FormBox.vue.d.ts +8 -12
  81. package/dist/components/N8nFormInput/FormInput.vue.d.ts +9 -285
  82. package/dist/components/N8nFormInputs/FormInputs.vue.d.ts +3 -2
  83. package/dist/components/N8nHeaderAction/HeaderAction.vue.d.ts +2 -1
  84. package/dist/components/N8nHeading/Heading.vue.d.ts +7 -11
  85. package/dist/components/N8nHoverCard/HoverCard.vue.d.ts +18 -20
  86. package/dist/components/N8nIcon/Icon.vue.d.ts +2 -1
  87. package/dist/components/N8nIconButton/IconButton.vue.d.ts +2 -1
  88. package/dist/components/N8nIconPicker/IconColorPicker.vue.d.ts +4 -3
  89. package/dist/components/N8nIconPicker/IconPicker.vue.d.ts +8 -188
  90. package/dist/components/N8nIconPicker/SkinTonePicker.vue.d.ts +4 -3
  91. package/dist/components/N8nInfoAccordion/InfoAccordion.vue.d.ts +8 -12
  92. package/dist/components/N8nInfoTip/InfoTip.vue.d.ts +10 -13
  93. package/dist/components/N8nInlineTextEdit/InlineTextEdit.vue.d.ts +3 -172
  94. package/dist/components/N8nInput/Input.vue.d.ts +7 -16
  95. package/dist/components/N8nInputLabel/InputLabel.vue.d.ts +14 -15
  96. package/dist/components/N8nInputNumber/InputNumber.vue.d.ts +7 -118
  97. package/dist/components/N8nKeyboardShortcut/N8nKeyboardShortcut.vue.d.ts +2 -1
  98. package/dist/components/N8nLink/Link.vue.d.ts +7 -11
  99. package/dist/components/N8nLoading/Loading.vue.d.ts +2 -1
  100. package/dist/components/N8nLogo/Logo.vue.d.ts +8 -16
  101. package/dist/components/N8nMarkdown/Markdown.vue.d.ts +3 -4
  102. package/dist/components/N8nMarkdownEditor/MarkdownEditor.types.d.ts +2 -0
  103. package/dist/components/N8nMarkdownEditor/MarkdownEditor.vue.d.ts +7 -6
  104. package/dist/components/N8nMarkdownEditor/MarkdownEditorToolbar.vue.d.ts +3 -2
  105. package/dist/components/N8nMarkdownEditor/composables/useMarkdownEditor.d.ts +1 -1
  106. package/dist/components/N8nMenuItem/MenuItem.vue.d.ts +3 -2
  107. package/dist/components/N8nNavigationDropdown/NavigationDropdown.vue.d.ts +13 -176
  108. package/dist/components/N8nNodeCreatorNode/NodeCreatorNode.vue.d.ts +9 -18
  109. package/dist/components/N8nNodeIcon/IconContent.vue.d.ts +2 -1
  110. package/dist/components/N8nNodeIcon/NodeIcon.vue.d.ts +3 -2
  111. package/dist/components/N8nNotice/Notice.vue.d.ts +8 -12
  112. package/dist/components/N8nOption/Option.vue.d.ts +7 -11
  113. package/dist/components/N8nPagination/Pagination.vue.d.ts +6 -15
  114. package/dist/components/N8nPopover/Popover.vue.d.ts +16 -18
  115. package/dist/components/N8nPromptInputSuggestions/N8nPromptInputSuggestions.vue.d.ts +10 -13
  116. package/dist/components/N8nPulse/Pulse.vue.d.ts +7 -11
  117. package/dist/components/N8nRadioGroup/RadioGroup.vue.d.ts +7 -11
  118. package/dist/components/N8nRadioGroup/RadioGroupItem.vue.d.ts +5 -10
  119. package/dist/components/N8nRecycleScroller/RecycleScroller.vue.d.ts +14 -9
  120. package/dist/components/N8nResizeWrapper/ResizeWrapper.vue.d.ts +8 -12
  121. package/dist/components/N8nResizeableSticky/ResizeableSticky.vue.d.ts +3 -2
  122. package/dist/components/N8nRoute/Route.vue.d.ts +9 -12
  123. package/dist/components/N8nScrollArea/N8nScrollArea.vue.d.ts +8 -141
  124. package/dist/components/N8nSectionHeader/SectionHeader.vue.d.ts +8 -12
  125. package/dist/components/N8nSegmentControl/SegmentControl.vue.d.ts +14 -11
  126. package/dist/components/N8nSegmentControl/SegmentControlItem.vue.d.ts +7 -11
  127. package/dist/components/N8nSelect/Select.vue.d.ts +20 -37
  128. package/dist/components/N8nSelectableList/SelectableList.vue.d.ts +20 -18
  129. package/dist/components/N8nSendStopButton/N8nSendStopButton.vue.d.ts +2 -1
  130. package/dist/components/N8nSettingsLayout/SettingsLayout.vue.d.ts +9 -12
  131. package/dist/components/N8nSettingsPageHeader/SettingsPageHeader.vue.d.ts +10 -13
  132. package/dist/components/N8nSettingsRow/SettingsRow.vue.d.ts +14 -148
  133. package/dist/components/N8nSettingsRowConfigure/SettingsRowConfigure.vue.d.ts +3 -2
  134. package/dist/components/N8nSettingsRowGroup/SettingsRowGroup.vue.d.ts +7 -11
  135. package/dist/components/N8nSettingsSaveBar/SettingsSaveBar.vue.d.ts +10 -17
  136. package/dist/components/N8nSettingsSection/SettingsSection.vue.d.ts +12 -14
  137. package/dist/components/N8nSpinner/Spinner.vue.d.ts +3 -2
  138. package/dist/components/N8nStatusDot/StatusDot.vue.d.ts +3 -2
  139. package/dist/components/N8nStepper/Stepper.vue.d.ts +9 -19
  140. package/dist/components/N8nSticky/Sticky.vue.d.ts +3 -138
  141. package/dist/components/N8nSuggestedActions/SuggestedActions.vue.d.ts +2 -1
  142. package/dist/components/N8nSwitch/Switch.vue.d.ts +7 -11
  143. package/dist/components/N8nTabs/Tabs.vue.d.ts +14 -9
  144. package/dist/components/N8nTag/Tag.vue.d.ts +8 -12
  145. package/dist/components/N8nTags/Tags.vue.d.ts +3 -2
  146. package/dist/components/N8nText/Text.vue.d.ts +7 -11
  147. package/dist/components/N8nToggle/Toggle.vue.d.ts +13 -14
  148. package/dist/components/N8nToggleGroup/ToggleGroup.vue.d.ts +11 -15
  149. package/dist/components/N8nTooltip/Tooltip.vue.d.ts +11 -13
  150. package/dist/components/N8nTree/Tree.vue.d.ts +12 -20
  151. package/dist/components/N8nUserInfo/UserInfo.vue.d.ts +3 -2
  152. package/dist/components/N8nUserSelect/UserSelect.vue.d.ts +8 -12
  153. package/dist/components/N8nUserStack/UserStack.vue.d.ts +3 -2
  154. package/dist/components/N8nUsersList/UsersList.vue.d.ts +15 -10
  155. package/dist/components/N8nVisuallyHidden/VisuallyHidden.vue.d.ts +16 -0
  156. package/dist/components/N8nVisuallyHidden/index.d.ts +1 -0
  157. package/dist/components/PreviewTag/PreviewTag.vue.d.ts +3 -2
  158. package/dist/components/ResizeObserver/ResizeObserver.vue.d.ts +10 -18
  159. package/dist/components/TableBase/TableBase.vue.d.ts +7 -11
  160. package/dist/components/TableHeaderControlsButton/TableHeaderControlsButton.vue.d.ts +14 -9
  161. package/dist/components/index.d.ts +3 -0
  162. package/dist/css/dialog.scss +1 -1
  163. package/dist/css/mixins/motion.scss +11 -0
  164. package/dist/{en-Ubc0tWnj.js → en-BQBg3T3M.js} +8 -0
  165. package/dist/index.js +4714 -4157
  166. package/dist/style.css +1 -1
  167. package/dist/theme.css +1 -1
  168. package/dist/v2/components/Checkbox/Checkbox.vue.d.ts +7 -11
  169. package/dist/v2/components/Combobox/Combobox.vue.d.ts +7 -230
  170. package/dist/v2/components/Combobox/ComboboxItem.vue.d.ts +5 -10
  171. package/dist/v2/components/Loading/Loading.vue.d.ts +2 -1
  172. package/dist/v2/components/Select/Select.types.d.ts +50 -44
  173. package/dist/v2/components/Select/Select.vue.d.ts +20 -15
  174. package/dist/v2/components/Select/SelectItem.vue.d.ts +9 -22
  175. package/dist/v2/components/Select/index.d.ts +3 -0
  176. package/dist/v2/components/TagsInput/TagsInput.vue.d.ts +6 -15
  177. package/dist/v2/components/Tree/Tree.vue.d.ts +5 -10
  178. package/dist/v2/components/Tree/TreeNode.vue.d.ts +6 -13
  179. package/dist/v2/components/Tree/TreeNodeDefault.vue.d.ts +6 -11
  180. package/package.json +7 -6
  181. package/dist/css/tailwind/index.css +0 -3
@@ -7,15 +7,16 @@ interface CopyInputProps {
7
7
  copiedLabel?: string;
8
8
  feedbackDurationMs?: number;
9
9
  }
10
- declare const _default: import('vue').DefineComponent<CopyInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ declare const __VLS_export: import('vue').DefineComponent<CopyInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  copy: (value: string) => any;
12
12
  }, string, import('vue').PublicProps, Readonly<CopyInputProps> & Readonly<{
13
13
  onCopy?: ((value: string) => any) | undefined;
14
14
  }>, {
15
15
  size: InputSize;
16
- displayValue: string;
17
16
  copyLabel: string;
17
+ displayValue: string;
18
18
  copiedLabel: string;
19
19
  feedbackDurationMs: number;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
21
22
  export default _default;
@@ -30,22 +30,10 @@ export type TableOptions = {
30
30
  desc: boolean;
31
31
  }>;
32
32
  };
33
- declare const _default: <T extends Record<string, any>>(__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<Pick<Partial<{}> & Omit<{
35
- readonly "onUpdate:page"?: ((value: number) => any) | undefined;
36
- readonly "onUpdate:items-per-page"?: ((value: number) => any) | undefined;
37
- readonly "onUpdate:sort-by"?: ((value: SortingState) => any) | undefined;
38
- readonly "onUpdate:selection"?: ((value: string[] | T[]) => any) | undefined;
39
- readonly "onUpdate:options"?: ((payload: TableOptions) => any) | undefined;
40
- readonly "onClick:row"?: ((event: MouseEvent, payload: {
41
- item: T;
42
- }) => any) | undefined;
43
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:page" | "onUpdate:items-per-page" | "onUpdate:sort-by" | "onUpdate:selection" | "onUpdate:options" | "onClick:row"> & ({
44
- page?: number;
45
- 'items-per-page'?: number;
46
- 'sort-by'?: SortingState;
47
- selection?: string[] | T[];
48
- } & {
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ declare const __VLS_export: <T extends Record<string, any>>(__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<{
36
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<({
49
37
  items: T[];
50
38
  headers: Array<TableHeader<T>>;
51
39
  itemsLength: number;
@@ -61,20 +49,26 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
61
49
  } | ((row: T, index: number) => {
62
50
  class?: string | string[] | Record<string, boolean> | undefined;
63
51
  });
64
- }) & Partial<{}>> & import('vue').PublicProps;
65
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
66
- attrs: any;
67
- slots: Readonly<{
68
- [key: `item.${string}`]: (props: {
69
- value: unknown;
70
- item: T;
71
- }) => void;
72
- item: (props: {
52
+ } & {
53
+ page?: number;
54
+ itemsPerPage?: number;
55
+ sortBy?: SortingState;
56
+ selection?: string[] | T[];
57
+ }) & {
58
+ "onUpdate:page"?: ((value: number) => any) | undefined;
59
+ "onUpdate:itemsPerPage"?: ((value: number) => any) | undefined;
60
+ "onUpdate:options"?: ((payload: TableOptions) => any) | undefined;
61
+ "onClick:row"?: ((event: MouseEvent, payload: {
73
62
  item: T;
74
- cells: Array<Cell<T, unknown>>;
75
- }) => void;
76
- cover?: () => void;
77
- }> & {
63
+ }) => any) | undefined;
64
+ "onUpdate:sortBy"?: ((value: SortingState) => any) | undefined;
65
+ "onUpdate:selection"?: ((value: string[] | T[] | undefined) => any) | undefined;
66
+ }> & (typeof globalThis extends {
67
+ __VLS_PROPS_FALLBACK: infer P;
68
+ } ? P : {});
69
+ expose: (exposed: {}) => void;
70
+ attrs: any;
71
+ slots: {
78
72
  [key: `item.${string}`]: (props: {
79
73
  value: unknown;
80
74
  item: T;
@@ -87,11 +81,12 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
87
81
  };
88
82
  emit: (((evt: "update:options", payload: TableOptions) => void) & ((evt: "click:row", event: MouseEvent, payload: {
89
83
  item: T;
90
- }) => void)) & (((evt: "update:page", value: number) => void) & ((evt: "update:items-per-page", value: number) => void) & ((evt: "update:sort-by", value: SortingState) => void) & ((evt: "update:selection", value: string[] | T[]) => void));
84
+ }) => void)) & (((event: "update:page", value: number) => void) & ((event: "update:itemsPerPage", value: number) => void) & ((event: "update:sortBy", value: SortingState) => void) & ((event: "update:selection", value: string[] | T[] | undefined) => void));
91
85
  }>) => import('vue').VNode & {
92
- __ctx?: Awaited<typeof __VLS_setup>;
86
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
93
87
  };
94
- export default _default;
95
- type __VLS_PrettifyLocal<T> = {
88
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
96
89
  [K in keyof T]: T[K];
97
- } & {};
90
+ } : {
91
+ [K in keyof T as K]: T[K];
92
+ }) & {};
@@ -1,25 +1,31 @@
1
1
  import { DatatableProps } from './Datatable.types';
2
2
  import { DatatableColumn, DatatableRow, DatatableRowDataType } from '../../types';
3
- declare const _default: <Item extends DatatableRow>(__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<{
4
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
- readonly "onUpdate:currentPage"?: ((value: number) => any) | undefined;
6
- readonly "onUpdate:rowsPerPage"?: ((value: number) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:currentPage" | "onUpdate:rowsPerPage"> & DatatableProps<Item> & Partial<{}>> & import('vue').PublicProps;
8
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
3
+ declare const __VLS_export: <Item extends DatatableRow>(__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<{
4
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<DatatableProps<Item> & {
5
+ "onUpdate:currentPage"?: ((value: number) => any) | undefined;
6
+ "onUpdate:rowsPerPage"?: ((value: number) => any) | undefined;
7
+ }> & (typeof globalThis extends {
8
+ __VLS_PROPS_FALLBACK: infer P;
9
+ } ? P : {});
10
+ expose: (exposed: {}) => void;
9
11
  attrs: any;
10
12
  slots: {
11
- row?(_: {
13
+ row?: (props: {
12
14
  columns: DatatableColumn[];
13
15
  row: Item;
14
16
  getTdValue: (row: Item, column: DatatableColumn) => DatatableRowDataType;
15
- }): any;
16
- postdata?(_: {}): any;
17
+ }) => any;
18
+ } & {
19
+ postdata?: (props: {}) => any;
17
20
  };
18
21
  emit: ((evt: "update:currentPage", value: number) => void) & ((evt: "update:rowsPerPage", value: number) => void);
19
22
  }>) => import('vue').VNode & {
20
- __ctx?: Awaited<typeof __VLS_setup>;
23
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
21
24
  };
25
+ declare const _default: typeof __VLS_export;
22
26
  export default _default;
23
- type __VLS_PrettifyLocal<T> = {
27
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
24
28
  [K in keyof T]: T[K];
25
- } & {};
29
+ } : {
30
+ [K in keyof T as K]: T[K];
31
+ }) & {};
@@ -21,16 +21,11 @@ export interface DialogEmits {
21
21
  closeAutoFocus: [event: Event];
22
22
  'update:open': [value: boolean];
23
23
  }
24
- declare function __VLS_template(): {
25
- attrs: Partial<{}>;
26
- slots: {
27
- default?(_: {}): any;
28
- };
29
- refs: {};
30
- rootEl: any;
24
+ declare var __VLS_50: {};
25
+ type __VLS_Slots = {} & {
26
+ default?: (props: typeof __VLS_50) => any;
31
27
  };
32
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
- declare const __VLS_component: import('vue').DefineComponent<DialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
29
  "update:open": (value: boolean) => any;
35
30
  escapeKeyDown: (event: KeyboardEvent) => any;
36
31
  interactOutside: (event: Event) => any;
@@ -50,9 +45,10 @@ declare const __VLS_component: import('vue').DefineComponent<DialogProps, {}, {}
50
45
  stacked: boolean;
51
46
  showCloseButton: boolean;
52
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
54
50
  export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
51
+ type __VLS_WithSlots<T, S> = T & {
56
52
  new (): {
57
53
  $slots: S;
58
54
  };
@@ -1,20 +1,17 @@
1
1
  export interface DialogCloseProps {
2
2
  asChild?: boolean;
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
4
+ declare var __VLS_8: {}, __VLS_17: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_17) => any;
12
9
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<DialogCloseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
+ declare const __VLS_base: import('vue').DefineComponent<DialogCloseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
16
13
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
18
15
  new (): {
19
16
  $slots: S;
20
17
  };
@@ -15,16 +15,11 @@ export interface DialogContentEmits {
15
15
  openAutoFocus: [event: Event];
16
16
  closeAutoFocus: [event: Event];
17
17
  }
18
- declare function __VLS_template(): {
19
- attrs: Partial<{}>;
20
- slots: {
21
- default?(_: {}): any;
22
- };
23
- refs: {};
24
- rootEl: any;
18
+ declare var __VLS_37: {};
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_37) => any;
25
21
  };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<DialogContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ declare const __VLS_base: import('vue').DefineComponent<DialogContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
23
  escapeKeyDown: (event: KeyboardEvent) => any;
29
24
  interactOutside: (event: Event) => any;
30
25
  openAutoFocus: (event: Event) => any;
@@ -40,9 +35,10 @@ declare const __VLS_component: import('vue').DefineComponent<DialogContentProps,
40
35
  trapFocus: boolean;
41
36
  showCloseButton: boolean;
42
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
+ declare const _default: typeof __VLS_export;
44
40
  export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
46
42
  new (): {
47
43
  $slots: S;
48
44
  };
@@ -1,19 +1,15 @@
1
1
  export interface DialogDescriptionProps {
2
2
  asChild?: boolean;
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_base: import('vue').DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
15
11
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
17
13
  new (): {
18
14
  $slots: S;
19
15
  };
@@ -1,16 +1,12 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
12
8
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
9
+ type __VLS_WithSlots<T, S> = T & {
14
10
  new (): {
15
11
  $slots: S;
16
12
  };
@@ -1,16 +1,12 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
12
8
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
9
+ type __VLS_WithSlots<T, S> = T & {
14
10
  new (): {
15
11
  $slots: S;
16
12
  };
@@ -2,5 +2,6 @@ export interface DialogOverlayProps {
2
2
  forceMount?: boolean;
3
3
  stacked?: boolean;
4
4
  }
5
- declare const _default: import('vue').DefineComponent<DialogOverlayProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: import('vue').DefineComponent<DialogOverlayProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
6
7
  export default _default;
@@ -1,19 +1,15 @@
1
1
  export interface DialogTitleProps {
2
2
  asChild?: boolean;
3
3
  }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: any;
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<DialogTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_base: import('vue').DefineComponent<DialogTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
15
11
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
17
13
  new (): {
18
14
  $slots: S;
19
15
  };
@@ -27,6 +27,7 @@ export type DropdownMenuItemProps<T = string, D = never> = {
27
27
  highlighted?: boolean;
28
28
  subMenuOpen?: boolean;
29
29
  data?: D;
30
+ destructive?: boolean;
30
31
  };
31
32
  export interface DropdownMenuProps<T = string, D = never> {
32
33
  id?: string;
@@ -1,23 +1,28 @@
1
1
  import { DropdownMenuItemProps, DropdownMenuProps, DropdownMenuSlots } from './DropdownMenu.types';
2
- declare const _default: <T = string, D = never>(__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<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly onSearch?: ((searchTerm: string, itemId?: T | undefined) => any) | undefined;
5
- readonly onSelect?: ((value: T) => any) | undefined;
6
- readonly "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
7
- readonly "onSubmenu:toggle"?: ((itemId: T, open: boolean) => any) | undefined;
8
- readonly "onItem-mouseup"?: ((item: DropdownMenuItemProps<T, D>) => any) | undefined;
9
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:modelValue" | "onSearch" | "onSubmenu:toggle" | "onItem-mouseup"> & DropdownMenuProps<T, D> & Partial<{}>> & import('vue').PublicProps;
10
- expose(exposed: import('vue').ShallowUnwrapRef<{
2
+ declare const __VLS_export: <T = string, D = never>(__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<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<DropdownMenuProps<T, D> & {
4
+ onSearch?: ((searchTerm: string, itemId?: T | undefined) => any) | undefined;
5
+ onSelect?: ((value: T) => any) | undefined;
6
+ "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
7
+ "onSubmenu:toggle"?: ((itemId: T, open: boolean) => any) | undefined;
8
+ "onItem-mouseup"?: ((item: DropdownMenuItemProps<T, D>) => any) | undefined;
9
+ }> & (typeof globalThis extends {
10
+ __VLS_PROPS_FALLBACK: infer P;
11
+ } ? P : {});
12
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
11
13
  open: () => void;
12
14
  close: () => void;
13
- }>): void;
15
+ }>) => void;
14
16
  attrs: any;
15
- slots: Readonly<DropdownMenuSlots<T, D>> & DropdownMenuSlots<T, D>;
17
+ slots: DropdownMenuSlots<T, D>;
16
18
  emit: ((evt: "search", searchTerm: string, itemId?: T | undefined) => void) & ((evt: "select", value: T) => void) & ((evt: "update:modelValue", open: boolean) => void) & ((evt: "submenu:toggle", itemId: T, open: boolean) => void) & ((evt: "item-mouseup", item: DropdownMenuItemProps<T, D>) => void);
17
19
  }>) => import('vue').VNode & {
18
- __ctx?: Awaited<typeof __VLS_setup>;
20
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
19
21
  };
22
+ declare const _default: typeof __VLS_export;
20
23
  export default _default;
21
- type __VLS_PrettifyLocal<T> = {
24
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
22
25
  [K in keyof T]: T[K];
23
- } & {};
26
+ } : {
27
+ [K in keyof T as K]: T[K];
28
+ }) & {};
@@ -1,23 +1,28 @@
1
1
  import { DropdownMenuItemProps, DropdownMenuItemSlots } from './DropdownMenu.types';
2
- declare const _default: <T = string, D = never>(__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<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly onSearch?: ((searchTerm: string, itemId: T) => any) | undefined;
5
- readonly onSelect?: ((value: T) => any) | undefined;
6
- readonly onPointermove?: ((event: PointerEvent) => any) | undefined;
7
- readonly "onUpdate:subMenuOpen"?: ((open: boolean) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onPointermove" | "onSearch" | "onUpdate:subMenuOpen"> & (DropdownMenuItemProps<T, D> & {
2
+ declare const __VLS_export: <T = string, D = never>(__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<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(DropdownMenuItemProps<T, D> & {
9
4
  htmlId?: string;
10
5
  disablePointerFocus?: boolean;
11
6
  closeOnSelect?: boolean;
12
- }) & Partial<{}>> & import('vue').PublicProps;
13
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
7
+ }) & {
8
+ onSearch?: ((searchTerm: string, itemId: T) => any) | undefined;
9
+ onSelect?: ((value: T) => any) | undefined;
10
+ onPointermove?: ((event: PointerEvent) => any) | undefined;
11
+ "onUpdate:subMenuOpen"?: ((open: boolean) => any) | undefined;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
15
+ expose: (exposed: {}) => void;
14
16
  attrs: any;
15
- slots: Readonly<DropdownMenuItemSlots<T, D>> & DropdownMenuItemSlots<T, D>;
17
+ slots: DropdownMenuItemSlots<T, D>;
16
18
  emit: ((evt: "search", searchTerm: string, itemId: T) => void) & ((evt: "select", value: T) => void) & ((evt: "pointermove", event: PointerEvent) => void) & ((evt: "update:subMenuOpen", open: boolean) => void);
17
19
  }>) => import('vue').VNode & {
18
- __ctx?: Awaited<typeof __VLS_setup>;
20
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
19
21
  };
22
+ declare const _default: typeof __VLS_export;
20
23
  export default _default;
21
- type __VLS_PrettifyLocal<T> = {
24
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
22
25
  [K in keyof T]: T[K];
23
- } & {};
26
+ } : {
27
+ [K in keyof T as K]: T[K];
28
+ }) & {};
@@ -1,11 +1,6 @@
1
1
  import { DropdownMenuItemProps, DropdownMenuSlots } from './DropdownMenu.types';
2
- declare const _default: <T = string, D = never>(__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<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
- readonly onSearch?: ((searchTerm: string, itemId: T) => any) | undefined;
5
- readonly onSelect?: ((value: T) => any) | undefined;
6
- readonly "onSubmenu:toggle"?: ((index: number, open: boolean) => any) | undefined;
7
- readonly "onItem-mouseup"?: ((item: DropdownMenuItemProps<T, D>) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onSearch" | "onSubmenu:toggle" | "onItem-mouseup"> & {
2
+ declare const __VLS_export: <T = string, D = never>(__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<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<{
9
4
  items: Array<DropdownMenuItemProps<T, D>>;
10
5
  loading?: boolean;
11
6
  loadingItemCount?: number;
@@ -15,15 +10,25 @@ declare const _default: <T = string, D = never>(__VLS_props: NonNullable<Awaited
15
10
  getItemDomId?: (index: number) => string;
16
11
  onItemHover?: (index: number) => void;
17
12
  disablePointerFocus?: boolean;
18
- } & Partial<{}>> & import('vue').PublicProps;
19
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
13
+ } & {
14
+ onSearch?: ((searchTerm: string, itemId: T) => any) | undefined;
15
+ onSelect?: ((value: T) => any) | undefined;
16
+ "onSubmenu:toggle"?: ((index: number, open: boolean) => any) | undefined;
17
+ "onItem-mouseup"?: ((item: DropdownMenuItemProps<T, D>) => any) | undefined;
18
+ }> & (typeof globalThis extends {
19
+ __VLS_PROPS_FALLBACK: infer P;
20
+ } ? P : {});
21
+ expose: (exposed: {}) => void;
20
22
  attrs: any;
21
- slots: Readonly<Pick<DropdownMenuSlots<T, D>, "loading" | "item" | "item-leading" | "item-label" | "item-trailing" | "empty">> & Pick<DropdownMenuSlots<T, D>, "loading" | "item" | "item-leading" | "item-label" | "item-trailing" | "empty">;
23
+ slots: Pick<DropdownMenuSlots<T, D>, "loading" | "item" | "item-leading" | "item-label" | "item-trailing" | "empty">;
22
24
  emit: ((evt: "search", searchTerm: string, itemId: T) => void) & ((evt: "select", value: T) => void) & ((evt: "submenu:toggle", index: number, open: boolean) => void) & ((evt: "item-mouseup", item: DropdownMenuItemProps<T, D>) => void);
23
25
  }>) => import('vue').VNode & {
24
- __ctx?: Awaited<typeof __VLS_setup>;
26
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
25
27
  };
28
+ declare const _default: typeof __VLS_export;
26
29
  export default _default;
27
- type __VLS_PrettifyLocal<T> = {
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
28
31
  [K in keyof T]: T[K];
29
- } & {};
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -3,22 +3,11 @@ type __VLS_Props = {
3
3
  placeholder?: string;
4
4
  ariaActiveDescendant?: string;
5
5
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- 'search-prefix'?: () => void;
10
- 'search-suffix'?: () => void;
11
- }> & {
12
- 'search-prefix'?: () => void;
13
- 'search-suffix'?: () => void;
14
- };
15
- refs: {
16
- inputRef: HTMLInputElement;
17
- };
18
- rootEl: HTMLDivElement;
6
+ type __VLS_Slots = {
7
+ 'search-prefix'?: () => void;
8
+ 'search-suffix'?: () => void;
19
9
  };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
10
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
22
11
  focus: (options?: FocusOptions) => void;
23
12
  inputRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
24
13
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -28,14 +17,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
28
17
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
18
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
30
19
  }>, {
31
- placeholder: string;
32
20
  modelValue: string;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
34
- inputRef: HTMLInputElement;
35
- }, HTMLDivElement>;
36
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ placeholder: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
37
25
  export default _default;
38
- type __VLS_WithTemplateSlots<T, S> = T & {
26
+ type __VLS_WithSlots<T, S> = T & {
39
27
  new (): {
40
28
  $slots: S;
41
29
  };