zartui 3.1.86 → 3.1.87

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/zartui.cjs.js CHANGED
@@ -9227,9 +9227,13 @@ var stdin_default$14 = vue.defineComponent({
9227
9227
  const isStrValid = (text) => {
9228
9228
  return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
9229
9229
  };
9230
+ const showSearchPopup = () => {
9231
+ updateOffset();
9232
+ show.value = true;
9233
+ };
9230
9234
  const onSearch = (value2) => {
9231
9235
  if (isStrValid(value2)) {
9232
- show.value = true;
9236
+ showSearchPopup();
9233
9237
  }
9234
9238
  };
9235
9239
  const onClickInput = (e) => {
@@ -9477,7 +9481,7 @@ var stdin_default$14 = vue.defineComponent({
9477
9481
  "onClickInput": onClickInput,
9478
9482
  "onSearch": onSearch,
9479
9483
  "onClear": clearSearch,
9480
- "onFocus": () => show.value = true,
9484
+ "onFocus": showSearchPopup,
9481
9485
  "autocomplete": "off"
9482
9486
  }, null), vue.withDirectives(vue.createVNode("div", {
9483
9487
  "class": [bem$L("wrap")],
@@ -23860,7 +23864,7 @@ const Lazyload = {
23860
23864
  });
23861
23865
  }
23862
23866
  };
23863
- const version = "3.1.86";
23867
+ const version = "3.1.87";
23864
23868
  function install(app) {
23865
23869
  const components = [
23866
23870
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -9225,9 +9225,13 @@ var stdin_default$14 = defineComponent({
9225
9225
  const isStrValid = (text) => {
9226
9226
  return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
9227
9227
  };
9228
+ const showSearchPopup = () => {
9229
+ updateOffset();
9230
+ show.value = true;
9231
+ };
9228
9232
  const onSearch = (value2) => {
9229
9233
  if (isStrValid(value2)) {
9230
- show.value = true;
9234
+ showSearchPopup();
9231
9235
  }
9232
9236
  };
9233
9237
  const onClickInput = (e) => {
@@ -9475,7 +9479,7 @@ var stdin_default$14 = defineComponent({
9475
9479
  "onClickInput": onClickInput,
9476
9480
  "onSearch": onSearch,
9477
9481
  "onClear": clearSearch,
9478
- "onFocus": () => show.value = true,
9482
+ "onFocus": showSearchPopup,
9479
9483
  "autocomplete": "off"
9480
9484
  }, null), withDirectives(createVNode("div", {
9481
9485
  "class": [bem$L("wrap")],
@@ -23858,7 +23862,7 @@ const Lazyload = {
23858
23862
  });
23859
23863
  }
23860
23864
  };
23861
- const version = "3.1.86";
23865
+ const version = "3.1.87";
23862
23866
  function install(app) {
23863
23867
  const components = [
23864
23868
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -9476,9 +9476,13 @@ var __publicField = (obj, key, value) => {
9476
9476
  const isStrValid = (text) => {
9477
9477
  return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
9478
9478
  };
9479
+ const showSearchPopup = () => {
9480
+ updateOffset();
9481
+ show.value = true;
9482
+ };
9479
9483
  const onSearch = (value2) => {
9480
9484
  if (isStrValid(value2)) {
9481
- show.value = true;
9485
+ showSearchPopup();
9482
9486
  }
9483
9487
  };
9484
9488
  const onClickInput = (e) => {
@@ -9726,7 +9730,7 @@ var __publicField = (obj, key, value) => {
9726
9730
  "onClickInput": onClickInput,
9727
9731
  "onSearch": onSearch,
9728
9732
  "onClear": clearSearch,
9729
- "onFocus": () => show.value = true,
9733
+ "onFocus": showSearchPopup,
9730
9734
  "autocomplete": "off"
9731
9735
  }, null), vue.withDirectives(vue.createVNode("div", {
9732
9736
  "class": [bem$L("wrap")],
@@ -31373,7 +31377,7 @@ var __publicField = (obj, key, value) => {
31373
31377
  });
31374
31378
  }
31375
31379
  };
31376
- const version = "3.1.86";
31380
+ const version = "3.1.87";
31377
31381
  function install(app) {
31378
31382
  const components = [
31379
31383
  ActionSheet,