zartui 3.1.86 → 3.1.88

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.
@@ -195,9 +195,13 @@ var stdin_default = defineComponent({
195
195
  const isStrValid = (text) => {
196
196
  return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
197
197
  };
198
+ const showSearchPopup = () => {
199
+ updateOffset();
200
+ show.value = true;
201
+ };
198
202
  const onSearch = (value2) => {
199
203
  if (isStrValid(value2)) {
200
- show.value = true;
204
+ showSearchPopup();
201
205
  }
202
206
  };
203
207
  const onClickInput = (e) => {
@@ -445,7 +449,7 @@ var stdin_default = defineComponent({
445
449
  "onClickInput": onClickInput,
446
450
  "onSearch": onSearch,
447
451
  "onClear": clearSearch,
448
- "onFocus": () => show.value = true,
452
+ "onFocus": showSearchPopup,
449
453
  "autocomplete": "off"
450
454
  }, null), _withDirectives(_createVNode("div", {
451
455
  "class": [bem("wrap")],
package/es/index.d.ts CHANGED
@@ -85,4 +85,4 @@ declare namespace _default {
85
85
  }
86
86
  export default _default;
87
87
  export function install(app: any): void;
88
- export const version: "3.1.86";
88
+ export const version: "3.1.88";
package/es/index.mjs CHANGED
@@ -78,7 +78,7 @@ import { Timeline } from "./timeline/index.mjs";
78
78
  import { Toast } from "./toast/index.mjs";
79
79
  import { Uploader } from "./uploader/index.mjs";
80
80
  import { Video } from "./video/index.mjs";
81
- const version = "3.1.86";
81
+ const version = "3.1.88";
82
82
  function install(app) {
83
83
  const components = [
84
84
  ActionSheet,
@@ -227,9 +227,13 @@ var stdin_default = (0, import_vue.defineComponent)({
227
227
  const isStrValid = (text) => {
228
228
  return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
229
229
  };
230
+ const showSearchPopup = () => {
231
+ updateOffset();
232
+ show.value = true;
233
+ };
230
234
  const onSearch = (value2) => {
231
235
  if (isStrValid(value2)) {
232
- show.value = true;
236
+ showSearchPopup();
233
237
  }
234
238
  };
235
239
  const onClickInput = (e) => {
@@ -477,7 +481,7 @@ var stdin_default = (0, import_vue.defineComponent)({
477
481
  "onClickInput": onClickInput,
478
482
  "onSearch": onSearch,
479
483
  "onClear": clearSearch,
480
- "onFocus": () => show.value = true,
484
+ "onFocus": showSearchPopup,
481
485
  "autocomplete": "off"
482
486
  }, null), (0, import_vue.withDirectives)((0, import_vue.createVNode)("div", {
483
487
  "class": [bem("wrap")],
package/lib/index.d.ts CHANGED
@@ -85,4 +85,4 @@ declare namespace _default {
85
85
  }
86
86
  export default _default;
87
87
  export function install(app: any): void;
88
- export const version: "3.1.86";
88
+ export const version: "3.1.88";
package/lib/index.js CHANGED
@@ -184,7 +184,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
184
184
  __reExport(stdin_exports, require("./toast"), module.exports);
185
185
  __reExport(stdin_exports, require("./uploader"), module.exports);
186
186
  __reExport(stdin_exports, require("./video"), module.exports);
187
- const version = "3.1.86";
187
+ const version = "3.1.88";
188
188
  function install(app) {
189
189
  const components = [
190
190
  import_action_sheet.ActionSheet,