@genesislcap/foundation-entity-management 14.211.1 → 14.211.3

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.
@@ -129,7 +129,7 @@
129
129
  {
130
130
  "kind": "variable",
131
131
  "name": "styles",
132
- "default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
132
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n flex: 1;\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
133
133
  "description": "Defines the css of the entity component as an ElementStyles object"
134
134
  }
135
135
  ],
@@ -1138,7 +1138,41 @@
1138
1138
  },
1139
1139
  {
1140
1140
  "kind": "javascript-module",
1141
- "path": "src/list/index.ts",
1141
+ "path": "src/layouts/default.ts",
1142
+ "declarations": [
1143
+ {
1144
+ "kind": "variable",
1145
+ "name": "loginLayout",
1146
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1147
+ },
1148
+ {
1149
+ "kind": "variable",
1150
+ "name": "defaultLayout",
1151
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1152
+ }
1153
+ ],
1154
+ "exports": [
1155
+ {
1156
+ "kind": "js",
1157
+ "name": "loginLayout",
1158
+ "declaration": {
1159
+ "name": "loginLayout",
1160
+ "module": "src/layouts/default.ts"
1161
+ }
1162
+ },
1163
+ {
1164
+ "kind": "js",
1165
+ "name": "defaultLayout",
1166
+ "declaration": {
1167
+ "name": "defaultLayout",
1168
+ "module": "src/layouts/default.ts"
1169
+ }
1170
+ }
1171
+ ]
1172
+ },
1173
+ {
1174
+ "kind": "javascript-module",
1175
+ "path": "src/layouts/index.ts",
1142
1176
  "declarations": [],
1143
1177
  "exports": [
1144
1178
  {
@@ -1146,248 +1180,335 @@
1146
1180
  "name": "*",
1147
1181
  "declaration": {
1148
1182
  "name": "*",
1149
- "package": "./list"
1183
+ "package": "./default"
1150
1184
  }
1151
1185
  }
1152
1186
  ]
1153
1187
  },
1154
1188
  {
1155
1189
  "kind": "javascript-module",
1156
- "path": "src/list/list.styles.ts",
1157
- "declarations": [
1158
- {
1159
- "kind": "variable",
1160
- "name": "listStyles",
1161
- "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`"
1162
- }
1163
- ],
1190
+ "path": "src/main/index.ts",
1191
+ "declarations": [],
1164
1192
  "exports": [
1165
1193
  {
1166
1194
  "kind": "js",
1167
- "name": "listStyles",
1195
+ "name": "*",
1168
1196
  "declaration": {
1169
- "name": "listStyles",
1170
- "module": "src/list/list.styles.ts"
1197
+ "name": "*",
1198
+ "package": "./main.template"
1199
+ }
1200
+ },
1201
+ {
1202
+ "kind": "js",
1203
+ "name": "*",
1204
+ "declaration": {
1205
+ "name": "*",
1206
+ "package": "./main"
1171
1207
  }
1172
1208
  }
1173
1209
  ]
1174
1210
  },
1175
1211
  {
1176
1212
  "kind": "javascript-module",
1177
- "path": "src/list/list.template.ts",
1213
+ "path": "src/main/main.styles.ts",
1178
1214
  "declarations": [
1179
1215
  {
1180
- "kind": "function",
1181
- "name": "getPrefixedList",
1182
- "parameters": [
1183
- {
1184
- "name": "prefix"
1185
- }
1186
- ]
1216
+ "kind": "variable",
1217
+ "name": "MainStyles",
1218
+ "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`"
1187
1219
  }
1188
1220
  ],
1189
1221
  "exports": [
1190
1222
  {
1191
1223
  "kind": "js",
1192
- "name": "getPrefixedList",
1224
+ "name": "MainStyles",
1193
1225
  "declaration": {
1194
- "name": "getPrefixedList",
1195
- "module": "src/list/list.template.ts"
1226
+ "name": "MainStyles",
1227
+ "module": "src/main/main.styles.ts"
1196
1228
  }
1197
1229
  }
1198
1230
  ]
1199
1231
  },
1200
1232
  {
1201
1233
  "kind": "javascript-module",
1202
- "path": "src/list/list.ts",
1234
+ "path": "src/main/main.template.ts",
1235
+ "declarations": [],
1236
+ "exports": []
1237
+ },
1238
+ {
1239
+ "kind": "javascript-module",
1240
+ "path": "src/main/main.ts",
1203
1241
  "declarations": [
1204
1242
  {
1205
1243
  "kind": "class",
1206
1244
  "description": "",
1207
- "name": "List",
1245
+ "name": "MainApplication",
1208
1246
  "members": [
1209
1247
  {
1210
1248
  "kind": "field",
1211
- "name": "prefix",
1212
- "type": {
1213
- "text": "string"
1214
- },
1215
- "default": "'zero'",
1216
- "description": "Name of the design system prefix that will be used in renderers.",
1217
- "privacy": "public"
1218
- },
1219
- {
1220
- "kind": "field",
1221
- "name": "resourceName",
1222
- "type": {
1223
- "text": "string"
1224
- },
1225
- "default": "''"
1226
- },
1227
- {
1228
- "kind": "field",
1229
- "name": "title",
1249
+ "name": "config",
1230
1250
  "type": {
1231
- "text": "string"
1232
- },
1233
- "default": "''"
1251
+ "text": "MainRouterConfig"
1252
+ }
1234
1253
  },
1235
1254
  {
1236
1255
  "kind": "field",
1237
- "name": "persistColumnStateKey",
1256
+ "name": "connect",
1238
1257
  "type": {
1239
- "text": "string"
1258
+ "text": "Connect"
1240
1259
  }
1241
1260
  },
1242
1261
  {
1243
1262
  "kind": "field",
1244
- "name": "sizeColumnsToFit",
1263
+ "name": "session",
1245
1264
  "type": {
1246
- "text": "boolean"
1265
+ "text": "Session"
1247
1266
  }
1248
1267
  },
1249
1268
  {
1250
1269
  "kind": "field",
1251
- "name": "rowSelection",
1270
+ "name": "container",
1252
1271
  "type": {
1253
- "text": "string"
1272
+ "text": "Container"
1254
1273
  }
1255
1274
  },
1256
1275
  {
1257
1276
  "kind": "field",
1258
- "name": "enableFilterBar",
1277
+ "name": "provider",
1259
1278
  "type": {
1260
- "text": "boolean"
1279
+ "text": "HTMLElement"
1261
1280
  }
1262
1281
  },
1263
1282
  {
1264
1283
  "kind": "field",
1265
- "name": "asyncAdd",
1284
+ "name": "ready",
1266
1285
  "type": {
1267
1286
  "text": "boolean"
1268
1287
  },
1269
1288
  "default": "false"
1270
1289
  },
1271
1290
  {
1272
- "kind": "field",
1273
- "name": "asyncRemove",
1274
- "type": {
1275
- "text": "boolean"
1276
- },
1277
- "default": "false"
1291
+ "kind": "method",
1292
+ "name": "onLuminanceToggle"
1278
1293
  },
1279
1294
  {
1280
- "kind": "field",
1281
- "name": "asyncUpdate",
1282
- "type": {
1283
- "text": "boolean"
1284
- },
1285
- "default": "true"
1295
+ "kind": "method",
1296
+ "name": "loadRemotes"
1286
1297
  },
1287
1298
  {
1288
- "kind": "field",
1289
- "name": "enableCellFlashing",
1290
- "type": {
1291
- "text": "boolean"
1292
- },
1293
- "default": "false"
1299
+ "kind": "method",
1300
+ "name": "selectTemplate"
1294
1301
  },
1295
1302
  {
1296
- "kind": "field",
1297
- "name": "enableRowFlashing",
1298
- "type": {
1299
- "text": "boolean"
1300
- },
1301
- "default": "false"
1303
+ "kind": "method",
1304
+ "name": "registerDIDependencies",
1305
+ "privacy": "private"
1306
+ }
1307
+ ],
1308
+ "superclass": {
1309
+ "name": "FASTElement",
1310
+ "package": "@microsoft/fast-element"
1311
+ },
1312
+ "customElement": true
1313
+ }
1314
+ ],
1315
+ "exports": [
1316
+ {
1317
+ "kind": "js",
1318
+ "name": "MainApplication",
1319
+ "declaration": {
1320
+ "name": "MainApplication",
1321
+ "module": "src/main/main.ts"
1322
+ }
1323
+ },
1324
+ {
1325
+ "kind": "custom-element-definition",
1326
+ "declaration": {
1327
+ "name": "MainApplication",
1328
+ "module": "src/main/main.ts"
1329
+ }
1330
+ }
1331
+ ]
1332
+ },
1333
+ {
1334
+ "kind": "javascript-module",
1335
+ "path": "src/profiles/editProfileSchema.ts",
1336
+ "declarations": [
1337
+ {
1338
+ "kind": "variable",
1339
+ "name": "editProfileFormSchema",
1340
+ "type": {
1341
+ "text": "UiSchema"
1342
+ },
1343
+ "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}"
1344
+ }
1345
+ ],
1346
+ "exports": [
1347
+ {
1348
+ "kind": "js",
1349
+ "name": "editProfileFormSchema",
1350
+ "declaration": {
1351
+ "name": "editProfileFormSchema",
1352
+ "module": "src/profiles/editProfileSchema.ts"
1353
+ }
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "kind": "javascript-module",
1359
+ "path": "src/profiles/profiles.ts",
1360
+ "declarations": [
1361
+ {
1362
+ "kind": "class",
1363
+ "description": "Main class which defined the profile management functionality",
1364
+ "name": "Profiles",
1365
+ "members": [
1366
+ {
1367
+ "kind": "method",
1368
+ "name": "readProfileData",
1369
+ "privacy": "public",
1370
+ "parameters": [
1371
+ {
1372
+ "name": "profile"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "kind": "method",
1378
+ "name": "confirmDelete",
1379
+ "inheritedFrom": {
1380
+ "name": "EntityManagement",
1381
+ "module": "src/entities/entities.ts"
1382
+ }
1302
1383
  },
1303
1384
  {
1304
1385
  "kind": "field",
1305
- "name": "hideEdit",
1386
+ "name": "createEvent",
1306
1387
  "type": {
1307
- "text": "boolean"
1388
+ "text": "string"
1308
1389
  },
1309
- "default": "false"
1390
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1391
+ "privacy": "public",
1392
+ "inheritedFrom": {
1393
+ "name": "EntityManagement",
1394
+ "module": "src/entities/entities.ts"
1395
+ }
1310
1396
  },
1311
1397
  {
1312
1398
  "kind": "field",
1313
- "name": "hideDelete",
1399
+ "name": "deleteEvent",
1314
1400
  "type": {
1315
- "text": "boolean"
1401
+ "text": "string"
1316
1402
  },
1317
- "default": "false"
1403
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1404
+ "privacy": "public",
1405
+ "inheritedFrom": {
1406
+ "name": "EntityManagement",
1407
+ "module": "src/entities/entities.ts"
1408
+ }
1318
1409
  },
1319
1410
  {
1320
1411
  "kind": "field",
1321
- "name": "datasourceType",
1412
+ "name": "updateEvent",
1322
1413
  "type": {
1323
- "text": "DatasourceType"
1414
+ "text": "string"
1324
1415
  },
1325
- "default": "'client'"
1326
- },
1327
- {
1328
- "kind": "field",
1329
- "name": "headerCaseType",
1330
- "type": {
1331
- "text": "GridProCaseType"
1416
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1417
+ "privacy": "public",
1418
+ "inheritedFrom": {
1419
+ "name": "EntityManagement",
1420
+ "module": "src/entities/entities.ts"
1332
1421
  }
1333
1422
  },
1334
1423
  {
1335
1424
  "kind": "field",
1336
- "name": "grid",
1425
+ "name": "persistColumnStateKey",
1337
1426
  "type": {
1338
- "text": "ZeroGridPro"
1427
+ "text": "string"
1339
1428
  },
1340
- "privacy": "public"
1429
+ "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.",
1430
+ "privacy": "public",
1431
+ "default": "'entity_profiles_management'",
1432
+ "inheritedFrom": {
1433
+ "name": "EntityManagement",
1434
+ "module": "src/entities/entities.ts"
1435
+ }
1341
1436
  },
1342
1437
  {
1343
1438
  "kind": "field",
1344
- "name": "datasource",
1439
+ "name": "updateFormUiSchema",
1345
1440
  "type": {
1346
- "text": "GridProGenesisDatasource"
1441
+ "text": "UiSchema"
1347
1442
  },
1348
- "privacy": "public"
1349
- },
1350
- {
1351
- "kind": "field",
1352
- "name": "gridOptions",
1353
- "type": {
1354
- "text": "GridOptions"
1443
+ "default": "editProfileFormSchema",
1444
+ "inheritedFrom": {
1445
+ "name": "EntityManagement",
1446
+ "module": "src/entities/entities.ts"
1355
1447
  }
1356
1448
  },
1357
1449
  {
1358
1450
  "kind": "field",
1359
- "name": "columns",
1451
+ "name": "createFormUiSchema",
1360
1452
  "type": {
1361
- "text": "ColDef[]"
1453
+ "text": "UiSchema"
1454
+ },
1455
+ "default": "editProfileFormSchema",
1456
+ "inheritedFrom": {
1457
+ "name": "EntityManagement",
1458
+ "module": "src/entities/entities.ts"
1362
1459
  }
1363
1460
  },
1364
1461
  {
1365
1462
  "kind": "field",
1366
- "name": "datasourceConfig",
1463
+ "name": "readEventFn",
1367
1464
  "type": {
1368
- "text": "DatasourceConfiguration"
1465
+ "text": "(...args) => {}"
1466
+ },
1467
+ "inheritedFrom": {
1468
+ "name": "EntityManagement",
1469
+ "module": "src/entities/entities.ts"
1369
1470
  }
1370
1471
  },
1371
1472
  {
1372
1473
  "kind": "field",
1373
- "name": "actionButtonsConfig",
1474
+ "name": "resourceName",
1374
1475
  "type": {
1375
- "text": "array"
1476
+ "text": "string"
1376
1477
  },
1377
- "default": "[]"
1478
+ "description": "Name of the backend resource which contain the entities to manage",
1479
+ "privacy": "public",
1480
+ "default": "'ALL_PROFILES'",
1481
+ "inheritedFrom": {
1482
+ "name": "EntityManagement",
1483
+ "module": "src/entities/entities.ts"
1484
+ }
1378
1485
  },
1379
1486
  {
1380
1487
  "kind": "field",
1381
- "name": "deleteEvent",
1488
+ "name": "title",
1382
1489
  "type": {
1383
1490
  "text": "string"
1491
+ },
1492
+ "description": "Title of the grid",
1493
+ "privacy": "public",
1494
+ "default": "'Profile Management'",
1495
+ "inheritedFrom": {
1496
+ "name": "EntityManagement",
1497
+ "module": "src/entities/entities.ts"
1384
1498
  }
1385
1499
  },
1386
1500
  {
1387
1501
  "kind": "field",
1388
- "name": "updateEvent",
1502
+ "name": "entityLabel",
1389
1503
  "type": {
1390
1504
  "text": "string"
1505
+ },
1506
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1507
+ "privacy": "public",
1508
+ "default": "'Profile'",
1509
+ "inheritedFrom": {
1510
+ "name": "EntityManagement",
1511
+ "module": "src/entities/entities.ts"
1391
1512
  }
1392
1513
  },
1393
1514
  {
@@ -1396,486 +1517,268 @@
1396
1517
  "type": {
1397
1518
  "text": "Connect"
1398
1519
  },
1399
- "privacy": "protected"
1400
- },
1401
- {
1402
- "kind": "field",
1403
- "name": "isServerSideDatasource",
1404
- "type": {
1405
- "text": "boolean"
1406
- },
1407
- "readonly": true
1408
- },
1409
- {
1410
- "kind": "method",
1411
- "name": "onCellEditingStopped",
1412
- "privacy": "private",
1413
- "parameters": [
1414
- {
1415
- "name": "event",
1416
- "type": {
1417
- "text": "CellEditRequestEvent"
1418
- }
1419
- }
1420
- ]
1421
- },
1422
- {
1423
- "kind": "method",
1424
- "name": "handleFilterChanged",
1425
- "privacy": "private",
1426
- "parameters": [
1427
- {
1428
- "name": "e"
1429
- }
1430
- ]
1431
- },
1432
- {
1433
- "kind": "method",
1434
- "name": "handleFilterCleared",
1435
- "privacy": "private",
1436
- "parameters": [
1437
- {
1438
- "name": "e"
1439
- }
1440
- ]
1441
- },
1442
- {
1443
- "kind": "method",
1444
- "name": "select",
1445
- "privacy": "private",
1446
- "parameters": [
1447
- {
1448
- "name": "e"
1449
- }
1450
- ]
1451
- },
1452
- {
1453
- "kind": "method",
1454
- "name": "selectionChanged",
1455
- "privacy": "private",
1456
- "parameters": [
1457
- {
1458
- "name": "e",
1459
- "type": {
1460
- "text": "CustomEvent<SelectionChangedEvent>"
1461
- }
1462
- }
1463
- ]
1520
+ "privacy": "protected",
1521
+ "description": "DI connect object which is used to interact with the backend.",
1522
+ "inheritedFrom": {
1523
+ "name": "EntityManagement",
1524
+ "module": "src/entities/entities.ts"
1525
+ }
1464
1526
  },
1465
1527
  {
1466
1528
  "kind": "field",
1467
- "name": "edit",
1468
- "privacy": "private"
1469
- },
1470
- {
1471
- "kind": "method",
1472
- "name": "delete",
1473
- "parameters": [
1474
- {
1475
- "name": "e"
1476
- }
1477
- ]
1478
- }
1479
- ],
1480
- "attributes": [
1481
- {
1482
- "name": "design-system-prefix",
1529
+ "name": "prefix",
1483
1530
  "type": {
1484
1531
  "text": "string"
1485
1532
  },
1486
1533
  "default": "'zero'",
1487
1534
  "description": "Name of the design system prefix that will be used in renderers.",
1488
- "fieldName": "prefix"
1489
- },
1490
- {
1491
- "name": "resourceName",
1492
- "type": {
1493
- "text": "string"
1494
- },
1495
- "default": "''",
1496
- "fieldName": "resourceName"
1497
- },
1498
- {
1499
- "name": "title",
1500
- "type": {
1501
- "text": "string"
1502
- },
1503
- "default": "''",
1504
- "fieldName": "title"
1535
+ "privacy": "public",
1536
+ "inheritedFrom": {
1537
+ "name": "EntityManagement",
1538
+ "module": "src/entities/entities.ts"
1539
+ }
1505
1540
  },
1506
1541
  {
1507
- "name": "persist-column-state-key",
1542
+ "kind": "field",
1543
+ "name": "readEvent",
1508
1544
  "type": {
1509
1545
  "text": "string"
1510
1546
  },
1511
- "fieldName": "persistColumnStateKey"
1547
+ "inheritedFrom": {
1548
+ "name": "EntityManagement",
1549
+ "module": "src/entities/entities.ts"
1550
+ }
1512
1551
  },
1513
1552
  {
1514
- "name": "size-columns-to-fit",
1553
+ "kind": "field",
1554
+ "name": "readonly",
1515
1555
  "type": {
1516
1556
  "text": "boolean"
1517
1557
  },
1518
- "fieldName": "sizeColumnsToFit"
1519
- },
1520
- {
1521
- "name": "row-selection",
1522
- "type": {
1523
- "text": "string"
1524
- },
1525
- "fieldName": "rowSelection"
1558
+ "inheritedFrom": {
1559
+ "name": "EntityManagement",
1560
+ "module": "src/entities/entities.ts"
1561
+ }
1526
1562
  },
1527
1563
  {
1528
- "name": "enable-filter-bar",
1564
+ "kind": "field",
1565
+ "name": "asyncAdd",
1529
1566
  "type": {
1530
1567
  "text": "boolean"
1531
1568
  },
1532
- "fieldName": "enableFilterBar"
1569
+ "default": "false",
1570
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1571
+ "privacy": "public",
1572
+ "inheritedFrom": {
1573
+ "name": "EntityManagement",
1574
+ "module": "src/entities/entities.ts"
1575
+ }
1533
1576
  },
1534
1577
  {
1535
- "name": "async-add",
1578
+ "kind": "field",
1579
+ "name": "asyncRemove",
1536
1580
  "type": {
1537
1581
  "text": "boolean"
1538
1582
  },
1539
1583
  "default": "false",
1540
- "fieldName": "asyncAdd"
1584
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1585
+ "privacy": "public",
1586
+ "inheritedFrom": {
1587
+ "name": "EntityManagement",
1588
+ "module": "src/entities/entities.ts"
1589
+ }
1541
1590
  },
1542
1591
  {
1543
- "name": "async-remove",
1592
+ "kind": "field",
1593
+ "name": "asyncUpdate",
1544
1594
  "type": {
1545
1595
  "text": "boolean"
1546
1596
  },
1547
- "default": "false",
1548
- "fieldName": "asyncRemove"
1597
+ "default": "true",
1598
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1599
+ "privacy": "public",
1600
+ "inheritedFrom": {
1601
+ "name": "EntityManagement",
1602
+ "module": "src/entities/entities.ts"
1603
+ }
1549
1604
  },
1550
1605
  {
1551
- "name": "async-update",
1606
+ "kind": "field",
1607
+ "name": "rowSelection",
1552
1608
  "type": {
1553
- "text": "boolean"
1609
+ "text": "string"
1554
1610
  },
1555
- "default": "true",
1556
- "fieldName": "asyncUpdate"
1611
+ "default": "'single'",
1612
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1613
+ "privacy": "public",
1614
+ "inheritedFrom": {
1615
+ "name": "EntityManagement",
1616
+ "module": "src/entities/entities.ts"
1617
+ }
1557
1618
  },
1558
1619
  {
1559
- "name": "enable-cell-flashing",
1620
+ "kind": "field",
1621
+ "name": "enableCellFlashing",
1560
1622
  "type": {
1561
1623
  "text": "boolean"
1562
1624
  },
1563
1625
  "default": "false",
1564
- "fieldName": "enableCellFlashing"
1626
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1627
+ "privacy": "public",
1628
+ "inheritedFrom": {
1629
+ "name": "EntityManagement",
1630
+ "module": "src/entities/entities.ts"
1631
+ }
1565
1632
  },
1566
1633
  {
1567
- "name": "enable-row-flashing",
1634
+ "kind": "field",
1635
+ "name": "enableRowFlashing",
1568
1636
  "type": {
1569
1637
  "text": "boolean"
1570
1638
  },
1571
1639
  "default": "false",
1572
- "fieldName": "enableRowFlashing"
1640
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
1641
+ "privacy": "public",
1642
+ "inheritedFrom": {
1643
+ "name": "EntityManagement",
1644
+ "module": "src/entities/entities.ts"
1645
+ }
1573
1646
  },
1574
1647
  {
1575
- "name": "hide-edit",
1648
+ "kind": "field",
1649
+ "name": "datasourceType",
1576
1650
  "type": {
1577
- "text": "boolean"
1651
+ "text": "DatasourceType"
1578
1652
  },
1579
- "default": "false",
1580
- "fieldName": "hideEdit"
1653
+ "default": "'client'",
1654
+ "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.",
1655
+ "privacy": "public",
1656
+ "inheritedFrom": {
1657
+ "name": "EntityManagement",
1658
+ "module": "src/entities/entities.ts"
1659
+ }
1581
1660
  },
1582
1661
  {
1583
- "name": "hide-delete",
1662
+ "kind": "field",
1663
+ "name": "gridOptions",
1584
1664
  "type": {
1585
- "text": "boolean"
1665
+ "text": "GridOptions"
1586
1666
  },
1587
- "default": "false",
1588
- "fieldName": "hideDelete"
1667
+ "description": "GridOptions to be passed down from application",
1668
+ "privacy": "public",
1669
+ "inheritedFrom": {
1670
+ "name": "EntityManagement",
1671
+ "module": "src/entities/entities.ts"
1672
+ }
1589
1673
  },
1590
1674
  {
1591
- "name": "datasource-type",
1675
+ "kind": "field",
1676
+ "name": "columns",
1592
1677
  "type": {
1593
- "text": "DatasourceType"
1678
+ "text": "ColDef[]"
1594
1679
  },
1595
- "default": "'client'",
1596
- "fieldName": "datasourceType"
1680
+ "description": "Array which holds the column definitions.",
1681
+ "privacy": "public",
1682
+ "inheritedFrom": {
1683
+ "name": "EntityManagement",
1684
+ "module": "src/entities/entities.ts"
1685
+ }
1597
1686
  },
1598
1687
  {
1599
- "name": "header-case-type",
1688
+ "kind": "field",
1689
+ "name": "datasourceConfig",
1600
1690
  "type": {
1601
- "text": "GridProCaseType"
1691
+ "text": "DatasourceConfiguration"
1602
1692
  },
1603
- "fieldName": "headerCaseType"
1604
- }
1605
- ],
1606
- "mixins": [
1607
- {
1608
- "name": "LifecycleMixin",
1609
- "package": "@genesislcap/foundation-utils"
1610
- }
1611
- ],
1612
- "superclass": {
1613
- "name": "FASTElement",
1614
- "package": "@microsoft/fast-element"
1615
- },
1616
- "tagName": "entity-list",
1617
- "customElement": true
1618
- }
1619
- ],
1620
- "exports": [
1621
- {
1622
- "kind": "js",
1623
- "name": "List",
1624
- "declaration": {
1625
- "name": "List",
1626
- "module": "src/list/list.ts"
1627
- }
1628
- },
1629
- {
1630
- "kind": "custom-element-definition",
1631
- "name": "entity-list",
1632
- "declaration": {
1633
- "name": "List",
1634
- "module": "src/list/list.ts"
1635
- }
1636
- }
1637
- ]
1638
- },
1639
- {
1640
- "kind": "javascript-module",
1641
- "path": "src/main/index.ts",
1642
- "declarations": [],
1643
- "exports": [
1644
- {
1645
- "kind": "js",
1646
- "name": "*",
1647
- "declaration": {
1648
- "name": "*",
1649
- "package": "./main.template"
1650
- }
1651
- },
1652
- {
1653
- "kind": "js",
1654
- "name": "*",
1655
- "declaration": {
1656
- "name": "*",
1657
- "package": "./main"
1658
- }
1659
- }
1660
- ]
1661
- },
1662
- {
1663
- "kind": "javascript-module",
1664
- "path": "src/main/main.styles.ts",
1665
- "declarations": [
1666
- {
1667
- "kind": "variable",
1668
- "name": "MainStyles",
1669
- "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`"
1670
- }
1671
- ],
1672
- "exports": [
1673
- {
1674
- "kind": "js",
1675
- "name": "MainStyles",
1676
- "declaration": {
1677
- "name": "MainStyles",
1678
- "module": "src/main/main.styles.ts"
1679
- }
1680
- }
1681
- ]
1682
- },
1683
- {
1684
- "kind": "javascript-module",
1685
- "path": "src/main/main.template.ts",
1686
- "declarations": [],
1687
- "exports": []
1688
- },
1689
- {
1690
- "kind": "javascript-module",
1691
- "path": "src/main/main.ts",
1692
- "declarations": [
1693
- {
1694
- "kind": "class",
1695
- "description": "",
1696
- "name": "MainApplication",
1697
- "members": [
1693
+ "description": "The configuration which is used when interacting with the resource on the backend",
1694
+ "privacy": "public",
1695
+ "inheritedFrom": {
1696
+ "name": "EntityManagement",
1697
+ "module": "src/entities/entities.ts"
1698
+ }
1699
+ },
1698
1700
  {
1699
1701
  "kind": "field",
1700
- "name": "config",
1702
+ "name": "formUiSchema",
1701
1703
  "type": {
1702
- "text": "MainRouterConfig"
1704
+ "text": "UiSchema"
1705
+ },
1706
+ "inheritedFrom": {
1707
+ "name": "EntityManagement",
1708
+ "module": "src/entities/entities.ts"
1703
1709
  }
1704
1710
  },
1705
1711
  {
1706
1712
  "kind": "field",
1707
- "name": "connect",
1713
+ "name": "formRenderers",
1708
1714
  "type": {
1709
- "text": "Connect"
1715
+ "text": "RendererEntry[]"
1716
+ },
1717
+ "default": "renderers",
1718
+ "description": "Array with renderers used by foundation-forms",
1719
+ "privacy": "public",
1720
+ "inheritedFrom": {
1721
+ "name": "EntityManagement",
1722
+ "module": "src/entities/entities.ts"
1710
1723
  }
1711
1724
  },
1712
1725
  {
1713
1726
  "kind": "field",
1714
- "name": "session",
1727
+ "name": "selectedEntity",
1715
1728
  "type": {
1716
- "text": "Session"
1729
+ "text": "Record<string, unknown>"
1730
+ },
1731
+ "description": "Reference to the currently selected entity from the grid.",
1732
+ "privacy": "public",
1733
+ "inheritedFrom": {
1734
+ "name": "EntityManagement",
1735
+ "module": "src/entities/entities.ts"
1717
1736
  }
1718
1737
  },
1719
1738
  {
1720
1739
  "kind": "field",
1721
- "name": "container",
1740
+ "name": "editedEntity",
1722
1741
  "type": {
1723
- "text": "Container"
1742
+ "text": "Record<string, unknown>"
1743
+ },
1744
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1745
+ "privacy": "public",
1746
+ "inheritedFrom": {
1747
+ "name": "EntityManagement",
1748
+ "module": "src/entities/entities.ts"
1724
1749
  }
1725
1750
  },
1726
1751
  {
1727
1752
  "kind": "field",
1728
- "name": "provider",
1753
+ "name": "defaultEntityValues",
1729
1754
  "type": {
1730
- "text": "HTMLElement"
1755
+ "text": "Record<string, unknown>"
1756
+ },
1757
+ "description": "The default values to populate the form with when the user is adding an entity",
1758
+ "privacy": "public",
1759
+ "inheritedFrom": {
1760
+ "name": "EntityManagement",
1761
+ "module": "src/entities/entities.ts"
1731
1762
  }
1732
1763
  },
1733
1764
  {
1734
1765
  "kind": "field",
1735
- "name": "ready",
1766
+ "name": "submitting",
1736
1767
  "type": {
1737
1768
  "text": "boolean"
1738
1769
  },
1739
- "default": "false"
1740
- },
1741
- {
1742
- "kind": "method",
1743
- "name": "onLuminanceToggle"
1744
- },
1745
- {
1746
- "kind": "method",
1747
- "name": "loadRemotes"
1770
+ "inheritedFrom": {
1771
+ "name": "EntityManagement",
1772
+ "module": "src/entities/entities.ts"
1773
+ }
1748
1774
  },
1749
1775
  {
1750
- "kind": "method",
1751
- "name": "selectTemplate"
1752
- },
1753
- {
1754
- "kind": "method",
1755
- "name": "registerDIDependencies",
1756
- "privacy": "private"
1757
- }
1758
- ],
1759
- "superclass": {
1760
- "name": "FASTElement",
1761
- "package": "@microsoft/fast-element"
1762
- },
1763
- "customElement": true
1764
- }
1765
- ],
1766
- "exports": [
1767
- {
1768
- "kind": "js",
1769
- "name": "MainApplication",
1770
- "declaration": {
1771
- "name": "MainApplication",
1772
- "module": "src/main/main.ts"
1773
- }
1774
- },
1775
- {
1776
- "kind": "custom-element-definition",
1777
- "declaration": {
1778
- "name": "MainApplication",
1779
- "module": "src/main/main.ts"
1780
- }
1781
- }
1782
- ]
1783
- },
1784
- {
1785
- "kind": "javascript-module",
1786
- "path": "src/layouts/default.ts",
1787
- "declarations": [
1788
- {
1789
- "kind": "variable",
1790
- "name": "loginLayout",
1791
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1792
- },
1793
- {
1794
- "kind": "variable",
1795
- "name": "defaultLayout",
1796
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1797
- }
1798
- ],
1799
- "exports": [
1800
- {
1801
- "kind": "js",
1802
- "name": "loginLayout",
1803
- "declaration": {
1804
- "name": "loginLayout",
1805
- "module": "src/layouts/default.ts"
1806
- }
1807
- },
1808
- {
1809
- "kind": "js",
1810
- "name": "defaultLayout",
1811
- "declaration": {
1812
- "name": "defaultLayout",
1813
- "module": "src/layouts/default.ts"
1814
- }
1815
- }
1816
- ]
1817
- },
1818
- {
1819
- "kind": "javascript-module",
1820
- "path": "src/layouts/index.ts",
1821
- "declarations": [],
1822
- "exports": [
1823
- {
1824
- "kind": "js",
1825
- "name": "*",
1826
- "declaration": {
1827
- "name": "*",
1828
- "package": "./default"
1829
- }
1830
- }
1831
- ]
1832
- },
1833
- {
1834
- "kind": "javascript-module",
1835
- "path": "src/profiles/editProfileSchema.ts",
1836
- "declarations": [
1837
- {
1838
- "kind": "variable",
1839
- "name": "editProfileFormSchema",
1840
- "type": {
1841
- "text": "UiSchema"
1842
- },
1843
- "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}"
1844
- }
1845
- ],
1846
- "exports": [
1847
- {
1848
- "kind": "js",
1849
- "name": "editProfileFormSchema",
1850
- "declaration": {
1851
- "name": "editProfileFormSchema",
1852
- "module": "src/profiles/editProfileSchema.ts"
1853
- }
1854
- }
1855
- ]
1856
- },
1857
- {
1858
- "kind": "javascript-module",
1859
- "path": "src/profiles/profiles.ts",
1860
- "declarations": [
1861
- {
1862
- "kind": "class",
1863
- "description": "Main class which defined the profile management functionality",
1864
- "name": "Profiles",
1865
- "members": [
1866
- {
1867
- "kind": "method",
1868
- "name": "readProfileData",
1869
- "privacy": "public",
1870
- "parameters": [
1871
- {
1872
- "name": "profile"
1873
- }
1874
- ]
1875
- },
1876
- {
1877
- "kind": "method",
1878
- "name": "confirmDelete",
1776
+ "kind": "field",
1777
+ "name": "modalFormType",
1778
+ "type": {
1779
+ "text": "ModalFormType"
1780
+ },
1781
+ "description": "The type of form that is currently being displayed in the modal",
1879
1782
  "inheritedFrom": {
1880
1783
  "name": "EntityManagement",
1881
1784
  "module": "src/entities/entities.ts"
@@ -1883,25 +1786,19 @@
1883
1786
  },
1884
1787
  {
1885
1788
  "kind": "field",
1886
- "name": "createEvent",
1789
+ "name": "editModalVisible",
1887
1790
  "type": {
1888
- "text": "string"
1791
+ "text": "boolean"
1889
1792
  },
1890
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1891
- "privacy": "public",
1793
+ "default": "false",
1892
1794
  "inheritedFrom": {
1893
1795
  "name": "EntityManagement",
1894
1796
  "module": "src/entities/entities.ts"
1895
1797
  }
1896
1798
  },
1897
1799
  {
1898
- "kind": "field",
1899
- "name": "deleteEvent",
1900
- "type": {
1901
- "text": "string"
1902
- },
1903
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1904
- "privacy": "public",
1800
+ "kind": "method",
1801
+ "name": "editModalVisibleChanged",
1905
1802
  "inheritedFrom": {
1906
1803
  "name": "EntityManagement",
1907
1804
  "module": "src/entities/entities.ts"
@@ -1909,11 +1806,10 @@
1909
1806
  },
1910
1807
  {
1911
1808
  "kind": "field",
1912
- "name": "updateEvent",
1809
+ "name": "editEntityModal",
1913
1810
  "type": {
1914
- "text": "string"
1811
+ "text": "Modal"
1915
1812
  },
1916
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1917
1813
  "privacy": "public",
1918
1814
  "inheritedFrom": {
1919
1815
  "name": "EntityManagement",
@@ -1922,13 +1818,10 @@
1922
1818
  },
1923
1819
  {
1924
1820
  "kind": "field",
1925
- "name": "persistColumnStateKey",
1821
+ "name": "sizeColumnsToFit",
1926
1822
  "type": {
1927
- "text": "string"
1823
+ "text": "boolean"
1928
1824
  },
1929
- "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.",
1930
- "privacy": "public",
1931
- "default": "'entity_profiles_management'",
1932
1825
  "inheritedFrom": {
1933
1826
  "name": "EntityManagement",
1934
1827
  "module": "src/entities/entities.ts"
@@ -1936,11 +1829,10 @@
1936
1829
  },
1937
1830
  {
1938
1831
  "kind": "field",
1939
- "name": "updateFormUiSchema",
1832
+ "name": "enableFilterBar",
1940
1833
  "type": {
1941
- "text": "UiSchema"
1834
+ "text": "boolean"
1942
1835
  },
1943
- "default": "editProfileFormSchema",
1944
1836
  "inheritedFrom": {
1945
1837
  "name": "EntityManagement",
1946
1838
  "module": "src/entities/entities.ts"
@@ -1948,11 +1840,11 @@
1948
1840
  },
1949
1841
  {
1950
1842
  "kind": "field",
1951
- "name": "createFormUiSchema",
1843
+ "name": "hideEdit",
1952
1844
  "type": {
1953
- "text": "UiSchema"
1845
+ "text": "boolean"
1954
1846
  },
1955
- "default": "editProfileFormSchema",
1847
+ "default": "false",
1956
1848
  "inheritedFrom": {
1957
1849
  "name": "EntityManagement",
1958
1850
  "module": "src/entities/entities.ts"
@@ -1960,10 +1852,11 @@
1960
1852
  },
1961
1853
  {
1962
1854
  "kind": "field",
1963
- "name": "readEventFn",
1855
+ "name": "hideDelete",
1964
1856
  "type": {
1965
- "text": "(...args) => {}"
1857
+ "text": "boolean"
1966
1858
  },
1859
+ "default": "false",
1967
1860
  "inheritedFrom": {
1968
1861
  "name": "EntityManagement",
1969
1862
  "module": "src/entities/entities.ts"
@@ -1971,13 +1864,13 @@
1971
1864
  },
1972
1865
  {
1973
1866
  "kind": "field",
1974
- "name": "resourceName",
1867
+ "name": "enableSearchBar",
1975
1868
  "type": {
1976
- "text": "string"
1869
+ "text": "boolean"
1977
1870
  },
1978
- "description": "Name of the backend resource which contain the entities to manage",
1871
+ "default": "false",
1872
+ "description": "This attribute controls whether to enable the search-bar.",
1979
1873
  "privacy": "public",
1980
- "default": "'ALL_PROFILES'",
1981
1874
  "inheritedFrom": {
1982
1875
  "name": "EntityManagement",
1983
1876
  "module": "src/entities/entities.ts"
@@ -1985,13 +1878,12 @@
1985
1878
  },
1986
1879
  {
1987
1880
  "kind": "field",
1988
- "name": "title",
1881
+ "name": "headerCaseType",
1989
1882
  "type": {
1990
- "text": "string"
1883
+ "text": "GridProCaseType"
1991
1884
  },
1992
- "description": "Title of the grid",
1885
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1993
1886
  "privacy": "public",
1994
- "default": "'Profile Management'",
1995
1887
  "inheritedFrom": {
1996
1888
  "name": "EntityManagement",
1997
1889
  "module": "src/entities/entities.ts"
@@ -1999,13 +1891,10 @@
1999
1891
  },
2000
1892
  {
2001
1893
  "kind": "field",
2002
- "name": "entityLabel",
1894
+ "name": "searchBarConfig",
2003
1895
  "type": {
2004
- "text": "string"
1896
+ "text": "AvailableOption[]"
2005
1897
  },
2006
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2007
- "privacy": "public",
2008
- "default": "'Profile'",
2009
1898
  "inheritedFrom": {
2010
1899
  "name": "EntityManagement",
2011
1900
  "module": "src/entities/entities.ts"
@@ -2013,12 +1902,13 @@
2013
1902
  },
2014
1903
  {
2015
1904
  "kind": "field",
2016
- "name": "connect",
1905
+ "name": "modalPosition",
2017
1906
  "type": {
2018
- "text": "Connect"
1907
+ "text": "'centre' | 'left' | 'right'"
2019
1908
  },
2020
- "privacy": "protected",
2021
- "description": "DI connect object which is used to interact with the backend.",
1909
+ "default": "'right'",
1910
+ "description": "Determines where the modal dialog will appear on screen",
1911
+ "privacy": "public",
2022
1912
  "inheritedFrom": {
2023
1913
  "name": "EntityManagement",
2024
1914
  "module": "src/entities/entities.ts"
@@ -2026,12 +1916,11 @@
2026
1916
  },
2027
1917
  {
2028
1918
  "kind": "field",
2029
- "name": "prefix",
1919
+ "name": "crudMenuPosition",
2030
1920
  "type": {
2031
- "text": "string"
1921
+ "text": "CrudMenuPosition"
2032
1922
  },
2033
- "default": "'zero'",
2034
- "description": "Name of the design system prefix that will be used in renderers.",
1923
+ "description": "Determines where the buttons will appear",
2035
1924
  "privacy": "public",
2036
1925
  "inheritedFrom": {
2037
1926
  "name": "EntityManagement",
@@ -2040,10 +1929,12 @@
2040
1929
  },
2041
1930
  {
2042
1931
  "kind": "field",
2043
- "name": "readEvent",
1932
+ "name": "crudMenuStyle",
2044
1933
  "type": {
2045
- "text": "string"
1934
+ "text": "ActionsMenuStyle"
2046
1935
  },
1936
+ "description": "Determines the style of the buttons",
1937
+ "privacy": "public",
2047
1938
  "inheritedFrom": {
2048
1939
  "name": "EntityManagement",
2049
1940
  "module": "src/entities/entities.ts"
@@ -2051,10 +1942,12 @@
2051
1942
  },
2052
1943
  {
2053
1944
  "kind": "field",
2054
- "name": "readonly",
1945
+ "name": "crudActionMenuName",
2055
1946
  "type": {
2056
- "text": "boolean"
1947
+ "text": "string"
2057
1948
  },
1949
+ "default": "'⋮'",
1950
+ "description": "The label of the crud action menu",
2058
1951
  "inheritedFrom": {
2059
1952
  "name": "EntityManagement",
2060
1953
  "module": "src/entities/entities.ts"
@@ -2062,27 +1955,28 @@
2062
1955
  },
2063
1956
  {
2064
1957
  "kind": "field",
2065
- "name": "asyncAdd",
2066
- "type": {
2067
- "text": "boolean"
2068
- },
2069
- "default": "false",
2070
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1958
+ "name": "crudMenuWrapper",
2071
1959
  "privacy": "public",
1960
+ "description": "The Id of the crud buttons wrapper element",
2072
1961
  "inheritedFrom": {
2073
1962
  "name": "EntityManagement",
2074
1963
  "module": "src/entities/entities.ts"
2075
1964
  }
2076
1965
  },
2077
1966
  {
2078
- "kind": "field",
2079
- "name": "asyncRemove",
2080
- "type": {
2081
- "text": "boolean"
2082
- },
2083
- "default": "false",
2084
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1967
+ "kind": "method",
1968
+ "name": "getTitleBasedOnActionOrType",
2085
1969
  "privacy": "public",
1970
+ "parameters": [
1971
+ {
1972
+ "name": "actionOrType",
1973
+ "type": {
1974
+ "text": "CrudAction | ModalFormType"
1975
+ },
1976
+ "description": "The crud action or modal form type"
1977
+ }
1978
+ ],
1979
+ "description": "The helper function to determine the title of the modal form or button based on the action or type",
2086
1980
  "inheritedFrom": {
2087
1981
  "name": "EntityManagement",
2088
1982
  "module": "src/entities/entities.ts"
@@ -2090,13 +1984,9 @@
2090
1984
  },
2091
1985
  {
2092
1986
  "kind": "field",
2093
- "name": "asyncUpdate",
2094
- "type": {
2095
- "text": "boolean"
2096
- },
2097
- "default": "true",
2098
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2099
- "privacy": "public",
1987
+ "name": "modalFormTitle",
1988
+ "description": "Getter for the title of the modal form",
1989
+ "readonly": true,
2100
1990
  "inheritedFrom": {
2101
1991
  "name": "EntityManagement",
2102
1992
  "module": "src/entities/entities.ts"
@@ -2104,13 +1994,12 @@
2104
1994
  },
2105
1995
  {
2106
1996
  "kind": "field",
2107
- "name": "rowSelection",
1997
+ "name": "shouldHideEditInColumn",
2108
1998
  "type": {
2109
- "text": "string"
1999
+ "text": "boolean"
2110
2000
  },
2111
- "default": "'single'",
2112
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2113
- "privacy": "public",
2001
+ "description": "Determines whether the button edit should be hidden in the column",
2002
+ "readonly": true,
2114
2003
  "inheritedFrom": {
2115
2004
  "name": "EntityManagement",
2116
2005
  "module": "src/entities/entities.ts"
@@ -2118,13 +2007,12 @@
2118
2007
  },
2119
2008
  {
2120
2009
  "kind": "field",
2121
- "name": "enableCellFlashing",
2010
+ "name": "shouldHideDeleteInColumn",
2122
2011
  "type": {
2123
2012
  "text": "boolean"
2124
2013
  },
2125
- "default": "false",
2126
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2127
- "privacy": "public",
2014
+ "description": "Determines whether the button delete should be hidden in the column",
2015
+ "readonly": true,
2128
2016
  "inheritedFrom": {
2129
2017
  "name": "EntityManagement",
2130
2018
  "module": "src/entities/entities.ts"
@@ -2132,52 +2020,50 @@
2132
2020
  },
2133
2021
  {
2134
2022
  "kind": "field",
2135
- "name": "enableRowFlashing",
2023
+ "name": "hasSelectedEntity",
2136
2024
  "type": {
2137
2025
  "text": "boolean"
2138
2026
  },
2139
- "default": "false",
2140
- "description": "If true, will enable row flashing for all rows for `add` transactions",
2141
- "privacy": "public",
2027
+ "description": "Determines whether there is a selected entity",
2028
+ "readonly": true,
2142
2029
  "inheritedFrom": {
2143
2030
  "name": "EntityManagement",
2144
2031
  "module": "src/entities/entities.ts"
2145
2032
  }
2146
2033
  },
2147
2034
  {
2148
- "kind": "field",
2149
- "name": "datasourceType",
2150
- "type": {
2151
- "text": "DatasourceType"
2152
- },
2153
- "default": "'client'",
2154
- "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.",
2035
+ "kind": "method",
2036
+ "name": "hasContentInSlot",
2155
2037
  "privacy": "public",
2156
- "inheritedFrom": {
2157
- "name": "EntityManagement",
2158
- "module": "src/entities/entities.ts"
2159
- }
2160
- },
2161
- {
2162
- "kind": "field",
2163
- "name": "gridOptions",
2164
- "type": {
2165
- "text": "GridOptions"
2038
+ "return": {
2039
+ "type": {
2040
+ "text": ""
2041
+ }
2166
2042
  },
2167
- "description": "GridOptions to be passed down from application",
2168
- "privacy": "public",
2043
+ "parameters": [
2044
+ {
2045
+ "name": "slotName",
2046
+ "type": {
2047
+ "text": "string"
2048
+ },
2049
+ "description": "The name of the slot to check."
2050
+ }
2051
+ ],
2052
+ "description": "Checks if a slot contains any content.",
2169
2053
  "inheritedFrom": {
2170
2054
  "name": "EntityManagement",
2171
2055
  "module": "src/entities/entities.ts"
2172
2056
  }
2173
2057
  },
2174
2058
  {
2175
- "kind": "field",
2176
- "name": "columns",
2177
- "type": {
2178
- "text": "ColDef[]"
2059
+ "kind": "method",
2060
+ "name": "deepClone",
2061
+ "return": {
2062
+ "type": {
2063
+ "text": "Node"
2064
+ }
2179
2065
  },
2180
- "description": "Array which holds the column definitions.",
2066
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
2181
2067
  "privacy": "public",
2182
2068
  "inheritedFrom": {
2183
2069
  "name": "EntityManagement",
@@ -2185,37 +2071,44 @@
2185
2071
  }
2186
2072
  },
2187
2073
  {
2188
- "kind": "field",
2189
- "name": "datasourceConfig",
2190
- "type": {
2191
- "text": "DatasourceConfiguration"
2192
- },
2193
- "description": "The configuration which is used when interacting with the resource on the backend",
2074
+ "kind": "method",
2075
+ "name": "submitEntityChanges",
2194
2076
  "privacy": "public",
2077
+ "parameters": [
2078
+ {
2079
+ "name": "e",
2080
+ "type": {
2081
+ "text": "CustomEvent"
2082
+ },
2083
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
2084
+ }
2085
+ ],
2086
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
2195
2087
  "inheritedFrom": {
2196
2088
  "name": "EntityManagement",
2197
2089
  "module": "src/entities/entities.ts"
2198
2090
  }
2199
2091
  },
2200
2092
  {
2201
- "kind": "field",
2202
- "name": "formUiSchema",
2203
- "type": {
2204
- "text": "UiSchema"
2205
- },
2093
+ "kind": "method",
2094
+ "name": "readEntity",
2095
+ "privacy": "private",
2096
+ "parameters": [
2097
+ {
2098
+ "name": "e",
2099
+ "type": {
2100
+ "text": "CustomEvent"
2101
+ }
2102
+ }
2103
+ ],
2206
2104
  "inheritedFrom": {
2207
2105
  "name": "EntityManagement",
2208
2106
  "module": "src/entities/entities.ts"
2209
2107
  }
2210
2108
  },
2211
2109
  {
2212
- "kind": "field",
2213
- "name": "formRenderers",
2214
- "type": {
2215
- "text": "RendererEntry[]"
2216
- },
2217
- "default": "renderers",
2218
- "description": "Array with renderers used by foundation-forms",
2110
+ "kind": "method",
2111
+ "name": "closeModal",
2219
2112
  "privacy": "public",
2220
2113
  "inheritedFrom": {
2221
2114
  "name": "EntityManagement",
@@ -2224,12 +2117,8 @@
2224
2117
  },
2225
2118
  {
2226
2119
  "kind": "field",
2227
- "name": "selectedEntity",
2228
- "type": {
2229
- "text": "Record<string, unknown>"
2230
- },
2231
- "description": "Reference to the currently selected entity from the grid.",
2232
- "privacy": "public",
2120
+ "name": "headerTempalate",
2121
+ "readonly": true,
2233
2122
  "inheritedFrom": {
2234
2123
  "name": "EntityManagement",
2235
2124
  "module": "src/entities/entities.ts"
@@ -2237,60 +2126,77 @@
2237
2126
  },
2238
2127
  {
2239
2128
  "kind": "field",
2240
- "name": "editedEntity",
2129
+ "name": "isServerSideDatasource",
2241
2130
  "type": {
2242
- "text": "Record<string, unknown>"
2131
+ "text": "boolean"
2243
2132
  },
2244
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
2245
- "privacy": "public",
2133
+ "readonly": true,
2246
2134
  "inheritedFrom": {
2247
2135
  "name": "EntityManagement",
2248
2136
  "module": "src/entities/entities.ts"
2249
2137
  }
2250
2138
  },
2251
2139
  {
2252
- "kind": "field",
2253
- "name": "defaultEntityValues",
2254
- "type": {
2255
- "text": "Record<string, unknown>"
2256
- },
2257
- "description": "The default values to populate the form with when the user is adding an entity",
2140
+ "kind": "method",
2141
+ "name": "searchChanged",
2258
2142
  "privacy": "public",
2143
+ "parameters": [
2144
+ {
2145
+ "name": "event",
2146
+ "type": {
2147
+ "text": "CustomEvent<Array<SelectedOption>>"
2148
+ }
2149
+ }
2150
+ ],
2259
2151
  "inheritedFrom": {
2260
2152
  "name": "EntityManagement",
2261
2153
  "module": "src/entities/entities.ts"
2262
2154
  }
2263
2155
  },
2264
2156
  {
2265
- "kind": "field",
2266
- "name": "submitting",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2157
+ "kind": "method",
2158
+ "name": "searchBarReqServer",
2159
+ "parameters": [
2160
+ {
2161
+ "name": "options",
2162
+ "type": {
2163
+ "text": "SelectedOption<string>[]"
2164
+ }
2165
+ }
2166
+ ],
2270
2167
  "inheritedFrom": {
2271
2168
  "name": "EntityManagement",
2272
2169
  "module": "src/entities/entities.ts"
2273
2170
  }
2274
2171
  },
2275
2172
  {
2276
- "kind": "field",
2277
- "name": "modalFormType",
2278
- "type": {
2279
- "text": "ModalFormType"
2280
- },
2281
- "description": "The type of form that is currently being displayed in the modal",
2173
+ "kind": "method",
2174
+ "name": "searchBarDataserver",
2175
+ "parameters": [
2176
+ {
2177
+ "name": "options",
2178
+ "type": {
2179
+ "text": "SelectedOption<string>[]"
2180
+ }
2181
+ }
2182
+ ],
2282
2183
  "inheritedFrom": {
2283
2184
  "name": "EntityManagement",
2284
2185
  "module": "src/entities/entities.ts"
2285
2186
  }
2286
2187
  },
2287
2188
  {
2288
- "kind": "field",
2289
- "name": "editModalVisible",
2290
- "type": {
2291
- "text": "boolean"
2292
- },
2293
- "default": "false",
2189
+ "kind": "method",
2190
+ "name": "requestChanged",
2191
+ "privacy": "public",
2192
+ "parameters": [
2193
+ {
2194
+ "name": "e",
2195
+ "type": {
2196
+ "text": "CustomEvent<string>"
2197
+ }
2198
+ }
2199
+ ],
2294
2200
  "inheritedFrom": {
2295
2201
  "name": "EntityManagement",
2296
2202
  "module": "src/entities/entities.ts"
@@ -2298,746 +2204,946 @@
2298
2204
  },
2299
2205
  {
2300
2206
  "kind": "method",
2301
- "name": "editModalVisibleChanged",
2207
+ "name": "criteriaChanged",
2208
+ "privacy": "public",
2209
+ "parameters": [
2210
+ {
2211
+ "name": "e",
2212
+ "type": {
2213
+ "text": "CustomEvent<string>"
2214
+ }
2215
+ }
2216
+ ],
2302
2217
  "inheritedFrom": {
2303
2218
  "name": "EntityManagement",
2304
2219
  "module": "src/entities/entities.ts"
2305
2220
  }
2306
2221
  },
2307
2222
  {
2308
- "kind": "field",
2309
- "name": "editEntityModal",
2310
- "type": {
2311
- "text": "Modal"
2312
- },
2223
+ "kind": "method",
2224
+ "name": "submitFailureNotification",
2313
2225
  "privacy": "public",
2226
+ "parameters": [
2227
+ {
2228
+ "name": "e",
2229
+ "type": {
2230
+ "text": "CustomEvent"
2231
+ }
2232
+ }
2233
+ ],
2314
2234
  "inheritedFrom": {
2315
2235
  "name": "EntityManagement",
2316
2236
  "module": "src/entities/entities.ts"
2317
2237
  }
2318
2238
  },
2319
2239
  {
2320
- "kind": "field",
2321
- "name": "sizeColumnsToFit",
2322
- "type": {
2323
- "text": "boolean"
2324
- },
2240
+ "kind": "method",
2241
+ "name": "submitErrorHandler",
2242
+ "privacy": "private",
2243
+ "parameters": [
2244
+ {
2245
+ "name": "e",
2246
+ "type": {
2247
+ "text": "CustomEvent"
2248
+ }
2249
+ }
2250
+ ],
2325
2251
  "inheritedFrom": {
2326
2252
  "name": "EntityManagement",
2327
2253
  "module": "src/entities/entities.ts"
2328
2254
  }
2329
2255
  },
2330
2256
  {
2331
- "kind": "field",
2332
- "name": "enableFilterBar",
2333
- "type": {
2334
- "text": "boolean"
2335
- },
2257
+ "kind": "method",
2258
+ "name": "showDeleteConfirmation",
2259
+ "privacy": "private",
2336
2260
  "inheritedFrom": {
2337
2261
  "name": "EntityManagement",
2338
2262
  "module": "src/entities/entities.ts"
2339
2263
  }
2340
2264
  },
2341
2265
  {
2342
- "kind": "field",
2343
- "name": "hideEdit",
2344
- "type": {
2345
- "text": "boolean"
2346
- },
2347
- "default": "false",
2266
+ "kind": "method",
2267
+ "name": "emitCrud",
2268
+ "privacy": "public",
2269
+ "parameters": [
2270
+ {
2271
+ "name": "action",
2272
+ "type": {
2273
+ "text": "'create' | 'edit' | 'delete'"
2274
+ },
2275
+ "description": "the action to emit"
2276
+ }
2277
+ ],
2278
+ "description": "Emit the CRUD event for the selected entity",
2348
2279
  "inheritedFrom": {
2349
2280
  "name": "EntityManagement",
2350
2281
  "module": "src/entities/entities.ts"
2351
2282
  }
2352
2283
  },
2353
2284
  {
2354
- "kind": "field",
2355
- "name": "hideDelete",
2285
+ "kind": "method",
2286
+ "name": "selectionChanged",
2287
+ "privacy": "public",
2288
+ "parameters": [
2289
+ {
2290
+ "name": "event",
2291
+ "type": {
2292
+ "text": "CustomEvent<SelectionChangedEvent>"
2293
+ }
2294
+ }
2295
+ ],
2296
+ "description": "The event handler for when the selection changes in the grid.",
2297
+ "inheritedFrom": {
2298
+ "name": "EntityManagement",
2299
+ "module": "src/entities/entities.ts"
2300
+ }
2301
+ }
2302
+ ],
2303
+ "superclass": {
2304
+ "name": "EntityManagement",
2305
+ "module": "/src/entities"
2306
+ },
2307
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2308
+ "tagName": "profile-management",
2309
+ "customElement": true,
2310
+ "attributes": [
2311
+ {
2312
+ "name": "design-system-prefix",
2356
2313
  "type": {
2357
- "text": "boolean"
2314
+ "text": "string"
2358
2315
  },
2359
- "default": "false",
2316
+ "default": "'zero'",
2317
+ "description": "Name of the design system prefix that will be used in renderers.",
2318
+ "fieldName": "prefix",
2360
2319
  "inheritedFrom": {
2361
2320
  "name": "EntityManagement",
2362
2321
  "module": "src/entities/entities.ts"
2363
2322
  }
2364
2323
  },
2365
2324
  {
2366
- "kind": "field",
2367
- "name": "enableSearchBar",
2325
+ "name": "resourceName",
2368
2326
  "type": {
2369
- "text": "boolean"
2327
+ "text": "string"
2370
2328
  },
2371
- "default": "false",
2372
- "description": "This attribute controls whether to enable the search-bar.",
2373
- "privacy": "public",
2329
+ "description": "Name of the backend resource which contain the entities to manage",
2330
+ "fieldName": "resourceName",
2374
2331
  "inheritedFrom": {
2375
2332
  "name": "EntityManagement",
2376
2333
  "module": "src/entities/entities.ts"
2377
2334
  }
2378
2335
  },
2379
2336
  {
2380
- "kind": "field",
2381
- "name": "headerCaseType",
2337
+ "name": "readEvent",
2382
2338
  "type": {
2383
- "text": "GridProCaseType"
2339
+ "text": "string"
2384
2340
  },
2385
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2386
- "privacy": "public",
2341
+ "fieldName": "readEvent",
2387
2342
  "inheritedFrom": {
2388
2343
  "name": "EntityManagement",
2389
2344
  "module": "src/entities/entities.ts"
2390
2345
  }
2391
2346
  },
2392
2347
  {
2393
- "kind": "field",
2394
- "name": "searchBarConfig",
2395
2348
  "type": {
2396
- "text": "AvailableOption[]"
2349
+ "text": "boolean"
2397
2350
  },
2351
+ "fieldName": "readonly",
2398
2352
  "inheritedFrom": {
2399
2353
  "name": "EntityManagement",
2400
2354
  "module": "src/entities/entities.ts"
2401
2355
  }
2402
2356
  },
2403
2357
  {
2404
- "kind": "field",
2405
- "name": "modalPosition",
2358
+ "name": "updateEvent",
2406
2359
  "type": {
2407
- "text": "'centre' | 'left' | 'right'"
2360
+ "text": "string"
2408
2361
  },
2409
- "default": "'right'",
2410
- "description": "Determines where the modal dialog will appear on screen",
2411
- "privacy": "public",
2362
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
2363
+ "fieldName": "updateEvent",
2412
2364
  "inheritedFrom": {
2413
2365
  "name": "EntityManagement",
2414
2366
  "module": "src/entities/entities.ts"
2415
2367
  }
2416
2368
  },
2417
2369
  {
2418
- "kind": "field",
2419
- "name": "crudMenuPosition",
2370
+ "name": "deleteEvent",
2420
2371
  "type": {
2421
- "text": "CrudMenuPosition"
2372
+ "text": "string"
2422
2373
  },
2423
- "description": "Determines where the buttons will appear",
2424
- "privacy": "public",
2374
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2375
+ "fieldName": "deleteEvent",
2425
2376
  "inheritedFrom": {
2426
2377
  "name": "EntityManagement",
2427
2378
  "module": "src/entities/entities.ts"
2428
2379
  }
2429
2380
  },
2430
2381
  {
2431
- "kind": "field",
2432
- "name": "crudMenuStyle",
2382
+ "name": "createEvent",
2433
2383
  "type": {
2434
- "text": "ActionsMenuStyle"
2384
+ "text": "string"
2435
2385
  },
2436
- "description": "Determines the style of the buttons",
2437
- "privacy": "public",
2386
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
2387
+ "fieldName": "createEvent",
2438
2388
  "inheritedFrom": {
2439
2389
  "name": "EntityManagement",
2440
2390
  "module": "src/entities/entities.ts"
2441
2391
  }
2442
2392
  },
2443
2393
  {
2444
- "kind": "field",
2445
- "name": "crudActionMenuName",
2394
+ "name": "title",
2446
2395
  "type": {
2447
2396
  "text": "string"
2448
2397
  },
2449
- "default": "'⋮'",
2450
- "description": "The label of the crud action menu",
2398
+ "description": "Title of the grid",
2399
+ "fieldName": "title",
2451
2400
  "inheritedFrom": {
2452
2401
  "name": "EntityManagement",
2453
2402
  "module": "src/entities/entities.ts"
2454
2403
  }
2455
2404
  },
2456
2405
  {
2457
- "kind": "field",
2458
- "name": "crudMenuWrapper",
2459
- "privacy": "public",
2460
- "description": "The Id of the crud buttons wrapper element",
2406
+ "name": "entityLabel",
2407
+ "type": {
2408
+ "text": "string"
2409
+ },
2410
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2411
+ "fieldName": "entityLabel",
2461
2412
  "inheritedFrom": {
2462
2413
  "name": "EntityManagement",
2463
2414
  "module": "src/entities/entities.ts"
2464
2415
  }
2465
2416
  },
2466
2417
  {
2467
- "kind": "method",
2468
- "name": "getTitleBasedOnActionOrType",
2469
- "privacy": "public",
2470
- "parameters": [
2471
- {
2472
- "name": "actionOrType",
2473
- "type": {
2474
- "text": "CrudAction | ModalFormType"
2475
- },
2476
- "description": "The crud action or modal form type"
2477
- }
2478
- ],
2479
- "description": "The helper function to determine the title of the modal form or button based on the action or type",
2418
+ "name": "async-add",
2419
+ "type": {
2420
+ "text": "boolean"
2421
+ },
2422
+ "default": "false",
2423
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2424
+ "fieldName": "asyncAdd",
2480
2425
  "inheritedFrom": {
2481
2426
  "name": "EntityManagement",
2482
2427
  "module": "src/entities/entities.ts"
2483
2428
  }
2484
2429
  },
2485
2430
  {
2486
- "kind": "field",
2487
- "name": "modalFormTitle",
2488
- "description": "Getter for the title of the modal form",
2489
- "readonly": true,
2431
+ "name": "async-remove",
2432
+ "type": {
2433
+ "text": "boolean"
2434
+ },
2435
+ "default": "false",
2436
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2437
+ "fieldName": "asyncRemove",
2490
2438
  "inheritedFrom": {
2491
2439
  "name": "EntityManagement",
2492
2440
  "module": "src/entities/entities.ts"
2493
2441
  }
2494
2442
  },
2495
2443
  {
2496
- "kind": "field",
2497
- "name": "shouldHideEditInColumn",
2444
+ "name": "async-update",
2498
2445
  "type": {
2499
2446
  "text": "boolean"
2500
2447
  },
2501
- "description": "Determines whether the button edit should be hidden in the column",
2502
- "readonly": true,
2448
+ "default": "true",
2449
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2450
+ "fieldName": "asyncUpdate",
2503
2451
  "inheritedFrom": {
2504
2452
  "name": "EntityManagement",
2505
2453
  "module": "src/entities/entities.ts"
2506
2454
  }
2507
2455
  },
2508
2456
  {
2509
- "kind": "field",
2510
- "name": "shouldHideDeleteInColumn",
2457
+ "name": "row-selection",
2511
2458
  "type": {
2512
- "text": "boolean"
2459
+ "text": "string"
2513
2460
  },
2514
- "description": "Determines whether the button delete should be hidden in the column",
2515
- "readonly": true,
2461
+ "default": "'single'",
2462
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2463
+ "fieldName": "rowSelection",
2516
2464
  "inheritedFrom": {
2517
2465
  "name": "EntityManagement",
2518
2466
  "module": "src/entities/entities.ts"
2519
2467
  }
2520
2468
  },
2521
2469
  {
2522
- "kind": "field",
2523
- "name": "hasSelectedEntity",
2470
+ "name": "enable-cell-flashing",
2524
2471
  "type": {
2525
2472
  "text": "boolean"
2526
2473
  },
2527
- "description": "Determines whether there is a selected entity",
2528
- "readonly": true,
2474
+ "default": "false",
2475
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2476
+ "fieldName": "enableCellFlashing",
2529
2477
  "inheritedFrom": {
2530
2478
  "name": "EntityManagement",
2531
2479
  "module": "src/entities/entities.ts"
2532
2480
  }
2533
2481
  },
2534
2482
  {
2535
- "kind": "method",
2536
- "name": "hasContentInSlot",
2537
- "privacy": "public",
2538
- "return": {
2539
- "type": {
2540
- "text": ""
2541
- }
2483
+ "name": "enable-row-flashing",
2484
+ "type": {
2485
+ "text": "boolean"
2542
2486
  },
2543
- "parameters": [
2544
- {
2545
- "name": "slotName",
2546
- "type": {
2547
- "text": "string"
2548
- },
2549
- "description": "The name of the slot to check."
2550
- }
2551
- ],
2552
- "description": "Checks if a slot contains any content.",
2487
+ "default": "false",
2488
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
2489
+ "fieldName": "enableRowFlashing",
2553
2490
  "inheritedFrom": {
2554
2491
  "name": "EntityManagement",
2555
2492
  "module": "src/entities/entities.ts"
2556
2493
  }
2557
2494
  },
2558
2495
  {
2559
- "kind": "method",
2560
- "name": "deepClone",
2561
- "return": {
2562
- "type": {
2563
- "text": "Node"
2564
- }
2496
+ "name": "datasource-type",
2497
+ "type": {
2498
+ "text": "DatasourceType"
2565
2499
  },
2566
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
2567
- "privacy": "public",
2500
+ "default": "'client'",
2501
+ "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.",
2502
+ "fieldName": "datasourceType",
2568
2503
  "inheritedFrom": {
2569
2504
  "name": "EntityManagement",
2570
2505
  "module": "src/entities/entities.ts"
2571
2506
  }
2572
2507
  },
2573
2508
  {
2574
- "kind": "method",
2575
- "name": "submitEntityChanges",
2576
- "privacy": "public",
2577
- "parameters": [
2578
- {
2579
- "name": "e",
2580
- "type": {
2581
- "text": "CustomEvent"
2582
- },
2583
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
2584
- }
2585
- ],
2586
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
2509
+ "name": "persist-column-state-key",
2510
+ "type": {
2511
+ "text": "string"
2512
+ },
2513
+ "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.",
2514
+ "fieldName": "persistColumnStateKey",
2587
2515
  "inheritedFrom": {
2588
2516
  "name": "EntityManagement",
2589
2517
  "module": "src/entities/entities.ts"
2590
2518
  }
2591
2519
  },
2592
2520
  {
2593
- "kind": "method",
2594
- "name": "readEntity",
2595
- "privacy": "private",
2596
- "parameters": [
2597
- {
2598
- "name": "e",
2599
- "type": {
2600
- "text": "CustomEvent"
2601
- }
2602
- }
2603
- ],
2521
+ "name": "size-columns-to-fit",
2522
+ "type": {
2523
+ "text": "boolean"
2524
+ },
2525
+ "fieldName": "sizeColumnsToFit",
2604
2526
  "inheritedFrom": {
2605
2527
  "name": "EntityManagement",
2606
2528
  "module": "src/entities/entities.ts"
2607
2529
  }
2608
2530
  },
2609
2531
  {
2610
- "kind": "method",
2611
- "name": "closeModal",
2612
- "privacy": "public",
2532
+ "name": "enable-filter-bar",
2533
+ "type": {
2534
+ "text": "boolean"
2535
+ },
2536
+ "fieldName": "enableFilterBar",
2613
2537
  "inheritedFrom": {
2614
2538
  "name": "EntityManagement",
2615
2539
  "module": "src/entities/entities.ts"
2616
2540
  }
2617
2541
  },
2618
2542
  {
2619
- "kind": "field",
2620
- "name": "headerTempalate",
2621
- "readonly": true,
2622
- "inheritedFrom": {
2623
- "name": "EntityManagement",
2624
- "module": "src/entities/entities.ts"
2625
- }
2626
- },
2627
- {
2628
- "kind": "field",
2629
- "name": "isServerSideDatasource",
2543
+ "name": "hide-edit",
2630
2544
  "type": {
2631
2545
  "text": "boolean"
2632
2546
  },
2633
- "readonly": true,
2634
- "inheritedFrom": {
2635
- "name": "EntityManagement",
2636
- "module": "src/entities/entities.ts"
2637
- }
2638
- },
2639
- {
2640
- "kind": "method",
2641
- "name": "searchChanged",
2642
- "privacy": "public",
2643
- "parameters": [
2644
- {
2645
- "name": "event",
2646
- "type": {
2647
- "text": "CustomEvent<Array<SelectedOption>>"
2648
- }
2649
- }
2650
- ],
2651
- "inheritedFrom": {
2652
- "name": "EntityManagement",
2653
- "module": "src/entities/entities.ts"
2654
- }
2655
- },
2656
- {
2657
- "kind": "method",
2658
- "name": "searchBarReqServer",
2659
- "parameters": [
2660
- {
2661
- "name": "options",
2662
- "type": {
2663
- "text": "SelectedOption<string>[]"
2664
- }
2665
- }
2666
- ],
2667
- "inheritedFrom": {
2668
- "name": "EntityManagement",
2669
- "module": "src/entities/entities.ts"
2670
- }
2671
- },
2672
- {
2673
- "kind": "method",
2674
- "name": "searchBarDataserver",
2675
- "parameters": [
2676
- {
2677
- "name": "options",
2678
- "type": {
2679
- "text": "SelectedOption<string>[]"
2680
- }
2681
- }
2682
- ],
2683
- "inheritedFrom": {
2684
- "name": "EntityManagement",
2685
- "module": "src/entities/entities.ts"
2686
- }
2687
- },
2688
- {
2689
- "kind": "method",
2690
- "name": "requestChanged",
2691
- "privacy": "public",
2692
- "parameters": [
2693
- {
2694
- "name": "e",
2695
- "type": {
2696
- "text": "CustomEvent<string>"
2697
- }
2698
- }
2699
- ],
2700
- "inheritedFrom": {
2701
- "name": "EntityManagement",
2702
- "module": "src/entities/entities.ts"
2703
- }
2704
- },
2705
- {
2706
- "kind": "method",
2707
- "name": "criteriaChanged",
2708
- "privacy": "public",
2709
- "parameters": [
2710
- {
2711
- "name": "e",
2712
- "type": {
2713
- "text": "CustomEvent<string>"
2714
- }
2715
- }
2716
- ],
2717
- "inheritedFrom": {
2718
- "name": "EntityManagement",
2719
- "module": "src/entities/entities.ts"
2720
- }
2721
- },
2722
- {
2723
- "kind": "method",
2724
- "name": "submitFailureNotification",
2725
- "privacy": "public",
2726
- "parameters": [
2727
- {
2728
- "name": "e",
2729
- "type": {
2730
- "text": "CustomEvent"
2731
- }
2732
- }
2733
- ],
2734
- "inheritedFrom": {
2735
- "name": "EntityManagement",
2736
- "module": "src/entities/entities.ts"
2737
- }
2738
- },
2739
- {
2740
- "kind": "method",
2741
- "name": "submitErrorHandler",
2742
- "privacy": "private",
2743
- "parameters": [
2744
- {
2745
- "name": "e",
2746
- "type": {
2747
- "text": "CustomEvent"
2748
- }
2749
- }
2750
- ],
2751
- "inheritedFrom": {
2752
- "name": "EntityManagement",
2753
- "module": "src/entities/entities.ts"
2754
- }
2755
- },
2756
- {
2757
- "kind": "method",
2758
- "name": "showDeleteConfirmation",
2759
- "privacy": "private",
2547
+ "default": "false",
2548
+ "fieldName": "hideEdit",
2760
2549
  "inheritedFrom": {
2761
2550
  "name": "EntityManagement",
2762
2551
  "module": "src/entities/entities.ts"
2763
2552
  }
2764
2553
  },
2765
2554
  {
2766
- "kind": "method",
2767
- "name": "emitCrud",
2768
- "privacy": "public",
2769
- "parameters": [
2770
- {
2771
- "name": "action",
2772
- "type": {
2773
- "text": "'create' | 'edit' | 'delete'"
2774
- },
2775
- "description": "the action to emit"
2776
- }
2777
- ],
2778
- "description": "Emit the CRUD event for the selected entity",
2555
+ "name": "hide-delete",
2556
+ "type": {
2557
+ "text": "boolean"
2558
+ },
2559
+ "default": "false",
2560
+ "fieldName": "hideDelete",
2779
2561
  "inheritedFrom": {
2780
2562
  "name": "EntityManagement",
2781
2563
  "module": "src/entities/entities.ts"
2782
2564
  }
2783
2565
  },
2784
2566
  {
2785
- "kind": "method",
2786
- "name": "selectionChanged",
2787
- "privacy": "public",
2788
- "parameters": [
2789
- {
2790
- "name": "event",
2791
- "type": {
2792
- "text": "CustomEvent<SelectionChangedEvent>"
2793
- }
2794
- }
2795
- ],
2796
- "description": "The event handler for when the selection changes in the grid.",
2797
- "inheritedFrom": {
2798
- "name": "EntityManagement",
2799
- "module": "src/entities/entities.ts"
2800
- }
2801
- }
2802
- ],
2803
- "superclass": {
2804
- "name": "EntityManagement",
2805
- "module": "/src/entities"
2806
- },
2807
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2808
- "tagName": "profile-management",
2809
- "customElement": true,
2810
- "attributes": [
2811
- {
2812
- "name": "design-system-prefix",
2567
+ "name": "enable-search-bar",
2813
2568
  "type": {
2814
- "text": "string"
2569
+ "text": "boolean"
2815
2570
  },
2816
- "default": "'zero'",
2817
- "description": "Name of the design system prefix that will be used in renderers.",
2818
- "fieldName": "prefix",
2571
+ "default": "false",
2572
+ "description": "This attribute controls whether to enable the search-bar.",
2573
+ "fieldName": "enableSearchBar",
2819
2574
  "inheritedFrom": {
2820
2575
  "name": "EntityManagement",
2821
2576
  "module": "src/entities/entities.ts"
2822
2577
  }
2823
2578
  },
2824
2579
  {
2825
- "name": "resourceName",
2580
+ "name": "header-case-type",
2826
2581
  "type": {
2827
- "text": "string"
2582
+ "text": "GridProCaseType"
2828
2583
  },
2829
- "description": "Name of the backend resource which contain the entities to manage",
2830
- "fieldName": "resourceName",
2584
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2585
+ "fieldName": "headerCaseType",
2831
2586
  "inheritedFrom": {
2832
2587
  "name": "EntityManagement",
2833
2588
  "module": "src/entities/entities.ts"
2834
2589
  }
2835
2590
  },
2836
2591
  {
2837
- "name": "readEvent",
2592
+ "name": "modal-position",
2838
2593
  "type": {
2839
- "text": "string"
2594
+ "text": "'centre' | 'left' | 'right'"
2840
2595
  },
2841
- "fieldName": "readEvent",
2596
+ "default": "'right'",
2597
+ "description": "Determines where the modal dialog will appear on screen",
2598
+ "fieldName": "modalPosition",
2842
2599
  "inheritedFrom": {
2843
2600
  "name": "EntityManagement",
2844
2601
  "module": "src/entities/entities.ts"
2845
2602
  }
2846
2603
  },
2847
2604
  {
2605
+ "name": "crud-menu-position",
2848
2606
  "type": {
2849
- "text": "boolean"
2607
+ "text": "CrudMenuPosition"
2850
2608
  },
2851
- "fieldName": "readonly",
2609
+ "description": "Determines where the buttons will appear",
2610
+ "fieldName": "crudMenuPosition",
2852
2611
  "inheritedFrom": {
2853
2612
  "name": "EntityManagement",
2854
2613
  "module": "src/entities/entities.ts"
2855
2614
  }
2856
2615
  },
2857
2616
  {
2858
- "name": "updateEvent",
2617
+ "name": "crud-menu-style",
2859
2618
  "type": {
2860
- "text": "string"
2619
+ "text": "ActionsMenuStyle"
2861
2620
  },
2862
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
2863
- "fieldName": "updateEvent",
2621
+ "description": "Determines the style of the buttons",
2622
+ "fieldName": "crudMenuStyle",
2864
2623
  "inheritedFrom": {
2865
2624
  "name": "EntityManagement",
2866
2625
  "module": "src/entities/entities.ts"
2867
2626
  }
2868
2627
  },
2869
2628
  {
2870
- "name": "deleteEvent",
2629
+ "name": "crud-action-menu-name",
2871
2630
  "type": {
2872
2631
  "text": "string"
2873
2632
  },
2874
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2875
- "fieldName": "deleteEvent",
2633
+ "default": "'⋮'",
2634
+ "description": "The label of the crud action menu",
2635
+ "fieldName": "crudActionMenuName",
2876
2636
  "inheritedFrom": {
2877
2637
  "name": "EntityManagement",
2878
2638
  "module": "src/entities/entities.ts"
2879
2639
  }
2640
+ }
2641
+ ]
2642
+ }
2643
+ ],
2644
+ "exports": [
2645
+ {
2646
+ "kind": "js",
2647
+ "name": "Profiles",
2648
+ "declaration": {
2649
+ "name": "Profiles",
2650
+ "module": "src/profiles/profiles.ts"
2651
+ }
2652
+ },
2653
+ {
2654
+ "kind": "custom-element-definition",
2655
+ "name": "profile-management",
2656
+ "declaration": {
2657
+ "name": "Profiles",
2658
+ "module": "src/profiles/profiles.ts"
2659
+ }
2660
+ }
2661
+ ]
2662
+ },
2663
+ {
2664
+ "kind": "javascript-module",
2665
+ "path": "src/list/index.ts",
2666
+ "declarations": [],
2667
+ "exports": [
2668
+ {
2669
+ "kind": "js",
2670
+ "name": "*",
2671
+ "declaration": {
2672
+ "name": "*",
2673
+ "package": "./list"
2674
+ }
2675
+ }
2676
+ ]
2677
+ },
2678
+ {
2679
+ "kind": "javascript-module",
2680
+ "path": "src/list/list.styles.ts",
2681
+ "declarations": [
2682
+ {
2683
+ "kind": "variable",
2684
+ "name": "listStyles",
2685
+ "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`"
2686
+ }
2687
+ ],
2688
+ "exports": [
2689
+ {
2690
+ "kind": "js",
2691
+ "name": "listStyles",
2692
+ "declaration": {
2693
+ "name": "listStyles",
2694
+ "module": "src/list/list.styles.ts"
2695
+ }
2696
+ }
2697
+ ]
2698
+ },
2699
+ {
2700
+ "kind": "javascript-module",
2701
+ "path": "src/list/list.template.ts",
2702
+ "declarations": [
2703
+ {
2704
+ "kind": "function",
2705
+ "name": "getPrefixedList",
2706
+ "parameters": [
2707
+ {
2708
+ "name": "prefix"
2709
+ }
2710
+ ]
2711
+ }
2712
+ ],
2713
+ "exports": [
2714
+ {
2715
+ "kind": "js",
2716
+ "name": "getPrefixedList",
2717
+ "declaration": {
2718
+ "name": "getPrefixedList",
2719
+ "module": "src/list/list.template.ts"
2720
+ }
2721
+ }
2722
+ ]
2723
+ },
2724
+ {
2725
+ "kind": "javascript-module",
2726
+ "path": "src/list/list.ts",
2727
+ "declarations": [
2728
+ {
2729
+ "kind": "class",
2730
+ "description": "",
2731
+ "name": "List",
2732
+ "members": [
2733
+ {
2734
+ "kind": "field",
2735
+ "name": "prefix",
2736
+ "type": {
2737
+ "text": "string"
2738
+ },
2739
+ "default": "'zero'",
2740
+ "description": "Name of the design system prefix that will be used in renderers.",
2741
+ "privacy": "public"
2742
+ },
2743
+ {
2744
+ "kind": "field",
2745
+ "name": "resourceName",
2746
+ "type": {
2747
+ "text": "string"
2748
+ },
2749
+ "default": "''"
2750
+ },
2751
+ {
2752
+ "kind": "field",
2753
+ "name": "title",
2754
+ "type": {
2755
+ "text": "string"
2756
+ },
2757
+ "default": "''"
2758
+ },
2759
+ {
2760
+ "kind": "field",
2761
+ "name": "persistColumnStateKey",
2762
+ "type": {
2763
+ "text": "string"
2764
+ }
2765
+ },
2766
+ {
2767
+ "kind": "field",
2768
+ "name": "sizeColumnsToFit",
2769
+ "type": {
2770
+ "text": "boolean"
2771
+ }
2772
+ },
2773
+ {
2774
+ "kind": "field",
2775
+ "name": "rowSelection",
2776
+ "type": {
2777
+ "text": "string"
2778
+ }
2779
+ },
2780
+ {
2781
+ "kind": "field",
2782
+ "name": "enableFilterBar",
2783
+ "type": {
2784
+ "text": "boolean"
2785
+ }
2786
+ },
2787
+ {
2788
+ "kind": "field",
2789
+ "name": "asyncAdd",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "false"
2794
+ },
2795
+ {
2796
+ "kind": "field",
2797
+ "name": "asyncRemove",
2798
+ "type": {
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "false"
2802
+ },
2803
+ {
2804
+ "kind": "field",
2805
+ "name": "asyncUpdate",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "true"
2810
+ },
2811
+ {
2812
+ "kind": "field",
2813
+ "name": "enableCellFlashing",
2814
+ "type": {
2815
+ "text": "boolean"
2816
+ },
2817
+ "default": "false"
2818
+ },
2819
+ {
2820
+ "kind": "field",
2821
+ "name": "enableRowFlashing",
2822
+ "type": {
2823
+ "text": "boolean"
2824
+ },
2825
+ "default": "false"
2826
+ },
2827
+ {
2828
+ "kind": "field",
2829
+ "name": "hideEdit",
2830
+ "type": {
2831
+ "text": "boolean"
2832
+ },
2833
+ "default": "false"
2834
+ },
2835
+ {
2836
+ "kind": "field",
2837
+ "name": "hideDelete",
2838
+ "type": {
2839
+ "text": "boolean"
2840
+ },
2841
+ "default": "false"
2842
+ },
2843
+ {
2844
+ "kind": "field",
2845
+ "name": "datasourceType",
2846
+ "type": {
2847
+ "text": "DatasourceType"
2848
+ },
2849
+ "default": "'client'"
2850
+ },
2851
+ {
2852
+ "kind": "field",
2853
+ "name": "headerCaseType",
2854
+ "type": {
2855
+ "text": "GridProCaseType"
2856
+ }
2857
+ },
2858
+ {
2859
+ "kind": "field",
2860
+ "name": "grid",
2861
+ "type": {
2862
+ "text": "ZeroGridPro"
2863
+ },
2864
+ "privacy": "public"
2865
+ },
2866
+ {
2867
+ "kind": "field",
2868
+ "name": "datasource",
2869
+ "type": {
2870
+ "text": "GridProGenesisDatasource"
2871
+ },
2872
+ "privacy": "public"
2873
+ },
2874
+ {
2875
+ "kind": "field",
2876
+ "name": "gridOptions",
2877
+ "type": {
2878
+ "text": "GridOptions"
2879
+ }
2880
+ },
2881
+ {
2882
+ "kind": "field",
2883
+ "name": "columns",
2884
+ "type": {
2885
+ "text": "ColDef[]"
2886
+ }
2887
+ },
2888
+ {
2889
+ "kind": "field",
2890
+ "name": "datasourceConfig",
2891
+ "type": {
2892
+ "text": "DatasourceConfiguration"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "field",
2897
+ "name": "actionButtonsConfig",
2898
+ "type": {
2899
+ "text": "array"
2900
+ },
2901
+ "default": "[]"
2902
+ },
2903
+ {
2904
+ "kind": "field",
2905
+ "name": "deleteEvent",
2906
+ "type": {
2907
+ "text": "string"
2908
+ }
2909
+ },
2910
+ {
2911
+ "kind": "field",
2912
+ "name": "updateEvent",
2913
+ "type": {
2914
+ "text": "string"
2915
+ }
2916
+ },
2917
+ {
2918
+ "kind": "field",
2919
+ "name": "connect",
2920
+ "type": {
2921
+ "text": "Connect"
2922
+ },
2923
+ "privacy": "protected"
2924
+ },
2925
+ {
2926
+ "kind": "field",
2927
+ "name": "isServerSideDatasource",
2928
+ "type": {
2929
+ "text": "boolean"
2930
+ },
2931
+ "readonly": true
2932
+ },
2933
+ {
2934
+ "kind": "method",
2935
+ "name": "onCellEditingStopped",
2936
+ "privacy": "private",
2937
+ "parameters": [
2938
+ {
2939
+ "name": "event",
2940
+ "type": {
2941
+ "text": "CellEditRequestEvent"
2942
+ }
2943
+ }
2944
+ ]
2945
+ },
2946
+ {
2947
+ "kind": "field",
2948
+ "name": "criteria",
2949
+ "readonly": true
2950
+ },
2951
+ {
2952
+ "kind": "field",
2953
+ "name": "fields",
2954
+ "readonly": true
2955
+ },
2956
+ {
2957
+ "kind": "field",
2958
+ "name": "isSnapshot",
2959
+ "readonly": true
2960
+ },
2961
+ {
2962
+ "kind": "field",
2963
+ "name": "maxRows",
2964
+ "readonly": true
2965
+ },
2966
+ {
2967
+ "kind": "field",
2968
+ "name": "maxView",
2969
+ "readonly": true
2970
+ },
2971
+ {
2972
+ "kind": "field",
2973
+ "name": "movingView",
2974
+ "readonly": true
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "orderBy",
2979
+ "readonly": true
2980
+ },
2981
+ {
2982
+ "kind": "field",
2983
+ "name": "pollingInterval",
2984
+ "readonly": true
2985
+ },
2986
+ {
2987
+ "kind": "field",
2988
+ "name": "request",
2989
+ "readonly": true
2990
+ },
2991
+ {
2992
+ "kind": "field",
2993
+ "name": "reverse",
2994
+ "readonly": true
2995
+ },
2996
+ {
2997
+ "kind": "method",
2998
+ "name": "handleFilterChanged",
2999
+ "privacy": "private",
3000
+ "parameters": [
3001
+ {
3002
+ "name": "e"
3003
+ }
3004
+ ]
3005
+ },
3006
+ {
3007
+ "kind": "method",
3008
+ "name": "handleFilterCleared",
3009
+ "privacy": "private",
3010
+ "parameters": [
3011
+ {
3012
+ "name": "e"
3013
+ }
3014
+ ]
3015
+ },
3016
+ {
3017
+ "kind": "method",
3018
+ "name": "select",
3019
+ "privacy": "private",
3020
+ "parameters": [
3021
+ {
3022
+ "name": "e"
3023
+ }
3024
+ ]
3025
+ },
3026
+ {
3027
+ "kind": "method",
3028
+ "name": "selectionChanged",
3029
+ "privacy": "private",
3030
+ "parameters": [
3031
+ {
3032
+ "name": "e",
3033
+ "type": {
3034
+ "text": "CustomEvent<SelectionChangedEvent>"
3035
+ }
3036
+ }
3037
+ ]
2880
3038
  },
2881
3039
  {
2882
- "name": "createEvent",
2883
- "type": {
2884
- "text": "string"
2885
- },
2886
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
2887
- "fieldName": "createEvent",
2888
- "inheritedFrom": {
2889
- "name": "EntityManagement",
2890
- "module": "src/entities/entities.ts"
2891
- }
3040
+ "kind": "field",
3041
+ "name": "edit",
3042
+ "privacy": "private"
2892
3043
  },
2893
3044
  {
2894
- "name": "title",
3045
+ "kind": "method",
3046
+ "name": "delete",
3047
+ "parameters": [
3048
+ {
3049
+ "name": "e"
3050
+ }
3051
+ ]
3052
+ }
3053
+ ],
3054
+ "attributes": [
3055
+ {
3056
+ "name": "design-system-prefix",
2895
3057
  "type": {
2896
3058
  "text": "string"
2897
3059
  },
2898
- "description": "Title of the grid",
2899
- "fieldName": "title",
2900
- "inheritedFrom": {
2901
- "name": "EntityManagement",
2902
- "module": "src/entities/entities.ts"
2903
- }
3060
+ "default": "'zero'",
3061
+ "description": "Name of the design system prefix that will be used in renderers.",
3062
+ "fieldName": "prefix"
2904
3063
  },
2905
3064
  {
2906
- "name": "entityLabel",
3065
+ "name": "resourceName",
2907
3066
  "type": {
2908
3067
  "text": "string"
2909
3068
  },
2910
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2911
- "fieldName": "entityLabel",
2912
- "inheritedFrom": {
2913
- "name": "EntityManagement",
2914
- "module": "src/entities/entities.ts"
2915
- }
3069
+ "default": "''",
3070
+ "fieldName": "resourceName"
2916
3071
  },
2917
3072
  {
2918
- "name": "async-add",
3073
+ "name": "title",
2919
3074
  "type": {
2920
- "text": "boolean"
3075
+ "text": "string"
2921
3076
  },
2922
- "default": "false",
2923
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2924
- "fieldName": "asyncAdd",
2925
- "inheritedFrom": {
2926
- "name": "EntityManagement",
2927
- "module": "src/entities/entities.ts"
2928
- }
3077
+ "default": "''",
3078
+ "fieldName": "title"
2929
3079
  },
2930
3080
  {
2931
- "name": "async-remove",
3081
+ "name": "persist-column-state-key",
2932
3082
  "type": {
2933
- "text": "boolean"
3083
+ "text": "string"
2934
3084
  },
2935
- "default": "false",
2936
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2937
- "fieldName": "asyncRemove",
2938
- "inheritedFrom": {
2939
- "name": "EntityManagement",
2940
- "module": "src/entities/entities.ts"
2941
- }
3085
+ "fieldName": "persistColumnStateKey"
2942
3086
  },
2943
3087
  {
2944
- "name": "async-update",
3088
+ "name": "size-columns-to-fit",
2945
3089
  "type": {
2946
3090
  "text": "boolean"
2947
3091
  },
2948
- "default": "true",
2949
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2950
- "fieldName": "asyncUpdate",
2951
- "inheritedFrom": {
2952
- "name": "EntityManagement",
2953
- "module": "src/entities/entities.ts"
2954
- }
3092
+ "fieldName": "sizeColumnsToFit"
2955
3093
  },
2956
3094
  {
2957
3095
  "name": "row-selection",
2958
3096
  "type": {
2959
3097
  "text": "string"
2960
3098
  },
2961
- "default": "'single'",
2962
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2963
- "fieldName": "rowSelection",
2964
- "inheritedFrom": {
2965
- "name": "EntityManagement",
2966
- "module": "src/entities/entities.ts"
2967
- }
3099
+ "fieldName": "rowSelection"
2968
3100
  },
2969
3101
  {
2970
- "name": "enable-cell-flashing",
3102
+ "name": "enable-filter-bar",
2971
3103
  "type": {
2972
3104
  "text": "boolean"
2973
3105
  },
2974
- "default": "false",
2975
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2976
- "fieldName": "enableCellFlashing",
2977
- "inheritedFrom": {
2978
- "name": "EntityManagement",
2979
- "module": "src/entities/entities.ts"
2980
- }
3106
+ "fieldName": "enableFilterBar"
2981
3107
  },
2982
3108
  {
2983
- "name": "enable-row-flashing",
3109
+ "name": "async-add",
2984
3110
  "type": {
2985
3111
  "text": "boolean"
2986
3112
  },
2987
3113
  "default": "false",
2988
- "description": "If true, will enable row flashing for all rows for `add` transactions",
2989
- "fieldName": "enableRowFlashing",
2990
- "inheritedFrom": {
2991
- "name": "EntityManagement",
2992
- "module": "src/entities/entities.ts"
2993
- }
3114
+ "fieldName": "asyncAdd"
2994
3115
  },
2995
3116
  {
2996
- "name": "datasource-type",
3117
+ "name": "async-remove",
2997
3118
  "type": {
2998
- "text": "DatasourceType"
3119
+ "text": "boolean"
2999
3120
  },
3000
- "default": "'client'",
3001
- "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.",
3002
- "fieldName": "datasourceType",
3003
- "inheritedFrom": {
3004
- "name": "EntityManagement",
3005
- "module": "src/entities/entities.ts"
3006
- }
3121
+ "default": "false",
3122
+ "fieldName": "asyncRemove"
3007
3123
  },
3008
3124
  {
3009
- "name": "persist-column-state-key",
3125
+ "name": "async-update",
3010
3126
  "type": {
3011
- "text": "string"
3127
+ "text": "boolean"
3012
3128
  },
3013
- "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.",
3014
- "fieldName": "persistColumnStateKey",
3015
- "inheritedFrom": {
3016
- "name": "EntityManagement",
3017
- "module": "src/entities/entities.ts"
3018
- }
3129
+ "default": "true",
3130
+ "fieldName": "asyncUpdate"
3019
3131
  },
3020
3132
  {
3021
- "name": "size-columns-to-fit",
3133
+ "name": "enable-cell-flashing",
3022
3134
  "type": {
3023
3135
  "text": "boolean"
3024
3136
  },
3025
- "fieldName": "sizeColumnsToFit",
3026
- "inheritedFrom": {
3027
- "name": "EntityManagement",
3028
- "module": "src/entities/entities.ts"
3029
- }
3137
+ "default": "false",
3138
+ "fieldName": "enableCellFlashing"
3030
3139
  },
3031
3140
  {
3032
- "name": "enable-filter-bar",
3141
+ "name": "enable-row-flashing",
3033
3142
  "type": {
3034
3143
  "text": "boolean"
3035
3144
  },
3036
- "fieldName": "enableFilterBar",
3037
- "inheritedFrom": {
3038
- "name": "EntityManagement",
3039
- "module": "src/entities/entities.ts"
3040
- }
3145
+ "default": "false",
3146
+ "fieldName": "enableRowFlashing"
3041
3147
  },
3042
3148
  {
3043
3149
  "name": "hide-edit",
@@ -3045,11 +3151,7 @@
3045
3151
  "text": "boolean"
3046
3152
  },
3047
3153
  "default": "false",
3048
- "fieldName": "hideEdit",
3049
- "inheritedFrom": {
3050
- "name": "EntityManagement",
3051
- "module": "src/entities/entities.ts"
3052
- }
3154
+ "fieldName": "hideEdit"
3053
3155
  },
3054
3156
  {
3055
3157
  "name": "hide-delete",
@@ -3057,105 +3159,53 @@
3057
3159
  "text": "boolean"
3058
3160
  },
3059
3161
  "default": "false",
3060
- "fieldName": "hideDelete",
3061
- "inheritedFrom": {
3062
- "name": "EntityManagement",
3063
- "module": "src/entities/entities.ts"
3064
- }
3162
+ "fieldName": "hideDelete"
3065
3163
  },
3066
3164
  {
3067
- "name": "enable-search-bar",
3165
+ "name": "datasource-type",
3068
3166
  "type": {
3069
- "text": "boolean"
3167
+ "text": "DatasourceType"
3070
3168
  },
3071
- "default": "false",
3072
- "description": "This attribute controls whether to enable the search-bar.",
3073
- "fieldName": "enableSearchBar",
3074
- "inheritedFrom": {
3075
- "name": "EntityManagement",
3076
- "module": "src/entities/entities.ts"
3077
- }
3169
+ "default": "'client'",
3170
+ "fieldName": "datasourceType"
3078
3171
  },
3079
3172
  {
3080
3173
  "name": "header-case-type",
3081
3174
  "type": {
3082
3175
  "text": "GridProCaseType"
3083
3176
  },
3084
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
3085
- "fieldName": "headerCaseType",
3086
- "inheritedFrom": {
3087
- "name": "EntityManagement",
3088
- "module": "src/entities/entities.ts"
3089
- }
3090
- },
3091
- {
3092
- "name": "modal-position",
3093
- "type": {
3094
- "text": "'centre' | 'left' | 'right'"
3095
- },
3096
- "default": "'right'",
3097
- "description": "Determines where the modal dialog will appear on screen",
3098
- "fieldName": "modalPosition",
3099
- "inheritedFrom": {
3100
- "name": "EntityManagement",
3101
- "module": "src/entities/entities.ts"
3102
- }
3103
- },
3104
- {
3105
- "name": "crud-menu-position",
3106
- "type": {
3107
- "text": "CrudMenuPosition"
3108
- },
3109
- "description": "Determines where the buttons will appear",
3110
- "fieldName": "crudMenuPosition",
3111
- "inheritedFrom": {
3112
- "name": "EntityManagement",
3113
- "module": "src/entities/entities.ts"
3114
- }
3115
- },
3116
- {
3117
- "name": "crud-menu-style",
3118
- "type": {
3119
- "text": "ActionsMenuStyle"
3120
- },
3121
- "description": "Determines the style of the buttons",
3122
- "fieldName": "crudMenuStyle",
3123
- "inheritedFrom": {
3124
- "name": "EntityManagement",
3125
- "module": "src/entities/entities.ts"
3126
- }
3127
- },
3177
+ "fieldName": "headerCaseType"
3178
+ }
3179
+ ],
3180
+ "mixins": [
3128
3181
  {
3129
- "name": "crud-action-menu-name",
3130
- "type": {
3131
- "text": "string"
3132
- },
3133
- "default": "'⋮'",
3134
- "description": "The label of the crud action menu",
3135
- "fieldName": "crudActionMenuName",
3136
- "inheritedFrom": {
3137
- "name": "EntityManagement",
3138
- "module": "src/entities/entities.ts"
3139
- }
3182
+ "name": "LifecycleMixin",
3183
+ "package": "@genesislcap/foundation-utils"
3140
3184
  }
3141
- ]
3185
+ ],
3186
+ "superclass": {
3187
+ "name": "FASTElement",
3188
+ "package": "@microsoft/fast-element"
3189
+ },
3190
+ "tagName": "entity-list",
3191
+ "customElement": true
3142
3192
  }
3143
3193
  ],
3144
3194
  "exports": [
3145
3195
  {
3146
3196
  "kind": "js",
3147
- "name": "Profiles",
3197
+ "name": "List",
3148
3198
  "declaration": {
3149
- "name": "Profiles",
3150
- "module": "src/profiles/profiles.ts"
3199
+ "name": "List",
3200
+ "module": "src/list/list.ts"
3151
3201
  }
3152
3202
  },
3153
3203
  {
3154
3204
  "kind": "custom-element-definition",
3155
- "name": "profile-management",
3205
+ "name": "entity-list",
3156
3206
  "declaration": {
3157
- "name": "Profiles",
3158
- "module": "src/profiles/profiles.ts"
3207
+ "name": "List",
3208
+ "module": "src/list/list.ts"
3159
3209
  }
3160
3210
  }
3161
3211
  ]