sard-uniapp 1.24.5 → 1.24.7
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 +28 -0
- package/components/accordion-item/index.scss +2 -2
- package/components/action-sheet/action-sheet.d.ts +8 -1
- package/components/action-sheet/common.d.ts +99 -2
- package/components/action-sheet/index.scss +4 -4
- package/components/alert/alert.d.ts +6 -0
- package/components/alert/common.d.ts +63 -1
- package/components/avatar/avatar.d.ts +8 -0
- package/components/avatar/common.d.ts +99 -1
- package/components/avatar/index.scss +2 -2
- package/components/avatar-group/avatar-group.d.ts +6 -1
- package/components/avatar-group/common.d.ts +63 -2
- package/components/back-top/back-top.d.ts +4 -0
- package/components/back-top/common.d.ts +40 -1
- package/components/back-top/index.scss +1 -1
- package/components/badge/badge.d.ts +7 -0
- package/components/badge/common.d.ts +99 -2
- package/components/badge/index.scss +1 -1
- package/components/button/button.d.ts +22 -0
- package/components/button/common.d.ts +960 -8
- package/components/button/index.scss +2 -2
- package/components/calendar/calendar.d.ts +16 -1
- package/components/calendar/common.d.ts +360 -3
- package/components/calendar-input/calendar-input.d.ts +31 -2
- package/components/calendar-input/common.d.ts +1368 -7
- package/components/calendar-month/index.scss +3 -3
- package/components/calendar-popout/calendar-popout.d.ts +22 -2
- package/components/calendar-popout/common.d.ts +675 -5
- package/components/card/index.scss +2 -2
- package/components/cascader/index.scss +1 -1
- package/components/cascader-input/cascader-input.d.ts +25 -0
- package/components/cascader-input/common.d.ts +783 -3
- package/components/cascader-popout/cascader-popout.d.ts +14 -0
- package/components/cascader-popout/common.d.ts +288 -2
- package/components/check-icon/index.scss +1 -1
- package/components/checkbox/checkbox.d.ts +11 -0
- package/components/checkbox/common.d.ts +323 -3
- package/components/checkbox-group/checkbox-group.d.ts +10 -0
- package/components/checkbox-input/checkbox-input.d.ts +28 -1
- package/components/checkbox-input/checkbox-input.vue +6 -2
- package/components/checkbox-input/common.d.ts +960 -4
- package/components/checkbox-popout/checkbox-popout.d.ts +19 -1
- package/components/checkbox-popout/common.d.ts +460 -2
- package/components/config/index.d.ts +150 -482
- package/components/config/index.js +16 -34
- package/components/cool-icon/common.d.ts +63 -1
- package/components/cool-icon/cool-icon.d.ts +6 -0
- package/components/count-down/common.d.ts +48 -3
- package/components/count-down/count-down.d.ts +3 -0
- package/components/count-to/common.d.ts +35 -4
- package/components/count-to/count-to.d.ts +1 -0
- package/components/crop-image/common.d.ts +288 -4
- package/components/crop-image/crop-image.d.ts +12 -0
- package/components/crop-image/index.scss +1 -1
- package/components/crop-image-agent/common.d.ts +288 -5
- package/components/crop-image-agent/crop-image-agent.d.ts +11 -0
- package/components/datetime-picker/common.d.ts +120 -2
- package/components/datetime-picker/datetime-picker.d.ts +9 -1
- package/components/datetime-picker-input/common.d.ts +783 -4
- package/components/datetime-picker-input/datetime-picker-input.d.ts +23 -0
- package/components/datetime-picker-popout/common.d.ts +288 -3
- package/components/datetime-picker-popout/datetime-picker-popout.d.ts +13 -0
- package/components/datetime-range-picker/common.d.ts +143 -1
- package/components/datetime-range-picker/datetime-range-picker.d.ts +10 -0
- package/components/datetime-range-picker-input/common.d.ts +840 -3
- package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +25 -0
- package/components/datetime-range-picker-popout/common.d.ts +323 -2
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +15 -0
- package/components/dialog/common.d.ts +360 -6
- package/components/dialog/dialog.d.ts +16 -3
- package/components/dialog/index.scss +1 -1
- package/components/dialog-agent/common.d.ts +1023 -7
- package/components/dialog-agent/dialog-agent.d.ts +28 -3
- package/components/divider/common.d.ts +48 -3
- package/components/divider/divider.d.ts +4 -1
- package/components/dropdown/common.d.ts +99 -5
- package/components/dropdown/dropdown.d.ts +7 -3
- package/components/dropdown/index.scss +1 -1
- package/components/empty/common.d.ts +48 -1
- package/components/empty/empty.d.ts +5 -0
- package/components/fab/common.d.ts +619 -7
- package/components/fab/fab.d.ts +20 -2
- package/components/fab/index.scss +1 -0
- package/components/fab-item/index.scss +1 -1
- package/components/floating-bubble/common.d.ts +153 -4
- package/components/floating-bubble/floating-bubble.d.ts +10 -1
- package/components/floating-bubble/index.scss +1 -1
- package/components/floating-panel/common.d.ts +63 -3
- package/components/floating-panel/floating-panel.d.ts +4 -0
- package/components/form/README.md +11 -12
- package/components/form/common.d.ts +304 -1
- package/components/form/form.d.ts +12 -1
- package/components/form/index.scss +1 -1
- package/components/form-item/form-item.d.ts +15 -0
- package/components/form-item/useFormItem.d.ts +1 -1
- package/components/form-item-plain/form-item-plain.d.ts +15 -0
- package/components/form-item-plain/form-item-plain.vue +7 -3
- package/components/form-plain/common.d.ts +0 -1
- package/components/form-plain/form-plain.d.ts +12 -1
- package/components/grid/common.d.ts +99 -2
- package/components/grid/grid.d.ts +8 -1
- package/components/grid-item/index.scss +2 -2
- package/components/icon/common.d.ts +63 -3
- package/components/icon/icon.d.ts +5 -1
- package/components/indexes/common.d.ts +1 -0
- package/components/indexes/indexes.vue +2 -1
- package/components/indexes-anchor/index.scss +1 -1
- package/components/indexes-nav/index.scss +2 -2
- package/components/input/common.d.ts +2400 -14
- package/components/input/index.scss +2 -2
- package/components/input/input.d.ts +36 -2
- package/components/keyboard/common.d.ts +24 -2
- package/components/keyboard/index.scss +5 -5
- package/components/keyboard/keyboard.d.ts +2 -0
- package/components/list/common.d.ts +168 -1
- package/components/list-item/index.scss +2 -2
- package/components/list-item/list-item.d.ts +11 -0
- package/components/loading/common.d.ts +117 -1
- package/components/loading/loading.d.ts +8 -0
- package/components/locale/lang/ar-SA.d.ts +2 -0
- package/components/locale/lang/ar-SA.js +2 -0
- package/components/locale/lang/en-US.d.ts +2 -0
- package/components/locale/lang/en-US.js +2 -0
- package/components/locale/lang/zh-CN.d.ts +2 -0
- package/components/locale/lang/zh-CN.js +2 -0
- package/components/marquee/common.d.ts +35 -3
- package/components/marquee/marquee.d.ts +2 -0
- package/components/menu-item/index.scss +2 -2
- package/components/notice-bar/common.d.ts +195 -4
- package/components/notice-bar/index.scss +3 -2
- package/components/notice-bar/notice-bar.d.ts +10 -1
- package/components/notify/common.d.ts +143 -4
- package/components/notify/notify.d.ts +8 -1
- package/components/notify-agent/common.d.ts +483 -5
- package/components/notify-agent/notify-agent.d.ts +18 -1
- package/components/overlay/common.d.ts +63 -1
- package/components/overlay/index.scss +1 -1
- package/components/overlay/overlay.d.ts +6 -0
- package/components/pagination/common.d.ts +143 -6
- package/components/pagination/index.scss +2 -2
- package/components/pagination/pagination.d.ts +6 -1
- package/components/password-input/common.d.ts +168 -3
- package/components/password-input/index.scss +6 -7
- package/components/password-input/password-input.d.ts +9 -0
- package/components/picker/common.d.ts +46 -1
- package/components/picker/common.js +2 -1
- package/components/picker/picker.d.ts +5 -0
- package/components/picker/picker.vue +11 -14
- package/components/picker-input/README.md +4 -0
- package/components/picker-input/common.d.ts +599 -4
- package/components/picker-input/picker-input.d.ts +21 -1
- package/components/picker-input/picker-input.vue +2 -2
- package/components/picker-popout/README.md +4 -0
- package/components/picker-popout/common.d.ts +181 -3
- package/components/picker-popout/picker-popout.d.ts +10 -0
- package/components/picker-popout/picker-popout.vue +7 -7
- package/components/popout/common.d.ts +288 -6
- package/components/popout/index.scss +1 -1
- package/components/popout/popout.d.ts +11 -1
- package/components/popout-input/common.d.ts +181 -2
- package/components/popout-input/popout-input.d.ts +11 -0
- package/components/popover/common.d.ts +168 -7
- package/components/popover/index.scss +3 -3
- package/components/popover/popover.d.ts +8 -3
- package/components/popup/common.d.ts +168 -4
- package/components/popup/popup.d.ts +10 -2
- package/components/progress-bar/common.d.ts +143 -2
- package/components/progress-bar/index.scss +5 -5
- package/components/progress-bar/progress-bar.d.ts +9 -0
- package/components/progress-circle/common.d.ts +80 -2
- package/components/progress-circle/index.scss +1 -1
- package/components/progress-circle/progress-circle.d.ts +6 -0
- package/components/pull-down-refresh/common.d.ts +100 -8
- package/components/pull-down-refresh/pull-down-refresh.d.ts +3 -1
- package/components/qrcode/common.d.ts +168 -8
- package/components/qrcode/qrcode.d.ts +4 -0
- package/components/radio/common.d.ts +155 -2
- package/components/radio-group/radio-group.d.ts +10 -0
- package/components/radio-input/common.d.ts +869 -5
- package/components/radio-input/radio-input.d.ts +26 -1
- package/components/radio-popout/common.d.ts +397 -3
- package/components/radio-popout/radio-popout.d.ts +17 -1
- package/components/rate/common.d.ts +360 -4
- package/components/rate/rate.d.ts +15 -1
- package/components/read-more/common.d.ts +80 -1
- package/components/read-more/read-more.d.ts +7 -0
- package/components/resize-sensor/common.d.ts +24 -1
- package/components/resize-sensor/resize-sensor.d.ts +3 -0
- package/components/result/common.d.ts +80 -1
- package/components/result/result.d.ts +7 -0
- package/components/scroll-list/index.scss +2 -2
- package/components/scroll-spy/README.md +9 -8
- package/components/scroll-spy/common.d.ts +1 -0
- package/components/scroll-spy/scroll-spy.vue +4 -2
- package/components/search/common.d.ts +224 -2
- package/components/search/index.scss +3 -3
- package/components/search/search.d.ts +12 -0
- package/components/segmented/common.d.ts +131 -4
- package/components/segmented/index.scss +2 -2
- package/components/segmented/segmented.d.ts +8 -1
- package/components/segmented-item/index.scss +1 -1
- package/components/share-sheet/common.d.ts +120 -2
- package/components/share-sheet/index.scss +4 -4
- package/components/share-sheet/share-sheet.d.ts +9 -1
- package/components/sidebar-item/index.scss +1 -1
- package/components/signature/common.d.ts +255 -7
- package/components/signature/index.scss +2 -2
- package/components/signature/signature.d.ts +9 -1
- package/components/skeleton/common.d.ts +120 -2
- package/components/skeleton/index.scss +1 -1
- package/components/skeleton/skeleton.d.ts +8 -0
- package/components/skeleton-block/index.scss +1 -1
- package/components/slider/common.d.ts +528 -4
- package/components/slider/index.scss +7 -7
- package/components/slider/slider.d.ts +18 -0
- package/components/space/common.d.ts +63 -2
- package/components/space/space.d.ts +5 -0
- package/components/status-bar/common.d.ts +24 -1
- package/components/status-bar/status-bar.d.ts +3 -0
- package/components/step/index.scss +3 -3
- package/components/stepper/common.d.ts +360 -9
- package/components/stepper/index.scss +4 -4
- package/components/stepper/stepper.d.ts +10 -1
- package/components/steps/common.d.ts +224 -8
- package/components/steps/steps.d.ts +6 -0
- package/components/swiper-dot/common.d.ts +63 -4
- package/components/swiper-dot/index.scss +4 -4
- package/components/swiper-dot/swiper-dot.d.ts +3 -0
- package/components/switch/common.d.ts +153 -3
- package/components/switch/index.scss +3 -3
- package/components/switch/switch.d.ts +10 -0
- package/components/tab/index.scss +3 -2
- package/components/tabbar/common.d.ts +80 -1
- package/components/tabbar/index.scss +1 -1
- package/components/tabbar/tabbar.d.ts +7 -0
- package/components/table/common.d.ts +35 -2
- package/components/table/index.scss +1 -1
- package/components/table/table.d.ts +4 -1
- package/components/table-cell/index.scss +1 -1
- package/components/table-row/index.scss +1 -1
- package/components/tabs/README.md +4 -3
- package/components/tabs/common.d.ts +49 -1
- package/components/tabs/index.scss +3 -2
- package/components/tabs/tabs.d.ts +5 -0
- package/components/tabs/tabs.vue +3 -1
- package/components/tag/common.d.ts +120 -2
- package/components/tag/tag.d.ts +8 -0
- package/components/timeline-item/index.scss +2 -2
- package/components/toast/common.d.ts +120 -6
- package/components/toast/index.scss +1 -1
- package/components/toast/toast.d.ts +6 -2
- package/components/toast-agent/common.d.ts +440 -7
- package/components/toast-agent/toast-agent.d.ts +16 -2
- package/components/tree/README.md +34 -20
- package/components/tree/common.d.ts +391 -3
- package/components/tree/common.js +1 -0
- package/components/tree/index.scss +14 -1
- package/components/tree/tree.d.ts +16 -1
- package/components/tree/tree.vue +71 -22
- package/components/tree/variables.scss +4 -0
- package/components/tree-node/index.scss +9 -3
- package/components/tree-node/tree-node.vue +46 -12
- package/components/upload/common.d.ts +195 -1
- package/components/upload/index.scss +2 -2
- package/components/upload/upload.d.ts +13 -1
- package/components/upload-preview/index.scss +5 -5
- package/components/upload-preview/upload-preview.d.ts +12 -0
- package/components/waterfall/common.d.ts +35 -3
- package/components/waterfall/waterfall.d.ts +2 -0
- package/components/watermark/common.d.ts +143 -5
- package/components/watermark/watermark.d.ts +7 -1
- package/package.json +1 -1
- package/use/useScrollSpy.js +5 -1
- package/utils/dom.js +20 -15
- package/dev/mp-alipay/mini.project.json +0 -14
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@include m(disabled) {
|
|
37
|
-
background
|
|
37
|
+
background: var(--sar-disabled-shallow-bg);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
border-width: 0;
|
|
59
59
|
font-size: var(--sar-input-control-font-size);
|
|
60
60
|
line-height: var(--sar-input-control-line-height);
|
|
61
|
-
background
|
|
61
|
+
background: var(--sar-input-bg);
|
|
62
62
|
|
|
63
63
|
@include m(input) {
|
|
64
64
|
height: var(--sar-input-control-input-height);
|
|
@@ -7,20 +7,54 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {}, {},
|
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{
|
|
8
8
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
+
fixed: boolean;
|
|
11
|
+
focus: boolean;
|
|
12
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
13
|
+
rootClass: string;
|
|
10
14
|
modelValue: string | number;
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
borderless: boolean;
|
|
16
|
+
type: "text" | "number" | "idcard" | "digit" | "tel" | "safe-password" | "nickname" | "password" | "textarea";
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
inlaid: boolean;
|
|
13
20
|
validateEvent: boolean;
|
|
14
21
|
enableNative: boolean;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
placeholderStyle: string;
|
|
24
|
+
placeholderClass: string;
|
|
15
25
|
maxlength: number;
|
|
16
26
|
cursorSpacing: number;
|
|
17
27
|
cursor: number;
|
|
28
|
+
confirmType: "send" | "search" | "next" | "go" | "done";
|
|
29
|
+
confirmHold: boolean;
|
|
18
30
|
selectionStart: number;
|
|
19
31
|
selectionEnd: number;
|
|
20
32
|
adjustPosition: boolean;
|
|
33
|
+
holdKeyboard: boolean;
|
|
34
|
+
autoBlur: boolean;
|
|
21
35
|
ignoreCompositionEvent: boolean;
|
|
36
|
+
inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
37
|
+
autoHeight: boolean;
|
|
22
38
|
showConfirmBar: boolean;
|
|
23
39
|
disableDefaultPadding: boolean;
|
|
40
|
+
inputMinHeight: boolean;
|
|
41
|
+
alwaysEmbed: boolean;
|
|
42
|
+
safePasswordCertPath: string;
|
|
43
|
+
safePasswordLength: string;
|
|
44
|
+
safePasswordTimeStamp: string;
|
|
45
|
+
safePasswordNonce: string;
|
|
46
|
+
safePasswordSalt: string;
|
|
47
|
+
safePasswordCustomHash: string;
|
|
48
|
+
randomNumber: boolean;
|
|
49
|
+
controlled: boolean;
|
|
50
|
+
alwaysSystem: boolean;
|
|
51
|
+
clearable: boolean;
|
|
52
|
+
showClearOnlyFocus: boolean;
|
|
53
|
+
showCount: boolean;
|
|
54
|
+
focused: boolean;
|
|
55
|
+
minHeight: string;
|
|
56
|
+
showEye: boolean;
|
|
57
|
+
internalPrepend: number;
|
|
24
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
59
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
60
|
export default _default;
|
|
@@ -6,8 +6,30 @@ export interface KeyboardProps {
|
|
|
6
6
|
mode?: KeyboardPlateMode;
|
|
7
7
|
}
|
|
8
8
|
export declare const defaultKeyboardProps: {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
rootStyle?: (string | false | ((props: {
|
|
10
|
+
rootStyle: StyleValue;
|
|
11
|
+
rootClass: string;
|
|
12
|
+
type: "number" | "digit" | "idcard" | "random" | "plate";
|
|
13
|
+
mode: KeyboardPlateMode;
|
|
14
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
15
|
+
rootClass?: (string | ((props: {
|
|
16
|
+
rootStyle: StyleValue;
|
|
17
|
+
rootClass: string;
|
|
18
|
+
type: "number" | "digit" | "idcard" | "random" | "plate";
|
|
19
|
+
mode: KeyboardPlateMode;
|
|
20
|
+
}) => string)) | undefined;
|
|
21
|
+
type?: ("number" | "idcard" | "digit" | "random" | "plate" | ((props: {
|
|
22
|
+
rootStyle: StyleValue;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
type: "number" | "digit" | "idcard" | "random" | "plate";
|
|
25
|
+
mode: KeyboardPlateMode;
|
|
26
|
+
}) => "number" | "idcard" | "digit" | "random" | "plate")) | undefined;
|
|
27
|
+
mode?: (KeyboardPlateMode | ((props: {
|
|
28
|
+
rootStyle: StyleValue;
|
|
29
|
+
rootClass: string;
|
|
30
|
+
type: "number" | "digit" | "idcard" | "random" | "plate";
|
|
31
|
+
mode: KeyboardPlateMode;
|
|
32
|
+
}) => "chinese" | "english")) | undefined;
|
|
11
33
|
};
|
|
12
34
|
export interface KeyboardSlots {
|
|
13
35
|
default?(props: Record<string, never>): any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@include b() {
|
|
5
5
|
@include universal;
|
|
6
6
|
padding: var(--sar-keyboard-padding);
|
|
7
|
-
background
|
|
7
|
+
background: var(--sar-keyboard-bg);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@include e(content) {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
border-radius: var(--sar-keyboard-key-border-radius);
|
|
32
32
|
font-size: var(--sar-keyboard-key-font-size);
|
|
33
33
|
color: var(--sar-keyboard-key-color);
|
|
34
|
-
background
|
|
34
|
+
background: var(--sar-keyboard-key-bg);
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
|
|
37
37
|
&:active {
|
|
38
|
-
background
|
|
38
|
+
background: var(--sar-keyboard-key-active-bg);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
max-width: 20%;
|
|
58
58
|
|
|
59
59
|
@include e(key) {
|
|
60
|
-
background
|
|
60
|
+
background: var(--sar-keyboard-key-plate-bg);
|
|
61
61
|
|
|
62
62
|
&:active {
|
|
63
|
-
background
|
|
63
|
+
background: var(--sar-keyboard-key-plate-active-bg);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -14,6 +14,8 @@ declare const __VLS_component: import("vue").DefineComponent<KeyboardProps, {
|
|
|
14
14
|
onToggle?: ((mode: KeyboardPlateMode) => any) | undefined;
|
|
15
15
|
"onUpdate:mode"?: ((mode: KeyboardPlateMode) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
18
|
+
rootClass: string;
|
|
17
19
|
type: "number" | "digit" | "idcard" | "random" | "plate";
|
|
18
20
|
mode: KeyboardPlateMode;
|
|
19
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -28,7 +28,174 @@ export interface ListItemProps {
|
|
|
28
28
|
iconFamily?: string;
|
|
29
29
|
}
|
|
30
30
|
export declare const defaultListItemProps: {
|
|
31
|
-
|
|
31
|
+
rootStyle?: (string | false | ((props: {
|
|
32
|
+
rootStyle: StyleValue;
|
|
33
|
+
rootClass: string;
|
|
34
|
+
title: string | number;
|
|
35
|
+
description: string | number;
|
|
36
|
+
value: string | number;
|
|
37
|
+
hover: boolean;
|
|
38
|
+
arrow: boolean;
|
|
39
|
+
arrowDirection: "up" | "right" | "down";
|
|
40
|
+
icon: string;
|
|
41
|
+
iconSize: string;
|
|
42
|
+
iconColor: string;
|
|
43
|
+
iconFamily: string;
|
|
44
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
45
|
+
rootClass?: (string | ((props: {
|
|
46
|
+
rootStyle: StyleValue;
|
|
47
|
+
rootClass: string;
|
|
48
|
+
title: string | number;
|
|
49
|
+
description: string | number;
|
|
50
|
+
value: string | number;
|
|
51
|
+
hover: boolean;
|
|
52
|
+
arrow: boolean;
|
|
53
|
+
arrowDirection: "up" | "right" | "down";
|
|
54
|
+
icon: string;
|
|
55
|
+
iconSize: string;
|
|
56
|
+
iconColor: string;
|
|
57
|
+
iconFamily: string;
|
|
58
|
+
}) => string)) | undefined;
|
|
59
|
+
title?: (string | number | ((props: {
|
|
60
|
+
rootStyle: StyleValue;
|
|
61
|
+
rootClass: string;
|
|
62
|
+
title: string | number;
|
|
63
|
+
description: string | number;
|
|
64
|
+
value: string | number;
|
|
65
|
+
hover: boolean;
|
|
66
|
+
arrow: boolean;
|
|
67
|
+
arrowDirection: "up" | "right" | "down";
|
|
68
|
+
icon: string;
|
|
69
|
+
iconSize: string;
|
|
70
|
+
iconColor: string;
|
|
71
|
+
iconFamily: string;
|
|
72
|
+
}) => string | number)) | undefined;
|
|
73
|
+
description?: (string | number | ((props: {
|
|
74
|
+
rootStyle: StyleValue;
|
|
75
|
+
rootClass: string;
|
|
76
|
+
title: string | number;
|
|
77
|
+
description: string | number;
|
|
78
|
+
value: string | number;
|
|
79
|
+
hover: boolean;
|
|
80
|
+
arrow: boolean;
|
|
81
|
+
arrowDirection: "up" | "right" | "down";
|
|
82
|
+
icon: string;
|
|
83
|
+
iconSize: string;
|
|
84
|
+
iconColor: string;
|
|
85
|
+
iconFamily: string;
|
|
86
|
+
}) => string | number)) | undefined;
|
|
87
|
+
value?: (string | number | ((props: {
|
|
88
|
+
rootStyle: StyleValue;
|
|
89
|
+
rootClass: string;
|
|
90
|
+
title: string | number;
|
|
91
|
+
description: string | number;
|
|
92
|
+
value: string | number;
|
|
93
|
+
hover: boolean;
|
|
94
|
+
arrow: boolean;
|
|
95
|
+
arrowDirection: "up" | "right" | "down";
|
|
96
|
+
icon: string;
|
|
97
|
+
iconSize: string;
|
|
98
|
+
iconColor: string;
|
|
99
|
+
iconFamily: string;
|
|
100
|
+
}) => string | number)) | undefined;
|
|
101
|
+
hover?: (boolean | ((props: {
|
|
102
|
+
rootStyle: StyleValue;
|
|
103
|
+
rootClass: string;
|
|
104
|
+
title: string | number;
|
|
105
|
+
description: string | number;
|
|
106
|
+
value: string | number;
|
|
107
|
+
hover: boolean;
|
|
108
|
+
arrow: boolean;
|
|
109
|
+
arrowDirection: "up" | "right" | "down";
|
|
110
|
+
icon: string;
|
|
111
|
+
iconSize: string;
|
|
112
|
+
iconColor: string;
|
|
113
|
+
iconFamily: string;
|
|
114
|
+
}) => boolean)) | undefined;
|
|
115
|
+
arrow?: (boolean | ((props: {
|
|
116
|
+
rootStyle: StyleValue;
|
|
117
|
+
rootClass: string;
|
|
118
|
+
title: string | number;
|
|
119
|
+
description: string | number;
|
|
120
|
+
value: string | number;
|
|
121
|
+
hover: boolean;
|
|
122
|
+
arrow: boolean;
|
|
123
|
+
arrowDirection: "up" | "right" | "down";
|
|
124
|
+
icon: string;
|
|
125
|
+
iconSize: string;
|
|
126
|
+
iconColor: string;
|
|
127
|
+
iconFamily: string;
|
|
128
|
+
}) => boolean)) | undefined;
|
|
129
|
+
arrowDirection?: ("right" | "down" | "up" | ((props: {
|
|
130
|
+
rootStyle: StyleValue;
|
|
131
|
+
rootClass: string;
|
|
132
|
+
title: string | number;
|
|
133
|
+
description: string | number;
|
|
134
|
+
value: string | number;
|
|
135
|
+
hover: boolean;
|
|
136
|
+
arrow: boolean;
|
|
137
|
+
arrowDirection: "up" | "right" | "down";
|
|
138
|
+
icon: string;
|
|
139
|
+
iconSize: string;
|
|
140
|
+
iconColor: string;
|
|
141
|
+
iconFamily: string;
|
|
142
|
+
}) => "right" | "down" | "up")) | undefined;
|
|
143
|
+
icon?: (string | ((props: {
|
|
144
|
+
rootStyle: StyleValue;
|
|
145
|
+
rootClass: string;
|
|
146
|
+
title: string | number;
|
|
147
|
+
description: string | number;
|
|
148
|
+
value: string | number;
|
|
149
|
+
hover: boolean;
|
|
150
|
+
arrow: boolean;
|
|
151
|
+
arrowDirection: "up" | "right" | "down";
|
|
152
|
+
icon: string;
|
|
153
|
+
iconSize: string;
|
|
154
|
+
iconColor: string;
|
|
155
|
+
iconFamily: string;
|
|
156
|
+
}) => string)) | undefined;
|
|
157
|
+
iconSize?: (string | ((props: {
|
|
158
|
+
rootStyle: StyleValue;
|
|
159
|
+
rootClass: string;
|
|
160
|
+
title: string | number;
|
|
161
|
+
description: string | number;
|
|
162
|
+
value: string | number;
|
|
163
|
+
hover: boolean;
|
|
164
|
+
arrow: boolean;
|
|
165
|
+
arrowDirection: "up" | "right" | "down";
|
|
166
|
+
icon: string;
|
|
167
|
+
iconSize: string;
|
|
168
|
+
iconColor: string;
|
|
169
|
+
iconFamily: string;
|
|
170
|
+
}) => string)) | undefined;
|
|
171
|
+
iconColor?: (string | ((props: {
|
|
172
|
+
rootStyle: StyleValue;
|
|
173
|
+
rootClass: string;
|
|
174
|
+
title: string | number;
|
|
175
|
+
description: string | number;
|
|
176
|
+
value: string | number;
|
|
177
|
+
hover: boolean;
|
|
178
|
+
arrow: boolean;
|
|
179
|
+
arrowDirection: "up" | "right" | "down";
|
|
180
|
+
icon: string;
|
|
181
|
+
iconSize: string;
|
|
182
|
+
iconColor: string;
|
|
183
|
+
iconFamily: string;
|
|
184
|
+
}) => string)) | undefined;
|
|
185
|
+
iconFamily?: (string | ((props: {
|
|
186
|
+
rootStyle: StyleValue;
|
|
187
|
+
rootClass: string;
|
|
188
|
+
title: string | number;
|
|
189
|
+
description: string | number;
|
|
190
|
+
value: string | number;
|
|
191
|
+
hover: boolean;
|
|
192
|
+
arrow: boolean;
|
|
193
|
+
arrowDirection: "up" | "right" | "down";
|
|
194
|
+
icon: string;
|
|
195
|
+
iconSize: string;
|
|
196
|
+
iconColor: string;
|
|
197
|
+
iconFamily: string;
|
|
198
|
+
}) => string)) | undefined;
|
|
32
199
|
};
|
|
33
200
|
export interface ListItemEmits {
|
|
34
201
|
(e: 'click', event: any): void;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
min-height: var(--sar-list-item-min-height);
|
|
10
10
|
padding: var(--sar-list-item-padding-y) var(--sar-list-item-padding-x);
|
|
11
|
-
background
|
|
11
|
+
background: var(--sar-list-item-bg);
|
|
12
12
|
|
|
13
13
|
&:first-child {
|
|
14
14
|
border-top-left-radius: inherit;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
|
|
42
42
|
&:active {
|
|
43
|
-
background
|
|
43
|
+
background: var(--sar-list-item-active-bg);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -5,7 +5,18 @@ declare const __VLS_component: import("vue").DefineComponent<ListItemProps, {},
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<ListItemProps> & Readonly<{
|
|
6
6
|
onClick?: ((event: any) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
value: string | number;
|
|
9
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
10
|
+
rootClass: string;
|
|
11
|
+
title: string | number;
|
|
12
|
+
description: string | number;
|
|
13
|
+
icon: string;
|
|
14
|
+
iconSize: string;
|
|
15
|
+
iconFamily: string;
|
|
16
|
+
arrow: boolean;
|
|
17
|
+
hover: boolean;
|
|
8
18
|
arrowDirection: "up" | "right" | "down";
|
|
19
|
+
iconColor: string;
|
|
9
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
22
|
export default _default;
|
|
@@ -15,7 +15,123 @@ export interface LoadingProps {
|
|
|
15
15
|
export declare const defaultLoadingProps: () => {
|
|
16
16
|
animated: boolean;
|
|
17
17
|
progress: number;
|
|
18
|
-
|
|
18
|
+
rootStyle?: (string | false | ((props: {
|
|
19
|
+
rootStyle: StyleValue;
|
|
20
|
+
rootClass: string;
|
|
21
|
+
type: "clock" | "circular";
|
|
22
|
+
color: string;
|
|
23
|
+
size: string;
|
|
24
|
+
text: string;
|
|
25
|
+
textColor: string;
|
|
26
|
+
textSize: string;
|
|
27
|
+
vertical: boolean;
|
|
28
|
+
animated: boolean;
|
|
29
|
+
progress: number;
|
|
30
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
31
|
+
rootClass?: (string | ((props: {
|
|
32
|
+
rootStyle: StyleValue;
|
|
33
|
+
rootClass: string;
|
|
34
|
+
type: "clock" | "circular";
|
|
35
|
+
color: string;
|
|
36
|
+
size: string;
|
|
37
|
+
text: string;
|
|
38
|
+
textColor: string;
|
|
39
|
+
textSize: string;
|
|
40
|
+
vertical: boolean;
|
|
41
|
+
animated: boolean;
|
|
42
|
+
progress: number;
|
|
43
|
+
}) => string)) | undefined;
|
|
44
|
+
type?: ("clock" | "circular" | ((props: {
|
|
45
|
+
rootStyle: StyleValue;
|
|
46
|
+
rootClass: string;
|
|
47
|
+
type: "clock" | "circular";
|
|
48
|
+
color: string;
|
|
49
|
+
size: string;
|
|
50
|
+
text: string;
|
|
51
|
+
textColor: string;
|
|
52
|
+
textSize: string;
|
|
53
|
+
vertical: boolean;
|
|
54
|
+
animated: boolean;
|
|
55
|
+
progress: number;
|
|
56
|
+
}) => "clock" | "circular")) | undefined;
|
|
57
|
+
color?: (string | ((props: {
|
|
58
|
+
rootStyle: StyleValue;
|
|
59
|
+
rootClass: string;
|
|
60
|
+
type: "clock" | "circular";
|
|
61
|
+
color: string;
|
|
62
|
+
size: string;
|
|
63
|
+
text: string;
|
|
64
|
+
textColor: string;
|
|
65
|
+
textSize: string;
|
|
66
|
+
vertical: boolean;
|
|
67
|
+
animated: boolean;
|
|
68
|
+
progress: number;
|
|
69
|
+
}) => string)) | undefined;
|
|
70
|
+
size?: (string | ((props: {
|
|
71
|
+
rootStyle: StyleValue;
|
|
72
|
+
rootClass: string;
|
|
73
|
+
type: "clock" | "circular";
|
|
74
|
+
color: string;
|
|
75
|
+
size: string;
|
|
76
|
+
text: string;
|
|
77
|
+
textColor: string;
|
|
78
|
+
textSize: string;
|
|
79
|
+
vertical: boolean;
|
|
80
|
+
animated: boolean;
|
|
81
|
+
progress: number;
|
|
82
|
+
}) => string)) | undefined;
|
|
83
|
+
text?: (string | ((props: {
|
|
84
|
+
rootStyle: StyleValue;
|
|
85
|
+
rootClass: string;
|
|
86
|
+
type: "clock" | "circular";
|
|
87
|
+
color: string;
|
|
88
|
+
size: string;
|
|
89
|
+
text: string;
|
|
90
|
+
textColor: string;
|
|
91
|
+
textSize: string;
|
|
92
|
+
vertical: boolean;
|
|
93
|
+
animated: boolean;
|
|
94
|
+
progress: number;
|
|
95
|
+
}) => string)) | undefined;
|
|
96
|
+
textColor?: (string | ((props: {
|
|
97
|
+
rootStyle: StyleValue;
|
|
98
|
+
rootClass: string;
|
|
99
|
+
type: "clock" | "circular";
|
|
100
|
+
color: string;
|
|
101
|
+
size: string;
|
|
102
|
+
text: string;
|
|
103
|
+
textColor: string;
|
|
104
|
+
textSize: string;
|
|
105
|
+
vertical: boolean;
|
|
106
|
+
animated: boolean;
|
|
107
|
+
progress: number;
|
|
108
|
+
}) => string)) | undefined;
|
|
109
|
+
textSize?: (string | ((props: {
|
|
110
|
+
rootStyle: StyleValue;
|
|
111
|
+
rootClass: string;
|
|
112
|
+
type: "clock" | "circular";
|
|
113
|
+
color: string;
|
|
114
|
+
size: string;
|
|
115
|
+
text: string;
|
|
116
|
+
textColor: string;
|
|
117
|
+
textSize: string;
|
|
118
|
+
vertical: boolean;
|
|
119
|
+
animated: boolean;
|
|
120
|
+
progress: number;
|
|
121
|
+
}) => string)) | undefined;
|
|
122
|
+
vertical?: (boolean | ((props: {
|
|
123
|
+
rootStyle: StyleValue;
|
|
124
|
+
rootClass: string;
|
|
125
|
+
type: "clock" | "circular";
|
|
126
|
+
color: string;
|
|
127
|
+
size: string;
|
|
128
|
+
text: string;
|
|
129
|
+
textColor: string;
|
|
130
|
+
textSize: string;
|
|
131
|
+
vertical: boolean;
|
|
132
|
+
animated: boolean;
|
|
133
|
+
progress: number;
|
|
134
|
+
}) => boolean)) | undefined;
|
|
19
135
|
};
|
|
20
136
|
export interface LoadingSlots {
|
|
21
137
|
default?(props: Record<string, never>): any;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { type LoadingProps, type LoadingSlots } from './common';
|
|
2
2
|
declare function __VLS_template(): Readonly<LoadingSlots> & LoadingSlots;
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<LoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
|
|
4
|
+
text: string;
|
|
5
|
+
size: string;
|
|
4
6
|
progress: number;
|
|
7
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
8
|
+
rootClass: string;
|
|
5
9
|
type: "clock" | "circular";
|
|
10
|
+
vertical: boolean;
|
|
11
|
+
color: string;
|
|
12
|
+
textColor: string;
|
|
13
|
+
textSize: string;
|
|
6
14
|
animated: boolean;
|
|
7
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -7,9 +7,41 @@ export interface MarqueeProps {
|
|
|
7
7
|
speed?: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const defaultMarqueeProps: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
rootStyle?: (string | false | ((props: {
|
|
11
|
+
rootStyle: StyleValue;
|
|
12
|
+
rootClass: string;
|
|
13
|
+
direction: "vertical" | "horizontal";
|
|
14
|
+
delay: number;
|
|
15
|
+
speed: number;
|
|
16
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
17
|
+
rootClass?: (string | ((props: {
|
|
18
|
+
rootStyle: StyleValue;
|
|
19
|
+
rootClass: string;
|
|
20
|
+
direction: "vertical" | "horizontal";
|
|
21
|
+
delay: number;
|
|
22
|
+
speed: number;
|
|
23
|
+
}) => string)) | undefined;
|
|
24
|
+
direction?: ("horizontal" | "vertical" | ((props: {
|
|
25
|
+
rootStyle: StyleValue;
|
|
26
|
+
rootClass: string;
|
|
27
|
+
direction: "vertical" | "horizontal";
|
|
28
|
+
delay: number;
|
|
29
|
+
speed: number;
|
|
30
|
+
}) => "horizontal" | "vertical")) | undefined;
|
|
31
|
+
delay?: (number | ((props: {
|
|
32
|
+
rootStyle: StyleValue;
|
|
33
|
+
rootClass: string;
|
|
34
|
+
direction: "vertical" | "horizontal";
|
|
35
|
+
delay: number;
|
|
36
|
+
speed: number;
|
|
37
|
+
}) => number)) | undefined;
|
|
38
|
+
speed?: (number | ((props: {
|
|
39
|
+
rootStyle: StyleValue;
|
|
40
|
+
rootClass: string;
|
|
41
|
+
direction: "vertical" | "horizontal";
|
|
42
|
+
delay: number;
|
|
43
|
+
speed: number;
|
|
44
|
+
}) => number)) | undefined;
|
|
13
45
|
};
|
|
14
46
|
export interface MarqueeSlots {
|
|
15
47
|
default?(props: Record<string, never>): any;
|
|
@@ -3,6 +3,8 @@ declare function __VLS_template(): Readonly<MarqueeSlots> & MarqueeSlots;
|
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<MarqueeProps, {
|
|
4
4
|
update: () => void;
|
|
5
5
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MarqueeProps> & Readonly<{}>, {
|
|
6
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
7
|
+
rootClass: string;
|
|
6
8
|
direction: "vertical" | "horizontal";
|
|
7
9
|
delay: number;
|
|
8
10
|
speed: number;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
@include e(item) {
|
|
82
82
|
@include m-not(disabled) {
|
|
83
83
|
&:active {
|
|
84
|
-
background
|
|
84
|
+
background: var(--sar-menu-item-active-bg);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
@include e(item) {
|
|
98
98
|
@include m-not(disabled) {
|
|
99
99
|
&:active {
|
|
100
|
-
background
|
|
100
|
+
background: var(--sar-menu-item-dark-active-bg);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|