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