igniteui-angular-inputs 21.0.1 → 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.
Files changed (70) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +931 -765
  2. package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonView_combined.js +21 -21
  4. package/esm2015/lib/CalendarView_combined.js +3 -3
  5. package/esm2015/lib/CheckboxView_combined.js +23 -23
  6. package/esm2015/lib/IconView_combined.js +163 -163
  7. package/esm2015/lib/InputGroupView_combined.js +31 -31
  8. package/esm2015/lib/MultiSliderBridge.js +14 -14
  9. package/esm2015/lib/MultiSliderView_combined.js +17 -17
  10. package/esm2015/lib/NativeUIXInputsFactory_combined.js +241 -222
  11. package/esm2015/lib/RippleView_combined.js +1 -1
  12. package/esm2015/lib/XButtonBridge.js +20 -20
  13. package/esm2015/lib/XButtonGroupBridge.js +8 -8
  14. package/esm2015/lib/XCheckboxBridge.js +8 -8
  15. package/esm2015/lib/XComponentBridge.js +4 -2
  16. package/esm2015/lib/XIconBridge.js +23 -23
  17. package/esm2015/lib/XIconButtonBridge.js +5 -5
  18. package/esm2015/lib/XInputBridge.js +18 -18
  19. package/esm2015/lib/XPopupBridge.js +28 -28
  20. package/esm2015/lib/igx-color-editor-component.js +3 -0
  21. package/esm2015/lib/igx-multi-slider-thumb-collection.js +7 -7
  22. package/esm2015/lib/igx-multi-slider-thumb-component.js +209 -0
  23. package/esm2015/lib/igx-multi-slider-thumb-dynamic-module.js +34 -0
  24. package/esm2015/lib/igx-multi-slider-thumb-module.js +27 -0
  25. package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +3 -8
  26. package/esm2015/lib/igx-multi-slider-track-thumb-range.js +5 -15
  27. package/esm2015/lib/igx-x-icon-component.js +10 -10
  28. package/esm2015/public_api.js +3 -1
  29. package/esm5/lib/ButtonView_combined.js +21 -21
  30. package/esm5/lib/CalendarView_combined.js +3 -3
  31. package/esm5/lib/CheckboxView_combined.js +23 -23
  32. package/esm5/lib/IconView_combined.js +158 -158
  33. package/esm5/lib/InputGroupView_combined.js +31 -31
  34. package/esm5/lib/MultiSliderBridge.js +14 -14
  35. package/esm5/lib/MultiSliderView_combined.js +17 -17
  36. package/esm5/lib/NativeUIXInputsFactory_combined.js +251 -224
  37. package/esm5/lib/RippleView_combined.js +1 -1
  38. package/esm5/lib/XButtonBridge.js +20 -20
  39. package/esm5/lib/XButtonGroupBridge.js +8 -8
  40. package/esm5/lib/XCheckboxBridge.js +8 -8
  41. package/esm5/lib/XComponentBridge.js +4 -2
  42. package/esm5/lib/XIconBridge.js +23 -23
  43. package/esm5/lib/XIconButtonBridge.js +5 -5
  44. package/esm5/lib/XInputBridge.js +18 -18
  45. package/esm5/lib/XPopupBridge.js +28 -28
  46. package/esm5/lib/igx-color-editor-component.js +3 -0
  47. package/esm5/lib/igx-multi-slider-thumb-collection.js +7 -7
  48. package/esm5/lib/igx-multi-slider-thumb-component.js +233 -0
  49. package/esm5/lib/igx-multi-slider-thumb-dynamic-module.js +33 -0
  50. package/esm5/lib/igx-multi-slider-thumb-module.js +28 -0
  51. package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +3 -8
  52. package/esm5/lib/igx-multi-slider-track-thumb-range.js +5 -15
  53. package/esm5/lib/igx-x-icon-component.js +10 -10
  54. package/esm5/public_api.js +3 -1
  55. package/fesm2015/igniteui-angular-inputs.js +906 -749
  56. package/fesm5/igniteui-angular-inputs.js +929 -765
  57. package/lib/IconView_combined.d.ts +33 -34
  58. package/lib/MultiSliderView_combined.d.ts +1 -1
  59. package/lib/NativeUIXInputsFactory_combined.d.ts +18 -13
  60. package/lib/igx-multi-slider-thumb-collection.d.ts +4 -4
  61. package/lib/igx-multi-slider-thumb-component.d.ts +47 -0
  62. package/lib/igx-multi-slider-thumb-dynamic-module.d.ts +9 -0
  63. package/lib/igx-multi-slider-thumb-module.d.ts +8 -0
  64. package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +3 -3
  65. package/lib/igx-multi-slider-track-thumb-range.d.ts +5 -5
  66. package/package.json +2 -2
  67. package/public_api.d.ts +3 -1
  68. package/esm2015/lib/igx-multi-slider-thumb.js +0 -111
  69. package/esm5/lib/igx-multi-slider-thumb.js +0 -134
  70. package/lib/igx-multi-slider-thumb.d.ts +0 -33
@@ -71,7 +71,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
71
71
  return NativeUIXInputsFactory.a;
72
72
  }
73
73
  static m() {
74
- NativeUIComponent.as(NativeUIXInputsFactory.b);
74
+ NativeUIComponent.at(NativeUIXInputsFactory.b);
75
75
  }
76
76
  get flavor() {
77
77
  return this.c;
@@ -141,7 +141,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
141
141
  f.inputs.add(j);
142
142
  let l = new XInputBridge(f);
143
143
  let m = new NativeUIInput();
144
- m.an = d;
144
+ m.ao = d;
145
145
  m.d = l;
146
146
  b(m);
147
147
  }
@@ -155,7 +155,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
155
155
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
156
156
  let h = new XButtonBridge(f);
157
157
  let i = new NativeUIButton();
158
- i.an = d;
158
+ i.ao = d;
159
159
  i.d = h;
160
160
  b(i);
161
161
  }
@@ -170,7 +170,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
170
170
  let h = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
171
171
  let i = new MultiSliderBridge(f);
172
172
  let j = new NativeUISlider();
173
- j.an = d;
173
+ j.ao = d;
174
174
  j.d = i;
175
175
  b(j);
176
176
  }
@@ -183,7 +183,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
183
183
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
184
184
  let h = new XButtonGroupBridge(f);
185
185
  let i = new NativeUIButtonGroup();
186
- i.an = d;
186
+ i.ao = d;
187
187
  i.d = h;
188
188
  b(i);
189
189
  }
@@ -196,7 +196,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
196
196
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
197
197
  let h = new ColorEditorBridge(f);
198
198
  let i = new NativeUIColorEditor();
199
- i.an = d;
199
+ i.ao = d;
200
200
  i.d = h;
201
201
  b(i);
202
202
  }
@@ -209,7 +209,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
209
209
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
210
210
  let h = new XCheckboxBridge(f);
211
211
  let i = new NativeUICheckbox();
212
- i.an = d;
212
+ i.ao = d;
213
213
  i.d = h;
214
214
  b(i);
215
215
  }
@@ -222,7 +222,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
222
222
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
223
223
  let h = new XIconBridge(f);
224
224
  let i = new NativeUIIcon();
225
- i.an = d;
225
+ i.ao = d;
226
226
  i.d = h;
227
227
  let j = c.createElement("div");
228
228
  let k = c.getSubRenderer(j);
@@ -233,9 +233,9 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
233
233
  let m = k.getExternal(l, k.rootWrapper, k.getExternal(l, null, null));
234
234
  let n = new XButtonBridge(l);
235
235
  let o = new NativeUIButton();
236
- o.an = j;
236
+ o.ao = j;
237
237
  o.d = n;
238
- o.bo = i;
238
+ o.bp = i;
239
239
  b(o);
240
240
  }
241
241
  h(a, b) {
@@ -247,7 +247,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
247
247
  let g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
248
248
  let h = new XIconBridge(f);
249
249
  let i = new NativeUIIcon();
250
- i.an = d;
250
+ i.ao = d;
251
251
  i.d = h;
252
252
  b(i);
253
253
  }
@@ -259,7 +259,7 @@ export let NativeUIXInputsFactory = /*@__PURE__*/ (() => {
259
259
  f.provideRenderer(e);
260
260
  let g = new XPopupBridge(f);
261
261
  let h = new NativeUIPopup();
262
- h.an = d;
262
+ h.ao = d;
263
263
  h.d = g;
264
264
  b(h);
265
265
  }
@@ -452,7 +452,7 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
452
452
  bf(a) {
453
453
  }
454
454
  a8(a) {
455
- this.aa.append(this.aa.getWrapper(a.an));
455
+ this.aa.append(this.aa.getWrapper(a.ao));
456
456
  }
457
457
  be(a, b, c, d, e, f, g) {
458
458
  let h = truncate(Math.round(f * this.a.ab));
@@ -475,8 +475,8 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
475
475
  };
476
476
  }
477
477
  ba(a) {
478
- if (this.ae == null || a.ao == null) {
479
- a.ao = "image";
478
+ if (this.ae == null || a.ap == null) {
479
+ a.ap = "image";
480
480
  let b = this.aa.createElement("canvas");
481
481
  this.ae = b;
482
482
  let c = this.be(this.ae, this.m, this.l, this.au, this.at, 148, 148);
@@ -486,7 +486,7 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
486
486
  this.at = c.p4;
487
487
  this.ae.setStyleProperty("justify-self", "center");
488
488
  this.ae.setStyleProperty("align-self", "center");
489
- let d = a.an;
489
+ let d = a.ao;
490
490
  d.append(this.ae);
491
491
  this.bm(this.a.ad());
492
492
  }
@@ -520,8 +520,8 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
520
520
  }
521
521
  }
522
522
  a9(a) {
523
- if (this.ad == null || a.ao == null) {
524
- a.ao = "image";
523
+ if (this.ad == null || a.ap == null) {
524
+ a.ap = "image";
525
525
  let b = this.aa.createElement("canvas");
526
526
  this.ad = b;
527
527
  let c = this.be(this.ad, this.j, this.h, this.as, this.ar, 248, 19);
@@ -531,7 +531,7 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
531
531
  this.ar = c.p4;
532
532
  this.ad.setStyleProperty("justify-self", "center");
533
533
  this.ad.setStyleProperty("align-self", "center");
534
- let d = a.an;
534
+ let d = a.ao;
535
535
  d.append(this.ad);
536
536
  this.bl(0);
537
537
  }
@@ -565,9 +565,9 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
565
565
  }
566
566
  }
567
567
  bb(a) {
568
- let b = a.an;
568
+ let b = a.ao;
569
569
  if (b.getChildCount() == 1) {
570
- a.ao = "image";
570
+ a.ap = "image";
571
571
  let c = this.aa.createElement("canvas");
572
572
  this.ah = c;
573
573
  let d = this.be(this.ah, this.t, this.p, this.aw, this.av, 85, 148);
@@ -589,8 +589,8 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
589
589
  }
590
590
  }
591
591
  bc(a) {
592
- if (this.ai == null || a.ao == null) {
593
- a.ao = "image";
592
+ if (this.ai == null || a.ap == null) {
593
+ a.ap = "image";
594
594
  let b = this.aa.createElement("canvas");
595
595
  this.ai = b;
596
596
  let c = this.be(this.ai, this.z, this.v, this.aw, this.av, 25, 148);
@@ -600,7 +600,7 @@ export let ColorEditorPanelView = /*@__PURE__*/ (() => {
600
600
  this.av = c.p4;
601
601
  this.ai.setStyleProperty("justify-self", "center");
602
602
  this.ai.setStyleProperty("align-self", "center");
603
- let d = a.an;
603
+ let d = a.ao;
604
604
  d.append(this.ai);
605
605
  this.bo(0, 1, 0.5);
606
606
  }
@@ -683,18 +683,19 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
683
683
  constructor() {
684
684
  super();
685
685
  this.a = null;
686
- this.h = null;
686
+ this.i = null;
687
687
  this.d = null;
688
688
  this.g = new List$1(Delegate_$type, 0);
689
689
  this.e = true;
690
+ this._createColorEditorPanel = null;
690
691
  this.b = null;
691
692
  }
692
- q() {
693
+ r() {
693
694
  }
694
695
  f() {
695
696
  return true;
696
697
  }
697
- o(a) {
698
+ p(a) {
698
699
  if (a == null) {
699
700
  for (let b of fromEnum(this.g)) {
700
701
  b();
@@ -705,45 +706,57 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
705
706
  if (this.a.a == null) {
706
707
  this.a.a = new DOMExecutionContext(a);
707
708
  }
708
- this.h = a;
709
+ this.i = a;
709
710
  this.a.bj();
710
711
  }
711
- m() {
712
+ n() {
712
713
  if (KeyFrameAnimationFactory.h == null) {
713
- KeyFrameAnimationFactory.h = this.h;
714
+ KeyFrameAnimationFactory.h = this.i;
714
715
  }
715
716
  }
716
- n() {
717
+ o() {
717
718
  this.e = true;
718
719
  }
719
- p() {
720
+ q() {
720
721
  this.e = false;
721
722
  }
723
+ k() {
724
+ return this.i;
725
+ }
726
+ get createColorEditorPanel() {
727
+ return this._createColorEditorPanel;
728
+ }
729
+ set createColorEditorPanel(a) {
730
+ this._createColorEditorPanel = a;
731
+ }
722
732
  j() {
723
- return this.h;
724
- }
725
- i() {
726
- let a = new ColorEditorPanel();
727
- this.b = a;
728
- let b = this.h.createElement("div");
729
- let c = this.h.getSubRenderer(b);
730
- a.provideContainer(c);
731
- let d = this.h.getExternal(a, null, null);
732
- return b;
733
+ if (this.createColorEditorPanel != null) {
734
+ let a = this.createColorEditorPanel();
735
+ let b = this.i.getWrapper(a);
736
+ this.b = (a.i);
737
+ return a;
738
+ }
739
+ let c = new ColorEditorPanel();
740
+ this.b = c;
741
+ let d = this.i.createElement("div");
742
+ let e = this.i.getSubRenderer(d);
743
+ c.provideContainer(e);
744
+ let f = this.i.getExternal(c, null, null);
745
+ return d;
733
746
  }
734
- k(a, b) {
735
- let c = a.an;
736
- c.append(this.h.getWrapper(b));
747
+ l(a, b) {
748
+ let c = a.ao;
749
+ c.append(this.i.getWrapper(b));
737
750
  }
738
- l(a) {
739
- this.h.append(this.h.getWrapper(a.an));
751
+ m(a) {
752
+ this.i.append(this.i.getWrapper(a.ao));
740
753
  }
741
754
  c(a) {
742
755
  return this.b;
743
756
  }
744
- r(a) {
745
- if (this.h != null) {
746
- let b = this.h.rootWrapper.getNativeElement();
757
+ s(a) {
758
+ if (this.i != null) {
759
+ let b = this.i.rootWrapper.getNativeElement();
747
760
  let c = (b.getBoundingClientRect());
748
761
  if (a) {
749
762
  c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
@@ -752,7 +765,7 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
752
765
  }
753
766
  return null;
754
767
  }
755
- s() {
768
+ t() {
756
769
  return new Size(1, NaN, NaN);
757
770
  }
758
771
  }
@@ -766,7 +779,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
766
779
  class ColorEditor extends Base {
767
780
  constructor() {
768
781
  super();
769
- this.h = null;
782
+ this._view = null;
770
783
  this.s = null;
771
784
  this.r = null;
772
785
  this.e = null;
@@ -804,14 +817,20 @@ export let ColorEditor = /*@__PURE__*/ (() => {
804
817
  NativeUIXInputsFactory.m();
805
818
  let a = new ColorEditorView();
806
819
  a.a = this;
807
- this.h = a;
808
- this.h.q();
820
+ this.view = a;
821
+ this.view.r();
822
+ }
823
+ get view() {
824
+ return this._view;
825
+ }
826
+ set view(a) {
827
+ this._view = a;
809
828
  }
810
829
  onAttachedToUI() {
811
- this.h.n();
830
+ this.view.o();
812
831
  }
813
832
  onDetachedFromUI() {
814
- this.h.p();
833
+ this.view.q();
815
834
  }
816
835
  b4(a, b) {
817
836
  if (this.valueChanging != null) {
@@ -831,11 +850,11 @@ export let ColorEditor = /*@__PURE__*/ (() => {
831
850
  this.provideContainer(null);
832
851
  }
833
852
  provideContainer(a) {
834
- this.h.o(a);
853
+ this.view.p(a);
835
854
  }
836
855
  get u() {
837
856
  if (this.t == null) {
838
- this.t = new SRProvider(this.h.h);
857
+ this.t = new SRProvider(this.view.i);
839
858
  this.t.cb("ColorEditor");
840
859
  }
841
860
  return this.t;
@@ -1034,7 +1053,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1034
1053
  break;
1035
1054
  case "Label":
1036
1055
  if (this.r != null) {
1037
- this.r.b5 = this.a2;
1056
+ this.r.b6 = this.a2;
1038
1057
  }
1039
1058
  break;
1040
1059
  case "TextStyle":
@@ -1042,7 +1061,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1042
1061
  break;
1043
1062
  case "ShowClearButton":
1044
1063
  if (this.r != null) {
1045
- if (this.r.b7 != "") {
1064
+ if (this.r.b8 != "") {
1046
1065
  }
1047
1066
  }
1048
1067
  break;
@@ -1054,14 +1073,14 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1054
1073
  break;
1055
1074
  case "AllowTextInput":
1056
1075
  if (this.r != null) {
1057
- this.r.b0 = this.am();
1076
+ this.r.b1 = this.am();
1058
1077
  }
1059
1078
  break;
1060
1079
  case "OpenOnFocus": break;
1061
1080
  case "IsDisabled":
1062
1081
  {
1063
1082
  if (this.r != null) {
1064
- this.r.b0 = this.am();
1083
+ this.r.b1 = this.am();
1065
1084
  }
1066
1085
  }
1067
1086
  break;
@@ -1072,7 +1091,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1072
1091
  }
1073
1092
  cj() {
1074
1093
  if (this.r != null) {
1075
- this.r.ce = this.cr;
1094
+ this.r.cf = this.cr;
1076
1095
  }
1077
1096
  }
1078
1097
  ch() {
@@ -1081,7 +1100,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1081
1100
  }
1082
1101
  ci() {
1083
1102
  if (this.n != null) {
1084
- this.r.bk = this.n;
1103
+ this.r.bl = this.n;
1085
1104
  }
1086
1105
  }
1087
1106
  bh() {
@@ -1089,7 +1108,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1089
1108
  return;
1090
1109
  }
1091
1110
  if (this.r != null) {
1092
- this.r.b7 = "";
1111
+ this.r.b8 = "";
1093
1112
  }
1094
1113
  this.value = BrushUtil.l(0, 0, 0, 0);
1095
1114
  this.e.ax();
@@ -1102,8 +1121,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1102
1121
  this.aa = false;
1103
1122
  }
1104
1123
  br() {
1105
- NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
1106
- NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
1124
+ NativeUIWindow.h(15, runOn(this, this.b7), this.view.i);
1125
+ NativeUIWindow.h(9, runOn(this, this.b6), this.view.i);
1107
1126
  }
1108
1127
  bv() {
1109
1128
  NativeUIWindow.i(15, runOn(this, this.b7));
@@ -1112,45 +1131,45 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1112
1131
  b6(a) {
1113
1132
  let b = a;
1114
1133
  if (this.r != null) {
1115
- if (this.s.b6 && !this.s.t(b.b) && !this.r.t(b.b)) {
1134
+ if (this.s.b7 && !this.s.t(b.b) && !this.r.t(b.b)) {
1116
1135
  this.bi();
1117
1136
  }
1118
1137
  }
1119
1138
  }
1120
1139
  b7(a) {
1121
1140
  if (this.r != null) {
1122
- let b = this.r.be();
1123
- this.s.ce(b);
1141
+ let b = this.r.bf();
1142
+ this.s.cf(b);
1124
1143
  }
1125
1144
  }
1126
1145
  bj() {
1127
- NativeUIComponent.av(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1146
+ NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1128
1147
  let b = a[0];
1129
1148
  let c = a[1];
1130
1149
  let d = a[2];
1131
1150
  let e = a[3];
1132
- let f = this.h.i();
1133
- this.h.k(e, f);
1134
- b.bn(d);
1135
- d.bn(e);
1136
- this.h.l(c);
1137
- b.ch = BrushUtil.l(255, 255, 255, 255);
1138
- b.ca = 150;
1139
- b.b8 = 8;
1140
- b.cb = 4;
1141
- b.b1 = true;
1151
+ let f = this.view.j();
1152
+ this.view.l(e, f);
1153
+ b.bo(d);
1154
+ d.bo(e);
1155
+ this.view.m(c);
1156
+ b.ci = BrushUtil.l(255, 255, 255, 255);
1157
+ b.cb = 150;
1158
+ b.b9 = 8;
1159
+ b.cc = 4;
1160
+ b.b2 = true;
1142
1161
  this.r = c;
1143
1162
  this.r.c = this.j;
1144
- this.r.bp = this.l;
1145
- this.r.b6 = ColorEditor.a8;
1146
- this.r.cc = BrushUtil.l(255, 255, 255, 255);
1147
- this.r.cd = BrushUtil.l(255, 0, 0, 0);
1148
- this.r.bn = runOn(this, this.cf);
1163
+ this.r.bq = this.l;
1164
+ this.r.b7 = ColorEditor.a8;
1165
+ this.r.cd = BrushUtil.l(255, 255, 255, 255);
1166
+ this.r.ce = BrushUtil.l(255, 0, 0, 0);
1167
+ this.r.bo = runOn(this, this.cf);
1149
1168
  this.r.n = runOn(this, this.by);
1150
1169
  this.r.o = runOn(this, this.b0);
1151
- this.r.cb = BrushUtil.l(255, 0, 0, 255);
1170
+ this.r.cc = BrushUtil.l(255, 0, 0, 255);
1152
1171
  this.s = b;
1153
- this.e = this.h.c(f);
1172
+ this.e = this.view.c(f);
1154
1173
  this.e.value = this.value;
1155
1174
  let g = this.e;
1156
1175
  g.closed = delegateCombine(g.closed, runOn(this, this.bf));
@@ -1170,7 +1189,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1170
1189
  this.bl(a);
1171
1190
  }
1172
1191
  b0(a, b) {
1173
- if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.an == b.b)) {
1192
+ if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.ao == b.b)) {
1174
1193
  this.bp();
1175
1194
  }
1176
1195
  }
@@ -1188,18 +1207,18 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1188
1207
  }
1189
1208
  b5(a, b) {
1190
1209
  if (this.r != null) {
1191
- this.r.cb = b;
1210
+ this.r.cc = b;
1192
1211
  }
1193
1212
  }
1194
1213
  bl(a) {
1195
- if (this.s.b6) {
1214
+ if (this.s.b7) {
1196
1215
  this.w = true;
1197
1216
  this.bi();
1198
1217
  }
1199
1218
  }
1200
1219
  cg() {
1201
1220
  if (this.w == false) {
1202
- if (this.s.b6) {
1221
+ if (this.s.b7) {
1203
1222
  this.bi();
1204
1223
  }
1205
1224
  else {
@@ -1215,8 +1234,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1215
1234
  return;
1216
1235
  }
1217
1236
  if (this.s != null) {
1218
- let a = this.h.r(false);
1219
- let b = this.h.s();
1237
+ let a = this.view.s(false);
1238
+ let b = this.view.t();
1220
1239
  let c = b.height;
1221
1240
  let d = 240;
1222
1241
  let e = a.bottom + d;
@@ -1236,13 +1255,13 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1236
1255
  }
1237
1256
  ce(a, b) {
1238
1257
  {
1239
- let c = this.h.r(true);
1240
- this.s.cf(c, a, b);
1258
+ let c = this.view.s(true);
1259
+ this.s.cg(c, a, b);
1241
1260
  }
1242
1261
  }
1243
1262
  bi() {
1244
1263
  if (this.s != null) {
1245
- this.a.executeDelayed(() => this.s.cc(), 0);
1264
+ this.a.executeDelayed(() => this.s.cd(), 0);
1246
1265
  }
1247
1266
  if (this.e != null) {
1248
1267
  this.e.bg();
@@ -1251,9 +1270,9 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1251
1270
  }
1252
1271
  focus(a = false) {
1253
1272
  if (this.r != null) {
1254
- this.r.a0();
1273
+ this.r.a1();
1255
1274
  }
1256
- if (!this.s.b6 && this.al == true) {
1275
+ if (!this.s.b7 && this.al == true) {
1257
1276
  if (this.w == false) {
1258
1277
  if (this.aa) {
1259
1278
  return;
@@ -1281,7 +1300,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1281
1300
  }
1282
1301
  cb() {
1283
1302
  if (this.r != null) {
1284
- this.r.b9();
1303
+ this.r.ca();
1285
1304
  }
1286
1305
  }
1287
1306
  bo() {
@@ -1582,7 +1601,7 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1582
1601
  }
1583
1602
  }
1584
1603
  a4() {
1585
- NativeUIContent.av(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], (a) => {
1604
+ 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], (a) => {
1586
1605
  let b = a[0];
1587
1606
  let c = a[1];
1588
1607
  let d = a[2];
@@ -1598,97 +1617,97 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1598
1617
  let n = a[12];
1599
1618
  let o = a[13];
1600
1619
  let p = a[14];
1601
- e.bk = 2;
1602
- i.bk = 0;
1603
- g.bk = 1;
1604
- e.bw = BrushUtil.l(0, 0, 0, 0);
1605
- i.bw = BrushUtil.l(0, 0, 0, 0);
1606
- g.bw = BrushUtil.l(0, 0, 0, 0);
1607
- g.bh = new Thickness(1, 0, 5, 5, 0);
1608
- f.bh = new Thickness(1, 0, 5, 5, 0);
1609
- l.bz = "Ok";
1620
+ e.bl = 2;
1621
+ i.bl = 0;
1622
+ g.bl = 1;
1623
+ e.bx = BrushUtil.l(0, 0, 0, 0);
1624
+ i.bx = BrushUtil.l(0, 0, 0, 0);
1625
+ g.bx = BrushUtil.l(0, 0, 0, 0);
1626
+ g.bi = new Thickness(1, 0, 5, 5, 0);
1627
+ f.bi = new Thickness(1, 0, 5, 5, 0);
1628
+ l.b0 = "Ok";
1610
1629
  l.c = this.f;
1611
- m.bz = "Cancel";
1630
+ m.b0 = "Cancel";
1612
1631
  m.c = this.f;
1613
- i.bh = new Thickness(1, 5, 0, 5, 2);
1614
- h.bh = new Thickness(1, 5, 0, 5, 2);
1615
- e.bh = new Thickness(1, 5, 5, 5, 0);
1616
- d.bh = new Thickness(1, 5, 5, 5, 0);
1617
- p.bh = new Thickness(1, 5, 16, 0, 11);
1618
- p.a8 = BrushUtil.l(255, 255, 0, 0);
1619
- c.cc(p, 0);
1620
- c.ca(p, 0);
1621
- c.bn(p);
1622
- n.b2(0, 2, 1);
1623
- n.b2(1, 2, 1);
1624
- n.bh = new Thickness(1, 5, 2, 5, 2);
1625
- n.ca(j, 0);
1626
- j.bh = new Thickness(1, 0, 0, 2, 0);
1627
- j.bu = 1;
1628
- j.bp = this.h;
1632
+ i.bi = new Thickness(1, 5, 0, 5, 2);
1633
+ h.bi = new Thickness(1, 5, 0, 5, 2);
1634
+ e.bi = new Thickness(1, 5, 5, 5, 0);
1635
+ d.bi = new Thickness(1, 5, 5, 5, 0);
1636
+ p.bi = new Thickness(1, 5, 16, 0, 11);
1637
+ p.a9 = BrushUtil.l(255, 255, 0, 0);
1638
+ c.cf(p, 0);
1639
+ c.cd(p, 0);
1640
+ c.bo(p);
1641
+ n.b5(0, 2, 1);
1642
+ n.b5(1, 2, 1);
1643
+ n.bi = new Thickness(1, 5, 2, 5, 2);
1644
+ n.cd(j, 0);
1645
+ j.bi = new Thickness(1, 0, 0, 2, 0);
1646
+ j.bv = 1;
1647
+ j.bq = this.h;
1629
1648
  j.c = this.f;
1630
- j.b5 = "rgba";
1631
- o.bh = new Thickness(1, 0, 0, 2, 0);
1632
- o.bu = 1;
1633
- o.bp = this.h;
1649
+ j.b6 = "rgba";
1650
+ o.bi = new Thickness(1, 0, 0, 2, 0);
1651
+ o.bv = 1;
1652
+ o.bq = this.h;
1634
1653
  o.c = this.f;
1635
- o.b5 = "hex";
1636
- n.ca(o, 1);
1637
- n.bn(j);
1638
- n.bn(o);
1639
- l.bh = new Thickness(1, 5, 2, 5, 2);
1640
- m.bh = new Thickness(1, 5, 2, 5, 2);
1641
- l.bp = this.h;
1642
- m.bp = this.h;
1643
- l.bm = runOn(this, this.a6);
1644
- m.bm = runOn(this, this.bh);
1645
- b.b4(0, 1, 175);
1646
- b.b4(1, 0, 0);
1647
- b.b4(2, 0, 0);
1648
- b.b4(3, 0, 0);
1649
- b.b2(0, 1, 90);
1650
- b.b2(1, 1, 175);
1651
- b.b2(2, 1, 25);
1652
- b.cc(c, 0);
1653
- b.ca(c, 0);
1654
- b.cc(d, 0);
1655
- b.ca(d, 1);
1656
- b.cc(e, 0);
1657
- b.ca(e, 1);
1658
- b.cc(f, 0);
1659
- b.ca(f, 3);
1660
- b.cc(g, 0);
1661
- b.ca(g, 3);
1662
- b.cc(h, 1);
1663
- b.ca(h, 0);
1664
- b.cb(h, 3);
1665
- b.cc(i, 1);
1666
- b.ca(i, 0);
1667
- b.cb(i, 3);
1668
- b.cc(n, 2);
1669
- b.ca(n, 0);
1670
- b.cb(n, 3);
1671
- b.cc(k, 3);
1672
- b.ca(k, 0);
1673
- b.cb(k, 3);
1674
- k.b2(0, 2, 1);
1675
- k.b2(1, 2, 1);
1676
- k.ca(l, 0);
1677
- k.ca(m, 1);
1678
- k.bn(l);
1679
- k.bn(m);
1680
- b.bn(c);
1681
- b.bn(d);
1682
- b.bn(e);
1683
- b.bn(f);
1684
- b.bn(g);
1685
- b.bn(h);
1686
- b.bn(i);
1687
- b.bn(n);
1688
- b.bn(k);
1654
+ o.b6 = "hex";
1655
+ n.cd(o, 1);
1656
+ n.bo(j);
1657
+ n.bo(o);
1658
+ l.bi = new Thickness(1, 5, 2, 5, 2);
1659
+ m.bi = new Thickness(1, 5, 2, 5, 2);
1660
+ l.bq = this.h;
1661
+ m.bq = this.h;
1662
+ l.bn = runOn(this, this.a6);
1663
+ m.bn = runOn(this, this.bh);
1664
+ b.b7(0, 1, 175);
1665
+ b.b7(1, 0, 0);
1666
+ b.b7(2, 0, 0);
1667
+ b.b7(3, 0, 0);
1668
+ b.b5(0, 1, 90);
1669
+ b.b5(1, 1, 175);
1670
+ b.b5(2, 1, 25);
1671
+ b.cf(c, 0);
1672
+ b.cd(c, 0);
1673
+ b.cf(d, 0);
1674
+ b.cd(d, 1);
1675
+ b.cf(e, 0);
1676
+ b.cd(e, 1);
1677
+ b.cf(f, 0);
1678
+ b.cd(f, 3);
1679
+ b.cf(g, 0);
1680
+ b.cd(g, 3);
1681
+ b.cf(h, 1);
1682
+ b.cd(h, 0);
1683
+ b.ce(h, 3);
1684
+ b.cf(i, 1);
1685
+ b.cd(i, 0);
1686
+ b.ce(i, 3);
1687
+ b.cf(n, 2);
1688
+ b.cd(n, 0);
1689
+ b.ce(n, 3);
1690
+ b.cf(k, 3);
1691
+ b.cd(k, 0);
1692
+ b.ce(k, 3);
1693
+ k.b5(0, 2, 1);
1694
+ k.b5(1, 2, 1);
1695
+ k.cd(l, 0);
1696
+ k.cd(m, 1);
1697
+ k.bo(l);
1698
+ k.bo(m);
1699
+ b.bo(c);
1700
+ b.bo(d);
1701
+ b.bo(e);
1702
+ b.bo(f);
1703
+ b.bo(g);
1704
+ b.bo(h);
1705
+ b.bo(i);
1706
+ b.bo(n);
1707
+ b.bo(k);
1689
1708
  this.d.a8(b);
1690
1709
  this.n = b;
1691
- this.n.bw = true;
1710
+ this.n.by = true;
1692
1711
  this.s = i;
1693
1712
  this.u = g;
1694
1713
  this.m = f;
@@ -1696,24 +1715,24 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1696
1715
  this.o = p;
1697
1716
  this.r = j;
1698
1717
  this.q = o;
1699
- this.s.bq = 0;
1700
- this.s.bp = 360;
1701
- this.s.by = BrushUtil.l(255, 255, 255, 255);
1718
+ this.s.br = 0;
1719
+ this.s.bq = 360;
1702
1720
  this.s.bz = BrushUtil.l(255, 255, 255, 255);
1703
- this.u.bq = 0;
1704
- this.u.bp = 1;
1705
- this.t.by = BrushUtil.l(255, 155, 155, 155);
1706
- this.t.bz = BrushUtil.l(255, 255, 255, 255);
1707
- this.t.bq = 0;
1708
- this.t.bp = 1;
1709
- this.t.bu = 0;
1710
- this.t.bt = 1;
1721
+ this.s.b0 = BrushUtil.l(255, 255, 255, 255);
1722
+ this.u.br = 0;
1723
+ this.u.bq = 1;
1724
+ this.t.bz = BrushUtil.l(255, 155, 155, 155);
1725
+ this.t.b0 = BrushUtil.l(255, 255, 255, 255);
1726
+ this.t.br = 0;
1727
+ this.t.bq = 1;
1728
+ this.t.bv = 0;
1729
+ this.t.bu = 1;
1730
+ this.s.bp = runOn(this, this.au);
1711
1731
  this.s.bo = runOn(this, this.au);
1712
- this.s.bn = runOn(this, this.au);
1732
+ this.u.bp = runOn(this, this.aw);
1713
1733
  this.u.bo = runOn(this, this.aw);
1714
- this.u.bn = runOn(this, this.aw);
1734
+ this.t.bp = runOn(this, this.av);
1715
1735
  this.t.bo = runOn(this, this.av);
1716
- this.t.bn = runOn(this, this.av);
1717
1736
  this.l = d;
1718
1737
  this.k = h;
1719
1738
  this.p = c;
@@ -1749,26 +1768,26 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1749
1768
  let a = Color.u(0, 0, 0, 0);
1750
1769
  let b = Color.u(255, 255, 0, 0);
1751
1770
  if (this.s != null) {
1752
- let c = this.s.bs;
1753
- let d = this.t.bs;
1754
- let e = 1 - this.t.bv;
1755
- let f = 1 - this.u.bs;
1771
+ let c = this.s.bt;
1772
+ let d = this.t.bt;
1773
+ let e = 1 - this.t.bw;
1774
+ let f = 1 - this.u.bt;
1756
1775
  b = ColorUtil.r(1, c, 1, 0.5);
1757
1776
  a = ColorUtil.r(f, c, d, e);
1758
- this.s.bx = BrushUtil.l(b.l, b.o, b.n, b.m);
1759
- this.t.bx = BrushUtil.l(a.l, a.o, a.n, a.m);
1760
- this.o.a8 = BrushUtil.l(a.l, a.o, a.n, a.m);
1761
- this.d.bm(this.s.bs);
1777
+ this.s.by = BrushUtil.l(b.l, b.o, b.n, b.m);
1778
+ this.t.by = BrushUtil.l(a.l, a.o, a.n, a.m);
1779
+ this.o.a9 = BrushUtil.l(a.l, a.o, a.n, a.m);
1780
+ this.d.bm(this.s.bt);
1762
1781
  this.d.bn(0);
1763
- this.d.bo(this.s.bs, this.t.bs, 1 - this.t.bv);
1782
+ this.d.bo(this.s.bt, this.t.bt, 1 - this.t.bw);
1764
1783
  }
1765
1784
  if (this.r != null) {
1766
1785
  let g = a.o + ", " + a.n + ", " + a.m + ", " + Math.round((a.l / 255) * 1000) / 1000;
1767
- this.r.b7 = g;
1786
+ this.r.b8 = g;
1768
1787
  }
1769
1788
  if (this.q != null) {
1770
1789
  let h = ColorUtil.k(a, false);
1771
- this.q.b7 = h;
1790
+ this.q.b8 = h;
1772
1791
  }
1773
1792
  this.bx = BrushUtil.l(a.l, a.o, a.n, a.m);
1774
1793
  this.bc(this.value);
@@ -1781,7 +1800,7 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1781
1800
  bl() {
1782
1801
  }
1783
1802
  a3() {
1784
- this.n.az();
1803
+ this.n.a0();
1785
1804
  }
1786
1805
  onAttachedToUI() {
1787
1806
  this.d.bg();
@@ -1807,10 +1826,10 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1807
1826
  let a = this.b5;
1808
1827
  let b = ColorUtil.a(a);
1809
1828
  this.y = true;
1810
- this.s.bs = b[1] == -1 ? 0 : b[1];
1811
- this.u.bs = 1 - b[0];
1812
- this.t.bs = b[2];
1813
- this.t.bv = 1 - b[3];
1829
+ this.s.bt = b[1] == -1 ? 0 : b[1];
1830
+ this.u.bt = 1 - b[0];
1831
+ this.t.bt = b[2];
1832
+ this.t.bw = 1 - b[3];
1814
1833
  this.y = false;
1815
1834
  if (this.x) {
1816
1835
  this.bn();
@@ -1830,7 +1849,7 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1830
1849
  this.bn();
1831
1850
  }
1832
1851
  a0(a, b, c) {
1833
- let d = this.s.bs;
1852
+ let d = this.s.bt;
1834
1853
  let e = 1;
1835
1854
  let f = 255;
1836
1855
  for (let g = 0; g < c; g++) {
@@ -1989,12 +2008,12 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
1989
2008
  }
1990
2009
  ad() {
1991
2010
  if (this.s != null) {
1992
- return this.s.bs;
2011
+ return this.s.bt;
1993
2012
  }
1994
2013
  return 0;
1995
2014
  }
1996
2015
  a1(a, b, c) {
1997
- let d = this.s.bs;
2016
+ let d = this.s.bt;
1998
2017
  let e = 1;
1999
2018
  let f = 255;
2000
2019
  for (let g = 0; g < c; g++) {
@@ -2031,11 +2050,11 @@ export let ColorEditorPanel = /*@__PURE__*/ (() => {
2031
2050
  }
2032
2051
  }
2033
2052
  a2(a, b, c) {
2034
- let d = this.s.bs;
2053
+ let d = this.s.bt;
2035
2054
  let e = 1;
2036
2055
  let f = 255;
2037
- let g = 1 - this.t.bv;
2038
- let h = this.t.bs;
2056
+ let g = 1 - this.t.bw;
2057
+ let h = this.t.bt;
2039
2058
  for (let i = 0; i < c; i++) {
2040
2059
  let j = i / c;
2041
2060
  for (let k = 0; k < b; k++) {