igniteui-webcomponents-inputs 6.2.2-alpha.3 → 6.3.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 (57) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +1336 -1142
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +1 -1
  4. package/esm2015/lib/ButtonGroupVisualModelExport.js +9 -1
  5. package/esm2015/lib/ButtonView_combined.js +315 -308
  6. package/esm2015/lib/CheckboxListVisualModelExport.js +43 -0
  7. package/esm2015/lib/CheckboxView_combined.js +179 -164
  8. package/esm2015/lib/CheckboxVisualModelExport.js +14 -6
  9. package/esm2015/lib/ColorEditorVisualModelExport.js +40 -0
  10. package/esm2015/lib/IconView_combined.js +27 -22
  11. package/esm2015/lib/InputGroupView_combined.js +274 -262
  12. package/esm2015/lib/InputGroupVisualModelExport.js +2 -2
  13. package/esm2015/lib/InputVisualModelExport.js +34 -32
  14. package/esm2015/lib/MultiSliderView_combined.js +2 -2
  15. package/esm2015/lib/NativeUIXInputsFactory_combined.js +324 -299
  16. package/esm2015/lib/XButtonBridge.js +1 -1
  17. package/esm2015/lib/XButtonGroupBridge.js +7 -1
  18. package/esm2015/lib/XCheckboxBridge.js +2 -1
  19. package/esm2015/lib/XIconBridge.js +2 -1
  20. package/esm2015/lib/XInputBridge.js +11 -1
  21. package/esm2015/lib/igc-color-editor-component.js +63 -47
  22. package/esm2015/public_api.js +2 -0
  23. package/esm5/lib/ButtonGroupView_combined.js +1 -1
  24. package/esm5/lib/ButtonGroupVisualModelExport.js +9 -1
  25. package/esm5/lib/ButtonView_combined.js +315 -308
  26. package/esm5/lib/CheckboxListVisualModelExport.js +45 -0
  27. package/esm5/lib/CheckboxView_combined.js +177 -162
  28. package/esm5/lib/CheckboxVisualModelExport.js +14 -6
  29. package/esm5/lib/ColorEditorVisualModelExport.js +42 -0
  30. package/esm5/lib/IconView_combined.js +32 -27
  31. package/esm5/lib/InputGroupView_combined.js +275 -263
  32. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  33. package/esm5/lib/InputVisualModelExport.js +34 -32
  34. package/esm5/lib/MultiSliderView_combined.js +2 -2
  35. package/esm5/lib/NativeUIXInputsFactory_combined.js +315 -290
  36. package/esm5/lib/XButtonBridge.js +1 -1
  37. package/esm5/lib/XButtonGroupBridge.js +7 -1
  38. package/esm5/lib/XCheckboxBridge.js +2 -1
  39. package/esm5/lib/XIconBridge.js +2 -1
  40. package/esm5/lib/XInputBridge.js +11 -1
  41. package/esm5/lib/igc-color-editor-component.js +63 -47
  42. package/esm5/public_api.js +2 -0
  43. package/fesm2015/igniteui-webcomponents-inputs.js +1342 -1150
  44. package/fesm5/igniteui-webcomponents-inputs.js +1336 -1144
  45. package/lib/ButtonGroupVisualModelExport.d.ts +5 -1
  46. package/lib/ButtonView_combined.d.ts +42 -41
  47. package/lib/CheckboxListVisualModelExport.d.ts +18 -0
  48. package/lib/CheckboxView_combined.d.ts +30 -29
  49. package/lib/CheckboxVisualModelExport.d.ts +7 -3
  50. package/lib/ColorEditorVisualModelExport.d.ts +17 -0
  51. package/lib/IconView_combined.d.ts +2 -0
  52. package/lib/InputGroupView_combined.d.ts +57 -56
  53. package/lib/InputVisualModelExport.d.ts +14 -12
  54. package/lib/NativeUIXInputsFactory_combined.d.ts +90 -85
  55. package/lib/igc-color-editor-component.d.ts +10 -0
  56. package/package.json +2 -2
  57. package/public_api.d.ts +2 -0
@@ -35,12 +35,13 @@ import { NativeUIPopup } from "igniteui-webcomponents-core";
35
35
  import { XComponentBridge } from "./XComponentBridge";
36
36
  import { ColorEditorPanelSelectedValueChangedEventArgs } from "./ColorEditorPanelSelectedValueChangedEventArgs";
37
37
  import { NativeUIColorEditorValueChangedEventArgs } from "igniteui-webcomponents-core";
38
+ import { ColorEditorVisualModelExport } from "./ColorEditorVisualModelExport";
39
+ import { Rect } from "igniteui-webcomponents-core";
38
40
  import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
39
41
  import { Size } from "igniteui-webcomponents-core";
40
42
  import { NativeUIContent } from "igniteui-webcomponents-core";
41
43
  import { truncate, isNaN_, intDivide } from "igniteui-webcomponents-core";
42
44
  import { DOMExecutionContext } from "igniteui-webcomponents-core";
43
- import { Rect } from "igniteui-webcomponents-core";
44
45
  import { SRProvider } from "igniteui-webcomponents-core";
45
46
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
46
47
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
@@ -50,6 +51,7 @@ import { NativeUIWindow } from "igniteui-webcomponents-core";
50
51
  import { ColorEditorPanelClosedEventArgs } from "./ColorEditorPanelClosedEventArgs";
51
52
  import { ColorEditorGotFocusEventArgs } from "./ColorEditorGotFocusEventArgs";
52
53
  import { ColorEditorLostFocusEventArgs } from "./ColorEditorLostFocusEventArgs";
54
+ import { AppearanceHelper } from "igniteui-webcomponents-core";
53
55
  import { Color } from "igniteui-webcomponents-core";
54
56
  import { ColorUtil } from "igniteui-webcomponents-core";
55
57
  import { Thickness } from "igniteui-webcomponents-core";
@@ -335,6 +337,15 @@ export let ColorEditorBridge = /*@__PURE__*/ (() => {
335
337
  break;
336
338
  }
337
339
  }
340
+ exportVisualData(a) {
341
+ let b = a.as();
342
+ let c = this.getBoundingRect(a);
343
+ b.e = c.left;
344
+ b.f = c.top;
345
+ b.g = c.width;
346
+ b.d = c.height;
347
+ return b;
348
+ }
338
349
  }
339
350
  ColorEditorBridge.$t = /*@__PURE__*/ markType(ColorEditorBridge, 'ColorEditorBridge', XComponentBridge.$);
340
351
  return ColorEditorBridge;
@@ -695,7 +706,7 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
695
706
  this.a.a = new DOMExecutionContext(a);
696
707
  }
697
708
  this.h = a;
698
- this.a.bg();
709
+ this.a.bj();
699
710
  }
700
711
  m() {
701
712
  if (KeyFrameAnimationFactory.h == null) {
@@ -755,54 +766,54 @@ export let ColorEditor = /*@__PURE__*/ (() => {
755
766
  class ColorEditor extends Base {
756
767
  constructor() {
757
768
  super();
758
- this.g = null;
769
+ this.h = null;
770
+ this.s = null;
759
771
  this.r = null;
760
- this.q = null;
761
- this.d = null;
762
- this.v = false;
763
- this.af = false;
764
- this.ad = false;
765
- this.cj = BrushUtil.j(0, 0, 0, 0);
772
+ this.e = null;
766
773
  this.w = false;
774
+ this.ag = false;
775
+ this.ae = false;
776
+ this.cm = BrushUtil.j(0, 0, 0, 0);
777
+ this.x = false;
767
778
  this.propertyChanged = null;
768
779
  this.valueChanged = null;
769
780
  this.valueChanging = null;
770
- this.s = null;
781
+ this.t = null;
771
782
  this.a = null;
772
- this.cl = BrushUtil.j(255, 0, 0, 255);
773
- this.ar = "";
774
- this.ci = BrushUtil.j(255, 24, 29, 31);
775
- this.l = null;
776
- this.j = 2;
777
- this.h = 1;
783
+ this.co = BrushUtil.j(255, 0, 0, 255);
784
+ this.at = "";
785
+ this.cl = BrushUtil.j(255, 24, 29, 31);
778
786
  this.m = null;
779
- this.ck = BrushUtil.j(255, 24, 29, 31);
780
- this.ch = BrushUtil.j(255, 163, 172, 184);
787
+ this.k = 2;
788
+ this.i = 1;
789
+ this.n = null;
790
+ this.cn = BrushUtil.j(255, 24, 29, 31);
791
+ this.ck = BrushUtil.j(255, 163, 172, 184);
792
+ this.ad = true;
793
+ this.v = true;
781
794
  this.ac = true;
782
- this.u = true;
783
- this.ab = true;
784
- this.x = false;
785
- this.ap = 0;
786
795
  this.y = false;
787
- this.aa = false;
788
- this.ae = false;
796
+ this.aq = 0;
789
797
  this.z = false;
798
+ this.ab = false;
799
+ this.af = false;
800
+ this.aa = false;
790
801
  this.gotFocus = null;
791
802
  this.lostFocus = null;
792
803
  NativeUIInputsFactory.n();
793
804
  NativeUIXInputsFactory.m();
794
805
  let a = new ColorEditorView();
795
806
  a.a = this;
796
- this.g = a;
797
- this.g.q();
807
+ this.h = a;
808
+ this.h.q();
798
809
  }
799
810
  onAttachedToUI() {
800
- this.g.n();
811
+ this.h.n();
801
812
  }
802
813
  onDetachedFromUI() {
803
- this.g.p();
814
+ this.h.p();
804
815
  }
805
- b1(a, b) {
816
+ b4(a, b) {
806
817
  if (this.valueChanging != null) {
807
818
  this.valueChanging(this, ((() => {
808
819
  let $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
@@ -811,7 +822,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
811
822
  return $ret;
812
823
  })()));
813
824
  }
814
- if (this.w) {
825
+ if (this.x) {
815
826
  }
816
827
  }
817
828
  notifySizeChanged() {
@@ -820,74 +831,44 @@ export let ColorEditor = /*@__PURE__*/ (() => {
820
831
  this.provideContainer(null);
821
832
  }
822
833
  provideContainer(a) {
823
- this.g.o(a);
834
+ this.h.o(a);
824
835
  }
825
- get t() {
826
- if (this.s == null) {
827
- this.s = new SRProvider(this.g.h);
828
- this.s.cb("ColorEditor");
836
+ get u() {
837
+ if (this.t == null) {
838
+ this.t = new SRProvider(this.h.h);
839
+ this.t.cb("ColorEditor");
829
840
  }
830
- return this.s;
841
+ return this.t;
831
842
  }
832
843
  get value() {
833
- return this.cl;
844
+ return this.co;
834
845
  }
835
846
  set value(a) {
836
- let b = this.cl;
837
- this.cj = b;
838
- this.cl = a;
839
- if (b != this.cl) {
840
- this.b0("Value", b, this.cl);
847
+ let b = this.co;
848
+ this.cm = b;
849
+ this.co = a;
850
+ if (b != this.co) {
851
+ this.b3("Value", b, this.co);
841
852
  }
842
853
  }
843
- get az() {
844
- return this.ar;
854
+ get a2() {
855
+ return this.at;
845
856
  }
846
- set az(a) {
847
- let b = this.ar;
848
- this.ar = a;
849
- if (b != this.ar) {
850
- this.b0("Label", b, this.ar);
857
+ set a2(a) {
858
+ let b = this.at;
859
+ this.at = a;
860
+ if (b != this.at) {
861
+ this.b3("Label", b, this.at);
851
862
  }
852
863
  }
853
- get cn() {
854
- return this.ci;
855
- }
856
- set cn(a) {
857
- let b = this.ci;
858
- this.ci = a;
859
- if (b != this.ci) {
860
- this.b0("LabelTextColor", b, a);
861
- }
862
- }
863
- get o() {
864
- return this.l;
865
- }
866
- set o(a) {
867
- let b = this.l;
868
- this.l = a;
869
- if (b != this.l) {
870
- this.b0("LabelTextStyle", b, this.l);
871
- }
872
- }
873
- get k() {
874
- return this.j;
875
- }
876
- set k(a) {
877
- let b = this.j;
878
- this.j = a;
879
- if (b != this.j) {
880
- this.b0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.j));
881
- }
882
- }
883
- get i() {
884
- return this.h;
864
+ get cq() {
865
+ return this.cl;
885
866
  }
886
- set i(a) {
887
- let b = this.h;
888
- this.h = a;
889
- if (b != this.h) {
890
- this.b0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.h));
867
+ set cq(a) {
868
+ let b = this.cl;
869
+ this.cl = a;
870
+ if (b != this.cl) {
871
+ this.b3("LabelTextColor", b, a);
891
872
  }
892
873
  }
893
874
  get p() {
@@ -897,77 +878,87 @@ export let ColorEditor = /*@__PURE__*/ (() => {
897
878
  let b = this.m;
898
879
  this.m = a;
899
880
  if (b != this.m) {
900
- this.b0("TextStyle", b, this.m);
881
+ this.b3("LabelTextStyle", b, this.m);
901
882
  }
902
883
  }
903
- get co() {
904
- return this.ck;
884
+ get l() {
885
+ return this.k;
905
886
  }
906
- set co(a) {
907
- let b = this.ck;
908
- this.ck = a;
909
- if (b != this.ck) {
910
- this.b0("TextColor", b, this.ck);
887
+ set l(a) {
888
+ let b = this.k;
889
+ this.k = a;
890
+ if (b != this.k) {
891
+ this.b3("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
911
892
  }
912
893
  }
913
- get cm() {
914
- return this.ch;
894
+ get j() {
895
+ return this.i;
915
896
  }
916
- set cm(a) {
917
- let b = this.ch;
918
- this.ch = a;
919
- if (b != this.ch) {
920
- this.b0("IconColor", b, this.ch);
897
+ set j(a) {
898
+ let b = this.i;
899
+ this.i = a;
900
+ if (b != this.i) {
901
+ this.b3("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
921
902
  }
922
903
  }
923
- get am() {
924
- return this.ac;
904
+ get q() {
905
+ return this.n;
925
906
  }
926
- set am(a) {
927
- let b = this.ac;
928
- this.ac = a;
929
- if (b != this.ac) {
930
- this.b0("ShowClearButton", b, this.ac);
907
+ set q(a) {
908
+ let b = this.n;
909
+ this.n = a;
910
+ if (b != this.n) {
911
+ this.b3("TextStyle", b, this.n);
931
912
  }
932
913
  }
933
- get ag() {
934
- return this.u;
914
+ get cr() {
915
+ return this.cn;
935
916
  }
936
- set ag(a) {
937
- let b = this.u;
938
- this.u = a;
939
- if (b != this.u) {
940
- this.b0("AllowTextInput", b, this.u);
917
+ set cr(a) {
918
+ let b = this.cn;
919
+ this.cn = a;
920
+ if (b != this.cn) {
921
+ this.b3("TextColor", b, this.cn);
941
922
  }
942
923
  }
943
- get ak() {
944
- return this.ab;
924
+ get cp() {
925
+ return this.ck;
945
926
  }
946
- set ak(a) {
947
- let b = this.ab;
948
- this.ab = a;
949
- if (b != this.ab) {
950
- this.b0("OpenOnFocus", b, this.ab);
927
+ set cp(a) {
928
+ let b = this.ck;
929
+ this.ck = a;
930
+ if (b != this.ck) {
931
+ this.b3("IconColor", b, this.ck);
932
+ }
933
+ }
934
+ get an() {
935
+ return this.ad;
936
+ }
937
+ set an(a) {
938
+ let b = this.ad;
939
+ this.ad = a;
940
+ if (b != this.ad) {
941
+ this.b3("ShowClearButton", b, this.ad);
951
942
  }
952
943
  }
953
944
  get ah() {
954
- return this.x;
945
+ return this.v;
955
946
  }
956
947
  set ah(a) {
957
- let b = this.x;
958
- this.x = a;
959
- if (b != this.x) {
960
- this.b0("IsDisabled", b, this.x);
948
+ let b = this.v;
949
+ this.v = a;
950
+ if (b != this.v) {
951
+ this.b3("AllowTextInput", b, this.v);
961
952
  }
962
953
  }
963
- get aq() {
964
- return this.ap;
954
+ get al() {
955
+ return this.ac;
965
956
  }
966
- set aq(a) {
967
- let b = this.ap;
968
- this.ap = a;
969
- if (b != this.ap) {
970
- this.b0("TabIndex", b, this.ap);
957
+ set al(a) {
958
+ let b = this.ac;
959
+ this.ac = a;
960
+ if (b != this.ac) {
961
+ this.b3("OpenOnFocus", b, this.ac);
971
962
  }
972
963
  }
973
964
  get ai() {
@@ -977,61 +968,81 @@ export let ColorEditor = /*@__PURE__*/ (() => {
977
968
  let b = this.y;
978
969
  this.y = a;
979
970
  if (b != this.y) {
980
- this.b0("IsFixed", b, this.y);
971
+ this.b3("IsDisabled", b, this.y);
972
+ }
973
+ }
974
+ get ar() {
975
+ return this.aq;
976
+ }
977
+ set ar(a) {
978
+ let b = this.aq;
979
+ this.aq = a;
980
+ if (b != this.aq) {
981
+ this.b3("TabIndex", b, this.aq);
981
982
  }
982
983
  }
983
984
  get aj() {
984
- return this.aa;
985
+ return this.z;
985
986
  }
986
987
  set aj(a) {
987
- let b = this.aa;
988
- this.aa = a;
989
- if (b != this.aa) {
990
- this.b0("OpenAsChild", b, this.aa);
988
+ let b = this.z;
989
+ this.z = a;
990
+ if (b != this.z) {
991
+ this.b3("IsFixed", b, this.z);
991
992
  }
992
993
  }
993
- get an() {
994
- return this.ae;
994
+ get ak() {
995
+ return this.ab;
995
996
  }
996
- set an(a) {
997
- let b = this.ae;
998
- this.ae = a;
999
- if (b != this.ae) {
1000
- this.b0("UseTopLayer", b, this.ae);
997
+ set ak(a) {
998
+ let b = this.ab;
999
+ this.ab = a;
1000
+ if (b != this.ab) {
1001
+ this.b3("OpenAsChild", b, this.ab);
1001
1002
  }
1002
1003
  }
1003
- b0(a, b, c) {
1004
+ get ao() {
1005
+ return this.af;
1006
+ }
1007
+ set ao(a) {
1008
+ let b = this.af;
1009
+ this.af = a;
1010
+ if (b != this.af) {
1011
+ this.b3("UseTopLayer", b, this.af);
1012
+ }
1013
+ }
1014
+ b3(a, b, c) {
1004
1015
  if (this.propertyChanged != null) {
1005
1016
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
1006
1017
  }
1007
- this.b6(a, b, c);
1018
+ this.b9(a, b, c);
1008
1019
  }
1009
- b6(a, b, c) {
1020
+ b9(a, b, c) {
1010
1021
  switch (a) {
1011
1022
  case "Density":
1012
- this.b9();
1023
+ this.cc();
1013
1024
  break;
1014
1025
  case "BaseTheme":
1015
- this.ca();
1026
+ this.cd();
1016
1027
  break;
1017
1028
  case "Value":
1018
- this.b1(this.cj, this.value);
1019
- this.cj = this.value;
1020
- if (this.d != null && !this.w) {
1021
- this.d.value = this.value;
1029
+ this.b4(this.cm, this.value);
1030
+ this.cm = this.value;
1031
+ if (this.e != null && !this.x) {
1032
+ this.e.value = this.value;
1022
1033
  }
1023
1034
  break;
1024
1035
  case "Label":
1025
- if (this.q != null) {
1026
- this.q.b5 = this.az;
1036
+ if (this.r != null) {
1037
+ this.r.b5 = this.a2;
1027
1038
  }
1028
1039
  break;
1029
1040
  case "TextStyle":
1030
- this.cf();
1041
+ this.ci();
1031
1042
  break;
1032
1043
  case "ShowClearButton":
1033
- if (this.q != null) {
1034
- if (this.q.b7 != "") {
1044
+ if (this.r != null) {
1045
+ if (this.r.b7 != "") {
1035
1046
  }
1036
1047
  }
1037
1048
  break;
@@ -1039,269 +1050,283 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1039
1050
  case "LabelTextStyle":
1040
1051
  case "TextColor":
1041
1052
  case "IconColor":
1042
- this.cg();
1053
+ this.cj();
1043
1054
  break;
1044
1055
  case "AllowTextInput":
1045
- if (this.q != null) {
1046
- this.q.b0 = this.al();
1056
+ if (this.r != null) {
1057
+ this.r.b0 = this.am();
1047
1058
  }
1048
1059
  break;
1049
1060
  case "OpenOnFocus": break;
1050
1061
  case "IsDisabled":
1051
1062
  {
1052
- if (this.q != null) {
1053
- this.q.b0 = this.al();
1063
+ if (this.r != null) {
1064
+ this.r.b0 = this.am();
1054
1065
  }
1055
1066
  }
1056
1067
  break;
1057
1068
  }
1058
1069
  }
1059
- al() {
1060
- return this.ah || !this.ag;
1070
+ am() {
1071
+ return this.ai || !this.ah;
1061
1072
  }
1062
- cg() {
1063
- if (this.q != null) {
1064
- this.q.ce = this.co;
1073
+ cj() {
1074
+ if (this.r != null) {
1075
+ this.r.ce = this.cr;
1065
1076
  }
1066
1077
  }
1067
- ce() {
1068
- if (this.q != null) {
1078
+ ch() {
1079
+ if (this.r != null) {
1069
1080
  }
1070
1081
  }
1071
- cf() {
1072
- if (this.m != null) {
1073
- this.q.bk = this.m;
1082
+ ci() {
1083
+ if (this.n != null) {
1084
+ this.r.bk = this.n;
1074
1085
  }
1075
1086
  }
1076
- be() {
1077
- if (this.ah == true) {
1087
+ bh() {
1088
+ if (this.ai == true) {
1078
1089
  return;
1079
1090
  }
1080
- if (this.q != null) {
1081
- this.q.b7 = "";
1091
+ if (this.r != null) {
1092
+ this.r.b7 = "";
1082
1093
  }
1083
1094
  this.value = BrushUtil.j(0, 0, 0, 0);
1084
- this.d.ax();
1085
- this.z = false;
1095
+ this.e.ax();
1096
+ this.aa = false;
1086
1097
  }
1087
- by() {
1088
- this.z = true;
1098
+ b1() {
1099
+ this.aa = true;
1089
1100
  }
1090
- bz() {
1091
- this.z = false;
1101
+ b2() {
1102
+ this.aa = false;
1092
1103
  }
1093
- bo() {
1094
- NativeUIWindow.h(15, runOn(this, this.b4), this.g.h);
1095
- NativeUIWindow.h(9, runOn(this, this.b3), this.g.h);
1104
+ br() {
1105
+ NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
1106
+ NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
1096
1107
  }
1097
- bs() {
1098
- NativeUIWindow.i(15, runOn(this, this.b4));
1099
- NativeUIWindow.i(9, runOn(this, this.b3));
1108
+ bv() {
1109
+ NativeUIWindow.i(15, runOn(this, this.b7));
1110
+ NativeUIWindow.i(9, runOn(this, this.b6));
1100
1111
  }
1101
- b3(a) {
1112
+ b6(a) {
1102
1113
  let b = a;
1103
- if (this.q != null) {
1104
- if (this.r.b6 && !this.r.t(b.b) && !this.q.t(b.b)) {
1105
- this.bf();
1114
+ if (this.r != null) {
1115
+ if (this.s.b6 && !this.s.t(b.b) && !this.r.t(b.b)) {
1116
+ this.bi();
1106
1117
  }
1107
1118
  }
1108
1119
  }
1109
- b4(a) {
1110
- if (this.q != null) {
1111
- let b = this.q.be();
1112
- this.r.ce(b);
1120
+ b7(a) {
1121
+ if (this.r != null) {
1122
+ let b = this.r.be();
1123
+ this.s.ce(b);
1113
1124
  }
1114
1125
  }
1115
- bg() {
1116
- NativeUIComponent.av(this.g.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1126
+ bj() {
1127
+ NativeUIComponent.av(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1117
1128
  let b = a[0];
1118
1129
  let c = a[1];
1119
1130
  let d = a[2];
1120
1131
  let e = a[3];
1121
- let f = this.g.i();
1122
- this.g.k(e, f);
1132
+ let f = this.h.i();
1133
+ this.h.k(e, f);
1123
1134
  b.bn(d);
1124
1135
  d.bn(e);
1125
- this.g.l(c);
1136
+ this.h.l(c);
1126
1137
  b.ch = BrushUtil.j(255, 255, 255, 255);
1127
1138
  b.ca = 150;
1128
1139
  b.b8 = 8;
1129
1140
  b.cb = 4;
1130
1141
  b.b1 = true;
1131
- this.q = c;
1132
- this.q.c = this.i;
1133
- this.q.bp = this.k;
1134
- this.q.b6 = ColorEditor.a5;
1135
- this.q.cc = BrushUtil.j(255, 255, 255, 255);
1136
- this.q.cd = BrushUtil.j(255, 0, 0, 0);
1137
- this.q.bn = runOn(this, this.cc);
1138
- this.q.n = runOn(this, this.bv);
1139
- this.q.o = runOn(this, this.bx);
1140
- this.q.cb = BrushUtil.j(255, 0, 0, 255);
1141
- this.r = b;
1142
- this.d = this.g.c(f);
1143
- this.d.value = this.value;
1144
- let g = this.d;
1145
- g.closed = delegateCombine(g.closed, runOn(this, this.bc));
1146
- let h = this.d;
1147
- h.valueChanged = delegateCombine(h.valueChanged, runOn(this, this.bd));
1148
- d.o = runOn(this, this.bx);
1149
- let i = this.d;
1150
- i.valueChanged = delegateCombine(i.valueChanged, runOn(this, this.bj));
1142
+ this.r = c;
1143
+ this.r.c = this.j;
1144
+ this.r.bp = this.l;
1145
+ this.r.b6 = ColorEditor.a8;
1146
+ this.r.cc = BrushUtil.j(255, 255, 255, 255);
1147
+ this.r.cd = BrushUtil.j(255, 0, 0, 0);
1148
+ this.r.bn = runOn(this, this.cf);
1149
+ this.r.n = runOn(this, this.by);
1150
+ this.r.o = runOn(this, this.b0);
1151
+ this.r.cb = BrushUtil.j(255, 0, 0, 255);
1152
+ this.s = b;
1153
+ this.e = this.h.c(f);
1154
+ this.e.value = this.value;
1155
+ let g = this.e;
1156
+ g.closed = delegateCombine(g.closed, runOn(this, this.bf));
1157
+ let h = this.e;
1158
+ h.valueChanged = delegateCombine(h.valueChanged, runOn(this, this.bg));
1159
+ d.o = runOn(this, this.b0);
1160
+ let i = this.e;
1161
+ i.valueChanged = delegateCombine(i.valueChanged, runOn(this, this.bm));
1151
1162
  });
1152
1163
  }
1153
- bd(a, b) {
1164
+ bg(a, b) {
1154
1165
  if (this.valueChanged != null) {
1155
1166
  this.valueChanged(this, b);
1156
1167
  }
1157
1168
  }
1158
- bc(a, b) {
1159
- this.bi(a);
1169
+ bf(a, b) {
1170
+ this.bl(a);
1160
1171
  }
1161
- bx(a, b) {
1162
- if (!this.r.t(b.b) && !this.q.t(b.b) && !(this.q.an == b.b)) {
1163
- this.bm();
1172
+ b0(a, b) {
1173
+ if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.an == b.b)) {
1174
+ this.bp();
1164
1175
  }
1165
1176
  }
1166
- bv(a, b) {
1177
+ by(a, b) {
1167
1178
  this.focus();
1168
1179
  }
1169
- cc(a, b) {
1170
- this.cd();
1180
+ cf(a, b) {
1181
+ this.cg();
1171
1182
  }
1172
- bj(a, b) {
1173
- this.w = true;
1183
+ bm(a, b) {
1184
+ this.x = true;
1174
1185
  this.value = b.newValue;
1175
- this.w = false;
1176
- this.b2(b.oldValue, b.newValue);
1186
+ this.x = false;
1187
+ this.b5(b.oldValue, b.newValue);
1177
1188
  }
1178
- b2(a, b) {
1179
- if (this.q != null) {
1180
- this.q.cb = b;
1189
+ b5(a, b) {
1190
+ if (this.r != null) {
1191
+ this.r.cb = b;
1181
1192
  }
1182
1193
  }
1183
- bi(a) {
1184
- if (this.r.b6) {
1185
- this.v = true;
1186
- this.bf();
1194
+ bl(a) {
1195
+ if (this.s.b6) {
1196
+ this.w = true;
1197
+ this.bi();
1187
1198
  }
1188
1199
  }
1189
- cd() {
1190
- if (this.v == false) {
1191
- if (this.r.b6) {
1192
- this.bf();
1200
+ cg() {
1201
+ if (this.w == false) {
1202
+ if (this.s.b6) {
1203
+ this.bi();
1193
1204
  }
1194
1205
  else {
1195
- this.b5();
1206
+ this.b8();
1196
1207
  }
1197
1208
  }
1198
1209
  else {
1199
- this.v = false;
1210
+ this.w = false;
1200
1211
  }
1201
1212
  }
1202
- b5() {
1203
- if (this.ah) {
1213
+ b8() {
1214
+ if (this.ai) {
1204
1215
  return;
1205
1216
  }
1206
- if (this.r != null) {
1207
- let a = this.g.r(false);
1208
- let b = this.g.s();
1217
+ if (this.s != null) {
1218
+ let a = this.h.r(false);
1219
+ let b = this.h.s();
1209
1220
  let c = b.height;
1210
1221
  let d = 240;
1211
1222
  let e = a.bottom + d;
1212
1223
  if (!isNaN_(c) && c < e) {
1213
1224
  let f = a.top - d;
1214
1225
  if (f < 0) {
1215
- this.cb(1, 0);
1226
+ this.ce(1, 0);
1216
1227
  }
1217
1228
  else {
1218
- this.cb(2, 0);
1229
+ this.ce(2, 0);
1219
1230
  }
1220
1231
  }
1221
1232
  else {
1222
- this.cb(1, 0);
1233
+ this.ce(1, 0);
1223
1234
  }
1224
1235
  }
1225
1236
  }
1226
- cb(a, b) {
1237
+ ce(a, b) {
1227
1238
  {
1228
- let c = this.g.r(true);
1229
- this.r.cf(c, a, b);
1239
+ let c = this.h.r(true);
1240
+ this.s.cf(c, a, b);
1230
1241
  }
1231
1242
  }
1232
- bf() {
1233
- if (this.r != null) {
1234
- this.a.executeDelayed(() => this.r.cc(), 0);
1243
+ bi() {
1244
+ if (this.s != null) {
1245
+ this.a.executeDelayed(() => this.s.cc(), 0);
1235
1246
  }
1236
- if (this.d != null) {
1237
- this.d.bg();
1247
+ if (this.e != null) {
1248
+ this.e.bg();
1238
1249
  }
1239
- this.v = false;
1250
+ this.w = false;
1240
1251
  }
1241
1252
  focus(a = false) {
1242
- if (this.q != null) {
1243
- this.q.a0();
1253
+ if (this.r != null) {
1254
+ this.r.a0();
1244
1255
  }
1245
- if (!this.r.b6 && this.ak == true) {
1246
- if (this.v == false) {
1247
- if (this.z) {
1256
+ if (!this.s.b6 && this.al == true) {
1257
+ if (this.w == false) {
1258
+ if (this.aa) {
1248
1259
  return;
1249
1260
  }
1250
- if (this.ag == false) {
1251
- this.b5();
1252
- this.v = true;
1253
- this.a.executeDelayed(() => this.bl(), 0);
1261
+ if (this.ah == false) {
1262
+ this.b8();
1263
+ this.w = true;
1264
+ this.a.executeDelayed(() => this.bo(), 0);
1254
1265
  }
1255
1266
  else {
1256
- if (this.ak == true && this.ad == false) {
1257
- this.b5();
1258
- this.v = true;
1259
- this.a.executeDelayed(() => this.bl(), 0);
1267
+ if (this.al == true && this.ae == false) {
1268
+ this.b8();
1269
+ this.w = true;
1270
+ this.a.executeDelayed(() => this.bo(), 0);
1260
1271
  }
1261
1272
  }
1262
1273
  }
1263
1274
  else {
1264
- this.v = false;
1275
+ this.w = false;
1265
1276
  }
1266
1277
  }
1267
1278
  }
1268
- bm() {
1269
- this.v = false;
1279
+ bp() {
1280
+ this.w = false;
1270
1281
  }
1271
- b8() {
1272
- if (this.q != null) {
1273
- this.q.b9();
1282
+ cb() {
1283
+ if (this.r != null) {
1284
+ this.r.b9();
1274
1285
  }
1275
1286
  }
1276
- bl() {
1277
- this.d.a3();
1287
+ bo() {
1288
+ this.e.a3();
1278
1289
  }
1279
- bq() {
1290
+ bt() {
1280
1291
  let a = new ColorEditorGotFocusEventArgs();
1281
- this.bu(a);
1292
+ this.bx(a);
1282
1293
  }
1283
- br() {
1294
+ bu() {
1284
1295
  let a = new ColorEditorLostFocusEventArgs();
1285
- this.bw(a);
1296
+ this.bz(a);
1297
+ }
1298
+ cd() {
1299
+ }
1300
+ cc() {
1301
+ }
1302
+ as() {
1303
+ return this.b();
1286
1304
  }
1287
- ca() {
1305
+ ay() {
1306
+ let a = this.b();
1307
+ return a.h();
1288
1308
  }
1289
- b9() {
1309
+ b() {
1310
+ let a = new ColorEditorVisualModelExport();
1311
+ a.b = this.j;
1312
+ a.a = AppearanceHelper.a(this.value);
1313
+ a.c = this.ai;
1314
+ return a;
1290
1315
  }
1291
- bu(a) {
1316
+ bx(a) {
1292
1317
  if (null != this.gotFocus) {
1293
1318
  this.gotFocus(this, a);
1294
1319
  }
1295
1320
  }
1296
- bw(a) {
1321
+ bz(a) {
1297
1322
  if (null != this.lostFocus) {
1298
1323
  this.lostFocus(this, a);
1299
1324
  }
1300
1325
  }
1301
1326
  }
1302
1327
  ColorEditor.$t = /*@__PURE__*/ markType(ColorEditor, 'ColorEditor', Base.$, [INotifyPropertyChanged_$type]);
1303
- ColorEditor.a5 = "M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z";
1304
- ColorEditor.n = null;
1328
+ ColorEditor.a8 = "M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z";
1329
+ ColorEditor.o = null;
1305
1330
  return ColorEditor;
1306
1331
  })();
1307
1332
  /**