@genesislcap/foundation-entity-management 14.204.1 → 14.205.0

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 +450 -450
  2. package/package.json +21 -21
@@ -1172,6 +1172,151 @@
1172
1172
  }
1173
1173
  ]
1174
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
+ },
1175
1320
  {
1176
1321
  "kind": "javascript-module",
1177
1322
  "path": "src/list/index.ts",
@@ -1674,7 +1819,13 @@
1674
1819
  },
1675
1820
  {
1676
1821
  "kind": "javascript-module",
1677
- "path": "src/main/index.ts",
1822
+ "path": "src/routes/config.ts",
1823
+ "declarations": [],
1824
+ "exports": []
1825
+ },
1826
+ {
1827
+ "kind": "javascript-module",
1828
+ "path": "src/routes/index.ts",
1678
1829
  "declarations": [],
1679
1830
  "exports": [
1680
1831
  {
@@ -1682,137 +1833,378 @@
1682
1833
  "name": "*",
1683
1834
  "declaration": {
1684
1835
  "name": "*",
1685
- "package": "./main.template"
1686
- }
1687
- },
1688
- {
1689
- "kind": "js",
1690
- "name": "*",
1691
- "declaration": {
1692
- "name": "*",
1693
- "package": "./main"
1836
+ "package": "./config"
1694
1837
  }
1695
1838
  }
1696
1839
  ]
1697
1840
  },
1698
1841
  {
1699
1842
  "kind": "javascript-module",
1700
- "path": "src/main/main.styles.ts",
1843
+ "path": "src/users/users.template.ts",
1701
1844
  "declarations": [
1702
1845
  {
1703
- "kind": "variable",
1704
- "name": "MainStyles",
1705
- "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`"
1846
+ "kind": "function",
1847
+ "name": "getPrefixedUsers",
1848
+ "parameters": [
1849
+ {
1850
+ "name": "prefix"
1851
+ }
1852
+ ]
1706
1853
  }
1707
1854
  ],
1708
1855
  "exports": [
1709
1856
  {
1710
1857
  "kind": "js",
1711
- "name": "MainStyles",
1858
+ "name": "getPrefixedUsers",
1712
1859
  "declaration": {
1713
- "name": "MainStyles",
1714
- "module": "src/main/main.styles.ts"
1860
+ "name": "getPrefixedUsers",
1861
+ "module": "src/users/users.template.ts"
1715
1862
  }
1716
1863
  }
1717
1864
  ]
1718
1865
  },
1719
1866
  {
1720
1867
  "kind": "javascript-module",
1721
- "path": "src/main/main.template.ts",
1722
- "declarations": [],
1723
- "exports": []
1724
- },
1725
- {
1726
- "kind": "javascript-module",
1727
- "path": "src/main/main.ts",
1868
+ "path": "src/users/users.ts",
1728
1869
  "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
+ },
1729
1880
  {
1730
1881
  "kind": "class",
1731
- "description": "",
1732
- "name": "MainApplication",
1882
+ "description": "Main class which defines the user management functionality",
1883
+ "name": "Users",
1733
1884
  "members": [
1734
1885
  {
1735
1886
  "kind": "field",
1736
- "name": "config",
1887
+ "name": "prefix",
1737
1888
  "type": {
1738
- "text": "MainRouterConfig"
1739
- }
1889
+ "text": "string"
1890
+ },
1891
+ "default": "'zero'",
1892
+ "description": "Name of the design system prefix that will be used for components.",
1893
+ "privacy": "public"
1740
1894
  },
1741
1895
  {
1742
1896
  "kind": "field",
1743
- "name": "connect",
1897
+ "name": "persistColumnStateKey",
1744
1898
  "type": {
1745
- "text": "Connect"
1746
- }
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"
1747
1904
  },
1748
1905
  {
1749
1906
  "kind": "field",
1750
- "name": "session",
1907
+ "name": "enableSearchBar",
1751
1908
  "type": {
1752
- "text": "Session"
1753
- }
1909
+ "text": "boolean"
1910
+ },
1911
+ "default": "false",
1912
+ "description": "This attribute controls whether to enable the search-bar.",
1913
+ "privacy": "public"
1754
1914
  },
1755
1915
  {
1756
1916
  "kind": "field",
1757
- "name": "container",
1917
+ "name": "datasourceType",
1758
1918
  "type": {
1759
- "text": "Container"
1760
- }
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"
1761
1924
  },
1762
1925
  {
1763
1926
  "kind": "field",
1764
- "name": "provider",
1927
+ "name": "isServerSideDatasource",
1765
1928
  "type": {
1766
- "text": "HTMLElement"
1767
- }
1929
+ "text": "boolean"
1930
+ },
1931
+ "readonly": true
1768
1932
  },
1769
1933
  {
1770
1934
  "kind": "field",
1771
- "name": "ready",
1935
+ "name": "gridOptions",
1772
1936
  "type": {
1773
- "text": "boolean"
1937
+ "text": "GridOptions"
1774
1938
  },
1775
- "default": "false"
1939
+ "description": "GridOptions to be passed down from application",
1940
+ "privacy": "public"
1776
1941
  },
1777
1942
  {
1778
- "kind": "method",
1779
- "name": "onLuminanceToggle"
1780
- },
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
+ },
1781
1951
  {
1782
- "kind": "method",
1783
- "name": "loadRemotes"
1952
+ "kind": "field",
1953
+ "name": "additionalCreateFields",
1954
+ "type": {
1955
+ "text": "AdditionalEntry[]"
1956
+ },
1957
+ "default": "[]"
1784
1958
  },
1785
1959
  {
1786
- "kind": "method",
1787
- "name": "selectTemplate"
1960
+ "kind": "field",
1961
+ "name": "additionalUpdateFields",
1962
+ "type": {
1963
+ "text": "AdditionalEntry[]"
1964
+ },
1965
+ "default": "[]"
1788
1966
  },
1789
1967
  {
1790
- "kind": "method",
1791
- "name": "registerDIDependencies",
1968
+ "kind": "field",
1969
+ "name": "allAccessType",
1970
+ "type": {
1971
+ "text": "boolean"
1972
+ }
1973
+ },
1974
+ {
1975
+ "kind": "field",
1976
+ "name": "entityIdValue",
1977
+ "type": {
1978
+ "text": "string"
1979
+ },
1792
1980
  "privacy": "private"
1981
+ },
1982
+ {
1983
+ "kind": "field",
1984
+ "name": "createEvent",
1985
+ "type": {
1986
+ "text": "string"
1987
+ },
1988
+ "description": "String which contains event if we have permission to insert user of empty string if not"
1989
+ },
1990
+ {
1991
+ "kind": "field",
1992
+ "name": "deleteEvent",
1993
+ "type": {
1994
+ "text": "string"
1995
+ },
1996
+ "description": "String which contains event if we have permission to delete user of empty string if not"
1997
+ },
1998
+ {
1999
+ "kind": "field",
2000
+ "name": "updateEvent",
2001
+ "type": {
2002
+ "text": "string"
2003
+ },
2004
+ "description": "String which contains event if we have permission to update user of empty string if not"
2005
+ },
2006
+ {
2007
+ "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"
2025
+ },
2026
+ {
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"
2034
+ },
2035
+ {
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"
2043
+ },
2044
+ {
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"
1793
2058
  }
1794
2059
  ],
1795
2060
  "superclass": {
1796
2061
  "name": "FASTElement",
1797
2062
  "package": "@microsoft/fast-element"
1798
2063
  },
2064
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2065
+ "tagName": "user-management",
1799
2066
  "customElement": true
1800
2067
  }
1801
2068
  ],
1802
2069
  "exports": [
1803
2070
  {
1804
2071
  "kind": "js",
1805
- "name": "MainApplication",
2072
+ "name": "UsersColumnConfig",
1806
2073
  "declaration": {
1807
- "name": "MainApplication",
1808
- "module": "src/main/main.ts"
2074
+ "name": "UsersColumnConfig",
2075
+ "module": "src/users/users.ts"
2076
+ }
2077
+ },
2078
+ {
2079
+ "kind": "js",
2080
+ "name": "Users",
2081
+ "declaration": {
2082
+ "name": "Users",
2083
+ "module": "src/users/users.ts"
1809
2084
  }
1810
2085
  },
1811
2086
  {
1812
2087
  "kind": "custom-element-definition",
2088
+ "name": "user-management",
1813
2089
  "declaration": {
1814
- "name": "MainApplication",
1815
- "module": "src/main/main.ts"
2090
+ "name": "Users",
2091
+ "module": "src/users/users.ts"
2092
+ }
2093
+ }
2094
+ ]
2095
+ },
2096
+ {
2097
+ "kind": "javascript-module",
2098
+ "path": "src/utils/formatting.ts",
2099
+ "declarations": [
2100
+ {
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"
2110
+ }
2111
+ ],
2112
+ "exports": [
2113
+ {
2114
+ "kind": "js",
2115
+ "name": "getErrorFormat",
2116
+ "declaration": {
2117
+ "name": "getErrorFormat",
2118
+ "module": "src/utils/formatting.ts"
2119
+ }
2120
+ }
2121
+ ]
2122
+ },
2123
+ {
2124
+ "kind": "javascript-module",
2125
+ "path": "src/utils/index.ts",
2126
+ "declarations": [],
2127
+ "exports": [
2128
+ {
2129
+ "kind": "js",
2130
+ "name": "*",
2131
+ "declaration": {
2132
+ "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"
2150
+ }
2151
+ }
2152
+ ]
2153
+ },
2154
+ {
2155
+ "kind": "javascript-module",
2156
+ "path": "src/utils/logger.ts",
2157
+ "declarations": [
2158
+ {
2159
+ "kind": "variable",
2160
+ "name": "logger",
2161
+ "privacy": "public"
2162
+ }
2163
+ ],
2164
+ "exports": [
2165
+ {
2166
+ "kind": "js",
2167
+ "name": "logger",
2168
+ "declaration": {
2169
+ "name": "logger",
2170
+ "module": "src/utils/logger.ts"
2171
+ }
2172
+ }
2173
+ ]
2174
+ },
2175
+ {
2176
+ "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"
1816
2208
  }
1817
2209
  }
1818
2210
  ]
@@ -3130,398 +3522,6 @@
3130
3522
  }
3131
3523
  ]
3132
3524
  },
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.204.1",
4
+ "version": "14.205.0",
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.204.1",
56
- "@genesislcap/genx": "14.204.1",
57
- "@genesislcap/rollup-builder": "14.204.1",
58
- "@genesislcap/ts-builder": "14.204.1",
59
- "@genesislcap/uvu-playwright-builder": "14.204.1",
60
- "@genesislcap/vite-builder": "14.204.1",
61
- "@genesislcap/webpack-builder": "14.204.1",
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",
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.204.1",
67
- "@genesislcap/foundation-errors": "14.204.1",
68
- "@genesislcap/foundation-events": "14.204.1",
69
- "@genesislcap/foundation-forms": "14.204.1",
70
- "@genesislcap/foundation-logger": "14.204.1",
71
- "@genesislcap/foundation-login": "14.204.1",
72
- "@genesislcap/foundation-notifications": "14.204.1",
73
- "@genesislcap/foundation-ui": "14.204.1",
74
- "@genesislcap/foundation-utils": "14.204.1",
75
- "@genesislcap/foundation-zero": "14.204.1",
76
- "@genesislcap/foundation-zero-grid-pro": "14.204.1",
77
- "@genesislcap/grid-pro": "14.204.1",
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",
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": "1f3614a366ea8d325af73488ce8ce713402538e4"
93
+ "gitHead": "2fe6ad833270c5eaf6188b0dff23f1db1496ff7f"
94
94
  }