igniteui-angular-core 14.0.0 → 14.1.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.
Files changed (55) hide show
  1. package/bundles/igniteui-angular-core.umd.js +960 -730
  2. package/bundles/igniteui-angular-core.umd.min.js +1 -1
  3. package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  4. package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
  5. package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  6. package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  7. package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
  8. package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
  9. package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
  10. package/esm2015/lib/ComponentRendererAdapter.js +3 -0
  11. package/esm2015/lib/ComponentRenderer_combined.js +1 -1
  12. package/esm2015/lib/DescriptionSerializer.js +70 -56
  13. package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  14. package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
  15. package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  16. package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  17. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
  18. package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  19. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
  20. package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
  21. package/esm2015/public_api.js +2 -0
  22. package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
  23. package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
  24. package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
  25. package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
  26. package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
  27. package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
  28. package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
  29. package/esm5/lib/ComponentRendererAdapter.js +3 -0
  30. package/esm5/lib/ComponentRenderer_combined.js +1 -1
  31. package/esm5/lib/DescriptionSerializer.js +70 -56
  32. package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
  33. package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
  34. package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
  35. package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
  36. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
  37. package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
  38. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
  39. package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
  40. package/esm5/public_api.js +2 -0
  41. package/fesm2015/igniteui-angular-core.js +837 -658
  42. package/fesm5/igniteui-angular-core.js +959 -731
  43. package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
  44. package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
  45. package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
  46. package/lib/CodeGeneratingRendererResult.d.ts +15 -12
  47. package/lib/DescriptionSerializer.d.ts +7 -6
  48. package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  49. package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
  50. package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
  51. package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
  52. package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
  53. package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
  54. package/package.json +1 -1
  55. package/public_api.d.ts +2 -0
@@ -110,8 +110,8 @@ export let CodeGeneratingComponentRendererDataEmitter = /*@__PURE__*/ (() => {
110
110
  }
111
111
  }
112
112
  let n = new HashSet$1(String_$type, 0);
113
- for (let o = 0; o < this.m.q.count; o++) {
114
- let p = this.m.q._inner[o];
113
+ for (let o = 0; o < this.m.s.count; o++) {
114
+ let p = this.m.s._inner[o];
115
115
  if (p.a != null && p.c == null) {
116
116
  if (this.o.library != null && this.o.library.hasItem(p.a.e)) {
117
117
  if (n.contains(p.a.e)) {
@@ -37,8 +37,8 @@ export let CodeGeneratingComponentRendererHandlerEmitter = /*@__PURE__*/ (() =>
37
37
  }
38
38
  j() {
39
39
  let a = new HashSet$1(String_$type, 0);
40
- for (let b = 0; b < this.e.q.count; b++) {
41
- let c = this.e.q._inner[b];
40
+ for (let b = 0; b < this.e.s.count; b++) {
41
+ let c = this.e.s._inner[b];
42
42
  if (c.a != null && c.c == null) {
43
43
  if (this.g.library != null && this.g.library.hasItem(c.a.e)) {
44
44
  if (a.contains(c.a.e)) {
@@ -16,16 +16,19 @@ export let CodeGeneratingComponentRendererModuleEmitter = /*@__PURE__*/ (() => {
16
16
  class CodeGeneratingComponentRendererModuleEmitter extends Base {
17
17
  constructor(a, b) {
18
18
  super();
19
- this.j = null;
19
+ this.k = null;
20
20
  this.i = null;
21
21
  this.b = null;
22
22
  this.f = new CodeGeneratingImportManager();
23
23
  this.e = new CodeGeneratingImportManager();
24
24
  this.a = null;
25
- this.j = a;
25
+ this.k = a;
26
26
  this.i = b;
27
- this.b = new CodeGeneratingCodeWriter(this.j);
28
- this.a = new CodeGeneratingCodeWriter(this.j);
27
+ this.b = new CodeGeneratingCodeWriter(this.k);
28
+ this.a = new CodeGeneratingCodeWriter(this.k);
29
+ }
30
+ get j() {
31
+ return this.i;
29
32
  }
30
33
  get d() {
31
34
  return this.b;
@@ -39,8 +42,8 @@ export let CodeGeneratingComponentRendererModuleEmitter = /*@__PURE__*/ (() => {
39
42
  get c() {
40
43
  return this.a;
41
44
  }
42
- l(a) {
43
- this.n();
45
+ m(a) {
46
+ this.o();
44
47
  if (typeCast(JsonDictionaryArray.$, a) !== null) {
45
48
  let b = a;
46
49
  for (let c = 0; c < b.items.length; c++) {
@@ -49,22 +52,22 @@ export let CodeGeneratingComponentRendererModuleEmitter = /*@__PURE__*/ (() => {
49
52
  let e = d;
50
53
  if (e != null) {
51
54
  let f = e.value.toString();
52
- this.k(f);
55
+ this.l(f);
53
56
  }
54
57
  }
55
58
  }
56
59
  }
57
- this.m();
60
+ this.n();
58
61
  this.i.addImportResult("modulesImports", this.h);
59
62
  this.i.addContainerResult("modulesRegister", this.d.toString());
60
63
  this.i.addImportResult("descriptionImports", this.g);
61
64
  this.i.addContainerResult("descriptionRegister", this.c.toString());
62
65
  }
63
- m() {
66
+ n() {
64
67
  }
65
- k(a) {
68
+ l(a) {
66
69
  }
67
- n() {
70
+ o() {
68
71
  }
69
72
  }
70
73
  CodeGeneratingComponentRendererModuleEmitter.$t = markType(CodeGeneratingComponentRendererModuleEmitter, 'CodeGeneratingComponentRendererModuleEmitter');
@@ -7,6 +7,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
7
7
  import { Base, String_$type, fromEnum, Number_$type, markType } from "./type";
8
8
  import { List$1 } from "./List$1";
9
9
  import { CodeGenerationItemBuilderPropertyInfo } from "./CodeGenerationItemBuilderPropertyInfo";
10
+ import { HashSet$1 } from "./HashSet$1";
10
11
  import { Dictionary$2 } from "./Dictionary$2";
11
12
  import { CodeGeneratingImportManager } from "./CodeGeneratingImportManager";
12
13
  /**
@@ -16,19 +17,20 @@ export let CodeGeneratingRendererResult = /*@__PURE__*/ (() => {
16
17
  class CodeGeneratingRendererResult extends Base {
17
18
  constructor() {
18
19
  super(...arguments);
19
- this.n = new List$1(CodeGenerationItemBuilderPropertyInfo.$, 0);
20
+ this.p = new List$1(CodeGenerationItemBuilderPropertyInfo.$, 0);
20
21
  this._platform = 0;
21
22
  this._generationOptions = null;
23
+ this.k = new Dictionary$2(String_$type, List$1.$.specialize(String_$type), 0);
24
+ this.m = new Dictionary$2(String_$type, List$1.$.specialize(CodeGeneratingImportManager.$), 0);
22
25
  this.j = new Dictionary$2(String_$type, List$1.$.specialize(String_$type), 0);
23
- this.l = new Dictionary$2(String_$type, List$1.$.specialize(CodeGeneratingImportManager.$), 0);
24
- this.i = new Dictionary$2(String_$type, List$1.$.specialize(String_$type), 0);
25
- this.g = new Dictionary$2(String_$type, Number_$type, 0);
26
- this.m = new Dictionary$2(String_$type, String_$type, 0);
27
- this.k = new Dictionary$2(String_$type, String_$type, 0);
26
+ this.o = new HashSet$1(String_$type, 0);
28
27
  this.h = new Dictionary$2(String_$type, Number_$type, 0);
28
+ this.n = new Dictionary$2(String_$type, String_$type, 0);
29
+ this.l = new Dictionary$2(String_$type, String_$type, 0);
30
+ this.i = new Dictionary$2(String_$type, Number_$type, 0);
29
31
  }
30
- get q() {
31
- return this.n;
32
+ get s() {
33
+ return this.p;
32
34
  }
33
35
  get platform() {
34
36
  return this._platform;
@@ -42,46 +44,56 @@ export let CodeGeneratingRendererResult = /*@__PURE__*/ (() => {
42
44
  set generationOptions(a) {
43
45
  this._generationOptions = a;
44
46
  }
47
+ addPackageRef(a) {
48
+ this.o.add_1(a);
49
+ }
45
50
  addContainerResult(a, b) {
46
- if (!this.j.containsKey(a)) {
47
- this.j.addItem(a, new List$1(String_$type, 0));
51
+ if (!this.k.containsKey(a)) {
52
+ this.k.addItem(a, new List$1(String_$type, 0));
48
53
  }
49
- let c = this.j.item(a);
54
+ let c = this.k.item(a);
50
55
  c.add(b);
51
56
  }
52
57
  addImportResult(a, b) {
53
- if (!this.l.containsKey(a)) {
54
- this.l.addItem(a, new List$1(CodeGeneratingImportManager.$, 0));
58
+ if (!this.m.containsKey(a)) {
59
+ this.m.addItem(a, new List$1(CodeGeneratingImportManager.$, 0));
55
60
  }
56
- let c = this.l.item(a);
61
+ let c = this.m.item(a);
57
62
  c.add(b);
58
63
  }
59
64
  addContainerNewFileResult(a, b) {
60
- if (!this.i.containsKey(a)) {
61
- this.i.addItem(a, new List$1(String_$type, 0));
65
+ if (!this.j.containsKey(a)) {
66
+ this.j.addItem(a, new List$1(String_$type, 0));
62
67
  }
63
- let c = this.i.item(a);
68
+ let c = this.j.item(a);
64
69
  c.add(b);
65
70
  }
71
+ getPackages() {
72
+ let a = new List$1(String_$type, 0);
73
+ for (let b of fromEnum(this.o)) {
74
+ a.add(b);
75
+ }
76
+ return a.toArray();
77
+ }
66
78
  getKeys() {
67
79
  let a = new List$1(String_$type, 0);
68
- for (let b of fromEnum(this.j.keys)) {
80
+ for (let b of fromEnum(this.k.keys)) {
69
81
  a.add(b);
70
82
  }
71
83
  return a.toArray();
72
84
  }
73
85
  getImportsKeys() {
74
86
  let a = new List$1(String_$type, 0);
75
- for (let b of fromEnum(this.l.keys)) {
87
+ for (let b of fromEnum(this.m.keys)) {
76
88
  a.add(b);
77
89
  }
78
90
  return a.toArray();
79
91
  }
80
92
  getContentForKey(a) {
81
- if (!this.j.containsKey(a)) {
93
+ if (!this.k.containsKey(a)) {
82
94
  return "";
83
95
  }
84
- let b = this.j.item(a);
96
+ let b = this.k.item(a);
85
97
  if (b.count == 1) {
86
98
  return b._inner[0];
87
99
  }
@@ -91,33 +103,33 @@ export let CodeGeneratingRendererResult = /*@__PURE__*/ (() => {
91
103
  }
92
104
  return c;
93
105
  }
94
- o(a) {
95
- if (!this.l.containsKey(a)) {
106
+ q(a) {
107
+ if (!this.m.containsKey(a)) {
96
108
  return null;
97
109
  }
98
- return this.l.item(a);
110
+ return this.m.item(a);
99
111
  }
100
- r(a) {
101
- if (!this.g.containsKey(a)) {
102
- this.g.item(a, 1);
112
+ t(a) {
113
+ if (!this.h.containsKey(a)) {
114
+ this.h.item(a, 1);
103
115
  }
104
- let b = this.g.item(a);
116
+ let b = this.h.item(a);
105
117
  let c = a + b;
106
- this.g.item(a, b + 1);
118
+ this.h.item(a, b + 1);
107
119
  return c;
108
120
  }
109
- ab(a) {
110
- this.n.add(a);
121
+ ae(a) {
122
+ this.p.add(a);
111
123
  }
112
124
  getNewFiles() {
113
125
  let a = new List$1(String_$type, 0);
114
- for (let b of fromEnum(this.i.keys)) {
126
+ for (let b of fromEnum(this.j.keys)) {
115
127
  a.add(b);
116
128
  }
117
129
  return a;
118
130
  }
119
131
  getNewFileContent(a) {
120
- let b = this.i.item(a);
132
+ let b = this.j.item(a);
121
133
  let c = "";
122
134
  for (let d of fromEnum(b)) {
123
135
  c += d;
@@ -125,37 +137,37 @@ export let CodeGeneratingRendererResult = /*@__PURE__*/ (() => {
125
137
  return c;
126
138
  }
127
139
  defineString(a, b) {
128
- this.m.item(a, b);
140
+ this.n.item(a, b);
129
141
  }
130
142
  getStringNames() {
131
143
  let a = new List$1(String_$type, 0);
132
- for (let b of fromEnum(this.m.keys)) {
144
+ for (let b of fromEnum(this.n.keys)) {
133
145
  a.add(b);
134
146
  }
135
147
  return a.toArray();
136
148
  }
137
149
  getString(a) {
138
- return this.m.item(a);
150
+ return this.n.item(a);
139
151
  }
140
152
  trackDescriptionField(a, b) {
141
- this.k.item(a, b);
153
+ this.l.item(a, b);
142
154
  }
143
155
  hasDescription(a) {
144
- return this.k.containsKey(a);
156
+ return this.l.containsKey(a);
145
157
  }
146
158
  getDescriptionField(a) {
147
- return this.k.item(a);
159
+ return this.l.item(a);
148
160
  }
149
- s(a) {
161
+ u(a) {
150
162
  let b = 0;
151
- if (!this.h.containsKey(a)) {
152
- this.h.addItem(a, b);
163
+ if (!this.i.containsKey(a)) {
164
+ this.i.addItem(a, b);
153
165
  }
154
166
  else {
155
- b = this.h.item(a);
167
+ b = this.i.item(a);
156
168
  }
157
169
  b++;
158
- this.h.item(a, b);
170
+ this.i.item(a, b);
159
171
  return a + b;
160
172
  }
161
173
  }
@@ -104,51 +104,55 @@ export let CodeGenerationFolderTemplate = /*@__PURE__*/ (() => {
104
104
  for (let i = 0; i < h.length; i++) {
105
105
  d.add_1(h[i]);
106
106
  }
107
- for (let j = 0; j < this.b.count; j++) {
108
- let k = this.c._inner[j];
109
- k = this.h(k, d);
110
- this.c._inner[j] = k;
107
+ let j = a.getPackages();
108
+ for (let k = 0; k < j.length; k++) {
109
+ d.add_1(j[k]);
111
110
  }
112
111
  for (let l = 0; l < this.b.count; l++) {
113
- let m = new List$1(String_$type, 0);
114
- let p = a.getImportsKeys();
115
- for (let o = 0; o < p.length; o++) {
116
- let n = p[o];
117
- m.add(n);
112
+ let m = this.c._inner[l];
113
+ m = this.h(m, d);
114
+ this.c._inner[l] = m;
115
+ }
116
+ for (let n = 0; n < this.b.count; n++) {
117
+ let o = new List$1(String_$type, 0);
118
+ let r = a.getImportsKeys();
119
+ for (let q = 0; q < r.length; q++) {
120
+ let p = r[q];
121
+ o.add(p);
118
122
  }
119
- let q = this.c._inner[l];
120
- q = this.j(q, m.toArray(), a);
121
- this.c._inner[l] = q;
122
- }
123
- let t = a.getKeys();
124
- for (let s = 0; s < t.length; s++) {
125
- let r = t[s];
126
- for (let u = 0; u < this.b.count; u++) {
127
- let v = this.c._inner[u];
128
- let w = a.getContentForKey(r);
129
- v = this.i(v, r, w, a);
130
- this.c._inner[u] = v;
123
+ let s = this.c._inner[n];
124
+ s = this.j(s, o.toArray(), a);
125
+ this.c._inner[n] = s;
126
+ }
127
+ let v = a.getKeys();
128
+ for (let u = 0; u < v.length; u++) {
129
+ let t = v[u];
130
+ for (let w = 0; w < this.b.count; w++) {
131
+ let x = this.c._inner[w];
132
+ let y = a.getContentForKey(t);
133
+ x = this.i(x, t, y, a);
134
+ this.c._inner[w] = x;
131
135
  }
132
136
  }
133
- let z = a.getStringNames();
134
- for (let y = 0; y < z.length; y++) {
135
- let x = z[y];
136
- for (let aa = 0; aa < this.b.count; aa++) {
137
- let ab = this.c._inner[aa];
138
- ab = stringReplace(ab, "$$" + x, a.getString(x));
139
- this.c._inner[aa] = ab;
137
+ let ab = a.getStringNames();
138
+ for (let aa = 0; aa < ab.length; aa++) {
139
+ let z = ab[aa];
140
+ for (let ac = 0; ac < this.b.count; ac++) {
141
+ let ad = this.c._inner[ac];
142
+ ad = stringReplace(ad, "$$" + z, a.getString(z));
143
+ this.c._inner[ac] = ad;
140
144
  }
141
145
  }
142
- for (let ac of fromEnum(a.getNewFiles())) {
143
- let ad = a.getNewFileContent(ac);
144
- let ae = "";
145
- for (let af of fromEnum(this.d)) {
146
- if (stringStartsWith(af, "src")) {
147
- ae = "src/";
146
+ for (let ae of fromEnum(a.getNewFiles())) {
147
+ let af = a.getNewFileContent(ae);
148
+ let ag = "";
149
+ for (let ah of fromEnum(this.d)) {
150
+ if (stringStartsWith(ah, "src")) {
151
+ ag = "src/";
148
152
  }
149
153
  }
150
- this.d.add(ae + ac);
151
- this.c.add(ad);
154
+ this.d.add(ag + ae);
155
+ this.c.add(af);
152
156
  }
153
157
  }
154
158
  h(a, b) {
@@ -160,7 +164,7 @@ export let CodeGenerationFolderTemplate = /*@__PURE__*/ (() => {
160
164
  let e = b[f];
161
165
  let g = new CodeGeneratingRegexHelper("(?:(<!--)|(\\/\\/))\\s*insert " + e + "(?:(\\s*-->)?)[\\w\\W\\r\\n]*?(?:(<!--)|(\\/\\/))\\s*end " + e + "(?:(\\s*-->)?)((\\r\\n)|(\\n))");
162
166
  a = g.b(a, (h, i, j) => {
163
- let k = c.o(e);
167
+ let k = c.q(e);
164
168
  let l = new CodeGeneratingImportManager();
165
169
  for (let m of fromEnum(k)) {
166
170
  l = CodeGeneratingImportManager.merge(l, m);
@@ -129,6 +129,9 @@ export class ComponentRendererAdapter {
129
129
  if (propertyName.endsWith("Ocurred")) {
130
130
  propertyName = propertyName.replace("Ocurred", "");
131
131
  }
132
+ if (propertyName.toLowerCase() == "selectionchanged") {
133
+ propertyName = "selection";
134
+ }
132
135
  var eventId = "igc" + TypeDescriptionMetadata.toPascal(propertyName);
133
136
  if (value) {
134
137
  target.addEventListener(eventId, value);
@@ -117,7 +117,7 @@ export let ComponentRenderer = /*@__PURE__*/ (() => {
117
117
  }
118
118
  b.e("\"" + h + "\"");
119
119
  b.e(": ");
120
- c.s(this.context, g, b);
120
+ c.t(this.context, g, b);
121
121
  }
122
122
  b.f("");
123
123
  b.h();
@@ -34,14 +34,14 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
34
34
  this.i = null;
35
35
  this.e = false;
36
36
  }
37
- o(a, b) {
37
+ p(a, b) {
38
38
  let c = DescriptionTreeBuilder.createTree(a, b);
39
39
  let d = new DescriptionSerializerBuilder();
40
- this.p(a, c, d);
40
+ this.q(a, c, d);
41
41
  return d.toString();
42
42
  }
43
- s(a, b, c) {
44
- this.p(a, b, c);
43
+ t(a, b, c) {
44
+ this.q(a, b, c);
45
45
  }
46
46
  c(a, b) {
47
47
  let c = new JsonDictionaryParser();
@@ -66,7 +66,7 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
66
66
  this.e = false;
67
67
  return g;
68
68
  }
69
- u(a, b, c, d, e) {
69
+ v(a, b, c, d, e) {
70
70
  if (this.g) {
71
71
  a.w(b, c, d, e);
72
72
  }
@@ -127,14 +127,14 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
127
127
  break;
128
128
  }
129
129
  if (!this.e) {
130
- this.u(a, h, k, l, q);
130
+ this.v(a, h, k, l, q);
131
131
  }
132
132
  }
133
133
  else if (typeCast(JsonDictionaryObject.$, p) !== null) {
134
134
  let r = p;
135
135
  let s = this.b(a, r, l.knownType);
136
136
  f.e(s);
137
- this.u(a, h, k, l, s.result);
137
+ this.v(a, h, k, l, s.result);
138
138
  }
139
139
  else if (typeCast(JsonDictionaryArray.$, p) !== null) {
140
140
  let t = p;
@@ -148,50 +148,64 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
148
148
  u = l.collectionElementType;
149
149
  }
150
150
  let w = this.a(f, a, t, u);
151
+ if (this.f) {
152
+ if (l.propertyName.toLowerCase() == "includedproperties" || l.propertyName.toLowerCase() == "excludedproperties") {
153
+ let x = w;
154
+ let y = new Array(x.length);
155
+ for (let z = 0; z < x.length; z++) {
156
+ y[z] = this.n(x[z]);
157
+ }
158
+ w = y;
159
+ }
160
+ }
151
161
  if (!this.e || v) {
152
- this.u(a, h, k, l, w);
162
+ this.v(a, h, k, l, w);
153
163
  }
154
164
  }
155
165
  else {
156
- let x = l.specificExternalType;
157
- if (x == null && l.knownType == 3) {
158
- x = "DateTime";
166
+ let aa = l.specificExternalType;
167
+ if (aa == null && l.knownType == 3) {
168
+ aa = "DateTime";
159
169
  }
160
- if (x == null) {
161
- x = "String";
170
+ if (aa == null) {
171
+ aa = "String";
162
172
  }
163
- let y = p;
164
- let z = this.j(f, a, y, x);
173
+ let ab = p;
174
+ let ac = this.j(f, a, ab, aa);
165
175
  if (this.f) {
166
- if (stringEndsWith(l.propertyName, "MemberPath") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
167
- let aa = z.toString();
168
- if (this.i != null) {
169
- z = this.i(aa);
170
- }
171
- else {
172
- if (stringStartsWith(aa, "{")) {
173
- if (!stringStartsWith(aa, "{[")) {
174
- aa = aa.substr(1, aa.length - 2);
175
- aa = "{[" + aa + "]}";
176
- z = aa;
177
- }
178
- }
179
- else {
180
- if (!stringStartsWith(aa, "[")) {
181
- aa = "[" + aa + "]";
182
- z = aa;
183
- }
184
- }
185
- }
176
+ if (stringEndsWith(l.propertyName, "MemberPath") || stringEndsWith(l.propertyName.toLowerCase(), "field") || (g != null && stringEndsWith(g, "Axis") && l.propertyName.toLowerCase() == "label")) {
177
+ ac = this.n(ac);
186
178
  }
187
179
  }
188
180
  if (!this.e) {
189
- this.u(a, h, k, l, z);
181
+ this.v(a, h, k, l, ac);
190
182
  }
191
183
  }
192
184
  }
193
185
  return f;
194
186
  }
187
+ n(a) {
188
+ let b = a.toString();
189
+ if (this.i != null) {
190
+ a = this.i(b);
191
+ }
192
+ else {
193
+ if (stringStartsWith(b, "{")) {
194
+ if (!stringStartsWith(b, "{[")) {
195
+ b = b.substr(1, b.length - 2);
196
+ b = "{[" + b + "]}";
197
+ a = b;
198
+ }
199
+ }
200
+ else {
201
+ if (!stringStartsWith(b, "[")) {
202
+ b = "[" + b + "]";
203
+ a = b;
204
+ }
205
+ }
206
+ }
207
+ return a;
208
+ }
195
209
  k(a, b) {
196
210
  if (b == null) {
197
211
  return null;
@@ -310,7 +324,7 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
310
324
  return c.value;
311
325
  }
312
326
  }
313
- p(a, b, c) {
327
+ q(a, b, c) {
314
328
  c.f("{");
315
329
  c.i();
316
330
  c.f("\"type\": \"" + b.h + "\"");
@@ -320,25 +334,25 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
320
334
  if (e >= 0) {
321
335
  c.f(",");
322
336
  }
323
- this.q(a, b, f, c);
337
+ this.r(a, b, f, c);
324
338
  }
325
339
  c.h();
326
340
  c.f("}");
327
341
  }
328
- n(a) {
342
+ o(a) {
329
343
  if (a == null) {
330
344
  return null;
331
345
  }
332
346
  return a.substr(0, 1).toLowerCase() + a.substr(1);
333
347
  }
334
- q(a, b, c, d) {
348
+ r(a, b, c, d) {
335
349
  if (c.c.toLowerCase() == "type") {
336
350
  return;
337
351
  }
338
- d.e("\"" + this.n(c.c) + "\": ");
339
- this.t(a, b, c, c.b, d);
352
+ d.e("\"" + this.o(c.c) + "\": ");
353
+ this.u(a, b, c, c.b, d);
340
354
  }
341
- t(a, b, c, d, e) {
355
+ u(a, b, c, d, e) {
342
356
  let f = 2;
343
357
  if (c.a != null) {
344
358
  f = c.a.knownType;
@@ -360,17 +374,17 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
360
374
  }
361
375
  let j = h;
362
376
  if (typeCast(DescriptionTreeNode.$, g[i]) !== null) {
363
- this.p(a, g[i], e);
377
+ this.q(a, g[i], e);
364
378
  }
365
379
  else {
366
- this.r(a, h, g[i], e);
380
+ this.s(a, h, g[i], e);
367
381
  }
368
382
  }
369
383
  e.e("]");
370
384
  }
371
385
  break;
372
386
  case 7:
373
- this.r(a, "Boolean", d, e);
387
+ this.s(a, "Boolean", d, e);
374
388
  break;
375
389
  case 9:
376
390
  {
@@ -383,10 +397,10 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
383
397
  }
384
398
  let n = l;
385
399
  if (typeCast(DescriptionTreeNode.$, k[m]) !== null) {
386
- this.p(a, k[m], e);
400
+ this.q(a, k[m], e);
387
401
  }
388
402
  else {
389
- this.r(a, l, k[m], e);
403
+ this.s(a, l, k[m], e);
390
404
  }
391
405
  }
392
406
  e.e("]");
@@ -398,29 +412,29 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
398
412
  case 20:
399
413
  case 5:
400
414
  case 2:
401
- this.r(a, "String", d, e);
415
+ this.s(a, "String", d, e);
402
416
  break;
403
417
  case 3:
404
- this.r(a, "DateTime", d, e);
418
+ this.s(a, "DateTime", d, e);
405
419
  break;
406
420
  case 8:
407
421
  if (c.a.specificExternalType.toLowerCase() == "string") {
408
- this.r(a, "String", d, e);
422
+ this.s(a, "String", d, e);
409
423
  }
410
424
  else {
411
- this.p(a, d, e);
425
+ this.q(a, d, e);
412
426
  }
413
427
  break;
414
428
  case 1:
415
- this.r(a, "Double", d, e);
429
+ this.s(a, "Double", d, e);
416
430
  break;
417
431
  case 14:
418
432
  case 12:
419
433
  case 11:
420
- this.p(a, d, e);
434
+ this.q(a, d, e);
421
435
  break;
422
436
  case 21:
423
- this.r(a, "TimeSpan", d, e);
437
+ this.s(a, "TimeSpan", d, e);
424
438
  break;
425
439
  case 17:
426
440
  case 0:
@@ -428,7 +442,7 @@ export let DescriptionSerializer = /*@__PURE__*/ (() => {
428
442
  case 13: throw new NotImplementedException(0);
429
443
  }
430
444
  }
431
- r(a, b, c, d) {
445
+ s(a, b, c, d) {
432
446
  switch (b.toLowerCase()) {
433
447
  case "string":
434
448
  if (c == null) {