sard-uniapp 1.25.2 → 1.25.4
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 +18 -0
- package/README.md +15 -0
- 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 +11 -1
- package/components/calendar-input/common.d.ts +152 -0
- package/components/cascader-input/README.md +1 -5
- package/components/cascader-input/cascader-input.d.ts +2 -0
- package/components/cascader-input/cascader-input.vue +11 -1
- package/components/cascader-input/common.d.ts +116 -0
- 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 +11 -1
- package/components/checkbox-input/common.d.ts +128 -0
- 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 +11 -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 +11 -1
- package/components/input/index.scss +2 -0
- 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 +11 -2
- 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 +4 -2
- package/components/popout-input/variables.scss +0 -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 +11 -1
- package/components/tree-node/tree-node.vue +3 -1
- package/components/watermark/watermark.vue +5 -0
- package/package.json +1 -1
|
@@ -28,9 +28,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
28
28
|
readonly: boolean;
|
|
29
29
|
placeholder: string;
|
|
30
30
|
clearable: boolean;
|
|
31
|
+
internalPrepend: number;
|
|
31
32
|
multiline: boolean;
|
|
32
33
|
arrow: string;
|
|
33
34
|
arrowFamily: string;
|
|
35
|
+
internalAppend: number;
|
|
34
36
|
internalArrow: number;
|
|
35
37
|
inputProps: import("../input").InputProps;
|
|
36
38
|
}) => string)) | undefined;
|
|
@@ -57,9 +59,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
57
59
|
readonly: boolean;
|
|
58
60
|
placeholder: string;
|
|
59
61
|
clearable: boolean;
|
|
62
|
+
internalPrepend: number;
|
|
60
63
|
multiline: boolean;
|
|
61
64
|
arrow: string;
|
|
62
65
|
arrowFamily: string;
|
|
66
|
+
internalAppend: number;
|
|
63
67
|
internalArrow: number;
|
|
64
68
|
inputProps: import("../input").InputProps;
|
|
65
69
|
}) => () => any)) | undefined;
|
|
@@ -86,9 +90,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
86
90
|
readonly: boolean;
|
|
87
91
|
placeholder: string;
|
|
88
92
|
clearable: boolean;
|
|
93
|
+
internalPrepend: number;
|
|
89
94
|
multiline: boolean;
|
|
90
95
|
arrow: string;
|
|
91
96
|
arrowFamily: string;
|
|
97
|
+
internalAppend: number;
|
|
92
98
|
internalArrow: number;
|
|
93
99
|
inputProps: import("../input").InputProps;
|
|
94
100
|
}) => boolean) | undefined;
|
|
@@ -115,9 +121,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
115
121
|
readonly: boolean;
|
|
116
122
|
placeholder: string;
|
|
117
123
|
clearable: boolean;
|
|
124
|
+
internalPrepend: number;
|
|
118
125
|
multiline: boolean;
|
|
119
126
|
arrow: string;
|
|
120
127
|
arrowFamily: string;
|
|
128
|
+
internalAppend: number;
|
|
121
129
|
internalArrow: number;
|
|
122
130
|
inputProps: import("../input").InputProps;
|
|
123
131
|
}) => string) | undefined;
|
|
@@ -144,9 +152,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
144
152
|
readonly: boolean;
|
|
145
153
|
placeholder: string;
|
|
146
154
|
clearable: boolean;
|
|
155
|
+
internalPrepend: number;
|
|
147
156
|
multiline: boolean;
|
|
148
157
|
arrow: string;
|
|
149
158
|
arrowFamily: string;
|
|
159
|
+
internalAppend: number;
|
|
150
160
|
internalArrow: number;
|
|
151
161
|
inputProps: import("../input").InputProps;
|
|
152
162
|
}) => boolean) | undefined;
|
|
@@ -173,9 +183,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
173
183
|
readonly: boolean;
|
|
174
184
|
placeholder: string;
|
|
175
185
|
clearable: boolean;
|
|
186
|
+
internalPrepend: number;
|
|
176
187
|
multiline: boolean;
|
|
177
188
|
arrow: string;
|
|
178
189
|
arrowFamily: string;
|
|
190
|
+
internalAppend: number;
|
|
179
191
|
internalArrow: number;
|
|
180
192
|
inputProps: import("../input").InputProps;
|
|
181
193
|
}) => string) | undefined;
|
|
@@ -202,9 +214,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
202
214
|
readonly: boolean;
|
|
203
215
|
placeholder: string;
|
|
204
216
|
clearable: boolean;
|
|
217
|
+
internalPrepend: number;
|
|
205
218
|
multiline: boolean;
|
|
206
219
|
arrow: string;
|
|
207
220
|
arrowFamily: string;
|
|
221
|
+
internalAppend: number;
|
|
208
222
|
internalArrow: number;
|
|
209
223
|
inputProps: import("../input").InputProps;
|
|
210
224
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -231,9 +245,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
231
245
|
readonly: boolean;
|
|
232
246
|
placeholder: string;
|
|
233
247
|
clearable: boolean;
|
|
248
|
+
internalPrepend: number;
|
|
234
249
|
multiline: boolean;
|
|
235
250
|
arrow: string;
|
|
236
251
|
arrowFamily: string;
|
|
252
|
+
internalAppend: number;
|
|
237
253
|
internalArrow: number;
|
|
238
254
|
inputProps: import("../input").InputProps;
|
|
239
255
|
}) => boolean) | undefined;
|
|
@@ -260,9 +276,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
260
276
|
readonly: boolean;
|
|
261
277
|
placeholder: string;
|
|
262
278
|
clearable: boolean;
|
|
279
|
+
internalPrepend: number;
|
|
263
280
|
multiline: boolean;
|
|
264
281
|
arrow: string;
|
|
265
282
|
arrowFamily: string;
|
|
283
|
+
internalAppend: number;
|
|
266
284
|
internalArrow: number;
|
|
267
285
|
inputProps: import("../input").InputProps;
|
|
268
286
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null) | undefined;
|
|
@@ -289,9 +307,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
289
307
|
readonly: boolean;
|
|
290
308
|
placeholder: string;
|
|
291
309
|
clearable: boolean;
|
|
310
|
+
internalPrepend: number;
|
|
292
311
|
multiline: boolean;
|
|
293
312
|
arrow: string;
|
|
294
313
|
arrowFamily: string;
|
|
314
|
+
internalAppend: number;
|
|
295
315
|
internalArrow: number;
|
|
296
316
|
inputProps: import("../input").InputProps;
|
|
297
317
|
}) => string)) | undefined;
|
|
@@ -318,9 +338,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
318
338
|
readonly: boolean;
|
|
319
339
|
placeholder: string;
|
|
320
340
|
clearable: boolean;
|
|
341
|
+
internalPrepend: number;
|
|
321
342
|
multiline: boolean;
|
|
322
343
|
arrow: string;
|
|
323
344
|
arrowFamily: string;
|
|
345
|
+
internalAppend: number;
|
|
324
346
|
internalArrow: number;
|
|
325
347
|
inputProps: import("../input").InputProps;
|
|
326
348
|
}) => string)) | undefined;
|
|
@@ -347,9 +369,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
347
369
|
readonly: boolean;
|
|
348
370
|
placeholder: string;
|
|
349
371
|
clearable: boolean;
|
|
372
|
+
internalPrepend: number;
|
|
350
373
|
multiline: boolean;
|
|
351
374
|
arrow: string;
|
|
352
375
|
arrowFamily: string;
|
|
376
|
+
internalAppend: number;
|
|
353
377
|
internalArrow: number;
|
|
354
378
|
inputProps: import("../input").InputProps;
|
|
355
379
|
}) => "solar" | "lunar")) | undefined;
|
|
@@ -376,9 +400,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
376
400
|
readonly: boolean;
|
|
377
401
|
placeholder: string;
|
|
378
402
|
clearable: boolean;
|
|
403
|
+
internalPrepend: number;
|
|
379
404
|
multiline: boolean;
|
|
380
405
|
arrow: string;
|
|
381
406
|
arrowFamily: string;
|
|
407
|
+
internalAppend: number;
|
|
382
408
|
internalArrow: number;
|
|
383
409
|
inputProps: import("../input").InputProps;
|
|
384
410
|
}) => string | Date)) | undefined;
|
|
@@ -405,9 +431,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
405
431
|
readonly: boolean;
|
|
406
432
|
placeholder: string;
|
|
407
433
|
clearable: boolean;
|
|
434
|
+
internalPrepend: number;
|
|
408
435
|
multiline: boolean;
|
|
409
436
|
arrow: string;
|
|
410
437
|
arrowFamily: string;
|
|
438
|
+
internalAppend: number;
|
|
411
439
|
internalArrow: number;
|
|
412
440
|
inputProps: import("../input").InputProps;
|
|
413
441
|
}) => string | Date)) | undefined;
|
|
@@ -434,9 +462,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
434
462
|
readonly: boolean;
|
|
435
463
|
placeholder: string;
|
|
436
464
|
clearable: boolean;
|
|
465
|
+
internalPrepend: number;
|
|
437
466
|
multiline: boolean;
|
|
438
467
|
arrow: string;
|
|
439
468
|
arrowFamily: string;
|
|
469
|
+
internalAppend: number;
|
|
440
470
|
internalArrow: number;
|
|
441
471
|
inputProps: import("../input").InputProps;
|
|
442
472
|
}) => string | Date)) | undefined;
|
|
@@ -463,9 +493,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
463
493
|
readonly: boolean;
|
|
464
494
|
placeholder: string;
|
|
465
495
|
clearable: boolean;
|
|
496
|
+
internalPrepend: number;
|
|
466
497
|
multiline: boolean;
|
|
467
498
|
arrow: string;
|
|
468
499
|
arrowFamily: string;
|
|
500
|
+
internalAppend: number;
|
|
469
501
|
internalArrow: number;
|
|
470
502
|
inputProps: import("../input").InputProps;
|
|
471
503
|
}) => (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean)) | undefined;
|
|
@@ -492,9 +524,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
492
524
|
readonly: boolean;
|
|
493
525
|
placeholder: string;
|
|
494
526
|
clearable: boolean;
|
|
527
|
+
internalPrepend: number;
|
|
495
528
|
multiline: boolean;
|
|
496
529
|
arrow: string;
|
|
497
530
|
arrowFamily: string;
|
|
531
|
+
internalAppend: number;
|
|
498
532
|
internalArrow: number;
|
|
499
533
|
inputProps: import("../input").InputProps;
|
|
500
534
|
}) => (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined)) | undefined;
|
|
@@ -521,9 +555,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
521
555
|
readonly: boolean;
|
|
522
556
|
placeholder: string;
|
|
523
557
|
clearable: boolean;
|
|
558
|
+
internalPrepend: number;
|
|
524
559
|
multiline: boolean;
|
|
525
560
|
arrow: string;
|
|
526
561
|
arrowFamily: string;
|
|
562
|
+
internalAppend: number;
|
|
527
563
|
internalArrow: number;
|
|
528
564
|
inputProps: import("../input").InputProps;
|
|
529
565
|
}) => string)) | undefined;
|
|
@@ -550,9 +586,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
550
586
|
readonly: boolean;
|
|
551
587
|
placeholder: string;
|
|
552
588
|
clearable: boolean;
|
|
589
|
+
internalPrepend: number;
|
|
553
590
|
multiline: boolean;
|
|
554
591
|
arrow: string;
|
|
555
592
|
arrowFamily: string;
|
|
593
|
+
internalAppend: number;
|
|
556
594
|
internalArrow: number;
|
|
557
595
|
inputProps: import("../input").InputProps;
|
|
558
596
|
}) => boolean)) | undefined;
|
|
@@ -579,9 +617,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
579
617
|
readonly: boolean;
|
|
580
618
|
placeholder: string;
|
|
581
619
|
clearable: boolean;
|
|
620
|
+
internalPrepend: number;
|
|
582
621
|
multiline: boolean;
|
|
583
622
|
arrow: string;
|
|
584
623
|
arrowFamily: string;
|
|
624
|
+
internalAppend: number;
|
|
585
625
|
internalArrow: number;
|
|
586
626
|
inputProps: import("../input").InputProps;
|
|
587
627
|
}) => boolean)) | undefined;
|
|
@@ -608,9 +648,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
608
648
|
readonly: boolean;
|
|
609
649
|
placeholder: string;
|
|
610
650
|
clearable: boolean;
|
|
651
|
+
internalPrepend: number;
|
|
611
652
|
multiline: boolean;
|
|
612
653
|
arrow: string;
|
|
613
654
|
arrowFamily: string;
|
|
655
|
+
internalAppend: number;
|
|
614
656
|
internalArrow: number;
|
|
615
657
|
inputProps: import("../input").InputProps;
|
|
616
658
|
}) => string)) | undefined;
|
|
@@ -637,12 +679,45 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
637
679
|
readonly: boolean;
|
|
638
680
|
placeholder: string;
|
|
639
681
|
clearable: boolean;
|
|
682
|
+
internalPrepend: number;
|
|
640
683
|
multiline: boolean;
|
|
641
684
|
arrow: string;
|
|
642
685
|
arrowFamily: string;
|
|
686
|
+
internalAppend: number;
|
|
643
687
|
internalArrow: number;
|
|
644
688
|
inputProps: import("../input").InputProps;
|
|
645
689
|
}) => boolean)) | undefined;
|
|
690
|
+
internalPrepend?: (number | ((props: {
|
|
691
|
+
outletFormat: string;
|
|
692
|
+
valueOnClear: () => any;
|
|
693
|
+
visible: boolean;
|
|
694
|
+
title: string;
|
|
695
|
+
validateEvent: boolean;
|
|
696
|
+
popoutClass: string;
|
|
697
|
+
popoutStyle: import("vue").StyleValue;
|
|
698
|
+
resettable: boolean;
|
|
699
|
+
rootStyle: import("vue").StyleValue;
|
|
700
|
+
rootClass: string;
|
|
701
|
+
type: string;
|
|
702
|
+
calendar: "solar" | "lunar";
|
|
703
|
+
min: Date | string;
|
|
704
|
+
max: Date | string;
|
|
705
|
+
modelValue: Date | string;
|
|
706
|
+
filter: (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
707
|
+
formatter: (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined;
|
|
708
|
+
valueFormat: string;
|
|
709
|
+
disabled: boolean;
|
|
710
|
+
readonly: boolean;
|
|
711
|
+
placeholder: string;
|
|
712
|
+
clearable: boolean;
|
|
713
|
+
internalPrepend: number;
|
|
714
|
+
multiline: boolean;
|
|
715
|
+
arrow: string;
|
|
716
|
+
arrowFamily: string;
|
|
717
|
+
internalAppend: number;
|
|
718
|
+
internalArrow: number;
|
|
719
|
+
inputProps: import("../input").InputProps;
|
|
720
|
+
}) => number)) | undefined;
|
|
646
721
|
multiline?: (boolean | ((props: {
|
|
647
722
|
outletFormat: string;
|
|
648
723
|
valueOnClear: () => any;
|
|
@@ -666,9 +741,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
666
741
|
readonly: boolean;
|
|
667
742
|
placeholder: string;
|
|
668
743
|
clearable: boolean;
|
|
744
|
+
internalPrepend: number;
|
|
669
745
|
multiline: boolean;
|
|
670
746
|
arrow: string;
|
|
671
747
|
arrowFamily: string;
|
|
748
|
+
internalAppend: number;
|
|
672
749
|
internalArrow: number;
|
|
673
750
|
inputProps: import("../input").InputProps;
|
|
674
751
|
}) => boolean)) | undefined;
|
|
@@ -695,9 +772,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
695
772
|
readonly: boolean;
|
|
696
773
|
placeholder: string;
|
|
697
774
|
clearable: boolean;
|
|
775
|
+
internalPrepend: number;
|
|
698
776
|
multiline: boolean;
|
|
699
777
|
arrow: string;
|
|
700
778
|
arrowFamily: string;
|
|
779
|
+
internalAppend: number;
|
|
701
780
|
internalArrow: number;
|
|
702
781
|
inputProps: import("../input").InputProps;
|
|
703
782
|
}) => string)) | undefined;
|
|
@@ -724,12 +803,45 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
724
803
|
readonly: boolean;
|
|
725
804
|
placeholder: string;
|
|
726
805
|
clearable: boolean;
|
|
806
|
+
internalPrepend: number;
|
|
727
807
|
multiline: boolean;
|
|
728
808
|
arrow: string;
|
|
729
809
|
arrowFamily: string;
|
|
810
|
+
internalAppend: number;
|
|
730
811
|
internalArrow: number;
|
|
731
812
|
inputProps: import("../input").InputProps;
|
|
732
813
|
}) => string)) | undefined;
|
|
814
|
+
internalAppend?: (number | ((props: {
|
|
815
|
+
outletFormat: string;
|
|
816
|
+
valueOnClear: () => any;
|
|
817
|
+
visible: boolean;
|
|
818
|
+
title: string;
|
|
819
|
+
validateEvent: boolean;
|
|
820
|
+
popoutClass: string;
|
|
821
|
+
popoutStyle: import("vue").StyleValue;
|
|
822
|
+
resettable: boolean;
|
|
823
|
+
rootStyle: import("vue").StyleValue;
|
|
824
|
+
rootClass: string;
|
|
825
|
+
type: string;
|
|
826
|
+
calendar: "solar" | "lunar";
|
|
827
|
+
min: Date | string;
|
|
828
|
+
max: Date | string;
|
|
829
|
+
modelValue: Date | string;
|
|
830
|
+
filter: (letter: import("../datetime-picker").DatetimeLetter, value: number, date: Date, index: number) => boolean;
|
|
831
|
+
formatter: (letter: import("../datetime-picker").DatetimeLetter, option: import("../datetime-picker").DatetimeColumnOption, date: Date, index: number) => string | void | undefined;
|
|
832
|
+
valueFormat: string;
|
|
833
|
+
disabled: boolean;
|
|
834
|
+
readonly: boolean;
|
|
835
|
+
placeholder: string;
|
|
836
|
+
clearable: boolean;
|
|
837
|
+
internalPrepend: number;
|
|
838
|
+
multiline: boolean;
|
|
839
|
+
arrow: string;
|
|
840
|
+
arrowFamily: string;
|
|
841
|
+
internalAppend: number;
|
|
842
|
+
internalArrow: number;
|
|
843
|
+
inputProps: import("../input").InputProps;
|
|
844
|
+
}) => number)) | undefined;
|
|
733
845
|
internalArrow?: (number | ((props: {
|
|
734
846
|
outletFormat: string;
|
|
735
847
|
valueOnClear: () => any;
|
|
@@ -753,9 +865,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
753
865
|
readonly: boolean;
|
|
754
866
|
placeholder: string;
|
|
755
867
|
clearable: boolean;
|
|
868
|
+
internalPrepend: number;
|
|
756
869
|
multiline: boolean;
|
|
757
870
|
arrow: string;
|
|
758
871
|
arrowFamily: string;
|
|
872
|
+
internalAppend: number;
|
|
759
873
|
internalArrow: number;
|
|
760
874
|
inputProps: import("../input").InputProps;
|
|
761
875
|
}) => number)) | undefined;
|
|
@@ -782,9 +896,11 @@ export declare const defaultDatetimePickerInputProps: () => {
|
|
|
782
896
|
readonly: boolean;
|
|
783
897
|
placeholder: string;
|
|
784
898
|
clearable: boolean;
|
|
899
|
+
internalPrepend: number;
|
|
785
900
|
multiline: boolean;
|
|
786
901
|
arrow: string;
|
|
787
902
|
arrowFamily: string;
|
|
903
|
+
internalAppend: number;
|
|
788
904
|
internalArrow: number;
|
|
789
905
|
inputProps: import("../input").InputProps;
|
|
790
906
|
}) => import("../input").InputProps) | undefined;
|
|
@@ -28,9 +28,11 @@ declare const __VLS_component: import("vue").DefineComponent<DatetimePickerInput
|
|
|
28
28
|
resettable: boolean;
|
|
29
29
|
placeholder: string;
|
|
30
30
|
clearable: boolean;
|
|
31
|
+
internalPrepend: number;
|
|
31
32
|
multiline: boolean;
|
|
32
33
|
arrow: string;
|
|
33
34
|
arrowFamily: string;
|
|
35
|
+
internalAppend: number;
|
|
34
36
|
internalArrow: number;
|
|
35
37
|
inputProps: import("../input/common.js").InputProps;
|
|
36
38
|
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-picker-popout
|
|
@@ -127,6 +135,8 @@ export default _defineComponent({
|
|
|
127
135
|
multiline: { type: Boolean, required: false },
|
|
128
136
|
arrow: { type: String, required: false },
|
|
129
137
|
arrowFamily: { type: String, required: false },
|
|
138
|
+
internalPrepend: { type: Number, required: false },
|
|
139
|
+
internalAppend: { type: Number, required: false },
|
|
130
140
|
internalArrow: { type: Number, required: false },
|
|
131
141
|
inputProps: { type: Object, required: false }
|
|
132
142
|
}, defaultDatetimePickerInputProps()),
|
|
@@ -58,9 +58,7 @@ import DatetimeRangePickerInput from 'sard-uniapp/components/datetime-range-pick
|
|
|
58
58
|
|
|
59
59
|
### DatetimeRangePickerInputSlots
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
| ---------------------- | ---------- | ---------- |
|
|
63
|
-
| arrow <sup>1.22+</sup> | 自定义箭头 | () => void |
|
|
61
|
+
继承 [`PopoutInputSlots`](./popout-input#PopoutInputSlots)
|
|
64
62
|
|
|
65
63
|
### DatetimeRangePickerInputEmits
|
|
66
64
|
|