hzzt-plus 2.0.9 → 2.0.10

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.
Files changed (50) hide show
  1. package/dist/index.full.js +10 -10
  2. package/dist/index.full.min.js +3 -3
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +3 -3
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +10 -10
  7. package/dist/locale/en.js +1 -1
  8. package/dist/locale/en.min.js +1 -1
  9. package/dist/locale/en.min.mjs +1 -1
  10. package/dist/locale/en.mjs +1 -1
  11. package/dist/locale/zh-cn.js +1 -1
  12. package/dist/locale/zh-cn.min.js +1 -1
  13. package/dist/locale/zh-cn.min.mjs +1 -1
  14. package/dist/locale/zh-cn.mjs +1 -1
  15. package/es/components/index.mjs +2 -2
  16. package/es/components/lazy-list/index.mjs +2 -2
  17. package/es/components/lazy-list/src/lazy-list.mjs +22 -80
  18. package/es/components/lazy-list/src/lazy-list.mjs.map +1 -1
  19. package/es/components/lazy-list/src/lazy-list2.mjs +80 -22
  20. package/es/components/lazy-list/src/lazy-list2.mjs.map +1 -1
  21. package/es/components/select/src/select2.mjs +8 -8
  22. package/es/components/select/src/select2.mjs.map +1 -1
  23. package/es/components/select-input/index.mjs +2 -2
  24. package/es/components/select-input/src/select-input.mjs +124 -45
  25. package/es/components/select-input/src/select-input.mjs.map +1 -1
  26. package/es/components/select-input/src/select-input2.mjs +45 -124
  27. package/es/components/select-input/src/select-input2.mjs.map +1 -1
  28. package/es/index.mjs +2 -2
  29. package/es/version.d.ts +1 -1
  30. package/es/version.mjs +1 -1
  31. package/es/version.mjs.map +1 -1
  32. package/lib/components/index.js +2 -2
  33. package/lib/components/lazy-list/index.js +2 -2
  34. package/lib/components/lazy-list/src/lazy-list.js +23 -80
  35. package/lib/components/lazy-list/src/lazy-list.js.map +1 -1
  36. package/lib/components/lazy-list/src/lazy-list2.js +80 -23
  37. package/lib/components/lazy-list/src/lazy-list2.js.map +1 -1
  38. package/lib/components/select/src/select2.js +8 -8
  39. package/lib/components/select/src/select2.js.map +1 -1
  40. package/lib/components/select-input/index.js +2 -2
  41. package/lib/components/select-input/src/select-input.js +124 -46
  42. package/lib/components/select-input/src/select-input.js.map +1 -1
  43. package/lib/components/select-input/src/select-input2.js +46 -124
  44. package/lib/components/select-input/src/select-input2.js.map +1 -1
  45. package/lib/index.js +2 -2
  46. package/lib/version.d.ts +1 -1
  47. package/lib/version.js +1 -1
  48. package/lib/version.js.map +1 -1
  49. package/package.json +1 -1
  50. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Hzzt Plus v2.0.8 */
1
+ /*! Hzzt Plus v2.0.9 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -12965,7 +12965,7 @@
12965
12965
 
12966
12966
  const HzztConfigProvider = withInstall$1(ConfigProvider$1);
12967
12967
 
12968
- const version$1 = "2.0.8";
12968
+ const version$1 = "2.0.9";
12969
12969
 
12970
12970
  const makeInstaller = (components = []) => {
12971
12971
  const install = (app, options) => {
@@ -27908,14 +27908,8 @@
27908
27908
  nsSelect.m(trueSize.value)
27909
27909
  ]);
27910
27910
  const containerStyle = vue.computed(() => attrs.style);
27911
- const inputCls = vue.computed(() => [
27912
- nsSelect.e("input"),
27913
- "width-100%"
27914
- ]);
27915
- const selectCls = vue.computed(() => [
27916
- nsSelect.e("select"),
27917
- "width-100%"
27918
- ]);
27911
+ const inputCls = vue.computed(() => [nsSelect.e("input"), "width-100%"]);
27912
+ const selectCls = vue.computed(() => [nsSelect.e("select"), "width-100%"]);
27919
27913
  const _inputProps = vue.computed(() => ({
27920
27914
  disabled: trueDisabled.value,
27921
27915
  size: trueSize.value,
@@ -27950,6 +27944,12 @@
27950
27944
  if ((_a = selectRef.value) == null ? void 0 : _a.dropdownMenuVisible) {
27951
27945
  selectRef.value.states.inputValue = inputVal.value;
27952
27946
  selectRef.value.debouncedOnInputChange();
27947
+ } else {
27948
+ selectRef.value.dropdownMenuVisible = true;
27949
+ setTimeout(() => {
27950
+ selectRef.value.states.inputValue = inputVal.value;
27951
+ selectRef.value.debouncedOnInputChange();
27952
+ }, 200);
27953
27953
  }
27954
27954
  emit("update:modelValue", str);
27955
27955
  emit("input", str);