@genesislcap/foundation-entity-management 14.120.1 → 14.120.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +200 -200
  2. package/package.json +15 -15
@@ -1385,206 +1385,6 @@
1385
1385
  }
1386
1386
  ]
1387
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": [
1452
- {
1453
- "kind": "field",
1454
- "name": "persistColumnStateKey",
1455
- "type": {
1456
- "text": "string"
1457
- },
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"
1461
- },
1462
- {
1463
- "kind": "field",
1464
- "name": "columns",
1465
- "type": {
1466
- "text": "any"
1467
- },
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"
1470
- },
1471
- {
1472
- "kind": "field",
1473
- "name": "additionalCreateFields",
1474
- "type": {
1475
- "text": "any"
1476
- },
1477
- "default": "[]"
1478
- },
1479
- {
1480
- "kind": "field",
1481
- "name": "additionalUpdateFields",
1482
- "type": {
1483
- "text": "any"
1484
- },
1485
- "default": "[]"
1486
- },
1487
- {
1488
- "kind": "field",
1489
- "name": "allAccessType",
1490
- "type": {
1491
- "text": "boolean"
1492
- }
1493
- },
1494
- {
1495
- "kind": "field",
1496
- "name": "entityIdValue",
1497
- "type": {
1498
- "text": "string"
1499
- },
1500
- "privacy": "private"
1501
- },
1502
- {
1503
- "kind": "field",
1504
- "name": "createEvent",
1505
- "type": {
1506
- "text": "string"
1507
- },
1508
- "description": "String which contains event if we have permission to insert user of empty string if not"
1509
- },
1510
- {
1511
- "kind": "field",
1512
- "name": "deleteEvent",
1513
- "type": {
1514
- "text": "string"
1515
- },
1516
- "description": "String which contains event if we have permission to delete user of empty string if not"
1517
- },
1518
- {
1519
- "kind": "field",
1520
- "name": "updateEvent",
1521
- "type": {
1522
- "text": "string"
1523
- },
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
1388
  {
1589
1389
  "kind": "javascript-module",
1590
1390
  "path": "src/profiles/editProfileSchema.ts",
@@ -2450,6 +2250,206 @@
2450
2250
  }
2451
2251
  ]
2452
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.1",
4
+ "version": "14.120.2",
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.1",
48
- "@genesislcap/genx": "14.120.1",
47
+ "@genesislcap/foundation-testing": "14.120.2",
48
+ "@genesislcap/genx": "14.120.2",
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.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",
53
+ "@genesislcap/foundation-comms": "14.120.2",
54
+ "@genesislcap/foundation-errors": "14.120.2",
55
+ "@genesislcap/foundation-forms": "14.120.2",
56
+ "@genesislcap/foundation-logger": "14.120.2",
57
+ "@genesislcap/foundation-login": "14.120.2",
58
+ "@genesislcap/foundation-notifications": "14.120.2",
59
+ "@genesislcap/foundation-ui": "14.120.2",
60
+ "@genesislcap/foundation-utils": "14.120.2",
61
+ "@genesislcap/foundation-zero": "14.120.2",
62
+ "@genesislcap/foundation-zero-grid-pro": "14.120.2",
63
+ "@genesislcap/grid-pro": "14.120.2",
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": "f4a9f29c205e1ae6903da221fea788da4fba7ea5"
79
+ "gitHead": "eba2e50179b4df4d928164f4ad8776be0227b4d9"
80
80
  }