js: padding currently only support group or text,input
This commit is contained in:
@@ -500,10 +500,6 @@ var View = /** @class */ (function () {
|
||||
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)
|
||||
@@ -707,6 +703,10 @@ var Group = /** @class */ (function (_super) {
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
__decorate$g([
|
||||
Property,
|
||||
__metadata$g("design:type", Object)
|
||||
], Group.prototype, "padding", void 0);
|
||||
return Group;
|
||||
}(Superview));
|
||||
|
||||
@@ -2106,6 +2106,10 @@ var Text = /** @class */ (function (_super) {
|
||||
Property,
|
||||
__metadata$d("design:type", Number)
|
||||
], Text.prototype, "truncateAt", void 0);
|
||||
__decorate$d([
|
||||
Property,
|
||||
__metadata$d("design:type", Object)
|
||||
], Text.prototype, "padding", void 0);
|
||||
return Text;
|
||||
}(View));
|
||||
function text(config) {
|
||||
@@ -3423,6 +3427,10 @@ var Input = /** @class */ (function (_super) {
|
||||
Property,
|
||||
__metadata$6("design:type", Function)
|
||||
], Input.prototype, "beforeTextChange", void 0);
|
||||
__decorate$6([
|
||||
Property,
|
||||
__metadata$6("design:type", Object)
|
||||
], Input.prototype, "padding", void 0);
|
||||
return Input;
|
||||
}(View));
|
||||
exports.InputType = void 0;
|
||||
|
@@ -415,10 +415,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)
|
||||
@@ -584,6 +580,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;
|
||||
@@ -1608,6 +1608,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();
|
||||
@@ -2639,6 +2643,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";
|
||||
|
@@ -1945,10 +1945,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)
|
||||
@@ -2114,6 +2110,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;
|
||||
@@ -3138,6 +3138,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();
|
||||
@@ -4169,6 +4173,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";
|
||||
|
Reference in New Issue
Block a user