sard-uniapp 1.29.3 → 1.30.0
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 +14 -0
- package/README.md +1 -1
- package/components/button/index.scss +0 -2
- package/components/calendar-input/calendar-input.d.ts +1 -0
- package/components/calendar-input/calendar-input.vue +1 -0
- package/components/calendar-popout/calendar-popout.d.ts +1 -0
- package/components/calendar-popout/calendar-popout.vue +1 -0
- package/components/cascader-input/cascader-input.d.ts +1 -0
- package/components/cascader-input/cascader-input.vue +1 -0
- package/components/cascader-popout/cascader-popout.d.ts +1 -0
- package/components/cascader-popout/cascader-popout.vue +1 -0
- package/components/checkbox-input/checkbox-input.d.ts +1 -0
- package/components/checkbox-input/checkbox-input.vue +1 -0
- package/components/checkbox-input/common.d.ts +69 -0
- package/components/checkbox-popout/checkbox-popout.d.ts +1 -0
- package/components/checkbox-popout/checkbox-popout.vue +1 -0
- package/components/color-picker-input/color-picker-input.d.ts +1 -0
- package/components/color-picker-input/color-picker-input.vue +1 -0
- package/components/color-picker-popout/color-picker-popout.d.ts +1 -0
- package/components/color-picker-popout/color-picker-popout.vue +1 -0
- package/components/config/index.d.ts +6 -0
- package/components/datetime-picker-input/datetime-picker-input.d.ts +1 -0
- package/components/datetime-picker-input/datetime-picker-input.vue +1 -0
- package/components/datetime-picker-popout/datetime-picker-popout.d.ts +1 -0
- package/components/datetime-picker-popout/datetime-picker-popout.vue +1 -0
- package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +1 -0
- package/components/datetime-range-picker-input/datetime-range-picker-input.vue +1 -0
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +1 -0
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.vue +1 -0
- package/components/keyboard/README.md +11 -10
- package/components/keyboard/common.d.ts +4 -0
- package/components/keyboard/common.js +15 -92
- package/components/keyboard/index.d.ts +1 -1
- package/components/keyboard/index.js +1 -1
- package/components/keyboard/index.scss +10 -0
- package/components/keyboard/keyboard.d.ts +1 -0
- package/components/keyboard/keyboard.vue +43 -33
- package/components/keyboard-popout/README.md +92 -0
- package/components/keyboard-popout/common.d.ts +24 -0
- package/components/keyboard-popout/common.js +8 -0
- package/components/keyboard-popout/index.d.ts +1 -0
- package/components/keyboard-popout/index.js +1 -0
- package/components/keyboard-popout/index.scss +7 -0
- package/components/keyboard-popout/keyboard-popout.d.ts +35 -0
- package/components/keyboard-popout/keyboard-popout.vue +132 -0
- package/components/keyboard-popout/variables.scss +5 -0
- package/components/picker-input/common.d.ts +56 -0
- package/components/picker-input/picker-input.d.ts +1 -0
- package/components/picker-input/picker-input.vue +1 -0
- package/components/picker-popout/picker-popout.d.ts +1 -0
- package/components/picker-popout/picker-popout.vue +1 -0
- package/components/popout/README.md +8 -8
- package/components/popout/common.d.ts +1 -0
- package/components/popout/common.js +1 -0
- package/components/popout/index.scss +18 -19
- package/components/popout/popout.d.ts +1 -0
- package/components/popout/popout.vue +28 -13
- package/components/popout/variables.scss +0 -2
- package/components/radio-input/common.d.ts +66 -0
- package/components/radio-input/radio-input.d.ts +1 -0
- package/components/radio-input/radio-input.vue +1 -0
- package/components/radio-popout/radio-popout.d.ts +1 -0
- package/components/radio-popout/radio-popout.vue +1 -0
- package/components/select-input/README.md +7 -4
- package/components/select-input/common.d.ts +1 -0
- package/components/select-input/select-input.d.ts +2 -0
- package/components/select-input/select-input.vue +14 -0
- package/components/select-popout/select-popout.d.ts +1 -0
- package/components/select-popout/select-popout.vue +1 -0
- package/components/stepper/README.md +27 -20
- package/components/stepper/common.d.ts +1 -0
- package/components/stepper/common.js +1 -0
- package/components/stepper/index.scss +95 -20
- package/components/stepper/stepper.d.ts +1 -0
- package/components/stepper/stepper.vue +4 -1
- package/components/stepper/variables.scss +4 -3
- package/components/style/mixins/border.scss +5 -5
- package/components/swipe-action/README.md +27 -0
- package/components/swipe-action/swipe-action.vue +25 -2
- package/components/swipe-action-group/common.d.ts +22 -0
- package/components/swipe-action-group/common.js +6 -0
- package/components/swipe-action-group/index.d.ts +1 -0
- package/components/swipe-action-group/index.js +1 -0
- package/components/swipe-action-group/index.scss +7 -0
- package/components/swipe-action-group/swipe-action-group.d.ts +16 -0
- package/components/swipe-action-group/swipe-action-group.vue +76 -0
- package/components/swipe-action-group/variables.scss +5 -0
- package/components/swiper/README.md +100 -0
- package/components/swiper/common.d.ts +38 -0
- package/components/swiper/common.js +12 -0
- package/components/swiper/index.d.ts +1 -0
- package/components/swiper/index.js +1 -0
- package/components/swiper/index.scss +28 -0
- package/components/swiper/swiper.d.ts +35 -0
- package/components/swiper/swiper.vue +175 -0
- package/components/swiper/variables.scss +6 -0
- package/components/swiper-dot/index.scss +6 -0
- package/components/swiper-dot/variables.scss +5 -2
- package/components/switch/README.md +37 -16
- package/components/switch/common.d.ts +6 -0
- package/components/switch/index.scss +58 -11
- package/components/switch/switch.d.ts +11 -2
- package/components/switch/switch.vue +17 -5
- package/components/switch/variables.scss +11 -4
- package/global.d.ts +6 -3
- package/index.d.ts +7 -4
- package/index.js +7 -4
- package/index.scss +5 -2
- package/package.json +1 -1
- package/use/useFormPopout.d.ts +1 -0
- package/use/useScrollSpy.js +13 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
## 1.30.0 (2026-05-02)
|
|
3
|
+
|
|
4
|
+
* Features: 允许在开关里面展示文字 ([55b9f23](https://github.com/sutras/sard-uniapp/commit/55b9f23))
|
|
5
|
+
* Features: 新增 KeyboardPopout 组件 ([ff5707a](https://github.com/sutras/sard-uniapp/commit/ff5707a))
|
|
6
|
+
* Features: 新增 map-label 属性 ([726f9e4](https://github.com/sutras/sard-uniapp/commit/726f9e4))
|
|
7
|
+
* Features: 新增 swipe-action-group 组件 ([7bbeda3](https://github.com/sutras/sard-uniapp/commit/7bbeda3))
|
|
8
|
+
* Features: 新增 swiper 组件 ([774ddd4](https://github.com/sutras/sard-uniapp/commit/774ddd4))
|
|
9
|
+
* Features: 新增 variant 属性 ([d191638](https://github.com/sutras/sard-uniapp/commit/d191638))
|
|
10
|
+
* Bug Fixes: 修复按钮细边框薄厚不一致问题 ([1e7f9fb](https://github.com/sutras/sard-uniapp/commit/1e7f9fb))
|
|
11
|
+
|
|
12
|
+
## <small>1.29.4 (2026-04-27)</small>
|
|
13
|
+
|
|
14
|
+
* Bug Fixes: 修复动态加载数据时不生成nav的问题 ([d1cdaf1](https://github.com/sutras/sard-uniapp/commit/d1cdaf1))
|
|
15
|
+
|
|
2
16
|
## <small>1.29.3 (2026-04-13)</small>
|
|
3
17
|
|
|
4
18
|
* Bug Fixes: 修复textarea-base导入问题 ([fa9e57f](https://github.com/sutras/sard-uniapp/commit/fa9e57f))
|
package/README.md
CHANGED
|
@@ -110,6 +110,7 @@ export default _defineComponent({
|
|
|
110
110
|
resettable: { type: Boolean, required: false },
|
|
111
111
|
validateEvent: { type: Boolean, required: false },
|
|
112
112
|
showConfirm: { type: Boolean, required: false },
|
|
113
|
+
showCancel: { type: Boolean, required: false },
|
|
113
114
|
rootStyle: { type: null, required: false },
|
|
114
115
|
rootClass: { type: String, required: false },
|
|
115
116
|
type: { type: String, required: false },
|
|
@@ -14,6 +14,7 @@ declare const __VLS_component: import("vue").DefineComponent<CalendarPopoutProps
|
|
|
14
14
|
rootClass: string;
|
|
15
15
|
modelValue: Date | Date[] | string | string[];
|
|
16
16
|
visible: boolean;
|
|
17
|
+
showCancel: boolean;
|
|
17
18
|
type: import("../calendar/common.js").CalendarType;
|
|
18
19
|
max: Date;
|
|
19
20
|
min: Date;
|
|
@@ -94,6 +94,7 @@ export default _defineComponent({
|
|
|
94
94
|
resettable: { type: Boolean, required: false },
|
|
95
95
|
validateEvent: { type: Boolean, required: false },
|
|
96
96
|
showConfirm: { type: Boolean, required: false },
|
|
97
|
+
showCancel: { type: Boolean, required: false },
|
|
97
98
|
rootStyle: { type: null, required: false },
|
|
98
99
|
rootClass: { type: String, required: false },
|
|
99
100
|
type: { type: String, required: false },
|
|
@@ -118,6 +118,7 @@ export default _defineComponent({
|
|
|
118
118
|
resettable: { type: Boolean, required: false },
|
|
119
119
|
validateEvent: { type: Boolean, required: false },
|
|
120
120
|
showConfirm: { type: Boolean, required: false },
|
|
121
|
+
showCancel: { type: Boolean, required: false },
|
|
121
122
|
rootStyle: { type: null, required: false },
|
|
122
123
|
rootClass: { type: String, required: false },
|
|
123
124
|
modelValue: { type: [String, Number, Array], required: false },
|
|
@@ -12,6 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<CascaderPopoutProps
|
|
|
12
12
|
rootClass: string;
|
|
13
13
|
modelValue: import("../cascader/common.js").CascaderValue;
|
|
14
14
|
visible: boolean;
|
|
15
|
+
showCancel: boolean;
|
|
15
16
|
title: string;
|
|
16
17
|
popoutClass: string;
|
|
17
18
|
popoutStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
@@ -89,6 +89,7 @@ export default _defineComponent({
|
|
|
89
89
|
resettable: { type: Boolean, required: false },
|
|
90
90
|
validateEvent: { type: Boolean, required: false },
|
|
91
91
|
showConfirm: { type: Boolean, required: false },
|
|
92
|
+
showCancel: { type: Boolean, required: false },
|
|
92
93
|
rootStyle: { type: null, required: false },
|
|
93
94
|
rootClass: { type: String, required: false },
|
|
94
95
|
modelValue: { type: [String, Number, Array], required: false },
|
|
@@ -106,6 +106,7 @@ export default _defineComponent({
|
|
|
106
106
|
resettable: { type: Boolean, required: false },
|
|
107
107
|
validateEvent: { type: Boolean, required: false },
|
|
108
108
|
showConfirm: { type: Boolean, required: false },
|
|
109
|
+
showCancel: { type: Boolean, required: false },
|
|
109
110
|
rootStyle: { type: null, required: false },
|
|
110
111
|
rootClass: { type: String, required: false },
|
|
111
112
|
modelValue: { type: Array, required: false },
|
|
@@ -19,6 +19,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
19
19
|
resettable: boolean;
|
|
20
20
|
validateEvent: boolean;
|
|
21
21
|
showConfirm: boolean;
|
|
22
|
+
showCancel: boolean;
|
|
22
23
|
rootStyle: import("vue").StyleValue;
|
|
23
24
|
rootClass: string;
|
|
24
25
|
modelValue: any[];
|
|
@@ -54,6 +55,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
54
55
|
resettable: boolean;
|
|
55
56
|
validateEvent: boolean;
|
|
56
57
|
showConfirm: boolean;
|
|
58
|
+
showCancel: boolean;
|
|
57
59
|
rootStyle: import("vue").StyleValue;
|
|
58
60
|
rootClass: string;
|
|
59
61
|
modelValue: any[];
|
|
@@ -89,6 +91,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
89
91
|
resettable: boolean;
|
|
90
92
|
validateEvent: boolean;
|
|
91
93
|
showConfirm: boolean;
|
|
94
|
+
showCancel: boolean;
|
|
92
95
|
rootStyle: import("vue").StyleValue;
|
|
93
96
|
rootClass: string;
|
|
94
97
|
modelValue: any[];
|
|
@@ -124,6 +127,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
124
127
|
resettable: boolean;
|
|
125
128
|
validateEvent: boolean;
|
|
126
129
|
showConfirm: boolean;
|
|
130
|
+
showCancel: boolean;
|
|
127
131
|
rootStyle: import("vue").StyleValue;
|
|
128
132
|
rootClass: string;
|
|
129
133
|
modelValue: any[];
|
|
@@ -159,6 +163,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
159
163
|
resettable: boolean;
|
|
160
164
|
validateEvent: boolean;
|
|
161
165
|
showConfirm: boolean;
|
|
166
|
+
showCancel: boolean;
|
|
162
167
|
rootStyle: import("vue").StyleValue;
|
|
163
168
|
rootClass: string;
|
|
164
169
|
modelValue: any[];
|
|
@@ -194,6 +199,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
194
199
|
resettable: boolean;
|
|
195
200
|
validateEvent: boolean;
|
|
196
201
|
showConfirm: boolean;
|
|
202
|
+
showCancel: boolean;
|
|
197
203
|
rootStyle: import("vue").StyleValue;
|
|
198
204
|
rootClass: string;
|
|
199
205
|
modelValue: any[];
|
|
@@ -229,6 +235,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
229
235
|
resettable: boolean;
|
|
230
236
|
validateEvent: boolean;
|
|
231
237
|
showConfirm: boolean;
|
|
238
|
+
showCancel: boolean;
|
|
232
239
|
rootStyle: import("vue").StyleValue;
|
|
233
240
|
rootClass: string;
|
|
234
241
|
modelValue: any[];
|
|
@@ -264,6 +271,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
264
271
|
resettable: boolean;
|
|
265
272
|
validateEvent: boolean;
|
|
266
273
|
showConfirm: boolean;
|
|
274
|
+
showCancel: boolean;
|
|
267
275
|
rootStyle: import("vue").StyleValue;
|
|
268
276
|
rootClass: string;
|
|
269
277
|
modelValue: any[];
|
|
@@ -299,6 +307,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
299
307
|
resettable: boolean;
|
|
300
308
|
validateEvent: boolean;
|
|
301
309
|
showConfirm: boolean;
|
|
310
|
+
showCancel: boolean;
|
|
302
311
|
rootStyle: import("vue").StyleValue;
|
|
303
312
|
rootClass: string;
|
|
304
313
|
modelValue: any[];
|
|
@@ -334,6 +343,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
334
343
|
resettable: boolean;
|
|
335
344
|
validateEvent: boolean;
|
|
336
345
|
showConfirm: boolean;
|
|
346
|
+
showCancel: boolean;
|
|
337
347
|
rootStyle: import("vue").StyleValue;
|
|
338
348
|
rootClass: string;
|
|
339
349
|
modelValue: any[];
|
|
@@ -369,6 +379,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
369
379
|
resettable: boolean;
|
|
370
380
|
validateEvent: boolean;
|
|
371
381
|
showConfirm: boolean;
|
|
382
|
+
showCancel: boolean;
|
|
372
383
|
rootStyle: import("vue").StyleValue;
|
|
373
384
|
rootClass: string;
|
|
374
385
|
modelValue: any[];
|
|
@@ -404,6 +415,43 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
404
415
|
resettable: boolean;
|
|
405
416
|
validateEvent: boolean;
|
|
406
417
|
showConfirm: boolean;
|
|
418
|
+
showCancel: boolean;
|
|
419
|
+
rootStyle: import("vue").StyleValue;
|
|
420
|
+
rootClass: string;
|
|
421
|
+
modelValue: any[];
|
|
422
|
+
disabled: boolean;
|
|
423
|
+
readonly: boolean;
|
|
424
|
+
size: string;
|
|
425
|
+
type: import("../checkbox/common").IconType;
|
|
426
|
+
checkedColor: string;
|
|
427
|
+
direction: "horizontal" | "vertical";
|
|
428
|
+
options: CheckboxGroupOption[];
|
|
429
|
+
optionKeys: import("../..").OptionKeys;
|
|
430
|
+
loading: boolean;
|
|
431
|
+
placeholder: string;
|
|
432
|
+
clearable: boolean;
|
|
433
|
+
internalPrepend: number;
|
|
434
|
+
multiline: boolean;
|
|
435
|
+
arrow: string;
|
|
436
|
+
arrowFamily: string;
|
|
437
|
+
internalAppend: number;
|
|
438
|
+
internalArrow: number;
|
|
439
|
+
inputProps: import("../input").InputProps;
|
|
440
|
+
}) => boolean) | undefined;
|
|
441
|
+
showCancel?: boolean | ((props: {
|
|
442
|
+
valueOnClear: () => any;
|
|
443
|
+
searchable: boolean;
|
|
444
|
+
filterPlaceholder: string;
|
|
445
|
+
showCheckAll: boolean;
|
|
446
|
+
iconPosition: "left" | "right";
|
|
447
|
+
visible: boolean;
|
|
448
|
+
title: string;
|
|
449
|
+
popoutClass: string;
|
|
450
|
+
popoutStyle: import("vue").StyleValue;
|
|
451
|
+
resettable: boolean;
|
|
452
|
+
validateEvent: boolean;
|
|
453
|
+
showConfirm: boolean;
|
|
454
|
+
showCancel: boolean;
|
|
407
455
|
rootStyle: import("vue").StyleValue;
|
|
408
456
|
rootClass: string;
|
|
409
457
|
modelValue: any[];
|
|
@@ -439,6 +487,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
439
487
|
resettable: boolean;
|
|
440
488
|
validateEvent: boolean;
|
|
441
489
|
showConfirm: boolean;
|
|
490
|
+
showCancel: boolean;
|
|
442
491
|
rootStyle: import("vue").StyleValue;
|
|
443
492
|
rootClass: string;
|
|
444
493
|
modelValue: any[];
|
|
@@ -474,6 +523,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
474
523
|
resettable: boolean;
|
|
475
524
|
validateEvent: boolean;
|
|
476
525
|
showConfirm: boolean;
|
|
526
|
+
showCancel: boolean;
|
|
477
527
|
rootStyle: import("vue").StyleValue;
|
|
478
528
|
rootClass: string;
|
|
479
529
|
modelValue: any[];
|
|
@@ -509,6 +559,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
509
559
|
resettable: boolean;
|
|
510
560
|
validateEvent: boolean;
|
|
511
561
|
showConfirm: boolean;
|
|
562
|
+
showCancel: boolean;
|
|
512
563
|
rootStyle: import("vue").StyleValue;
|
|
513
564
|
rootClass: string;
|
|
514
565
|
modelValue: any[];
|
|
@@ -544,6 +595,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
544
595
|
resettable: boolean;
|
|
545
596
|
validateEvent: boolean;
|
|
546
597
|
showConfirm: boolean;
|
|
598
|
+
showCancel: boolean;
|
|
547
599
|
rootStyle: import("vue").StyleValue;
|
|
548
600
|
rootClass: string;
|
|
549
601
|
modelValue: any[];
|
|
@@ -579,6 +631,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
579
631
|
resettable: boolean;
|
|
580
632
|
validateEvent: boolean;
|
|
581
633
|
showConfirm: boolean;
|
|
634
|
+
showCancel: boolean;
|
|
582
635
|
rootStyle: import("vue").StyleValue;
|
|
583
636
|
rootClass: string;
|
|
584
637
|
modelValue: any[];
|
|
@@ -614,6 +667,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
614
667
|
resettable: boolean;
|
|
615
668
|
validateEvent: boolean;
|
|
616
669
|
showConfirm: boolean;
|
|
670
|
+
showCancel: boolean;
|
|
617
671
|
rootStyle: import("vue").StyleValue;
|
|
618
672
|
rootClass: string;
|
|
619
673
|
modelValue: any[];
|
|
@@ -649,6 +703,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
649
703
|
resettable: boolean;
|
|
650
704
|
validateEvent: boolean;
|
|
651
705
|
showConfirm: boolean;
|
|
706
|
+
showCancel: boolean;
|
|
652
707
|
rootStyle: import("vue").StyleValue;
|
|
653
708
|
rootClass: string;
|
|
654
709
|
modelValue: any[];
|
|
@@ -684,6 +739,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
684
739
|
resettable: boolean;
|
|
685
740
|
validateEvent: boolean;
|
|
686
741
|
showConfirm: boolean;
|
|
742
|
+
showCancel: boolean;
|
|
687
743
|
rootStyle: import("vue").StyleValue;
|
|
688
744
|
rootClass: string;
|
|
689
745
|
modelValue: any[];
|
|
@@ -719,6 +775,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
719
775
|
resettable: boolean;
|
|
720
776
|
validateEvent: boolean;
|
|
721
777
|
showConfirm: boolean;
|
|
778
|
+
showCancel: boolean;
|
|
722
779
|
rootStyle: import("vue").StyleValue;
|
|
723
780
|
rootClass: string;
|
|
724
781
|
modelValue: any[];
|
|
@@ -754,6 +811,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
754
811
|
resettable: boolean;
|
|
755
812
|
validateEvent: boolean;
|
|
756
813
|
showConfirm: boolean;
|
|
814
|
+
showCancel: boolean;
|
|
757
815
|
rootStyle: import("vue").StyleValue;
|
|
758
816
|
rootClass: string;
|
|
759
817
|
modelValue: any[];
|
|
@@ -789,6 +847,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
789
847
|
resettable: boolean;
|
|
790
848
|
validateEvent: boolean;
|
|
791
849
|
showConfirm: boolean;
|
|
850
|
+
showCancel: boolean;
|
|
792
851
|
rootStyle: import("vue").StyleValue;
|
|
793
852
|
rootClass: string;
|
|
794
853
|
modelValue: any[];
|
|
@@ -824,6 +883,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
824
883
|
resettable: boolean;
|
|
825
884
|
validateEvent: boolean;
|
|
826
885
|
showConfirm: boolean;
|
|
886
|
+
showCancel: boolean;
|
|
827
887
|
rootStyle: import("vue").StyleValue;
|
|
828
888
|
rootClass: string;
|
|
829
889
|
modelValue: any[];
|
|
@@ -859,6 +919,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
859
919
|
resettable: boolean;
|
|
860
920
|
validateEvent: boolean;
|
|
861
921
|
showConfirm: boolean;
|
|
922
|
+
showCancel: boolean;
|
|
862
923
|
rootStyle: import("vue").StyleValue;
|
|
863
924
|
rootClass: string;
|
|
864
925
|
modelValue: any[];
|
|
@@ -894,6 +955,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
894
955
|
resettable: boolean;
|
|
895
956
|
validateEvent: boolean;
|
|
896
957
|
showConfirm: boolean;
|
|
958
|
+
showCancel: boolean;
|
|
897
959
|
rootStyle: import("vue").StyleValue;
|
|
898
960
|
rootClass: string;
|
|
899
961
|
modelValue: any[];
|
|
@@ -929,6 +991,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
929
991
|
resettable: boolean;
|
|
930
992
|
validateEvent: boolean;
|
|
931
993
|
showConfirm: boolean;
|
|
994
|
+
showCancel: boolean;
|
|
932
995
|
rootStyle: import("vue").StyleValue;
|
|
933
996
|
rootClass: string;
|
|
934
997
|
modelValue: any[];
|
|
@@ -964,6 +1027,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
964
1027
|
resettable: boolean;
|
|
965
1028
|
validateEvent: boolean;
|
|
966
1029
|
showConfirm: boolean;
|
|
1030
|
+
showCancel: boolean;
|
|
967
1031
|
rootStyle: import("vue").StyleValue;
|
|
968
1032
|
rootClass: string;
|
|
969
1033
|
modelValue: any[];
|
|
@@ -999,6 +1063,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
999
1063
|
resettable: boolean;
|
|
1000
1064
|
validateEvent: boolean;
|
|
1001
1065
|
showConfirm: boolean;
|
|
1066
|
+
showCancel: boolean;
|
|
1002
1067
|
rootStyle: import("vue").StyleValue;
|
|
1003
1068
|
rootClass: string;
|
|
1004
1069
|
modelValue: any[];
|
|
@@ -1034,6 +1099,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
1034
1099
|
resettable: boolean;
|
|
1035
1100
|
validateEvent: boolean;
|
|
1036
1101
|
showConfirm: boolean;
|
|
1102
|
+
showCancel: boolean;
|
|
1037
1103
|
rootStyle: import("vue").StyleValue;
|
|
1038
1104
|
rootClass: string;
|
|
1039
1105
|
modelValue: any[];
|
|
@@ -1069,6 +1135,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
1069
1135
|
resettable: boolean;
|
|
1070
1136
|
validateEvent: boolean;
|
|
1071
1137
|
showConfirm: boolean;
|
|
1138
|
+
showCancel: boolean;
|
|
1072
1139
|
rootStyle: import("vue").StyleValue;
|
|
1073
1140
|
rootClass: string;
|
|
1074
1141
|
modelValue: any[];
|
|
@@ -1104,6 +1171,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
1104
1171
|
resettable: boolean;
|
|
1105
1172
|
validateEvent: boolean;
|
|
1106
1173
|
showConfirm: boolean;
|
|
1174
|
+
showCancel: boolean;
|
|
1107
1175
|
rootStyle: import("vue").StyleValue;
|
|
1108
1176
|
rootClass: string;
|
|
1109
1177
|
modelValue: any[];
|
|
@@ -1139,6 +1207,7 @@ export declare const defaultCheckboxInputProps: () => {
|
|
|
1139
1207
|
resettable: boolean;
|
|
1140
1208
|
validateEvent: boolean;
|
|
1141
1209
|
showConfirm: boolean;
|
|
1210
|
+
showCancel: boolean;
|
|
1142
1211
|
rootStyle: import("vue").StyleValue;
|
|
1143
1212
|
rootClass: string;
|
|
1144
1213
|
modelValue: any[];
|
|
@@ -12,6 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<CheckboxPopoutProps
|
|
|
12
12
|
modelValue: any[];
|
|
13
13
|
size: string;
|
|
14
14
|
visible: boolean;
|
|
15
|
+
showCancel: boolean;
|
|
15
16
|
type: import("../checkbox/common.js").IconType;
|
|
16
17
|
disabled: boolean;
|
|
17
18
|
direction: "horizontal" | "vertical";
|
|
@@ -171,6 +171,7 @@ export default _defineComponent({
|
|
|
171
171
|
resettable: { type: Boolean, required: false },
|
|
172
172
|
validateEvent: { type: Boolean, required: false },
|
|
173
173
|
showConfirm: { type: Boolean, required: false },
|
|
174
|
+
showCancel: { type: Boolean, required: false },
|
|
174
175
|
rootStyle: { type: null, required: false },
|
|
175
176
|
rootClass: { type: String, required: false },
|
|
176
177
|
modelValue: { type: Array, required: false },
|
|
@@ -94,6 +94,7 @@ export default _defineComponent({
|
|
|
94
94
|
resettable: { type: Boolean, required: false },
|
|
95
95
|
validateEvent: { type: Boolean, required: false },
|
|
96
96
|
showConfirm: { type: Boolean, required: false },
|
|
97
|
+
showCancel: { type: Boolean, required: false },
|
|
97
98
|
rootStyle: { type: null, required: false },
|
|
98
99
|
rootClass: { type: String, required: false },
|
|
99
100
|
modelValue: { type: String, required: false },
|
|
@@ -69,6 +69,7 @@ export default _defineComponent({
|
|
|
69
69
|
resettable: { type: Boolean, required: false },
|
|
70
70
|
validateEvent: { type: Boolean, required: false },
|
|
71
71
|
showConfirm: { type: Boolean, required: false },
|
|
72
|
+
showCancel: { type: Boolean, required: false },
|
|
72
73
|
rootStyle: { type: null, required: false },
|
|
73
74
|
rootClass: { type: String, required: false },
|
|
74
75
|
modelValue: { type: String, required: false },
|
|
@@ -50,6 +50,7 @@ import { type ImageProps } from '../image';
|
|
|
50
50
|
import { type IndexesProps } from '../indexes';
|
|
51
51
|
import { type InputProps } from '../input';
|
|
52
52
|
import { type KeyboardProps } from '../keyboard';
|
|
53
|
+
import { type KeyboardPopoutProps } from '../keyboard-popout';
|
|
53
54
|
import { type ListItemProps } from '../list';
|
|
54
55
|
import { type LoadingProps } from '../loading';
|
|
55
56
|
import { type MarqueeProps } from '../marquee';
|
|
@@ -93,6 +94,8 @@ import { type SpaceProps } from '../space';
|
|
|
93
94
|
import { type StatusBarProps } from '../status-bar';
|
|
94
95
|
import { type StepperProps } from '../stepper';
|
|
95
96
|
import { type StepsProps } from '../steps';
|
|
97
|
+
import { type SwipeActionGroupProps } from '../swipe-action-group';
|
|
98
|
+
import { type SwiperProps } from '../swiper';
|
|
96
99
|
import { type SwiperDotProps } from '../swiper-dot';
|
|
97
100
|
import { type SwitchProps } from '../switch';
|
|
98
101
|
import { type TabbarProps } from '../tabbar';
|
|
@@ -171,6 +174,7 @@ export interface ConfigOptions {
|
|
|
171
174
|
indexes?: InferDefaults<LooseRequired<IndexesProps>>;
|
|
172
175
|
input?: InferDefaults<LooseRequired<InputProps>>;
|
|
173
176
|
keyboard?: InferDefaults<LooseRequired<KeyboardProps>>;
|
|
177
|
+
keyboardPopout?: InferDefaults<LooseRequired<KeyboardPopoutProps>>;
|
|
174
178
|
listItem?: InferDefaults<LooseRequired<ListItemProps>>;
|
|
175
179
|
loading?: InferDefaults<LooseRequired<LoadingProps>>;
|
|
176
180
|
marquee?: InferDefaults<LooseRequired<MarqueeProps>>;
|
|
@@ -214,6 +218,8 @@ export interface ConfigOptions {
|
|
|
214
218
|
statusBar?: InferDefaults<LooseRequired<StatusBarProps>>;
|
|
215
219
|
stepper?: InferDefaults<LooseRequired<StepperProps>>;
|
|
216
220
|
steps?: InferDefaults<LooseRequired<StepsProps>>;
|
|
221
|
+
swipeActionGroup?: InferDefaults<LooseRequired<SwipeActionGroupProps>>;
|
|
222
|
+
swiper?: InferDefaults<LooseRequired<SwiperProps>>;
|
|
217
223
|
swiperDot?: InferDefaults<LooseRequired<SwiperDotProps>>;
|
|
218
224
|
switch?: InferDefaults<LooseRequired<SwitchProps>>;
|
|
219
225
|
tabbar?: InferDefaults<LooseRequired<TabbarProps>>;
|
|
@@ -102,6 +102,7 @@ export default _defineComponent({
|
|
|
102
102
|
resettable: { type: Boolean, required: false },
|
|
103
103
|
validateEvent: { type: Boolean, required: false },
|
|
104
104
|
showConfirm: { type: Boolean, required: false },
|
|
105
|
+
showCancel: { type: Boolean, required: false },
|
|
105
106
|
rootStyle: { type: null, required: false },
|
|
106
107
|
rootClass: { type: String, required: false },
|
|
107
108
|
type: { type: String, required: false },
|
|
@@ -85,6 +85,7 @@ export default _defineComponent({
|
|
|
85
85
|
resettable: { type: Boolean, required: false },
|
|
86
86
|
validateEvent: { type: Boolean, required: false },
|
|
87
87
|
showConfirm: { type: Boolean, required: false },
|
|
88
|
+
showCancel: { type: Boolean, required: false },
|
|
88
89
|
rootStyle: { type: null, required: false },
|
|
89
90
|
rootClass: { type: String, required: false },
|
|
90
91
|
type: { type: String, required: false },
|
|
@@ -111,6 +111,7 @@ export default _defineComponent({
|
|
|
111
111
|
resettable: { type: Boolean, required: false },
|
|
112
112
|
validateEvent: { type: Boolean, required: false },
|
|
113
113
|
showConfirm: { type: Boolean, required: false },
|
|
114
|
+
showCancel: { type: Boolean, required: false },
|
|
114
115
|
modelValue: { type: Array, required: false },
|
|
115
116
|
tabs: { type: Array, required: false },
|
|
116
117
|
rootStyle: { type: null, required: false },
|
|
@@ -93,6 +93,7 @@ export default _defineComponent({
|
|
|
93
93
|
resettable: { type: Boolean, required: false },
|
|
94
94
|
validateEvent: { type: Boolean, required: false },
|
|
95
95
|
showConfirm: { type: Boolean, required: false },
|
|
96
|
+
showCancel: { type: Boolean, required: false },
|
|
96
97
|
modelValue: { type: Array, required: false },
|
|
97
98
|
tabs: { type: Array, required: false },
|
|
98
99
|
rootStyle: { type: null, required: false },
|
|
@@ -50,12 +50,13 @@ import Keyboard from 'sard-uniapp/components/keyboard/keyboard.vue'
|
|
|
50
50
|
|
|
51
51
|
### KeyboardProps
|
|
52
52
|
|
|
53
|
-
| 属性 | 描述 | 类型
|
|
54
|
-
| --------------------------------- | ------------------- |
|
|
55
|
-
| root-class | 组件根元素类名 | string | -
|
|
56
|
-
| root-style | 组件根元素样式 | StyleValue | -
|
|
57
|
-
| type | 键盘类型 | 'number' \| 'digit' \| 'idcard' \| 'random' \| 'plate' | 'number' |
|
|
58
|
-
| mode (v-model) <sup>1.24.1+</sup> | 'plate'键盘时的模式 | 'chinese' \| 'english' | 'chinese' |
|
|
53
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
54
|
+
| --------------------------------- | ------------------- | -------------------------------------------------------- | ----------- |
|
|
55
|
+
| root-class | 组件根元素类名 | `string` | - |
|
|
56
|
+
| root-style | 组件根元素样式 | `StyleValue` | - |
|
|
57
|
+
| type | 键盘类型 | `'number' \| 'digit' \| 'idcard' \| 'random' \| 'plate'` | `'number'` |
|
|
58
|
+
| mode (v-model) <sup>1.24.1+</sup> | 'plate'键盘时的模式 | `'chinese' \| 'english'` | `'chinese'` |
|
|
59
|
+
| disabled-key <sup>1.30+</sup> | 禁用按键的回调函数 | `(key: string) => boolean` | - |
|
|
59
60
|
|
|
60
61
|
### KeyboardEmits
|
|
61
62
|
|
|
@@ -68,10 +69,10 @@ import Keyboard from 'sard-uniapp/components/keyboard/keyboard.vue'
|
|
|
68
69
|
|
|
69
70
|
### KeyBoardExpose
|
|
70
71
|
|
|
71
|
-
| 属性
|
|
72
|
-
|
|
|
73
|
-
| shuffle
|
|
74
|
-
| toggle<sup>1.23.6+</sup> | 切换车牌号的中英文按键,可选传入mode | `(mode?: 'chinese'\| 'english') => void` |
|
|
72
|
+
| 属性 | 描述 | 类型 |
|
|
73
|
+
| ------------------------- | ------------------------------------ | ---------------------------------------- |
|
|
74
|
+
| shuffle | 重新打乱随机键盘按键 | `() => void` |
|
|
75
|
+
| toggle <sup>1.23.6+</sup> | 切换车牌号的中英文按键,可选传入mode | `(mode?: 'chinese'\| 'english') => void` |
|
|
75
76
|
|
|
76
77
|
## 主题定制
|
|
77
78
|
|
|
@@ -5,6 +5,7 @@ export interface KeyboardProps {
|
|
|
5
5
|
rootClass?: string;
|
|
6
6
|
type?: 'number' | 'digit' | 'idcard' | 'random' | 'plate';
|
|
7
7
|
mode?: KeyboardPlateMode;
|
|
8
|
+
disabledKey?: (key: string) => boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const defaultKeyboardProps: () => DefaultProps<KeyboardProps>;
|
|
10
11
|
export interface KeyboardSlots {
|
|
@@ -21,6 +22,9 @@ export interface KeyBoardExpose {
|
|
|
21
22
|
shuffle: () => void;
|
|
22
23
|
toggle: (mode?: KeyboardPlateMode) => void;
|
|
23
24
|
}
|
|
25
|
+
export declare const plateProvinceKeys: string[];
|
|
26
|
+
export declare const plateSuffixKeys: string[];
|
|
27
|
+
export declare const plateEnglishLetterKeys: string[];
|
|
24
28
|
export declare const numberKeys: string[];
|
|
25
29
|
export declare const digitKeys: string[];
|
|
26
30
|
export declare const idcardKeys: string[];
|