igniteui-angular-core 17.2.0-beta.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.
@@ -92,7 +92,14 @@ var IgcDropdownBridge = /** @class */ /*@__PURE__*/ (function (_super) {
92
92
  var l = d[k];
93
93
  var m = l.getText();
94
94
  if (m == this.x) {
95
- a.setProperty("selectedItem", l.getNativeElement());
95
+ var targ_ = a.getNativeElement();
96
+ if (targ_ != null && (targ_._selectItem)) {
97
+ var currItem_ = l.getNativeElement();
98
+ targ_._selectItem(currItem_);
99
+ }
100
+ else {
101
+ a.setProperty("selectedItem", l.getNativeElement());
102
+ }
96
103
  }
97
104
  }
98
105
  }
@@ -110,7 +117,7 @@ var IgcDropdownBridge = /** @class */ /*@__PURE__*/ (function (_super) {
110
117
  if (q == this.x) {
111
118
  var targ_ = a.getNativeElement();
112
119
  if (targ_ != null && (targ_._selectItem)) {
113
- var currItem_ = p;
120
+ var currItem_ = p.getNativeElement();
114
121
  targ_._selectItem(currItem_);
115
122
  }
116
123
  else {
@@ -16,13 +16,13 @@ var TSCodeGeneratingComponentRendererTemplateEmitter = /** @class */ /*@__PURE__
16
16
  __extends(TSCodeGeneratingComponentRendererTemplateEmitter, _super);
17
17
  function TSCodeGeneratingComponentRendererTemplateEmitter(a, b, c) {
18
18
  var _this = _super.call(this, a, b) || this;
19
- _this.r = 0;
20
- _this.r = c;
19
+ _this.t = 0;
20
+ _this.t = c;
21
21
  return _this;
22
22
  }
23
- Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "s", {
23
+ Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "u", {
24
24
  get: function () {
25
- switch (this.r) {
25
+ switch (this.t) {
26
26
  case 1: return "angular";
27
27
  case 2: return "react";
28
28
  case 3: return "webcomponents";
@@ -32,9 +32,9 @@ var TSCodeGeneratingComponentRendererTemplateEmitter = /** @class */ /*@__PURE__
32
32
  enumerable: false,
33
33
  configurable: true
34
34
  });
35
- Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "t", {
35
+ Object.defineProperty(TSCodeGeneratingComponentRendererTemplateEmitter.prototype, "v", {
36
36
  get: function () {
37
- switch (this.r) {
37
+ switch (this.t) {
38
38
  case 1: return "Igx";
39
39
  case 2: return "Igr";
40
40
  case 3: return "Igc";
@@ -44,17 +44,17 @@ var TSCodeGeneratingComponentRendererTemplateEmitter = /** @class */ /*@__PURE__
44
44
  enumerable: false,
45
45
  configurable: true
46
46
  });
47
- TSCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
47
+ TSCodeGeneratingComponentRendererTemplateEmitter.prototype.s = function (a, b) {
48
48
  var _this = this;
49
- _super.prototype.q.call(this, a, b);
49
+ _super.prototype.s.call(this, a, b);
50
50
  var c = new CodeGeneratingRegexHelper("import {([^}]+)}\\s+from\\s+['\"]([^'\"]+)['\"]");
51
51
  c.execute(b, function (d, e, f) {
52
52
  var g = d(1);
53
53
  var h = d(2);
54
- h = stringReplace(h, "webcomponents", _this.s);
55
- h = stringReplace(h, "react", _this.s);
56
- h = stringReplace(h, "angular", _this.s);
57
- if (_this.s == "angular" || _this.s == "react") {
54
+ h = stringReplace(h, "webcomponents", _this.u);
55
+ h = stringReplace(h, "react", _this.u);
56
+ h = stringReplace(h, "angular", _this.u);
57
+ if (_this.u == "angular" || _this.u == "react") {
58
58
  if (stringContains(h, "/grids")) {
59
59
  h = stringReplace(h, "/grids", "");
60
60
  }
@@ -64,13 +64,13 @@ var TSCodeGeneratingComponentRendererTemplateEmitter = /** @class */ /*@__PURE__
64
64
  var j = i[k];
65
65
  var l = j.trim();
66
66
  if (stringStartsWith(l, "Igc")) {
67
- l = _this.t + l.substr(3);
67
+ l = _this.v + l.substr(3);
68
68
  }
69
69
  if (stringStartsWith(l, "Igr")) {
70
- l = _this.t + l.substr(3);
70
+ l = _this.v + l.substr(3);
71
71
  }
72
72
  if (stringStartsWith(l, "Igx")) {
73
- l = _this.t + l.substr(3);
73
+ l = _this.v + l.substr(3);
74
74
  }
75
75
  if (stringStartsWith(l, "Igr") && stringEndsWith(l, "Component")) {
76
76
  l = l.substr(0, l.length - ("Component").length);
@@ -80,7 +80,7 @@ var TSCodeGeneratingComponentRendererTemplateEmitter = /** @class */ /*@__PURE__
80
80
  return null;
81
81
  });
82
82
  };
83
- TSCodeGeneratingComponentRendererTemplateEmitter.prototype.o = function (a, b) {
83
+ TSCodeGeneratingComponentRendererTemplateEmitter.prototype.q = function (a, b) {
84
84
  return b;
85
85
  };
86
86
  TSCodeGeneratingComponentRendererTemplateEmitter.$t = markType(TSCodeGeneratingComponentRendererTemplateEmitter, 'TSCodeGeneratingComponentRendererTemplateEmitter', CodeGeneratingComponentRendererTemplateEmitter.$);
@@ -22646,7 +22646,21 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
22646
22646
  let BrushUtil = /*@__PURE__*/ (() => {
22647
22647
  class BrushUtil extends Base {
22648
22648
  static d(a, b) {
22649
- return Base.equalsStatic(a, b);
22649
+ if (a == null && b == null) {
22650
+ return true;
22651
+ }
22652
+ else if ((a != null && b == null) || (a == null && b != null)) {
22653
+ return false;
22654
+ }
22655
+ if ((a._fill == null && b._fill != null) || (a._fill != null && b._fill == null)) {
22656
+ return false;
22657
+ }
22658
+ else if (a._fill == null && b._fill == null) {
22659
+ return a.color.equals(b.color) && a.isGradient == b.isGradient && a.isImageFill == b.isImageFill && a.isRadialGradient == b.isRadialGradient;
22660
+ }
22661
+ else {
22662
+ return Base.equalsStatic(a, b);
22663
+ }
22650
22664
  }
22651
22665
  static m(a, b) {
22652
22666
  if (a == null) {
@@ -37019,7 +37033,14 @@ let IgcDropdownBridge = /*@__PURE__*/ (() => {
37019
37033
  let l = d[k];
37020
37034
  let m = l.getText();
37021
37035
  if (m == this.x) {
37022
- a.setProperty("selectedItem", l.getNativeElement());
37036
+ let targ_ = a.getNativeElement();
37037
+ if (targ_ != null && (targ_._selectItem)) {
37038
+ let currItem_ = l.getNativeElement();
37039
+ targ_._selectItem(currItem_);
37040
+ }
37041
+ else {
37042
+ a.setProperty("selectedItem", l.getNativeElement());
37043
+ }
37023
37044
  }
37024
37045
  }
37025
37046
  }
@@ -37037,7 +37058,7 @@ let IgcDropdownBridge = /*@__PURE__*/ (() => {
37037
37058
  if (q == this.x) {
37038
37059
  let targ_ = a.getNativeElement();
37039
37060
  if (targ_ != null && (targ_._selectItem)) {
37040
- let currItem_ = p;
37061
+ let currItem_ = p.getNativeElement();
37041
37062
  targ_._selectItem(currItem_);
37042
37063
  }
37043
37064
  else {
@@ -68853,56 +68874,61 @@ let CodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
68853
68874
  class CodeGeneratingComponentRendererTemplateEmitter extends Base {
68854
68875
  constructor(a, b) {
68855
68876
  super();
68877
+ this.o = null;
68856
68878
  this.m = null;
68857
- this.k = null;
68858
- this.d = null;
68879
+ this.e = null;
68859
68880
  this.b = null;
68860
68881
  this.c = null;
68882
+ this.d = null;
68861
68883
  this.a = null;
68862
- this.i = new CodeGeneratingImportManager();
68863
- this.n = new HashSet$1(String_$type, 0);
68864
- this.m = a;
68865
- this.k = b;
68866
- this.d = new CodeGeneratingCodeWriter(this.m);
68867
- this.a = new CodeGeneratingCodeWriter(this.m);
68868
- this.b = new CodeGeneratingCodeWriter(this.m);
68869
- this.c = new CodeGeneratingCodeWriter(this.m);
68884
+ this.k = new CodeGeneratingImportManager();
68885
+ this.p = new HashSet$1(String_$type, 0);
68886
+ this.o = a;
68887
+ this.m = b;
68888
+ this.e = new CodeGeneratingCodeWriter(this.o);
68889
+ this.a = new CodeGeneratingCodeWriter(this.o);
68890
+ this.b = new CodeGeneratingCodeWriter(this.o);
68891
+ this.c = new CodeGeneratingCodeWriter(this.o);
68892
+ this.d = new CodeGeneratingCodeWriter(this.o);
68870
68893
  }
68871
- get l() {
68872
- return this.k;
68894
+ get n() {
68895
+ return this.m;
68873
68896
  }
68874
- get h() {
68875
- return this.d;
68897
+ get j() {
68898
+ return this.e;
68876
68899
  }
68877
- get f() {
68900
+ get g() {
68878
68901
  return this.b;
68879
68902
  }
68880
- get g() {
68903
+ get h() {
68881
68904
  return this.c;
68882
68905
  }
68883
- get e() {
68906
+ get i() {
68907
+ return this.d;
68908
+ }
68909
+ get f() {
68884
68910
  return this.a;
68885
68911
  }
68886
- get j() {
68887
- return this.i;
68912
+ get l() {
68913
+ return this.k;
68888
68914
  }
68889
- p() {
68915
+ r() {
68890
68916
  let a = new HashSet$1(String_$type, 0);
68891
- for (let b = 0; b < this.k.t.count; b++) {
68892
- let c = this.k.t._inner[b];
68917
+ for (let b = 0; b < this.m.t.count; b++) {
68918
+ let c = this.m.t._inner[b];
68893
68919
  if (c.a != null && c.c == null) {
68894
- if (this.m.library != null && this.m.library.hasItem(c.a.e)) {
68920
+ if (this.o.library != null && this.o.library.hasItem(c.a.e)) {
68895
68921
  if (a.contains(c.a.e)) {
68896
68922
  continue;
68897
68923
  }
68898
68924
  a.add_1(c.a.e);
68899
- let d = this.m.library.getItem(c.a.e);
68925
+ let d = this.o.library.getItem(c.a.e);
68900
68926
  if (d.type == 2) {
68901
- let e = d.getContentForPlatform(this.k.platform);
68927
+ let e = d.getContentForPlatform(this.m.platform);
68902
68928
  if (e != null) {
68903
68929
  if (e.isJSContent) {
68904
68930
  let f = e.content;
68905
- this.e.l(f);
68931
+ this.f.l(f);
68906
68932
  }
68907
68933
  else if (e.isJson) {
68908
68934
  let g = new JsonDictionaryParser();
@@ -68915,9 +68941,9 @@ let CodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
68915
68941
  if (k.trim().length == 0) {
68916
68942
  continue;
68917
68943
  }
68918
- if (!this.n.contains(k)) {
68919
- this.n.add_1(k);
68920
- this.q(this.j, k);
68944
+ if (!this.p.contains(k)) {
68945
+ this.p.add_1(k);
68946
+ this.s(this.l, k);
68921
68947
  }
68922
68948
  }
68923
68949
  }
@@ -68929,28 +68955,28 @@ let CodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
68929
68955
  if (o.trim().length == 0) {
68930
68956
  continue;
68931
68957
  }
68932
- this.f.l(o);
68958
+ this.g.l(o);
68933
68959
  }
68934
68960
  }
68935
68961
  if (h.g("supportingMethods")) {
68936
68962
  let q = h.item("supportingMethods").value;
68937
- q = this.o(c.a.e, q);
68963
+ q = this.q(c.a.e, q);
68938
68964
  let r = stringReplace(q, "\r\n", "\n").split('\n');
68939
68965
  for (let t = 0; t < r.length; t++) {
68940
68966
  let s = r[t];
68941
68967
  if (s.trim().length == 0) {
68942
68968
  continue;
68943
68969
  }
68944
- this.g.l(s);
68970
+ this.h.l(s);
68945
68971
  }
68946
68972
  }
68947
68973
  if (h.g("content")) {
68948
68974
  let u = h.item("content").value;
68949
- u = this.o(c.a.e, u);
68975
+ u = this.q(c.a.e, u);
68950
68976
  let v = stringReplace(u, "\r\n", "\n").split('\n');
68951
68977
  let w = 0x7FFFFFFF;
68952
68978
  let x = "";
68953
- for (let y = 0; y < this.m.indentSpaces; y++) {
68979
+ for (let y = 0; y < this.o.indentSpaces; y++) {
68954
68980
  x += " ";
68955
68981
  }
68956
68982
  for (let aa = 0; aa < v.length; aa++) {
@@ -68983,32 +69009,44 @@ let CodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
68983
69009
  }
68984
69010
  if (ag.charAt(0) == '\t') {
68985
69011
  ag = ag.substr(1);
68986
- ah += this.m.indentSpaces;
69012
+ ah += this.o.indentSpaces;
68987
69013
  }
68988
69014
  }
68989
69015
  }
68990
- this.h.l(ag);
69016
+ this.j.l(ag);
69017
+ }
69018
+ }
69019
+ if (h.g("supportingTypes")) {
69020
+ let ai = h.item("supportingTypes").value;
69021
+ let aj = stringReplace(ai, "\r\n", "\n").split('\n');
69022
+ for (let al = 0; al < aj.length; al++) {
69023
+ let ak = aj[al];
69024
+ if (ak.trim().length == 0) {
69025
+ continue;
69026
+ }
69027
+ this.i.l(ak);
68991
69028
  }
68992
69029
  }
68993
69030
  }
68994
69031
  else {
68995
- let ai = e.content;
68996
- this.h.l(ai);
69032
+ let am = e.content;
69033
+ this.j.l(am);
68997
69034
  }
68998
69035
  }
68999
69036
  }
69000
69037
  }
69001
69038
  }
69002
69039
  }
69003
- this.k.addContainerResult("templateContents", this.h.toString());
69004
- this.k.addImportResult("templateImports", this.j);
69005
- this.k.addContainerResult("templateSupportingMethods", this.g.toString());
69006
- this.k.addContainerResult("templateStyles", this.f.toString());
69007
- this.k.addContainerResult("templateScripts", this.e.toString());
69040
+ this.m.addContainerResult("templateContents", this.j.toString());
69041
+ this.m.addImportResult("templateImports", this.l);
69042
+ this.m.addContainerResult("templateSupportingMethods", this.h.toString());
69043
+ this.m.addContainerResult("templateSupportingTypes", this.i.toString());
69044
+ this.m.addContainerResult("templateStyles", this.g.toString());
69045
+ this.m.addContainerResult("templateScripts", this.f.toString());
69008
69046
  }
69009
- q(a, b) {
69047
+ s(a, b) {
69010
69048
  }
69011
- o(a, b) {
69049
+ q(a, b) {
69012
69050
  return b;
69013
69051
  }
69014
69052
  }
@@ -69029,35 +69067,35 @@ let TSCodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
69029
69067
  class TSCodeGeneratingComponentRendererTemplateEmitter extends CodeGeneratingComponentRendererTemplateEmitter {
69030
69068
  constructor(a, b, c) {
69031
69069
  super(a, b);
69032
- this.r = 0;
69033
- this.r = c;
69070
+ this.t = 0;
69071
+ this.t = c;
69034
69072
  }
69035
- get s() {
69036
- switch (this.r) {
69073
+ get u() {
69074
+ switch (this.t) {
69037
69075
  case 1: return "angular";
69038
69076
  case 2: return "react";
69039
69077
  case 3: return "webcomponents";
69040
69078
  }
69041
69079
  return "";
69042
69080
  }
69043
- get t() {
69044
- switch (this.r) {
69081
+ get v() {
69082
+ switch (this.t) {
69045
69083
  case 1: return "Igx";
69046
69084
  case 2: return "Igr";
69047
69085
  case 3: return "Igc";
69048
69086
  }
69049
69087
  return "";
69050
69088
  }
69051
- q(a, b) {
69052
- super.q(a, b);
69089
+ s(a, b) {
69090
+ super.s(a, b);
69053
69091
  let c = new CodeGeneratingRegexHelper("import {([^}]+)}\\s+from\\s+['\"]([^'\"]+)['\"]");
69054
69092
  c.execute(b, (d, e, f) => {
69055
69093
  let g = d(1);
69056
69094
  let h = d(2);
69057
- h = stringReplace(h, "webcomponents", this.s);
69058
- h = stringReplace(h, "react", this.s);
69059
- h = stringReplace(h, "angular", this.s);
69060
- if (this.s == "angular" || this.s == "react") {
69095
+ h = stringReplace(h, "webcomponents", this.u);
69096
+ h = stringReplace(h, "react", this.u);
69097
+ h = stringReplace(h, "angular", this.u);
69098
+ if (this.u == "angular" || this.u == "react") {
69061
69099
  if (stringContains(h, "/grids")) {
69062
69100
  h = stringReplace(h, "/grids", "");
69063
69101
  }
@@ -69067,13 +69105,13 @@ let TSCodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
69067
69105
  let j = i[k];
69068
69106
  let l = j.trim();
69069
69107
  if (stringStartsWith(l, "Igc")) {
69070
- l = this.t + l.substr(3);
69108
+ l = this.v + l.substr(3);
69071
69109
  }
69072
69110
  if (stringStartsWith(l, "Igr")) {
69073
- l = this.t + l.substr(3);
69111
+ l = this.v + l.substr(3);
69074
69112
  }
69075
69113
  if (stringStartsWith(l, "Igx")) {
69076
- l = this.t + l.substr(3);
69114
+ l = this.v + l.substr(3);
69077
69115
  }
69078
69116
  if (stringStartsWith(l, "Igr") && stringEndsWith(l, "Component")) {
69079
69117
  l = l.substr(0, l.length - ("Component").length);
@@ -69083,7 +69121,7 @@ let TSCodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() => {
69083
69121
  return null;
69084
69122
  });
69085
69123
  }
69086
- o(a, b) {
69124
+ q(a, b) {
69087
69125
  return b;
69088
69126
  }
69089
69127
  }
@@ -69105,11 +69143,11 @@ let DotNetCodeGeneratingComponentRendererTemplateEmitter = /*@__PURE__*/ (() =>
69105
69143
  constructor(a, b) {
69106
69144
  super(a, b);
69107
69145
  }
69108
- q(a, b) {
69109
- super.q(a, b);
69146
+ s(a, b) {
69147
+ super.s(a, b);
69110
69148
  a.addUsing(b);
69111
69149
  }
69112
- o(a, b) {
69150
+ q(a, b) {
69113
69151
  return b;
69114
69152
  }
69115
69153
  }
@@ -73308,7 +73346,7 @@ let CodeGeneratingComponentRenderer = /*@__PURE__*/ (() => {
73308
73346
  }
73309
73347
  o.s(p.toArray(), q.toArray());
73310
73348
  let ab = this.du(this.dw, b);
73311
- ab.p();
73349
+ ab.r();
73312
73350
  this.eb(b, a);
73313
73351
  return b;
73314
73352
  }