sard-uniapp 1.25.3 → 1.25.5
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 +25 -0
- package/README.md +15 -0
- package/components/accordion/accordion.vue +1 -1
- package/components/accordion-item/accordion-item.vue +1 -1
- package/components/action-sheet/action-sheet.vue +1 -1
- package/components/alert/alert.vue +1 -1
- package/components/avatar/avatar.vue +1 -1
- package/components/avatar-group/avatar-group.vue +1 -1
- package/components/back-top/back-top.vue +1 -1
- package/components/badge/badge.vue +1 -1
- package/components/button/button.vue +1 -1
- package/components/calendar/calendar.vue +1 -1
- package/components/calendar-input/README.md +1 -3
- package/components/calendar-input/calendar-input.d.ts +2 -0
- package/components/calendar-input/calendar-input.vue +13 -3
- package/components/calendar-input/common.d.ts +152 -0
- package/components/calendar-popout/calendar-popout.vue +2 -2
- package/components/card/card.vue +1 -1
- package/components/cascader/README.md +89 -18
- package/components/cascader/cascader.d.ts +6 -6
- package/components/cascader/cascader.vue +201 -182
- package/components/cascader/common.d.ts +32 -7
- package/components/cascader/common.js +39 -23
- package/components/cascader/index.d.ts +1 -1
- package/components/cascader/index.scss +40 -4
- package/components/cascader/useCascaderTabs.d.ts +12 -0
- package/components/cascader/useCascaderTabs.js +59 -0
- package/components/cascader/useCascaderTree.d.ts +66 -0
- package/components/cascader/useCascaderTree.js +194 -0
- package/components/cascader/variables.scss +9 -2
- package/components/cascader-input/README.md +27 -18
- package/components/cascader-input/cascader-input.d.ts +9 -2
- package/components/cascader-input/cascader-input.vue +81 -17
- package/components/cascader-input/common.d.ts +470 -28
- package/components/cascader-popout/README.md +6 -0
- package/components/cascader-popout/cascader-popout.d.ts +5 -1
- package/components/cascader-popout/cascader-popout.vue +16 -4
- package/components/cascader-popout/common.d.ts +169 -17
- package/components/check-icon/check-icon.vue +1 -1
- package/components/checkbox/checkbox.d.ts +2 -2
- package/components/checkbox/checkbox.vue +1 -1
- package/components/checkbox-group/checkbox-group.vue +1 -1
- package/components/checkbox-input/README.md +1 -3
- package/components/checkbox-input/checkbox-input.d.ts +2 -0
- package/components/checkbox-input/checkbox-input.vue +13 -3
- package/components/checkbox-input/common.d.ts +128 -0
- package/components/checkbox-popout/checkbox-popout.vue +2 -2
- package/components/col/col.vue +1 -1
- package/components/collapse/collapse.vue +1 -1
- package/components/config/index.js +4 -1
- package/components/cool-icon/cool-icon.vue +1 -1
- package/components/count-down/count-down.vue +1 -1
- package/components/crop-image/crop-image.vue +1 -1
- package/components/crop-image-agent/crop-image-agent.vue +1 -1
- package/components/datetime-picker/datetime-picker.vue +1 -1
- package/components/datetime-picker-input/README.md +1 -3
- package/components/datetime-picker-input/common.d.ts +116 -0
- package/components/datetime-picker-input/datetime-picker-input.d.ts +2 -0
- package/components/datetime-picker-input/datetime-picker-input.vue +13 -3
- package/components/datetime-picker-popout/datetime-picker-popout.vue +2 -2
- package/components/datetime-range-picker/datetime-range-picker.vue +1 -1
- package/components/datetime-range-picker-input/README.md +1 -3
- package/components/datetime-range-picker-input/common.d.ts +120 -0
- package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +2 -0
- package/components/datetime-range-picker-input/datetime-range-picker-input.vue +13 -3
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.vue +2 -2
- package/components/dialog/dialog.vue +2 -2
- package/components/dialog-agent/dialog-agent.vue +2 -2
- package/components/divider/divider.vue +1 -1
- package/components/dnd/dnd.vue +1 -1
- package/components/dnd-handle/dnd-handle.vue +1 -1
- package/components/dnd-item/dnd-item.vue +1 -1
- package/components/dropdown/dropdown.vue +1 -1
- package/components/dropdown-item/dropdown-item.vue +7 -2
- package/components/empty/empty.vue +1 -1
- package/components/fab/fab.vue +1 -1
- package/components/fab-item/fab-item.vue +1 -1
- package/components/floating-bubble/floating-bubble.vue +1 -1
- package/components/floating-panel/floating-panel.vue +1 -1
- package/components/form/form.vue +1 -1
- package/components/form-item/form-item.vue +1 -1
- package/components/form-item-plain/form-item-plain.vue +1 -1
- package/components/form-plain/form-plain.vue +1 -1
- package/components/grid/grid.vue +1 -1
- package/components/grid-item/grid-item.vue +2 -2
- package/components/icon/icon.vue +1 -1
- package/components/icon/sari.scss +17 -17
- package/components/image/image.vue +10 -4
- package/components/indexes/indexes.vue +1 -1
- package/components/indexes-anchor/indexes-anchor.vue +1 -1
- package/components/input/index.scss +2 -0
- package/components/input/input.vue +1 -1
- package/components/keyboard/keyboard.vue +1 -1
- package/components/list/list.vue +1 -1
- package/components/list-item/list-item.vue +1 -1
- package/components/load-more/load-more.vue +1 -1
- package/components/loading/loading.vue +1 -1
- 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/vi-VN.d.ts +2 -0
- package/components/locale/lang/vi-VN.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/marquee.vue +1 -1
- package/components/menu/menu.vue +1 -1
- package/components/navbar/navbar.vue +2 -2
- package/components/navbar-item/navbar-item.vue +1 -1
- package/components/navbar-pit/navbar-pit.vue +1 -1
- package/components/notice-bar/notice-bar.vue +1 -1
- package/components/notify/notify.vue +2 -1
- package/components/notify-agent/notify-agent.vue +1 -1
- package/components/overlay/overlay.vue +1 -1
- package/components/pagination/pagination.vue +1 -1
- package/components/password-input/password-input.vue +1 -1
- package/components/picker/picker.vue +1 -1
- package/components/picker-input/README.md +1 -7
- package/components/picker-input/common.d.ts +102 -0
- package/components/picker-input/picker-input.d.ts +2 -0
- package/components/picker-input/picker-input.vue +13 -4
- package/components/picker-item/picker-item.vue +1 -1
- package/components/picker-popout/picker-popout.vue +2 -2
- package/components/popout/popout.vue +1 -1
- package/components/popout-input/README.md +5 -3
- package/components/popout-input/common.d.ts +63 -1
- package/components/popout-input/index.scss +0 -1
- package/components/popout-input/popout-input.d.ts +2 -0
- package/components/popout-input/popout-input.vue +5 -3
- package/components/popout-input/variables.scss +0 -1
- package/components/popover/popover.vue +3 -2
- package/components/popover-reference/popover-reference.vue +1 -1
- package/components/popup/README.md +1 -0
- package/components/popup/common.d.ts +28 -0
- package/components/popup/index.scss +4 -2
- package/components/popup/popup.d.ts +1 -0
- package/components/popup/popup.vue +82 -16
- package/components/popup/variables.scss +6 -0
- package/components/progress-bar/progress-bar.vue +1 -1
- package/components/progress-circle/progress-circle.vue +1 -1
- package/components/pull-down-refresh/pull-down-refresh.vue +1 -1
- package/components/qrcode/qrcode.vue +6 -5
- package/components/radio/radio.vue +1 -1
- package/components/radio-group/radio-group.vue +1 -1
- package/components/radio-input/README.md +1 -3
- package/components/radio-input/common.d.ts +122 -0
- package/components/radio-input/radio-input.d.ts +2 -0
- package/components/radio-input/radio-input.vue +13 -3
- package/components/radio-popout/radio-popout.vue +2 -2
- package/components/rate/rate.vue +1 -1
- package/components/read-more/read-more.vue +1 -1
- package/components/resize-sensor/index.scss +7 -0
- package/components/resize-sensor/resize-sensor.vue +10 -3
- package/components/result/result.vue +1 -1
- package/components/row/row.vue +1 -1
- package/components/scroll-list/scroll-list.vue +1 -1
- package/components/scroll-spy/scroll-spy.vue +1 -1
- package/components/scroll-spy-anchor/scroll-spy-anchor.vue +1 -1
- package/components/search/search.vue +1 -1
- package/components/segmented/segmented.vue +1 -1
- package/components/segmented-item/segmented-item.vue +1 -1
- package/components/share-sheet/share-sheet.vue +2 -1
- package/components/sidebar/sidebar.vue +1 -1
- package/components/sidebar-item/sidebar-item.vue +1 -1
- package/components/signature/signature.vue +1 -1
- package/components/skeleton/skeleton.vue +1 -1
- package/components/skeleton-avatar/skeleton-avatar.vue +1 -1
- package/components/skeleton-block/skeleton-block.vue +1 -1
- package/components/skeleton-paragraph/skeleton-paragraph.vue +1 -1
- package/components/skeleton-title/skeleton-title.vue +1 -1
- package/components/slider/slider.vue +1 -1
- package/components/space/space.vue +1 -1
- package/components/status-bar/status-bar.vue +1 -1
- package/components/step/step.vue +1 -1
- package/components/stepper/stepper.vue +1 -1
- package/components/steps/steps.vue +1 -1
- package/components/sticky/sticky.vue +1 -1
- package/components/sticky-box/sticky-box.vue +1 -1
- package/components/swipe-action/swipe-action.vue +1 -1
- package/components/swiper-dot/swiper-dot.vue +1 -1
- package/components/switch/switch.vue +1 -1
- package/components/tab/tab.vue +1 -1
- package/components/tabbar/tabbar.vue +1 -1
- package/components/tabbar-item/tabbar-item.vue +1 -1
- package/components/tabbar-pit/tabbar-pit.vue +1 -1
- package/components/table/table.vue +1 -1
- package/components/table-cell/table-cell.vue +1 -1
- package/components/table-fixation/table-fixation.vue +1 -1
- package/components/table-row/table-row.vue +1 -1
- package/components/tabs/tabs.vue +1 -1
- package/components/tag/tag.vue +1 -1
- package/components/timeline/timeline.vue +1 -1
- package/components/timeline-item/timeline-item.vue +1 -1
- package/components/toast/toast.vue +2 -1
- package/components/toast-agent/toast-agent.vue +1 -1
- package/components/tree/README.md +0 -2
- package/components/tree/tree.d.ts +1 -1
- package/components/tree/tree.vue +36 -81
- package/components/tree-node/tree-node.vue +8 -4
- package/components/upload/upload.vue +1 -1
- package/components/upload-preview/upload-preview.vue +1 -1
- package/components/waterfall/waterfall.vue +1 -1
- package/components/waterfall-item/waterfall-item.vue +1 -1
- package/components/waterfall-load/waterfall-load.vue +1 -1
- package/components/watermark/watermark.vue +6 -8
- package/package.json +2 -1
- package/use/index.d.ts +1 -0
- package/use/index.js +1 -0
- package/use/useLockScroll.d.ts +8 -0
- package/use/useLockScroll.js +88 -0
- package/utils/file.d.ts +6 -0
- package/utils/file.js +33 -11
- package/utils/index.d.ts +2 -0
- package/utils/index.js +2 -0
- package/utils/log.d.ts +1 -0
- package/utils/log.js +4 -0
- package/utils/router.js +2 -1
- package/utils/system.d.ts +2 -0
- package/utils/system.js +6 -1
- package/utils/tree.d.ts +18 -0
- package/utils/tree.js +94 -0
- package/components/tree/utils.d.ts +0 -5
- package/components/tree/utils.js +0 -29
|
@@ -31,9 +31,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
31
31
|
loading: boolean;
|
|
32
32
|
placeholder: string;
|
|
33
33
|
clearable: boolean;
|
|
34
|
+
internalPrepend: number;
|
|
34
35
|
multiline: boolean;
|
|
35
36
|
arrow: string;
|
|
36
37
|
arrowFamily: string;
|
|
38
|
+
internalAppend: number;
|
|
37
39
|
internalArrow: number;
|
|
38
40
|
inputProps: import("../input").InputProps;
|
|
39
41
|
}) => () => any)) | undefined;
|
|
@@ -62,9 +64,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
62
64
|
loading: boolean;
|
|
63
65
|
placeholder: string;
|
|
64
66
|
clearable: boolean;
|
|
67
|
+
internalPrepend: number;
|
|
65
68
|
multiline: boolean;
|
|
66
69
|
arrow: string;
|
|
67
70
|
arrowFamily: string;
|
|
71
|
+
internalAppend: number;
|
|
68
72
|
internalArrow: number;
|
|
69
73
|
inputProps: import("../input").InputProps;
|
|
70
74
|
}) => boolean) | undefined;
|
|
@@ -93,9 +97,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
93
97
|
loading: boolean;
|
|
94
98
|
placeholder: string;
|
|
95
99
|
clearable: boolean;
|
|
100
|
+
internalPrepend: number;
|
|
96
101
|
multiline: boolean;
|
|
97
102
|
arrow: string;
|
|
98
103
|
arrowFamily: string;
|
|
104
|
+
internalAppend: number;
|
|
99
105
|
internalArrow: number;
|
|
100
106
|
inputProps: import("../input").InputProps;
|
|
101
107
|
}) => string) | undefined;
|
|
@@ -124,9 +130,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
124
130
|
loading: boolean;
|
|
125
131
|
placeholder: string;
|
|
126
132
|
clearable: boolean;
|
|
133
|
+
internalPrepend: number;
|
|
127
134
|
multiline: boolean;
|
|
128
135
|
arrow: string;
|
|
129
136
|
arrowFamily: string;
|
|
137
|
+
internalAppend: number;
|
|
130
138
|
internalArrow: number;
|
|
131
139
|
inputProps: import("../input").InputProps;
|
|
132
140
|
}) => string) | undefined;
|
|
@@ -155,9 +163,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
155
163
|
loading: boolean;
|
|
156
164
|
placeholder: string;
|
|
157
165
|
clearable: boolean;
|
|
166
|
+
internalPrepend: number;
|
|
158
167
|
multiline: boolean;
|
|
159
168
|
arrow: string;
|
|
160
169
|
arrowFamily: string;
|
|
170
|
+
internalAppend: number;
|
|
161
171
|
internalArrow: number;
|
|
162
172
|
inputProps: import("../input").InputProps;
|
|
163
173
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -186,9 +196,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
186
196
|
loading: boolean;
|
|
187
197
|
placeholder: string;
|
|
188
198
|
clearable: boolean;
|
|
199
|
+
internalPrepend: number;
|
|
189
200
|
multiline: boolean;
|
|
190
201
|
arrow: string;
|
|
191
202
|
arrowFamily: string;
|
|
203
|
+
internalAppend: number;
|
|
192
204
|
internalArrow: number;
|
|
193
205
|
inputProps: import("../input").InputProps;
|
|
194
206
|
}) => boolean) | undefined;
|
|
@@ -217,9 +229,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
217
229
|
loading: boolean;
|
|
218
230
|
placeholder: string;
|
|
219
231
|
clearable: boolean;
|
|
232
|
+
internalPrepend: number;
|
|
220
233
|
multiline: boolean;
|
|
221
234
|
arrow: string;
|
|
222
235
|
arrowFamily: string;
|
|
236
|
+
internalAppend: number;
|
|
223
237
|
internalArrow: number;
|
|
224
238
|
inputProps: import("../input").InputProps;
|
|
225
239
|
}) => string) | undefined;
|
|
@@ -248,9 +262,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
248
262
|
loading: boolean;
|
|
249
263
|
placeholder: string;
|
|
250
264
|
clearable: boolean;
|
|
265
|
+
internalPrepend: number;
|
|
251
266
|
multiline: boolean;
|
|
252
267
|
arrow: string;
|
|
253
268
|
arrowFamily: string;
|
|
269
|
+
internalAppend: number;
|
|
254
270
|
internalArrow: number;
|
|
255
271
|
inputProps: import("../input").InputProps;
|
|
256
272
|
}) => boolean) | undefined;
|
|
@@ -279,9 +295,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
279
295
|
loading: boolean;
|
|
280
296
|
placeholder: string;
|
|
281
297
|
clearable: boolean;
|
|
298
|
+
internalPrepend: number;
|
|
282
299
|
multiline: boolean;
|
|
283
300
|
arrow: string;
|
|
284
301
|
arrowFamily: string;
|
|
302
|
+
internalAppend: number;
|
|
285
303
|
internalArrow: number;
|
|
286
304
|
inputProps: import("../input").InputProps;
|
|
287
305
|
}) => "left" | "right") | undefined;
|
|
@@ -310,9 +328,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
310
328
|
loading: boolean;
|
|
311
329
|
placeholder: string;
|
|
312
330
|
clearable: boolean;
|
|
331
|
+
internalPrepend: number;
|
|
313
332
|
multiline: boolean;
|
|
314
333
|
arrow: string;
|
|
315
334
|
arrowFamily: string;
|
|
335
|
+
internalAppend: number;
|
|
316
336
|
internalArrow: number;
|
|
317
337
|
inputProps: import("../input").InputProps;
|
|
318
338
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -341,9 +361,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
341
361
|
loading: boolean;
|
|
342
362
|
placeholder: string;
|
|
343
363
|
clearable: boolean;
|
|
364
|
+
internalPrepend: number;
|
|
344
365
|
multiline: boolean;
|
|
345
366
|
arrow: string;
|
|
346
367
|
arrowFamily: string;
|
|
368
|
+
internalAppend: number;
|
|
347
369
|
internalArrow: number;
|
|
348
370
|
inputProps: import("../input").InputProps;
|
|
349
371
|
}) => string) | undefined;
|
|
@@ -373,9 +395,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
373
395
|
loading: boolean;
|
|
374
396
|
placeholder: string;
|
|
375
397
|
clearable: boolean;
|
|
398
|
+
internalPrepend: number;
|
|
376
399
|
multiline: boolean;
|
|
377
400
|
arrow: string;
|
|
378
401
|
arrowFamily: string;
|
|
402
|
+
internalAppend: number;
|
|
379
403
|
internalArrow: number;
|
|
380
404
|
inputProps: import("../input").InputProps;
|
|
381
405
|
}) => boolean) | undefined;
|
|
@@ -404,9 +428,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
404
428
|
loading: boolean;
|
|
405
429
|
placeholder: string;
|
|
406
430
|
clearable: boolean;
|
|
431
|
+
internalPrepend: number;
|
|
407
432
|
multiline: boolean;
|
|
408
433
|
arrow: string;
|
|
409
434
|
arrowFamily: string;
|
|
435
|
+
internalAppend: number;
|
|
410
436
|
internalArrow: number;
|
|
411
437
|
inputProps: import("../input").InputProps;
|
|
412
438
|
}) => boolean) | undefined;
|
|
@@ -435,9 +461,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
435
461
|
loading: boolean;
|
|
436
462
|
placeholder: string;
|
|
437
463
|
clearable: boolean;
|
|
464
|
+
internalPrepend: number;
|
|
438
465
|
multiline: boolean;
|
|
439
466
|
arrow: string;
|
|
440
467
|
arrowFamily: string;
|
|
468
|
+
internalAppend: number;
|
|
441
469
|
internalArrow: number;
|
|
442
470
|
inputProps: import("../input").InputProps;
|
|
443
471
|
}) => string) | undefined;
|
|
@@ -466,9 +494,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
466
494
|
loading: boolean;
|
|
467
495
|
placeholder: string;
|
|
468
496
|
clearable: boolean;
|
|
497
|
+
internalPrepend: number;
|
|
469
498
|
multiline: boolean;
|
|
470
499
|
arrow: string;
|
|
471
500
|
arrowFamily: string;
|
|
501
|
+
internalAppend: number;
|
|
472
502
|
internalArrow: number;
|
|
473
503
|
inputProps: import("../input").InputProps;
|
|
474
504
|
}) => "circle" | "record") | undefined;
|
|
@@ -497,9 +527,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
497
527
|
loading: boolean;
|
|
498
528
|
placeholder: string;
|
|
499
529
|
clearable: boolean;
|
|
530
|
+
internalPrepend: number;
|
|
500
531
|
multiline: boolean;
|
|
501
532
|
arrow: string;
|
|
502
533
|
arrowFamily: string;
|
|
534
|
+
internalAppend: number;
|
|
503
535
|
internalArrow: number;
|
|
504
536
|
inputProps: import("../input").InputProps;
|
|
505
537
|
}) => string) | undefined;
|
|
@@ -528,9 +560,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
528
560
|
loading: boolean;
|
|
529
561
|
placeholder: string;
|
|
530
562
|
clearable: boolean;
|
|
563
|
+
internalPrepend: number;
|
|
531
564
|
multiline: boolean;
|
|
532
565
|
arrow: string;
|
|
533
566
|
arrowFamily: string;
|
|
567
|
+
internalAppend: number;
|
|
534
568
|
internalArrow: number;
|
|
535
569
|
inputProps: import("../input").InputProps;
|
|
536
570
|
}) => "horizontal" | "vertical") | undefined;
|
|
@@ -559,9 +593,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
559
593
|
loading: boolean;
|
|
560
594
|
placeholder: string;
|
|
561
595
|
clearable: boolean;
|
|
596
|
+
internalPrepend: number;
|
|
562
597
|
multiline: boolean;
|
|
563
598
|
arrow: string;
|
|
564
599
|
arrowFamily: string;
|
|
600
|
+
internalAppend: number;
|
|
565
601
|
internalArrow: number;
|
|
566
602
|
inputProps: import("../input").InputProps;
|
|
567
603
|
}) => boolean) | undefined;
|
|
@@ -590,9 +626,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
590
626
|
loading: boolean;
|
|
591
627
|
placeholder: string;
|
|
592
628
|
clearable: boolean;
|
|
629
|
+
internalPrepend: number;
|
|
593
630
|
multiline: boolean;
|
|
594
631
|
arrow: string;
|
|
595
632
|
arrowFamily: string;
|
|
633
|
+
internalAppend: number;
|
|
596
634
|
internalArrow: number;
|
|
597
635
|
inputProps: import("../input").InputProps;
|
|
598
636
|
}) => RadioGroupOption[];
|
|
@@ -621,9 +659,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
621
659
|
loading: boolean;
|
|
622
660
|
placeholder: string;
|
|
623
661
|
clearable: boolean;
|
|
662
|
+
internalPrepend: number;
|
|
624
663
|
multiline: boolean;
|
|
625
664
|
arrow: string;
|
|
626
665
|
arrowFamily: string;
|
|
666
|
+
internalAppend: number;
|
|
627
667
|
internalArrow: number;
|
|
628
668
|
inputProps: import("../input").InputProps;
|
|
629
669
|
}) => import("../radio/common").RadioGroupOptionKeys) | undefined;
|
|
@@ -652,9 +692,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
652
692
|
loading: boolean;
|
|
653
693
|
placeholder: string;
|
|
654
694
|
clearable: boolean;
|
|
695
|
+
internalPrepend: number;
|
|
655
696
|
multiline: boolean;
|
|
656
697
|
arrow: string;
|
|
657
698
|
arrowFamily: string;
|
|
699
|
+
internalAppend: number;
|
|
658
700
|
internalArrow: number;
|
|
659
701
|
inputProps: import("../input").InputProps;
|
|
660
702
|
}) => boolean)) | undefined;
|
|
@@ -683,9 +725,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
683
725
|
loading: boolean;
|
|
684
726
|
placeholder: string;
|
|
685
727
|
clearable: boolean;
|
|
728
|
+
internalPrepend: number;
|
|
686
729
|
multiline: boolean;
|
|
687
730
|
arrow: string;
|
|
688
731
|
arrowFamily: string;
|
|
732
|
+
internalAppend: number;
|
|
689
733
|
internalArrow: number;
|
|
690
734
|
inputProps: import("../input").InputProps;
|
|
691
735
|
}) => string)) | undefined;
|
|
@@ -714,12 +758,47 @@ export declare const defaultRadioInputProps: () => {
|
|
|
714
758
|
loading: boolean;
|
|
715
759
|
placeholder: string;
|
|
716
760
|
clearable: boolean;
|
|
761
|
+
internalPrepend: number;
|
|
717
762
|
multiline: boolean;
|
|
718
763
|
arrow: string;
|
|
719
764
|
arrowFamily: string;
|
|
765
|
+
internalAppend: number;
|
|
720
766
|
internalArrow: number;
|
|
721
767
|
inputProps: import("../input").InputProps;
|
|
722
768
|
}) => boolean)) | undefined;
|
|
769
|
+
internalPrepend?: (number | ((props: {
|
|
770
|
+
valueOnClear: () => any;
|
|
771
|
+
visible: boolean;
|
|
772
|
+
title: string;
|
|
773
|
+
popoutClass: string;
|
|
774
|
+
popoutStyle: import("vue").StyleValue;
|
|
775
|
+
searchable: boolean;
|
|
776
|
+
filterPlaceholder: string;
|
|
777
|
+
resettable: boolean;
|
|
778
|
+
iconPosition: "left" | "right";
|
|
779
|
+
rootStyle: import("vue").StyleValue;
|
|
780
|
+
rootClass: string;
|
|
781
|
+
modelValue: any;
|
|
782
|
+
disabled: boolean;
|
|
783
|
+
readonly: boolean;
|
|
784
|
+
size: string;
|
|
785
|
+
type: import("../radio/common").IconType;
|
|
786
|
+
checkedColor: string;
|
|
787
|
+
direction: "horizontal" | "vertical";
|
|
788
|
+
validateEvent: boolean;
|
|
789
|
+
options: RadioGroupOption[];
|
|
790
|
+
optionKeys: import("../radio/common").RadioGroupOptionKeys;
|
|
791
|
+
loading: boolean;
|
|
792
|
+
placeholder: string;
|
|
793
|
+
clearable: boolean;
|
|
794
|
+
internalPrepend: number;
|
|
795
|
+
multiline: boolean;
|
|
796
|
+
arrow: string;
|
|
797
|
+
arrowFamily: string;
|
|
798
|
+
internalAppend: number;
|
|
799
|
+
internalArrow: number;
|
|
800
|
+
inputProps: import("../input").InputProps;
|
|
801
|
+
}) => number)) | undefined;
|
|
723
802
|
multiline?: (boolean | ((props: {
|
|
724
803
|
valueOnClear: () => any;
|
|
725
804
|
visible: boolean;
|
|
@@ -745,9 +824,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
745
824
|
loading: boolean;
|
|
746
825
|
placeholder: string;
|
|
747
826
|
clearable: boolean;
|
|
827
|
+
internalPrepend: number;
|
|
748
828
|
multiline: boolean;
|
|
749
829
|
arrow: string;
|
|
750
830
|
arrowFamily: string;
|
|
831
|
+
internalAppend: number;
|
|
751
832
|
internalArrow: number;
|
|
752
833
|
inputProps: import("../input").InputProps;
|
|
753
834
|
}) => boolean)) | undefined;
|
|
@@ -776,9 +857,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
776
857
|
loading: boolean;
|
|
777
858
|
placeholder: string;
|
|
778
859
|
clearable: boolean;
|
|
860
|
+
internalPrepend: number;
|
|
779
861
|
multiline: boolean;
|
|
780
862
|
arrow: string;
|
|
781
863
|
arrowFamily: string;
|
|
864
|
+
internalAppend: number;
|
|
782
865
|
internalArrow: number;
|
|
783
866
|
inputProps: import("../input").InputProps;
|
|
784
867
|
}) => string)) | undefined;
|
|
@@ -807,12 +890,47 @@ export declare const defaultRadioInputProps: () => {
|
|
|
807
890
|
loading: boolean;
|
|
808
891
|
placeholder: string;
|
|
809
892
|
clearable: boolean;
|
|
893
|
+
internalPrepend: number;
|
|
810
894
|
multiline: boolean;
|
|
811
895
|
arrow: string;
|
|
812
896
|
arrowFamily: string;
|
|
897
|
+
internalAppend: number;
|
|
813
898
|
internalArrow: number;
|
|
814
899
|
inputProps: import("../input").InputProps;
|
|
815
900
|
}) => string)) | undefined;
|
|
901
|
+
internalAppend?: (number | ((props: {
|
|
902
|
+
valueOnClear: () => any;
|
|
903
|
+
visible: boolean;
|
|
904
|
+
title: string;
|
|
905
|
+
popoutClass: string;
|
|
906
|
+
popoutStyle: import("vue").StyleValue;
|
|
907
|
+
searchable: boolean;
|
|
908
|
+
filterPlaceholder: string;
|
|
909
|
+
resettable: boolean;
|
|
910
|
+
iconPosition: "left" | "right";
|
|
911
|
+
rootStyle: import("vue").StyleValue;
|
|
912
|
+
rootClass: string;
|
|
913
|
+
modelValue: any;
|
|
914
|
+
disabled: boolean;
|
|
915
|
+
readonly: boolean;
|
|
916
|
+
size: string;
|
|
917
|
+
type: import("../radio/common").IconType;
|
|
918
|
+
checkedColor: string;
|
|
919
|
+
direction: "horizontal" | "vertical";
|
|
920
|
+
validateEvent: boolean;
|
|
921
|
+
options: RadioGroupOption[];
|
|
922
|
+
optionKeys: import("../radio/common").RadioGroupOptionKeys;
|
|
923
|
+
loading: boolean;
|
|
924
|
+
placeholder: string;
|
|
925
|
+
clearable: boolean;
|
|
926
|
+
internalPrepend: number;
|
|
927
|
+
multiline: boolean;
|
|
928
|
+
arrow: string;
|
|
929
|
+
arrowFamily: string;
|
|
930
|
+
internalAppend: number;
|
|
931
|
+
internalArrow: number;
|
|
932
|
+
inputProps: import("../input").InputProps;
|
|
933
|
+
}) => number)) | undefined;
|
|
816
934
|
internalArrow?: (number | ((props: {
|
|
817
935
|
valueOnClear: () => any;
|
|
818
936
|
visible: boolean;
|
|
@@ -838,9 +956,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
838
956
|
loading: boolean;
|
|
839
957
|
placeholder: string;
|
|
840
958
|
clearable: boolean;
|
|
959
|
+
internalPrepend: number;
|
|
841
960
|
multiline: boolean;
|
|
842
961
|
arrow: string;
|
|
843
962
|
arrowFamily: string;
|
|
963
|
+
internalAppend: number;
|
|
844
964
|
internalArrow: number;
|
|
845
965
|
inputProps: import("../input").InputProps;
|
|
846
966
|
}) => number)) | undefined;
|
|
@@ -869,9 +989,11 @@ export declare const defaultRadioInputProps: () => {
|
|
|
869
989
|
loading: boolean;
|
|
870
990
|
placeholder: string;
|
|
871
991
|
clearable: boolean;
|
|
992
|
+
internalPrepend: number;
|
|
872
993
|
multiline: boolean;
|
|
873
994
|
arrow: string;
|
|
874
995
|
arrowFamily: string;
|
|
996
|
+
internalAppend: number;
|
|
875
997
|
internalArrow: number;
|
|
876
998
|
inputProps: import("../input").InputProps;
|
|
877
999
|
}) => import("../input").InputProps) | undefined;
|
|
@@ -27,9 +27,11 @@ declare const __VLS_component: import("vue").DefineComponent<RadioInputProps, {}
|
|
|
27
27
|
resettable: boolean;
|
|
28
28
|
placeholder: string;
|
|
29
29
|
clearable: boolean;
|
|
30
|
+
internalPrepend: number;
|
|
30
31
|
multiline: boolean;
|
|
31
32
|
arrow: string;
|
|
32
33
|
arrowFamily: string;
|
|
34
|
+
internalAppend: number;
|
|
33
35
|
internalArrow: number;
|
|
34
36
|
inputProps: import("../input/common.js").InputProps;
|
|
35
37
|
checkedColor: string;
|
|
@@ -9,11 +9,19 @@
|
|
|
9
9
|
:root-style="rootStyle"
|
|
10
10
|
:arrow="arrow"
|
|
11
11
|
:internal-arrow="$slots.arrow ? 1 : 0"
|
|
12
|
+
:internal-prepend="$slots.prepend ? 1 : 0"
|
|
13
|
+
:internal-append="$slots.append ? 1 : 0"
|
|
12
14
|
:input-props="inputProps"
|
|
13
15
|
@clear="onClear"
|
|
14
16
|
@click="show"
|
|
15
17
|
>
|
|
16
|
-
<template
|
|
18
|
+
<template #prepend>
|
|
19
|
+
<slot name="prepend"></slot>
|
|
20
|
+
</template>
|
|
21
|
+
<template #append>
|
|
22
|
+
<slot name="append"></slot>
|
|
23
|
+
</template>
|
|
24
|
+
<template #arrow>
|
|
17
25
|
<slot name="arrow"></slot>
|
|
18
26
|
</template>
|
|
19
27
|
<sar-radio-popout
|
|
@@ -108,12 +116,12 @@ export default _defineComponent({
|
|
|
108
116
|
visible: { type: Boolean, required: false },
|
|
109
117
|
title: { type: String, required: false },
|
|
110
118
|
popoutClass: { type: String, required: false },
|
|
111
|
-
popoutStyle: { type:
|
|
119
|
+
popoutStyle: { type: null, required: false },
|
|
112
120
|
searchable: { type: Boolean, required: false },
|
|
113
121
|
filterPlaceholder: { type: String, required: false },
|
|
114
122
|
resettable: { type: Boolean, required: false },
|
|
115
123
|
iconPosition: { type: String, required: false },
|
|
116
|
-
rootStyle: { type:
|
|
124
|
+
rootStyle: { type: null, required: false },
|
|
117
125
|
rootClass: { type: String, required: false },
|
|
118
126
|
modelValue: { type: null, required: false },
|
|
119
127
|
disabled: { type: Boolean, required: false },
|
|
@@ -131,6 +139,8 @@ export default _defineComponent({
|
|
|
131
139
|
multiline: { type: Boolean, required: false },
|
|
132
140
|
arrow: { type: String, required: false },
|
|
133
141
|
arrowFamily: { type: String, required: false },
|
|
142
|
+
internalPrepend: { type: Number, required: false },
|
|
143
|
+
internalAppend: { type: Number, required: false },
|
|
134
144
|
internalArrow: { type: Number, required: false },
|
|
135
145
|
inputProps: { type: Object, required: false }
|
|
136
146
|
}, defaultRadioInputProps()),
|
|
@@ -146,12 +146,12 @@ export default _defineComponent({
|
|
|
146
146
|
visible: { type: Boolean, required: false },
|
|
147
147
|
title: { type: String, required: false },
|
|
148
148
|
popoutClass: { type: String, required: false },
|
|
149
|
-
popoutStyle: { type:
|
|
149
|
+
popoutStyle: { type: null, required: false },
|
|
150
150
|
searchable: { type: Boolean, required: false },
|
|
151
151
|
filterPlaceholder: { type: String, required: false },
|
|
152
152
|
resettable: { type: Boolean, required: false },
|
|
153
153
|
iconPosition: { type: String, required: false },
|
|
154
|
-
rootStyle: { type:
|
|
154
|
+
rootStyle: { type: null, required: false },
|
|
155
155
|
rootClass: { type: String, required: false },
|
|
156
156
|
modelValue: { type: null, required: false },
|
|
157
157
|
disabled: { type: Boolean, required: false },
|
package/components/rate/rate.vue
CHANGED
|
@@ -100,7 +100,7 @@ export default _defineComponent({
|
|
|
100
100
|
},
|
|
101
101
|
__name: "rate",
|
|
102
102
|
props: _mergeDefaults({
|
|
103
|
-
rootStyle: { type:
|
|
103
|
+
rootStyle: { type: null, required: false },
|
|
104
104
|
rootClass: { type: String, required: false },
|
|
105
105
|
modelValue: { type: Number, required: false },
|
|
106
106
|
allowHalf: { type: Boolean, required: false },
|
|
@@ -62,7 +62,7 @@ export default _defineComponent({
|
|
|
62
62
|
},
|
|
63
63
|
__name: "read-more",
|
|
64
64
|
props: _mergeDefaults({
|
|
65
|
-
rootStyle: { type:
|
|
65
|
+
rootStyle: { type: null, required: false },
|
|
66
66
|
rootClass: { type: String, required: false },
|
|
67
67
|
maxHeight: { type: Number, required: false },
|
|
68
68
|
hideClose: { type: Boolean, required: false },
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view
|
|
2
|
+
<view
|
|
3
|
+
:class="resizeClass"
|
|
4
|
+
:style="resizeStyle"
|
|
5
|
+
@animationend="onAnimationEnd"
|
|
6
|
+
>
|
|
3
7
|
<scroll-view
|
|
4
8
|
:class="bem.e('scroll-view')"
|
|
5
9
|
scroll-x
|
|
@@ -60,7 +64,7 @@ export default _defineComponent({
|
|
|
60
64
|
},
|
|
61
65
|
__name: "resize-sensor",
|
|
62
66
|
props: _mergeDefaults({
|
|
63
|
-
rootStyle: { type:
|
|
67
|
+
rootStyle: { type: null, required: false },
|
|
64
68
|
rootClass: { type: String, required: false },
|
|
65
69
|
initial: { type: Boolean, required: false },
|
|
66
70
|
threshold: { type: Number, required: false }
|
|
@@ -123,6 +127,9 @@ export default _defineComponent({
|
|
|
123
127
|
trailing: false
|
|
124
128
|
}
|
|
125
129
|
);
|
|
130
|
+
const onAnimationEnd = () => {
|
|
131
|
+
debouncedUpdate();
|
|
132
|
+
};
|
|
126
133
|
onMounted(() => {
|
|
127
134
|
nextTick(reset);
|
|
128
135
|
});
|
|
@@ -141,7 +148,7 @@ export default _defineComponent({
|
|
|
141
148
|
return count;
|
|
142
149
|
}, set count(v) {
|
|
143
150
|
count = v;
|
|
144
|
-
}, reset, debouncedUpdate, onDebouncedScroll, resizeClass, resizeStyle };
|
|
151
|
+
}, reset, debouncedUpdate, onDebouncedScroll, onAnimationEnd, resizeClass, resizeStyle };
|
|
145
152
|
return __returned__;
|
|
146
153
|
}
|
|
147
154
|
});
|
|
@@ -53,7 +53,7 @@ export default _defineComponent({
|
|
|
53
53
|
},
|
|
54
54
|
__name: "result",
|
|
55
55
|
props: _mergeDefaults({
|
|
56
|
-
rootStyle: { type:
|
|
56
|
+
rootStyle: { type: null, required: false },
|
|
57
57
|
rootClass: { type: String, required: false },
|
|
58
58
|
status: { type: String, required: false },
|
|
59
59
|
icon: { type: String, required: false },
|
package/components/row/row.vue
CHANGED
|
@@ -29,7 +29,7 @@ export default _defineComponent({
|
|
|
29
29
|
},
|
|
30
30
|
__name: "row",
|
|
31
31
|
props: {
|
|
32
|
-
rootStyle: { type:
|
|
32
|
+
rootStyle: { type: null, required: false },
|
|
33
33
|
rootClass: { type: String, required: false },
|
|
34
34
|
gap: { type: [Number, String], required: false },
|
|
35
35
|
justify: { type: String, required: false },
|
|
@@ -64,7 +64,7 @@ export default _defineComponent({
|
|
|
64
64
|
},
|
|
65
65
|
__name: "scroll-list",
|
|
66
66
|
props: _mergeDefaults({
|
|
67
|
-
rootStyle: { type:
|
|
67
|
+
rootStyle: { type: null, required: false },
|
|
68
68
|
rootClass: { type: String, required: false },
|
|
69
69
|
scrollbarBg: { type: String, required: false },
|
|
70
70
|
scrollbarWidth: { type: Number, required: false },
|
|
@@ -59,7 +59,7 @@ export default _defineComponent({
|
|
|
59
59
|
},
|
|
60
60
|
__name: "scroll-spy",
|
|
61
61
|
props: {
|
|
62
|
-
rootStyle: { type:
|
|
62
|
+
rootStyle: { type: null, required: false },
|
|
63
63
|
rootClass: { type: String, required: false },
|
|
64
64
|
current: { type: [String, Number], required: false },
|
|
65
65
|
offset: { type: Number, required: false },
|
|
@@ -20,7 +20,7 @@ export default _defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
__name: "scroll-spy-anchor",
|
|
22
22
|
props: {
|
|
23
|
-
rootStyle: { type:
|
|
23
|
+
rootStyle: { type: null, required: false },
|
|
24
24
|
rootClass: { type: String, required: false },
|
|
25
25
|
name: { type: [String, Number], required: true }
|
|
26
26
|
},
|
|
@@ -106,7 +106,7 @@ export default _defineComponent({
|
|
|
106
106
|
},
|
|
107
107
|
__name: "search",
|
|
108
108
|
props: _mergeDefaults({
|
|
109
|
-
rootStyle: { type:
|
|
109
|
+
rootStyle: { type: null, required: false },
|
|
110
110
|
rootClass: { type: String, required: false },
|
|
111
111
|
modelValue: { type: String, required: false },
|
|
112
112
|
placeholder: { type: String, required: false },
|
|
@@ -56,7 +56,7 @@ export default _defineComponent({
|
|
|
56
56
|
},
|
|
57
57
|
__name: "segmented",
|
|
58
58
|
props: _mergeDefaults({
|
|
59
|
-
rootStyle: { type:
|
|
59
|
+
rootStyle: { type: null, required: false },
|
|
60
60
|
rootClass: { type: String, required: false },
|
|
61
61
|
modelValue: { type: null, required: false },
|
|
62
62
|
disabled: { type: Boolean, required: false },
|
|
@@ -37,7 +37,7 @@ export default _defineComponent({
|
|
|
37
37
|
},
|
|
38
38
|
__name: "segmented-item",
|
|
39
39
|
props: _mergeDefaults({
|
|
40
|
-
rootStyle: { type:
|
|
40
|
+
rootStyle: { type: null, required: false },
|
|
41
41
|
rootClass: { type: String, required: false },
|
|
42
42
|
label: { type: [String, Number], required: false },
|
|
43
43
|
value: { type: [String, Number, Boolean], required: false },
|
|
@@ -100,6 +100,7 @@ import {
|
|
|
100
100
|
* @property {boolean} transparent 透明遮罩,默认值:false。
|
|
101
101
|
* @property {boolean} overlayClosable 点击遮罩后是否关闭,默认值:true。
|
|
102
102
|
* @property {boolean} keepRender 无论刚挂载还是隐藏,都始终不设置 display 为 none,一般用于内部包含计算尺寸的组件的情况,默认值:false。
|
|
103
|
+
* @property {boolean} lockScroll 弹出框显示时,是否阻止页面滚动,默认值:true。
|
|
103
104
|
* @property {ShareSheetItem[] | ShareSheetItem[][]} itemList 面板选项列表,默认值:[]。
|
|
104
105
|
* @property {string} title 面板标题,默认值:-。
|
|
105
106
|
* @property {string} description 面板描述,默认值:-。
|
|
@@ -132,7 +133,7 @@ export default _defineComponent({
|
|
|
132
133
|
},
|
|
133
134
|
__name: "share-sheet",
|
|
134
135
|
props: _mergeDefaults({
|
|
135
|
-
rootStyle: { type:
|
|
136
|
+
rootStyle: { type: null, required: false },
|
|
136
137
|
rootClass: { type: String, required: false },
|
|
137
138
|
itemList: { type: Array, required: false },
|
|
138
139
|
title: { type: String, required: false },
|
|
@@ -54,7 +54,7 @@ export default _defineComponent({
|
|
|
54
54
|
},
|
|
55
55
|
__name: "sidebar",
|
|
56
56
|
props: {
|
|
57
|
-
rootStyle: { type:
|
|
57
|
+
rootStyle: { type: null, required: false },
|
|
58
58
|
rootClass: { type: String, required: false },
|
|
59
59
|
current: { type: [String, Number], required: false },
|
|
60
60
|
round: { type: Boolean, required: false },
|
|
@@ -49,7 +49,7 @@ export default _defineComponent({
|
|
|
49
49
|
},
|
|
50
50
|
__name: "sidebar-item",
|
|
51
51
|
props: {
|
|
52
|
-
rootStyle: { type:
|
|
52
|
+
rootStyle: { type: null, required: false },
|
|
53
53
|
rootClass: { type: String, required: false },
|
|
54
54
|
title: { type: String, required: false },
|
|
55
55
|
name: { type: [String, Number], required: true },
|
|
@@ -135,7 +135,7 @@ export default _defineComponent({
|
|
|
135
135
|
},
|
|
136
136
|
__name: "signature",
|
|
137
137
|
props: _mergeDefaults({
|
|
138
|
-
rootStyle: { type:
|
|
138
|
+
rootStyle: { type: null, required: false },
|
|
139
139
|
rootClass: { type: String, required: false },
|
|
140
140
|
color: { type: String, required: false },
|
|
141
141
|
lineWidth: { type: Number, required: false },
|