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