bkui-vue 0.0.1-beta.153 → 0.0.1-beta.154

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/dist/index.esm.js CHANGED
@@ -13977,6 +13977,7 @@ var BkOption = defineComponent({
13977
13977
  });
13978
13978
  const multiple = computed(() => select2 == null ? void 0 : select2.multiple);
13979
13979
  const isHover = computed(() => (select2 == null ? void 0 : select2.activeOptionValue) === value.value);
13980
+ const showSelectedIcon = computed(() => select2 == null ? void 0 : select2.showSelectedIcon);
13980
13981
  const handleOptionClick = () => {
13981
13982
  if (disabled.value)
13982
13983
  return;
@@ -13997,6 +13998,7 @@ var BkOption = defineComponent({
13997
13998
  selected,
13998
13999
  multiple,
13999
14000
  isHover,
14001
+ showSelectedIcon,
14000
14002
  handleOptionClick,
14001
14003
  handleMouseEnter
14002
14004
  });
@@ -14017,11 +14019,11 @@ var BkOption = defineComponent({
14017
14019
  }, [(_c = (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) != null ? _c : createVNode("span", {
14018
14020
  "class": "bk-select-option-item",
14019
14021
  "title": this.label
14020
- }, [this.label, this.multiple && this.selected && createVNode(done, {
14021
- "class": "done-icon",
14022
+ }, [this.label]), this.multiple && this.selected && this.showSelectedIcon && createVNode(done, {
14023
+ "class": "bk-select-selected-icon",
14022
14024
  "width": 22,
14023
14025
  "height": 22
14024
- }, null)])]), [[vShow, this.visible]]);
14026
+ }, null)]), [[vShow, this.visible]]);
14025
14027
  }
14026
14028
  });
14027
14029
  var OptionGroup = defineComponent({
@@ -14287,7 +14289,8 @@ var Component$j = defineComponent({
14287
14289
  customContent: PropTypes.bool.def(false),
14288
14290
  list: PropTypes.array.def([]),
14289
14291
  idKey: PropTypes.string.def("value"),
14290
- displayKey: PropTypes.string.def("label")
14292
+ displayKey: PropTypes.string.def("label"),
14293
+ showSelectedIcon: PropTypes.bool.def(true)
14291
14294
  },
14292
14295
  emits: ["update:modelValue", "change", "toggle", "clear", "scroll-end", "focus", "blur"],
14293
14296
  setup(props2, {
@@ -14307,7 +14310,8 @@ var Component$j = defineComponent({
14307
14310
  showOnInit,
14308
14311
  multipleMode,
14309
14312
  allowCreate,
14310
- customContent
14313
+ customContent,
14314
+ showSelectedIcon
14311
14315
  } = toRefs(props2);
14312
14316
  const formItem = useFormItem();
14313
14317
  const inputRef = ref();
@@ -14601,6 +14605,7 @@ var Component$j = defineComponent({
14601
14605
  multiple,
14602
14606
  selected,
14603
14607
  activeOptionValue,
14608
+ showSelectedIcon,
14604
14609
  register,
14605
14610
  unregister,
14606
14611
  registerGroup,