igniteui-webcomponents-inputs 6.2.2-alpha.2 → 6.3.0-beta.0
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/bundles/igniteui-webcomponents-inputs.umd.js +1336 -1142
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +1 -1
- package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm2015/lib/ButtonView_combined.js +315 -308
- package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
- package/esm2015/lib/CheckboxView_combined.js +179 -164
- package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
- package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
- package/esm2015/lib/IconView_combined.js +27 -22
- package/esm2015/lib/InputGroupView_combined.js +274 -262
- package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
- package/esm2015/lib/InputVisualModelExport.js +34 -32
- package/esm2015/lib/MultiSliderView_combined.js +2 -2
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
- package/esm2015/lib/XButtonBridge.js +1 -1
- package/esm2015/lib/XButtonGroupBridge.js +7 -1
- package/esm2015/lib/XCheckboxBridge.js +2 -1
- package/esm2015/lib/XIconBridge.js +2 -1
- package/esm2015/lib/XInputBridge.js +11 -1
- package/esm2015/lib/igc-color-editor-component.js +63 -47
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/ButtonGroupView_combined.js +1 -1
- package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
- package/esm5/lib/ButtonView_combined.js +315 -308
- package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
- package/esm5/lib/CheckboxView_combined.js +177 -162
- package/esm5/lib/CheckboxVisualModelExport.js +14 -6
- package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
- package/esm5/lib/IconView_combined.js +32 -27
- package/esm5/lib/InputGroupView_combined.js +275 -263
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +34 -32
- package/esm5/lib/MultiSliderView_combined.js +2 -2
- package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
- package/esm5/lib/XButtonBridge.js +1 -1
- package/esm5/lib/XButtonGroupBridge.js +7 -1
- package/esm5/lib/XCheckboxBridge.js +2 -1
- package/esm5/lib/XIconBridge.js +2 -1
- package/esm5/lib/XInputBridge.js +11 -1
- package/esm5/lib/igc-color-editor-component.js +63 -47
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +1342 -1150
- package/fesm5/igniteui-webcomponents-inputs.js +1336 -1144
- package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
- package/lib/ButtonView_combined.d.ts +42 -41
- package/lib/CheckboxListVisualModelExport.d.ts +18 -0
- package/lib/CheckboxView_combined.d.ts +30 -29
- package/lib/CheckboxVisualModelExport.d.ts +7 -3
- package/lib/ColorEditorVisualModelExport.d.ts +17 -0
- package/lib/IconView_combined.d.ts +2 -0
- package/lib/InputGroupView_combined.d.ts +57 -56
- package/lib/InputVisualModelExport.d.ts +14 -12
- package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
- package/lib/igc-color-editor-component.d.ts +10 -0
- package/package.json +2 -2
- package/public_api.d.ts +2 -0
|
@@ -38,46 +38,46 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
38
38
|
__extends(ButtonView, _super);
|
|
39
39
|
function ButtonView() {
|
|
40
40
|
var _this = _super.call(this) || this;
|
|
41
|
-
_this.b = null;
|
|
42
|
-
_this.k = null;
|
|
43
|
-
_this.d = null;
|
|
44
|
-
_this.h = new List$1(Delegate_$type, 0);
|
|
45
|
-
_this.e = true;
|
|
46
|
-
_this.n = null;
|
|
47
|
-
_this.j = NaN;
|
|
48
|
-
_this.i = NaN;
|
|
49
|
-
_this.l = null;
|
|
50
41
|
_this.c = null;
|
|
42
|
+
_this.l = null;
|
|
43
|
+
_this.e = null;
|
|
44
|
+
_this.i = new List$1(Delegate_$type, 0);
|
|
45
|
+
_this.f = true;
|
|
46
|
+
_this.o = null;
|
|
47
|
+
_this.k = NaN;
|
|
48
|
+
_this.j = NaN;
|
|
51
49
|
_this.m = null;
|
|
50
|
+
_this.d = null;
|
|
51
|
+
_this.n = null;
|
|
52
|
+
_this.q = null;
|
|
52
53
|
_this.p = null;
|
|
53
|
-
_this.o = null;
|
|
54
54
|
return _this;
|
|
55
55
|
}
|
|
56
|
-
ButtonView.prototype.
|
|
56
|
+
ButtonView.prototype.ar = function () {
|
|
57
57
|
};
|
|
58
|
-
ButtonView.prototype.
|
|
58
|
+
ButtonView.prototype.h = function () {
|
|
59
59
|
return true;
|
|
60
60
|
};
|
|
61
|
-
Object.defineProperty(ButtonView.prototype, "
|
|
61
|
+
Object.defineProperty(ButtonView.prototype, "r", {
|
|
62
62
|
get: function () {
|
|
63
|
-
return this.
|
|
63
|
+
return this.o;
|
|
64
64
|
},
|
|
65
65
|
enumerable: false,
|
|
66
66
|
configurable: true
|
|
67
67
|
});
|
|
68
|
-
Object.defineProperty(ButtonView.prototype, "
|
|
68
|
+
Object.defineProperty(ButtonView.prototype, "t", {
|
|
69
69
|
get: function () {
|
|
70
|
-
return this.
|
|
70
|
+
return this.n;
|
|
71
71
|
},
|
|
72
72
|
enumerable: false,
|
|
73
73
|
configurable: true
|
|
74
74
|
});
|
|
75
|
-
ButtonView.prototype.
|
|
75
|
+
ButtonView.prototype.al = function (a) {
|
|
76
76
|
var e_1, _a;
|
|
77
77
|
var _this = this;
|
|
78
78
|
if (a == null) {
|
|
79
79
|
try {
|
|
80
|
-
for (var _b = __values(fromEnum(this.
|
|
80
|
+
for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
81
81
|
var b = _c.value;
|
|
82
82
|
b();
|
|
83
83
|
}
|
|
@@ -95,46 +95,46 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
95
|
throw e_1.error;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
this.
|
|
98
|
+
this.i.clear();
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
var c = this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
NativeUI.o(this.
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
136
|
-
var d = this.
|
|
137
|
-
var e = this.
|
|
101
|
+
this.l = a;
|
|
102
|
+
this.l.rootWrapper.setStyleProperty("display", "flex");
|
|
103
|
+
this.l.rootWrapper.setStyleProperty("flex-direction", "row");
|
|
104
|
+
this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
|
|
105
|
+
this.l.rootWrapper.setStyleProperty("align-items", "center");
|
|
106
|
+
var c = this.l.createElement("button");
|
|
107
|
+
this.o = c;
|
|
108
|
+
this.o.setStyleProperty("position", "relative");
|
|
109
|
+
this.o.setStyleProperty("display", "inline-flex");
|
|
110
|
+
this.o.setStyleProperty("align-items", "center");
|
|
111
|
+
this.o.setStyleProperty("justify-content", "center");
|
|
112
|
+
this.a1();
|
|
113
|
+
this.o.setStyleProperty("border", "none");
|
|
114
|
+
this.o.setStyleProperty("cursor", "pointer");
|
|
115
|
+
this.o.setStyleProperty("user-select", "none");
|
|
116
|
+
this.o.setStyleProperty("outline-style", "none");
|
|
117
|
+
this.o.setStyleProperty("-webkit-tap-highlight-color", "transparent");
|
|
118
|
+
this.o.setStyleProperty("overflow", "hidden");
|
|
119
|
+
this.o.setStyleProperty("white-space", "no-wrap");
|
|
120
|
+
this.o.setStyleProperty("color", "#000");
|
|
121
|
+
this.o.setStyleProperty("background", this.c.no._fill);
|
|
122
|
+
NativeUI.o(this.o, this.c.kz);
|
|
123
|
+
this.o.setAttribute("id", this.c.hy);
|
|
124
|
+
this.ay();
|
|
125
|
+
this.i.add(c.listen("change", runOn(this, this.aa)));
|
|
126
|
+
this.i.add(c.listen("click", runOn(this, this.ab)));
|
|
127
|
+
this.i.add(c.listen("focus", runOn(this, this.ac)));
|
|
128
|
+
this.i.add(c.listen("blur", runOn(this, this.z)));
|
|
129
|
+
this.i.add(this.l.rootWrapper.listen("mouseenter", runOn(this, this.w)));
|
|
130
|
+
this.i.add(this.l.rootWrapper.listen("mouseleave", runOn(this, this.x)));
|
|
131
|
+
this.i.add(this.l.rootWrapper.listen("mousedown", runOn(this, this.v)));
|
|
132
|
+
this.i.add(this.l.rootWrapper.listen("mouseup", runOn(this, this.y)));
|
|
133
|
+
this.i.add(this.l.rootWrapper.listen("focusin", runOn(this, this.ad)));
|
|
134
|
+
this.i.add(this.l.rootWrapper.listen("focusout", runOn(this, this.ae)));
|
|
135
|
+
this.l.append(c);
|
|
136
|
+
var d = this.l.createElement("div");
|
|
137
|
+
var e = this.l.getSubRenderer(d);
|
|
138
138
|
d.setStyleProperty("position", "absolute");
|
|
139
139
|
d.setStyleProperty("width", "100%");
|
|
140
140
|
d.setStyleProperty("height", "100%");
|
|
@@ -144,40 +144,40 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
144
144
|
var f = new XRipple();
|
|
145
145
|
f.provideContainer(e);
|
|
146
146
|
f.q = c;
|
|
147
|
-
var g = this.
|
|
147
|
+
var g = this.l.getExternal(f, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
|
|
148
148
|
f.h = false;
|
|
149
149
|
f.k = true;
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
var h = this.
|
|
150
|
+
this.d = f;
|
|
151
|
+
this.o.append(d);
|
|
152
|
+
var h = this.l.createElement("div");
|
|
153
153
|
h.addClass("ig-button-content");
|
|
154
154
|
h.setStyleProperty("font-family", "Verdana");
|
|
155
155
|
h.setStyleProperty("font-weight", "400");
|
|
156
156
|
h.setStyleProperty("font-size", ".875rem");
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
157
|
+
this.n = h;
|
|
158
|
+
this.i.add(h.listen("click", runOn(this, this.u)));
|
|
159
|
+
this.o.append(h);
|
|
160
|
+
this.p = h;
|
|
161
|
+
this.l.getPortal(h, "ChildContent", function (i) {
|
|
162
162
|
var comp_ = i.componentRef;
|
|
163
|
-
_this.
|
|
163
|
+
_this.q = comp_;
|
|
164
164
|
{
|
|
165
|
-
_this.
|
|
166
|
-
_this.
|
|
167
|
-
var direction_ = _this.
|
|
168
|
-
var display_ = _this.
|
|
169
|
-
var alignItems_ = _this.
|
|
165
|
+
_this.p.setStyleProperty("flex-direction", _this.c.g4);
|
|
166
|
+
_this.p.setStyleProperty("align-items", _this.c.fb);
|
|
167
|
+
var direction_ = _this.c.g4;
|
|
168
|
+
var display_ = _this.c.fj != null ? _this.c.fj : _this.c.f0;
|
|
169
|
+
var alignItems_ = _this.c.fb;
|
|
170
170
|
comp_.display = display_;
|
|
171
171
|
comp_.flexDirection = direction_;
|
|
172
172
|
comp_.alignItems = alignItems_;
|
|
173
173
|
}
|
|
174
174
|
}, true);
|
|
175
|
-
this.
|
|
175
|
+
this.c.kl();
|
|
176
176
|
};
|
|
177
|
-
ButtonView.prototype.
|
|
178
|
-
this.
|
|
177
|
+
ButtonView.prototype.an = function () {
|
|
178
|
+
this.d.i = this.c.as;
|
|
179
179
|
};
|
|
180
|
-
ButtonView.prototype.
|
|
180
|
+
ButtonView.prototype.a1 = function () {
|
|
181
181
|
var a = "2.25rem";
|
|
182
182
|
var b = "2.25rem";
|
|
183
183
|
var c = "2.25rem";
|
|
@@ -191,7 +191,7 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
191
191
|
var k = "0px";
|
|
192
192
|
var l = ".9375rem";
|
|
193
193
|
var m = ".5625rem 1rem";
|
|
194
|
-
switch (this.
|
|
194
|
+
switch (this.c.q) {
|
|
195
195
|
case 2:
|
|
196
196
|
m = ".375rem .75rem";
|
|
197
197
|
j = "1.875rem";
|
|
@@ -224,130 +224,130 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
224
224
|
c = "1rem";
|
|
225
225
|
break;
|
|
226
226
|
}
|
|
227
|
-
if (!isNaN_(this.
|
|
228
|
-
m = this.
|
|
227
|
+
if (!isNaN_(this.c.bm) && !isNaN_(this.c.bo) && !isNaN_(this.c.bn) && !isNaN_(this.c.bl)) {
|
|
228
|
+
m = this.c.bo + "px " + this.c.bn + "px " + this.c.bl + "px " + this.c.bm + "px";
|
|
229
229
|
}
|
|
230
|
-
if (this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
230
|
+
if (this.c.e == 4) {
|
|
231
|
+
this.o.setStyleProperty("min-width", a);
|
|
232
|
+
this.o.setStyleProperty("min-height", b);
|
|
233
|
+
this.o.setStyleProperty("padding", k);
|
|
234
|
+
this.o.setStyleProperty("width", c);
|
|
235
|
+
this.o.setStyleProperty("height", d);
|
|
236
236
|
}
|
|
237
|
-
else if (this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
237
|
+
else if (this.c.e == 3) {
|
|
238
|
+
this.o.setStyleProperty("min-width", e);
|
|
239
|
+
this.o.setStyleProperty("min-height", f);
|
|
240
|
+
this.o.setStyleProperty("padding", l);
|
|
241
|
+
this.o.setStyleProperty("width", g);
|
|
242
|
+
this.o.setStyleProperty("height", h);
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
245
|
+
this.o.setStyleProperty("width", "auto");
|
|
246
|
+
this.o.setStyleProperty("height", "auto");
|
|
247
|
+
this.o.setStyleProperty("min-width", i);
|
|
248
|
+
this.o.setStyleProperty("min-height", j);
|
|
249
|
+
this.o.setStyleProperty("padding", m);
|
|
250
250
|
}
|
|
251
|
-
this.
|
|
252
|
-
if (!isNaN_(this.
|
|
253
|
-
this.
|
|
251
|
+
this.l.rootWrapper.setStyleProperty("height", "auto");
|
|
252
|
+
if (!isNaN_(this.c.bj) && this.c.bj > 0) {
|
|
253
|
+
this.o.setStyleProperty("border-style", "solid");
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
256
|
-
this.
|
|
256
|
+
this.o.setStyleProperty("border-style", "none");
|
|
257
257
|
}
|
|
258
|
-
if (!isNaN_(this.
|
|
259
|
-
this.
|
|
258
|
+
if (!isNaN_(this.k)) {
|
|
259
|
+
this.o.setStyleProperty("min-width", this.k.toString() + "px");
|
|
260
260
|
}
|
|
261
|
-
if (!isNaN_(this.
|
|
262
|
-
this.
|
|
261
|
+
if (!isNaN_(this.j)) {
|
|
262
|
+
this.o.setStyleProperty("min-height", this.j.toString() + "px");
|
|
263
263
|
}
|
|
264
|
-
if (this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
264
|
+
if (this.c.ay) {
|
|
265
|
+
this.o.setStyleProperty("width", "100%");
|
|
266
|
+
this.o.setStyleProperty("height", "100%");
|
|
267
|
+
this.l.rootWrapper.setStyleProperty("height", "100%");
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
|
-
ButtonView.prototype.
|
|
271
|
-
switch (this.
|
|
270
|
+
ButtonView.prototype.av = function () {
|
|
271
|
+
switch (this.c.le) {
|
|
272
272
|
case 1:
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
273
|
+
this.o.setStyleProperty("justify-content", "center");
|
|
274
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
275
275
|
break;
|
|
276
276
|
case 3:
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
277
|
+
this.o.setStyleProperty("justify-content", "stretch");
|
|
278
|
+
this.p.setStyleProperty("flex-grow", "1");
|
|
279
279
|
break;
|
|
280
280
|
case 0:
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
281
|
+
this.o.setStyleProperty("justify-content", "left");
|
|
282
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
283
283
|
break;
|
|
284
284
|
case 2:
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
285
|
+
this.o.setStyleProperty("justify-content", "right");
|
|
286
|
+
this.p.setStyleProperty("flex-grow", "unset");
|
|
287
287
|
break;
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
+
ButtonView.prototype.ax = function (a) {
|
|
291
|
+
this.k = a;
|
|
292
|
+
};
|
|
290
293
|
ButtonView.prototype.aw = function (a) {
|
|
291
294
|
this.j = a;
|
|
292
295
|
};
|
|
293
|
-
ButtonView.prototype.
|
|
294
|
-
this.
|
|
295
|
-
|
|
296
|
-
ButtonView.prototype.as = function () {
|
|
297
|
-
this.n.setAttribute("disabled", this.b.disabled ? "true" : "false");
|
|
298
|
-
this.n.setProperty("disabled", this.b.disabled);
|
|
296
|
+
ButtonView.prototype.at = function () {
|
|
297
|
+
this.o.setAttribute("disabled", this.c.disabled ? "true" : "false");
|
|
298
|
+
this.o.setProperty("disabled", this.c.disabled);
|
|
299
299
|
};
|
|
300
|
-
ButtonView.prototype.
|
|
301
|
-
if (this.
|
|
302
|
-
this.
|
|
303
|
-
var comp_ = this.
|
|
304
|
-
if (this.
|
|
305
|
-
this.
|
|
306
|
-
var display_ = this.
|
|
300
|
+
ButtonView.prototype.ao = function () {
|
|
301
|
+
if (this.l != null) {
|
|
302
|
+
this.l.rootWrapper.setStyleProperty("display", this.c.f0);
|
|
303
|
+
var comp_ = this.q;
|
|
304
|
+
if (this.q != null) {
|
|
305
|
+
this.p.setStyleProperty("display", this.c.f0);
|
|
306
|
+
var display_ = this.c.fj != null ? this.c.f0 : this.c.fj;
|
|
307
307
|
comp_.display = display_;
|
|
308
308
|
}
|
|
309
|
-
var ext_ = this.
|
|
309
|
+
var ext_ = this.l.getExternal(this.c, null, null);
|
|
310
310
|
if (ext_ && ext_._onDisplayChanged) {
|
|
311
311
|
ext_._onDisplayChanged();
|
|
312
312
|
}
|
|
313
313
|
;
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
ButtonView.prototype.
|
|
317
|
-
if (this.
|
|
318
|
-
var comp_ = this.
|
|
319
|
-
if (this.
|
|
320
|
-
var display_ = this.
|
|
316
|
+
ButtonView.prototype.ak = function () {
|
|
317
|
+
if (this.l != null) {
|
|
318
|
+
var comp_ = this.q;
|
|
319
|
+
if (this.q != null) {
|
|
320
|
+
var display_ = this.c.fj != null ? this.c.fj : this.c.f0;
|
|
321
321
|
comp_.display = display_;
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
|
-
ButtonView.prototype.
|
|
326
|
-
if (this.
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
329
|
-
var comp_ = this.
|
|
330
|
-
if (this.
|
|
331
|
-
this.
|
|
332
|
-
var alignItems_ = this.
|
|
325
|
+
ButtonView.prototype.ai = function () {
|
|
326
|
+
if (this.l != null) {
|
|
327
|
+
this.l.rootWrapper.setStyleProperty("align-items", this.c.fb);
|
|
328
|
+
this.o.setStyleProperty("align-items", this.c.fb);
|
|
329
|
+
var comp_ = this.q;
|
|
330
|
+
if (this.q != null) {
|
|
331
|
+
this.p.setStyleProperty("align-items", this.c.fb);
|
|
332
|
+
var alignItems_ = this.c.fb;
|
|
333
333
|
comp_.alignItems = alignItems_;
|
|
334
334
|
}
|
|
335
|
-
var ext_ = this.
|
|
335
|
+
var ext_ = this.l.getExternal(this.c, null, null);
|
|
336
336
|
if (ext_ && ext_._onAlignItemsChanged) {
|
|
337
337
|
ext_._onAlignItemsChanged();
|
|
338
338
|
}
|
|
339
339
|
;
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
|
-
ButtonView.prototype.
|
|
343
|
-
if (this.
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
var ext_ = this.
|
|
347
|
-
var comp_ = this.
|
|
348
|
-
if (this.
|
|
349
|
-
this.
|
|
350
|
-
var direction_ = this.
|
|
342
|
+
ButtonView.prototype.ap = function () {
|
|
343
|
+
if (this.l != null) {
|
|
344
|
+
this.l.rootWrapper.setStyleProperty("flex-direction", this.c.g4);
|
|
345
|
+
this.o.setStyleProperty("flex-direction", this.c.g4);
|
|
346
|
+
var ext_ = this.l.getExternal(this.c, null, null);
|
|
347
|
+
var comp_ = this.q;
|
|
348
|
+
if (this.q != null) {
|
|
349
|
+
this.p.setStyleProperty("flex-direction", this.c.g4);
|
|
350
|
+
var direction_ = this.c.g4;
|
|
351
351
|
comp_.flexDirection = direction_;
|
|
352
352
|
}
|
|
353
353
|
if (ext_ && ext_._onFlexDirectionChanged) {
|
|
@@ -356,114 +356,114 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
356
356
|
;
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
ButtonView.prototype.
|
|
360
|
-
if (this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
var ext_ = this.
|
|
359
|
+
ButtonView.prototype.aq = function () {
|
|
360
|
+
if (this.l != null) {
|
|
361
|
+
this.l.rootWrapper.setStyleProperty("flex-grow", this.c.g6);
|
|
362
|
+
this.o.setStyleProperty("flex-grow", this.c.g6);
|
|
363
|
+
var ext_ = this.l.getExternal(this.c, null, null);
|
|
364
364
|
if (ext_ && ext_._onFlexGrowChanged) {
|
|
365
365
|
ext_._onFlexGrowChanged();
|
|
366
366
|
}
|
|
367
367
|
;
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
|
-
ButtonView.prototype.
|
|
370
|
+
ButtonView.prototype.u = function (a) {
|
|
371
371
|
};
|
|
372
|
-
ButtonView.prototype.
|
|
373
|
-
if (this.
|
|
374
|
-
var a = this.
|
|
375
|
-
this.
|
|
376
|
-
this.
|
|
377
|
-
if (this.
|
|
378
|
-
this.
|
|
372
|
+
ButtonView.prototype.ay = function () {
|
|
373
|
+
if (this.h()) {
|
|
374
|
+
var a = this.c.hy;
|
|
375
|
+
this.o.setAttribute("name", this.c.h6);
|
|
376
|
+
this.o.setProperty("value", this.c.ee);
|
|
377
|
+
if (this.c.az) {
|
|
378
|
+
this.o.setAttribute("tabindex", this.c.d7.toString());
|
|
379
379
|
}
|
|
380
|
-
this.
|
|
380
|
+
this.o.setProperty("disabled", this.c.disabled);
|
|
381
381
|
{
|
|
382
382
|
}
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
383
|
+
this.o.setAttribute("aria-label", this.c.fd);
|
|
384
|
+
this.o.setStyleProperty("cursor", !this.c.av ? "pointer" : "unset");
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
|
-
ButtonView.prototype.
|
|
388
|
-
if (this.
|
|
389
|
-
var a = this.
|
|
390
|
-
this.
|
|
387
|
+
ButtonView.prototype.as = function () {
|
|
388
|
+
if (this.h()) {
|
|
389
|
+
var a = this.c.hy;
|
|
390
|
+
this.o.setAttribute("id", a);
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
|
-
ButtonView.prototype.
|
|
394
|
-
this.
|
|
395
|
-
if (this.
|
|
393
|
+
ButtonView.prototype.w = function (a) {
|
|
394
|
+
this.c.kh();
|
|
395
|
+
if (this.c.a5) {
|
|
396
396
|
a.stopPropagation();
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
|
-
ButtonView.prototype.
|
|
400
|
-
this.
|
|
401
|
-
if (this.
|
|
399
|
+
ButtonView.prototype.x = function (a) {
|
|
400
|
+
this.c.ki();
|
|
401
|
+
if (this.c.a5) {
|
|
402
402
|
a.stopPropagation();
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
|
-
ButtonView.prototype.
|
|
406
|
-
this.
|
|
407
|
-
if (this.
|
|
405
|
+
ButtonView.prototype.v = function (a) {
|
|
406
|
+
this.c.kg();
|
|
407
|
+
if (this.c.a5) {
|
|
408
408
|
a.stopPropagation();
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
|
-
ButtonView.prototype.
|
|
412
|
-
this.
|
|
413
|
-
if (this.
|
|
411
|
+
ButtonView.prototype.y = function (a) {
|
|
412
|
+
this.c.kj();
|
|
413
|
+
if (this.c.a5) {
|
|
414
414
|
a.stopPropagation();
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
|
-
ButtonView.prototype.
|
|
418
|
-
this.
|
|
417
|
+
ButtonView.prototype.z = function (a) {
|
|
418
|
+
this.c.ka();
|
|
419
419
|
};
|
|
420
|
-
ButtonView.prototype.
|
|
421
|
-
this.
|
|
420
|
+
ButtonView.prototype.ac = function (a) {
|
|
421
|
+
this.c.kd();
|
|
422
422
|
};
|
|
423
|
-
ButtonView.prototype.
|
|
424
|
-
this.
|
|
425
|
-
if (!this.
|
|
423
|
+
ButtonView.prototype.ab = function (a) {
|
|
424
|
+
this.c.kb();
|
|
425
|
+
if (!this.c.at) {
|
|
426
426
|
a.preventDefault();
|
|
427
427
|
}
|
|
428
|
-
if (this.
|
|
428
|
+
if (this.c.a5) {
|
|
429
429
|
a.stopPropagation();
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
|
-
ButtonView.prototype.ac = function (a) {
|
|
433
|
-
this.b.ke();
|
|
434
|
-
};
|
|
435
432
|
ButtonView.prototype.ad = function (a) {
|
|
436
|
-
this.
|
|
433
|
+
this.c.ke();
|
|
434
|
+
};
|
|
435
|
+
ButtonView.prototype.ae = function (a) {
|
|
436
|
+
this.c.kf(a.originalEvent.relatedTarget, a.originalEvent.target);
|
|
437
437
|
};
|
|
438
|
-
ButtonView.prototype.
|
|
438
|
+
ButtonView.prototype.g = function () {
|
|
439
439
|
return false;
|
|
440
440
|
};
|
|
441
|
-
ButtonView.prototype.
|
|
441
|
+
ButtonView.prototype.aa = function (a) {
|
|
442
442
|
};
|
|
443
|
-
ButtonView.prototype.
|
|
443
|
+
ButtonView.prototype.ah = function () {
|
|
444
444
|
if (KeyFrameAnimationFactory.h == null) {
|
|
445
|
-
KeyFrameAnimationFactory.h = this.
|
|
445
|
+
KeyFrameAnimationFactory.h = this.l;
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
|
-
ButtonView.prototype.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
};
|
|
462
|
-
ButtonView.prototype.
|
|
448
|
+
ButtonView.prototype.aj = function () {
|
|
449
|
+
this.f = true;
|
|
450
|
+
this.i.add(this.o.listen("change", runOn(this, this.aa)));
|
|
451
|
+
this.i.add(this.o.listen("click", runOn(this, this.ab)));
|
|
452
|
+
this.i.add(this.o.listen("focus", runOn(this, this.ac)));
|
|
453
|
+
this.i.add(this.o.listen("blur", runOn(this, this.z)));
|
|
454
|
+
this.i.add(this.n.listen("click", runOn(this, this.u)));
|
|
455
|
+
this.i.add(this.o.listen("mouseenter", runOn(this, this.w)));
|
|
456
|
+
this.i.add(this.o.listen("mouseleave", runOn(this, this.x)));
|
|
457
|
+
this.i.add(this.o.listen("mousedown", runOn(this, this.v)));
|
|
458
|
+
this.i.add(this.o.listen("mouseup", runOn(this, this.y)));
|
|
459
|
+
this.i.add(this.o.listen("focusin", runOn(this, this.ad)));
|
|
460
|
+
this.i.add(this.o.listen("focusout", runOn(this, this.ae)));
|
|
461
|
+
};
|
|
462
|
+
ButtonView.prototype.am = function () {
|
|
463
463
|
var e_2, _a;
|
|
464
|
-
this.
|
|
464
|
+
this.f = false;
|
|
465
465
|
try {
|
|
466
|
-
for (var _b = __values(fromEnum(this.
|
|
466
|
+
for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
467
467
|
var a = _c.value;
|
|
468
468
|
a();
|
|
469
469
|
}
|
|
@@ -481,39 +481,39 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
481
481
|
throw e_2.error;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
this.
|
|
484
|
+
this.i.clear();
|
|
485
485
|
};
|
|
486
|
-
ButtonView.prototype.
|
|
487
|
-
var model_ = this.
|
|
486
|
+
ButtonView.prototype.au = function () {
|
|
487
|
+
var model_ = this.c;
|
|
488
488
|
if (model_.externalObject && model_.externalObject.refreshDefaults) {
|
|
489
489
|
model_.externalObject.refreshDefaults();
|
|
490
490
|
}
|
|
491
491
|
;
|
|
492
492
|
};
|
|
493
|
-
ButtonView.prototype.ay = function (a, b) {
|
|
494
|
-
this.c.ax = a;
|
|
495
|
-
this.c.aw = b;
|
|
496
|
-
};
|
|
497
493
|
ButtonView.prototype.az = function (a, b) {
|
|
498
|
-
|
|
499
|
-
this.
|
|
494
|
+
this.d.ax = a;
|
|
495
|
+
this.d.aw = b;
|
|
496
|
+
};
|
|
497
|
+
ButtonView.prototype.a0 = function (a, b) {
|
|
498
|
+
var c = ElevationHelper.e(a, this.c.n0, this.c.nx, this.c.nn, b);
|
|
499
|
+
this.o.setStyleProperty("box-shadow", c);
|
|
500
500
|
};
|
|
501
|
-
ButtonView.prototype.
|
|
501
|
+
ButtonView.prototype.a2 = function (a) {
|
|
502
502
|
if (a != null) {
|
|
503
|
-
this.
|
|
503
|
+
this.n.setStyleProperty("font", a.fontString);
|
|
504
504
|
}
|
|
505
505
|
};
|
|
506
|
-
ButtonView.prototype.
|
|
507
|
-
this.
|
|
506
|
+
ButtonView.prototype.af = function (a) {
|
|
507
|
+
this.n.append(a);
|
|
508
508
|
};
|
|
509
|
-
ButtonView.prototype.
|
|
510
|
-
this.
|
|
509
|
+
ButtonView.prototype.ag = function () {
|
|
510
|
+
this.n.removeChildren();
|
|
511
511
|
};
|
|
512
|
-
ButtonView.prototype.
|
|
513
|
-
return this.
|
|
512
|
+
ButtonView.prototype.s = function () {
|
|
513
|
+
return this.n.getChildCount() > 0 ? this.n.getChildAt(0) : null;
|
|
514
514
|
};
|
|
515
|
-
ButtonView.prototype.
|
|
516
|
-
var rect_ = this.
|
|
515
|
+
ButtonView.prototype.b = function () {
|
|
516
|
+
var rect_ = this.l.rootWrapper.getNativeElement().getBoundingClientRect();
|
|
517
517
|
var a = (rect_.top);
|
|
518
518
|
var b = (rect_.left);
|
|
519
519
|
var c = new Array(2);
|
|
@@ -521,6 +521,12 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
521
521
|
c[1] = b;
|
|
522
522
|
return c;
|
|
523
523
|
};
|
|
524
|
+
ButtonView.prototype.a = function () {
|
|
525
|
+
var a = new Array(2);
|
|
526
|
+
a[0] = NativeUI.k(this.r);
|
|
527
|
+
a[1] = NativeUI.d(this.r);
|
|
528
|
+
return a;
|
|
529
|
+
};
|
|
524
530
|
ButtonView.$t = markType(ButtonView, 'ButtonView');
|
|
525
531
|
return ButtonView;
|
|
526
532
|
}(Base));
|
|
@@ -793,9 +799,9 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
793
799
|
_this.gotFocus = null;
|
|
794
800
|
_this.lostFocus = null;
|
|
795
801
|
var a = new ButtonView();
|
|
796
|
-
a.
|
|
802
|
+
a.c = _this;
|
|
797
803
|
_this.view = a;
|
|
798
|
-
_this.view.
|
|
804
|
+
_this.view.ar();
|
|
799
805
|
return _this;
|
|
800
806
|
}
|
|
801
807
|
Object.defineProperty(XButton.prototype, "view", {
|
|
@@ -931,7 +937,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
931
937
|
case "IsDisabled":
|
|
932
938
|
this.as = this.disabled || this.aw;
|
|
933
939
|
this.kq();
|
|
934
|
-
this.view.
|
|
940
|
+
this.view.at();
|
|
935
941
|
this.kp();
|
|
936
942
|
break;
|
|
937
943
|
case "DisableRipple":
|
|
@@ -943,7 +949,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
943
949
|
this.kp();
|
|
944
950
|
break;
|
|
945
951
|
case "ActualDisableRipple":
|
|
946
|
-
this.view.
|
|
952
|
+
this.view.an();
|
|
947
953
|
break;
|
|
948
954
|
case "ActualBackgroundColor":
|
|
949
955
|
case "ActualDisabledBackgroundColor":
|
|
@@ -966,11 +972,11 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
966
972
|
if (this.e == 4) {
|
|
967
973
|
this.ko();
|
|
968
974
|
}
|
|
969
|
-
this.view.
|
|
975
|
+
this.view.a1();
|
|
970
976
|
this.kp();
|
|
971
977
|
break;
|
|
972
978
|
case "DisplayType":
|
|
973
|
-
this.view.
|
|
979
|
+
this.view.a1();
|
|
974
980
|
this.kq();
|
|
975
981
|
this.kp();
|
|
976
982
|
break;
|
|
@@ -979,43 +985,43 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
979
985
|
case "ContentPaddingRight":
|
|
980
986
|
case "ContentPaddingBottom":
|
|
981
987
|
case "FillAvailableSpace":
|
|
982
|
-
this.view.
|
|
988
|
+
this.view.a1();
|
|
983
989
|
break;
|
|
984
990
|
case "HorizontalContentAlignment":
|
|
985
991
|
case "VerticalContentAlignment":
|
|
986
|
-
this.view.
|
|
992
|
+
this.view.av();
|
|
987
993
|
break;
|
|
988
994
|
case "InputId":
|
|
989
|
-
this.view.
|
|
995
|
+
this.view.as();
|
|
990
996
|
break;
|
|
991
997
|
case "Display":
|
|
992
|
-
this.view.
|
|
998
|
+
this.view.ao();
|
|
993
999
|
break;
|
|
994
1000
|
case "ChildContentDisplay":
|
|
995
|
-
this.view.
|
|
1001
|
+
this.view.ak();
|
|
996
1002
|
break;
|
|
997
1003
|
case "FlexDirection":
|
|
998
|
-
this.view.
|
|
1004
|
+
this.view.ap();
|
|
999
1005
|
break;
|
|
1000
1006
|
case "FlexGrow":
|
|
1001
|
-
this.view.
|
|
1007
|
+
this.view.aq();
|
|
1002
1008
|
break;
|
|
1003
1009
|
case "AlignItems":
|
|
1004
|
-
this.view.
|
|
1010
|
+
this.view.ai();
|
|
1005
1011
|
break;
|
|
1006
1012
|
case "TabIndex":
|
|
1007
|
-
this.view.
|
|
1013
|
+
this.view.ay();
|
|
1008
1014
|
break;
|
|
1009
1015
|
case "DisablePointer":
|
|
1010
|
-
this.view.
|
|
1016
|
+
this.view.ay();
|
|
1011
1017
|
break;
|
|
1012
1018
|
case "MinWidth":
|
|
1013
|
-
this.view.
|
|
1014
|
-
this.view.
|
|
1019
|
+
this.view.ax(this.by);
|
|
1020
|
+
this.view.a1();
|
|
1015
1021
|
break;
|
|
1016
1022
|
case "MinHeight":
|
|
1017
|
-
this.view.
|
|
1018
|
-
this.view.
|
|
1023
|
+
this.view.aw(this.bx);
|
|
1024
|
+
this.view.a1();
|
|
1019
1025
|
break;
|
|
1020
1026
|
}
|
|
1021
1027
|
};
|
|
@@ -1199,7 +1205,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1199
1205
|
}
|
|
1200
1206
|
};
|
|
1201
1207
|
XButton.prototype.kp = function () {
|
|
1202
|
-
var a = this.view.
|
|
1208
|
+
var a = this.view.r;
|
|
1203
1209
|
if (a == null) {
|
|
1204
1210
|
return;
|
|
1205
1211
|
}
|
|
@@ -1209,17 +1215,17 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1209
1215
|
NativeUI.p(a, new Thickness(0, this.bj));
|
|
1210
1216
|
}
|
|
1211
1217
|
if (this.disabled) {
|
|
1212
|
-
this.view.
|
|
1218
|
+
this.view.a0(this.cu, this.u);
|
|
1213
1219
|
}
|
|
1214
1220
|
else if (this.focused && this.a2) {
|
|
1215
|
-
this.view.
|
|
1221
|
+
this.view.a0(this.cv, this.u);
|
|
1216
1222
|
}
|
|
1217
1223
|
else {
|
|
1218
1224
|
if (this.a3 && !this.au) {
|
|
1219
|
-
this.view.
|
|
1225
|
+
this.view.a0(this.cw, this.u);
|
|
1220
1226
|
}
|
|
1221
1227
|
else {
|
|
1222
|
-
this.view.
|
|
1228
|
+
this.view.a0(this.cx, this.u);
|
|
1223
1229
|
}
|
|
1224
1230
|
}
|
|
1225
1231
|
if (this.disabled) {
|
|
@@ -1236,26 +1242,26 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1236
1242
|
NativeUI.m(a, this.no);
|
|
1237
1243
|
}
|
|
1238
1244
|
}
|
|
1239
|
-
this.view.
|
|
1245
|
+
this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
|
|
1240
1246
|
if (this.aa != null) {
|
|
1241
|
-
this.view.
|
|
1247
|
+
this.view.a2(this.aa);
|
|
1242
1248
|
}
|
|
1243
1249
|
if (this.disabled) {
|
|
1244
|
-
NativeUI.q(this.view.
|
|
1245
|
-
NativeUI.r(this.view.
|
|
1250
|
+
NativeUI.q(this.view.t, this.ns);
|
|
1251
|
+
NativeUI.r(this.view.t, this.ns);
|
|
1246
1252
|
}
|
|
1247
1253
|
else if (this.focused && this.a2) {
|
|
1248
|
-
NativeUI.q(this.view.
|
|
1249
|
-
NativeUI.r(this.view.
|
|
1254
|
+
NativeUI.q(this.view.t, this.nu);
|
|
1255
|
+
NativeUI.r(this.view.t, this.nu);
|
|
1250
1256
|
}
|
|
1251
1257
|
else {
|
|
1252
1258
|
if (this.a3 && !this.au) {
|
|
1253
|
-
NativeUI.q(this.view.
|
|
1254
|
-
NativeUI.r(this.view.
|
|
1259
|
+
NativeUI.q(this.view.t, this.nw);
|
|
1260
|
+
NativeUI.r(this.view.t, this.nw);
|
|
1255
1261
|
}
|
|
1256
1262
|
else {
|
|
1257
|
-
NativeUI.q(this.view.
|
|
1258
|
-
NativeUI.r(this.view.
|
|
1263
|
+
NativeUI.q(this.view.t, this.nz);
|
|
1264
|
+
NativeUI.r(this.view.t, this.nz);
|
|
1259
1265
|
}
|
|
1260
1266
|
}
|
|
1261
1267
|
};
|
|
@@ -3600,7 +3606,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3600
3606
|
});
|
|
3601
3607
|
XButton.prototype.kl = function () {
|
|
3602
3608
|
this.j8();
|
|
3603
|
-
this.view.
|
|
3609
|
+
this.view.az(this.ny, BrushUtil.j(0, 0, 0, 0));
|
|
3604
3610
|
this.kp();
|
|
3605
3611
|
};
|
|
3606
3612
|
Object.defineProperty(XButton.prototype, "a", {
|
|
@@ -3614,25 +3620,25 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3614
3620
|
configurable: true
|
|
3615
3621
|
});
|
|
3616
3622
|
XButton.prototype.j8 = function () {
|
|
3617
|
-
this.view.
|
|
3623
|
+
this.view.ah();
|
|
3618
3624
|
};
|
|
3619
3625
|
XButton.prototype.onDetachedFromUI = function () {
|
|
3620
|
-
this.view.
|
|
3626
|
+
this.view.am();
|
|
3621
3627
|
};
|
|
3622
3628
|
XButton.prototype.onAttachedToUI = function () {
|
|
3623
|
-
this.view.
|
|
3629
|
+
this.view.aj();
|
|
3624
3630
|
};
|
|
3625
3631
|
XButton.prototype.appendButtonContent = function (a) {
|
|
3626
|
-
this.view.
|
|
3632
|
+
this.view.af(a);
|
|
3627
3633
|
};
|
|
3628
3634
|
XButton.prototype.clearButtonContent = function () {
|
|
3629
|
-
this.view.
|
|
3635
|
+
this.view.ag();
|
|
3630
3636
|
};
|
|
3631
3637
|
XButton.prototype.getButtonContent = function () {
|
|
3632
|
-
return this.view.
|
|
3638
|
+
return this.view.s();
|
|
3633
3639
|
};
|
|
3634
3640
|
XButton.prototype.a4 = function () {
|
|
3635
|
-
return this.view.
|
|
3641
|
+
return this.view.h();
|
|
3636
3642
|
};
|
|
3637
3643
|
XButton.prototype.eb = function () {
|
|
3638
3644
|
return this.b();
|
|
@@ -3642,14 +3648,15 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3642
3648
|
return a.serialize();
|
|
3643
3649
|
};
|
|
3644
3650
|
XButton.prototype.b = function () {
|
|
3645
|
-
var a = this.view.
|
|
3646
|
-
var b = this.view.
|
|
3651
|
+
var a = this.view.r;
|
|
3652
|
+
var b = this.view.t;
|
|
3647
3653
|
var c = new ButtonVisualModelExport();
|
|
3648
|
-
var d = this.view.
|
|
3654
|
+
var d = this.view.b();
|
|
3649
3655
|
c.s = d[0];
|
|
3650
3656
|
c.q = d[1];
|
|
3651
|
-
|
|
3652
|
-
c.t =
|
|
3657
|
+
var e = this.view.a();
|
|
3658
|
+
c.t = e[0];
|
|
3659
|
+
c.p = e[1];
|
|
3653
3660
|
c.h = this.n;
|
|
3654
3661
|
c.i = this.q;
|
|
3655
3662
|
c.c = AppearanceHelper.a(NativeUI.ak(a));
|
|
@@ -3667,44 +3674,44 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3667
3674
|
c.y = this.g4;
|
|
3668
3675
|
c.z = this.g6;
|
|
3669
3676
|
c.w = this.fb;
|
|
3670
|
-
c.v = this.view.
|
|
3677
|
+
c.v = this.view.t.getNativeElement().innerText;
|
|
3671
3678
|
c.aa = this.h6;
|
|
3672
3679
|
c.m = this.focused;
|
|
3673
3680
|
c.k = this.as;
|
|
3674
3681
|
c.n = this.a3;
|
|
3675
3682
|
c.l = this.disabled;
|
|
3676
3683
|
if (this.aa != null) {
|
|
3677
|
-
var
|
|
3678
|
-
if (this.view != null &&
|
|
3679
|
-
var
|
|
3680
|
-
var
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3684
|
+
var f = this.aa;
|
|
3685
|
+
if (this.view != null && f.q == null) {
|
|
3686
|
+
var g = this.view.l;
|
|
3687
|
+
var h = FontUtil.getFontInfoFromString(g, f.fontString);
|
|
3688
|
+
f.q = h.q;
|
|
3689
|
+
f.f = h.f;
|
|
3690
|
+
f.r = h.r;
|
|
3691
|
+
f.t = h.t;
|
|
3692
|
+
f.u = h.u;
|
|
3693
|
+
f.v = h.v;
|
|
3687
3694
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
c.ab =
|
|
3695
|
+
if (f.q != null) {
|
|
3696
|
+
c.ab = f.q;
|
|
3690
3697
|
}
|
|
3691
|
-
if (!isNaN_(
|
|
3692
|
-
c.r =
|
|
3698
|
+
if (!isNaN_(f.f)) {
|
|
3699
|
+
c.r = f.f;
|
|
3693
3700
|
}
|
|
3694
|
-
if (
|
|
3695
|
-
c.af =
|
|
3701
|
+
if (f.v != null) {
|
|
3702
|
+
c.af = f.v;
|
|
3696
3703
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
c.ad =
|
|
3704
|
+
if (f.t != null) {
|
|
3705
|
+
c.ad = f.t;
|
|
3699
3706
|
}
|
|
3700
|
-
if (
|
|
3701
|
-
c.ac =
|
|
3707
|
+
if (f.r != null) {
|
|
3708
|
+
c.ac = f.t;
|
|
3702
3709
|
}
|
|
3703
3710
|
}
|
|
3704
3711
|
return c;
|
|
3705
3712
|
};
|
|
3706
3713
|
XButton.prototype.provideContainer = function (a) {
|
|
3707
|
-
this.view.
|
|
3714
|
+
this.view.al(a);
|
|
3708
3715
|
};
|
|
3709
3716
|
XButton.$t = markType(XButton, 'XButton', Base.$, [INotifyPropertyChanged_$type]);
|
|
3710
3717
|
XButton.m = 2;
|