@rxap/schematics-xml-parser 16.0.0-dev.3 → 16.0.0-dev.5
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 +31 -151
- package/README.md +7 -6
- package/package.json +51 -34
- package/src/index.js.map +1 -1
- package/src/lib/elements/index.js.map +1 -1
- package/src/lib/elements/methods/index.js.map +1 -1
- package/src/lib/elements/methods/method.element.d.ts +1 -1
- package/src/lib/elements/methods/method.element.js +12 -13
- package/src/lib/elements/methods/method.element.js.map +1 -1
- package/src/lib/elements/methods/methods.js +1 -1
- package/src/lib/elements/methods/methods.js.map +1 -1
- package/src/lib/elements/methods/open-api-remote-method.element.d.ts +1 -1
- package/src/lib/elements/methods/open-api-remote-method.element.js +11 -12
- package/src/lib/elements/methods/open-api-remote-method.element.js.map +1 -1
- package/src/lib/elements/module.element.d.ts +3 -3
- package/src/lib/elements/module.element.js +9 -10
- package/src/lib/elements/module.element.js.map +1 -1
- package/src/lib/elements/type.element.js +13 -15
- package/src/lib/elements/type.element.js.map +1 -1
- package/src/lib/index.js.map +1 -1
- package/src/lib/parse-template.js +1 -1
- package/src/lib/parse-template.js.map +1 -1
- package/LICENSE +0 -630
- package/migration.json +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,107 +3,77 @@
|
|
|
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.5](https://gitlab.com/rxap/packages/compare/@rxap/schematics-xml-parser@16.0.0-dev.4...@rxap/schematics-xml-parser@16.0.0-dev.5) (2023-07-10)
|
|
7
7
|
|
|
8
|
+
### Bug Fixes
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
- update package dependency versions ([8479f5c](https://gitlab.com/rxap/packages/commit/8479f5c405a885cc0f300cec6156584e4c65d59c))
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
# [16.0.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/schematics-xml-parser@12.0.2...@rxap/schematics-xml-parser@16.0.0-dev.4) (2023-07-10)
|
|
12
13
|
|
|
14
|
+
### Bug Fixes
|
|
13
15
|
|
|
16
|
+
- restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
|
|
14
17
|
|
|
18
|
+
# [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)
|
|
15
19
|
|
|
20
|
+
### Features
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
- use the CoerceImports function for allimports ([901a68a](https://gitlab.com/rxap/packages/commit/901a68a4fcb81d691573ea4ad20412b40cea3ec4))
|
|
18
23
|
|
|
24
|
+
# [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)
|
|
19
25
|
|
|
20
26
|
### Bug Fixes
|
|
21
27
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
- remove deprecated pack targetconcept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
|
|
27
29
|
|
|
28
30
|
# [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)
|
|
29
31
|
|
|
30
|
-
|
|
31
32
|
### Bug Fixes
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
- **deps:** update rxap packages to16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
|
|
38
35
|
|
|
39
36
|
# [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)
|
|
40
37
|
|
|
41
|
-
|
|
42
38
|
### chore
|
|
43
39
|
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
- upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
|
|
46
41
|
|
|
47
42
|
### BREAKING CHANGES
|
|
48
43
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
- upgrade to 16.x.x
|
|
54
45
|
|
|
55
46
|
# [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)
|
|
56
47
|
|
|
57
|
-
|
|
58
48
|
### chore
|
|
59
49
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
50
|
+
- upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/schematics/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
|
|
51
|
+
- upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/schematics/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
|
|
63
52
|
|
|
64
53
|
### BREAKING CHANGES
|
|
65
54
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
55
|
+
- upgrade nrwl 15.x.x
|
|
56
|
+
- upgrade nrwl 15.x.x
|
|
72
57
|
|
|
73
58
|
## [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)
|
|
74
59
|
|
|
75
60
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
76
61
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
62
|
## [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)
|
|
82
63
|
|
|
83
|
-
|
|
84
64
|
### Bug Fixes
|
|
85
65
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
66
|
+
- upgrade all rxap packages to14.x.x ([a720767](https://gitlab.com/rxap/schematics/commit/a7207671d2a7d5b668aa0daaf346ca4393447a90))
|
|
91
67
|
|
|
92
68
|
# [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)
|
|
93
69
|
|
|
94
|
-
|
|
95
70
|
### chore
|
|
96
71
|
|
|
97
|
-
|
|
98
|
-
|
|
72
|
+
- upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
|
|
99
73
|
|
|
100
74
|
### BREAKING CHANGES
|
|
101
75
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
76
|
+
- upgrade to 14.x.x
|
|
107
77
|
|
|
108
78
|
## [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)
|
|
109
79
|
|
|
@@ -115,198 +85,108 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
115
85
|
|
|
116
86
|
## [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)
|
|
117
87
|
|
|
118
|
-
|
|
119
88
|
### Bug Fixes
|
|
120
89
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
90
|
+
- remove rxap/utilitiesdependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
|
|
126
91
|
|
|
127
92
|
## [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)
|
|
128
93
|
|
|
129
94
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
130
95
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
96
|
# [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)
|
|
136
97
|
|
|
137
98
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
138
99
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
100
|
# [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)
|
|
144
101
|
|
|
145
|
-
|
|
146
102
|
### Build System
|
|
147
103
|
|
|
148
|
-
|
|
149
|
-
|
|
104
|
+
- upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
|
|
150
105
|
|
|
151
106
|
### BREAKING CHANGES
|
|
152
107
|
|
|
153
|
-
|
|
108
|
+
- update the core nrwl packages to 13.x.x
|
|
154
109
|
|
|
155
110
|
Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
156
111
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
112
|
# [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)
|
|
162
113
|
|
|
163
|
-
|
|
164
114
|
### Features
|
|
165
115
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
116
|
+
- **type-element:** expose the type propertyaccessor ([b64f710](https://gitlab.com/rxap/schematics/commit/b64f7104025aa808e14bb352cfcaa30bc31c42f0))
|
|
171
117
|
|
|
172
118
|
## [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)
|
|
173
119
|
|
|
174
|
-
|
|
175
120
|
### Bug Fixes
|
|
176
121
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
122
|
+
- add missing peerdependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
|
|
182
123
|
|
|
183
124
|
# [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)
|
|
184
125
|
|
|
185
126
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
186
127
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
128
|
# [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)
|
|
192
129
|
|
|
193
|
-
|
|
194
130
|
### Features
|
|
195
131
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
132
|
+
- add TypeElementclasses ([775f0c1](https://gitlab.com/rxap/schematics/commit/775f0c11c145881f61ac1964e334b29677647810))
|
|
201
133
|
|
|
202
134
|
# [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)
|
|
203
135
|
|
|
204
|
-
|
|
205
136
|
### Features
|
|
206
137
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
138
|
+
- **parse-template:** support multiple base templatepaths ([24773c4](https://gitlab.com/rxap/schematics/commit/24773c426793a0840db06774633be9ccd6383682))
|
|
212
139
|
|
|
213
140
|
## [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)
|
|
214
141
|
|
|
215
142
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
216
143
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
144
|
## [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)
|
|
222
145
|
|
|
223
146
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
224
147
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
148
|
## [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)
|
|
230
149
|
|
|
231
150
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
232
151
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
152
|
## [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)
|
|
238
153
|
|
|
239
154
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
240
155
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
156
|
## [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)
|
|
246
157
|
|
|
247
158
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
248
159
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
160
|
## [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)
|
|
254
161
|
|
|
255
|
-
|
|
256
162
|
### Bug Fixes
|
|
257
163
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
164
|
+
- set correct peerDependencies anddependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
|
|
263
165
|
|
|
264
166
|
## 12.0.3 (2021-06-14)
|
|
265
167
|
|
|
266
168
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
267
169
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
170
|
## [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)
|
|
273
171
|
|
|
274
172
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
275
173
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
174
|
## [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)
|
|
281
175
|
|
|
282
176
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
283
177
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
178
|
# [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)
|
|
289
179
|
|
|
290
180
|
**Note:** Version bump only for package @rxap/schematics-xml-parser
|
|
291
181
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
182
|
## [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)
|
|
297
183
|
|
|
298
|
-
|
|
299
184
|
### Bug Fixes
|
|
300
185
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
186
|
+
- update build target toes6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
|
|
306
187
|
|
|
307
188
|
# 11.1.0 (2021-04-26)
|
|
308
189
|
|
|
309
|
-
|
|
310
190
|
### Features
|
|
311
191
|
|
|
312
|
-
|
|
192
|
+
- split the @rxap/schematics-utilities into ts-morph, html andxml-parser ([8312bc2](https://gitlab.com/rxap/schematics/commit/8312bc2c11d1b15e57185726b62d3b80acf135f9))
|
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@rxap/schematics-xml-parser
|
|
2
|
-
======
|
|
1
|
+
# @rxap/schematics-xml-parser
|
|
3
2
|
|
|
4
3
|
[](https://www.npmjs.com/package/@rxap/schematics-xml-parser)
|
|
5
4
|
[](https://commitizen.github.io/cz-cli/)
|
|
@@ -8,13 +7,15 @@
|
|
|
8
7
|

|
|
9
8
|

|
|
10
9
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
10
|
- [Installation](#installation)
|
|
14
11
|
|
|
15
12
|
# Installation
|
|
16
13
|
|
|
14
|
+
**Add the package to your workspace:**
|
|
15
|
+
```bash
|
|
16
|
+
yarn add @rxap/schematics-xml-parser
|
|
17
17
|
```
|
|
18
|
-
|
|
18
|
+
**Install peer dependencies:**
|
|
19
|
+
```bash
|
|
20
|
+
yarn add
|
|
19
21
|
```
|
|
20
|
-
|
package/package.json
CHANGED
|
@@ -1,49 +1,66 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/schematics-xml-parser",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
3
|
+
"version": "16.0.0-dev.5",
|
|
4
|
+
"type": "commonjs",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular-devkit/core": "^16.1.4",
|
|
7
|
+
"@angular-devkit/schematics": "^16.1.4",
|
|
8
|
+
"@rxap/schematics-ts-morph": "^16.0.0-dev.4",
|
|
9
|
+
"@rxap/schematics-utilities": "^16.0.0-dev.4",
|
|
10
|
+
"@rxap/xml-parser": "^16.0.0-dev.3",
|
|
11
|
+
"ts-morph": "^18.0.0",
|
|
12
|
+
"@rxap/mixin": "16.0.0-dev.4",
|
|
13
|
+
"@rxap/node-utilities": "1.0.1-dev.1",
|
|
14
|
+
"@rxap/reflect-metadata": "1.0.1-dev.0",
|
|
15
|
+
"@rxap/utilities": "16.0.0-dev.3",
|
|
16
|
+
"@types/xmldom": "0.1.31",
|
|
17
|
+
"handlebars": "4.7.7"
|
|
18
|
+
},
|
|
4
19
|
"dependencies": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
20
|
+
"reflect-metadata": "0.1.13",
|
|
21
|
+
"semver": "7.5.3",
|
|
22
|
+
"tslib": "2.5.3",
|
|
23
|
+
"xmldom": "0.6.0"
|
|
7
24
|
},
|
|
8
25
|
"publishConfig": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
26
|
+
"access": "public",
|
|
27
|
+
"directory": "../../../dist/packages/schematic/xml-parser"
|
|
11
28
|
},
|
|
12
|
-
"main": "src/index.js",
|
|
13
|
-
"license": "GPL-3.0",
|
|
14
29
|
"keywords": [
|
|
15
|
-
"rxap"
|
|
16
|
-
"angular",
|
|
17
|
-
"schematics",
|
|
18
|
-
"xml-parser"
|
|
30
|
+
"rxap"
|
|
19
31
|
],
|
|
20
|
-
"
|
|
21
|
-
"save": "devDependencies"
|
|
22
|
-
},
|
|
23
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
24
|
-
"homepage": "https://gitlab.com/rxap/schematics",
|
|
25
|
-
"author": "Merzough Münker",
|
|
26
|
-
"private": false,
|
|
32
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/schematic/xml-parser",
|
|
27
33
|
"bugs": {
|
|
28
|
-
"url": "https://gitlab.com/rxap/
|
|
34
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
29
35
|
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
30
36
|
},
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"@rxap/xml-parser"
|
|
37
|
-
],
|
|
38
|
-
"migrations": "./migration.json"
|
|
37
|
+
"license": "GPL-3.0-or-later",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
41
|
+
"directory": "packages/schematic/xml-parser"
|
|
39
42
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
43
|
+
"author": {
|
|
44
|
+
"name": "Merzough Münker",
|
|
45
|
+
"email": "mmuenker@digitaix.com"
|
|
46
|
+
},
|
|
47
|
+
"nx-migrations": {
|
|
48
|
+
"packageGroup": [
|
|
49
|
+
{
|
|
50
|
+
"package": "@rxap/schematics-ts-morph",
|
|
51
|
+
"version": "16.0.0-dev.4"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"package": "@rxap/schematics-utilities",
|
|
55
|
+
"version": "16.0.0-dev.4"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"package": "@rxap/xml-parser",
|
|
59
|
+
"version": "16.0.0-dev.3"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
47
62
|
},
|
|
63
|
+
"gitHead": "9ad96f2d4db9225ab199d03fc172efff52609d5d",
|
|
64
|
+
"main": "./src/index.js",
|
|
48
65
|
"types": "./src/index.d.ts"
|
|
49
66
|
}
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/schematic/xml-parser/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB;AACtB,yDAA+B;AAC/B,iEAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/xml-parser/src/lib/elements/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,yDAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/xml-parser/src/lib/elements/methods/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,oDAA0B;AAC1B,2EAAiD"}
|
|
@@ -10,7 +10,7 @@ export declare class MethodElement implements ParsedElement<string>, IMethodElem
|
|
|
10
10
|
from?: string;
|
|
11
11
|
mock?: boolean;
|
|
12
12
|
parameterType?: TypeElement;
|
|
13
|
-
toValue({ sourceFile, project }: {
|
|
13
|
+
toValue({ sourceFile, project, }: {
|
|
14
14
|
sourceFile: SourceFile;
|
|
15
15
|
} & ToValueContext): string;
|
|
16
16
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MethodElement = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const xml_parser_1 = require("@rxap/xml-parser");
|
|
6
6
|
const path_1 = require("path");
|
|
7
7
|
const core_1 = require("@angular-devkit/core");
|
|
8
8
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
9
9
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
10
10
|
const type_element_1 = require("../type.element");
|
|
11
|
-
const { dasherize, classify, camelize } = core_1.strings;
|
|
12
|
-
let MethodElement = class MethodElement {
|
|
13
|
-
toValue({ sourceFile, project }) {
|
|
11
|
+
const { dasherize, classify, camelize, } = core_1.strings;
|
|
12
|
+
let MethodElement = exports.MethodElement = class MethodElement {
|
|
13
|
+
toValue({ sourceFile, project, }) {
|
|
14
14
|
if (this.from) {
|
|
15
15
|
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
16
16
|
namedImports: [this.name],
|
|
17
|
-
moduleSpecifier: this.from
|
|
17
|
+
moduleSpecifier: this.from,
|
|
18
18
|
});
|
|
19
19
|
return this.name;
|
|
20
20
|
}
|
|
@@ -34,24 +34,23 @@ let MethodElement = class MethodElement {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
tslib_1.__decorate([
|
|
37
|
-
(0,
|
|
38
|
-
(0,
|
|
37
|
+
(0, xml_parser_1.ElementTextContent)(),
|
|
38
|
+
(0, xml_parser_1.ElementRequired)(),
|
|
39
39
|
tslib_1.__metadata("design:type", String)
|
|
40
40
|
], MethodElement.prototype, "name", void 0);
|
|
41
41
|
tslib_1.__decorate([
|
|
42
|
-
(0,
|
|
42
|
+
(0, xml_parser_1.ElementAttribute)(),
|
|
43
43
|
tslib_1.__metadata("design:type", String)
|
|
44
44
|
], MethodElement.prototype, "from", void 0);
|
|
45
45
|
tslib_1.__decorate([
|
|
46
|
-
(0,
|
|
46
|
+
(0, xml_parser_1.ElementAttribute)(),
|
|
47
47
|
tslib_1.__metadata("design:type", Boolean)
|
|
48
48
|
], MethodElement.prototype, "mock", void 0);
|
|
49
49
|
tslib_1.__decorate([
|
|
50
|
-
(0,
|
|
50
|
+
(0, xml_parser_1.ElementChild)(type_element_1.TypeElement),
|
|
51
51
|
tslib_1.__metadata("design:type", type_element_1.TypeElement)
|
|
52
52
|
], MethodElement.prototype, "parameterType", void 0);
|
|
53
|
-
MethodElement = tslib_1.__decorate([
|
|
54
|
-
(0,
|
|
53
|
+
exports.MethodElement = MethodElement = tslib_1.__decorate([
|
|
54
|
+
(0, xml_parser_1.ElementDef)('method')
|
|
55
55
|
], MethodElement);
|
|
56
|
-
exports.MethodElement = MethodElement;
|
|
57
56
|
//# sourceMappingURL=method.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.element.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"method.element.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/xml-parser/src/lib/elements/methods/method.element.ts"],"names":[],"mappings":";;;;AAAA,iDAO0B;AAE1B,+BAA4B;AAC5B,+CAA+C;AAC/C,qEAA0D;AAC1D,mEAMmC;AACnC,kDAA8C;AAE9C,MAAM,EACJ,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,GAAG,cAAO,CAAC;AAOL,IAAM,aAAa,2BAAnB,MAAM,aAAa;IAejB,OAAO,CAAC,EACE,UAAU,EACV,OAAO,GACqC;QAC3D,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAA,mCAAa,EAAC,UAAU,EAAE;gBACxB,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,GAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAE,YAAY,CAAC,CAAC;YACjH,MAAM,gBAAgB,GAAG,IAAA,sCAAgB,EAAC,OAAO,EAAE,cAAc,CAAC,CAAC;YACnE,MAAM,aAAa,GAA0B;gBAC3C,UAAU,EAAE,CAAE,gBAAiB,SAAS,CAAC,UAAU,CAAE,iBAAiB,CAAE;aACzE,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;AApCQ;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;oDAAC;wBAbxB,aAAa;IADzB,IAAA,uBAAU,EAAC,QAAQ,CAAC;GACR,aAAa,CAwCzB"}
|
|
@@ -5,6 +5,6 @@ const method_element_1 = require("./method.element");
|
|
|
5
5
|
const open_api_remote_method_element_1 = require("./open-api-remote-method.element");
|
|
6
6
|
exports.Methods = [
|
|
7
7
|
method_element_1.MethodElement,
|
|
8
|
-
open_api_remote_method_element_1.OpenApiRemoteMethodElement
|
|
8
|
+
open_api_remote_method_element_1.OpenApiRemoteMethodElement,
|
|
9
9
|
];
|
|
10
10
|
//# sourceMappingURL=methods.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"methods.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"methods.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/xml-parser/src/lib/elements/methods/methods.ts"],"names":[],"mappings":";;;AAEA,qDAAiD;AACjD,qFAA8E;AAEjE,QAAA,OAAO,GAAsC;IACxD,8BAAa;IACb,2DAA0B;CAC3B,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { IMethodElement } from './method.element';
|
|
|
4
4
|
export declare class OpenApiRemoteMethodElement implements ParsedElement<string>, IMethodElement {
|
|
5
5
|
name: string;
|
|
6
6
|
mock?: boolean;
|
|
7
|
-
toValue({ sourceFile, options }: {
|
|
7
|
+
toValue({ sourceFile, options, }: {
|
|
8
8
|
sourceFile: SourceFile;
|
|
9
9
|
options: {
|
|
10
10
|
openApiModule?: string;
|
|
@@ -2,36 +2,35 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OpenApiRemoteMethodElement = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const xml_parser_1 = require("@rxap/xml-parser");
|
|
6
6
|
const core_1 = require("@angular-devkit/core");
|
|
7
7
|
const method_element_1 = require("./method.element");
|
|
8
8
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
9
|
-
const { dasherize, classify, camelize } = core_1.strings;
|
|
10
|
-
let OpenApiRemoteMethodElement = class OpenApiRemoteMethodElement {
|
|
11
|
-
toValue({ sourceFile, options }) {
|
|
9
|
+
const { dasherize, classify, camelize, } = core_1.strings;
|
|
10
|
+
let OpenApiRemoteMethodElement = exports.OpenApiRemoteMethodElement = class OpenApiRemoteMethodElement {
|
|
11
|
+
toValue({ sourceFile, options, }) {
|
|
12
12
|
const openApiRemoteMethodName = classify(this.name) + 'RemoteMethod';
|
|
13
13
|
if (!options.openApiModule) {
|
|
14
14
|
throw new Error('The open api module is not defined!');
|
|
15
15
|
}
|
|
16
16
|
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
17
17
|
namedImports: [openApiRemoteMethodName],
|
|
18
|
-
moduleSpecifier: `${options.openApiModule}/remote-methods/${dasherize(this.name)}.remote-method
|
|
18
|
+
moduleSpecifier: `${options.openApiModule}/remote-methods/${dasherize(this.name)}.remote-method`,
|
|
19
19
|
});
|
|
20
20
|
return openApiRemoteMethodName;
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
tslib_1.__decorate([
|
|
24
|
-
(0,
|
|
25
|
-
(0,
|
|
24
|
+
(0, xml_parser_1.ElementTextContent)(),
|
|
25
|
+
(0, xml_parser_1.ElementRequired)(),
|
|
26
26
|
tslib_1.__metadata("design:type", String)
|
|
27
27
|
], OpenApiRemoteMethodElement.prototype, "name", void 0);
|
|
28
28
|
tslib_1.__decorate([
|
|
29
|
-
(0,
|
|
29
|
+
(0, xml_parser_1.ElementAttribute)(),
|
|
30
30
|
tslib_1.__metadata("design:type", Boolean)
|
|
31
31
|
], OpenApiRemoteMethodElement.prototype, "mock", void 0);
|
|
32
|
-
OpenApiRemoteMethodElement = tslib_1.__decorate([
|
|
33
|
-
(0,
|
|
34
|
-
(0,
|
|
32
|
+
exports.OpenApiRemoteMethodElement = OpenApiRemoteMethodElement = tslib_1.__decorate([
|
|
33
|
+
(0, xml_parser_1.ElementExtends)(method_element_1.MethodElement),
|
|
34
|
+
(0, xml_parser_1.ElementDef)('open-api-remote-method')
|
|
35
35
|
], OpenApiRemoteMethodElement);
|
|
36
|
-
exports.OpenApiRemoteMethodElement = OpenApiRemoteMethodElement;
|
|
37
36
|
//# sourceMappingURL=open-api-remote-method.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-api-remote-method.element.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"open-api-remote-method.element.js","sourceRoot":"","sources":["../../../../../../../../packages/schematic/xml-parser/src/lib/elements/methods/open-api-remote-method.element.ts"],"names":[],"mappings":";;;;AAAA,iDAO0B;AAE1B,+CAA+C;AAC/C,qDAG0B;AAC1B,mEAA0D;AAE1D,MAAM,EACJ,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,GAAG,cAAO,CAAC;AAIL,IAAM,0BAA0B,wCAAhC,MAAM,0BAA0B;IAS9B,OAAO,CAAC,EACE,UAAU,EACV,OAAO,GACyD;QAE/E,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,EAAE;YACxB,YAAY,EAAE,CAAE,uBAAuB,CAAE;YACzC,eAAe,EAAE,GAAI,OAAO,CAAC,aAAc,mBAAoB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAE,gBAAgB;SACrG,CAAC,CAAC;QAEH,OAAO,uBAAuB,CAAC;IAEjC,CAAC;CAEF,CAAA;AAzBQ;IAFN,IAAA,+BAAkB,GAAE;IACpB,IAAA,4BAAe,GAAE;;wDACG;AAGd;IADN,IAAA,6BAAgB,GAAE;;wDACG;qCAPX,0BAA0B;IAFtC,IAAA,2BAAc,EAAC,8BAAa,CAAC;IAC7B,IAAA,uBAAU,EAAC,wBAAwB,CAAC;GACxB,0BAA0B,CA6BtC"}
|