igniteui-webcomponents-inputs 7.0.1 → 7.1.0-alpha.1
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 +198 -197
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/MultiSliderView_combined.js +7 -7
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +180 -180
- package/esm2015/lib/XButtonBridge.js +2 -2
- package/esm2015/lib/XButtonGroupBridge.js +2 -2
- package/esm2015/lib/XComponentBridge.js +2 -1
- package/esm2015/lib/XPopupBridge.js +5 -5
- package/esm5/lib/MultiSliderView_combined.js +7 -7
- package/esm5/lib/NativeUIXInputsFactory_combined.js +180 -180
- package/esm5/lib/XButtonBridge.js +2 -2
- package/esm5/lib/XButtonGroupBridge.js +2 -2
- package/esm5/lib/XComponentBridge.js +2 -1
- package/esm5/lib/XPopupBridge.js +5 -5
- package/fesm2015/igniteui-webcomponents-inputs.js +198 -197
- package/fesm5/igniteui-webcomponents-inputs.js +198 -197
- package/package.json +2 -2
|
@@ -77,7 +77,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
77
77
|
configurable: true
|
|
78
78
|
});
|
|
79
79
|
NativeUIXInputsFactory.m = function () {
|
|
80
|
-
NativeUIComponent.
|
|
80
|
+
NativeUIComponent.at(NativeUIXInputsFactory.b);
|
|
81
81
|
};
|
|
82
82
|
Object.defineProperty(NativeUIXInputsFactory.prototype, "flavor", {
|
|
83
83
|
get: function () {
|
|
@@ -151,7 +151,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
151
151
|
f.inputs.add(j);
|
|
152
152
|
var l = new XInputBridge(f);
|
|
153
153
|
var m = new NativeUIInput();
|
|
154
|
-
m.
|
|
154
|
+
m.ao = d;
|
|
155
155
|
m.d = l;
|
|
156
156
|
b(m);
|
|
157
157
|
};
|
|
@@ -165,7 +165,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
165
165
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
166
166
|
var h = new XButtonBridge(f);
|
|
167
167
|
var i = new NativeUIButton();
|
|
168
|
-
i.
|
|
168
|
+
i.ao = d;
|
|
169
169
|
i.d = h;
|
|
170
170
|
b(i);
|
|
171
171
|
};
|
|
@@ -180,7 +180,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
180
180
|
var h = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
181
181
|
var i = new MultiSliderBridge(f);
|
|
182
182
|
var j = new NativeUISlider();
|
|
183
|
-
j.
|
|
183
|
+
j.ao = d;
|
|
184
184
|
j.d = i;
|
|
185
185
|
b(j);
|
|
186
186
|
};
|
|
@@ -193,7 +193,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
193
193
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
194
194
|
var h = new XButtonGroupBridge(f);
|
|
195
195
|
var i = new NativeUIButtonGroup();
|
|
196
|
-
i.
|
|
196
|
+
i.ao = d;
|
|
197
197
|
i.d = h;
|
|
198
198
|
b(i);
|
|
199
199
|
};
|
|
@@ -206,7 +206,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
206
206
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
207
207
|
var h = new ColorEditorBridge(f);
|
|
208
208
|
var i = new NativeUIColorEditor();
|
|
209
|
-
i.
|
|
209
|
+
i.ao = d;
|
|
210
210
|
i.d = h;
|
|
211
211
|
b(i);
|
|
212
212
|
};
|
|
@@ -219,7 +219,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
219
219
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
220
220
|
var h = new XCheckboxBridge(f);
|
|
221
221
|
var i = new NativeUICheckbox();
|
|
222
|
-
i.
|
|
222
|
+
i.ao = d;
|
|
223
223
|
i.d = h;
|
|
224
224
|
b(i);
|
|
225
225
|
};
|
|
@@ -232,7 +232,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
232
232
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
233
233
|
var h = new XIconBridge(f);
|
|
234
234
|
var i = new NativeUIIcon();
|
|
235
|
-
i.
|
|
235
|
+
i.ao = d;
|
|
236
236
|
i.d = h;
|
|
237
237
|
var j = c.createElement("div");
|
|
238
238
|
var k = c.getSubRenderer(j);
|
|
@@ -243,9 +243,9 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
243
243
|
var m = k.getExternal(l, k.rootWrapper, k.getExternal(l, null, null));
|
|
244
244
|
var n = new XButtonBridge(l);
|
|
245
245
|
var o = new NativeUIButton();
|
|
246
|
-
o.
|
|
246
|
+
o.ao = j;
|
|
247
247
|
o.d = n;
|
|
248
|
-
o.
|
|
248
|
+
o.bp = i;
|
|
249
249
|
b(o);
|
|
250
250
|
};
|
|
251
251
|
NativeUIXInputsFactory.prototype.h = function (a, b) {
|
|
@@ -257,7 +257,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
257
257
|
var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
|
|
258
258
|
var h = new XIconBridge(f);
|
|
259
259
|
var i = new NativeUIIcon();
|
|
260
|
-
i.
|
|
260
|
+
i.ao = d;
|
|
261
261
|
i.d = h;
|
|
262
262
|
b(i);
|
|
263
263
|
};
|
|
@@ -269,7 +269,7 @@ export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
269
269
|
f.provideRenderer(e);
|
|
270
270
|
var g = new XPopupBridge(f);
|
|
271
271
|
var h = new NativeUIPopup();
|
|
272
|
-
h.
|
|
272
|
+
h.ao = d;
|
|
273
273
|
h.d = g;
|
|
274
274
|
b(h);
|
|
275
275
|
};
|
|
@@ -479,7 +479,7 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
479
479
|
ColorEditorPanelView.prototype.bf = function (a) {
|
|
480
480
|
};
|
|
481
481
|
ColorEditorPanelView.prototype.a8 = function (a) {
|
|
482
|
-
this.aa.append(this.aa.getWrapper(a.
|
|
482
|
+
this.aa.append(this.aa.getWrapper(a.ao));
|
|
483
483
|
};
|
|
484
484
|
ColorEditorPanelView.prototype.be = function (a, b, c, d, e, f, g) {
|
|
485
485
|
var h = truncate(Math.round(f * this.a.ab));
|
|
@@ -502,8 +502,8 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
502
502
|
};
|
|
503
503
|
};
|
|
504
504
|
ColorEditorPanelView.prototype.ba = function (a) {
|
|
505
|
-
if (this.ae == null || a.
|
|
506
|
-
a.
|
|
505
|
+
if (this.ae == null || a.ap == null) {
|
|
506
|
+
a.ap = "image";
|
|
507
507
|
var b = this.aa.createElement("canvas");
|
|
508
508
|
this.ae = b;
|
|
509
509
|
var c = this.be(this.ae, this.m, this.l, this.au, this.at, 148, 148);
|
|
@@ -513,7 +513,7 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
513
513
|
this.at = c.p4;
|
|
514
514
|
this.ae.setStyleProperty("justify-self", "center");
|
|
515
515
|
this.ae.setStyleProperty("align-self", "center");
|
|
516
|
-
var d = a.
|
|
516
|
+
var d = a.ao;
|
|
517
517
|
d.append(this.ae);
|
|
518
518
|
this.bm(this.a.ad());
|
|
519
519
|
}
|
|
@@ -547,8 +547,8 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
549
|
ColorEditorPanelView.prototype.a9 = function (a) {
|
|
550
|
-
if (this.ad == null || a.
|
|
551
|
-
a.
|
|
550
|
+
if (this.ad == null || a.ap == null) {
|
|
551
|
+
a.ap = "image";
|
|
552
552
|
var b = this.aa.createElement("canvas");
|
|
553
553
|
this.ad = b;
|
|
554
554
|
var c = this.be(this.ad, this.j, this.h, this.as, this.ar, 248, 19);
|
|
@@ -558,7 +558,7 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
558
558
|
this.ar = c.p4;
|
|
559
559
|
this.ad.setStyleProperty("justify-self", "center");
|
|
560
560
|
this.ad.setStyleProperty("align-self", "center");
|
|
561
|
-
var d = a.
|
|
561
|
+
var d = a.ao;
|
|
562
562
|
d.append(this.ad);
|
|
563
563
|
this.bl(0);
|
|
564
564
|
}
|
|
@@ -592,9 +592,9 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
ColorEditorPanelView.prototype.bb = function (a) {
|
|
595
|
-
var b = a.
|
|
595
|
+
var b = a.ao;
|
|
596
596
|
if (b.getChildCount() == 1) {
|
|
597
|
-
a.
|
|
597
|
+
a.ap = "image";
|
|
598
598
|
var c = this.aa.createElement("canvas");
|
|
599
599
|
this.ah = c;
|
|
600
600
|
var d = this.be(this.ah, this.t, this.p, this.aw, this.av, 85, 148);
|
|
@@ -616,8 +616,8 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
616
616
|
}
|
|
617
617
|
};
|
|
618
618
|
ColorEditorPanelView.prototype.bc = function (a) {
|
|
619
|
-
if (this.ai == null || a.
|
|
620
|
-
a.
|
|
619
|
+
if (this.ai == null || a.ap == null) {
|
|
620
|
+
a.ap = "image";
|
|
621
621
|
var b = this.aa.createElement("canvas");
|
|
622
622
|
this.ai = b;
|
|
623
623
|
var c = this.be(this.ai, this.z, this.v, this.aw, this.av, 25, 148);
|
|
@@ -627,7 +627,7 @@ export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
627
627
|
this.av = c.p4;
|
|
628
628
|
this.ai.setStyleProperty("justify-self", "center");
|
|
629
629
|
this.ai.setStyleProperty("align-self", "center");
|
|
630
|
-
var d = a.
|
|
630
|
+
var d = a.ao;
|
|
631
631
|
d.append(this.ai);
|
|
632
632
|
this.bo(0, 1, 0.5);
|
|
633
633
|
}
|
|
@@ -776,11 +776,11 @@ export var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
776
776
|
return b;
|
|
777
777
|
};
|
|
778
778
|
ColorEditorView.prototype.k = function (a, b) {
|
|
779
|
-
var c = a.
|
|
779
|
+
var c = a.ao;
|
|
780
780
|
c.append(this.h.getWrapper(b));
|
|
781
781
|
};
|
|
782
782
|
ColorEditorView.prototype.l = function (a) {
|
|
783
|
-
this.h.append(this.h.getWrapper(a.
|
|
783
|
+
this.h.append(this.h.getWrapper(a.ao));
|
|
784
784
|
};
|
|
785
785
|
ColorEditorView.prototype.c = function (a) {
|
|
786
786
|
return this.b;
|
|
@@ -1150,7 +1150,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1150
1150
|
break;
|
|
1151
1151
|
case "Label":
|
|
1152
1152
|
if (this.r != null) {
|
|
1153
|
-
this.r.
|
|
1153
|
+
this.r.b6 = this.a2;
|
|
1154
1154
|
}
|
|
1155
1155
|
break;
|
|
1156
1156
|
case "TextStyle":
|
|
@@ -1158,7 +1158,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1158
1158
|
break;
|
|
1159
1159
|
case "ShowClearButton":
|
|
1160
1160
|
if (this.r != null) {
|
|
1161
|
-
if (this.r.
|
|
1161
|
+
if (this.r.b8 != "") {
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
break;
|
|
@@ -1170,14 +1170,14 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1170
1170
|
break;
|
|
1171
1171
|
case "AllowTextInput":
|
|
1172
1172
|
if (this.r != null) {
|
|
1173
|
-
this.r.
|
|
1173
|
+
this.r.b1 = this.am();
|
|
1174
1174
|
}
|
|
1175
1175
|
break;
|
|
1176
1176
|
case "OpenOnFocus": break;
|
|
1177
1177
|
case "IsDisabled":
|
|
1178
1178
|
{
|
|
1179
1179
|
if (this.r != null) {
|
|
1180
|
-
this.r.
|
|
1180
|
+
this.r.b1 = this.am();
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
break;
|
|
@@ -1188,7 +1188,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1188
1188
|
};
|
|
1189
1189
|
ColorEditor.prototype.cj = function () {
|
|
1190
1190
|
if (this.r != null) {
|
|
1191
|
-
this.r.
|
|
1191
|
+
this.r.cf = this.cr;
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
1194
|
ColorEditor.prototype.ch = function () {
|
|
@@ -1197,7 +1197,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
ColorEditor.prototype.ci = function () {
|
|
1199
1199
|
if (this.n != null) {
|
|
1200
|
-
this.r.
|
|
1200
|
+
this.r.bl = this.n;
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
1203
|
ColorEditor.prototype.bh = function () {
|
|
@@ -1205,7 +1205,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1205
1205
|
return;
|
|
1206
1206
|
}
|
|
1207
1207
|
if (this.r != null) {
|
|
1208
|
-
this.r.
|
|
1208
|
+
this.r.b8 = "";
|
|
1209
1209
|
}
|
|
1210
1210
|
this.value = BrushUtil.l(0, 0, 0, 0);
|
|
1211
1211
|
this.e.ax();
|
|
@@ -1228,44 +1228,44 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1228
1228
|
ColorEditor.prototype.b6 = function (a) {
|
|
1229
1229
|
var b = a;
|
|
1230
1230
|
if (this.r != null) {
|
|
1231
|
-
if (this.s.
|
|
1231
|
+
if (this.s.b7 && !this.s.t(b.b) && !this.r.t(b.b)) {
|
|
1232
1232
|
this.bi();
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
1235
|
};
|
|
1236
1236
|
ColorEditor.prototype.b7 = function (a) {
|
|
1237
1237
|
if (this.r != null) {
|
|
1238
|
-
var b = this.r.
|
|
1239
|
-
this.s.
|
|
1238
|
+
var b = this.r.bf();
|
|
1239
|
+
this.s.cf(b);
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
1242
|
ColorEditor.prototype.bj = function () {
|
|
1243
1243
|
var _this = this;
|
|
1244
|
-
NativeUIComponent.
|
|
1244
|
+
NativeUIComponent.aw(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
|
|
1245
1245
|
var b = a[0];
|
|
1246
1246
|
var c = a[1];
|
|
1247
1247
|
var d = a[2];
|
|
1248
1248
|
var e = a[3];
|
|
1249
1249
|
var f = _this.h.i();
|
|
1250
1250
|
_this.h.k(e, f);
|
|
1251
|
-
b.
|
|
1252
|
-
d.
|
|
1251
|
+
b.bo(d);
|
|
1252
|
+
d.bo(e);
|
|
1253
1253
|
_this.h.l(c);
|
|
1254
|
-
b.
|
|
1255
|
-
b.
|
|
1256
|
-
b.
|
|
1257
|
-
b.
|
|
1258
|
-
b.
|
|
1254
|
+
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1255
|
+
b.cb = 150;
|
|
1256
|
+
b.b9 = 8;
|
|
1257
|
+
b.cc = 4;
|
|
1258
|
+
b.b2 = true;
|
|
1259
1259
|
_this.r = c;
|
|
1260
1260
|
_this.r.c = _this.j;
|
|
1261
|
-
_this.r.
|
|
1262
|
-
_this.r.
|
|
1263
|
-
_this.r.
|
|
1264
|
-
_this.r.
|
|
1265
|
-
_this.r.
|
|
1261
|
+
_this.r.bq = _this.l;
|
|
1262
|
+
_this.r.b7 = ColorEditor.a8;
|
|
1263
|
+
_this.r.cd = BrushUtil.l(255, 255, 255, 255);
|
|
1264
|
+
_this.r.ce = BrushUtil.l(255, 0, 0, 0);
|
|
1265
|
+
_this.r.bo = runOn(_this, _this.cf);
|
|
1266
1266
|
_this.r.n = runOn(_this, _this.by);
|
|
1267
1267
|
_this.r.o = runOn(_this, _this.b0);
|
|
1268
|
-
_this.r.
|
|
1268
|
+
_this.r.cc = BrushUtil.l(255, 0, 0, 255);
|
|
1269
1269
|
_this.s = b;
|
|
1270
1270
|
_this.e = _this.h.c(f);
|
|
1271
1271
|
_this.e.value = _this.value;
|
|
@@ -1287,7 +1287,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1287
1287
|
this.bl(a);
|
|
1288
1288
|
};
|
|
1289
1289
|
ColorEditor.prototype.b0 = function (a, b) {
|
|
1290
|
-
if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.
|
|
1290
|
+
if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.ao == b.b)) {
|
|
1291
1291
|
this.bp();
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
@@ -1305,18 +1305,18 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1305
1305
|
};
|
|
1306
1306
|
ColorEditor.prototype.b5 = function (a, b) {
|
|
1307
1307
|
if (this.r != null) {
|
|
1308
|
-
this.r.
|
|
1308
|
+
this.r.cc = b;
|
|
1309
1309
|
}
|
|
1310
1310
|
};
|
|
1311
1311
|
ColorEditor.prototype.bl = function (a) {
|
|
1312
|
-
if (this.s.
|
|
1312
|
+
if (this.s.b7) {
|
|
1313
1313
|
this.w = true;
|
|
1314
1314
|
this.bi();
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
1317
|
ColorEditor.prototype.cg = function () {
|
|
1318
1318
|
if (this.w == false) {
|
|
1319
|
-
if (this.s.
|
|
1319
|
+
if (this.s.b7) {
|
|
1320
1320
|
this.bi();
|
|
1321
1321
|
}
|
|
1322
1322
|
else {
|
|
@@ -1354,13 +1354,13 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1354
1354
|
ColorEditor.prototype.ce = function (a, b) {
|
|
1355
1355
|
{
|
|
1356
1356
|
var c = this.h.r(true);
|
|
1357
|
-
this.s.
|
|
1357
|
+
this.s.cg(c, a, b);
|
|
1358
1358
|
}
|
|
1359
1359
|
};
|
|
1360
1360
|
ColorEditor.prototype.bi = function () {
|
|
1361
1361
|
var _this = this;
|
|
1362
1362
|
if (this.s != null) {
|
|
1363
|
-
this.a.executeDelayed(function () { return _this.s.
|
|
1363
|
+
this.a.executeDelayed(function () { return _this.s.cd(); }, 0);
|
|
1364
1364
|
}
|
|
1365
1365
|
if (this.e != null) {
|
|
1366
1366
|
this.e.bg();
|
|
@@ -1373,9 +1373,9 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1373
1373
|
a = false;
|
|
1374
1374
|
}
|
|
1375
1375
|
if (this.r != null) {
|
|
1376
|
-
this.r.
|
|
1376
|
+
this.r.a1();
|
|
1377
1377
|
}
|
|
1378
|
-
if (!this.s.
|
|
1378
|
+
if (!this.s.b7 && this.al == true) {
|
|
1379
1379
|
if (this.w == false) {
|
|
1380
1380
|
if (this.aa) {
|
|
1381
1381
|
return;
|
|
@@ -1403,7 +1403,7 @@ export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1403
1403
|
};
|
|
1404
1404
|
ColorEditor.prototype.cb = function () {
|
|
1405
1405
|
if (this.r != null) {
|
|
1406
|
-
this.r.
|
|
1406
|
+
this.r.ca();
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
1409
|
ColorEditor.prototype.bo = function () {
|
|
@@ -1757,7 +1757,7 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1757
1757
|
};
|
|
1758
1758
|
ColorEditorPanel.prototype.a4 = function () {
|
|
1759
1759
|
var _this = this;
|
|
1760
|
-
NativeUIContent.
|
|
1760
|
+
NativeUIContent.aw(this.d.a7(), [7, 7, 0, 5, 0, 5, 0, 5, 2, 7, 1, 1, 7, 2, 7], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], function (a) {
|
|
1761
1761
|
var b = a[0];
|
|
1762
1762
|
var c = a[1];
|
|
1763
1763
|
var d = a[2];
|
|
@@ -1773,97 +1773,97 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1773
1773
|
var n = a[12];
|
|
1774
1774
|
var o = a[13];
|
|
1775
1775
|
var p = a[14];
|
|
1776
|
-
e.
|
|
1777
|
-
i.
|
|
1778
|
-
g.
|
|
1779
|
-
e.
|
|
1780
|
-
i.
|
|
1781
|
-
g.
|
|
1782
|
-
g.
|
|
1783
|
-
f.
|
|
1784
|
-
l.
|
|
1776
|
+
e.bl = 2;
|
|
1777
|
+
i.bl = 0;
|
|
1778
|
+
g.bl = 1;
|
|
1779
|
+
e.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1780
|
+
i.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1781
|
+
g.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1782
|
+
g.bi = new Thickness(1, 0, 5, 5, 0);
|
|
1783
|
+
f.bi = new Thickness(1, 0, 5, 5, 0);
|
|
1784
|
+
l.b0 = "Ok";
|
|
1785
1785
|
l.c = _this.f;
|
|
1786
|
-
m.
|
|
1786
|
+
m.b0 = "Cancel";
|
|
1787
1787
|
m.c = _this.f;
|
|
1788
|
-
i.
|
|
1789
|
-
h.
|
|
1790
|
-
e.
|
|
1791
|
-
d.
|
|
1792
|
-
p.
|
|
1793
|
-
p.
|
|
1794
|
-
c.
|
|
1795
|
-
c.
|
|
1796
|
-
c.
|
|
1797
|
-
n.
|
|
1798
|
-
n.
|
|
1799
|
-
n.
|
|
1800
|
-
n.
|
|
1801
|
-
j.
|
|
1802
|
-
j.
|
|
1803
|
-
j.
|
|
1788
|
+
i.bi = new Thickness(1, 5, 0, 5, 2);
|
|
1789
|
+
h.bi = new Thickness(1, 5, 0, 5, 2);
|
|
1790
|
+
e.bi = new Thickness(1, 5, 5, 5, 0);
|
|
1791
|
+
d.bi = new Thickness(1, 5, 5, 5, 0);
|
|
1792
|
+
p.bi = new Thickness(1, 5, 16, 0, 11);
|
|
1793
|
+
p.a9 = BrushUtil.l(255, 255, 0, 0);
|
|
1794
|
+
c.cd(p, 0);
|
|
1795
|
+
c.cb(p, 0);
|
|
1796
|
+
c.bo(p);
|
|
1797
|
+
n.b3(0, 2, 1);
|
|
1798
|
+
n.b3(1, 2, 1);
|
|
1799
|
+
n.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1800
|
+
n.cb(j, 0);
|
|
1801
|
+
j.bi = new Thickness(1, 0, 0, 2, 0);
|
|
1802
|
+
j.bv = 1;
|
|
1803
|
+
j.bq = _this.h;
|
|
1804
1804
|
j.c = _this.f;
|
|
1805
|
-
j.
|
|
1806
|
-
o.
|
|
1807
|
-
o.
|
|
1808
|
-
o.
|
|
1805
|
+
j.b6 = "rgba";
|
|
1806
|
+
o.bi = new Thickness(1, 0, 0, 2, 0);
|
|
1807
|
+
o.bv = 1;
|
|
1808
|
+
o.bq = _this.h;
|
|
1809
1809
|
o.c = _this.f;
|
|
1810
|
-
o.
|
|
1811
|
-
n.
|
|
1812
|
-
n.
|
|
1813
|
-
n.
|
|
1814
|
-
l.
|
|
1815
|
-
m.
|
|
1816
|
-
l.
|
|
1817
|
-
m.
|
|
1818
|
-
l.
|
|
1819
|
-
m.
|
|
1820
|
-
b.
|
|
1821
|
-
b.
|
|
1822
|
-
b.
|
|
1823
|
-
b.
|
|
1824
|
-
b.
|
|
1825
|
-
b.
|
|
1826
|
-
b.
|
|
1827
|
-
b.
|
|
1828
|
-
b.
|
|
1829
|
-
b.
|
|
1830
|
-
b.
|
|
1831
|
-
b.
|
|
1832
|
-
b.
|
|
1833
|
-
b.
|
|
1834
|
-
b.
|
|
1835
|
-
b.
|
|
1836
|
-
b.
|
|
1837
|
-
b.
|
|
1838
|
-
b.
|
|
1839
|
-
b.
|
|
1840
|
-
b.
|
|
1841
|
-
b.
|
|
1842
|
-
b.
|
|
1843
|
-
b.
|
|
1844
|
-
b.
|
|
1845
|
-
b.
|
|
1810
|
+
o.b6 = "hex";
|
|
1811
|
+
n.cb(o, 1);
|
|
1812
|
+
n.bo(j);
|
|
1813
|
+
n.bo(o);
|
|
1814
|
+
l.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1815
|
+
m.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1816
|
+
l.bq = _this.h;
|
|
1817
|
+
m.bq = _this.h;
|
|
1818
|
+
l.bn = runOn(_this, _this.a6);
|
|
1819
|
+
m.bn = runOn(_this, _this.bh);
|
|
1820
|
+
b.b5(0, 1, 175);
|
|
1821
|
+
b.b5(1, 0, 0);
|
|
1822
|
+
b.b5(2, 0, 0);
|
|
1823
|
+
b.b5(3, 0, 0);
|
|
1824
|
+
b.b3(0, 1, 90);
|
|
1825
|
+
b.b3(1, 1, 175);
|
|
1826
|
+
b.b3(2, 1, 25);
|
|
1827
|
+
b.cd(c, 0);
|
|
1828
|
+
b.cb(c, 0);
|
|
1829
|
+
b.cd(d, 0);
|
|
1830
|
+
b.cb(d, 1);
|
|
1831
|
+
b.cd(e, 0);
|
|
1832
|
+
b.cb(e, 1);
|
|
1833
|
+
b.cd(f, 0);
|
|
1834
|
+
b.cb(f, 3);
|
|
1835
|
+
b.cd(g, 0);
|
|
1836
|
+
b.cb(g, 3);
|
|
1837
|
+
b.cd(h, 1);
|
|
1838
|
+
b.cb(h, 0);
|
|
1839
|
+
b.cc(h, 3);
|
|
1840
|
+
b.cd(i, 1);
|
|
1841
|
+
b.cb(i, 0);
|
|
1842
|
+
b.cc(i, 3);
|
|
1843
|
+
b.cd(n, 2);
|
|
1844
|
+
b.cb(n, 0);
|
|
1845
|
+
b.cc(n, 3);
|
|
1846
|
+
b.cd(k, 3);
|
|
1847
|
+
b.cb(k, 0);
|
|
1846
1848
|
b.cc(k, 3);
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
k.
|
|
1850
|
-
k.
|
|
1851
|
-
k.
|
|
1852
|
-
k.
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
b.
|
|
1856
|
-
b.
|
|
1857
|
-
b.
|
|
1858
|
-
b.
|
|
1859
|
-
b.
|
|
1860
|
-
b.
|
|
1861
|
-
b.
|
|
1862
|
-
b.bn(n);
|
|
1863
|
-
b.bn(k);
|
|
1849
|
+
k.b3(0, 2, 1);
|
|
1850
|
+
k.b3(1, 2, 1);
|
|
1851
|
+
k.cb(l, 0);
|
|
1852
|
+
k.cb(m, 1);
|
|
1853
|
+
k.bo(l);
|
|
1854
|
+
k.bo(m);
|
|
1855
|
+
b.bo(c);
|
|
1856
|
+
b.bo(d);
|
|
1857
|
+
b.bo(e);
|
|
1858
|
+
b.bo(f);
|
|
1859
|
+
b.bo(g);
|
|
1860
|
+
b.bo(h);
|
|
1861
|
+
b.bo(i);
|
|
1862
|
+
b.bo(n);
|
|
1863
|
+
b.bo(k);
|
|
1864
1864
|
_this.d.a8(b);
|
|
1865
1865
|
_this.n = b;
|
|
1866
|
-
_this.n.
|
|
1866
|
+
_this.n.bx = true;
|
|
1867
1867
|
_this.s = i;
|
|
1868
1868
|
_this.u = g;
|
|
1869
1869
|
_this.m = f;
|
|
@@ -1871,24 +1871,24 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1871
1871
|
_this.o = p;
|
|
1872
1872
|
_this.r = j;
|
|
1873
1873
|
_this.q = o;
|
|
1874
|
-
_this.s.
|
|
1875
|
-
_this.s.
|
|
1876
|
-
_this.s.by = BrushUtil.l(255, 255, 255, 255);
|
|
1874
|
+
_this.s.br = 0;
|
|
1875
|
+
_this.s.bq = 360;
|
|
1877
1876
|
_this.s.bz = BrushUtil.l(255, 255, 255, 255);
|
|
1878
|
-
_this.
|
|
1879
|
-
_this.u.
|
|
1880
|
-
_this.
|
|
1881
|
-
_this.t.bz = BrushUtil.l(255,
|
|
1882
|
-
_this.t.
|
|
1883
|
-
_this.t.
|
|
1884
|
-
_this.t.
|
|
1885
|
-
_this.t.
|
|
1877
|
+
_this.s.b0 = BrushUtil.l(255, 255, 255, 255);
|
|
1878
|
+
_this.u.br = 0;
|
|
1879
|
+
_this.u.bq = 1;
|
|
1880
|
+
_this.t.bz = BrushUtil.l(255, 155, 155, 155);
|
|
1881
|
+
_this.t.b0 = BrushUtil.l(255, 255, 255, 255);
|
|
1882
|
+
_this.t.br = 0;
|
|
1883
|
+
_this.t.bq = 1;
|
|
1884
|
+
_this.t.bv = 0;
|
|
1885
|
+
_this.t.bu = 1;
|
|
1886
|
+
_this.s.bp = runOn(_this, _this.au);
|
|
1886
1887
|
_this.s.bo = runOn(_this, _this.au);
|
|
1887
|
-
_this.
|
|
1888
|
+
_this.u.bp = runOn(_this, _this.aw);
|
|
1888
1889
|
_this.u.bo = runOn(_this, _this.aw);
|
|
1889
|
-
_this.
|
|
1890
|
+
_this.t.bp = runOn(_this, _this.av);
|
|
1890
1891
|
_this.t.bo = runOn(_this, _this.av);
|
|
1891
|
-
_this.t.bn = runOn(_this, _this.av);
|
|
1892
1892
|
_this.l = d;
|
|
1893
1893
|
_this.k = h;
|
|
1894
1894
|
_this.p = c;
|
|
@@ -1925,26 +1925,26 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1925
1925
|
var a = Color.u(0, 0, 0, 0);
|
|
1926
1926
|
var b = Color.u(255, 255, 0, 0);
|
|
1927
1927
|
if (this.s != null) {
|
|
1928
|
-
var c = this.s.
|
|
1929
|
-
var d = this.t.
|
|
1930
|
-
var e = 1 - this.t.
|
|
1931
|
-
var f = 1 - this.u.
|
|
1928
|
+
var c = this.s.bt;
|
|
1929
|
+
var d = this.t.bt;
|
|
1930
|
+
var e = 1 - this.t.bw;
|
|
1931
|
+
var f = 1 - this.u.bt;
|
|
1932
1932
|
b = ColorUtil.r(1, c, 1, 0.5);
|
|
1933
1933
|
a = ColorUtil.r(f, c, d, e);
|
|
1934
|
-
this.s.
|
|
1935
|
-
this.t.
|
|
1936
|
-
this.o.
|
|
1937
|
-
this.d.bm(this.s.
|
|
1934
|
+
this.s.by = BrushUtil.l(b.l, b.o, b.n, b.m);
|
|
1935
|
+
this.t.by = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1936
|
+
this.o.a9 = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1937
|
+
this.d.bm(this.s.bt);
|
|
1938
1938
|
this.d.bn(0);
|
|
1939
|
-
this.d.bo(this.s.
|
|
1939
|
+
this.d.bo(this.s.bt, this.t.bt, 1 - this.t.bw);
|
|
1940
1940
|
}
|
|
1941
1941
|
if (this.r != null) {
|
|
1942
1942
|
var g = a.o + ", " + a.n + ", " + a.m + ", " + Math.round((a.l / 255) * 1000) / 1000;
|
|
1943
|
-
this.r.
|
|
1943
|
+
this.r.b8 = g;
|
|
1944
1944
|
}
|
|
1945
1945
|
if (this.q != null) {
|
|
1946
1946
|
var h = ColorUtil.k(a, false);
|
|
1947
|
-
this.q.
|
|
1947
|
+
this.q.b8 = h;
|
|
1948
1948
|
}
|
|
1949
1949
|
this.bx = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1950
1950
|
this.bc(this.value);
|
|
@@ -1957,7 +1957,7 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1957
1957
|
ColorEditorPanel.prototype.bl = function () {
|
|
1958
1958
|
};
|
|
1959
1959
|
ColorEditorPanel.prototype.a3 = function () {
|
|
1960
|
-
this.n.
|
|
1960
|
+
this.n.a0();
|
|
1961
1961
|
};
|
|
1962
1962
|
ColorEditorPanel.prototype.onAttachedToUI = function () {
|
|
1963
1963
|
this.d.bg();
|
|
@@ -1987,10 +1987,10 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1987
1987
|
var a = this.b5;
|
|
1988
1988
|
var b = ColorUtil.a(a);
|
|
1989
1989
|
this.y = true;
|
|
1990
|
-
this.s.
|
|
1991
|
-
this.u.
|
|
1992
|
-
this.t.
|
|
1993
|
-
this.t.
|
|
1990
|
+
this.s.bt = b[1] == -1 ? 0 : b[1];
|
|
1991
|
+
this.u.bt = 1 - b[0];
|
|
1992
|
+
this.t.bt = b[2];
|
|
1993
|
+
this.t.bw = 1 - b[3];
|
|
1994
1994
|
this.y = false;
|
|
1995
1995
|
if (this.x) {
|
|
1996
1996
|
this.bn();
|
|
@@ -2010,7 +2010,7 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2010
2010
|
this.bn();
|
|
2011
2011
|
};
|
|
2012
2012
|
ColorEditorPanel.prototype.a0 = function (a, b, c) {
|
|
2013
|
-
var d = this.s.
|
|
2013
|
+
var d = this.s.bt;
|
|
2014
2014
|
var e = 1;
|
|
2015
2015
|
var f = 255;
|
|
2016
2016
|
for (var g = 0; g < c; g++) {
|
|
@@ -2169,12 +2169,12 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2169
2169
|
};
|
|
2170
2170
|
ColorEditorPanel.prototype.ad = function () {
|
|
2171
2171
|
if (this.s != null) {
|
|
2172
|
-
return this.s.
|
|
2172
|
+
return this.s.bt;
|
|
2173
2173
|
}
|
|
2174
2174
|
return 0;
|
|
2175
2175
|
};
|
|
2176
2176
|
ColorEditorPanel.prototype.a1 = function (a, b, c) {
|
|
2177
|
-
var d = this.s.
|
|
2177
|
+
var d = this.s.bt;
|
|
2178
2178
|
var e = 1;
|
|
2179
2179
|
var f = 255;
|
|
2180
2180
|
for (var g = 0; g < c; g++) {
|
|
@@ -2211,11 +2211,11 @@ export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2211
2211
|
}
|
|
2212
2212
|
};
|
|
2213
2213
|
ColorEditorPanel.prototype.a2 = function (a, b, c) {
|
|
2214
|
-
var d = this.s.
|
|
2214
|
+
var d = this.s.bt;
|
|
2215
2215
|
var e = 1;
|
|
2216
2216
|
var f = 255;
|
|
2217
|
-
var g = 1 - this.t.
|
|
2218
|
-
var h = this.t.
|
|
2217
|
+
var g = 1 - this.t.bw;
|
|
2218
|
+
var h = this.t.bt;
|
|
2219
2219
|
for (var i = 0; i < c; i++) {
|
|
2220
2220
|
var j = i / c;
|
|
2221
2221
|
for (var k = 0; k < b; k++) {
|