@genesislcap/foundation-entity-management 14.162.4 → 14.162.5
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 +566 -566
- package/package.json +21 -21
|
@@ -838,6 +838,55 @@
|
|
|
838
838
|
}
|
|
839
839
|
]
|
|
840
840
|
},
|
|
841
|
+
{
|
|
842
|
+
"kind": "javascript-module",
|
|
843
|
+
"path": "src/layouts/default.ts",
|
|
844
|
+
"declarations": [
|
|
845
|
+
{
|
|
846
|
+
"kind": "variable",
|
|
847
|
+
"name": "loginLayout",
|
|
848
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "variable",
|
|
852
|
+
"name": "defaultLayout",
|
|
853
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
854
|
+
}
|
|
855
|
+
],
|
|
856
|
+
"exports": [
|
|
857
|
+
{
|
|
858
|
+
"kind": "js",
|
|
859
|
+
"name": "loginLayout",
|
|
860
|
+
"declaration": {
|
|
861
|
+
"name": "loginLayout",
|
|
862
|
+
"module": "src/layouts/default.ts"
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"kind": "js",
|
|
867
|
+
"name": "defaultLayout",
|
|
868
|
+
"declaration": {
|
|
869
|
+
"name": "defaultLayout",
|
|
870
|
+
"module": "src/layouts/default.ts"
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
]
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"kind": "javascript-module",
|
|
877
|
+
"path": "src/layouts/index.ts",
|
|
878
|
+
"declarations": [],
|
|
879
|
+
"exports": [
|
|
880
|
+
{
|
|
881
|
+
"kind": "js",
|
|
882
|
+
"name": "*",
|
|
883
|
+
"declaration": {
|
|
884
|
+
"name": "*",
|
|
885
|
+
"package": "./default"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
]
|
|
889
|
+
},
|
|
841
890
|
{
|
|
842
891
|
"kind": "javascript-module",
|
|
843
892
|
"path": "src/list/index.ts",
|
|
@@ -1258,55 +1307,6 @@
|
|
|
1258
1307
|
}
|
|
1259
1308
|
]
|
|
1260
1309
|
},
|
|
1261
|
-
{
|
|
1262
|
-
"kind": "javascript-module",
|
|
1263
|
-
"path": "src/layouts/default.ts",
|
|
1264
|
-
"declarations": [
|
|
1265
|
-
{
|
|
1266
|
-
"kind": "variable",
|
|
1267
|
-
"name": "loginLayout",
|
|
1268
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
"kind": "variable",
|
|
1272
|
-
"name": "defaultLayout",
|
|
1273
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
1274
|
-
}
|
|
1275
|
-
],
|
|
1276
|
-
"exports": [
|
|
1277
|
-
{
|
|
1278
|
-
"kind": "js",
|
|
1279
|
-
"name": "loginLayout",
|
|
1280
|
-
"declaration": {
|
|
1281
|
-
"name": "loginLayout",
|
|
1282
|
-
"module": "src/layouts/default.ts"
|
|
1283
|
-
}
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"kind": "js",
|
|
1287
|
-
"name": "defaultLayout",
|
|
1288
|
-
"declaration": {
|
|
1289
|
-
"name": "defaultLayout",
|
|
1290
|
-
"module": "src/layouts/default.ts"
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
]
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
"kind": "javascript-module",
|
|
1297
|
-
"path": "src/layouts/index.ts",
|
|
1298
|
-
"declarations": [],
|
|
1299
|
-
"exports": [
|
|
1300
|
-
{
|
|
1301
|
-
"kind": "js",
|
|
1302
|
-
"name": "*",
|
|
1303
|
-
"declaration": {
|
|
1304
|
-
"name": "*",
|
|
1305
|
-
"package": "./default"
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
1310
|
{
|
|
1311
1311
|
"kind": "javascript-module",
|
|
1312
1312
|
"path": "src/main/index.ts",
|
|
@@ -1462,167 +1462,512 @@
|
|
|
1462
1462
|
},
|
|
1463
1463
|
{
|
|
1464
1464
|
"kind": "javascript-module",
|
|
1465
|
-
"path": "src/
|
|
1465
|
+
"path": "src/routes/config.ts",
|
|
1466
|
+
"declarations": [],
|
|
1467
|
+
"exports": []
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "javascript-module",
|
|
1471
|
+
"path": "src/routes/index.ts",
|
|
1472
|
+
"declarations": [],
|
|
1473
|
+
"exports": [
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "js",
|
|
1476
|
+
"name": "*",
|
|
1477
|
+
"declaration": {
|
|
1478
|
+
"name": "*",
|
|
1479
|
+
"package": "./config"
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"kind": "javascript-module",
|
|
1486
|
+
"path": "src/users/users.template.ts",
|
|
1466
1487
|
"declarations": [
|
|
1467
1488
|
{
|
|
1468
1489
|
"kind": "variable",
|
|
1469
|
-
"name": "
|
|
1490
|
+
"name": "UsersTemplate",
|
|
1470
1491
|
"type": {
|
|
1471
|
-
"text": "
|
|
1492
|
+
"text": "ViewTemplate"
|
|
1472
1493
|
},
|
|
1473
|
-
"default": "
|
|
1494
|
+
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n :gridOptions=${(x) => x.gridOptions}\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 enable-search-bar=\"${(x) => x.enableSearchBar}\"\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`"
|
|
1474
1495
|
}
|
|
1475
1496
|
],
|
|
1476
1497
|
"exports": [
|
|
1477
1498
|
{
|
|
1478
1499
|
"kind": "js",
|
|
1479
|
-
"name": "
|
|
1500
|
+
"name": "UsersTemplate",
|
|
1480
1501
|
"declaration": {
|
|
1481
|
-
"name": "
|
|
1482
|
-
"module": "src/
|
|
1502
|
+
"name": "UsersTemplate",
|
|
1503
|
+
"module": "src/users/users.template.ts"
|
|
1483
1504
|
}
|
|
1484
1505
|
}
|
|
1485
1506
|
]
|
|
1486
1507
|
},
|
|
1487
1508
|
{
|
|
1488
1509
|
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/
|
|
1510
|
+
"path": "src/users/users.ts",
|
|
1490
1511
|
"declarations": [
|
|
1512
|
+
{
|
|
1513
|
+
"kind": "variable",
|
|
1514
|
+
"name": "UsersColumnConfig",
|
|
1515
|
+
"type": {
|
|
1516
|
+
"text": "array"
|
|
1517
|
+
},
|
|
1518
|
+
"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]",
|
|
1519
|
+
"description": "Defines the default columns which are present on the user management component",
|
|
1520
|
+
"privacy": "public"
|
|
1521
|
+
},
|
|
1491
1522
|
{
|
|
1492
1523
|
"kind": "class",
|
|
1493
|
-
"description": "Main class which
|
|
1494
|
-
"name": "
|
|
1524
|
+
"description": "Main class which defines the user management functionality",
|
|
1525
|
+
"name": "Users",
|
|
1495
1526
|
"members": [
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "method",
|
|
1498
|
-
"name": "readProfileData",
|
|
1499
|
-
"privacy": "public",
|
|
1500
|
-
"parameters": [
|
|
1501
|
-
{
|
|
1502
|
-
"name": "profile"
|
|
1503
|
-
}
|
|
1504
|
-
]
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
"kind": "method",
|
|
1508
|
-
"name": "confirmDelete",
|
|
1509
|
-
"inheritedFrom": {
|
|
1510
|
-
"name": "EntityManagement",
|
|
1511
|
-
"module": "src/entities/entities.ts"
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
1527
|
{
|
|
1515
1528
|
"kind": "field",
|
|
1516
|
-
"name": "
|
|
1529
|
+
"name": "persistColumnStateKey",
|
|
1517
1530
|
"type": {
|
|
1518
1531
|
"text": "string"
|
|
1519
1532
|
},
|
|
1520
|
-
"
|
|
1521
|
-
"
|
|
1522
|
-
"
|
|
1523
|
-
"name": "EntityManagement",
|
|
1524
|
-
"module": "src/entities/entities.ts"
|
|
1525
|
-
}
|
|
1533
|
+
"default": "'entity_users_management'",
|
|
1534
|
+
"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`.",
|
|
1535
|
+
"privacy": "public"
|
|
1526
1536
|
},
|
|
1527
1537
|
{
|
|
1528
1538
|
"kind": "field",
|
|
1529
|
-
"name": "
|
|
1539
|
+
"name": "enableSearchBar",
|
|
1530
1540
|
"type": {
|
|
1531
|
-
"text": "
|
|
1541
|
+
"text": "boolean"
|
|
1532
1542
|
},
|
|
1533
|
-
"
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1536
|
-
"name": "EntityManagement",
|
|
1537
|
-
"module": "src/entities/entities.ts"
|
|
1538
|
-
}
|
|
1543
|
+
"default": "false",
|
|
1544
|
+
"description": "This attribute controls whether to enable the search-bar.",
|
|
1545
|
+
"privacy": "public"
|
|
1539
1546
|
},
|
|
1540
1547
|
{
|
|
1541
1548
|
"kind": "field",
|
|
1542
|
-
"name": "
|
|
1549
|
+
"name": "gridOptions",
|
|
1543
1550
|
"type": {
|
|
1544
|
-
"text": "
|
|
1551
|
+
"text": "GridOptions"
|
|
1545
1552
|
},
|
|
1546
|
-
"description": "
|
|
1547
|
-
"privacy": "public"
|
|
1548
|
-
"inheritedFrom": {
|
|
1549
|
-
"name": "EntityManagement",
|
|
1550
|
-
"module": "src/entities/entities.ts"
|
|
1551
|
-
}
|
|
1553
|
+
"description": "GridOptions to be passed down from application",
|
|
1554
|
+
"privacy": "public"
|
|
1552
1555
|
},
|
|
1553
1556
|
{
|
|
1554
1557
|
"kind": "field",
|
|
1555
|
-
"name": "
|
|
1558
|
+
"name": "columns",
|
|
1556
1559
|
"type": {
|
|
1557
|
-
"text": "
|
|
1560
|
+
"text": "any"
|
|
1558
1561
|
},
|
|
1559
|
-
"
|
|
1560
|
-
"
|
|
1561
|
-
"default": "'entity_profiles_management'",
|
|
1562
|
-
"inheritedFrom": {
|
|
1563
|
-
"name": "EntityManagement",
|
|
1564
|
-
"module": "src/entities/entities.ts"
|
|
1565
|
-
}
|
|
1562
|
+
"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]",
|
|
1563
|
+
"description": "Column definition, default to the UsersColumnConfig"
|
|
1566
1564
|
},
|
|
1567
1565
|
{
|
|
1568
1566
|
"kind": "field",
|
|
1569
|
-
"name": "
|
|
1567
|
+
"name": "additionalCreateFields",
|
|
1570
1568
|
"type": {
|
|
1571
1569
|
"text": "any"
|
|
1572
1570
|
},
|
|
1573
|
-
"default": "
|
|
1574
|
-
"inheritedFrom": {
|
|
1575
|
-
"name": "EntityManagement",
|
|
1576
|
-
"module": "src/entities/entities.ts"
|
|
1577
|
-
}
|
|
1571
|
+
"default": "[]"
|
|
1578
1572
|
},
|
|
1579
1573
|
{
|
|
1580
1574
|
"kind": "field",
|
|
1581
|
-
"name": "
|
|
1575
|
+
"name": "additionalUpdateFields",
|
|
1582
1576
|
"type": {
|
|
1583
1577
|
"text": "any"
|
|
1584
1578
|
},
|
|
1585
|
-
"default": "
|
|
1586
|
-
"inheritedFrom": {
|
|
1587
|
-
"name": "EntityManagement",
|
|
1588
|
-
"module": "src/entities/entities.ts"
|
|
1589
|
-
}
|
|
1579
|
+
"default": "[]"
|
|
1590
1580
|
},
|
|
1591
1581
|
{
|
|
1592
1582
|
"kind": "field",
|
|
1593
|
-
"name": "
|
|
1583
|
+
"name": "allAccessType",
|
|
1594
1584
|
"type": {
|
|
1595
|
-
"text": "
|
|
1596
|
-
},
|
|
1597
|
-
"inheritedFrom": {
|
|
1598
|
-
"name": "EntityManagement",
|
|
1599
|
-
"module": "src/entities/entities.ts"
|
|
1585
|
+
"text": "boolean"
|
|
1600
1586
|
}
|
|
1601
1587
|
},
|
|
1602
1588
|
{
|
|
1603
1589
|
"kind": "field",
|
|
1604
|
-
"name": "
|
|
1590
|
+
"name": "entityIdValue",
|
|
1605
1591
|
"type": {
|
|
1606
1592
|
"text": "string"
|
|
1607
1593
|
},
|
|
1608
|
-
"
|
|
1609
|
-
"privacy": "public",
|
|
1610
|
-
"default": "'ALL_PROFILES'",
|
|
1611
|
-
"inheritedFrom": {
|
|
1612
|
-
"name": "EntityManagement",
|
|
1613
|
-
"module": "src/entities/entities.ts"
|
|
1614
|
-
}
|
|
1594
|
+
"privacy": "private"
|
|
1615
1595
|
},
|
|
1616
1596
|
{
|
|
1617
1597
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1598
|
+
"name": "createEvent",
|
|
1619
1599
|
"type": {
|
|
1620
1600
|
"text": "string"
|
|
1621
1601
|
},
|
|
1622
|
-
"description": "
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
"
|
|
1602
|
+
"description": "String which contains event if we have permission to insert user of empty string if not"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"kind": "field",
|
|
1606
|
+
"name": "deleteEvent",
|
|
1607
|
+
"type": {
|
|
1608
|
+
"text": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"description": "String which contains event if we have permission to delete user of empty string if not"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "field",
|
|
1614
|
+
"name": "updateEvent",
|
|
1615
|
+
"type": {
|
|
1616
|
+
"text": "string"
|
|
1617
|
+
},
|
|
1618
|
+
"description": "String which contains event if we have permission to update user of empty string if not"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "method",
|
|
1622
|
+
"name": "deepClone",
|
|
1623
|
+
"return": {
|
|
1624
|
+
"type": {
|
|
1625
|
+
"text": "Node"
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
],
|
|
1630
|
+
"attributes": [
|
|
1631
|
+
{
|
|
1632
|
+
"name": "persist-column-state-key",
|
|
1633
|
+
"type": {
|
|
1634
|
+
"text": "string"
|
|
1635
|
+
},
|
|
1636
|
+
"default": "'entity_users_management'",
|
|
1637
|
+
"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`.",
|
|
1638
|
+
"fieldName": "persistColumnStateKey"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "enable-search-bar",
|
|
1642
|
+
"type": {
|
|
1643
|
+
"text": "boolean"
|
|
1644
|
+
},
|
|
1645
|
+
"default": "false",
|
|
1646
|
+
"description": "This attribute controls whether to enable the search-bar.",
|
|
1647
|
+
"fieldName": "enableSearchBar"
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"mixins": [
|
|
1651
|
+
{
|
|
1652
|
+
"name": "LifecycleMixin",
|
|
1653
|
+
"package": "@genesislcap/foundation-utils"
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"superclass": {
|
|
1657
|
+
"name": "FASTElement",
|
|
1658
|
+
"package": "@microsoft/fast-element"
|
|
1659
|
+
},
|
|
1660
|
+
"deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
|
|
1661
|
+
"tagName": "user-management",
|
|
1662
|
+
"customElement": true
|
|
1663
|
+
}
|
|
1664
|
+
],
|
|
1665
|
+
"exports": [
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "js",
|
|
1668
|
+
"name": "UsersColumnConfig",
|
|
1669
|
+
"declaration": {
|
|
1670
|
+
"name": "UsersColumnConfig",
|
|
1671
|
+
"module": "src/users/users.ts"
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"kind": "js",
|
|
1676
|
+
"name": "Users",
|
|
1677
|
+
"declaration": {
|
|
1678
|
+
"name": "Users",
|
|
1679
|
+
"module": "src/users/users.ts"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "custom-element-definition",
|
|
1684
|
+
"name": "user-management",
|
|
1685
|
+
"declaration": {
|
|
1686
|
+
"name": "Users",
|
|
1687
|
+
"module": "src/users/users.ts"
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
]
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"kind": "javascript-module",
|
|
1694
|
+
"path": "src/utils/formatting.ts",
|
|
1695
|
+
"declarations": [
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "function",
|
|
1698
|
+
"name": "getErrorFormat",
|
|
1699
|
+
"parameters": [
|
|
1700
|
+
{
|
|
1701
|
+
"name": "err"
|
|
1702
|
+
}
|
|
1703
|
+
],
|
|
1704
|
+
"description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
|
|
1705
|
+
"privacy": "public"
|
|
1706
|
+
}
|
|
1707
|
+
],
|
|
1708
|
+
"exports": [
|
|
1709
|
+
{
|
|
1710
|
+
"kind": "js",
|
|
1711
|
+
"name": "getErrorFormat",
|
|
1712
|
+
"declaration": {
|
|
1713
|
+
"name": "getErrorFormat",
|
|
1714
|
+
"module": "src/utils/formatting.ts"
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"kind": "javascript-module",
|
|
1721
|
+
"path": "src/utils/index.ts",
|
|
1722
|
+
"declarations": [],
|
|
1723
|
+
"exports": [
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "js",
|
|
1726
|
+
"name": "*",
|
|
1727
|
+
"declaration": {
|
|
1728
|
+
"name": "*",
|
|
1729
|
+
"package": "./formatting"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "js",
|
|
1734
|
+
"name": "*",
|
|
1735
|
+
"declaration": {
|
|
1736
|
+
"name": "*",
|
|
1737
|
+
"package": "./logger"
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "js",
|
|
1742
|
+
"name": "*",
|
|
1743
|
+
"declaration": {
|
|
1744
|
+
"name": "*",
|
|
1745
|
+
"package": "./renderer"
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"kind": "javascript-module",
|
|
1752
|
+
"path": "src/utils/logger.ts",
|
|
1753
|
+
"declarations": [
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "variable",
|
|
1756
|
+
"name": "logger",
|
|
1757
|
+
"privacy": "public"
|
|
1758
|
+
}
|
|
1759
|
+
],
|
|
1760
|
+
"exports": [
|
|
1761
|
+
{
|
|
1762
|
+
"kind": "js",
|
|
1763
|
+
"name": "logger",
|
|
1764
|
+
"declaration": {
|
|
1765
|
+
"name": "logger",
|
|
1766
|
+
"module": "src/utils/logger.ts"
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"kind": "javascript-module",
|
|
1773
|
+
"path": "src/utils/renderer.ts",
|
|
1774
|
+
"declarations": [
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "function",
|
|
1777
|
+
"name": "buttonCellRenderer",
|
|
1778
|
+
"return": {
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "ColDef"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"parameters": [
|
|
1784
|
+
{
|
|
1785
|
+
"name": "title"
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"name": "clickHandler"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "contentTemplate"
|
|
1792
|
+
}
|
|
1793
|
+
],
|
|
1794
|
+
"privacy": "public"
|
|
1795
|
+
}
|
|
1796
|
+
],
|
|
1797
|
+
"exports": [
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "js",
|
|
1800
|
+
"name": "buttonCellRenderer",
|
|
1801
|
+
"declaration": {
|
|
1802
|
+
"name": "buttonCellRenderer",
|
|
1803
|
+
"module": "src/utils/renderer.ts"
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
]
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "javascript-module",
|
|
1810
|
+
"path": "src/profiles/editProfileSchema.ts",
|
|
1811
|
+
"declarations": [
|
|
1812
|
+
{
|
|
1813
|
+
"kind": "variable",
|
|
1814
|
+
"name": "editProfileFormSchema",
|
|
1815
|
+
"type": {
|
|
1816
|
+
"text": "object"
|
|
1817
|
+
},
|
|
1818
|
+
"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}"
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"exports": [
|
|
1822
|
+
{
|
|
1823
|
+
"kind": "js",
|
|
1824
|
+
"name": "editProfileFormSchema",
|
|
1825
|
+
"declaration": {
|
|
1826
|
+
"name": "editProfileFormSchema",
|
|
1827
|
+
"module": "src/profiles/editProfileSchema.ts"
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "javascript-module",
|
|
1834
|
+
"path": "src/profiles/profiles.ts",
|
|
1835
|
+
"declarations": [
|
|
1836
|
+
{
|
|
1837
|
+
"kind": "class",
|
|
1838
|
+
"description": "Main class which defined the profile management functionality",
|
|
1839
|
+
"name": "Profiles",
|
|
1840
|
+
"members": [
|
|
1841
|
+
{
|
|
1842
|
+
"kind": "method",
|
|
1843
|
+
"name": "readProfileData",
|
|
1844
|
+
"privacy": "public",
|
|
1845
|
+
"parameters": [
|
|
1846
|
+
{
|
|
1847
|
+
"name": "profile"
|
|
1848
|
+
}
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "method",
|
|
1853
|
+
"name": "confirmDelete",
|
|
1854
|
+
"inheritedFrom": {
|
|
1855
|
+
"name": "EntityManagement",
|
|
1856
|
+
"module": "src/entities/entities.ts"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"kind": "field",
|
|
1861
|
+
"name": "createEvent",
|
|
1862
|
+
"type": {
|
|
1863
|
+
"text": "string"
|
|
1864
|
+
},
|
|
1865
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1866
|
+
"privacy": "public",
|
|
1867
|
+
"inheritedFrom": {
|
|
1868
|
+
"name": "EntityManagement",
|
|
1869
|
+
"module": "src/entities/entities.ts"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "field",
|
|
1874
|
+
"name": "deleteEvent",
|
|
1875
|
+
"type": {
|
|
1876
|
+
"text": "string"
|
|
1877
|
+
},
|
|
1878
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1879
|
+
"privacy": "public",
|
|
1880
|
+
"inheritedFrom": {
|
|
1881
|
+
"name": "EntityManagement",
|
|
1882
|
+
"module": "src/entities/entities.ts"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "field",
|
|
1887
|
+
"name": "updateEvent",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"text": "string"
|
|
1890
|
+
},
|
|
1891
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1892
|
+
"privacy": "public",
|
|
1893
|
+
"inheritedFrom": {
|
|
1894
|
+
"name": "EntityManagement",
|
|
1895
|
+
"module": "src/entities/entities.ts"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"kind": "field",
|
|
1900
|
+
"name": "persistColumnStateKey",
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "string"
|
|
1903
|
+
},
|
|
1904
|
+
"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.",
|
|
1905
|
+
"privacy": "public",
|
|
1906
|
+
"default": "'entity_profiles_management'",
|
|
1907
|
+
"inheritedFrom": {
|
|
1908
|
+
"name": "EntityManagement",
|
|
1909
|
+
"module": "src/entities/entities.ts"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "field",
|
|
1914
|
+
"name": "updateFormUiSchema",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "any"
|
|
1917
|
+
},
|
|
1918
|
+
"default": "editProfileFormSchema",
|
|
1919
|
+
"inheritedFrom": {
|
|
1920
|
+
"name": "EntityManagement",
|
|
1921
|
+
"module": "src/entities/entities.ts"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "field",
|
|
1926
|
+
"name": "createFormUiSchema",
|
|
1927
|
+
"type": {
|
|
1928
|
+
"text": "any"
|
|
1929
|
+
},
|
|
1930
|
+
"default": "editProfileFormSchema",
|
|
1931
|
+
"inheritedFrom": {
|
|
1932
|
+
"name": "EntityManagement",
|
|
1933
|
+
"module": "src/entities/entities.ts"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "field",
|
|
1938
|
+
"name": "readEventFn",
|
|
1939
|
+
"type": {
|
|
1940
|
+
"text": "(...args) => {}"
|
|
1941
|
+
},
|
|
1942
|
+
"inheritedFrom": {
|
|
1943
|
+
"name": "EntityManagement",
|
|
1944
|
+
"module": "src/entities/entities.ts"
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"kind": "field",
|
|
1949
|
+
"name": "resourceName",
|
|
1950
|
+
"type": {
|
|
1951
|
+
"text": "string"
|
|
1952
|
+
},
|
|
1953
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
1954
|
+
"privacy": "public",
|
|
1955
|
+
"default": "'ALL_PROFILES'",
|
|
1956
|
+
"inheritedFrom": {
|
|
1957
|
+
"name": "EntityManagement",
|
|
1958
|
+
"module": "src/entities/entities.ts"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "field",
|
|
1963
|
+
"name": "title",
|
|
1964
|
+
"type": {
|
|
1965
|
+
"text": "string"
|
|
1966
|
+
},
|
|
1967
|
+
"description": "Title of the grid",
|
|
1968
|
+
"privacy": "public",
|
|
1969
|
+
"default": "'Profile Management'",
|
|
1970
|
+
"inheritedFrom": {
|
|
1626
1971
|
"name": "EntityManagement",
|
|
1627
1972
|
"module": "src/entities/entities.ts"
|
|
1628
1973
|
}
|
|
@@ -2284,312 +2629,75 @@
|
|
|
2284
2629
|
}
|
|
2285
2630
|
},
|
|
2286
2631
|
{
|
|
2287
|
-
"name": "enable-row-flashing",
|
|
2288
|
-
"type": {
|
|
2289
|
-
"text": "boolean"
|
|
2290
|
-
},
|
|
2291
|
-
"default": "false",
|
|
2292
|
-
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
2293
|
-
"fieldName": "enableRowFlashing",
|
|
2294
|
-
"inheritedFrom": {
|
|
2295
|
-
"name": "EntityManagement",
|
|
2296
|
-
"module": "src/entities/entities.ts"
|
|
2297
|
-
}
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "persist-column-state-key",
|
|
2301
|
-
"type": {
|
|
2302
|
-
"text": "string"
|
|
2303
|
-
},
|
|
2304
|
-
"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.",
|
|
2305
|
-
"fieldName": "persistColumnStateKey",
|
|
2306
|
-
"inheritedFrom": {
|
|
2307
|
-
"name": "EntityManagement",
|
|
2308
|
-
"module": "src/entities/entities.ts"
|
|
2309
|
-
}
|
|
2310
|
-
},
|
|
2311
|
-
{
|
|
2312
|
-
"name": "size-columns-to-fit",
|
|
2313
|
-
"type": {
|
|
2314
|
-
"text": "boolean"
|
|
2315
|
-
},
|
|
2316
|
-
"fieldName": "sizeColumnsToFit",
|
|
2317
|
-
"inheritedFrom": {
|
|
2318
|
-
"name": "EntityManagement",
|
|
2319
|
-
"module": "src/entities/entities.ts"
|
|
2320
|
-
}
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"name": "enable-filter-bar",
|
|
2324
|
-
"type": {
|
|
2325
|
-
"text": "boolean"
|
|
2326
|
-
},
|
|
2327
|
-
"fieldName": "enableFilterBar",
|
|
2328
|
-
"inheritedFrom": {
|
|
2329
|
-
"name": "EntityManagement",
|
|
2330
|
-
"module": "src/entities/entities.ts"
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "hide-edit",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "boolean"
|
|
2337
|
-
},
|
|
2338
|
-
"default": "false",
|
|
2339
|
-
"fieldName": "hideEdit",
|
|
2340
|
-
"inheritedFrom": {
|
|
2341
|
-
"name": "EntityManagement",
|
|
2342
|
-
"module": "src/entities/entities.ts"
|
|
2343
|
-
}
|
|
2344
|
-
},
|
|
2345
|
-
{
|
|
2346
|
-
"name": "hide-delete",
|
|
2347
|
-
"type": {
|
|
2348
|
-
"text": "boolean"
|
|
2349
|
-
},
|
|
2350
|
-
"default": "false",
|
|
2351
|
-
"fieldName": "hideDelete",
|
|
2352
|
-
"inheritedFrom": {
|
|
2353
|
-
"name": "EntityManagement",
|
|
2354
|
-
"module": "src/entities/entities.ts"
|
|
2355
|
-
}
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"name": "enable-search-bar",
|
|
2359
|
-
"type": {
|
|
2360
|
-
"text": "boolean"
|
|
2361
|
-
},
|
|
2362
|
-
"default": "false",
|
|
2363
|
-
"description": "This attribute controls whether to enable the search-bar.",
|
|
2364
|
-
"fieldName": "enableSearchBar",
|
|
2365
|
-
"inheritedFrom": {
|
|
2366
|
-
"name": "EntityManagement",
|
|
2367
|
-
"module": "src/entities/entities.ts"
|
|
2368
|
-
}
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
"name": "header-case-type",
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "GridProCaseType"
|
|
2374
|
-
},
|
|
2375
|
-
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
2376
|
-
"fieldName": "headerCaseType",
|
|
2377
|
-
"inheritedFrom": {
|
|
2378
|
-
"name": "EntityManagement",
|
|
2379
|
-
"module": "src/entities/entities.ts"
|
|
2380
|
-
}
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"name": "modal-position",
|
|
2384
|
-
"type": {
|
|
2385
|
-
"text": "'centre' | 'left' | 'right'"
|
|
2386
|
-
},
|
|
2387
|
-
"default": "'right'",
|
|
2388
|
-
"description": "Determines where the modal dialog will appear on screen",
|
|
2389
|
-
"fieldName": "modalPosition",
|
|
2390
|
-
"inheritedFrom": {
|
|
2391
|
-
"name": "EntityManagement",
|
|
2392
|
-
"module": "src/entities/entities.ts"
|
|
2393
|
-
}
|
|
2394
|
-
}
|
|
2395
|
-
]
|
|
2396
|
-
}
|
|
2397
|
-
],
|
|
2398
|
-
"exports": [
|
|
2399
|
-
{
|
|
2400
|
-
"kind": "js",
|
|
2401
|
-
"name": "Profiles",
|
|
2402
|
-
"declaration": {
|
|
2403
|
-
"name": "Profiles",
|
|
2404
|
-
"module": "src/profiles/profiles.ts"
|
|
2405
|
-
}
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"kind": "custom-element-definition",
|
|
2409
|
-
"name": "profile-management",
|
|
2410
|
-
"declaration": {
|
|
2411
|
-
"name": "Profiles",
|
|
2412
|
-
"module": "src/profiles/profiles.ts"
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
]
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
"kind": "javascript-module",
|
|
2419
|
-
"path": "src/routes/config.ts",
|
|
2420
|
-
"declarations": [],
|
|
2421
|
-
"exports": []
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
"kind": "javascript-module",
|
|
2425
|
-
"path": "src/routes/index.ts",
|
|
2426
|
-
"declarations": [],
|
|
2427
|
-
"exports": [
|
|
2428
|
-
{
|
|
2429
|
-
"kind": "js",
|
|
2430
|
-
"name": "*",
|
|
2431
|
-
"declaration": {
|
|
2432
|
-
"name": "*",
|
|
2433
|
-
"package": "./config"
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
|
-
]
|
|
2437
|
-
},
|
|
2438
|
-
{
|
|
2439
|
-
"kind": "javascript-module",
|
|
2440
|
-
"path": "src/users/users.template.ts",
|
|
2441
|
-
"declarations": [
|
|
2442
|
-
{
|
|
2443
|
-
"kind": "variable",
|
|
2444
|
-
"name": "UsersTemplate",
|
|
2445
|
-
"type": {
|
|
2446
|
-
"text": "ViewTemplate"
|
|
2447
|
-
},
|
|
2448
|
-
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n :gridOptions=${(x) => x.gridOptions}\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 enable-search-bar=\"${(x) => x.enableSearchBar}\"\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`"
|
|
2449
|
-
}
|
|
2450
|
-
],
|
|
2451
|
-
"exports": [
|
|
2452
|
-
{
|
|
2453
|
-
"kind": "js",
|
|
2454
|
-
"name": "UsersTemplate",
|
|
2455
|
-
"declaration": {
|
|
2456
|
-
"name": "UsersTemplate",
|
|
2457
|
-
"module": "src/users/users.template.ts"
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
2460
|
-
]
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"kind": "javascript-module",
|
|
2464
|
-
"path": "src/users/users.ts",
|
|
2465
|
-
"declarations": [
|
|
2466
|
-
{
|
|
2467
|
-
"kind": "variable",
|
|
2468
|
-
"name": "UsersColumnConfig",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "array"
|
|
2471
|
-
},
|
|
2472
|
-
"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]",
|
|
2473
|
-
"description": "Defines the default columns which are present on the user management component",
|
|
2474
|
-
"privacy": "public"
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
"kind": "class",
|
|
2478
|
-
"description": "Main class which defines the user management functionality",
|
|
2479
|
-
"name": "Users",
|
|
2480
|
-
"members": [
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "field",
|
|
2483
|
-
"name": "persistColumnStateKey",
|
|
2484
|
-
"type": {
|
|
2485
|
-
"text": "string"
|
|
2486
|
-
},
|
|
2487
|
-
"default": "'entity_users_management'",
|
|
2488
|
-
"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`.",
|
|
2489
|
-
"privacy": "public"
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"kind": "field",
|
|
2493
|
-
"name": "enableSearchBar",
|
|
2494
|
-
"type": {
|
|
2495
|
-
"text": "boolean"
|
|
2496
|
-
},
|
|
2497
|
-
"default": "false",
|
|
2498
|
-
"description": "This attribute controls whether to enable the search-bar.",
|
|
2499
|
-
"privacy": "public"
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"kind": "field",
|
|
2503
|
-
"name": "gridOptions",
|
|
2504
|
-
"type": {
|
|
2505
|
-
"text": "GridOptions"
|
|
2506
|
-
},
|
|
2507
|
-
"description": "GridOptions to be passed down from application",
|
|
2508
|
-
"privacy": "public"
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "field",
|
|
2512
|
-
"name": "columns",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "any"
|
|
2515
|
-
},
|
|
2516
|
-
"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]",
|
|
2517
|
-
"description": "Column definition, default to the UsersColumnConfig"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"kind": "field",
|
|
2521
|
-
"name": "additionalCreateFields",
|
|
2522
|
-
"type": {
|
|
2523
|
-
"text": "any"
|
|
2524
|
-
},
|
|
2525
|
-
"default": "[]"
|
|
2526
|
-
},
|
|
2527
|
-
{
|
|
2528
|
-
"kind": "field",
|
|
2529
|
-
"name": "additionalUpdateFields",
|
|
2530
|
-
"type": {
|
|
2531
|
-
"text": "any"
|
|
2532
|
-
},
|
|
2533
|
-
"default": "[]"
|
|
2534
|
-
},
|
|
2535
|
-
{
|
|
2536
|
-
"kind": "field",
|
|
2537
|
-
"name": "allAccessType",
|
|
2632
|
+
"name": "enable-row-flashing",
|
|
2538
2633
|
"type": {
|
|
2539
2634
|
"text": "boolean"
|
|
2635
|
+
},
|
|
2636
|
+
"default": "false",
|
|
2637
|
+
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
2638
|
+
"fieldName": "enableRowFlashing",
|
|
2639
|
+
"inheritedFrom": {
|
|
2640
|
+
"name": "EntityManagement",
|
|
2641
|
+
"module": "src/entities/entities.ts"
|
|
2540
2642
|
}
|
|
2541
2643
|
},
|
|
2542
2644
|
{
|
|
2543
|
-
"
|
|
2544
|
-
"name": "entityIdValue",
|
|
2645
|
+
"name": "persist-column-state-key",
|
|
2545
2646
|
"type": {
|
|
2546
2647
|
"text": "string"
|
|
2547
2648
|
},
|
|
2548
|
-
"
|
|
2649
|
+
"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.",
|
|
2650
|
+
"fieldName": "persistColumnStateKey",
|
|
2651
|
+
"inheritedFrom": {
|
|
2652
|
+
"name": "EntityManagement",
|
|
2653
|
+
"module": "src/entities/entities.ts"
|
|
2654
|
+
}
|
|
2549
2655
|
},
|
|
2550
2656
|
{
|
|
2551
|
-
"
|
|
2552
|
-
"name": "createEvent",
|
|
2657
|
+
"name": "size-columns-to-fit",
|
|
2553
2658
|
"type": {
|
|
2554
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2555
2660
|
},
|
|
2556
|
-
"
|
|
2661
|
+
"fieldName": "sizeColumnsToFit",
|
|
2662
|
+
"inheritedFrom": {
|
|
2663
|
+
"name": "EntityManagement",
|
|
2664
|
+
"module": "src/entities/entities.ts"
|
|
2665
|
+
}
|
|
2557
2666
|
},
|
|
2558
2667
|
{
|
|
2559
|
-
"
|
|
2560
|
-
"name": "deleteEvent",
|
|
2668
|
+
"name": "enable-filter-bar",
|
|
2561
2669
|
"type": {
|
|
2562
|
-
"text": "
|
|
2670
|
+
"text": "boolean"
|
|
2563
2671
|
},
|
|
2564
|
-
"
|
|
2672
|
+
"fieldName": "enableFilterBar",
|
|
2673
|
+
"inheritedFrom": {
|
|
2674
|
+
"name": "EntityManagement",
|
|
2675
|
+
"module": "src/entities/entities.ts"
|
|
2676
|
+
}
|
|
2565
2677
|
},
|
|
2566
2678
|
{
|
|
2567
|
-
"
|
|
2568
|
-
"name": "updateEvent",
|
|
2679
|
+
"name": "hide-edit",
|
|
2569
2680
|
"type": {
|
|
2570
|
-
"text": "
|
|
2681
|
+
"text": "boolean"
|
|
2571
2682
|
},
|
|
2572
|
-
"
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
"return": {
|
|
2578
|
-
"type": {
|
|
2579
|
-
"text": "Node"
|
|
2580
|
-
}
|
|
2683
|
+
"default": "false",
|
|
2684
|
+
"fieldName": "hideEdit",
|
|
2685
|
+
"inheritedFrom": {
|
|
2686
|
+
"name": "EntityManagement",
|
|
2687
|
+
"module": "src/entities/entities.ts"
|
|
2581
2688
|
}
|
|
2582
|
-
}
|
|
2583
|
-
],
|
|
2584
|
-
"attributes": [
|
|
2689
|
+
},
|
|
2585
2690
|
{
|
|
2586
|
-
"name": "
|
|
2691
|
+
"name": "hide-delete",
|
|
2587
2692
|
"type": {
|
|
2588
|
-
"text": "
|
|
2693
|
+
"text": "boolean"
|
|
2589
2694
|
},
|
|
2590
|
-
"default": "
|
|
2591
|
-
"
|
|
2592
|
-
"
|
|
2695
|
+
"default": "false",
|
|
2696
|
+
"fieldName": "hideDelete",
|
|
2697
|
+
"inheritedFrom": {
|
|
2698
|
+
"name": "EntityManagement",
|
|
2699
|
+
"module": "src/entities/entities.ts"
|
|
2700
|
+
}
|
|
2593
2701
|
},
|
|
2594
2702
|
{
|
|
2595
2703
|
"name": "enable-search-bar",
|
|
@@ -2598,163 +2706,55 @@
|
|
|
2598
2706
|
},
|
|
2599
2707
|
"default": "false",
|
|
2600
2708
|
"description": "This attribute controls whether to enable the search-bar.",
|
|
2601
|
-
"fieldName": "enableSearchBar"
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2709
|
+
"fieldName": "enableSearchBar",
|
|
2710
|
+
"inheritedFrom": {
|
|
2711
|
+
"name": "EntityManagement",
|
|
2712
|
+
"module": "src/entities/entities.ts"
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2605
2715
|
{
|
|
2606
|
-
"name": "
|
|
2607
|
-
"
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
}
|
|
2618
|
-
],
|
|
2619
|
-
"exports": [
|
|
2620
|
-
{
|
|
2621
|
-
"kind": "js",
|
|
2622
|
-
"name": "UsersColumnConfig",
|
|
2623
|
-
"declaration": {
|
|
2624
|
-
"name": "UsersColumnConfig",
|
|
2625
|
-
"module": "src/users/users.ts"
|
|
2626
|
-
}
|
|
2627
|
-
},
|
|
2628
|
-
{
|
|
2629
|
-
"kind": "js",
|
|
2630
|
-
"name": "Users",
|
|
2631
|
-
"declaration": {
|
|
2632
|
-
"name": "Users",
|
|
2633
|
-
"module": "src/users/users.ts"
|
|
2634
|
-
}
|
|
2635
|
-
},
|
|
2636
|
-
{
|
|
2637
|
-
"kind": "custom-element-definition",
|
|
2638
|
-
"name": "user-management",
|
|
2639
|
-
"declaration": {
|
|
2640
|
-
"name": "Users",
|
|
2641
|
-
"module": "src/users/users.ts"
|
|
2642
|
-
}
|
|
2643
|
-
}
|
|
2644
|
-
]
|
|
2645
|
-
},
|
|
2646
|
-
{
|
|
2647
|
-
"kind": "javascript-module",
|
|
2648
|
-
"path": "src/utils/formatting.ts",
|
|
2649
|
-
"declarations": [
|
|
2650
|
-
{
|
|
2651
|
-
"kind": "function",
|
|
2652
|
-
"name": "getErrorFormat",
|
|
2653
|
-
"parameters": [
|
|
2716
|
+
"name": "header-case-type",
|
|
2717
|
+
"type": {
|
|
2718
|
+
"text": "GridProCaseType"
|
|
2719
|
+
},
|
|
2720
|
+
"description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
|
|
2721
|
+
"fieldName": "headerCaseType",
|
|
2722
|
+
"inheritedFrom": {
|
|
2723
|
+
"name": "EntityManagement",
|
|
2724
|
+
"module": "src/entities/entities.ts"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2654
2727
|
{
|
|
2655
|
-
"name": "
|
|
2728
|
+
"name": "modal-position",
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "'centre' | 'left' | 'right'"
|
|
2731
|
+
},
|
|
2732
|
+
"default": "'right'",
|
|
2733
|
+
"description": "Determines where the modal dialog will appear on screen",
|
|
2734
|
+
"fieldName": "modalPosition",
|
|
2735
|
+
"inheritedFrom": {
|
|
2736
|
+
"name": "EntityManagement",
|
|
2737
|
+
"module": "src/entities/entities.ts"
|
|
2738
|
+
}
|
|
2656
2739
|
}
|
|
2657
|
-
]
|
|
2658
|
-
"description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
|
|
2659
|
-
"privacy": "public"
|
|
2740
|
+
]
|
|
2660
2741
|
}
|
|
2661
2742
|
],
|
|
2662
2743
|
"exports": [
|
|
2663
2744
|
{
|
|
2664
2745
|
"kind": "js",
|
|
2665
|
-
"name": "
|
|
2666
|
-
"declaration": {
|
|
2667
|
-
"name": "getErrorFormat",
|
|
2668
|
-
"module": "src/utils/formatting.ts"
|
|
2669
|
-
}
|
|
2670
|
-
}
|
|
2671
|
-
]
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
"kind": "javascript-module",
|
|
2675
|
-
"path": "src/utils/index.ts",
|
|
2676
|
-
"declarations": [],
|
|
2677
|
-
"exports": [
|
|
2678
|
-
{
|
|
2679
|
-
"kind": "js",
|
|
2680
|
-
"name": "*",
|
|
2681
|
-
"declaration": {
|
|
2682
|
-
"name": "*",
|
|
2683
|
-
"package": "./formatting"
|
|
2684
|
-
}
|
|
2685
|
-
},
|
|
2686
|
-
{
|
|
2687
|
-
"kind": "js",
|
|
2688
|
-
"name": "*",
|
|
2746
|
+
"name": "Profiles",
|
|
2689
2747
|
"declaration": {
|
|
2690
|
-
"name": "
|
|
2691
|
-
"
|
|
2748
|
+
"name": "Profiles",
|
|
2749
|
+
"module": "src/profiles/profiles.ts"
|
|
2692
2750
|
}
|
|
2693
2751
|
},
|
|
2694
2752
|
{
|
|
2695
|
-
"kind": "
|
|
2696
|
-
"name": "
|
|
2697
|
-
"declaration": {
|
|
2698
|
-
"name": "*",
|
|
2699
|
-
"package": "./renderer"
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
]
|
|
2703
|
-
},
|
|
2704
|
-
{
|
|
2705
|
-
"kind": "javascript-module",
|
|
2706
|
-
"path": "src/utils/logger.ts",
|
|
2707
|
-
"declarations": [
|
|
2708
|
-
{
|
|
2709
|
-
"kind": "variable",
|
|
2710
|
-
"name": "logger",
|
|
2711
|
-
"privacy": "public"
|
|
2712
|
-
}
|
|
2713
|
-
],
|
|
2714
|
-
"exports": [
|
|
2715
|
-
{
|
|
2716
|
-
"kind": "js",
|
|
2717
|
-
"name": "logger",
|
|
2718
|
-
"declaration": {
|
|
2719
|
-
"name": "logger",
|
|
2720
|
-
"module": "src/utils/logger.ts"
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2723
|
-
]
|
|
2724
|
-
},
|
|
2725
|
-
{
|
|
2726
|
-
"kind": "javascript-module",
|
|
2727
|
-
"path": "src/utils/renderer.ts",
|
|
2728
|
-
"declarations": [
|
|
2729
|
-
{
|
|
2730
|
-
"kind": "function",
|
|
2731
|
-
"name": "buttonCellRenderer",
|
|
2732
|
-
"return": {
|
|
2733
|
-
"type": {
|
|
2734
|
-
"text": "ColDef"
|
|
2735
|
-
}
|
|
2736
|
-
},
|
|
2737
|
-
"parameters": [
|
|
2738
|
-
{
|
|
2739
|
-
"name": "title"
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"name": "clickHandler"
|
|
2743
|
-
},
|
|
2744
|
-
{
|
|
2745
|
-
"name": "contentTemplate"
|
|
2746
|
-
}
|
|
2747
|
-
],
|
|
2748
|
-
"privacy": "public"
|
|
2749
|
-
}
|
|
2750
|
-
],
|
|
2751
|
-
"exports": [
|
|
2752
|
-
{
|
|
2753
|
-
"kind": "js",
|
|
2754
|
-
"name": "buttonCellRenderer",
|
|
2753
|
+
"kind": "custom-element-definition",
|
|
2754
|
+
"name": "profile-management",
|
|
2755
2755
|
"declaration": {
|
|
2756
|
-
"name": "
|
|
2757
|
-
"module": "src/
|
|
2756
|
+
"name": "Profiles",
|
|
2757
|
+
"module": "src/profiles/profiles.ts"
|
|
2758
2758
|
}
|
|
2759
2759
|
}
|
|
2760
2760
|
]
|
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.162.
|
|
4
|
+
"version": "14.162.5",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,29 +43,29 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.162.
|
|
47
|
-
"@genesislcap/genx": "14.162.
|
|
48
|
-
"@genesislcap/rollup-builder": "14.162.
|
|
49
|
-
"@genesislcap/ts-builder": "14.162.
|
|
50
|
-
"@genesislcap/uvu-playwright-builder": "14.162.
|
|
51
|
-
"@genesislcap/vite-builder": "14.162.
|
|
52
|
-
"@genesislcap/webpack-builder": "14.162.
|
|
46
|
+
"@genesislcap/foundation-testing": "14.162.5",
|
|
47
|
+
"@genesislcap/genx": "14.162.5",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.162.5",
|
|
49
|
+
"@genesislcap/ts-builder": "14.162.5",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.162.5",
|
|
51
|
+
"@genesislcap/vite-builder": "14.162.5",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.162.5",
|
|
53
53
|
"rimraf": "^3.0.2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@ag-grid-community/core": "29.2.0",
|
|
57
|
-
"@genesislcap/foundation-comms": "14.162.
|
|
58
|
-
"@genesislcap/foundation-errors": "14.162.
|
|
59
|
-
"@genesislcap/foundation-events": "14.162.
|
|
60
|
-
"@genesislcap/foundation-forms": "14.162.
|
|
61
|
-
"@genesislcap/foundation-logger": "14.162.
|
|
62
|
-
"@genesislcap/foundation-login": "14.162.
|
|
63
|
-
"@genesislcap/foundation-notifications": "14.162.
|
|
64
|
-
"@genesislcap/foundation-ui": "14.162.
|
|
65
|
-
"@genesislcap/foundation-utils": "14.162.
|
|
66
|
-
"@genesislcap/foundation-zero": "14.162.
|
|
67
|
-
"@genesislcap/foundation-zero-grid-pro": "14.162.
|
|
68
|
-
"@genesislcap/grid-pro": "14.162.
|
|
57
|
+
"@genesislcap/foundation-comms": "14.162.5",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.162.5",
|
|
59
|
+
"@genesislcap/foundation-events": "14.162.5",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.162.5",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.162.5",
|
|
62
|
+
"@genesislcap/foundation-login": "14.162.5",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.162.5",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.162.5",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.162.5",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.162.5",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.162.5",
|
|
68
|
+
"@genesislcap/grid-pro": "14.162.5",
|
|
69
69
|
"@microsoft/fast-components": "^2.30.6",
|
|
70
70
|
"@microsoft/fast-element": "^1.12.0",
|
|
71
71
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"customElements": "dist/custom-elements.json",
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "47733285b6e2d7988941967021ea4a48e9613aba"
|
|
85
85
|
}
|