igniteui-webcomponents-inputs 7.1.0-alpha.3 → 7.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.
@@ -38995,19 +38995,20 @@
38995
38995
  function ColorEditorView() {
38996
38996
  var _this = _super.call(this) || this;
38997
38997
  _this.a = null;
38998
- _this.h = null;
38998
+ _this.i = null;
38999
38999
  _this.d = null;
39000
39000
  _this.g = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.Delegate_$type, 0);
39001
39001
  _this.e = true;
39002
+ _this._createColorEditorPanel = null;
39002
39003
  _this.b = null;
39003
39004
  return _this;
39004
39005
  }
39005
- ColorEditorView.prototype.q = function () {
39006
+ ColorEditorView.prototype.r = function () {
39006
39007
  };
39007
39008
  ColorEditorView.prototype.f = function () {
39008
39009
  return true;
39009
39010
  };
39010
- ColorEditorView.prototype.o = function (a) {
39011
+ ColorEditorView.prototype.p = function (a) {
39011
39012
  var e_2, _a;
39012
39013
  if (a == null) {
39013
39014
  try {
@@ -39035,45 +39036,61 @@
39035
39036
  if (this.a.a == null) {
39036
39037
  this.a.a = new igniteuiWebcomponentsCore.DOMExecutionContext(a);
39037
39038
  }
39038
- this.h = a;
39039
+ this.i = a;
39039
39040
  this.a.bj();
39040
39041
  };
39041
- ColorEditorView.prototype.m = function () {
39042
+ ColorEditorView.prototype.n = function () {
39042
39043
  if (igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h == null) {
39043
- igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.h;
39044
+ igniteuiWebcomponentsCore.KeyFrameAnimationFactory.h = this.i;
39044
39045
  }
39045
39046
  };
39046
- ColorEditorView.prototype.n = function () {
39047
+ ColorEditorView.prototype.o = function () {
39047
39048
  this.e = true;
39048
39049
  };
39049
- ColorEditorView.prototype.p = function () {
39050
+ ColorEditorView.prototype.q = function () {
39050
39051
  this.e = false;
39051
39052
  };
39052
- ColorEditorView.prototype.j = function () {
39053
- return this.h;
39053
+ ColorEditorView.prototype.k = function () {
39054
+ return this.i;
39054
39055
  };
39055
- ColorEditorView.prototype.i = function () {
39056
- var a = new ColorEditorPanel();
39057
- this.b = a;
39058
- var b = this.h.createElement("div");
39059
- var c = this.h.getSubRenderer(b);
39060
- a.provideContainer(c);
39061
- var d = this.h.getExternal(a, null, null);
39062
- return b;
39056
+ Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
39057
+ get: function () {
39058
+ return this._createColorEditorPanel;
39059
+ },
39060
+ set: function (a) {
39061
+ this._createColorEditorPanel = a;
39062
+ },
39063
+ enumerable: false,
39064
+ configurable: true
39065
+ });
39066
+ ColorEditorView.prototype.j = function () {
39067
+ if (this.createColorEditorPanel != null) {
39068
+ var a = this.createColorEditorPanel();
39069
+ var b = this.i.getWrapper(a);
39070
+ this.b = (a.i);
39071
+ return a;
39072
+ }
39073
+ var c = new ColorEditorPanel();
39074
+ this.b = c;
39075
+ var d = this.i.createElement("div");
39076
+ var e = this.i.getSubRenderer(d);
39077
+ c.provideContainer(e);
39078
+ var f = this.i.getExternal(c, null, null);
39079
+ return d;
39063
39080
  };
39064
- ColorEditorView.prototype.k = function (a, b) {
39081
+ ColorEditorView.prototype.l = function (a, b) {
39065
39082
  var c = a.ao;
39066
- c.append(this.h.getWrapper(b));
39083
+ c.append(this.i.getWrapper(b));
39067
39084
  };
39068
- ColorEditorView.prototype.l = function (a) {
39069
- this.h.append(this.h.getWrapper(a.ao));
39085
+ ColorEditorView.prototype.m = function (a) {
39086
+ this.i.append(this.i.getWrapper(a.ao));
39070
39087
  };
39071
39088
  ColorEditorView.prototype.c = function (a) {
39072
39089
  return this.b;
39073
39090
  };
39074
- ColorEditorView.prototype.r = function (a) {
39075
- if (this.h != null) {
39076
- var b = this.h.rootWrapper.getNativeElement();
39091
+ ColorEditorView.prototype.s = function (a) {
39092
+ if (this.i != null) {
39093
+ var b = this.i.rootWrapper.getNativeElement();
39077
39094
  var c = (b.getBoundingClientRect());
39078
39095
  if (a) {
39079
39096
  c = new igniteuiWebcomponentsCore.Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
@@ -39082,7 +39099,7 @@
39082
39099
  }
39083
39100
  return null;
39084
39101
  };
39085
- ColorEditorView.prototype.s = function () {
39102
+ ColorEditorView.prototype.t = function () {
39086
39103
  return new igniteuiWebcomponentsCore.Size(1, NaN, NaN);
39087
39104
  };
39088
39105
  ColorEditorView.$t = igniteuiWebcomponentsCore.markType(ColorEditorView, 'ColorEditorView');
@@ -39095,7 +39112,7 @@
39095
39112
  tslib.__extends(ColorEditor, _super);
39096
39113
  function ColorEditor() {
39097
39114
  var _this = _super.call(this) || this;
39098
- _this.h = null;
39115
+ _this._view = null;
39099
39116
  _this.s = null;
39100
39117
  _this.r = null;
39101
39118
  _this.e = null;
@@ -39133,15 +39150,25 @@
39133
39150
  NativeUIXInputsFactory.m();
39134
39151
  var a = new ColorEditorView();
39135
39152
  a.a = _this;
39136
- _this.h = a;
39137
- _this.h.q();
39153
+ _this.view = a;
39154
+ _this.view.r();
39138
39155
  return _this;
39139
39156
  }
39157
+ Object.defineProperty(ColorEditor.prototype, "view", {
39158
+ get: function () {
39159
+ return this._view;
39160
+ },
39161
+ set: function (a) {
39162
+ this._view = a;
39163
+ },
39164
+ enumerable: false,
39165
+ configurable: true
39166
+ });
39140
39167
  ColorEditor.prototype.onAttachedToUI = function () {
39141
- this.h.n();
39168
+ this.view.o();
39142
39169
  };
39143
39170
  ColorEditor.prototype.onDetachedFromUI = function () {
39144
- this.h.p();
39171
+ this.view.q();
39145
39172
  };
39146
39173
  ColorEditor.prototype.b4 = function (a, b) {
39147
39174
  if (this.valueChanging != null) {
@@ -39161,12 +39188,12 @@
39161
39188
  this.provideContainer(null);
39162
39189
  };
39163
39190
  ColorEditor.prototype.provideContainer = function (a) {
39164
- this.h.o(a);
39191
+ this.view.p(a);
39165
39192
  };
39166
39193
  Object.defineProperty(ColorEditor.prototype, "u", {
39167
39194
  get: function () {
39168
39195
  if (this.t == null) {
39169
- this.t = new igniteuiWebcomponentsCore.SRProvider(this.h.h);
39196
+ this.t = new igniteuiWebcomponentsCore.SRProvider(this.view.i);
39170
39197
  this.t.cb("ColorEditor");
39171
39198
  }
39172
39199
  return this.t;
@@ -39504,8 +39531,8 @@
39504
39531
  this.aa = false;
39505
39532
  };
39506
39533
  ColorEditor.prototype.br = function () {
39507
- igniteuiWebcomponentsCore.NativeUIWindow.h(15, igniteuiWebcomponentsCore.runOn(this, this.b7), this.h.h);
39508
- igniteuiWebcomponentsCore.NativeUIWindow.h(9, igniteuiWebcomponentsCore.runOn(this, this.b6), this.h.h);
39534
+ igniteuiWebcomponentsCore.NativeUIWindow.h(15, igniteuiWebcomponentsCore.runOn(this, this.b7), this.view.i);
39535
+ igniteuiWebcomponentsCore.NativeUIWindow.h(9, igniteuiWebcomponentsCore.runOn(this, this.b6), this.view.i);
39509
39536
  };
39510
39537
  ColorEditor.prototype.bv = function () {
39511
39538
  igniteuiWebcomponentsCore.NativeUIWindow.i(15, igniteuiWebcomponentsCore.runOn(this, this.b7));
@@ -39527,16 +39554,16 @@
39527
39554
  };
39528
39555
  ColorEditor.prototype.bj = function () {
39529
39556
  var _this = this;
39530
- igniteuiWebcomponentsCore.NativeUIComponent.aw(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
39557
+ igniteuiWebcomponentsCore.NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
39531
39558
  var b = a[0];
39532
39559
  var c = a[1];
39533
39560
  var d = a[2];
39534
39561
  var e = a[3];
39535
- var f = _this.h.i();
39536
- _this.h.k(e, f);
39562
+ var f = _this.view.j();
39563
+ _this.view.l(e, f);
39537
39564
  b.bo(d);
39538
39565
  d.bo(e);
39539
- _this.h.l(c);
39566
+ _this.view.m(c);
39540
39567
  b.ci = igniteuiWebcomponentsCore.BrushUtil.l(255, 255, 255, 255);
39541
39568
  b.cb = 150;
39542
39569
  b.b9 = 8;
@@ -39553,7 +39580,7 @@
39553
39580
  _this.r.o = igniteuiWebcomponentsCore.runOn(_this, _this.b0);
39554
39581
  _this.r.cc = igniteuiWebcomponentsCore.BrushUtil.l(255, 0, 0, 255);
39555
39582
  _this.s = b;
39556
- _this.e = _this.h.c(f);
39583
+ _this.e = _this.view.c(f);
39557
39584
  _this.e.value = _this.value;
39558
39585
  var g = _this.e;
39559
39586
  g.closed = igniteuiWebcomponentsCore.delegateCombine(g.closed, igniteuiWebcomponentsCore.runOn(_this, _this.bf));
@@ -39618,8 +39645,8 @@
39618
39645
  return;
39619
39646
  }
39620
39647
  if (this.s != null) {
39621
- var a = this.h.r(false);
39622
- var b = this.h.s();
39648
+ var a = this.view.s(false);
39649
+ var b = this.view.t();
39623
39650
  var c = b.height;
39624
39651
  var d = 240;
39625
39652
  var e = a.bottom + d;
@@ -39639,7 +39666,7 @@
39639
39666
  };
39640
39667
  ColorEditor.prototype.ce = function (a, b) {
39641
39668
  {
39642
- var c = this.h.r(true);
39669
+ var c = this.view.s(true);
39643
39670
  this.s.cg(c, a, b);
39644
39671
  }
39645
39672
  };
@@ -40775,6 +40802,9 @@
40775
40802
  _this._wrapper = _this._renderer;
40776
40803
  var colorEditor = _this.i;
40777
40804
  _this._colorEditor = colorEditor;
40805
+ colorEditor.view.createColorEditorPanel = function () {
40806
+ return document.createElement("igc-color-editor-panel");
40807
+ };
40778
40808
  colorEditor.provideContainer(_this._renderer);
40779
40809
  _this._onChildrenChanged();
40780
40810
  //Checkbox.notifySizeChanged();