sard-uniapp 1.8.1 → 1.8.2
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/changelog.md +9 -0
- package/components/_template/_template.d.ts +7 -22
- package/components/accordion/accordion.d.ts +6 -21
- package/components/accordion-item/accordion-item.d.ts +6 -21
- package/components/action-sheet/action-sheet.d.ts +10 -33
- package/components/alert/alert.d.ts +8 -27
- package/components/alert/common.d.ts +1 -1
- package/components/alert/index.scss +6 -2
- package/components/avatar/avatar.d.ts +4 -23
- package/components/avatar/common.d.ts +1 -1
- package/components/back-top/back-top.d.ts +7 -28
- package/components/back-top/usePageBackTop.d.ts +1 -1
- package/components/back-top/useScrollViewBackTop.d.ts +1 -1
- package/components/badge/badge.d.ts +5 -26
- package/components/button/button.d.ts +13 -66
- package/components/button/common.d.ts +3 -3
- package/components/button/index.scss +3 -2
- package/components/calendar/calendar.d.ts +5 -30
- package/components/calendar/common.d.ts +1 -1
- package/components/calendar-input/calendar-input.d.ts +6 -35
- package/components/calendar-input/common.d.ts +1 -1
- package/components/calendar-month/calendar-month.d.ts +4 -21
- package/components/card/card.d.ts +6 -21
- package/components/cascader/cascader.d.ts +8 -27
- package/components/cascader-input/cascader-input.d.ts +9 -30
- package/components/check-icon/check-icon.d.ts +3 -26
- package/components/checkbox/checkbox.d.ts +10 -29
- package/components/checkbox/common.d.ts +1 -1
- package/components/checkbox-group/checkbox-group.d.ts +11 -32
- package/components/checkbox-input/checkbox-input.d.ts +6 -29
- package/components/col/col.d.ts +3 -18
- package/components/collapse/collapse.d.ts +3 -18
- package/components/config/index.d.ts +87 -52
- package/components/count-down/count-down.d.ts +9 -32
- package/components/count-to/count-to.d.ts +2 -29
- package/components/datetime-picker/datetime-picker.d.ts +5 -26
- package/components/datetime-picker-input/datetime-picker-input.d.ts +6 -29
- package/components/dialog/common.d.ts +1 -1
- package/components/dialog/dialog.d.ts +15 -44
- package/components/dialog-agent/common.d.ts +1 -1
- package/components/dialog-agent/dialog-agent.d.ts +3 -36
- package/components/dropdown/common.d.ts +1 -1
- package/components/dropdown/dropdown.d.ts +4 -31
- package/components/dropdown-item/dropdown-item.d.ts +8 -27
- package/components/empty/empty.d.ts +4 -23
- package/components/fab/fab.d.ts +6 -33
- package/components/floating-bubble/common.d.ts +1 -1
- package/components/floating-bubble/floating-bubble.d.ts +9 -32
- package/components/form/Validator.d.ts +3 -3
- package/components/form/common.d.ts +2 -10
- package/components/form/form.d.ts +9 -42
- package/components/form-item/form-item.d.ts +6 -27
- package/components/grid/common.d.ts +1 -1
- package/components/grid/grid.d.ts +5 -26
- package/components/grid-item/grid-item.d.ts +6 -21
- package/components/icon/icon.d.ts +2 -25
- package/components/indexes/indexes.d.ts +7 -22
- package/components/indexes-anchor/indexes-anchor.d.ts +3 -18
- package/components/indexes-nav/indexes-nav.d.ts +6 -21
- package/components/input/common.d.ts +2 -2
- package/components/input/input.d.ts +17 -60
- package/components/keyboard/common.d.ts +1 -1
- package/components/keyboard/keyboard.d.ts +9 -28
- package/components/list/common.d.ts +1 -1
- package/components/list/list.d.ts +3 -18
- package/components/list-item/list-item.d.ts +8 -27
- package/components/load-more/load-more.d.ts +8 -27
- package/components/loading/common.d.ts +1 -1
- package/components/loading/loading.d.ts +5 -28
- package/components/locale/index.d.ts +1 -1
- package/components/marquee/common.d.ts +1 -1
- package/components/marquee/marquee.d.ts +5 -28
- package/components/menu/menu.d.ts +5 -26
- package/components/menu-item/menu-item.d.ts +4 -21
- package/components/navbar/navbar.d.ts +3 -18
- package/components/navbar-item/navbar-item.d.ts +6 -21
- package/components/notice-bar/common.d.ts +1 -1
- package/components/notice-bar/notice-bar.d.ts +9 -34
- package/components/notify/common.d.ts +2 -2
- package/components/notify/notify.d.ts +8 -35
- package/components/notify-agent/common.d.ts +2 -2
- package/components/notify-agent/notify-agent.d.ts +3 -32
- package/components/overlay/overlay.d.ts +7 -26
- package/components/pagination/common.d.ts +1 -1
- package/components/pagination/pagination.d.ts +8 -37
- package/components/password-input/common.d.ts +1 -1
- package/components/password-input/password-input.d.ts +6 -31
- package/components/picker/picker.d.ts +5 -28
- package/components/picker-input/picker-input.d.ts +6 -31
- package/components/popout/common.d.ts +1 -1
- package/components/popout/popout.d.ts +15 -44
- package/components/popout-input/popout-input.d.ts +6 -23
- package/components/popout-input/popout-input.vue +1 -1
- package/components/popover/common.d.ts +3 -3
- package/components/popover/popover.d.ts +9 -40
- package/components/popover-reference/popover-reference.d.ts +6 -21
- package/components/popup/common.d.ts +1 -1
- package/components/popup/popup.d.ts +11 -50
- package/components/progress-bar/progress-bar.d.ts +4 -25
- package/components/progress-circle/progress-circle.d.ts +4 -25
- package/components/pull-down-refresh/pull-down-refresh.d.ts +10 -39
- package/components/qrcode/common.d.ts +2 -2
- package/components/qrcode/qrcode.d.ts +3 -38
- package/components/radio/common.d.ts +1 -1
- package/components/radio/radio.d.ts +6 -21
- package/components/radio-group/radio-group.d.ts +9 -30
- package/components/radio-input/common.d.ts +1 -1
- package/components/radio-input/radio-input.d.ts +6 -31
- package/components/rate/rate.d.ts +5 -32
- package/components/result/common.d.ts +1 -1
- package/components/result/result.d.ts +5 -24
- package/components/row/row.d.ts +3 -18
- package/components/sard-uniapp/sard-uniapp.d.ts +1 -1
- package/components/search/common.d.ts +1 -1
- package/components/search/search.d.ts +17 -38
- package/components/share-sheet/share-sheet.d.ts +10 -33
- package/components/skeleton/skeleton.d.ts +4 -25
- package/components/skeleton-avatar/skeleton-avatar.d.ts +1 -18
- package/components/skeleton-block/skeleton-block.d.ts +1 -18
- package/components/skeleton-paragraph/skeleton-paragraph.d.ts +1 -18
- package/components/skeleton-title/skeleton-title.d.ts +1 -18
- package/components/slider/slider.d.ts +10 -35
- package/components/stepper/common.d.ts +2 -2
- package/components/stepper/stepper.d.ts +9 -46
- package/components/steps/common.d.ts +1 -1
- package/components/steps/steps.d.ts +2 -35
- package/components/style/functions.scss +22 -0
- package/components/style/mixins/bem.scss +3 -2
- package/components/style/variables.scss +6 -6
- package/components/swiper-dot/common.d.ts +1 -1
- package/components/swiper-dot/swiper-dot.d.ts +3 -30
- package/components/switch/switch.d.ts +7 -32
- package/components/tab/tab.d.ts +6 -21
- package/components/tabbar/tabbar.d.ts +7 -26
- package/components/tabbar-item/tabbar-item.d.ts +6 -21
- package/components/tabs/common.d.ts +1 -1
- package/components/tabs/tabs.d.ts +7 -26
- package/components/tag/common.d.ts +2 -2
- package/components/tag/index.scss +2 -1
- package/components/tag/tag.d.ts +9 -30
- package/components/timeline/timeline.d.ts +3 -18
- package/components/timeline-item/timeline-item.d.ts +3 -18
- package/components/toast/common.d.ts +2 -2
- package/components/toast/toast.d.ts +8 -37
- package/components/toast-agent/common.d.ts +2 -2
- package/components/toast-agent/toast-agent.d.ts +4 -35
- package/components/tree/common.d.ts +1 -1
- package/components/tree/tree.d.ts +3 -30
- package/components/tree-branch/tree-branch.d.ts +1 -18
- package/components/tree-node/tree-node.d.ts +1 -18
- package/components/upload/common.d.ts +3 -11
- package/components/upload/upload.d.ts +9 -42
- package/components/upload/upload.vue +0 -1
- package/components/upload-preview/upload-preview.d.ts +6 -27
- package/components/upload-preview/upload-preview.vue +0 -1
- package/package.json +118 -17
- package/use/useLuckyGrid.d.ts +1 -1
- package/use/useLuckyWheel.d.ts +1 -1
- package/use/useTransition.d.ts +2 -2
- package/use/useZIndex.d.ts +1 -1
- package/utils/utils.js +0 -1
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { type PopoverReferenceProps, type PopoverReferenceSlots } from '../popover/common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare function __VLS_template(): Readonly<PopoverReferenceSlots> & PopoverReferenceSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<PopoverReferenceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
click: (event: any) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<PopoverReferenceProps> & Readonly<{
|
|
5
6
|
onClick?: ((event: any) => any) | undefined;
|
|
6
|
-
}, {}, {}
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
9
|
export default _default;
|
|
8
|
-
type __VLS_WithDefaults<P, D> = {
|
|
9
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
10
|
-
default: D[K];
|
|
11
|
-
}> : P[K];
|
|
12
|
-
};
|
|
13
|
-
type __VLS_Prettify<T> = {
|
|
14
|
-
[K in keyof T]: T[K];
|
|
15
|
-
} & {};
|
|
16
10
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
11
|
new (): {
|
|
18
12
|
$slots: S;
|
|
19
13
|
};
|
|
20
14
|
};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -14,7 +14,7 @@ export interface PopupProps {
|
|
|
14
14
|
}
|
|
15
15
|
export declare const defaultPopupProps: {
|
|
16
16
|
duration: number;
|
|
17
|
-
effect: "
|
|
17
|
+
effect: PopupProps["effect"];
|
|
18
18
|
overlay: boolean;
|
|
19
19
|
};
|
|
20
20
|
export interface PopupSlots {
|
|
@@ -1,59 +1,20 @@
|
|
|
1
1
|
import { type PopupProps, type PopupSlots } from './common';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<PopupSlots> & PopupSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<PopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
} & {
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<PopupProps> & Readonly<{
|
|
8
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade";
|
|
3
11
|
duration: number;
|
|
4
|
-
effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | undefined;
|
|
5
12
|
overlay: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
"before-enter": () => void;
|
|
9
|
-
enter: () => void;
|
|
10
|
-
"after-enter": () => void;
|
|
11
|
-
"enter-cancelled": () => void;
|
|
12
|
-
"before-leave": () => void;
|
|
13
|
-
leave: () => void;
|
|
14
|
-
"after-leave": () => void;
|
|
15
|
-
"leave-cancelled": () => void;
|
|
16
|
-
"visible-hook": (name: import("../../use").TransitionHookName) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopupProps>, {
|
|
18
|
-
duration: number;
|
|
19
|
-
effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | undefined;
|
|
20
|
-
overlay: boolean;
|
|
21
|
-
}>>> & {
|
|
22
|
-
"onBefore-enter"?: (() => any) | undefined;
|
|
23
|
-
onEnter?: (() => any) | undefined;
|
|
24
|
-
"onAfter-enter"?: (() => any) | undefined;
|
|
25
|
-
"onEnter-cancelled"?: (() => any) | undefined;
|
|
26
|
-
"onBefore-leave"?: (() => any) | undefined;
|
|
27
|
-
onLeave?: (() => any) | undefined;
|
|
28
|
-
"onAfter-leave"?: (() => any) | undefined;
|
|
29
|
-
"onLeave-cancelled"?: (() => any) | undefined;
|
|
30
|
-
"onVisible-hook"?: ((name: import("../../use").TransitionHookName) => any) | undefined;
|
|
31
|
-
"onOverlay-click"?: ((event: any) => any) | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
effect: "fade" | "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom";
|
|
34
|
-
duration: number;
|
|
35
|
-
overlay: boolean;
|
|
36
|
-
}, {}>, Readonly<PopupSlots> & PopupSlots>;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
15
|
export default _default;
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
17
|
new (): {
|
|
48
18
|
$slots: S;
|
|
49
19
|
};
|
|
50
20
|
};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
@@ -1,34 +1,13 @@
|
|
|
1
1
|
import { type ProgressBarProps, type ProgressBarSlots } from './common';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<ProgressBarSlots> & ProgressBarSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
3
4
|
percent: number;
|
|
4
5
|
showText: boolean;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
showText: boolean;
|
|
8
|
-
}>>>, {
|
|
9
|
-
percent: number;
|
|
10
|
-
showText: boolean;
|
|
11
|
-
}, {}>, Readonly<ProgressBarSlots> & ProgressBarSlots>;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
8
|
export default _default;
|
|
13
|
-
type __VLS_WithDefaults<P, D> = {
|
|
14
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
15
|
-
default: D[K];
|
|
16
|
-
}> : P[K];
|
|
17
|
-
};
|
|
18
|
-
type __VLS_Prettify<T> = {
|
|
19
|
-
[K in keyof T]: T[K];
|
|
20
|
-
} & {};
|
|
21
9
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
10
|
new (): {
|
|
23
11
|
$slots: S;
|
|
24
12
|
};
|
|
25
13
|
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,34 +1,13 @@
|
|
|
1
1
|
import { type ProgressCircleProps, type ProgressCircleSlots } from './common';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<ProgressCircleSlots> & ProgressCircleSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<ProgressCircleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressCircleProps> & Readonly<{}>, {
|
|
3
4
|
percent: number;
|
|
4
5
|
thickness: number;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
thickness: number;
|
|
8
|
-
}>>>, {
|
|
9
|
-
percent: number;
|
|
10
|
-
thickness: number;
|
|
11
|
-
}, {}>, Readonly<ProgressCircleSlots> & ProgressCircleSlots>;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
8
|
export default _default;
|
|
13
|
-
type __VLS_WithDefaults<P, D> = {
|
|
14
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
15
|
-
default: D[K];
|
|
16
|
-
}> : P[K];
|
|
17
|
-
};
|
|
18
|
-
type __VLS_Prettify<T> = {
|
|
19
|
-
[K in keyof T]: T[K];
|
|
20
|
-
} & {};
|
|
21
9
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
10
|
new (): {
|
|
23
11
|
$slots: S;
|
|
24
12
|
};
|
|
25
13
|
};
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,60 +1,31 @@
|
|
|
1
|
-
import { type PullDownRefreshProps, type PullDownRefreshSlots, type PullDownRefreshStatus } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
threshold: number;
|
|
6
|
-
headerHeight: number;
|
|
7
|
-
transitionDuration: number;
|
|
8
|
-
doneDuration: number;
|
|
9
|
-
}>, {
|
|
1
|
+
import { type PullDownRefreshProps, type PullDownRefreshSlots, type PullDownRefreshEmits, type PullDownRefreshStatus } from './common';
|
|
2
|
+
declare function __VLS_template(): Readonly<PullDownRefreshSlots> & PullDownRefreshSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<PullDownRefreshProps, {
|
|
10
4
|
enableToRefresh: (canRefresh: boolean) => void;
|
|
11
5
|
_setStatus: (status: PullDownRefreshStatus) => void;
|
|
12
6
|
_emit: (event: {
|
|
13
|
-
name:
|
|
7
|
+
name: Parameters<PullDownRefreshEmits>[0];
|
|
14
8
|
payload?: any;
|
|
15
9
|
}) => void;
|
|
16
10
|
_toRecovering: () => void;
|
|
17
11
|
_toLoading: () => void;
|
|
18
12
|
_setTranslateY: (y: number) => void;
|
|
19
|
-
},
|
|
20
|
-
refresh: () =>
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
22
|
-
loading: boolean;
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
threshold: number;
|
|
25
|
-
headerHeight: number;
|
|
26
|
-
transitionDuration: number;
|
|
27
|
-
doneDuration: number;
|
|
28
|
-
}>>> & {
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
refresh: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<PullDownRefreshProps> & Readonly<{
|
|
29
16
|
onRefresh?: (() => any) | undefined;
|
|
30
|
-
}
|
|
17
|
+
}>, {
|
|
31
18
|
disabled: boolean;
|
|
32
19
|
loading: boolean;
|
|
33
20
|
threshold: number;
|
|
34
21
|
headerHeight: number;
|
|
35
22
|
transitionDuration: number;
|
|
36
23
|
doneDuration: number;
|
|
37
|
-
}, {}
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
26
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
28
|
new (): {
|
|
49
29
|
$slots: S;
|
|
50
30
|
};
|
|
51
31
|
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -12,10 +12,10 @@ export interface QrcodeProps {
|
|
|
12
12
|
quietZoneModules?: number;
|
|
13
13
|
}
|
|
14
14
|
export declare const defaultQrcodeProps: {
|
|
15
|
-
ecl: "
|
|
15
|
+
ecl: QrcodeProps["ecl"];
|
|
16
16
|
size: string;
|
|
17
17
|
canvasSize: number;
|
|
18
|
-
type: "
|
|
18
|
+
type: QrcodeProps["type"];
|
|
19
19
|
text: string;
|
|
20
20
|
color: string;
|
|
21
21
|
bgColor: string;
|
|
@@ -1,47 +1,12 @@
|
|
|
1
1
|
import { type QrcodeProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
ecl: "M" | "H" | "L" | "Q" | undefined;
|
|
4
|
-
size: string;
|
|
5
|
-
canvasSize: number;
|
|
6
|
-
type: "canvas" | "image" | undefined;
|
|
7
|
-
text: string;
|
|
8
|
-
color: string;
|
|
9
|
-
bgColor: string;
|
|
10
|
-
quietZoneModules: number;
|
|
11
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<QrcodeProps>, {
|
|
12
|
-
ecl: "M" | "H" | "L" | "Q" | undefined;
|
|
13
|
-
size: string;
|
|
14
|
-
canvasSize: number;
|
|
15
|
-
type: "canvas" | "image" | undefined;
|
|
16
|
-
text: string;
|
|
17
|
-
color: string;
|
|
18
|
-
bgColor: string;
|
|
19
|
-
quietZoneModules: number;
|
|
20
|
-
}>>>, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<QrcodeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<QrcodeProps> & Readonly<{}>, {
|
|
21
3
|
text: string;
|
|
22
|
-
ecl: "
|
|
4
|
+
ecl: "L" | "M" | "Q" | "H";
|
|
23
5
|
size: string;
|
|
24
6
|
type: "canvas" | "image";
|
|
25
7
|
canvasSize: number;
|
|
26
8
|
color: string;
|
|
27
9
|
bgColor: string;
|
|
28
10
|
quietZoneModules: number;
|
|
29
|
-
}, {}>;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
12
|
export default _default;
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -47,7 +47,7 @@ export interface RadioGroupProps {
|
|
|
47
47
|
optionKeys?: RadioGroupOptionKeys;
|
|
48
48
|
}
|
|
49
49
|
export declare const defaultRadioGroupProps: {
|
|
50
|
-
direction: "
|
|
50
|
+
direction: RadioGroupProps["direction"];
|
|
51
51
|
validateEvent: boolean;
|
|
52
52
|
};
|
|
53
53
|
export interface RadioGroupSlots {
|
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { type RadioProps, type RadioSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare function __VLS_template(): Readonly<RadioSlots> & RadioSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
click: (event: any) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<RadioProps> & Readonly<{
|
|
5
6
|
onClick?: ((event: any) => any) | undefined;
|
|
6
|
-
}, {}, {}
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
9
|
export default _default;
|
|
8
|
-
type __VLS_WithDefaults<P, D> = {
|
|
9
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
10
|
-
default: D[K];
|
|
11
|
-
}> : P[K];
|
|
12
|
-
};
|
|
13
|
-
type __VLS_Prettify<T> = {
|
|
14
|
-
[K in keyof T]: T[K];
|
|
15
|
-
} & {};
|
|
16
10
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
11
|
new (): {
|
|
18
12
|
$slots: S;
|
|
19
13
|
};
|
|
20
14
|
};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,40 +1,19 @@
|
|
|
1
1
|
import { type RadioGroupProps, type RadioGroupSlots } from '../radio/common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
change: (value: any) => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioGroupProps>, {
|
|
9
|
-
direction: "vertical" | "horizontal" | undefined;
|
|
10
|
-
validateEvent: boolean;
|
|
11
|
-
}>>> & {
|
|
2
|
+
declare function __VLS_template(): Readonly<RadioGroupSlots> & RadioGroupSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:model-value": (value: any) => any;
|
|
5
|
+
change: (value: any) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{
|
|
12
7
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
13
8
|
onChange?: ((value: any) => any) | undefined;
|
|
14
|
-
}
|
|
15
|
-
direction: "
|
|
9
|
+
}>, {
|
|
10
|
+
direction: "horizontal" | "vertical";
|
|
16
11
|
validateEvent: boolean;
|
|
17
|
-
}, {}
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
14
|
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
16
|
new (): {
|
|
29
17
|
$slots: S;
|
|
30
18
|
};
|
|
31
19
|
};
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToOption<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -8,7 +8,7 @@ export interface RadioInputProps extends RadioGroupProps, Omit<PopoutInputProps,
|
|
|
8
8
|
export declare const defaultRadioInputProps: {
|
|
9
9
|
options: () => never[];
|
|
10
10
|
validateEvent: boolean;
|
|
11
|
-
type:
|
|
11
|
+
type: RadioInputProps["type"];
|
|
12
12
|
};
|
|
13
13
|
export interface RadioInputEmits {
|
|
14
14
|
(e: 'update:visible', visible: boolean): void;
|
|
@@ -1,38 +1,13 @@
|
|
|
1
1
|
import { type RadioInputProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:visible": (visible: boolean) => void;
|
|
8
|
-
"update:model-value": (value: any) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioInputProps>, {
|
|
10
|
-
options: () => never[];
|
|
11
|
-
validateEvent: boolean;
|
|
12
|
-
type: import("../radio/common").IconType | undefined;
|
|
13
|
-
}>>> & {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<RadioInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:model-value": (value: any) => any;
|
|
4
|
+
"update:visible": (visible: boolean) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<RadioInputProps> & Readonly<{
|
|
14
6
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
15
7
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
16
|
-
}
|
|
8
|
+
}>, {
|
|
17
9
|
options: import("../radio/common").RadioGroupOption[];
|
|
18
10
|
type: import("../radio/common").IconType;
|
|
19
11
|
validateEvent: boolean;
|
|
20
|
-
}, {}>;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
13
|
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: import('vue').PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,39 +1,12 @@
|
|
|
1
1
|
import { type RateProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
voidIcon: string;
|
|
6
|
-
validateEvent: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:model-value": (value: number) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RateProps>, {
|
|
10
|
-
count: number;
|
|
11
|
-
icon: string;
|
|
12
|
-
voidIcon: string;
|
|
13
|
-
validateEvent: boolean;
|
|
14
|
-
}>>> & {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<RateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:model-value": (value: number) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<RateProps> & Readonly<{
|
|
15
5
|
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
16
|
-
}
|
|
6
|
+
}>, {
|
|
17
7
|
count: number;
|
|
18
8
|
icon: string;
|
|
19
9
|
validateEvent: boolean;
|
|
20
10
|
voidIcon: string;
|
|
21
|
-
}, {}>;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
12
|
export default _default;
|
|
23
|
-
type __VLS_WithDefaults<P, D> = {
|
|
24
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
-
default: D[K];
|
|
26
|
-
}> : P[K];
|
|
27
|
-
};
|
|
28
|
-
type __VLS_Prettify<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToOption<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -10,7 +10,7 @@ export interface ResultProps {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const defaultResultProps: {
|
|
13
|
-
status: "
|
|
13
|
+
status: ResultProps["status"];
|
|
14
14
|
};
|
|
15
15
|
export interface ResultSlots {
|
|
16
16
|
default?(props: Record<string, never>): any;
|
|
@@ -1,31 +1,12 @@
|
|
|
1
1
|
import { type ResultProps, type ResultSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
status: "success" | "warning" | "info" | "error" | "question";
|
|
8
|
-
}, {}>, Readonly<ResultSlots> & ResultSlots>;
|
|
2
|
+
declare function __VLS_template(): Readonly<ResultSlots> & ResultSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<ResultProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResultProps> & Readonly<{}>, {
|
|
4
|
+
status: "success" | "info" | "warning" | "error" | "question";
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
7
|
export default _default;
|
|
10
|
-
type __VLS_WithDefaults<P, D> = {
|
|
11
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
12
|
-
default: D[K];
|
|
13
|
-
}> : P[K];
|
|
14
|
-
};
|
|
15
|
-
type __VLS_Prettify<T> = {
|
|
16
|
-
[K in keyof T]: T[K];
|
|
17
|
-
} & {};
|
|
18
8
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
9
|
new (): {
|
|
20
10
|
$slots: S;
|
|
21
11
|
};
|
|
22
12
|
};
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToOption<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
package/components/row/row.d.ts
CHANGED
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import { type RowProps, type RowSlots } from '../layout/common';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): Readonly<RowSlots> & RowSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<RowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
3
5
|
export default _default;
|
|
4
|
-
type __VLS_WithDefaults<P, D> = {
|
|
5
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
6
|
-
default: D[K];
|
|
7
|
-
}> : P[K];
|
|
8
|
-
};
|
|
9
|
-
type __VLS_Prettify<T> = {
|
|
10
|
-
[K in keyof T]: T[K];
|
|
11
|
-
} & {};
|
|
12
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
7
|
new (): {
|
|
14
8
|
$slots: S;
|
|
15
9
|
};
|
|
16
10
|
};
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToOption<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|