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
|
@@ -29,9 +29,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
29
29
|
readonly: boolean;
|
|
30
30
|
placeholder: string;
|
|
31
31
|
clearable: boolean;
|
|
32
|
+
internalPrepend: number;
|
|
32
33
|
multiline: boolean;
|
|
33
34
|
arrow: string;
|
|
34
35
|
arrowFamily: string;
|
|
36
|
+
internalAppend: number;
|
|
35
37
|
internalArrow: number;
|
|
36
38
|
inputProps: import("../input").InputProps;
|
|
37
39
|
}) => string)) | undefined;
|
|
@@ -59,9 +61,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
59
61
|
readonly: boolean;
|
|
60
62
|
placeholder: string;
|
|
61
63
|
clearable: boolean;
|
|
64
|
+
internalPrepend: number;
|
|
62
65
|
multiline: boolean;
|
|
63
66
|
arrow: string;
|
|
64
67
|
arrowFamily: string;
|
|
68
|
+
internalAppend: number;
|
|
65
69
|
internalArrow: number;
|
|
66
70
|
inputProps: import("../input").InputProps;
|
|
67
71
|
}) => () => any)) | undefined;
|
|
@@ -89,9 +93,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
89
93
|
readonly: boolean;
|
|
90
94
|
placeholder: string;
|
|
91
95
|
clearable: boolean;
|
|
96
|
+
internalPrepend: number;
|
|
92
97
|
multiline: boolean;
|
|
93
98
|
arrow: string;
|
|
94
99
|
arrowFamily: string;
|
|
100
|
+
internalAppend: number;
|
|
95
101
|
internalArrow: number;
|
|
96
102
|
inputProps: import("../input").InputProps;
|
|
97
103
|
}) => boolean) | undefined;
|
|
@@ -119,9 +125,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
119
125
|
readonly: boolean;
|
|
120
126
|
placeholder: string;
|
|
121
127
|
clearable: boolean;
|
|
128
|
+
internalPrepend: number;
|
|
122
129
|
multiline: boolean;
|
|
123
130
|
arrow: string;
|
|
124
131
|
arrowFamily: string;
|
|
132
|
+
internalAppend: number;
|
|
125
133
|
internalArrow: number;
|
|
126
134
|
inputProps: import("../input").InputProps;
|
|
127
135
|
}) => string) | undefined;
|
|
@@ -149,9 +157,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
149
157
|
readonly: boolean;
|
|
150
158
|
placeholder: string;
|
|
151
159
|
clearable: boolean;
|
|
160
|
+
internalPrepend: number;
|
|
152
161
|
multiline: boolean;
|
|
153
162
|
arrow: string;
|
|
154
163
|
arrowFamily: string;
|
|
164
|
+
internalAppend: number;
|
|
155
165
|
internalArrow: number;
|
|
156
166
|
inputProps: import("../input").InputProps;
|
|
157
167
|
}) => boolean) | undefined;
|
|
@@ -179,9 +189,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
179
189
|
readonly: boolean;
|
|
180
190
|
placeholder: string;
|
|
181
191
|
clearable: boolean;
|
|
192
|
+
internalPrepend: number;
|
|
182
193
|
multiline: boolean;
|
|
183
194
|
arrow: string;
|
|
184
195
|
arrowFamily: string;
|
|
196
|
+
internalAppend: number;
|
|
185
197
|
internalArrow: number;
|
|
186
198
|
inputProps: import("../input").InputProps;
|
|
187
199
|
}) => string) | undefined;
|
|
@@ -209,9 +221,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
209
221
|
readonly: boolean;
|
|
210
222
|
placeholder: string;
|
|
211
223
|
clearable: boolean;
|
|
224
|
+
internalPrepend: number;
|
|
212
225
|
multiline: boolean;
|
|
213
226
|
arrow: string;
|
|
214
227
|
arrowFamily: string;
|
|
228
|
+
internalAppend: number;
|
|
215
229
|
internalArrow: number;
|
|
216
230
|
inputProps: import("../input").InputProps;
|
|
217
231
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -239,9 +253,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
239
253
|
readonly: boolean;
|
|
240
254
|
placeholder: string;
|
|
241
255
|
clearable: boolean;
|
|
256
|
+
internalPrepend: number;
|
|
242
257
|
multiline: boolean;
|
|
243
258
|
arrow: string;
|
|
244
259
|
arrowFamily: string;
|
|
260
|
+
internalAppend: number;
|
|
245
261
|
internalArrow: number;
|
|
246
262
|
inputProps: import("../input").InputProps;
|
|
247
263
|
}) => boolean) | undefined;
|
|
@@ -269,9 +285,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
269
285
|
readonly: boolean;
|
|
270
286
|
placeholder: string;
|
|
271
287
|
clearable: boolean;
|
|
288
|
+
internalPrepend: number;
|
|
272
289
|
multiline: boolean;
|
|
273
290
|
arrow: string;
|
|
274
291
|
arrowFamily: string;
|
|
292
|
+
internalAppend: number;
|
|
275
293
|
internalArrow: number;
|
|
276
294
|
inputProps: import("../input").InputProps;
|
|
277
295
|
}) => (string | Date)[]) | undefined;
|
|
@@ -299,9 +317,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
299
317
|
readonly: boolean;
|
|
300
318
|
placeholder: string;
|
|
301
319
|
clearable: boolean;
|
|
320
|
+
internalPrepend: number;
|
|
302
321
|
multiline: boolean;
|
|
303
322
|
arrow: string;
|
|
304
323
|
arrowFamily: string;
|
|
324
|
+
internalAppend: number;
|
|
305
325
|
internalArrow: number;
|
|
306
326
|
inputProps: import("../input").InputProps;
|
|
307
327
|
}) => string[]) | undefined;
|
|
@@ -329,9 +349,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
329
349
|
readonly: boolean;
|
|
330
350
|
placeholder: string;
|
|
331
351
|
clearable: boolean;
|
|
352
|
+
internalPrepend: number;
|
|
332
353
|
multiline: boolean;
|
|
333
354
|
arrow: string;
|
|
334
355
|
arrowFamily: string;
|
|
356
|
+
internalAppend: number;
|
|
335
357
|
internalArrow: number;
|
|
336
358
|
inputProps: import("../input").InputProps;
|
|
337
359
|
}) => (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean)) | undefined;
|
|
@@ -359,9 +381,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
359
381
|
readonly: boolean;
|
|
360
382
|
placeholder: string;
|
|
361
383
|
clearable: boolean;
|
|
384
|
+
internalPrepend: number;
|
|
362
385
|
multiline: boolean;
|
|
363
386
|
arrow: string;
|
|
364
387
|
arrowFamily: string;
|
|
388
|
+
internalAppend: number;
|
|
365
389
|
internalArrow: number;
|
|
366
390
|
inputProps: import("../input").InputProps;
|
|
367
391
|
}) => string | Date)) | undefined;
|
|
@@ -389,9 +413,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
389
413
|
readonly: boolean;
|
|
390
414
|
placeholder: string;
|
|
391
415
|
clearable: boolean;
|
|
416
|
+
internalPrepend: number;
|
|
392
417
|
multiline: boolean;
|
|
393
418
|
arrow: string;
|
|
394
419
|
arrowFamily: string;
|
|
420
|
+
internalAppend: number;
|
|
395
421
|
internalArrow: number;
|
|
396
422
|
inputProps: import("../input").InputProps;
|
|
397
423
|
}) => string | Date)) | undefined;
|
|
@@ -419,9 +445,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
419
445
|
readonly: boolean;
|
|
420
446
|
placeholder: string;
|
|
421
447
|
clearable: boolean;
|
|
448
|
+
internalPrepend: number;
|
|
422
449
|
multiline: boolean;
|
|
423
450
|
arrow: string;
|
|
424
451
|
arrowFamily: string;
|
|
452
|
+
internalAppend: number;
|
|
425
453
|
internalArrow: number;
|
|
426
454
|
inputProps: import("../input").InputProps;
|
|
427
455
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null) | undefined;
|
|
@@ -449,9 +477,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
449
477
|
readonly: boolean;
|
|
450
478
|
placeholder: string;
|
|
451
479
|
clearable: boolean;
|
|
480
|
+
internalPrepend: number;
|
|
452
481
|
multiline: boolean;
|
|
453
482
|
arrow: string;
|
|
454
483
|
arrowFamily: string;
|
|
484
|
+
internalAppend: number;
|
|
455
485
|
internalArrow: number;
|
|
456
486
|
inputProps: import("../input").InputProps;
|
|
457
487
|
}) => string)) | undefined;
|
|
@@ -479,9 +509,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
479
509
|
readonly: boolean;
|
|
480
510
|
placeholder: string;
|
|
481
511
|
clearable: boolean;
|
|
512
|
+
internalPrepend: number;
|
|
482
513
|
multiline: boolean;
|
|
483
514
|
arrow: string;
|
|
484
515
|
arrowFamily: string;
|
|
516
|
+
internalAppend: number;
|
|
485
517
|
internalArrow: number;
|
|
486
518
|
inputProps: import("../input").InputProps;
|
|
487
519
|
}) => string)) | undefined;
|
|
@@ -509,9 +541,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
509
541
|
readonly: boolean;
|
|
510
542
|
placeholder: string;
|
|
511
543
|
clearable: boolean;
|
|
544
|
+
internalPrepend: number;
|
|
512
545
|
multiline: boolean;
|
|
513
546
|
arrow: string;
|
|
514
547
|
arrowFamily: string;
|
|
548
|
+
internalAppend: number;
|
|
515
549
|
internalArrow: number;
|
|
516
550
|
inputProps: import("../input").InputProps;
|
|
517
551
|
}) => "solar" | "lunar")) | undefined;
|
|
@@ -539,9 +573,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
539
573
|
readonly: boolean;
|
|
540
574
|
placeholder: string;
|
|
541
575
|
clearable: boolean;
|
|
576
|
+
internalPrepend: number;
|
|
542
577
|
multiline: boolean;
|
|
543
578
|
arrow: string;
|
|
544
579
|
arrowFamily: string;
|
|
580
|
+
internalAppend: number;
|
|
545
581
|
internalArrow: number;
|
|
546
582
|
inputProps: import("../input").InputProps;
|
|
547
583
|
}) => (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined)) | undefined;
|
|
@@ -569,9 +605,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
569
605
|
readonly: boolean;
|
|
570
606
|
placeholder: string;
|
|
571
607
|
clearable: boolean;
|
|
608
|
+
internalPrepend: number;
|
|
572
609
|
multiline: boolean;
|
|
573
610
|
arrow: string;
|
|
574
611
|
arrowFamily: string;
|
|
612
|
+
internalAppend: number;
|
|
575
613
|
internalArrow: number;
|
|
576
614
|
inputProps: import("../input").InputProps;
|
|
577
615
|
}) => string)) | undefined;
|
|
@@ -599,9 +637,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
599
637
|
readonly: boolean;
|
|
600
638
|
placeholder: string;
|
|
601
639
|
clearable: boolean;
|
|
640
|
+
internalPrepend: number;
|
|
602
641
|
multiline: boolean;
|
|
603
642
|
arrow: string;
|
|
604
643
|
arrowFamily: string;
|
|
644
|
+
internalAppend: number;
|
|
605
645
|
internalArrow: number;
|
|
606
646
|
inputProps: import("../input").InputProps;
|
|
607
647
|
}) => boolean)) | undefined;
|
|
@@ -629,9 +669,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
629
669
|
readonly: boolean;
|
|
630
670
|
placeholder: string;
|
|
631
671
|
clearable: boolean;
|
|
672
|
+
internalPrepend: number;
|
|
632
673
|
multiline: boolean;
|
|
633
674
|
arrow: string;
|
|
634
675
|
arrowFamily: string;
|
|
676
|
+
internalAppend: number;
|
|
635
677
|
internalArrow: number;
|
|
636
678
|
inputProps: import("../input").InputProps;
|
|
637
679
|
}) => boolean)) | undefined;
|
|
@@ -659,9 +701,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
659
701
|
readonly: boolean;
|
|
660
702
|
placeholder: string;
|
|
661
703
|
clearable: boolean;
|
|
704
|
+
internalPrepend: number;
|
|
662
705
|
multiline: boolean;
|
|
663
706
|
arrow: string;
|
|
664
707
|
arrowFamily: string;
|
|
708
|
+
internalAppend: number;
|
|
665
709
|
internalArrow: number;
|
|
666
710
|
inputProps: import("../input").InputProps;
|
|
667
711
|
}) => string)) | undefined;
|
|
@@ -689,12 +733,46 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
689
733
|
readonly: boolean;
|
|
690
734
|
placeholder: string;
|
|
691
735
|
clearable: boolean;
|
|
736
|
+
internalPrepend: number;
|
|
692
737
|
multiline: boolean;
|
|
693
738
|
arrow: string;
|
|
694
739
|
arrowFamily: string;
|
|
740
|
+
internalAppend: number;
|
|
695
741
|
internalArrow: number;
|
|
696
742
|
inputProps: import("../input").InputProps;
|
|
697
743
|
}) => boolean)) | undefined;
|
|
744
|
+
internalPrepend?: (number | ((props: {
|
|
745
|
+
outletFormat: string;
|
|
746
|
+
valueOnClear: () => any;
|
|
747
|
+
visible: boolean;
|
|
748
|
+
title: string;
|
|
749
|
+
validateEvent: boolean;
|
|
750
|
+
popoutClass: string;
|
|
751
|
+
popoutStyle: import("vue").StyleValue;
|
|
752
|
+
resettable: boolean;
|
|
753
|
+
modelValue: (Date | string)[];
|
|
754
|
+
tabs: string[];
|
|
755
|
+
filter: (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
756
|
+
min: Date | string;
|
|
757
|
+
max: Date | string;
|
|
758
|
+
rootStyle: import("vue").StyleValue;
|
|
759
|
+
rootClass: string;
|
|
760
|
+
type: string;
|
|
761
|
+
calendar: "solar" | "lunar";
|
|
762
|
+
formatter: (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined;
|
|
763
|
+
valueFormat: string;
|
|
764
|
+
disabled: boolean;
|
|
765
|
+
readonly: boolean;
|
|
766
|
+
placeholder: string;
|
|
767
|
+
clearable: boolean;
|
|
768
|
+
internalPrepend: number;
|
|
769
|
+
multiline: boolean;
|
|
770
|
+
arrow: string;
|
|
771
|
+
arrowFamily: string;
|
|
772
|
+
internalAppend: number;
|
|
773
|
+
internalArrow: number;
|
|
774
|
+
inputProps: import("../input").InputProps;
|
|
775
|
+
}) => number)) | undefined;
|
|
698
776
|
multiline?: (boolean | ((props: {
|
|
699
777
|
outletFormat: string;
|
|
700
778
|
valueOnClear: () => any;
|
|
@@ -719,9 +797,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
719
797
|
readonly: boolean;
|
|
720
798
|
placeholder: string;
|
|
721
799
|
clearable: boolean;
|
|
800
|
+
internalPrepend: number;
|
|
722
801
|
multiline: boolean;
|
|
723
802
|
arrow: string;
|
|
724
803
|
arrowFamily: string;
|
|
804
|
+
internalAppend: number;
|
|
725
805
|
internalArrow: number;
|
|
726
806
|
inputProps: import("../input").InputProps;
|
|
727
807
|
}) => boolean)) | undefined;
|
|
@@ -749,9 +829,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
749
829
|
readonly: boolean;
|
|
750
830
|
placeholder: string;
|
|
751
831
|
clearable: boolean;
|
|
832
|
+
internalPrepend: number;
|
|
752
833
|
multiline: boolean;
|
|
753
834
|
arrow: string;
|
|
754
835
|
arrowFamily: string;
|
|
836
|
+
internalAppend: number;
|
|
755
837
|
internalArrow: number;
|
|
756
838
|
inputProps: import("../input").InputProps;
|
|
757
839
|
}) => string)) | undefined;
|
|
@@ -779,12 +861,46 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
779
861
|
readonly: boolean;
|
|
780
862
|
placeholder: string;
|
|
781
863
|
clearable: boolean;
|
|
864
|
+
internalPrepend: number;
|
|
782
865
|
multiline: boolean;
|
|
783
866
|
arrow: string;
|
|
784
867
|
arrowFamily: string;
|
|
868
|
+
internalAppend: number;
|
|
785
869
|
internalArrow: number;
|
|
786
870
|
inputProps: import("../input").InputProps;
|
|
787
871
|
}) => string)) | undefined;
|
|
872
|
+
internalAppend?: (number | ((props: {
|
|
873
|
+
outletFormat: string;
|
|
874
|
+
valueOnClear: () => any;
|
|
875
|
+
visible: boolean;
|
|
876
|
+
title: string;
|
|
877
|
+
validateEvent: boolean;
|
|
878
|
+
popoutClass: string;
|
|
879
|
+
popoutStyle: import("vue").StyleValue;
|
|
880
|
+
resettable: boolean;
|
|
881
|
+
modelValue: (Date | string)[];
|
|
882
|
+
tabs: string[];
|
|
883
|
+
filter: (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
884
|
+
min: Date | string;
|
|
885
|
+
max: Date | string;
|
|
886
|
+
rootStyle: import("vue").StyleValue;
|
|
887
|
+
rootClass: string;
|
|
888
|
+
type: string;
|
|
889
|
+
calendar: "solar" | "lunar";
|
|
890
|
+
formatter: (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined;
|
|
891
|
+
valueFormat: string;
|
|
892
|
+
disabled: boolean;
|
|
893
|
+
readonly: boolean;
|
|
894
|
+
placeholder: string;
|
|
895
|
+
clearable: boolean;
|
|
896
|
+
internalPrepend: number;
|
|
897
|
+
multiline: boolean;
|
|
898
|
+
arrow: string;
|
|
899
|
+
arrowFamily: string;
|
|
900
|
+
internalAppend: number;
|
|
901
|
+
internalArrow: number;
|
|
902
|
+
inputProps: import("../input").InputProps;
|
|
903
|
+
}) => number)) | undefined;
|
|
788
904
|
internalArrow?: (number | ((props: {
|
|
789
905
|
outletFormat: string;
|
|
790
906
|
valueOnClear: () => any;
|
|
@@ -809,9 +925,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
809
925
|
readonly: boolean;
|
|
810
926
|
placeholder: string;
|
|
811
927
|
clearable: boolean;
|
|
928
|
+
internalPrepend: number;
|
|
812
929
|
multiline: boolean;
|
|
813
930
|
arrow: string;
|
|
814
931
|
arrowFamily: string;
|
|
932
|
+
internalAppend: number;
|
|
815
933
|
internalArrow: number;
|
|
816
934
|
inputProps: import("../input").InputProps;
|
|
817
935
|
}) => number)) | undefined;
|
|
@@ -839,9 +957,11 @@ export declare const defaultDatetimeRangePickerInputProps: () => {
|
|
|
839
957
|
readonly: boolean;
|
|
840
958
|
placeholder: string;
|
|
841
959
|
clearable: boolean;
|
|
960
|
+
internalPrepend: number;
|
|
842
961
|
multiline: boolean;
|
|
843
962
|
arrow: string;
|
|
844
963
|
arrowFamily: string;
|
|
964
|
+
internalAppend: number;
|
|
845
965
|
internalArrow: number;
|
|
846
966
|
inputProps: import("../input").InputProps;
|
|
847
967
|
}) => import("../input").InputProps) | undefined;
|
|
@@ -29,9 +29,11 @@ declare const __VLS_component: import("vue").DefineComponent<DatetimeRangePicker
|
|
|
29
29
|
resettable: boolean;
|
|
30
30
|
placeholder: string;
|
|
31
31
|
clearable: boolean;
|
|
32
|
+
internalPrepend: number;
|
|
32
33
|
multiline: boolean;
|
|
33
34
|
arrow: string;
|
|
34
35
|
arrowFamily: string;
|
|
36
|
+
internalAppend: number;
|
|
35
37
|
internalArrow: number;
|
|
36
38
|
inputProps: import("../input/common.js").InputProps;
|
|
37
39
|
outletFormat: 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-datetime-range-picker-popout
|
|
@@ -110,11 +118,11 @@ export default _defineComponent({
|
|
|
110
118
|
title: { type: String, required: false },
|
|
111
119
|
validateEvent: { type: Boolean, required: false },
|
|
112
120
|
popoutClass: { type: String, required: false },
|
|
113
|
-
popoutStyle: { type:
|
|
121
|
+
popoutStyle: { type: null, required: false },
|
|
114
122
|
resettable: { type: Boolean, required: false },
|
|
115
123
|
modelValue: { type: Array, required: false },
|
|
116
124
|
tabs: { type: Array, required: false },
|
|
117
|
-
rootStyle: { type:
|
|
125
|
+
rootStyle: { type: null, required: false },
|
|
118
126
|
rootClass: { type: String, required: false },
|
|
119
127
|
type: { type: String, required: false },
|
|
120
128
|
calendar: { type: String, required: false },
|
|
@@ -130,6 +138,8 @@ export default _defineComponent({
|
|
|
130
138
|
multiline: { type: Boolean, required: false },
|
|
131
139
|
arrow: { type: String, required: false },
|
|
132
140
|
arrowFamily: { type: String, required: false },
|
|
141
|
+
internalPrepend: { type: Number, required: false },
|
|
142
|
+
internalAppend: { type: Number, required: false },
|
|
133
143
|
internalArrow: { type: Number, required: false },
|
|
134
144
|
inputProps: { type: Object, required: false }
|
|
135
145
|
}, defaultDatetimeRangePickerInputProps()),
|
|
@@ -89,11 +89,11 @@ export default _defineComponent({
|
|
|
89
89
|
title: { type: String, required: false },
|
|
90
90
|
validateEvent: { type: Boolean, required: false },
|
|
91
91
|
popoutClass: { type: String, required: false },
|
|
92
|
-
popoutStyle: { type:
|
|
92
|
+
popoutStyle: { type: null, required: false },
|
|
93
93
|
resettable: { type: Boolean, required: false },
|
|
94
94
|
modelValue: { type: Array, required: false },
|
|
95
95
|
tabs: { type: Array, required: false },
|
|
96
|
-
rootStyle: { type:
|
|
96
|
+
rootStyle: { type: null, required: false },
|
|
97
97
|
rootClass: { type: String, required: false },
|
|
98
98
|
type: { type: String, required: false },
|
|
99
99
|
calendar: { type: String, required: false },
|
|
@@ -139,9 +139,9 @@ export default _defineComponent({
|
|
|
139
139
|
},
|
|
140
140
|
__name: "dialog",
|
|
141
141
|
props: _mergeDefaults({
|
|
142
|
-
rootStyle: { type:
|
|
142
|
+
rootStyle: { type: null, required: false },
|
|
143
143
|
rootClass: { type: String, required: false },
|
|
144
|
-
popupStyle: { type:
|
|
144
|
+
popupStyle: { type: null, required: false },
|
|
145
145
|
popupClass: { type: String, required: false },
|
|
146
146
|
visible: { type: Boolean, required: false },
|
|
147
147
|
title: { type: String, required: false },
|
|
@@ -105,9 +105,9 @@ export default _defineComponent({
|
|
|
105
105
|
onClose: { type: Function, required: false },
|
|
106
106
|
onCancel: { type: Function, required: false },
|
|
107
107
|
onConfirm: { type: Function, required: false },
|
|
108
|
-
rootStyle: { type:
|
|
108
|
+
rootStyle: { type: null, required: false },
|
|
109
109
|
rootClass: { type: String, required: false },
|
|
110
|
-
popupStyle: { type:
|
|
110
|
+
popupStyle: { type: null, required: false },
|
|
111
111
|
popupClass: { type: String, required: false },
|
|
112
112
|
visible: { type: Boolean, required: false },
|
|
113
113
|
title: { type: String, required: false },
|
|
@@ -28,7 +28,7 @@ export default _defineComponent({
|
|
|
28
28
|
},
|
|
29
29
|
__name: "divider",
|
|
30
30
|
props: _mergeDefaults({
|
|
31
|
-
rootStyle: { type:
|
|
31
|
+
rootStyle: { type: null, required: false },
|
|
32
32
|
rootClass: { type: String, required: false },
|
|
33
33
|
type: { type: String, required: false },
|
|
34
34
|
hairline: { type: Boolean, required: false },
|
package/components/dnd/dnd.vue
CHANGED
|
@@ -35,7 +35,7 @@ export default _defineComponent({
|
|
|
35
35
|
},
|
|
36
36
|
__name: "dnd",
|
|
37
37
|
props: {
|
|
38
|
-
rootStyle: { type:
|
|
38
|
+
rootStyle: { type: null, required: false },
|
|
39
39
|
rootClass: { type: String, required: false },
|
|
40
40
|
list: { type: Array, required: false }
|
|
41
41
|
},
|
|
@@ -27,7 +27,7 @@ export default _defineComponent({
|
|
|
27
27
|
},
|
|
28
28
|
__name: "dnd-handle",
|
|
29
29
|
props: {
|
|
30
|
-
rootStyle: { type:
|
|
30
|
+
rootStyle: { type: null, required: false },
|
|
31
31
|
rootClass: { type: String, required: false }
|
|
32
32
|
},
|
|
33
33
|
setup(__props, { expose: __expose }) {
|
|
@@ -40,7 +40,7 @@ export default _defineComponent({
|
|
|
40
40
|
},
|
|
41
41
|
__name: "dnd-item",
|
|
42
42
|
props: {
|
|
43
|
-
rootStyle: { type:
|
|
43
|
+
rootStyle: { type: null, required: false },
|
|
44
44
|
rootClass: { type: String, required: false },
|
|
45
45
|
itemInfo: { type: Object, required: true }
|
|
46
46
|
},
|
|
@@ -33,7 +33,7 @@ export default _defineComponent({
|
|
|
33
33
|
},
|
|
34
34
|
__name: "dropdown",
|
|
35
35
|
props: _mergeDefaults({
|
|
36
|
-
rootStyle: { type:
|
|
36
|
+
rootStyle: { type: null, required: false },
|
|
37
37
|
rootClass: { type: String, required: false },
|
|
38
38
|
direction: { type: String, required: false },
|
|
39
39
|
disabled: { type: Boolean, required: false },
|
|
@@ -105,7 +105,11 @@ import {
|
|
|
105
105
|
defaultDropdownItemProps,
|
|
106
106
|
defaultValueOnClear
|
|
107
107
|
} from "../dropdown/common";
|
|
108
|
-
import {
|
|
108
|
+
import {
|
|
109
|
+
useLockScroll,
|
|
110
|
+
useTransition,
|
|
111
|
+
useZIndex
|
|
112
|
+
} from "../../use";
|
|
109
113
|
/**
|
|
110
114
|
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
111
115
|
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
@@ -149,7 +153,7 @@ export default _defineComponent({
|
|
|
149
153
|
},
|
|
150
154
|
__name: "dropdown-item",
|
|
151
155
|
props: _mergeDefaults({
|
|
152
|
-
rootStyle: { type:
|
|
156
|
+
rootStyle: { type: null, required: false },
|
|
153
157
|
rootClass: { type: String, required: false },
|
|
154
158
|
title: { type: String, required: false },
|
|
155
159
|
label: { type: String, required: false },
|
|
@@ -209,6 +213,7 @@ export default _defineComponent({
|
|
|
209
213
|
popupVisible.value = false;
|
|
210
214
|
}
|
|
211
215
|
});
|
|
216
|
+
useLockScroll(popupVisible);
|
|
212
217
|
const popupInset = ref("");
|
|
213
218
|
const awayInset = ref("");
|
|
214
219
|
const setPosition = async () => {
|
|
@@ -43,7 +43,7 @@ export default _defineComponent({
|
|
|
43
43
|
},
|
|
44
44
|
__name: "empty",
|
|
45
45
|
props: _mergeDefaults({
|
|
46
|
-
rootStyle: { type:
|
|
46
|
+
rootStyle: { type: null, required: false },
|
|
47
47
|
rootClass: { type: String, required: false },
|
|
48
48
|
description: { type: String, required: false },
|
|
49
49
|
icon: { type: String, required: false },
|
package/components/fab/fab.vue
CHANGED
|
@@ -103,7 +103,7 @@ export default _defineComponent({
|
|
|
103
103
|
},
|
|
104
104
|
__name: "fab",
|
|
105
105
|
props: _mergeDefaults({
|
|
106
|
-
rootStyle: { type:
|
|
106
|
+
rootStyle: { type: null, required: false },
|
|
107
107
|
rootClass: { type: String, required: false },
|
|
108
108
|
top: { type: String, required: false },
|
|
109
109
|
right: { type: String, required: false },
|
|
@@ -43,7 +43,7 @@ export default _defineComponent({
|
|
|
43
43
|
},
|
|
44
44
|
__name: "fab-item",
|
|
45
45
|
props: _mergeDefaults({
|
|
46
|
-
rootStyle: { type:
|
|
46
|
+
rootStyle: { type: null, required: false },
|
|
47
47
|
rootClass: { type: String, required: false },
|
|
48
48
|
name: { type: String, required: false },
|
|
49
49
|
color: { type: String, required: false },
|
|
@@ -44,7 +44,7 @@ export default _defineComponent({
|
|
|
44
44
|
},
|
|
45
45
|
__name: "floating-bubble",
|
|
46
46
|
props: _mergeDefaults({
|
|
47
|
-
rootStyle: { type:
|
|
47
|
+
rootStyle: { type: null, required: false },
|
|
48
48
|
rootClass: { type: String, required: false },
|
|
49
49
|
draggable: { type: Boolean, required: false },
|
|
50
50
|
axis: { type: String, required: false },
|
|
@@ -60,7 +60,7 @@ export default _defineComponent({
|
|
|
60
60
|
},
|
|
61
61
|
__name: "floating-panel",
|
|
62
62
|
props: _mergeDefaults({
|
|
63
|
-
rootStyle: { type:
|
|
63
|
+
rootStyle: { type: null, required: false },
|
|
64
64
|
rootClass: { type: String, required: false },
|
|
65
65
|
height: { type: Number, required: false },
|
|
66
66
|
anchors: { type: Array, required: false },
|
package/components/form/form.vue
CHANGED
|
@@ -41,7 +41,7 @@ export default _defineComponent({
|
|
|
41
41
|
},
|
|
42
42
|
__name: "form",
|
|
43
43
|
props: _mergeDefaults({
|
|
44
|
-
rootStyle: { type:
|
|
44
|
+
rootStyle: { type: null, required: false },
|
|
45
45
|
rootClass: { type: String, required: false },
|
|
46
46
|
model: { type: Object, required: false },
|
|
47
47
|
rules: { type: Object, required: false },
|
|
@@ -59,7 +59,7 @@ export default _defineComponent({
|
|
|
59
59
|
},
|
|
60
60
|
__name: "form-item",
|
|
61
61
|
props: _mergeDefaults({
|
|
62
|
-
rootStyle: { type:
|
|
62
|
+
rootStyle: { type: null, required: false },
|
|
63
63
|
rootClass: { type: String, required: false },
|
|
64
64
|
direction: { type: String, required: false },
|
|
65
65
|
labelWidth: { type: String, required: false },
|
|
@@ -49,7 +49,7 @@ export default _defineComponent({
|
|
|
49
49
|
},
|
|
50
50
|
__name: "form-item-plain",
|
|
51
51
|
props: _mergeDefaults({
|
|
52
|
-
rootStyle: { type:
|
|
52
|
+
rootStyle: { type: null, required: false },
|
|
53
53
|
rootClass: { type: String, required: false },
|
|
54
54
|
direction: { type: String, required: false },
|
|
55
55
|
labelWidth: { type: String, required: false },
|
|
@@ -37,7 +37,7 @@ export default _defineComponent({
|
|
|
37
37
|
},
|
|
38
38
|
__name: "form-plain",
|
|
39
39
|
props: _mergeDefaults({
|
|
40
|
-
rootStyle: { type:
|
|
40
|
+
rootStyle: { type: null, required: false },
|
|
41
41
|
rootClass: { type: String, required: false },
|
|
42
42
|
model: { type: Object, required: false },
|
|
43
43
|
rules: { type: Object, required: false },
|