@rxap/schematic-angular 19.0.4-dev.2 → 19.1.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +6 -6
  3. package/src/lib/backend/nest-js-backend-options.d.ts +5 -0
  4. package/src/lib/backend/nest-js-backend-options.js +2 -2
  5. package/src/lib/backend/nest-js-backend-options.js.map +1 -1
  6. package/src/schema.json +6 -0
  7. package/src/schematics/accordion/accordion-component/schema.json +6 -0
  8. package/src/schematics/accordion/accordion-item-component/schema.json +6 -0
  9. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +6 -0
  10. package/src/schematics/accordion/item/accordion-item-nested-component/schema.json +6 -0
  11. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +6 -0
  12. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +6 -0
  13. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +6 -0
  14. package/src/schematics/backend.schema.json +3 -0
  15. package/src/schematics/data-grid-component/schema.json +6 -0
  16. package/src/schematics/dialog-component/schema.json +6 -0
  17. package/src/schematics/form/control/autocomplete-form-control/schema.json +6 -0
  18. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +6 -0
  19. package/src/schematics/form/control/date-form-control/schema.json +6 -0
  20. package/src/schematics/form/control/input-form-control/schema.json +6 -0
  21. package/src/schematics/form/control/select-form-control/schema.json +6 -0
  22. package/src/schematics/form/control/table-select-form-control/schema.json +6 -0
  23. package/src/schematics/form/form-array/schema.json +6 -0
  24. package/src/schematics/form/form-component/schema.json +6 -0
  25. package/src/schematics/form/form-control/schema.json +6 -0
  26. package/src/schematics/form/form-definition/schema.json +6 -0
  27. package/src/schematics/form/form-group/schema.json +6 -0
  28. package/src/schematics/route-component/schema.json +6 -0
  29. package/src/schematics/table/action/dialog-table-action/schema.json +6 -0
  30. package/src/schematics/table/action/form-table-action/schema.json +6 -0
  31. package/src/schematics/table/action/navigation-table-action/schema.json +6 -0
  32. package/src/schematics/table/action/open-api-table-action/schema.json +6 -0
  33. package/src/schematics/table/action/operation-table-action/schema.json +6 -0
  34. package/src/schematics/table/header-button/form-table-header-button/schema.json +6 -0
  35. package/src/schematics/table/header-button/method-table-header-button/schema.json +6 -0
  36. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +6 -0
  37. package/src/schematics/table/table-action/schema.json +6 -0
  38. package/src/schematics/table/table-component/schema.json +6 -0
  39. package/src/schematics/table/table-header-button/schema.json +6 -0
  40. package/src/schematics/table/tree-table-component/schema.json +6 -0
  41. package/src/schematics/tree-component/schema.json +6 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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
+ # [19.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@19.1.0-dev.0...@rxap/schematic-angular@19.1.0-dev.1) (2025-04-02)
7
+
8
+ **Note:** Version bump only for package @rxap/schematic-angular
9
+
10
+ # [19.1.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@19.0.4-dev.2...@rxap/schematic-angular@19.1.0-dev.0) (2025-03-26)
11
+
12
+ ### Features
13
+
14
+ - **backend:** add serverId option for OpenAPI client SDK ([f0142a8](https://gitlab.com/rxap/packages/commit/f0142a8e2bf7f64e90daa896219405263ff85407))
15
+
6
16
  ## [19.0.4-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@19.0.4-dev.1...@rxap/schematic-angular@19.0.4-dev.2) (2025-03-26)
7
17
 
8
18
  **Note:** Version bump only for package @rxap/schematic-angular
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "19.0.4-dev.2",
2
+ "version": "19.1.0-dev.1",
3
3
  "name": "@rxap/schematic-angular",
4
4
  "description": "Provides schematics for generating Angular components, services, and related files, particularly focused on creating tables, forms, data grids, and accordions with NestJS integration. It offers tools for generating UI elements with backend connectivity, including data sources, methods, and form handling. This package aims to streamline the development of data-driven Angular applications with a focus on material design and backend integration.\n",
5
5
  "license": "GPL-3.0-or-later",
@@ -7,12 +7,12 @@
7
7
  "@angular-devkit/core": "19.2.1",
8
8
  "@angular-devkit/schematics": "19.2.1",
9
9
  "@nx/devkit": "20.5.0",
10
- "@rxap/schematics-ts-morph": "^19.0.4-dev.2",
11
- "@rxap/schematics-utilities": "^19.0.4-dev.1",
10
+ "@rxap/schematics-ts-morph": "^19.1.0-dev.1",
11
+ "@rxap/schematics-utilities": "^19.0.4-dev.3",
12
12
  "@rxap/ts-morph": "^1.5.5-dev.0",
13
13
  "@rxap/utilities": "^16.4.4-dev.0",
14
- "@rxap/workspace-ts-morph": "^19.1.12-dev.1",
15
- "@rxap/workspace-utilities": "^19.8.0-dev.1",
14
+ "@rxap/workspace-ts-morph": "^19.1.12-dev.3",
15
+ "@rxap/workspace-utilities": "^19.8.0-dev.3",
16
16
  "colors": "1.4.0",
17
17
  "handlebars": "^4.7.8",
18
18
  "ts-morph": "18.0.0",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "schematics": "./collection.json",
47
47
  "type": "commonjs",
48
- "gitHead": "e54bcf8b0a12cc8b4b4608995b849440bc450abb",
48
+ "gitHead": "b32f110144dafee760d535d217a2855e77f154a5",
49
49
  "types": "./src/index.d.ts",
50
50
  "main": "./src/index.js"
51
51
  }
@@ -7,9 +7,14 @@ export interface NestJsBackendOptions extends BaseBackendOptions {
7
7
  * The nx workspace project name where the backend will be created
8
8
  */
9
9
  project?: string;
10
+ /**
11
+ * The OpenAPI client sdk serverId used to build operationIds and import paths for operations
12
+ */
13
+ serverId?: string;
10
14
  }
11
15
  export interface NormalizedNestJsBackendOptions extends Readonly<Normalized<Omit<NestJsBackendOptions, keyof BaseBackendOptions>> & NormalizedBaseBackendOptions> {
12
16
  kind: BackendTypes.NESTJS;
13
17
  project: string | null;
18
+ serverId: string | null;
14
19
  }
15
20
  export declare function NormalizeNestJsBackendOptions(options: NestJsBackendOptions, backendContext?: BackendContext): NormalizedNestJsBackendOptions;
@@ -4,7 +4,7 @@ exports.NormalizeNestJsBackendOptions = NormalizeNestJsBackendOptions;
4
4
  const backend_types_1 = require("./backend-types");
5
5
  const base_backend_options_1 = require("./base-backend-options");
6
6
  function NormalizeNestJsBackendOptions(options, backendContext) {
7
- var _a;
8
- return Object.assign(Object.assign({}, (0, base_backend_options_1.NormalizeBaseBackendOptions)(options, backendContext)), { kind: backend_types_1.BackendTypes.NESTJS, project: (_a = options.project) !== null && _a !== void 0 ? _a : null });
7
+ var _a, _b;
8
+ return Object.assign(Object.assign({}, (0, base_backend_options_1.NormalizeBaseBackendOptions)(options, backendContext)), { kind: backend_types_1.BackendTypes.NESTJS, project: (_a = options.project) !== null && _a !== void 0 ? _a : null, serverId: (_b = options.serverId) !== null && _b !== void 0 ? _b : null });
9
9
  }
10
10
  //# sourceMappingURL=nest-js-backend-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nest-js-backend-options.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/angular/src/lib/backend/nest-js-backend-options.ts"],"names":[],"mappings":";;AAsBA,sEAMC;AA3BD,mDAA+C;AAE/C,iEAIgC;AAehC,SAAgB,6BAA6B,CAAC,OAA6B,EAAE,cAA+B;;IAC1G,uCACK,IAAA,kDAA2B,EAAC,OAAO,EAAE,cAAc,CAAC,KACvD,IAAI,EAAE,4BAAY,CAAC,MAAM,EACzB,OAAO,EAAE,MAAA,OAAO,CAAC,OAAO,mCAAI,IAAI,IAChC;AACJ,CAAC"}
1
+ {"version":3,"file":"nest-js-backend-options.js","sourceRoot":"","sources":["../../../../../../../packages/schematic/angular/src/lib/backend/nest-js-backend-options.ts"],"names":[],"mappings":";;AA2BA,sEAOC;AAjCD,mDAA+C;AAE/C,iEAIgC;AAoBhC,SAAgB,6BAA6B,CAAC,OAA6B,EAAE,cAA+B;;IAC1G,uCACK,IAAA,kDAA2B,EAAC,OAAO,EAAE,cAAc,CAAC,KACvD,IAAI,EAAE,4BAAY,CAAC,MAAM,EACzB,OAAO,EAAE,MAAA,OAAO,CAAC,OAAO,mCAAI,IAAI,EAChC,QAAQ,EAAE,MAAA,OAAO,CAAC,QAAQ,mCAAI,IAAI,IAClC;AACJ,CAAC"}
package/src/schema.json CHANGED
@@ -593,6 +593,12 @@
593
593
  },
594
594
  "project": {
595
595
  "type": "string"
596
+ },
597
+ "serverId": {
598
+ "type": "string"
599
+ },
600
+ "module": {
601
+ "type": "string"
596
602
  }
597
603
  },
598
604
  "required": [
@@ -462,6 +462,12 @@
462
462
  },
463
463
  "project": {
464
464
  "type": "string"
465
+ },
466
+ "serverId": {
467
+ "type": "string"
468
+ },
469
+ "module": {
470
+ "type": "string"
465
471
  }
466
472
  },
467
473
  "required": [
@@ -474,6 +474,12 @@
474
474
  },
475
475
  "project": {
476
476
  "type": "string"
477
+ },
478
+ "serverId": {
479
+ "type": "string"
480
+ },
481
+ "module": {
482
+ "type": "string"
477
483
  }
478
484
  },
479
485
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -462,6 +462,12 @@
462
462
  },
463
463
  "project": {
464
464
  "type": "string"
465
+ },
466
+ "serverId": {
467
+ "type": "string"
468
+ },
469
+ "module": {
470
+ "type": "string"
465
471
  }
466
472
  },
467
473
  "required": [
@@ -462,6 +462,12 @@
462
462
  },
463
463
  "project": {
464
464
  "type": "string"
465
+ },
466
+ "serverId": {
467
+ "type": "string"
468
+ },
469
+ "module": {
470
+ "type": "string"
465
471
  }
466
472
  },
467
473
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -27,6 +27,9 @@
27
27
  },
28
28
  "project": {
29
29
  "type": "string"
30
+ },
31
+ "serverId": {
32
+ "type": "string"
30
33
  }
31
34
  },
32
35
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -133,6 +133,12 @@
133
133
  },
134
134
  "project": {
135
135
  "type": "string"
136
+ },
137
+ "serverId": {
138
+ "type": "string"
139
+ },
140
+ "module": {
141
+ "type": "string"
136
142
  }
137
143
  },
138
144
  "required": [
@@ -225,6 +225,12 @@
225
225
  },
226
226
  "project": {
227
227
  "type": "string"
228
+ },
229
+ "serverId": {
230
+ "type": "string"
231
+ },
232
+ "module": {
233
+ "type": "string"
228
234
  }
229
235
  },
230
236
  "required": [
@@ -270,6 +270,12 @@
270
270
  },
271
271
  "project": {
272
272
  "type": "string"
273
+ },
274
+ "serverId": {
275
+ "type": "string"
276
+ },
277
+ "module": {
278
+ "type": "string"
273
279
  }
274
280
  },
275
281
  "required": [
@@ -173,6 +173,12 @@
173
173
  },
174
174
  "project": {
175
175
  "type": "string"
176
+ },
177
+ "serverId": {
178
+ "type": "string"
179
+ },
180
+ "module": {
181
+ "type": "string"
176
182
  }
177
183
  },
178
184
  "required": [
@@ -173,6 +173,12 @@
173
173
  },
174
174
  "project": {
175
175
  "type": "string"
176
+ },
177
+ "serverId": {
178
+ "type": "string"
179
+ },
180
+ "module": {
181
+ "type": "string"
176
182
  }
177
183
  },
178
184
  "required": [
@@ -173,6 +173,12 @@
173
173
  },
174
174
  "project": {
175
175
  "type": "string"
176
+ },
177
+ "serverId": {
178
+ "type": "string"
179
+ },
180
+ "module": {
181
+ "type": "string"
176
182
  }
177
183
  },
178
184
  "required": [
@@ -190,6 +190,12 @@
190
190
  },
191
191
  "project": {
192
192
  "type": "string"
193
+ },
194
+ "serverId": {
195
+ "type": "string"
196
+ },
197
+ "module": {
198
+ "type": "string"
193
199
  }
194
200
  },
195
201
  "required": [
@@ -339,6 +339,12 @@
339
339
  },
340
340
  "project": {
341
341
  "type": "string"
342
+ },
343
+ "serverId": {
344
+ "type": "string"
345
+ },
346
+ "module": {
347
+ "type": "string"
342
348
  }
343
349
  },
344
350
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -339,6 +339,12 @@
339
339
  },
340
340
  "project": {
341
341
  "type": "string"
342
+ },
343
+ "serverId": {
344
+ "type": "string"
345
+ },
346
+ "module": {
347
+ "type": "string"
342
348
  }
343
349
  },
344
350
  "required": [
@@ -336,6 +336,12 @@
336
336
  },
337
337
  "project": {
338
338
  "type": "string"
339
+ },
340
+ "serverId": {
341
+ "type": "string"
342
+ },
343
+ "module": {
344
+ "type": "string"
339
345
  }
340
346
  },
341
347
  "required": [
@@ -339,6 +339,12 @@
339
339
  },
340
340
  "project": {
341
341
  "type": "string"
342
+ },
343
+ "serverId": {
344
+ "type": "string"
345
+ },
346
+ "module": {
347
+ "type": "string"
342
348
  }
343
349
  },
344
350
  "required": [
@@ -88,6 +88,12 @@
88
88
  },
89
89
  "project": {
90
90
  "type": "string"
91
+ },
92
+ "serverId": {
93
+ "type": "string"
94
+ },
95
+ "module": {
96
+ "type": "string"
91
97
  }
92
98
  },
93
99
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -336,6 +336,12 @@
336
336
  },
337
337
  "project": {
338
338
  "type": "string"
339
+ },
340
+ "serverId": {
341
+ "type": "string"
342
+ },
343
+ "module": {
344
+ "type": "string"
339
345
  }
340
346
  },
341
347
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -336,6 +336,12 @@
336
336
  },
337
337
  "project": {
338
338
  "type": "string"
339
+ },
340
+ "serverId": {
341
+ "type": "string"
342
+ },
343
+ "module": {
344
+ "type": "string"
339
345
  }
340
346
  },
341
347
  "required": [
@@ -326,6 +326,12 @@
326
326
  },
327
327
  "project": {
328
328
  "type": "string"
329
+ },
330
+ "serverId": {
331
+ "type": "string"
332
+ },
333
+ "module": {
334
+ "type": "string"
329
335
  }
330
336
  },
331
337
  "required": [
@@ -107,6 +107,12 @@
107
107
  },
108
108
  "project": {
109
109
  "type": "string"
110
+ },
111
+ "serverId": {
112
+ "type": "string"
113
+ },
114
+ "module": {
115
+ "type": "string"
110
116
  }
111
117
  },
112
118
  "required": [