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.
@@ -32877,18 +32877,19 @@ let ColorEditorView = /*@__PURE__*/ (() => {
32877
32877
  constructor() {
32878
32878
  super();
32879
32879
  this.a = null;
32880
- this.h = null;
32880
+ this.i = null;
32881
32881
  this.d = null;
32882
32882
  this.g = new List$1(Delegate_$type, 0);
32883
32883
  this.e = true;
32884
+ this._createColorEditorPanel = null;
32884
32885
  this.b = null;
32885
32886
  }
32886
- q() {
32887
+ r() {
32887
32888
  }
32888
32889
  f() {
32889
32890
  return true;
32890
32891
  }
32891
- o(a) {
32892
+ p(a) {
32892
32893
  if (a == null) {
32893
32894
  for (let b of fromEnum(this.g)) {
32894
32895
  b();
@@ -32899,45 +32900,57 @@ let ColorEditorView = /*@__PURE__*/ (() => {
32899
32900
  if (this.a.a == null) {
32900
32901
  this.a.a = new DOMExecutionContext(a);
32901
32902
  }
32902
- this.h = a;
32903
+ this.i = a;
32903
32904
  this.a.bj();
32904
32905
  }
32905
- m() {
32906
+ n() {
32906
32907
  if (KeyFrameAnimationFactory.h == null) {
32907
- KeyFrameAnimationFactory.h = this.h;
32908
+ KeyFrameAnimationFactory.h = this.i;
32908
32909
  }
32909
32910
  }
32910
- n() {
32911
+ o() {
32911
32912
  this.e = true;
32912
32913
  }
32913
- p() {
32914
+ q() {
32914
32915
  this.e = false;
32915
32916
  }
32916
- j() {
32917
- return this.h;
32917
+ k() {
32918
+ return this.i;
32918
32919
  }
32919
- i() {
32920
- let a = new ColorEditorPanel();
32921
- this.b = a;
32922
- let b = this.h.createElement("div");
32923
- let c = this.h.getSubRenderer(b);
32924
- a.provideContainer(c);
32925
- let d = this.h.getExternal(a, null, null);
32926
- return b;
32920
+ get createColorEditorPanel() {
32921
+ return this._createColorEditorPanel;
32927
32922
  }
32928
- k(a, b) {
32923
+ set createColorEditorPanel(a) {
32924
+ this._createColorEditorPanel = a;
32925
+ }
32926
+ j() {
32927
+ if (this.createColorEditorPanel != null) {
32928
+ let a = this.createColorEditorPanel();
32929
+ let b = this.i.getWrapper(a);
32930
+ this.b = (a.i);
32931
+ return a;
32932
+ }
32933
+ let c = new ColorEditorPanel();
32934
+ this.b = c;
32935
+ let d = this.i.createElement("div");
32936
+ let e = this.i.getSubRenderer(d);
32937
+ c.provideContainer(e);
32938
+ let f = this.i.getExternal(c, null, null);
32939
+ return d;
32940
+ }
32941
+ l(a, b) {
32929
32942
  let c = a.ao;
32930
- c.append(this.h.getWrapper(b));
32943
+ c.append(this.i.getWrapper(b));
32931
32944
  }
32932
- l(a) {
32933
- this.h.append(this.h.getWrapper(a.ao));
32945
+ m(a) {
32946
+ this.i.append(this.i.getWrapper(a.ao));
32934
32947
  }
32935
32948
  c(a) {
32936
32949
  return this.b;
32937
32950
  }
32938
- r(a) {
32939
- if (this.h != null) {
32940
- let b = this.h.rootWrapper.getNativeElement();
32951
+ s(a) {
32952
+ if (this.i != null) {
32953
+ let b = this.i.rootWrapper.getNativeElement();
32941
32954
  let c = (b.getBoundingClientRect());
32942
32955
  if (a) {
32943
32956
  c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
@@ -32946,7 +32959,7 @@ let ColorEditorView = /*@__PURE__*/ (() => {
32946
32959
  }
32947
32960
  return null;
32948
32961
  }
32949
- s() {
32962
+ t() {
32950
32963
  return new Size(1, NaN, NaN);
32951
32964
  }
32952
32965
  }
@@ -32955,9 +32968,15 @@ let ColorEditorView = /*@__PURE__*/ (() => {
32955
32968
  })();
32956
32969
  let ColorEditor = /*@__PURE__*/ (() => {
32957
32970
  class ColorEditor extends Base {
32971
+ get view() {
32972
+ return this._view;
32973
+ }
32974
+ set view(a) {
32975
+ this._view = a;
32976
+ }
32958
32977
  constructor() {
32959
32978
  super();
32960
- this.h = null;
32979
+ this._view = null;
32961
32980
  this.s = null;
32962
32981
  this.r = null;
32963
32982
  this.e = null;
@@ -32995,14 +33014,14 @@ let ColorEditor = /*@__PURE__*/ (() => {
32995
33014
  NativeUIXInputsFactory.m();
32996
33015
  let a = new ColorEditorView();
32997
33016
  a.a = this;
32998
- this.h = a;
32999
- this.h.q();
33017
+ this.view = a;
33018
+ this.view.r();
33000
33019
  }
33001
33020
  onAttachedToUI() {
33002
- this.h.n();
33021
+ this.view.o();
33003
33022
  }
33004
33023
  onDetachedFromUI() {
33005
- this.h.p();
33024
+ this.view.q();
33006
33025
  }
33007
33026
  b4(a, b) {
33008
33027
  if (this.valueChanging != null) {
@@ -33022,11 +33041,11 @@ let ColorEditor = /*@__PURE__*/ (() => {
33022
33041
  this.provideContainer(null);
33023
33042
  }
33024
33043
  provideContainer(a) {
33025
- this.h.o(a);
33044
+ this.view.p(a);
33026
33045
  }
33027
33046
  get u() {
33028
33047
  if (this.t == null) {
33029
- this.t = new SRProvider(this.h.h);
33048
+ this.t = new SRProvider(this.view.i);
33030
33049
  this.t.cb("ColorEditor");
33031
33050
  }
33032
33051
  return this.t;
@@ -33293,8 +33312,8 @@ let ColorEditor = /*@__PURE__*/ (() => {
33293
33312
  this.aa = false;
33294
33313
  }
33295
33314
  br() {
33296
- NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
33297
- NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
33315
+ NativeUIWindow.h(15, runOn(this, this.b7), this.view.i);
33316
+ NativeUIWindow.h(9, runOn(this, this.b6), this.view.i);
33298
33317
  }
33299
33318
  bv() {
33300
33319
  NativeUIWindow.i(15, runOn(this, this.b7));
@@ -33315,16 +33334,16 @@ let ColorEditor = /*@__PURE__*/ (() => {
33315
33334
  }
33316
33335
  }
33317
33336
  bj() {
33318
- NativeUIComponent.aw(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
33337
+ NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], (a) => {
33319
33338
  let b = a[0];
33320
33339
  let c = a[1];
33321
33340
  let d = a[2];
33322
33341
  let e = a[3];
33323
- let f = this.h.i();
33324
- this.h.k(e, f);
33342
+ let f = this.view.j();
33343
+ this.view.l(e, f);
33325
33344
  b.bo(d);
33326
33345
  d.bo(e);
33327
- this.h.l(c);
33346
+ this.view.m(c);
33328
33347
  b.ci = BrushUtil.l(255, 255, 255, 255);
33329
33348
  b.cb = 150;
33330
33349
  b.b9 = 8;
@@ -33341,7 +33360,7 @@ let ColorEditor = /*@__PURE__*/ (() => {
33341
33360
  this.r.o = runOn(this, this.b0);
33342
33361
  this.r.cc = BrushUtil.l(255, 0, 0, 255);
33343
33362
  this.s = b;
33344
- this.e = this.h.c(f);
33363
+ this.e = this.view.c(f);
33345
33364
  this.e.value = this.value;
33346
33365
  let g = this.e;
33347
33366
  g.closed = delegateCombine(g.closed, runOn(this, this.bf));
@@ -33406,8 +33425,8 @@ let ColorEditor = /*@__PURE__*/ (() => {
33406
33425
  return;
33407
33426
  }
33408
33427
  if (this.s != null) {
33409
- let a = this.h.r(false);
33410
- let b = this.h.s();
33428
+ let a = this.view.s(false);
33429
+ let b = this.view.t();
33411
33430
  let c = b.height;
33412
33431
  let d = 240;
33413
33432
  let e = a.bottom + d;
@@ -33427,7 +33446,7 @@ let ColorEditor = /*@__PURE__*/ (() => {
33427
33446
  }
33428
33447
  ce(a, b) {
33429
33448
  {
33430
- let c = this.h.r(true);
33449
+ let c = this.view.s(true);
33431
33450
  this.s.cg(c, a, b);
33432
33451
  }
33433
33452
  }
@@ -34475,6 +34494,9 @@ let IgcColorEditorComponent = /*@__PURE__*/ (() => {
34475
34494
  this._wrapper = this._renderer;
34476
34495
  var colorEditor = this.i;
34477
34496
  this._colorEditor = colorEditor;
34497
+ colorEditor.view.createColorEditorPanel = () => {
34498
+ return document.createElement("igc-color-editor-panel");
34499
+ };
34478
34500
  colorEditor.provideContainer(this._renderer);
34479
34501
  this._onChildrenChanged();
34480
34502
  //Checkbox.notifySizeChanged();
@@ -38992,19 +38992,20 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
38992
38992
  function ColorEditorView() {
38993
38993
  var _this = _super.call(this) || this;
38994
38994
  _this.a = null;
38995
- _this.h = null;
38995
+ _this.i = null;
38996
38996
  _this.d = null;
38997
38997
  _this.g = new List$1(Delegate_$type, 0);
38998
38998
  _this.e = true;
38999
+ _this._createColorEditorPanel = null;
38999
39000
  _this.b = null;
39000
39001
  return _this;
39001
39002
  }
39002
- ColorEditorView.prototype.q = function () {
39003
+ ColorEditorView.prototype.r = function () {
39003
39004
  };
39004
39005
  ColorEditorView.prototype.f = function () {
39005
39006
  return true;
39006
39007
  };
39007
- ColorEditorView.prototype.o = function (a) {
39008
+ ColorEditorView.prototype.p = function (a) {
39008
39009
  var e_2, _a;
39009
39010
  if (a == null) {
39010
39011
  try {
@@ -39032,45 +39033,61 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
39032
39033
  if (this.a.a == null) {
39033
39034
  this.a.a = new DOMExecutionContext(a);
39034
39035
  }
39035
- this.h = a;
39036
+ this.i = a;
39036
39037
  this.a.bj();
39037
39038
  };
39038
- ColorEditorView.prototype.m = function () {
39039
+ ColorEditorView.prototype.n = function () {
39039
39040
  if (KeyFrameAnimationFactory.h == null) {
39040
- KeyFrameAnimationFactory.h = this.h;
39041
+ KeyFrameAnimationFactory.h = this.i;
39041
39042
  }
39042
39043
  };
39043
- ColorEditorView.prototype.n = function () {
39044
+ ColorEditorView.prototype.o = function () {
39044
39045
  this.e = true;
39045
39046
  };
39046
- ColorEditorView.prototype.p = function () {
39047
+ ColorEditorView.prototype.q = function () {
39047
39048
  this.e = false;
39048
39049
  };
39049
- ColorEditorView.prototype.j = function () {
39050
- return this.h;
39050
+ ColorEditorView.prototype.k = function () {
39051
+ return this.i;
39051
39052
  };
39052
- ColorEditorView.prototype.i = function () {
39053
- var a = new ColorEditorPanel();
39054
- this.b = a;
39055
- var b = this.h.createElement("div");
39056
- var c = this.h.getSubRenderer(b);
39057
- a.provideContainer(c);
39058
- var d = this.h.getExternal(a, null, null);
39059
- return b;
39053
+ Object.defineProperty(ColorEditorView.prototype, "createColorEditorPanel", {
39054
+ get: function () {
39055
+ return this._createColorEditorPanel;
39056
+ },
39057
+ set: function (a) {
39058
+ this._createColorEditorPanel = a;
39059
+ },
39060
+ enumerable: false,
39061
+ configurable: true
39062
+ });
39063
+ ColorEditorView.prototype.j = function () {
39064
+ if (this.createColorEditorPanel != null) {
39065
+ var a = this.createColorEditorPanel();
39066
+ var b = this.i.getWrapper(a);
39067
+ this.b = (a.i);
39068
+ return a;
39069
+ }
39070
+ var c = new ColorEditorPanel();
39071
+ this.b = c;
39072
+ var d = this.i.createElement("div");
39073
+ var e = this.i.getSubRenderer(d);
39074
+ c.provideContainer(e);
39075
+ var f = this.i.getExternal(c, null, null);
39076
+ return d;
39060
39077
  };
39061
- ColorEditorView.prototype.k = function (a, b) {
39078
+ ColorEditorView.prototype.l = function (a, b) {
39062
39079
  var c = a.ao;
39063
- c.append(this.h.getWrapper(b));
39080
+ c.append(this.i.getWrapper(b));
39064
39081
  };
39065
- ColorEditorView.prototype.l = function (a) {
39066
- this.h.append(this.h.getWrapper(a.ao));
39082
+ ColorEditorView.prototype.m = function (a) {
39083
+ this.i.append(this.i.getWrapper(a.ao));
39067
39084
  };
39068
39085
  ColorEditorView.prototype.c = function (a) {
39069
39086
  return this.b;
39070
39087
  };
39071
- ColorEditorView.prototype.r = function (a) {
39072
- if (this.h != null) {
39073
- var b = this.h.rootWrapper.getNativeElement();
39088
+ ColorEditorView.prototype.s = function (a) {
39089
+ if (this.i != null) {
39090
+ var b = this.i.rootWrapper.getNativeElement();
39074
39091
  var c = (b.getBoundingClientRect());
39075
39092
  if (a) {
39076
39093
  c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
@@ -39079,7 +39096,7 @@ var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
39079
39096
  }
39080
39097
  return null;
39081
39098
  };
39082
- ColorEditorView.prototype.s = function () {
39099
+ ColorEditorView.prototype.t = function () {
39083
39100
  return new Size(1, NaN, NaN);
39084
39101
  };
39085
39102
  ColorEditorView.$t = markType(ColorEditorView, 'ColorEditorView');
@@ -39092,7 +39109,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39092
39109
  __extends(ColorEditor, _super);
39093
39110
  function ColorEditor() {
39094
39111
  var _this = _super.call(this) || this;
39095
- _this.h = null;
39112
+ _this._view = null;
39096
39113
  _this.s = null;
39097
39114
  _this.r = null;
39098
39115
  _this.e = null;
@@ -39130,15 +39147,25 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39130
39147
  NativeUIXInputsFactory.m();
39131
39148
  var a = new ColorEditorView();
39132
39149
  a.a = _this;
39133
- _this.h = a;
39134
- _this.h.q();
39150
+ _this.view = a;
39151
+ _this.view.r();
39135
39152
  return _this;
39136
39153
  }
39154
+ Object.defineProperty(ColorEditor.prototype, "view", {
39155
+ get: function () {
39156
+ return this._view;
39157
+ },
39158
+ set: function (a) {
39159
+ this._view = a;
39160
+ },
39161
+ enumerable: false,
39162
+ configurable: true
39163
+ });
39137
39164
  ColorEditor.prototype.onAttachedToUI = function () {
39138
- this.h.n();
39165
+ this.view.o();
39139
39166
  };
39140
39167
  ColorEditor.prototype.onDetachedFromUI = function () {
39141
- this.h.p();
39168
+ this.view.q();
39142
39169
  };
39143
39170
  ColorEditor.prototype.b4 = function (a, b) {
39144
39171
  if (this.valueChanging != null) {
@@ -39158,12 +39185,12 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39158
39185
  this.provideContainer(null);
39159
39186
  };
39160
39187
  ColorEditor.prototype.provideContainer = function (a) {
39161
- this.h.o(a);
39188
+ this.view.p(a);
39162
39189
  };
39163
39190
  Object.defineProperty(ColorEditor.prototype, "u", {
39164
39191
  get: function () {
39165
39192
  if (this.t == null) {
39166
- this.t = new SRProvider(this.h.h);
39193
+ this.t = new SRProvider(this.view.i);
39167
39194
  this.t.cb("ColorEditor");
39168
39195
  }
39169
39196
  return this.t;
@@ -39501,8 +39528,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39501
39528
  this.aa = false;
39502
39529
  };
39503
39530
  ColorEditor.prototype.br = function () {
39504
- NativeUIWindow.h(15, runOn(this, this.b7), this.h.h);
39505
- NativeUIWindow.h(9, runOn(this, this.b6), this.h.h);
39531
+ NativeUIWindow.h(15, runOn(this, this.b7), this.view.i);
39532
+ NativeUIWindow.h(9, runOn(this, this.b6), this.view.i);
39506
39533
  };
39507
39534
  ColorEditor.prototype.bv = function () {
39508
39535
  NativeUIWindow.i(15, runOn(this, this.b7));
@@ -39524,16 +39551,16 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39524
39551
  };
39525
39552
  ColorEditor.prototype.bj = function () {
39526
39553
  var _this = this;
39527
- NativeUIComponent.aw(this.h.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
39554
+ NativeUIComponent.aw(this.view.k(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
39528
39555
  var b = a[0];
39529
39556
  var c = a[1];
39530
39557
  var d = a[2];
39531
39558
  var e = a[3];
39532
- var f = _this.h.i();
39533
- _this.h.k(e, f);
39559
+ var f = _this.view.j();
39560
+ _this.view.l(e, f);
39534
39561
  b.bo(d);
39535
39562
  d.bo(e);
39536
- _this.h.l(c);
39563
+ _this.view.m(c);
39537
39564
  b.ci = BrushUtil.l(255, 255, 255, 255);
39538
39565
  b.cb = 150;
39539
39566
  b.b9 = 8;
@@ -39550,7 +39577,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39550
39577
  _this.r.o = runOn(_this, _this.b0);
39551
39578
  _this.r.cc = BrushUtil.l(255, 0, 0, 255);
39552
39579
  _this.s = b;
39553
- _this.e = _this.h.c(f);
39580
+ _this.e = _this.view.c(f);
39554
39581
  _this.e.value = _this.value;
39555
39582
  var g = _this.e;
39556
39583
  g.closed = delegateCombine(g.closed, runOn(_this, _this.bf));
@@ -39615,8 +39642,8 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39615
39642
  return;
39616
39643
  }
39617
39644
  if (this.s != null) {
39618
- var a = this.h.r(false);
39619
- var b = this.h.s();
39645
+ var a = this.view.s(false);
39646
+ var b = this.view.t();
39620
39647
  var c = b.height;
39621
39648
  var d = 240;
39622
39649
  var e = a.bottom + d;
@@ -39636,7 +39663,7 @@ var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
39636
39663
  };
39637
39664
  ColorEditor.prototype.ce = function (a, b) {
39638
39665
  {
39639
- var c = this.h.r(true);
39666
+ var c = this.view.s(true);
39640
39667
  this.s.cg(c, a, b);
39641
39668
  }
39642
39669
  };
@@ -40772,6 +40799,9 @@ var IgcColorEditorComponent = /** @class */ /*@__PURE__*/ (function (_super) {
40772
40799
  _this._wrapper = _this._renderer;
40773
40800
  var colorEditor = _this.i;
40774
40801
  _this._colorEditor = colorEditor;
40802
+ colorEditor.view.createColorEditorPanel = function () {
40803
+ return document.createElement("igc-color-editor-panel");
40804
+ };
40775
40805
  colorEditor.provideContainer(_this._renderer);
40776
40806
  _this._onChildrenChanged();
40777
40807
  //Checkbox.notifySizeChanged();
@@ -154,31 +154,36 @@ export declare class ColorEditorView extends Base {
154
154
  static $t: Type;
155
155
  constructor();
156
156
  a: ColorEditor;
157
- q(): void;
157
+ r(): void;
158
158
  f(): boolean;
159
- h: DomRenderer;
159
+ i: DomRenderer;
160
160
  private d;
161
161
  private g;
162
- o(a: DomRenderer): void;
163
- m(): void;
164
- private e;
162
+ p(a: DomRenderer): void;
165
163
  n(): void;
166
- p(): void;
167
- j(): any;
164
+ private e;
165
+ o(): void;
166
+ q(): void;
167
+ k(): any;
168
+ private _createColorEditorPanel;
169
+ get createColorEditorPanel(): () => any;
170
+ set createColorEditorPanel(a: () => any);
168
171
  private b;
169
- i(): any;
170
- k(a: NativeUIContent, b: any): void;
171
- l(a: NativeUIComponent): void;
172
+ j(): any;
173
+ l(a: NativeUIContent, b: any): void;
174
+ m(a: NativeUIComponent): void;
172
175
  c(a: any): ColorEditorPanel;
173
- r(a: boolean): Rect;
174
- s(): Size;
176
+ s(a: boolean): Rect;
177
+ t(): Size;
175
178
  }
176
179
  /**
177
180
  * @hidden
178
181
  */
179
182
  export declare class ColorEditor extends Base implements INotifyPropertyChanged {
180
183
  static $t: Type;
181
- h: ColorEditorView;
184
+ private _view;
185
+ get view(): ColorEditorView;
186
+ set view(a: ColorEditorView);
182
187
  private static readonly a8;
183
188
  private s;
184
189
  private r;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-webcomponents-inputs",
3
- "version": "7.1.0-alpha.3",
3
+ "version": "7.1.0-beta.0",
4
4
  "description": "Ignite UI Web Components inputs components.",
5
5
  "homepage": "https://github.com/IgniteUI/igniteui-webcomponents-inputs",
6
6
  "keywords": [
@@ -14,7 +14,7 @@
14
14
  "tslib": "^2.3.1"
15
15
  },
16
16
  "peerDependencies": {
17
- "igniteui-webcomponents-core": "7.1.0-alpha.3"
17
+ "igniteui-webcomponents-core": "7.1.0-beta.0"
18
18
  },
19
19
  "sideEffects": false,
20
20
  "typings": "igniteui-webcomponents-inputs.d.ts",