@genesislcap/foundation-entity-management 14.205.0 → 14.205.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +480 -480
  2. package/package.json +21 -21
@@ -1123,200 +1123,6 @@
1123
1123
  }
1124
1124
  ]
1125
1125
  },
1126
- {
1127
- "kind": "javascript-module",
1128
- "path": "src/layouts/default.ts",
1129
- "declarations": [
1130
- {
1131
- "kind": "variable",
1132
- "name": "loginLayout",
1133
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1134
- },
1135
- {
1136
- "kind": "variable",
1137
- "name": "defaultLayout",
1138
- "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)"
1139
- }
1140
- ],
1141
- "exports": [
1142
- {
1143
- "kind": "js",
1144
- "name": "loginLayout",
1145
- "declaration": {
1146
- "name": "loginLayout",
1147
- "module": "src/layouts/default.ts"
1148
- }
1149
- },
1150
- {
1151
- "kind": "js",
1152
- "name": "defaultLayout",
1153
- "declaration": {
1154
- "name": "defaultLayout",
1155
- "module": "src/layouts/default.ts"
1156
- }
1157
- }
1158
- ]
1159
- },
1160
- {
1161
- "kind": "javascript-module",
1162
- "path": "src/layouts/index.ts",
1163
- "declarations": [],
1164
- "exports": [
1165
- {
1166
- "kind": "js",
1167
- "name": "*",
1168
- "declaration": {
1169
- "name": "*",
1170
- "package": "./default"
1171
- }
1172
- }
1173
- ]
1174
- },
1175
- {
1176
- "kind": "javascript-module",
1177
- "path": "src/main/index.ts",
1178
- "declarations": [],
1179
- "exports": [
1180
- {
1181
- "kind": "js",
1182
- "name": "*",
1183
- "declaration": {
1184
- "name": "*",
1185
- "package": "./main.template"
1186
- }
1187
- },
1188
- {
1189
- "kind": "js",
1190
- "name": "*",
1191
- "declaration": {
1192
- "name": "*",
1193
- "package": "./main"
1194
- }
1195
- }
1196
- ]
1197
- },
1198
- {
1199
- "kind": "javascript-module",
1200
- "path": "src/main/main.styles.ts",
1201
- "declarations": [
1202
- {
1203
- "kind": "variable",
1204
- "name": "MainStyles",
1205
- "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1206
- }
1207
- ],
1208
- "exports": [
1209
- {
1210
- "kind": "js",
1211
- "name": "MainStyles",
1212
- "declaration": {
1213
- "name": "MainStyles",
1214
- "module": "src/main/main.styles.ts"
1215
- }
1216
- }
1217
- ]
1218
- },
1219
- {
1220
- "kind": "javascript-module",
1221
- "path": "src/main/main.template.ts",
1222
- "declarations": [],
1223
- "exports": []
1224
- },
1225
- {
1226
- "kind": "javascript-module",
1227
- "path": "src/main/main.ts",
1228
- "declarations": [
1229
- {
1230
- "kind": "class",
1231
- "description": "",
1232
- "name": "MainApplication",
1233
- "members": [
1234
- {
1235
- "kind": "field",
1236
- "name": "config",
1237
- "type": {
1238
- "text": "MainRouterConfig"
1239
- }
1240
- },
1241
- {
1242
- "kind": "field",
1243
- "name": "connect",
1244
- "type": {
1245
- "text": "Connect"
1246
- }
1247
- },
1248
- {
1249
- "kind": "field",
1250
- "name": "session",
1251
- "type": {
1252
- "text": "Session"
1253
- }
1254
- },
1255
- {
1256
- "kind": "field",
1257
- "name": "container",
1258
- "type": {
1259
- "text": "Container"
1260
- }
1261
- },
1262
- {
1263
- "kind": "field",
1264
- "name": "provider",
1265
- "type": {
1266
- "text": "HTMLElement"
1267
- }
1268
- },
1269
- {
1270
- "kind": "field",
1271
- "name": "ready",
1272
- "type": {
1273
- "text": "boolean"
1274
- },
1275
- "default": "false"
1276
- },
1277
- {
1278
- "kind": "method",
1279
- "name": "onLuminanceToggle"
1280
- },
1281
- {
1282
- "kind": "method",
1283
- "name": "loadRemotes"
1284
- },
1285
- {
1286
- "kind": "method",
1287
- "name": "selectTemplate"
1288
- },
1289
- {
1290
- "kind": "method",
1291
- "name": "registerDIDependencies",
1292
- "privacy": "private"
1293
- }
1294
- ],
1295
- "superclass": {
1296
- "name": "FASTElement",
1297
- "package": "@microsoft/fast-element"
1298
- },
1299
- "customElement": true
1300
- }
1301
- ],
1302
- "exports": [
1303
- {
1304
- "kind": "js",
1305
- "name": "MainApplication",
1306
- "declaration": {
1307
- "name": "MainApplication",
1308
- "module": "src/main/main.ts"
1309
- }
1310
- },
1311
- {
1312
- "kind": "custom-element-definition",
1313
- "declaration": {
1314
- "name": "MainApplication",
1315
- "module": "src/main/main.ts"
1316
- }
1317
- }
1318
- ]
1319
- },
1320
1126
  {
1321
1127
  "kind": "javascript-module",
1322
1128
  "path": "src/list/index.ts",
@@ -1819,13 +1625,7 @@
1819
1625
  },
1820
1626
  {
1821
1627
  "kind": "javascript-module",
1822
- "path": "src/routes/config.ts",
1823
- "declarations": [],
1824
- "exports": []
1825
- },
1826
- {
1827
- "kind": "javascript-module",
1828
- "path": "src/routes/index.ts",
1628
+ "path": "src/main/index.ts",
1829
1629
  "declarations": [],
1830
1630
  "exports": [
1831
1631
  {
@@ -1833,296 +1633,178 @@
1833
1633
  "name": "*",
1834
1634
  "declaration": {
1835
1635
  "name": "*",
1836
- "package": "./config"
1636
+ "package": "./main.template"
1637
+ }
1638
+ },
1639
+ {
1640
+ "kind": "js",
1641
+ "name": "*",
1642
+ "declaration": {
1643
+ "name": "*",
1644
+ "package": "./main"
1837
1645
  }
1838
1646
  }
1839
1647
  ]
1840
1648
  },
1841
1649
  {
1842
1650
  "kind": "javascript-module",
1843
- "path": "src/users/users.template.ts",
1651
+ "path": "src/main/main.styles.ts",
1844
1652
  "declarations": [
1845
1653
  {
1846
- "kind": "function",
1847
- "name": "getPrefixedUsers",
1848
- "parameters": [
1849
- {
1850
- "name": "prefix"
1851
- }
1852
- ]
1654
+ "kind": "variable",
1655
+ "name": "MainStyles",
1656
+ "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1853
1657
  }
1854
1658
  ],
1855
1659
  "exports": [
1856
1660
  {
1857
1661
  "kind": "js",
1858
- "name": "getPrefixedUsers",
1662
+ "name": "MainStyles",
1859
1663
  "declaration": {
1860
- "name": "getPrefixedUsers",
1861
- "module": "src/users/users.template.ts"
1664
+ "name": "MainStyles",
1665
+ "module": "src/main/main.styles.ts"
1862
1666
  }
1863
1667
  }
1864
1668
  ]
1865
1669
  },
1866
1670
  {
1867
1671
  "kind": "javascript-module",
1868
- "path": "src/users/users.ts",
1672
+ "path": "src/main/main.template.ts",
1673
+ "declarations": [],
1674
+ "exports": []
1675
+ },
1676
+ {
1677
+ "kind": "javascript-module",
1678
+ "path": "src/main/main.ts",
1869
1679
  "declarations": [
1870
- {
1871
- "kind": "variable",
1872
- "name": "UsersColumnConfig",
1873
- "type": {
1874
- "text": "array"
1875
- },
1876
- "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]",
1877
- "description": "Defines the default columns which are present on the user management component",
1878
- "privacy": "public"
1879
- },
1880
1680
  {
1881
1681
  "kind": "class",
1882
- "description": "Main class which defines the user management functionality",
1883
- "name": "Users",
1682
+ "description": "",
1683
+ "name": "MainApplication",
1884
1684
  "members": [
1885
1685
  {
1886
1686
  "kind": "field",
1887
- "name": "prefix",
1687
+ "name": "config",
1888
1688
  "type": {
1889
- "text": "string"
1890
- },
1891
- "default": "'zero'",
1892
- "description": "Name of the design system prefix that will be used for components.",
1893
- "privacy": "public"
1894
- },
1895
- {
1896
- "kind": "field",
1897
- "name": "persistColumnStateKey",
1898
- "type": {
1899
- "text": "string"
1900
- },
1901
- "default": "'entity_users_management'",
1902
- "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`.",
1903
- "privacy": "public"
1904
- },
1905
- {
1906
- "kind": "field",
1907
- "name": "enableSearchBar",
1908
- "type": {
1909
- "text": "boolean"
1910
- },
1911
- "default": "false",
1912
- "description": "This attribute controls whether to enable the search-bar.",
1913
- "privacy": "public"
1914
- },
1915
- {
1916
- "kind": "field",
1917
- "name": "datasourceType",
1918
- "type": {
1919
- "text": "DatasourceType"
1920
- },
1921
- "default": "'client'",
1922
- "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
1923
- "privacy": "public"
1924
- },
1925
- {
1926
- "kind": "field",
1927
- "name": "isServerSideDatasource",
1928
- "type": {
1929
- "text": "boolean"
1930
- },
1931
- "readonly": true
1932
- },
1933
- {
1934
- "kind": "field",
1935
- "name": "gridOptions",
1936
- "type": {
1937
- "text": "GridOptions"
1938
- },
1939
- "description": "GridOptions to be passed down from application",
1940
- "privacy": "public"
1941
- },
1942
- {
1943
- "kind": "field",
1944
- "name": "columns",
1945
- "type": {
1946
- "text": "(ColDef<any> | ColGroupDef<any>)[]"
1947
- },
1948
- "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]",
1949
- "description": "Column definition, default to the UsersColumnConfig"
1950
- },
1951
- {
1952
- "kind": "field",
1953
- "name": "additionalCreateFields",
1954
- "type": {
1955
- "text": "AdditionalEntry[]"
1956
- },
1957
- "default": "[]"
1958
- },
1959
- {
1960
- "kind": "field",
1961
- "name": "additionalUpdateFields",
1962
- "type": {
1963
- "text": "AdditionalEntry[]"
1964
- },
1965
- "default": "[]"
1689
+ "text": "MainRouterConfig"
1690
+ }
1966
1691
  },
1967
1692
  {
1968
1693
  "kind": "field",
1969
- "name": "allAccessType",
1694
+ "name": "connect",
1970
1695
  "type": {
1971
- "text": "boolean"
1696
+ "text": "Connect"
1972
1697
  }
1973
1698
  },
1974
1699
  {
1975
1700
  "kind": "field",
1976
- "name": "entityIdValue",
1701
+ "name": "session",
1977
1702
  "type": {
1978
- "text": "string"
1979
- },
1980
- "privacy": "private"
1703
+ "text": "Session"
1704
+ }
1981
1705
  },
1982
1706
  {
1983
1707
  "kind": "field",
1984
- "name": "createEvent",
1708
+ "name": "container",
1985
1709
  "type": {
1986
- "text": "string"
1987
- },
1988
- "description": "String which contains event if we have permission to insert user of empty string if not"
1710
+ "text": "Container"
1711
+ }
1989
1712
  },
1990
1713
  {
1991
1714
  "kind": "field",
1992
- "name": "deleteEvent",
1715
+ "name": "provider",
1993
1716
  "type": {
1994
- "text": "string"
1995
- },
1996
- "description": "String which contains event if we have permission to delete user of empty string if not"
1717
+ "text": "HTMLElement"
1718
+ }
1997
1719
  },
1998
1720
  {
1999
1721
  "kind": "field",
2000
- "name": "updateEvent",
1722
+ "name": "ready",
2001
1723
  "type": {
2002
- "text": "string"
1724
+ "text": "boolean"
2003
1725
  },
2004
- "description": "String which contains event if we have permission to update user of empty string if not"
1726
+ "default": "false"
2005
1727
  },
2006
1728
  {
2007
1729
  "kind": "method",
2008
- "name": "deepClone",
2009
- "return": {
2010
- "type": {
2011
- "text": "Node"
2012
- }
2013
- }
2014
- }
2015
- ],
2016
- "attributes": [
2017
- {
2018
- "name": "design-system-prefix",
2019
- "type": {
2020
- "text": "string"
2021
- },
2022
- "default": "'zero'",
2023
- "description": "Name of the design system prefix that will be used for components.",
2024
- "fieldName": "prefix"
1730
+ "name": "onLuminanceToggle"
2025
1731
  },
2026
1732
  {
2027
- "name": "persist-column-state-key",
2028
- "type": {
2029
- "text": "string"
2030
- },
2031
- "default": "'entity_users_management'",
2032
- "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`.",
2033
- "fieldName": "persistColumnStateKey"
1733
+ "kind": "method",
1734
+ "name": "loadRemotes"
2034
1735
  },
2035
1736
  {
2036
- "name": "enable-search-bar",
2037
- "type": {
2038
- "text": "boolean"
2039
- },
2040
- "default": "false",
2041
- "description": "This attribute controls whether to enable the search-bar.",
2042
- "fieldName": "enableSearchBar"
1737
+ "kind": "method",
1738
+ "name": "selectTemplate"
2043
1739
  },
2044
1740
  {
2045
- "name": "datasource-type",
2046
- "type": {
2047
- "text": "DatasourceType"
2048
- },
2049
- "default": "'client'",
2050
- "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
2051
- "fieldName": "datasourceType"
2052
- }
2053
- ],
2054
- "mixins": [
2055
- {
2056
- "name": "LifecycleMixin",
2057
- "package": "@genesislcap/foundation-utils"
1741
+ "kind": "method",
1742
+ "name": "registerDIDependencies",
1743
+ "privacy": "private"
2058
1744
  }
2059
1745
  ],
2060
1746
  "superclass": {
2061
1747
  "name": "FASTElement",
2062
1748
  "package": "@microsoft/fast-element"
2063
1749
  },
2064
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2065
- "tagName": "user-management",
2066
1750
  "customElement": true
2067
1751
  }
2068
1752
  ],
2069
1753
  "exports": [
2070
1754
  {
2071
1755
  "kind": "js",
2072
- "name": "UsersColumnConfig",
2073
- "declaration": {
2074
- "name": "UsersColumnConfig",
2075
- "module": "src/users/users.ts"
2076
- }
2077
- },
2078
- {
2079
- "kind": "js",
2080
- "name": "Users",
1756
+ "name": "MainApplication",
2081
1757
  "declaration": {
2082
- "name": "Users",
2083
- "module": "src/users/users.ts"
1758
+ "name": "MainApplication",
1759
+ "module": "src/main/main.ts"
2084
1760
  }
2085
1761
  },
2086
1762
  {
2087
1763
  "kind": "custom-element-definition",
2088
- "name": "user-management",
2089
1764
  "declaration": {
2090
- "name": "Users",
2091
- "module": "src/users/users.ts"
1765
+ "name": "MainApplication",
1766
+ "module": "src/main/main.ts"
2092
1767
  }
2093
1768
  }
2094
1769
  ]
2095
1770
  },
2096
1771
  {
2097
1772
  "kind": "javascript-module",
2098
- "path": "src/utils/formatting.ts",
1773
+ "path": "src/layouts/default.ts",
2099
1774
  "declarations": [
2100
1775
  {
2101
- "kind": "function",
2102
- "name": "getErrorFormat",
2103
- "parameters": [
2104
- {
2105
- "name": "err"
2106
- }
2107
- ],
2108
- "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
2109
- "privacy": "public"
1776
+ "kind": "variable",
1777
+ "name": "loginLayout",
1778
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1779
+ },
1780
+ {
1781
+ "kind": "variable",
1782
+ "name": "defaultLayout",
1783
+ "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)"
2110
1784
  }
2111
1785
  ],
2112
1786
  "exports": [
2113
1787
  {
2114
1788
  "kind": "js",
2115
- "name": "getErrorFormat",
1789
+ "name": "loginLayout",
2116
1790
  "declaration": {
2117
- "name": "getErrorFormat",
2118
- "module": "src/utils/formatting.ts"
1791
+ "name": "loginLayout",
1792
+ "module": "src/layouts/default.ts"
1793
+ }
1794
+ },
1795
+ {
1796
+ "kind": "js",
1797
+ "name": "defaultLayout",
1798
+ "declaration": {
1799
+ "name": "defaultLayout",
1800
+ "module": "src/layouts/default.ts"
2119
1801
  }
2120
1802
  }
2121
1803
  ]
2122
1804
  },
2123
1805
  {
2124
1806
  "kind": "javascript-module",
2125
- "path": "src/utils/index.ts",
1807
+ "path": "src/layouts/index.ts",
2126
1808
  "declarations": [],
2127
1809
  "exports": [
2128
1810
  {
@@ -2130,112 +1812,38 @@
2130
1812
  "name": "*",
2131
1813
  "declaration": {
2132
1814
  "name": "*",
2133
- "package": "./formatting"
2134
- }
2135
- },
2136
- {
2137
- "kind": "js",
2138
- "name": "*",
2139
- "declaration": {
2140
- "name": "*",
2141
- "package": "./logger"
2142
- }
2143
- },
2144
- {
2145
- "kind": "js",
2146
- "name": "*",
2147
- "declaration": {
2148
- "name": "*",
2149
- "package": "./renderer"
1815
+ "package": "./default"
2150
1816
  }
2151
1817
  }
2152
1818
  ]
2153
1819
  },
2154
1820
  {
2155
1821
  "kind": "javascript-module",
2156
- "path": "src/utils/logger.ts",
1822
+ "path": "src/profiles/editProfileSchema.ts",
2157
1823
  "declarations": [
2158
1824
  {
2159
1825
  "kind": "variable",
2160
- "name": "logger",
2161
- "privacy": "public"
1826
+ "name": "editProfileFormSchema",
1827
+ "type": {
1828
+ "text": "UiSchema"
1829
+ },
1830
+ "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}"
2162
1831
  }
2163
1832
  ],
2164
1833
  "exports": [
2165
1834
  {
2166
1835
  "kind": "js",
2167
- "name": "logger",
1836
+ "name": "editProfileFormSchema",
2168
1837
  "declaration": {
2169
- "name": "logger",
2170
- "module": "src/utils/logger.ts"
1838
+ "name": "editProfileFormSchema",
1839
+ "module": "src/profiles/editProfileSchema.ts"
2171
1840
  }
2172
1841
  }
2173
1842
  ]
2174
1843
  },
2175
1844
  {
2176
1845
  "kind": "javascript-module",
2177
- "path": "src/utils/renderer.ts",
2178
- "declarations": [
2179
- {
2180
- "kind": "function",
2181
- "name": "buttonCellRenderer",
2182
- "return": {
2183
- "type": {
2184
- "text": "ColDef"
2185
- }
2186
- },
2187
- "parameters": [
2188
- {
2189
- "name": "title"
2190
- },
2191
- {
2192
- "name": "clickHandler"
2193
- },
2194
- {
2195
- "name": "contentTemplate"
2196
- }
2197
- ],
2198
- "privacy": "public"
2199
- }
2200
- ],
2201
- "exports": [
2202
- {
2203
- "kind": "js",
2204
- "name": "buttonCellRenderer",
2205
- "declaration": {
2206
- "name": "buttonCellRenderer",
2207
- "module": "src/utils/renderer.ts"
2208
- }
2209
- }
2210
- ]
2211
- },
2212
- {
2213
- "kind": "javascript-module",
2214
- "path": "src/profiles/editProfileSchema.ts",
2215
- "declarations": [
2216
- {
2217
- "kind": "variable",
2218
- "name": "editProfileFormSchema",
2219
- "type": {
2220
- "text": "UiSchema"
2221
- },
2222
- "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}"
2223
- }
2224
- ],
2225
- "exports": [
2226
- {
2227
- "kind": "js",
2228
- "name": "editProfileFormSchema",
2229
- "declaration": {
2230
- "name": "editProfileFormSchema",
2231
- "module": "src/profiles/editProfileSchema.ts"
2232
- }
2233
- }
2234
- ]
2235
- },
2236
- {
2237
- "kind": "javascript-module",
2238
- "path": "src/profiles/profiles.ts",
1846
+ "path": "src/profiles/profiles.ts",
2239
1847
  "declarations": [
2240
1848
  {
2241
1849
  "kind": "class",
@@ -3522,6 +3130,398 @@
3522
3130
  }
3523
3131
  ]
3524
3132
  },
3133
+ {
3134
+ "kind": "javascript-module",
3135
+ "path": "src/routes/config.ts",
3136
+ "declarations": [],
3137
+ "exports": []
3138
+ },
3139
+ {
3140
+ "kind": "javascript-module",
3141
+ "path": "src/routes/index.ts",
3142
+ "declarations": [],
3143
+ "exports": [
3144
+ {
3145
+ "kind": "js",
3146
+ "name": "*",
3147
+ "declaration": {
3148
+ "name": "*",
3149
+ "package": "./config"
3150
+ }
3151
+ }
3152
+ ]
3153
+ },
3154
+ {
3155
+ "kind": "javascript-module",
3156
+ "path": "src/users/users.template.ts",
3157
+ "declarations": [
3158
+ {
3159
+ "kind": "function",
3160
+ "name": "getPrefixedUsers",
3161
+ "parameters": [
3162
+ {
3163
+ "name": "prefix"
3164
+ }
3165
+ ]
3166
+ }
3167
+ ],
3168
+ "exports": [
3169
+ {
3170
+ "kind": "js",
3171
+ "name": "getPrefixedUsers",
3172
+ "declaration": {
3173
+ "name": "getPrefixedUsers",
3174
+ "module": "src/users/users.template.ts"
3175
+ }
3176
+ }
3177
+ ]
3178
+ },
3179
+ {
3180
+ "kind": "javascript-module",
3181
+ "path": "src/users/users.ts",
3182
+ "declarations": [
3183
+ {
3184
+ "kind": "variable",
3185
+ "name": "UsersColumnConfig",
3186
+ "type": {
3187
+ "text": "array"
3188
+ },
3189
+ "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]",
3190
+ "description": "Defines the default columns which are present on the user management component",
3191
+ "privacy": "public"
3192
+ },
3193
+ {
3194
+ "kind": "class",
3195
+ "description": "Main class which defines the user management functionality",
3196
+ "name": "Users",
3197
+ "members": [
3198
+ {
3199
+ "kind": "field",
3200
+ "name": "prefix",
3201
+ "type": {
3202
+ "text": "string"
3203
+ },
3204
+ "default": "'zero'",
3205
+ "description": "Name of the design system prefix that will be used for components.",
3206
+ "privacy": "public"
3207
+ },
3208
+ {
3209
+ "kind": "field",
3210
+ "name": "persistColumnStateKey",
3211
+ "type": {
3212
+ "text": "string"
3213
+ },
3214
+ "default": "'entity_users_management'",
3215
+ "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`.",
3216
+ "privacy": "public"
3217
+ },
3218
+ {
3219
+ "kind": "field",
3220
+ "name": "enableSearchBar",
3221
+ "type": {
3222
+ "text": "boolean"
3223
+ },
3224
+ "default": "false",
3225
+ "description": "This attribute controls whether to enable the search-bar.",
3226
+ "privacy": "public"
3227
+ },
3228
+ {
3229
+ "kind": "field",
3230
+ "name": "datasourceType",
3231
+ "type": {
3232
+ "text": "DatasourceType"
3233
+ },
3234
+ "default": "'client'",
3235
+ "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
3236
+ "privacy": "public"
3237
+ },
3238
+ {
3239
+ "kind": "field",
3240
+ "name": "isServerSideDatasource",
3241
+ "type": {
3242
+ "text": "boolean"
3243
+ },
3244
+ "readonly": true
3245
+ },
3246
+ {
3247
+ "kind": "field",
3248
+ "name": "gridOptions",
3249
+ "type": {
3250
+ "text": "GridOptions"
3251
+ },
3252
+ "description": "GridOptions to be passed down from application",
3253
+ "privacy": "public"
3254
+ },
3255
+ {
3256
+ "kind": "field",
3257
+ "name": "columns",
3258
+ "type": {
3259
+ "text": "(ColDef<any> | ColGroupDef<any>)[]"
3260
+ },
3261
+ "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]",
3262
+ "description": "Column definition, default to the UsersColumnConfig"
3263
+ },
3264
+ {
3265
+ "kind": "field",
3266
+ "name": "additionalCreateFields",
3267
+ "type": {
3268
+ "text": "AdditionalEntry[]"
3269
+ },
3270
+ "default": "[]"
3271
+ },
3272
+ {
3273
+ "kind": "field",
3274
+ "name": "additionalUpdateFields",
3275
+ "type": {
3276
+ "text": "AdditionalEntry[]"
3277
+ },
3278
+ "default": "[]"
3279
+ },
3280
+ {
3281
+ "kind": "field",
3282
+ "name": "allAccessType",
3283
+ "type": {
3284
+ "text": "boolean"
3285
+ }
3286
+ },
3287
+ {
3288
+ "kind": "field",
3289
+ "name": "entityIdValue",
3290
+ "type": {
3291
+ "text": "string"
3292
+ },
3293
+ "privacy": "private"
3294
+ },
3295
+ {
3296
+ "kind": "field",
3297
+ "name": "createEvent",
3298
+ "type": {
3299
+ "text": "string"
3300
+ },
3301
+ "description": "String which contains event if we have permission to insert user of empty string if not"
3302
+ },
3303
+ {
3304
+ "kind": "field",
3305
+ "name": "deleteEvent",
3306
+ "type": {
3307
+ "text": "string"
3308
+ },
3309
+ "description": "String which contains event if we have permission to delete user of empty string if not"
3310
+ },
3311
+ {
3312
+ "kind": "field",
3313
+ "name": "updateEvent",
3314
+ "type": {
3315
+ "text": "string"
3316
+ },
3317
+ "description": "String which contains event if we have permission to update user of empty string if not"
3318
+ },
3319
+ {
3320
+ "kind": "method",
3321
+ "name": "deepClone",
3322
+ "return": {
3323
+ "type": {
3324
+ "text": "Node"
3325
+ }
3326
+ }
3327
+ }
3328
+ ],
3329
+ "attributes": [
3330
+ {
3331
+ "name": "design-system-prefix",
3332
+ "type": {
3333
+ "text": "string"
3334
+ },
3335
+ "default": "'zero'",
3336
+ "description": "Name of the design system prefix that will be used for components.",
3337
+ "fieldName": "prefix"
3338
+ },
3339
+ {
3340
+ "name": "persist-column-state-key",
3341
+ "type": {
3342
+ "text": "string"
3343
+ },
3344
+ "default": "'entity_users_management'",
3345
+ "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`.",
3346
+ "fieldName": "persistColumnStateKey"
3347
+ },
3348
+ {
3349
+ "name": "enable-search-bar",
3350
+ "type": {
3351
+ "text": "boolean"
3352
+ },
3353
+ "default": "false",
3354
+ "description": "This attribute controls whether to enable the search-bar.",
3355
+ "fieldName": "enableSearchBar"
3356
+ },
3357
+ {
3358
+ "name": "datasource-type",
3359
+ "type": {
3360
+ "text": "DatasourceType"
3361
+ },
3362
+ "default": "'client'",
3363
+ "description": "If set to 'server' it will enable Server-Side Row Model and use `grid-pro-server-side-datasource` for the grid of the `entity-list` sub-component.\nBy default `grid-pro-client-side-datasource` will be used.",
3364
+ "fieldName": "datasourceType"
3365
+ }
3366
+ ],
3367
+ "mixins": [
3368
+ {
3369
+ "name": "LifecycleMixin",
3370
+ "package": "@genesislcap/foundation-utils"
3371
+ }
3372
+ ],
3373
+ "superclass": {
3374
+ "name": "FASTElement",
3375
+ "package": "@microsoft/fast-element"
3376
+ },
3377
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
3378
+ "tagName": "user-management",
3379
+ "customElement": true
3380
+ }
3381
+ ],
3382
+ "exports": [
3383
+ {
3384
+ "kind": "js",
3385
+ "name": "UsersColumnConfig",
3386
+ "declaration": {
3387
+ "name": "UsersColumnConfig",
3388
+ "module": "src/users/users.ts"
3389
+ }
3390
+ },
3391
+ {
3392
+ "kind": "js",
3393
+ "name": "Users",
3394
+ "declaration": {
3395
+ "name": "Users",
3396
+ "module": "src/users/users.ts"
3397
+ }
3398
+ },
3399
+ {
3400
+ "kind": "custom-element-definition",
3401
+ "name": "user-management",
3402
+ "declaration": {
3403
+ "name": "Users",
3404
+ "module": "src/users/users.ts"
3405
+ }
3406
+ }
3407
+ ]
3408
+ },
3409
+ {
3410
+ "kind": "javascript-module",
3411
+ "path": "src/utils/formatting.ts",
3412
+ "declarations": [
3413
+ {
3414
+ "kind": "function",
3415
+ "name": "getErrorFormat",
3416
+ "parameters": [
3417
+ {
3418
+ "name": "err"
3419
+ }
3420
+ ],
3421
+ "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
3422
+ "privacy": "public"
3423
+ }
3424
+ ],
3425
+ "exports": [
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "getErrorFormat",
3429
+ "declaration": {
3430
+ "name": "getErrorFormat",
3431
+ "module": "src/utils/formatting.ts"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
+ {
3437
+ "kind": "javascript-module",
3438
+ "path": "src/utils/index.ts",
3439
+ "declarations": [],
3440
+ "exports": [
3441
+ {
3442
+ "kind": "js",
3443
+ "name": "*",
3444
+ "declaration": {
3445
+ "name": "*",
3446
+ "package": "./formatting"
3447
+ }
3448
+ },
3449
+ {
3450
+ "kind": "js",
3451
+ "name": "*",
3452
+ "declaration": {
3453
+ "name": "*",
3454
+ "package": "./logger"
3455
+ }
3456
+ },
3457
+ {
3458
+ "kind": "js",
3459
+ "name": "*",
3460
+ "declaration": {
3461
+ "name": "*",
3462
+ "package": "./renderer"
3463
+ }
3464
+ }
3465
+ ]
3466
+ },
3467
+ {
3468
+ "kind": "javascript-module",
3469
+ "path": "src/utils/logger.ts",
3470
+ "declarations": [
3471
+ {
3472
+ "kind": "variable",
3473
+ "name": "logger",
3474
+ "privacy": "public"
3475
+ }
3476
+ ],
3477
+ "exports": [
3478
+ {
3479
+ "kind": "js",
3480
+ "name": "logger",
3481
+ "declaration": {
3482
+ "name": "logger",
3483
+ "module": "src/utils/logger.ts"
3484
+ }
3485
+ }
3486
+ ]
3487
+ },
3488
+ {
3489
+ "kind": "javascript-module",
3490
+ "path": "src/utils/renderer.ts",
3491
+ "declarations": [
3492
+ {
3493
+ "kind": "function",
3494
+ "name": "buttonCellRenderer",
3495
+ "return": {
3496
+ "type": {
3497
+ "text": "ColDef"
3498
+ }
3499
+ },
3500
+ "parameters": [
3501
+ {
3502
+ "name": "title"
3503
+ },
3504
+ {
3505
+ "name": "clickHandler"
3506
+ },
3507
+ {
3508
+ "name": "contentTemplate"
3509
+ }
3510
+ ],
3511
+ "privacy": "public"
3512
+ }
3513
+ ],
3514
+ "exports": [
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "buttonCellRenderer",
3518
+ "declaration": {
3519
+ "name": "buttonCellRenderer",
3520
+ "module": "src/utils/renderer.ts"
3521
+ }
3522
+ }
3523
+ ]
3524
+ },
3525
3525
  {
3526
3526
  "kind": "javascript-module",
3527
3527
  "path": "src/routes/demo/entity-management.template.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.205.0",
4
+ "version": "14.205.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -52,29 +52,29 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@genesislcap/foundation-testing": "14.205.0",
56
- "@genesislcap/genx": "14.205.0",
57
- "@genesislcap/rollup-builder": "14.205.0",
58
- "@genesislcap/ts-builder": "14.205.0",
59
- "@genesislcap/uvu-playwright-builder": "14.205.0",
60
- "@genesislcap/vite-builder": "14.205.0",
61
- "@genesislcap/webpack-builder": "14.205.0",
55
+ "@genesislcap/foundation-testing": "14.205.1",
56
+ "@genesislcap/genx": "14.205.1",
57
+ "@genesislcap/rollup-builder": "14.205.1",
58
+ "@genesislcap/ts-builder": "14.205.1",
59
+ "@genesislcap/uvu-playwright-builder": "14.205.1",
60
+ "@genesislcap/vite-builder": "14.205.1",
61
+ "@genesislcap/webpack-builder": "14.205.1",
62
62
  "rimraf": "^5.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "@ag-grid-community/core": "29.2.0",
66
- "@genesislcap/foundation-comms": "14.205.0",
67
- "@genesislcap/foundation-errors": "14.205.0",
68
- "@genesislcap/foundation-events": "14.205.0",
69
- "@genesislcap/foundation-forms": "14.205.0",
70
- "@genesislcap/foundation-logger": "14.205.0",
71
- "@genesislcap/foundation-login": "14.205.0",
72
- "@genesislcap/foundation-notifications": "14.205.0",
73
- "@genesislcap/foundation-ui": "14.205.0",
74
- "@genesislcap/foundation-utils": "14.205.0",
75
- "@genesislcap/foundation-zero": "14.205.0",
76
- "@genesislcap/foundation-zero-grid-pro": "14.205.0",
77
- "@genesislcap/grid-pro": "14.205.0",
66
+ "@genesislcap/foundation-comms": "14.205.1",
67
+ "@genesislcap/foundation-errors": "14.205.1",
68
+ "@genesislcap/foundation-events": "14.205.1",
69
+ "@genesislcap/foundation-forms": "14.205.1",
70
+ "@genesislcap/foundation-logger": "14.205.1",
71
+ "@genesislcap/foundation-login": "14.205.1",
72
+ "@genesislcap/foundation-notifications": "14.205.1",
73
+ "@genesislcap/foundation-ui": "14.205.1",
74
+ "@genesislcap/foundation-utils": "14.205.1",
75
+ "@genesislcap/foundation-zero": "14.205.1",
76
+ "@genesislcap/foundation-zero-grid-pro": "14.205.1",
77
+ "@genesislcap/grid-pro": "14.205.1",
78
78
  "@microsoft/fast-components": "^2.30.6",
79
79
  "@microsoft/fast-element": "^1.12.0",
80
80
  "@microsoft/fast-foundation": "^2.49.4",
@@ -90,5 +90,5 @@
90
90
  "access": "public"
91
91
  },
92
92
  "customElements": "dist/custom-elements.json",
93
- "gitHead": "2fe6ad833270c5eaf6188b0dff23f1db1496ff7f"
93
+ "gitHead": "038140d9695a4367c145d6bbbd4ec0a1dea78bc6"
94
94
  }