igniteui-angular-inputs 21.0.1-beta.0 → 21.1.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-angular-inputs.umd.js +931 -765
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +21 -21
- package/esm2015/lib/CalendarView_combined.js +3 -3
- package/esm2015/lib/CheckboxView_combined.js +23 -23
- package/esm2015/lib/IconView_combined.js +163 -163
- package/esm2015/lib/InputGroupView_combined.js +31 -31
- package/esm2015/lib/MultiSliderBridge.js +14 -14
- package/esm2015/lib/MultiSliderView_combined.js +17 -17
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +241 -222
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/XButtonBridge.js +20 -20
- package/esm2015/lib/XButtonGroupBridge.js +8 -8
- package/esm2015/lib/XCheckboxBridge.js +8 -8
- package/esm2015/lib/XComponentBridge.js +4 -2
- package/esm2015/lib/XIconBridge.js +23 -23
- package/esm2015/lib/XIconButtonBridge.js +5 -5
- package/esm2015/lib/XInputBridge.js +18 -18
- package/esm2015/lib/XPopupBridge.js +28 -28
- package/esm2015/lib/igx-color-editor-component.js +3 -0
- package/esm2015/lib/igx-multi-slider-thumb-collection.js +7 -7
- package/esm2015/lib/igx-multi-slider-thumb-component.js +209 -0
- package/esm2015/lib/igx-multi-slider-thumb-dynamic-module.js +34 -0
- package/esm2015/lib/igx-multi-slider-thumb-module.js +27 -0
- package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm2015/lib/igx-multi-slider-track-thumb-range.js +5 -15
- package/esm2015/lib/igx-x-icon-component.js +10 -10
- package/esm2015/public_api.js +3 -1
- package/esm5/lib/ButtonView_combined.js +21 -21
- package/esm5/lib/CalendarView_combined.js +3 -3
- package/esm5/lib/CheckboxView_combined.js +23 -23
- package/esm5/lib/IconView_combined.js +158 -158
- package/esm5/lib/InputGroupView_combined.js +31 -31
- package/esm5/lib/MultiSliderBridge.js +14 -14
- package/esm5/lib/MultiSliderView_combined.js +17 -17
- package/esm5/lib/NativeUIXInputsFactory_combined.js +251 -224
- package/esm5/lib/RippleView_combined.js +1 -1
- package/esm5/lib/XButtonBridge.js +20 -20
- package/esm5/lib/XButtonGroupBridge.js +8 -8
- package/esm5/lib/XCheckboxBridge.js +8 -8
- package/esm5/lib/XComponentBridge.js +4 -2
- package/esm5/lib/XIconBridge.js +23 -23
- package/esm5/lib/XIconButtonBridge.js +5 -5
- package/esm5/lib/XInputBridge.js +18 -18
- package/esm5/lib/XPopupBridge.js +28 -28
- package/esm5/lib/igx-color-editor-component.js +3 -0
- package/esm5/lib/igx-multi-slider-thumb-collection.js +7 -7
- package/esm5/lib/igx-multi-slider-thumb-component.js +233 -0
- package/esm5/lib/igx-multi-slider-thumb-dynamic-module.js +33 -0
- package/esm5/lib/igx-multi-slider-thumb-module.js +28 -0
- package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm5/lib/igx-multi-slider-track-thumb-range.js +5 -15
- package/esm5/lib/igx-x-icon-component.js +10 -10
- package/esm5/public_api.js +3 -1
- package/fesm2015/igniteui-angular-inputs.js +906 -749
- package/fesm5/igniteui-angular-inputs.js +929 -765
- package/lib/IconView_combined.d.ts +33 -34
- package/lib/MultiSliderView_combined.d.ts +1 -1
- package/lib/NativeUIXInputsFactory_combined.d.ts +18 -13
- package/lib/igx-multi-slider-thumb-collection.d.ts +4 -4
- package/lib/igx-multi-slider-thumb-component.d.ts +47 -0
- package/lib/igx-multi-slider-thumb-dynamic-module.d.ts +9 -0
- package/lib/igx-multi-slider-thumb-module.d.ts +8 -0
- package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +3 -3
- package/lib/igx-multi-slider-track-thumb-range.d.ts +5 -5
- package/package.json +2 -2
- package/public_api.d.ts +3 -1
- package/esm2015/lib/igx-multi-slider-thumb.js +0 -111
- package/esm5/lib/igx-multi-slider-thumb.js +0 -134
- package/lib/igx-multi-slider-thumb.d.ts +0 -33
|
@@ -77,7 +77,7 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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 @@ var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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
|
};
|
|
@@ -481,7 +481,7 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
481
481
|
ColorEditorPanelView.prototype.bf = function (a) {
|
|
482
482
|
};
|
|
483
483
|
ColorEditorPanelView.prototype.a8 = function (a) {
|
|
484
|
-
this.aa.append(this.aa.getWrapper(a.
|
|
484
|
+
this.aa.append(this.aa.getWrapper(a.ao));
|
|
485
485
|
};
|
|
486
486
|
ColorEditorPanelView.prototype.be = function (a, b, c, d, e, f, g) {
|
|
487
487
|
var h = truncate(Math.round(f * this.a.ab));
|
|
@@ -504,8 +504,8 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
504
504
|
};
|
|
505
505
|
};
|
|
506
506
|
ColorEditorPanelView.prototype.ba = function (a) {
|
|
507
|
-
if (this.ae == null || a.
|
|
508
|
-
a.
|
|
507
|
+
if (this.ae == null || a.ap == null) {
|
|
508
|
+
a.ap = "image";
|
|
509
509
|
var b = this.aa.createElement("canvas");
|
|
510
510
|
this.ae = b;
|
|
511
511
|
var c = this.be(this.ae, this.m, this.l, this.au, this.at, 148, 148);
|
|
@@ -515,7 +515,7 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
515
515
|
this.at = c.p4;
|
|
516
516
|
this.ae.setStyleProperty("justify-self", "center");
|
|
517
517
|
this.ae.setStyleProperty("align-self", "center");
|
|
518
|
-
var d = a.
|
|
518
|
+
var d = a.ao;
|
|
519
519
|
d.append(this.ae);
|
|
520
520
|
this.bm(this.a.ad());
|
|
521
521
|
}
|
|
@@ -549,8 +549,8 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
549
549
|
}
|
|
550
550
|
};
|
|
551
551
|
ColorEditorPanelView.prototype.a9 = function (a) {
|
|
552
|
-
if (this.ad == null || a.
|
|
553
|
-
a.
|
|
552
|
+
if (this.ad == null || a.ap == null) {
|
|
553
|
+
a.ap = "image";
|
|
554
554
|
var b = this.aa.createElement("canvas");
|
|
555
555
|
this.ad = b;
|
|
556
556
|
var c = this.be(this.ad, this.j, this.h, this.as, this.ar, 248, 19);
|
|
@@ -560,7 +560,7 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
560
560
|
this.ar = c.p4;
|
|
561
561
|
this.ad.setStyleProperty("justify-self", "center");
|
|
562
562
|
this.ad.setStyleProperty("align-self", "center");
|
|
563
|
-
var d = a.
|
|
563
|
+
var d = a.ao;
|
|
564
564
|
d.append(this.ad);
|
|
565
565
|
this.bl(0);
|
|
566
566
|
}
|
|
@@ -594,9 +594,9 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
ColorEditorPanelView.prototype.bb = function (a) {
|
|
597
|
-
var b = a.
|
|
597
|
+
var b = a.ao;
|
|
598
598
|
if (b.getChildCount() == 1) {
|
|
599
|
-
a.
|
|
599
|
+
a.ap = "image";
|
|
600
600
|
var c = this.aa.createElement("canvas");
|
|
601
601
|
this.ah = c;
|
|
602
602
|
var d = this.be(this.ah, this.t, this.p, this.aw, this.av, 85, 148);
|
|
@@ -618,8 +618,8 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
620
|
ColorEditorPanelView.prototype.bc = function (a) {
|
|
621
|
-
if (this.ai == null || a.
|
|
622
|
-
a.
|
|
621
|
+
if (this.ai == null || a.ap == null) {
|
|
622
|
+
a.ap = "image";
|
|
623
623
|
var b = this.aa.createElement("canvas");
|
|
624
624
|
this.ai = b;
|
|
625
625
|
var c = this.be(this.ai, this.z, this.v, this.aw, this.av, 25, 148);
|
|
@@ -629,7 +629,7 @@ var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
629
629
|
this.av = c.p4;
|
|
630
630
|
this.ai.setStyleProperty("justify-self", "center");
|
|
631
631
|
this.ai.setStyleProperty("align-self", "center");
|
|
632
|
-
var d = a.
|
|
632
|
+
var d = a.ao;
|
|
633
633
|
d.append(this.ai);
|
|
634
634
|
this.bo(0, 1, 0.5);
|
|
635
635
|
}
|
|
@@ -712,19 +712,20 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
712
712
|
function ColorEditorView() {
|
|
713
713
|
var _this = _super.call(this) || this;
|
|
714
714
|
_this.a = null;
|
|
715
|
-
_this.
|
|
715
|
+
_this.i = null;
|
|
716
716
|
_this.d = null;
|
|
717
717
|
_this.g = new List$1(Delegate_$type, 0);
|
|
718
718
|
_this.e = true;
|
|
719
|
+
_this._createColorEditorPanel = null;
|
|
719
720
|
_this.b = null;
|
|
720
721
|
return _this;
|
|
721
722
|
}
|
|
722
|
-
ColorEditorView.prototype.
|
|
723
|
+
ColorEditorView.prototype.r = function () {
|
|
723
724
|
};
|
|
724
725
|
ColorEditorView.prototype.f = function () {
|
|
725
726
|
return true;
|
|
726
727
|
};
|
|
727
|
-
ColorEditorView.prototype.
|
|
728
|
+
ColorEditorView.prototype.p = function (a) {
|
|
728
729
|
var e_2, _a;
|
|
729
730
|
if (a == null) {
|
|
730
731
|
try {
|
|
@@ -752,45 +753,61 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
752
753
|
if (this.a.a == null) {
|
|
753
754
|
this.a.a = new DOMExecutionContext(a);
|
|
754
755
|
}
|
|
755
|
-
this.
|
|
756
|
+
this.i = a;
|
|
756
757
|
this.a.bj();
|
|
757
758
|
};
|
|
758
|
-
ColorEditorView.prototype.
|
|
759
|
+
ColorEditorView.prototype.n = function () {
|
|
759
760
|
if (KeyFrameAnimationFactory.h == null) {
|
|
760
|
-
KeyFrameAnimationFactory.h = this.
|
|
761
|
+
KeyFrameAnimationFactory.h = this.i;
|
|
761
762
|
}
|
|
762
763
|
};
|
|
763
|
-
ColorEditorView.prototype.
|
|
764
|
+
ColorEditorView.prototype.o = function () {
|
|
764
765
|
this.e = true;
|
|
765
766
|
};
|
|
766
|
-
ColorEditorView.prototype.
|
|
767
|
+
ColorEditorView.prototype.q = function () {
|
|
767
768
|
this.e = false;
|
|
768
769
|
};
|
|
769
|
-
ColorEditorView.prototype.
|
|
770
|
-
return this.
|
|
771
|
-
};
|
|
772
|
-
ColorEditorView.prototype.i = function () {
|
|
773
|
-
var a = new ColorEditorPanel();
|
|
774
|
-
this.b = a;
|
|
775
|
-
var b = this.h.createElement("div");
|
|
776
|
-
var c = this.h.getSubRenderer(b);
|
|
777
|
-
a.provideContainer(c);
|
|
778
|
-
var d = this.h.getExternal(a, null, null);
|
|
779
|
-
return b;
|
|
780
|
-
};
|
|
781
|
-
ColorEditorView.prototype.k = function (a, b) {
|
|
782
|
-
var c = a.an;
|
|
783
|
-
c.append(this.h.getWrapper(b));
|
|
770
|
+
ColorEditorView.prototype.k = function () {
|
|
771
|
+
return this.i;
|
|
784
772
|
};
|
|
785
|
-
ColorEditorView.prototype
|
|
786
|
-
|
|
773
|
+
Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
|
|
774
|
+
get: function () {
|
|
775
|
+
return this._createColorEditorPanel;
|
|
776
|
+
},
|
|
777
|
+
set: function (a) {
|
|
778
|
+
this._createColorEditorPanel = a;
|
|
779
|
+
},
|
|
780
|
+
enumerable: false,
|
|
781
|
+
configurable: true
|
|
782
|
+
});
|
|
783
|
+
ColorEditorView.prototype.j = function () {
|
|
784
|
+
if (this.createColorEditorPanel != null) {
|
|
785
|
+
var a = this.createColorEditorPanel();
|
|
786
|
+
var b = this.i.getWrapper(a);
|
|
787
|
+
this.b = (a.i);
|
|
788
|
+
return a;
|
|
789
|
+
}
|
|
790
|
+
var c = new ColorEditorPanel();
|
|
791
|
+
this.b = c;
|
|
792
|
+
var d = this.i.createElement("div");
|
|
793
|
+
var e = this.i.getSubRenderer(d);
|
|
794
|
+
c.provideContainer(e);
|
|
795
|
+
var f = this.i.getExternal(c, null, null);
|
|
796
|
+
return d;
|
|
797
|
+
};
|
|
798
|
+
ColorEditorView.prototype.l = function (a, b) {
|
|
799
|
+
var c = a.ao;
|
|
800
|
+
c.append(this.i.getWrapper(b));
|
|
801
|
+
};
|
|
802
|
+
ColorEditorView.prototype.m = function (a) {
|
|
803
|
+
this.i.append(this.i.getWrapper(a.ao));
|
|
787
804
|
};
|
|
788
805
|
ColorEditorView.prototype.c = function (a) {
|
|
789
806
|
return this.b;
|
|
790
807
|
};
|
|
791
|
-
ColorEditorView.prototype.
|
|
792
|
-
if (this.
|
|
793
|
-
var b = this.
|
|
808
|
+
ColorEditorView.prototype.s = function (a) {
|
|
809
|
+
if (this.i != null) {
|
|
810
|
+
var b = this.i.rootWrapper.getNativeElement();
|
|
794
811
|
var c = (b.getBoundingClientRect());
|
|
795
812
|
if (a) {
|
|
796
813
|
c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
|
|
@@ -799,7 +816,7 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
799
816
|
}
|
|
800
817
|
return null;
|
|
801
818
|
};
|
|
802
|
-
ColorEditorView.prototype.
|
|
819
|
+
ColorEditorView.prototype.t = function () {
|
|
803
820
|
return new Size(1, NaN, NaN);
|
|
804
821
|
};
|
|
805
822
|
ColorEditorView.$t = markType(ColorEditorView, 'ColorEditorView');
|
|
@@ -813,7 +830,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
813
830
|
__extends(ColorEditor, _super);
|
|
814
831
|
function ColorEditor() {
|
|
815
832
|
var _this = _super.call(this) || this;
|
|
816
|
-
_this.
|
|
833
|
+
_this._view = null;
|
|
817
834
|
_this.s = null;
|
|
818
835
|
_this.r = null;
|
|
819
836
|
_this.e = null;
|
|
@@ -851,15 +868,25 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
851
868
|
NativeUIXInputsFactory.m();
|
|
852
869
|
var a = new ColorEditorView();
|
|
853
870
|
a.a = _this;
|
|
854
|
-
_this.
|
|
855
|
-
_this.
|
|
871
|
+
_this.view = a;
|
|
872
|
+
_this.view.r();
|
|
856
873
|
return _this;
|
|
857
874
|
}
|
|
875
|
+
Object.defineProperty(ColorEditor.prototype, "view", {
|
|
876
|
+
get: function () {
|
|
877
|
+
return this._view;
|
|
878
|
+
},
|
|
879
|
+
set: function (a) {
|
|
880
|
+
this._view = a;
|
|
881
|
+
},
|
|
882
|
+
enumerable: false,
|
|
883
|
+
configurable: true
|
|
884
|
+
});
|
|
858
885
|
ColorEditor.prototype.onAttachedToUI = function () {
|
|
859
|
-
this.
|
|
886
|
+
this.view.o();
|
|
860
887
|
};
|
|
861
888
|
ColorEditor.prototype.onDetachedFromUI = function () {
|
|
862
|
-
this.
|
|
889
|
+
this.view.q();
|
|
863
890
|
};
|
|
864
891
|
ColorEditor.prototype.b4 = function (a, b) {
|
|
865
892
|
if (this.valueChanging != null) {
|
|
@@ -879,12 +906,12 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
879
906
|
this.provideContainer(null);
|
|
880
907
|
};
|
|
881
908
|
ColorEditor.prototype.provideContainer = function (a) {
|
|
882
|
-
this.
|
|
909
|
+
this.view.p(a);
|
|
883
910
|
};
|
|
884
911
|
Object.defineProperty(ColorEditor.prototype, "u", {
|
|
885
912
|
get: function () {
|
|
886
913
|
if (this.t == null) {
|
|
887
|
-
this.t = new SRProvider(this.
|
|
914
|
+
this.t = new SRProvider(this.view.i);
|
|
888
915
|
this.t.cb("ColorEditor");
|
|
889
916
|
}
|
|
890
917
|
return this.t;
|
|
@@ -1154,7 +1181,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1154
1181
|
break;
|
|
1155
1182
|
case "Label":
|
|
1156
1183
|
if (this.r != null) {
|
|
1157
|
-
this.r.
|
|
1184
|
+
this.r.b6 = this.a2;
|
|
1158
1185
|
}
|
|
1159
1186
|
break;
|
|
1160
1187
|
case "TextStyle":
|
|
@@ -1162,7 +1189,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1162
1189
|
break;
|
|
1163
1190
|
case "ShowClearButton":
|
|
1164
1191
|
if (this.r != null) {
|
|
1165
|
-
if (this.r.
|
|
1192
|
+
if (this.r.b8 != "") {
|
|
1166
1193
|
}
|
|
1167
1194
|
}
|
|
1168
1195
|
break;
|
|
@@ -1174,14 +1201,14 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1174
1201
|
break;
|
|
1175
1202
|
case "AllowTextInput":
|
|
1176
1203
|
if (this.r != null) {
|
|
1177
|
-
this.r.
|
|
1204
|
+
this.r.b1 = this.am();
|
|
1178
1205
|
}
|
|
1179
1206
|
break;
|
|
1180
1207
|
case "OpenOnFocus": break;
|
|
1181
1208
|
case "IsDisabled":
|
|
1182
1209
|
{
|
|
1183
1210
|
if (this.r != null) {
|
|
1184
|
-
this.r.
|
|
1211
|
+
this.r.b1 = this.am();
|
|
1185
1212
|
}
|
|
1186
1213
|
}
|
|
1187
1214
|
break;
|
|
@@ -1192,7 +1219,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1192
1219
|
};
|
|
1193
1220
|
ColorEditor.prototype.cj = function () {
|
|
1194
1221
|
if (this.r != null) {
|
|
1195
|
-
this.r.
|
|
1222
|
+
this.r.cf = this.cr;
|
|
1196
1223
|
}
|
|
1197
1224
|
};
|
|
1198
1225
|
ColorEditor.prototype.ch = function () {
|
|
@@ -1201,7 +1228,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1201
1228
|
};
|
|
1202
1229
|
ColorEditor.prototype.ci = function () {
|
|
1203
1230
|
if (this.n != null) {
|
|
1204
|
-
this.r.
|
|
1231
|
+
this.r.bl = this.n;
|
|
1205
1232
|
}
|
|
1206
1233
|
};
|
|
1207
1234
|
ColorEditor.prototype.bh = function () {
|
|
@@ -1209,7 +1236,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1209
1236
|
return;
|
|
1210
1237
|
}
|
|
1211
1238
|
if (this.r != null) {
|
|
1212
|
-
this.r.
|
|
1239
|
+
this.r.b8 = "";
|
|
1213
1240
|
}
|
|
1214
1241
|
this.value = BrushUtil.l(0, 0, 0, 0);
|
|
1215
1242
|
this.e.ax();
|
|
@@ -1222,8 +1249,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1222
1249
|
this.aa = false;
|
|
1223
1250
|
};
|
|
1224
1251
|
ColorEditor.prototype.br = function () {
|
|
1225
|
-
NativeUIWindow.h(15, runOn(this, this.b7), this.
|
|
1226
|
-
NativeUIWindow.h(9, runOn(this, this.b6), this.
|
|
1252
|
+
NativeUIWindow.h(15, runOn(this, this.b7), this.view.i);
|
|
1253
|
+
NativeUIWindow.h(9, runOn(this, this.b6), this.view.i);
|
|
1227
1254
|
};
|
|
1228
1255
|
ColorEditor.prototype.bv = function () {
|
|
1229
1256
|
NativeUIWindow.i(15, runOn(this, this.b7));
|
|
@@ -1232,46 +1259,46 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1232
1259
|
ColorEditor.prototype.b6 = function (a) {
|
|
1233
1260
|
var b = a;
|
|
1234
1261
|
if (this.r != null) {
|
|
1235
|
-
if (this.s.
|
|
1262
|
+
if (this.s.b7 && !this.s.t(b.b) && !this.r.t(b.b)) {
|
|
1236
1263
|
this.bi();
|
|
1237
1264
|
}
|
|
1238
1265
|
}
|
|
1239
1266
|
};
|
|
1240
1267
|
ColorEditor.prototype.b7 = function (a) {
|
|
1241
1268
|
if (this.r != null) {
|
|
1242
|
-
var b = this.r.
|
|
1243
|
-
this.s.
|
|
1269
|
+
var b = this.r.bf();
|
|
1270
|
+
this.s.cf(b);
|
|
1244
1271
|
}
|
|
1245
1272
|
};
|
|
1246
1273
|
ColorEditor.prototype.bj = function () {
|
|
1247
1274
|
var _this = this;
|
|
1248
|
-
NativeUIComponent.
|
|
1275
|
+
NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
|
|
1249
1276
|
var b = a[0];
|
|
1250
1277
|
var c = a[1];
|
|
1251
1278
|
var d = a[2];
|
|
1252
1279
|
var e = a[3];
|
|
1253
|
-
var f = _this.
|
|
1254
|
-
_this.
|
|
1255
|
-
b.
|
|
1256
|
-
d.
|
|
1257
|
-
_this.
|
|
1258
|
-
b.
|
|
1259
|
-
b.
|
|
1260
|
-
b.
|
|
1261
|
-
b.
|
|
1262
|
-
b.
|
|
1280
|
+
var f = _this.view.j();
|
|
1281
|
+
_this.view.l(e, f);
|
|
1282
|
+
b.bo(d);
|
|
1283
|
+
d.bo(e);
|
|
1284
|
+
_this.view.m(c);
|
|
1285
|
+
b.ci = BrushUtil.l(255, 255, 255, 255);
|
|
1286
|
+
b.cb = 150;
|
|
1287
|
+
b.b9 = 8;
|
|
1288
|
+
b.cc = 4;
|
|
1289
|
+
b.b2 = true;
|
|
1263
1290
|
_this.r = c;
|
|
1264
1291
|
_this.r.c = _this.j;
|
|
1265
|
-
_this.r.
|
|
1266
|
-
_this.r.
|
|
1267
|
-
_this.r.
|
|
1268
|
-
_this.r.
|
|
1269
|
-
_this.r.
|
|
1292
|
+
_this.r.bq = _this.l;
|
|
1293
|
+
_this.r.b7 = ColorEditor.a8;
|
|
1294
|
+
_this.r.cd = BrushUtil.l(255, 255, 255, 255);
|
|
1295
|
+
_this.r.ce = BrushUtil.l(255, 0, 0, 0);
|
|
1296
|
+
_this.r.bo = runOn(_this, _this.cf);
|
|
1270
1297
|
_this.r.n = runOn(_this, _this.by);
|
|
1271
1298
|
_this.r.o = runOn(_this, _this.b0);
|
|
1272
|
-
_this.r.
|
|
1299
|
+
_this.r.cc = BrushUtil.l(255, 0, 0, 255);
|
|
1273
1300
|
_this.s = b;
|
|
1274
|
-
_this.e = _this.
|
|
1301
|
+
_this.e = _this.view.c(f);
|
|
1275
1302
|
_this.e.value = _this.value;
|
|
1276
1303
|
var g = _this.e;
|
|
1277
1304
|
g.closed = delegateCombine(g.closed, runOn(_this, _this.bf));
|
|
@@ -1291,7 +1318,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1291
1318
|
this.bl(a);
|
|
1292
1319
|
};
|
|
1293
1320
|
ColorEditor.prototype.b0 = function (a, b) {
|
|
1294
|
-
if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.
|
|
1321
|
+
if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.ao == b.b)) {
|
|
1295
1322
|
this.bp();
|
|
1296
1323
|
}
|
|
1297
1324
|
};
|
|
@@ -1309,18 +1336,18 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1309
1336
|
};
|
|
1310
1337
|
ColorEditor.prototype.b5 = function (a, b) {
|
|
1311
1338
|
if (this.r != null) {
|
|
1312
|
-
this.r.
|
|
1339
|
+
this.r.cc = b;
|
|
1313
1340
|
}
|
|
1314
1341
|
};
|
|
1315
1342
|
ColorEditor.prototype.bl = function (a) {
|
|
1316
|
-
if (this.s.
|
|
1343
|
+
if (this.s.b7) {
|
|
1317
1344
|
this.w = true;
|
|
1318
1345
|
this.bi();
|
|
1319
1346
|
}
|
|
1320
1347
|
};
|
|
1321
1348
|
ColorEditor.prototype.cg = function () {
|
|
1322
1349
|
if (this.w == false) {
|
|
1323
|
-
if (this.s.
|
|
1350
|
+
if (this.s.b7) {
|
|
1324
1351
|
this.bi();
|
|
1325
1352
|
}
|
|
1326
1353
|
else {
|
|
@@ -1336,8 +1363,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1336
1363
|
return;
|
|
1337
1364
|
}
|
|
1338
1365
|
if (this.s != null) {
|
|
1339
|
-
var a = this.
|
|
1340
|
-
var b = this.
|
|
1366
|
+
var a = this.view.s(false);
|
|
1367
|
+
var b = this.view.t();
|
|
1341
1368
|
var c = b.height;
|
|
1342
1369
|
var d = 240;
|
|
1343
1370
|
var e = a.bottom + d;
|
|
@@ -1357,14 +1384,14 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1357
1384
|
};
|
|
1358
1385
|
ColorEditor.prototype.ce = function (a, b) {
|
|
1359
1386
|
{
|
|
1360
|
-
var c = this.
|
|
1361
|
-
this.s.
|
|
1387
|
+
var c = this.view.s(true);
|
|
1388
|
+
this.s.cg(c, a, b);
|
|
1362
1389
|
}
|
|
1363
1390
|
};
|
|
1364
1391
|
ColorEditor.prototype.bi = function () {
|
|
1365
1392
|
var _this = this;
|
|
1366
1393
|
if (this.s != null) {
|
|
1367
|
-
this.a.executeDelayed(function () { return _this.s.
|
|
1394
|
+
this.a.executeDelayed(function () { return _this.s.cd(); }, 0);
|
|
1368
1395
|
}
|
|
1369
1396
|
if (this.e != null) {
|
|
1370
1397
|
this.e.bg();
|
|
@@ -1377,9 +1404,9 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1377
1404
|
a = false;
|
|
1378
1405
|
}
|
|
1379
1406
|
if (this.r != null) {
|
|
1380
|
-
this.r.
|
|
1407
|
+
this.r.a1();
|
|
1381
1408
|
}
|
|
1382
|
-
if (!this.s.
|
|
1409
|
+
if (!this.s.b7 && this.al == true) {
|
|
1383
1410
|
if (this.w == false) {
|
|
1384
1411
|
if (this.aa) {
|
|
1385
1412
|
return;
|
|
@@ -1407,7 +1434,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1407
1434
|
};
|
|
1408
1435
|
ColorEditor.prototype.cb = function () {
|
|
1409
1436
|
if (this.r != null) {
|
|
1410
|
-
this.r.
|
|
1437
|
+
this.r.ca();
|
|
1411
1438
|
}
|
|
1412
1439
|
};
|
|
1413
1440
|
ColorEditor.prototype.bo = function () {
|
|
@@ -1762,7 +1789,7 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1762
1789
|
};
|
|
1763
1790
|
ColorEditorPanel.prototype.a4 = function () {
|
|
1764
1791
|
var _this = this;
|
|
1765
|
-
NativeUIContent.
|
|
1792
|
+
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) {
|
|
1766
1793
|
var b = a[0];
|
|
1767
1794
|
var c = a[1];
|
|
1768
1795
|
var d = a[2];
|
|
@@ -1778,97 +1805,97 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1778
1805
|
var n = a[12];
|
|
1779
1806
|
var o = a[13];
|
|
1780
1807
|
var p = a[14];
|
|
1781
|
-
e.
|
|
1782
|
-
i.
|
|
1783
|
-
g.
|
|
1784
|
-
e.
|
|
1785
|
-
i.
|
|
1786
|
-
g.
|
|
1787
|
-
g.
|
|
1788
|
-
f.
|
|
1789
|
-
l.
|
|
1808
|
+
e.bl = 2;
|
|
1809
|
+
i.bl = 0;
|
|
1810
|
+
g.bl = 1;
|
|
1811
|
+
e.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1812
|
+
i.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1813
|
+
g.bx = BrushUtil.l(0, 0, 0, 0);
|
|
1814
|
+
g.bi = new Thickness(1, 0, 5, 5, 0);
|
|
1815
|
+
f.bi = new Thickness(1, 0, 5, 5, 0);
|
|
1816
|
+
l.b0 = "Ok";
|
|
1790
1817
|
l.c = _this.f;
|
|
1791
|
-
m.
|
|
1818
|
+
m.b0 = "Cancel";
|
|
1792
1819
|
m.c = _this.f;
|
|
1793
|
-
i.
|
|
1794
|
-
h.
|
|
1795
|
-
e.
|
|
1796
|
-
d.
|
|
1797
|
-
p.
|
|
1798
|
-
p.
|
|
1799
|
-
c.
|
|
1800
|
-
c.
|
|
1801
|
-
c.
|
|
1802
|
-
n.
|
|
1803
|
-
n.
|
|
1804
|
-
n.
|
|
1805
|
-
n.
|
|
1806
|
-
j.
|
|
1807
|
-
j.
|
|
1808
|
-
j.
|
|
1820
|
+
i.bi = new Thickness(1, 5, 0, 5, 2);
|
|
1821
|
+
h.bi = new Thickness(1, 5, 0, 5, 2);
|
|
1822
|
+
e.bi = new Thickness(1, 5, 5, 5, 0);
|
|
1823
|
+
d.bi = new Thickness(1, 5, 5, 5, 0);
|
|
1824
|
+
p.bi = new Thickness(1, 5, 16, 0, 11);
|
|
1825
|
+
p.a9 = BrushUtil.l(255, 255, 0, 0);
|
|
1826
|
+
c.cf(p, 0);
|
|
1827
|
+
c.cd(p, 0);
|
|
1828
|
+
c.bo(p);
|
|
1829
|
+
n.b5(0, 2, 1);
|
|
1830
|
+
n.b5(1, 2, 1);
|
|
1831
|
+
n.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1832
|
+
n.cd(j, 0);
|
|
1833
|
+
j.bi = new Thickness(1, 0, 0, 2, 0);
|
|
1834
|
+
j.bv = 1;
|
|
1835
|
+
j.bq = _this.h;
|
|
1809
1836
|
j.c = _this.f;
|
|
1810
|
-
j.
|
|
1811
|
-
o.
|
|
1812
|
-
o.
|
|
1813
|
-
o.
|
|
1837
|
+
j.b6 = "rgba";
|
|
1838
|
+
o.bi = new Thickness(1, 0, 0, 2, 0);
|
|
1839
|
+
o.bv = 1;
|
|
1840
|
+
o.bq = _this.h;
|
|
1814
1841
|
o.c = _this.f;
|
|
1815
|
-
o.
|
|
1816
|
-
n.
|
|
1817
|
-
n.
|
|
1818
|
-
n.
|
|
1819
|
-
l.
|
|
1820
|
-
m.
|
|
1821
|
-
l.
|
|
1822
|
-
m.
|
|
1823
|
-
l.
|
|
1824
|
-
m.
|
|
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.
|
|
1846
|
-
b.
|
|
1847
|
-
b.
|
|
1848
|
-
b.
|
|
1849
|
-
b.
|
|
1850
|
-
b.
|
|
1851
|
-
b.
|
|
1852
|
-
b.
|
|
1853
|
-
b.
|
|
1854
|
-
k.
|
|
1855
|
-
k.
|
|
1856
|
-
k.
|
|
1857
|
-
k.
|
|
1858
|
-
k.
|
|
1859
|
-
k.
|
|
1860
|
-
b.
|
|
1861
|
-
b.
|
|
1862
|
-
b.
|
|
1863
|
-
b.
|
|
1864
|
-
b.
|
|
1865
|
-
b.
|
|
1866
|
-
b.
|
|
1867
|
-
b.
|
|
1868
|
-
b.
|
|
1842
|
+
o.b6 = "hex";
|
|
1843
|
+
n.cd(o, 1);
|
|
1844
|
+
n.bo(j);
|
|
1845
|
+
n.bo(o);
|
|
1846
|
+
l.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1847
|
+
m.bi = new Thickness(1, 5, 2, 5, 2);
|
|
1848
|
+
l.bq = _this.h;
|
|
1849
|
+
m.bq = _this.h;
|
|
1850
|
+
l.bn = runOn(_this, _this.a6);
|
|
1851
|
+
m.bn = runOn(_this, _this.bh);
|
|
1852
|
+
b.b7(0, 1, 175);
|
|
1853
|
+
b.b7(1, 0, 0);
|
|
1854
|
+
b.b7(2, 0, 0);
|
|
1855
|
+
b.b7(3, 0, 0);
|
|
1856
|
+
b.b5(0, 1, 90);
|
|
1857
|
+
b.b5(1, 1, 175);
|
|
1858
|
+
b.b5(2, 1, 25);
|
|
1859
|
+
b.cf(c, 0);
|
|
1860
|
+
b.cd(c, 0);
|
|
1861
|
+
b.cf(d, 0);
|
|
1862
|
+
b.cd(d, 1);
|
|
1863
|
+
b.cf(e, 0);
|
|
1864
|
+
b.cd(e, 1);
|
|
1865
|
+
b.cf(f, 0);
|
|
1866
|
+
b.cd(f, 3);
|
|
1867
|
+
b.cf(g, 0);
|
|
1868
|
+
b.cd(g, 3);
|
|
1869
|
+
b.cf(h, 1);
|
|
1870
|
+
b.cd(h, 0);
|
|
1871
|
+
b.ce(h, 3);
|
|
1872
|
+
b.cf(i, 1);
|
|
1873
|
+
b.cd(i, 0);
|
|
1874
|
+
b.ce(i, 3);
|
|
1875
|
+
b.cf(n, 2);
|
|
1876
|
+
b.cd(n, 0);
|
|
1877
|
+
b.ce(n, 3);
|
|
1878
|
+
b.cf(k, 3);
|
|
1879
|
+
b.cd(k, 0);
|
|
1880
|
+
b.ce(k, 3);
|
|
1881
|
+
k.b5(0, 2, 1);
|
|
1882
|
+
k.b5(1, 2, 1);
|
|
1883
|
+
k.cd(l, 0);
|
|
1884
|
+
k.cd(m, 1);
|
|
1885
|
+
k.bo(l);
|
|
1886
|
+
k.bo(m);
|
|
1887
|
+
b.bo(c);
|
|
1888
|
+
b.bo(d);
|
|
1889
|
+
b.bo(e);
|
|
1890
|
+
b.bo(f);
|
|
1891
|
+
b.bo(g);
|
|
1892
|
+
b.bo(h);
|
|
1893
|
+
b.bo(i);
|
|
1894
|
+
b.bo(n);
|
|
1895
|
+
b.bo(k);
|
|
1869
1896
|
_this.d.a8(b);
|
|
1870
1897
|
_this.n = b;
|
|
1871
|
-
_this.n.
|
|
1898
|
+
_this.n.by = true;
|
|
1872
1899
|
_this.s = i;
|
|
1873
1900
|
_this.u = g;
|
|
1874
1901
|
_this.m = f;
|
|
@@ -1876,24 +1903,24 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1876
1903
|
_this.o = p;
|
|
1877
1904
|
_this.r = j;
|
|
1878
1905
|
_this.q = o;
|
|
1879
|
-
_this.s.
|
|
1880
|
-
_this.s.
|
|
1881
|
-
_this.s.by = BrushUtil.l(255, 255, 255, 255);
|
|
1906
|
+
_this.s.br = 0;
|
|
1907
|
+
_this.s.bq = 360;
|
|
1882
1908
|
_this.s.bz = BrushUtil.l(255, 255, 255, 255);
|
|
1883
|
-
_this.
|
|
1884
|
-
_this.u.
|
|
1885
|
-
_this.
|
|
1886
|
-
_this.t.bz = BrushUtil.l(255,
|
|
1887
|
-
_this.t.
|
|
1888
|
-
_this.t.
|
|
1889
|
-
_this.t.
|
|
1890
|
-
_this.t.
|
|
1909
|
+
_this.s.b0 = BrushUtil.l(255, 255, 255, 255);
|
|
1910
|
+
_this.u.br = 0;
|
|
1911
|
+
_this.u.bq = 1;
|
|
1912
|
+
_this.t.bz = BrushUtil.l(255, 155, 155, 155);
|
|
1913
|
+
_this.t.b0 = BrushUtil.l(255, 255, 255, 255);
|
|
1914
|
+
_this.t.br = 0;
|
|
1915
|
+
_this.t.bq = 1;
|
|
1916
|
+
_this.t.bv = 0;
|
|
1917
|
+
_this.t.bu = 1;
|
|
1918
|
+
_this.s.bp = runOn(_this, _this.au);
|
|
1891
1919
|
_this.s.bo = runOn(_this, _this.au);
|
|
1892
|
-
_this.
|
|
1920
|
+
_this.u.bp = runOn(_this, _this.aw);
|
|
1893
1921
|
_this.u.bo = runOn(_this, _this.aw);
|
|
1894
|
-
_this.
|
|
1922
|
+
_this.t.bp = runOn(_this, _this.av);
|
|
1895
1923
|
_this.t.bo = runOn(_this, _this.av);
|
|
1896
|
-
_this.t.bn = runOn(_this, _this.av);
|
|
1897
1924
|
_this.l = d;
|
|
1898
1925
|
_this.k = h;
|
|
1899
1926
|
_this.p = c;
|
|
@@ -1930,26 +1957,26 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1930
1957
|
var a = Color.u(0, 0, 0, 0);
|
|
1931
1958
|
var b = Color.u(255, 255, 0, 0);
|
|
1932
1959
|
if (this.s != null) {
|
|
1933
|
-
var c = this.s.
|
|
1934
|
-
var d = this.t.
|
|
1935
|
-
var e = 1 - this.t.
|
|
1936
|
-
var f = 1 - this.u.
|
|
1960
|
+
var c = this.s.bt;
|
|
1961
|
+
var d = this.t.bt;
|
|
1962
|
+
var e = 1 - this.t.bw;
|
|
1963
|
+
var f = 1 - this.u.bt;
|
|
1937
1964
|
b = ColorUtil.r(1, c, 1, 0.5);
|
|
1938
1965
|
a = ColorUtil.r(f, c, d, e);
|
|
1939
|
-
this.s.
|
|
1940
|
-
this.t.
|
|
1941
|
-
this.o.
|
|
1942
|
-
this.d.bm(this.s.
|
|
1966
|
+
this.s.by = BrushUtil.l(b.l, b.o, b.n, b.m);
|
|
1967
|
+
this.t.by = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1968
|
+
this.o.a9 = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1969
|
+
this.d.bm(this.s.bt);
|
|
1943
1970
|
this.d.bn(0);
|
|
1944
|
-
this.d.bo(this.s.
|
|
1971
|
+
this.d.bo(this.s.bt, this.t.bt, 1 - this.t.bw);
|
|
1945
1972
|
}
|
|
1946
1973
|
if (this.r != null) {
|
|
1947
1974
|
var g = a.o + ", " + a.n + ", " + a.m + ", " + Math.round((a.l / 255) * 1000) / 1000;
|
|
1948
|
-
this.r.
|
|
1975
|
+
this.r.b8 = g;
|
|
1949
1976
|
}
|
|
1950
1977
|
if (this.q != null) {
|
|
1951
1978
|
var h = ColorUtil.k(a, false);
|
|
1952
|
-
this.q.
|
|
1979
|
+
this.q.b8 = h;
|
|
1953
1980
|
}
|
|
1954
1981
|
this.bx = BrushUtil.l(a.l, a.o, a.n, a.m);
|
|
1955
1982
|
this.bc(this.value);
|
|
@@ -1962,7 +1989,7 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1962
1989
|
ColorEditorPanel.prototype.bl = function () {
|
|
1963
1990
|
};
|
|
1964
1991
|
ColorEditorPanel.prototype.a3 = function () {
|
|
1965
|
-
this.n.
|
|
1992
|
+
this.n.a0();
|
|
1966
1993
|
};
|
|
1967
1994
|
ColorEditorPanel.prototype.onAttachedToUI = function () {
|
|
1968
1995
|
this.d.bg();
|
|
@@ -1992,10 +2019,10 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1992
2019
|
var a = this.b5;
|
|
1993
2020
|
var b = ColorUtil.a(a);
|
|
1994
2021
|
this.y = true;
|
|
1995
|
-
this.s.
|
|
1996
|
-
this.u.
|
|
1997
|
-
this.t.
|
|
1998
|
-
this.t.
|
|
2022
|
+
this.s.bt = b[1] == -1 ? 0 : b[1];
|
|
2023
|
+
this.u.bt = 1 - b[0];
|
|
2024
|
+
this.t.bt = b[2];
|
|
2025
|
+
this.t.bw = 1 - b[3];
|
|
1999
2026
|
this.y = false;
|
|
2000
2027
|
if (this.x) {
|
|
2001
2028
|
this.bn();
|
|
@@ -2015,7 +2042,7 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2015
2042
|
this.bn();
|
|
2016
2043
|
};
|
|
2017
2044
|
ColorEditorPanel.prototype.a0 = function (a, b, c) {
|
|
2018
|
-
var d = this.s.
|
|
2045
|
+
var d = this.s.bt;
|
|
2019
2046
|
var e = 1;
|
|
2020
2047
|
var f = 255;
|
|
2021
2048
|
for (var g = 0; g < c; g++) {
|
|
@@ -2174,12 +2201,12 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2174
2201
|
};
|
|
2175
2202
|
ColorEditorPanel.prototype.ad = function () {
|
|
2176
2203
|
if (this.s != null) {
|
|
2177
|
-
return this.s.
|
|
2204
|
+
return this.s.bt;
|
|
2178
2205
|
}
|
|
2179
2206
|
return 0;
|
|
2180
2207
|
};
|
|
2181
2208
|
ColorEditorPanel.prototype.a1 = function (a, b, c) {
|
|
2182
|
-
var d = this.s.
|
|
2209
|
+
var d = this.s.bt;
|
|
2183
2210
|
var e = 1;
|
|
2184
2211
|
var f = 255;
|
|
2185
2212
|
for (var g = 0; g < c; g++) {
|
|
@@ -2216,11 +2243,11 @@ var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2216
2243
|
}
|
|
2217
2244
|
};
|
|
2218
2245
|
ColorEditorPanel.prototype.a2 = function (a, b, c) {
|
|
2219
|
-
var d = this.s.
|
|
2246
|
+
var d = this.s.bt;
|
|
2220
2247
|
var e = 1;
|
|
2221
2248
|
var f = 255;
|
|
2222
|
-
var g = 1 - this.t.
|
|
2223
|
-
var h = this.t.
|
|
2249
|
+
var g = 1 - this.t.bw;
|
|
2250
|
+
var h = this.t.bt;
|
|
2224
2251
|
for (var i = 0; i < c; i++) {
|
|
2225
2252
|
var j = i / c;
|
|
2226
2253
|
for (var k = 0; k < b; k++) {
|