@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.
- package/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/package.json +10 -10
- package/src/lib/accordion-identifier.d.ts +2 -2
- package/src/lib/accordion-identifier.js +2 -2
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +2 -0
- package/src/lib/minimum-table-options.js +3 -2
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/table/column/base-table-column.js +1 -1
- package/src/lib/table/column/base-table-column.js.map +1 -1
- package/src/lib/table/column/boolean-table-column.d.ts +8 -0
- package/src/lib/table/column/boolean-table-column.js +10 -0
- package/src/lib/table/column/boolean-table-column.js.map +1 -0
- package/src/lib/table/column/custom-table-column.d.ts +11 -0
- package/src/lib/table/column/custom-table-column.js +11 -0
- package/src/lib/table/column/custom-table-column.js.map +1 -0
- package/src/lib/table/column/date-table-column.js +1 -1
- package/src/lib/table/column/date-table-column.js.map +1 -1
- package/src/lib/table/table-column-kind.d.ts +1 -0
- package/src/lib/table/table-column-kind.js +1 -0
- package/src/lib/table/table-column-kind.js.map +1 -1
- package/src/lib/table/table-column.js +6 -0
- package/src/lib/table/table-column.js.map +1 -1
- package/src/schema.json +122 -26
- package/src/schematics/accordion/accordion-component/schema.json +122 -26
- package/src/schematics/accordion/accordion-item-component/schema.json +122 -26
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +46 -13
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +122 -26
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +98 -19
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +98 -19
- package/src/schematics/autocomplete-table-select-form-control.schema.json +2 -1
- package/src/schematics/base-table-column.schema.json +1 -1
- package/src/schematics/boolean-table-column.schema.json +2 -1
- package/src/schematics/checkbox-form-control.schema.json +2 -1
- package/src/schematics/component-table-column.schema.json +2 -1
- package/src/schematics/copy-to-clipboard-table-column.schema.json +2 -1
- package/src/schematics/custom-table-column.schema.json +27 -0
- package/src/schematics/data-grid-accordion-item.schema.json +2 -1
- package/src/schematics/data-grid-component/schema.json +42 -12
- package/src/schematics/date-table-column.schema.json +2 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +1 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +4 -1
- package/src/schematics/form/control/input-form-control/schema.json +4 -1
- package/src/schematics/form/control/select-form-control/schema.json +4 -1
- package/src/schematics/form/control/table-select-form-control/index.js +1 -0
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.json +4 -1
- package/src/schematics/form/form-array/schema.json +42 -12
- package/src/schematics/form/form-component/schema.json +42 -12
- package/src/schematics/form/form-control/schema.json +30 -8
- package/src/schematics/form/form-definition/schema.json +42 -12
- package/src/schematics/form/form-group/schema.json +42 -12
- package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +1 -1
- package/src/schematics/form/templates/table-select-form-control.hbs +1 -1
- package/src/schematics/form-array.schema.json +4 -2
- package/src/schematics/form-control.schema.json +2 -1
- package/src/schematics/form-group.schema.json +4 -2
- package/src/schematics/icon-table-column.schema.json +2 -1
- package/src/schematics/input-form-control.schema.json +2 -1
- package/src/schematics/link-table-column.schema.json +2 -1
- package/src/schematics/minimum-table.schema.json +3 -0
- package/src/schematics/select-form-control.schema.json +2 -1
- package/src/schematics/slide-toggle-form-control.schema.json +2 -1
- package/src/schematics/spinner-table-column.schema.json +2 -1
- package/src/schematics/switch-accordion-item.schema.json +2 -1
- package/src/schematics/table/action/form-table-action/schema.json +42 -12
- package/src/schematics/table/header-button/form-table-header-button/schema.json +42 -12
- package/src/schematics/table/table-component/index.js +2 -1
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +94 -18
- package/src/schematics/table/templates/custom-table-column.hbs +23 -0
- package/src/schematics/table/tree-table-component/schema.json +94 -18
- package/src/schematics/table-accordion-item.schema.json +2 -1
- package/src/schematics/table-column.schema.json +8 -1
- package/src/schematics/table-select-form-control.schema.json +2 -1
- package/src/schematics/textarea-form-control.schema.json +2 -1
- package/src/schematics/tree-table-accordion-item.schema.json +2 -1
- package/src/schematics/tree-table-column.schema.json +2 -1
- package/src/template.schema.json +3 -0
|
@@ -271,7 +271,10 @@
|
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}
|
|
274
|
+
},
|
|
275
|
+
"required": [
|
|
276
|
+
"kind"
|
|
277
|
+
]
|
|
275
278
|
}
|
|
276
279
|
]
|
|
277
280
|
},
|
|
@@ -456,7 +459,7 @@
|
|
|
456
459
|
"title": {
|
|
457
460
|
"type": "string"
|
|
458
461
|
},
|
|
459
|
-
"
|
|
462
|
+
"source": {
|
|
460
463
|
"type": "string"
|
|
461
464
|
},
|
|
462
465
|
"hidden": {
|
|
@@ -491,7 +494,10 @@
|
|
|
491
494
|
"type": "string",
|
|
492
495
|
"const": "boolean"
|
|
493
496
|
}
|
|
494
|
-
}
|
|
497
|
+
},
|
|
498
|
+
"required": [
|
|
499
|
+
"kind"
|
|
500
|
+
]
|
|
495
501
|
}
|
|
496
502
|
]
|
|
497
503
|
},
|
|
@@ -537,7 +543,10 @@
|
|
|
537
543
|
"after"
|
|
538
544
|
]
|
|
539
545
|
}
|
|
540
|
-
}
|
|
546
|
+
},
|
|
547
|
+
"required": [
|
|
548
|
+
"kind"
|
|
549
|
+
]
|
|
541
550
|
}
|
|
542
551
|
]
|
|
543
552
|
},
|
|
@@ -553,7 +562,10 @@
|
|
|
553
562
|
"type": "string",
|
|
554
563
|
"const": "component"
|
|
555
564
|
}
|
|
556
|
-
}
|
|
565
|
+
},
|
|
566
|
+
"required": [
|
|
567
|
+
"kind"
|
|
568
|
+
]
|
|
557
569
|
}
|
|
558
570
|
]
|
|
559
571
|
},
|
|
@@ -582,7 +594,10 @@
|
|
|
582
594
|
"type": "string",
|
|
583
595
|
"const": "copy-to-clipboard"
|
|
584
596
|
}
|
|
585
|
-
}
|
|
597
|
+
},
|
|
598
|
+
"required": [
|
|
599
|
+
"kind"
|
|
600
|
+
]
|
|
586
601
|
}
|
|
587
602
|
]
|
|
588
603
|
},
|
|
@@ -618,6 +633,29 @@
|
|
|
618
633
|
}
|
|
619
634
|
]
|
|
620
635
|
},
|
|
636
|
+
"customTableColumn": {
|
|
637
|
+
"allOf": [
|
|
638
|
+
{
|
|
639
|
+
"$ref": "#/definitions/baseTableColumn"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {
|
|
644
|
+
"kind": {
|
|
645
|
+
"type": "string",
|
|
646
|
+
"const": "custom"
|
|
647
|
+
},
|
|
648
|
+
"html": {
|
|
649
|
+
"type": "string"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"required": [
|
|
653
|
+
"kind",
|
|
654
|
+
"html"
|
|
655
|
+
]
|
|
656
|
+
}
|
|
657
|
+
]
|
|
658
|
+
},
|
|
621
659
|
"dataGrid": {
|
|
622
660
|
"type": "object",
|
|
623
661
|
"properties": {
|
|
@@ -680,7 +718,10 @@
|
|
|
680
718
|
"type": "string",
|
|
681
719
|
"const": "data-grid"
|
|
682
720
|
}
|
|
683
|
-
}
|
|
721
|
+
},
|
|
722
|
+
"required": [
|
|
723
|
+
"kind"
|
|
724
|
+
]
|
|
684
725
|
},
|
|
685
726
|
{
|
|
686
727
|
"type": "object",
|
|
@@ -749,7 +790,10 @@
|
|
|
749
790
|
"format": {
|
|
750
791
|
"type": "string"
|
|
751
792
|
}
|
|
752
|
-
}
|
|
793
|
+
},
|
|
794
|
+
"required": [
|
|
795
|
+
"kind"
|
|
796
|
+
]
|
|
753
797
|
}
|
|
754
798
|
]
|
|
755
799
|
},
|
|
@@ -762,7 +806,10 @@
|
|
|
762
806
|
"type": "string",
|
|
763
807
|
"const": "array"
|
|
764
808
|
}
|
|
765
|
-
}
|
|
809
|
+
},
|
|
810
|
+
"required": [
|
|
811
|
+
"role"
|
|
812
|
+
]
|
|
766
813
|
},
|
|
767
814
|
{
|
|
768
815
|
"oneOf": [
|
|
@@ -776,7 +823,8 @@
|
|
|
776
823
|
"properties": {
|
|
777
824
|
"kind": {
|
|
778
825
|
"type": "string",
|
|
779
|
-
"const": "default"
|
|
826
|
+
"const": "default",
|
|
827
|
+
"default": "default"
|
|
780
828
|
}
|
|
781
829
|
}
|
|
782
830
|
}
|
|
@@ -810,7 +858,8 @@
|
|
|
810
858
|
"properties": {
|
|
811
859
|
"kind": {
|
|
812
860
|
"type": "string",
|
|
813
|
-
"const": "default"
|
|
861
|
+
"const": "default",
|
|
862
|
+
"default": "default"
|
|
814
863
|
}
|
|
815
864
|
}
|
|
816
865
|
}
|
|
@@ -870,7 +919,10 @@
|
|
|
870
919
|
"type": "string",
|
|
871
920
|
"const": "group"
|
|
872
921
|
}
|
|
873
|
-
}
|
|
922
|
+
},
|
|
923
|
+
"required": [
|
|
924
|
+
"role"
|
|
925
|
+
]
|
|
874
926
|
},
|
|
875
927
|
{
|
|
876
928
|
"oneOf": [
|
|
@@ -884,7 +936,8 @@
|
|
|
884
936
|
"properties": {
|
|
885
937
|
"kind": {
|
|
886
938
|
"type": "string",
|
|
887
|
-
"const": "default"
|
|
939
|
+
"const": "default",
|
|
940
|
+
"default": "default"
|
|
888
941
|
}
|
|
889
942
|
}
|
|
890
943
|
}
|
|
@@ -982,7 +1035,10 @@
|
|
|
982
1035
|
"type": "string",
|
|
983
1036
|
"const": "icon"
|
|
984
1037
|
}
|
|
985
|
-
}
|
|
1038
|
+
},
|
|
1039
|
+
"required": [
|
|
1040
|
+
"kind"
|
|
1041
|
+
]
|
|
986
1042
|
}
|
|
987
1043
|
]
|
|
988
1044
|
},
|
|
@@ -1031,7 +1087,10 @@
|
|
|
1031
1087
|
"placeholder": {
|
|
1032
1088
|
"type": "string"
|
|
1033
1089
|
}
|
|
1034
|
-
}
|
|
1090
|
+
},
|
|
1091
|
+
"required": [
|
|
1092
|
+
"kind"
|
|
1093
|
+
]
|
|
1035
1094
|
}
|
|
1036
1095
|
]
|
|
1037
1096
|
},
|
|
@@ -1047,7 +1106,10 @@
|
|
|
1047
1106
|
"type": "string",
|
|
1048
1107
|
"const": "link"
|
|
1049
1108
|
}
|
|
1050
|
-
}
|
|
1109
|
+
},
|
|
1110
|
+
"required": [
|
|
1111
|
+
"kind"
|
|
1112
|
+
]
|
|
1051
1113
|
}
|
|
1052
1114
|
]
|
|
1053
1115
|
},
|
|
@@ -1064,6 +1126,9 @@
|
|
|
1064
1126
|
"upstream": {
|
|
1065
1127
|
"$ref": "#/definitions/upstream"
|
|
1066
1128
|
},
|
|
1129
|
+
"rowId": {
|
|
1130
|
+
"$ref": "#/definitions/property"
|
|
1131
|
+
},
|
|
1067
1132
|
"columnList": {
|
|
1068
1133
|
"alias": "column",
|
|
1069
1134
|
"type": "array",
|
|
@@ -1217,7 +1282,10 @@
|
|
|
1217
1282
|
"type": "boolean",
|
|
1218
1283
|
"description": "Whether the select form control is multiple mode"
|
|
1219
1284
|
}
|
|
1220
|
-
}
|
|
1285
|
+
},
|
|
1286
|
+
"required": [
|
|
1287
|
+
"kind"
|
|
1288
|
+
]
|
|
1221
1289
|
}
|
|
1222
1290
|
]
|
|
1223
1291
|
},
|
|
@@ -1240,7 +1308,10 @@
|
|
|
1240
1308
|
"after"
|
|
1241
1309
|
]
|
|
1242
1310
|
}
|
|
1243
|
-
}
|
|
1311
|
+
},
|
|
1312
|
+
"required": [
|
|
1313
|
+
"kind"
|
|
1314
|
+
]
|
|
1244
1315
|
}
|
|
1245
1316
|
]
|
|
1246
1317
|
},
|
|
@@ -1256,7 +1327,10 @@
|
|
|
1256
1327
|
"type": "string",
|
|
1257
1328
|
"const": "spinner"
|
|
1258
1329
|
}
|
|
1259
|
-
}
|
|
1330
|
+
},
|
|
1331
|
+
"required": [
|
|
1332
|
+
"kind"
|
|
1333
|
+
]
|
|
1260
1334
|
}
|
|
1261
1335
|
]
|
|
1262
1336
|
},
|
|
@@ -1332,7 +1406,10 @@
|
|
|
1332
1406
|
"property"
|
|
1333
1407
|
]
|
|
1334
1408
|
}
|
|
1335
|
-
}
|
|
1409
|
+
},
|
|
1410
|
+
"required": [
|
|
1411
|
+
"kind"
|
|
1412
|
+
]
|
|
1336
1413
|
}
|
|
1337
1414
|
]
|
|
1338
1415
|
},
|
|
@@ -1411,7 +1488,10 @@
|
|
|
1411
1488
|
"table": {
|
|
1412
1489
|
"$ref": "#/definitions/table"
|
|
1413
1490
|
}
|
|
1414
|
-
}
|
|
1491
|
+
},
|
|
1492
|
+
"required": [
|
|
1493
|
+
"kind"
|
|
1494
|
+
]
|
|
1415
1495
|
}
|
|
1416
1496
|
]
|
|
1417
1497
|
},
|
|
@@ -1486,7 +1566,8 @@
|
|
|
1486
1566
|
"properties": {
|
|
1487
1567
|
"kind": {
|
|
1488
1568
|
"type": "string",
|
|
1489
|
-
"const": "default"
|
|
1569
|
+
"const": "default",
|
|
1570
|
+
"default": "default"
|
|
1490
1571
|
}
|
|
1491
1572
|
}
|
|
1492
1573
|
}
|
|
@@ -1495,6 +1576,9 @@
|
|
|
1495
1576
|
{
|
|
1496
1577
|
"$ref": "#/definitions/dateTableColumn"
|
|
1497
1578
|
},
|
|
1579
|
+
{
|
|
1580
|
+
"$ref": "#/definitions/customTableColumn"
|
|
1581
|
+
},
|
|
1498
1582
|
{
|
|
1499
1583
|
"$ref": "#/definitions/linkTableColumn"
|
|
1500
1584
|
},
|
|
@@ -1597,7 +1681,10 @@
|
|
|
1597
1681
|
"identifier": {
|
|
1598
1682
|
"$ref": "#/definitions/accordionIdentifier"
|
|
1599
1683
|
}
|
|
1600
|
-
}
|
|
1684
|
+
},
|
|
1685
|
+
"required": [
|
|
1686
|
+
"kind"
|
|
1687
|
+
]
|
|
1601
1688
|
}
|
|
1602
1689
|
]
|
|
1603
1690
|
},
|
|
@@ -1630,7 +1717,10 @@
|
|
|
1630
1717
|
}
|
|
1631
1718
|
}
|
|
1632
1719
|
}
|
|
1633
|
-
}
|
|
1720
|
+
},
|
|
1721
|
+
"required": [
|
|
1722
|
+
"kind"
|
|
1723
|
+
]
|
|
1634
1724
|
}
|
|
1635
1725
|
]
|
|
1636
1726
|
},
|
|
@@ -1697,7 +1787,10 @@
|
|
|
1697
1787
|
"table": {
|
|
1698
1788
|
"$ref": "#/definitions/treeTable"
|
|
1699
1789
|
}
|
|
1700
|
-
}
|
|
1790
|
+
},
|
|
1791
|
+
"required": [
|
|
1792
|
+
"kind"
|
|
1793
|
+
]
|
|
1701
1794
|
}
|
|
1702
1795
|
]
|
|
1703
1796
|
},
|
|
@@ -1713,7 +1806,10 @@
|
|
|
1713
1806
|
"type": "string",
|
|
1714
1807
|
"const": "tree"
|
|
1715
1808
|
}
|
|
1716
|
-
}
|
|
1809
|
+
},
|
|
1810
|
+
"required": [
|
|
1811
|
+
"kind"
|
|
1812
|
+
]
|
|
1717
1813
|
}
|
|
1718
1814
|
]
|
|
1719
1815
|
},
|
|
@@ -226,7 +226,10 @@
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
}
|
|
229
|
+
},
|
|
230
|
+
"required": [
|
|
231
|
+
"kind"
|
|
232
|
+
]
|
|
230
233
|
}
|
|
231
234
|
]
|
|
232
235
|
},
|
|
@@ -411,7 +414,10 @@
|
|
|
411
414
|
"after"
|
|
412
415
|
]
|
|
413
416
|
}
|
|
414
|
-
}
|
|
417
|
+
},
|
|
418
|
+
"required": [
|
|
419
|
+
"kind"
|
|
420
|
+
]
|
|
415
421
|
}
|
|
416
422
|
]
|
|
417
423
|
},
|
|
@@ -522,7 +528,10 @@
|
|
|
522
528
|
"type": "string",
|
|
523
529
|
"const": "data-grid"
|
|
524
530
|
}
|
|
525
|
-
}
|
|
531
|
+
},
|
|
532
|
+
"required": [
|
|
533
|
+
"kind"
|
|
534
|
+
]
|
|
526
535
|
},
|
|
527
536
|
{
|
|
528
537
|
"type": "object",
|
|
@@ -585,7 +594,10 @@
|
|
|
585
594
|
"type": "string",
|
|
586
595
|
"const": "array"
|
|
587
596
|
}
|
|
588
|
-
}
|
|
597
|
+
},
|
|
598
|
+
"required": [
|
|
599
|
+
"role"
|
|
600
|
+
]
|
|
589
601
|
},
|
|
590
602
|
{
|
|
591
603
|
"oneOf": [
|
|
@@ -599,7 +611,8 @@
|
|
|
599
611
|
"properties": {
|
|
600
612
|
"kind": {
|
|
601
613
|
"type": "string",
|
|
602
|
-
"const": "default"
|
|
614
|
+
"const": "default",
|
|
615
|
+
"default": "default"
|
|
603
616
|
}
|
|
604
617
|
}
|
|
605
618
|
}
|
|
@@ -633,7 +646,8 @@
|
|
|
633
646
|
"properties": {
|
|
634
647
|
"kind": {
|
|
635
648
|
"type": "string",
|
|
636
|
-
"const": "default"
|
|
649
|
+
"const": "default",
|
|
650
|
+
"default": "default"
|
|
637
651
|
}
|
|
638
652
|
}
|
|
639
653
|
}
|
|
@@ -693,7 +707,10 @@
|
|
|
693
707
|
"type": "string",
|
|
694
708
|
"const": "group"
|
|
695
709
|
}
|
|
696
|
-
}
|
|
710
|
+
},
|
|
711
|
+
"required": [
|
|
712
|
+
"role"
|
|
713
|
+
]
|
|
697
714
|
},
|
|
698
715
|
{
|
|
699
716
|
"oneOf": [
|
|
@@ -707,7 +724,8 @@
|
|
|
707
724
|
"properties": {
|
|
708
725
|
"kind": {
|
|
709
726
|
"type": "string",
|
|
710
|
-
"const": "default"
|
|
727
|
+
"const": "default",
|
|
728
|
+
"default": "default"
|
|
711
729
|
}
|
|
712
730
|
}
|
|
713
731
|
}
|
|
@@ -798,7 +816,10 @@
|
|
|
798
816
|
"placeholder": {
|
|
799
817
|
"type": "string"
|
|
800
818
|
}
|
|
801
|
-
}
|
|
819
|
+
},
|
|
820
|
+
"required": [
|
|
821
|
+
"kind"
|
|
822
|
+
]
|
|
802
823
|
}
|
|
803
824
|
]
|
|
804
825
|
},
|
|
@@ -917,7 +938,10 @@
|
|
|
917
938
|
"type": "boolean",
|
|
918
939
|
"description": "Whether the select form control is multiple mode"
|
|
919
940
|
}
|
|
920
|
-
}
|
|
941
|
+
},
|
|
942
|
+
"required": [
|
|
943
|
+
"kind"
|
|
944
|
+
]
|
|
921
945
|
}
|
|
922
946
|
]
|
|
923
947
|
},
|
|
@@ -940,7 +964,10 @@
|
|
|
940
964
|
"after"
|
|
941
965
|
]
|
|
942
966
|
}
|
|
943
|
-
}
|
|
967
|
+
},
|
|
968
|
+
"required": [
|
|
969
|
+
"kind"
|
|
970
|
+
]
|
|
944
971
|
}
|
|
945
972
|
]
|
|
946
973
|
},
|
|
@@ -1023,7 +1050,10 @@
|
|
|
1023
1050
|
"identifier": {
|
|
1024
1051
|
"$ref": "#/definitions/accordionIdentifier"
|
|
1025
1052
|
}
|
|
1026
|
-
}
|
|
1053
|
+
},
|
|
1054
|
+
"required": [
|
|
1055
|
+
"kind"
|
|
1056
|
+
]
|
|
1027
1057
|
}
|
|
1028
1058
|
]
|
|
1029
1059
|
},
|
|
@@ -1056,7 +1086,10 @@
|
|
|
1056
1086
|
}
|
|
1057
1087
|
}
|
|
1058
1088
|
}
|
|
1059
|
-
}
|
|
1089
|
+
},
|
|
1090
|
+
"required": [
|
|
1091
|
+
"kind"
|
|
1092
|
+
]
|
|
1060
1093
|
}
|
|
1061
1094
|
]
|
|
1062
1095
|
},
|