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
|
@@ -27,9 +27,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
27
27
|
readonly: 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").InputProps;
|
|
35
37
|
}) => () => any)) | undefined;
|
|
@@ -56,9 +58,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
56
58
|
readonly: boolean;
|
|
57
59
|
placeholder: string;
|
|
58
60
|
clearable: boolean;
|
|
61
|
+
internalPrepend: number;
|
|
59
62
|
multiline: boolean;
|
|
60
63
|
arrow: string;
|
|
61
64
|
arrowFamily: string;
|
|
65
|
+
internalAppend: number;
|
|
62
66
|
internalArrow: number;
|
|
63
67
|
inputProps: import("../input").InputProps;
|
|
64
68
|
}) => boolean) | undefined;
|
|
@@ -85,9 +89,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
85
89
|
readonly: boolean;
|
|
86
90
|
placeholder: string;
|
|
87
91
|
clearable: boolean;
|
|
92
|
+
internalPrepend: number;
|
|
88
93
|
multiline: boolean;
|
|
89
94
|
arrow: string;
|
|
90
95
|
arrowFamily: string;
|
|
96
|
+
internalAppend: number;
|
|
91
97
|
internalArrow: number;
|
|
92
98
|
inputProps: import("../input").InputProps;
|
|
93
99
|
}) => string) | undefined;
|
|
@@ -114,9 +120,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
114
120
|
readonly: boolean;
|
|
115
121
|
placeholder: string;
|
|
116
122
|
clearable: boolean;
|
|
123
|
+
internalPrepend: number;
|
|
117
124
|
multiline: boolean;
|
|
118
125
|
arrow: string;
|
|
119
126
|
arrowFamily: string;
|
|
127
|
+
internalAppend: number;
|
|
120
128
|
internalArrow: number;
|
|
121
129
|
inputProps: import("../input").InputProps;
|
|
122
130
|
}) => boolean) | undefined;
|
|
@@ -143,9 +151,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
143
151
|
readonly: boolean;
|
|
144
152
|
placeholder: string;
|
|
145
153
|
clearable: boolean;
|
|
154
|
+
internalPrepend: number;
|
|
146
155
|
multiline: boolean;
|
|
147
156
|
arrow: string;
|
|
148
157
|
arrowFamily: string;
|
|
158
|
+
internalAppend: number;
|
|
149
159
|
internalArrow: number;
|
|
150
160
|
inputProps: import("../input").InputProps;
|
|
151
161
|
}) => boolean) | undefined;
|
|
@@ -172,9 +182,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
172
182
|
readonly: boolean;
|
|
173
183
|
placeholder: string;
|
|
174
184
|
clearable: boolean;
|
|
185
|
+
internalPrepend: number;
|
|
175
186
|
multiline: boolean;
|
|
176
187
|
arrow: string;
|
|
177
188
|
arrowFamily: string;
|
|
189
|
+
internalAppend: number;
|
|
178
190
|
internalArrow: number;
|
|
179
191
|
inputProps: import("../input").InputProps;
|
|
180
192
|
}) => string) | undefined;
|
|
@@ -201,9 +213,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
201
213
|
readonly: boolean;
|
|
202
214
|
placeholder: string;
|
|
203
215
|
clearable: boolean;
|
|
216
|
+
internalPrepend: number;
|
|
204
217
|
multiline: boolean;
|
|
205
218
|
arrow: string;
|
|
206
219
|
arrowFamily: string;
|
|
220
|
+
internalAppend: number;
|
|
207
221
|
internalArrow: number;
|
|
208
222
|
inputProps: import("../input").InputProps;
|
|
209
223
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -230,9 +244,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
230
244
|
readonly: boolean;
|
|
231
245
|
placeholder: string;
|
|
232
246
|
clearable: boolean;
|
|
247
|
+
internalPrepend: number;
|
|
233
248
|
multiline: boolean;
|
|
234
249
|
arrow: string;
|
|
235
250
|
arrowFamily: string;
|
|
251
|
+
internalAppend: number;
|
|
236
252
|
internalArrow: number;
|
|
237
253
|
inputProps: import("../input").InputProps;
|
|
238
254
|
}) => boolean) | undefined;
|
|
@@ -259,9 +275,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
259
275
|
readonly: boolean;
|
|
260
276
|
placeholder: string;
|
|
261
277
|
clearable: boolean;
|
|
278
|
+
internalPrepend: number;
|
|
262
279
|
multiline: boolean;
|
|
263
280
|
arrow: string;
|
|
264
281
|
arrowFamily: string;
|
|
282
|
+
internalAppend: number;
|
|
265
283
|
internalArrow: number;
|
|
266
284
|
inputProps: import("../input").InputProps;
|
|
267
285
|
}) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | null | undefined;
|
|
@@ -288,9 +306,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
288
306
|
readonly: boolean;
|
|
289
307
|
placeholder: string;
|
|
290
308
|
clearable: boolean;
|
|
309
|
+
internalPrepend: number;
|
|
291
310
|
multiline: boolean;
|
|
292
311
|
arrow: string;
|
|
293
312
|
arrowFamily: string;
|
|
313
|
+
internalAppend: number;
|
|
294
314
|
internalArrow: number;
|
|
295
315
|
inputProps: import("../input").InputProps;
|
|
296
316
|
}) => string) | undefined;
|
|
@@ -317,9 +337,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
317
337
|
readonly: boolean;
|
|
318
338
|
placeholder: string;
|
|
319
339
|
clearable: boolean;
|
|
340
|
+
internalPrepend: number;
|
|
320
341
|
multiline: boolean;
|
|
321
342
|
arrow: string;
|
|
322
343
|
arrowFamily: string;
|
|
344
|
+
internalAppend: number;
|
|
323
345
|
internalArrow: number;
|
|
324
346
|
inputProps: import("../input").InputProps;
|
|
325
347
|
}) => string | number | (string | number)[]) | undefined;
|
|
@@ -346,9 +368,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
346
368
|
readonly: boolean;
|
|
347
369
|
placeholder: string;
|
|
348
370
|
clearable: boolean;
|
|
371
|
+
internalPrepend: number;
|
|
349
372
|
multiline: boolean;
|
|
350
373
|
arrow: string;
|
|
351
374
|
arrowFamily: string;
|
|
375
|
+
internalAppend: number;
|
|
352
376
|
internalArrow: number;
|
|
353
377
|
inputProps: import("../input").InputProps;
|
|
354
378
|
}) => import("../cascader").CascaderOption[]) | undefined;
|
|
@@ -375,9 +399,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
375
399
|
readonly: boolean;
|
|
376
400
|
placeholder: string;
|
|
377
401
|
clearable: boolean;
|
|
402
|
+
internalPrepend: number;
|
|
378
403
|
multiline: boolean;
|
|
379
404
|
arrow: string;
|
|
380
405
|
arrowFamily: string;
|
|
406
|
+
internalAppend: number;
|
|
381
407
|
internalArrow: number;
|
|
382
408
|
inputProps: import("../input").InputProps;
|
|
383
409
|
}) => import("../cascader").CascaderFieldKeys) | undefined;
|
|
@@ -404,9 +430,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
404
430
|
readonly: boolean;
|
|
405
431
|
placeholder: string;
|
|
406
432
|
clearable: boolean;
|
|
433
|
+
internalPrepend: number;
|
|
407
434
|
multiline: boolean;
|
|
408
435
|
arrow: string;
|
|
409
436
|
arrowFamily: string;
|
|
437
|
+
internalAppend: number;
|
|
410
438
|
internalArrow: number;
|
|
411
439
|
inputProps: import("../input").InputProps;
|
|
412
440
|
}) => string) | undefined;
|
|
@@ -433,9 +461,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
433
461
|
readonly: boolean;
|
|
434
462
|
placeholder: string;
|
|
435
463
|
clearable: boolean;
|
|
464
|
+
internalPrepend: number;
|
|
436
465
|
multiline: boolean;
|
|
437
466
|
arrow: string;
|
|
438
467
|
arrowFamily: string;
|
|
468
|
+
internalAppend: number;
|
|
439
469
|
internalArrow: number;
|
|
440
470
|
inputProps: import("../input").InputProps;
|
|
441
471
|
}) => (option: import("../cascader").CascaderOption) => string) | undefined;
|
|
@@ -462,9 +492,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
462
492
|
readonly: boolean;
|
|
463
493
|
placeholder: string;
|
|
464
494
|
clearable: boolean;
|
|
495
|
+
internalPrepend: number;
|
|
465
496
|
multiline: boolean;
|
|
466
497
|
arrow: string;
|
|
467
498
|
arrowFamily: string;
|
|
499
|
+
internalAppend: number;
|
|
468
500
|
internalArrow: number;
|
|
469
501
|
inputProps: import("../input").InputProps;
|
|
470
502
|
}) => boolean) | undefined;
|
|
@@ -491,9 +523,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
491
523
|
readonly: boolean;
|
|
492
524
|
placeholder: string;
|
|
493
525
|
clearable: boolean;
|
|
526
|
+
internalPrepend: number;
|
|
494
527
|
multiline: boolean;
|
|
495
528
|
arrow: string;
|
|
496
529
|
arrowFamily: string;
|
|
530
|
+
internalAppend: number;
|
|
497
531
|
internalArrow: number;
|
|
498
532
|
inputProps: import("../input").InputProps;
|
|
499
533
|
}) => boolean) | undefined;
|
|
@@ -520,9 +554,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
520
554
|
readonly: boolean;
|
|
521
555
|
placeholder: string;
|
|
522
556
|
clearable: boolean;
|
|
557
|
+
internalPrepend: number;
|
|
523
558
|
multiline: boolean;
|
|
524
559
|
arrow: string;
|
|
525
560
|
arrowFamily: string;
|
|
561
|
+
internalAppend: number;
|
|
526
562
|
internalArrow: number;
|
|
527
563
|
inputProps: import("../input").InputProps;
|
|
528
564
|
}) => boolean)) | undefined;
|
|
@@ -549,9 +585,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
549
585
|
readonly: boolean;
|
|
550
586
|
placeholder: string;
|
|
551
587
|
clearable: boolean;
|
|
588
|
+
internalPrepend: number;
|
|
552
589
|
multiline: boolean;
|
|
553
590
|
arrow: string;
|
|
554
591
|
arrowFamily: string;
|
|
592
|
+
internalAppend: number;
|
|
555
593
|
internalArrow: number;
|
|
556
594
|
inputProps: import("../input").InputProps;
|
|
557
595
|
}) => boolean)) | undefined;
|
|
@@ -578,9 +616,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
578
616
|
readonly: boolean;
|
|
579
617
|
placeholder: string;
|
|
580
618
|
clearable: boolean;
|
|
619
|
+
internalPrepend: number;
|
|
581
620
|
multiline: boolean;
|
|
582
621
|
arrow: string;
|
|
583
622
|
arrowFamily: string;
|
|
623
|
+
internalAppend: number;
|
|
584
624
|
internalArrow: number;
|
|
585
625
|
inputProps: import("../input").InputProps;
|
|
586
626
|
}) => boolean)) | undefined;
|
|
@@ -607,9 +647,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
607
647
|
readonly: boolean;
|
|
608
648
|
placeholder: string;
|
|
609
649
|
clearable: boolean;
|
|
650
|
+
internalPrepend: number;
|
|
610
651
|
multiline: boolean;
|
|
611
652
|
arrow: string;
|
|
612
653
|
arrowFamily: string;
|
|
654
|
+
internalAppend: number;
|
|
613
655
|
internalArrow: number;
|
|
614
656
|
inputProps: import("../input").InputProps;
|
|
615
657
|
}) => string)) | undefined;
|
|
@@ -636,12 +678,45 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
636
678
|
readonly: boolean;
|
|
637
679
|
placeholder: string;
|
|
638
680
|
clearable: boolean;
|
|
681
|
+
internalPrepend: number;
|
|
639
682
|
multiline: boolean;
|
|
640
683
|
arrow: string;
|
|
641
684
|
arrowFamily: string;
|
|
685
|
+
internalAppend: number;
|
|
642
686
|
internalArrow: number;
|
|
643
687
|
inputProps: import("../input").InputProps;
|
|
644
688
|
}) => boolean)) | undefined;
|
|
689
|
+
internalPrepend?: (number | ((props: {
|
|
690
|
+
valueOnClear: () => any;
|
|
691
|
+
visible: boolean;
|
|
692
|
+
title: string;
|
|
693
|
+
showConfirm: boolean;
|
|
694
|
+
validateEvent: boolean;
|
|
695
|
+
popoutClass: string;
|
|
696
|
+
popoutStyle: import("vue").StyleValue;
|
|
697
|
+
resettable: boolean;
|
|
698
|
+
rootStyle: import("vue").StyleValue;
|
|
699
|
+
rootClass: string;
|
|
700
|
+
modelValue: string | number | (string | number)[];
|
|
701
|
+
options: import("../cascader").CascaderOption[];
|
|
702
|
+
fieldKeys: import("../cascader").CascaderFieldKeys;
|
|
703
|
+
hintText: string;
|
|
704
|
+
labelRender: (option: import("../cascader").CascaderOption) => string;
|
|
705
|
+
changeOnSelect: boolean;
|
|
706
|
+
allLevels: boolean;
|
|
707
|
+
loading: boolean;
|
|
708
|
+
disabled: boolean;
|
|
709
|
+
readonly: boolean;
|
|
710
|
+
placeholder: string;
|
|
711
|
+
clearable: boolean;
|
|
712
|
+
internalPrepend: number;
|
|
713
|
+
multiline: boolean;
|
|
714
|
+
arrow: string;
|
|
715
|
+
arrowFamily: string;
|
|
716
|
+
internalAppend: number;
|
|
717
|
+
internalArrow: number;
|
|
718
|
+
inputProps: import("../input").InputProps;
|
|
719
|
+
}) => number)) | undefined;
|
|
645
720
|
multiline?: (boolean | ((props: {
|
|
646
721
|
valueOnClear: () => any;
|
|
647
722
|
visible: boolean;
|
|
@@ -665,9 +740,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
665
740
|
readonly: boolean;
|
|
666
741
|
placeholder: string;
|
|
667
742
|
clearable: boolean;
|
|
743
|
+
internalPrepend: number;
|
|
668
744
|
multiline: boolean;
|
|
669
745
|
arrow: string;
|
|
670
746
|
arrowFamily: string;
|
|
747
|
+
internalAppend: number;
|
|
671
748
|
internalArrow: number;
|
|
672
749
|
inputProps: import("../input").InputProps;
|
|
673
750
|
}) => boolean)) | undefined;
|
|
@@ -694,9 +771,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
694
771
|
readonly: boolean;
|
|
695
772
|
placeholder: string;
|
|
696
773
|
clearable: boolean;
|
|
774
|
+
internalPrepend: number;
|
|
697
775
|
multiline: boolean;
|
|
698
776
|
arrow: string;
|
|
699
777
|
arrowFamily: string;
|
|
778
|
+
internalAppend: number;
|
|
700
779
|
internalArrow: number;
|
|
701
780
|
inputProps: import("../input").InputProps;
|
|
702
781
|
}) => string)) | undefined;
|
|
@@ -723,12 +802,45 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
723
802
|
readonly: boolean;
|
|
724
803
|
placeholder: string;
|
|
725
804
|
clearable: boolean;
|
|
805
|
+
internalPrepend: number;
|
|
726
806
|
multiline: boolean;
|
|
727
807
|
arrow: string;
|
|
728
808
|
arrowFamily: string;
|
|
809
|
+
internalAppend: number;
|
|
729
810
|
internalArrow: number;
|
|
730
811
|
inputProps: import("../input").InputProps;
|
|
731
812
|
}) => string)) | undefined;
|
|
813
|
+
internalAppend?: (number | ((props: {
|
|
814
|
+
valueOnClear: () => any;
|
|
815
|
+
visible: boolean;
|
|
816
|
+
title: string;
|
|
817
|
+
showConfirm: boolean;
|
|
818
|
+
validateEvent: boolean;
|
|
819
|
+
popoutClass: string;
|
|
820
|
+
popoutStyle: import("vue").StyleValue;
|
|
821
|
+
resettable: boolean;
|
|
822
|
+
rootStyle: import("vue").StyleValue;
|
|
823
|
+
rootClass: string;
|
|
824
|
+
modelValue: string | number | (string | number)[];
|
|
825
|
+
options: import("../cascader").CascaderOption[];
|
|
826
|
+
fieldKeys: import("../cascader").CascaderFieldKeys;
|
|
827
|
+
hintText: string;
|
|
828
|
+
labelRender: (option: import("../cascader").CascaderOption) => string;
|
|
829
|
+
changeOnSelect: boolean;
|
|
830
|
+
allLevels: boolean;
|
|
831
|
+
loading: boolean;
|
|
832
|
+
disabled: boolean;
|
|
833
|
+
readonly: boolean;
|
|
834
|
+
placeholder: string;
|
|
835
|
+
clearable: boolean;
|
|
836
|
+
internalPrepend: number;
|
|
837
|
+
multiline: boolean;
|
|
838
|
+
arrow: string;
|
|
839
|
+
arrowFamily: string;
|
|
840
|
+
internalAppend: number;
|
|
841
|
+
internalArrow: number;
|
|
842
|
+
inputProps: import("../input").InputProps;
|
|
843
|
+
}) => number)) | undefined;
|
|
732
844
|
internalArrow?: (number | ((props: {
|
|
733
845
|
valueOnClear: () => any;
|
|
734
846
|
visible: boolean;
|
|
@@ -752,9 +864,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
752
864
|
readonly: boolean;
|
|
753
865
|
placeholder: string;
|
|
754
866
|
clearable: boolean;
|
|
867
|
+
internalPrepend: number;
|
|
755
868
|
multiline: boolean;
|
|
756
869
|
arrow: string;
|
|
757
870
|
arrowFamily: string;
|
|
871
|
+
internalAppend: number;
|
|
758
872
|
internalArrow: number;
|
|
759
873
|
inputProps: import("../input").InputProps;
|
|
760
874
|
}) => number)) | undefined;
|
|
@@ -781,9 +895,11 @@ export declare const defaultCascaderInputProps: () => {
|
|
|
781
895
|
readonly: boolean;
|
|
782
896
|
placeholder: string;
|
|
783
897
|
clearable: boolean;
|
|
898
|
+
internalPrepend: number;
|
|
784
899
|
multiline: boolean;
|
|
785
900
|
arrow: string;
|
|
786
901
|
arrowFamily: string;
|
|
902
|
+
internalAppend: number;
|
|
787
903
|
internalArrow: number;
|
|
788
904
|
inputProps: import("../input").InputProps;
|
|
789
905
|
}) => import("../input").InputProps) | undefined;
|
|
@@ -44,9 +44,7 @@ import CheckboxInput from 'sard-uniapp/components/checkbox-input/checkbox-input.
|
|
|
44
44
|
|
|
45
45
|
### CheckboxInputSlots
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
| ---------------------- | ---------- | ---------- |
|
|
49
|
-
| arrow <sup>1.22+</sup> | 自定义箭头 | () => void |
|
|
47
|
+
继承 [`PopoutInputSlots`](./popout-input#PopoutInputSlots)
|
|
50
48
|
|
|
51
49
|
### CheckboxInputEmits
|
|
52
50
|
|
|
@@ -27,9 +27,11 @@ declare const __VLS_component: import("vue").DefineComponent<CheckboxInputProps,
|
|
|
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;
|
|
@@ -10,11 +10,19 @@
|
|
|
10
10
|
:root-style="rootStyle"
|
|
11
11
|
:arrow="arrow"
|
|
12
12
|
:internal-arrow="$slots.arrow ? 1 : 0"
|
|
13
|
+
:internal-prepend="$slots.prepend ? 1 : 0"
|
|
14
|
+
:internal-append="$slots.append ? 1 : 0"
|
|
13
15
|
:input-props="inputProps"
|
|
14
16
|
@clear="onClear"
|
|
15
17
|
@click="show"
|
|
16
18
|
>
|
|
17
|
-
<template
|
|
19
|
+
<template #prepend>
|
|
20
|
+
<slot name="prepend"></slot>
|
|
21
|
+
</template>
|
|
22
|
+
<template #append>
|
|
23
|
+
<slot name="append"></slot>
|
|
24
|
+
</template>
|
|
25
|
+
<template #arrow>
|
|
18
26
|
<slot name="arrow"></slot>
|
|
19
27
|
</template>
|
|
20
28
|
<sar-checkbox-popout
|
|
@@ -140,6 +148,8 @@ export default _defineComponent({
|
|
|
140
148
|
multiline: { type: Boolean, required: false },
|
|
141
149
|
arrow: { type: String, required: false },
|
|
142
150
|
arrowFamily: { type: String, required: false },
|
|
151
|
+
internalPrepend: { type: Number, required: false },
|
|
152
|
+
internalAppend: { type: Number, required: false },
|
|
143
153
|
internalArrow: { type: Number, required: false },
|
|
144
154
|
inputProps: { type: Object, required: false }
|
|
145
155
|
}, defaultCheckboxInputProps()),
|