@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.
- package/README.md +12 -1
- package/dist/components/AskAssistantAvatar/AssistantAvatar.vue.d.ts +3 -2
- package/dist/components/AskAssistantButton/AskAssistantButton.vue.d.ts +3 -2
- package/dist/components/AskAssistantChat/AskAssistantChat.vue.d.ts +57 -672
- package/dist/components/AskAssistantChat/messages/BaseMessage.vue.d.ts +8 -12
- package/dist/components/AskAssistantChat/messages/BlockMessage.vue.d.ts +3 -2
- package/dist/components/AskAssistantChat/messages/CodeDiffMessage.vue.d.ts +3 -2
- package/dist/components/AskAssistantChat/messages/ErrorMessage.vue.d.ts +2 -1
- package/dist/components/AskAssistantChat/messages/EventMessage.vue.d.ts +2 -1
- package/dist/components/AskAssistantChat/messages/MessageRating.vue.d.ts +3 -138
- package/dist/components/AskAssistantChat/messages/MessageWrapper.vue.d.ts +24 -27
- package/dist/components/AskAssistantChat/messages/RestoreVersionConfirm.vue.d.ts +3 -2
- package/dist/components/AskAssistantChat/messages/TextMessage.vue.d.ts +11 -19
- package/dist/components/AskAssistantChat/messages/ThinkingMessage.vue.d.ts +3 -2
- package/dist/components/AskAssistantChat/messages/ToolMessage.vue.d.ts +2 -1
- package/dist/components/AskAssistantChat/messages/helpers.d.ts +6 -8
- package/dist/components/AskAssistantIcon/AssistantIcon.vue.d.ts +3 -2
- package/dist/components/AskAssistantText/AssistantText.vue.d.ts +3 -2
- package/dist/components/BlinkingCursor/BlinkingCursor.vue.d.ts +2 -1
- package/dist/components/CanvasCollaborationPill/CanvasCollaborationPill.vue.d.ts +3 -2
- package/dist/components/CanvasPill/CanvasPill.vue.d.ts +9 -12
- package/dist/components/CanvasThinkingPill/CanvasThinkingPill.vue.d.ts +3 -2
- package/dist/components/CodeDiff/CodeDiff.vue.d.ts +3 -2
- package/dist/components/ConditionalRouterLink/CondtionalRouterLink.vue.d.ts +11 -13
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +9 -20
- package/dist/components/DateRangePicker/DateRangePickerField.vue.d.ts +2 -1
- package/dist/components/IconTextButton/IconTextButton.vue.d.ts +8 -16
- package/dist/components/InlineAskAssistantButton/InlineAskAssistantButton.vue.d.ts +3 -2
- package/dist/components/N8nActionDropdown/ActionDropdown.vue.d.ts +22 -15
- package/dist/components/N8nActionPill/ActionPill.vue.d.ts +10 -13
- package/dist/components/N8nActionToggle/ActionToggle.vue.d.ts +18 -13
- package/dist/components/N8nAiActivityStep/AiActivityStep.vue.d.ts +10 -13
- package/dist/components/N8nAiActivityStepButton/AiActivityStepButton.vue.d.ts +11 -19
- package/dist/components/N8nAiActivityStepChevron/AiActivityStepChevron.vue.d.ts +5 -1
- package/dist/components/N8nAiActivityStepGroup/AiActivityStepGroup.vue.d.ts +12 -13
- package/dist/components/N8nAiActivityStepResultSection/AiActivityStepResultSection.vue.d.ts +7 -11
- package/dist/components/N8nAiModelSelectorDropdown/AiModelSelectorDropdown.vue.d.ts +17 -24
- package/dist/components/N8nAlert/Alert.vue.d.ts +14 -15
- package/dist/components/N8nAlertDialog/AlertDialog.vue.d.ts +6 -13
- package/dist/components/N8nAnimatedCollapsibleContent/AnimatedCollapsibleContent.vue.d.ts +7 -11
- package/dist/components/N8nAvatar/Avatar.vue.d.ts +3 -2
- package/dist/components/N8nBadge/Badge.vue.d.ts +8 -12
- package/dist/components/N8nBlockUi/BlockUi.vue.d.ts +2 -1
- package/dist/components/N8nBreadcrumbs/Breadcrumbs.vue.d.ts +10 -13
- package/dist/components/N8nButton/Button.vue.d.ts +9 -12
- package/dist/components/N8nButtonList/ButtonList.vue.d.ts +8 -12
- package/dist/components/N8nCallout/Callout.vue.d.ts +12 -14
- package/dist/components/N8nCard/Card.vue.d.ts +16 -16
- package/dist/components/N8nChatActions/ChatActions.types.d.ts +27 -0
- package/dist/components/N8nChatActions/ChatActions.vue.d.ts +17 -0
- package/dist/components/N8nChatInput/ChatInput.vue.d.ts +19 -22
- package/dist/components/N8nChatMessage/ChatMessage.vue.d.ts +7 -21
- package/dist/components/N8nCircleLoader/CircleLoader.vue.d.ts +3 -2
- package/dist/components/N8nCodeBlock/CodeBlock.vue.d.ts +6 -6
- package/dist/components/N8nCollapsiblePanel/CollapsiblePanel.vue.d.ts +11 -13
- package/dist/components/N8nColorPicker/ColorPicker.vue.d.ts +3 -2
- package/dist/components/N8nCommandBar/CommandBar.vue.d.ts +6 -168
- package/dist/components/N8nCommandBar/CommandBarItem.vue.d.ts +3 -2
- package/dist/components/N8nCopyInput/CopyInput.vue.d.ts +3 -2
- package/dist/components/N8nDataTableServer/N8nDataTableServer.vue.d.ts +29 -34
- package/dist/components/N8nDatatable/Datatable.vue.d.ts +18 -12
- package/dist/components/N8nDialog/Dialog.vue.d.ts +7 -11
- package/dist/components/N8nDialog/DialogClose.vue.d.ts +9 -12
- package/dist/components/N8nDialog/DialogContent.vue.d.ts +7 -11
- package/dist/components/N8nDialog/DialogDescription.vue.d.ts +7 -11
- package/dist/components/N8nDialog/DialogFooter.vue.d.ts +7 -11
- package/dist/components/N8nDialog/DialogHeader.vue.d.ts +7 -11
- package/dist/components/N8nDialog/DialogOverlay.vue.d.ts +2 -1
- package/dist/components/N8nDialog/DialogTitle.vue.d.ts +7 -11
- package/dist/components/N8nDropdownMenu/DropdownMenu.types.d.ts +1 -0
- package/dist/components/N8nDropdownMenu/DropdownMenu.vue.d.ts +19 -14
- package/dist/components/N8nDropdownMenu/DropdownMenuItem.vue.d.ts +18 -13
- package/dist/components/N8nDropdownMenu/DropdownMenuItems.vue.d.ts +18 -13
- package/dist/components/N8nDropdownMenu/DropdownMenuSearch.vue.d.ts +9 -21
- package/dist/components/N8nDropdownMenu/DropdownMenuSearchableContent.vue.d.ts +19 -23
- package/dist/components/N8nEmptyState/EmptyState.vue.d.ts +14 -15
- package/dist/components/N8nEmptyState/EmptyStateIconCards.vue.d.ts +2 -1
- package/dist/components/N8nExternalLink/ExternalLink.vue.d.ts +7 -11
- package/dist/components/N8nFloatingWindow/FloatingWindow.vue.d.ts +11 -21
- package/dist/components/N8nFormBox/FormBox.vue.d.ts +8 -12
- package/dist/components/N8nFormInput/FormInput.vue.d.ts +9 -285
- package/dist/components/N8nFormInputs/FormInputs.vue.d.ts +3 -2
- package/dist/components/N8nHeaderAction/HeaderAction.vue.d.ts +2 -1
- package/dist/components/N8nHeading/Heading.vue.d.ts +7 -11
- package/dist/components/N8nHoverCard/HoverCard.vue.d.ts +18 -20
- package/dist/components/N8nIcon/Icon.vue.d.ts +2 -1
- package/dist/components/N8nIconButton/IconButton.vue.d.ts +2 -1
- package/dist/components/N8nIconPicker/IconColorPicker.vue.d.ts +4 -3
- package/dist/components/N8nIconPicker/IconPicker.vue.d.ts +8 -188
- package/dist/components/N8nIconPicker/SkinTonePicker.vue.d.ts +4 -3
- package/dist/components/N8nInfoAccordion/InfoAccordion.vue.d.ts +8 -12
- package/dist/components/N8nInfoTip/InfoTip.vue.d.ts +10 -13
- package/dist/components/N8nInlineTextEdit/InlineTextEdit.vue.d.ts +3 -172
- package/dist/components/N8nInput/Input.vue.d.ts +7 -16
- package/dist/components/N8nInputLabel/InputLabel.vue.d.ts +14 -15
- package/dist/components/N8nInputNumber/InputNumber.vue.d.ts +7 -118
- package/dist/components/N8nKeyboardShortcut/N8nKeyboardShortcut.vue.d.ts +2 -1
- package/dist/components/N8nLink/Link.vue.d.ts +7 -11
- package/dist/components/N8nLoading/Loading.vue.d.ts +2 -1
- package/dist/components/N8nLogo/Logo.vue.d.ts +8 -16
- package/dist/components/N8nMarkdown/Markdown.vue.d.ts +3 -4
- package/dist/components/N8nMarkdownEditor/MarkdownEditor.types.d.ts +2 -0
- package/dist/components/N8nMarkdownEditor/MarkdownEditor.vue.d.ts +7 -6
- package/dist/components/N8nMarkdownEditor/MarkdownEditorToolbar.vue.d.ts +3 -2
- package/dist/components/N8nMarkdownEditor/composables/useMarkdownEditor.d.ts +1 -1
- package/dist/components/N8nMenuItem/MenuItem.vue.d.ts +3 -2
- package/dist/components/N8nNavigationDropdown/NavigationDropdown.vue.d.ts +13 -176
- package/dist/components/N8nNodeCreatorNode/NodeCreatorNode.vue.d.ts +9 -18
- package/dist/components/N8nNodeIcon/IconContent.vue.d.ts +2 -1
- package/dist/components/N8nNodeIcon/NodeIcon.vue.d.ts +3 -2
- package/dist/components/N8nNotice/Notice.vue.d.ts +8 -12
- package/dist/components/N8nOption/Option.vue.d.ts +7 -11
- package/dist/components/N8nPagination/Pagination.vue.d.ts +6 -15
- package/dist/components/N8nPopover/Popover.vue.d.ts +16 -18
- package/dist/components/N8nPromptInputSuggestions/N8nPromptInputSuggestions.vue.d.ts +10 -13
- package/dist/components/N8nPulse/Pulse.vue.d.ts +7 -11
- package/dist/components/N8nRadioGroup/RadioGroup.vue.d.ts +7 -11
- package/dist/components/N8nRadioGroup/RadioGroupItem.vue.d.ts +5 -10
- package/dist/components/N8nRecycleScroller/RecycleScroller.vue.d.ts +14 -9
- package/dist/components/N8nResizeWrapper/ResizeWrapper.vue.d.ts +8 -12
- package/dist/components/N8nResizeableSticky/ResizeableSticky.vue.d.ts +3 -2
- package/dist/components/N8nRoute/Route.vue.d.ts +9 -12
- package/dist/components/N8nScrollArea/N8nScrollArea.vue.d.ts +8 -141
- package/dist/components/N8nSectionHeader/SectionHeader.vue.d.ts +8 -12
- package/dist/components/N8nSegmentControl/SegmentControl.vue.d.ts +14 -11
- package/dist/components/N8nSegmentControl/SegmentControlItem.vue.d.ts +7 -11
- package/dist/components/N8nSelect/Select.vue.d.ts +20 -37
- package/dist/components/N8nSelectableList/SelectableList.vue.d.ts +20 -18
- package/dist/components/N8nSendStopButton/N8nSendStopButton.vue.d.ts +2 -1
- package/dist/components/N8nSettingsLayout/SettingsLayout.vue.d.ts +9 -12
- package/dist/components/N8nSettingsPageHeader/SettingsPageHeader.vue.d.ts +10 -13
- package/dist/components/N8nSettingsRow/SettingsRow.vue.d.ts +14 -148
- package/dist/components/N8nSettingsRowConfigure/SettingsRowConfigure.vue.d.ts +3 -2
- package/dist/components/N8nSettingsRowGroup/SettingsRowGroup.vue.d.ts +7 -11
- package/dist/components/N8nSettingsSaveBar/SettingsSaveBar.vue.d.ts +10 -17
- package/dist/components/N8nSettingsSection/SettingsSection.vue.d.ts +12 -14
- package/dist/components/N8nSpinner/Spinner.vue.d.ts +3 -2
- package/dist/components/N8nStatusDot/StatusDot.vue.d.ts +3 -2
- package/dist/components/N8nStepper/Stepper.vue.d.ts +9 -19
- package/dist/components/N8nSticky/Sticky.vue.d.ts +3 -138
- package/dist/components/N8nSuggestedActions/SuggestedActions.vue.d.ts +2 -1
- package/dist/components/N8nSwitch/Switch.vue.d.ts +7 -11
- package/dist/components/N8nTabs/Tabs.vue.d.ts +14 -9
- package/dist/components/N8nTag/Tag.vue.d.ts +8 -12
- package/dist/components/N8nTags/Tags.vue.d.ts +3 -2
- package/dist/components/N8nText/Text.vue.d.ts +7 -11
- package/dist/components/N8nToggle/Toggle.vue.d.ts +13 -14
- package/dist/components/N8nToggleGroup/ToggleGroup.vue.d.ts +11 -15
- package/dist/components/N8nTooltip/Tooltip.vue.d.ts +11 -13
- package/dist/components/N8nTree/Tree.vue.d.ts +12 -20
- package/dist/components/N8nUserInfo/UserInfo.vue.d.ts +3 -2
- package/dist/components/N8nUserSelect/UserSelect.vue.d.ts +8 -12
- package/dist/components/N8nUserStack/UserStack.vue.d.ts +3 -2
- package/dist/components/N8nUsersList/UsersList.vue.d.ts +15 -10
- package/dist/components/N8nVisuallyHidden/VisuallyHidden.vue.d.ts +16 -0
- package/dist/components/N8nVisuallyHidden/index.d.ts +1 -0
- package/dist/components/PreviewTag/PreviewTag.vue.d.ts +3 -2
- package/dist/components/ResizeObserver/ResizeObserver.vue.d.ts +10 -18
- package/dist/components/TableBase/TableBase.vue.d.ts +7 -11
- package/dist/components/TableHeaderControlsButton/TableHeaderControlsButton.vue.d.ts +14 -9
- package/dist/components/index.d.ts +3 -0
- package/dist/css/dialog.scss +1 -1
- package/dist/css/mixins/motion.scss +11 -0
- package/dist/{en-Ubc0tWnj.js → en-BQBg3T3M.js} +8 -0
- package/dist/index.js +4714 -4157
- package/dist/style.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/v2/components/Checkbox/Checkbox.vue.d.ts +7 -11
- package/dist/v2/components/Combobox/Combobox.vue.d.ts +7 -230
- package/dist/v2/components/Combobox/ComboboxItem.vue.d.ts +5 -10
- package/dist/v2/components/Loading/Loading.vue.d.ts +2 -1
- package/dist/v2/components/Select/Select.types.d.ts +50 -44
- package/dist/v2/components/Select/Select.vue.d.ts +20 -15
- package/dist/v2/components/Select/SelectItem.vue.d.ts +9 -22
- package/dist/v2/components/Select/index.d.ts +3 -0
- package/dist/v2/components/TagsInput/TagsInput.vue.d.ts +6 -15
- package/dist/v2/components/Tree/Tree.vue.d.ts +5 -10
- package/dist/v2/components/Tree/TreeNode.vue.d.ts +6 -13
- package/dist/v2/components/Tree/TreeNodeDefault.vue.d.ts +6 -11
- package/package.json +7 -6
- package/dist/css/tailwind/index.css +0 -3
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
import { CheckboxProps, CheckboxSlots } from './Checkbox.types';
|
|
2
2
|
type __VLS_Props = CheckboxProps;
|
|
3
|
-
type
|
|
3
|
+
type __VLS_Slots = CheckboxSlots;
|
|
4
|
+
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: boolean;
|
|
5
|
-
} & __VLS_Props;
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: Readonly<CheckboxSlots> & CheckboxSlots;
|
|
9
|
-
refs: {};
|
|
10
|
-
rootEl: any;
|
|
11
6
|
};
|
|
12
|
-
type
|
|
13
|
-
declare const
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
9
|
"update:modelValue": (value: boolean) => any;
|
|
15
10
|
change: (event: Event) => any;
|
|
16
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
12
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
18
13
|
onChange?: ((event: Event) => any) | undefined;
|
|
19
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
-
declare const
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
21
17
|
export default _default;
|
|
22
|
-
type
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
19
|
new (): {
|
|
24
20
|
$slots: S;
|
|
25
21
|
};
|
|
@@ -1,122 +1,7 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
2
|
import { ComboboxProps, ComboboxSizes, ComboboxSlots } from './Combobox.types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
slots: Readonly<ComboboxSlots> & ComboboxSlots;
|
|
6
|
-
refs: {
|
|
7
|
-
anchor: ({
|
|
8
|
-
$: import('vue').ComponentInternalInstance;
|
|
9
|
-
$data: {};
|
|
10
|
-
$props: {
|
|
11
|
-
readonly reference?: import('reka-ui').ReferenceElement | undefined;
|
|
12
|
-
readonly asChild?: boolean | undefined;
|
|
13
|
-
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
14
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
15
|
-
$attrs: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
$refs: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
$slots: Readonly<{
|
|
22
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
23
|
-
}>;
|
|
24
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
25
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
26
|
-
$host: Element | null;
|
|
27
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
28
|
-
$el: any;
|
|
29
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ComboboxAnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
30
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
31
|
-
created?: (() => void) | (() => void)[];
|
|
32
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
33
|
-
mounted?: (() => void) | (() => void)[];
|
|
34
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
35
|
-
updated?: (() => void) | (() => void)[];
|
|
36
|
-
activated?: (() => void) | (() => void)[];
|
|
37
|
-
deactivated?: (() => void) | (() => void)[];
|
|
38
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
39
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
40
|
-
destroyed?: (() => void) | (() => void)[];
|
|
41
|
-
unmounted?: (() => void) | (() => void)[];
|
|
42
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
43
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
44
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
45
|
-
};
|
|
46
|
-
$forceUpdate: () => void;
|
|
47
|
-
$nextTick: typeof nextTick;
|
|
48
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
49
|
-
} & Readonly<{}> & Omit<Readonly<import('reka-ui').ComboboxAnchorProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
50
|
-
$slots: {
|
|
51
|
-
default?: (props: {}) => any;
|
|
52
|
-
};
|
|
53
|
-
}) | null;
|
|
54
|
-
input: ({
|
|
55
|
-
$: import('vue').ComponentInternalInstance;
|
|
56
|
-
$data: {};
|
|
57
|
-
$props: {
|
|
58
|
-
readonly displayValue?: ((val: any) => string) | undefined;
|
|
59
|
-
readonly modelValue?: string | undefined;
|
|
60
|
-
readonly autoFocus?: boolean | undefined;
|
|
61
|
-
readonly disabled?: boolean | undefined;
|
|
62
|
-
readonly asChild?: boolean | undefined;
|
|
63
|
-
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
64
|
-
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
|
|
65
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
66
|
-
$attrs: {
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
};
|
|
69
|
-
$refs: {
|
|
70
|
-
[x: string]: unknown;
|
|
71
|
-
};
|
|
72
|
-
$slots: Readonly<{
|
|
73
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
76
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
77
|
-
$host: Element | null;
|
|
78
|
-
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
79
|
-
$el: any;
|
|
80
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ComboboxInputProps> & Readonly<{
|
|
81
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
82
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
-
"update:modelValue": (args_0: string) => any;
|
|
84
|
-
}, string, {
|
|
85
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
86
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
87
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
88
|
-
created?: (() => void) | (() => void)[];
|
|
89
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
90
|
-
mounted?: (() => void) | (() => void)[];
|
|
91
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
92
|
-
updated?: (() => void) | (() => void)[];
|
|
93
|
-
activated?: (() => void) | (() => void)[];
|
|
94
|
-
deactivated?: (() => void) | (() => void)[];
|
|
95
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
96
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
97
|
-
destroyed?: (() => void) | (() => void)[];
|
|
98
|
-
unmounted?: (() => void) | (() => void)[];
|
|
99
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
100
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
101
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
102
|
-
};
|
|
103
|
-
$forceUpdate: () => void;
|
|
104
|
-
$nextTick: typeof nextTick;
|
|
105
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
106
|
-
} & Readonly<{
|
|
107
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
108
|
-
}> & Omit<Readonly<import('reka-ui').ComboboxInputProps> & Readonly<{
|
|
109
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
110
|
-
}>, "as"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
111
|
-
$slots: {
|
|
112
|
-
default?: (props: {}) => any;
|
|
113
|
-
};
|
|
114
|
-
}) | null;
|
|
115
|
-
};
|
|
116
|
-
rootEl: any;
|
|
117
|
-
};
|
|
118
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
119
|
-
declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
3
|
+
type __VLS_Slots = ComboboxSlots;
|
|
4
|
+
declare const __VLS_base: import('vue').DefineComponent<ComboboxProps, {
|
|
120
5
|
anchorRef: Readonly<import('vue').ShallowRef<({
|
|
121
6
|
$: import('vue').ComponentInternalInstance;
|
|
122
7
|
$data: {};
|
|
@@ -182,122 +67,14 @@ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
|
182
67
|
teleported: boolean;
|
|
183
68
|
size: ComboboxSizes;
|
|
184
69
|
clearable: boolean;
|
|
185
|
-
align: "center" | "start" | "end";
|
|
186
70
|
side: "right" | "left" | "top" | "bottom";
|
|
187
71
|
sideOffset: number;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$props: {
|
|
193
|
-
readonly reference?: import('reka-ui').ReferenceElement | undefined;
|
|
194
|
-
readonly asChild?: boolean | undefined;
|
|
195
|
-
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
196
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
197
|
-
$attrs: {
|
|
198
|
-
[x: string]: unknown;
|
|
199
|
-
};
|
|
200
|
-
$refs: {
|
|
201
|
-
[x: string]: unknown;
|
|
202
|
-
};
|
|
203
|
-
$slots: Readonly<{
|
|
204
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
205
|
-
}>;
|
|
206
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
207
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
208
|
-
$host: Element | null;
|
|
209
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
210
|
-
$el: any;
|
|
211
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ComboboxAnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
212
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
213
|
-
created?: (() => void) | (() => void)[];
|
|
214
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
215
|
-
mounted?: (() => void) | (() => void)[];
|
|
216
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
217
|
-
updated?: (() => void) | (() => void)[];
|
|
218
|
-
activated?: (() => void) | (() => void)[];
|
|
219
|
-
deactivated?: (() => void) | (() => void)[];
|
|
220
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
221
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
222
|
-
destroyed?: (() => void) | (() => void)[];
|
|
223
|
-
unmounted?: (() => void) | (() => void)[];
|
|
224
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
225
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
226
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
227
|
-
};
|
|
228
|
-
$forceUpdate: () => void;
|
|
229
|
-
$nextTick: typeof nextTick;
|
|
230
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
231
|
-
} & Readonly<{}> & Omit<Readonly<import('reka-ui').ComboboxAnchorProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
232
|
-
$slots: {
|
|
233
|
-
default?: (props: {}) => any;
|
|
234
|
-
};
|
|
235
|
-
}) | null;
|
|
236
|
-
input: ({
|
|
237
|
-
$: import('vue').ComponentInternalInstance;
|
|
238
|
-
$data: {};
|
|
239
|
-
$props: {
|
|
240
|
-
readonly displayValue?: ((val: any) => string) | undefined;
|
|
241
|
-
readonly modelValue?: string | undefined;
|
|
242
|
-
readonly autoFocus?: boolean | undefined;
|
|
243
|
-
readonly disabled?: boolean | undefined;
|
|
244
|
-
readonly asChild?: boolean | undefined;
|
|
245
|
-
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
246
|
-
readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
|
|
247
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
248
|
-
$attrs: {
|
|
249
|
-
[x: string]: unknown;
|
|
250
|
-
};
|
|
251
|
-
$refs: {
|
|
252
|
-
[x: string]: unknown;
|
|
253
|
-
};
|
|
254
|
-
$slots: Readonly<{
|
|
255
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
256
|
-
}>;
|
|
257
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
258
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
259
|
-
$host: Element | null;
|
|
260
|
-
$emit: (event: "update:modelValue", args_0: string) => void;
|
|
261
|
-
$el: any;
|
|
262
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('reka-ui').ComboboxInputProps> & Readonly<{
|
|
263
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
264
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
265
|
-
"update:modelValue": (args_0: string) => any;
|
|
266
|
-
}, string, {
|
|
267
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
268
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
269
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
270
|
-
created?: (() => void) | (() => void)[];
|
|
271
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
272
|
-
mounted?: (() => void) | (() => void)[];
|
|
273
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
274
|
-
updated?: (() => void) | (() => void)[];
|
|
275
|
-
activated?: (() => void) | (() => void)[];
|
|
276
|
-
deactivated?: (() => void) | (() => void)[];
|
|
277
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
278
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
279
|
-
destroyed?: (() => void) | (() => void)[];
|
|
280
|
-
unmounted?: (() => void) | (() => void)[];
|
|
281
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
282
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
283
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
284
|
-
};
|
|
285
|
-
$forceUpdate: () => void;
|
|
286
|
-
$nextTick: typeof nextTick;
|
|
287
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
288
|
-
} & Readonly<{
|
|
289
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
290
|
-
}> & Omit<Readonly<import('reka-ui').ComboboxInputProps> & Readonly<{
|
|
291
|
-
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
292
|
-
}>, "as"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
293
|
-
$slots: {
|
|
294
|
-
default?: (props: {}) => any;
|
|
295
|
-
};
|
|
296
|
-
}) | null;
|
|
297
|
-
}, any>;
|
|
298
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
72
|
+
align: "center" | "start" | "end";
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
75
|
+
declare const _default: typeof __VLS_export;
|
|
299
76
|
export default _default;
|
|
300
|
-
type
|
|
77
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
301
78
|
new (): {
|
|
302
79
|
$slots: S;
|
|
303
80
|
};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { ComboboxItemSlots, ComboboxOptionBase } from './Combobox.types';
|
|
2
|
+
type __VLS_Slots = ComboboxItemSlots;
|
|
2
3
|
type __VLS_Props = ComboboxOptionBase;
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
4
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
12
7
|
export default _default;
|
|
13
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
9
|
new (): {
|
|
15
10
|
$slots: S;
|
|
16
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoadingProps } from './Loading.types';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<LoadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
|
|
3
3
|
variant: import('./Loading.types').SkeletonVariant;
|
|
4
4
|
loading: boolean;
|
|
5
5
|
rows: number;
|
|
@@ -7,4 +7,5 @@ declare const _default: import('vue').DefineComponent<LoadingProps, {}, {}, {},
|
|
|
7
7
|
cols: number;
|
|
8
8
|
shrinkLast: boolean;
|
|
9
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
@@ -1,67 +1,73 @@
|
|
|
1
1
|
import { SelectRootEmits, SelectRootProps } from 'reka-ui';
|
|
2
2
|
import { IconName } from '../../../components/N8nIcon/icons';
|
|
3
|
-
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
value?: SelectValue;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onSelect?: (e: Event) => void;
|
|
3
|
+
export type SelectValue = string | number;
|
|
4
|
+
export type SelectOptionBase<TValue extends SelectValue = SelectValue> = {
|
|
5
|
+
type?: 'item';
|
|
6
|
+
value: TValue;
|
|
7
|
+
label: string;
|
|
11
8
|
icon?: IconName;
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
textValue?: string;
|
|
11
|
+
onSelect?: (event: Event) => void;
|
|
12
|
+
};
|
|
13
|
+
export type SelectGroupItem<TValue extends SelectValue = SelectValue> = {
|
|
14
|
+
type: 'group';
|
|
15
|
+
label?: string;
|
|
16
|
+
items: Array<SelectOptionBase<TValue>>;
|
|
14
17
|
};
|
|
15
|
-
export type
|
|
16
|
-
|
|
18
|
+
export type SelectSeparatorItem = {
|
|
19
|
+
type: 'separator';
|
|
17
20
|
};
|
|
18
|
-
export type SelectValue =
|
|
19
|
-
export type SelectItem = SelectValue |
|
|
20
|
-
export type SelectVariants = 'default' | 'ghost';
|
|
21
|
-
export type SelectSizes = '
|
|
22
|
-
export type
|
|
21
|
+
export type SelectStructuralItem<TValue extends SelectValue = SelectValue> = SelectGroupItem<TValue> | SelectSeparatorItem;
|
|
22
|
+
export type SelectItem<TValue extends SelectValue = SelectValue> = SelectOptionBase<TValue> | SelectStructuralItem<TValue>;
|
|
23
|
+
export type SelectVariants = 'default' | 'ghost' | 'flush';
|
|
24
|
+
export type SelectSizes = 'mini' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
25
|
+
export type SelectModelValue<M extends boolean = false> = M extends true ? SelectValue[] : SelectValue;
|
|
26
|
+
export type SelectProps<M extends boolean = false> = Omit<SelectRootProps, 'multiple' | 'modelValue' | 'defaultValue' | 'by' | 'side' | 'align' | 'position'> & {
|
|
23
27
|
id?: string;
|
|
24
28
|
placeholder?: string;
|
|
25
29
|
size?: SelectSizes;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
defaultValue?: GetModelValue<T, VK, M>;
|
|
30
|
-
modelValue?: GetModelValue<T, VK, M>;
|
|
30
|
+
items?: SelectItem[];
|
|
31
|
+
defaultValue?: SelectModelValue<M>;
|
|
32
|
+
modelValue?: SelectModelValue<M>;
|
|
31
33
|
multiple?: M & boolean;
|
|
32
34
|
variant?: SelectVariants;
|
|
33
35
|
icon?: IconName;
|
|
34
|
-
|
|
35
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
36
|
+
clearable?: boolean;
|
|
36
37
|
sideOffset?: number;
|
|
37
38
|
contentClass?: string;
|
|
38
39
|
};
|
|
39
|
-
export type SelectEmits<
|
|
40
|
+
export type SelectEmits<M extends boolean = false> = Omit<SelectRootEmits, 'update:modelValue'> & {
|
|
41
|
+
'update:modelValue': [value: SelectModelValue<M> | undefined];
|
|
42
|
+
clear: [];
|
|
43
|
+
};
|
|
44
|
+
export type SelectItemUi = {
|
|
45
|
+
class: string;
|
|
46
|
+
strokeWidth?: number;
|
|
47
|
+
};
|
|
40
48
|
export type SelectItemSlotProps = (props: {
|
|
41
|
-
item:
|
|
42
|
-
ui:
|
|
49
|
+
item: SelectOptionBase;
|
|
50
|
+
ui: SelectItemUi;
|
|
43
51
|
}) => unknown;
|
|
44
|
-
type
|
|
45
|
-
item
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
export type SelectItemSlots = {
|
|
53
|
+
'item-leading'?: SelectItemSlotProps;
|
|
54
|
+
'item-label'?: (props: {
|
|
55
|
+
item: SelectOptionBase;
|
|
56
|
+
}) => unknown;
|
|
57
|
+
'item-trailing'?: SelectItemSlotProps;
|
|
58
|
+
};
|
|
59
|
+
export type SelectSlots<M extends boolean = false> = SelectItemSlots & {
|
|
60
|
+
default?: (props: {
|
|
61
|
+
modelValue?: SelectModelValue<M>;
|
|
51
62
|
open: boolean;
|
|
52
|
-
}): unknown;
|
|
53
|
-
item: (props: {
|
|
54
|
-
item: SelectItemProps;
|
|
55
63
|
}) => unknown;
|
|
56
|
-
|
|
57
|
-
item:
|
|
64
|
+
item?: (props: {
|
|
65
|
+
item: SelectOptionBase;
|
|
58
66
|
}) => unknown;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
item: SelectItemProps;
|
|
67
|
+
label?: (props: {
|
|
68
|
+
item: SelectGroupItem;
|
|
62
69
|
}) => unknown;
|
|
63
|
-
['item-trailing']: SlotProps;
|
|
64
70
|
header?: () => unknown;
|
|
65
71
|
footer?: () => unknown;
|
|
72
|
+
empty?: () => unknown;
|
|
66
73
|
};
|
|
67
|
-
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} &
|
|
8
|
-
|
|
1
|
+
import { SelectModelValue, SelectProps, SelectSlots } from './Select.types';
|
|
2
|
+
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_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<SelectProps<M> & {
|
|
4
|
+
"onUpdate:modelValue"?: ((value: SelectModelValue<M> | undefined) => any) | undefined;
|
|
5
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
6
|
+
onClear?: (() => any) | undefined;
|
|
7
|
+
}> & (typeof globalThis extends {
|
|
8
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
9
|
+
} ? P : {});
|
|
10
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
9
11
|
triggerRef: Readonly<import('vue').ShallowRef<({
|
|
10
12
|
$: import('vue').ComponentInternalInstance;
|
|
11
13
|
$data: {};
|
|
@@ -50,7 +52,7 @@ declare const _default: <T extends Array<SelectItem>, VK extends GetItemKeys<T>
|
|
|
50
52
|
};
|
|
51
53
|
$forceUpdate: () => void;
|
|
52
54
|
$nextTick: typeof import('vue').nextTick;
|
|
53
|
-
$watch<
|
|
55
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
54
56
|
} & Readonly<{
|
|
55
57
|
as: import('reka-ui').AsTag | import('vue').Component;
|
|
56
58
|
}> & Omit<Readonly<import('reka-ui').SelectTriggerProps> & Readonly<{}>, "as"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -58,14 +60,17 @@ declare const _default: <T extends Array<SelectItem>, VK extends GetItemKeys<T>
|
|
|
58
60
|
default?: (props: {}) => any;
|
|
59
61
|
};
|
|
60
62
|
}) | null>>;
|
|
61
|
-
}>)
|
|
63
|
+
}>) => void;
|
|
62
64
|
attrs: any;
|
|
63
|
-
slots:
|
|
64
|
-
emit: ((evt: "update:modelValue", value:
|
|
65
|
+
slots: SelectSlots<M>;
|
|
66
|
+
emit: ((evt: "update:modelValue", value: SelectModelValue<M> | undefined) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "clear") => void);
|
|
65
67
|
}>) => import('vue').VNode & {
|
|
66
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
68
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
67
69
|
};
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
68
71
|
export default _default;
|
|
69
|
-
type __VLS_PrettifyLocal<T> = {
|
|
72
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
70
73
|
[K in keyof T]: T[K];
|
|
71
|
-
}
|
|
74
|
+
} : {
|
|
75
|
+
[K in keyof T as K]: T[K];
|
|
76
|
+
}) & {};
|
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'item-leading'?: SelectItemSlotProps;
|
|
6
|
-
'item-label'?: (props: {
|
|
7
|
-
item: SelectItemBaseProps;
|
|
8
|
-
}) => unknown;
|
|
9
|
-
'item-trailing'?: SelectItemSlotProps;
|
|
10
|
-
}> & {
|
|
11
|
-
'item-leading'?: SelectItemSlotProps;
|
|
12
|
-
'item-label'?: (props: {
|
|
13
|
-
item: SelectItemBaseProps;
|
|
14
|
-
}) => unknown;
|
|
15
|
-
'item-trailing'?: SelectItemSlotProps;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: any;
|
|
1
|
+
import { SelectItemSlots, SelectOptionBase } from './Select.types';
|
|
2
|
+
type SelectItemComponentProps = SelectOptionBase & {
|
|
3
|
+
class?: string | Record<string, boolean> | Array<string | Record<string, boolean>>;
|
|
4
|
+
strokeWidth?: number;
|
|
19
5
|
};
|
|
20
|
-
type
|
|
21
|
-
declare const
|
|
22
|
-
declare const
|
|
6
|
+
type __VLS_Slots = SelectItemSlots;
|
|
7
|
+
declare const __VLS_base: import('vue').DefineComponent<SelectItemComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SelectItemComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
23
10
|
export default _default;
|
|
24
|
-
type
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
12
|
new (): {
|
|
26
13
|
$slots: S;
|
|
27
14
|
};
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { TagsInputRootProps } from './reka-ui';
|
|
2
2
|
import { TagsInputOwnProps, TagsInputSizes, TagsInputSlots, TagsInputValue } from './TagsInput.types';
|
|
3
3
|
type __VLS_Props = TagsInputOwnProps & TagsInputRootProps<TagsInputValue>;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
slots: Readonly<TagsInputSlots> & TagsInputSlots;
|
|
7
|
-
refs: {
|
|
8
|
-
root: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
rootEl: any;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
type __VLS_Slots = TagsInputSlots;
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
6
|
"update:modelValue": (payload: import('reka-ui').AcceptableInputValue[]) => any;
|
|
15
7
|
invalid: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
16
8
|
addTag: (payload: import('reka-ui').AcceptableInputValue) => any;
|
|
@@ -26,12 +18,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
26
18
|
placeholder: string;
|
|
27
19
|
embedded: boolean;
|
|
28
20
|
delimiter: string | RegExp;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
33
24
|
export default _default;
|
|
34
|
-
type
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
26
|
new (): {
|
|
36
27
|
$slots: S;
|
|
37
28
|
};
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { TreeProps, TreeSlots } from './Tree.types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
slots: Readonly<TreeSlots> & TreeSlots;
|
|
5
|
-
refs: {};
|
|
6
|
-
rootEl: any;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<TreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
type __VLS_Slots = TreeSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<TreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
4
|
"update:modelValue": (value: string[]) => any;
|
|
11
5
|
"update:expanded": (val: string[]) => any;
|
|
12
6
|
}, string, import('vue').PublicProps, Readonly<TreeProps> & Readonly<{
|
|
@@ -19,9 +13,10 @@ declare const __VLS_component: import('vue').DefineComponent<TreeProps, {}, {},
|
|
|
19
13
|
virtualized: boolean;
|
|
20
14
|
estimateSize: number;
|
|
21
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
23
18
|
export default _default;
|
|
24
|
-
type
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
20
|
new (): {
|
|
26
21
|
$slots: S;
|
|
27
22
|
};
|