zartui 3.1.90 → 3.1.91

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
@@ -8476,7 +8476,8 @@ var stdin_default$1b = vue.defineComponent({
8476
8476
  };
8477
8477
  const onClickInput = (event) => emit("clickInput", event);
8478
8478
  const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
8479
- const changePasswordView = () => {
8479
+ const changePasswordView = (event) => {
8480
+ preventDefault(event, true);
8480
8481
  state.showPassword = !state.showPassword;
8481
8482
  };
8482
8483
  const onClickRightIcon = (event) => emit("clickRightIcon", event);
@@ -8560,7 +8561,8 @@ var stdin_default$1b = vue.defineComponent({
8560
8561
  "type": state.showPassword ? "text" : "password"
8561
8562
  }, inputAttrs), null), vue.createVNode(Icon, {
8562
8563
  "name": state.showPassword ? "eye" : "eye-closed",
8563
- "onClick": changePasswordView
8564
+ "onClick": changePasswordView,
8565
+ "onTouchstart": changePasswordView
8564
8566
  }, null)]);
8565
8567
  }
8566
8568
  return vue.createVNode("input", vue.mergeProps(mapInputType(props.type), inputAttrs), null);
@@ -24377,7 +24379,7 @@ const Lazyload = {
24377
24379
  });
24378
24380
  }
24379
24381
  };
24380
- const version = "3.1.90";
24382
+ const version = "3.1.91";
24381
24383
  function install(app) {
24382
24384
  const components = [
24383
24385
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -8474,7 +8474,8 @@ var stdin_default$1b = defineComponent({
8474
8474
  };
8475
8475
  const onClickInput = (event) => emit("clickInput", event);
8476
8476
  const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
8477
- const changePasswordView = () => {
8477
+ const changePasswordView = (event) => {
8478
+ preventDefault(event, true);
8478
8479
  state.showPassword = !state.showPassword;
8479
8480
  };
8480
8481
  const onClickRightIcon = (event) => emit("clickRightIcon", event);
@@ -8558,7 +8559,8 @@ var stdin_default$1b = defineComponent({
8558
8559
  "type": state.showPassword ? "text" : "password"
8559
8560
  }, inputAttrs), null), createVNode(Icon, {
8560
8561
  "name": state.showPassword ? "eye" : "eye-closed",
8561
- "onClick": changePasswordView
8562
+ "onClick": changePasswordView,
8563
+ "onTouchstart": changePasswordView
8562
8564
  }, null)]);
8563
8565
  }
8564
8566
  return createVNode("input", mergeProps(mapInputType(props.type), inputAttrs), null);
@@ -24375,7 +24377,7 @@ const Lazyload = {
24375
24377
  });
24376
24378
  }
24377
24379
  };
24378
- const version = "3.1.90";
24380
+ const version = "3.1.91";
24379
24381
  function install(app) {
24380
24382
  const components = [
24381
24383
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -8725,7 +8725,8 @@ var __publicField = (obj, key, value) => {
8725
8725
  };
8726
8726
  const onClickInput = (event) => emit("clickInput", event);
8727
8727
  const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
8728
- const changePasswordView = () => {
8728
+ const changePasswordView = (event) => {
8729
+ preventDefault(event, true);
8729
8730
  state.showPassword = !state.showPassword;
8730
8731
  };
8731
8732
  const onClickRightIcon = (event) => emit("clickRightIcon", event);
@@ -8809,7 +8810,8 @@ var __publicField = (obj, key, value) => {
8809
8810
  "type": state.showPassword ? "text" : "password"
8810
8811
  }, inputAttrs), null), vue.createVNode(Icon, {
8811
8812
  "name": state.showPassword ? "eye" : "eye-closed",
8812
- "onClick": changePasswordView
8813
+ "onClick": changePasswordView,
8814
+ "onTouchstart": changePasswordView
8813
8815
  }, null)]);
8814
8816
  }
8815
8817
  return vue.createVNode("input", vue.mergeProps(mapInputType(props.type), inputAttrs), null);
@@ -31890,7 +31892,7 @@ var __publicField = (obj, key, value) => {
31890
31892
  });
31891
31893
  }
31892
31894
  };
31893
- const version = "3.1.90";
31895
+ const version = "3.1.91";
31894
31896
  function install(app) {
31895
31897
  const components = [
31896
31898
  ActionSheet,