@genesislcap/foundation-entity-management 14.217.5 → 14.217.6

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 (2) hide show
  1. package/dist/custom-elements.json +1100 -1100
  2. package/package.json +21 -21
@@ -87,41 +87,6 @@
87
87
  }
88
88
  ]
89
89
  },
90
- {
91
- "kind": "javascript-module",
92
- "path": "src/components/components.ts",
93
- "declarations": [
94
- {
95
- "kind": "function",
96
- "name": "loadRemotes"
97
- }
98
- ],
99
- "exports": [
100
- {
101
- "kind": "js",
102
- "name": "loadRemotes",
103
- "declaration": {
104
- "name": "loadRemotes",
105
- "module": "src/components/components.ts"
106
- }
107
- }
108
- ]
109
- },
110
- {
111
- "kind": "javascript-module",
112
- "path": "src/components/index.ts",
113
- "declarations": [],
114
- "exports": [
115
- {
116
- "kind": "js",
117
- "name": "*",
118
- "declaration": {
119
- "name": "*",
120
- "package": "./components"
121
- }
122
- }
123
- ]
124
- },
125
90
  {
126
91
  "kind": "javascript-module",
127
92
  "path": "src/entities/entities.styles.ts",
@@ -875,41 +840,27 @@
875
840
  },
876
841
  {
877
842
  "kind": "javascript-module",
878
- "path": "src/layouts/default.ts",
843
+ "path": "src/components/components.ts",
879
844
  "declarations": [
880
845
  {
881
- "kind": "variable",
882
- "name": "loginLayout",
883
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
884
- },
885
- {
886
- "kind": "variable",
887
- "name": "defaultLayout",
888
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
846
+ "kind": "function",
847
+ "name": "loadRemotes"
889
848
  }
890
849
  ],
891
850
  "exports": [
892
851
  {
893
852
  "kind": "js",
894
- "name": "loginLayout",
895
- "declaration": {
896
- "name": "loginLayout",
897
- "module": "src/layouts/default.ts"
898
- }
899
- },
900
- {
901
- "kind": "js",
902
- "name": "defaultLayout",
853
+ "name": "loadRemotes",
903
854
  "declaration": {
904
- "name": "defaultLayout",
905
- "module": "src/layouts/default.ts"
855
+ "name": "loadRemotes",
856
+ "module": "src/components/components.ts"
906
857
  }
907
858
  }
908
859
  ]
909
860
  },
910
861
  {
911
862
  "kind": "javascript-module",
912
- "path": "src/layouts/index.ts",
863
+ "path": "src/components/index.ts",
913
864
  "declarations": [],
914
865
  "exports": [
915
866
  {
@@ -917,14 +868,14 @@
917
868
  "name": "*",
918
869
  "declaration": {
919
870
  "name": "*",
920
- "package": "./default"
871
+ "package": "./components"
921
872
  }
922
873
  }
923
874
  ]
924
875
  },
925
876
  {
926
877
  "kind": "javascript-module",
927
- "path": "src/list/index.ts",
878
+ "path": "src/main/index.ts",
928
879
  "declarations": [],
929
880
  "exports": [
930
881
  {
@@ -932,842 +883,1212 @@
932
883
  "name": "*",
933
884
  "declaration": {
934
885
  "name": "*",
935
- "package": "./list"
886
+ "package": "./main.template"
936
887
  }
937
- }
938
- ]
939
- },
940
- {
941
- "kind": "javascript-module",
942
- "path": "src/list/list.styles.ts",
943
- "declarations": [
944
- {
945
- "kind": "variable",
946
- "name": "listStyles",
947
- "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
948
- }
949
- ],
950
- "exports": [
888
+ },
951
889
  {
952
890
  "kind": "js",
953
- "name": "listStyles",
891
+ "name": "*",
954
892
  "declaration": {
955
- "name": "listStyles",
956
- "module": "src/list/list.styles.ts"
893
+ "name": "*",
894
+ "package": "./main"
957
895
  }
958
896
  }
959
897
  ]
960
898
  },
961
899
  {
962
900
  "kind": "javascript-module",
963
- "path": "src/list/list.template.ts",
901
+ "path": "src/main/main.styles.ts",
964
902
  "declarations": [
965
903
  {
966
- "kind": "function",
967
- "name": "getPrefixedList",
968
- "parameters": [
969
- {
970
- "name": "prefix"
971
- }
972
- ]
904
+ "kind": "variable",
905
+ "name": "MainStyles",
906
+ "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
973
907
  }
974
908
  ],
975
909
  "exports": [
976
910
  {
977
911
  "kind": "js",
978
- "name": "getPrefixedList",
912
+ "name": "MainStyles",
979
913
  "declaration": {
980
- "name": "getPrefixedList",
981
- "module": "src/list/list.template.ts"
914
+ "name": "MainStyles",
915
+ "module": "src/main/main.styles.ts"
982
916
  }
983
917
  }
984
918
  ]
985
919
  },
986
920
  {
987
921
  "kind": "javascript-module",
988
- "path": "src/list/list.ts",
922
+ "path": "src/main/main.template.ts",
923
+ "declarations": [],
924
+ "exports": []
925
+ },
926
+ {
927
+ "kind": "javascript-module",
928
+ "path": "src/main/main.ts",
989
929
  "declarations": [
990
930
  {
991
931
  "kind": "class",
992
932
  "description": "",
993
- "name": "List",
933
+ "name": "MainApplication",
994
934
  "members": [
995
935
  {
996
936
  "kind": "field",
997
- "name": "prefix",
998
- "type": {
999
- "text": "string"
1000
- },
1001
- "default": "'zero'",
1002
- "description": "Name of the design system prefix that will be used in renderers.",
1003
- "privacy": "public"
1004
- },
1005
- {
1006
- "kind": "field",
1007
- "name": "resourceName",
1008
- "type": {
1009
- "text": "string"
1010
- },
1011
- "default": "''"
1012
- },
1013
- {
1014
- "kind": "field",
1015
- "name": "title",
937
+ "name": "config",
1016
938
  "type": {
1017
- "text": "string"
1018
- },
1019
- "default": "''"
939
+ "text": "MainRouterConfig"
940
+ }
1020
941
  },
1021
942
  {
1022
943
  "kind": "field",
1023
- "name": "persistColumnStateKey",
944
+ "name": "connect",
1024
945
  "type": {
1025
- "text": "string"
946
+ "text": "Connect"
1026
947
  }
1027
948
  },
1028
949
  {
1029
950
  "kind": "field",
1030
- "name": "sizeColumnsToFit",
951
+ "name": "session",
1031
952
  "type": {
1032
- "text": "boolean"
953
+ "text": "Session"
1033
954
  }
1034
955
  },
1035
956
  {
1036
957
  "kind": "field",
1037
- "name": "rowSelection",
958
+ "name": "container",
1038
959
  "type": {
1039
- "text": "string"
960
+ "text": "Container"
1040
961
  }
1041
962
  },
1042
963
  {
1043
964
  "kind": "field",
1044
- "name": "enableFilterBar",
965
+ "name": "provider",
1045
966
  "type": {
1046
- "text": "boolean"
967
+ "text": "HTMLElement"
1047
968
  }
1048
969
  },
1049
970
  {
1050
971
  "kind": "field",
1051
- "name": "asyncAdd",
972
+ "name": "ready",
1052
973
  "type": {
1053
974
  "text": "boolean"
1054
975
  },
1055
976
  "default": "false"
1056
977
  },
1057
978
  {
1058
- "kind": "field",
1059
- "name": "asyncRemove",
1060
- "type": {
1061
- "text": "boolean"
1062
- },
1063
- "default": "false"
979
+ "kind": "method",
980
+ "name": "onLuminanceToggle"
1064
981
  },
1065
982
  {
1066
- "kind": "field",
1067
- "name": "asyncUpdate",
1068
- "type": {
1069
- "text": "boolean"
1070
- },
1071
- "default": "true"
983
+ "kind": "method",
984
+ "name": "loadRemotes"
1072
985
  },
1073
986
  {
1074
- "kind": "field",
1075
- "name": "enableCellFlashing",
1076
- "type": {
1077
- "text": "boolean"
1078
- },
1079
- "default": "false"
987
+ "kind": "method",
988
+ "name": "selectTemplate"
1080
989
  },
1081
990
  {
1082
- "kind": "field",
1083
- "name": "enableRowFlashing",
1084
- "type": {
1085
- "text": "boolean"
1086
- },
1087
- "default": "false"
1088
- },
991
+ "kind": "method",
992
+ "name": "registerDIDependencies",
993
+ "privacy": "private"
994
+ }
995
+ ],
996
+ "superclass": {
997
+ "name": "FASTElement",
998
+ "package": "@microsoft/fast-element"
999
+ },
1000
+ "customElement": true
1001
+ }
1002
+ ],
1003
+ "exports": [
1004
+ {
1005
+ "kind": "js",
1006
+ "name": "MainApplication",
1007
+ "declaration": {
1008
+ "name": "MainApplication",
1009
+ "module": "src/main/main.ts"
1010
+ }
1011
+ },
1012
+ {
1013
+ "kind": "custom-element-definition",
1014
+ "declaration": {
1015
+ "name": "MainApplication",
1016
+ "module": "src/main/main.ts"
1017
+ }
1018
+ }
1019
+ ]
1020
+ },
1021
+ {
1022
+ "kind": "javascript-module",
1023
+ "path": "src/profiles/editProfileSchema.ts",
1024
+ "declarations": [
1025
+ {
1026
+ "kind": "variable",
1027
+ "name": "editProfileFormSchema",
1028
+ "type": {
1029
+ "text": "UiSchema"
1030
+ },
1031
+ "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
1032
+ }
1033
+ ],
1034
+ "exports": [
1035
+ {
1036
+ "kind": "js",
1037
+ "name": "editProfileFormSchema",
1038
+ "declaration": {
1039
+ "name": "editProfileFormSchema",
1040
+ "module": "src/profiles/editProfileSchema.ts"
1041
+ }
1042
+ }
1043
+ ]
1044
+ },
1045
+ {
1046
+ "kind": "javascript-module",
1047
+ "path": "src/profiles/profiles.ts",
1048
+ "declarations": [
1049
+ {
1050
+ "kind": "class",
1051
+ "description": "Main class which defined the profile management functionality",
1052
+ "name": "Profiles",
1053
+ "members": [
1089
1054
  {
1090
- "kind": "field",
1091
- "name": "hideEdit",
1055
+ "kind": "method",
1056
+ "name": "readProfileData",
1057
+ "privacy": "public",
1058
+ "parameters": [
1059
+ {
1060
+ "name": "profile"
1061
+ }
1062
+ ]
1063
+ },
1064
+ {
1065
+ "kind": "method",
1066
+ "name": "confirmDelete"
1067
+ },
1068
+ {
1069
+ "kind": "field",
1070
+ "name": "createEvent",
1092
1071
  "type": {
1093
- "text": "boolean"
1072
+ "text": "string"
1094
1073
  },
1095
- "default": "false"
1074
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1075
+ "privacy": "public",
1076
+ "inheritedFrom": {
1077
+ "name": "EntityManagement",
1078
+ "module": "src/entities/entities.ts"
1079
+ }
1096
1080
  },
1097
1081
  {
1098
1082
  "kind": "field",
1099
- "name": "hideDelete",
1083
+ "name": "deleteEvent",
1100
1084
  "type": {
1101
- "text": "boolean"
1085
+ "text": "string"
1102
1086
  },
1103
- "default": "false"
1087
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1088
+ "privacy": "public",
1089
+ "inheritedFrom": {
1090
+ "name": "EntityManagement",
1091
+ "module": "src/entities/entities.ts"
1092
+ }
1104
1093
  },
1105
1094
  {
1106
1095
  "kind": "field",
1107
- "name": "datasourceType",
1096
+ "name": "updateEvent",
1108
1097
  "type": {
1109
- "text": "DatasourceType"
1098
+ "text": "string"
1110
1099
  },
1111
- "default": "'client'"
1100
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1101
+ "privacy": "public",
1102
+ "inheritedFrom": {
1103
+ "name": "EntityManagement",
1104
+ "module": "src/entities/entities.ts"
1105
+ }
1112
1106
  },
1113
1107
  {
1114
1108
  "kind": "field",
1115
- "name": "headerCaseType",
1109
+ "name": "persistColumnStateKey",
1116
1110
  "type": {
1117
- "text": "GridProCaseType"
1111
+ "text": "string"
1112
+ },
1113
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1114
+ "privacy": "public",
1115
+ "default": "'entity_profiles_management'",
1116
+ "inheritedFrom": {
1117
+ "name": "EntityManagement",
1118
+ "module": "src/entities/entities.ts"
1118
1119
  }
1119
1120
  },
1120
1121
  {
1121
1122
  "kind": "field",
1122
- "name": "grid",
1123
+ "name": "updateFormUiSchema",
1123
1124
  "type": {
1124
- "text": "ZeroGridPro"
1125
+ "text": "UiSchema"
1125
1126
  },
1126
- "privacy": "public"
1127
+ "description": "Enables you to supply a schema to configure an update form.",
1128
+ "privacy": "public",
1129
+ "default": "editProfileFormSchema",
1130
+ "inheritedFrom": {
1131
+ "name": "EntityManagement",
1132
+ "module": "src/entities/entities.ts"
1133
+ }
1127
1134
  },
1128
1135
  {
1129
1136
  "kind": "field",
1130
- "name": "datasource",
1137
+ "name": "createFormUiSchema",
1131
1138
  "type": {
1132
- "text": "GridProGenesisDatasource"
1139
+ "text": "UiSchema"
1133
1140
  },
1134
- "privacy": "public"
1141
+ "description": "Enables you to supply a schema to configure an insert form.",
1142
+ "privacy": "public",
1143
+ "default": "editProfileFormSchema",
1144
+ "inheritedFrom": {
1145
+ "name": "EntityManagement",
1146
+ "module": "src/entities/entities.ts"
1147
+ }
1135
1148
  },
1136
1149
  {
1137
1150
  "kind": "field",
1138
- "name": "gridOptions",
1151
+ "name": "readEventFn",
1139
1152
  "type": {
1140
- "text": "GridOptions"
1153
+ "text": "(entity) => any"
1154
+ },
1155
+ "description": "Similar to readEvent but allows to provide function that will be executed before\nopening the form and yields data to the form",
1156
+ "parameters": [
1157
+ {
1158
+ "description": "selected entity from the grid",
1159
+ "name": "entity"
1160
+ }
1161
+ ],
1162
+ "return": {
1163
+ "type": {
1164
+ "text": ""
1165
+ }
1166
+ },
1167
+ "privacy": "public",
1168
+ "inheritedFrom": {
1169
+ "name": "EntityManagement",
1170
+ "module": "src/entities/entities.ts"
1141
1171
  }
1142
1172
  },
1143
1173
  {
1144
1174
  "kind": "field",
1145
- "name": "columns",
1175
+ "name": "resourceName",
1146
1176
  "type": {
1147
- "text": "ColDef[]"
1177
+ "text": "string"
1178
+ },
1179
+ "description": "Name of the backend resource which contain the entities to manage",
1180
+ "privacy": "public",
1181
+ "default": "'ALL_PROFILES'",
1182
+ "inheritedFrom": {
1183
+ "name": "EntityManagement",
1184
+ "module": "src/entities/entities.ts"
1148
1185
  }
1149
1186
  },
1150
1187
  {
1151
1188
  "kind": "field",
1152
- "name": "datasourceConfig",
1189
+ "name": "title",
1153
1190
  "type": {
1154
- "text": "DatasourceConfiguration"
1191
+ "text": "string"
1192
+ },
1193
+ "description": "Title of the grid",
1194
+ "privacy": "public",
1195
+ "default": "'Profile Management'",
1196
+ "inheritedFrom": {
1197
+ "name": "EntityManagement",
1198
+ "module": "src/entities/entities.ts"
1155
1199
  }
1156
1200
  },
1157
1201
  {
1158
1202
  "kind": "field",
1159
- "name": "actionButtonsConfig",
1203
+ "name": "entityLabel",
1160
1204
  "type": {
1161
- "text": "array"
1205
+ "text": "string"
1162
1206
  },
1163
- "default": "[]"
1207
+ "description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
1208
+ "privacy": "public",
1209
+ "default": "'Profile'",
1210
+ "inheritedFrom": {
1211
+ "name": "EntityManagement",
1212
+ "module": "src/entities/entities.ts"
1213
+ }
1164
1214
  },
1165
1215
  {
1166
1216
  "kind": "field",
1167
- "name": "deleteEvent",
1217
+ "name": "prefix",
1168
1218
  "type": {
1169
1219
  "text": "string"
1220
+ },
1221
+ "default": "'zero'",
1222
+ "description": "Name of the design system prefix that will be used in renderers.",
1223
+ "privacy": "public",
1224
+ "inheritedFrom": {
1225
+ "name": "EntityManagement",
1226
+ "module": "src/entities/entities.ts"
1170
1227
  }
1171
1228
  },
1172
1229
  {
1173
1230
  "kind": "field",
1174
- "name": "updateEvent",
1231
+ "name": "readEvent",
1175
1232
  "type": {
1176
1233
  "text": "string"
1234
+ },
1235
+ "description": "Name of the request on the Genesis server which fetches data for the form, example usage could\ninclude fetching additional data that is not available in the grid but required for the selected entity",
1236
+ "privacy": "public",
1237
+ "inheritedFrom": {
1238
+ "name": "EntityManagement",
1239
+ "module": "src/entities/entities.ts"
1177
1240
  }
1178
1241
  },
1179
1242
  {
1180
1243
  "kind": "field",
1181
- "name": "connect",
1244
+ "name": "rowSelection",
1182
1245
  "type": {
1183
- "text": "Connect"
1246
+ "text": "string"
1184
1247
  },
1185
- "privacy": "protected"
1248
+ "default": "'single'",
1249
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1250
+ "privacy": "public",
1251
+ "inheritedFrom": {
1252
+ "name": "EntityManagement",
1253
+ "module": "src/entities/entities.ts"
1254
+ }
1186
1255
  },
1187
1256
  {
1188
1257
  "kind": "field",
1189
- "name": "isServerSideDatasource",
1258
+ "name": "enableCellFlashing",
1190
1259
  "type": {
1191
1260
  "text": "boolean"
1192
1261
  },
1193
- "readonly": true
1194
- },
1195
- {
1196
- "kind": "method",
1197
- "name": "onCellEditingStopped",
1198
- "privacy": "private",
1199
- "parameters": [
1200
- {
1201
- "name": "event",
1202
- "type": {
1203
- "text": "CellEditRequestEvent"
1204
- }
1205
- }
1206
- ]
1262
+ "default": "false",
1263
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1264
+ "privacy": "public",
1265
+ "inheritedFrom": {
1266
+ "name": "EntityManagement",
1267
+ "module": "src/entities/entities.ts"
1268
+ }
1207
1269
  },
1208
1270
  {
1209
1271
  "kind": "field",
1210
- "name": "criteria",
1211
- "readonly": true
1272
+ "name": "enableRowFlashing",
1273
+ "type": {
1274
+ "text": "boolean"
1275
+ },
1276
+ "default": "false",
1277
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
1278
+ "privacy": "public",
1279
+ "inheritedFrom": {
1280
+ "name": "EntityManagement",
1281
+ "module": "src/entities/entities.ts"
1282
+ }
1212
1283
  },
1213
1284
  {
1214
1285
  "kind": "field",
1215
- "name": "fields",
1216
- "readonly": true
1286
+ "name": "datasourceType",
1287
+ "type": {
1288
+ "text": "DatasourceType"
1289
+ },
1290
+ "default": "'client'",
1291
+ "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
1292
+ "privacy": "public",
1293
+ "inheritedFrom": {
1294
+ "name": "EntityManagement",
1295
+ "module": "src/entities/entities.ts"
1296
+ }
1217
1297
  },
1218
1298
  {
1219
1299
  "kind": "field",
1220
- "name": "isSnapshot",
1221
- "readonly": true
1300
+ "name": "gridOptions",
1301
+ "type": {
1302
+ "text": "GridOptions"
1303
+ },
1304
+ "description": "GridOptions to be passed down from application",
1305
+ "privacy": "public",
1306
+ "inheritedFrom": {
1307
+ "name": "EntityManagement",
1308
+ "module": "src/entities/entities.ts"
1309
+ }
1222
1310
  },
1223
1311
  {
1224
1312
  "kind": "field",
1225
- "name": "maxRows",
1226
- "readonly": true
1313
+ "name": "columns",
1314
+ "type": {
1315
+ "text": "ColDef[]"
1316
+ },
1317
+ "description": "Array which holds the column definitions.",
1318
+ "privacy": "public",
1319
+ "inheritedFrom": {
1320
+ "name": "EntityManagement",
1321
+ "module": "src/entities/entities.ts"
1322
+ }
1227
1323
  },
1228
1324
  {
1229
1325
  "kind": "field",
1230
- "name": "maxView",
1231
- "readonly": true
1326
+ "name": "datasourceConfig",
1327
+ "type": {
1328
+ "text": "DatasourceConfiguration"
1329
+ },
1330
+ "description": "The configuration which is used when interacting with the resource on the backend",
1331
+ "privacy": "public",
1332
+ "inheritedFrom": {
1333
+ "name": "EntityManagement",
1334
+ "module": "src/entities/entities.ts"
1335
+ }
1232
1336
  },
1233
1337
  {
1234
1338
  "kind": "field",
1235
- "name": "movingView",
1236
- "readonly": true
1237
- },
1238
- {
1239
- "kind": "field",
1240
- "name": "orderBy",
1241
- "readonly": true
1242
- },
1243
- {
1244
- "kind": "field",
1245
- "name": "pollingInterval",
1246
- "readonly": true
1247
- },
1248
- {
1249
- "kind": "field",
1250
- "name": "request",
1251
- "readonly": true
1252
- },
1253
- {
1254
- "kind": "field",
1255
- "name": "reverse",
1256
- "readonly": true
1257
- },
1258
- {
1259
- "kind": "method",
1260
- "name": "handleFilterChanged",
1261
- "privacy": "private",
1262
- "parameters": [
1263
- {
1264
- "name": "e"
1265
- }
1266
- ]
1267
- },
1268
- {
1269
- "kind": "method",
1270
- "name": "handleFilterCleared",
1271
- "privacy": "private",
1272
- "parameters": [
1273
- {
1274
- "name": "e"
1275
- }
1276
- ]
1277
- },
1278
- {
1279
- "kind": "method",
1280
- "name": "select",
1281
- "privacy": "private",
1282
- "parameters": [
1283
- {
1284
- "name": "e"
1285
- }
1286
- ]
1287
- },
1288
- {
1289
- "kind": "method",
1290
- "name": "selectionChanged",
1291
- "privacy": "private",
1292
- "parameters": [
1293
- {
1294
- "name": "e",
1295
- "type": {
1296
- "text": "CustomEvent<SelectionChangedEvent>"
1297
- }
1298
- }
1299
- ]
1300
- },
1301
- {
1302
- "kind": "field",
1303
- "name": "edit",
1304
- "privacy": "private"
1305
- },
1306
- {
1307
- "kind": "method",
1308
- "name": "delete",
1309
- "parameters": [
1310
- {
1311
- "name": "e"
1312
- }
1313
- ]
1314
- }
1315
- ],
1316
- "attributes": [
1317
- {
1318
- "name": "design-system-prefix",
1319
- "type": {
1320
- "text": "string"
1321
- },
1322
- "default": "'zero'",
1323
- "description": "Name of the design system prefix that will be used in renderers.",
1324
- "fieldName": "prefix"
1325
- },
1326
- {
1327
- "name": "resourceName",
1339
+ "name": "formRenderers",
1328
1340
  "type": {
1329
- "text": "string"
1341
+ "text": "RendererEntry[]"
1330
1342
  },
1331
- "default": "''",
1332
- "fieldName": "resourceName"
1343
+ "default": "renderers",
1344
+ "description": "Array with renderers used by foundation-forms",
1345
+ "privacy": "public",
1346
+ "inheritedFrom": {
1347
+ "name": "EntityManagement",
1348
+ "module": "src/entities/entities.ts"
1349
+ }
1333
1350
  },
1334
1351
  {
1335
- "name": "title",
1352
+ "kind": "field",
1353
+ "name": "defaultEntityValues",
1336
1354
  "type": {
1337
- "text": "string"
1355
+ "text": "Record<string, unknown>"
1338
1356
  },
1339
- "default": "''",
1340
- "fieldName": "title"
1357
+ "description": "The default values to populate the form with when the user is adding an entity",
1358
+ "privacy": "public",
1359
+ "inheritedFrom": {
1360
+ "name": "EntityManagement",
1361
+ "module": "src/entities/entities.ts"
1362
+ }
1341
1363
  },
1342
1364
  {
1343
- "name": "persist-column-state-key",
1344
- "type": {
1345
- "text": "string"
1346
- },
1347
- "fieldName": "persistColumnStateKey"
1365
+ "kind": "method",
1366
+ "name": "editModalVisibleChanged",
1367
+ "privacy": "private",
1368
+ "inheritedFrom": {
1369
+ "name": "EntityManagement",
1370
+ "module": "src/entities/entities.ts"
1371
+ }
1348
1372
  },
1349
1373
  {
1350
- "name": "size-columns-to-fit",
1374
+ "kind": "field",
1375
+ "name": "sizeColumnsToFit",
1351
1376
  "type": {
1352
1377
  "text": "boolean"
1353
1378
  },
1354
- "fieldName": "sizeColumnsToFit"
1355
- },
1356
- {
1357
- "name": "row-selection",
1358
- "type": {
1359
- "text": "string"
1360
- },
1361
- "fieldName": "rowSelection"
1379
+ "description": "Resizes columns to take available space",
1380
+ "privacy": "public",
1381
+ "inheritedFrom": {
1382
+ "name": "EntityManagement",
1383
+ "module": "src/entities/entities.ts"
1384
+ }
1362
1385
  },
1363
1386
  {
1364
- "name": "enable-filter-bar",
1387
+ "kind": "field",
1388
+ "name": "enableFilterBar",
1365
1389
  "type": {
1366
1390
  "text": "boolean"
1367
1391
  },
1368
- "fieldName": "enableFilterBar"
1392
+ "description": "Enables filter bar component",
1393
+ "privacy": "public",
1394
+ "inheritedFrom": {
1395
+ "name": "EntityManagement",
1396
+ "module": "src/entities/entities.ts"
1397
+ }
1369
1398
  },
1370
1399
  {
1371
- "name": "async-add",
1400
+ "kind": "field",
1401
+ "name": "hideEdit",
1372
1402
  "type": {
1373
1403
  "text": "boolean"
1374
1404
  },
1375
1405
  "default": "false",
1376
- "fieldName": "asyncAdd"
1406
+ "description": "Hides edit button",
1407
+ "privacy": "public",
1408
+ "inheritedFrom": {
1409
+ "name": "EntityManagement",
1410
+ "module": "src/entities/entities.ts"
1411
+ }
1377
1412
  },
1378
1413
  {
1379
- "name": "async-remove",
1414
+ "kind": "field",
1415
+ "name": "hideDelete",
1380
1416
  "type": {
1381
1417
  "text": "boolean"
1382
1418
  },
1383
1419
  "default": "false",
1384
- "fieldName": "asyncRemove"
1420
+ "description": "Hides delete button",
1421
+ "privacy": "public",
1422
+ "inheritedFrom": {
1423
+ "name": "EntityManagement",
1424
+ "module": "src/entities/entities.ts"
1425
+ }
1385
1426
  },
1386
1427
  {
1387
- "name": "async-update",
1428
+ "kind": "field",
1429
+ "name": "enableSearchBar",
1388
1430
  "type": {
1389
1431
  "text": "boolean"
1390
1432
  },
1391
- "default": "true",
1392
- "fieldName": "asyncUpdate"
1433
+ "default": "false",
1434
+ "description": "This attribute controls whether to enable the search-bar.",
1435
+ "privacy": "public",
1436
+ "inheritedFrom": {
1437
+ "name": "EntityManagement",
1438
+ "module": "src/entities/entities.ts"
1439
+ }
1393
1440
  },
1394
1441
  {
1395
- "name": "enable-cell-flashing",
1442
+ "kind": "field",
1443
+ "name": "headerCaseType",
1396
1444
  "type": {
1397
- "text": "boolean"
1445
+ "text": "GridProCaseType"
1398
1446
  },
1399
- "default": "false",
1400
- "fieldName": "enableCellFlashing"
1447
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1448
+ "privacy": "public",
1449
+ "inheritedFrom": {
1450
+ "name": "EntityManagement",
1451
+ "module": "src/entities/entities.ts"
1452
+ }
1401
1453
  },
1402
1454
  {
1403
- "name": "enable-row-flashing",
1455
+ "kind": "field",
1456
+ "name": "searchBarConfig",
1404
1457
  "type": {
1405
- "text": "boolean"
1458
+ "text": "AvailableOption[]"
1406
1459
  },
1407
- "default": "false",
1408
- "fieldName": "enableRowFlashing"
1460
+ "description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @public",
1461
+ "inheritedFrom": {
1462
+ "name": "EntityManagement",
1463
+ "module": "src/entities/entities.ts"
1464
+ }
1409
1465
  },
1410
1466
  {
1411
- "name": "hide-edit",
1467
+ "kind": "field",
1468
+ "name": "modalPosition",
1412
1469
  "type": {
1413
- "text": "boolean"
1470
+ "text": "'centre' | 'left' | 'right'"
1414
1471
  },
1415
- "default": "false",
1416
- "fieldName": "hideEdit"
1472
+ "default": "'right'",
1473
+ "description": "Determines where the modal dialog will appear on screen",
1474
+ "privacy": "public",
1475
+ "inheritedFrom": {
1476
+ "name": "EntityManagement",
1477
+ "module": "src/entities/entities.ts"
1478
+ }
1417
1479
  },
1418
1480
  {
1419
- "name": "hide-delete",
1481
+ "kind": "field",
1482
+ "name": "crudMenuPosition",
1420
1483
  "type": {
1421
- "text": "boolean"
1484
+ "text": "CrudMenuPosition"
1422
1485
  },
1423
- "default": "false",
1424
- "fieldName": "hideDelete"
1486
+ "description": "Determines where the buttons will appear",
1487
+ "privacy": "public",
1488
+ "inheritedFrom": {
1489
+ "name": "EntityManagement",
1490
+ "module": "src/entities/entities.ts"
1491
+ }
1425
1492
  },
1426
1493
  {
1427
- "name": "datasource-type",
1494
+ "kind": "field",
1495
+ "name": "crudMenuStyle",
1428
1496
  "type": {
1429
- "text": "DatasourceType"
1497
+ "text": "ActionsMenuStyle"
1430
1498
  },
1431
- "default": "'client'",
1432
- "fieldName": "datasourceType"
1499
+ "description": "Determines the style of the buttons",
1500
+ "privacy": "public",
1501
+ "inheritedFrom": {
1502
+ "name": "EntityManagement",
1503
+ "module": "src/entities/entities.ts"
1504
+ }
1433
1505
  },
1434
1506
  {
1435
- "name": "header-case-type",
1507
+ "kind": "field",
1508
+ "name": "crudActionMenuName",
1436
1509
  "type": {
1437
- "text": "GridProCaseType"
1510
+ "text": "string"
1438
1511
  },
1439
- "fieldName": "headerCaseType"
1440
- }
1441
- ],
1442
- "mixins": [
1512
+ "default": "'⋮'",
1513
+ "description": "The label of the crud action menu",
1514
+ "inheritedFrom": {
1515
+ "name": "EntityManagement",
1516
+ "module": "src/entities/entities.ts"
1517
+ }
1518
+ },
1443
1519
  {
1444
- "name": "LifecycleMixin",
1445
- "package": "@genesislcap/foundation-utils"
1520
+ "kind": "method",
1521
+ "name": "readEntity",
1522
+ "privacy": "private",
1523
+ "parameters": [
1524
+ {
1525
+ "name": "e",
1526
+ "type": {
1527
+ "text": "CustomEvent"
1528
+ }
1529
+ }
1530
+ ],
1531
+ "inheritedFrom": {
1532
+ "name": "EntityManagement",
1533
+ "module": "src/entities/entities.ts"
1534
+ }
1535
+ },
1536
+ {
1537
+ "kind": "method",
1538
+ "name": "searchBarReqServer",
1539
+ "privacy": "private",
1540
+ "parameters": [
1541
+ {
1542
+ "name": "options",
1543
+ "type": {
1544
+ "text": "SelectedOption<string>[]"
1545
+ }
1546
+ }
1547
+ ],
1548
+ "inheritedFrom": {
1549
+ "name": "EntityManagement",
1550
+ "module": "src/entities/entities.ts"
1551
+ }
1552
+ },
1553
+ {
1554
+ "kind": "method",
1555
+ "name": "searchBarDataserver",
1556
+ "privacy": "private",
1557
+ "parameters": [
1558
+ {
1559
+ "name": "options",
1560
+ "type": {
1561
+ "text": "SelectedOption<string>[]"
1562
+ }
1563
+ }
1564
+ ],
1565
+ "inheritedFrom": {
1566
+ "name": "EntityManagement",
1567
+ "module": "src/entities/entities.ts"
1568
+ }
1569
+ },
1570
+ {
1571
+ "kind": "method",
1572
+ "name": "requestChanged",
1573
+ "privacy": "private",
1574
+ "parameters": [
1575
+ {
1576
+ "name": "e",
1577
+ "type": {
1578
+ "text": "CustomEvent<string>"
1579
+ }
1580
+ }
1581
+ ],
1582
+ "inheritedFrom": {
1583
+ "name": "EntityManagement",
1584
+ "module": "src/entities/entities.ts"
1585
+ }
1586
+ },
1587
+ {
1588
+ "kind": "method",
1589
+ "name": "criteriaChanged",
1590
+ "privacy": "private",
1591
+ "parameters": [
1592
+ {
1593
+ "name": "e",
1594
+ "type": {
1595
+ "text": "CustomEvent<string>"
1596
+ }
1597
+ }
1598
+ ],
1599
+ "inheritedFrom": {
1600
+ "name": "EntityManagement",
1601
+ "module": "src/entities/entities.ts"
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "method",
1606
+ "name": "submitFailureNotification",
1607
+ "privacy": "private",
1608
+ "parameters": [
1609
+ {
1610
+ "name": "e",
1611
+ "type": {
1612
+ "text": "CustomEvent"
1613
+ }
1614
+ }
1615
+ ],
1616
+ "inheritedFrom": {
1617
+ "name": "EntityManagement",
1618
+ "module": "src/entities/entities.ts"
1619
+ }
1620
+ },
1621
+ {
1622
+ "kind": "method",
1623
+ "name": "submitErrorHandler",
1624
+ "privacy": "private",
1625
+ "parameters": [
1626
+ {
1627
+ "name": "e",
1628
+ "type": {
1629
+ "text": "CustomEvent"
1630
+ }
1631
+ }
1632
+ ],
1633
+ "inheritedFrom": {
1634
+ "name": "EntityManagement",
1635
+ "module": "src/entities/entities.ts"
1636
+ }
1637
+ },
1638
+ {
1639
+ "kind": "method",
1640
+ "name": "showDeleteConfirmation",
1641
+ "privacy": "private",
1642
+ "inheritedFrom": {
1643
+ "name": "EntityManagement",
1644
+ "module": "src/entities/entities.ts"
1645
+ }
1446
1646
  }
1447
1647
  ],
1448
1648
  "superclass": {
1449
- "name": "FASTElement",
1450
- "package": "@microsoft/fast-element"
1649
+ "name": "EntityManagement",
1650
+ "module": "/src/entities"
1451
1651
  },
1452
- "tagName": "entity-list",
1453
- "customElement": true
1454
- }
1455
- ],
1456
- "exports": [
1457
- {
1458
- "kind": "js",
1459
- "name": "List",
1460
- "declaration": {
1461
- "name": "List",
1462
- "module": "src/list/list.ts"
1463
- }
1464
- },
1465
- {
1466
- "kind": "custom-element-definition",
1467
- "name": "entity-list",
1468
- "declaration": {
1469
- "name": "List",
1470
- "module": "src/list/list.ts"
1471
- }
1472
- }
1473
- ]
1474
- },
1475
- {
1476
- "kind": "javascript-module",
1477
- "path": "src/main/index.ts",
1478
- "declarations": [],
1479
- "exports": [
1480
- {
1481
- "kind": "js",
1482
- "name": "*",
1483
- "declaration": {
1484
- "name": "*",
1485
- "package": "./main.template"
1486
- }
1487
- },
1488
- {
1489
- "kind": "js",
1490
- "name": "*",
1491
- "declaration": {
1492
- "name": "*",
1493
- "package": "./main"
1494
- }
1495
- }
1496
- ]
1497
- },
1498
- {
1499
- "kind": "javascript-module",
1500
- "path": "src/main/main.styles.ts",
1501
- "declarations": [
1502
- {
1503
- "kind": "variable",
1504
- "name": "MainStyles",
1505
- "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1506
- }
1507
- ],
1508
- "exports": [
1509
- {
1510
- "kind": "js",
1511
- "name": "MainStyles",
1512
- "declaration": {
1513
- "name": "MainStyles",
1514
- "module": "src/main/main.styles.ts"
1515
- }
1516
- }
1517
- ]
1518
- },
1519
- {
1520
- "kind": "javascript-module",
1521
- "path": "src/main/main.template.ts",
1522
- "declarations": [],
1523
- "exports": []
1524
- },
1525
- {
1526
- "kind": "javascript-module",
1527
- "path": "src/main/main.ts",
1528
- "declarations": [
1529
- {
1530
- "kind": "class",
1531
- "description": "",
1532
- "name": "MainApplication",
1533
- "members": [
1652
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
1653
+ "tagName": "profile-management",
1654
+ "customElement": true,
1655
+ "attributes": [
1534
1656
  {
1535
- "kind": "field",
1536
- "name": "config",
1657
+ "name": "design-system-prefix",
1537
1658
  "type": {
1538
- "text": "MainRouterConfig"
1659
+ "text": "string"
1660
+ },
1661
+ "default": "'zero'",
1662
+ "description": "Name of the design system prefix that will be used in renderers.",
1663
+ "fieldName": "prefix",
1664
+ "inheritedFrom": {
1665
+ "name": "EntityManagement",
1666
+ "module": "src/entities/entities.ts"
1539
1667
  }
1540
1668
  },
1541
1669
  {
1542
- "kind": "field",
1543
- "name": "connect",
1670
+ "name": "resourceName",
1544
1671
  "type": {
1545
- "text": "Connect"
1672
+ "text": "string"
1673
+ },
1674
+ "description": "Name of the backend resource which contain the entities to manage",
1675
+ "fieldName": "resourceName",
1676
+ "inheritedFrom": {
1677
+ "name": "EntityManagement",
1678
+ "module": "src/entities/entities.ts"
1546
1679
  }
1547
1680
  },
1548
1681
  {
1549
- "kind": "field",
1550
- "name": "session",
1682
+ "name": "readEvent",
1551
1683
  "type": {
1552
- "text": "Session"
1684
+ "text": "string"
1685
+ },
1686
+ "description": "Name of the request on the Genesis server which fetches data for the form, example usage could\ninclude fetching additional data that is not available in the grid but required for the selected entity",
1687
+ "fieldName": "readEvent",
1688
+ "inheritedFrom": {
1689
+ "name": "EntityManagement",
1690
+ "module": "src/entities/entities.ts"
1553
1691
  }
1554
1692
  },
1555
1693
  {
1556
- "kind": "field",
1557
- "name": "container",
1694
+ "name": "updateEvent",
1558
1695
  "type": {
1559
- "text": "Container"
1696
+ "text": "string"
1697
+ },
1698
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1699
+ "fieldName": "updateEvent",
1700
+ "inheritedFrom": {
1701
+ "name": "EntityManagement",
1702
+ "module": "src/entities/entities.ts"
1560
1703
  }
1561
1704
  },
1562
1705
  {
1563
- "kind": "field",
1564
- "name": "provider",
1706
+ "name": "deleteEvent",
1565
1707
  "type": {
1566
- "text": "HTMLElement"
1708
+ "text": "string"
1709
+ },
1710
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1711
+ "fieldName": "deleteEvent",
1712
+ "inheritedFrom": {
1713
+ "name": "EntityManagement",
1714
+ "module": "src/entities/entities.ts"
1567
1715
  }
1568
1716
  },
1569
1717
  {
1570
- "kind": "field",
1571
- "name": "ready",
1718
+ "name": "createEvent",
1572
1719
  "type": {
1573
- "text": "boolean"
1720
+ "text": "string"
1574
1721
  },
1575
- "default": "false"
1722
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1723
+ "fieldName": "createEvent",
1724
+ "inheritedFrom": {
1725
+ "name": "EntityManagement",
1726
+ "module": "src/entities/entities.ts"
1727
+ }
1576
1728
  },
1577
1729
  {
1578
- "kind": "method",
1579
- "name": "onLuminanceToggle"
1730
+ "name": "title",
1731
+ "type": {
1732
+ "text": "string"
1733
+ },
1734
+ "description": "Title of the grid",
1735
+ "fieldName": "title",
1736
+ "inheritedFrom": {
1737
+ "name": "EntityManagement",
1738
+ "module": "src/entities/entities.ts"
1739
+ }
1580
1740
  },
1581
1741
  {
1582
- "kind": "method",
1583
- "name": "loadRemotes"
1742
+ "name": "entityLabel",
1743
+ "type": {
1744
+ "text": "string"
1745
+ },
1746
+ "description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
1747
+ "fieldName": "entityLabel",
1748
+ "inheritedFrom": {
1749
+ "name": "EntityManagement",
1750
+ "module": "src/entities/entities.ts"
1751
+ }
1584
1752
  },
1585
1753
  {
1586
- "kind": "method",
1587
- "name": "selectTemplate"
1754
+ "name": "row-selection",
1755
+ "type": {
1756
+ "text": "string"
1757
+ },
1758
+ "default": "'single'",
1759
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1760
+ "fieldName": "rowSelection",
1761
+ "inheritedFrom": {
1762
+ "name": "EntityManagement",
1763
+ "module": "src/entities/entities.ts"
1764
+ }
1588
1765
  },
1589
1766
  {
1590
- "kind": "method",
1591
- "name": "registerDIDependencies",
1592
- "privacy": "private"
1593
- }
1594
- ],
1595
- "superclass": {
1596
- "name": "FASTElement",
1597
- "package": "@microsoft/fast-element"
1598
- },
1599
- "customElement": true
1600
- }
1601
- ],
1602
- "exports": [
1603
- {
1604
- "kind": "js",
1605
- "name": "MainApplication",
1606
- "declaration": {
1607
- "name": "MainApplication",
1608
- "module": "src/main/main.ts"
1609
- }
1610
- },
1611
- {
1612
- "kind": "custom-element-definition",
1613
- "declaration": {
1614
- "name": "MainApplication",
1615
- "module": "src/main/main.ts"
1616
- }
1617
- }
1618
- ]
1619
- },
1620
- {
1621
- "kind": "javascript-module",
1622
- "path": "src/profiles/editProfileSchema.ts",
1623
- "declarations": [
1624
- {
1625
- "kind": "variable",
1626
- "name": "editProfileFormSchema",
1627
- "type": {
1628
- "text": "UiSchema"
1629
- },
1630
- "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
1631
- }
1632
- ],
1633
- "exports": [
1634
- {
1635
- "kind": "js",
1636
- "name": "editProfileFormSchema",
1637
- "declaration": {
1638
- "name": "editProfileFormSchema",
1639
- "module": "src/profiles/editProfileSchema.ts"
1640
- }
1641
- }
1642
- ]
1643
- },
1644
- {
1645
- "kind": "javascript-module",
1646
- "path": "src/profiles/profiles.ts",
1647
- "declarations": [
1648
- {
1649
- "kind": "class",
1650
- "description": "Main class which defined the profile management functionality",
1651
- "name": "Profiles",
1652
- "members": [
1767
+ "name": "enable-cell-flashing",
1768
+ "type": {
1769
+ "text": "boolean"
1770
+ },
1771
+ "default": "false",
1772
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1773
+ "fieldName": "enableCellFlashing",
1774
+ "inheritedFrom": {
1775
+ "name": "EntityManagement",
1776
+ "module": "src/entities/entities.ts"
1777
+ }
1778
+ },
1653
1779
  {
1654
- "kind": "method",
1655
- "name": "readProfileData",
1656
- "privacy": "public",
1657
- "parameters": [
1658
- {
1659
- "name": "profile"
1660
- }
1661
- ]
1780
+ "name": "enable-row-flashing",
1781
+ "type": {
1782
+ "text": "boolean"
1783
+ },
1784
+ "default": "false",
1785
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
1786
+ "fieldName": "enableRowFlashing",
1787
+ "inheritedFrom": {
1788
+ "name": "EntityManagement",
1789
+ "module": "src/entities/entities.ts"
1790
+ }
1662
1791
  },
1663
1792
  {
1664
- "kind": "method",
1665
- "name": "confirmDelete"
1793
+ "name": "datasource-type",
1794
+ "type": {
1795
+ "text": "DatasourceType"
1796
+ },
1797
+ "default": "'client'",
1798
+ "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
1799
+ "fieldName": "datasourceType",
1800
+ "inheritedFrom": {
1801
+ "name": "EntityManagement",
1802
+ "module": "src/entities/entities.ts"
1803
+ }
1666
1804
  },
1667
1805
  {
1668
- "kind": "field",
1669
- "name": "createEvent",
1806
+ "name": "persist-column-state-key",
1670
1807
  "type": {
1671
1808
  "text": "string"
1672
1809
  },
1673
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1674
- "privacy": "public",
1810
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1811
+ "fieldName": "persistColumnStateKey",
1675
1812
  "inheritedFrom": {
1676
1813
  "name": "EntityManagement",
1677
1814
  "module": "src/entities/entities.ts"
1678
1815
  }
1679
1816
  },
1680
1817
  {
1681
- "kind": "field",
1682
- "name": "deleteEvent",
1818
+ "name": "size-columns-to-fit",
1683
1819
  "type": {
1684
- "text": "string"
1820
+ "text": "boolean"
1685
1821
  },
1686
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1687
- "privacy": "public",
1822
+ "description": "Resizes columns to take available space",
1823
+ "fieldName": "sizeColumnsToFit",
1688
1824
  "inheritedFrom": {
1689
1825
  "name": "EntityManagement",
1690
1826
  "module": "src/entities/entities.ts"
1691
1827
  }
1692
1828
  },
1693
1829
  {
1694
- "kind": "field",
1695
- "name": "updateEvent",
1830
+ "name": "enable-filter-bar",
1696
1831
  "type": {
1697
- "text": "string"
1832
+ "text": "boolean"
1698
1833
  },
1699
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1700
- "privacy": "public",
1834
+ "description": "Enables filter bar component",
1835
+ "fieldName": "enableFilterBar",
1701
1836
  "inheritedFrom": {
1702
1837
  "name": "EntityManagement",
1703
1838
  "module": "src/entities/entities.ts"
1704
1839
  }
1705
1840
  },
1706
1841
  {
1707
- "kind": "field",
1708
- "name": "persistColumnStateKey",
1842
+ "name": "hide-edit",
1709
1843
  "type": {
1710
- "text": "string"
1844
+ "text": "boolean"
1711
1845
  },
1712
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1713
- "privacy": "public",
1714
- "default": "'entity_profiles_management'",
1846
+ "default": "false",
1847
+ "description": "Hides edit button",
1848
+ "fieldName": "hideEdit",
1715
1849
  "inheritedFrom": {
1716
1850
  "name": "EntityManagement",
1717
1851
  "module": "src/entities/entities.ts"
1718
1852
  }
1719
1853
  },
1720
1854
  {
1721
- "kind": "field",
1722
- "name": "updateFormUiSchema",
1855
+ "name": "hide-delete",
1723
1856
  "type": {
1724
- "text": "UiSchema"
1857
+ "text": "boolean"
1725
1858
  },
1726
- "description": "Enables you to supply a schema to configure an update form.",
1727
- "privacy": "public",
1728
- "default": "editProfileFormSchema",
1859
+ "default": "false",
1860
+ "description": "Hides delete button",
1861
+ "fieldName": "hideDelete",
1729
1862
  "inheritedFrom": {
1730
1863
  "name": "EntityManagement",
1731
1864
  "module": "src/entities/entities.ts"
1732
1865
  }
1733
1866
  },
1734
1867
  {
1735
- "kind": "field",
1736
- "name": "createFormUiSchema",
1868
+ "name": "enable-search-bar",
1737
1869
  "type": {
1738
- "text": "UiSchema"
1870
+ "text": "boolean"
1739
1871
  },
1740
- "description": "Enables you to supply a schema to configure an insert form.",
1741
- "privacy": "public",
1742
- "default": "editProfileFormSchema",
1872
+ "default": "false",
1873
+ "description": "This attribute controls whether to enable the search-bar.",
1874
+ "fieldName": "enableSearchBar",
1875
+ "inheritedFrom": {
1876
+ "name": "EntityManagement",
1877
+ "module": "src/entities/entities.ts"
1878
+ }
1879
+ },
1880
+ {
1881
+ "name": "header-case-type",
1882
+ "type": {
1883
+ "text": "GridProCaseType"
1884
+ },
1885
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1886
+ "fieldName": "headerCaseType",
1887
+ "inheritedFrom": {
1888
+ "name": "EntityManagement",
1889
+ "module": "src/entities/entities.ts"
1890
+ }
1891
+ },
1892
+ {
1893
+ "name": "modal-position",
1894
+ "type": {
1895
+ "text": "'centre' | 'left' | 'right'"
1896
+ },
1897
+ "default": "'right'",
1898
+ "description": "Determines where the modal dialog will appear on screen",
1899
+ "fieldName": "modalPosition",
1900
+ "inheritedFrom": {
1901
+ "name": "EntityManagement",
1902
+ "module": "src/entities/entities.ts"
1903
+ }
1904
+ },
1905
+ {
1906
+ "name": "crud-menu-position",
1907
+ "type": {
1908
+ "text": "CrudMenuPosition"
1909
+ },
1910
+ "description": "Determines where the buttons will appear",
1911
+ "fieldName": "crudMenuPosition",
1912
+ "inheritedFrom": {
1913
+ "name": "EntityManagement",
1914
+ "module": "src/entities/entities.ts"
1915
+ }
1916
+ },
1917
+ {
1918
+ "name": "crud-menu-style",
1919
+ "type": {
1920
+ "text": "ActionsMenuStyle"
1921
+ },
1922
+ "description": "Determines the style of the buttons",
1923
+ "fieldName": "crudMenuStyle",
1743
1924
  "inheritedFrom": {
1744
1925
  "name": "EntityManagement",
1745
1926
  "module": "src/entities/entities.ts"
1746
1927
  }
1747
1928
  },
1929
+ {
1930
+ "name": "crud-action-menu-name",
1931
+ "type": {
1932
+ "text": "string"
1933
+ },
1934
+ "default": "'⋮'",
1935
+ "description": "The label of the crud action menu",
1936
+ "fieldName": "crudActionMenuName",
1937
+ "inheritedFrom": {
1938
+ "name": "EntityManagement",
1939
+ "module": "src/entities/entities.ts"
1940
+ }
1941
+ }
1942
+ ]
1943
+ }
1944
+ ],
1945
+ "exports": [
1946
+ {
1947
+ "kind": "js",
1948
+ "name": "Profiles",
1949
+ "declaration": {
1950
+ "name": "Profiles",
1951
+ "module": "src/profiles/profiles.ts"
1952
+ }
1953
+ },
1954
+ {
1955
+ "kind": "custom-element-definition",
1956
+ "name": "profile-management",
1957
+ "declaration": {
1958
+ "name": "Profiles",
1959
+ "module": "src/profiles/profiles.ts"
1960
+ }
1961
+ }
1962
+ ]
1963
+ },
1964
+ {
1965
+ "kind": "javascript-module",
1966
+ "path": "src/layouts/default.ts",
1967
+ "declarations": [
1968
+ {
1969
+ "kind": "variable",
1970
+ "name": "loginLayout",
1971
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1972
+ },
1973
+ {
1974
+ "kind": "variable",
1975
+ "name": "defaultLayout",
1976
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1977
+ }
1978
+ ],
1979
+ "exports": [
1980
+ {
1981
+ "kind": "js",
1982
+ "name": "loginLayout",
1983
+ "declaration": {
1984
+ "name": "loginLayout",
1985
+ "module": "src/layouts/default.ts"
1986
+ }
1987
+ },
1988
+ {
1989
+ "kind": "js",
1990
+ "name": "defaultLayout",
1991
+ "declaration": {
1992
+ "name": "defaultLayout",
1993
+ "module": "src/layouts/default.ts"
1994
+ }
1995
+ }
1996
+ ]
1997
+ },
1998
+ {
1999
+ "kind": "javascript-module",
2000
+ "path": "src/layouts/index.ts",
2001
+ "declarations": [],
2002
+ "exports": [
2003
+ {
2004
+ "kind": "js",
2005
+ "name": "*",
2006
+ "declaration": {
2007
+ "name": "*",
2008
+ "package": "./default"
2009
+ }
2010
+ }
2011
+ ]
2012
+ },
2013
+ {
2014
+ "kind": "javascript-module",
2015
+ "path": "src/list/index.ts",
2016
+ "declarations": [],
2017
+ "exports": [
2018
+ {
2019
+ "kind": "js",
2020
+ "name": "*",
2021
+ "declaration": {
2022
+ "name": "*",
2023
+ "package": "./list"
2024
+ }
2025
+ }
2026
+ ]
2027
+ },
2028
+ {
2029
+ "kind": "javascript-module",
2030
+ "path": "src/list/list.styles.ts",
2031
+ "declarations": [
2032
+ {
2033
+ "kind": "variable",
2034
+ "name": "listStyles",
2035
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
2036
+ }
2037
+ ],
2038
+ "exports": [
2039
+ {
2040
+ "kind": "js",
2041
+ "name": "listStyles",
2042
+ "declaration": {
2043
+ "name": "listStyles",
2044
+ "module": "src/list/list.styles.ts"
2045
+ }
2046
+ }
2047
+ ]
2048
+ },
2049
+ {
2050
+ "kind": "javascript-module",
2051
+ "path": "src/list/list.template.ts",
2052
+ "declarations": [
2053
+ {
2054
+ "kind": "function",
2055
+ "name": "getPrefixedList",
2056
+ "parameters": [
2057
+ {
2058
+ "name": "prefix"
2059
+ }
2060
+ ]
2061
+ }
2062
+ ],
2063
+ "exports": [
2064
+ {
2065
+ "kind": "js",
2066
+ "name": "getPrefixedList",
2067
+ "declaration": {
2068
+ "name": "getPrefixedList",
2069
+ "module": "src/list/list.template.ts"
2070
+ }
2071
+ }
2072
+ ]
2073
+ },
2074
+ {
2075
+ "kind": "javascript-module",
2076
+ "path": "src/list/list.ts",
2077
+ "declarations": [
2078
+ {
2079
+ "kind": "class",
2080
+ "description": "",
2081
+ "name": "List",
2082
+ "members": [
1748
2083
  {
1749
2084
  "kind": "field",
1750
- "name": "readEventFn",
2085
+ "name": "prefix",
1751
2086
  "type": {
1752
- "text": "(entity) => any"
1753
- },
1754
- "description": "Similar to readEvent but allows to provide function that will be executed before\nopening the form and yields data to the form",
1755
- "parameters": [
1756
- {
1757
- "description": "selected entity from the grid",
1758
- "name": "entity"
1759
- }
1760
- ],
1761
- "return": {
1762
- "type": {
1763
- "text": ""
1764
- }
2087
+ "text": "string"
1765
2088
  },
1766
- "privacy": "public",
1767
- "inheritedFrom": {
1768
- "name": "EntityManagement",
1769
- "module": "src/entities/entities.ts"
1770
- }
2089
+ "default": "'zero'",
2090
+ "description": "Name of the design system prefix that will be used in renderers.",
2091
+ "privacy": "public"
1771
2092
  },
1772
2093
  {
1773
2094
  "kind": "field",
@@ -1775,13 +2096,7 @@
1775
2096
  "type": {
1776
2097
  "text": "string"
1777
2098
  },
1778
- "description": "Name of the backend resource which contain the entities to manage",
1779
- "privacy": "public",
1780
- "default": "'ALL_PROFILES'",
1781
- "inheritedFrom": {
1782
- "name": "EntityManagement",
1783
- "module": "src/entities/entities.ts"
1784
- }
2099
+ "default": "''"
1785
2100
  },
1786
2101
  {
1787
2102
  "kind": "field",
@@ -1789,653 +2104,396 @@
1789
2104
  "type": {
1790
2105
  "text": "string"
1791
2106
  },
1792
- "description": "Title of the grid",
1793
- "privacy": "public",
1794
- "default": "'Profile Management'",
1795
- "inheritedFrom": {
1796
- "name": "EntityManagement",
1797
- "module": "src/entities/entities.ts"
1798
- }
2107
+ "default": "''"
1799
2108
  },
1800
2109
  {
1801
2110
  "kind": "field",
1802
- "name": "entityLabel",
2111
+ "name": "persistColumnStateKey",
1803
2112
  "type": {
1804
2113
  "text": "string"
1805
- },
1806
- "description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
1807
- "privacy": "public",
1808
- "default": "'Profile'",
1809
- "inheritedFrom": {
1810
- "name": "EntityManagement",
1811
- "module": "src/entities/entities.ts"
1812
2114
  }
1813
2115
  },
1814
2116
  {
1815
2117
  "kind": "field",
1816
- "name": "prefix",
2118
+ "name": "sizeColumnsToFit",
1817
2119
  "type": {
1818
- "text": "string"
1819
- },
1820
- "default": "'zero'",
1821
- "description": "Name of the design system prefix that will be used in renderers.",
1822
- "privacy": "public",
1823
- "inheritedFrom": {
1824
- "name": "EntityManagement",
1825
- "module": "src/entities/entities.ts"
2120
+ "text": "boolean"
1826
2121
  }
1827
2122
  },
1828
2123
  {
1829
2124
  "kind": "field",
1830
- "name": "readEvent",
2125
+ "name": "rowSelection",
1831
2126
  "type": {
1832
2127
  "text": "string"
1833
- },
1834
- "description": "Name of the request on the Genesis server which fetches data for the form, example usage could\ninclude fetching additional data that is not available in the grid but required for the selected entity",
1835
- "privacy": "public",
1836
- "inheritedFrom": {
1837
- "name": "EntityManagement",
1838
- "module": "src/entities/entities.ts"
1839
2128
  }
1840
2129
  },
1841
2130
  {
1842
2131
  "kind": "field",
1843
- "name": "rowSelection",
2132
+ "name": "enableFilterBar",
1844
2133
  "type": {
1845
- "text": "string"
1846
- },
1847
- "default": "'single'",
1848
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1849
- "privacy": "public",
1850
- "inheritedFrom": {
1851
- "name": "EntityManagement",
1852
- "module": "src/entities/entities.ts"
2134
+ "text": "boolean"
1853
2135
  }
1854
2136
  },
1855
2137
  {
1856
2138
  "kind": "field",
1857
- "name": "enableCellFlashing",
2139
+ "name": "asyncAdd",
1858
2140
  "type": {
1859
2141
  "text": "boolean"
1860
2142
  },
1861
- "default": "false",
1862
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1863
- "privacy": "public",
1864
- "inheritedFrom": {
1865
- "name": "EntityManagement",
1866
- "module": "src/entities/entities.ts"
1867
- }
2143
+ "default": "false"
1868
2144
  },
1869
2145
  {
1870
2146
  "kind": "field",
1871
- "name": "enableRowFlashing",
2147
+ "name": "asyncRemove",
1872
2148
  "type": {
1873
2149
  "text": "boolean"
1874
2150
  },
1875
- "default": "false",
1876
- "description": "If true, will enable row flashing for all rows for `add` transactions",
1877
- "privacy": "public",
1878
- "inheritedFrom": {
1879
- "name": "EntityManagement",
1880
- "module": "src/entities/entities.ts"
1881
- }
2151
+ "default": "false"
1882
2152
  },
1883
2153
  {
1884
2154
  "kind": "field",
1885
- "name": "datasourceType",
2155
+ "name": "asyncUpdate",
1886
2156
  "type": {
1887
- "text": "DatasourceType"
2157
+ "text": "boolean"
1888
2158
  },
1889
- "default": "'client'",
1890
- "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
1891
- "privacy": "public",
1892
- "inheritedFrom": {
1893
- "name": "EntityManagement",
1894
- "module": "src/entities/entities.ts"
1895
- }
2159
+ "default": "true"
1896
2160
  },
1897
2161
  {
1898
2162
  "kind": "field",
1899
- "name": "gridOptions",
2163
+ "name": "enableCellFlashing",
1900
2164
  "type": {
1901
- "text": "GridOptions"
2165
+ "text": "boolean"
1902
2166
  },
1903
- "description": "GridOptions to be passed down from application",
1904
- "privacy": "public",
1905
- "inheritedFrom": {
1906
- "name": "EntityManagement",
1907
- "module": "src/entities/entities.ts"
1908
- }
2167
+ "default": "false"
1909
2168
  },
1910
2169
  {
1911
2170
  "kind": "field",
1912
- "name": "columns",
2171
+ "name": "enableRowFlashing",
1913
2172
  "type": {
1914
- "text": "ColDef[]"
2173
+ "text": "boolean"
1915
2174
  },
1916
- "description": "Array which holds the column definitions.",
1917
- "privacy": "public",
1918
- "inheritedFrom": {
1919
- "name": "EntityManagement",
1920
- "module": "src/entities/entities.ts"
1921
- }
2175
+ "default": "false"
1922
2176
  },
1923
2177
  {
1924
2178
  "kind": "field",
1925
- "name": "datasourceConfig",
2179
+ "name": "hideEdit",
1926
2180
  "type": {
1927
- "text": "DatasourceConfiguration"
2181
+ "text": "boolean"
1928
2182
  },
1929
- "description": "The configuration which is used when interacting with the resource on the backend",
1930
- "privacy": "public",
1931
- "inheritedFrom": {
1932
- "name": "EntityManagement",
1933
- "module": "src/entities/entities.ts"
1934
- }
2183
+ "default": "false"
1935
2184
  },
1936
2185
  {
1937
2186
  "kind": "field",
1938
- "name": "formRenderers",
2187
+ "name": "hideDelete",
1939
2188
  "type": {
1940
- "text": "RendererEntry[]"
2189
+ "text": "boolean"
1941
2190
  },
1942
- "default": "renderers",
1943
- "description": "Array with renderers used by foundation-forms",
1944
- "privacy": "public",
1945
- "inheritedFrom": {
1946
- "name": "EntityManagement",
1947
- "module": "src/entities/entities.ts"
1948
- }
2191
+ "default": "false"
1949
2192
  },
1950
2193
  {
1951
2194
  "kind": "field",
1952
- "name": "defaultEntityValues",
2195
+ "name": "datasourceType",
1953
2196
  "type": {
1954
- "text": "Record<string, unknown>"
2197
+ "text": "DatasourceType"
1955
2198
  },
1956
- "description": "The default values to populate the form with when the user is adding an entity",
1957
- "privacy": "public",
1958
- "inheritedFrom": {
1959
- "name": "EntityManagement",
1960
- "module": "src/entities/entities.ts"
1961
- }
1962
- },
1963
- {
1964
- "kind": "method",
1965
- "name": "editModalVisibleChanged",
1966
- "privacy": "private",
1967
- "inheritedFrom": {
1968
- "name": "EntityManagement",
1969
- "module": "src/entities/entities.ts"
1970
- }
2199
+ "default": "'client'"
1971
2200
  },
1972
2201
  {
1973
2202
  "kind": "field",
1974
- "name": "sizeColumnsToFit",
2203
+ "name": "headerCaseType",
1975
2204
  "type": {
1976
- "text": "boolean"
1977
- },
1978
- "description": "Resizes columns to take available space",
1979
- "privacy": "public",
1980
- "inheritedFrom": {
1981
- "name": "EntityManagement",
1982
- "module": "src/entities/entities.ts"
2205
+ "text": "GridProCaseType"
1983
2206
  }
1984
2207
  },
1985
2208
  {
1986
2209
  "kind": "field",
1987
- "name": "enableFilterBar",
2210
+ "name": "grid",
1988
2211
  "type": {
1989
- "text": "boolean"
2212
+ "text": "ZeroGridPro"
1990
2213
  },
1991
- "description": "Enables filter bar component",
1992
- "privacy": "public",
1993
- "inheritedFrom": {
1994
- "name": "EntityManagement",
1995
- "module": "src/entities/entities.ts"
1996
- }
2214
+ "privacy": "public"
1997
2215
  },
1998
2216
  {
1999
2217
  "kind": "field",
2000
- "name": "hideEdit",
2218
+ "name": "datasource",
2001
2219
  "type": {
2002
- "text": "boolean"
2220
+ "text": "GridProGenesisDatasource"
2003
2221
  },
2004
- "default": "false",
2005
- "description": "Hides edit button",
2006
- "privacy": "public",
2007
- "inheritedFrom": {
2008
- "name": "EntityManagement",
2009
- "module": "src/entities/entities.ts"
2010
- }
2222
+ "privacy": "public"
2011
2223
  },
2012
2224
  {
2013
2225
  "kind": "field",
2014
- "name": "hideDelete",
2015
- "type": {
2016
- "text": "boolean"
2017
- },
2018
- "default": "false",
2019
- "description": "Hides delete button",
2020
- "privacy": "public",
2021
- "inheritedFrom": {
2022
- "name": "EntityManagement",
2023
- "module": "src/entities/entities.ts"
2226
+ "name": "gridOptions",
2227
+ "type": {
2228
+ "text": "GridOptions"
2024
2229
  }
2025
2230
  },
2026
2231
  {
2027
2232
  "kind": "field",
2028
- "name": "enableSearchBar",
2233
+ "name": "columns",
2029
2234
  "type": {
2030
- "text": "boolean"
2031
- },
2032
- "default": "false",
2033
- "description": "This attribute controls whether to enable the search-bar.",
2034
- "privacy": "public",
2035
- "inheritedFrom": {
2036
- "name": "EntityManagement",
2037
- "module": "src/entities/entities.ts"
2235
+ "text": "ColDef[]"
2038
2236
  }
2039
2237
  },
2040
2238
  {
2041
2239
  "kind": "field",
2042
- "name": "headerCaseType",
2240
+ "name": "datasourceConfig",
2043
2241
  "type": {
2044
- "text": "GridProCaseType"
2045
- },
2046
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2047
- "privacy": "public",
2048
- "inheritedFrom": {
2049
- "name": "EntityManagement",
2050
- "module": "src/entities/entities.ts"
2242
+ "text": "DatasourceConfiguration"
2051
2243
  }
2052
2244
  },
2053
2245
  {
2054
2246
  "kind": "field",
2055
- "name": "searchBarConfig",
2247
+ "name": "actionButtonsConfig",
2056
2248
  "type": {
2057
- "text": "AvailableOption[]"
2249
+ "text": "array"
2058
2250
  },
2059
- "description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @public",
2060
- "inheritedFrom": {
2061
- "name": "EntityManagement",
2062
- "module": "src/entities/entities.ts"
2063
- }
2251
+ "default": "[]"
2064
2252
  },
2065
2253
  {
2066
2254
  "kind": "field",
2067
- "name": "modalPosition",
2255
+ "name": "deleteEvent",
2068
2256
  "type": {
2069
- "text": "'centre' | 'left' | 'right'"
2070
- },
2071
- "default": "'right'",
2072
- "description": "Determines where the modal dialog will appear on screen",
2073
- "privacy": "public",
2074
- "inheritedFrom": {
2075
- "name": "EntityManagement",
2076
- "module": "src/entities/entities.ts"
2257
+ "text": "string"
2077
2258
  }
2078
2259
  },
2079
2260
  {
2080
2261
  "kind": "field",
2081
- "name": "crudMenuPosition",
2262
+ "name": "updateEvent",
2082
2263
  "type": {
2083
- "text": "CrudMenuPosition"
2084
- },
2085
- "description": "Determines where the buttons will appear",
2086
- "privacy": "public",
2087
- "inheritedFrom": {
2088
- "name": "EntityManagement",
2089
- "module": "src/entities/entities.ts"
2264
+ "text": "string"
2090
2265
  }
2091
2266
  },
2092
2267
  {
2093
2268
  "kind": "field",
2094
- "name": "crudMenuStyle",
2269
+ "name": "connect",
2095
2270
  "type": {
2096
- "text": "ActionsMenuStyle"
2271
+ "text": "Connect"
2097
2272
  },
2098
- "description": "Determines the style of the buttons",
2099
- "privacy": "public",
2100
- "inheritedFrom": {
2101
- "name": "EntityManagement",
2102
- "module": "src/entities/entities.ts"
2103
- }
2273
+ "privacy": "protected"
2104
2274
  },
2105
2275
  {
2106
2276
  "kind": "field",
2107
- "name": "crudActionMenuName",
2277
+ "name": "isServerSideDatasource",
2108
2278
  "type": {
2109
- "text": "string"
2279
+ "text": "boolean"
2110
2280
  },
2111
- "default": "'⋮'",
2112
- "description": "The label of the crud action menu",
2113
- "inheritedFrom": {
2114
- "name": "EntityManagement",
2115
- "module": "src/entities/entities.ts"
2116
- }
2281
+ "readonly": true
2117
2282
  },
2118
2283
  {
2119
2284
  "kind": "method",
2120
- "name": "readEntity",
2285
+ "name": "onCellEditingStopped",
2121
2286
  "privacy": "private",
2122
2287
  "parameters": [
2123
2288
  {
2124
- "name": "e",
2289
+ "name": "event",
2125
2290
  "type": {
2126
- "text": "CustomEvent"
2291
+ "text": "CellEditRequestEvent"
2127
2292
  }
2128
2293
  }
2129
- ],
2130
- "inheritedFrom": {
2131
- "name": "EntityManagement",
2132
- "module": "src/entities/entities.ts"
2133
- }
2294
+ ]
2134
2295
  },
2135
2296
  {
2136
- "kind": "method",
2137
- "name": "searchBarReqServer",
2138
- "privacy": "private",
2139
- "parameters": [
2140
- {
2141
- "name": "options",
2142
- "type": {
2143
- "text": "SelectedOption<string>[]"
2144
- }
2145
- }
2146
- ],
2147
- "inheritedFrom": {
2148
- "name": "EntityManagement",
2149
- "module": "src/entities/entities.ts"
2150
- }
2297
+ "kind": "field",
2298
+ "name": "criteria",
2299
+ "readonly": true
2151
2300
  },
2152
2301
  {
2153
- "kind": "method",
2154
- "name": "searchBarDataserver",
2155
- "privacy": "private",
2156
- "parameters": [
2157
- {
2158
- "name": "options",
2159
- "type": {
2160
- "text": "SelectedOption<string>[]"
2161
- }
2162
- }
2163
- ],
2164
- "inheritedFrom": {
2165
- "name": "EntityManagement",
2166
- "module": "src/entities/entities.ts"
2167
- }
2302
+ "kind": "field",
2303
+ "name": "fields",
2304
+ "readonly": true
2305
+ },
2306
+ {
2307
+ "kind": "field",
2308
+ "name": "isSnapshot",
2309
+ "readonly": true
2310
+ },
2311
+ {
2312
+ "kind": "field",
2313
+ "name": "maxRows",
2314
+ "readonly": true
2315
+ },
2316
+ {
2317
+ "kind": "field",
2318
+ "name": "maxView",
2319
+ "readonly": true
2320
+ },
2321
+ {
2322
+ "kind": "field",
2323
+ "name": "movingView",
2324
+ "readonly": true
2325
+ },
2326
+ {
2327
+ "kind": "field",
2328
+ "name": "orderBy",
2329
+ "readonly": true
2330
+ },
2331
+ {
2332
+ "kind": "field",
2333
+ "name": "pollingInterval",
2334
+ "readonly": true
2335
+ },
2336
+ {
2337
+ "kind": "field",
2338
+ "name": "request",
2339
+ "readonly": true
2340
+ },
2341
+ {
2342
+ "kind": "field",
2343
+ "name": "reverse",
2344
+ "readonly": true
2168
2345
  },
2169
2346
  {
2170
2347
  "kind": "method",
2171
- "name": "requestChanged",
2348
+ "name": "handleFilterChanged",
2172
2349
  "privacy": "private",
2173
2350
  "parameters": [
2174
2351
  {
2175
- "name": "e",
2176
- "type": {
2177
- "text": "CustomEvent<string>"
2178
- }
2352
+ "name": "e"
2179
2353
  }
2180
- ],
2181
- "inheritedFrom": {
2182
- "name": "EntityManagement",
2183
- "module": "src/entities/entities.ts"
2184
- }
2354
+ ]
2185
2355
  },
2186
2356
  {
2187
2357
  "kind": "method",
2188
- "name": "criteriaChanged",
2358
+ "name": "handleFilterCleared",
2189
2359
  "privacy": "private",
2190
2360
  "parameters": [
2191
2361
  {
2192
- "name": "e",
2193
- "type": {
2194
- "text": "CustomEvent<string>"
2195
- }
2362
+ "name": "e"
2196
2363
  }
2197
- ],
2198
- "inheritedFrom": {
2199
- "name": "EntityManagement",
2200
- "module": "src/entities/entities.ts"
2201
- }
2364
+ ]
2202
2365
  },
2203
2366
  {
2204
2367
  "kind": "method",
2205
- "name": "submitFailureNotification",
2368
+ "name": "select",
2206
2369
  "privacy": "private",
2207
2370
  "parameters": [
2208
2371
  {
2209
- "name": "e",
2210
- "type": {
2211
- "text": "CustomEvent"
2212
- }
2372
+ "name": "e"
2213
2373
  }
2214
- ],
2215
- "inheritedFrom": {
2216
- "name": "EntityManagement",
2217
- "module": "src/entities/entities.ts"
2218
- }
2374
+ ]
2219
2375
  },
2220
2376
  {
2221
2377
  "kind": "method",
2222
- "name": "submitErrorHandler",
2378
+ "name": "selectionChanged",
2223
2379
  "privacy": "private",
2224
2380
  "parameters": [
2225
2381
  {
2226
2382
  "name": "e",
2227
2383
  "type": {
2228
- "text": "CustomEvent"
2384
+ "text": "CustomEvent<SelectionChangedEvent>"
2229
2385
  }
2230
2386
  }
2231
- ],
2232
- "inheritedFrom": {
2233
- "name": "EntityManagement",
2234
- "module": "src/entities/entities.ts"
2235
- }
2236
- },
2237
- {
2238
- "kind": "method",
2239
- "name": "showDeleteConfirmation",
2240
- "privacy": "private",
2241
- "inheritedFrom": {
2242
- "name": "EntityManagement",
2243
- "module": "src/entities/entities.ts"
2244
- }
2245
- }
2246
- ],
2247
- "superclass": {
2248
- "name": "EntityManagement",
2249
- "module": "/src/entities"
2250
- },
2251
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2252
- "tagName": "profile-management",
2253
- "customElement": true,
2254
- "attributes": [
2255
- {
2256
- "name": "design-system-prefix",
2257
- "type": {
2258
- "text": "string"
2259
- },
2260
- "default": "'zero'",
2261
- "description": "Name of the design system prefix that will be used in renderers.",
2262
- "fieldName": "prefix",
2263
- "inheritedFrom": {
2264
- "name": "EntityManagement",
2265
- "module": "src/entities/entities.ts"
2266
- }
2267
- },
2268
- {
2269
- "name": "resourceName",
2270
- "type": {
2271
- "text": "string"
2272
- },
2273
- "description": "Name of the backend resource which contain the entities to manage",
2274
- "fieldName": "resourceName",
2275
- "inheritedFrom": {
2276
- "name": "EntityManagement",
2277
- "module": "src/entities/entities.ts"
2278
- }
2387
+ ]
2279
2388
  },
2280
2389
  {
2281
- "name": "readEvent",
2282
- "type": {
2283
- "text": "string"
2284
- },
2285
- "description": "Name of the request on the Genesis server which fetches data for the form, example usage could\ninclude fetching additional data that is not available in the grid but required for the selected entity",
2286
- "fieldName": "readEvent",
2287
- "inheritedFrom": {
2288
- "name": "EntityManagement",
2289
- "module": "src/entities/entities.ts"
2290
- }
2390
+ "kind": "field",
2391
+ "name": "edit",
2392
+ "privacy": "private"
2291
2393
  },
2292
2394
  {
2293
- "name": "updateEvent",
2395
+ "kind": "method",
2396
+ "name": "delete",
2397
+ "parameters": [
2398
+ {
2399
+ "name": "e"
2400
+ }
2401
+ ]
2402
+ }
2403
+ ],
2404
+ "attributes": [
2405
+ {
2406
+ "name": "design-system-prefix",
2294
2407
  "type": {
2295
2408
  "text": "string"
2296
2409
  },
2297
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
2298
- "fieldName": "updateEvent",
2299
- "inheritedFrom": {
2300
- "name": "EntityManagement",
2301
- "module": "src/entities/entities.ts"
2302
- }
2410
+ "default": "'zero'",
2411
+ "description": "Name of the design system prefix that will be used in renderers.",
2412
+ "fieldName": "prefix"
2303
2413
  },
2304
2414
  {
2305
- "name": "deleteEvent",
2415
+ "name": "resourceName",
2306
2416
  "type": {
2307
2417
  "text": "string"
2308
2418
  },
2309
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2310
- "fieldName": "deleteEvent",
2311
- "inheritedFrom": {
2312
- "name": "EntityManagement",
2313
- "module": "src/entities/entities.ts"
2314
- }
2419
+ "default": "''",
2420
+ "fieldName": "resourceName"
2315
2421
  },
2316
2422
  {
2317
- "name": "createEvent",
2423
+ "name": "title",
2318
2424
  "type": {
2319
2425
  "text": "string"
2320
2426
  },
2321
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
2322
- "fieldName": "createEvent",
2323
- "inheritedFrom": {
2324
- "name": "EntityManagement",
2325
- "module": "src/entities/entities.ts"
2326
- }
2427
+ "default": "''",
2428
+ "fieldName": "title"
2327
2429
  },
2328
2430
  {
2329
- "name": "title",
2431
+ "name": "persist-column-state-key",
2330
2432
  "type": {
2331
2433
  "text": "string"
2332
2434
  },
2333
- "description": "Title of the grid",
2334
- "fieldName": "title",
2335
- "inheritedFrom": {
2336
- "name": "EntityManagement",
2337
- "module": "src/entities/entities.ts"
2338
- }
2435
+ "fieldName": "persistColumnStateKey"
2339
2436
  },
2340
2437
  {
2341
- "name": "entityLabel",
2438
+ "name": "size-columns-to-fit",
2342
2439
  "type": {
2343
- "text": "string"
2440
+ "text": "boolean"
2344
2441
  },
2345
- "description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
2346
- "fieldName": "entityLabel",
2347
- "inheritedFrom": {
2348
- "name": "EntityManagement",
2349
- "module": "src/entities/entities.ts"
2350
- }
2442
+ "fieldName": "sizeColumnsToFit"
2351
2443
  },
2352
2444
  {
2353
2445
  "name": "row-selection",
2354
2446
  "type": {
2355
2447
  "text": "string"
2356
2448
  },
2357
- "default": "'single'",
2358
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2359
- "fieldName": "rowSelection",
2360
- "inheritedFrom": {
2361
- "name": "EntityManagement",
2362
- "module": "src/entities/entities.ts"
2363
- }
2449
+ "fieldName": "rowSelection"
2364
2450
  },
2365
2451
  {
2366
- "name": "enable-cell-flashing",
2452
+ "name": "enable-filter-bar",
2367
2453
  "type": {
2368
2454
  "text": "boolean"
2369
2455
  },
2370
- "default": "false",
2371
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2372
- "fieldName": "enableCellFlashing",
2373
- "inheritedFrom": {
2374
- "name": "EntityManagement",
2375
- "module": "src/entities/entities.ts"
2376
- }
2456
+ "fieldName": "enableFilterBar"
2377
2457
  },
2378
2458
  {
2379
- "name": "enable-row-flashing",
2459
+ "name": "async-add",
2380
2460
  "type": {
2381
2461
  "text": "boolean"
2382
2462
  },
2383
2463
  "default": "false",
2384
- "description": "If true, will enable row flashing for all rows for `add` transactions",
2385
- "fieldName": "enableRowFlashing",
2386
- "inheritedFrom": {
2387
- "name": "EntityManagement",
2388
- "module": "src/entities/entities.ts"
2389
- }
2464
+ "fieldName": "asyncAdd"
2390
2465
  },
2391
2466
  {
2392
- "name": "datasource-type",
2467
+ "name": "async-remove",
2393
2468
  "type": {
2394
- "text": "DatasourceType"
2469
+ "text": "boolean"
2395
2470
  },
2396
- "default": "'client'",
2397
- "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
2398
- "fieldName": "datasourceType",
2399
- "inheritedFrom": {
2400
- "name": "EntityManagement",
2401
- "module": "src/entities/entities.ts"
2402
- }
2471
+ "default": "false",
2472
+ "fieldName": "asyncRemove"
2403
2473
  },
2404
2474
  {
2405
- "name": "persist-column-state-key",
2475
+ "name": "async-update",
2406
2476
  "type": {
2407
- "text": "string"
2477
+ "text": "boolean"
2408
2478
  },
2409
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
2410
- "fieldName": "persistColumnStateKey",
2411
- "inheritedFrom": {
2412
- "name": "EntityManagement",
2413
- "module": "src/entities/entities.ts"
2414
- }
2479
+ "default": "true",
2480
+ "fieldName": "asyncUpdate"
2415
2481
  },
2416
2482
  {
2417
- "name": "size-columns-to-fit",
2483
+ "name": "enable-cell-flashing",
2418
2484
  "type": {
2419
2485
  "text": "boolean"
2420
2486
  },
2421
- "description": "Resizes columns to take available space",
2422
- "fieldName": "sizeColumnsToFit",
2423
- "inheritedFrom": {
2424
- "name": "EntityManagement",
2425
- "module": "src/entities/entities.ts"
2426
- }
2487
+ "default": "false",
2488
+ "fieldName": "enableCellFlashing"
2427
2489
  },
2428
2490
  {
2429
- "name": "enable-filter-bar",
2491
+ "name": "enable-row-flashing",
2430
2492
  "type": {
2431
2493
  "text": "boolean"
2432
2494
  },
2433
- "description": "Enables filter bar component",
2434
- "fieldName": "enableFilterBar",
2435
- "inheritedFrom": {
2436
- "name": "EntityManagement",
2437
- "module": "src/entities/entities.ts"
2438
- }
2495
+ "default": "false",
2496
+ "fieldName": "enableRowFlashing"
2439
2497
  },
2440
2498
  {
2441
2499
  "name": "hide-edit",
@@ -2443,12 +2501,7 @@
2443
2501
  "text": "boolean"
2444
2502
  },
2445
2503
  "default": "false",
2446
- "description": "Hides edit button",
2447
- "fieldName": "hideEdit",
2448
- "inheritedFrom": {
2449
- "name": "EntityManagement",
2450
- "module": "src/entities/entities.ts"
2451
- }
2504
+ "fieldName": "hideEdit"
2452
2505
  },
2453
2506
  {
2454
2507
  "name": "hide-delete",
@@ -2456,106 +2509,53 @@
2456
2509
  "text": "boolean"
2457
2510
  },
2458
2511
  "default": "false",
2459
- "description": "Hides delete button",
2460
- "fieldName": "hideDelete",
2461
- "inheritedFrom": {
2462
- "name": "EntityManagement",
2463
- "module": "src/entities/entities.ts"
2464
- }
2512
+ "fieldName": "hideDelete"
2465
2513
  },
2466
2514
  {
2467
- "name": "enable-search-bar",
2515
+ "name": "datasource-type",
2468
2516
  "type": {
2469
- "text": "boolean"
2517
+ "text": "DatasourceType"
2470
2518
  },
2471
- "default": "false",
2472
- "description": "This attribute controls whether to enable the search-bar.",
2473
- "fieldName": "enableSearchBar",
2474
- "inheritedFrom": {
2475
- "name": "EntityManagement",
2476
- "module": "src/entities/entities.ts"
2477
- }
2519
+ "default": "'client'",
2520
+ "fieldName": "datasourceType"
2478
2521
  },
2479
2522
  {
2480
2523
  "name": "header-case-type",
2481
2524
  "type": {
2482
2525
  "text": "GridProCaseType"
2483
2526
  },
2484
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2485
- "fieldName": "headerCaseType",
2486
- "inheritedFrom": {
2487
- "name": "EntityManagement",
2488
- "module": "src/entities/entities.ts"
2489
- }
2490
- },
2491
- {
2492
- "name": "modal-position",
2493
- "type": {
2494
- "text": "'centre' | 'left' | 'right'"
2495
- },
2496
- "default": "'right'",
2497
- "description": "Determines where the modal dialog will appear on screen",
2498
- "fieldName": "modalPosition",
2499
- "inheritedFrom": {
2500
- "name": "EntityManagement",
2501
- "module": "src/entities/entities.ts"
2502
- }
2503
- },
2504
- {
2505
- "name": "crud-menu-position",
2506
- "type": {
2507
- "text": "CrudMenuPosition"
2508
- },
2509
- "description": "Determines where the buttons will appear",
2510
- "fieldName": "crudMenuPosition",
2511
- "inheritedFrom": {
2512
- "name": "EntityManagement",
2513
- "module": "src/entities/entities.ts"
2514
- }
2515
- },
2516
- {
2517
- "name": "crud-menu-style",
2518
- "type": {
2519
- "text": "ActionsMenuStyle"
2520
- },
2521
- "description": "Determines the style of the buttons",
2522
- "fieldName": "crudMenuStyle",
2523
- "inheritedFrom": {
2524
- "name": "EntityManagement",
2525
- "module": "src/entities/entities.ts"
2526
- }
2527
- },
2527
+ "fieldName": "headerCaseType"
2528
+ }
2529
+ ],
2530
+ "mixins": [
2528
2531
  {
2529
- "name": "crud-action-menu-name",
2530
- "type": {
2531
- "text": "string"
2532
- },
2533
- "default": "'⋮'",
2534
- "description": "The label of the crud action menu",
2535
- "fieldName": "crudActionMenuName",
2536
- "inheritedFrom": {
2537
- "name": "EntityManagement",
2538
- "module": "src/entities/entities.ts"
2539
- }
2532
+ "name": "LifecycleMixin",
2533
+ "package": "@genesislcap/foundation-utils"
2540
2534
  }
2541
- ]
2535
+ ],
2536
+ "superclass": {
2537
+ "name": "FASTElement",
2538
+ "package": "@microsoft/fast-element"
2539
+ },
2540
+ "tagName": "entity-list",
2541
+ "customElement": true
2542
2542
  }
2543
2543
  ],
2544
2544
  "exports": [
2545
2545
  {
2546
2546
  "kind": "js",
2547
- "name": "Profiles",
2547
+ "name": "List",
2548
2548
  "declaration": {
2549
- "name": "Profiles",
2550
- "module": "src/profiles/profiles.ts"
2549
+ "name": "List",
2550
+ "module": "src/list/list.ts"
2551
2551
  }
2552
2552
  },
2553
2553
  {
2554
2554
  "kind": "custom-element-definition",
2555
- "name": "profile-management",
2555
+ "name": "entity-list",
2556
2556
  "declaration": {
2557
- "name": "Profiles",
2558
- "module": "src/profiles/profiles.ts"
2557
+ "name": "List",
2558
+ "module": "src/list/list.ts"
2559
2559
  }
2560
2560
  }
2561
2561
  ]