js: padding currently only support group or text,input

This commit is contained in:
pengfei.zhou
2022-08-25 10:42:56 +08:00
committed by osborn
parent 02259823da
commit 3937a3f4d3
16 changed files with 129 additions and 48 deletions

View File

@@ -2022,10 +2022,6 @@ __decorate$g([
Property,
__metadata$g("design:type", Boolean)
], View.prototype, "hidden", void 0);
__decorate$g([
Property,
__metadata$g("design:type", Object)
], View.prototype, "padding", void 0);
__decorate$g([
Property,
__metadata$g("design:type", Object)
@@ -2191,6 +2187,10 @@ class Group extends Superview {
this.addInnerElement(e);
}
}
__decorate$g([
Property,
__metadata$g("design:type", Object)
], Group.prototype, "padding", void 0);
const SPECIFIED = 1;
const START = 1 << 1;
@@ -3215,6 +3215,10 @@ __decorate$d([
Property,
__metadata$d("design:type", Number)
], Text.prototype, "truncateAt", void 0);
__decorate$d([
Property,
__metadata$d("design:type", Object)
], Text.prototype, "padding", void 0);
function text(config) {
const ret = new Text;
ret.layoutConfig = layoutConfig().fit();
@@ -4246,6 +4250,10 @@ __decorate$6([
Property,
__metadata$6("design:type", Function)
], Input.prototype, "beforeTextChange", void 0);
__decorate$6([
Property,
__metadata$6("design:type", Object)
], Input.prototype, "padding", void 0);
exports.InputType = void 0;
(function (InputType) {
InputType[InputType["Default"] = 0] = "Default";

File diff suppressed because one or more lines are too long