@genesislcap/foundation-entity-management 14.217.1 → 14.217.2-alpha-53d4080.0

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