igniteui-webcomponents-inputs 6.2.2-alpha.2 → 6.3.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -36,12 +36,13 @@ import { NativeUIPopup } from "igniteui-webcomponents-core";
36
36
  import { XComponentBridge } from "./XComponentBridge";
37
37
  import { ColorEditorPanelSelectedValueChangedEventArgs } from "./ColorEditorPanelSelectedValueChangedEventArgs";
38
38
  import { NativeUIColorEditorValueChangedEventArgs } from "igniteui-webcomponents-core";
39
+ import { ColorEditorVisualModelExport } from "./ColorEditorVisualModelExport";
40
+ import { Rect } from "igniteui-webcomponents-core";
39
41
  import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
40
42
  import { Size } from "igniteui-webcomponents-core";
41
43
  import { NativeUIContent } from "igniteui-webcomponents-core";
42
44
  import { truncate, isNaN_, intDivide } from "igniteui-webcomponents-core";
43
45
  import { DOMExecutionContext } from "igniteui-webcomponents-core";
44
- import { Rect } from "igniteui-webcomponents-core";
45
46
  import { SRProvider } from "igniteui-webcomponents-core";
46
47
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
47
48
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
@@ -51,6 +52,7 @@ import { NativeUIWindow } from "igniteui-webcomponents-core";
51
52
  import { ColorEditorPanelClosedEventArgs } from "./ColorEditorPanelClosedEventArgs";
52
53
  import { ColorEditorGotFocusEventArgs } from "./ColorEditorGotFocusEventArgs";
53
54
  import { ColorEditorLostFocusEventArgs } from "./ColorEditorLostFocusEventArgs";
55
+ import { AppearanceHelper } from "igniteui-webcomponents-core";
54
56
  import { Color } from "igniteui-webcomponents-core";
55
57
  import { ColorUtil } from "igniteui-webcomponents-core";
56
58
  import { Thickness } from "igniteui-webcomponents-core";
@@ -346,6 +348,15 @@ var ColorEditorBridge = /** @class */ /*@__PURE__*/ (function (_super) {
346
348
  break;
347
349
  }
348
350
  };
351
+ ColorEditorBridge.prototype.exportVisualData = function (a) {
352
+ var b = a.as();
353
+ var c = this.getBoundingRect(a);
354
+ b.e = c.left;
355
+ b.f = c.top;
356
+ b.g = c.width;
357
+ b.d = c.height;
358
+ return b;
359
+ };
349
360
  ColorEditorBridge.$t = markType(ColorEditorBridge, 'ColorEditorBridge', XComponentBridge.$);
350
361
  return ColorEditorBridge;
351
362
  }(XComponentBridge));
@@ -742,7 +753,7 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
742
753
  this.a.a = new DOMExecutionContext(a);
743
754
  }
744
755
  this.h = a;
745
- this.a.bg();
756
+ this.a.bj();
746
757
  };
747
758
  ColorEditorView.prototype.m = function () {
748
759
  if (KeyFrameAnimationFactory.h == null) {
@@ -802,55 +813,55 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
802
813
  __extends(ColorEditor, _super);
803
814
  function ColorEditor() {
804
815
  var _this = _super.call(this) || this;
805
- _this.g = null;
816
+ _this.h = null;
817
+ _this.s = null;
806
818
  _this.r = null;
807
- _this.q = null;
808
- _this.d = null;
809
- _this.v = false;
810
- _this.af = false;
811
- _this.ad = false;
812
- _this.cj = BrushUtil.j(0, 0, 0, 0);
819
+ _this.e = null;
813
820
  _this.w = false;
821
+ _this.ag = false;
822
+ _this.ae = false;
823
+ _this.cm = BrushUtil.j(0, 0, 0, 0);
824
+ _this.x = false;
814
825
  _this.propertyChanged = null;
815
826
  _this.valueChanged = null;
816
827
  _this.valueChanging = null;
817
- _this.s = null;
828
+ _this.t = null;
818
829
  _this.a = null;
819
- _this.cl = BrushUtil.j(255, 0, 0, 255);
820
- _this.ar = "";
821
- _this.ci = BrushUtil.j(255, 24, 29, 31);
822
- _this.l = null;
823
- _this.j = 2;
824
- _this.h = 1;
830
+ _this.co = BrushUtil.j(255, 0, 0, 255);
831
+ _this.at = "";
832
+ _this.cl = BrushUtil.j(255, 24, 29, 31);
825
833
  _this.m = null;
826
- _this.ck = BrushUtil.j(255, 24, 29, 31);
827
- _this.ch = BrushUtil.j(255, 163, 172, 184);
834
+ _this.k = 2;
835
+ _this.i = 1;
836
+ _this.n = null;
837
+ _this.cn = BrushUtil.j(255, 24, 29, 31);
838
+ _this.ck = BrushUtil.j(255, 163, 172, 184);
839
+ _this.ad = true;
840
+ _this.v = true;
828
841
  _this.ac = true;
829
- _this.u = true;
830
- _this.ab = true;
831
- _this.x = false;
832
- _this.ap = 0;
833
842
  _this.y = false;
834
- _this.aa = false;
835
- _this.ae = false;
843
+ _this.aq = 0;
836
844
  _this.z = false;
845
+ _this.ab = false;
846
+ _this.af = false;
847
+ _this.aa = false;
837
848
  _this.gotFocus = null;
838
849
  _this.lostFocus = null;
839
850
  NativeUIInputsFactory.n();
840
851
  NativeUIXInputsFactory.m();
841
852
  var a = new ColorEditorView();
842
853
  a.a = _this;
843
- _this.g = a;
844
- _this.g.q();
854
+ _this.h = a;
855
+ _this.h.q();
845
856
  return _this;
846
857
  }
847
858
  ColorEditor.prototype.onAttachedToUI = function () {
848
- this.g.n();
859
+ this.h.n();
849
860
  };
850
861
  ColorEditor.prototype.onDetachedFromUI = function () {
851
- this.g.p();
862
+ this.h.p();
852
863
  };
853
- ColorEditor.prototype.b1 = function (a, b) {
864
+ ColorEditor.prototype.b4 = function (a, b) {
854
865
  if (this.valueChanging != null) {
855
866
  this.valueChanging(this, ((function () {
856
867
  var $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
@@ -859,7 +870,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
859
870
  return $ret;
860
871
  })()));
861
872
  }
862
- if (this.w) {
873
+ if (this.x) {
863
874
  }
864
875
  };
865
876
  ColorEditor.prototype.notifySizeChanged = function () {
@@ -868,290 +879,290 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
868
879
  this.provideContainer(null);
869
880
  };
870
881
  ColorEditor.prototype.provideContainer = function (a) {
871
- this.g.o(a);
882
+ this.h.o(a);
872
883
  };
873
- Object.defineProperty(ColorEditor.prototype, "t", {
884
+ Object.defineProperty(ColorEditor.prototype, "u", {
874
885
  get: function () {
875
- if (this.s == null) {
876
- this.s = new SRProvider(this.g.h);
877
- this.s.cb("ColorEditor");
886
+ if (this.t == null) {
887
+ this.t = new SRProvider(this.h.h);
888
+ this.t.cb("ColorEditor");
878
889
  }
879
- return this.s;
890
+ return this.t;
880
891
  },
881
892
  enumerable: false,
882
893
  configurable: true
883
894
  });
884
895
  Object.defineProperty(ColorEditor.prototype, "value", {
885
896
  get: function () {
886
- return this.cl;
897
+ return this.co;
887
898
  },
888
899
  set: function (a) {
889
- var b = this.cl;
890
- this.cj = b;
891
- this.cl = a;
892
- if (b != this.cl) {
893
- this.b0("Value", b, this.cl);
900
+ var b = this.co;
901
+ this.cm = b;
902
+ this.co = a;
903
+ if (b != this.co) {
904
+ this.b3("Value", b, this.co);
894
905
  }
895
906
  },
896
907
  enumerable: false,
897
908
  configurable: true
898
909
  });
899
- Object.defineProperty(ColorEditor.prototype, "az", {
910
+ Object.defineProperty(ColorEditor.prototype, "a2", {
900
911
  get: function () {
901
- return this.ar;
912
+ return this.at;
902
913
  },
903
914
  set: function (a) {
904
- var b = this.ar;
905
- this.ar = a;
906
- if (b != this.ar) {
907
- this.b0("Label", b, this.ar);
915
+ var b = this.at;
916
+ this.at = a;
917
+ if (b != this.at) {
918
+ this.b3("Label", b, this.at);
908
919
  }
909
920
  },
910
921
  enumerable: false,
911
922
  configurable: true
912
923
  });
913
- Object.defineProperty(ColorEditor.prototype, "cn", {
924
+ Object.defineProperty(ColorEditor.prototype, "cq", {
914
925
  get: function () {
915
- return this.ci;
926
+ return this.cl;
916
927
  },
917
928
  set: function (a) {
918
- var b = this.ci;
919
- this.ci = a;
920
- if (b != this.ci) {
921
- this.b0("LabelTextColor", b, a);
929
+ var b = this.cl;
930
+ this.cl = a;
931
+ if (b != this.cl) {
932
+ this.b3("LabelTextColor", b, a);
922
933
  }
923
934
  },
924
935
  enumerable: false,
925
936
  configurable: true
926
937
  });
927
- Object.defineProperty(ColorEditor.prototype, "o", {
938
+ Object.defineProperty(ColorEditor.prototype, "p", {
928
939
  get: function () {
929
- return this.l;
940
+ return this.m;
930
941
  },
931
942
  set: function (a) {
932
- var b = this.l;
933
- this.l = a;
934
- if (b != this.l) {
935
- this.b0("LabelTextStyle", b, this.l);
943
+ var b = this.m;
944
+ this.m = a;
945
+ if (b != this.m) {
946
+ this.b3("LabelTextStyle", b, this.m);
936
947
  }
937
948
  },
938
949
  enumerable: false,
939
950
  configurable: true
940
951
  });
941
- Object.defineProperty(ColorEditor.prototype, "k", {
952
+ Object.defineProperty(ColorEditor.prototype, "l", {
942
953
  get: function () {
943
- return this.j;
954
+ return this.k;
944
955
  },
945
956
  set: function (a) {
946
- var b = this.j;
947
- this.j = a;
948
- if (b != this.j) {
949
- this.b0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.j));
957
+ var b = this.k;
958
+ this.k = a;
959
+ if (b != this.k) {
960
+ this.b3("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
950
961
  }
951
962
  },
952
963
  enumerable: false,
953
964
  configurable: true
954
965
  });
955
- Object.defineProperty(ColorEditor.prototype, "i", {
966
+ Object.defineProperty(ColorEditor.prototype, "j", {
956
967
  get: function () {
957
- return this.h;
968
+ return this.i;
958
969
  },
959
970
  set: function (a) {
960
- var b = this.h;
961
- this.h = a;
962
- if (b != this.h) {
963
- this.b0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.h));
971
+ var b = this.i;
972
+ this.i = a;
973
+ if (b != this.i) {
974
+ this.b3("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
964
975
  }
965
976
  },
966
977
  enumerable: false,
967
978
  configurable: true
968
979
  });
969
- Object.defineProperty(ColorEditor.prototype, "p", {
980
+ Object.defineProperty(ColorEditor.prototype, "q", {
970
981
  get: function () {
971
- return this.m;
982
+ return this.n;
972
983
  },
973
984
  set: function (a) {
974
- var b = this.m;
975
- this.m = a;
976
- if (b != this.m) {
977
- this.b0("TextStyle", b, this.m);
985
+ var b = this.n;
986
+ this.n = a;
987
+ if (b != this.n) {
988
+ this.b3("TextStyle", b, this.n);
978
989
  }
979
990
  },
980
991
  enumerable: false,
981
992
  configurable: true
982
993
  });
983
- Object.defineProperty(ColorEditor.prototype, "co", {
994
+ Object.defineProperty(ColorEditor.prototype, "cr", {
984
995
  get: function () {
985
- return this.ck;
996
+ return this.cn;
986
997
  },
987
998
  set: function (a) {
988
- var b = this.ck;
989
- this.ck = a;
990
- if (b != this.ck) {
991
- this.b0("TextColor", b, this.ck);
999
+ var b = this.cn;
1000
+ this.cn = a;
1001
+ if (b != this.cn) {
1002
+ this.b3("TextColor", b, this.cn);
992
1003
  }
993
1004
  },
994
1005
  enumerable: false,
995
1006
  configurable: true
996
1007
  });
997
- Object.defineProperty(ColorEditor.prototype, "cm", {
1008
+ Object.defineProperty(ColorEditor.prototype, "cp", {
998
1009
  get: function () {
999
- return this.ch;
1010
+ return this.ck;
1000
1011
  },
1001
1012
  set: function (a) {
1002
- var b = this.ch;
1003
- this.ch = a;
1004
- if (b != this.ch) {
1005
- this.b0("IconColor", b, this.ch);
1013
+ var b = this.ck;
1014
+ this.ck = a;
1015
+ if (b != this.ck) {
1016
+ this.b3("IconColor", b, this.ck);
1006
1017
  }
1007
1018
  },
1008
1019
  enumerable: false,
1009
1020
  configurable: true
1010
1021
  });
1011
- Object.defineProperty(ColorEditor.prototype, "am", {
1022
+ Object.defineProperty(ColorEditor.prototype, "an", {
1012
1023
  get: function () {
1013
- return this.ac;
1024
+ return this.ad;
1014
1025
  },
1015
1026
  set: function (a) {
1016
- var b = this.ac;
1017
- this.ac = a;
1018
- if (b != this.ac) {
1019
- this.b0("ShowClearButton", b, this.ac);
1027
+ var b = this.ad;
1028
+ this.ad = a;
1029
+ if (b != this.ad) {
1030
+ this.b3("ShowClearButton", b, this.ad);
1020
1031
  }
1021
1032
  },
1022
1033
  enumerable: false,
1023
1034
  configurable: true
1024
1035
  });
1025
- Object.defineProperty(ColorEditor.prototype, "ag", {
1036
+ Object.defineProperty(ColorEditor.prototype, "ah", {
1026
1037
  get: function () {
1027
- return this.u;
1038
+ return this.v;
1028
1039
  },
1029
1040
  set: function (a) {
1030
- var b = this.u;
1031
- this.u = a;
1032
- if (b != this.u) {
1033
- this.b0("AllowTextInput", b, this.u);
1041
+ var b = this.v;
1042
+ this.v = a;
1043
+ if (b != this.v) {
1044
+ this.b3("AllowTextInput", b, this.v);
1034
1045
  }
1035
1046
  },
1036
1047
  enumerable: false,
1037
1048
  configurable: true
1038
1049
  });
1039
- Object.defineProperty(ColorEditor.prototype, "ak", {
1050
+ Object.defineProperty(ColorEditor.prototype, "al", {
1040
1051
  get: function () {
1041
- return this.ab;
1052
+ return this.ac;
1042
1053
  },
1043
1054
  set: function (a) {
1044
- var b = this.ab;
1045
- this.ab = a;
1046
- if (b != this.ab) {
1047
- this.b0("OpenOnFocus", b, this.ab);
1055
+ var b = this.ac;
1056
+ this.ac = a;
1057
+ if (b != this.ac) {
1058
+ this.b3("OpenOnFocus", b, this.ac);
1048
1059
  }
1049
1060
  },
1050
1061
  enumerable: false,
1051
1062
  configurable: true
1052
1063
  });
1053
- Object.defineProperty(ColorEditor.prototype, "ah", {
1064
+ Object.defineProperty(ColorEditor.prototype, "ai", {
1054
1065
  get: function () {
1055
- return this.x;
1066
+ return this.y;
1056
1067
  },
1057
1068
  set: function (a) {
1058
- var b = this.x;
1059
- this.x = a;
1060
- if (b != this.x) {
1061
- this.b0("IsDisabled", b, this.x);
1069
+ var b = this.y;
1070
+ this.y = a;
1071
+ if (b != this.y) {
1072
+ this.b3("IsDisabled", b, this.y);
1062
1073
  }
1063
1074
  },
1064
1075
  enumerable: false,
1065
1076
  configurable: true
1066
1077
  });
1067
- Object.defineProperty(ColorEditor.prototype, "aq", {
1078
+ Object.defineProperty(ColorEditor.prototype, "ar", {
1068
1079
  get: function () {
1069
- return this.ap;
1080
+ return this.aq;
1070
1081
  },
1071
1082
  set: function (a) {
1072
- var b = this.ap;
1073
- this.ap = a;
1074
- if (b != this.ap) {
1075
- this.b0("TabIndex", b, this.ap);
1083
+ var b = this.aq;
1084
+ this.aq = a;
1085
+ if (b != this.aq) {
1086
+ this.b3("TabIndex", b, this.aq);
1076
1087
  }
1077
1088
  },
1078
1089
  enumerable: false,
1079
1090
  configurable: true
1080
1091
  });
1081
- Object.defineProperty(ColorEditor.prototype, "ai", {
1092
+ Object.defineProperty(ColorEditor.prototype, "aj", {
1082
1093
  get: function () {
1083
- return this.y;
1094
+ return this.z;
1084
1095
  },
1085
1096
  set: function (a) {
1086
- var b = this.y;
1087
- this.y = a;
1088
- if (b != this.y) {
1089
- this.b0("IsFixed", b, this.y);
1097
+ var b = this.z;
1098
+ this.z = a;
1099
+ if (b != this.z) {
1100
+ this.b3("IsFixed", b, this.z);
1090
1101
  }
1091
1102
  },
1092
1103
  enumerable: false,
1093
1104
  configurable: true
1094
1105
  });
1095
- Object.defineProperty(ColorEditor.prototype, "aj", {
1106
+ Object.defineProperty(ColorEditor.prototype, "ak", {
1096
1107
  get: function () {
1097
- return this.aa;
1108
+ return this.ab;
1098
1109
  },
1099
1110
  set: function (a) {
1100
- var b = this.aa;
1101
- this.aa = a;
1102
- if (b != this.aa) {
1103
- this.b0("OpenAsChild", b, this.aa);
1111
+ var b = this.ab;
1112
+ this.ab = a;
1113
+ if (b != this.ab) {
1114
+ this.b3("OpenAsChild", b, this.ab);
1104
1115
  }
1105
1116
  },
1106
1117
  enumerable: false,
1107
1118
  configurable: true
1108
1119
  });
1109
- Object.defineProperty(ColorEditor.prototype, "an", {
1120
+ Object.defineProperty(ColorEditor.prototype, "ao", {
1110
1121
  get: function () {
1111
- return this.ae;
1122
+ return this.af;
1112
1123
  },
1113
1124
  set: function (a) {
1114
- var b = this.ae;
1115
- this.ae = a;
1116
- if (b != this.ae) {
1117
- this.b0("UseTopLayer", b, this.ae);
1125
+ var b = this.af;
1126
+ this.af = a;
1127
+ if (b != this.af) {
1128
+ this.b3("UseTopLayer", b, this.af);
1118
1129
  }
1119
1130
  },
1120
1131
  enumerable: false,
1121
1132
  configurable: true
1122
1133
  });
1123
- ColorEditor.prototype.b0 = function (a, b, c) {
1134
+ ColorEditor.prototype.b3 = function (a, b, c) {
1124
1135
  if (this.propertyChanged != null) {
1125
1136
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
1126
1137
  }
1127
- this.b6(a, b, c);
1138
+ this.b9(a, b, c);
1128
1139
  };
1129
- ColorEditor.prototype.b6 = function (a, b, c) {
1140
+ ColorEditor.prototype.b9 = function (a, b, c) {
1130
1141
  switch (a) {
1131
1142
  case "Density":
1132
- this.b9();
1143
+ this.cc();
1133
1144
  break;
1134
1145
  case "BaseTheme":
1135
- this.ca();
1146
+ this.cd();
1136
1147
  break;
1137
1148
  case "Value":
1138
- this.b1(this.cj, this.value);
1139
- this.cj = this.value;
1140
- if (this.d != null && !this.w) {
1141
- this.d.value = this.value;
1149
+ this.b4(this.cm, this.value);
1150
+ this.cm = this.value;
1151
+ if (this.e != null && !this.x) {
1152
+ this.e.value = this.value;
1142
1153
  }
1143
1154
  break;
1144
1155
  case "Label":
1145
- if (this.q != null) {
1146
- this.q.b5 = this.az;
1156
+ if (this.r != null) {
1157
+ this.r.b5 = this.a2;
1147
1158
  }
1148
1159
  break;
1149
1160
  case "TextStyle":
1150
- this.cf();
1161
+ this.ci();
1151
1162
  break;
1152
1163
  case "ShowClearButton":
1153
- if (this.q != null) {
1154
- if (this.q.b7 != "") {
1164
+ if (this.r != null) {
1165
+ if (this.r.b7 != "") {
1155
1166
  }
1156
1167
  }
1157
1168
  break;
@@ -1159,274 +1170,288 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
1159
1170
  case "LabelTextStyle":
1160
1171
  case "TextColor":
1161
1172
  case "IconColor":
1162
- this.cg();
1173
+ this.cj();
1163
1174
  break;
1164
1175
  case "AllowTextInput":
1165
- if (this.q != null) {
1166
- this.q.b0 = this.al();
1176
+ if (this.r != null) {
1177
+ this.r.b0 = this.am();
1167
1178
  }
1168
1179
  break;
1169
1180
  case "OpenOnFocus": break;
1170
1181
  case "IsDisabled":
1171
1182
  {
1172
- if (this.q != null) {
1173
- this.q.b0 = this.al();
1183
+ if (this.r != null) {
1184
+ this.r.b0 = this.am();
1174
1185
  }
1175
1186
  }
1176
1187
  break;
1177
1188
  }
1178
1189
  };
1179
- ColorEditor.prototype.al = function () {
1180
- return this.ah || !this.ag;
1190
+ ColorEditor.prototype.am = function () {
1191
+ return this.ai || !this.ah;
1181
1192
  };
1182
- ColorEditor.prototype.cg = function () {
1183
- if (this.q != null) {
1184
- this.q.ce = this.co;
1193
+ ColorEditor.prototype.cj = function () {
1194
+ if (this.r != null) {
1195
+ this.r.ce = this.cr;
1185
1196
  }
1186
1197
  };
1187
- ColorEditor.prototype.ce = function () {
1188
- if (this.q != null) {
1198
+ ColorEditor.prototype.ch = function () {
1199
+ if (this.r != null) {
1189
1200
  }
1190
1201
  };
1191
- ColorEditor.prototype.cf = function () {
1192
- if (this.m != null) {
1193
- this.q.bk = this.m;
1202
+ ColorEditor.prototype.ci = function () {
1203
+ if (this.n != null) {
1204
+ this.r.bk = this.n;
1194
1205
  }
1195
1206
  };
1196
- ColorEditor.prototype.be = function () {
1197
- if (this.ah == true) {
1207
+ ColorEditor.prototype.bh = function () {
1208
+ if (this.ai == true) {
1198
1209
  return;
1199
1210
  }
1200
- if (this.q != null) {
1201
- this.q.b7 = "";
1211
+ if (this.r != null) {
1212
+ this.r.b7 = "";
1202
1213
  }
1203
1214
  this.value = BrushUtil.j(0, 0, 0, 0);
1204
- this.d.ax();
1205
- this.z = false;
1215
+ this.e.ax();
1216
+ this.aa = false;
1206
1217
  };
1207
- ColorEditor.prototype.by = function () {
1208
- this.z = true;
1218
+ ColorEditor.prototype.b1 = function () {
1219
+ this.aa = true;
1209
1220
  };
1210
- ColorEditor.prototype.bz = function () {
1211
- this.z = false;
1221
+ ColorEditor.prototype.b2 = function () {
1222
+ this.aa = false;
1212
1223
  };
1213
- ColorEditor.prototype.bo = function () {
1214
- NativeUIWindow.h(15, runOn(this, this.b4), this.g.h);
1215
- NativeUIWindow.h(9, runOn(this, this.b3), this.g.h);
1224
+ ColorEditor.prototype.br = function () {
1225
+ NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
1226
+ NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
1216
1227
  };
1217
- ColorEditor.prototype.bs = function () {
1218
- NativeUIWindow.i(15, runOn(this, this.b4));
1219
- NativeUIWindow.i(9, runOn(this, this.b3));
1228
+ ColorEditor.prototype.bv = function () {
1229
+ NativeUIWindow.i(15, runOn(this, this.b7));
1230
+ NativeUIWindow.i(9, runOn(this, this.b6));
1220
1231
  };
1221
- ColorEditor.prototype.b3 = function (a) {
1232
+ ColorEditor.prototype.b6 = function (a) {
1222
1233
  var b = a;
1223
- if (this.q != null) {
1224
- if (this.r.b6 && !this.r.t(b.b) && !this.q.t(b.b)) {
1225
- this.bf();
1234
+ if (this.r != null) {
1235
+ if (this.s.b6 && !this.s.t(b.b) && !this.r.t(b.b)) {
1236
+ this.bi();
1226
1237
  }
1227
1238
  }
1228
1239
  };
1229
- ColorEditor.prototype.b4 = function (a) {
1230
- if (this.q != null) {
1231
- var b = this.q.be();
1232
- this.r.ce(b);
1240
+ ColorEditor.prototype.b7 = function (a) {
1241
+ if (this.r != null) {
1242
+ var b = this.r.be();
1243
+ this.s.ce(b);
1233
1244
  }
1234
1245
  };
1235
- ColorEditor.prototype.bg = function () {
1246
+ ColorEditor.prototype.bj = function () {
1236
1247
  var _this = this;
1237
- NativeUIComponent.av(this.g.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
1248
+ NativeUIComponent.av(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
1238
1249
  var b = a[0];
1239
1250
  var c = a[1];
1240
1251
  var d = a[2];
1241
1252
  var e = a[3];
1242
- var f = _this.g.i();
1243
- _this.g.k(e, f);
1253
+ var f = _this.h.i();
1254
+ _this.h.k(e, f);
1244
1255
  b.bn(d);
1245
1256
  d.bn(e);
1246
- _this.g.l(c);
1257
+ _this.h.l(c);
1247
1258
  b.ch = BrushUtil.j(255, 255, 255, 255);
1248
1259
  b.ca = 150;
1249
1260
  b.b8 = 8;
1250
1261
  b.cb = 4;
1251
1262
  b.b1 = true;
1252
- _this.q = c;
1253
- _this.q.c = _this.i;
1254
- _this.q.bp = _this.k;
1255
- _this.q.b6 = ColorEditor.a5;
1256
- _this.q.cc = BrushUtil.j(255, 255, 255, 255);
1257
- _this.q.cd = BrushUtil.j(255, 0, 0, 0);
1258
- _this.q.bn = runOn(_this, _this.cc);
1259
- _this.q.n = runOn(_this, _this.bv);
1260
- _this.q.o = runOn(_this, _this.bx);
1261
- _this.q.cb = BrushUtil.j(255, 0, 0, 255);
1262
- _this.r = b;
1263
- _this.d = _this.g.c(f);
1264
- _this.d.value = _this.value;
1265
- var g = _this.d;
1266
- g.closed = delegateCombine(g.closed, runOn(_this, _this.bc));
1267
- var h = _this.d;
1268
- h.valueChanged = delegateCombine(h.valueChanged, runOn(_this, _this.bd));
1269
- d.o = runOn(_this, _this.bx);
1270
- var i = _this.d;
1271
- i.valueChanged = delegateCombine(i.valueChanged, runOn(_this, _this.bj));
1263
+ _this.r = c;
1264
+ _this.r.c = _this.j;
1265
+ _this.r.bp = _this.l;
1266
+ _this.r.b6 = ColorEditor.a8;
1267
+ _this.r.cc = BrushUtil.j(255, 255, 255, 255);
1268
+ _this.r.cd = BrushUtil.j(255, 0, 0, 0);
1269
+ _this.r.bn = runOn(_this, _this.cf);
1270
+ _this.r.n = runOn(_this, _this.by);
1271
+ _this.r.o = runOn(_this, _this.b0);
1272
+ _this.r.cb = BrushUtil.j(255, 0, 0, 255);
1273
+ _this.s = b;
1274
+ _this.e = _this.h.c(f);
1275
+ _this.e.value = _this.value;
1276
+ var g = _this.e;
1277
+ g.closed = delegateCombine(g.closed, runOn(_this, _this.bf));
1278
+ var h = _this.e;
1279
+ h.valueChanged = delegateCombine(h.valueChanged, runOn(_this, _this.bg));
1280
+ d.o = runOn(_this, _this.b0);
1281
+ var i = _this.e;
1282
+ i.valueChanged = delegateCombine(i.valueChanged, runOn(_this, _this.bm));
1272
1283
  });
1273
1284
  };
1274
- ColorEditor.prototype.bd = function (a, b) {
1285
+ ColorEditor.prototype.bg = function (a, b) {
1275
1286
  if (this.valueChanged != null) {
1276
1287
  this.valueChanged(this, b);
1277
1288
  }
1278
1289
  };
1279
- ColorEditor.prototype.bc = function (a, b) {
1280
- this.bi(a);
1290
+ ColorEditor.prototype.bf = function (a, b) {
1291
+ this.bl(a);
1281
1292
  };
1282
- ColorEditor.prototype.bx = function (a, b) {
1283
- if (!this.r.t(b.b) && !this.q.t(b.b) && !(this.q.an == b.b)) {
1284
- this.bm();
1293
+ ColorEditor.prototype.b0 = function (a, b) {
1294
+ if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.an == b.b)) {
1295
+ this.bp();
1285
1296
  }
1286
1297
  };
1287
- ColorEditor.prototype.bv = function (a, b) {
1298
+ ColorEditor.prototype.by = function (a, b) {
1288
1299
  this.focus();
1289
1300
  };
1290
- ColorEditor.prototype.cc = function (a, b) {
1291
- this.cd();
1301
+ ColorEditor.prototype.cf = function (a, b) {
1302
+ this.cg();
1292
1303
  };
1293
- ColorEditor.prototype.bj = function (a, b) {
1294
- this.w = true;
1304
+ ColorEditor.prototype.bm = function (a, b) {
1305
+ this.x = true;
1295
1306
  this.value = b.newValue;
1296
- this.w = false;
1297
- this.b2(b.oldValue, b.newValue);
1307
+ this.x = false;
1308
+ this.b5(b.oldValue, b.newValue);
1298
1309
  };
1299
- ColorEditor.prototype.b2 = function (a, b) {
1300
- if (this.q != null) {
1301
- this.q.cb = b;
1310
+ ColorEditor.prototype.b5 = function (a, b) {
1311
+ if (this.r != null) {
1312
+ this.r.cb = b;
1302
1313
  }
1303
1314
  };
1304
- ColorEditor.prototype.bi = function (a) {
1305
- if (this.r.b6) {
1306
- this.v = true;
1307
- this.bf();
1315
+ ColorEditor.prototype.bl = function (a) {
1316
+ if (this.s.b6) {
1317
+ this.w = true;
1318
+ this.bi();
1308
1319
  }
1309
1320
  };
1310
- ColorEditor.prototype.cd = function () {
1311
- if (this.v == false) {
1312
- if (this.r.b6) {
1313
- this.bf();
1321
+ ColorEditor.prototype.cg = function () {
1322
+ if (this.w == false) {
1323
+ if (this.s.b6) {
1324
+ this.bi();
1314
1325
  }
1315
1326
  else {
1316
- this.b5();
1327
+ this.b8();
1317
1328
  }
1318
1329
  }
1319
1330
  else {
1320
- this.v = false;
1331
+ this.w = false;
1321
1332
  }
1322
1333
  };
1323
- ColorEditor.prototype.b5 = function () {
1324
- if (this.ah) {
1334
+ ColorEditor.prototype.b8 = function () {
1335
+ if (this.ai) {
1325
1336
  return;
1326
1337
  }
1327
- if (this.r != null) {
1328
- var a = this.g.r(false);
1329
- var b = this.g.s();
1338
+ if (this.s != null) {
1339
+ var a = this.h.r(false);
1340
+ var b = this.h.s();
1330
1341
  var c = b.height;
1331
1342
  var d = 240;
1332
1343
  var e = a.bottom + d;
1333
1344
  if (!isNaN_(c) && c < e) {
1334
1345
  var f = a.top - d;
1335
1346
  if (f < 0) {
1336
- this.cb(1, 0);
1347
+ this.ce(1, 0);
1337
1348
  }
1338
1349
  else {
1339
- this.cb(2, 0);
1350
+ this.ce(2, 0);
1340
1351
  }
1341
1352
  }
1342
1353
  else {
1343
- this.cb(1, 0);
1354
+ this.ce(1, 0);
1344
1355
  }
1345
1356
  }
1346
1357
  };
1347
- ColorEditor.prototype.cb = function (a, b) {
1358
+ ColorEditor.prototype.ce = function (a, b) {
1348
1359
  {
1349
- var c = this.g.r(true);
1350
- this.r.cf(c, a, b);
1360
+ var c = this.h.r(true);
1361
+ this.s.cf(c, a, b);
1351
1362
  }
1352
1363
  };
1353
- ColorEditor.prototype.bf = function () {
1364
+ ColorEditor.prototype.bi = function () {
1354
1365
  var _this = this;
1355
- if (this.r != null) {
1356
- this.a.executeDelayed(function () { return _this.r.cc(); }, 0);
1366
+ if (this.s != null) {
1367
+ this.a.executeDelayed(function () { return _this.s.cc(); }, 0);
1357
1368
  }
1358
- if (this.d != null) {
1359
- this.d.bg();
1369
+ if (this.e != null) {
1370
+ this.e.bg();
1360
1371
  }
1361
- this.v = false;
1372
+ this.w = false;
1362
1373
  };
1363
1374
  ColorEditor.prototype.focus = function (a) {
1364
1375
  var _this = this;
1365
1376
  if (a === void 0) {
1366
1377
  a = false;
1367
1378
  }
1368
- if (this.q != null) {
1369
- this.q.a0();
1379
+ if (this.r != null) {
1380
+ this.r.a0();
1370
1381
  }
1371
- if (!this.r.b6 && this.ak == true) {
1372
- if (this.v == false) {
1373
- if (this.z) {
1382
+ if (!this.s.b6 && this.al == true) {
1383
+ if (this.w == false) {
1384
+ if (this.aa) {
1374
1385
  return;
1375
1386
  }
1376
- if (this.ag == false) {
1377
- this.b5();
1378
- this.v = true;
1379
- this.a.executeDelayed(function () { return _this.bl(); }, 0);
1387
+ if (this.ah == false) {
1388
+ this.b8();
1389
+ this.w = true;
1390
+ this.a.executeDelayed(function () { return _this.bo(); }, 0);
1380
1391
  }
1381
1392
  else {
1382
- if (this.ak == true && this.ad == false) {
1383
- this.b5();
1384
- this.v = true;
1385
- this.a.executeDelayed(function () { return _this.bl(); }, 0);
1393
+ if (this.al == true && this.ae == false) {
1394
+ this.b8();
1395
+ this.w = true;
1396
+ this.a.executeDelayed(function () { return _this.bo(); }, 0);
1386
1397
  }
1387
1398
  }
1388
1399
  }
1389
1400
  else {
1390
- this.v = false;
1401
+ this.w = false;
1391
1402
  }
1392
1403
  }
1393
1404
  };
1394
- ColorEditor.prototype.bm = function () {
1395
- this.v = false;
1405
+ ColorEditor.prototype.bp = function () {
1406
+ this.w = false;
1396
1407
  };
1397
- ColorEditor.prototype.b8 = function () {
1398
- if (this.q != null) {
1399
- this.q.b9();
1408
+ ColorEditor.prototype.cb = function () {
1409
+ if (this.r != null) {
1410
+ this.r.b9();
1400
1411
  }
1401
1412
  };
1402
- ColorEditor.prototype.bl = function () {
1403
- this.d.a3();
1413
+ ColorEditor.prototype.bo = function () {
1414
+ this.e.a3();
1404
1415
  };
1405
- ColorEditor.prototype.bq = function () {
1416
+ ColorEditor.prototype.bt = function () {
1406
1417
  var a = new ColorEditorGotFocusEventArgs();
1407
- this.bu(a);
1418
+ this.bx(a);
1408
1419
  };
1409
- ColorEditor.prototype.br = function () {
1420
+ ColorEditor.prototype.bu = function () {
1410
1421
  var a = new ColorEditorLostFocusEventArgs();
1411
- this.bw(a);
1422
+ this.bz(a);
1423
+ };
1424
+ ColorEditor.prototype.cd = function () {
1425
+ };
1426
+ ColorEditor.prototype.cc = function () {
1427
+ };
1428
+ ColorEditor.prototype.as = function () {
1429
+ return this.b();
1412
1430
  };
1413
- ColorEditor.prototype.ca = function () {
1431
+ ColorEditor.prototype.ay = function () {
1432
+ var a = this.b();
1433
+ return a.h();
1414
1434
  };
1415
- ColorEditor.prototype.b9 = function () {
1435
+ ColorEditor.prototype.b = function () {
1436
+ var a = new ColorEditorVisualModelExport();
1437
+ a.b = this.j;
1438
+ a.a = AppearanceHelper.a(this.value);
1439
+ a.c = this.ai;
1440
+ return a;
1416
1441
  };
1417
- ColorEditor.prototype.bu = function (a) {
1442
+ ColorEditor.prototype.bx = function (a) {
1418
1443
  if (null != this.gotFocus) {
1419
1444
  this.gotFocus(this, a);
1420
1445
  }
1421
1446
  };
1422
- ColorEditor.prototype.bw = function (a) {
1447
+ ColorEditor.prototype.bz = function (a) {
1423
1448
  if (null != this.lostFocus) {
1424
1449
  this.lostFocus(this, a);
1425
1450
  }
1426
1451
  };
1427
1452
  ColorEditor.$t = markType(ColorEditor, 'ColorEditor', Base.$, [INotifyPropertyChanged_$type]);
1428
- 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";
1429
- ColorEditor.n = null;
1453
+ 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";
1454
+ ColorEditor.o = null;
1430
1455
  return ColorEditor;
1431
1456
  }(Base));
1432
1457
  export { ColorEditor };