@rxap/schematic-angular 16.2.0-dev.53 → 16.2.0-dev.54

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 (63) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/package.json +4 -4
  4. package/src/lib/table/column/boolean-table-column.d.ts +8 -0
  5. package/src/lib/table/column/boolean-table-column.js +10 -0
  6. package/src/lib/table/column/boolean-table-column.js.map +1 -0
  7. package/src/lib/table/column/custom-table-column.d.ts +11 -0
  8. package/src/lib/table/column/custom-table-column.js +11 -0
  9. package/src/lib/table/column/custom-table-column.js.map +1 -0
  10. package/src/lib/table/column/date-table-column.js +1 -1
  11. package/src/lib/table/column/date-table-column.js.map +1 -1
  12. package/src/lib/table/table-column-kind.d.ts +1 -0
  13. package/src/lib/table/table-column-kind.js +1 -0
  14. package/src/lib/table/table-column-kind.js.map +1 -1
  15. package/src/lib/table/table-column.js +6 -0
  16. package/src/lib/table/table-column.js.map +1 -1
  17. package/src/schema.json +118 -25
  18. package/src/schematics/accordion/accordion-component/schema.json +118 -25
  19. package/src/schematics/accordion/accordion-item-component/schema.json +118 -25
  20. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +46 -13
  21. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +118 -25
  22. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +94 -18
  23. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +94 -18
  24. package/src/schematics/autocomplete-table-select-form-control.schema.json +2 -1
  25. package/src/schematics/boolean-table-column.schema.json +2 -1
  26. package/src/schematics/checkbox-form-control.schema.json +2 -1
  27. package/src/schematics/component-table-column.schema.json +2 -1
  28. package/src/schematics/copy-to-clipboard-table-column.schema.json +2 -1
  29. package/src/schematics/custom-table-column.schema.json +27 -0
  30. package/src/schematics/data-grid-accordion-item.schema.json +2 -1
  31. package/src/schematics/data-grid-component/schema.json +42 -12
  32. package/src/schematics/date-table-column.schema.json +2 -1
  33. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +4 -1
  34. package/src/schematics/form/control/input-form-control/schema.json +4 -1
  35. package/src/schematics/form/control/select-form-control/schema.json +4 -1
  36. package/src/schematics/form/control/table-select-form-control/schema.json +4 -1
  37. package/src/schematics/form/form-array/schema.json +42 -12
  38. package/src/schematics/form/form-component/schema.json +42 -12
  39. package/src/schematics/form/form-control/schema.json +30 -8
  40. package/src/schematics/form/form-definition/schema.json +42 -12
  41. package/src/schematics/form/form-group/schema.json +42 -12
  42. package/src/schematics/form-array.schema.json +4 -2
  43. package/src/schematics/form-control.schema.json +2 -1
  44. package/src/schematics/form-group.schema.json +4 -2
  45. package/src/schematics/icon-table-column.schema.json +2 -1
  46. package/src/schematics/input-form-control.schema.json +2 -1
  47. package/src/schematics/link-table-column.schema.json +2 -1
  48. package/src/schematics/select-form-control.schema.json +2 -1
  49. package/src/schematics/slide-toggle-form-control.schema.json +2 -1
  50. package/src/schematics/spinner-table-column.schema.json +2 -1
  51. package/src/schematics/switch-accordion-item.schema.json +2 -1
  52. package/src/schematics/table/action/form-table-action/schema.json +42 -12
  53. package/src/schematics/table/header-button/form-table-header-button/schema.json +42 -12
  54. package/src/schematics/table/table-component/schema.json +90 -17
  55. package/src/schematics/table/templates/custom-table-column.hbs +23 -0
  56. package/src/schematics/table/tree-table-component/schema.json +90 -17
  57. package/src/schematics/table-accordion-item.schema.json +2 -1
  58. package/src/schematics/table-column.schema.json +8 -1
  59. package/src/schematics/table-select-form-control.schema.json +2 -1
  60. package/src/schematics/textarea-form-control.schema.json +2 -1
  61. package/src/schematics/tree-table-accordion-item.schema.json +2 -1
  62. package/src/schematics/tree-table-column.schema.json +2 -1
  63. package/src/template.schema.json +3 -0
@@ -226,7 +226,10 @@
226
226
  }
227
227
  }
228
228
  }
229
- }
229
+ },
230
+ "required": [
231
+ "kind"
232
+ ]
230
233
  }
231
234
  ]
232
235
  },
@@ -338,7 +341,10 @@
338
341
  "type": "string",
339
342
  "const": "boolean"
340
343
  }
341
- }
344
+ },
345
+ "required": [
346
+ "kind"
347
+ ]
342
348
  }
343
349
  ]
344
350
  },
@@ -384,7 +390,10 @@
384
390
  "after"
385
391
  ]
386
392
  }
387
- }
393
+ },
394
+ "required": [
395
+ "kind"
396
+ ]
388
397
  }
389
398
  ]
390
399
  },
@@ -400,7 +409,10 @@
400
409
  "type": "string",
401
410
  "const": "component"
402
411
  }
403
- }
412
+ },
413
+ "required": [
414
+ "kind"
415
+ ]
404
416
  }
405
417
  ]
406
418
  },
@@ -416,7 +428,10 @@
416
428
  "type": "string",
417
429
  "const": "copy-to-clipboard"
418
430
  }
419
- }
431
+ },
432
+ "required": [
433
+ "kind"
434
+ ]
420
435
  }
421
436
  ]
422
437
  },
@@ -452,6 +467,29 @@
452
467
  }
453
468
  ]
454
469
  },
470
+ "customTableColumn": {
471
+ "allOf": [
472
+ {
473
+ "$ref": "#/definitions/baseTableColumn"
474
+ },
475
+ {
476
+ "type": "object",
477
+ "properties": {
478
+ "kind": {
479
+ "type": "string",
480
+ "const": "custom"
481
+ },
482
+ "html": {
483
+ "type": "string"
484
+ }
485
+ },
486
+ "required": [
487
+ "kind",
488
+ "html"
489
+ ]
490
+ }
491
+ ]
492
+ },
455
493
  "dateTableColumn": {
456
494
  "allOf": [
457
495
  {
@@ -467,7 +505,10 @@
467
505
  "format": {
468
506
  "type": "string"
469
507
  }
470
- }
508
+ },
509
+ "required": [
510
+ "kind"
511
+ ]
471
512
  }
472
513
  ]
473
514
  },
@@ -495,7 +536,8 @@
495
536
  "properties": {
496
537
  "kind": {
497
538
  "type": "string",
498
- "const": "default"
539
+ "const": "default",
540
+ "default": "default"
499
541
  }
500
542
  }
501
543
  }
@@ -634,7 +676,10 @@
634
676
  "type": "string",
635
677
  "const": "icon"
636
678
  }
637
- }
679
+ },
680
+ "required": [
681
+ "kind"
682
+ ]
638
683
  }
639
684
  ]
640
685
  },
@@ -683,7 +728,10 @@
683
728
  "placeholder": {
684
729
  "type": "string"
685
730
  }
686
- }
731
+ },
732
+ "required": [
733
+ "kind"
734
+ ]
687
735
  }
688
736
  ]
689
737
  },
@@ -699,7 +747,10 @@
699
747
  "type": "string",
700
748
  "const": "link"
701
749
  }
702
- }
750
+ },
751
+ "required": [
752
+ "kind"
753
+ ]
703
754
  }
704
755
  ]
705
756
  },
@@ -869,7 +920,10 @@
869
920
  "type": "boolean",
870
921
  "description": "Whether the select form control is multiple mode"
871
922
  }
872
- }
923
+ },
924
+ "required": [
925
+ "kind"
926
+ ]
873
927
  }
874
928
  ]
875
929
  },
@@ -892,7 +946,10 @@
892
946
  "after"
893
947
  ]
894
948
  }
895
- }
949
+ },
950
+ "required": [
951
+ "kind"
952
+ ]
896
953
  }
897
954
  ]
898
955
  },
@@ -908,7 +965,10 @@
908
965
  "type": "string",
909
966
  "const": "spinner"
910
967
  }
911
- }
968
+ },
969
+ "required": [
970
+ "kind"
971
+ ]
912
972
  }
913
973
  ]
914
974
  },
@@ -983,7 +1043,8 @@
983
1043
  "properties": {
984
1044
  "kind": {
985
1045
  "type": "string",
986
- "const": "default"
1046
+ "const": "default",
1047
+ "default": "default"
987
1048
  }
988
1049
  }
989
1050
  }
@@ -992,6 +1053,9 @@
992
1053
  {
993
1054
  "$ref": "#/definitions/dateTableColumn"
994
1055
  },
1056
+ {
1057
+ "$ref": "#/definitions/customTableColumn"
1058
+ },
995
1059
  {
996
1060
  "$ref": "#/definitions/linkTableColumn"
997
1061
  },
@@ -1094,7 +1158,10 @@
1094
1158
  "identifier": {
1095
1159
  "$ref": "#/definitions/accordionIdentifier"
1096
1160
  }
1097
- }
1161
+ },
1162
+ "required": [
1163
+ "kind"
1164
+ ]
1098
1165
  }
1099
1166
  ]
1100
1167
  },
@@ -1127,7 +1194,10 @@
1127
1194
  }
1128
1195
  }
1129
1196
  }
1130
- }
1197
+ },
1198
+ "required": [
1199
+ "kind"
1200
+ ]
1131
1201
  }
1132
1202
  ]
1133
1203
  },
@@ -1179,7 +1249,10 @@
1179
1249
  "type": "string",
1180
1250
  "const": "tree"
1181
1251
  }
1182
- }
1252
+ },
1253
+ "required": [
1254
+ "kind"
1255
+ ]
1183
1256
  }
1184
1257
  ]
1185
1258
  },
@@ -27,7 +27,8 @@
27
27
  "table": {
28
28
  "$ref": "#/definitions/table"
29
29
  }
30
- }
30
+ },
31
+ "required": ["kind"]
31
32
  }
32
33
  ],
33
34
  "definitions": {
@@ -13,7 +13,8 @@
13
13
  "properties": {
14
14
  "kind": {
15
15
  "type": "string",
16
- "const": "default"
16
+ "const": "default",
17
+ "default": "default"
17
18
  }
18
19
  }
19
20
  }
@@ -22,6 +23,9 @@
22
23
  {
23
24
  "$ref": "#/definitions/dateTableColumn"
24
25
  },
26
+ {
27
+ "$ref": "#/definitions/customTableColumn"
28
+ },
25
29
  {
26
30
  "$ref": "#/definitions/linkTableColumn"
27
31
  },
@@ -51,6 +55,9 @@
51
55
  "dateTableColumn": {
52
56
  "$ref": "./date-table-column.schema.json"
53
57
  },
58
+ "customTableColumn": {
59
+ "$ref": "./custom-table-column.schema.json"
60
+ },
54
61
  "linkTableColumn": {
55
62
  "$ref": "./link-table-column.schema.json"
56
63
  },
@@ -79,7 +79,8 @@
79
79
  "identifier": {
80
80
  "$ref": "#/definitions/accordionIdentifier"
81
81
  }
82
- }
82
+ },
83
+ "required": ["kind"]
83
84
  }
84
85
  ],
85
86
  "definitions": {
@@ -29,7 +29,8 @@
29
29
  }
30
30
  }
31
31
  }
32
- }
32
+ },
33
+ "required": ["kind"]
33
34
  }
34
35
  ],
35
36
  "definitions": {
@@ -27,7 +27,8 @@
27
27
  "table": {
28
28
  "$ref": "#/definitions/treeTable"
29
29
  }
30
- }
30
+ },
31
+ "required": ["kind"]
31
32
  }
32
33
  ],
33
34
  "definitions": {
@@ -12,7 +12,8 @@
12
12
  "type": "string",
13
13
  "const": "tree"
14
14
  }
15
- }
15
+ },
16
+ "required": ["kind"]
16
17
  }
17
18
  ],
18
19
  "definitions": {
@@ -160,6 +160,9 @@
160
160
  "cssClass": {
161
161
  "$ref": "schematics/css-class.schema.json"
162
162
  },
163
+ "customTableColumn": {
164
+ "$ref": "schematics/custom-table-column.schema.json"
165
+ },
163
166
  "dataGridAccordionItem": {
164
167
  "$ref": "schematics/data-grid-accordion-item.schema.json"
165
168
  },