lh-ui-next 0.1.7-beta.15 → 0.1.7-beta.17

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/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  alpha version is use to self-test; beta version is use to public survey.for example:
5
5
  1.0.0-alpha.1
6
6
  1.0.0-test.2
7
- ## Official version : "0.1.7-beta.15",
8
- ## test version : "0.1.7-beta.15",
7
+ ## Official version : "0.1.7-beta.17",
8
+ ## test version : "0.1.7-beta.17",
9
9
  ## npmmirror
10
10
  When cnpm sync execution is unsuccessful,you can go the website(http://www.npmmirror.com/package/lh-ui-next) and press sync button to
11
11
  manual trigger the sync event
@@ -5411,7 +5411,7 @@ function Is(e) {
5411
5411
  }
5412
5412
  const Ls = {
5413
5413
  name: "lhFuzzyInput",
5414
- emits: ["update:modelValue", "isNew", "keyupEnter", "fuzzyClick"],
5414
+ emits: ["update:modelValue", "isNew", "keyupEnter", "fuzzyClick", "focus", "blur"],
5415
5415
  props: {
5416
5416
  modelValue: {
5417
5417
  type: String,
@@ -5557,6 +5557,12 @@ const Ls = {
5557
5557
  changeSee() {
5558
5558
  this.withDownClickSearch && this.search();
5559
5559
  },
5560
+ focus() {
5561
+ this.$emit("focus", null);
5562
+ },
5563
+ blur() {
5564
+ this.$emit("blur", null);
5565
+ },
5560
5566
  keyupEnter() {
5561
5567
  this.visible = !1, this.$emit("keyupEnter", this.enterKey || 0);
5562
5568
  },
@@ -5645,6 +5651,8 @@ function Ns(e, t, i, s, l, n) {
5645
5651
  maxlength: i.maxlength,
5646
5652
  type: "text",
5647
5653
  placeholder: i.placeholder,
5654
+ onFocus: n.focus,
5655
+ onBlur: n.blur,
5648
5656
  pattern: i.pattern,
5649
5657
  title: i.title,
5650
5658
  required: i.required,
@@ -5652,7 +5660,7 @@ function Ns(e, t, i, s, l, n) {
5652
5660
  modelValue: l.inputValue,
5653
5661
  "onUpdate:modelValue": t[0] || (t[0] = (h) => l.inputValue = h),
5654
5662
  style: { width: "100%" }
5655
- }, null, 8, ["size", "onKeyupEnter", "maxlength", "placeholder", "pattern", "title", "required", "modelValue"]),
5663
+ }, null, 8, ["size", "onKeyupEnter", "maxlength", "placeholder", "onFocus", "onBlur", "pattern", "title", "required", "modelValue"]),
5656
5664
  l.tipShow ? (o(), c("span", Vs, g(i.tip), 1)) : m("", !0)
5657
5665
  ], 8, zs)
5658
5666
  ]),