@rxap/schematics-xml-parser 16.0.0-dev.2 → 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 +55 -44
- 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,34 +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)
|
|
7
18
|
|
|
8
19
|
|
|
9
20
|
### Bug Fixes
|
|
10
21
|
|
|
11
|
-
* remove deprecated pack target concept ([eeb3748](https://gitlab.com/rxap/
|
|
22
|
+
* remove deprecated pack target concept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
|
|
12
23
|
|
|
13
24
|
|
|
14
25
|
|
|
15
26
|
|
|
16
27
|
|
|
17
|
-
# [16.0.0-dev.1](https://gitlab.com/rxap/
|
|
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)
|
|
18
29
|
|
|
19
30
|
|
|
20
31
|
### Bug Fixes
|
|
21
32
|
|
|
22
|
-
* **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))
|
|
23
34
|
|
|
24
35
|
|
|
25
36
|
|
|
26
37
|
|
|
27
38
|
|
|
28
|
-
# [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)
|
|
29
40
|
|
|
30
41
|
|
|
31
42
|
### chore
|
|
32
43
|
|
|
33
|
-
* upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/
|
|
44
|
+
* upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
|
|
34
45
|
|
|
35
46
|
|
|
36
47
|
### BREAKING CHANGES
|
|
@@ -41,13 +52,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
41
52
|
|
|
42
53
|
|
|
43
54
|
|
|
44
|
-
# [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)
|
|
45
56
|
|
|
46
57
|
|
|
47
58
|
### chore
|
|
48
59
|
|
|
49
|
-
* upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/
|
|
50
|
-
* 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))
|
|
51
62
|
|
|
52
63
|
|
|
53
64
|
### BREAKING CHANGES
|
|
@@ -59,7 +70,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
59
70
|
|
|
60
71
|
|
|
61
72
|
|
|
62
|
-
## [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)
|
|
63
74
|
|
|
64
75
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
65
76
|
|
|
@@ -67,23 +78,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
67
78
|
|
|
68
79
|
|
|
69
80
|
|
|
70
|
-
## [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)
|
|
71
82
|
|
|
72
83
|
|
|
73
84
|
### Bug Fixes
|
|
74
85
|
|
|
75
|
-
* 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))
|
|
76
87
|
|
|
77
88
|
|
|
78
89
|
|
|
79
90
|
|
|
80
91
|
|
|
81
|
-
# [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)
|
|
82
93
|
|
|
83
94
|
|
|
84
95
|
### chore
|
|
85
96
|
|
|
86
|
-
* upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/
|
|
97
|
+
* upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
|
|
87
98
|
|
|
88
99
|
|
|
89
100
|
### BREAKING CHANGES
|
|
@@ -94,26 +105,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
94
105
|
|
|
95
106
|
|
|
96
107
|
|
|
97
|
-
## [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)
|
|
98
109
|
|
|
99
110
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
100
111
|
|
|
101
|
-
## [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)
|
|
102
113
|
|
|
103
114
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
104
115
|
|
|
105
|
-
## [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)
|
|
106
117
|
|
|
107
118
|
|
|
108
119
|
### Bug Fixes
|
|
109
120
|
|
|
110
|
-
* remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/
|
|
121
|
+
* remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
|
|
111
122
|
|
|
112
123
|
|
|
113
124
|
|
|
114
125
|
|
|
115
126
|
|
|
116
|
-
## [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)
|
|
117
128
|
|
|
118
129
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
119
130
|
|
|
@@ -121,7 +132,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
121
132
|
|
|
122
133
|
|
|
123
134
|
|
|
124
|
-
# [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)
|
|
125
136
|
|
|
126
137
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
127
138
|
|
|
@@ -129,12 +140,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
129
140
|
|
|
130
141
|
|
|
131
142
|
|
|
132
|
-
# [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)
|
|
133
144
|
|
|
134
145
|
|
|
135
146
|
### Build System
|
|
136
147
|
|
|
137
|
-
* 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))
|
|
138
149
|
|
|
139
150
|
|
|
140
151
|
### BREAKING CHANGES
|
|
@@ -147,29 +158,29 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
147
158
|
|
|
148
159
|
|
|
149
160
|
|
|
150
|
-
# [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)
|
|
151
162
|
|
|
152
163
|
|
|
153
164
|
### Features
|
|
154
165
|
|
|
155
|
-
* **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))
|
|
156
167
|
|
|
157
168
|
|
|
158
169
|
|
|
159
170
|
|
|
160
171
|
|
|
161
|
-
## [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)
|
|
162
173
|
|
|
163
174
|
|
|
164
175
|
### Bug Fixes
|
|
165
176
|
|
|
166
|
-
* add missing peer dependencies ([83481ea](https://gitlab.com/rxap/
|
|
177
|
+
* add missing peer dependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
|
|
167
178
|
|
|
168
179
|
|
|
169
180
|
|
|
170
181
|
|
|
171
182
|
|
|
172
|
-
# [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)
|
|
173
184
|
|
|
174
185
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
175
186
|
|
|
@@ -177,29 +188,29 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
177
188
|
|
|
178
189
|
|
|
179
190
|
|
|
180
|
-
# [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)
|
|
181
192
|
|
|
182
193
|
|
|
183
194
|
### Features
|
|
184
195
|
|
|
185
|
-
* add TypeElement classes ([775f0c1](https://gitlab.com/rxap/
|
|
196
|
+
* add TypeElement classes ([775f0c1](https://gitlab.com/rxap/schematics/commit/775f0c11c145881f61ac1964e334b29677647810))
|
|
186
197
|
|
|
187
198
|
|
|
188
199
|
|
|
189
200
|
|
|
190
201
|
|
|
191
|
-
# [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)
|
|
192
203
|
|
|
193
204
|
|
|
194
205
|
### Features
|
|
195
206
|
|
|
196
|
-
* **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))
|
|
197
208
|
|
|
198
209
|
|
|
199
210
|
|
|
200
211
|
|
|
201
212
|
|
|
202
|
-
## [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)
|
|
203
214
|
|
|
204
215
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
205
216
|
|
|
@@ -207,7 +218,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
207
218
|
|
|
208
219
|
|
|
209
220
|
|
|
210
|
-
## [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)
|
|
211
222
|
|
|
212
223
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
213
224
|
|
|
@@ -215,7 +226,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
215
226
|
|
|
216
227
|
|
|
217
228
|
|
|
218
|
-
## [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)
|
|
219
230
|
|
|
220
231
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
221
232
|
|
|
@@ -223,7 +234,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
223
234
|
|
|
224
235
|
|
|
225
236
|
|
|
226
|
-
## [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)
|
|
227
238
|
|
|
228
239
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
229
240
|
|
|
@@ -231,7 +242,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
231
242
|
|
|
232
243
|
|
|
233
244
|
|
|
234
|
-
## [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)
|
|
235
246
|
|
|
236
247
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
237
248
|
|
|
@@ -239,12 +250,12 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
239
250
|
|
|
240
251
|
|
|
241
252
|
|
|
242
|
-
## [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)
|
|
243
254
|
|
|
244
255
|
|
|
245
256
|
### Bug Fixes
|
|
246
257
|
|
|
247
|
-
* set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/
|
|
258
|
+
* set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
|
|
248
259
|
|
|
249
260
|
|
|
250
261
|
|
|
@@ -258,7 +269,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
258
269
|
|
|
259
270
|
|
|
260
271
|
|
|
261
|
-
## [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)
|
|
262
273
|
|
|
263
274
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
264
275
|
|
|
@@ -266,7 +277,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
266
277
|
|
|
267
278
|
|
|
268
279
|
|
|
269
|
-
## [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)
|
|
270
281
|
|
|
271
282
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
272
283
|
|
|
@@ -274,7 +285,7 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
274
285
|
|
|
275
286
|
|
|
276
287
|
|
|
277
|
-
# [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)
|
|
278
289
|
|
|
279
290
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
280
291
|
|
|
@@ -282,12 +293,12 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
282
293
|
|
|
283
294
|
|
|
284
295
|
|
|
285
|
-
## [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)
|
|
286
297
|
|
|
287
298
|
|
|
288
299
|
### Bug Fixes
|
|
289
300
|
|
|
290
|
-
* update build target to es6 ([6418b27](https://gitlab.com/rxap/
|
|
301
|
+
* update build target to es6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
|
|
291
302
|
|
|
292
303
|
|
|
293
304
|
|
|
@@ -298,4 +309,4 @@ Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
|
298
309
|
|
|
299
310
|
### Features
|
|
300
311
|
|
|
301
|
-
* 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/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"}
|