zartui 3.1.89 → 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.
Files changed (41) hide show
  1. package/es/field/Field.mjs +4 -2
  2. package/es/index.d.ts +2 -1
  3. package/es/index.mjs +4 -1
  4. package/es/media-picker/MediaPicker.d.ts +1 -14
  5. package/es/media-picker/MediaPicker.mjs +8 -78
  6. package/es/media-picker/index.css +1 -1
  7. package/es/media-picker/index.d.ts +1 -10
  8. package/es/media-picker/type.d.ts +0 -10
  9. package/es/pagination/Pagination.mjs +3 -1
  10. package/es/pagination/index.css +1 -1
  11. package/es/photo-picker/PhotoPicker.d.ts +202 -0
  12. package/es/photo-picker/PhotoPicker.mjs +510 -0
  13. package/es/photo-picker/index.css +1 -0
  14. package/es/photo-picker/index.d.ts +145 -0
  15. package/es/photo-picker/index.mjs +10 -0
  16. package/es/photo-picker/style/index.d.ts +1 -0
  17. package/es/photo-picker/style/index.mjs +15 -0
  18. package/lib/field/Field.js +4 -2
  19. package/lib/index.css +1 -1
  20. package/lib/index.d.ts +2 -1
  21. package/lib/index.js +4 -1
  22. package/lib/media-picker/MediaPicker.d.ts +1 -14
  23. package/lib/media-picker/MediaPicker.js +7 -77
  24. package/lib/media-picker/index.css +1 -1
  25. package/lib/media-picker/index.d.ts +1 -10
  26. package/lib/media-picker/type.d.ts +0 -10
  27. package/lib/pagination/Pagination.js +3 -1
  28. package/lib/pagination/index.css +1 -1
  29. package/lib/photo-picker/PhotoPicker.d.ts +202 -0
  30. package/lib/photo-picker/PhotoPicker.js +539 -0
  31. package/lib/photo-picker/index.css +1 -0
  32. package/lib/photo-picker/index.d.ts +145 -0
  33. package/lib/photo-picker/index.js +39 -0
  34. package/lib/photo-picker/style/index.d.ts +1 -0
  35. package/lib/photo-picker/style/index.js +15 -0
  36. package/lib/web-types.json +1 -1
  37. package/lib/zartui.cjs.js +1398 -968
  38. package/lib/zartui.es.js +1398 -968
  39. package/lib/zartui.js +1404 -974
  40. package/lib/zartui.min.js +2 -2
  41. package/package.json +5 -5
@@ -272,7 +272,8 @@ var stdin_default = (0, import_vue.defineComponent)({
272
272
  };
273
273
  const onClickInput = (event) => emit("clickInput", event);
274
274
  const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
275
- const changePasswordView = () => {
275
+ const changePasswordView = (event) => {
276
+ (0, import_utils.preventDefault)(event, true);
276
277
  state.showPassword = !state.showPassword;
277
278
  };
278
279
  const onClickRightIcon = (event) => emit("clickRightIcon", event);
@@ -356,7 +357,8 @@ var stdin_default = (0, import_vue.defineComponent)({
356
357
  "type": state.showPassword ? "text" : "password"
357
358
  }, inputAttrs), null), (0, import_vue.createVNode)(import_icon.Icon, {
358
359
  "name": state.showPassword ? "eye" : "eye-closed",
359
- "onClick": changePasswordView
360
+ "onClick": changePasswordView,
361
+ "onTouchstart": changePasswordView
360
362
  }, null)]);
361
363
  }
362
364
  return (0, import_vue.createVNode)("input", (0, import_vue.mergeProps)((0, import_utils2.mapInputType)(props.type), inputAttrs), null);