bkui-vue 2.0.1-beta.98 → 2.0.1-beta.99

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
@@ -4,5 +4,5 @@ export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
6
  export * as plugins from './plugins';
7
- export const version = "2.0.1-beta.98";
7
+ export const version = "2.0.1-beta.99";
8
8
  window.__bkui_vue_version__ = version;
@@ -1921,7 +1921,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1921
1921
  return _context2.abrupt("return");
1922
1922
  case 18:
1923
1923
  if (!(!usingItem.value || ((_usingItem$value9 = usingItem.value) === null || _usingItem$value9 === void 0 ? void 0 : _usingItem$value9.type) === 'condition')) {
1924
- _context2.next = 27;
1924
+ _context2.next = 28;
1925
1925
  break;
1926
1926
  }
1927
1927
  usingItem.value = new SelectedItem(item, type !== null && type !== void 0 ? type : (_usingItem$value10 = usingItem.value) === null || _usingItem$value10 === void 0 ? void 0 : _usingItem$value10.type);
@@ -1938,29 +1938,30 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1938
1938
  setSelectedItem();
1939
1939
  }
1940
1940
  showPopover.value = isCondition || !!usingItem.value.children.length;
1941
- setInputFocus(!!props.getMenuList || props.valueBehavior === ValueBehavior.NEED_KEY && !!menuHoverId.value);
1941
+ setInputFocus(props.valueBehavior === ValueBehavior.NEED_KEY && !!menuHoverId.value);
1942
+ typeof props.getMenuList === 'function' && (0,external_vue_namespaceObject.nextTick)(setCursorToEnd);
1942
1943
  return _context2.abrupt("return");
1943
- case 27:
1944
+ case 28:
1944
1945
  if (usingItem.value) {
1945
1946
  usingItem.value.addValue(item);
1946
1947
  (0,external_vue_namespaceObject.nextTick)(deleteInputTextNode);
1947
1948
  }
1948
- _context2.next = 30;
1949
+ _context2.next = 31;
1949
1950
  return validateUsingItemValues(usingItem.value.values);
1950
- case 30:
1951
+ case 31:
1951
1952
  if (_context2.sent) {
1952
- _context2.next = 32;
1953
+ _context2.next = 33;
1953
1954
  break;
1954
1955
  }
1955
1956
  return _context2.abrupt("return");
1956
- case 32:
1957
+ case 33:
1957
1958
  if (!usingItem.value.multiple) {
1958
1959
  setSelectedItem();
1959
1960
  }
1960
1961
  if (props.valueBehavior === ValueBehavior.NEED_KEY && (_usingItem$value12 = usingItem.value) !== null && _usingItem$value12 !== void 0 && _usingItem$value12.multiple) {
1961
1962
  setInputFocus();
1962
1963
  }
1963
- case 34:
1964
+ case 35:
1964
1965
  case "end":
1965
1966
  return _context2.stop();
1966
1967
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.98",
3
+ "version": "2.0.1-beta.99",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",