igniteui-angular-core 13.2.0 → 14.1.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.
- package/bundles/igniteui-angular-core.umd.js +1513 -1158
- package/bundles/igniteui-angular-core.umd.min.js +1 -1
- package/esm2015/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm2015/lib/CanvasViewRenderer.js +1 -1
- package/esm2015/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +382 -314
- package/esm2015/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm2015/lib/CodeGeneratingComponentRendererModuleEmitter.js +14 -11
- package/esm2015/lib/CodeGeneratingRendererResult.js +56 -44
- package/esm2015/lib/CodeGenerationFolderTemplate.js +41 -37
- package/esm2015/lib/CodeGenerationTransformer.js +19 -19
- package/esm2015/lib/ComponentRendererAdapter.js +3 -0
- package/esm2015/lib/ComponentRenderer_combined.js +178 -169
- package/esm2015/lib/DescriptionSerializer.js +72 -58
- package/esm2015/lib/DescriptionTreeAction.js +10 -9
- package/esm2015/lib/DescriptionTreeBuilder.js +4 -4
- package/esm2015/lib/DescriptionTreeNode.js +64 -36
- package/esm2015/lib/DescriptionTreeReconciler.js +156 -141
- package/esm2015/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm2015/lib/IgcSliderBridge.js +38 -12
- package/esm2015/lib/NativeUIInputsFactory.js +1 -0
- package/esm2015/lib/NativeUISlider.js +24 -10
- package/esm2015/lib/StackedFragmentSeriesDescription.js +121 -121
- package/esm2015/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm2015/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm2015/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescription.js +3 -3
- package/esm2015/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescription.js +36 -0
- package/esm2015/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +38 -0
- package/esm2015/lib/componentUtil.js +4 -1
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.js +9 -9
- package/esm5/lib/CanvasViewRenderer.js +1 -1
- package/esm5/lib/CodeGeneratingComponentRendererCodeEmitter_combined.js +449 -363
- package/esm5/lib/CodeGeneratingComponentRendererDataEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererHandlerEmitter.js +2 -2
- package/esm5/lib/CodeGeneratingComponentRendererModuleEmitter.js +18 -11
- package/esm5/lib/CodeGeneratingRendererResult.js +95 -66
- package/esm5/lib/CodeGenerationFolderTemplate.js +40 -36
- package/esm5/lib/CodeGenerationTransformer.js +19 -19
- package/esm5/lib/ComponentRendererAdapter.js +3 -0
- package/esm5/lib/ComponentRenderer_combined.js +184 -175
- package/esm5/lib/DescriptionSerializer.js +72 -58
- package/esm5/lib/DescriptionTreeAction.js +10 -9
- package/esm5/lib/DescriptionTreeBuilder.js +4 -4
- package/esm5/lib/DescriptionTreeNode.js +64 -36
- package/esm5/lib/DescriptionTreeReconciler.js +156 -141
- package/esm5/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.js +24 -22
- package/esm5/lib/IgcSliderBridge.js +38 -12
- package/esm5/lib/NativeUIInputsFactory.js +1 -0
- package/esm5/lib/NativeUISlider.js +23 -5
- package/esm5/lib/StackedFragmentSeriesDescription.js +120 -120
- package/esm5/lib/StackedFragmentSeriesDescriptionMetadata.js +1 -1
- package/esm5/lib/TSCodeGeneratingComponentRendererModuleEmitter.js +36 -34
- package/esm5/lib/TypeDescriptionPropretyTransforms.js +49 -25
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescription.js +2 -2
- package/esm5/lib/WebTreeSelectionOptionsEventArgsDescriptionMetadata.js +3 -1
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescription.js +46 -0
- package/esm5/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.js +42 -0
- package/esm5/lib/componentUtil.js +4 -1
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-angular-core.js +1385 -1085
- package/fesm5/igniteui-angular-core.js +1512 -1159
- package/lib/BlazorCodeGeneratingComponentRendererModuleEmitter.d.ts +3 -3
- package/lib/CodeGeneratingComponentRendererCodeEmitter_combined.d.ts +120 -114
- package/lib/CodeGeneratingComponentRendererModuleEmitter.d.ts +6 -5
- package/lib/CodeGeneratingRendererResult.d.ts +15 -12
- package/lib/DescriptionSerializer.d.ts +7 -6
- package/lib/DescriptionTreeAction.d.ts +6 -5
- package/lib/DescriptionTreeNode.d.ts +13 -12
- package/lib/DotNetCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/IgcSliderBridge.d.ts +7 -3
- package/lib/NativeUISlider.d.ts +9 -6
- package/lib/StackedFragmentSeriesDescription.d.ts +46 -46
- package/lib/TSCodeGeneratingComponentRendererModuleEmitter.d.ts +7 -7
- package/lib/WebTreeSelectionOptionsEventArgsDescription.d.ts +3 -3
- package/lib/WebTreeSelectionOptionsEventDetailDescription.d.ts +17 -0
- package/lib/WebTreeSelectionOptionsEventDetailDescriptionMetadata.d.ts +13 -0
- package/package.json +4 -4
- 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.
|
|
114
|
-
let p = this.m.
|
|
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.
|
|
41
|
-
let c = this.e.
|
|
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.
|
|
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.
|
|
25
|
+
this.k = a;
|
|
26
26
|
this.i = b;
|
|
27
|
-
this.b = new CodeGeneratingCodeWriter(this.
|
|
28
|
-
this.a = new CodeGeneratingCodeWriter(this.
|
|
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
|
-
|
|
43
|
-
this.
|
|
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.
|
|
55
|
+
this.l(f);
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
|
-
this.
|
|
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
|
-
|
|
66
|
+
n() {
|
|
64
67
|
}
|
|
65
|
-
|
|
68
|
+
l(a) {
|
|
66
69
|
}
|
|
67
|
-
|
|
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.
|
|
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.
|
|
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
|
|
31
|
-
return this.
|
|
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.
|
|
47
|
-
this.
|
|
51
|
+
if (!this.k.containsKey(a)) {
|
|
52
|
+
this.k.addItem(a, new List$1(String_$type, 0));
|
|
48
53
|
}
|
|
49
|
-
let c = this.
|
|
54
|
+
let c = this.k.item(a);
|
|
50
55
|
c.add(b);
|
|
51
56
|
}
|
|
52
57
|
addImportResult(a, b) {
|
|
53
|
-
if (!this.
|
|
54
|
-
this.
|
|
58
|
+
if (!this.m.containsKey(a)) {
|
|
59
|
+
this.m.addItem(a, new List$1(CodeGeneratingImportManager.$, 0));
|
|
55
60
|
}
|
|
56
|
-
let c = this.
|
|
61
|
+
let c = this.m.item(a);
|
|
57
62
|
c.add(b);
|
|
58
63
|
}
|
|
59
64
|
addContainerNewFileResult(a, b) {
|
|
60
|
-
if (!this.
|
|
61
|
-
this.
|
|
65
|
+
if (!this.j.containsKey(a)) {
|
|
66
|
+
this.j.addItem(a, new List$1(String_$type, 0));
|
|
62
67
|
}
|
|
63
|
-
let c = this.
|
|
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.
|
|
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.
|
|
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.
|
|
93
|
+
if (!this.k.containsKey(a)) {
|
|
82
94
|
return "";
|
|
83
95
|
}
|
|
84
|
-
let b = this.
|
|
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
|
-
|
|
95
|
-
if (!this.
|
|
106
|
+
q(a) {
|
|
107
|
+
if (!this.m.containsKey(a)) {
|
|
96
108
|
return null;
|
|
97
109
|
}
|
|
98
|
-
return this.
|
|
110
|
+
return this.m.item(a);
|
|
99
111
|
}
|
|
100
|
-
|
|
101
|
-
if (!this.
|
|
102
|
-
this.
|
|
112
|
+
t(a) {
|
|
113
|
+
if (!this.h.containsKey(a)) {
|
|
114
|
+
this.h.item(a, 1);
|
|
103
115
|
}
|
|
104
|
-
let b = this.
|
|
116
|
+
let b = this.h.item(a);
|
|
105
117
|
let c = a + b;
|
|
106
|
-
this.
|
|
118
|
+
this.h.item(a, b + 1);
|
|
107
119
|
return c;
|
|
108
120
|
}
|
|
109
|
-
|
|
110
|
-
this.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
150
|
+
return this.n.item(a);
|
|
139
151
|
}
|
|
140
152
|
trackDescriptionField(a, b) {
|
|
141
|
-
this.
|
|
153
|
+
this.l.item(a, b);
|
|
142
154
|
}
|
|
143
155
|
hasDescription(a) {
|
|
144
|
-
return this.
|
|
156
|
+
return this.l.containsKey(a);
|
|
145
157
|
}
|
|
146
158
|
getDescriptionField(a) {
|
|
147
|
-
return this.
|
|
159
|
+
return this.l.item(a);
|
|
148
160
|
}
|
|
149
|
-
|
|
161
|
+
u(a) {
|
|
150
162
|
let b = 0;
|
|
151
|
-
if (!this.
|
|
152
|
-
this.
|
|
163
|
+
if (!this.i.containsKey(a)) {
|
|
164
|
+
this.i.addItem(a, b);
|
|
153
165
|
}
|
|
154
166
|
else {
|
|
155
|
-
b = this.
|
|
167
|
+
b = this.i.item(a);
|
|
156
168
|
}
|
|
157
169
|
b++;
|
|
158
|
-
this.
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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 =
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
|
120
|
-
|
|
121
|
-
this.c._inner[
|
|
122
|
-
}
|
|
123
|
-
let
|
|
124
|
-
for (let
|
|
125
|
-
let
|
|
126
|
-
for (let
|
|
127
|
-
let
|
|
128
|
-
let
|
|
129
|
-
|
|
130
|
-
this.c._inner[
|
|
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
|
|
134
|
-
for (let
|
|
135
|
-
let
|
|
136
|
-
for (let
|
|
137
|
-
let
|
|
138
|
-
|
|
139
|
-
this.c._inner[
|
|
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
|
|
143
|
-
let
|
|
144
|
-
let
|
|
145
|
-
for (let
|
|
146
|
-
if (stringStartsWith(
|
|
147
|
-
|
|
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(
|
|
151
|
-
this.c.add(
|
|
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.
|
|
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);
|
|
@@ -134,11 +134,11 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
134
134
|
});
|
|
135
135
|
this.b.item("FontStyleTransform", (b, c) => {
|
|
136
136
|
let d = b;
|
|
137
|
-
let e = c.
|
|
137
|
+
let e = c.j;
|
|
138
138
|
let f = stringReplace(e, "Style", "Weight");
|
|
139
139
|
let g = false;
|
|
140
|
-
if (c.
|
|
141
|
-
let h = c.
|
|
140
|
+
if (c.c.c(f)) {
|
|
141
|
+
let h = c.c.a(f);
|
|
142
142
|
let i = h.b;
|
|
143
143
|
if (i != null && i.toLowerCase() == "bold") {
|
|
144
144
|
g = true;
|
|
@@ -216,11 +216,11 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
216
216
|
});
|
|
217
217
|
this.b.item("FontWeightTransform", (b, c) => {
|
|
218
218
|
let d = b;
|
|
219
|
-
let e = c.
|
|
219
|
+
let e = c.j;
|
|
220
220
|
let f = stringReplace(e, "Weight", "Style");
|
|
221
221
|
let g = false;
|
|
222
|
-
if (c.
|
|
223
|
-
let h = c.
|
|
222
|
+
if (c.c.c(f)) {
|
|
223
|
+
let h = c.c.a(f);
|
|
224
224
|
let i = h.b;
|
|
225
225
|
if (i != null && i.toLowerCase() == "italic") {
|
|
226
226
|
g = true;
|
|
@@ -342,10 +342,10 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
c(a) {
|
|
345
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
345
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Style", "Family"), "Weight", "Family"), "Size", "Family");
|
|
346
346
|
let c = "Verdana";
|
|
347
|
-
if (a.
|
|
348
|
-
c = a.
|
|
347
|
+
if (a.c.c(b)) {
|
|
348
|
+
c = a.c.a(b).b;
|
|
349
349
|
if (c == null) {
|
|
350
350
|
c = "Verdana";
|
|
351
351
|
}
|
|
@@ -353,10 +353,10 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
353
353
|
return c;
|
|
354
354
|
}
|
|
355
355
|
e(a) {
|
|
356
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
356
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Style"), "Weight", "Style"), "Size", "Style");
|
|
357
357
|
let c = "normal";
|
|
358
|
-
if (a.
|
|
359
|
-
c = a.
|
|
358
|
+
if (a.c.c(b)) {
|
|
359
|
+
c = a.c.a(b).b;
|
|
360
360
|
if (c == null) {
|
|
361
361
|
c = "normal";
|
|
362
362
|
}
|
|
@@ -364,10 +364,10 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
364
364
|
return c;
|
|
365
365
|
}
|
|
366
366
|
d(a) {
|
|
367
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
367
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Size"), "Weight", "Size"), "Style", "Size");
|
|
368
368
|
let c = "14px";
|
|
369
|
-
if (a.
|
|
370
|
-
c = a.
|
|
369
|
+
if (a.c.c(b)) {
|
|
370
|
+
c = a.c.a(b).b.toString();
|
|
371
371
|
if (c == null) {
|
|
372
372
|
c = "14px";
|
|
373
373
|
}
|
|
@@ -378,10 +378,10 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
378
378
|
return c;
|
|
379
379
|
}
|
|
380
380
|
f(a) {
|
|
381
|
-
let b = stringReplace(stringReplace(stringReplace(a.
|
|
381
|
+
let b = stringReplace(stringReplace(stringReplace(a.j, "Family", "Weight"), "Size", "Weight"), "Style", "Weight");
|
|
382
382
|
let c = "normal";
|
|
383
|
-
if (a.
|
|
384
|
-
c = a.
|
|
383
|
+
if (a.c.c(b)) {
|
|
384
|
+
c = a.c.a(b).b;
|
|
385
385
|
if (c == null) {
|
|
386
386
|
c = "normal";
|
|
387
387
|
}
|
|
@@ -390,7 +390,7 @@ export let CodeGenerationTransformer = /*@__PURE__*/ (() => {
|
|
|
390
390
|
return c;
|
|
391
391
|
}
|
|
392
392
|
transform(a, b, c) {
|
|
393
|
-
let d = c.
|
|
393
|
+
let d = c.d;
|
|
394
394
|
if (d == null) {
|
|
395
395
|
return b;
|
|
396
396
|
}
|
|
@@ -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);
|