bkui-vue 0.0.1-beta.372 → 0.0.1-beta.374

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
@@ -15851,16 +15851,21 @@ var Component$j = defineComponent({
15851
15851
  suffix: () => suffixIcon()
15852
15852
  });
15853
15853
  };
15854
- const renderSelectTrigger = () => createVNode("div", {
15855
- "class": resolveClassName("select-trigger"),
15856
- "style": {
15857
- height: this.autoHeight && this.collapseTags ? "32px" : ""
15858
- },
15859
- "ref": "triggerRef",
15860
- "onClick": this.handleTogglePopover,
15861
- "onMouseenter": this.setHover,
15862
- "onMouseleave": this.cancelHover
15863
- }, [renderTriggerInput()]);
15854
+ const renderSelectTrigger = () => {
15855
+ var _a, _b;
15856
+ return createVNode("div", {
15857
+ "class": resolveClassName("select-trigger"),
15858
+ "style": {
15859
+ height: this.autoHeight && this.collapseTags ? "32px" : ""
15860
+ },
15861
+ "ref": "triggerRef",
15862
+ "onClick": this.handleTogglePopover,
15863
+ "onMouseenter": this.setHover,
15864
+ "onMouseleave": this.cancelHover
15865
+ }, [((_b = (_a = this.$slots).trigger) == null ? void 0 : _b.call(_a, {
15866
+ selected: this.selected
15867
+ })) || renderTriggerInput()]);
15868
+ };
15864
15869
  const renderSelectContent = () => {
15865
15870
  var _a, _b;
15866
15871
  return createVNode("div", {
@@ -20315,7 +20320,7 @@ var Component$d = defineComponent({
20315
20320
  bkTooltips: tooltips
20316
20321
  },
20317
20322
  props: tagProps(),
20318
- emits: ["update:modelValue", "change", "select", "focus", "blur", "remove", "removeAll"],
20323
+ emits: ["update:modelValue", "change", "select", "focus", "blur", "remove", "removeAll", "input"],
20319
20324
  setup(props2, {
20320
20325
  emit
20321
20326
  }) {
@@ -20614,6 +20619,7 @@ var Component$d = defineComponent({
20614
20619
  }
20615
20620
  state.isEdit = true;
20616
20621
  state.focusItemIndex = allowCreate ? -1 : 0;
20622
+ emit("input", curInputValue.value);
20617
20623
  };
20618
20624
  const handleFocus = () => {
20619
20625
  var _a;