@opentinyvue/vue-design-aurora 3.26.0 → 3.28.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/index.d.ts CHANGED
@@ -4,9 +4,45 @@ declare const _default: {
4
4
  components: {
5
5
  Alert: {
6
6
  icons: {
7
- warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
7
+ warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
8
+ shape: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ firstColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ secondColor: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ underlay: {
21
+ type: ObjectConstructor;
22
+ };
23
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
8
24
  [key: string]: any;
9
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
25
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
26
+ shape: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ firstColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ secondColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ underlay: {
39
+ type: ObjectConstructor;
40
+ };
41
+ }>>, {
42
+ shape: string;
43
+ firstColor: string;
44
+ secondColor: string;
45
+ }, {}>>;
10
46
  };
11
47
  };
12
48
  BreadcrumbItem: {
@@ -14,9 +50,45 @@ declare const _default: {
14
50
  };
15
51
  CollapseItem: {
16
52
  icons: {
17
- arrowIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
53
+ arrowIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
54
+ shape: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ firstColor: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ secondColor: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ underlay: {
67
+ type: ObjectConstructor;
68
+ };
69
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
18
70
  [key: string]: any;
19
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
71
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
72
+ shape: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ firstColor: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ secondColor: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ underlay: {
85
+ type: ObjectConstructor;
86
+ };
87
+ }>>, {
88
+ shape: string;
89
+ firstColor: string;
90
+ secondColor: string;
91
+ }, {}>>;
20
92
  };
21
93
  };
22
94
  Drawer: {
@@ -26,9 +98,45 @@ declare const _default: {
26
98
  };
27
99
  Dropdown: {
28
100
  icons: {
29
- dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
101
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
102
+ shape: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ firstColor: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ };
110
+ secondColor: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ underlay: {
115
+ type: ObjectConstructor;
116
+ };
117
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
30
118
  [key: string]: any;
31
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
119
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
120
+ shape: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ firstColor: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ secondColor: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ underlay: {
133
+ type: ObjectConstructor;
134
+ };
135
+ }>>, {
136
+ shape: string;
137
+ firstColor: string;
138
+ secondColor: string;
139
+ }, {}>>;
32
140
  };
33
141
  props: {
34
142
  trigger: string;
@@ -52,9 +160,45 @@ declare const _default: {
52
160
  };
53
161
  DropdownItem: {
54
162
  icons: {
55
- leftWardArrow: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
163
+ leftWardArrow: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
164
+ shape: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ };
168
+ firstColor: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ };
172
+ secondColor: {
173
+ type: StringConstructor;
174
+ default: string;
175
+ };
176
+ underlay: {
177
+ type: ObjectConstructor;
178
+ };
179
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
56
180
  [key: string]: any;
57
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
181
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
182
+ shape: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ firstColor: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ secondColor: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
194
+ underlay: {
195
+ type: ObjectConstructor;
196
+ };
197
+ }>>, {
198
+ shape: string;
199
+ firstColor: string;
200
+ secondColor: string;
201
+ }, {}>>;
58
202
  };
59
203
  renderless: (props: any, hooks: any, { emit, dispatch, vm }: {
60
204
  emit: any;
@@ -66,9 +210,45 @@ declare const _default: {
66
210
  };
67
211
  FilterBox: {
68
212
  icons: {
69
- expandButton: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
213
+ expandButton: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
214
+ shape: {
215
+ type: StringConstructor;
216
+ default: string;
217
+ };
218
+ firstColor: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
222
+ secondColor: {
223
+ type: StringConstructor;
224
+ default: string;
225
+ };
226
+ underlay: {
227
+ type: ObjectConstructor;
228
+ };
229
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
70
230
  [key: string]: any;
71
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
231
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
232
+ shape: {
233
+ type: StringConstructor;
234
+ default: string;
235
+ };
236
+ firstColor: {
237
+ type: StringConstructor;
238
+ default: string;
239
+ };
240
+ secondColor: {
241
+ type: StringConstructor;
242
+ default: string;
243
+ };
244
+ underlay: {
245
+ type: ObjectConstructor;
246
+ };
247
+ }>>, {
248
+ shape: string;
249
+ firstColor: string;
250
+ secondColor: string;
251
+ }, {}>>;
72
252
  };
73
253
  };
74
254
  Form: {
@@ -96,12 +276,84 @@ declare const _default: {
96
276
  };
97
277
  icons: {
98
278
  sortDefault: null;
99
- sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
279
+ sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
280
+ shape: {
281
+ type: StringConstructor;
282
+ default: string;
283
+ };
284
+ firstColor: {
285
+ type: StringConstructor;
286
+ default: string;
287
+ };
288
+ secondColor: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ };
292
+ underlay: {
293
+ type: ObjectConstructor;
294
+ };
295
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
100
296
  [key: string]: any;
101
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
102
- sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
297
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
298
+ shape: {
299
+ type: StringConstructor;
300
+ default: string;
301
+ };
302
+ firstColor: {
303
+ type: StringConstructor;
304
+ default: string;
305
+ };
306
+ secondColor: {
307
+ type: StringConstructor;
308
+ default: string;
309
+ };
310
+ underlay: {
311
+ type: ObjectConstructor;
312
+ };
313
+ }>>, {
314
+ shape: string;
315
+ firstColor: string;
316
+ secondColor: string;
317
+ }, {}>>;
318
+ sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
319
+ shape: {
320
+ type: StringConstructor;
321
+ default: string;
322
+ };
323
+ firstColor: {
324
+ type: StringConstructor;
325
+ default: string;
326
+ };
327
+ secondColor: {
328
+ type: StringConstructor;
329
+ default: string;
330
+ };
331
+ underlay: {
332
+ type: ObjectConstructor;
333
+ };
334
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
103
335
  [key: string]: any;
104
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
336
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
337
+ shape: {
338
+ type: StringConstructor;
339
+ default: string;
340
+ };
341
+ firstColor: {
342
+ type: StringConstructor;
343
+ default: string;
344
+ };
345
+ secondColor: {
346
+ type: StringConstructor;
347
+ default: string;
348
+ };
349
+ underlay: {
350
+ type: ObjectConstructor;
351
+ };
352
+ }>>, {
353
+ shape: string;
354
+ firstColor: string;
355
+ secondColor: string;
356
+ }, {}>>;
105
357
  };
106
358
  stripe: boolean;
107
359
  };
@@ -124,9 +376,45 @@ declare const _default: {
124
376
  };
125
377
  Popconfirm: {
126
378
  icons: {
127
- warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
379
+ warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
380
+ shape: {
381
+ type: StringConstructor;
382
+ default: string;
383
+ };
384
+ firstColor: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ secondColor: {
389
+ type: StringConstructor;
390
+ default: string;
391
+ };
392
+ underlay: {
393
+ type: ObjectConstructor;
394
+ };
395
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
128
396
  [key: string]: any;
129
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
397
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
398
+ shape: {
399
+ type: StringConstructor;
400
+ default: string;
401
+ };
402
+ firstColor: {
403
+ type: StringConstructor;
404
+ default: string;
405
+ };
406
+ secondColor: {
407
+ type: StringConstructor;
408
+ default: string;
409
+ };
410
+ underlay: {
411
+ type: ObjectConstructor;
412
+ };
413
+ }>>, {
414
+ shape: string;
415
+ firstColor: string;
416
+ secondColor: string;
417
+ }, {}>>;
130
418
  };
131
419
  };
132
420
  Popover: {
@@ -148,9 +436,45 @@ declare const _default: {
148
436
  limit: number;
149
437
  };
150
438
  icons: {
151
- dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
439
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
440
+ shape: {
441
+ type: StringConstructor;
442
+ default: string;
443
+ };
444
+ firstColor: {
445
+ type: StringConstructor;
446
+ default: string;
447
+ };
448
+ secondColor: {
449
+ type: StringConstructor;
450
+ default: string;
451
+ };
452
+ underlay: {
453
+ type: ObjectConstructor;
454
+ };
455
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
152
456
  [key: string]: any;
153
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
457
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
458
+ shape: {
459
+ type: StringConstructor;
460
+ default: string;
461
+ };
462
+ firstColor: {
463
+ type: StringConstructor;
464
+ default: string;
465
+ };
466
+ secondColor: {
467
+ type: StringConstructor;
468
+ default: string;
469
+ };
470
+ underlay: {
471
+ type: ObjectConstructor;
472
+ };
473
+ }>>, {
474
+ shape: string;
475
+ firstColor: string;
476
+ secondColor: string;
477
+ }, {}>>;
154
478
  };
155
479
  state: {
156
480
  sizeMap: {
@@ -255,6 +579,78 @@ declare const _default: {
255
579
  computedTreeMaxHeight(): void;
256
580
  };
257
581
  };
582
+ BaseSelect: {
583
+ baseOpts: {
584
+ optionHeight: number;
585
+ limit: number;
586
+ };
587
+ icons: {
588
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
589
+ shape: {
590
+ type: StringConstructor;
591
+ default: string;
592
+ };
593
+ firstColor: {
594
+ type: StringConstructor;
595
+ default: string;
596
+ };
597
+ secondColor: {
598
+ type: StringConstructor;
599
+ default: string;
600
+ };
601
+ underlay: {
602
+ type: ObjectConstructor;
603
+ };
604
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
605
+ [key: string]: any;
606
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
607
+ shape: {
608
+ type: StringConstructor;
609
+ default: string;
610
+ };
611
+ firstColor: {
612
+ type: StringConstructor;
613
+ default: string;
614
+ };
615
+ secondColor: {
616
+ type: StringConstructor;
617
+ default: string;
618
+ };
619
+ underlay: {
620
+ type: ObjectConstructor;
621
+ };
622
+ }>>, {
623
+ shape: string;
624
+ firstColor: string;
625
+ secondColor: string;
626
+ }, {}>>;
627
+ };
628
+ state: {
629
+ sizeMap: {
630
+ default: number;
631
+ mini: number;
632
+ small: number;
633
+ medium: number;
634
+ };
635
+ spacingHeight: number;
636
+ initialInputHeight: number;
637
+ autoHideDownIcon: boolean;
638
+ delayBlur: boolean;
639
+ };
640
+ props: {
641
+ tagType: string;
642
+ stopPropagation: boolean;
643
+ };
644
+ renderless: (props: any, hooks: any, { emit }: {
645
+ emit: any;
646
+ }, api: any) => {
647
+ computedCollapseTagSize: () => string;
648
+ computedShowDropdownIcon: () => boolean;
649
+ toggleCheckAll: (filtered: any) => void;
650
+ computedShowTagText: () => any;
651
+ isTagClosable: (item: any) => boolean;
652
+ };
653
+ };
258
654
  };
259
655
  };
260
656
  export default _default;
package/index.js CHANGED
@@ -396,6 +396,112 @@ var Popeditor = {
396
396
  };
397
397
  }
398
398
  };
399
+ var BaseSelect = {
400
+ // 虚拟滚动的默认options不一致
401
+ baseOpts: {
402
+ optionHeight: 34,
403
+ limit: 20
404
+ },
405
+ icons: {
406
+ dropdownIcon: iconChevronDown()
407
+ },
408
+ state: {
409
+ sizeMap: {
410
+ default: 30,
411
+ mini: 24,
412
+ small: 36,
413
+ medium: 42
414
+ },
415
+ spacingHeight: 2,
416
+ initialInputHeight: 30,
417
+ // 显示清除等图标时,不隐藏下拉箭头时
418
+ autoHideDownIcon: false,
419
+ delayBlur: true
420
+ },
421
+ props: {
422
+ tagType: "info",
423
+ stopPropagation: true
424
+ },
425
+ renderless: function renderless9(props, hooks, _ref0, api) {
426
+ _ref0.emit;
427
+ var state = api.state;
428
+ return {
429
+ // 兼容不同主题输入框尺寸对应标签尺寸不一致
430
+ computedCollapseTagSize: function computedCollapseTagSize() {
431
+ var size = "small";
432
+ if (~["small", "mini"].indexOf(state.selectSize)) {
433
+ size = state.selectSize;
434
+ } else if (~["medium", "default"].indexOf(state.selectSize)) {
435
+ size = "small";
436
+ }
437
+ return size;
438
+ },
439
+ // 兼容显示清除图标时,是否同时显示下拉图标
440
+ computedShowDropdownIcon: function computedShowDropdownIcon() {
441
+ return !(props.remote && props.filterable && !props.remoteConfig.showIcon);
442
+ },
443
+ // aui 的勾选未处理disabled的选项,故此放这里。
444
+ toggleCheckAll: function toggleCheckAll(filtered) {
445
+ var getEnabledValues = function getEnabledValues2(options) {
446
+ var values = [];
447
+ for (var i = 0; i < options.length; i++) {
448
+ if (!options[i].state.disabled && !options[i].state.groupDisabled && options[i].state.visible) {
449
+ values.push(options[i].value);
450
+ }
451
+ }
452
+ return values;
453
+ };
454
+ var value;
455
+ var enabledValues = getEnabledValues(state.options);
456
+ if (filtered) {
457
+ if (state.filteredSelectCls === "check" || state.filteredSelectCls === "halfselect") {
458
+ value = Array.from(/* @__PURE__ */ new Set([].concat(state.modelValue, enabledValues)));
459
+ } else {
460
+ value = state.modelValue.filter(function(val) {
461
+ return !enabledValues.includes(val);
462
+ });
463
+ }
464
+ } else {
465
+ if (state.selectCls === "check") {
466
+ value = enabledValues;
467
+ } else if (state.selectCls === "halfselect") {
468
+ var unchecked = state.options.filter(function(item) {
469
+ return !item.state.disabled && item.state.selectCls === "check";
470
+ });
471
+ unchecked.length ? value = enabledValues : value = [];
472
+ } else if (state.selectCls === "checked-sur") {
473
+ value = [];
474
+ }
475
+ }
476
+ var requiredValue = [];
477
+ if (props.multiple) {
478
+ state.options.forEach(function(opt) {
479
+ if (opt.required) requiredValue.push(opt.value);
480
+ });
481
+ }
482
+ if (Array.isArray(value)) {
483
+ value = requiredValue.concat(value.filter(function(val) {
484
+ return !requiredValue.find(function(requireVal) {
485
+ return requireVal === val;
486
+ });
487
+ }));
488
+ }
489
+ api.setSoftFocus();
490
+ state.isSilentBlur = true;
491
+ api.updateModelValue(value);
492
+ api.directEmitChange(value);
493
+ },
494
+ // aurora 禁用和只展示的时候都是tagText,默认主题是 isDisplayOnly 才显示tagText
495
+ computedShowTagText: function computedShowTagText() {
496
+ return state.isDisabled || state.isDisplayOnly;
497
+ },
498
+ // aurora 禁用已选项无效果,必选不显示关闭图标
499
+ isTagClosable: function isTagClosable(item) {
500
+ return !item.required;
501
+ }
502
+ };
503
+ }
504
+ };
399
505
  var version = "3.undefined";
400
506
  var index = {
401
507
  name: "aurora",
@@ -429,7 +535,8 @@ var index = {
429
535
  Pager,
430
536
  Wizard,
431
537
  DialogBox,
432
- Popeditor
538
+ Popeditor,
539
+ BaseSelect
433
540
  }
434
541
  };
435
542
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-design-aurora",
3
- "version": "3.26.0",
4
- "main": "./index.js",
5
- "sideEffects": false,
6
3
  "type": "module",
4
+ "version": "3.28.0",
5
+ "license": "MIT",
6
+ "sideEffects": false,
7
+ "main": "./index.js",
7
8
  "dependencies": {
8
- "@opentinyvue/vue-icon": "~3.26.0"
9
+ "@opentinyvue/vue-icon": "~3.28.0"
9
10
  },
10
- "license": "MIT",
11
11
  "module": "./index.js",
12
12
  "types": "index.d.ts"
13
13
  }
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  };
8
44
  export default _default;
@@ -0,0 +1,73 @@
1
+ declare const _default: {
2
+ baseOpts: {
3
+ optionHeight: number;
4
+ limit: number;
5
+ };
6
+ icons: {
7
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
8
+ shape: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ firstColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ secondColor: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ underlay: {
21
+ type: ObjectConstructor;
22
+ };
23
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
24
+ [key: string]: any;
25
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
26
+ shape: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ firstColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ secondColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ underlay: {
39
+ type: ObjectConstructor;
40
+ };
41
+ }>>, {
42
+ shape: string;
43
+ firstColor: string;
44
+ secondColor: string;
45
+ }, {}>>;
46
+ };
47
+ state: {
48
+ sizeMap: {
49
+ default: number;
50
+ mini: number;
51
+ small: number;
52
+ medium: number;
53
+ };
54
+ spacingHeight: number;
55
+ initialInputHeight: number;
56
+ autoHideDownIcon: boolean;
57
+ delayBlur: boolean;
58
+ };
59
+ props: {
60
+ tagType: string;
61
+ stopPropagation: boolean;
62
+ };
63
+ renderless: (props: any, hooks: any, { emit }: {
64
+ emit: any;
65
+ }, api: any) => {
66
+ computedCollapseTagSize: () => string;
67
+ computedShowDropdownIcon: () => boolean;
68
+ toggleCheckAll: (filtered: any) => void;
69
+ computedShowTagText: () => any;
70
+ isTagClosable: (item: any) => boolean;
71
+ };
72
+ };
73
+ export default _default;
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- arrowIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ arrowIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  };
8
44
  export default _default;
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  props: {
8
44
  trigger: string;
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- leftWardArrow: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ leftWardArrow: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  renderless: (props: any, hooks: any, { emit, dispatch, vm }: {
8
44
  emit: any;
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- expandButton: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ expandButton: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  };
8
44
  export default _default;
@@ -8,12 +8,84 @@ declare const _default: {
8
8
  };
9
9
  icons: {
10
10
  sortDefault: null;
11
- sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
11
+ sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
12
+ shape: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ firstColor: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ secondColor: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ underlay: {
25
+ type: ObjectConstructor;
26
+ };
27
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
12
28
  [key: string]: any;
13
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
14
- sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
29
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
30
+ shape: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ firstColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ secondColor: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ underlay: {
43
+ type: ObjectConstructor;
44
+ };
45
+ }>>, {
46
+ shape: string;
47
+ firstColor: string;
48
+ secondColor: string;
49
+ }, {}>>;
50
+ sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
51
+ shape: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ firstColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ secondColor: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ underlay: {
64
+ type: ObjectConstructor;
65
+ };
66
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
15
67
  [key: string]: any;
16
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
68
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
69
+ shape: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ firstColor: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ secondColor: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ underlay: {
82
+ type: ObjectConstructor;
83
+ };
84
+ }>>, {
85
+ shape: string;
86
+ firstColor: string;
87
+ secondColor: string;
88
+ }, {}>>;
17
89
  };
18
90
  stripe: boolean;
19
91
  };
@@ -1,8 +1,44 @@
1
1
  declare const _default: {
2
2
  icons: {
3
- warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
3
+ warning: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
4
+ shape: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ firstColor: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ secondColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ underlay: {
17
+ type: ObjectConstructor;
18
+ };
19
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
4
20
  [key: string]: any;
5
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
21
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
22
+ shape: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ firstColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ secondColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ underlay: {
35
+ type: ObjectConstructor;
36
+ };
37
+ }>>, {
38
+ shape: string;
39
+ firstColor: string;
40
+ secondColor: string;
41
+ }, {}>>;
6
42
  };
7
43
  };
8
44
  export default _default;
@@ -4,9 +4,45 @@ declare const _default: {
4
4
  limit: number;
5
5
  };
6
6
  icons: {
7
- dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
7
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
8
+ shape: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ firstColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ secondColor: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ underlay: {
21
+ type: ObjectConstructor;
22
+ };
23
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
8
24
  [key: string]: any;
9
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
25
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
26
+ shape: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ firstColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ secondColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ underlay: {
39
+ type: ObjectConstructor;
40
+ };
41
+ }>>, {
42
+ shape: string;
43
+ firstColor: string;
44
+ secondColor: string;
45
+ }, {}>>;
10
46
  };
11
47
  state: {
12
48
  sizeMap: {
@@ -0,0 +1,73 @@
1
+ declare const _default: {
2
+ baseOpts: {
3
+ optionHeight: number;
4
+ limit: number;
5
+ };
6
+ icons: {
7
+ dropdownIcon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
8
+ shape: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ firstColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ secondColor: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ underlay: {
21
+ type: ObjectConstructor;
22
+ };
23
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
24
+ [key: string]: any;
25
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
26
+ shape: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ firstColor: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ secondColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ underlay: {
39
+ type: ObjectConstructor;
40
+ };
41
+ }>>, {
42
+ shape: string;
43
+ firstColor: string;
44
+ secondColor: string;
45
+ }, {}>>;
46
+ };
47
+ state: {
48
+ sizeMap: {
49
+ default: number;
50
+ mini: number;
51
+ small: number;
52
+ medium: number;
53
+ };
54
+ spacingHeight: number;
55
+ initialInputHeight: number;
56
+ autoHideDownIcon: boolean;
57
+ delayBlur: boolean;
58
+ };
59
+ props: {
60
+ tagType: string;
61
+ stopPropagation: boolean;
62
+ };
63
+ renderless: (props: any, hooks: any, { emit }: {
64
+ emit: any;
65
+ }, api: any) => {
66
+ computedCollapseTagSize: () => string;
67
+ computedShowDropdownIcon: () => boolean;
68
+ toggleCheckAll: (filtered: any) => void;
69
+ computedShowTagText: () => any;
70
+ isTagClosable: (item: any) => boolean;
71
+ };
72
+ };
73
+ export default _default;