update demo

This commit is contained in:
pengfei.zhou
2020-06-13 11:58:24 +08:00
committed by osborn
parent 4a788eb4bb
commit 662909438b
9 changed files with 63 additions and 6 deletions

View File

@@ -3618,6 +3618,10 @@ let Input = /** @class */ (() => {
Property,
__metadata$a("design:type", String)
], Input.prototype, "hintText", void 0);
__decorate$a([
Property,
__metadata$a("design:type", Number)
], Input.prototype, "inputType", void 0);
__decorate$a([
Property,
__metadata$a("design:type", Color)
@@ -3644,6 +3648,13 @@ let Input = /** @class */ (() => {
], Input.prototype, "maxLength", void 0);
return Input;
})();
(function (InputType) {
InputType[InputType["Default"] = 0] = "Default";
InputType[InputType["Number"] = 1] = "Number";
InputType[InputType["Decimal"] = 2] = "Decimal";
InputType[InputType["Alphabet"] = 3] = "Alphabet";
InputType[InputType["Phone"] = 4] = "Phone";
})(exports.InputType || (exports.InputType = {}));
function input(config) {
const ret = new Input;
ret.layoutConfig = layoutConfig().just();

File diff suppressed because one or more lines are too long