@pantograph/vue 0.32.11 → 0.32.12
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/dist/Accordion/Accordion.d.ts +2 -2
- package/dist/Accordion/AccordionItem.d.ts +1 -9
- package/dist/ActionButton/ActionButton.d.ts +35 -175
- package/dist/Alert/Alert.d.ts +3 -11
- package/dist/AlertDialog/AlertDialog.d.ts +15 -15
- package/dist/AlertDialog/ConfirmDialog.d.ts +7 -7
- package/dist/AlertDialog/useAlertDialog.d.ts +1 -1
- package/dist/Avatar/Avatar.d.ts +4 -12
- package/dist/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +3 -11
- package/dist/Base/BaseBadge/BaseBadge.d.ts +2 -2
- package/dist/Base/BaseButton/BaseButton.d.ts +13 -7
- package/dist/Base/BaseInput/BaseInput.d.ts +3 -3
- package/dist/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/dist/Button/Button.d.ts +35 -175
- package/dist/ButtonGroup/ButtonGroup.d.ts +7 -7
- package/dist/Card/Card.d.ts +3 -11
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Chip/Chip.d.ts +5 -13
- package/dist/ChipGroup/ChipGroup.d.ts +4 -4
- package/dist/ColorSwatch/ColorSwatch.d.ts +3 -11
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +9 -17
- package/dist/ColorTrigger/ColorTrigger.d.ts +3 -11
- package/dist/Combobox/Combobox.d.ts +193 -683
- package/dist/Combobox/ComboboxInput.d.ts +2 -10
- package/dist/Combobox/index.js +51 -49
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Comment/Comment.d.ts +2 -2
- package/dist/Comment/CommentActions.d.ts +114 -114
- package/dist/Comment/CommentEditor.d.ts +120 -541
- package/dist/Comment/CommentMention.d.ts +201 -992
- package/dist/Comment/CommentReactionList.d.ts +57 -57
- package/dist/Comment/CommentTrigger.d.ts +2 -10
- package/dist/ConfigProvider/ConfigProvider.d.ts +4 -4
- package/dist/DataTable/DataTable.d.ts +7 -27
- package/dist/DataTable/components/DataTableBatchActions.d.ts +3 -11
- package/dist/DataTable/components/DataTableContent.d.ts +20 -20
- package/dist/DataTable/components/DataTableHeader.d.ts +20 -20
- package/dist/DataTable/components/DataTableHeaderCell.d.ts +67 -288
- package/dist/DataTable/components/DataTableLazyLoading.d.ts +22 -22
- package/dist/DataTable/components/DataTableLoading.d.ts +6 -14
- package/dist/DataTable/components/ThDragGhost.d.ts +4 -12
- package/dist/Dialog/Dialog.d.ts +11 -11
- package/dist/Dialog/DialogTitle.d.ts +1 -9
- package/dist/Divider/Divider.d.ts +5 -13
- package/dist/Drawer/Drawer.d.ts +7 -7
- package/dist/Drawer/DrawerTitle.d.ts +1 -9
- package/dist/Drawer/index.js +9 -9
- package/dist/Drawer/index.umd.cjs +1 -1
- package/dist/DropZone/DropZone.d.ts +4 -12
- package/dist/Empty/Empty.d.ts +3 -11
- package/dist/FloatButton/FloatButton.d.ts +35 -175
- package/dist/Form/Form.d.ts +19 -19
- package/dist/Form/FormItem.d.ts +2 -6
- package/dist/FormValidation/FormValidation.d.ts +21 -29
- package/dist/GOPicker/GOPicker.d.ts +4 -4
- package/dist/GraphicalObject/GraphicalObject.d.ts +1 -9
- package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +3 -3
- package/dist/HoverCard/HoverCard.d.ts +6 -14
- package/dist/Icon/Icon.d.ts +6 -14
- package/dist/IconButton/IconButton.d.ts +35 -175
- package/dist/Image/Image.d.ts +5 -13
- package/dist/IndentLevel/IndentLevel.d.ts +6 -14
- package/dist/Indicator/Indicator.d.ts +1 -9
- package/dist/Input/Input.d.ts +31 -126
- package/dist/InputNumber/InputNumber.d.ts +34 -153
- package/dist/Kbd/Kbd.d.ts +5 -13
- package/dist/Label/Label.d.ts +3 -11
- package/dist/Link/Link.d.ts +3 -11
- package/dist/Menu/Menu.d.ts +2 -2
- package/dist/Menu/MenuItemWrapper.d.ts +1 -9
- package/dist/MenuItem/MenuItem.d.ts +1 -1
- package/dist/Modal/Modal.d.ts +9 -9
- package/dist/Modal/ModalTitle.d.ts +1 -9
- package/dist/Modal/index.js +10 -10
- package/dist/Modal/index.umd.cjs +1 -1
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/Pagination/index.umd.cjs +1 -1
- package/dist/Popover/Popover.d.ts +6 -14
- package/dist/Popover/type.d.ts +9 -1
- package/dist/Popover/utils.d.ts +40 -4
- package/dist/Progress/Progress.d.ts +6 -14
- package/dist/Progress/ProgressCirclePath.d.ts +1 -1
- package/dist/RadioGroup/RadioGroup.d.ts +5 -13
- package/dist/ScrollContainer/ScrollContainer.d.ts +69 -243
- package/dist/Segmented/Segmented.d.ts +4 -11
- package/dist/Segmented/index.js +2 -2
- package/dist/Segmented/index.umd.cjs +1 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-DBW1VRJx.js +1 -0
- package/dist/{Segmented.vue_vue_type_style_index_0_lang-CYjKdNAS.js → Segmented.vue_vue_type_style_index_0_lang-DDb9eiSR.js} +65 -64
- package/dist/Select/Select.d.ts +5 -13
- package/dist/Select/SelectLabel.d.ts +3 -11
- package/dist/Skeleton/Skeleton.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +3 -11
- package/dist/Steps/Step.d.ts +1 -1
- package/dist/Steps/Steps.d.ts +1 -1
- package/dist/SubMenu/SubMenu.d.ts +1 -1
- package/dist/Switch/Switch.d.ts +3 -11
- package/dist/Table/TBody.d.ts +3 -11
- package/dist/Table/TFoot.d.ts +3 -11
- package/dist/Table/THead.d.ts +3 -11
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Td.d.ts +1 -9
- package/dist/Table/Th.d.ts +1 -9
- package/dist/Table/Tr.d.ts +3 -11
- package/dist/Tabs/TabContent.d.ts +3 -11
- package/dist/Tabs/TabList.d.ts +3 -1
- package/dist/Tabs/TabTrigger.d.ts +2 -10
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tabs/index.js +174 -174
- package/dist/Tabs/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +4 -4
- package/dist/Toast/Toast.d.ts +4 -4
- package/dist/Tooltip/Tooltip.d.ts +16 -24
- package/dist/Tree/Tree.d.ts +11 -19
- package/dist/Tree/TreeNode.d.ts +1 -9
- package/dist/Tree/utils.d.ts +1 -1
- package/dist/Upload/Upload.d.ts +42 -42
- package/dist/Upload/UploadList.d.ts +10 -19
- package/dist/Upload/UploadTrigger.d.ts +18 -28
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/use/index.js +2 -2
- package/dist/use/index.umd.cjs +1 -1
- package/dist/use.d.ts +1 -1
- package/package.json +1 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-CQ5KaxKs.js +0 -1
|
@@ -93,11 +93,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ac
|
|
|
93
93
|
}, string, import('vue').PublicProps, Readonly<AccordionProps> & Readonly<{
|
|
94
94
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
95
95
|
}>, {
|
|
96
|
-
size:
|
|
96
|
+
size: "sm" | "md" | "lg";
|
|
97
97
|
bordered: boolean;
|
|
98
98
|
collapsible: "header" | "icon";
|
|
99
99
|
accordion: boolean;
|
|
100
|
-
expandIconPosition:
|
|
100
|
+
expandIconPosition: "start" | "end";
|
|
101
101
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AccordionSlots> & AccordionSlots>;
|
|
102
102
|
export default _default;
|
|
103
103
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -79,15 +79,7 @@ export interface AccordionItemSlots {
|
|
|
79
79
|
/** Custom badge text content */
|
|
80
80
|
badgeText?: (params: SlotProps) => never;
|
|
81
81
|
}
|
|
82
|
-
declare
|
|
83
|
-
attrs: Partial<{}>;
|
|
84
|
-
slots: Readonly<AccordionItemSlots> & AccordionItemSlots;
|
|
85
|
-
refs: {};
|
|
86
|
-
rootEl: any;
|
|
87
|
-
};
|
|
88
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
89
|
-
declare const __VLS_component: import('vue').DefineComponent<AccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
90
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
82
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AccordionItemSlots> & AccordionItemSlots>;
|
|
91
83
|
export default _default;
|
|
92
84
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
85
|
new (): {
|
|
@@ -13,146 +13,7 @@ export type ActionButtonProps = Partial<Omit<BaseButtonProps, 'color' | 'type' |
|
|
|
13
13
|
*/
|
|
14
14
|
variant?: Exclude<ButtonVariant, 'float'>;
|
|
15
15
|
};
|
|
16
|
-
declare
|
|
17
|
-
attrs: Partial<{}>;
|
|
18
|
-
slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
19
|
-
refs: {
|
|
20
|
-
buttonRef: ({
|
|
21
|
-
$: import('vue').ComponentInternalInstance;
|
|
22
|
-
$data: {};
|
|
23
|
-
$props: {
|
|
24
|
-
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
25
|
-
readonly class?: import('clsx').ClassValue;
|
|
26
|
-
readonly text?: string | number | undefined;
|
|
27
|
-
readonly size?: import('..').ButtonSize | undefined;
|
|
28
|
-
readonly color?: import('..').ButtonColor | undefined;
|
|
29
|
-
readonly noRing?: boolean | undefined;
|
|
30
|
-
readonly type?: ButtonType | undefined;
|
|
31
|
-
readonly variant?: ButtonVariant | undefined;
|
|
32
|
-
readonly loading?: boolean | undefined;
|
|
33
|
-
readonly action?: boolean | undefined;
|
|
34
|
-
readonly active?: boolean | undefined;
|
|
35
|
-
readonly badgeText?: string | undefined;
|
|
36
|
-
readonly badgeIcon?: string | undefined;
|
|
37
|
-
readonly icon?: string | undefined;
|
|
38
|
-
readonly preIcon?: string | undefined;
|
|
39
|
-
readonly postIcon?: string | undefined;
|
|
40
|
-
readonly customStroke?: boolean | undefined;
|
|
41
|
-
readonly preIconCustomStroke?: boolean | undefined;
|
|
42
|
-
readonly postIconCustomStroke?: boolean | undefined;
|
|
43
|
-
readonly flipOnDir?: import('..').FlipOnDir | undefined;
|
|
44
|
-
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
45
|
-
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
46
|
-
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
47
|
-
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
48
|
-
readonly block?: boolean | undefined;
|
|
49
|
-
readonly disabled?: boolean | undefined;
|
|
50
|
-
readonly hover?: boolean | undefined;
|
|
51
|
-
readonly href?: string | undefined;
|
|
52
|
-
readonly target?: string | undefined;
|
|
53
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
55
|
-
$attrs: {
|
|
56
|
-
[x: string]: unknown;
|
|
57
|
-
};
|
|
58
|
-
$refs: {
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
} & {
|
|
61
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
-
asChild: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
as: {
|
|
67
|
-
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
71
|
-
[key: string]: any;
|
|
72
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
73
|
-
asChild: boolean;
|
|
74
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
75
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
76
|
-
P: {};
|
|
77
|
-
B: {};
|
|
78
|
-
D: {};
|
|
79
|
-
C: {};
|
|
80
|
-
M: {};
|
|
81
|
-
Defaults: {};
|
|
82
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
83
|
-
asChild: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
as: {
|
|
88
|
-
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
92
|
-
[key: string]: any;
|
|
93
|
-
}>, {}, {}, {}, {
|
|
94
|
-
asChild: boolean;
|
|
95
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
96
|
-
}> | null;
|
|
97
|
-
};
|
|
98
|
-
$slots: Readonly<{
|
|
99
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
100
|
-
}>;
|
|
101
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
102
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
103
|
-
$host: Element | null;
|
|
104
|
-
$emit: (event: "click", ...args: any[]) => void;
|
|
105
|
-
$el: any;
|
|
106
|
-
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{
|
|
107
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}>, {
|
|
109
|
-
focus(): void;
|
|
110
|
-
blur(): void;
|
|
111
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
112
|
-
click: (...args: any[]) => void;
|
|
113
|
-
}, string, {
|
|
114
|
-
type: ButtonType;
|
|
115
|
-
color: import('..').ButtonColor;
|
|
116
|
-
htmlType: "reset" | "submit" | "button";
|
|
117
|
-
disabled: boolean;
|
|
118
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
119
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
120
|
-
created?: (() => void) | (() => void)[];
|
|
121
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
122
|
-
mounted?: (() => void) | (() => void)[];
|
|
123
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
124
|
-
updated?: (() => void) | (() => void)[];
|
|
125
|
-
activated?: (() => void) | (() => void)[];
|
|
126
|
-
deactivated?: (() => void) | (() => void)[];
|
|
127
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
128
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
129
|
-
destroyed?: (() => void) | (() => void)[];
|
|
130
|
-
unmounted?: (() => void) | (() => void)[];
|
|
131
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
132
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
133
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
134
|
-
};
|
|
135
|
-
$forceUpdate: () => void;
|
|
136
|
-
$nextTick: typeof import('vue').nextTick;
|
|
137
|
-
$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;
|
|
138
|
-
} & Readonly<{
|
|
139
|
-
type: ButtonType;
|
|
140
|
-
color: import('..').ButtonColor;
|
|
141
|
-
htmlType: "reset" | "submit" | "button";
|
|
142
|
-
disabled: boolean;
|
|
143
|
-
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
144
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
146
|
-
focus(): void;
|
|
147
|
-
blur(): void;
|
|
148
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
149
|
-
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
150
|
-
}) | null;
|
|
151
|
-
};
|
|
152
|
-
rootEl: any;
|
|
153
|
-
};
|
|
154
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
155
|
-
declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps, {
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ActionButtonProps, {
|
|
156
17
|
/**
|
|
157
18
|
* Focus the button element
|
|
158
19
|
*/
|
|
@@ -171,11 +32,11 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
171
32
|
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
172
33
|
readonly class?: import('clsx').ClassValue;
|
|
173
34
|
readonly text?: string | number | undefined;
|
|
174
|
-
readonly size?:
|
|
175
|
-
readonly color?:
|
|
35
|
+
readonly size?: "sm" | "md" | "lg" | undefined;
|
|
36
|
+
readonly color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning" | undefined;
|
|
176
37
|
readonly noRing?: boolean | undefined;
|
|
177
|
-
readonly type?:
|
|
178
|
-
readonly variant?:
|
|
38
|
+
readonly type?: "fill" | "outline" | "ghost" | undefined;
|
|
39
|
+
readonly variant?: "icon" | "simple" | "float" | undefined;
|
|
179
40
|
readonly loading?: boolean | undefined;
|
|
180
41
|
readonly action?: boolean | undefined;
|
|
181
42
|
readonly active?: boolean | undefined;
|
|
@@ -191,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
191
52
|
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
192
53
|
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
193
54
|
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
194
|
-
readonly htmlType?: "
|
|
55
|
+
readonly htmlType?: "button" | "reset" | "submit" | undefined;
|
|
195
56
|
readonly block?: boolean | undefined;
|
|
196
57
|
readonly disabled?: boolean | undefined;
|
|
197
58
|
readonly hover?: boolean | undefined;
|
|
@@ -211,14 +72,14 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
211
72
|
default: boolean;
|
|
212
73
|
};
|
|
213
74
|
as: {
|
|
214
|
-
type: import('vue').PropType<import('
|
|
75
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
215
76
|
default: string;
|
|
216
77
|
};
|
|
217
78
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
218
79
|
[key: string]: any;
|
|
219
80
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
220
81
|
asChild: boolean;
|
|
221
|
-
as: import('
|
|
82
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
222
83
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
223
84
|
P: {};
|
|
224
85
|
B: {};
|
|
@@ -232,21 +93,21 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
232
93
|
default: boolean;
|
|
233
94
|
};
|
|
234
95
|
as: {
|
|
235
|
-
type: import('vue').PropType<import('
|
|
96
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
236
97
|
default: string;
|
|
237
98
|
};
|
|
238
99
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
239
100
|
[key: string]: any;
|
|
240
101
|
}>, {}, {}, {}, {
|
|
241
102
|
asChild: boolean;
|
|
242
|
-
as: import('
|
|
103
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
243
104
|
}> | null;
|
|
244
105
|
};
|
|
245
106
|
$slots: Readonly<{
|
|
246
107
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
247
108
|
}>;
|
|
248
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
249
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
109
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
110
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
250
111
|
$host: Element | null;
|
|
251
112
|
$emit: (event: "click", ...args: any[]) => void;
|
|
252
113
|
$el: any;
|
|
@@ -258,34 +119,34 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
258
119
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
259
120
|
click: (...args: any[]) => void;
|
|
260
121
|
}, string, {
|
|
261
|
-
type:
|
|
262
|
-
color:
|
|
263
|
-
htmlType: "
|
|
122
|
+
type: "fill" | "outline" | "ghost";
|
|
123
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
124
|
+
htmlType: "button" | "reset" | "submit";
|
|
264
125
|
disabled: boolean;
|
|
265
126
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
266
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
267
|
-
created?: (() => void) | (() => void)[];
|
|
268
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
269
|
-
mounted?: (() => void) | (() => void)[];
|
|
270
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
271
|
-
updated?: (() => void) | (() => void)[];
|
|
272
|
-
activated?: (() => void) | (() => void)[];
|
|
273
|
-
deactivated?: (() => void) | (() => void)[];
|
|
274
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
275
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
276
|
-
destroyed?: (() => void) | (() => void)[];
|
|
277
|
-
unmounted?: (() => void) | (() => void)[];
|
|
278
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
279
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
280
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
127
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
128
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
129
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
130
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
131
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
135
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
136
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
137
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
138
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
139
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
140
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
141
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
281
142
|
};
|
|
282
143
|
$forceUpdate: () => void;
|
|
283
144
|
$nextTick: typeof import('vue').nextTick;
|
|
284
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (
|
|
145
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
285
146
|
} & Readonly<{
|
|
286
|
-
type:
|
|
287
|
-
color:
|
|
288
|
-
htmlType: "
|
|
147
|
+
type: "fill" | "outline" | "ghost";
|
|
148
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
149
|
+
htmlType: "button" | "reset" | "submit";
|
|
289
150
|
disabled: boolean;
|
|
290
151
|
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
291
152
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -295,8 +156,7 @@ declare const __VLS_component: import('vue').DefineComponent<ActionButtonProps,
|
|
|
295
156
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
296
157
|
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
297
158
|
}) | null;
|
|
298
|
-
}, any>;
|
|
299
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
159
|
+
}, any>, Readonly<BaseButtonSlots> & BaseButtonSlots>;
|
|
300
160
|
export default _default;
|
|
301
161
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
302
162
|
new (): {
|
package/dist/Alert/Alert.d.ts
CHANGED
|
@@ -111,21 +111,13 @@ export interface AlertSlots {
|
|
|
111
111
|
*/
|
|
112
112
|
link: () => never;
|
|
113
113
|
}
|
|
114
|
-
declare
|
|
115
|
-
attrs: Partial<{}>;
|
|
116
|
-
slots: Readonly<AlertSlots> & AlertSlots;
|
|
117
|
-
refs: {};
|
|
118
|
-
rootEl: HTMLDivElement;
|
|
119
|
-
};
|
|
120
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
121
|
-
declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
114
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
122
115
|
close: (data: Event) => any;
|
|
123
116
|
}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{
|
|
124
117
|
onClose?: ((data: Event) => any) | undefined;
|
|
125
118
|
}>, {
|
|
126
|
-
type:
|
|
127
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
128
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
119
|
+
type: "danger" | "success" | "warning" | "info" | "hint";
|
|
120
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<AlertSlots> & AlertSlots>;
|
|
129
121
|
export default _default;
|
|
130
122
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
131
123
|
new (): {
|
|
@@ -187,8 +187,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
187
187
|
onAfterOpen?: (() => any) | undefined;
|
|
188
188
|
}>, {
|
|
189
189
|
mask: boolean;
|
|
190
|
-
type:
|
|
191
|
-
width:
|
|
190
|
+
type: string;
|
|
191
|
+
width: string | number;
|
|
192
192
|
open: boolean;
|
|
193
193
|
openAutoFocus: boolean;
|
|
194
194
|
zIndex: number;
|
|
@@ -197,15 +197,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
197
197
|
keyboard: boolean;
|
|
198
198
|
trapFocus: boolean;
|
|
199
199
|
closeOnClickOutside: boolean;
|
|
200
|
-
okProps: import('..').
|
|
200
|
+
okProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
201
201
|
text: string;
|
|
202
|
-
hide?: boolean;
|
|
202
|
+
hide?: boolean | undefined;
|
|
203
203
|
};
|
|
204
|
-
cancelProps: import('..').
|
|
204
|
+
cancelProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
205
205
|
text: string;
|
|
206
|
-
hide?: boolean;
|
|
206
|
+
hide?: boolean | undefined;
|
|
207
207
|
};
|
|
208
|
-
animated:
|
|
208
|
+
animated: string | boolean;
|
|
209
209
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<Omit<DialogSlots, "footer" | "trigger" | "beforeFooterActions"> & {
|
|
210
210
|
/**
|
|
211
211
|
* Custom body content slot.
|
|
@@ -230,7 +230,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
230
230
|
* </AlertDialog>
|
|
231
231
|
* ```
|
|
232
232
|
*/
|
|
233
|
-
body?: (data?: object) => never;
|
|
233
|
+
body?: ((data?: object | undefined) => never) | undefined;
|
|
234
234
|
/**
|
|
235
235
|
* Default slot for graphical object (icon) content.
|
|
236
236
|
*
|
|
@@ -251,7 +251,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
251
251
|
* </AlertDialog>
|
|
252
252
|
* ```
|
|
253
253
|
*/
|
|
254
|
-
go?: (data?: object) => never;
|
|
254
|
+
go?: ((data?: object | undefined) => never) | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* Slot for custom icon content.
|
|
257
257
|
*
|
|
@@ -272,9 +272,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
272
272
|
* </AlertDialog>
|
|
273
273
|
* ```
|
|
274
274
|
*/
|
|
275
|
-
icon?: (data?: {
|
|
275
|
+
icon?: ((data?: {
|
|
276
276
|
iconSize: IconSize;
|
|
277
|
-
}) => never;
|
|
277
|
+
} | undefined) => never) | undefined;
|
|
278
278
|
}> & Omit<DialogSlots, "footer" | "trigger" | "beforeFooterActions"> & {
|
|
279
279
|
/**
|
|
280
280
|
* Custom body content slot.
|
|
@@ -299,7 +299,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
299
299
|
* </AlertDialog>
|
|
300
300
|
* ```
|
|
301
301
|
*/
|
|
302
|
-
body?: (data?: object) => never;
|
|
302
|
+
body?: ((data?: object | undefined) => never) | undefined;
|
|
303
303
|
/**
|
|
304
304
|
* Default slot for graphical object (icon) content.
|
|
305
305
|
*
|
|
@@ -320,7 +320,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
320
320
|
* </AlertDialog>
|
|
321
321
|
* ```
|
|
322
322
|
*/
|
|
323
|
-
go?: (data?: object) => never;
|
|
323
|
+
go?: ((data?: object | undefined) => never) | undefined;
|
|
324
324
|
/**
|
|
325
325
|
* Slot for custom icon content.
|
|
326
326
|
*
|
|
@@ -341,9 +341,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
341
341
|
* </AlertDialog>
|
|
342
342
|
* ```
|
|
343
343
|
*/
|
|
344
|
-
icon?: (data?: {
|
|
344
|
+
icon?: ((data?: {
|
|
345
345
|
iconSize: IconSize;
|
|
346
|
-
}) => never;
|
|
346
|
+
} | undefined) => never) | undefined;
|
|
347
347
|
}>;
|
|
348
348
|
export default _default;
|
|
349
349
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,8 +8,8 @@ export interface ConfirmDialogProps extends Omit<AlertDialogProps, 'title' | 'de
|
|
|
8
8
|
}
|
|
9
9
|
declare const _default: import('vue').DefineComponent<ConfirmDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfirmDialogProps> & Readonly<{}>, {
|
|
10
10
|
mask: boolean;
|
|
11
|
-
type:
|
|
12
|
-
width:
|
|
11
|
+
type: string;
|
|
12
|
+
width: string | number;
|
|
13
13
|
open: boolean;
|
|
14
14
|
openAutoFocus: boolean;
|
|
15
15
|
zIndex: number;
|
|
@@ -17,14 +17,14 @@ declare const _default: import('vue').DefineComponent<ConfirmDialogProps, {}, {}
|
|
|
17
17
|
keyboard: boolean;
|
|
18
18
|
trapFocus: boolean;
|
|
19
19
|
closeOnClickOutside: boolean;
|
|
20
|
-
okProps: import('..').
|
|
20
|
+
okProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
21
21
|
text: string;
|
|
22
|
-
hide?: boolean;
|
|
22
|
+
hide?: boolean | undefined;
|
|
23
23
|
};
|
|
24
|
-
cancelProps: import('..').
|
|
24
|
+
cancelProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
25
25
|
text: string;
|
|
26
|
-
hide?: boolean;
|
|
26
|
+
hide?: boolean | undefined;
|
|
27
27
|
};
|
|
28
|
-
animated:
|
|
28
|
+
animated: string | boolean;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
export default _default;
|
|
@@ -16,6 +16,6 @@ export declare function useAlertDialog(): {
|
|
|
16
16
|
close: () => void;
|
|
17
17
|
update: (updateConfig: Partial<CreateAlertDialogParams> | ((prams: CreateAlertDialogParams) => Partial<CreateAlertDialogParams>)) => void;
|
|
18
18
|
};
|
|
19
|
-
promise: (options: Omit<CreateAlertDialogParams,
|
|
19
|
+
promise: (options: Omit<CreateAlertDialogParams, 'onOk' | 'onCancel'>) => Promise<PointerEvent | undefined>;
|
|
20
20
|
};
|
|
21
21
|
export {};
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -78,25 +78,17 @@ export interface AvatarSlots {
|
|
|
78
78
|
*/
|
|
79
79
|
fallback?: () => never;
|
|
80
80
|
}
|
|
81
|
-
declare
|
|
82
|
-
attrs: Partial<{}>;
|
|
83
|
-
slots: Readonly<AvatarSlots> & AvatarSlots;
|
|
84
|
-
refs: {};
|
|
85
|
-
rootEl: any;
|
|
86
|
-
};
|
|
87
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
88
|
-
declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
89
82
|
loadingStatusChange: (value: "error" | "loading" | "idle" | "loaded") => any;
|
|
90
83
|
}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
91
84
|
onLoadingStatusChange?: ((value: "error" | "loading" | "idle" | "loaded") => any) | undefined;
|
|
92
85
|
}>, {
|
|
93
86
|
icon: string;
|
|
94
87
|
src: string;
|
|
95
|
-
onlineColor:
|
|
88
|
+
onlineColor: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray";
|
|
96
89
|
unExtendParent: boolean;
|
|
97
|
-
onlineAlignment:
|
|
98
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
99
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
90
|
+
onlineAlignment: "start" | "end";
|
|
91
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AvatarSlots> & AvatarSlots>;
|
|
100
92
|
export default _default;
|
|
101
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
102
94
|
new (): {
|
|
@@ -62,7 +62,7 @@ interface Context {
|
|
|
62
62
|
*/
|
|
63
63
|
export declare const injectAvatarGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideAvatarGroupContext: (contextValue: Context) => Context;
|
|
64
64
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
65
|
-
stroke:
|
|
65
|
+
stroke: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "gray-subtle" | "white";
|
|
66
66
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<AvatarGroupSlots> & AvatarGroupSlots>;
|
|
67
67
|
export default _default;
|
|
68
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -14,17 +14,9 @@ export type BadgeProps = Partial<Pick<BaseBadgeProps, 'class' | 'text' | 'icon'
|
|
|
14
14
|
*/
|
|
15
15
|
color?: BadgeColor | BadgeColorSubtle;
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
refs: {};
|
|
21
|
-
rootEl: any;
|
|
22
|
-
};
|
|
23
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
25
|
-
color: BadgeColor | BadgeColorSubtle;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
18
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "primary-subtle" | "red-subtle" | "orange-subtle" | "amber-subtle" | "yellow-subtle" | "lime-subtle" | "green-subtle" | "teal-subtle" | "cyan-subtle" | "sky-subtle" | "blue-subtle" | "ocean-subtle" | "violet-subtle" | "amethyst-subtle" | "fuchsia-subtle" | "pink-subtle" | "gray-subtle" | "mallard-subtle";
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
28
20
|
export default _default;
|
|
29
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
22
|
new (): {
|
|
@@ -69,8 +69,8 @@ export interface BaseBadgeSlots {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const getBadgeIconSize: (size: BadgeSize) => "2xsm" | "xsm" | "sm" | "3xsm";
|
|
71
71
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseBadgeProps> & Readonly<{}>, {
|
|
72
|
-
type:
|
|
73
|
-
size:
|
|
72
|
+
type: "rect" | "pill" | "minify";
|
|
73
|
+
size: "2xsm" | "xsm" | "sm" | "md" | "tiny" | "tinier";
|
|
74
74
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
75
75
|
export default _default;
|
|
76
76
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -193,9 +193,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
193
193
|
}, string, import('vue').PublicProps, Readonly<BaseButtonProps> & Readonly<{
|
|
194
194
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
195
195
|
}>, {
|
|
196
|
-
type:
|
|
197
|
-
color:
|
|
198
|
-
htmlType: "
|
|
196
|
+
type: "fill" | "outline" | "ghost";
|
|
197
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
198
|
+
htmlType: "button" | "reset" | "submit";
|
|
199
199
|
disabled: boolean;
|
|
200
200
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
201
201
|
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -204,14 +204,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
204
204
|
default: boolean;
|
|
205
205
|
};
|
|
206
206
|
as: {
|
|
207
|
-
|
|
207
|
+
/**
|
|
208
|
+
* Whether to disable the focus ring
|
|
209
|
+
*/
|
|
210
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
208
211
|
default: string;
|
|
209
212
|
};
|
|
210
213
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
211
214
|
[key: string]: any;
|
|
212
215
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
213
216
|
asChild: boolean;
|
|
214
|
-
as: import('
|
|
217
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
215
218
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
216
219
|
P: {};
|
|
217
220
|
B: {};
|
|
@@ -225,14 +228,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
225
228
|
default: boolean;
|
|
226
229
|
};
|
|
227
230
|
as: {
|
|
228
|
-
|
|
231
|
+
/**
|
|
232
|
+
* Whether to disable the focus ring
|
|
233
|
+
*/
|
|
234
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
229
235
|
default: string;
|
|
230
236
|
};
|
|
231
237
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
232
238
|
[key: string]: any;
|
|
233
239
|
}>, {}, {}, {}, {
|
|
234
240
|
asChild: boolean;
|
|
235
|
-
as: import('
|
|
241
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
236
242
|
}> | null;
|
|
237
243
|
}, any>, Readonly<BaseButtonSlots> & BaseButtonSlots>;
|
|
238
244
|
export default _default;
|
|
@@ -143,16 +143,16 @@ export declare const useInputExposes: (inputRef: Ref<HTMLInputElement | undefine
|
|
|
143
143
|
focus: (option?: FocusOptions) => void | undefined;
|
|
144
144
|
blur: () => void | undefined;
|
|
145
145
|
select: () => void | undefined;
|
|
146
|
-
setSelectionRange: (start: number, end: number, direction?:
|
|
146
|
+
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void | undefined;
|
|
147
147
|
};
|
|
148
148
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseInputProps, {
|
|
149
149
|
adjustWidth: () => void;
|
|
150
150
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
151
|
-
clear: () => any;
|
|
152
151
|
resize: (value: number) => any;
|
|
152
|
+
clear: () => any;
|
|
153
153
|
}, string, import('vue').PublicProps, Readonly<BaseInputProps> & Readonly<{
|
|
154
|
-
onClear?: (() => any) | undefined;
|
|
155
154
|
onResize?: ((value: number) => any) | undefined;
|
|
155
|
+
onClear?: (() => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
157
|
disabled: boolean;
|
|
158
158
|
clearIcon: string;
|