提交 a1fa84cd 编写于 作者: Q qiang

chore: build

上级 1da849d7
...@@ -3100,6 +3100,16 @@ function getValueString(value, type) { ...@@ -3100,6 +3100,16 @@ function getValueString(value, type) {
} }
return value === null ? "" : String(value); return value === null ? "" : String(value);
} }
const INPUT_MODES = [
"none",
"text",
"decimal",
"numeric",
"tel",
"search",
"email",
"url"
];
const props$k = /* @__PURE__ */ shared.extend( const props$k = /* @__PURE__ */ shared.extend(
{}, {},
{ {
...@@ -3178,6 +3188,11 @@ const props$k = /* @__PURE__ */ shared.extend( ...@@ -3178,6 +3188,11 @@ const props$k = /* @__PURE__ */ shared.extend(
step: { step: {
type: String, type: String,
default: "0.000000000000000001" default: "0.000000000000000001"
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
} }
}, },
props$n props$n
...@@ -3408,7 +3423,6 @@ function useField(props2, rootRef, emit2, beforeInput) { ...@@ -3408,7 +3423,6 @@ function useField(props2, rootRef, emit2, beforeInput) {
trigger trigger
}; };
} }
const INPUT_MODES = ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"];
const props$j = /* @__PURE__ */ shared.extend({}, props$k, { const props$j = /* @__PURE__ */ shared.extend({}, props$k, {
placeholderClass: { placeholderClass: {
type: String, type: String,
...@@ -3417,11 +3431,6 @@ const props$j = /* @__PURE__ */ shared.extend({}, props$k, { ...@@ -3417,11 +3431,6 @@ const props$j = /* @__PURE__ */ shared.extend({}, props$k, {
textContentType: { textContentType: {
type: String, type: String,
default: "" default: ""
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
} }
}); });
const Input = /* @__PURE__ */ defineBuiltInComponent({ const Input = /* @__PURE__ */ defineBuiltInComponent({
...@@ -7175,6 +7184,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -7175,6 +7184,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({
"disabled": !!props2.disabled, "disabled": !!props2.disabled,
"maxlength": state.maxlength, "maxlength": state.maxlength,
"enterkeyhint": props2.confirmType, "enterkeyhint": props2.confirmType,
"inputmode": props2.inputmode,
"class": { "class": {
"uni-textarea-textarea": true, "uni-textarea-textarea": true,
"uni-textarea-textarea-fix-margin": fixMargin "uni-textarea-textarea-fix-margin": fixMargin
...@@ -7184,7 +7194,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -7184,7 +7194,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({
}, },
"onKeydown": onKeyDownEnter, "onKeydown": onKeyDownEnter,
"onKeyup": onKeyUpEnter "onKeyup": onKeyUpEnter
}, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "onKeydown", "onKeyup"]); }, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "inputmode", "onKeydown", "onKeyup"]);
return vue.createVNode("uni-textarea", { return vue.createVNode("uni-textarea", {
"ref": rootRef "ref": rootRef
}, [vue.createVNode("div", { }, [vue.createVNode("div", {
......
...@@ -9187,6 +9187,16 @@ function getValueString(value, type) { ...@@ -9187,6 +9187,16 @@ function getValueString(value, type) {
} }
return value === null ? "" : String(value); return value === null ? "" : String(value);
} }
const INPUT_MODES = [
"none",
"text",
"decimal",
"numeric",
"tel",
"search",
"email",
"url"
];
const props$r = /* @__PURE__ */ extend( const props$r = /* @__PURE__ */ extend(
{}, {},
{ {
...@@ -9265,6 +9275,11 @@ const props$r = /* @__PURE__ */ extend( ...@@ -9265,6 +9275,11 @@ const props$r = /* @__PURE__ */ extend(
step: { step: {
type: String, type: String,
default: "0.000000000000000001" default: "0.000000000000000001"
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
} }
}, },
props$u props$u
...@@ -9504,7 +9519,6 @@ function useField(props2, rootRef, emit2, beforeInput) { ...@@ -9504,7 +9519,6 @@ function useField(props2, rootRef, emit2, beforeInput) {
trigger trigger
}; };
} }
const INPUT_MODES = ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"];
const props$q = /* @__PURE__ */ extend({}, props$r, { const props$q = /* @__PURE__ */ extend({}, props$r, {
placeholderClass: { placeholderClass: {
type: String, type: String,
...@@ -9513,11 +9527,6 @@ const props$q = /* @__PURE__ */ extend({}, props$r, { ...@@ -9513,11 +9527,6 @@ const props$q = /* @__PURE__ */ extend({}, props$r, {
textContentType: { textContentType: {
type: String, type: String,
default: "" default: ""
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
} }
}); });
const Input = /* @__PURE__ */ defineBuiltInComponent({ const Input = /* @__PURE__ */ defineBuiltInComponent({
...@@ -14691,6 +14700,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -14691,6 +14700,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({
"disabled": !!props2.disabled, "disabled": !!props2.disabled,
"maxlength": state2.maxlength, "maxlength": state2.maxlength,
"enterkeyhint": props2.confirmType, "enterkeyhint": props2.confirmType,
"inputmode": props2.inputmode,
"class": { "class": {
"uni-textarea-textarea": true, "uni-textarea-textarea": true,
"uni-textarea-textarea-fix-margin": fixMargin "uni-textarea-textarea-fix-margin": fixMargin
...@@ -14700,7 +14710,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({ ...@@ -14700,7 +14710,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({
}, },
"onKeydown": onKeyDownEnter, "onKeydown": onKeyDownEnter,
"onKeyup": onKeyUpEnter "onKeyup": onKeyUpEnter
}, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "onKeydown", "onKeyup"]); }, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "inputmode", "onKeydown", "onKeyup"]);
return createVNode("uni-textarea", { return createVNode("uni-textarea", {
"ref": rootRef "ref": rootRef
}, [createVNode("div", { }, [createVNode("div", {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册