@genesislcap/foundation-entity-management 14.250.0 → 14.251.0-RPT-81.2

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