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/es/field/Field.mjs +4 -2
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/field/Field.js +4 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +5 -3
- package/lib/zartui.es.js +5 -3
- package/lib/zartui.js +5 -3
- package/lib/zartui.min.js +2 -2
- package/package.json +4 -4
package/es/field/Field.mjs
CHANGED
|
@@ -249,7 +249,8 @@ var stdin_default = defineComponent({
|
|
|
249
249
|
};
|
|
250
250
|
const onClickInput = (event) => emit("clickInput", event);
|
|
251
251
|
const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
|
|
252
|
-
const changePasswordView = () => {
|
|
252
|
+
const changePasswordView = (event) => {
|
|
253
|
+
preventDefault(event, true);
|
|
253
254
|
state.showPassword = !state.showPassword;
|
|
254
255
|
};
|
|
255
256
|
const onClickRightIcon = (event) => emit("clickRightIcon", event);
|
|
@@ -333,7 +334,8 @@ var stdin_default = defineComponent({
|
|
|
333
334
|
"type": state.showPassword ? "text" : "password"
|
|
334
335
|
}, inputAttrs), null), _createVNode(Icon, {
|
|
335
336
|
"name": state.showPassword ? "eye" : "eye-closed",
|
|
336
|
-
"onClick": changePasswordView
|
|
337
|
+
"onClick": changePasswordView,
|
|
338
|
+
"onTouchstart": changePasswordView
|
|
337
339
|
}, null)]);
|
|
338
340
|
}
|
|
339
341
|
return _createVNode("input", _mergeProps(mapInputType(props.type), inputAttrs), null);
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -79,7 +79,7 @@ import { Timeline } from "./timeline/index.mjs";
|
|
|
79
79
|
import { Toast } from "./toast/index.mjs";
|
|
80
80
|
import { Uploader } from "./uploader/index.mjs";
|
|
81
81
|
import { Video } from "./video/index.mjs";
|
|
82
|
-
const version = "3.1.
|
|
82
|
+
const version = "3.1.91";
|
|
83
83
|
function install(app) {
|
|
84
84
|
const components = [
|
|
85
85
|
ActionSheet,
|
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);
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -186,7 +186,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
|
|
|
186
186
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
187
187
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
188
188
|
__reExport(stdin_exports, require("./video"), module.exports);
|
|
189
|
-
const version = "3.1.
|
|
189
|
+
const version = "3.1.91";
|
|
190
190
|
function install(app) {
|
|
191
191
|
const components = [
|
|
192
192
|
import_action_sheet.ActionSheet,
|