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
|
@@ -1,533 +1,201 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ActionSheetProps } from '../action-sheet';
|
|
2
2
|
import { type AlertProps } from '../alert';
|
|
3
|
+
import { type AvatarGroupProps } from '../avatar-group';
|
|
4
|
+
import { type AvatarProps } from '../avatar';
|
|
5
|
+
import { type BackTopProps } from '../back-top';
|
|
6
|
+
import { type BadgeProps } from '../badge';
|
|
3
7
|
import { type ButtonProps } from '../button';
|
|
4
8
|
import { type CalendarInputProps } from '../calendar-input';
|
|
9
|
+
import { type CalendarPopoutProps } from '../calendar-popout';
|
|
5
10
|
import { type CalendarProps } from '../calendar';
|
|
6
11
|
import { type CascaderInputProps } from '../cascader-input';
|
|
7
|
-
import { type
|
|
8
|
-
import { type CheckboxPopoutProps } from '../checkbox-popout';
|
|
12
|
+
import { type CascaderPopoutProps } from '../cascader-popout';
|
|
9
13
|
import { type CheckboxInputProps } from '../checkbox-input';
|
|
14
|
+
import { type CheckboxPopoutProps } from '../checkbox-popout';
|
|
15
|
+
import { type CheckboxProps, type CheckboxGroupProps } from '../checkbox';
|
|
10
16
|
import { type CoolIconProps } from '../cool-icon';
|
|
17
|
+
import { type CountDownProps } from '../count-down';
|
|
18
|
+
import { type CountToProps } from '../count-to';
|
|
19
|
+
import { type CropImageAgentProps } from '../crop-image-agent';
|
|
20
|
+
import { type CropImageProps } from '../crop-image';
|
|
11
21
|
import { type DatetimePickerInputProps } from '../datetime-picker-input';
|
|
22
|
+
import { type DatetimePickerPopoutProps } from '../datetime-picker-popout';
|
|
23
|
+
import { type DatetimePickerProps } from '../datetime-picker';
|
|
12
24
|
import { type DatetimeRangePickerInputProps } from '../datetime-range-picker-input';
|
|
25
|
+
import { type DatetimeRangePickerPopoutProps } from '../datetime-range-picker-popout';
|
|
26
|
+
import { type DatetimeRangePickerProps } from '../datetime-range-picker';
|
|
27
|
+
import { type DialogAgentProps } from '../dialog-agent';
|
|
13
28
|
import { type DialogProps } from '../dialog';
|
|
14
29
|
import { type DividerProps } from '../divider';
|
|
15
30
|
import { type DropdownProps } from '../dropdown';
|
|
31
|
+
import { type EmptyProps } from '../empty';
|
|
16
32
|
import { type FabProps } from '../fab';
|
|
17
33
|
import { type FloatingBubbleProps } from '../floating-bubble';
|
|
18
|
-
import { type
|
|
34
|
+
import { type FloatingPanelProps } from '../floating-panel';
|
|
35
|
+
import { type FormItemProps, type FormProps } from '../form';
|
|
19
36
|
import { type GridProps } from '../grid';
|
|
20
37
|
import { type IconProps } from '../icon';
|
|
38
|
+
import { type IndexesProps } from '../indexes';
|
|
21
39
|
import { type InputProps } from '../input';
|
|
22
40
|
import { type KeyboardProps } from '../keyboard';
|
|
23
41
|
import { type ListItemProps } from '../list';
|
|
24
42
|
import { type LoadingProps } from '../loading';
|
|
25
43
|
import { type MarqueeProps } from '../marquee';
|
|
26
44
|
import { type NoticeBarProps } from '../notice-bar';
|
|
45
|
+
import { type NotifyAgentProps } from '../notify-agent';
|
|
27
46
|
import { type NotifyProps } from '../notify';
|
|
47
|
+
import { type OverlayProps } from '../overlay';
|
|
28
48
|
import { type PaginationProps } from '../pagination';
|
|
29
49
|
import { type PasswordInputProps } from '../password-input';
|
|
30
50
|
import { type PickerInputProps } from '../picker-input';
|
|
51
|
+
import { type PickerPopoutProps } from '../picker-popout';
|
|
52
|
+
import { type PickerProps } from '../picker';
|
|
53
|
+
import { type PopoutInputProps } from '../popout-input';
|
|
31
54
|
import { type PopoutProps } from '../popout';
|
|
32
55
|
import { type PopoverProps } from '../popover';
|
|
33
56
|
import { type PopupProps } from '../popup';
|
|
57
|
+
import { type ProgressBarProps } from '../progress-bar';
|
|
58
|
+
import { type ProgressCircleProps } from '../progress-circle';
|
|
59
|
+
import { type PullDownRefreshProps } from '../pull-down-refresh';
|
|
34
60
|
import { type QrcodeProps } from '../qrcode';
|
|
35
61
|
import { type RadioGroupProps } from '../radio';
|
|
36
62
|
import { type RadioInputProps } from '../radio-input';
|
|
37
63
|
import { type RadioPopoutProps } from '../radio-popout';
|
|
64
|
+
import { type RateProps } from '../rate';
|
|
65
|
+
import { type ReadMoreProps } from '../read-more';
|
|
66
|
+
import { type ResizeSensorProps } from '../resize-sensor';
|
|
38
67
|
import { type ResultProps } from '../result';
|
|
39
68
|
import { type SearchProps } from '../search';
|
|
40
69
|
import { type SegmentedProps } from '../segmented';
|
|
70
|
+
import { type ShareSheetProps } from '../share-sheet';
|
|
71
|
+
import { type SignatureProps } from '../signature';
|
|
72
|
+
import { type SkeletonProps } from '../skeleton';
|
|
73
|
+
import { type SliderProps } from '../slider';
|
|
41
74
|
import { type SpaceProps } from '../space';
|
|
75
|
+
import { type StatusBarProps } from '../status-bar';
|
|
42
76
|
import { type StepperProps } from '../stepper';
|
|
43
77
|
import { type StepsProps } from '../steps';
|
|
44
78
|
import { type SwiperDotProps } from '../swiper-dot';
|
|
79
|
+
import { type SwitchProps } from '../switch';
|
|
80
|
+
import { type TabbarProps } from '../tabbar';
|
|
81
|
+
import { type TableProps } from '../table';
|
|
45
82
|
import { type TabsProps } from '../tabs';
|
|
46
83
|
import { type TagProps } from '../tag';
|
|
84
|
+
import { type ToastAgentProps } from '../toast-agent';
|
|
47
85
|
import { type ToastProps } from '../toast';
|
|
48
86
|
import { type TreeProps } from '../tree';
|
|
49
87
|
import { type UploadPreviewProps, type UploadProps } from '../upload';
|
|
88
|
+
import { type WaterfallProps } from '../waterfall';
|
|
50
89
|
import { type WatermarkProps } from '../watermark';
|
|
51
|
-
type
|
|
52
|
-
|
|
90
|
+
type NativeType = null | number | string | boolean | symbol | ((...args: any[]) => any);
|
|
91
|
+
type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
|
|
92
|
+
type InferDefaults<T> = {
|
|
93
|
+
[K in keyof T]?: InferDefault<T, T[K]>;
|
|
53
94
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
type: "png";
|
|
156
|
-
quality: number;
|
|
157
|
-
};
|
|
158
|
-
cropImageAgent: {
|
|
159
|
-
id: string;
|
|
160
|
-
};
|
|
161
|
-
datetimePicker: {
|
|
162
|
-
type: string;
|
|
163
|
-
calendar: "solar";
|
|
164
|
-
};
|
|
165
|
-
datetimePickerInput: {
|
|
166
|
-
valueOnClear: DatetimePickerInputProps["valueOnClear"];
|
|
167
|
-
};
|
|
168
|
-
datetimePickerPopout: {
|
|
169
|
-
validateEvent: boolean;
|
|
170
|
-
};
|
|
171
|
-
datetimeRangePicker: {
|
|
172
|
-
type: string;
|
|
173
|
-
};
|
|
174
|
-
datetimeRangePickerInput: {
|
|
175
|
-
valueOnClear: DatetimeRangePickerInputProps["valueOnClear"];
|
|
176
|
-
};
|
|
177
|
-
datetimeRangePickerPopout: {
|
|
178
|
-
validateEvent: boolean;
|
|
179
|
-
};
|
|
180
|
-
dialog: {
|
|
181
|
-
headed: boolean;
|
|
182
|
-
buttonType: DialogProps["buttonType"];
|
|
183
|
-
showCancel: boolean;
|
|
184
|
-
showConfirm: boolean;
|
|
185
|
-
overlayClosable: boolean;
|
|
186
|
-
duration: number;
|
|
187
|
-
};
|
|
188
|
-
dialogAgent: {
|
|
189
|
-
id: string;
|
|
190
|
-
};
|
|
191
|
-
divider: {
|
|
192
|
-
type: DividerProps["type"];
|
|
193
|
-
hairline: boolean;
|
|
194
|
-
position: DividerProps["position"];
|
|
195
|
-
};
|
|
196
|
-
dropdown: {
|
|
197
|
-
direction: DropdownProps["direction"];
|
|
198
|
-
disabled: boolean;
|
|
199
|
-
awayClosable: boolean;
|
|
200
|
-
overlayClosable: boolean;
|
|
201
|
-
duration: number;
|
|
202
|
-
};
|
|
203
|
-
empty: {
|
|
204
|
-
icon: string;
|
|
205
|
-
};
|
|
206
|
-
fab: {
|
|
207
|
-
overlayClosable: boolean;
|
|
208
|
-
hideName: boolean;
|
|
209
|
-
duration: number;
|
|
210
|
-
draggable: boolean;
|
|
211
|
-
axis: FabProps["axis"];
|
|
212
|
-
gapX: number;
|
|
213
|
-
gapY: number;
|
|
214
|
-
};
|
|
215
|
-
floatingBubble: {
|
|
216
|
-
draggable: boolean;
|
|
217
|
-
axis: FloatingBubbleProps["axis"];
|
|
218
|
-
gapX: number;
|
|
219
|
-
gapY: number;
|
|
220
|
-
};
|
|
221
|
-
floatingPanel: {
|
|
222
|
-
duration: number;
|
|
223
|
-
contentDraggable: boolean;
|
|
224
|
-
safeAreaInsetBottom: boolean;
|
|
225
|
-
};
|
|
226
|
-
form: {
|
|
227
|
-
validateTrigger: FormProps["validateTrigger"];
|
|
228
|
-
validateOnRuleChange: boolean;
|
|
229
|
-
direction: FormProps["direction"];
|
|
230
|
-
labelAlign: FormProps["labelAlign"];
|
|
231
|
-
labelValign: FormProps["labelValign"];
|
|
232
|
-
starPosition: FormProps["starPosition"];
|
|
233
|
-
contentPosition: FormProps["contentPosition"];
|
|
234
|
-
showError: boolean;
|
|
235
|
-
scrollDuration: number;
|
|
236
|
-
};
|
|
237
|
-
formItem: {
|
|
238
|
-
showError: boolean;
|
|
239
|
-
};
|
|
240
|
-
grid: {
|
|
241
|
-
columns: number;
|
|
242
|
-
direction: GridProps["direction"];
|
|
243
|
-
};
|
|
244
|
-
icon: {
|
|
245
|
-
name: string;
|
|
246
|
-
family: string;
|
|
247
|
-
separate: IconProps["separate"];
|
|
248
|
-
};
|
|
249
|
-
indexes: {
|
|
250
|
-
hintDuration: number;
|
|
251
|
-
};
|
|
252
|
-
input: {
|
|
253
|
-
enableNative: boolean;
|
|
254
|
-
maxlength: number;
|
|
255
|
-
adjustPosition: boolean;
|
|
256
|
-
ignoreCompositionEvent: boolean;
|
|
257
|
-
showConfirmBar: boolean;
|
|
258
|
-
disableDefaultPadding: boolean;
|
|
259
|
-
modelValue: string;
|
|
260
|
-
validateEvent: boolean;
|
|
261
|
-
cursorSpacing: number;
|
|
262
|
-
confirmType: InputProps["confirmType"];
|
|
263
|
-
cursor: number;
|
|
264
|
-
selectionStart: number;
|
|
265
|
-
selectionEnd: number;
|
|
266
|
-
inputmode: InputProps["inputmode"];
|
|
267
|
-
};
|
|
268
|
-
keyboard: {
|
|
269
|
-
type: KeyboardProps["type"];
|
|
270
|
-
mode: KeyboardProps["mode"];
|
|
271
|
-
};
|
|
272
|
-
listItem: {
|
|
273
|
-
arrowDirection: ListItemProps["arrowDirection"];
|
|
274
|
-
};
|
|
275
|
-
loading: {
|
|
276
|
-
type: LoadingProps["type"];
|
|
277
|
-
};
|
|
278
|
-
marquee: {
|
|
279
|
-
direction: MarqueeProps["direction"];
|
|
280
|
-
delay: number;
|
|
281
|
-
speed: number;
|
|
282
|
-
};
|
|
283
|
-
noticeBar: {
|
|
284
|
-
delay: number;
|
|
285
|
-
speed: number;
|
|
286
|
-
scrollable: NoticeBarProps["scrollable"];
|
|
287
|
-
visible: boolean;
|
|
288
|
-
};
|
|
289
|
-
notify: {
|
|
290
|
-
type: NotifyProps["type"];
|
|
291
|
-
position: NotifyProps["position"];
|
|
292
|
-
duration: number;
|
|
293
|
-
timeout: number;
|
|
294
|
-
};
|
|
295
|
-
notifyAgent: {
|
|
296
|
-
id: string;
|
|
297
|
-
};
|
|
298
|
-
overlay: {
|
|
299
|
-
duration: number;
|
|
300
|
-
};
|
|
301
|
-
pagination: {
|
|
302
|
-
total: number;
|
|
303
|
-
pageSize: number;
|
|
304
|
-
current: number;
|
|
305
|
-
pageButtonCount: number;
|
|
306
|
-
type: PaginationProps["type"];
|
|
307
|
-
multiCount: number;
|
|
308
|
-
};
|
|
309
|
-
passwordInput: {
|
|
310
|
-
length: number;
|
|
311
|
-
type: PasswordInputProps["type"];
|
|
312
|
-
validateEvent: boolean;
|
|
313
|
-
};
|
|
314
|
-
picker: {
|
|
315
|
-
immediateChange: boolean;
|
|
316
|
-
};
|
|
317
|
-
pickerInput: {
|
|
318
|
-
valueOnClear: PickerInputProps["valueOnClear"];
|
|
319
|
-
};
|
|
320
|
-
pickerPopout: {
|
|
321
|
-
validateEvent: boolean;
|
|
322
|
-
};
|
|
323
|
-
popout: {
|
|
324
|
-
type: PopoutProps["type"];
|
|
325
|
-
showConfirm: boolean;
|
|
326
|
-
showClose: boolean;
|
|
327
|
-
showFooter: boolean;
|
|
328
|
-
overlayClosable: boolean;
|
|
329
|
-
duration: number;
|
|
330
|
-
};
|
|
331
|
-
popoutInput: {
|
|
332
|
-
arrow: string;
|
|
333
|
-
arrowFamily: string;
|
|
334
|
-
};
|
|
335
|
-
popover: {
|
|
336
|
-
position: PopoverProps["position"];
|
|
337
|
-
direction: PopoverProps["direction"];
|
|
338
|
-
theme: PopoverProps["theme"];
|
|
339
|
-
refGap: number;
|
|
340
|
-
viewportGap: number;
|
|
341
|
-
transparent: boolean;
|
|
342
|
-
duration: number;
|
|
343
|
-
};
|
|
344
|
-
popup: {
|
|
345
|
-
duration: number;
|
|
346
|
-
effect: PopupProps["effect"];
|
|
347
|
-
overlay: boolean;
|
|
348
|
-
overlayClosable: boolean;
|
|
349
|
-
};
|
|
350
|
-
progressBar: {
|
|
351
|
-
percent: number;
|
|
352
|
-
showText: boolean;
|
|
353
|
-
};
|
|
354
|
-
progressCircle: {
|
|
355
|
-
percent: number;
|
|
356
|
-
thickness: number;
|
|
357
|
-
};
|
|
358
|
-
pullDownRefresh: {
|
|
359
|
-
threshold: number;
|
|
360
|
-
headerHeight: number;
|
|
361
|
-
transitionDuration: number;
|
|
362
|
-
doneDuration: number;
|
|
363
|
-
};
|
|
364
|
-
qrcode: {
|
|
365
|
-
ecl: QrcodeProps["ecl"];
|
|
366
|
-
size: string;
|
|
367
|
-
canvasSize: number;
|
|
368
|
-
type: QrcodeProps["type"];
|
|
369
|
-
text: string;
|
|
370
|
-
color: string;
|
|
371
|
-
bgColor: string;
|
|
372
|
-
quietZoneModules: number;
|
|
373
|
-
};
|
|
374
|
-
radioGroup: {
|
|
375
|
-
direction: RadioGroupProps["direction"];
|
|
376
|
-
validateEvent: boolean;
|
|
377
|
-
};
|
|
378
|
-
radioInput: {
|
|
379
|
-
valueOnClear: RadioInputProps["valueOnClear"];
|
|
380
|
-
};
|
|
381
|
-
radioPopout: {
|
|
382
|
-
validateEvent: boolean;
|
|
383
|
-
type: RadioPopoutProps["type"];
|
|
384
|
-
iconPosition: RadioPopoutProps["iconPosition"];
|
|
385
|
-
};
|
|
386
|
-
rate: {
|
|
387
|
-
count: number;
|
|
388
|
-
icon: string;
|
|
389
|
-
voidIcon: string;
|
|
390
|
-
validateEvent: boolean;
|
|
391
|
-
};
|
|
392
|
-
readMore: {
|
|
393
|
-
maxHeight: number;
|
|
394
|
-
};
|
|
395
|
-
resizeSensor: {
|
|
396
|
-
threshold: number;
|
|
397
|
-
};
|
|
398
|
-
result: {
|
|
399
|
-
status: ResultProps["status"];
|
|
400
|
-
};
|
|
401
|
-
search: {
|
|
402
|
-
shape: SearchProps["shape"];
|
|
403
|
-
focus: boolean;
|
|
404
|
-
};
|
|
405
|
-
segmented: {
|
|
406
|
-
size: SegmentedProps["size"];
|
|
407
|
-
shape: SegmentedProps["shape"];
|
|
408
|
-
direction: SegmentedProps["direction"];
|
|
409
|
-
validateEvent: boolean;
|
|
410
|
-
};
|
|
411
|
-
shareSheet: {
|
|
412
|
-
overlayClosable: boolean;
|
|
413
|
-
duration: number;
|
|
414
|
-
};
|
|
415
|
-
signature: {
|
|
416
|
-
lineWidth: number;
|
|
417
|
-
fullScreen: boolean;
|
|
418
|
-
color: string;
|
|
419
|
-
duration: number;
|
|
420
|
-
type: "png";
|
|
421
|
-
target: "dataURL";
|
|
422
|
-
quality: number;
|
|
423
|
-
};
|
|
424
|
-
skeleton: {
|
|
425
|
-
rows: number;
|
|
426
|
-
loading: boolean;
|
|
427
|
-
};
|
|
428
|
-
slider: {
|
|
429
|
-
min: number;
|
|
430
|
-
max: number;
|
|
431
|
-
step: number;
|
|
432
|
-
validateEvent: boolean;
|
|
433
|
-
};
|
|
434
|
-
space: {
|
|
435
|
-
direction: SpaceProps["direction"];
|
|
436
|
-
size: SpaceProps["size"];
|
|
437
|
-
};
|
|
438
|
-
statusBar: {
|
|
439
|
-
height: string;
|
|
440
|
-
};
|
|
441
|
-
stepper: {
|
|
442
|
-
min: number;
|
|
443
|
-
max: number;
|
|
444
|
-
step: number;
|
|
445
|
-
inputType: StepperProps["inputType"];
|
|
446
|
-
press: boolean;
|
|
447
|
-
pressTime: number;
|
|
448
|
-
interval: number;
|
|
449
|
-
validateEvent: boolean;
|
|
450
|
-
size: StepperProps["size"];
|
|
451
|
-
};
|
|
452
|
-
steps: {
|
|
453
|
-
current: number;
|
|
454
|
-
center: boolean;
|
|
455
|
-
itemList: () => never[];
|
|
456
|
-
direction: StepsProps["direction"];
|
|
457
|
-
finishIcon: string;
|
|
458
|
-
processIcon: string;
|
|
459
|
-
waitIcon: string;
|
|
460
|
-
errorIcon: string;
|
|
461
|
-
};
|
|
462
|
-
swiperDot: {
|
|
463
|
-
type: SwiperDotProps["type"];
|
|
464
|
-
current: number;
|
|
465
|
-
total: number;
|
|
466
|
-
field: string;
|
|
467
|
-
};
|
|
468
|
-
switch: {
|
|
469
|
-
checkedValue: boolean;
|
|
470
|
-
uncheckedValue: boolean;
|
|
471
|
-
validateEvent: boolean;
|
|
472
|
-
};
|
|
473
|
-
tabbar: {
|
|
474
|
-
bordered: boolean;
|
|
475
|
-
};
|
|
476
|
-
table: {
|
|
477
|
-
bordered: boolean;
|
|
478
|
-
underline: boolean;
|
|
479
|
-
};
|
|
480
|
-
tabs: {
|
|
481
|
-
type: TabsProps["type"];
|
|
482
|
-
};
|
|
483
|
-
tag: {
|
|
484
|
-
theme: TagProps["theme"];
|
|
485
|
-
size: TagProps["size"];
|
|
486
|
-
};
|
|
487
|
-
toast: {
|
|
488
|
-
type: ToastProps["type"];
|
|
489
|
-
position: ToastProps["position"];
|
|
490
|
-
overlay: boolean;
|
|
491
|
-
transparent: boolean;
|
|
492
|
-
timeout: number;
|
|
493
|
-
duration: number;
|
|
494
|
-
};
|
|
495
|
-
toastAgent: {
|
|
496
|
-
id: string;
|
|
497
|
-
};
|
|
498
|
-
tree: {
|
|
499
|
-
defaultExpandAll: boolean;
|
|
500
|
-
filterMode: TreeProps["filterMode"];
|
|
501
|
-
accordion: boolean;
|
|
502
|
-
};
|
|
503
|
-
upload: {
|
|
504
|
-
accept: UploadProps["accept"];
|
|
505
|
-
sourceType: () => UploadProps["sourceType"];
|
|
506
|
-
sizeType: () => UploadProps["sizeType"];
|
|
507
|
-
maxDuration: number;
|
|
508
|
-
maxCount: number;
|
|
509
|
-
maxSize: number;
|
|
510
|
-
removable: boolean;
|
|
511
|
-
validateEvent: boolean;
|
|
512
|
-
};
|
|
513
|
-
uploadPreview: {
|
|
514
|
-
status: UploadPreviewProps["status"];
|
|
515
|
-
};
|
|
516
|
-
waterfall: {
|
|
517
|
-
columns: number;
|
|
518
|
-
columnGap: number;
|
|
519
|
-
rowGap: number;
|
|
520
|
-
};
|
|
521
|
-
watermark: {
|
|
522
|
-
width: number;
|
|
523
|
-
height: number;
|
|
524
|
-
rotate: number;
|
|
525
|
-
zIndex: number;
|
|
526
|
-
gap: () => NonNullable<WatermarkProps["gap"]>;
|
|
527
|
-
};
|
|
95
|
+
type LooseRequired<T> = {
|
|
96
|
+
[P in keyof (T & Required<T>)]: T[P];
|
|
97
|
+
};
|
|
98
|
+
export interface ConfigOptions {
|
|
99
|
+
initialZIndex?: number;
|
|
100
|
+
valueOnClear?: () => any;
|
|
101
|
+
actionSheet?: InferDefaults<LooseRequired<ActionSheetProps>>;
|
|
102
|
+
alert?: InferDefaults<LooseRequired<AlertProps>>;
|
|
103
|
+
avatar?: InferDefaults<LooseRequired<AvatarProps>>;
|
|
104
|
+
avatarGroup?: InferDefaults<LooseRequired<AvatarGroupProps>>;
|
|
105
|
+
backTop?: InferDefaults<LooseRequired<BackTopProps>>;
|
|
106
|
+
badge?: InferDefaults<LooseRequired<BadgeProps>>;
|
|
107
|
+
button?: InferDefaults<LooseRequired<ButtonProps>>;
|
|
108
|
+
calendar?: InferDefaults<LooseRequired<CalendarProps>>;
|
|
109
|
+
calendarInput?: InferDefaults<LooseRequired<CalendarInputProps>>;
|
|
110
|
+
calendarPopout?: InferDefaults<LooseRequired<CalendarPopoutProps>>;
|
|
111
|
+
cascaderPopout?: InferDefaults<LooseRequired<CascaderPopoutProps>>;
|
|
112
|
+
cascaderInput?: InferDefaults<LooseRequired<CascaderInputProps>>;
|
|
113
|
+
checkbox?: InferDefaults<LooseRequired<CheckboxProps>>;
|
|
114
|
+
checkboxGroup?: InferDefaults<LooseRequired<CheckboxGroupProps>>;
|
|
115
|
+
checkboxInput?: InferDefaults<LooseRequired<CheckboxInputProps>>;
|
|
116
|
+
checkboxPopout?: InferDefaults<LooseRequired<CheckboxPopoutProps>>;
|
|
117
|
+
coolIcon?: InferDefaults<LooseRequired<CoolIconProps>>;
|
|
118
|
+
countDown?: InferDefaults<LooseRequired<CountDownProps>>;
|
|
119
|
+
countTo?: InferDefaults<LooseRequired<CountToProps>>;
|
|
120
|
+
cropImage?: InferDefaults<LooseRequired<CropImageProps>>;
|
|
121
|
+
cropImageAgent?: InferDefaults<LooseRequired<CropImageAgentProps>>;
|
|
122
|
+
datetimePicker?: InferDefaults<LooseRequired<DatetimePickerProps>>;
|
|
123
|
+
datetimePickerInput?: InferDefaults<LooseRequired<DatetimePickerInputProps>>;
|
|
124
|
+
datetimePickerPopout?: InferDefaults<LooseRequired<DatetimePickerPopoutProps>>;
|
|
125
|
+
datetimeRangePicker?: InferDefaults<LooseRequired<DatetimeRangePickerProps>>;
|
|
126
|
+
datetimeRangePickerInput?: InferDefaults<LooseRequired<DatetimeRangePickerInputProps>>;
|
|
127
|
+
datetimeRangePickerPopout?: InferDefaults<LooseRequired<DatetimeRangePickerPopoutProps>>;
|
|
128
|
+
dialog?: InferDefaults<LooseRequired<DialogProps>>;
|
|
129
|
+
dialogAgent?: InferDefaults<LooseRequired<DialogAgentProps>>;
|
|
130
|
+
divider?: InferDefaults<LooseRequired<DividerProps>>;
|
|
131
|
+
dropdown?: InferDefaults<LooseRequired<DropdownProps>>;
|
|
132
|
+
empty?: InferDefaults<LooseRequired<EmptyProps>>;
|
|
133
|
+
fab?: InferDefaults<LooseRequired<FabProps>>;
|
|
134
|
+
floatingBubble?: InferDefaults<LooseRequired<FloatingBubbleProps>>;
|
|
135
|
+
floatingPanel?: InferDefaults<LooseRequired<FloatingPanelProps>>;
|
|
136
|
+
form?: InferDefaults<LooseRequired<FormProps>>;
|
|
137
|
+
formItem?: InferDefaults<LooseRequired<FormItemProps>>;
|
|
138
|
+
grid?: InferDefaults<LooseRequired<GridProps>>;
|
|
139
|
+
icon?: InferDefaults<LooseRequired<IconProps>>;
|
|
140
|
+
indexes?: InferDefaults<LooseRequired<IndexesProps>>;
|
|
141
|
+
input?: InferDefaults<LooseRequired<InputProps>>;
|
|
142
|
+
keyboard?: InferDefaults<LooseRequired<KeyboardProps>>;
|
|
143
|
+
listItem?: InferDefaults<LooseRequired<ListItemProps>>;
|
|
144
|
+
loading?: InferDefaults<LooseRequired<LoadingProps>>;
|
|
145
|
+
marquee?: InferDefaults<LooseRequired<MarqueeProps>>;
|
|
146
|
+
noticeBar?: InferDefaults<LooseRequired<NoticeBarProps>>;
|
|
147
|
+
notify?: InferDefaults<LooseRequired<NotifyProps>>;
|
|
148
|
+
notifyAgent?: InferDefaults<LooseRequired<NotifyAgentProps>>;
|
|
149
|
+
overlay?: InferDefaults<LooseRequired<OverlayProps>>;
|
|
150
|
+
pagination?: InferDefaults<LooseRequired<PaginationProps>>;
|
|
151
|
+
passwordInput?: InferDefaults<LooseRequired<PasswordInputProps>>;
|
|
152
|
+
picker?: InferDefaults<LooseRequired<PickerProps>>;
|
|
153
|
+
pickerInput?: InferDefaults<LooseRequired<PickerInputProps>>;
|
|
154
|
+
pickerPopout?: InferDefaults<LooseRequired<PickerPopoutProps>>;
|
|
155
|
+
popout?: InferDefaults<LooseRequired<PopoutProps>>;
|
|
156
|
+
popoutInput?: InferDefaults<LooseRequired<PopoutInputProps>>;
|
|
157
|
+
popover?: InferDefaults<LooseRequired<PopoverProps>>;
|
|
158
|
+
popup?: InferDefaults<LooseRequired<PopupProps>>;
|
|
159
|
+
progressBar?: InferDefaults<LooseRequired<ProgressBarProps>>;
|
|
160
|
+
progressCircle?: InferDefaults<LooseRequired<ProgressCircleProps>>;
|
|
161
|
+
pullDownRefresh?: InferDefaults<LooseRequired<PullDownRefreshProps>>;
|
|
162
|
+
qrcode?: InferDefaults<LooseRequired<QrcodeProps>>;
|
|
163
|
+
radioGroup?: InferDefaults<LooseRequired<RadioGroupProps>>;
|
|
164
|
+
radioInput?: InferDefaults<LooseRequired<RadioInputProps>>;
|
|
165
|
+
radioPopout?: InferDefaults<LooseRequired<RadioPopoutProps>>;
|
|
166
|
+
rate?: InferDefaults<LooseRequired<RateProps>>;
|
|
167
|
+
readMore?: InferDefaults<LooseRequired<ReadMoreProps>>;
|
|
168
|
+
resizeSensor?: InferDefaults<LooseRequired<ResizeSensorProps>>;
|
|
169
|
+
result?: InferDefaults<LooseRequired<ResultProps>>;
|
|
170
|
+
search?: InferDefaults<LooseRequired<SearchProps>>;
|
|
171
|
+
segmented?: InferDefaults<LooseRequired<SegmentedProps>>;
|
|
172
|
+
shareSheet?: InferDefaults<LooseRequired<ShareSheetProps>>;
|
|
173
|
+
signature?: InferDefaults<LooseRequired<SignatureProps>>;
|
|
174
|
+
skeleton?: InferDefaults<LooseRequired<SkeletonProps>>;
|
|
175
|
+
slider?: InferDefaults<LooseRequired<SliderProps>>;
|
|
176
|
+
space?: InferDefaults<LooseRequired<SpaceProps>>;
|
|
177
|
+
statusBar?: InferDefaults<LooseRequired<StatusBarProps>>;
|
|
178
|
+
stepper?: InferDefaults<LooseRequired<StepperProps>>;
|
|
179
|
+
steps?: InferDefaults<LooseRequired<StepsProps>>;
|
|
180
|
+
swiperDot?: InferDefaults<LooseRequired<SwiperDotProps>>;
|
|
181
|
+
switch?: InferDefaults<LooseRequired<SwitchProps>>;
|
|
182
|
+
tabbar?: InferDefaults<LooseRequired<TabbarProps>>;
|
|
183
|
+
table?: InferDefaults<LooseRequired<TableProps>>;
|
|
184
|
+
tabs?: InferDefaults<LooseRequired<TabsProps>>;
|
|
185
|
+
tag?: InferDefaults<LooseRequired<TagProps>>;
|
|
186
|
+
toast?: InferDefaults<LooseRequired<ToastProps>>;
|
|
187
|
+
toastAgent?: InferDefaults<LooseRequired<ToastAgentProps>>;
|
|
188
|
+
tree?: InferDefaults<LooseRequired<TreeProps>>;
|
|
189
|
+
upload?: InferDefaults<LooseRequired<UploadProps>>;
|
|
190
|
+
uploadPreview?: InferDefaults<LooseRequired<UploadPreviewProps>>;
|
|
191
|
+
waterfall?: InferDefaults<LooseRequired<WaterfallProps>>;
|
|
192
|
+
watermark?: InferDefaults<LooseRequired<WatermarkProps>>;
|
|
193
|
+
}
|
|
194
|
+
export type RequiredConfigOptions = Omit<Required<ConfigOptions>, 'valueOnClear'> & {
|
|
195
|
+
valueOnClear: ConfigOptions['valueOnClear'];
|
|
528
196
|
};
|
|
529
|
-
export
|
|
530
|
-
export declare function setConfig(...optionsArgs:
|
|
197
|
+
export declare const defaultConfig: RequiredConfigOptions;
|
|
198
|
+
export declare function setConfig(...optionsArgs: ConfigOptions[]): void;
|
|
531
199
|
export declare function getDurationConfig(duration: number): {
|
|
532
200
|
actionSheet: {
|
|
533
201
|
duration: number;
|