@rxap/schematics-xml-parser 16.0.0-dev.1 → 16.0.0-dev.3
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/CHANGELOG.md +64 -42
- package/README.md +1 -1
- package/package.json +4 -4
- package/src/index.d.ts +3 -6
- package/src/index.js +3 -10
- package/src/index.js.map +1 -1
- package/src/lib/elements/index.d.ts +2 -0
- package/src/lib/elements/index.js +6 -0
- package/src/lib/elements/index.js.map +1 -0
- package/src/lib/elements/methods/index.d.ts +3 -0
- package/src/lib/elements/methods/index.js +7 -0
- package/src/lib/elements/methods/index.js.map +1 -0
- package/src/lib/elements/methods/method.element.js +2 -2
- package/src/lib/elements/methods/method.element.js.map +1 -1
- package/src/lib/elements/methods/open-api-remote-method.element.js +2 -1
- package/src/lib/elements/methods/open-api-remote-method.element.js.map +1 -1
- package/src/lib/elements/type.element.js +2 -1
- package/src/lib/elements/type.element.js.map +1 -1
- package/src/lib/index.d.ts +1 -0
- package/src/lib/index.js +5 -0
- package/src/lib/index.js.map +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,23 +3,45 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [16.0.0-dev.
|
|
6
|
+
# [16.0.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/schematics-xml-parser@16.0.0-dev.2...@rxap/schematics-xml-parser@16.0.0-dev.3) (2023-05-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* use the CoerceImports function for all imports ([901a68a](https://gitlab.com/rxap/packages/commit/901a68a4fcb81d691573ea4ad20412b40cea3ec4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [16.0.0-dev.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@16.0.0-dev.1...@rxap/schematics-xml-parser@16.0.0-dev.2) (2023-05-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* remove deprecated pack target concept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [16.0.0-dev.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@16.0.0-dev.0...@rxap/schematics-xml-parser@16.0.0-dev.1) (2023-05-18)
|
|
7
29
|
|
|
8
30
|
|
|
9
31
|
### Bug Fixes
|
|
10
32
|
|
|
11
|
-
* **deps:** update rxap packages to 16.x.x ([f9c2263](https://gitlab.com/rxap/
|
|
33
|
+
* **deps:** update rxap packages to 16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
|
|
12
34
|
|
|
13
35
|
|
|
14
36
|
|
|
15
37
|
|
|
16
38
|
|
|
17
|
-
# [16.0.0-dev.0](https://gitlab.com/rxap/
|
|
39
|
+
# [16.0.0-dev.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@15.0.0...@rxap/schematics-xml-parser@16.0.0-dev.0) (2023-05-17)
|
|
18
40
|
|
|
19
41
|
|
|
20
42
|
### chore
|
|
21
43
|
|
|
22
|
-
* upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/
|
|
44
|
+
* upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
|
|
23
45
|
|
|
24
46
|
|
|
25
47
|
### BREAKING CHANGES
|
|
@@ -30,13 +52,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
30
52
|
|
|
31
53
|
|
|
32
54
|
|
|
33
|
-
# [15.0.0](https://gitlab.com/rxap/
|
|
55
|
+
# [15.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@14.0.2...@rxap/schematics-xml-parser@15.0.0) (2022-12-14)
|
|
34
56
|
|
|
35
57
|
|
|
36
58
|
### chore
|
|
37
59
|
|
|
38
|
-
* upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/
|
|
39
|
-
* upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/
|
|
60
|
+
* upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/schematics/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
|
|
61
|
+
* upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/schematics/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
|
|
40
62
|
|
|
41
63
|
|
|
42
64
|
### BREAKING CHANGES
|
|
@@ -48,7 +70,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
48
70
|
|
|
49
71
|
|
|
50
72
|
|
|
51
|
-
## [14.0.2](https://gitlab.com/rxap/
|
|
73
|
+
## [14.0.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@14.0.1...@rxap/schematics-xml-parser@14.0.2) (2022-12-14)
|
|
52
74
|
|
|
53
75
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
54
76
|
|
|
@@ -56,23 +78,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
56
78
|
|
|
57
79
|
|
|
58
80
|
|
|
59
|
-
## [14.0.1](https://gitlab.com/rxap/
|
|
81
|
+
## [14.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@14.0.0...@rxap/schematics-xml-parser@14.0.1) (2022-10-06)
|
|
60
82
|
|
|
61
83
|
|
|
62
84
|
### Bug Fixes
|
|
63
85
|
|
|
64
|
-
* upgrade all rxap packages to 14.x.x ([a720767](https://gitlab.com/rxap/
|
|
86
|
+
* upgrade all rxap packages to 14.x.x ([a720767](https://gitlab.com/rxap/schematics/commit/a7207671d2a7d5b668aa0daaf346ca4393447a90))
|
|
65
87
|
|
|
66
88
|
|
|
67
89
|
|
|
68
90
|
|
|
69
91
|
|
|
70
|
-
# [14.0.0](https://gitlab.com/rxap/
|
|
92
|
+
# [14.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@13.0.1...@rxap/schematics-xml-parser@14.0.0) (2022-09-11)
|
|
71
93
|
|
|
72
94
|
|
|
73
95
|
### chore
|
|
74
96
|
|
|
75
|
-
* upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/
|
|
97
|
+
* upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
|
|
76
98
|
|
|
77
99
|
|
|
78
100
|
### BREAKING CHANGES
|
|
@@ -83,26 +105,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
83
105
|
|
|
84
106
|
|
|
85
107
|
|
|
86
|
-
## [13.0.1](https://gitlab.com/rxap/
|
|
108
|
+
## [13.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@13.0.1-next.2...@rxap/schematics-xml-parser@13.0.1) (2022-09-11)
|
|
87
109
|
|
|
88
110
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
89
111
|
|
|
90
|
-
## [13.0.1-next.2](https://gitlab.com/rxap/
|
|
112
|
+
## [13.0.1-next.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@13.0.1-next.1...@rxap/schematics-xml-parser@13.0.1-next.2) (2022-05-09)
|
|
91
113
|
|
|
92
114
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
93
115
|
|
|
94
|
-
## [13.0.1-next.1](https://gitlab.com/rxap/
|
|
116
|
+
## [13.0.1-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@13.0.1-next.0...@rxap/schematics-xml-parser@13.0.1-next.1) (2022-03-23)
|
|
95
117
|
|
|
96
118
|
|
|
97
119
|
### Bug Fixes
|
|
98
120
|
|
|
99
|
-
* remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/
|
|
121
|
+
* remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
|
|
100
122
|
|
|
101
123
|
|
|
102
124
|
|
|
103
125
|
|
|
104
126
|
|
|
105
|
-
## [13.0.1-next.0](https://gitlab.com/rxap/
|
|
127
|
+
## [13.0.1-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@13.0.0-next.0...@rxap/schematics-xml-parser@13.0.1-next.0) (2022-03-03)
|
|
106
128
|
|
|
107
129
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
108
130
|
|
|
@@ -110,7 +132,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
110
132
|
|
|
111
133
|
|
|
112
134
|
|
|
113
|
-
# [12.2.0](https://gitlab.com/rxap/
|
|
135
|
+
# [12.2.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.2.0-next.0...@rxap/schematics-xml-parser@12.2.0) (2022-02-19)
|
|
114
136
|
|
|
115
137
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
116
138
|
|
|
@@ -118,12 +140,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
118
140
|
|
|
119
141
|
|
|
120
142
|
|
|
121
|
-
# [13.0.0-next.0](https://gitlab.com/rxap/
|
|
143
|
+
# [13.0.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.2.0-next.0...@rxap/schematics-xml-parser@13.0.0-next.0) (2022-02-19)
|
|
122
144
|
|
|
123
145
|
|
|
124
146
|
### Build System
|
|
125
147
|
|
|
126
|
-
* upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/
|
|
148
|
+
* upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
|
|
127
149
|
|
|
128
150
|
|
|
129
151
|
### BREAKING CHANGES
|
|
@@ -136,29 +158,29 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
136
158
|
|
|
137
159
|
|
|
138
160
|
|
|
139
|
-
# [12.2.0-next.0](https://gitlab.com/rxap/
|
|
161
|
+
# [12.2.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.1.1...@rxap/schematics-xml-parser@12.2.0-next.0) (2021-11-30)
|
|
140
162
|
|
|
141
163
|
|
|
142
164
|
### Features
|
|
143
165
|
|
|
144
|
-
* **type-element:** expose the type property accessor ([b64f710](https://gitlab.com/rxap/
|
|
166
|
+
* **type-element:** expose the type property accessor ([b64f710](https://gitlab.com/rxap/schematics/commit/b64f7104025aa808e14bb352cfcaa30bc31c42f0))
|
|
145
167
|
|
|
146
168
|
|
|
147
169
|
|
|
148
170
|
|
|
149
171
|
|
|
150
|
-
## [12.1.1](https://gitlab.com/rxap/
|
|
172
|
+
## [12.1.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.1.0...@rxap/schematics-xml-parser@12.1.1) (2021-08-02)
|
|
151
173
|
|
|
152
174
|
|
|
153
175
|
### Bug Fixes
|
|
154
176
|
|
|
155
|
-
* add missing peer dependencies ([83481ea](https://gitlab.com/rxap/
|
|
177
|
+
* add missing peer dependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
|
|
156
178
|
|
|
157
179
|
|
|
158
180
|
|
|
159
181
|
|
|
160
182
|
|
|
161
|
-
# [12.1.0](https://gitlab.com/rxap/
|
|
183
|
+
# [12.1.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.1.0-next.1...@rxap/schematics-xml-parser@12.1.0) (2021-07-22)
|
|
162
184
|
|
|
163
185
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
164
186
|
|
|
@@ -166,29 +188,29 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
166
188
|
|
|
167
189
|
|
|
168
190
|
|
|
169
|
-
# [12.1.0-next.1](https://gitlab.com/rxap/
|
|
191
|
+
# [12.1.0-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.1.0-next.0...@rxap/schematics-xml-parser@12.1.0-next.1) (2021-07-20)
|
|
170
192
|
|
|
171
193
|
|
|
172
194
|
### Features
|
|
173
195
|
|
|
174
|
-
* add TypeElement classes ([775f0c1](https://gitlab.com/rxap/
|
|
196
|
+
* add TypeElement classes ([775f0c1](https://gitlab.com/rxap/schematics/commit/775f0c11c145881f61ac1964e334b29677647810))
|
|
175
197
|
|
|
176
198
|
|
|
177
199
|
|
|
178
200
|
|
|
179
201
|
|
|
180
|
-
# [12.1.0-next.0](https://gitlab.com/rxap/
|
|
202
|
+
# [12.1.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.8...@rxap/schematics-xml-parser@12.1.0-next.0) (2021-07-12)
|
|
181
203
|
|
|
182
204
|
|
|
183
205
|
### Features
|
|
184
206
|
|
|
185
|
-
* **parse-template:** support multiple base template paths ([24773c4](https://gitlab.com/rxap/
|
|
207
|
+
* **parse-template:** support multiple base template paths ([24773c4](https://gitlab.com/rxap/schematics/commit/24773c426793a0840db06774633be9ccd6383682))
|
|
186
208
|
|
|
187
209
|
|
|
188
210
|
|
|
189
211
|
|
|
190
212
|
|
|
191
|
-
## [12.0.8](https://gitlab.com/rxap/
|
|
213
|
+
## [12.0.8](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.8-next.0...@rxap/schematics-xml-parser@12.0.8) (2021-06-29)
|
|
192
214
|
|
|
193
215
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
194
216
|
|
|
@@ -196,7 +218,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
196
218
|
|
|
197
219
|
|
|
198
220
|
|
|
199
|
-
## [12.0.8-next.0](https://gitlab.com/rxap/
|
|
221
|
+
## [12.0.8-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.7...@rxap/schematics-xml-parser@12.0.8-next.0) (2021-06-23)
|
|
200
222
|
|
|
201
223
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
202
224
|
|
|
@@ -204,7 +226,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
204
226
|
|
|
205
227
|
|
|
206
228
|
|
|
207
|
-
## [12.0.7](https://gitlab.com/rxap/
|
|
229
|
+
## [12.0.7](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.6...@rxap/schematics-xml-parser@12.0.7) (2021-06-23)
|
|
208
230
|
|
|
209
231
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
210
232
|
|
|
@@ -212,7 +234,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
212
234
|
|
|
213
235
|
|
|
214
236
|
|
|
215
|
-
## [12.0.7-next.0](https://gitlab.com/rxap/
|
|
237
|
+
## [12.0.7-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.6...@rxap/schematics-xml-parser@12.0.7-next.0) (2021-06-23)
|
|
216
238
|
|
|
217
239
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
218
240
|
|
|
@@ -220,7 +242,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
220
242
|
|
|
221
243
|
|
|
222
244
|
|
|
223
|
-
## [12.0.6](https://gitlab.com/rxap/
|
|
245
|
+
## [12.0.6](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.4...@rxap/schematics-xml-parser@12.0.6) (2021-06-22)
|
|
224
246
|
|
|
225
247
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
226
248
|
|
|
@@ -228,12 +250,12 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
228
250
|
|
|
229
251
|
|
|
230
252
|
|
|
231
|
-
## [12.0.4](https://gitlab.com/rxap/
|
|
253
|
+
## [12.0.4](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.3...@rxap/schematics-xml-parser@12.0.4) (2021-06-17)
|
|
232
254
|
|
|
233
255
|
|
|
234
256
|
### Bug Fixes
|
|
235
257
|
|
|
236
|
-
* set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/
|
|
258
|
+
* set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
|
|
237
259
|
|
|
238
260
|
|
|
239
261
|
|
|
@@ -247,7 +269,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
247
269
|
|
|
248
270
|
|
|
249
271
|
|
|
250
|
-
## [12.0.2](https://gitlab.com/rxap/
|
|
272
|
+
## [12.0.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@11.1.2...@rxap/schematics-xml-parser@12.0.2) (2021-06-09)
|
|
251
273
|
|
|
252
274
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
253
275
|
|
|
@@ -255,7 +277,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
255
277
|
|
|
256
278
|
|
|
257
279
|
|
|
258
|
-
## [12.0.1](https://gitlab.com/rxap/
|
|
280
|
+
## [12.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@12.0.0...@rxap/schematics-xml-parser@12.0.1) (2021-05-24)
|
|
259
281
|
|
|
260
282
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
261
283
|
|
|
@@ -263,7 +285,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
263
285
|
|
|
264
286
|
|
|
265
287
|
|
|
266
|
-
# [12.0.0](https://gitlab.com/rxap/
|
|
288
|
+
# [12.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@11.1.1...@rxap/schematics-xml-parser@12.0.0) (2021-05-24)
|
|
267
289
|
|
|
268
290
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
269
291
|
|
|
@@ -271,12 +293,12 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
271
293
|
|
|
272
294
|
|
|
273
295
|
|
|
274
|
-
## [11.1.1](https://gitlab.com/rxap/
|
|
296
|
+
## [11.1.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-xml-parser@11.1.0...@rxap/schematics-xml-parser@11.1.1) (2021-04-30)
|
|
275
297
|
|
|
276
298
|
|
|
277
299
|
### Bug Fixes
|
|
278
300
|
|
|
279
|
-
* update build target to es6 ([6418b27](https://gitlab.com/rxap/
|
|
301
|
+
* update build target to es6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
|
|
280
302
|
|
|
281
303
|
|
|
282
304
|
|
|
@@ -287,4 +309,4 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
287
309
|
|
|
288
310
|
### Features
|
|
289
311
|
|
|
290
|
-
* split the @rxap/schematics-utilities into ts-morph, html and xml-parser ([8312bc2](https://gitlab.com/rxap/
|
|
312
|
+
* split the @rxap/schematics-utilities into ts-morph, html and xml-parser ([8312bc2](https://gitlab.com/rxap/schematics/commit/8312bc2c11d1b15e57185726b62d3b80acf135f9))
|
package/README.md
CHANGED
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
# Installation
|
|
16
16
|
|
|
17
17
|
```
|
|
18
|
-
yarn add @rxap/schematics-xml-parser @rxap/schematics-ts-morph@^16.0.0-dev.
|
|
18
|
+
yarn add @rxap/schematics-xml-parser @rxap/schematics-ts-morph@^16.0.0-dev.1 @rxap/schematics-utilities@^16.0.0-dev.1 @rxap/xml-parser@^16.0.0-dev.0
|
|
19
19
|
```
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/schematics-xml-parser",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
3
|
+
"version": "16.0.0-dev.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"semver": "^7.3.5",
|
|
6
6
|
"tslib": "^2.3.1"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"save": "devDependencies"
|
|
22
22
|
},
|
|
23
23
|
"repository": "git@gitlab.com:rxap/packages.git",
|
|
24
|
-
"homepage": "https://gitlab.com/rxap/
|
|
24
|
+
"homepage": "https://gitlab.com/rxap/schematics",
|
|
25
25
|
"author": "Merzough Münker",
|
|
26
26
|
"private": false,
|
|
27
27
|
"bugs": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@angular-devkit/core": "^16.0.2",
|
|
42
42
|
"@angular-devkit/schematics": "^16.0.2",
|
|
43
|
-
"@rxap/schematics-ts-morph": "^16.0.0-dev.
|
|
44
|
-
"@rxap/schematics-utilities": "^16.0.0-dev.
|
|
43
|
+
"@rxap/schematics-ts-morph": "^16.0.0-dev.2",
|
|
44
|
+
"@rxap/schematics-utilities": "^16.0.0-dev.2",
|
|
45
45
|
"@rxap/xml-parser": "^16.0.0-dev.0",
|
|
46
46
|
"ts-morph": "^13.0.3"
|
|
47
47
|
},
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export * from './lib
|
|
2
|
-
export * from './lib/elements
|
|
3
|
-
export * from './lib/elements/
|
|
4
|
-
export * from './lib/elements/methods/methods';
|
|
5
|
-
export * from './lib/elements/methods/open-api-remote-method.element';
|
|
6
|
-
export * from './lib/elements/methods/method.element';
|
|
1
|
+
export * from './lib';
|
|
2
|
+
export * from './lib/elements';
|
|
3
|
+
export * from './lib/elements/methods';
|
package/src/index.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./lib
|
|
5
|
-
|
|
6
|
-
tslib_1.__exportStar(require("./lib/elements/
|
|
7
|
-
tslib_1.__exportStar(require("./lib/elements/type.element"), exports);
|
|
8
|
-
// region methods
|
|
9
|
-
tslib_1.__exportStar(require("./lib/elements/methods/methods"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./lib/elements/methods/open-api-remote-method.element"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./lib/elements/methods/method.element"), exports);
|
|
12
|
-
// endregion
|
|
13
|
-
// endregion
|
|
4
|
+
tslib_1.__exportStar(require("./lib"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./lib/elements"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./lib/elements/methods"), exports);
|
|
14
7
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/xml-parser/src/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/xml-parser/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,yDAA+B;AAC/B,iEAAuC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./module.element"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./type.element"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/xml-parser/src/lib/elements/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,yDAA+B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./method.element"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./methods"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./open-api-remote-method.element"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/xml-parser/src/lib/elements/methods/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,oDAA0B;AAC1B,2EAAiD"}
|
|
@@ -12,7 +12,7 @@ const { dasherize, classify, camelize } = core_1.strings;
|
|
|
12
12
|
let MethodElement = class MethodElement {
|
|
13
13
|
toValue({ sourceFile, project }) {
|
|
14
14
|
if (this.from) {
|
|
15
|
-
|
|
15
|
+
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
16
16
|
namedImports: [this.name],
|
|
17
17
|
moduleSpecifier: this.from
|
|
18
18
|
});
|
|
@@ -28,7 +28,7 @@ let MethodElement = class MethodElement {
|
|
|
28
28
|
if (this.parameterType) {
|
|
29
29
|
methodOptions.parameterType = this.parameterType.toValue({ sourceFile: methodSourceFile });
|
|
30
30
|
}
|
|
31
|
-
(0, schematics_ts_morph_1.
|
|
31
|
+
(0, schematics_ts_morph_1.CoerceMethodClassLegacy)(methodSourceFile, methodName, methodOptions);
|
|
32
32
|
return methodName;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.element.js","sourceRoot":"","sources":["../../../../../../../libs/xml-parser/src/lib/elements/methods/method.element.ts"],"names":[],"mappings":";;;;AACA,4DAMqC;AAErC,+BAA4B;AAC5B,+CAA+C;AAC/C,qEAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"method.element.js","sourceRoot":"","sources":["../../../../../../../libs/xml-parser/src/lib/elements/methods/method.element.ts"],"names":[],"mappings":";;;;AACA,4DAMqC;AAErC,+BAA4B;AAC5B,+CAA+C;AAC/C,qEAA0D;AAC1D,mEAA4I;AAC5I,kDAA8C;AAE9C,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAO,CAAC;AAOlD,IAAa,aAAa,GAA1B,MAAa,aAAa;IAejB,OAAO,CAAC,EAAE,UAAU,EAAE,OAAO,EAA+C;QACjF,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAA,mCAAa,EAAC,UAAU,EAAC;gBACvB,YAAY,EAAE,CAAE,IAAI,CAAC,IAAI,CAAE;gBAC3B,eAAe,EAAE,IAAI,CAAC,IAAI;aAC3B,CAAC,CAAC;YACH,OAAO,IAAI,CAAC,IAAI,CAAC;SAClB;aAAM;YACL,MAAM,UAAU,GAAG,IAAA,mCAAY,EAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC;YAC/D,MAAM,cAAc,GAAG,IAAA,WAAI,EAAC,UAAU,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC;YAC/G,MAAM,gBAAgB,GAAG,IAAA,sCAAgB,EAAC,OAAO,EAAE,cAAc,CAAC,CAAC;YACnE,MAAM,aAAa,GAA0B;gBAC3C,UAAU,EAAE,CAAE,gBAAgB,SAAS,CAAC,UAAU,CAAC,iBAAiB,CAAE;aACvE,CAAC;YACF,IAAI,IAAI,CAAC,aAAa,EAAE;gBACtB,aAAa,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC,CAAC;aAC5F;YACD,IAAA,6CAAuB,EAAC,gBAAgB,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;YACrE,OAAO,UAAU,CAAC;SACnB;IACH,CAAC;CAEF,CAAA;AAjCQ;IAFN,IAAA,+BAAkB,GAAE;IACpB,IAAA,4BAAe,GAAE;;2CACG;AAGd;IADN,IAAA,6BAAgB,GAAE;;2CACE;AAGd;IADN,IAAA,6BAAgB,GAAE;;2CACG;AAGf;IADN,IAAA,yBAAY,EAAC,0BAAW,CAAC;sCACH,0BAAW;oDAAA;AAbvB,aAAa;IADzB,IAAA,uBAAU,EAAC,QAAQ,CAAC;GACR,aAAa,CAqCzB;AArCY,sCAAa"}
|
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const decorators_1 = require("@rxap/xml-parser/decorators");
|
|
6
6
|
const core_1 = require("@angular-devkit/core");
|
|
7
7
|
const method_element_1 = require("./method.element");
|
|
8
|
+
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
8
9
|
const { dasherize, classify, camelize } = core_1.strings;
|
|
9
10
|
let OpenApiRemoteMethodElement = class OpenApiRemoteMethodElement {
|
|
10
11
|
toValue({ sourceFile, options }) {
|
|
@@ -12,7 +13,7 @@ let OpenApiRemoteMethodElement = class OpenApiRemoteMethodElement {
|
|
|
12
13
|
if (!options.openApiModule) {
|
|
13
14
|
throw new Error('The open api module is not defined!');
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
+
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
16
17
|
namedImports: [openApiRemoteMethodName],
|
|
17
18
|
moduleSpecifier: `${options.openApiModule}/remote-methods/${dasherize(this.name)}.remote-method`
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-api-remote-method.element.js","sourceRoot":"","sources":["../../../../../../../libs/xml-parser/src/lib/elements/methods/open-api-remote-method.element.ts"],"names":[],"mappings":";;;;AAAA,4DAMqC;AAGrC,+CAA+C;AAC/C,qDAG0B;
|
|
1
|
+
{"version":3,"file":"open-api-remote-method.element.js","sourceRoot":"","sources":["../../../../../../../libs/xml-parser/src/lib/elements/methods/open-api-remote-method.element.ts"],"names":[],"mappings":";;;;AAAA,4DAMqC;AAGrC,+CAA+C;AAC/C,qDAG0B;AAC1B,mEAA0D;AAE1D,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,cAAO,CAAC;AAIlD,IAAa,0BAA0B,GAAvC,MAAa,0BAA0B;IAS9B,OAAO,CAAC,EAAE,UAAU,EAAE,OAAO,EAAmE;QAErG,MAAM,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC;QAErE,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SACxD;QAED,IAAA,mCAAa,EAAC,UAAU,EAAC;YACvB,YAAY,EAAK,CAAE,uBAAuB,CAAE;YAC5C,eAAe,EAAE,GAAG,OAAO,CAAC,aAAa,mBAAmB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB;SACjG,CAAC,CAAC;QAEH,OAAO,uBAAuB,CAAC;IAEjC,CAAC;CAEF,CAAA;AAtBQ;IAFN,IAAA,+BAAkB,GAAE;IACpB,IAAA,4BAAe,GAAE;;wDACG;AAGd;IADN,IAAA,6BAAgB,GAAE;;wDACG;AAPX,0BAA0B;IAFtC,IAAA,2BAAc,EAAC,8BAAa,CAAC;IAC7B,IAAA,uBAAU,EAAC,wBAAwB,CAAC;GACxB,0BAA0B,CA0BtC;AA1BY,gEAA0B"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StringTypeElement = exports.TypeElement = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const decorators_1 = require("@rxap/xml-parser/decorators");
|
|
6
|
+
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
6
7
|
let TypeElement = class TypeElement {
|
|
7
8
|
get type() {
|
|
8
9
|
if (this.nullable) {
|
|
@@ -12,7 +13,7 @@ let TypeElement = class TypeElement {
|
|
|
12
13
|
}
|
|
13
14
|
toValue({ sourceFile }) {
|
|
14
15
|
if (this.from) {
|
|
15
|
-
|
|
16
|
+
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
16
17
|
namedImports: [this.name],
|
|
17
18
|
moduleSpecifier: this.from
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.element.js","sourceRoot":"","sources":["../../../../../../libs/xml-parser/src/lib/elements/type.element.ts"],"names":[],"mappings":";;;;AAAA,4DAMqC;
|
|
1
|
+
{"version":3,"file":"type.element.js","sourceRoot":"","sources":["../../../../../../libs/xml-parser/src/lib/elements/type.element.ts"],"names":[],"mappings":";;;;AAAA,4DAMqC;AAGrC,mEAAwD;AAGxD,IAAa,WAAW,GAAxB,MAAa,WAAW;IAYtB,IAAW,IAAI;QACb,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO,CAAE,IAAI,CAAC,IAAI,EAAE,MAAM,CAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1C;QACD,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAEM,OAAO,CAAC,EAAE,UAAU,EAA8B;QACvD,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAA,mCAAa,EAAC,UAAU,EAAC;gBACvB,YAAY,EAAE,CAAE,IAAI,CAAC,IAAI,CAAE;gBAC3B,eAAe,EAAE,IAAI,CAAC,IAAI;aAC3B,CAAC,CAAC;SACJ;QACD,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;CAEF,CAAA;AAzBQ;IAFN,IAAA,oCAAuB,GAAE;IACzB,IAAA,4BAAe,GAAE;;yCACG;AAGd;IADN,IAAA,oCAAuB,GAAE;;yCACL;AAGd;IADN,IAAA,6BAAgB,GAAE;;6CACO;AAVf,WAAW;IADvB,IAAA,uBAAU,EAAC,MAAM,CAAC;GACN,WAAW,CA6BvB;AA7BY,kCAAW;AAiCxB,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,WAAW;IAAlD;;QAES,SAAI,GAAG,QAAQ,CAAC;IAEzB,CAAC;CAAA,CAAA;AAJY,iBAAiB;IAF7B,IAAA,2BAAc,EAAC,WAAW,CAAC;IAC3B,IAAA,uBAAU,EAAC,aAAa,CAAC;GACb,iBAAiB,CAI7B;AAJY,8CAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './parse-template';
|
package/src/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/xml-parser/src/lib/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
|