@pantograph/vue 0.33.2 → 0.33.4
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 +1 -1
- package/dist/Accordion/Accordion.d.ts +3 -3
- 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 +7 -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/ColorSwatch-CinZuJOP.js +4 -0
- package/dist/{ColorSwatch-BMWavxvo.js → ColorSwatch-vUlfEyWQ.js} +1 -1
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +10 -18
- package/dist/ColorTrigger/ColorTrigger.d.ts +3 -11
- package/dist/Combobox/Combobox.d.ts +191 -188
- package/dist/Combobox/ComboboxInput.d.ts +2 -10
- package/dist/Combobox/ComboboxOption.d.ts +1 -9
- package/dist/Combobox/LocalComboboxOption.d.ts +1 -9
- package/dist/Comment/Comment.d.ts +2 -2
- package/dist/Comment/CommentActions.d.ts +114 -114
- package/dist/Comment/CommentEditor.d.ts +125 -546
- package/dist/Comment/CommentMention.d.ts +216 -1013
- 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/ConfigProvider/index.d.ts +1 -0
- 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/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/GraphicalObject/index.d.ts +1 -0
- 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 +5 -64
- 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/PageIndicator/PageIndicator.d.ts +4 -4
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Popover/Popover.d.ts +6 -14
- package/dist/Popover/index.d.ts +1 -0
- 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 +3 -11
- 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/TabTrigger.d.ts +2 -10
- package/dist/Tabs/Tabs.d.ts +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/index.d.ts +1 -0
- package/dist/Tree/utils.d.ts +1 -1
- package/dist/Upload/Upload.d.ts +49 -44
- package/dist/Upload/UploadList.d.ts +11 -19
- package/dist/Upload/UploadListItem.d.ts +2 -1
- package/dist/Upload/UploadTrigger.d.ts +18 -28
- package/dist/Upload/types.d.ts +150 -41
- package/dist/index-DiciAsfs.js +12 -0
- package/dist/{index-BzcgWdfP.js → index-DpTTmc8J.js} +6467 -6403
- package/dist/index.js +285 -274
- package/dist/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/use/index.js +1 -1
- package/dist/use/index.umd.cjs +1 -1
- package/dist/use.d.ts +1 -1
- package/package.json +5 -4
- package/dist/ColorSwatch-DDxjjz-z.js +0 -4
- package/dist/index-uBC8jNlu.js +0 -12
package/dist/Form/FormItem.d.ts
CHANGED
|
@@ -170,11 +170,7 @@ interface FormItemSlots {
|
|
|
170
170
|
*/
|
|
171
171
|
export type FormItemContext = _FormItemContext<FormItemProps, Field>;
|
|
172
172
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FormItemProps, {
|
|
173
|
-
form?: FormType
|
|
174
|
-
/**
|
|
175
|
-
* @deprecated
|
|
176
|
-
*/
|
|
177
|
-
| undefined;
|
|
173
|
+
form?: FormType | undefined;
|
|
178
174
|
field: Field;
|
|
179
175
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
180
176
|
change: (value?: any) => any;
|
|
@@ -184,8 +180,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Fo
|
|
|
184
180
|
"onUpdate:modelValue"?: ((value?: any) => any) | undefined;
|
|
185
181
|
}>, {
|
|
186
182
|
disabled: boolean;
|
|
187
|
-
validateOnBlur: boolean;
|
|
188
183
|
validateOnValueUpdate: boolean;
|
|
184
|
+
validateOnBlur: boolean;
|
|
189
185
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<FormItemSlots> & FormItemSlots>;
|
|
190
186
|
export default _default;
|
|
191
187
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -18,35 +18,27 @@ export interface FormValidationProps {
|
|
|
18
18
|
*/
|
|
19
19
|
class?: ClassValue;
|
|
20
20
|
}
|
|
21
|
-
declare
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
refs: {};
|
|
43
|
-
rootEl: HTMLDivElement;
|
|
44
|
-
};
|
|
45
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
46
|
-
declare const __VLS_component: import('vue').DefineComponent<FormValidationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormValidationProps> & Readonly<{}>, {
|
|
47
|
-
status: FormItemStatus;
|
|
48
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<FormValidationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormValidationProps> & Readonly<{}>, {
|
|
22
|
+
status: "error" | "success" | "warning";
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<{
|
|
24
|
+
/**
|
|
25
|
+
* Default slot for custom content
|
|
26
|
+
*/
|
|
27
|
+
default?: ((data?: object | undefined) => never) | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Slot for custom message content
|
|
30
|
+
*/
|
|
31
|
+
message?: ((data?: object | undefined) => never) | undefined;
|
|
32
|
+
}> & {
|
|
33
|
+
/**
|
|
34
|
+
* Default slot for custom content
|
|
35
|
+
*/
|
|
36
|
+
default?: ((data?: object | undefined) => never) | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Slot for custom message content
|
|
39
|
+
*/
|
|
40
|
+
message?: ((data?: object | undefined) => never) | undefined;
|
|
41
|
+
}>;
|
|
50
42
|
export default _default;
|
|
51
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
44
|
new (): {
|
|
@@ -350,15 +350,15 @@ export interface GOPickerSlots extends Partial<Pick<BaseInputSlots, 'leading' |
|
|
|
350
350
|
export declare const goPickerPrefix: string;
|
|
351
351
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<GOPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
352
352
|
select: (value: GOItem) => any;
|
|
353
|
-
clear: () => any;
|
|
354
353
|
change: (value?: GOPickerModel | undefined) => any;
|
|
354
|
+
clear: () => any;
|
|
355
355
|
"update:modelValue": (value?: GOPickerModel | undefined) => any;
|
|
356
356
|
"update:search": (value?: string | undefined) => any;
|
|
357
357
|
"update:group": (value?: "icon" | "emoji" | undefined) => any;
|
|
358
358
|
}, string, import('vue').PublicProps, Readonly<GOPickerProps> & Readonly<{
|
|
359
359
|
onSelect?: ((value: GOItem) => any) | undefined;
|
|
360
|
-
onClear?: (() => any) | undefined;
|
|
361
360
|
onChange?: ((value?: GOPickerModel | undefined) => any) | undefined;
|
|
361
|
+
onClear?: (() => any) | undefined;
|
|
362
362
|
"onUpdate:modelValue"?: ((value?: GOPickerModel | undefined) => any) | undefined;
|
|
363
363
|
"onUpdate:search"?: ((value?: string | undefined) => any) | undefined;
|
|
364
364
|
"onUpdate:group"?: ((value?: "icon" | "emoji" | undefined) => any) | undefined;
|
|
@@ -366,12 +366,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<GO
|
|
|
366
366
|
disabled: boolean;
|
|
367
367
|
bordered: boolean;
|
|
368
368
|
popoverProps: PopoverProps;
|
|
369
|
-
visibleTabs:
|
|
369
|
+
visibleTabs: ("icon" | "emoji")[];
|
|
370
370
|
colorPopoverProps: PopoverProps;
|
|
371
371
|
fgColorSwatchGroupProps: ColorSwatchGroupProps;
|
|
372
372
|
bgColorSwatchGroupProps: ColorSwatchGroupProps;
|
|
373
373
|
brColorSwatchGroupProps: ColorSwatchGroupProps;
|
|
374
|
-
visibleColorPickers:
|
|
374
|
+
visibleColorPickers: ("br" | "bg" | "fg")[];
|
|
375
375
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<GOPickerSlots> & GOPickerSlots>;
|
|
376
376
|
export default _default;
|
|
377
377
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,15 +22,7 @@ export type GraphicalObjectProps = Partial<Pick<BaseBadgeProps, 'class' | 'icon'
|
|
|
22
22
|
*/
|
|
23
23
|
size?: GraphicalObjectSize;
|
|
24
24
|
};
|
|
25
|
-
declare
|
|
26
|
-
attrs: Partial<{}>;
|
|
27
|
-
slots: Readonly<BaseBadgeSlots> & BaseBadgeSlots;
|
|
28
|
-
refs: {};
|
|
29
|
-
rootEl: any;
|
|
30
|
-
};
|
|
31
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
-
declare const __VLS_component: import('vue').DefineComponent<GraphicalObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GraphicalObjectProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<GraphicalObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GraphicalObjectProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
34
26
|
export default _default;
|
|
35
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
28
|
new (): {
|
|
@@ -44,11 +44,11 @@ interface Context {
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const injectGraphicalObjectGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideGraphicalObjectGroupContext: (contextValue: Context) => Context;
|
|
46
46
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<GraphicalObjectGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GraphicalObjectGroupProps> & Readonly<{}>, {
|
|
47
|
-
size:
|
|
47
|
+
size: "xsm" | "sm" | "md";
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<{
|
|
49
|
-
default?: (params?: object) => never;
|
|
49
|
+
default?: ((params?: object) => never) | undefined;
|
|
50
50
|
}> & {
|
|
51
|
-
default?: (params?: object) => never;
|
|
51
|
+
default?: ((params?: object) => never) | undefined;
|
|
52
52
|
}>;
|
|
53
53
|
export default _default;
|
|
54
54
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -16,14 +16,7 @@ export type HoverCardEmits = HoverCardRootEmits & Omit<PopoverContentEmits, 'ope
|
|
|
16
16
|
* Type definition for HoverCard slots
|
|
17
17
|
*/
|
|
18
18
|
export type HoverCardSlots = PopoverSlots;
|
|
19
|
-
declare
|
|
20
|
-
attrs: Partial<{}>;
|
|
21
|
-
slots: Readonly<PopoverSlots> & PopoverSlots;
|
|
22
|
-
refs: {};
|
|
23
|
-
rootEl: any;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<HoverCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<HoverCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
20
|
"update:open": (value: boolean) => any;
|
|
28
21
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
29
22
|
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
@@ -36,17 +29,16 @@ declare const __VLS_component: import('vue').DefineComponent<HoverCardProps, {},
|
|
|
36
29
|
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
37
30
|
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
38
31
|
}>, {
|
|
39
|
-
size:
|
|
32
|
+
size: "sm" | "md" | "none" | "lg";
|
|
40
33
|
open: boolean;
|
|
41
34
|
prioritizePosition: boolean;
|
|
42
|
-
placement:
|
|
35
|
+
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end";
|
|
43
36
|
sticky: "partial" | "always";
|
|
44
37
|
avoidCollisions: boolean;
|
|
45
|
-
updatePositionStrategy: "
|
|
46
|
-
zIndex:
|
|
38
|
+
updatePositionStrategy: "always" | "optimized";
|
|
39
|
+
zIndex: string | number;
|
|
47
40
|
renderPopupsInContent: boolean;
|
|
48
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<PopoverSlots> & PopoverSlots>;
|
|
50
42
|
export default _default;
|
|
51
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
44
|
new (): {
|
package/dist/Icon/Icon.d.ts
CHANGED
|
@@ -37,22 +37,14 @@ export interface IconProps {
|
|
|
37
37
|
*/
|
|
38
38
|
flipY?: boolean;
|
|
39
39
|
}
|
|
40
|
-
declare
|
|
41
|
-
attrs: Partial<{}>;
|
|
42
|
-
slots: Readonly<{
|
|
43
|
-
default?: (data?: object) => never;
|
|
44
|
-
}> & {
|
|
45
|
-
default?: (data?: object) => never;
|
|
46
|
-
};
|
|
47
|
-
refs: {};
|
|
48
|
-
rootEl: any;
|
|
49
|
-
};
|
|
50
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
51
|
-
declare const __VLS_component: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
|
|
52
41
|
size: IconSize;
|
|
53
42
|
as: import('vue').Component | import('reka-ui').AsTag;
|
|
54
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
55
|
-
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
44
|
+
default?: ((data?: object | undefined) => never) | undefined;
|
|
45
|
+
}> & {
|
|
46
|
+
default?: ((data?: object | undefined) => never) | undefined;
|
|
47
|
+
}>;
|
|
56
48
|
export default _default;
|
|
57
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
50
|
new (): {
|
|
@@ -10,146 +10,7 @@ export type IconButtonProps = Partial<Omit<BaseButtonProps, 'text' | 'variant' |
|
|
|
10
10
|
* Omitting slots that are not relevant for an icon-only button
|
|
11
11
|
*/
|
|
12
12
|
type IconButtonSlots = Omit<BaseButtonSlots, 'preIcon' | 'badgeText' | 'badge' | 'badgeIcon' | 'postIcon' | 'default'>;
|
|
13
|
-
declare
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
|
-
slots: Readonly<IconButtonSlots> & IconButtonSlots;
|
|
16
|
-
refs: {
|
|
17
|
-
buttonRef: ({
|
|
18
|
-
$: import('vue').ComponentInternalInstance;
|
|
19
|
-
$data: {};
|
|
20
|
-
$props: {
|
|
21
|
-
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
22
|
-
readonly class?: import('clsx').ClassValue;
|
|
23
|
-
readonly text?: string | number | undefined;
|
|
24
|
-
readonly size?: import('..').ButtonSize | undefined;
|
|
25
|
-
readonly color?: import('..').ButtonColor | undefined;
|
|
26
|
-
readonly noRing?: boolean | undefined;
|
|
27
|
-
readonly type?: import('..').ButtonType | undefined;
|
|
28
|
-
readonly variant?: import('..').ButtonVariant | undefined;
|
|
29
|
-
readonly loading?: boolean | undefined;
|
|
30
|
-
readonly action?: boolean | undefined;
|
|
31
|
-
readonly active?: boolean | undefined;
|
|
32
|
-
readonly badgeText?: string | undefined;
|
|
33
|
-
readonly badgeIcon?: string | undefined;
|
|
34
|
-
readonly icon?: string | undefined;
|
|
35
|
-
readonly preIcon?: string | undefined;
|
|
36
|
-
readonly postIcon?: string | undefined;
|
|
37
|
-
readonly customStroke?: boolean | undefined;
|
|
38
|
-
readonly preIconCustomStroke?: boolean | undefined;
|
|
39
|
-
readonly postIconCustomStroke?: boolean | undefined;
|
|
40
|
-
readonly flipOnDir?: import('..').FlipOnDir | undefined;
|
|
41
|
-
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
42
|
-
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
43
|
-
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
44
|
-
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
45
|
-
readonly block?: boolean | undefined;
|
|
46
|
-
readonly disabled?: boolean | undefined;
|
|
47
|
-
readonly hover?: boolean | undefined;
|
|
48
|
-
readonly href?: string | undefined;
|
|
49
|
-
readonly target?: string | undefined;
|
|
50
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
|
-
$attrs: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
};
|
|
55
|
-
$refs: {
|
|
56
|
-
[x: string]: unknown;
|
|
57
|
-
} & {
|
|
58
|
-
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
-
asChild: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
as: {
|
|
64
|
-
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
70
|
-
asChild: boolean;
|
|
71
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
72
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
73
|
-
P: {};
|
|
74
|
-
B: {};
|
|
75
|
-
D: {};
|
|
76
|
-
C: {};
|
|
77
|
-
M: {};
|
|
78
|
-
Defaults: {};
|
|
79
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
80
|
-
asChild: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
as: {
|
|
85
|
-
type: import('vue').PropType<import('reka-ui').AsTag | import('vue').Component>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}>, {}, {}, {}, {
|
|
91
|
-
asChild: boolean;
|
|
92
|
-
as: import('reka-ui').AsTag | import('vue').Component;
|
|
93
|
-
}> | null;
|
|
94
|
-
};
|
|
95
|
-
$slots: Readonly<{
|
|
96
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
97
|
-
}>;
|
|
98
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
99
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
100
|
-
$host: Element | null;
|
|
101
|
-
$emit: (event: "click", ...args: any[]) => void;
|
|
102
|
-
$el: any;
|
|
103
|
-
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{
|
|
104
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
105
|
-
}>, {
|
|
106
|
-
focus(): void;
|
|
107
|
-
blur(): void;
|
|
108
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
109
|
-
click: (...args: any[]) => void;
|
|
110
|
-
}, string, {
|
|
111
|
-
type: import('..').ButtonType;
|
|
112
|
-
color: import('..').ButtonColor;
|
|
113
|
-
htmlType: "reset" | "submit" | "button";
|
|
114
|
-
disabled: boolean;
|
|
115
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
116
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
117
|
-
created?: (() => void) | (() => void)[];
|
|
118
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
119
|
-
mounted?: (() => void) | (() => void)[];
|
|
120
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
121
|
-
updated?: (() => void) | (() => void)[];
|
|
122
|
-
activated?: (() => void) | (() => void)[];
|
|
123
|
-
deactivated?: (() => void) | (() => void)[];
|
|
124
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
125
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
126
|
-
destroyed?: (() => void) | (() => void)[];
|
|
127
|
-
unmounted?: (() => void) | (() => void)[];
|
|
128
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
129
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
130
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
131
|
-
};
|
|
132
|
-
$forceUpdate: () => void;
|
|
133
|
-
$nextTick: typeof import('vue').nextTick;
|
|
134
|
-
$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;
|
|
135
|
-
} & Readonly<{
|
|
136
|
-
type: import('..').ButtonType;
|
|
137
|
-
color: import('..').ButtonColor;
|
|
138
|
-
htmlType: "reset" | "submit" | "button";
|
|
139
|
-
disabled: boolean;
|
|
140
|
-
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
141
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
142
|
-
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
143
|
-
focus(): void;
|
|
144
|
-
blur(): void;
|
|
145
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
146
|
-
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
147
|
-
}) | null;
|
|
148
|
-
};
|
|
149
|
-
rootEl: any;
|
|
150
|
-
};
|
|
151
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
152
|
-
declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseButtonProps, "text" | "variant" | "action" | "active" | "preIcon" | "postIcon" | "badgeText" | "badgeIcon" | "preIconFlipOnDir" | "postIconFlipOnDir" | "badgeIconFlipOnDir">>, {
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Partial<Omit<BaseButtonProps, "text" | "variant" | "action" | "active" | "preIcon" | "postIcon" | "badgeText" | "badgeIcon" | "preIconFlipOnDir" | "postIconFlipOnDir" | "badgeIconFlipOnDir">>, {
|
|
153
14
|
/**
|
|
154
15
|
* Focus the button element
|
|
155
16
|
*/
|
|
@@ -166,11 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
166
27
|
readonly as?: import('vue').Component | import('reka-ui').AsTag | undefined;
|
|
167
28
|
readonly class?: import('clsx').ClassValue;
|
|
168
29
|
readonly text?: string | number | undefined;
|
|
169
|
-
readonly size?:
|
|
170
|
-
readonly color?:
|
|
30
|
+
readonly size?: "sm" | "md" | "lg" | undefined;
|
|
31
|
+
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;
|
|
171
32
|
readonly noRing?: boolean | undefined;
|
|
172
|
-
readonly type?:
|
|
173
|
-
readonly variant?:
|
|
33
|
+
readonly type?: "fill" | "outline" | "ghost" | undefined;
|
|
34
|
+
readonly variant?: "icon" | "simple" | "float" | undefined;
|
|
174
35
|
readonly loading?: boolean | undefined;
|
|
175
36
|
readonly action?: boolean | undefined;
|
|
176
37
|
readonly active?: boolean | undefined;
|
|
@@ -186,7 +47,7 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
186
47
|
readonly preIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
187
48
|
readonly postIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
188
49
|
readonly badgeIconFlipOnDir?: import('..').FlipOnDir | undefined;
|
|
189
|
-
readonly htmlType?: "
|
|
50
|
+
readonly htmlType?: "button" | "reset" | "submit" | undefined;
|
|
190
51
|
readonly block?: boolean | undefined;
|
|
191
52
|
readonly disabled?: boolean | undefined;
|
|
192
53
|
readonly hover?: boolean | undefined;
|
|
@@ -206,14 +67,14 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
206
67
|
default: boolean;
|
|
207
68
|
};
|
|
208
69
|
as: {
|
|
209
|
-
type: import('vue').PropType<import('
|
|
70
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
210
71
|
default: string;
|
|
211
72
|
};
|
|
212
73
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
213
74
|
[key: string]: any;
|
|
214
75
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
215
76
|
asChild: boolean;
|
|
216
|
-
as: import('
|
|
77
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
217
78
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
218
79
|
P: {};
|
|
219
80
|
B: {};
|
|
@@ -227,21 +88,21 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
227
88
|
default: boolean;
|
|
228
89
|
};
|
|
229
90
|
as: {
|
|
230
|
-
type: import('vue').PropType<import('
|
|
91
|
+
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
231
92
|
default: string;
|
|
232
93
|
};
|
|
233
94
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
234
95
|
[key: string]: any;
|
|
235
96
|
}>, {}, {}, {}, {
|
|
236
97
|
asChild: boolean;
|
|
237
|
-
as: import('
|
|
98
|
+
as: import('vue').Component | import('reka-ui').AsTag;
|
|
238
99
|
}> | null;
|
|
239
100
|
};
|
|
240
101
|
$slots: Readonly<{
|
|
241
102
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
242
103
|
}>;
|
|
243
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
244
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
104
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
105
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
245
106
|
$host: Element | null;
|
|
246
107
|
$emit: (event: "click", ...args: any[]) => void;
|
|
247
108
|
$el: any;
|
|
@@ -253,34 +114,34 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
253
114
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
254
115
|
click: (...args: any[]) => void;
|
|
255
116
|
}, string, {
|
|
256
|
-
type:
|
|
257
|
-
color:
|
|
258
|
-
htmlType: "
|
|
117
|
+
type: "fill" | "outline" | "ghost";
|
|
118
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
119
|
+
htmlType: "button" | "reset" | "submit";
|
|
259
120
|
disabled: boolean;
|
|
260
121
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
261
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
262
|
-
created?: (() => void) | (() => void)[];
|
|
263
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
264
|
-
mounted?: (() => void) | (() => void)[];
|
|
265
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
266
|
-
updated?: (() => void) | (() => void)[];
|
|
267
|
-
activated?: (() => void) | (() => void)[];
|
|
268
|
-
deactivated?: (() => void) | (() => void)[];
|
|
269
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
270
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
271
|
-
destroyed?: (() => void) | (() => void)[];
|
|
272
|
-
unmounted?: (() => void) | (() => void)[];
|
|
273
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
274
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
275
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
122
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
125
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
126
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
127
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
128
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
129
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
130
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
131
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
135
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
136
|
+
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;
|
|
276
137
|
};
|
|
277
138
|
$forceUpdate: () => void;
|
|
278
139
|
$nextTick: typeof import('vue').nextTick;
|
|
279
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (
|
|
140
|
+
$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;
|
|
280
141
|
} & Readonly<{
|
|
281
|
-
type:
|
|
282
|
-
color:
|
|
283
|
-
htmlType: "
|
|
142
|
+
type: "fill" | "outline" | "ghost";
|
|
143
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
144
|
+
htmlType: "button" | "reset" | "submit";
|
|
284
145
|
disabled: boolean;
|
|
285
146
|
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
286
147
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -290,8 +151,7 @@ declare const __VLS_component: import('vue').DefineComponent<Partial<Omit<BaseBu
|
|
|
290
151
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
291
152
|
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
292
153
|
}) | null;
|
|
293
|
-
}, any>;
|
|
294
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
154
|
+
}, any>, Readonly<IconButtonSlots> & IconButtonSlots>;
|
|
295
155
|
export default _default;
|
|
296
156
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
297
157
|
new (): {
|
package/dist/Image/Image.d.ts
CHANGED
|
@@ -79,27 +79,19 @@ export interface ImageSlots {
|
|
|
79
79
|
*/
|
|
80
80
|
actions?: () => never;
|
|
81
81
|
}
|
|
82
|
-
declare
|
|
83
|
-
attrs: Partial<{}>;
|
|
84
|
-
slots: Readonly<ImageSlots> & ImageSlots;
|
|
85
|
-
refs: {};
|
|
86
|
-
rootEl: HTMLDivElement;
|
|
87
|
-
};
|
|
88
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
89
|
-
declare const __VLS_component: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
82
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
90
83
|
error: () => any;
|
|
91
84
|
load: () => any;
|
|
92
85
|
}, string, import('vue').PublicProps, Readonly<ImageProps> & Readonly<{
|
|
93
86
|
onError?: (() => any) | undefined;
|
|
94
87
|
onLoad?: (() => any) | undefined;
|
|
95
88
|
}>, {
|
|
96
|
-
type:
|
|
97
|
-
objectFit:
|
|
98
|
-
objectPosition:
|
|
89
|
+
type: "horizontal" | "vertical";
|
|
90
|
+
objectFit: string;
|
|
91
|
+
objectPosition: string;
|
|
99
92
|
src: string;
|
|
100
93
|
fallbackDescription: string;
|
|
101
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
102
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<ImageSlots> & ImageSlots>;
|
|
103
95
|
export default _default;
|
|
104
96
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
97
|
new (): {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { IndentLevelShowLine, IndentLevelSize } from './IndentLevel.model';
|
|
3
2
|
import { ClassValue } from 'clsx';
|
|
4
3
|
import { Direction } from '../ConfigProvider';
|
|
@@ -14,7 +13,7 @@ export interface IndentLevelProps {
|
|
|
14
13
|
/**
|
|
15
14
|
* Controls the visibility and placement of lines indicating hierarchical relationships
|
|
16
15
|
*/
|
|
17
|
-
showLine?: IndentLevelShowLine | number | false;
|
|
16
|
+
showLine?: IndentLevelShowLine | string | number | false;
|
|
18
17
|
/**
|
|
19
18
|
* Whether the current level contains nested or child elements
|
|
20
19
|
*/
|
|
@@ -50,71 +49,13 @@ export interface IndentLevelProps {
|
|
|
50
49
|
*/
|
|
51
50
|
noRotateBranch?: boolean;
|
|
52
51
|
}
|
|
53
|
-
declare
|
|
54
|
-
attrs: Partial<{}>;
|
|
55
|
-
slots: {
|
|
56
|
-
default?(_: {}): any;
|
|
57
|
-
};
|
|
58
|
-
refs: {};
|
|
59
|
-
rootEl: HTMLDivElement;
|
|
60
|
-
};
|
|
61
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
62
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
63
|
-
size: {
|
|
64
|
-
type: PropType<IndentLevelSize>;
|
|
65
|
-
default: string;
|
|
66
|
-
};
|
|
67
|
-
showLine: {
|
|
68
|
-
type: PropType<IndentLevelShowLine | number | false>;
|
|
69
|
-
validator: (value: any) => boolean;
|
|
70
|
-
};
|
|
71
|
-
children: BooleanConstructor;
|
|
72
|
-
level: {
|
|
73
|
-
type: PropType<number | string>;
|
|
74
|
-
default: number;
|
|
75
|
-
};
|
|
76
|
-
expanded: BooleanConstructor;
|
|
77
|
-
dir: PropType<Direction>;
|
|
78
|
-
loading: BooleanConstructor;
|
|
79
|
-
class: PropType<ClassValue>;
|
|
80
|
-
branchIcon: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
noRotateBranch: BooleanConstructor;
|
|
85
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
86
|
-
size: {
|
|
87
|
-
type: PropType<IndentLevelSize>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
showLine: {
|
|
91
|
-
type: PropType<IndentLevelShowLine | number | false>;
|
|
92
|
-
validator: (value: any) => boolean;
|
|
93
|
-
};
|
|
94
|
-
children: BooleanConstructor;
|
|
95
|
-
level: {
|
|
96
|
-
type: PropType<number | string>;
|
|
97
|
-
default: number;
|
|
98
|
-
};
|
|
99
|
-
expanded: BooleanConstructor;
|
|
100
|
-
dir: PropType<Direction>;
|
|
101
|
-
loading: BooleanConstructor;
|
|
102
|
-
class: PropType<ClassValue>;
|
|
103
|
-
branchIcon: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
noRotateBranch: BooleanConstructor;
|
|
108
|
-
}>> & Readonly<{}>, {
|
|
109
|
-
children: boolean;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IndentLevelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IndentLevelProps> & Readonly<{}>, {
|
|
110
53
|
size: "2xsm" | "xsm" | "sm";
|
|
111
|
-
loading: boolean;
|
|
112
|
-
expanded: boolean;
|
|
113
54
|
branchIcon: string;
|
|
114
55
|
level: string | number;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
57
|
+
default?(_: {}): any;
|
|
58
|
+
}>;
|
|
118
59
|
export default _default;
|
|
119
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
120
61
|
new (): {
|