@genesislcap/foundation-entity-management 14.120.0 → 14.120.1
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.
- package/dist/custom-elements.json +529 -529
- package/package.json +15 -15
|
@@ -1234,243 +1234,403 @@
|
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
|
1236
1236
|
"kind": "javascript-module",
|
|
1237
|
-
"path": "src/
|
|
1237
|
+
"path": "src/main/index.ts",
|
|
1238
|
+
"declarations": [],
|
|
1239
|
+
"exports": [
|
|
1240
|
+
{
|
|
1241
|
+
"kind": "js",
|
|
1242
|
+
"name": "*",
|
|
1243
|
+
"declaration": {
|
|
1244
|
+
"name": "*",
|
|
1245
|
+
"package": "./main.template"
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"kind": "js",
|
|
1250
|
+
"name": "*",
|
|
1251
|
+
"declaration": {
|
|
1252
|
+
"name": "*",
|
|
1253
|
+
"package": "./main"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "javascript-module",
|
|
1260
|
+
"path": "src/main/main.styles.ts",
|
|
1238
1261
|
"declarations": [
|
|
1239
1262
|
{
|
|
1240
1263
|
"kind": "variable",
|
|
1241
|
-
"name": "
|
|
1242
|
-
"
|
|
1243
|
-
"text": "object"
|
|
1244
|
-
},
|
|
1245
|
-
"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}"
|
|
1264
|
+
"name": "MainStyles",
|
|
1265
|
+
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
1246
1266
|
}
|
|
1247
1267
|
],
|
|
1248
1268
|
"exports": [
|
|
1249
1269
|
{
|
|
1250
1270
|
"kind": "js",
|
|
1251
|
-
"name": "
|
|
1271
|
+
"name": "MainStyles",
|
|
1252
1272
|
"declaration": {
|
|
1253
|
-
"name": "
|
|
1254
|
-
"module": "src/
|
|
1273
|
+
"name": "MainStyles",
|
|
1274
|
+
"module": "src/main/main.styles.ts"
|
|
1255
1275
|
}
|
|
1256
1276
|
}
|
|
1257
1277
|
]
|
|
1258
1278
|
},
|
|
1259
1279
|
{
|
|
1260
1280
|
"kind": "javascript-module",
|
|
1261
|
-
"path": "src/
|
|
1281
|
+
"path": "src/main/main.template.ts",
|
|
1282
|
+
"declarations": [],
|
|
1283
|
+
"exports": []
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "javascript-module",
|
|
1287
|
+
"path": "src/main/main.ts",
|
|
1262
1288
|
"declarations": [
|
|
1263
1289
|
{
|
|
1264
1290
|
"kind": "class",
|
|
1265
|
-
"description": "
|
|
1266
|
-
"name": "
|
|
1291
|
+
"description": "",
|
|
1292
|
+
"name": "MainApplication",
|
|
1267
1293
|
"members": [
|
|
1268
|
-
{
|
|
1269
|
-
"kind": "method",
|
|
1270
|
-
"name": "readProfileData",
|
|
1271
|
-
"privacy": "public",
|
|
1272
|
-
"parameters": [
|
|
1273
|
-
{
|
|
1274
|
-
"name": "profile"
|
|
1275
|
-
}
|
|
1276
|
-
]
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
"kind": "method",
|
|
1280
|
-
"name": "confirmDelete",
|
|
1281
|
-
"inheritedFrom": {
|
|
1282
|
-
"name": "EntityManagement",
|
|
1283
|
-
"module": "src/entities/entities.ts"
|
|
1284
|
-
}
|
|
1285
|
-
},
|
|
1286
1294
|
{
|
|
1287
1295
|
"kind": "field",
|
|
1288
|
-
"name": "
|
|
1296
|
+
"name": "config",
|
|
1289
1297
|
"type": {
|
|
1290
|
-
"text": "
|
|
1291
|
-
},
|
|
1292
|
-
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1293
|
-
"privacy": "public",
|
|
1294
|
-
"inheritedFrom": {
|
|
1295
|
-
"name": "EntityManagement",
|
|
1296
|
-
"module": "src/entities/entities.ts"
|
|
1298
|
+
"text": "MainRouterConfig"
|
|
1297
1299
|
}
|
|
1298
1300
|
},
|
|
1299
1301
|
{
|
|
1300
1302
|
"kind": "field",
|
|
1301
|
-
"name": "
|
|
1303
|
+
"name": "connect",
|
|
1302
1304
|
"type": {
|
|
1303
|
-
"text": "
|
|
1304
|
-
},
|
|
1305
|
-
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1306
|
-
"privacy": "public",
|
|
1307
|
-
"inheritedFrom": {
|
|
1308
|
-
"name": "EntityManagement",
|
|
1309
|
-
"module": "src/entities/entities.ts"
|
|
1305
|
+
"text": "Connect"
|
|
1310
1306
|
}
|
|
1311
1307
|
},
|
|
1312
1308
|
{
|
|
1313
1309
|
"kind": "field",
|
|
1314
|
-
"name": "
|
|
1310
|
+
"name": "session",
|
|
1315
1311
|
"type": {
|
|
1316
|
-
"text": "
|
|
1317
|
-
},
|
|
1318
|
-
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1319
|
-
"privacy": "public",
|
|
1320
|
-
"inheritedFrom": {
|
|
1321
|
-
"name": "EntityManagement",
|
|
1322
|
-
"module": "src/entities/entities.ts"
|
|
1312
|
+
"text": "Session"
|
|
1323
1313
|
}
|
|
1324
1314
|
},
|
|
1325
1315
|
{
|
|
1326
1316
|
"kind": "field",
|
|
1327
|
-
"name": "
|
|
1317
|
+
"name": "container",
|
|
1328
1318
|
"type": {
|
|
1329
|
-
"text": "
|
|
1330
|
-
},
|
|
1331
|
-
"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.",
|
|
1332
|
-
"privacy": "public",
|
|
1333
|
-
"default": "'entity_profiles_management'",
|
|
1334
|
-
"inheritedFrom": {
|
|
1335
|
-
"name": "EntityManagement",
|
|
1336
|
-
"module": "src/entities/entities.ts"
|
|
1319
|
+
"text": "Container"
|
|
1337
1320
|
}
|
|
1338
1321
|
},
|
|
1339
1322
|
{
|
|
1340
1323
|
"kind": "field",
|
|
1341
|
-
"name": "
|
|
1324
|
+
"name": "provider",
|
|
1342
1325
|
"type": {
|
|
1343
1326
|
"text": "any"
|
|
1344
|
-
},
|
|
1345
|
-
"default": "editProfileFormSchema",
|
|
1346
|
-
"inheritedFrom": {
|
|
1347
|
-
"name": "EntityManagement",
|
|
1348
|
-
"module": "src/entities/entities.ts"
|
|
1349
1327
|
}
|
|
1350
1328
|
},
|
|
1351
1329
|
{
|
|
1352
1330
|
"kind": "field",
|
|
1353
|
-
"name": "
|
|
1331
|
+
"name": "ready",
|
|
1354
1332
|
"type": {
|
|
1355
|
-
"text": "
|
|
1333
|
+
"text": "boolean"
|
|
1356
1334
|
},
|
|
1357
|
-
"default": "
|
|
1358
|
-
"inheritedFrom": {
|
|
1359
|
-
"name": "EntityManagement",
|
|
1360
|
-
"module": "src/entities/entities.ts"
|
|
1361
|
-
}
|
|
1335
|
+
"default": "false"
|
|
1362
1336
|
},
|
|
1363
1337
|
{
|
|
1364
1338
|
"kind": "field",
|
|
1365
|
-
"name": "
|
|
1339
|
+
"name": "data",
|
|
1366
1340
|
"type": {
|
|
1367
|
-
"text": "
|
|
1341
|
+
"text": "any"
|
|
1368
1342
|
},
|
|
1369
|
-
"
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1343
|
+
"default": "null"
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "method",
|
|
1347
|
+
"name": "onLuminanceToggle"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "method",
|
|
1351
|
+
"name": "loadRemotes"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "method",
|
|
1355
|
+
"name": "selectTemplate"
|
|
1373
1356
|
},
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "method",
|
|
1359
|
+
"name": "registerDIDependencies",
|
|
1360
|
+
"privacy": "private"
|
|
1361
|
+
}
|
|
1362
|
+
],
|
|
1363
|
+
"superclass": {
|
|
1364
|
+
"name": "FASTElement",
|
|
1365
|
+
"package": "@microsoft/fast-element"
|
|
1366
|
+
},
|
|
1367
|
+
"customElement": true
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"exports": [
|
|
1371
|
+
{
|
|
1372
|
+
"kind": "js",
|
|
1373
|
+
"name": "MainApplication",
|
|
1374
|
+
"declaration": {
|
|
1375
|
+
"name": "MainApplication",
|
|
1376
|
+
"module": "src/main/main.ts"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "custom-element-definition",
|
|
1381
|
+
"declaration": {
|
|
1382
|
+
"name": "MainApplication",
|
|
1383
|
+
"module": "src/main/main.ts"
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"kind": "javascript-module",
|
|
1390
|
+
"path": "src/routes/config.ts",
|
|
1391
|
+
"declarations": [],
|
|
1392
|
+
"exports": []
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"kind": "javascript-module",
|
|
1396
|
+
"path": "src/routes/index.ts",
|
|
1397
|
+
"declarations": [],
|
|
1398
|
+
"exports": [
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "js",
|
|
1401
|
+
"name": "*",
|
|
1402
|
+
"declaration": {
|
|
1403
|
+
"name": "*",
|
|
1404
|
+
"package": "./config"
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
]
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"kind": "javascript-module",
|
|
1411
|
+
"path": "src/users/users.template.ts",
|
|
1412
|
+
"declarations": [
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "variable",
|
|
1415
|
+
"name": "UsersTemplate",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "ViewTemplate"
|
|
1418
|
+
},
|
|
1419
|
+
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
|
|
1420
|
+
}
|
|
1421
|
+
],
|
|
1422
|
+
"exports": [
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "js",
|
|
1425
|
+
"name": "UsersTemplate",
|
|
1426
|
+
"declaration": {
|
|
1427
|
+
"name": "UsersTemplate",
|
|
1428
|
+
"module": "src/users/users.template.ts"
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
]
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"kind": "javascript-module",
|
|
1435
|
+
"path": "src/users/users.ts",
|
|
1436
|
+
"declarations": [
|
|
1437
|
+
{
|
|
1438
|
+
"kind": "variable",
|
|
1439
|
+
"name": "UsersColumnConfig",
|
|
1440
|
+
"type": {
|
|
1441
|
+
"text": "array"
|
|
1442
|
+
},
|
|
1443
|
+
"default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
|
|
1444
|
+
"description": "Defines the default columns which are present on the user management component",
|
|
1445
|
+
"privacy": "public"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"kind": "class",
|
|
1449
|
+
"description": "Main class which defines the user management functionality",
|
|
1450
|
+
"name": "Users",
|
|
1451
|
+
"members": [
|
|
1374
1452
|
{
|
|
1375
1453
|
"kind": "field",
|
|
1376
|
-
"name": "
|
|
1454
|
+
"name": "persistColumnStateKey",
|
|
1377
1455
|
"type": {
|
|
1378
1456
|
"text": "string"
|
|
1379
1457
|
},
|
|
1380
|
-
"
|
|
1381
|
-
"
|
|
1382
|
-
"
|
|
1383
|
-
"inheritedFrom": {
|
|
1384
|
-
"name": "EntityManagement",
|
|
1385
|
-
"module": "src/entities/entities.ts"
|
|
1386
|
-
}
|
|
1458
|
+
"default": "'entity_users_management'",
|
|
1459
|
+
"description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
|
|
1460
|
+
"privacy": "public"
|
|
1387
1461
|
},
|
|
1388
1462
|
{
|
|
1389
1463
|
"kind": "field",
|
|
1390
|
-
"name": "
|
|
1464
|
+
"name": "columns",
|
|
1391
1465
|
"type": {
|
|
1392
|
-
"text": "
|
|
1466
|
+
"text": "any"
|
|
1393
1467
|
},
|
|
1394
|
-
"
|
|
1395
|
-
"
|
|
1396
|
-
"default": "'Profile Management'",
|
|
1397
|
-
"inheritedFrom": {
|
|
1398
|
-
"name": "EntityManagement",
|
|
1399
|
-
"module": "src/entities/entities.ts"
|
|
1400
|
-
}
|
|
1468
|
+
"default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
|
|
1469
|
+
"description": "Column definition, default to the UsersColumnConfig"
|
|
1401
1470
|
},
|
|
1402
1471
|
{
|
|
1403
1472
|
"kind": "field",
|
|
1404
|
-
"name": "
|
|
1473
|
+
"name": "additionalCreateFields",
|
|
1405
1474
|
"type": {
|
|
1406
|
-
"text": "
|
|
1475
|
+
"text": "any"
|
|
1407
1476
|
},
|
|
1408
|
-
"default": "
|
|
1409
|
-
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
1410
|
-
"privacy": "public",
|
|
1411
|
-
"inheritedFrom": {
|
|
1412
|
-
"name": "EntityManagement",
|
|
1413
|
-
"module": "src/entities/entities.ts"
|
|
1414
|
-
}
|
|
1477
|
+
"default": "[]"
|
|
1415
1478
|
},
|
|
1416
1479
|
{
|
|
1417
1480
|
"kind": "field",
|
|
1418
|
-
"name": "
|
|
1481
|
+
"name": "additionalUpdateFields",
|
|
1419
1482
|
"type": {
|
|
1420
|
-
"text": "
|
|
1483
|
+
"text": "any"
|
|
1421
1484
|
},
|
|
1422
|
-
"
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1485
|
+
"default": "[]"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"kind": "field",
|
|
1489
|
+
"name": "allAccessType",
|
|
1490
|
+
"type": {
|
|
1491
|
+
"text": "boolean"
|
|
1427
1492
|
}
|
|
1428
1493
|
},
|
|
1429
1494
|
{
|
|
1430
1495
|
"kind": "field",
|
|
1431
|
-
"name": "
|
|
1496
|
+
"name": "entityIdValue",
|
|
1432
1497
|
"type": {
|
|
1433
1498
|
"text": "string"
|
|
1434
1499
|
},
|
|
1435
|
-
"
|
|
1436
|
-
"name": "EntityManagement",
|
|
1437
|
-
"module": "src/entities/entities.ts"
|
|
1438
|
-
}
|
|
1500
|
+
"privacy": "private"
|
|
1439
1501
|
},
|
|
1440
1502
|
{
|
|
1441
1503
|
"kind": "field",
|
|
1442
|
-
"name": "
|
|
1504
|
+
"name": "createEvent",
|
|
1443
1505
|
"type": {
|
|
1444
|
-
"text": "
|
|
1506
|
+
"text": "string"
|
|
1445
1507
|
},
|
|
1446
|
-
"
|
|
1447
|
-
"name": "EntityManagement",
|
|
1448
|
-
"module": "src/entities/entities.ts"
|
|
1449
|
-
}
|
|
1508
|
+
"description": "String which contains event if we have permission to insert user of empty string if not"
|
|
1450
1509
|
},
|
|
1451
1510
|
{
|
|
1452
1511
|
"kind": "field",
|
|
1453
|
-
"name": "
|
|
1512
|
+
"name": "deleteEvent",
|
|
1454
1513
|
"type": {
|
|
1455
|
-
"text": "
|
|
1514
|
+
"text": "string"
|
|
1456
1515
|
},
|
|
1457
|
-
"
|
|
1458
|
-
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
1459
|
-
"privacy": "public",
|
|
1460
|
-
"inheritedFrom": {
|
|
1461
|
-
"name": "EntityManagement",
|
|
1462
|
-
"module": "src/entities/entities.ts"
|
|
1463
|
-
}
|
|
1516
|
+
"description": "String which contains event if we have permission to delete user of empty string if not"
|
|
1464
1517
|
},
|
|
1465
1518
|
{
|
|
1466
1519
|
"kind": "field",
|
|
1467
|
-
"name": "
|
|
1520
|
+
"name": "updateEvent",
|
|
1468
1521
|
"type": {
|
|
1469
|
-
"text": "
|
|
1522
|
+
"text": "string"
|
|
1470
1523
|
},
|
|
1471
|
-
"
|
|
1472
|
-
|
|
1524
|
+
"description": "String which contains event if we have permission to update user of empty string if not"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"kind": "method",
|
|
1528
|
+
"name": "deepClone",
|
|
1529
|
+
"return": {
|
|
1530
|
+
"type": {
|
|
1531
|
+
"text": "Node"
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
],
|
|
1536
|
+
"attributes": [
|
|
1537
|
+
{
|
|
1538
|
+
"name": "persist-column-state-key",
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "string"
|
|
1541
|
+
},
|
|
1542
|
+
"default": "'entity_users_management'",
|
|
1543
|
+
"description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
|
|
1544
|
+
"fieldName": "persistColumnStateKey"
|
|
1545
|
+
}
|
|
1546
|
+
],
|
|
1547
|
+
"mixins": [
|
|
1548
|
+
{
|
|
1549
|
+
"name": "LifecycleMixin",
|
|
1550
|
+
"package": "@genesislcap/foundation-utils"
|
|
1551
|
+
}
|
|
1552
|
+
],
|
|
1553
|
+
"superclass": {
|
|
1554
|
+
"name": "FASTElement",
|
|
1555
|
+
"package": "@microsoft/fast-element"
|
|
1556
|
+
},
|
|
1557
|
+
"tagName": "user-management",
|
|
1558
|
+
"customElement": true
|
|
1559
|
+
}
|
|
1560
|
+
],
|
|
1561
|
+
"exports": [
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "js",
|
|
1564
|
+
"name": "UsersColumnConfig",
|
|
1565
|
+
"declaration": {
|
|
1566
|
+
"name": "UsersColumnConfig",
|
|
1567
|
+
"module": "src/users/users.ts"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"kind": "js",
|
|
1572
|
+
"name": "Users",
|
|
1573
|
+
"declaration": {
|
|
1574
|
+
"name": "Users",
|
|
1575
|
+
"module": "src/users/users.ts"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "custom-element-definition",
|
|
1580
|
+
"name": "user-management",
|
|
1581
|
+
"declaration": {
|
|
1582
|
+
"name": "Users",
|
|
1583
|
+
"module": "src/users/users.ts"
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
]
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"kind": "javascript-module",
|
|
1590
|
+
"path": "src/profiles/editProfileSchema.ts",
|
|
1591
|
+
"declarations": [
|
|
1592
|
+
{
|
|
1593
|
+
"kind": "variable",
|
|
1594
|
+
"name": "editProfileFormSchema",
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "object"
|
|
1597
|
+
},
|
|
1598
|
+
"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}"
|
|
1599
|
+
}
|
|
1600
|
+
],
|
|
1601
|
+
"exports": [
|
|
1602
|
+
{
|
|
1603
|
+
"kind": "js",
|
|
1604
|
+
"name": "editProfileFormSchema",
|
|
1605
|
+
"declaration": {
|
|
1606
|
+
"name": "editProfileFormSchema",
|
|
1607
|
+
"module": "src/profiles/editProfileSchema.ts"
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
]
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "javascript-module",
|
|
1614
|
+
"path": "src/profiles/profiles.ts",
|
|
1615
|
+
"declarations": [
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "class",
|
|
1618
|
+
"description": "Main class which defined the profile management functionality",
|
|
1619
|
+
"name": "Profiles",
|
|
1620
|
+
"members": [
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "method",
|
|
1623
|
+
"name": "readProfileData",
|
|
1473
1624
|
"privacy": "public",
|
|
1625
|
+
"parameters": [
|
|
1626
|
+
{
|
|
1627
|
+
"name": "profile"
|
|
1628
|
+
}
|
|
1629
|
+
]
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "method",
|
|
1633
|
+
"name": "confirmDelete",
|
|
1474
1634
|
"inheritedFrom": {
|
|
1475
1635
|
"name": "EntityManagement",
|
|
1476
1636
|
"module": "src/entities/entities.ts"
|
|
@@ -1478,12 +1638,11 @@
|
|
|
1478
1638
|
},
|
|
1479
1639
|
{
|
|
1480
1640
|
"kind": "field",
|
|
1481
|
-
"name": "
|
|
1641
|
+
"name": "createEvent",
|
|
1482
1642
|
"type": {
|
|
1483
|
-
"text": "
|
|
1643
|
+
"text": "string"
|
|
1484
1644
|
},
|
|
1485
|
-
"
|
|
1486
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
1645
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1487
1646
|
"privacy": "public",
|
|
1488
1647
|
"inheritedFrom": {
|
|
1489
1648
|
"name": "EntityManagement",
|
|
@@ -1492,12 +1651,11 @@
|
|
|
1492
1651
|
},
|
|
1493
1652
|
{
|
|
1494
1653
|
"kind": "field",
|
|
1495
|
-
"name": "
|
|
1654
|
+
"name": "deleteEvent",
|
|
1496
1655
|
"type": {
|
|
1497
|
-
"text": "
|
|
1656
|
+
"text": "string"
|
|
1498
1657
|
},
|
|
1499
|
-
"
|
|
1500
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
1658
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1501
1659
|
"privacy": "public",
|
|
1502
1660
|
"inheritedFrom": {
|
|
1503
1661
|
"name": "EntityManagement",
|
|
@@ -1506,12 +1664,11 @@
|
|
|
1506
1664
|
},
|
|
1507
1665
|
{
|
|
1508
1666
|
"kind": "field",
|
|
1509
|
-
"name": "
|
|
1667
|
+
"name": "updateEvent",
|
|
1510
1668
|
"type": {
|
|
1511
|
-
"text": "
|
|
1669
|
+
"text": "string"
|
|
1512
1670
|
},
|
|
1513
|
-
"
|
|
1514
|
-
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
1671
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1515
1672
|
"privacy": "public",
|
|
1516
1673
|
"inheritedFrom": {
|
|
1517
1674
|
"name": "EntityManagement",
|
|
@@ -1520,12 +1677,13 @@
|
|
|
1520
1677
|
},
|
|
1521
1678
|
{
|
|
1522
1679
|
"kind": "field",
|
|
1523
|
-
"name": "
|
|
1680
|
+
"name": "persistColumnStateKey",
|
|
1524
1681
|
"type": {
|
|
1525
|
-
"text": "
|
|
1682
|
+
"text": "string"
|
|
1526
1683
|
},
|
|
1527
|
-
"description": "
|
|
1684
|
+
"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.",
|
|
1528
1685
|
"privacy": "public",
|
|
1686
|
+
"default": "'entity_profiles_management'",
|
|
1529
1687
|
"inheritedFrom": {
|
|
1530
1688
|
"name": "EntityManagement",
|
|
1531
1689
|
"module": "src/entities/entities.ts"
|
|
@@ -1533,12 +1691,11 @@
|
|
|
1533
1691
|
},
|
|
1534
1692
|
{
|
|
1535
1693
|
"kind": "field",
|
|
1536
|
-
"name": "
|
|
1694
|
+
"name": "updateFormUiSchema",
|
|
1537
1695
|
"type": {
|
|
1538
|
-
"text": "
|
|
1696
|
+
"text": "any"
|
|
1539
1697
|
},
|
|
1540
|
-
"
|
|
1541
|
-
"privacy": "public",
|
|
1698
|
+
"default": "editProfileFormSchema",
|
|
1542
1699
|
"inheritedFrom": {
|
|
1543
1700
|
"name": "EntityManagement",
|
|
1544
1701
|
"module": "src/entities/entities.ts"
|
|
@@ -1546,12 +1703,11 @@
|
|
|
1546
1703
|
},
|
|
1547
1704
|
{
|
|
1548
1705
|
"kind": "field",
|
|
1549
|
-
"name": "
|
|
1706
|
+
"name": "createFormUiSchema",
|
|
1550
1707
|
"type": {
|
|
1551
|
-
"text": "
|
|
1708
|
+
"text": "any"
|
|
1552
1709
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"privacy": "public",
|
|
1710
|
+
"default": "editProfileFormSchema",
|
|
1555
1711
|
"inheritedFrom": {
|
|
1556
1712
|
"name": "EntityManagement",
|
|
1557
1713
|
"module": "src/entities/entities.ts"
|
|
@@ -1559,9 +1715,9 @@
|
|
|
1559
1715
|
},
|
|
1560
1716
|
{
|
|
1561
1717
|
"kind": "field",
|
|
1562
|
-
"name": "
|
|
1718
|
+
"name": "readEventFn",
|
|
1563
1719
|
"type": {
|
|
1564
|
-
"text": "
|
|
1720
|
+
"text": "(...args) => {}"
|
|
1565
1721
|
},
|
|
1566
1722
|
"inheritedFrom": {
|
|
1567
1723
|
"name": "EntityManagement",
|
|
@@ -1570,13 +1726,13 @@
|
|
|
1570
1726
|
},
|
|
1571
1727
|
{
|
|
1572
1728
|
"kind": "field",
|
|
1573
|
-
"name": "
|
|
1729
|
+
"name": "resourceName",
|
|
1574
1730
|
"type": {
|
|
1575
|
-
"text": "
|
|
1731
|
+
"text": "string"
|
|
1576
1732
|
},
|
|
1577
|
-
"
|
|
1578
|
-
"description": "Array with renderers used by foundation-forms",
|
|
1733
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
1579
1734
|
"privacy": "public",
|
|
1735
|
+
"default": "'ALL_PROFILES'",
|
|
1580
1736
|
"inheritedFrom": {
|
|
1581
1737
|
"name": "EntityManagement",
|
|
1582
1738
|
"module": "src/entities/entities.ts"
|
|
@@ -1584,12 +1740,13 @@
|
|
|
1584
1740
|
},
|
|
1585
1741
|
{
|
|
1586
1742
|
"kind": "field",
|
|
1587
|
-
"name": "
|
|
1743
|
+
"name": "title",
|
|
1588
1744
|
"type": {
|
|
1589
|
-
"text": "
|
|
1745
|
+
"text": "string"
|
|
1590
1746
|
},
|
|
1591
|
-
"description": "
|
|
1747
|
+
"description": "Title of the grid",
|
|
1592
1748
|
"privacy": "public",
|
|
1749
|
+
"default": "'Profile Management'",
|
|
1593
1750
|
"inheritedFrom": {
|
|
1594
1751
|
"name": "EntityManagement",
|
|
1595
1752
|
"module": "src/entities/entities.ts"
|
|
@@ -1597,11 +1754,12 @@
|
|
|
1597
1754
|
},
|
|
1598
1755
|
{
|
|
1599
1756
|
"kind": "field",
|
|
1600
|
-
"name": "
|
|
1757
|
+
"name": "entityLabel",
|
|
1601
1758
|
"type": {
|
|
1602
|
-
"text": "
|
|
1759
|
+
"text": "string"
|
|
1603
1760
|
},
|
|
1604
|
-
"
|
|
1761
|
+
"default": "'Profile'",
|
|
1762
|
+
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
1605
1763
|
"privacy": "public",
|
|
1606
1764
|
"inheritedFrom": {
|
|
1607
1765
|
"name": "EntityManagement",
|
|
@@ -1610,9 +1768,204 @@
|
|
|
1610
1768
|
},
|
|
1611
1769
|
{
|
|
1612
1770
|
"kind": "field",
|
|
1613
|
-
"name": "
|
|
1771
|
+
"name": "connect",
|
|
1614
1772
|
"type": {
|
|
1615
|
-
"text": "
|
|
1773
|
+
"text": "Connect"
|
|
1774
|
+
},
|
|
1775
|
+
"privacy": "protected",
|
|
1776
|
+
"description": "DI connect object which is used to interact with the backend.",
|
|
1777
|
+
"inheritedFrom": {
|
|
1778
|
+
"name": "EntityManagement",
|
|
1779
|
+
"module": "src/entities/entities.ts"
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"kind": "field",
|
|
1784
|
+
"name": "readEvent",
|
|
1785
|
+
"type": {
|
|
1786
|
+
"text": "string"
|
|
1787
|
+
},
|
|
1788
|
+
"inheritedFrom": {
|
|
1789
|
+
"name": "EntityManagement",
|
|
1790
|
+
"module": "src/entities/entities.ts"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "field",
|
|
1795
|
+
"name": "readonly",
|
|
1796
|
+
"type": {
|
|
1797
|
+
"text": "boolean"
|
|
1798
|
+
},
|
|
1799
|
+
"inheritedFrom": {
|
|
1800
|
+
"name": "EntityManagement",
|
|
1801
|
+
"module": "src/entities/entities.ts"
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"kind": "field",
|
|
1806
|
+
"name": "asyncAdd",
|
|
1807
|
+
"type": {
|
|
1808
|
+
"text": "boolean"
|
|
1809
|
+
},
|
|
1810
|
+
"default": "false",
|
|
1811
|
+
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
1812
|
+
"privacy": "public",
|
|
1813
|
+
"inheritedFrom": {
|
|
1814
|
+
"name": "EntityManagement",
|
|
1815
|
+
"module": "src/entities/entities.ts"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"kind": "field",
|
|
1820
|
+
"name": "asyncRemove",
|
|
1821
|
+
"type": {
|
|
1822
|
+
"text": "boolean"
|
|
1823
|
+
},
|
|
1824
|
+
"default": "false",
|
|
1825
|
+
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
1826
|
+
"privacy": "public",
|
|
1827
|
+
"inheritedFrom": {
|
|
1828
|
+
"name": "EntityManagement",
|
|
1829
|
+
"module": "src/entities/entities.ts"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "field",
|
|
1834
|
+
"name": "asyncUpdate",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "boolean"
|
|
1837
|
+
},
|
|
1838
|
+
"default": "true",
|
|
1839
|
+
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
1840
|
+
"privacy": "public",
|
|
1841
|
+
"inheritedFrom": {
|
|
1842
|
+
"name": "EntityManagement",
|
|
1843
|
+
"module": "src/entities/entities.ts"
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "field",
|
|
1848
|
+
"name": "enableCellFlashing",
|
|
1849
|
+
"type": {
|
|
1850
|
+
"text": "boolean"
|
|
1851
|
+
},
|
|
1852
|
+
"default": "false",
|
|
1853
|
+
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
1854
|
+
"privacy": "public",
|
|
1855
|
+
"inheritedFrom": {
|
|
1856
|
+
"name": "EntityManagement",
|
|
1857
|
+
"module": "src/entities/entities.ts"
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "field",
|
|
1862
|
+
"name": "enableRowFlashing",
|
|
1863
|
+
"type": {
|
|
1864
|
+
"text": "boolean"
|
|
1865
|
+
},
|
|
1866
|
+
"default": "false",
|
|
1867
|
+
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
1868
|
+
"privacy": "public",
|
|
1869
|
+
"inheritedFrom": {
|
|
1870
|
+
"name": "EntityManagement",
|
|
1871
|
+
"module": "src/entities/entities.ts"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"kind": "field",
|
|
1876
|
+
"name": "gridOptions",
|
|
1877
|
+
"type": {
|
|
1878
|
+
"text": "GridOptions"
|
|
1879
|
+
},
|
|
1880
|
+
"description": "GridOptions to be passed down from application",
|
|
1881
|
+
"privacy": "public",
|
|
1882
|
+
"inheritedFrom": {
|
|
1883
|
+
"name": "EntityManagement",
|
|
1884
|
+
"module": "src/entities/entities.ts"
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"kind": "field",
|
|
1889
|
+
"name": "columns",
|
|
1890
|
+
"type": {
|
|
1891
|
+
"text": "ColDef[]"
|
|
1892
|
+
},
|
|
1893
|
+
"description": "Array which holds the column definitions.",
|
|
1894
|
+
"privacy": "public",
|
|
1895
|
+
"inheritedFrom": {
|
|
1896
|
+
"name": "EntityManagement",
|
|
1897
|
+
"module": "src/entities/entities.ts"
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"kind": "field",
|
|
1902
|
+
"name": "datasourceConfig",
|
|
1903
|
+
"type": {
|
|
1904
|
+
"text": "DatasourceConfiguration"
|
|
1905
|
+
},
|
|
1906
|
+
"description": "The configuration which is used when interacting with the resource on the backend",
|
|
1907
|
+
"privacy": "public",
|
|
1908
|
+
"inheritedFrom": {
|
|
1909
|
+
"name": "EntityManagement",
|
|
1910
|
+
"module": "src/entities/entities.ts"
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"kind": "field",
|
|
1915
|
+
"name": "formUiSchema",
|
|
1916
|
+
"type": {
|
|
1917
|
+
"text": "any"
|
|
1918
|
+
},
|
|
1919
|
+
"inheritedFrom": {
|
|
1920
|
+
"name": "EntityManagement",
|
|
1921
|
+
"module": "src/entities/entities.ts"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "field",
|
|
1926
|
+
"name": "formRenderers",
|
|
1927
|
+
"type": {
|
|
1928
|
+
"text": "RendererEntry[]"
|
|
1929
|
+
},
|
|
1930
|
+
"default": "renderers",
|
|
1931
|
+
"description": "Array with renderers used by foundation-forms",
|
|
1932
|
+
"privacy": "public",
|
|
1933
|
+
"inheritedFrom": {
|
|
1934
|
+
"name": "EntityManagement",
|
|
1935
|
+
"module": "src/entities/entities.ts"
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"kind": "field",
|
|
1940
|
+
"name": "selectedEntity",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "any"
|
|
1943
|
+
},
|
|
1944
|
+
"description": "Reference to the currently selected entity from the grid.",
|
|
1945
|
+
"privacy": "public",
|
|
1946
|
+
"inheritedFrom": {
|
|
1947
|
+
"name": "EntityManagement",
|
|
1948
|
+
"module": "src/entities/entities.ts"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"kind": "field",
|
|
1953
|
+
"name": "editedEntity",
|
|
1954
|
+
"type": {
|
|
1955
|
+
"text": "any"
|
|
1956
|
+
},
|
|
1957
|
+
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
1958
|
+
"privacy": "public",
|
|
1959
|
+
"inheritedFrom": {
|
|
1960
|
+
"name": "EntityManagement",
|
|
1961
|
+
"module": "src/entities/entities.ts"
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "field",
|
|
1966
|
+
"name": "submitting",
|
|
1967
|
+
"type": {
|
|
1968
|
+
"text": "boolean"
|
|
1616
1969
|
},
|
|
1617
1970
|
"inheritedFrom": {
|
|
1618
1971
|
"name": "EntityManagement",
|
|
@@ -2097,359 +2450,6 @@
|
|
|
2097
2450
|
}
|
|
2098
2451
|
]
|
|
2099
2452
|
},
|
|
2100
|
-
{
|
|
2101
|
-
"kind": "javascript-module",
|
|
2102
|
-
"path": "src/main/index.ts",
|
|
2103
|
-
"declarations": [],
|
|
2104
|
-
"exports": [
|
|
2105
|
-
{
|
|
2106
|
-
"kind": "js",
|
|
2107
|
-
"name": "*",
|
|
2108
|
-
"declaration": {
|
|
2109
|
-
"name": "*",
|
|
2110
|
-
"package": "./main.template"
|
|
2111
|
-
}
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
"kind": "js",
|
|
2115
|
-
"name": "*",
|
|
2116
|
-
"declaration": {
|
|
2117
|
-
"name": "*",
|
|
2118
|
-
"package": "./main"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
]
|
|
2122
|
-
},
|
|
2123
|
-
{
|
|
2124
|
-
"kind": "javascript-module",
|
|
2125
|
-
"path": "src/main/main.styles.ts",
|
|
2126
|
-
"declarations": [
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "variable",
|
|
2129
|
-
"name": "MainStyles",
|
|
2130
|
-
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
2131
|
-
}
|
|
2132
|
-
],
|
|
2133
|
-
"exports": [
|
|
2134
|
-
{
|
|
2135
|
-
"kind": "js",
|
|
2136
|
-
"name": "MainStyles",
|
|
2137
|
-
"declaration": {
|
|
2138
|
-
"name": "MainStyles",
|
|
2139
|
-
"module": "src/main/main.styles.ts"
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
"kind": "javascript-module",
|
|
2146
|
-
"path": "src/main/main.template.ts",
|
|
2147
|
-
"declarations": [],
|
|
2148
|
-
"exports": []
|
|
2149
|
-
},
|
|
2150
|
-
{
|
|
2151
|
-
"kind": "javascript-module",
|
|
2152
|
-
"path": "src/main/main.ts",
|
|
2153
|
-
"declarations": [
|
|
2154
|
-
{
|
|
2155
|
-
"kind": "class",
|
|
2156
|
-
"description": "",
|
|
2157
|
-
"name": "MainApplication",
|
|
2158
|
-
"members": [
|
|
2159
|
-
{
|
|
2160
|
-
"kind": "field",
|
|
2161
|
-
"name": "config",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "MainRouterConfig"
|
|
2164
|
-
}
|
|
2165
|
-
},
|
|
2166
|
-
{
|
|
2167
|
-
"kind": "field",
|
|
2168
|
-
"name": "connect",
|
|
2169
|
-
"type": {
|
|
2170
|
-
"text": "Connect"
|
|
2171
|
-
}
|
|
2172
|
-
},
|
|
2173
|
-
{
|
|
2174
|
-
"kind": "field",
|
|
2175
|
-
"name": "session",
|
|
2176
|
-
"type": {
|
|
2177
|
-
"text": "Session"
|
|
2178
|
-
}
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
"kind": "field",
|
|
2182
|
-
"name": "container",
|
|
2183
|
-
"type": {
|
|
2184
|
-
"text": "Container"
|
|
2185
|
-
}
|
|
2186
|
-
},
|
|
2187
|
-
{
|
|
2188
|
-
"kind": "field",
|
|
2189
|
-
"name": "provider",
|
|
2190
|
-
"type": {
|
|
2191
|
-
"text": "any"
|
|
2192
|
-
}
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
"kind": "field",
|
|
2196
|
-
"name": "ready",
|
|
2197
|
-
"type": {
|
|
2198
|
-
"text": "boolean"
|
|
2199
|
-
},
|
|
2200
|
-
"default": "false"
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"kind": "field",
|
|
2204
|
-
"name": "data",
|
|
2205
|
-
"type": {
|
|
2206
|
-
"text": "any"
|
|
2207
|
-
},
|
|
2208
|
-
"default": "null"
|
|
2209
|
-
},
|
|
2210
|
-
{
|
|
2211
|
-
"kind": "method",
|
|
2212
|
-
"name": "onLuminanceToggle"
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
"kind": "method",
|
|
2216
|
-
"name": "loadRemotes"
|
|
2217
|
-
},
|
|
2218
|
-
{
|
|
2219
|
-
"kind": "method",
|
|
2220
|
-
"name": "selectTemplate"
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "method",
|
|
2224
|
-
"name": "registerDIDependencies",
|
|
2225
|
-
"privacy": "private"
|
|
2226
|
-
}
|
|
2227
|
-
],
|
|
2228
|
-
"superclass": {
|
|
2229
|
-
"name": "FASTElement",
|
|
2230
|
-
"package": "@microsoft/fast-element"
|
|
2231
|
-
},
|
|
2232
|
-
"customElement": true
|
|
2233
|
-
}
|
|
2234
|
-
],
|
|
2235
|
-
"exports": [
|
|
2236
|
-
{
|
|
2237
|
-
"kind": "js",
|
|
2238
|
-
"name": "MainApplication",
|
|
2239
|
-
"declaration": {
|
|
2240
|
-
"name": "MainApplication",
|
|
2241
|
-
"module": "src/main/main.ts"
|
|
2242
|
-
}
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"kind": "custom-element-definition",
|
|
2246
|
-
"declaration": {
|
|
2247
|
-
"name": "MainApplication",
|
|
2248
|
-
"module": "src/main/main.ts"
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
]
|
|
2252
|
-
},
|
|
2253
|
-
{
|
|
2254
|
-
"kind": "javascript-module",
|
|
2255
|
-
"path": "src/routes/config.ts",
|
|
2256
|
-
"declarations": [],
|
|
2257
|
-
"exports": []
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
"kind": "javascript-module",
|
|
2261
|
-
"path": "src/routes/index.ts",
|
|
2262
|
-
"declarations": [],
|
|
2263
|
-
"exports": [
|
|
2264
|
-
{
|
|
2265
|
-
"kind": "js",
|
|
2266
|
-
"name": "*",
|
|
2267
|
-
"declaration": {
|
|
2268
|
-
"name": "*",
|
|
2269
|
-
"package": "./config"
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
]
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"kind": "javascript-module",
|
|
2276
|
-
"path": "src/users/users.template.ts",
|
|
2277
|
-
"declarations": [
|
|
2278
|
-
{
|
|
2279
|
-
"kind": "variable",
|
|
2280
|
-
"name": "UsersTemplate",
|
|
2281
|
-
"type": {
|
|
2282
|
-
"text": "ViewTemplate"
|
|
2283
|
-
},
|
|
2284
|
-
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
|
|
2285
|
-
}
|
|
2286
|
-
],
|
|
2287
|
-
"exports": [
|
|
2288
|
-
{
|
|
2289
|
-
"kind": "js",
|
|
2290
|
-
"name": "UsersTemplate",
|
|
2291
|
-
"declaration": {
|
|
2292
|
-
"name": "UsersTemplate",
|
|
2293
|
-
"module": "src/users/users.template.ts"
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
2296
|
-
]
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
"kind": "javascript-module",
|
|
2300
|
-
"path": "src/users/users.ts",
|
|
2301
|
-
"declarations": [
|
|
2302
|
-
{
|
|
2303
|
-
"kind": "variable",
|
|
2304
|
-
"name": "UsersColumnConfig",
|
|
2305
|
-
"type": {
|
|
2306
|
-
"text": "array"
|
|
2307
|
-
},
|
|
2308
|
-
"default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
|
|
2309
|
-
"description": "Defines the default columns which are present on the user management component",
|
|
2310
|
-
"privacy": "public"
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"kind": "class",
|
|
2314
|
-
"description": "Main class which defines the user management functionality",
|
|
2315
|
-
"name": "Users",
|
|
2316
|
-
"members": [
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "field",
|
|
2319
|
-
"name": "persistColumnStateKey",
|
|
2320
|
-
"type": {
|
|
2321
|
-
"text": "string"
|
|
2322
|
-
},
|
|
2323
|
-
"default": "'entity_users_management'",
|
|
2324
|
-
"description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
|
|
2325
|
-
"privacy": "public"
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
"kind": "field",
|
|
2329
|
-
"name": "columns",
|
|
2330
|
-
"type": {
|
|
2331
|
-
"text": "any"
|
|
2332
|
-
},
|
|
2333
|
-
"default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
|
|
2334
|
-
"description": "Column definition, default to the UsersColumnConfig"
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
"kind": "field",
|
|
2338
|
-
"name": "additionalCreateFields",
|
|
2339
|
-
"type": {
|
|
2340
|
-
"text": "any"
|
|
2341
|
-
},
|
|
2342
|
-
"default": "[]"
|
|
2343
|
-
},
|
|
2344
|
-
{
|
|
2345
|
-
"kind": "field",
|
|
2346
|
-
"name": "additionalUpdateFields",
|
|
2347
|
-
"type": {
|
|
2348
|
-
"text": "any"
|
|
2349
|
-
},
|
|
2350
|
-
"default": "[]"
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"kind": "field",
|
|
2354
|
-
"name": "allAccessType",
|
|
2355
|
-
"type": {
|
|
2356
|
-
"text": "boolean"
|
|
2357
|
-
}
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "field",
|
|
2361
|
-
"name": "entityIdValue",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "string"
|
|
2364
|
-
},
|
|
2365
|
-
"privacy": "private"
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"kind": "field",
|
|
2369
|
-
"name": "createEvent",
|
|
2370
|
-
"type": {
|
|
2371
|
-
"text": "string"
|
|
2372
|
-
},
|
|
2373
|
-
"description": "String which contains event if we have permission to insert user of empty string if not"
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"kind": "field",
|
|
2377
|
-
"name": "deleteEvent",
|
|
2378
|
-
"type": {
|
|
2379
|
-
"text": "string"
|
|
2380
|
-
},
|
|
2381
|
-
"description": "String which contains event if we have permission to delete user of empty string if not"
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"kind": "field",
|
|
2385
|
-
"name": "updateEvent",
|
|
2386
|
-
"type": {
|
|
2387
|
-
"text": "string"
|
|
2388
|
-
},
|
|
2389
|
-
"description": "String which contains event if we have permission to update user of empty string if not"
|
|
2390
|
-
},
|
|
2391
|
-
{
|
|
2392
|
-
"kind": "method",
|
|
2393
|
-
"name": "deepClone",
|
|
2394
|
-
"return": {
|
|
2395
|
-
"type": {
|
|
2396
|
-
"text": "Node"
|
|
2397
|
-
}
|
|
2398
|
-
}
|
|
2399
|
-
}
|
|
2400
|
-
],
|
|
2401
|
-
"attributes": [
|
|
2402
|
-
{
|
|
2403
|
-
"name": "persist-column-state-key",
|
|
2404
|
-
"type": {
|
|
2405
|
-
"text": "string"
|
|
2406
|
-
},
|
|
2407
|
-
"default": "'entity_users_management'",
|
|
2408
|
-
"description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
|
|
2409
|
-
"fieldName": "persistColumnStateKey"
|
|
2410
|
-
}
|
|
2411
|
-
],
|
|
2412
|
-
"mixins": [
|
|
2413
|
-
{
|
|
2414
|
-
"name": "LifecycleMixin",
|
|
2415
|
-
"package": "@genesislcap/foundation-utils"
|
|
2416
|
-
}
|
|
2417
|
-
],
|
|
2418
|
-
"superclass": {
|
|
2419
|
-
"name": "FASTElement",
|
|
2420
|
-
"package": "@microsoft/fast-element"
|
|
2421
|
-
},
|
|
2422
|
-
"tagName": "user-management",
|
|
2423
|
-
"customElement": true
|
|
2424
|
-
}
|
|
2425
|
-
],
|
|
2426
|
-
"exports": [
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "js",
|
|
2429
|
-
"name": "UsersColumnConfig",
|
|
2430
|
-
"declaration": {
|
|
2431
|
-
"name": "UsersColumnConfig",
|
|
2432
|
-
"module": "src/users/users.ts"
|
|
2433
|
-
}
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "js",
|
|
2437
|
-
"name": "Users",
|
|
2438
|
-
"declaration": {
|
|
2439
|
-
"name": "Users",
|
|
2440
|
-
"module": "src/users/users.ts"
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
{
|
|
2444
|
-
"kind": "custom-element-definition",
|
|
2445
|
-
"name": "user-management",
|
|
2446
|
-
"declaration": {
|
|
2447
|
-
"name": "Users",
|
|
2448
|
-
"module": "src/users/users.ts"
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
]
|
|
2452
|
-
},
|
|
2453
2453
|
{
|
|
2454
2454
|
"kind": "javascript-module",
|
|
2455
2455
|
"path": "src/utils/formatting.ts",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.120.
|
|
4
|
+
"version": "14.120.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@genesislcap/foundation-login": "^14.40.0",
|
|
47
|
-
"@genesislcap/foundation-testing": "14.120.
|
|
48
|
-
"@genesislcap/genx": "14.120.
|
|
47
|
+
"@genesislcap/foundation-testing": "14.120.1",
|
|
48
|
+
"@genesislcap/genx": "14.120.1",
|
|
49
49
|
"rimraf": "^3.0.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@ag-grid-community/core": "29.2.0",
|
|
53
|
-
"@genesislcap/foundation-comms": "14.120.
|
|
54
|
-
"@genesislcap/foundation-errors": "14.120.
|
|
55
|
-
"@genesislcap/foundation-forms": "14.120.
|
|
56
|
-
"@genesislcap/foundation-logger": "14.120.
|
|
57
|
-
"@genesislcap/foundation-login": "14.120.
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.120.
|
|
59
|
-
"@genesislcap/foundation-ui": "14.120.
|
|
60
|
-
"@genesislcap/foundation-utils": "14.120.
|
|
61
|
-
"@genesislcap/foundation-zero": "14.120.
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.120.
|
|
63
|
-
"@genesislcap/grid-pro": "14.120.
|
|
53
|
+
"@genesislcap/foundation-comms": "14.120.1",
|
|
54
|
+
"@genesislcap/foundation-errors": "14.120.1",
|
|
55
|
+
"@genesislcap/foundation-forms": "14.120.1",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.120.1",
|
|
57
|
+
"@genesislcap/foundation-login": "14.120.1",
|
|
58
|
+
"@genesislcap/foundation-notifications": "14.120.1",
|
|
59
|
+
"@genesislcap/foundation-ui": "14.120.1",
|
|
60
|
+
"@genesislcap/foundation-utils": "14.120.1",
|
|
61
|
+
"@genesislcap/foundation-zero": "14.120.1",
|
|
62
|
+
"@genesislcap/foundation-zero-grid-pro": "14.120.1",
|
|
63
|
+
"@genesislcap/grid-pro": "14.120.1",
|
|
64
64
|
"@microsoft/fast-components": "^2.21.3",
|
|
65
65
|
"@microsoft/fast-element": "^1.7.0",
|
|
66
66
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f4a9f29c205e1ae6903da221fea788da4fba7ea5"
|
|
80
80
|
}
|