@genesislcap/foundation-entity-management 14.183.0 → 14.183.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.
|
@@ -87,41 +87,6 @@
|
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
-
{
|
|
91
|
-
"kind": "javascript-module",
|
|
92
|
-
"path": "src/components/components.ts",
|
|
93
|
-
"declarations": [
|
|
94
|
-
{
|
|
95
|
-
"kind": "function",
|
|
96
|
-
"name": "loadRemotes"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"exports": [
|
|
100
|
-
{
|
|
101
|
-
"kind": "js",
|
|
102
|
-
"name": "loadRemotes",
|
|
103
|
-
"declaration": {
|
|
104
|
-
"name": "loadRemotes",
|
|
105
|
-
"module": "src/components/components.ts"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"kind": "javascript-module",
|
|
112
|
-
"path": "src/components/index.ts",
|
|
113
|
-
"declarations": [],
|
|
114
|
-
"exports": [
|
|
115
|
-
{
|
|
116
|
-
"kind": "js",
|
|
117
|
-
"name": "*",
|
|
118
|
-
"declaration": {
|
|
119
|
-
"name": "*",
|
|
120
|
-
"package": "./components"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
90
|
{
|
|
126
91
|
"kind": "javascript-module",
|
|
127
92
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -129,7 +94,7 @@
|
|
|
129
94
|
{
|
|
130
95
|
"kind": "variable",
|
|
131
96
|
"name": "styles",
|
|
132
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n
|
|
97
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n padding-left: calc(var(--design-unit) * 2px);\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .add-button {\n margin-right: calc(var(--design-unit) * 2px);\n }\n`",
|
|
133
98
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
99
|
}
|
|
135
100
|
],
|
|
@@ -917,6 +882,41 @@
|
|
|
917
882
|
}
|
|
918
883
|
]
|
|
919
884
|
},
|
|
885
|
+
{
|
|
886
|
+
"kind": "javascript-module",
|
|
887
|
+
"path": "src/components/components.ts",
|
|
888
|
+
"declarations": [
|
|
889
|
+
{
|
|
890
|
+
"kind": "function",
|
|
891
|
+
"name": "loadRemotes"
|
|
892
|
+
}
|
|
893
|
+
],
|
|
894
|
+
"exports": [
|
|
895
|
+
{
|
|
896
|
+
"kind": "js",
|
|
897
|
+
"name": "loadRemotes",
|
|
898
|
+
"declaration": {
|
|
899
|
+
"name": "loadRemotes",
|
|
900
|
+
"module": "src/components/components.ts"
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"kind": "javascript-module",
|
|
907
|
+
"path": "src/components/index.ts",
|
|
908
|
+
"declarations": [],
|
|
909
|
+
"exports": [
|
|
910
|
+
{
|
|
911
|
+
"kind": "js",
|
|
912
|
+
"name": "*",
|
|
913
|
+
"declaration": {
|
|
914
|
+
"name": "*",
|
|
915
|
+
"package": "./components"
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
920
|
{
|
|
921
921
|
"kind": "javascript-module",
|
|
922
922
|
"path": "src/layouts/default.ts",
|
|
@@ -1584,229 +1584,299 @@
|
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
1586
|
"kind": "javascript-module",
|
|
1587
|
-
"path": "src/
|
|
1587
|
+
"path": "src/routes/config.ts",
|
|
1588
|
+
"declarations": [],
|
|
1589
|
+
"exports": []
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"kind": "javascript-module",
|
|
1593
|
+
"path": "src/routes/index.ts",
|
|
1594
|
+
"declarations": [],
|
|
1595
|
+
"exports": [
|
|
1596
|
+
{
|
|
1597
|
+
"kind": "js",
|
|
1598
|
+
"name": "*",
|
|
1599
|
+
"declaration": {
|
|
1600
|
+
"name": "*",
|
|
1601
|
+
"package": "./config"
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
]
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "javascript-module",
|
|
1608
|
+
"path": "src/users/users.template.ts",
|
|
1588
1609
|
"declarations": [
|
|
1589
1610
|
{
|
|
1590
|
-
"kind": "
|
|
1591
|
-
"name": "
|
|
1592
|
-
"
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1611
|
+
"kind": "function",
|
|
1612
|
+
"name": "getPrefixedUsers",
|
|
1613
|
+
"parameters": [
|
|
1614
|
+
{
|
|
1615
|
+
"name": "prefix"
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1596
1618
|
}
|
|
1597
1619
|
],
|
|
1598
1620
|
"exports": [
|
|
1599
1621
|
{
|
|
1600
1622
|
"kind": "js",
|
|
1601
|
-
"name": "
|
|
1623
|
+
"name": "getPrefixedUsers",
|
|
1602
1624
|
"declaration": {
|
|
1603
|
-
"name": "
|
|
1604
|
-
"module": "src/
|
|
1625
|
+
"name": "getPrefixedUsers",
|
|
1626
|
+
"module": "src/users/users.template.ts"
|
|
1605
1627
|
}
|
|
1606
1628
|
}
|
|
1607
1629
|
]
|
|
1608
1630
|
},
|
|
1609
1631
|
{
|
|
1610
1632
|
"kind": "javascript-module",
|
|
1611
|
-
"path": "src/
|
|
1633
|
+
"path": "src/users/users.ts",
|
|
1612
1634
|
"declarations": [
|
|
1635
|
+
{
|
|
1636
|
+
"kind": "variable",
|
|
1637
|
+
"name": "UsersColumnConfig",
|
|
1638
|
+
"type": {
|
|
1639
|
+
"text": "array"
|
|
1640
|
+
},
|
|
1641
|
+
"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]",
|
|
1642
|
+
"description": "Defines the default columns which are present on the user management component",
|
|
1643
|
+
"privacy": "public"
|
|
1644
|
+
},
|
|
1613
1645
|
{
|
|
1614
1646
|
"kind": "class",
|
|
1615
|
-
"description": "Main class which
|
|
1616
|
-
"name": "
|
|
1647
|
+
"description": "Main class which defines the user management functionality",
|
|
1648
|
+
"name": "Users",
|
|
1617
1649
|
"members": [
|
|
1618
|
-
{
|
|
1619
|
-
"kind": "method",
|
|
1620
|
-
"name": "readProfileData",
|
|
1621
|
-
"privacy": "public",
|
|
1622
|
-
"parameters": [
|
|
1623
|
-
{
|
|
1624
|
-
"name": "profile"
|
|
1625
|
-
}
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"kind": "method",
|
|
1630
|
-
"name": "confirmDelete",
|
|
1631
|
-
"inheritedFrom": {
|
|
1632
|
-
"name": "EntityManagement",
|
|
1633
|
-
"module": "src/entities/entities.ts"
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
1650
|
{
|
|
1637
1651
|
"kind": "field",
|
|
1638
|
-
"name": "
|
|
1652
|
+
"name": "prefix",
|
|
1639
1653
|
"type": {
|
|
1640
1654
|
"text": "string"
|
|
1641
1655
|
},
|
|
1642
|
-
"
|
|
1643
|
-
"
|
|
1644
|
-
"
|
|
1645
|
-
"name": "EntityManagement",
|
|
1646
|
-
"module": "src/entities/entities.ts"
|
|
1647
|
-
}
|
|
1656
|
+
"default": "'zero'",
|
|
1657
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
1658
|
+
"privacy": "public"
|
|
1648
1659
|
},
|
|
1649
1660
|
{
|
|
1650
1661
|
"kind": "field",
|
|
1651
|
-
"name": "
|
|
1662
|
+
"name": "persistColumnStateKey",
|
|
1652
1663
|
"type": {
|
|
1653
1664
|
"text": "string"
|
|
1654
1665
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1657
|
-
"
|
|
1658
|
-
"name": "EntityManagement",
|
|
1659
|
-
"module": "src/entities/entities.ts"
|
|
1660
|
-
}
|
|
1666
|
+
"default": "'entity_users_management'",
|
|
1667
|
+
"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`.",
|
|
1668
|
+
"privacy": "public"
|
|
1661
1669
|
},
|
|
1662
1670
|
{
|
|
1663
1671
|
"kind": "field",
|
|
1664
|
-
"name": "
|
|
1672
|
+
"name": "enableSearchBar",
|
|
1665
1673
|
"type": {
|
|
1666
|
-
"text": "
|
|
1674
|
+
"text": "boolean"
|
|
1667
1675
|
},
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1670
|
-
"
|
|
1671
|
-
"name": "EntityManagement",
|
|
1672
|
-
"module": "src/entities/entities.ts"
|
|
1673
|
-
}
|
|
1676
|
+
"default": "false",
|
|
1677
|
+
"description": "This attribute controls whether to enable the search-bar.",
|
|
1678
|
+
"privacy": "public"
|
|
1674
1679
|
},
|
|
1675
1680
|
{
|
|
1676
1681
|
"kind": "field",
|
|
1677
|
-
"name": "
|
|
1682
|
+
"name": "gridOptions",
|
|
1678
1683
|
"type": {
|
|
1679
|
-
"text": "
|
|
1684
|
+
"text": "GridOptions"
|
|
1680
1685
|
},
|
|
1681
|
-
"description": "
|
|
1682
|
-
"privacy": "public"
|
|
1683
|
-
"default": "'entity_profiles_management'",
|
|
1684
|
-
"inheritedFrom": {
|
|
1685
|
-
"name": "EntityManagement",
|
|
1686
|
-
"module": "src/entities/entities.ts"
|
|
1687
|
-
}
|
|
1686
|
+
"description": "GridOptions to be passed down from application",
|
|
1687
|
+
"privacy": "public"
|
|
1688
1688
|
},
|
|
1689
1689
|
{
|
|
1690
1690
|
"kind": "field",
|
|
1691
|
-
"name": "
|
|
1691
|
+
"name": "columns",
|
|
1692
1692
|
"type": {
|
|
1693
1693
|
"text": "any"
|
|
1694
1694
|
},
|
|
1695
|
-
"default": "
|
|
1696
|
-
"
|
|
1697
|
-
"name": "EntityManagement",
|
|
1698
|
-
"module": "src/entities/entities.ts"
|
|
1699
|
-
}
|
|
1695
|
+
"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]",
|
|
1696
|
+
"description": "Column definition, default to the UsersColumnConfig"
|
|
1700
1697
|
},
|
|
1701
1698
|
{
|
|
1702
1699
|
"kind": "field",
|
|
1703
|
-
"name": "
|
|
1700
|
+
"name": "additionalCreateFields",
|
|
1704
1701
|
"type": {
|
|
1705
1702
|
"text": "any"
|
|
1706
1703
|
},
|
|
1707
|
-
"default": "
|
|
1708
|
-
"inheritedFrom": {
|
|
1709
|
-
"name": "EntityManagement",
|
|
1710
|
-
"module": "src/entities/entities.ts"
|
|
1711
|
-
}
|
|
1704
|
+
"default": "[]"
|
|
1712
1705
|
},
|
|
1713
1706
|
{
|
|
1714
1707
|
"kind": "field",
|
|
1715
|
-
"name": "
|
|
1708
|
+
"name": "additionalUpdateFields",
|
|
1716
1709
|
"type": {
|
|
1717
|
-
"text": "
|
|
1710
|
+
"text": "any"
|
|
1718
1711
|
},
|
|
1719
|
-
"
|
|
1720
|
-
"name": "EntityManagement",
|
|
1721
|
-
"module": "src/entities/entities.ts"
|
|
1722
|
-
}
|
|
1712
|
+
"default": "[]"
|
|
1723
1713
|
},
|
|
1724
1714
|
{
|
|
1725
1715
|
"kind": "field",
|
|
1726
|
-
"name": "
|
|
1716
|
+
"name": "allAccessType",
|
|
1727
1717
|
"type": {
|
|
1728
|
-
"text": "
|
|
1729
|
-
},
|
|
1730
|
-
"description": "Name of the backend resource which contain the entities to manage",
|
|
1731
|
-
"privacy": "public",
|
|
1732
|
-
"default": "'ALL_PROFILES'",
|
|
1733
|
-
"inheritedFrom": {
|
|
1734
|
-
"name": "EntityManagement",
|
|
1735
|
-
"module": "src/entities/entities.ts"
|
|
1718
|
+
"text": "boolean"
|
|
1736
1719
|
}
|
|
1737
1720
|
},
|
|
1738
1721
|
{
|
|
1739
1722
|
"kind": "field",
|
|
1740
|
-
"name": "
|
|
1723
|
+
"name": "entityIdValue",
|
|
1741
1724
|
"type": {
|
|
1742
1725
|
"text": "string"
|
|
1743
1726
|
},
|
|
1744
|
-
"
|
|
1745
|
-
"privacy": "public",
|
|
1746
|
-
"default": "'Profile Management'",
|
|
1747
|
-
"inheritedFrom": {
|
|
1748
|
-
"name": "EntityManagement",
|
|
1749
|
-
"module": "src/entities/entities.ts"
|
|
1750
|
-
}
|
|
1727
|
+
"privacy": "private"
|
|
1751
1728
|
},
|
|
1752
1729
|
{
|
|
1753
1730
|
"kind": "field",
|
|
1754
|
-
"name": "
|
|
1731
|
+
"name": "createEvent",
|
|
1755
1732
|
"type": {
|
|
1756
1733
|
"text": "string"
|
|
1757
1734
|
},
|
|
1758
|
-
"
|
|
1759
|
-
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
1760
|
-
"privacy": "public",
|
|
1761
|
-
"inheritedFrom": {
|
|
1762
|
-
"name": "EntityManagement",
|
|
1763
|
-
"module": "src/entities/entities.ts"
|
|
1764
|
-
}
|
|
1735
|
+
"description": "String which contains event if we have permission to insert user of empty string if not"
|
|
1765
1736
|
},
|
|
1766
1737
|
{
|
|
1767
1738
|
"kind": "field",
|
|
1768
|
-
"name": "
|
|
1739
|
+
"name": "deleteEvent",
|
|
1769
1740
|
"type": {
|
|
1770
|
-
"text": "
|
|
1741
|
+
"text": "string"
|
|
1771
1742
|
},
|
|
1772
|
-
"
|
|
1773
|
-
"description": "DI connect object which is used to interact with the backend.",
|
|
1774
|
-
"inheritedFrom": {
|
|
1775
|
-
"name": "EntityManagement",
|
|
1776
|
-
"module": "src/entities/entities.ts"
|
|
1777
|
-
}
|
|
1743
|
+
"description": "String which contains event if we have permission to delete user of empty string if not"
|
|
1778
1744
|
},
|
|
1779
1745
|
{
|
|
1780
1746
|
"kind": "field",
|
|
1781
|
-
"name": "
|
|
1747
|
+
"name": "updateEvent",
|
|
1782
1748
|
"type": {
|
|
1783
1749
|
"text": "string"
|
|
1784
1750
|
},
|
|
1785
|
-
"
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1751
|
+
"description": "String which contains event if we have permission to update user of empty string if not"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"kind": "method",
|
|
1755
|
+
"name": "deepClone",
|
|
1756
|
+
"return": {
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "Node"
|
|
1759
|
+
}
|
|
1791
1760
|
}
|
|
1761
|
+
}
|
|
1762
|
+
],
|
|
1763
|
+
"attributes": [
|
|
1764
|
+
{
|
|
1765
|
+
"name": "design-system-prefix",
|
|
1766
|
+
"type": {
|
|
1767
|
+
"text": "string"
|
|
1768
|
+
},
|
|
1769
|
+
"default": "'zero'",
|
|
1770
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
1771
|
+
"fieldName": "prefix"
|
|
1792
1772
|
},
|
|
1793
1773
|
{
|
|
1794
|
-
"
|
|
1795
|
-
"name": "readEvent",
|
|
1774
|
+
"name": "persist-column-state-key",
|
|
1796
1775
|
"type": {
|
|
1797
1776
|
"text": "string"
|
|
1798
1777
|
},
|
|
1799
|
-
"
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
}
|
|
1778
|
+
"default": "'entity_users_management'",
|
|
1779
|
+
"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`.",
|
|
1780
|
+
"fieldName": "persistColumnStateKey"
|
|
1803
1781
|
},
|
|
1804
1782
|
{
|
|
1805
|
-
"
|
|
1806
|
-
"name": "readonly",
|
|
1783
|
+
"name": "enable-search-bar",
|
|
1807
1784
|
"type": {
|
|
1808
1785
|
"text": "boolean"
|
|
1809
1786
|
},
|
|
1787
|
+
"default": "false",
|
|
1788
|
+
"description": "This attribute controls whether to enable the search-bar.",
|
|
1789
|
+
"fieldName": "enableSearchBar"
|
|
1790
|
+
}
|
|
1791
|
+
],
|
|
1792
|
+
"mixins": [
|
|
1793
|
+
{
|
|
1794
|
+
"name": "LifecycleMixin",
|
|
1795
|
+
"package": "@genesislcap/foundation-utils"
|
|
1796
|
+
}
|
|
1797
|
+
],
|
|
1798
|
+
"superclass": {
|
|
1799
|
+
"name": "FASTElement",
|
|
1800
|
+
"package": "@microsoft/fast-element"
|
|
1801
|
+
},
|
|
1802
|
+
"deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
|
|
1803
|
+
"tagName": "user-management",
|
|
1804
|
+
"customElement": true
|
|
1805
|
+
}
|
|
1806
|
+
],
|
|
1807
|
+
"exports": [
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "js",
|
|
1810
|
+
"name": "UsersColumnConfig",
|
|
1811
|
+
"declaration": {
|
|
1812
|
+
"name": "UsersColumnConfig",
|
|
1813
|
+
"module": "src/users/users.ts"
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "js",
|
|
1818
|
+
"name": "Users",
|
|
1819
|
+
"declaration": {
|
|
1820
|
+
"name": "Users",
|
|
1821
|
+
"module": "src/users/users.ts"
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "custom-element-definition",
|
|
1826
|
+
"name": "user-management",
|
|
1827
|
+
"declaration": {
|
|
1828
|
+
"name": "Users",
|
|
1829
|
+
"module": "src/users/users.ts"
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "javascript-module",
|
|
1836
|
+
"path": "src/profiles/editProfileSchema.ts",
|
|
1837
|
+
"declarations": [
|
|
1838
|
+
{
|
|
1839
|
+
"kind": "variable",
|
|
1840
|
+
"name": "editProfileFormSchema",
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "object"
|
|
1843
|
+
},
|
|
1844
|
+
"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}"
|
|
1845
|
+
}
|
|
1846
|
+
],
|
|
1847
|
+
"exports": [
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "js",
|
|
1850
|
+
"name": "editProfileFormSchema",
|
|
1851
|
+
"declaration": {
|
|
1852
|
+
"name": "editProfileFormSchema",
|
|
1853
|
+
"module": "src/profiles/editProfileSchema.ts"
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
]
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"kind": "javascript-module",
|
|
1860
|
+
"path": "src/profiles/profiles.ts",
|
|
1861
|
+
"declarations": [
|
|
1862
|
+
{
|
|
1863
|
+
"kind": "class",
|
|
1864
|
+
"description": "Main class which defined the profile management functionality",
|
|
1865
|
+
"name": "Profiles",
|
|
1866
|
+
"members": [
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "method",
|
|
1869
|
+
"name": "readProfileData",
|
|
1870
|
+
"privacy": "public",
|
|
1871
|
+
"parameters": [
|
|
1872
|
+
{
|
|
1873
|
+
"name": "profile"
|
|
1874
|
+
}
|
|
1875
|
+
]
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"kind": "method",
|
|
1879
|
+
"name": "confirmDelete",
|
|
1810
1880
|
"inheritedFrom": {
|
|
1811
1881
|
"name": "EntityManagement",
|
|
1812
1882
|
"module": "src/entities/entities.ts"
|
|
@@ -1814,12 +1884,11 @@
|
|
|
1814
1884
|
},
|
|
1815
1885
|
{
|
|
1816
1886
|
"kind": "field",
|
|
1817
|
-
"name": "
|
|
1887
|
+
"name": "createEvent",
|
|
1818
1888
|
"type": {
|
|
1819
|
-
"text": "
|
|
1889
|
+
"text": "string"
|
|
1820
1890
|
},
|
|
1821
|
-
"
|
|
1822
|
-
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
1891
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1823
1892
|
"privacy": "public",
|
|
1824
1893
|
"inheritedFrom": {
|
|
1825
1894
|
"name": "EntityManagement",
|
|
@@ -1828,12 +1897,11 @@
|
|
|
1828
1897
|
},
|
|
1829
1898
|
{
|
|
1830
1899
|
"kind": "field",
|
|
1831
|
-
"name": "
|
|
1900
|
+
"name": "deleteEvent",
|
|
1832
1901
|
"type": {
|
|
1833
|
-
"text": "
|
|
1902
|
+
"text": "string"
|
|
1834
1903
|
},
|
|
1835
|
-
"
|
|
1836
|
-
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
1904
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1837
1905
|
"privacy": "public",
|
|
1838
1906
|
"inheritedFrom": {
|
|
1839
1907
|
"name": "EntityManagement",
|
|
@@ -1842,12 +1910,11 @@
|
|
|
1842
1910
|
},
|
|
1843
1911
|
{
|
|
1844
1912
|
"kind": "field",
|
|
1845
|
-
"name": "
|
|
1913
|
+
"name": "updateEvent",
|
|
1846
1914
|
"type": {
|
|
1847
|
-
"text": "
|
|
1915
|
+
"text": "string"
|
|
1848
1916
|
},
|
|
1849
|
-
"
|
|
1850
|
-
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
1917
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1851
1918
|
"privacy": "public",
|
|
1852
1919
|
"inheritedFrom": {
|
|
1853
1920
|
"name": "EntityManagement",
|
|
@@ -1856,13 +1923,13 @@
|
|
|
1856
1923
|
},
|
|
1857
1924
|
{
|
|
1858
1925
|
"kind": "field",
|
|
1859
|
-
"name": "
|
|
1926
|
+
"name": "persistColumnStateKey",
|
|
1860
1927
|
"type": {
|
|
1861
1928
|
"text": "string"
|
|
1862
1929
|
},
|
|
1863
|
-
"
|
|
1864
|
-
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
1930
|
+
"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.",
|
|
1865
1931
|
"privacy": "public",
|
|
1932
|
+
"default": "'entity_profiles_management'",
|
|
1866
1933
|
"inheritedFrom": {
|
|
1867
1934
|
"name": "EntityManagement",
|
|
1868
1935
|
"module": "src/entities/entities.ts"
|
|
@@ -1870,13 +1937,11 @@
|
|
|
1870
1937
|
},
|
|
1871
1938
|
{
|
|
1872
1939
|
"kind": "field",
|
|
1873
|
-
"name": "
|
|
1940
|
+
"name": "updateFormUiSchema",
|
|
1874
1941
|
"type": {
|
|
1875
|
-
"text": "
|
|
1942
|
+
"text": "any"
|
|
1876
1943
|
},
|
|
1877
|
-
"default": "
|
|
1878
|
-
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
1879
|
-
"privacy": "public",
|
|
1944
|
+
"default": "editProfileFormSchema",
|
|
1880
1945
|
"inheritedFrom": {
|
|
1881
1946
|
"name": "EntityManagement",
|
|
1882
1947
|
"module": "src/entities/entities.ts"
|
|
@@ -1884,13 +1949,11 @@
|
|
|
1884
1949
|
},
|
|
1885
1950
|
{
|
|
1886
1951
|
"kind": "field",
|
|
1887
|
-
"name": "
|
|
1952
|
+
"name": "createFormUiSchema",
|
|
1888
1953
|
"type": {
|
|
1889
|
-
"text": "
|
|
1954
|
+
"text": "any"
|
|
1890
1955
|
},
|
|
1891
|
-
"default": "
|
|
1892
|
-
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
1893
|
-
"privacy": "public",
|
|
1956
|
+
"default": "editProfileFormSchema",
|
|
1894
1957
|
"inheritedFrom": {
|
|
1895
1958
|
"name": "EntityManagement",
|
|
1896
1959
|
"module": "src/entities/entities.ts"
|
|
@@ -1898,12 +1961,10 @@
|
|
|
1898
1961
|
},
|
|
1899
1962
|
{
|
|
1900
1963
|
"kind": "field",
|
|
1901
|
-
"name": "
|
|
1964
|
+
"name": "readEventFn",
|
|
1902
1965
|
"type": {
|
|
1903
|
-
"text": "
|
|
1966
|
+
"text": "(...args) => {}"
|
|
1904
1967
|
},
|
|
1905
|
-
"description": "GridOptions to be passed down from application",
|
|
1906
|
-
"privacy": "public",
|
|
1907
1968
|
"inheritedFrom": {
|
|
1908
1969
|
"name": "EntityManagement",
|
|
1909
1970
|
"module": "src/entities/entities.ts"
|
|
@@ -1911,12 +1972,13 @@
|
|
|
1911
1972
|
},
|
|
1912
1973
|
{
|
|
1913
1974
|
"kind": "field",
|
|
1914
|
-
"name": "
|
|
1975
|
+
"name": "resourceName",
|
|
1915
1976
|
"type": {
|
|
1916
|
-
"text": "
|
|
1977
|
+
"text": "string"
|
|
1917
1978
|
},
|
|
1918
|
-
"description": "
|
|
1979
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
1919
1980
|
"privacy": "public",
|
|
1981
|
+
"default": "'ALL_PROFILES'",
|
|
1920
1982
|
"inheritedFrom": {
|
|
1921
1983
|
"name": "EntityManagement",
|
|
1922
1984
|
"module": "src/entities/entities.ts"
|
|
@@ -1924,12 +1986,13 @@
|
|
|
1924
1986
|
},
|
|
1925
1987
|
{
|
|
1926
1988
|
"kind": "field",
|
|
1927
|
-
"name": "
|
|
1989
|
+
"name": "title",
|
|
1928
1990
|
"type": {
|
|
1929
|
-
"text": "
|
|
1991
|
+
"text": "string"
|
|
1930
1992
|
},
|
|
1931
|
-
"description": "
|
|
1993
|
+
"description": "Title of the grid",
|
|
1932
1994
|
"privacy": "public",
|
|
1995
|
+
"default": "'Profile Management'",
|
|
1933
1996
|
"inheritedFrom": {
|
|
1934
1997
|
"name": "EntityManagement",
|
|
1935
1998
|
"module": "src/entities/entities.ts"
|
|
@@ -1937,10 +2000,13 @@
|
|
|
1937
2000
|
},
|
|
1938
2001
|
{
|
|
1939
2002
|
"kind": "field",
|
|
1940
|
-
"name": "
|
|
2003
|
+
"name": "entityLabel",
|
|
1941
2004
|
"type": {
|
|
1942
|
-
"text": "
|
|
2005
|
+
"text": "string"
|
|
1943
2006
|
},
|
|
2007
|
+
"default": "'Profile'",
|
|
2008
|
+
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
2009
|
+
"privacy": "public",
|
|
1944
2010
|
"inheritedFrom": {
|
|
1945
2011
|
"name": "EntityManagement",
|
|
1946
2012
|
"module": "src/entities/entities.ts"
|
|
@@ -1948,13 +2014,12 @@
|
|
|
1948
2014
|
},
|
|
1949
2015
|
{
|
|
1950
2016
|
"kind": "field",
|
|
1951
|
-
"name": "
|
|
2017
|
+
"name": "connect",
|
|
1952
2018
|
"type": {
|
|
1953
|
-
"text": "
|
|
2019
|
+
"text": "Connect"
|
|
1954
2020
|
},
|
|
1955
|
-
"
|
|
1956
|
-
"description": "
|
|
1957
|
-
"privacy": "public",
|
|
2021
|
+
"privacy": "protected",
|
|
2022
|
+
"description": "DI connect object which is used to interact with the backend.",
|
|
1958
2023
|
"inheritedFrom": {
|
|
1959
2024
|
"name": "EntityManagement",
|
|
1960
2025
|
"module": "src/entities/entities.ts"
|
|
@@ -1962,11 +2027,12 @@
|
|
|
1962
2027
|
},
|
|
1963
2028
|
{
|
|
1964
2029
|
"kind": "field",
|
|
1965
|
-
"name": "
|
|
2030
|
+
"name": "prefix",
|
|
1966
2031
|
"type": {
|
|
1967
|
-
"text": "
|
|
2032
|
+
"text": "string"
|
|
1968
2033
|
},
|
|
1969
|
-
"
|
|
2034
|
+
"default": "'zero'",
|
|
2035
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1970
2036
|
"privacy": "public",
|
|
1971
2037
|
"inheritedFrom": {
|
|
1972
2038
|
"name": "EntityManagement",
|
|
@@ -1975,12 +2041,10 @@
|
|
|
1975
2041
|
},
|
|
1976
2042
|
{
|
|
1977
2043
|
"kind": "field",
|
|
1978
|
-
"name": "
|
|
2044
|
+
"name": "readEvent",
|
|
1979
2045
|
"type": {
|
|
1980
|
-
"text": "
|
|
2046
|
+
"text": "string"
|
|
1981
2047
|
},
|
|
1982
|
-
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
1983
|
-
"privacy": "public",
|
|
1984
2048
|
"inheritedFrom": {
|
|
1985
2049
|
"name": "EntityManagement",
|
|
1986
2050
|
"module": "src/entities/entities.ts"
|
|
@@ -1988,7 +2052,7 @@
|
|
|
1988
2052
|
},
|
|
1989
2053
|
{
|
|
1990
2054
|
"kind": "field",
|
|
1991
|
-
"name": "
|
|
2055
|
+
"name": "readonly",
|
|
1992
2056
|
"type": {
|
|
1993
2057
|
"text": "boolean"
|
|
1994
2058
|
},
|
|
@@ -1999,10 +2063,13 @@
|
|
|
1999
2063
|
},
|
|
2000
2064
|
{
|
|
2001
2065
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
2066
|
+
"name": "asyncAdd",
|
|
2003
2067
|
"type": {
|
|
2004
|
-
"text": "
|
|
2068
|
+
"text": "boolean"
|
|
2005
2069
|
},
|
|
2070
|
+
"default": "false",
|
|
2071
|
+
"description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
|
|
2072
|
+
"privacy": "public",
|
|
2006
2073
|
"inheritedFrom": {
|
|
2007
2074
|
"name": "EntityManagement",
|
|
2008
2075
|
"module": "src/entities/entities.ts"
|
|
@@ -2010,11 +2077,13 @@
|
|
|
2010
2077
|
},
|
|
2011
2078
|
{
|
|
2012
2079
|
"kind": "field",
|
|
2013
|
-
"name": "
|
|
2080
|
+
"name": "asyncRemove",
|
|
2014
2081
|
"type": {
|
|
2015
|
-
"text": "
|
|
2082
|
+
"text": "boolean"
|
|
2016
2083
|
},
|
|
2017
|
-
"
|
|
2084
|
+
"default": "false",
|
|
2085
|
+
"description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
|
|
2086
|
+
"privacy": "public",
|
|
2018
2087
|
"inheritedFrom": {
|
|
2019
2088
|
"name": "EntityManagement",
|
|
2020
2089
|
"module": "src/entities/entities.ts"
|
|
@@ -2022,18 +2091,198 @@
|
|
|
2022
2091
|
},
|
|
2023
2092
|
{
|
|
2024
2093
|
"kind": "field",
|
|
2025
|
-
"name": "
|
|
2094
|
+
"name": "asyncUpdate",
|
|
2026
2095
|
"type": {
|
|
2027
2096
|
"text": "boolean"
|
|
2028
2097
|
},
|
|
2029
|
-
"default": "
|
|
2098
|
+
"default": "true",
|
|
2099
|
+
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
2100
|
+
"privacy": "public",
|
|
2030
2101
|
"inheritedFrom": {
|
|
2031
2102
|
"name": "EntityManagement",
|
|
2032
2103
|
"module": "src/entities/entities.ts"
|
|
2033
2104
|
}
|
|
2034
2105
|
},
|
|
2035
2106
|
{
|
|
2036
|
-
"kind": "
|
|
2107
|
+
"kind": "field",
|
|
2108
|
+
"name": "rowSelection",
|
|
2109
|
+
"type": {
|
|
2110
|
+
"text": "string"
|
|
2111
|
+
},
|
|
2112
|
+
"default": "'single'",
|
|
2113
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
2114
|
+
"privacy": "public",
|
|
2115
|
+
"inheritedFrom": {
|
|
2116
|
+
"name": "EntityManagement",
|
|
2117
|
+
"module": "src/entities/entities.ts"
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"kind": "field",
|
|
2122
|
+
"name": "enableCellFlashing",
|
|
2123
|
+
"type": {
|
|
2124
|
+
"text": "boolean"
|
|
2125
|
+
},
|
|
2126
|
+
"default": "false",
|
|
2127
|
+
"description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
|
|
2128
|
+
"privacy": "public",
|
|
2129
|
+
"inheritedFrom": {
|
|
2130
|
+
"name": "EntityManagement",
|
|
2131
|
+
"module": "src/entities/entities.ts"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"kind": "field",
|
|
2136
|
+
"name": "enableRowFlashing",
|
|
2137
|
+
"type": {
|
|
2138
|
+
"text": "boolean"
|
|
2139
|
+
},
|
|
2140
|
+
"default": "false",
|
|
2141
|
+
"description": "If true, will enable row flashing for all rows for `add` transactions",
|
|
2142
|
+
"privacy": "public",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "EntityManagement",
|
|
2145
|
+
"module": "src/entities/entities.ts"
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "gridOptions",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "GridOptions"
|
|
2153
|
+
},
|
|
2154
|
+
"description": "GridOptions to be passed down from application",
|
|
2155
|
+
"privacy": "public",
|
|
2156
|
+
"inheritedFrom": {
|
|
2157
|
+
"name": "EntityManagement",
|
|
2158
|
+
"module": "src/entities/entities.ts"
|
|
2159
|
+
}
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"kind": "field",
|
|
2163
|
+
"name": "columns",
|
|
2164
|
+
"type": {
|
|
2165
|
+
"text": "ColDef[]"
|
|
2166
|
+
},
|
|
2167
|
+
"description": "Array which holds the column definitions.",
|
|
2168
|
+
"privacy": "public",
|
|
2169
|
+
"inheritedFrom": {
|
|
2170
|
+
"name": "EntityManagement",
|
|
2171
|
+
"module": "src/entities/entities.ts"
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "field",
|
|
2176
|
+
"name": "datasourceConfig",
|
|
2177
|
+
"type": {
|
|
2178
|
+
"text": "DatasourceConfiguration"
|
|
2179
|
+
},
|
|
2180
|
+
"description": "The configuration which is used when interacting with the resource on the backend",
|
|
2181
|
+
"privacy": "public",
|
|
2182
|
+
"inheritedFrom": {
|
|
2183
|
+
"name": "EntityManagement",
|
|
2184
|
+
"module": "src/entities/entities.ts"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "field",
|
|
2189
|
+
"name": "formUiSchema",
|
|
2190
|
+
"type": {
|
|
2191
|
+
"text": "any"
|
|
2192
|
+
},
|
|
2193
|
+
"inheritedFrom": {
|
|
2194
|
+
"name": "EntityManagement",
|
|
2195
|
+
"module": "src/entities/entities.ts"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "field",
|
|
2200
|
+
"name": "formRenderers",
|
|
2201
|
+
"type": {
|
|
2202
|
+
"text": "RendererEntry[]"
|
|
2203
|
+
},
|
|
2204
|
+
"default": "renderers",
|
|
2205
|
+
"description": "Array with renderers used by foundation-forms",
|
|
2206
|
+
"privacy": "public",
|
|
2207
|
+
"inheritedFrom": {
|
|
2208
|
+
"name": "EntityManagement",
|
|
2209
|
+
"module": "src/entities/entities.ts"
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"kind": "field",
|
|
2214
|
+
"name": "selectedEntity",
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "any"
|
|
2217
|
+
},
|
|
2218
|
+
"description": "Reference to the currently selected entity from the grid.",
|
|
2219
|
+
"privacy": "public",
|
|
2220
|
+
"inheritedFrom": {
|
|
2221
|
+
"name": "EntityManagement",
|
|
2222
|
+
"module": "src/entities/entities.ts"
|
|
2223
|
+
}
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"kind": "field",
|
|
2227
|
+
"name": "editedEntity",
|
|
2228
|
+
"type": {
|
|
2229
|
+
"text": "any"
|
|
2230
|
+
},
|
|
2231
|
+
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
2232
|
+
"privacy": "public",
|
|
2233
|
+
"inheritedFrom": {
|
|
2234
|
+
"name": "EntityManagement",
|
|
2235
|
+
"module": "src/entities/entities.ts"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"kind": "field",
|
|
2240
|
+
"name": "submitting",
|
|
2241
|
+
"type": {
|
|
2242
|
+
"text": "boolean"
|
|
2243
|
+
},
|
|
2244
|
+
"inheritedFrom": {
|
|
2245
|
+
"name": "EntityManagement",
|
|
2246
|
+
"module": "src/entities/entities.ts"
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "field",
|
|
2251
|
+
"name": "defaultEntityValues",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "any"
|
|
2254
|
+
},
|
|
2255
|
+
"inheritedFrom": {
|
|
2256
|
+
"name": "EntityManagement",
|
|
2257
|
+
"module": "src/entities/entities.ts"
|
|
2258
|
+
}
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "field",
|
|
2262
|
+
"name": "editDialogTitle",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "string"
|
|
2265
|
+
},
|
|
2266
|
+
"description": "String which contains the text of the popup modal when the user is adding or editing an entity",
|
|
2267
|
+
"inheritedFrom": {
|
|
2268
|
+
"name": "EntityManagement",
|
|
2269
|
+
"module": "src/entities/entities.ts"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"kind": "field",
|
|
2274
|
+
"name": "editModalVisible",
|
|
2275
|
+
"type": {
|
|
2276
|
+
"text": "boolean"
|
|
2277
|
+
},
|
|
2278
|
+
"default": "false",
|
|
2279
|
+
"inheritedFrom": {
|
|
2280
|
+
"name": "EntityManagement",
|
|
2281
|
+
"module": "src/entities/entities.ts"
|
|
2282
|
+
}
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "method",
|
|
2037
2286
|
"name": "editModalVisibleChanged",
|
|
2038
2287
|
"inheritedFrom": {
|
|
2039
2288
|
"name": "EntityManagement",
|
|
@@ -2642,249 +2891,59 @@
|
|
|
2642
2891
|
},
|
|
2643
2892
|
{
|
|
2644
2893
|
"kind": "javascript-module",
|
|
2645
|
-
"path": "src/routes/
|
|
2646
|
-
"declarations": [],
|
|
2647
|
-
"exports": []
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
"kind": "javascript-module",
|
|
2651
|
-
"path": "src/routes/index.ts",
|
|
2652
|
-
"declarations": [],
|
|
2653
|
-
"exports": [
|
|
2654
|
-
{
|
|
2655
|
-
"kind": "js",
|
|
2656
|
-
"name": "*",
|
|
2657
|
-
"declaration": {
|
|
2658
|
-
"name": "*",
|
|
2659
|
-
"package": "./config"
|
|
2660
|
-
}
|
|
2661
|
-
}
|
|
2662
|
-
]
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
"kind": "javascript-module",
|
|
2666
|
-
"path": "src/users/users.template.ts",
|
|
2894
|
+
"path": "src/routes/demo/entity-management.template.ts",
|
|
2667
2895
|
"declarations": [
|
|
2668
2896
|
{
|
|
2669
|
-
"kind": "
|
|
2670
|
-
"name": "
|
|
2671
|
-
"
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
]
|
|
2897
|
+
"kind": "variable",
|
|
2898
|
+
"name": "EntityManagementDemoTemplate",
|
|
2899
|
+
"type": {
|
|
2900
|
+
"text": "ViewTemplate"
|
|
2901
|
+
},
|
|
2902
|
+
"default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
|
|
2676
2903
|
}
|
|
2677
2904
|
],
|
|
2678
2905
|
"exports": [
|
|
2679
2906
|
{
|
|
2680
2907
|
"kind": "js",
|
|
2681
|
-
"name": "
|
|
2908
|
+
"name": "EntityManagementDemoTemplate",
|
|
2682
2909
|
"declaration": {
|
|
2683
|
-
"name": "
|
|
2684
|
-
"module": "src/
|
|
2910
|
+
"name": "EntityManagementDemoTemplate",
|
|
2911
|
+
"module": "src/routes/demo/entity-management.template.ts"
|
|
2685
2912
|
}
|
|
2686
2913
|
}
|
|
2687
2914
|
]
|
|
2688
2915
|
},
|
|
2689
2916
|
{
|
|
2690
2917
|
"kind": "javascript-module",
|
|
2691
|
-
"path": "src/
|
|
2918
|
+
"path": "src/routes/demo/entity-management.ts",
|
|
2692
2919
|
"declarations": [
|
|
2693
|
-
{
|
|
2694
|
-
"kind": "variable",
|
|
2695
|
-
"name": "UsersColumnConfig",
|
|
2696
|
-
"type": {
|
|
2697
|
-
"text": "array"
|
|
2698
|
-
},
|
|
2699
|
-
"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]",
|
|
2700
|
-
"description": "Defines the default columns which are present on the user management component",
|
|
2701
|
-
"privacy": "public"
|
|
2702
|
-
},
|
|
2703
2920
|
{
|
|
2704
2921
|
"kind": "class",
|
|
2705
|
-
"description": "
|
|
2706
|
-
"name": "
|
|
2707
|
-
"members": [
|
|
2708
|
-
{
|
|
2709
|
-
"kind": "field",
|
|
2710
|
-
"name": "prefix",
|
|
2711
|
-
"type": {
|
|
2712
|
-
"text": "string"
|
|
2713
|
-
},
|
|
2714
|
-
"default": "'zero'",
|
|
2715
|
-
"description": "Name of the design system prefix that will be used for components.",
|
|
2716
|
-
"privacy": "public"
|
|
2717
|
-
},
|
|
2718
|
-
{
|
|
2719
|
-
"kind": "field",
|
|
2720
|
-
"name": "persistColumnStateKey",
|
|
2721
|
-
"type": {
|
|
2722
|
-
"text": "string"
|
|
2723
|
-
},
|
|
2724
|
-
"default": "'entity_users_management'",
|
|
2725
|
-
"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`.",
|
|
2726
|
-
"privacy": "public"
|
|
2727
|
-
},
|
|
2728
|
-
{
|
|
2729
|
-
"kind": "field",
|
|
2730
|
-
"name": "enableSearchBar",
|
|
2731
|
-
"type": {
|
|
2732
|
-
"text": "boolean"
|
|
2733
|
-
},
|
|
2734
|
-
"default": "false",
|
|
2735
|
-
"description": "This attribute controls whether to enable the search-bar.",
|
|
2736
|
-
"privacy": "public"
|
|
2737
|
-
},
|
|
2738
|
-
{
|
|
2739
|
-
"kind": "field",
|
|
2740
|
-
"name": "gridOptions",
|
|
2741
|
-
"type": {
|
|
2742
|
-
"text": "GridOptions"
|
|
2743
|
-
},
|
|
2744
|
-
"description": "GridOptions to be passed down from application",
|
|
2745
|
-
"privacy": "public"
|
|
2746
|
-
},
|
|
2747
|
-
{
|
|
2748
|
-
"kind": "field",
|
|
2749
|
-
"name": "columns",
|
|
2750
|
-
"type": {
|
|
2751
|
-
"text": "any"
|
|
2752
|
-
},
|
|
2753
|
-
"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]",
|
|
2754
|
-
"description": "Column definition, default to the UsersColumnConfig"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "field",
|
|
2758
|
-
"name": "additionalCreateFields",
|
|
2759
|
-
"type": {
|
|
2760
|
-
"text": "any"
|
|
2761
|
-
},
|
|
2762
|
-
"default": "[]"
|
|
2763
|
-
},
|
|
2764
|
-
{
|
|
2765
|
-
"kind": "field",
|
|
2766
|
-
"name": "additionalUpdateFields",
|
|
2767
|
-
"type": {
|
|
2768
|
-
"text": "any"
|
|
2769
|
-
},
|
|
2770
|
-
"default": "[]"
|
|
2771
|
-
},
|
|
2772
|
-
{
|
|
2773
|
-
"kind": "field",
|
|
2774
|
-
"name": "allAccessType",
|
|
2775
|
-
"type": {
|
|
2776
|
-
"text": "boolean"
|
|
2777
|
-
}
|
|
2778
|
-
},
|
|
2779
|
-
{
|
|
2780
|
-
"kind": "field",
|
|
2781
|
-
"name": "entityIdValue",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "string"
|
|
2784
|
-
},
|
|
2785
|
-
"privacy": "private"
|
|
2786
|
-
},
|
|
2787
|
-
{
|
|
2788
|
-
"kind": "field",
|
|
2789
|
-
"name": "createEvent",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "string"
|
|
2792
|
-
},
|
|
2793
|
-
"description": "String which contains event if we have permission to insert user of empty string if not"
|
|
2794
|
-
},
|
|
2795
|
-
{
|
|
2796
|
-
"kind": "field",
|
|
2797
|
-
"name": "deleteEvent",
|
|
2798
|
-
"type": {
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"description": "String which contains event if we have permission to delete user of empty string if not"
|
|
2802
|
-
},
|
|
2803
|
-
{
|
|
2804
|
-
"kind": "field",
|
|
2805
|
-
"name": "updateEvent",
|
|
2806
|
-
"type": {
|
|
2807
|
-
"text": "string"
|
|
2808
|
-
},
|
|
2809
|
-
"description": "String which contains event if we have permission to update user of empty string if not"
|
|
2810
|
-
},
|
|
2811
|
-
{
|
|
2812
|
-
"kind": "method",
|
|
2813
|
-
"name": "deepClone",
|
|
2814
|
-
"return": {
|
|
2815
|
-
"type": {
|
|
2816
|
-
"text": "Node"
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
],
|
|
2821
|
-
"attributes": [
|
|
2822
|
-
{
|
|
2823
|
-
"name": "design-system-prefix",
|
|
2824
|
-
"type": {
|
|
2825
|
-
"text": "string"
|
|
2826
|
-
},
|
|
2827
|
-
"default": "'zero'",
|
|
2828
|
-
"description": "Name of the design system prefix that will be used for components.",
|
|
2829
|
-
"fieldName": "prefix"
|
|
2830
|
-
},
|
|
2831
|
-
{
|
|
2832
|
-
"name": "persist-column-state-key",
|
|
2833
|
-
"type": {
|
|
2834
|
-
"text": "string"
|
|
2835
|
-
},
|
|
2836
|
-
"default": "'entity_users_management'",
|
|
2837
|
-
"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`.",
|
|
2838
|
-
"fieldName": "persistColumnStateKey"
|
|
2839
|
-
},
|
|
2840
|
-
{
|
|
2841
|
-
"name": "enable-search-bar",
|
|
2842
|
-
"type": {
|
|
2843
|
-
"text": "boolean"
|
|
2844
|
-
},
|
|
2845
|
-
"default": "false",
|
|
2846
|
-
"description": "This attribute controls whether to enable the search-bar.",
|
|
2847
|
-
"fieldName": "enableSearchBar"
|
|
2848
|
-
}
|
|
2849
|
-
],
|
|
2850
|
-
"mixins": [
|
|
2851
|
-
{
|
|
2852
|
-
"name": "LifecycleMixin",
|
|
2853
|
-
"package": "@genesislcap/foundation-utils"
|
|
2854
|
-
}
|
|
2855
|
-
],
|
|
2922
|
+
"description": "",
|
|
2923
|
+
"name": "EntityManagementDemo",
|
|
2856
2924
|
"superclass": {
|
|
2857
2925
|
"name": "FASTElement",
|
|
2858
2926
|
"package": "@microsoft/fast-element"
|
|
2859
2927
|
},
|
|
2860
|
-
"
|
|
2861
|
-
"tagName": "user-management",
|
|
2928
|
+
"tagName": "entity-management-demo",
|
|
2862
2929
|
"customElement": true
|
|
2863
2930
|
}
|
|
2864
2931
|
],
|
|
2865
2932
|
"exports": [
|
|
2866
2933
|
{
|
|
2867
2934
|
"kind": "js",
|
|
2868
|
-
"name": "
|
|
2869
|
-
"declaration": {
|
|
2870
|
-
"name": "UsersColumnConfig",
|
|
2871
|
-
"module": "src/users/users.ts"
|
|
2872
|
-
}
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"kind": "js",
|
|
2876
|
-
"name": "Users",
|
|
2935
|
+
"name": "EntityManagementDemo",
|
|
2877
2936
|
"declaration": {
|
|
2878
|
-
"name": "
|
|
2879
|
-
"module": "src/
|
|
2937
|
+
"name": "EntityManagementDemo",
|
|
2938
|
+
"module": "src/routes/demo/entity-management.ts"
|
|
2880
2939
|
}
|
|
2881
2940
|
},
|
|
2882
2941
|
{
|
|
2883
2942
|
"kind": "custom-element-definition",
|
|
2884
|
-
"name": "
|
|
2943
|
+
"name": "entity-management-demo",
|
|
2885
2944
|
"declaration": {
|
|
2886
|
-
"name": "
|
|
2887
|
-
"module": "src/
|
|
2945
|
+
"name": "EntityManagementDemo",
|
|
2946
|
+
"module": "src/routes/demo/entity-management.ts"
|
|
2888
2947
|
}
|
|
2889
2948
|
}
|
|
2890
2949
|
]
|
|
@@ -3004,65 +3063,6 @@
|
|
|
3004
3063
|
}
|
|
3005
3064
|
}
|
|
3006
3065
|
]
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "javascript-module",
|
|
3010
|
-
"path": "src/routes/demo/entity-management.template.ts",
|
|
3011
|
-
"declarations": [
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "variable",
|
|
3014
|
-
"name": "EntityManagementDemoTemplate",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "ViewTemplate"
|
|
3017
|
-
},
|
|
3018
|
-
"default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
|
|
3019
|
-
}
|
|
3020
|
-
],
|
|
3021
|
-
"exports": [
|
|
3022
|
-
{
|
|
3023
|
-
"kind": "js",
|
|
3024
|
-
"name": "EntityManagementDemoTemplate",
|
|
3025
|
-
"declaration": {
|
|
3026
|
-
"name": "EntityManagementDemoTemplate",
|
|
3027
|
-
"module": "src/routes/demo/entity-management.template.ts"
|
|
3028
|
-
}
|
|
3029
|
-
}
|
|
3030
|
-
]
|
|
3031
|
-
},
|
|
3032
|
-
{
|
|
3033
|
-
"kind": "javascript-module",
|
|
3034
|
-
"path": "src/routes/demo/entity-management.ts",
|
|
3035
|
-
"declarations": [
|
|
3036
|
-
{
|
|
3037
|
-
"kind": "class",
|
|
3038
|
-
"description": "",
|
|
3039
|
-
"name": "EntityManagementDemo",
|
|
3040
|
-
"superclass": {
|
|
3041
|
-
"name": "FASTElement",
|
|
3042
|
-
"package": "@microsoft/fast-element"
|
|
3043
|
-
},
|
|
3044
|
-
"tagName": "entity-management-demo",
|
|
3045
|
-
"customElement": true
|
|
3046
|
-
}
|
|
3047
|
-
],
|
|
3048
|
-
"exports": [
|
|
3049
|
-
{
|
|
3050
|
-
"kind": "js",
|
|
3051
|
-
"name": "EntityManagementDemo",
|
|
3052
|
-
"declaration": {
|
|
3053
|
-
"name": "EntityManagementDemo",
|
|
3054
|
-
"module": "src/routes/demo/entity-management.ts"
|
|
3055
|
-
}
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"kind": "custom-element-definition",
|
|
3059
|
-
"name": "entity-management-demo",
|
|
3060
|
-
"declaration": {
|
|
3061
|
-
"name": "EntityManagementDemo",
|
|
3062
|
-
"module": "src/routes/demo/entity-management.ts"
|
|
3063
|
-
}
|
|
3064
|
-
}
|
|
3065
|
-
]
|
|
3066
3066
|
}
|
|
3067
3067
|
]
|
|
3068
3068
|
}
|