sard-uniapp 1.8.0 → 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 +18 -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/accordion-item/accordion-item.vue +4 -0
- package/components/action-sheet/action-sheet.d.ts +10 -33
- package/components/action-sheet/action-sheet.vue +4 -0
- package/components/alert/alert.d.ts +8 -27
- package/components/alert/alert.vue +3 -0
- 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/avatar.vue +3 -0
- package/components/avatar/common.d.ts +1 -1
- package/components/back-top/back-top.d.ts +7 -28
- package/components/back-top/back-top.vue +3 -0
- 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/button.vue +3 -0
- 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/calendar.vue +7 -0
- package/components/calendar/common.d.ts +1 -1
- package/components/calendar-input/calendar-input.d.ts +6 -35
- package/components/calendar-input/calendar-input.vue +5 -0
- 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/cascader.vue +5 -0
- package/components/cascader-input/cascader-input.d.ts +9 -30
- package/components/cascader-input/cascader-input.vue +5 -0
- package/components/check-icon/check-icon.d.ts +3 -26
- package/components/check-icon/check-icon.vue +3 -0
- package/components/checkbox/checkbox.d.ts +10 -29
- package/components/checkbox/checkbox.vue +3 -0
- package/components/checkbox/common.d.ts +1 -1
- package/components/checkbox-group/checkbox-group.d.ts +11 -32
- package/components/checkbox-group/checkbox-group.vue +3 -0
- package/components/checkbox-input/checkbox-input.d.ts +6 -29
- package/components/checkbox-input/checkbox-input.vue +8 -0
- 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/datetime-picker.vue +3 -0
- package/components/datetime-picker-input/datetime-picker-input.d.ts +6 -29
- package/components/datetime-picker-input/datetime-picker-input.vue +5 -0
- package/components/dialog/common.d.ts +1 -1
- package/components/dialog/dialog.d.ts +15 -44
- package/components/dialog/dialog.vue +5 -0
- package/components/dialog-agent/common.d.ts +1 -1
- package/components/dialog-agent/dialog-agent.d.ts +3 -36
- package/components/dialog-agent/dialog-agent.vue +3 -0
- 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/dropdown-item/dropdown-item.vue +6 -0
- package/components/empty/empty.d.ts +4 -23
- package/components/empty/empty.vue +3 -0
- package/components/fab/fab.d.ts +6 -33
- package/components/fab/fab.vue +4 -0
- 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/grid-item/grid-item.vue +3 -0
- package/components/icon/icon.d.ts +2 -25
- package/components/indexes/indexes.d.ts +7 -22
- package/components/indexes/indexes.vue +3 -0
- 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/input/input.vue +3 -0
- package/components/keyboard/common.d.ts +1 -1
- package/components/keyboard/keyboard.d.ts +9 -28
- package/components/keyboard/keyboard.vue +3 -0
- 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/list-item/list-item.vue +3 -0
- package/components/load-more/load-more.d.ts +8 -27
- package/components/load-more/load-more.vue +3 -0
- 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/menu.vue +3 -0
- package/components/menu-item/menu-item.d.ts +4 -21
- package/components/menu-item/menu-item.vue +3 -0
- 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/notice-bar/notice-bar.vue +3 -0
- package/components/notify/common.d.ts +2 -2
- package/components/notify/notify.d.ts +8 -35
- package/components/notify/notify.vue +3 -0
- package/components/notify-agent/common.d.ts +2 -2
- package/components/notify-agent/notify-agent.d.ts +3 -32
- package/components/notify-agent/notify-agent.vue +3 -0
- 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/picker-input/picker-input.vue +5 -0
- package/components/popout/common.d.ts +1 -1
- package/components/popout/popout.d.ts +15 -44
- package/components/popout/popout.vue +5 -0
- package/components/popout-input/popout-input.d.ts +6 -23
- package/components/popout-input/popout-input.vue +6 -1
- package/components/popover/common.d.ts +3 -3
- package/components/popover/popover.d.ts +9 -40
- package/components/popover/popover.vue +4 -0
- 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/popup/popup.vue +3 -0
- package/components/progress-bar/progress-bar.d.ts +4 -25
- package/components/progress-bar/progress-bar.vue +3 -0
- package/components/progress-circle/progress-circle.d.ts +4 -25
- package/components/progress-circle/progress-circle.vue +3 -0
- package/components/pull-down-refresh/pull-down-refresh.d.ts +10 -39
- package/components/pull-down-refresh/pull-down-refresh.vue +3 -0
- 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/radio.vue +3 -0
- package/components/radio-group/radio-group.d.ts +9 -30
- package/components/radio-group/radio-group.vue +3 -0
- package/components/radio-input/common.d.ts +1 -1
- package/components/radio-input/radio-input.d.ts +6 -31
- package/components/radio-input/radio-input.vue +8 -0
- package/components/rate/rate.d.ts +5 -32
- package/components/rate/rate.vue +3 -0
- package/components/result/common.d.ts +1 -1
- package/components/result/result.d.ts +5 -24
- package/components/result/result.vue +3 -0
- 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/search/search.vue +5 -0
- package/components/share-sheet/share-sheet.d.ts +10 -33
- package/components/share-sheet/share-sheet.vue +4 -0
- package/components/skeleton/skeleton.d.ts +4 -25
- package/components/skeleton/skeleton.vue +5 -0
- package/components/skeleton-avatar/skeleton-avatar.d.ts +1 -18
- package/components/skeleton-avatar/skeleton-avatar.vue +3 -0
- package/components/skeleton-block/skeleton-block.d.ts +1 -18
- package/components/skeleton-paragraph/skeleton-paragraph.d.ts +1 -18
- package/components/skeleton-paragraph/skeleton-paragraph.vue +3 -0
- package/components/skeleton-title/skeleton-title.d.ts +1 -18
- package/components/skeleton-title/skeleton-title.vue +3 -0
- 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/stepper/stepper.vue +3 -0
- package/components/steps/common.d.ts +1 -1
- package/components/steps/steps.d.ts +2 -35
- package/components/steps/steps.vue +3 -0
- 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/switch/switch.vue +3 -0
- 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/tabbar-item/tabbar-item.vue +4 -0
- package/components/tabs/common.d.ts +1 -1
- package/components/tabs/tabs.d.ts +7 -26
- package/components/tabs/tabs.vue +3 -0
- 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/tag/tag.vue +3 -0
- package/components/timeline/timeline.d.ts +3 -18
- package/components/timeline-item/timeline-item.d.ts +3 -18
- package/components/timeline-item/timeline-item.vue +3 -0
- package/components/toast/common.d.ts +2 -2
- package/components/toast/toast.d.ts +8 -37
- package/components/toast/toast.vue +5 -0
- package/components/toast-agent/common.d.ts +2 -2
- package/components/toast-agent/toast-agent.d.ts +4 -35
- package/components/toast-agent/toast-agent.vue +3 -0
- package/components/tree/common.d.ts +1 -1
- package/components/tree/tree.d.ts +3 -30
- package/components/tree/tree.vue +7 -0
- package/components/tree-branch/tree-branch.d.ts +1 -18
- package/components/tree-branch/tree-branch.vue +3 -0
- package/components/tree-node/tree-node.d.ts +1 -18
- package/components/tree-node/tree-node.vue +6 -0
- package/components/upload/common.d.ts +3 -11
- package/components/upload/upload.d.ts +9 -42
- package/components/upload/upload.vue +4 -1
- package/components/upload-preview/upload-preview.d.ts +6 -27
- package/components/upload-preview/upload-preview.vue +4 -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 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
|
-
};
|
|
@@ -69,6 +69,14 @@ import {
|
|
|
69
69
|
import { createBem, getMayPrimitiveOption, isNullish } from "../../utils";
|
|
70
70
|
import { useFormItemContext } from "../form/common";
|
|
71
71
|
export default _defineComponent({
|
|
72
|
+
components: {
|
|
73
|
+
SarPopoutInput,
|
|
74
|
+
SarPopout,
|
|
75
|
+
SarRadioGroup,
|
|
76
|
+
SarRadio,
|
|
77
|
+
SarList,
|
|
78
|
+
SarListItem,
|
|
79
|
+
},
|
|
72
80
|
...{
|
|
73
81
|
options: {
|
|
74
82
|
virtualHost: true,
|
|
@@ -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
|
-
};
|
package/components/rate/rate.vue
CHANGED
|
@@ -67,6 +67,9 @@ import { useFormContext, useFormItemContext } from "../form/common";
|
|
|
67
67
|
import { defaultRateProps } from "./common";
|
|
68
68
|
import { useMouseDown } from "../../use";
|
|
69
69
|
export default _defineComponent({
|
|
70
|
+
components: {
|
|
71
|
+
SarIcon,
|
|
72
|
+
},
|
|
70
73
|
...{
|
|
71
74
|
options: {
|
|
72
75
|
virtualHost: true,
|
|
@@ -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;
|
|
@@ -1,50 +1,29 @@
|
|
|
1
1
|
import { type SearchProps, type SearchSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
cancel: () =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
clear: () =>
|
|
11
|
-
|
|
12
|
-
blur: (event: any) => void;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SearchProps>, {
|
|
14
|
-
shape: "square" | "round" | undefined;
|
|
15
|
-
focus: boolean;
|
|
16
|
-
}>>> & {
|
|
2
|
+
declare function __VLS_template(): Readonly<SearchSlots> & SearchSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<SearchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:model-value": (value: string) => any;
|
|
5
|
+
click: (event: any) => any;
|
|
6
|
+
blur: (event: any) => any;
|
|
7
|
+
cancel: () => any;
|
|
8
|
+
focus: (event: any) => any;
|
|
9
|
+
search: (value: string) => any;
|
|
10
|
+
clear: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<SearchProps> & Readonly<{
|
|
17
12
|
"onUpdate:model-value"?: ((value: string) => any) | undefined;
|
|
18
|
-
onFocus?: ((event: any) => any) | undefined;
|
|
19
|
-
onBlur?: ((event: any) => any) | undefined;
|
|
20
13
|
onClick?: ((event: any) => any) | undefined;
|
|
14
|
+
onBlur?: ((event: any) => any) | undefined;
|
|
21
15
|
onCancel?: (() => any) | undefined;
|
|
22
|
-
|
|
16
|
+
onFocus?: ((event: any) => any) | undefined;
|
|
23
17
|
onSearch?: ((value: string) => any) | undefined;
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
onClear?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
26
20
|
focus: boolean;
|
|
27
|
-
|
|
21
|
+
shape: "round" | "square";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
24
|
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
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
26
|
new (): {
|
|
39
27
|
$slots: S;
|
|
40
28
|
};
|
|
41
29
|
};
|
|
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
|
-
};
|
|
@@ -1,39 +1,16 @@
|
|
|
1
1
|
import { type ShareSheetProps, type ShareSheetItem } from './common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"update:visible": (visible: boolean) =>
|
|
7
|
-
|
|
8
|
-
cancel: () => void;
|
|
9
|
-
select: (item: ShareSheetItem) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ShareSheetProps>, {
|
|
11
|
-
overlayClosable: boolean;
|
|
12
|
-
duration: number;
|
|
13
|
-
}>>> & {
|
|
14
|
-
onSelect?: ((item: ShareSheetItem) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
2
|
+
declare const _default: import("vue").DefineComponent<ShareSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
cancel: () => any;
|
|
4
|
+
close: () => any;
|
|
5
|
+
select: (item: ShareSheetItem) => any;
|
|
6
|
+
"update:visible": (visible: boolean) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<ShareSheetProps> & Readonly<{
|
|
16
8
|
onCancel?: (() => any) | undefined;
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
onSelect?: ((item: ShareSheetItem) => any) | undefined;
|
|
17
11
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
18
|
-
}
|
|
12
|
+
}>, {
|
|
19
13
|
duration: number;
|
|
20
14
|
overlayClosable: boolean;
|
|
21
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
16
|
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
|
-
};
|
|
@@ -1,34 +1,13 @@
|
|
|
1
1
|
import { type SkeletonProps, type SkeletonSlots } from './common';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
loading: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SkeletonProps>, {
|
|
6
|
-
rows: number;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
}>>>, {
|
|
2
|
+
declare function __VLS_template(): Readonly<SkeletonSlots> & SkeletonSlots;
|
|
3
|
+
declare const __VLS_component: import("vue").DefineComponent<SkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
9
4
|
loading: boolean;
|
|
10
5
|
rows: number;
|
|
11
|
-
}, {}
|
|
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,20 +1,3 @@
|
|
|
1
1
|
import { type SkeletonAvatarProps } from '../skeleton/common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<SkeletonAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
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
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -15,6 +15,9 @@ import { computed } from "vue";
|
|
|
15
15
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
16
16
|
import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
|
|
17
17
|
export default _defineComponent({
|
|
18
|
+
components: {
|
|
19
|
+
SarSkeletonBlock,
|
|
20
|
+
},
|
|
18
21
|
...{
|
|
19
22
|
options: {
|
|
20
23
|
virtualHost: true,
|
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
import { type SkeletonBlockProps } from '../skeleton/common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<SkeletonBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
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
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
import { type SkeletonParagraphProps } from '../skeleton/common';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<SkeletonParagraphProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SkeletonParagraphProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
3
|
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
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -18,6 +18,9 @@ import { computed } from "vue";
|
|
|
18
18
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
19
19
|
import SarSkeletonBlock from "../skeleton-block/skeleton-block.vue";
|
|
20
20
|
export default _defineComponent({
|
|
21
|
+
components: {
|
|
22
|
+
SarSkeletonBlock,
|
|
23
|
+
},
|
|
21
24
|
...{
|
|
22
25
|
options: {
|
|
23
26
|
virtualHost: true,
|