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.
- package/es/field/Field.mjs +4 -2
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/media-picker/MediaPicker.d.ts +1 -14
- package/es/media-picker/MediaPicker.mjs +8 -78
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.d.ts +1 -10
- package/es/media-picker/type.d.ts +0 -10
- package/es/pagination/Pagination.mjs +3 -1
- package/es/pagination/index.css +1 -1
- package/es/photo-picker/PhotoPicker.d.ts +202 -0
- package/es/photo-picker/PhotoPicker.mjs +510 -0
- package/es/photo-picker/index.css +1 -0
- package/es/photo-picker/index.d.ts +145 -0
- package/es/photo-picker/index.mjs +10 -0
- package/es/photo-picker/style/index.d.ts +1 -0
- package/es/photo-picker/style/index.mjs +15 -0
- package/lib/field/Field.js +4 -2
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/media-picker/MediaPicker.d.ts +1 -14
- package/lib/media-picker/MediaPicker.js +7 -77
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.d.ts +1 -10
- package/lib/media-picker/type.d.ts +0 -10
- package/lib/pagination/Pagination.js +3 -1
- package/lib/pagination/index.css +1 -1
- package/lib/photo-picker/PhotoPicker.d.ts +202 -0
- package/lib/photo-picker/PhotoPicker.js +539 -0
- package/lib/photo-picker/index.css +1 -0
- package/lib/photo-picker/index.d.ts +145 -0
- package/lib/photo-picker/index.js +39 -0
- package/lib/photo-picker/style/index.d.ts +1 -0
- package/lib/photo-picker/style/index.js +15 -0
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +1398 -968
- package/lib/zartui.es.js +1398 -968
- package/lib/zartui.js +1404 -974
- package/lib/zartui.min.js +2 -2
- package/package.json +5 -5
package/lib/field/Field.js
CHANGED
|
@@ -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);
|