sard-uniapp 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -14
- package/changelog.md +20 -2
- 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 +91 -52
- package/components/config/index.js +4 -0
- 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/fab/fab.vue +2 -2
- 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/mixins/border.scss +5 -3
- 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/table/common.d.ts +52 -0
- package/components/table/common.js +3 -0
- package/components/table/index.d.ts +1 -0
- package/components/table/index.js +1 -0
- package/components/table/index.scss +10 -0
- package/components/table/table.d.ts +13 -0
- package/components/table/table.vue +101 -0
- package/components/table/variables-dark.scss +8 -0
- package/components/table/variables.scss +12 -0
- package/components/table-cell/index.scss +90 -0
- package/components/table-cell/table-cell.d.ts +10 -0
- package/components/table-cell/table-cell.vue +57 -0
- package/components/table-fixation/index.scss +21 -0
- package/components/table-fixation/table-fixation.d.ts +14 -0
- package/components/table-fixation/table-fixation.vue +112 -0
- package/components/table-row/index.scss +15 -0
- package/components/table-row/table-row.d.ts +10 -0
- package/components/table-row/table-row.vue +46 -0
- 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/dark.scss +1 -0
- package/global.d.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.scss +1 -0
- 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/bem.d.ts +1 -1
- package/utils/dom.js +1 -1
- package/utils/utils.js +0 -1
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { type NavbarItemProps, type NavbarItemSlots } from '../navbar/common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare function __VLS_template(): Readonly<NavbarItemSlots> & NavbarItemSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<NavbarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
click: (event: any) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<NavbarItemProps> & 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
|
-
};
|
|
@@ -17,7 +17,7 @@ export interface NoticeBarProps {
|
|
|
17
17
|
export declare const defaultNoticeBarProps: {
|
|
18
18
|
delay: number;
|
|
19
19
|
speed: number;
|
|
20
|
-
scrollable: "
|
|
20
|
+
scrollable: NoticeBarProps["scrollable"];
|
|
21
21
|
visible: boolean;
|
|
22
22
|
};
|
|
23
23
|
export interface NoticeBarSlots {
|
|
@@ -1,48 +1,23 @@
|
|
|
1
1
|
import { type NoticeBarProps, type NoticeBarSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
speed: number;
|
|
5
|
-
scrollable: "auto" | "never" | "always" | undefined;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
}>, {
|
|
2
|
+
declare function __VLS_template(): Readonly<NoticeBarSlots> & NoticeBarSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<NoticeBarProps, {
|
|
8
4
|
update: () => void;
|
|
9
|
-
},
|
|
10
|
-
click: (event: any) =>
|
|
11
|
-
close: () =>
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
13
|
-
delay: number;
|
|
14
|
-
speed: number;
|
|
15
|
-
scrollable: "auto" | "never" | "always" | undefined;
|
|
16
|
-
visible: boolean;
|
|
17
|
-
}>>> & {
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
click: (event: any) => any;
|
|
7
|
+
close: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<NoticeBarProps> & Readonly<{
|
|
18
9
|
onClick?: ((event: any) => any) | undefined;
|
|
19
10
|
onClose?: (() => any) | undefined;
|
|
20
|
-
}
|
|
11
|
+
}>, {
|
|
21
12
|
visible: boolean;
|
|
22
13
|
scrollable: "auto" | "never" | "always";
|
|
23
14
|
delay: number;
|
|
24
15
|
speed: number;
|
|
25
|
-
}, {}
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
18
|
export default _default;
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
35
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
20
|
new (): {
|
|
37
21
|
$slots: S;
|
|
38
22
|
};
|
|
39
23
|
};
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToOption<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: import('vue').PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -12,8 +12,8 @@ export interface NotifyProps {
|
|
|
12
12
|
duration?: number;
|
|
13
13
|
}
|
|
14
14
|
export declare const defaultNotifyProps: {
|
|
15
|
-
type: "
|
|
16
|
-
position: "
|
|
15
|
+
type: NotifyProps["type"];
|
|
16
|
+
position: NotifyProps["position"];
|
|
17
17
|
duration: number;
|
|
18
18
|
timeout: number;
|
|
19
19
|
};
|
|
@@ -1,44 +1,17 @@
|
|
|
1
1
|
import { type NotifyProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
type: "success" | "primary" | "warning" | "error" | undefined;
|
|
4
|
-
position: "top" | "bottom" | undefined;
|
|
5
|
-
duration: number;
|
|
6
|
-
timeout: number;
|
|
7
|
-
}>, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<NotifyProps, {
|
|
8
3
|
reHideLater: () => void;
|
|
9
4
|
cancelHide: () => void;
|
|
10
|
-
},
|
|
11
|
-
click: (event: any) =>
|
|
12
|
-
"update:visible": (event: any) =>
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
14
|
-
type: "success" | "primary" | "warning" | "error" | undefined;
|
|
15
|
-
position: "top" | "bottom" | undefined;
|
|
16
|
-
duration: number;
|
|
17
|
-
timeout: number;
|
|
18
|
-
}>>> & {
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
click: (event: any) => any;
|
|
7
|
+
"update:visible": (event: any) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<NotifyProps> & Readonly<{
|
|
19
9
|
onClick?: ((event: any) => any) | undefined;
|
|
20
10
|
"onUpdate:visible"?: ((event: any) => any) | undefined;
|
|
21
|
-
}
|
|
22
|
-
type: "
|
|
11
|
+
}>, {
|
|
12
|
+
type: "primary" | "success" | "warning" | "error";
|
|
23
13
|
position: "top" | "bottom";
|
|
24
14
|
duration: number;
|
|
25
15
|
timeout: number;
|
|
26
|
-
}, {}>;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
17
|
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToOption<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -4,8 +4,8 @@ export interface NotifyAgentProps extends NotifyProps {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const defaultNotifyAgentProps: {
|
|
6
6
|
id: string;
|
|
7
|
-
type: "
|
|
8
|
-
position: "
|
|
7
|
+
type: NotifyProps["type"];
|
|
8
|
+
position: NotifyProps["position"];
|
|
9
9
|
duration: number;
|
|
10
10
|
timeout: number;
|
|
11
11
|
};
|
|
@@ -1,38 +1,9 @@
|
|
|
1
1
|
import { type NotifyAgentProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
type: "success" | "primary" | "warning" | "error" | undefined;
|
|
5
|
-
position: "top" | "bottom" | undefined;
|
|
6
|
-
duration: number;
|
|
7
|
-
timeout: number;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NotifyAgentProps>, {
|
|
9
|
-
id: string;
|
|
10
|
-
type: "success" | "primary" | "warning" | "error" | undefined;
|
|
11
|
-
position: "top" | "bottom" | undefined;
|
|
12
|
-
duration: number;
|
|
13
|
-
timeout: number;
|
|
14
|
-
}>>>, {
|
|
15
|
-
type: "success" | "primary" | "warning" | "error";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<NotifyAgentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NotifyAgentProps> & Readonly<{}>, {
|
|
3
|
+
type: "primary" | "success" | "warning" | "error";
|
|
16
4
|
id: string;
|
|
17
5
|
position: "top" | "bottom";
|
|
18
6
|
duration: number;
|
|
19
7
|
timeout: number;
|
|
20
|
-
}, {}>;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
9
|
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,35 +1,16 @@
|
|
|
1
1
|
import { type OverlayProps, type OverlaySlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OverlayProps>, {
|
|
7
|
-
duration: number;
|
|
8
|
-
}>>> & {
|
|
2
|
+
declare function __VLS_template(): Readonly<OverlaySlots> & OverlaySlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<OverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
click: (event: any) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<OverlayProps> & Readonly<{
|
|
9
6
|
onClick?: ((event: any) => any) | undefined;
|
|
10
|
-
}
|
|
7
|
+
}>, {
|
|
11
8
|
duration: number;
|
|
12
|
-
}, {}
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_WithDefaults<P, D> = {
|
|
15
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
16
|
-
default: D[K];
|
|
17
|
-
}> : P[K];
|
|
18
|
-
};
|
|
19
|
-
type __VLS_Prettify<T> = {
|
|
20
|
-
[K in keyof T]: T[K];
|
|
21
|
-
} & {};
|
|
22
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
13
|
new (): {
|
|
24
14
|
$slots: S;
|
|
25
15
|
};
|
|
26
16
|
};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,50 +1,21 @@
|
|
|
1
1
|
import { type PaginationProps, type PaginationSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
pageButtonCount: number;
|
|
7
|
-
type: "multi" | "simple" | undefined;
|
|
8
|
-
multiCount: number;
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"update:current": (page: number) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PaginationProps>, {
|
|
12
|
-
total: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
current: number;
|
|
15
|
-
pageButtonCount: number;
|
|
16
|
-
type: "multi" | "simple" | undefined;
|
|
17
|
-
multiCount: number;
|
|
18
|
-
}>>> & {
|
|
2
|
+
declare function __VLS_template(): Readonly<PaginationSlots> & PaginationSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:current": (page: number) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
19
6
|
"onUpdate:current"?: ((page: number) => any) | undefined;
|
|
20
|
-
}
|
|
21
|
-
type: "
|
|
7
|
+
}>, {
|
|
8
|
+
type: "simple" | "multi";
|
|
22
9
|
total: number;
|
|
23
10
|
pageSize: number;
|
|
24
11
|
current: number;
|
|
25
12
|
pageButtonCount: number;
|
|
26
13
|
multiCount: number;
|
|
27
|
-
}, {}
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
16
|
export default _default;
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
37
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
18
|
new (): {
|
|
39
19
|
$slots: S;
|
|
40
20
|
};
|
|
41
21
|
};
|
|
42
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
-
type __VLS_TypePropsToOption<T> = {
|
|
44
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
-
} : {
|
|
47
|
-
type: import('vue').PropType<T[K]>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
@@ -15,7 +15,7 @@ export interface PasswordInputProps {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const defaultPasswordInputProps: {
|
|
17
17
|
length: number;
|
|
18
|
-
type: "
|
|
18
|
+
type: PasswordInputProps["type"];
|
|
19
19
|
validateEvent: boolean;
|
|
20
20
|
};
|
|
21
21
|
export interface PasswordInputEmits {
|
|
@@ -1,38 +1,13 @@
|
|
|
1
1
|
import { type PasswordInputProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:model-value": (value: string) => void;
|
|
8
|
-
"updat:focused": (focused: boolean) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PasswordInputProps>, {
|
|
10
|
-
length: number;
|
|
11
|
-
type: "border" | "underline" | undefined;
|
|
12
|
-
validateEvent: boolean;
|
|
13
|
-
}>>> & {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PasswordInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:model-value": (value: string) => any;
|
|
4
|
+
"updat:focused": (focused: boolean) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<PasswordInputProps> & Readonly<{
|
|
14
6
|
"onUpdate:model-value"?: ((value: string) => any) | undefined;
|
|
15
7
|
"onUpdat:focused"?: ((focused: boolean) => any) | undefined;
|
|
16
|
-
}
|
|
8
|
+
}>, {
|
|
17
9
|
length: number;
|
|
18
10
|
type: "border" | "underline";
|
|
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,33 +1,10 @@
|
|
|
1
1
|
import { type PickerProps, type PickerOption } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:model-value": (value: any, selectedOptions: PickerOption[], indexes: number[]) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PickerProps>, {
|
|
8
|
-
columns: () => never[];
|
|
9
|
-
immediateChange: boolean;
|
|
10
|
-
}>>> & {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:model-value": (value: any, selectedOptions: PickerOption[], indexes: number[]) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PickerProps> & Readonly<{
|
|
11
5
|
"onUpdate:model-value"?: ((value: any, selectedOptions: PickerOption[], indexes: number[]) => any) | undefined;
|
|
12
|
-
}
|
|
6
|
+
}>, {
|
|
13
7
|
columns: PickerOption[] | PickerOption[][];
|
|
14
8
|
immediateChange: boolean;
|
|
15
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
10
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,39 +1,14 @@
|
|
|
1
1
|
import { type PickerOption } from '../picker/common';
|
|
2
2
|
import { type PickerInputProps } from './common';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:visible": (visible: boolean) => void;
|
|
9
|
-
"update:model-value": (value: any) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PickerInputProps>, {
|
|
11
|
-
validateEvent: boolean;
|
|
12
|
-
columns: () => never[];
|
|
13
|
-
immediateChange: boolean;
|
|
14
|
-
}>>> & {
|
|
3
|
+
declare const _default: import("vue").DefineComponent<PickerInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:model-value": (value: any) => any;
|
|
5
|
+
"update:visible": (visible: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<PickerInputProps> & Readonly<{
|
|
15
7
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
16
8
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
17
|
-
}
|
|
9
|
+
}>, {
|
|
18
10
|
columns: PickerOption[] | PickerOption[][];
|
|
19
11
|
validateEvent: boolean;
|
|
20
12
|
immediateChange: boolean;
|
|
21
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
14
|
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
|
-
};
|
|
@@ -18,7 +18,7 @@ export interface PopoutProps {
|
|
|
18
18
|
beforeClose?: (type: 'close' | 'cancel' | 'confirm') => boolean | undefined | Promise<any>;
|
|
19
19
|
}
|
|
20
20
|
export declare const defaultPopoutProps: {
|
|
21
|
-
type: "
|
|
21
|
+
type: PopoutProps["type"];
|
|
22
22
|
showConfirm: boolean;
|
|
23
23
|
showClose: boolean;
|
|
24
24
|
showFooter: boolean;
|
|
@@ -1,59 +1,30 @@
|
|
|
1
1
|
import { type TransitionHookName } from '../../use';
|
|
2
2
|
import { type PopoutProps, type PopoutSlots } from './common';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
"update:visible": (visible: boolean) => void;
|
|
12
|
-
close: () => void;
|
|
13
|
-
cancel: () => void;
|
|
14
|
-
confirm: () => void;
|
|
15
|
-
"visible-hook": (name: TransitionHookName) => void;
|
|
16
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PopoutProps>, {
|
|
17
|
-
type: "loose" | "compact" | undefined;
|
|
18
|
-
showConfirm: boolean;
|
|
19
|
-
showClose: boolean;
|
|
20
|
-
showFooter: boolean;
|
|
21
|
-
overlayClosable: boolean;
|
|
22
|
-
duration: number;
|
|
23
|
-
}>>> & {
|
|
24
|
-
"onVisible-hook"?: ((name: TransitionHookName) => any) | undefined;
|
|
25
|
-
onClose?: (() => any) | undefined;
|
|
3
|
+
declare function __VLS_template(): Readonly<PopoutSlots> & PopoutSlots;
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<PopoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
cancel: () => any;
|
|
6
|
+
close: () => any;
|
|
7
|
+
confirm: () => any;
|
|
8
|
+
"update:visible": (visible: boolean) => any;
|
|
9
|
+
"visible-hook": (name: TransitionHookName) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<PopoutProps> & Readonly<{
|
|
26
11
|
onCancel?: (() => any) | undefined;
|
|
27
|
-
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
28
13
|
onConfirm?: (() => any) | undefined;
|
|
29
|
-
|
|
30
|
-
|
|
14
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
15
|
+
"onVisible-hook"?: ((name: TransitionHookName) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
type: "compact" | "loose";
|
|
31
18
|
duration: number;
|
|
32
19
|
overlayClosable: boolean;
|
|
33
20
|
showConfirm: boolean;
|
|
34
21
|
showClose: boolean;
|
|
35
22
|
showFooter: boolean;
|
|
36
|
-
}, {}
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
25
|
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
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
27
|
new (): {
|
|
48
28
|
$slots: S;
|
|
49
29
|
};
|
|
50
30
|
};
|
|
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,28 +1,11 @@
|
|
|
1
1
|
import { type PopoutInputProps } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
clear: () =>
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PopoutInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:model-value": (value: string) => any;
|
|
4
|
+
click: (event: any) => any;
|
|
5
|
+
clear: () => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<PopoutInputProps> & Readonly<{
|
|
7
7
|
"onUpdate:model-value"?: ((value: string) => any) | undefined;
|
|
8
8
|
onClick?: ((event: any) => any) | undefined;
|
|
9
9
|
onClear?: (() => any) | undefined;
|
|
10
|
-
}, {}, {}>;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
|
-
type __VLS_WithDefaults<P, D> = {
|
|
13
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
14
|
-
default: D[K];
|
|
15
|
-
}> : P[K];
|
|
16
|
-
};
|
|
17
|
-
type __VLS_Prettify<T> = {
|
|
18
|
-
[K in keyof T]: T[K];
|
|
19
|
-
} & {};
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -18,9 +18,9 @@ export interface PopoverProps {
|
|
|
18
18
|
duration?: number;
|
|
19
19
|
}
|
|
20
20
|
export declare const defaultPopoverProps: {
|
|
21
|
-
position:
|
|
22
|
-
direction: "
|
|
23
|
-
theme: "
|
|
21
|
+
position: PopoverProps["position"];
|
|
22
|
+
direction: PopoverProps["direction"];
|
|
23
|
+
theme: PopoverProps["theme"];
|
|
24
24
|
refGap: number;
|
|
25
25
|
viewportGap: number;
|
|
26
26
|
transparent: boolean;
|