igniteui-angular-core 17.2.0 → 17.2.1

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.
@@ -25688,7 +25688,21 @@
25688
25688
  return _super !== null && _super.apply(this, arguments) || this;
25689
25689
  }
25690
25690
  BrushUtil.d = function (a, b) {
25691
- return Base.equalsStatic(a, b);
25691
+ if (a == null && b == null) {
25692
+ return true;
25693
+ }
25694
+ else if ((a != null && b == null) || (a == null && b != null)) {
25695
+ return false;
25696
+ }
25697
+ if ((a._fill == null && b._fill != null) || (a._fill != null && b._fill == null)) {
25698
+ return false;
25699
+ }
25700
+ else if (a._fill == null && b._fill == null) {
25701
+ return a.color.equals(b.color) && a.isGradient == b.isGradient && a.isImageFill == b.isImageFill && a.isRadialGradient == b.isRadialGradient;
25702
+ }
25703
+ else {
25704
+ return Base.equalsStatic(a, b);
25705
+ }
25692
25706
  };
25693
25707
  BrushUtil.m = function (a, b) {
25694
25708
  if (a == null) {
@@ -41886,7 +41900,14 @@
41886
41900
  var l = d[k];
41887
41901
  var m = l.getText();
41888
41902
  if (m == this.x) {
41889
- a.setProperty("selectedItem", l.getNativeElement());
41903
+ var targ_ = a.getNativeElement();
41904
+ if (targ_ != null && (targ_._selectItem)) {
41905
+ var currItem_ = l.getNativeElement();
41906
+ targ_._selectItem(currItem_);
41907
+ }
41908
+ else {
41909
+ a.setProperty("selectedItem", l.getNativeElement());
41910
+ }
41890
41911
  }
41891
41912
  }
41892
41913
  }
@@ -41904,7 +41925,7 @@
41904
41925
  if (q == this.x) {
41905
41926
  var targ_ = a.getNativeElement();
41906
41927
  if (targ_ != null && (targ_._selectItem)) {
41907
- var currItem_ = p;
41928
+ var currItem_ = p.getNativeElement();
41908
41929
  targ_._selectItem(currItem_);
41909
41930
  }
41910
41931
  else {
@@ -76847,81 +76868,90 @@
76847
76868
  tslib.__extends(CodeGeneratingComponentRendererTemplateEmitter, _super);
76848
76869
  function CodeGeneratingComponentRendererTemplateEmitter(a, b) {
76849
76870
  var _this = _super.call(this) || this;
76871
+ _this.o = null;
76850
76872
  _this.m = null;
76851
- _this.k = null;
76852
- _this.d = null;
76873
+ _this.e = null;
76853
76874
  _this.b = null;
76854
76875
  _this.c = null;
76876
+ _this.d = null;
76855
76877
  _this.a = null;
76856
- _this.i = new CodeGeneratingImportManager();
76857
- _this.n = new HashSet$1(String_$type, 0);
76858
- _this.m = a;
76859
- _this.k = b;
76860
- _this.d = new CodeGeneratingCodeWriter(_this.m);
76861
- _this.a = new CodeGeneratingCodeWriter(_this.m);
76862
- _this.b = new CodeGeneratingCodeWriter(_this.m);
76863
- _this.c = new CodeGeneratingCodeWriter(_this.m);
76878
+ _this.k = new CodeGeneratingImportManager();
76879
+ _this.p = new HashSet$1(String_$type, 0);
76880
+ _this.o = a;
76881
+ _this.m = b;
76882
+ _this.e = new CodeGeneratingCodeWriter(_this.o);
76883
+ _this.a = new CodeGeneratingCodeWriter(_this.o);
76884
+ _this.b = new CodeGeneratingCodeWriter(_this.o);
76885
+ _this.c = new CodeGeneratingCodeWriter(_this.o);
76886
+ _this.d = new CodeGeneratingCodeWriter(_this.o);
76864
76887
  return _this;
76865
76888
  }
76866
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "l", {
76889
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "n", {
76867
76890
  get: function () {
76868
- return this.k;
76891
+ return this.m;
76869
76892
  },
76870
76893
  enumerable: false,
76871
76894
  configurable: true
76872
76895
  });
76873
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "h", {
76896
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "j", {
76874
76897
  get: function () {
76875
- return this.d;
76898
+ return this.e;
76876
76899
  },
76877
76900
  enumerable: false,
76878
76901
  configurable: true
76879
76902
  });
76880
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "f", {
76903
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "g", {
76881
76904
  get: function () {
76882
76905
  return this.b;
76883
76906
  },
76884
76907
  enumerable: false,
76885
76908
  configurable: true
76886
76909
  });
76887
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "g", {
76910
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "h", {
76888
76911
  get: function () {
76889
76912
  return this.c;
76890
76913
  },
76891
76914
  enumerable: false,
76892
76915
  configurable: true
76893
76916
  });
76894
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "e", {
76917
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "i", {
76918
+ get: function () {
76919
+ return this.d;
76920
+ },
76921
+ enumerable: false,
76922
+ configurable: true
76923
+ });
76924
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "f", {
76895
76925
  get: function () {
76896
76926
  return this.a;
76897
76927
  },
76898
76928
  enumerable: false,
76899
76929
  configurable: true
76900
76930
  });
76901
- Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "j", {
76931
+ Object.defineProperty(CodeGeneratingComponentRendererTemplateEmitter.prototype, "l", {
76902
76932
  get: function () {
76903
- return this.i;
76933
+ return this.k;
76904
76934
  },
76905
76935
  enumerable: false,
76906
76936
  configurable: true
76907
76937
  });
76908
- CodeGeneratingComponentRendererTemplateEmitter.prototype.p = function () {
76938
+ CodeGeneratingComponentRendererTemplateEmitter.prototype.r = function () {
76909
76939
  var a = new HashSet$1(String_$type, 0);
76910
- for (var b = 0; b < this.k.t.count; b++) {
76911
- var c = this.k.t._inner[b];
76940
+ for (var b = 0; b < this.m.t.count; b++) {
76941
+ var c = this.m.t._inner[b];
76912
76942
  if (c.a != null && c.c == null) {
76913
- if (this.m.library != null && this.m.library.hasItem(c.a.e)) {
76943
+ if (this.o.library != null && this.o.library.hasItem(c.a.e)) {
76914
76944
  if (a.contains(c.a.e)) {
76915
76945
  continue;
76916
76946
  }
76917
76947
  a.add_1(c.a.e);
76918
- var d = this.m.library.getItem(c.a.e);
76948
+ var d = this.o.library.getItem(c.a.e);
76919
76949
  if (d.type == 2) {
76920
- var e = d.getContentForPlatform(this.k.platform);
76950
+ var e = d.getContentForPlatform(this.m.platform);
76921
76951
  if (e != null) {
76922
76952
  if (e.isJSContent) {
76923
76953
  var f = e.content;
76924
- this.e.l(f);
76954
+ this.f.l(f);
76925
76955
  }
76926
76956
  else if (e.isJson) {
76927
76957
  var g = new JsonDictionaryParser();
@@ -76934,9 +76964,9 @@
76934
76964
  if (k.trim().length == 0) {
76935
76965
  continue;
76936
76966
  }
76937
- if (!this.n.contains(k)) {
76938
- this.n.add_1(k);
76939
- this.q(this.j, k);
76967
+ if (!this.p.contains(k)) {
76968
+ this.p.add_1(k);
76969
+ this.s(this.l, k);
76940
76970
  }
76941
76971
  }
76942
76972
  }
@@ -76948,28 +76978,28 @@
76948
76978
  if (o.trim().length == 0) {
76949
76979
  continue;
76950
76980
  }
76951
- this.f.l(o);
76981
+ this.g.l(o);
76952
76982
  }
76953
76983
  }
76954
76984
  if (h.g("supportingMethods")) {
76955
76985
  var q = h.item("supportingMethods").value;
76956
- q = this.o(c.a.e, q);
76986
+ q = this.q(c.a.e, q);
76957
76987
  var r = stringReplace(q, "\r\n", "\n").split('\n');
76958
76988
  for (var t = 0; t < r.length; t++) {
76959
76989
  var s = r[t];
76960
76990
  if (s.trim().length == 0) {
76961
76991
  continue;
76962
76992
  }
76963
- this.g.l(s);
76993
+ this.h.l(s);
76964
76994
  }
76965
76995
  }
76966
76996
  if (h.g("content")) {
76967
76997
  var u = h.item("content").value;
76968
- u = this.o(c.a.e, u);
76998
+ u = this.q(c.a.e, u);
76969
76999
  var v = stringReplace(u, "\r\n", "\n").split('\n');
76970
77000
  var w = 0x7FFFFFFF;
76971
77001
  var x = "";
76972
- for (var y = 0; y < this.m.indentSpaces; y++) {
77002
+ for (var y = 0; y < this.o.indentSpaces; y++) {
76973
77003
  x += " ";
76974
77004
  }
76975
77005
  for (var aa = 0; aa < v.length; aa++) {
@@ -77002,32 +77032,44 @@
77002
77032
  }
77003
77033
  if (ag.charAt(0) == '\t') {
77004
77034
  ag = ag.substr(1);
77005
- ah += this.m.indentSpaces;
77035
+ ah += this.o.indentSpaces;
77006
77036
  }
77007
77037
  }
77008
77038
  }
77009
- this.h.l(ag);
77039
+ this.j.l(ag);
77040
+ }
77041
+ }
77042
+ if (h.g("supportingTypes")) {
77043
+ var ai = h.item("supportingTypes").value;
77044
+ var aj = stringReplace(ai, "\r\n", "\n").split('\n');
77045
+ for (var al = 0; al < aj.length; al++) {
77046
+ var ak = aj[al];
77047
+ if (ak.trim().length == 0) {
77048
+ continue;
77049
+ }
77050
+ this.i.l(ak);
77010
77051
  }
77011
77052
  }
77012
77053
  }
77013
77054
  else {
77014
- var ai = e.content;
77015
- this.h.l(ai);
77055
+ var am = e.content;
77056
+ this.j.l(am);
77016
77057
  }
77017
77058
  }
77018
77059
  }
77019
77060
  }
77020
77061
  }
77021
77062
  }
77022
- this.k.addContainerResult("templateContents", this.h.toString());
77023
- this.k.addImportResult("templateImports", this.j);
77024
- this.k.addContainerResult("templateSupportingMethods", this.g.toString());
77025
- this.k.addContainerResult("templateStyles", this.f.toString());
77026
- this.k.addContainerResult("templateScripts", this.e.toString());
77063
+ this.m.addContainerResult("templateContents", this.j.toString());
77064
+ this.m.addImportResult("templateImports", this.l);
77065
+ this.m.addContainerResult("templateSupportingMethods", this.h.toString());
77066
+ this.m.addContainerResult("templateSupportingTypes", this.i.toString());
77067
+ this.m.addContainerResult("templateStyles", this.g.toString());
77068
+ this.m.addContainerResult("templateScripts", this.f.toString());
77027
77069
  };
77028
- CodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77070
+ CodeGeneratingComponentRendererTemplateEmitter.prototype.s = function (a, b) {
77029
77071
  };
77030
- CodeGeneratingComponentRendererTemplateEmitter.prototype.o = function (a, b) {
77072
+ CodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77031
77073
  return b;
77032
77074
  };
77033
77075
  CodeGeneratingComponentRendererTemplateEmitter.$t = markType(CodeGeneratingComponentRendererTemplateEmitter, 'CodeGeneratingComponentRendererTemplateEmitter');
@@ -77047,13 +77089,13 @@
77047
77089
  tslib.__extends(TSCodeGeneratingComponentRendererTemplateEmitter, _super);
77048
77090
  function TSCodeGeneratingComponentRendererTemplateEmitter(a, b, c) {
77049
77091
  var _this = _super.call(this, a, b) || this;
77050
- _this.r = 0;
77051
- _this.r = c;
77092
+ _this.t = 0;
77093
+ _this.t = c;
77052
77094
  return _this;
77053
77095
  }
77054
- Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "s", {
77096
+ Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "u", {
77055
77097
  get: function () {
77056
- switch (this.r) {
77098
+ switch (this.t) {
77057
77099
  case 1: return "angular";
77058
77100
  case 2: return "react";
77059
77101
  case 3: return "webcomponents";
@@ -77063,9 +77105,9 @@
77063
77105
  enumerable: false,
77064
77106
  configurable: true
77065
77107
  });
77066
- Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "t", {
77108
+ Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "v", {
77067
77109
  get: function () {
77068
- switch (this.r) {
77110
+ switch (this.t) {
77069
77111
  case 1: return "Igx";
77070
77112
  case 2: return "Igr";
77071
77113
  case 3: return "Igc";
@@ -77075,17 +77117,17 @@
77075
77117
  enumerable: false,
77076
77118
  configurable: true
77077
77119
  });
77078
- TSCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77120
+ TSCodeGeneratingComponentRendererTemplateEmitter.prototype.s = function (a, b) {
77079
77121
  var _this = this;
77080
- _super.prototype.q.call(this, a, b);
77122
+ _super.prototype.s.call(this, a, b);
77081
77123
  var c = new CodeGeneratingRegexHelper("import {([^}]+)}\\s+from\\s+['\"]([^'\"]+)['\"]");
77082
77124
  c.execute(b, function (d, e, f) {
77083
77125
  var g = d(1);
77084
77126
  var h = d(2);
77085
- h = stringReplace(h, "webcomponents", _this.s);
77086
- h = stringReplace(h, "react", _this.s);
77087
- h = stringReplace(h, "angular", _this.s);
77088
- if (_this.s == "angular" || _this.s == "react") {
77127
+ h = stringReplace(h, "webcomponents", _this.u);
77128
+ h = stringReplace(h, "react", _this.u);
77129
+ h = stringReplace(h, "angular", _this.u);
77130
+ if (_this.u == "angular" || _this.u == "react") {
77089
77131
  if (stringContains(h, "/grids")) {
77090
77132
  h = stringReplace(h, "/grids", "");
77091
77133
  }
@@ -77095,13 +77137,13 @@
77095
77137
  var j = i[k];
77096
77138
  var l = j.trim();
77097
77139
  if (stringStartsWith(l, "Igc")) {
77098
- l = _this.t + l.substr(3);
77140
+ l = _this.v + l.substr(3);
77099
77141
  }
77100
77142
  if (stringStartsWith(l, "Igr")) {
77101
- l = _this.t + l.substr(3);
77143
+ l = _this.v + l.substr(3);
77102
77144
  }
77103
77145
  if (stringStartsWith(l, "Igx")) {
77104
- l = _this.t + l.substr(3);
77146
+ l = _this.v + l.substr(3);
77105
77147
  }
77106
77148
  if (stringStartsWith(l, "Igr") && stringEndsWith(l, "Component")) {
77107
77149
  l = l.substr(0, l.length - ("Component").length);
@@ -77111,7 +77153,7 @@
77111
77153
  return null;
77112
77154
  });
77113
77155
  };
77114
- TSCodeGeneratingComponentRendererTemplateEmitter.prototype.o = function (a, b) {
77156
+ TSCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77115
77157
  return b;
77116
77158
  };
77117
77159
  TSCodeGeneratingComponentRendererTemplateEmitter.$t = markType(TSCodeGeneratingComponentRendererTemplateEmitter, 'TSCodeGeneratingComponentRendererTemplateEmitter', CodeGeneratingComponentRendererTemplateEmitter.$);
@@ -77132,11 +77174,11 @@
77132
77174
  function DotNetCodeGeneratingComponentRendererTemplateEmitter(a, b) {
77133
77175
  return _super.call(this, a, b) || this;
77134
77176
  }
77135
- DotNetCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77136
- _super.prototype.q.call(this, a, b);
77177
+ DotNetCodeGeneratingComponentRendererTemplateEmitter.prototype.s = function (a, b) {
77178
+ _super.prototype.s.call(this, a, b);
77137
77179
  a.addUsing(b);
77138
77180
  };
77139
- DotNetCodeGeneratingComponentRendererTemplateEmitter.prototype.o = function (a, b) {
77181
+ DotNetCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
77140
77182
  return b;
77141
77183
  };
77142
77184
  DotNetCodeGeneratingComponentRendererTemplateEmitter.$t = markType(DotNetCodeGeneratingComponentRendererTemplateEmitter, 'DotNetCodeGeneratingComponentRendererTemplateEmitter', CodeGeneratingComponentRendererTemplateEmitter.$);
@@ -81776,7 +81818,7 @@
81776
81818
  }
81777
81819
  o.s(p.toArray(), q.toArray());
81778
81820
  var ab = this.du(this.dw, b);
81779
- ab.p();
81821
+ ab.r();
81780
81822
  this.eb(b, a);
81781
81823
  return b;
81782
81824
  };