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

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 (81) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/package.json +10 -10
  4. package/src/lib/accordion-identifier.d.ts +2 -2
  5. package/src/lib/accordion-identifier.js +2 -2
  6. package/src/lib/accordion-identifier.js.map +1 -1
  7. package/src/lib/minimum-table-options.d.ts +2 -0
  8. package/src/lib/minimum-table-options.js +3 -2
  9. package/src/lib/minimum-table-options.js.map +1 -1
  10. package/src/lib/table/column/base-table-column.js +1 -1
  11. package/src/lib/table/column/base-table-column.js.map +1 -1
  12. package/src/lib/table/column/boolean-table-column.d.ts +8 -0
  13. package/src/lib/table/column/boolean-table-column.js +10 -0
  14. package/src/lib/table/column/boolean-table-column.js.map +1 -0
  15. package/src/lib/table/column/custom-table-column.d.ts +11 -0
  16. package/src/lib/table/column/custom-table-column.js +11 -0
  17. package/src/lib/table/column/custom-table-column.js.map +1 -0
  18. package/src/lib/table/column/date-table-column.js +1 -1
  19. package/src/lib/table/column/date-table-column.js.map +1 -1
  20. package/src/lib/table/table-column-kind.d.ts +1 -0
  21. package/src/lib/table/table-column-kind.js +1 -0
  22. package/src/lib/table/table-column-kind.js.map +1 -1
  23. package/src/lib/table/table-column.js +6 -0
  24. package/src/lib/table/table-column.js.map +1 -1
  25. package/src/schema.json +122 -26
  26. package/src/schematics/accordion/accordion-component/schema.json +122 -26
  27. package/src/schematics/accordion/accordion-item-component/schema.json +122 -26
  28. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +46 -13
  29. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +122 -26
  30. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +98 -19
  31. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +98 -19
  32. package/src/schematics/autocomplete-table-select-form-control.schema.json +2 -1
  33. package/src/schematics/base-table-column.schema.json +1 -1
  34. package/src/schematics/boolean-table-column.schema.json +2 -1
  35. package/src/schematics/checkbox-form-control.schema.json +2 -1
  36. package/src/schematics/component-table-column.schema.json +2 -1
  37. package/src/schematics/copy-to-clipboard-table-column.schema.json +2 -1
  38. package/src/schematics/custom-table-column.schema.json +27 -0
  39. package/src/schematics/data-grid-accordion-item.schema.json +2 -1
  40. package/src/schematics/data-grid-component/schema.json +42 -12
  41. package/src/schematics/date-table-column.schema.json +2 -1
  42. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +1 -0
  43. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
  44. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +4 -1
  45. package/src/schematics/form/control/input-form-control/schema.json +4 -1
  46. package/src/schematics/form/control/select-form-control/schema.json +4 -1
  47. package/src/schematics/form/control/table-select-form-control/index.js +1 -0
  48. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  49. package/src/schematics/form/control/table-select-form-control/schema.json +4 -1
  50. package/src/schematics/form/form-array/schema.json +42 -12
  51. package/src/schematics/form/form-component/schema.json +42 -12
  52. package/src/schematics/form/form-control/schema.json +30 -8
  53. package/src/schematics/form/form-definition/schema.json +42 -12
  54. package/src/schematics/form/form-group/schema.json +42 -12
  55. package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +1 -1
  56. package/src/schematics/form/templates/table-select-form-control.hbs +1 -1
  57. package/src/schematics/form-array.schema.json +4 -2
  58. package/src/schematics/form-control.schema.json +2 -1
  59. package/src/schematics/form-group.schema.json +4 -2
  60. package/src/schematics/icon-table-column.schema.json +2 -1
  61. package/src/schematics/input-form-control.schema.json +2 -1
  62. package/src/schematics/link-table-column.schema.json +2 -1
  63. package/src/schematics/minimum-table.schema.json +3 -0
  64. package/src/schematics/select-form-control.schema.json +2 -1
  65. package/src/schematics/slide-toggle-form-control.schema.json +2 -1
  66. package/src/schematics/spinner-table-column.schema.json +2 -1
  67. package/src/schematics/switch-accordion-item.schema.json +2 -1
  68. package/src/schematics/table/action/form-table-action/schema.json +42 -12
  69. package/src/schematics/table/header-button/form-table-header-button/schema.json +42 -12
  70. package/src/schematics/table/table-component/index.js +2 -1
  71. package/src/schematics/table/table-component/index.js.map +1 -1
  72. package/src/schematics/table/table-component/schema.json +94 -18
  73. package/src/schematics/table/templates/custom-table-column.hbs +23 -0
  74. package/src/schematics/table/tree-table-component/schema.json +94 -18
  75. package/src/schematics/table-accordion-item.schema.json +2 -1
  76. package/src/schematics/table-column.schema.json +8 -1
  77. package/src/schematics/table-select-form-control.schema.json +2 -1
  78. package/src/schematics/textarea-form-control.schema.json +2 -1
  79. package/src/schematics/tree-table-accordion-item.schema.json +2 -1
  80. package/src/schematics/tree-table-column.schema.json +2 -1
  81. 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
  },
@@ -303,7 +306,7 @@
303
306
  "title": {
304
307
  "type": "string"
305
308
  },
306
- "propertyPath": {
309
+ "source": {
307
310
  "type": "string"
308
311
  },
309
312
  "hidden": {
@@ -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
  },
@@ -716,6 +767,9 @@
716
767
  "upstream": {
717
768
  "$ref": "#/definitions/upstream"
718
769
  },
770
+ "rowId": {
771
+ "$ref": "#/definitions/property"
772
+ },
719
773
  "columnList": {
720
774
  "alias": "column",
721
775
  "type": "array",
@@ -869,7 +923,10 @@
869
923
  "type": "boolean",
870
924
  "description": "Whether the select form control is multiple mode"
871
925
  }
872
- }
926
+ },
927
+ "required": [
928
+ "kind"
929
+ ]
873
930
  }
874
931
  ]
875
932
  },
@@ -892,7 +949,10 @@
892
949
  "after"
893
950
  ]
894
951
  }
895
- }
952
+ },
953
+ "required": [
954
+ "kind"
955
+ ]
896
956
  }
897
957
  ]
898
958
  },
@@ -908,7 +968,10 @@
908
968
  "type": "string",
909
969
  "const": "spinner"
910
970
  }
911
- }
971
+ },
972
+ "required": [
973
+ "kind"
974
+ ]
912
975
  }
913
976
  ]
914
977
  },
@@ -983,7 +1046,8 @@
983
1046
  "properties": {
984
1047
  "kind": {
985
1048
  "type": "string",
986
- "const": "default"
1049
+ "const": "default",
1050
+ "default": "default"
987
1051
  }
988
1052
  }
989
1053
  }
@@ -992,6 +1056,9 @@
992
1056
  {
993
1057
  "$ref": "#/definitions/dateTableColumn"
994
1058
  },
1059
+ {
1060
+ "$ref": "#/definitions/customTableColumn"
1061
+ },
995
1062
  {
996
1063
  "$ref": "#/definitions/linkTableColumn"
997
1064
  },
@@ -1094,7 +1161,10 @@
1094
1161
  "identifier": {
1095
1162
  "$ref": "#/definitions/accordionIdentifier"
1096
1163
  }
1097
- }
1164
+ },
1165
+ "required": [
1166
+ "kind"
1167
+ ]
1098
1168
  }
1099
1169
  ]
1100
1170
  },
@@ -1127,7 +1197,10 @@
1127
1197
  }
1128
1198
  }
1129
1199
  }
1130
- }
1200
+ },
1201
+ "required": [
1202
+ "kind"
1203
+ ]
1131
1204
  }
1132
1205
  ]
1133
1206
  },
@@ -1179,7 +1252,10 @@
1179
1252
  "type": "string",
1180
1253
  "const": "tree"
1181
1254
  }
1182
- }
1255
+ },
1256
+ "required": [
1257
+ "kind"
1258
+ ]
1183
1259
  }
1184
1260
  ]
1185
1261
  },
@@ -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
  },