bkui-vue 0.0.1-beta.361 → 0.0.1-beta.363

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
@@ -10176,7 +10176,7 @@ var CollapsePanel = defineComponent({
10176
10176
  watch(() => props2.modelValue, (newVal) => {
10177
10177
  isActive.value = newVal;
10178
10178
  });
10179
- watch(() => localActiveItems, (newVal) => {
10179
+ watch(localActiveItems, (newVal) => {
10180
10180
  if (newVal == null ? void 0 : newVal.length) {
10181
10181
  isActive.value = newVal.includes(props2.name);
10182
10182
  }
@@ -10303,7 +10303,7 @@ var Collapse = defineComponent({
10303
10303
  emit("item-click", item);
10304
10304
  emit("update:modelValue", localActiveItems.value);
10305
10305
  };
10306
- provide("localActiveItems", localActiveItems.value);
10306
+ provide("localActiveItems", localActiveItems);
10307
10307
  provide("handleItemClick", handleItemClick);
10308
10308
  const className = "bk-collapse-wrapper";
10309
10309
  if (!Array.isArray(props2.list) || !props2.list.length) {
@@ -38635,10 +38635,10 @@ var SearchSelectInput = defineComponent({
38635
38635
  const res = await validateUsingItemValues(item);
38636
38636
  if (!res)
38637
38637
  return;
38638
+ if (!usingItem.value.multiple)
38639
+ setSelectedItem();
38638
38640
  if (props2.valueBehavior === ValueBehavior.NEEDKEY && usingItem.value.multiple) {
38639
38641
  setInputFocus();
38640
- } else {
38641
- setSelectedItem();
38642
38642
  }
38643
38643
  }
38644
38644
  function handleSelectCondtionItem(item) {
@@ -38979,7 +38979,7 @@ var SearchSelected = defineComponent({
38979
38979
  }, [createVNode("span", {
38980
38980
  "class": "selected-name",
38981
38981
  "onClick": (e) => this.handleEditSeleted(e, item, index2)
38982
- }, [item.inputInnerText]), createVNode(close$1, {
38982
+ }, [item.inputInnerText]), createVNode(error, {
38983
38983
  "class": "selected-clear",
38984
38984
  "onClick": () => this.handleDeleteSelected(index2)
38985
38985
  }, null)]);