@rxap/schematics-xml-parser 16.0.0-dev.3 → 16.0.0-dev.4

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 CHANGED
@@ -3,107 +3,71 @@
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.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
-
6
+ # [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)
8
7
 
9
- ### Features
10
-
11
- * use the CoerceImports function for all imports ([901a68a](https://gitlab.com/rxap/packages/commit/901a68a4fcb81d691573ea4ad20412b40cea3ec4))
8
+ ### Bug Fixes
12
9
 
10
+ - restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
13
11
 
12
+ # [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)
14
13
 
14
+ ### Features
15
15
 
16
+ - use the CoerceImports function for allimports ([901a68a](https://gitlab.com/rxap/packages/commit/901a68a4fcb81d691573ea4ad20412b40cea3ec4))
16
17
 
17
18
  # [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
 
19
-
20
20
  ### Bug Fixes
21
21
 
22
- * remove deprecated pack target concept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
23
-
24
-
25
-
26
-
22
+ - remove deprecated pack targetconcept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
27
23
 
28
24
  # [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
25
 
30
-
31
26
  ### Bug Fixes
32
27
 
33
- * **deps:** update rxap packages to 16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
34
-
35
-
36
-
37
-
28
+ - **deps:** update rxap packages to16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
38
29
 
39
30
  # [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
31
 
41
-
42
32
  ### chore
43
33
 
44
- * upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
45
-
34
+ - upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
46
35
 
47
36
  ### BREAKING CHANGES
48
37
 
49
- * upgrade to 16.x.x
50
-
51
-
52
-
53
-
38
+ - upgrade to 16.x.x
54
39
 
55
40
  # [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
41
 
57
-
58
42
  ### chore
59
43
 
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))
62
-
44
+ - upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/schematics/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
45
+ - upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/schematics/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
63
46
 
64
47
  ### BREAKING CHANGES
65
48
 
66
- * upgrade nrwl 15.x.x
67
- * upgrade nrwl 15.x.x
68
-
69
-
70
-
71
-
49
+ - upgrade nrwl 15.x.x
50
+ - upgrade nrwl 15.x.x
72
51
 
73
52
  ## [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
53
 
75
54
  **Note:** Version bump only for package @rxap/schematics-xml-parser
76
55
 
77
-
78
-
79
-
80
-
81
56
  ## [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
57
 
83
-
84
58
  ### Bug Fixes
85
59
 
86
- * upgrade all rxap packages to 14.x.x ([a720767](https://gitlab.com/rxap/schematics/commit/a7207671d2a7d5b668aa0daaf346ca4393447a90))
87
-
88
-
89
-
90
-
60
+ - upgrade all rxap packages to14.x.x ([a720767](https://gitlab.com/rxap/schematics/commit/a7207671d2a7d5b668aa0daaf346ca4393447a90))
91
61
 
92
62
  # [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
63
 
94
-
95
64
  ### chore
96
65
 
97
- * upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
98
-
66
+ - upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
99
67
 
100
68
  ### BREAKING CHANGES
101
69
 
102
- * upgrade to 14.x.x
103
-
104
-
105
-
106
-
70
+ - upgrade to 14.x.x
107
71
 
108
72
  ## [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
73
 
@@ -115,198 +79,108 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
115
79
 
116
80
  ## [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
81
 
118
-
119
82
  ### Bug Fixes
120
83
 
121
- * remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
122
-
123
-
124
-
125
-
84
+ - remove rxap/utilitiesdependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
126
85
 
127
86
  ## [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
87
 
129
88
  **Note:** Version bump only for package @rxap/schematics-xml-parser
130
89
 
131
-
132
-
133
-
134
-
135
90
  # [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
91
 
137
92
  **Note:** Version bump only for package @rxap/schematics-xml-parser
138
93
 
139
-
140
-
141
-
142
-
143
94
  # [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
95
 
145
-
146
96
  ### Build System
147
97
 
148
- * upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
149
-
98
+ - upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
150
99
 
151
100
  ### BREAKING CHANGES
152
101
 
153
- * update the core nrwl packages to 13.x.x
102
+ - update the core nrwl packages to 13.x.x
154
103
 
155
104
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
156
105
 
157
-
158
-
159
-
160
-
161
106
  # [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
107
 
163
-
164
108
  ### Features
165
109
 
166
- * **type-element:** expose the type property accessor ([b64f710](https://gitlab.com/rxap/schematics/commit/b64f7104025aa808e14bb352cfcaa30bc31c42f0))
167
-
168
-
169
-
170
-
110
+ - **type-element:** expose the type propertyaccessor ([b64f710](https://gitlab.com/rxap/schematics/commit/b64f7104025aa808e14bb352cfcaa30bc31c42f0))
171
111
 
172
112
  ## [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
113
 
174
-
175
114
  ### Bug Fixes
176
115
 
177
- * add missing peer dependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
178
-
179
-
180
-
181
-
116
+ - add missing peerdependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
182
117
 
183
118
  # [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
119
 
185
120
  **Note:** Version bump only for package @rxap/schematics-xml-parser
186
121
 
187
-
188
-
189
-
190
-
191
122
  # [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
123
 
193
-
194
124
  ### Features
195
125
 
196
- * add TypeElement classes ([775f0c1](https://gitlab.com/rxap/schematics/commit/775f0c11c145881f61ac1964e334b29677647810))
197
-
198
-
199
-
200
-
126
+ - add TypeElementclasses ([775f0c1](https://gitlab.com/rxap/schematics/commit/775f0c11c145881f61ac1964e334b29677647810))
201
127
 
202
128
  # [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
129
 
204
-
205
130
  ### Features
206
131
 
207
- * **parse-template:** support multiple base template paths ([24773c4](https://gitlab.com/rxap/schematics/commit/24773c426793a0840db06774633be9ccd6383682))
208
-
209
-
210
-
211
-
132
+ - **parse-template:** support multiple base templatepaths ([24773c4](https://gitlab.com/rxap/schematics/commit/24773c426793a0840db06774633be9ccd6383682))
212
133
 
213
134
  ## [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
135
 
215
136
  **Note:** Version bump only for package @rxap/schematics-xml-parser
216
137
 
217
-
218
-
219
-
220
-
221
138
  ## [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
139
 
223
140
  **Note:** Version bump only for package @rxap/schematics-xml-parser
224
141
 
225
-
226
-
227
-
228
-
229
142
  ## [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
143
 
231
144
  **Note:** Version bump only for package @rxap/schematics-xml-parser
232
145
 
233
-
234
-
235
-
236
-
237
146
  ## [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
147
 
239
148
  **Note:** Version bump only for package @rxap/schematics-xml-parser
240
149
 
241
-
242
-
243
-
244
-
245
150
  ## [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
151
 
247
152
  **Note:** Version bump only for package @rxap/schematics-xml-parser
248
153
 
249
-
250
-
251
-
252
-
253
154
  ## [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
155
 
255
-
256
156
  ### Bug Fixes
257
157
 
258
- * set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
259
-
260
-
261
-
262
-
158
+ - set correct peerDependencies anddependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
263
159
 
264
160
  ## 12.0.3 (2021-06-14)
265
161
 
266
162
  **Note:** Version bump only for package @rxap/schematics-xml-parser
267
163
 
268
-
269
-
270
-
271
-
272
164
  ## [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
165
 
274
166
  **Note:** Version bump only for package @rxap/schematics-xml-parser
275
167
 
276
-
277
-
278
-
279
-
280
168
  ## [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
169
 
282
170
  **Note:** Version bump only for package @rxap/schematics-xml-parser
283
171
 
284
-
285
-
286
-
287
-
288
172
  # [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
173
 
290
174
  **Note:** Version bump only for package @rxap/schematics-xml-parser
291
175
 
292
-
293
-
294
-
295
-
296
176
  ## [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
177
 
298
-
299
178
  ### Bug Fixes
300
179
 
301
- * update build target to es6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
302
-
303
-
304
-
305
-
180
+ - update build target toes6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
306
181
 
307
182
  # 11.1.0 (2021-04-26)
308
183
 
309
-
310
184
  ### Features
311
185
 
312
- * split the @rxap/schematics-utilities into ts-morph, html and xml-parser ([8312bc2](https://gitlab.com/rxap/schematics/commit/8312bc2c11d1b15e57185726b62d3b80acf135f9))
186
+ - 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
  [![npm version](https://img.shields.io/npm/v/@rxap/schematics-xml-parser?style=flat-square)](https://www.npmjs.com/package/@rxap/schematics-xml-parser)
5
4
  [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
@@ -8,13 +7,15 @@
8
7
  ![npm](https://img.shields.io/npm/dm/@rxap/schematics-xml-parser)
9
8
  ![NPM](https://img.shields.io/npm/l/@rxap/schematics-xml-parser)
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
- 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
18
+ **Install peer dependencies:**
19
+ ```bash
20
+ yarn add
19
21
  ```
20
-
package/package.json CHANGED
@@ -1,49 +1,64 @@
1
1
  {
2
2
  "name": "@rxap/schematics-xml-parser",
3
- "version": "16.0.0-dev.3",
3
+ "version": "16.0.0-dev.4",
4
+ "type": "commonjs",
5
+ "peerDependencies": {
6
+ "@angular-devkit/core": "^16.0.0",
7
+ "@angular-devkit/schematics": "^16.0.0",
8
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.3",
9
+ "@rxap/schematics-utilities": "^16.0.0-dev.3",
10
+ "@rxap/xml-parser": "^16.0.0-dev.3",
11
+ "ts-morph": "^18.0.0",
12
+ "@rxap/mixin": "16.0.0-dev.3",
13
+ "@rxap/reflect-metadata": "1.0.1-dev.0",
14
+ "@rxap/utilities": "16.0.0-dev.2",
15
+ "@types/xmldom": "0.1.31",
16
+ "handlebars": "4.7.7"
17
+ },
4
18
  "dependencies": {
5
- "semver": "^7.3.5",
6
- "tslib": "^2.3.1"
19
+ "reflect-metadata": "0.1.13",
20
+ "semver": "7.5.3",
21
+ "tslib": "2.5.3",
22
+ "xmldom": "0.6.0"
7
23
  },
8
24
  "publishConfig": {
9
- "directory": "../../dist/libs/xml-parser",
10
- "access": "public"
25
+ "access": "public",
26
+ "directory": "../../../dist/packages/schematic/xml-parser"
11
27
  },
12
- "main": "src/index.js",
13
- "license": "GPL-3.0",
14
28
  "keywords": [
15
- "rxap",
16
- "angular",
17
- "schematics",
18
- "xml-parser"
29
+ "rxap"
19
30
  ],
20
- "ng-add": {
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,
31
+ "homepage": "https:/gitlab.com/rxap/packages/packages/schematic/xml-parser",
27
32
  "bugs": {
28
- "url": "https://gitlab.com/rxap/plugins/-/issues",
33
+ "url": "https://gitlab.com/rxap/packages/-/issues",
29
34
  "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
30
35
  },
31
- "ng-update": {
32
- "packageGroup": [
33
- "@rxap/schematics-ts-morph",
34
- "@rxap/schematics-utilities",
35
- "@rxap/schematics-xml-parser",
36
- "@rxap/xml-parser"
37
- ],
38
- "migrations": "./migration.json"
36
+ "license": "GPL-3.0-or-later",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://gitlab.com/rxap/packages.git",
40
+ "directory": "packages/schematic/xml-parser"
39
41
  },
40
- "peerDependencies": {
41
- "@angular-devkit/core": "^16.0.2",
42
- "@angular-devkit/schematics": "^16.0.2",
43
- "@rxap/schematics-ts-morph": "^16.0.0-dev.2",
44
- "@rxap/schematics-utilities": "^16.0.0-dev.2",
45
- "@rxap/xml-parser": "^16.0.0-dev.0",
46
- "ts-morph": "^13.0.3"
42
+ "author": {
43
+ "name": "Merzough Münker",
44
+ "email": "mmuenker@digitaix.com"
45
+ },
46
+ "nx-migrations": {
47
+ "packageGroup": [
48
+ {
49
+ "package": "@rxap/schematics-ts-morph",
50
+ "version": "16.0.0-dev.3"
51
+ },
52
+ {
53
+ "package": "@rxap/schematics-utilities",
54
+ "version": "16.0.0-dev.3"
55
+ },
56
+ {
57
+ "package": "@rxap/xml-parser",
58
+ "version": "16.0.0-dev.3"
59
+ }
60
+ ]
47
61
  },
62
+ "main": "./src/index.js",
48
63
  "types": "./src/index.d.ts"
49
64
  }
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,gDAAsB;AACtB,yDAA+B;AAC/B,iEAAuC"}
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":["../../../../../../libs/xml-parser/src/lib/elements/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,yDAA+B"}
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":["../../../../../../../libs/xml-parser/src/lib/elements/methods/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,oDAA0B;AAC1B,2EAAiD"}
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 decorators_1 = require("@rxap/xml-parser/decorators");
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, decorators_1.ElementTextContent)(),
38
- (0, decorators_1.ElementRequired)(),
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, decorators_1.ElementAttribute)(),
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, decorators_1.ElementAttribute)(),
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, decorators_1.ElementChild)(type_element_1.TypeElement),
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, decorators_1.ElementDef)('method')
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":["../../../../../../../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"}
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":["../../../../../../../libs/xml-parser/src/lib/elements/methods/methods.ts"],"names":[],"mappings":";;;AAEA,qDAAiD;AACjD,qFAA8E;AAEjE,QAAA,OAAO,GAAsC;IACxD,8BAAa;IACb,2DAA0B;CAC3B,CAAC"}
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 decorators_1 = require("@rxap/xml-parser/decorators");
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, decorators_1.ElementTextContent)(),
25
- (0, decorators_1.ElementRequired)(),
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, decorators_1.ElementAttribute)(),
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, decorators_1.ElementExtends)(method_element_1.MethodElement),
34
- (0, decorators_1.ElementDef)('open-api-remote-method')
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":["../../../../../../../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"}
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"}
@@ -1,12 +1,12 @@
1
1
  import { ParsedElement } from '@rxap/xml-parser';
2
2
  import { Rule } from '@angular-devkit/schematics';
3
3
  import { SourceFile } from 'ts-morph';
4
- import { ToValueContext, HandleComponentModule } from '@rxap/schematics-ts-morph';
4
+ import { HandleComponentModule, ToValueContext } from '@rxap/schematics-ts-morph';
5
5
  export declare class ModuleElement implements ParsedElement<Rule>, HandleComponentModule {
6
6
  name: string;
7
7
  form?: string;
8
- handleComponentModule({ sourceFile, project, options }: ToValueContext & {
8
+ handleComponentModule({ sourceFile, project, options, }: ToValueContext & {
9
9
  sourceFile: SourceFile;
10
10
  }): void;
11
- toValue({ project, options }: ToValueContext): Rule;
11
+ toValue({ project, options, }: ToValueContext): Rule;
12
12
  }