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
|
@@ -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
|
|
@@ -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()),
|
|
@@ -121,6 +121,7 @@ import SarIcon from "../icon/icon.vue";
|
|
|
121
121
|
import SarCheckbox from "../checkbox/checkbox.vue";
|
|
122
122
|
import SarRadio from "../radio/radio.vue";
|
|
123
123
|
import SarPopover from "../popover/popover.vue";
|
|
124
|
+
import SarLoading from "../loading/loading.vue";
|
|
124
125
|
import { usePopover } from "../popover";
|
|
125
126
|
import { getNodeLevel, recurDescendant } from "../tree/utils";
|
|
126
127
|
export default _defineComponent({
|
|
@@ -129,6 +130,7 @@ export default _defineComponent({
|
|
|
129
130
|
SarCheckbox,
|
|
130
131
|
SarRadio,
|
|
131
132
|
SarPopover,
|
|
133
|
+
SarLoading,
|
|
132
134
|
},
|
|
133
135
|
...{
|
|
134
136
|
name: "SarTreeNode",
|
|
@@ -412,7 +414,7 @@ export default _defineComponent({
|
|
|
412
414
|
return obviousNodes;
|
|
413
415
|
}, set obviousNodes(v) {
|
|
414
416
|
obviousNodes = v;
|
|
415
|
-
}, onDragStart, onDragMove, onDragEnd, onDragSimulatedClickTouchStart, onDragSimulatedClickTouchEnd, onDragSimulatedPressTouchStart, onDragSimulatedPressTouchMove, onDragSimulatedPressTouchEnd, onDragTouchStart, onDragTouchMove, onDragTouchEnd, onDragMouseDown, dragId, popover, isLastNode, popoverOptions, onPopoverSelect, isMergedLeaf, onNodeClick, nodeActive, onNodeTouchStart, onNodeTouchEnd, onNodeMouseDown, canSingleSelectable, isSingleChecked, onSelectionTouchStart, onSelectionTouchEnd, onSelectionMouseDown, editId, getEditRect, onEditTouchStart, onEditTouchEnd, onEditMouseDown, nodeClass, nodeStyle, editClass, indentStyle, arrowClass, selectionClass, SarIcon, SarCheckbox, SarRadio, SarPopover };
|
|
417
|
+
}, onDragStart, onDragMove, onDragEnd, onDragSimulatedClickTouchStart, onDragSimulatedClickTouchEnd, onDragSimulatedPressTouchStart, onDragSimulatedPressTouchMove, onDragSimulatedPressTouchEnd, onDragTouchStart, onDragTouchMove, onDragTouchEnd, onDragMouseDown, dragId, popover, isLastNode, popoverOptions, onPopoverSelect, isMergedLeaf, onNodeClick, nodeActive, onNodeTouchStart, onNodeTouchEnd, onNodeMouseDown, canSingleSelectable, isSingleChecked, onSelectionTouchStart, onSelectionTouchEnd, onSelectionMouseDown, editId, getEditRect, onEditTouchStart, onEditTouchEnd, onEditMouseDown, nodeClass, nodeStyle, editClass, indentStyle, arrowClass, selectionClass, SarIcon, SarCheckbox, SarRadio, SarPopover, SarLoading };
|
|
416
418
|
return __returned__;
|
|
417
419
|
}
|
|
418
420
|
});
|
|
@@ -205,7 +205,12 @@ export default _defineComponent({
|
|
|
205
205
|
destHeight: clipHeight,
|
|
206
206
|
canvasId,
|
|
207
207
|
success(res) {
|
|
208
|
+
// #ifdef MP-WEIXIN
|
|
209
|
+
dataURL.value = "data:image/png;base64," + uni.getFileSystemManager().readFileSync(res.tempFilePath, "base64");
|
|
210
|
+
// #endif
|
|
211
|
+
// #ifndef MP-WEIXIN
|
|
208
212
|
dataURL.value = res.tempFilePath;
|
|
213
|
+
// #endif
|
|
209
214
|
}
|
|
210
215
|
},
|
|
211
216
|
instance
|