@genesislcap/foundation-entity-management 14.228.2-alpha-e1c5cdb.0 → 14.228.2-alpha-caa3483.0

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