igniteui-angular-inputs 21.1.0-beta.1 → 21.1.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.
@@ -22,8 +22,8 @@ import { Thickness } from "igniteui-angular-core";
22
22
  import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
23
23
  import { AnimationKeyFrameProperty } from "igniteui-angular-core";
24
24
  import { TransformGroup } from "igniteui-angular-core";
25
- import { RotateTransform } from "igniteui-angular-core";
26
25
  import { TranslateTransform } from "igniteui-angular-core";
26
+ import { RotateTransform } from "igniteui-angular-core";
27
27
  import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
28
28
  import { AppearanceHelper } from "igniteui-angular-core";
29
29
  import { Dictionary$2 } from "igniteui-angular-core";
@@ -940,13 +940,13 @@ export let XCheckbox = /*@__PURE__*/ (() => {
940
940
  let g = new TransformGroup();
941
941
  let h = this.view.am();
942
942
  g.j.add(((() => {
943
- let $ret = new RotateTransform();
944
- $ret.j = 45;
943
+ let $ret = new TranslateTransform();
944
+ $ret.j = this.ap / 24 * -16;
945
945
  return $ret;
946
946
  })()));
947
947
  g.j.add(((() => {
948
- let $ret = new TranslateTransform();
949
- $ret.j = -this.view.l();
948
+ let $ret = new RotateTransform();
949
+ $ret.j = 45;
950
950
  return $ret;
951
951
  })()));
952
952
  NativeUI.n(d, this.c8);
@@ -1086,7 +1086,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
1086
1086
  })()));
1087
1087
  XCheckbox.j = ThemeResolver.a(((() => {
1088
1088
  let $ret = new Dictionary$2(String_$type, Base.$, 0);
1089
- $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1089
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1090
1090
  $ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
1091
1091
  $ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
1092
1092
  $ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 255, 255, 255));
@@ -1099,7 +1099,7 @@ export let XCheckbox = /*@__PURE__*/ (() => {
1099
1099
  })()));
1100
1100
  XCheckbox.i = ThemeResolver.a(((() => {
1101
1101
  let $ret = new Dictionary$2(String_$type, Base.$, 0);
1102
- $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1102
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1103
1103
  $ret.addItem("UncheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
1104
1104
  $ret.addItem("CheckedBorderColor", BrushUtil.l(255, 105, 136, 255));
1105
1105
  $ret.addItem("UncheckedBackgroundColor", BrushUtil.l(255, 55, 63, 86));
@@ -683,19 +683,18 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
683
683
  constructor() {
684
684
  super();
685
685
  this.a = null;
686
- this.i = null;
686
+ this.h = 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;
691
690
  this.b = null;
692
691
  }
693
- r() {
692
+ q() {
694
693
  }
695
694
  f() {
696
695
  return true;
697
696
  }
698
- p(a) {
697
+ o(a) {
699
698
  if (a == null) {
700
699
  for (let b of fromEnum(this.g)) {
701
700
  b();
@@ -706,57 +705,45 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
706
705
  if (this.a.a == null) {
707
706
  this.a.a = new DOMExecutionContext(a);
708
707
  }
709
- this.i = a;
708
+ this.h = a;
710
709
  this.a.bj();
711
710
  }
712
- n() {
711
+ m() {
713
712
  if (KeyFrameAnimationFactory.h == null) {
714
- KeyFrameAnimationFactory.h = this.i;
713
+ KeyFrameAnimationFactory.h = this.h;
715
714
  }
716
715
  }
717
- o() {
716
+ n() {
718
717
  this.e = true;
719
718
  }
720
- q() {
719
+ p() {
721
720
  this.e = false;
722
721
  }
723
- k() {
724
- return this.i;
725
- }
726
- get createColorEditorPanel() {
727
- return this._createColorEditorPanel;
728
- }
729
- set createColorEditorPanel(a) {
730
- this._createColorEditorPanel = a;
731
- }
732
722
  j() {
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;
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;
746
733
  }
747
- l(a, b) {
734
+ k(a, b) {
748
735
  let c = a.ao;
749
- c.append(this.i.getWrapper(b));
736
+ c.append(this.h.getWrapper(b));
750
737
  }
751
- m(a) {
752
- this.i.append(this.i.getWrapper(a.ao));
738
+ l(a) {
739
+ this.h.append(this.h.getWrapper(a.ao));
753
740
  }
754
741
  c(a) {
755
742
  return this.b;
756
743
  }
757
- s(a) {
758
- if (this.i != null) {
759
- let b = this.i.rootWrapper.getNativeElement();
744
+ r(a) {
745
+ if (this.h != null) {
746
+ let b = this.h.rootWrapper.getNativeElement();
760
747
  let c = (b.getBoundingClientRect());
761
748
  if (a) {
762
749
  c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
@@ -765,7 +752,7 @@ export let ColorEditorView = /*@__PURE__*/ (() => {
765
752
  }
766
753
  return null;
767
754
  }
768
- t() {
755
+ s() {
769
756
  return new Size(1, NaN, NaN);
770
757
  }
771
758
  }
@@ -818,7 +805,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
818
805
  let a = new ColorEditorView();
819
806
  a.a = this;
820
807
  this.view = a;
821
- this.view.r();
808
+ this.view.q();
822
809
  }
823
810
  get view() {
824
811
  return this._view;
@@ -827,10 +814,10 @@ export let ColorEditor = /*@__PURE__*/ (() => {
827
814
  this._view = a;
828
815
  }
829
816
  onAttachedToUI() {
830
- this.view.o();
817
+ this.view.n();
831
818
  }
832
819
  onDetachedFromUI() {
833
- this.view.q();
820
+ this.view.p();
834
821
  }
835
822
  b4(a, b) {
836
823
  if (this.valueChanging != null) {
@@ -850,11 +837,11 @@ export let ColorEditor = /*@__PURE__*/ (() => {
850
837
  this.provideContainer(null);
851
838
  }
852
839
  provideContainer(a) {
853
- this.view.p(a);
840
+ this.view.o(a);
854
841
  }
855
842
  get u() {
856
843
  if (this.t == null) {
857
- this.t = new SRProvider(this.view.i);
844
+ this.t = new SRProvider(this.view.h);
858
845
  this.t.cb("ColorEditor");
859
846
  }
860
847
  return this.t;
@@ -1121,8 +1108,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1121
1108
  this.aa = false;
1122
1109
  }
1123
1110
  br() {
1124
- NativeUIWindow.h(15, runOn(this, this.b7), this.view.i);
1125
- NativeUIWindow.h(9, runOn(this, this.b6), this.view.i);
1111
+ NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
1112
+ NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
1126
1113
  }
1127
1114
  bv() {
1128
1115
  NativeUIWindow.i(15, runOn(this, this.b7));
@@ -1143,16 +1130,16 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1143
1130
  }
1144
1131
  }
1145
1132
  bj() {
1146
- NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1133
+ NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
1147
1134
  let b = a[0];
1148
1135
  let c = a[1];
1149
1136
  let d = a[2];
1150
1137
  let e = a[3];
1151
- let f = this.view.j();
1152
- this.view.l(e, f);
1138
+ let f = this.view.i();
1139
+ this.view.k(e, f);
1153
1140
  b.bo(d);
1154
1141
  d.bo(e);
1155
- this.view.m(c);
1142
+ this.view.l(c);
1156
1143
  b.ci = BrushUtil.l(255, 255, 255, 255);
1157
1144
  b.cb = 150;
1158
1145
  b.b9 = 8;
@@ -1234,8 +1221,8 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1234
1221
  return;
1235
1222
  }
1236
1223
  if (this.s != null) {
1237
- let a = this.view.s(false);
1238
- let b = this.view.t();
1224
+ let a = this.view.r(false);
1225
+ let b = this.view.s();
1239
1226
  let c = b.height;
1240
1227
  let d = 240;
1241
1228
  let e = a.bottom + d;
@@ -1255,7 +1242,7 @@ export let ColorEditor = /*@__PURE__*/ (() => {
1255
1242
  }
1256
1243
  ce(a, b) {
1257
1244
  {
1258
- let c = this.view.s(true);
1245
+ let c = this.view.r(true);
1259
1246
  this.s.cg(c, a, b);
1260
1247
  }
1261
1248
  }
@@ -57,9 +57,9 @@ export let IgxColorEditorComponent = /*@__PURE__*/ (() => {
57
57
  this._portalManager = new PortalManager("colorEditorContent", componentFactoryResolver);
58
58
  var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
59
59
  this._wrapper = ren;
60
- colorEditor.view.createColorEditorPanel = () => {
61
- return window.document.createElement("igx-color-editor-panel");
62
- };
60
+ //(colorEditor as any).view.createColorEditorPanel = () => {
61
+ // return window.document.createElement("igx-color-editor-panel");
62
+ //};
63
63
  colorEditor.provideContainer(ren);
64
64
  }
65
65
  }