@opentinyvue/vue-base-select 3.27.0 → 3.29.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/lib/index.js CHANGED
@@ -11,7 +11,6 @@ import { defineComponent, $props, $setup, $prefix } from "@opentinyvue/vue-commo
11
11
  import { t } from "@opentinyvue/vue-locale";
12
12
  import PcTemplate from "./pc.js";
13
13
  import MobileFirstTemplate from "./mobile-first.js";
14
- import { IconChevronDown } from "@opentinyvue/vue-icon";
15
14
  var template = function template2(mode) {
16
15
  var _process$env;
17
16
  var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
@@ -265,11 +264,7 @@ var BaseSelect = defineComponent({
265
264
  },
266
265
  dropdownIcon: {
267
266
  type: [Object, String],
268
- default: function _default10() {
269
- var defaultDropdownIcon = IconChevronDown();
270
- defaultDropdownIcon.isDefault = true;
271
- return defaultDropdownIcon;
272
- }
267
+ default: ""
273
268
  },
274
269
  disabledTooltipContent: String,
275
270
  hoverExpand: {
@@ -304,7 +299,7 @@ var BaseSelect = defineComponent({
304
299
  },
305
300
  popperOptions: {
306
301
  type: Object,
307
- default: function _default11() {
302
+ default: function _default10() {
308
303
  return {
309
304
  gpuAcceleration: false,
310
305
  boundariesPadding: 0
@@ -321,14 +316,33 @@ var BaseSelect = defineComponent({
321
316
  },
322
317
  topCreateText: {
323
318
  type: String,
324
- default: function _default12() {
319
+ default: function _default11() {
325
320
  return t("ui.select.add");
326
321
  }
327
322
  },
323
+ initLabel: {
324
+ type: String,
325
+ default: ""
326
+ },
328
327
  blank: {
329
328
  type: Boolean,
330
329
  default: false
331
330
  },
331
+ tooltipConfig: {
332
+ type: Object,
333
+ default: function _default12() {
334
+ return {};
335
+ }
336
+ },
337
+ showEmptyValue: Boolean,
338
+ dropdownHeight: {
339
+ type: String,
340
+ default: "initial"
341
+ },
342
+ stopPropagation: {
343
+ type: Boolean,
344
+ default: void 0
345
+ },
332
346
  // 以下为 tiny 新增
333
347
  searchable: {
334
348
  type: Boolean,
@@ -376,6 +390,15 @@ var BaseSelect = defineComponent({
376
390
  showAllTextTag: {
377
391
  type: Boolean,
378
392
  default: false
393
+ },
394
+ // 配置多选时,Tag的最大宽度
395
+ maxTagWidth: {
396
+ type: [String, Number],
397
+ default: null
398
+ },
399
+ autoSelect: {
400
+ type: Boolean,
401
+ default: false
379
402
  }
380
403
  }),
381
404
  setup: function setup(props, context) {