@rxap/schematic-angular 18.0.3-dev.0 → 18.1.0-dev.0
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 +22 -0
- package/package.json +10 -9
- package/src/lib/backend/nest-js-backend-options.d.ts +1 -1
- package/src/lib/backend/nest-js-backend-options.js +1 -1
- package/src/lib/backend/nest-js-backend-options.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +9 -2
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/form/control/form-control.d.ts +1 -0
- package/src/lib/form/control/form-control.js +6 -1
- package/src/lib/form/control/form-control.js.map +1 -1
- package/src/lib/form/control.d.ts +1 -1
- package/src/lib/form/form-component.d.ts +15 -0
- package/src/lib/form/form-component.js +12 -0
- package/src/lib/form/form-component.js.map +1 -0
- package/src/lib/form/form-definition.d.ts +8 -0
- package/src/lib/form/form-definition.js +11 -0
- package/src/lib/form/form-definition.js.map +1 -0
- package/src/lib/mat-form-field-default-options.d.ts +8 -2
- package/src/lib/mat-form-field-default-options.js +8 -1
- package/src/lib/mat-form-field-default-options.js.map +1 -1
- package/src/lib/minimum-table-component-options.js +28 -35
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +6 -3
- package/src/lib/minimum-table-options.js +4 -1
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/table/action/base-table-action.d.ts +25 -0
- package/src/lib/table/action/base-table-action.js +32 -0
- package/src/lib/table/action/base-table-action.js.map +1 -0
- package/src/lib/table/action/dialog-table-action.d.ts +15 -0
- package/src/lib/table/action/dialog-table-action.js +23 -0
- package/src/lib/table/action/dialog-table-action.js.map +1 -0
- package/src/lib/table/action/form-table-action.d.ts +19 -0
- package/src/lib/table/action/form-table-action.js +26 -0
- package/src/lib/table/action/form-table-action.js.map +1 -0
- package/src/lib/table/action/navigation-table-action.d.ts +12 -0
- package/src/lib/table/action/navigation-table-action.js +14 -0
- package/src/lib/table/action/navigation-table-action.js.map +1 -0
- package/src/lib/table/action/open-api-table-action.d.ts +16 -0
- package/src/lib/table/action/open-api-table-action.js +14 -0
- package/src/lib/table/action/open-api-table-action.js.map +1 -0
- package/src/lib/table/action/operation-table-action.d.ts +8 -0
- package/src/lib/table/action/operation-table-action.js +10 -0
- package/src/lib/table/action/operation-table-action.js.map +1 -0
- package/src/lib/table/table-action-kind.d.ts +9 -0
- package/src/lib/table/table-action-kind.js +17 -0
- package/src/lib/table/table-action-kind.js.map +1 -0
- package/src/lib/table/table-action.d.ts +11 -0
- package/src/lib/table/table-action.js +35 -0
- package/src/lib/table/table-action.js.map +1 -0
- package/src/lib/table/table-filter-column-rule.js +9 -5
- package/src/lib/table/table-filter-column-rule.js.map +1 -1
- package/src/lib/table-options.d.ts +5 -9
- package/src/lib/table-options.js.map +1 -1
- package/src/lib/tree-table-options.d.ts +5 -10
- package/src/lib/tree-table-options.js.map +1 -1
- package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +3 -1
- package/src/lib/use-pick-from-table-interface-as-form-type.js +19 -5
- package/src/lib/use-pick-from-table-interface-as-form-type.js.map +1 -1
- package/src/schema.json +201 -62
- package/src/schematics/accordion/accordion-component/index.js +5 -2
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.json +380 -48
- package/src/schematics/accordion/accordion-item-component/index.js +7 -4
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.json +380 -48
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +2 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +380 -48
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +534 -48
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +3 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +534 -48
- package/src/schematics/base-table-action.schema.json +62 -0
- package/src/schematics/data-grid-component/index.js +4 -2
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/dialog-table-action.schema.json +65 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +7 -4
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/select-form-control/index.js +2 -1
- package/src/schematics/form/control/select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/index.js +5 -3
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/form-component/index.d.ts +2 -7
- package/src/schematics/form/form-component/index.js +7 -6
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.d.ts +2 -9
- package/src/schematics/form-table-action.schema.json +92 -0
- package/src/schematics/minimum-table.schema.json +11 -0
- package/src/schematics/navigation-table-action.schema.json +35 -0
- package/src/schematics/open-api-table-action.schema.json +60 -0
- package/src/schematics/operation-table-action.schema.json +26 -0
- package/src/schematics/table/action/dialog-table-action/index.d.ts +5 -9
- package/src/schematics/table/action/dialog-table-action/index.js +14 -22
- package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
- package/src/schematics/table/action/dialog-table-action/schema.d.ts +4 -6
- package/src/schematics/table/action/dialog-table-action/schema.json +1293 -100
- package/src/schematics/table/action/dialog-table-action/template.schema.json +4 -42
- package/src/schematics/table/action/form-table-action/index.d.ts +3 -11
- package/src/schematics/table/action/form-table-action/index.js +21 -18
- package/src/schematics/table/action/form-table-action/index.js.map +1 -1
- package/src/schematics/table/action/form-table-action/schema.d.ts +4 -14
- package/src/schematics/table/action/form-table-action/schema.json +331 -104
- package/src/schematics/table/action/form-table-action/template.schema.json +4 -59
- package/src/schematics/table/action/navigation-table-action/index.d.ts +3 -3
- package/src/schematics/table/action/navigation-table-action/index.js +2 -3
- package/src/schematics/table/action/navigation-table-action/index.js.map +1 -1
- package/src/schematics/table/action/navigation-table-action/schema.d.ts +4 -4
- package/src/schematics/table/action/navigation-table-action/schema.json +1293 -70
- package/src/schematics/table/action/navigation-table-action/template.schema.json +4 -12
- package/src/schematics/table/action/open-api-table-action/index.d.ts +2 -4
- package/src/schematics/table/action/open-api-table-action/index.js +2 -4
- package/src/schematics/table/action/open-api-table-action/index.js.map +1 -1
- package/src/schematics/table/action/open-api-table-action/schema.d.ts +4 -6
- package/src/schematics/table/action/open-api-table-action/schema.json +1286 -91
- package/src/schematics/table/action/open-api-table-action/template.schema.json +4 -40
- package/src/schematics/table/action/operation-table-action/index.d.ts +2 -1
- package/src/schematics/table/action/operation-table-action/index.js +8 -6
- package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
- package/src/schematics/table/action/operation-table-action/schema.d.ts +5 -3
- package/src/schematics/table/action/operation-table-action/schema.json +1296 -59
- package/src/schematics/table/action/operation-table-action/template.schema.json +6 -0
- package/src/schematics/table/table-action/index.d.ts +2 -1
- package/src/schematics/table/table-action/index.js +3 -2
- package/src/schematics/table/table-action/index.js.map +1 -1
- package/src/schematics/table/table-action/schema.d.ts +2 -2
- package/src/schematics/table/table-action/schema.json +1286 -52
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +19 -1
- package/src/schematics/table/table-component/index.js +6 -5
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +534 -48
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +19 -1
- package/src/schematics/table/tree-table-component/index.js +5 -3
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +534 -48
- package/src/schematics/table-action.schema.json +47 -53
- package/src/schematics/tree-component/index.js +2 -1
- package/src/schematics/tree-component/index.js.map +1 -1
- package/src/template.schema.json +18 -0
- package/src/lib/table-action.d.ts +0 -13
- package/src/lib/table-action.js +0 -102
- package/src/lib/table-action.js.map +0 -1
- package/src/lib/table-row-action.d.ts +0 -21
- package/src/lib/table-row-action.js +0 -25
- package/src/lib/table-row-action.js.map +0 -1
|
@@ -270,6 +270,41 @@
|
|
|
270
270
|
"description": "The backend that should be used to handel data",
|
|
271
271
|
"default": "none"
|
|
272
272
|
},
|
|
273
|
+
"baseFormArray": {
|
|
274
|
+
"allOf": [
|
|
275
|
+
{
|
|
276
|
+
"$ref": "#/definitions/abstractControl"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"controlList": {
|
|
282
|
+
"type": "array",
|
|
283
|
+
"description": "The list of controls in the group",
|
|
284
|
+
"items": {
|
|
285
|
+
"$ref": "#/definitions/control"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"legend": {
|
|
289
|
+
"type": "string"
|
|
290
|
+
},
|
|
291
|
+
"groupLegend": {
|
|
292
|
+
"type": "string"
|
|
293
|
+
},
|
|
294
|
+
"kind": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "The kind of the array",
|
|
297
|
+
"const": "default",
|
|
298
|
+
"default": "default"
|
|
299
|
+
},
|
|
300
|
+
"role": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"const": "array"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
273
308
|
"baseFormControl": {
|
|
274
309
|
"allOf": [
|
|
275
310
|
{
|
|
@@ -290,6 +325,93 @@
|
|
|
290
325
|
}
|
|
291
326
|
]
|
|
292
327
|
},
|
|
328
|
+
"baseFormGroup": {
|
|
329
|
+
"allOf": [
|
|
330
|
+
{
|
|
331
|
+
"$ref": "#/definitions/abstractControl"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "object",
|
|
335
|
+
"properties": {
|
|
336
|
+
"controlList": {
|
|
337
|
+
"type": "array",
|
|
338
|
+
"description": "The list of controls in the group",
|
|
339
|
+
"items": {
|
|
340
|
+
"$ref": "#/definitions/control"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"legend": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
"kind": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"description": "The kind of the group",
|
|
349
|
+
"const": "default",
|
|
350
|
+
"default": "default"
|
|
351
|
+
},
|
|
352
|
+
"role": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"const": "group"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"baseTableAction": {
|
|
361
|
+
"type": "object",
|
|
362
|
+
"properties": {
|
|
363
|
+
"type": {
|
|
364
|
+
"type": "string"
|
|
365
|
+
},
|
|
366
|
+
"refresh": {
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
369
|
+
"confirm": {
|
|
370
|
+
"type": "boolean"
|
|
371
|
+
},
|
|
372
|
+
"tooltip": {
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"errorMessage": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
},
|
|
378
|
+
"successMessage": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"priority": {
|
|
382
|
+
"type": "number"
|
|
383
|
+
},
|
|
384
|
+
"checkFunction": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"inHeader": {
|
|
388
|
+
"type": "boolean"
|
|
389
|
+
},
|
|
390
|
+
"kind": {
|
|
391
|
+
"alias": "role",
|
|
392
|
+
"type": "string"
|
|
393
|
+
},
|
|
394
|
+
"icon": {
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"svgIcon": {
|
|
398
|
+
"type": "string"
|
|
399
|
+
},
|
|
400
|
+
"permission": {
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
403
|
+
"color": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
406
|
+
},
|
|
407
|
+
"cssClass": {
|
|
408
|
+
"$ref": "#/definitions/cssClass"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"required": [
|
|
412
|
+
"type"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
293
415
|
"baseTableColumn": {
|
|
294
416
|
"type": "object",
|
|
295
417
|
"properties": {
|
|
@@ -442,6 +564,19 @@
|
|
|
442
564
|
}
|
|
443
565
|
]
|
|
444
566
|
},
|
|
567
|
+
"control": {
|
|
568
|
+
"oneOf": [
|
|
569
|
+
{
|
|
570
|
+
"$ref": "#/definitions/formGroup"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"$ref": "#/definitions/formArray"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"$ref": "#/definitions/formControl"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
445
580
|
"copyToClipboardTableColumn": {
|
|
446
581
|
"allOf": [
|
|
447
582
|
{
|
|
@@ -538,6 +673,138 @@
|
|
|
538
673
|
}
|
|
539
674
|
]
|
|
540
675
|
},
|
|
676
|
+
"dialogTableAction": {
|
|
677
|
+
"allOf": [
|
|
678
|
+
{
|
|
679
|
+
"$ref": "#/definitions/baseTableAction"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"kind": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"const": "dialog",
|
|
687
|
+
"default": "dialog"
|
|
688
|
+
},
|
|
689
|
+
"withoutBody": {
|
|
690
|
+
"type": "boolean",
|
|
691
|
+
"description": "Whether the table action operation should be without body",
|
|
692
|
+
"default": false
|
|
693
|
+
},
|
|
694
|
+
"actionList": {
|
|
695
|
+
"alias": "action",
|
|
696
|
+
"type": "array",
|
|
697
|
+
"description": "The list of actions to be added to the dialog",
|
|
698
|
+
"items": {
|
|
699
|
+
"oneOf": [
|
|
700
|
+
{
|
|
701
|
+
"type": "string"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "object",
|
|
705
|
+
"properties": {
|
|
706
|
+
"label": {
|
|
707
|
+
"type": "string"
|
|
708
|
+
},
|
|
709
|
+
"color": {
|
|
710
|
+
"type": "string"
|
|
711
|
+
},
|
|
712
|
+
"role": {
|
|
713
|
+
"type": "string",
|
|
714
|
+
"enum": [
|
|
715
|
+
"submit",
|
|
716
|
+
"close"
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"title": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "The title for the dialog"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"required": [
|
|
730
|
+
"kind",
|
|
731
|
+
"title"
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
"formArray": {
|
|
737
|
+
"allOf": [
|
|
738
|
+
{
|
|
739
|
+
"type": "object",
|
|
740
|
+
"properties": {
|
|
741
|
+
"role": {
|
|
742
|
+
"type": "string",
|
|
743
|
+
"const": "array"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"required": [
|
|
747
|
+
"role"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"oneOf": [
|
|
752
|
+
{
|
|
753
|
+
"allOf": [
|
|
754
|
+
{
|
|
755
|
+
"$ref": "#/definitions/baseFormArray"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"type": "object",
|
|
759
|
+
"properties": {
|
|
760
|
+
"kind": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"const": "default",
|
|
763
|
+
"default": "default"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
]
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"formComponent": {
|
|
774
|
+
"allOf": [
|
|
775
|
+
{
|
|
776
|
+
"$ref": "#/definitions/formDefinition"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"type": "object",
|
|
780
|
+
"properties": {
|
|
781
|
+
"window": {
|
|
782
|
+
"type": "boolean",
|
|
783
|
+
"description": "Whether the form can be opened in a window"
|
|
784
|
+
},
|
|
785
|
+
"role": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"description": "Define the role of the form"
|
|
788
|
+
},
|
|
789
|
+
"matFormFieldDefaultOptions": {
|
|
790
|
+
"appearance": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"description": "The appearance of the mat form field",
|
|
793
|
+
"enum": [
|
|
794
|
+
"legacy",
|
|
795
|
+
"standard",
|
|
796
|
+
"fill",
|
|
797
|
+
"outline"
|
|
798
|
+
]
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"identifier": {
|
|
802
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
},
|
|
541
808
|
"formControl": {
|
|
542
809
|
"allOf": [
|
|
543
810
|
{
|
|
@@ -594,6 +861,21 @@
|
|
|
594
861
|
}
|
|
595
862
|
]
|
|
596
863
|
},
|
|
864
|
+
"formDefinition": {
|
|
865
|
+
"type": "object",
|
|
866
|
+
"properties": {
|
|
867
|
+
"controlList": {
|
|
868
|
+
"alias": "control",
|
|
869
|
+
"type": "array",
|
|
870
|
+
"items": {
|
|
871
|
+
"$ref": "#/definitions/control"
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"required": [
|
|
876
|
+
"controlList"
|
|
877
|
+
]
|
|
878
|
+
},
|
|
597
879
|
"formField": {
|
|
598
880
|
"type": "object",
|
|
599
881
|
"properties": {
|
|
@@ -614,6 +896,126 @@
|
|
|
614
896
|
}
|
|
615
897
|
}
|
|
616
898
|
},
|
|
899
|
+
"formGroup": {
|
|
900
|
+
"allOf": [
|
|
901
|
+
{
|
|
902
|
+
"type": "object",
|
|
903
|
+
"properties": {
|
|
904
|
+
"role": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"const": "group"
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"required": [
|
|
910
|
+
"role"
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"oneOf": [
|
|
915
|
+
{
|
|
916
|
+
"allOf": [
|
|
917
|
+
{
|
|
918
|
+
"$ref": "#/definitions/baseFormGroup"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"type": "object",
|
|
922
|
+
"properties": {
|
|
923
|
+
"kind": {
|
|
924
|
+
"type": "string",
|
|
925
|
+
"const": "default",
|
|
926
|
+
"default": "default"
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
]
|
|
931
|
+
}
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
]
|
|
935
|
+
},
|
|
936
|
+
"formTableAction": {
|
|
937
|
+
"allOf": [
|
|
938
|
+
{
|
|
939
|
+
"$ref": "#/definitions/baseTableAction"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"type": "object",
|
|
943
|
+
"properties": {
|
|
944
|
+
"kind": {
|
|
945
|
+
"type": "string",
|
|
946
|
+
"const": "form",
|
|
947
|
+
"default": "form"
|
|
948
|
+
},
|
|
949
|
+
"formInitial": {
|
|
950
|
+
"oneOf": [
|
|
951
|
+
{
|
|
952
|
+
"type": "object",
|
|
953
|
+
"description": "The mapping from the row object to the form initial object"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "boolean",
|
|
957
|
+
"description": "If true the row object will be used as form initial object. If false the form initial object will be empty. Default is false.",
|
|
958
|
+
"default": false
|
|
959
|
+
}
|
|
960
|
+
]
|
|
961
|
+
},
|
|
962
|
+
"formComponent": {
|
|
963
|
+
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
"customComponent": {
|
|
966
|
+
"type": "boolean",
|
|
967
|
+
"default": false,
|
|
968
|
+
"description": "If true the schematic will not coerce the form component"
|
|
969
|
+
},
|
|
970
|
+
"loadFrom": {
|
|
971
|
+
"type": "object",
|
|
972
|
+
"properties": {
|
|
973
|
+
"operationId": {
|
|
974
|
+
"type": "string"
|
|
975
|
+
},
|
|
976
|
+
"scope": {
|
|
977
|
+
"type": "string",
|
|
978
|
+
"description": "The scope of package for the openapi classes"
|
|
979
|
+
},
|
|
980
|
+
"body": {
|
|
981
|
+
"oneOf": [
|
|
982
|
+
{
|
|
983
|
+
"type": "boolean",
|
|
984
|
+
"description": "Pass the full row as body for the operation request"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"type": "object",
|
|
988
|
+
"description": "Mapping of table columns to body properties - [request property]: [table column]",
|
|
989
|
+
"additionalProperties": true
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
},
|
|
993
|
+
"parameters": {
|
|
994
|
+
"oneOf": [
|
|
995
|
+
{
|
|
996
|
+
"type": "boolean",
|
|
997
|
+
"description": "Pass the full row as parameters for the operation request"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"type": "object",
|
|
1001
|
+
"description": "Mapping of table columns to parameters properties - [request property]: [table column]",
|
|
1002
|
+
"additionalProperties": true
|
|
1003
|
+
}
|
|
1004
|
+
]
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"form": {
|
|
1009
|
+
"alias": "formOptions",
|
|
1010
|
+
"$ref": "#/definitions/formComponent"
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"required": [
|
|
1014
|
+
"kind"
|
|
1015
|
+
]
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
617
1019
|
"general": {
|
|
618
1020
|
"type": "object",
|
|
619
1021
|
"properties": {
|
|
@@ -868,6 +1270,111 @@
|
|
|
868
1270
|
}
|
|
869
1271
|
}
|
|
870
1272
|
},
|
|
1273
|
+
"navigationTableAction": {
|
|
1274
|
+
"allOf": [
|
|
1275
|
+
{
|
|
1276
|
+
"$ref": "#/definitions/baseTableAction"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"type": "object",
|
|
1280
|
+
"properties": {
|
|
1281
|
+
"kind": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"const": "navigation",
|
|
1284
|
+
"default": "navigation"
|
|
1285
|
+
},
|
|
1286
|
+
"route": {
|
|
1287
|
+
"type": "string",
|
|
1288
|
+
"description": "The route for the table action"
|
|
1289
|
+
},
|
|
1290
|
+
"relativeTo": {
|
|
1291
|
+
"type": "boolean",
|
|
1292
|
+
"description": "Use the current ActivatedRoute to resolve the route or not",
|
|
1293
|
+
"default": false
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"required": [
|
|
1297
|
+
"kind",
|
|
1298
|
+
"route"
|
|
1299
|
+
]
|
|
1300
|
+
}
|
|
1301
|
+
]
|
|
1302
|
+
},
|
|
1303
|
+
"openApiTableAction": {
|
|
1304
|
+
"allOf": [
|
|
1305
|
+
{
|
|
1306
|
+
"$ref": "#/definitions/baseTableAction"
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"type": "object",
|
|
1310
|
+
"properties": {
|
|
1311
|
+
"kind": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"const": "open-api",
|
|
1314
|
+
"default": "open-api"
|
|
1315
|
+
},
|
|
1316
|
+
"operationId": {
|
|
1317
|
+
"type": "string",
|
|
1318
|
+
"description": "The open api operationId for the table action"
|
|
1319
|
+
},
|
|
1320
|
+
"scope": {
|
|
1321
|
+
"type": "string",
|
|
1322
|
+
"description": "The scope of package for the openapi classes"
|
|
1323
|
+
},
|
|
1324
|
+
"body": {
|
|
1325
|
+
"oneOf": [
|
|
1326
|
+
{
|
|
1327
|
+
"type": "boolean",
|
|
1328
|
+
"description": "Pass the full row as body for the operation request"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"description": "Mapping of table columns to body properties - [request property]: [table column]",
|
|
1333
|
+
"additionalProperties": true
|
|
1334
|
+
}
|
|
1335
|
+
]
|
|
1336
|
+
},
|
|
1337
|
+
"parameters": {
|
|
1338
|
+
"oneOf": [
|
|
1339
|
+
{
|
|
1340
|
+
"type": "boolean",
|
|
1341
|
+
"description": "Pass the full row as parameters for the operation request"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"type": "object",
|
|
1345
|
+
"description": "Mapping of table columns to parameters properties - [request property]: [table column]",
|
|
1346
|
+
"additionalProperties": true
|
|
1347
|
+
}
|
|
1348
|
+
]
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"required": [
|
|
1352
|
+
"kind",
|
|
1353
|
+
"operationId"
|
|
1354
|
+
]
|
|
1355
|
+
}
|
|
1356
|
+
]
|
|
1357
|
+
},
|
|
1358
|
+
"operationTableAction": {
|
|
1359
|
+
"allOf": [
|
|
1360
|
+
{
|
|
1361
|
+
"$ref": "#/definitions/baseTableAction"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"type": "object",
|
|
1365
|
+
"properties": {
|
|
1366
|
+
"kind": {
|
|
1367
|
+
"type": "string",
|
|
1368
|
+
"const": "operation",
|
|
1369
|
+
"default": "operation"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"required": [
|
|
1373
|
+
"kind"
|
|
1374
|
+
]
|
|
1375
|
+
}
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
871
1378
|
"option": {
|
|
872
1379
|
"type": "object",
|
|
873
1380
|
"properties": {
|
|
@@ -1066,60 +1573,39 @@
|
|
|
1066
1573
|
},
|
|
1067
1574
|
"tableAction": {
|
|
1068
1575
|
"type": "object",
|
|
1069
|
-
"
|
|
1070
|
-
|
|
1071
|
-
"
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
"type": "string"
|
|
1087
|
-
},
|
|
1088
|
-
"priority": {
|
|
1089
|
-
"type": "number"
|
|
1090
|
-
},
|
|
1091
|
-
"checkFunction": {
|
|
1092
|
-
"type": "string"
|
|
1093
|
-
},
|
|
1094
|
-
"inHeader": {
|
|
1095
|
-
"type": "boolean"
|
|
1096
|
-
},
|
|
1097
|
-
"role": {
|
|
1098
|
-
"type": "string"
|
|
1099
|
-
},
|
|
1100
|
-
"icon": {
|
|
1101
|
-
"type": "string"
|
|
1576
|
+
"oneOf": [
|
|
1577
|
+
{
|
|
1578
|
+
"allOf": [
|
|
1579
|
+
{
|
|
1580
|
+
"$ref": "#/definitions/baseTableAction"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"type": "object",
|
|
1584
|
+
"properties": {
|
|
1585
|
+
"kind": {
|
|
1586
|
+
"type": "string",
|
|
1587
|
+
"const": "default",
|
|
1588
|
+
"default": "default"
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1102
1593
|
},
|
|
1103
|
-
|
|
1104
|
-
"
|
|
1594
|
+
{
|
|
1595
|
+
"$ref": "#/definitions/dialogTableAction"
|
|
1105
1596
|
},
|
|
1106
|
-
|
|
1107
|
-
"
|
|
1597
|
+
{
|
|
1598
|
+
"$ref": "#/definitions/formTableAction"
|
|
1108
1599
|
},
|
|
1109
|
-
|
|
1110
|
-
"
|
|
1111
|
-
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
1600
|
+
{
|
|
1601
|
+
"$ref": "#/definitions/navigationTableAction"
|
|
1112
1602
|
},
|
|
1113
|
-
|
|
1114
|
-
"$ref": "#/definitions/
|
|
1603
|
+
{
|
|
1604
|
+
"$ref": "#/definitions/openApiTableAction"
|
|
1115
1605
|
},
|
|
1116
|
-
|
|
1117
|
-
"
|
|
1118
|
-
"additionalProperties": true
|
|
1606
|
+
{
|
|
1607
|
+
"$ref": "#/definitions/operationTableAction"
|
|
1119
1608
|
}
|
|
1120
|
-
},
|
|
1121
|
-
"required": [
|
|
1122
|
-
"type"
|
|
1123
1609
|
]
|
|
1124
1610
|
},
|
|
1125
1611
|
"tableColumn": {
|