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