@rxap/schematic-angular 16.2.0-dev.42 → 16.2.0-dev.44

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 (56) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +1 -1
  3. package/package.json +6 -6
  4. package/src/lib/data-grid-item.js +5 -4
  5. package/src/lib/data-grid-item.js.map +1 -1
  6. package/src/lib/data-grid-options.js +1 -0
  7. package/src/lib/data-grid-options.js.map +1 -1
  8. package/src/lib/form/abstract-control.d.ts +3 -1
  9. package/src/lib/form/abstract-control.js +12 -1
  10. package/src/lib/form/abstract-control.js.map +1 -1
  11. package/src/lib/form/array/base-form-array.d.ts +1 -1
  12. package/src/lib/form/array/base-form-array.js +2 -1
  13. package/src/lib/form/array/base-form-array.js.map +1 -1
  14. package/src/lib/form/control/base-form-control.d.ts +1 -1
  15. package/src/lib/form/control/checkbox-form-control.d.ts +1 -1
  16. package/src/lib/form/control/form-field-form-control.d.ts +1 -1
  17. package/src/lib/form/control/input-form-control.d.ts +1 -1
  18. package/src/lib/form/control/select-form-control.d.ts +1 -1
  19. package/src/lib/form/control/slide-toggle-form-control.d.ts +1 -1
  20. package/src/lib/form/control/table-select-form-control.d.ts +1 -1
  21. package/src/lib/form/control/textarea-form-control.d.ts +1 -1
  22. package/src/lib/form/group/base-form-group.d.ts +1 -1
  23. package/src/schema.json +83 -24
  24. package/src/schematics/accordion/accordion-component/index.d.ts +2 -1
  25. package/src/schematics/accordion/accordion-component/index.js +3 -3
  26. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  27. package/src/schematics/accordion/accordion-component/schema.json +83 -24
  28. package/src/schematics/accordion/accordion-item-component/index.js +2 -2
  29. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  30. package/src/schematics/accordion/accordion-item-component/schema.json +83 -24
  31. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +77 -23
  32. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +83 -24
  33. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +77 -23
  34. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +83 -24
  35. package/src/schematics/data-grid-component/index.js +3 -1
  36. package/src/schematics/data-grid-component/index.js.map +1 -1
  37. package/src/schematics/data-grid-component/schema.json +77 -23
  38. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +1 -2
  39. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
  40. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +77 -23
  41. package/src/schematics/form/control/input-form-control/schema.json +12 -0
  42. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  43. package/src/schematics/form/control/select-form-control/schema.json +77 -23
  44. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  45. package/src/schematics/form/control/table-select-form-control/schema.json +77 -23
  46. package/src/schematics/form/form-array/schema.json +77 -23
  47. package/src/schematics/form/form-component/schema.json +77 -23
  48. package/src/schematics/form/form-control/schema.json +77 -23
  49. package/src/schematics/form/form-definition/schema.json +77 -23
  50. package/src/schematics/form/form-group/schema.json +77 -23
  51. package/src/schematics/property.schema.json +10 -0
  52. package/src/schematics/table/action/form-table-action/schema.json +77 -23
  53. package/src/schematics/table/header-button/form-table-header-button/schema.json +77 -23
  54. package/src/schematics/table/table-component/schema.json +77 -23
  55. package/src/schematics/table/tree-table-component/schema.json +83 -24
  56. package/src/schematics/upstream.schema.json +62 -23
@@ -493,6 +493,18 @@
493
493
  },
494
494
  "isArray": {
495
495
  "type": "boolean"
496
+ },
497
+ "isRequired": {
498
+ "type": "boolean"
499
+ },
500
+ "source": {
501
+ "type": "string"
502
+ },
503
+ "memberList": {
504
+ "type": "array",
505
+ "items": {
506
+ "additionalProperties": true
507
+ }
496
508
  }
497
509
  }
498
510
  }
@@ -746,38 +758,80 @@
746
758
  "type": "string"
747
759
  },
748
760
  "mapper": {
749
- "type": "object",
750
- "properties": {
751
- "pageIndex": {
752
- "type": "string"
753
- },
754
- "pageSize": {
755
- "type": "string"
756
- },
757
- "sortBy": {
758
- "type": "string"
759
- },
760
- "sortDirection": {
761
- "type": "string"
762
- },
763
- "list": {
764
- "type": "string"
765
- },
766
- "total": {
767
- "type": "string"
761
+ "oneOf": [
762
+ {
763
+ "type": "object",
764
+ "properties": {
765
+ "kind": {
766
+ "type": "string",
767
+ "const": "paged"
768
+ },
769
+ "pageIndex": {
770
+ "type": "string"
771
+ },
772
+ "pageSize": {
773
+ "type": "string"
774
+ },
775
+ "sortBy": {
776
+ "type": "string"
777
+ },
778
+ "sortDirection": {
779
+ "type": "string"
780
+ },
781
+ "list": {
782
+ "type": "string"
783
+ },
784
+ "total": {
785
+ "type": "string"
786
+ },
787
+ "filter": {
788
+ "type": "object",
789
+ "properties": {
790
+ "eq": {
791
+ "type": "string"
792
+ },
793
+ "join": {
794
+ "type": "string"
795
+ }
796
+ }
797
+ }
798
+ }
768
799
  },
769
- "filter": {
800
+ {
770
801
  "type": "object",
771
802
  "properties": {
772
- "eq": {
803
+ "kind": {
804
+ "type": "string",
805
+ "const": "options"
806
+ },
807
+ "toFunction": {
808
+ "type": "string",
809
+ "enum": [
810
+ "ToOptions",
811
+ "ToOptionsFromObject"
812
+ ]
813
+ },
814
+ "toValue": {
773
815
  "type": "string"
774
816
  },
775
- "join": {
817
+ "toDisplay": {
818
+ "type": "string"
819
+ }
820
+ }
821
+ },
822
+ {
823
+ "type": "object",
824
+ "properties": {
825
+ "kind": {
826
+ "type": "string",
827
+ "const": "resolve"
828
+ },
829
+ "value": {
776
830
  "type": "string"
777
831
  }
778
832
  }
779
833
  }
780
- }
834
+ ]
781
835
  }
782
836
  },
783
837
  "required": [
@@ -651,6 +651,18 @@
651
651
  },
652
652
  "isArray": {
653
653
  "type": "boolean"
654
+ },
655
+ "isRequired": {
656
+ "type": "boolean"
657
+ },
658
+ "source": {
659
+ "type": "string"
660
+ },
661
+ "memberList": {
662
+ "type": "array",
663
+ "items": {
664
+ "additionalProperties": true
665
+ }
654
666
  }
655
667
  }
656
668
  }
@@ -904,38 +916,80 @@
904
916
  "type": "string"
905
917
  },
906
918
  "mapper": {
907
- "type": "object",
908
- "properties": {
909
- "pageIndex": {
910
- "type": "string"
911
- },
912
- "pageSize": {
913
- "type": "string"
914
- },
915
- "sortBy": {
916
- "type": "string"
917
- },
918
- "sortDirection": {
919
- "type": "string"
920
- },
921
- "list": {
922
- "type": "string"
923
- },
924
- "total": {
925
- "type": "string"
919
+ "oneOf": [
920
+ {
921
+ "type": "object",
922
+ "properties": {
923
+ "kind": {
924
+ "type": "string",
925
+ "const": "paged"
926
+ },
927
+ "pageIndex": {
928
+ "type": "string"
929
+ },
930
+ "pageSize": {
931
+ "type": "string"
932
+ },
933
+ "sortBy": {
934
+ "type": "string"
935
+ },
936
+ "sortDirection": {
937
+ "type": "string"
938
+ },
939
+ "list": {
940
+ "type": "string"
941
+ },
942
+ "total": {
943
+ "type": "string"
944
+ },
945
+ "filter": {
946
+ "type": "object",
947
+ "properties": {
948
+ "eq": {
949
+ "type": "string"
950
+ },
951
+ "join": {
952
+ "type": "string"
953
+ }
954
+ }
955
+ }
956
+ }
926
957
  },
927
- "filter": {
958
+ {
928
959
  "type": "object",
929
960
  "properties": {
930
- "eq": {
961
+ "kind": {
962
+ "type": "string",
963
+ "const": "options"
964
+ },
965
+ "toFunction": {
966
+ "type": "string",
967
+ "enum": [
968
+ "ToOptions",
969
+ "ToOptionsFromObject"
970
+ ]
971
+ },
972
+ "toValue": {
931
973
  "type": "string"
932
974
  },
933
- "join": {
975
+ "toDisplay": {
976
+ "type": "string"
977
+ }
978
+ }
979
+ },
980
+ {
981
+ "type": "object",
982
+ "properties": {
983
+ "kind": {
984
+ "type": "string",
985
+ "const": "resolve"
986
+ },
987
+ "value": {
934
988
  "type": "string"
935
989
  }
936
990
  }
937
991
  }
938
- }
992
+ ]
939
993
  }
940
994
  },
941
995
  "required": [
@@ -639,6 +639,18 @@
639
639
  },
640
640
  "isArray": {
641
641
  "type": "boolean"
642
+ },
643
+ "isRequired": {
644
+ "type": "boolean"
645
+ },
646
+ "source": {
647
+ "type": "string"
648
+ },
649
+ "memberList": {
650
+ "type": "array",
651
+ "items": {
652
+ "additionalProperties": true
653
+ }
642
654
  }
643
655
  }
644
656
  }
@@ -892,38 +904,80 @@
892
904
  "type": "string"
893
905
  },
894
906
  "mapper": {
895
- "type": "object",
896
- "properties": {
897
- "pageIndex": {
898
- "type": "string"
899
- },
900
- "pageSize": {
901
- "type": "string"
902
- },
903
- "sortBy": {
904
- "type": "string"
905
- },
906
- "sortDirection": {
907
- "type": "string"
908
- },
909
- "list": {
910
- "type": "string"
911
- },
912
- "total": {
913
- "type": "string"
907
+ "oneOf": [
908
+ {
909
+ "type": "object",
910
+ "properties": {
911
+ "kind": {
912
+ "type": "string",
913
+ "const": "paged"
914
+ },
915
+ "pageIndex": {
916
+ "type": "string"
917
+ },
918
+ "pageSize": {
919
+ "type": "string"
920
+ },
921
+ "sortBy": {
922
+ "type": "string"
923
+ },
924
+ "sortDirection": {
925
+ "type": "string"
926
+ },
927
+ "list": {
928
+ "type": "string"
929
+ },
930
+ "total": {
931
+ "type": "string"
932
+ },
933
+ "filter": {
934
+ "type": "object",
935
+ "properties": {
936
+ "eq": {
937
+ "type": "string"
938
+ },
939
+ "join": {
940
+ "type": "string"
941
+ }
942
+ }
943
+ }
944
+ }
914
945
  },
915
- "filter": {
946
+ {
916
947
  "type": "object",
917
948
  "properties": {
918
- "eq": {
949
+ "kind": {
950
+ "type": "string",
951
+ "const": "options"
952
+ },
953
+ "toFunction": {
954
+ "type": "string",
955
+ "enum": [
956
+ "ToOptions",
957
+ "ToOptionsFromObject"
958
+ ]
959
+ },
960
+ "toValue": {
919
961
  "type": "string"
920
962
  },
921
- "join": {
963
+ "toDisplay": {
964
+ "type": "string"
965
+ }
966
+ }
967
+ },
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "kind": {
972
+ "type": "string",
973
+ "const": "resolve"
974
+ },
975
+ "value": {
922
976
  "type": "string"
923
977
  }
924
978
  }
925
979
  }
926
- }
980
+ ]
927
981
  }
928
982
  },
929
983
  "required": [
@@ -16,6 +16,16 @@
16
16
  },
17
17
  "isArray": {
18
18
  "type": "boolean"
19
+ },
20
+ "isRequired": {
21
+ "type": "boolean"
22
+ },
23
+ "source": {
24
+ "type": "string"
25
+ },
26
+ "memberList": {
27
+ "type": "array",
28
+ "items": { "additionalProperties": true }
19
29
  }
20
30
  }
21
31
  }
@@ -763,6 +763,18 @@
763
763
  },
764
764
  "isArray": {
765
765
  "type": "boolean"
766
+ },
767
+ "isRequired": {
768
+ "type": "boolean"
769
+ },
770
+ "source": {
771
+ "type": "string"
772
+ },
773
+ "memberList": {
774
+ "type": "array",
775
+ "items": {
776
+ "additionalProperties": true
777
+ }
766
778
  }
767
779
  }
768
780
  }
@@ -1094,38 +1106,80 @@
1094
1106
  "type": "string"
1095
1107
  },
1096
1108
  "mapper": {
1097
- "type": "object",
1098
- "properties": {
1099
- "pageIndex": {
1100
- "type": "string"
1101
- },
1102
- "pageSize": {
1103
- "type": "string"
1104
- },
1105
- "sortBy": {
1106
- "type": "string"
1107
- },
1108
- "sortDirection": {
1109
- "type": "string"
1110
- },
1111
- "list": {
1112
- "type": "string"
1113
- },
1114
- "total": {
1115
- "type": "string"
1109
+ "oneOf": [
1110
+ {
1111
+ "type": "object",
1112
+ "properties": {
1113
+ "kind": {
1114
+ "type": "string",
1115
+ "const": "paged"
1116
+ },
1117
+ "pageIndex": {
1118
+ "type": "string"
1119
+ },
1120
+ "pageSize": {
1121
+ "type": "string"
1122
+ },
1123
+ "sortBy": {
1124
+ "type": "string"
1125
+ },
1126
+ "sortDirection": {
1127
+ "type": "string"
1128
+ },
1129
+ "list": {
1130
+ "type": "string"
1131
+ },
1132
+ "total": {
1133
+ "type": "string"
1134
+ },
1135
+ "filter": {
1136
+ "type": "object",
1137
+ "properties": {
1138
+ "eq": {
1139
+ "type": "string"
1140
+ },
1141
+ "join": {
1142
+ "type": "string"
1143
+ }
1144
+ }
1145
+ }
1146
+ }
1116
1147
  },
1117
- "filter": {
1148
+ {
1118
1149
  "type": "object",
1119
1150
  "properties": {
1120
- "eq": {
1151
+ "kind": {
1152
+ "type": "string",
1153
+ "const": "options"
1154
+ },
1155
+ "toFunction": {
1156
+ "type": "string",
1157
+ "enum": [
1158
+ "ToOptions",
1159
+ "ToOptionsFromObject"
1160
+ ]
1161
+ },
1162
+ "toValue": {
1163
+ "type": "string"
1164
+ },
1165
+ "toDisplay": {
1121
1166
  "type": "string"
1167
+ }
1168
+ }
1169
+ },
1170
+ {
1171
+ "type": "object",
1172
+ "properties": {
1173
+ "kind": {
1174
+ "type": "string",
1175
+ "const": "resolve"
1122
1176
  },
1123
- "join": {
1177
+ "value": {
1124
1178
  "type": "string"
1125
1179
  }
1126
1180
  }
1127
1181
  }
1128
- }
1182
+ ]
1129
1183
  }
1130
1184
  },
1131
1185
  "required": [
@@ -729,6 +729,18 @@
729
729
  },
730
730
  "isArray": {
731
731
  "type": "boolean"
732
+ },
733
+ "isRequired": {
734
+ "type": "boolean"
735
+ },
736
+ "source": {
737
+ "type": "string"
738
+ },
739
+ "memberList": {
740
+ "type": "array",
741
+ "items": {
742
+ "additionalProperties": true
743
+ }
732
744
  }
733
745
  }
734
746
  }
@@ -1002,38 +1014,80 @@
1002
1014
  "type": "string"
1003
1015
  },
1004
1016
  "mapper": {
1005
- "type": "object",
1006
- "properties": {
1007
- "pageIndex": {
1008
- "type": "string"
1009
- },
1010
- "pageSize": {
1011
- "type": "string"
1012
- },
1013
- "sortBy": {
1014
- "type": "string"
1015
- },
1016
- "sortDirection": {
1017
- "type": "string"
1018
- },
1019
- "list": {
1020
- "type": "string"
1021
- },
1022
- "total": {
1023
- "type": "string"
1017
+ "oneOf": [
1018
+ {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "kind": {
1022
+ "type": "string",
1023
+ "const": "paged"
1024
+ },
1025
+ "pageIndex": {
1026
+ "type": "string"
1027
+ },
1028
+ "pageSize": {
1029
+ "type": "string"
1030
+ },
1031
+ "sortBy": {
1032
+ "type": "string"
1033
+ },
1034
+ "sortDirection": {
1035
+ "type": "string"
1036
+ },
1037
+ "list": {
1038
+ "type": "string"
1039
+ },
1040
+ "total": {
1041
+ "type": "string"
1042
+ },
1043
+ "filter": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "eq": {
1047
+ "type": "string"
1048
+ },
1049
+ "join": {
1050
+ "type": "string"
1051
+ }
1052
+ }
1053
+ }
1054
+ }
1024
1055
  },
1025
- "filter": {
1056
+ {
1026
1057
  "type": "object",
1027
1058
  "properties": {
1028
- "eq": {
1059
+ "kind": {
1060
+ "type": "string",
1061
+ "const": "options"
1062
+ },
1063
+ "toFunction": {
1064
+ "type": "string",
1065
+ "enum": [
1066
+ "ToOptions",
1067
+ "ToOptionsFromObject"
1068
+ ]
1069
+ },
1070
+ "toValue": {
1029
1071
  "type": "string"
1030
1072
  },
1031
- "join": {
1073
+ "toDisplay": {
1074
+ "type": "string"
1075
+ }
1076
+ }
1077
+ },
1078
+ {
1079
+ "type": "object",
1080
+ "properties": {
1081
+ "kind": {
1082
+ "type": "string",
1083
+ "const": "resolve"
1084
+ },
1085
+ "value": {
1032
1086
  "type": "string"
1033
1087
  }
1034
1088
  }
1035
1089
  }
1036
- }
1090
+ ]
1037
1091
  }
1038
1092
  },
1039
1093
  "required": [