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
|
@@ -16,8 +16,187 @@ export interface PopoutInputProps {
|
|
|
16
16
|
inputProps?: InputProps;
|
|
17
17
|
}
|
|
18
18
|
export declare const defaultPopoutInputProps: {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
rootStyle?: (string | false | ((props: {
|
|
20
|
+
rootStyle: StyleValue;
|
|
21
|
+
rootClass: string;
|
|
22
|
+
modelValue: any;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
readonly: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
clearable: boolean;
|
|
27
|
+
loading: boolean;
|
|
28
|
+
multiline: boolean;
|
|
29
|
+
arrow: string;
|
|
30
|
+
arrowFamily: string;
|
|
31
|
+
internalArrow: number;
|
|
32
|
+
inputProps: InputProps;
|
|
33
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
34
|
+
rootClass?: (string | ((props: {
|
|
35
|
+
rootStyle: StyleValue;
|
|
36
|
+
rootClass: string;
|
|
37
|
+
modelValue: any;
|
|
38
|
+
placeholder: string;
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
clearable: boolean;
|
|
42
|
+
loading: boolean;
|
|
43
|
+
multiline: boolean;
|
|
44
|
+
arrow: string;
|
|
45
|
+
arrowFamily: string;
|
|
46
|
+
internalArrow: number;
|
|
47
|
+
inputProps: InputProps;
|
|
48
|
+
}) => string)) | undefined;
|
|
49
|
+
modelValue?: any;
|
|
50
|
+
placeholder?: (string | ((props: {
|
|
51
|
+
rootStyle: StyleValue;
|
|
52
|
+
rootClass: string;
|
|
53
|
+
modelValue: any;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
readonly: boolean;
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
clearable: boolean;
|
|
58
|
+
loading: boolean;
|
|
59
|
+
multiline: boolean;
|
|
60
|
+
arrow: string;
|
|
61
|
+
arrowFamily: string;
|
|
62
|
+
internalArrow: number;
|
|
63
|
+
inputProps: InputProps;
|
|
64
|
+
}) => string)) | undefined;
|
|
65
|
+
readonly?: (boolean | ((props: {
|
|
66
|
+
rootStyle: StyleValue;
|
|
67
|
+
rootClass: string;
|
|
68
|
+
modelValue: any;
|
|
69
|
+
placeholder: string;
|
|
70
|
+
readonly: boolean;
|
|
71
|
+
disabled: boolean;
|
|
72
|
+
clearable: boolean;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
multiline: boolean;
|
|
75
|
+
arrow: string;
|
|
76
|
+
arrowFamily: string;
|
|
77
|
+
internalArrow: number;
|
|
78
|
+
inputProps: InputProps;
|
|
79
|
+
}) => boolean)) | undefined;
|
|
80
|
+
disabled?: (boolean | ((props: {
|
|
81
|
+
rootStyle: StyleValue;
|
|
82
|
+
rootClass: string;
|
|
83
|
+
modelValue: any;
|
|
84
|
+
placeholder: string;
|
|
85
|
+
readonly: boolean;
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
clearable: boolean;
|
|
88
|
+
loading: boolean;
|
|
89
|
+
multiline: boolean;
|
|
90
|
+
arrow: string;
|
|
91
|
+
arrowFamily: string;
|
|
92
|
+
internalArrow: number;
|
|
93
|
+
inputProps: InputProps;
|
|
94
|
+
}) => boolean)) | undefined;
|
|
95
|
+
clearable?: (boolean | ((props: {
|
|
96
|
+
rootStyle: StyleValue;
|
|
97
|
+
rootClass: string;
|
|
98
|
+
modelValue: any;
|
|
99
|
+
placeholder: string;
|
|
100
|
+
readonly: boolean;
|
|
101
|
+
disabled: boolean;
|
|
102
|
+
clearable: boolean;
|
|
103
|
+
loading: boolean;
|
|
104
|
+
multiline: boolean;
|
|
105
|
+
arrow: string;
|
|
106
|
+
arrowFamily: string;
|
|
107
|
+
internalArrow: number;
|
|
108
|
+
inputProps: InputProps;
|
|
109
|
+
}) => boolean)) | undefined;
|
|
110
|
+
loading?: (boolean | ((props: {
|
|
111
|
+
rootStyle: StyleValue;
|
|
112
|
+
rootClass: string;
|
|
113
|
+
modelValue: any;
|
|
114
|
+
placeholder: string;
|
|
115
|
+
readonly: boolean;
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
clearable: boolean;
|
|
118
|
+
loading: boolean;
|
|
119
|
+
multiline: boolean;
|
|
120
|
+
arrow: string;
|
|
121
|
+
arrowFamily: string;
|
|
122
|
+
internalArrow: number;
|
|
123
|
+
inputProps: InputProps;
|
|
124
|
+
}) => boolean)) | undefined;
|
|
125
|
+
multiline?: (boolean | ((props: {
|
|
126
|
+
rootStyle: StyleValue;
|
|
127
|
+
rootClass: string;
|
|
128
|
+
modelValue: any;
|
|
129
|
+
placeholder: string;
|
|
130
|
+
readonly: boolean;
|
|
131
|
+
disabled: boolean;
|
|
132
|
+
clearable: boolean;
|
|
133
|
+
loading: boolean;
|
|
134
|
+
multiline: boolean;
|
|
135
|
+
arrow: string;
|
|
136
|
+
arrowFamily: string;
|
|
137
|
+
internalArrow: number;
|
|
138
|
+
inputProps: InputProps;
|
|
139
|
+
}) => boolean)) | undefined;
|
|
140
|
+
arrow?: (string | ((props: {
|
|
141
|
+
rootStyle: StyleValue;
|
|
142
|
+
rootClass: string;
|
|
143
|
+
modelValue: any;
|
|
144
|
+
placeholder: string;
|
|
145
|
+
readonly: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
clearable: boolean;
|
|
148
|
+
loading: boolean;
|
|
149
|
+
multiline: boolean;
|
|
150
|
+
arrow: string;
|
|
151
|
+
arrowFamily: string;
|
|
152
|
+
internalArrow: number;
|
|
153
|
+
inputProps: InputProps;
|
|
154
|
+
}) => string)) | undefined;
|
|
155
|
+
arrowFamily?: (string | ((props: {
|
|
156
|
+
rootStyle: StyleValue;
|
|
157
|
+
rootClass: string;
|
|
158
|
+
modelValue: any;
|
|
159
|
+
placeholder: string;
|
|
160
|
+
readonly: boolean;
|
|
161
|
+
disabled: boolean;
|
|
162
|
+
clearable: boolean;
|
|
163
|
+
loading: boolean;
|
|
164
|
+
multiline: boolean;
|
|
165
|
+
arrow: string;
|
|
166
|
+
arrowFamily: string;
|
|
167
|
+
internalArrow: number;
|
|
168
|
+
inputProps: InputProps;
|
|
169
|
+
}) => string)) | undefined;
|
|
170
|
+
internalArrow?: (number | ((props: {
|
|
171
|
+
rootStyle: StyleValue;
|
|
172
|
+
rootClass: string;
|
|
173
|
+
modelValue: any;
|
|
174
|
+
placeholder: string;
|
|
175
|
+
readonly: boolean;
|
|
176
|
+
disabled: boolean;
|
|
177
|
+
clearable: boolean;
|
|
178
|
+
loading: boolean;
|
|
179
|
+
multiline: boolean;
|
|
180
|
+
arrow: string;
|
|
181
|
+
arrowFamily: string;
|
|
182
|
+
internalArrow: number;
|
|
183
|
+
inputProps: InputProps;
|
|
184
|
+
}) => number)) | undefined;
|
|
185
|
+
inputProps?: ((props: {
|
|
186
|
+
rootStyle: StyleValue;
|
|
187
|
+
rootClass: string;
|
|
188
|
+
modelValue: any;
|
|
189
|
+
placeholder: string;
|
|
190
|
+
readonly: boolean;
|
|
191
|
+
disabled: boolean;
|
|
192
|
+
clearable: boolean;
|
|
193
|
+
loading: boolean;
|
|
194
|
+
multiline: boolean;
|
|
195
|
+
arrow: string;
|
|
196
|
+
arrowFamily: string;
|
|
197
|
+
internalArrow: number;
|
|
198
|
+
inputProps: InputProps;
|
|
199
|
+
}) => InputProps) | undefined;
|
|
21
200
|
};
|
|
22
201
|
export interface PopoutInputEmits {
|
|
23
202
|
(e: 'click', event: any): void;
|
|
@@ -16,8 +16,19 @@ declare const __VLS_component: import("vue").DefineComponent<PopoutInputProps, {
|
|
|
16
16
|
onChange?: ((value: string) => any) | undefined;
|
|
17
17
|
onClear?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
20
|
+
rootClass: string;
|
|
21
|
+
modelValue: any;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
readonly: boolean;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
clearable: boolean;
|
|
27
|
+
multiline: boolean;
|
|
19
28
|
arrow: string;
|
|
20
29
|
arrowFamily: string;
|
|
30
|
+
internalArrow: number;
|
|
31
|
+
inputProps: import("../input").InputProps;
|
|
21
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
34
|
export default _default;
|
|
@@ -18,13 +18,174 @@ export interface PopoverProps {
|
|
|
18
18
|
duration?: number;
|
|
19
19
|
}
|
|
20
20
|
export declare const defaultPopoverProps: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
rootStyle?: (string | false | ((props: {
|
|
22
|
+
rootStyle: StyleValue;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
visible: boolean;
|
|
25
|
+
options: MenuOption[];
|
|
26
|
+
position: Position;
|
|
27
|
+
direction: "vertical" | "horizontal";
|
|
28
|
+
theme: "dark" | "light";
|
|
29
|
+
refGap: number;
|
|
30
|
+
viewportGap: number;
|
|
31
|
+
transparent: boolean;
|
|
32
|
+
controller: PopoverController;
|
|
33
|
+
duration: number;
|
|
34
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
35
|
+
rootClass?: (string | ((props: {
|
|
36
|
+
rootStyle: StyleValue;
|
|
37
|
+
rootClass: string;
|
|
38
|
+
visible: boolean;
|
|
39
|
+
options: MenuOption[];
|
|
40
|
+
position: Position;
|
|
41
|
+
direction: "vertical" | "horizontal";
|
|
42
|
+
theme: "dark" | "light";
|
|
43
|
+
refGap: number;
|
|
44
|
+
viewportGap: number;
|
|
45
|
+
transparent: boolean;
|
|
46
|
+
controller: PopoverController;
|
|
47
|
+
duration: number;
|
|
48
|
+
}) => string)) | undefined;
|
|
49
|
+
visible?: (boolean | ((props: {
|
|
50
|
+
rootStyle: StyleValue;
|
|
51
|
+
rootClass: string;
|
|
52
|
+
visible: boolean;
|
|
53
|
+
options: MenuOption[];
|
|
54
|
+
position: Position;
|
|
55
|
+
direction: "vertical" | "horizontal";
|
|
56
|
+
theme: "dark" | "light";
|
|
57
|
+
refGap: number;
|
|
58
|
+
viewportGap: number;
|
|
59
|
+
transparent: boolean;
|
|
60
|
+
controller: PopoverController;
|
|
61
|
+
duration: number;
|
|
62
|
+
}) => boolean)) | undefined;
|
|
63
|
+
options?: ((props: {
|
|
64
|
+
rootStyle: StyleValue;
|
|
65
|
+
rootClass: string;
|
|
66
|
+
visible: boolean;
|
|
67
|
+
options: MenuOption[];
|
|
68
|
+
position: Position;
|
|
69
|
+
direction: "vertical" | "horizontal";
|
|
70
|
+
theme: "dark" | "light";
|
|
71
|
+
refGap: number;
|
|
72
|
+
viewportGap: number;
|
|
73
|
+
transparent: boolean;
|
|
74
|
+
controller: PopoverController;
|
|
75
|
+
duration: number;
|
|
76
|
+
}) => MenuOption[]) | undefined;
|
|
77
|
+
position?: (Position | ((props: {
|
|
78
|
+
rootStyle: StyleValue;
|
|
79
|
+
rootClass: string;
|
|
80
|
+
visible: boolean;
|
|
81
|
+
options: MenuOption[];
|
|
82
|
+
position: Position;
|
|
83
|
+
direction: "vertical" | "horizontal";
|
|
84
|
+
theme: "dark" | "light";
|
|
85
|
+
refGap: number;
|
|
86
|
+
viewportGap: number;
|
|
87
|
+
transparent: boolean;
|
|
88
|
+
controller: PopoverController;
|
|
89
|
+
duration: number;
|
|
90
|
+
}) => "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end")) | undefined;
|
|
91
|
+
direction?: ("horizontal" | "vertical" | ((props: {
|
|
92
|
+
rootStyle: StyleValue;
|
|
93
|
+
rootClass: string;
|
|
94
|
+
visible: boolean;
|
|
95
|
+
options: MenuOption[];
|
|
96
|
+
position: Position;
|
|
97
|
+
direction: "vertical" | "horizontal";
|
|
98
|
+
theme: "dark" | "light";
|
|
99
|
+
refGap: number;
|
|
100
|
+
viewportGap: number;
|
|
101
|
+
transparent: boolean;
|
|
102
|
+
controller: PopoverController;
|
|
103
|
+
duration: number;
|
|
104
|
+
}) => "horizontal" | "vertical")) | undefined;
|
|
105
|
+
theme?: ("dark" | "light" | ((props: {
|
|
106
|
+
rootStyle: StyleValue;
|
|
107
|
+
rootClass: string;
|
|
108
|
+
visible: boolean;
|
|
109
|
+
options: MenuOption[];
|
|
110
|
+
position: Position;
|
|
111
|
+
direction: "vertical" | "horizontal";
|
|
112
|
+
theme: "dark" | "light";
|
|
113
|
+
refGap: number;
|
|
114
|
+
viewportGap: number;
|
|
115
|
+
transparent: boolean;
|
|
116
|
+
controller: PopoverController;
|
|
117
|
+
duration: number;
|
|
118
|
+
}) => "dark" | "light")) | undefined;
|
|
119
|
+
refGap?: (number | ((props: {
|
|
120
|
+
rootStyle: StyleValue;
|
|
121
|
+
rootClass: string;
|
|
122
|
+
visible: boolean;
|
|
123
|
+
options: MenuOption[];
|
|
124
|
+
position: Position;
|
|
125
|
+
direction: "vertical" | "horizontal";
|
|
126
|
+
theme: "dark" | "light";
|
|
127
|
+
refGap: number;
|
|
128
|
+
viewportGap: number;
|
|
129
|
+
transparent: boolean;
|
|
130
|
+
controller: PopoverController;
|
|
131
|
+
duration: number;
|
|
132
|
+
}) => number)) | undefined;
|
|
133
|
+
viewportGap?: (number | ((props: {
|
|
134
|
+
rootStyle: StyleValue;
|
|
135
|
+
rootClass: string;
|
|
136
|
+
visible: boolean;
|
|
137
|
+
options: MenuOption[];
|
|
138
|
+
position: Position;
|
|
139
|
+
direction: "vertical" | "horizontal";
|
|
140
|
+
theme: "dark" | "light";
|
|
141
|
+
refGap: number;
|
|
142
|
+
viewportGap: number;
|
|
143
|
+
transparent: boolean;
|
|
144
|
+
controller: PopoverController;
|
|
145
|
+
duration: number;
|
|
146
|
+
}) => number)) | undefined;
|
|
147
|
+
transparent?: (boolean | ((props: {
|
|
148
|
+
rootStyle: StyleValue;
|
|
149
|
+
rootClass: string;
|
|
150
|
+
visible: boolean;
|
|
151
|
+
options: MenuOption[];
|
|
152
|
+
position: Position;
|
|
153
|
+
direction: "vertical" | "horizontal";
|
|
154
|
+
theme: "dark" | "light";
|
|
155
|
+
refGap: number;
|
|
156
|
+
viewportGap: number;
|
|
157
|
+
transparent: boolean;
|
|
158
|
+
controller: PopoverController;
|
|
159
|
+
duration: number;
|
|
160
|
+
}) => boolean)) | undefined;
|
|
161
|
+
controller?: ((props: {
|
|
162
|
+
rootStyle: StyleValue;
|
|
163
|
+
rootClass: string;
|
|
164
|
+
visible: boolean;
|
|
165
|
+
options: MenuOption[];
|
|
166
|
+
position: Position;
|
|
167
|
+
direction: "vertical" | "horizontal";
|
|
168
|
+
theme: "dark" | "light";
|
|
169
|
+
refGap: number;
|
|
170
|
+
viewportGap: number;
|
|
171
|
+
transparent: boolean;
|
|
172
|
+
controller: PopoverController;
|
|
173
|
+
duration: number;
|
|
174
|
+
}) => PopoverController) | undefined;
|
|
175
|
+
duration?: (number | ((props: {
|
|
176
|
+
rootStyle: StyleValue;
|
|
177
|
+
rootClass: string;
|
|
178
|
+
visible: boolean;
|
|
179
|
+
options: MenuOption[];
|
|
180
|
+
position: Position;
|
|
181
|
+
direction: "vertical" | "horizontal";
|
|
182
|
+
theme: "dark" | "light";
|
|
183
|
+
refGap: number;
|
|
184
|
+
viewportGap: number;
|
|
185
|
+
transparent: boolean;
|
|
186
|
+
controller: PopoverController;
|
|
187
|
+
duration: number;
|
|
188
|
+
}) => number)) | undefined;
|
|
28
189
|
};
|
|
29
190
|
export interface PopoverSlots {
|
|
30
191
|
default?(props: Record<string, never>): any;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
left: auto;
|
|
11
11
|
overflow: visible;
|
|
12
12
|
border-radius: var(--sar-popover-border-radius);
|
|
13
|
-
background
|
|
13
|
+
background: var(--sar-popover-bg);
|
|
14
14
|
box-shadow: var(--sar-popover-box-shadow);
|
|
15
15
|
touch-action: none;
|
|
16
16
|
}
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@include m(light) {
|
|
41
|
-
background
|
|
41
|
+
background: var(--sar-popover-bg);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
@include m(dark) {
|
|
45
45
|
color: var(--sar-popover-dark-color);
|
|
46
|
-
background
|
|
46
|
+
background: var(--sar-popover-dark-bg);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// zoom
|
|
@@ -8,13 +8,18 @@ declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {}, {
|
|
|
8
8
|
onSelect?: ((option: MenuOption) => any) | undefined;
|
|
9
9
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
|
|
11
|
+
options: MenuOption[];
|
|
12
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
13
|
+
rootClass: string;
|
|
14
|
+
visible: boolean;
|
|
15
|
+
duration: number;
|
|
12
16
|
direction: "vertical" | "horizontal";
|
|
17
|
+
transparent: boolean;
|
|
18
|
+
theme: "dark" | "light";
|
|
13
19
|
position: import("./utils").Position;
|
|
14
|
-
duration: number;
|
|
15
20
|
refGap: number;
|
|
16
21
|
viewportGap: number;
|
|
17
|
-
|
|
22
|
+
controller: import("./usePopover").PopoverController;
|
|
18
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
25
|
export default _default;
|
|
@@ -15,10 +15,174 @@ export interface PopupProps {
|
|
|
15
15
|
overlayClosable?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare const defaultPopupProps: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
rootStyle?: (string | false | ((props: {
|
|
19
|
+
rootStyle: StyleValue;
|
|
20
|
+
rootClass: string;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
duration: number;
|
|
23
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
24
|
+
overlay: boolean;
|
|
25
|
+
overlayClass: string;
|
|
26
|
+
overlayStyle: string;
|
|
27
|
+
background: string;
|
|
28
|
+
transparent: boolean;
|
|
29
|
+
keepRender: boolean;
|
|
30
|
+
overlayClosable: boolean;
|
|
31
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
32
|
+
rootClass?: (string | ((props: {
|
|
33
|
+
rootStyle: StyleValue;
|
|
34
|
+
rootClass: string;
|
|
35
|
+
visible: boolean;
|
|
36
|
+
duration: number;
|
|
37
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
38
|
+
overlay: boolean;
|
|
39
|
+
overlayClass: string;
|
|
40
|
+
overlayStyle: string;
|
|
41
|
+
background: string;
|
|
42
|
+
transparent: boolean;
|
|
43
|
+
keepRender: boolean;
|
|
44
|
+
overlayClosable: boolean;
|
|
45
|
+
}) => string)) | undefined;
|
|
46
|
+
visible?: (boolean | ((props: {
|
|
47
|
+
rootStyle: StyleValue;
|
|
48
|
+
rootClass: string;
|
|
49
|
+
visible: boolean;
|
|
50
|
+
duration: number;
|
|
51
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
52
|
+
overlay: boolean;
|
|
53
|
+
overlayClass: string;
|
|
54
|
+
overlayStyle: string;
|
|
55
|
+
background: string;
|
|
56
|
+
transparent: boolean;
|
|
57
|
+
keepRender: boolean;
|
|
58
|
+
overlayClosable: boolean;
|
|
59
|
+
}) => boolean)) | undefined;
|
|
60
|
+
duration?: (number | ((props: {
|
|
61
|
+
rootStyle: StyleValue;
|
|
62
|
+
rootClass: string;
|
|
63
|
+
visible: boolean;
|
|
64
|
+
duration: number;
|
|
65
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
66
|
+
overlay: boolean;
|
|
67
|
+
overlayClass: string;
|
|
68
|
+
overlayStyle: string;
|
|
69
|
+
background: string;
|
|
70
|
+
transparent: boolean;
|
|
71
|
+
keepRender: boolean;
|
|
72
|
+
overlayClosable: boolean;
|
|
73
|
+
}) => number)) | undefined;
|
|
74
|
+
effect?: ("slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade" | ((props: {
|
|
75
|
+
rootStyle: StyleValue;
|
|
76
|
+
rootClass: string;
|
|
77
|
+
visible: boolean;
|
|
78
|
+
duration: number;
|
|
79
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
80
|
+
overlay: boolean;
|
|
81
|
+
overlayClass: string;
|
|
82
|
+
overlayStyle: string;
|
|
83
|
+
background: string;
|
|
84
|
+
transparent: boolean;
|
|
85
|
+
keepRender: boolean;
|
|
86
|
+
overlayClosable: boolean;
|
|
87
|
+
}) => "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade")) | undefined;
|
|
88
|
+
overlay?: (boolean | ((props: {
|
|
89
|
+
rootStyle: StyleValue;
|
|
90
|
+
rootClass: string;
|
|
91
|
+
visible: boolean;
|
|
92
|
+
duration: number;
|
|
93
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
94
|
+
overlay: boolean;
|
|
95
|
+
overlayClass: string;
|
|
96
|
+
overlayStyle: string;
|
|
97
|
+
background: string;
|
|
98
|
+
transparent: boolean;
|
|
99
|
+
keepRender: boolean;
|
|
100
|
+
overlayClosable: boolean;
|
|
101
|
+
}) => boolean)) | undefined;
|
|
102
|
+
overlayClass?: (string | ((props: {
|
|
103
|
+
rootStyle: StyleValue;
|
|
104
|
+
rootClass: string;
|
|
105
|
+
visible: boolean;
|
|
106
|
+
duration: number;
|
|
107
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
108
|
+
overlay: boolean;
|
|
109
|
+
overlayClass: string;
|
|
110
|
+
overlayStyle: string;
|
|
111
|
+
background: string;
|
|
112
|
+
transparent: boolean;
|
|
113
|
+
keepRender: boolean;
|
|
114
|
+
overlayClosable: boolean;
|
|
115
|
+
}) => string)) | undefined;
|
|
116
|
+
overlayStyle?: (string | ((props: {
|
|
117
|
+
rootStyle: StyleValue;
|
|
118
|
+
rootClass: string;
|
|
119
|
+
visible: boolean;
|
|
120
|
+
duration: number;
|
|
121
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
122
|
+
overlay: boolean;
|
|
123
|
+
overlayClass: string;
|
|
124
|
+
overlayStyle: string;
|
|
125
|
+
background: string;
|
|
126
|
+
transparent: boolean;
|
|
127
|
+
keepRender: boolean;
|
|
128
|
+
overlayClosable: boolean;
|
|
129
|
+
}) => string)) | undefined;
|
|
130
|
+
background?: (string | ((props: {
|
|
131
|
+
rootStyle: StyleValue;
|
|
132
|
+
rootClass: string;
|
|
133
|
+
visible: boolean;
|
|
134
|
+
duration: number;
|
|
135
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
136
|
+
overlay: boolean;
|
|
137
|
+
overlayClass: string;
|
|
138
|
+
overlayStyle: string;
|
|
139
|
+
background: string;
|
|
140
|
+
transparent: boolean;
|
|
141
|
+
keepRender: boolean;
|
|
142
|
+
overlayClosable: boolean;
|
|
143
|
+
}) => string)) | undefined;
|
|
144
|
+
transparent?: (boolean | ((props: {
|
|
145
|
+
rootStyle: StyleValue;
|
|
146
|
+
rootClass: string;
|
|
147
|
+
visible: boolean;
|
|
148
|
+
duration: number;
|
|
149
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
150
|
+
overlay: boolean;
|
|
151
|
+
overlayClass: string;
|
|
152
|
+
overlayStyle: string;
|
|
153
|
+
background: string;
|
|
154
|
+
transparent: boolean;
|
|
155
|
+
keepRender: boolean;
|
|
156
|
+
overlayClosable: boolean;
|
|
157
|
+
}) => boolean)) | undefined;
|
|
158
|
+
keepRender?: (boolean | ((props: {
|
|
159
|
+
rootStyle: StyleValue;
|
|
160
|
+
rootClass: string;
|
|
161
|
+
visible: boolean;
|
|
162
|
+
duration: number;
|
|
163
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
164
|
+
overlay: boolean;
|
|
165
|
+
overlayClass: string;
|
|
166
|
+
overlayStyle: string;
|
|
167
|
+
background: string;
|
|
168
|
+
transparent: boolean;
|
|
169
|
+
keepRender: boolean;
|
|
170
|
+
overlayClosable: boolean;
|
|
171
|
+
}) => boolean)) | undefined;
|
|
172
|
+
overlayClosable?: (boolean | ((props: {
|
|
173
|
+
rootStyle: StyleValue;
|
|
174
|
+
rootClass: string;
|
|
175
|
+
visible: boolean;
|
|
176
|
+
duration: number;
|
|
177
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
178
|
+
overlay: boolean;
|
|
179
|
+
overlayClass: string;
|
|
180
|
+
overlayStyle: string;
|
|
181
|
+
background: string;
|
|
182
|
+
transparent: boolean;
|
|
183
|
+
keepRender: boolean;
|
|
184
|
+
overlayClosable: boolean;
|
|
185
|
+
}) => boolean)) | undefined;
|
|
22
186
|
};
|
|
23
187
|
export interface PopupSlots {
|
|
24
188
|
default?(props: Record<string, never>): any;
|
|
@@ -10,9 +10,17 @@ declare const _default_1: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<PopupProps> & Readonly<{
|
|
11
11
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
14
|
+
rootClass: string;
|
|
15
|
+
visible: boolean;
|
|
15
16
|
overlay: boolean;
|
|
17
|
+
duration: number;
|
|
18
|
+
effect: "slide-top" | "slide-right" | "slide-bottom" | "slide-left" | "zoom" | "fade" | "full-fade";
|
|
19
|
+
overlayClass: string;
|
|
20
|
+
overlayStyle: string;
|
|
21
|
+
background: string;
|
|
22
|
+
transparent: boolean;
|
|
23
|
+
keepRender: boolean;
|
|
16
24
|
overlayClosable: boolean;
|
|
17
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<PopupSlots> & PopupSlots>;
|
|
18
26
|
export default _default_1;
|