@genesislcap/foundation-entity-management 14.107.0 → 14.107.1-alpha-2ab4599.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.
- package/README.md +8 -7
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ export const AdminTemplate: ViewTemplate = html`
|
|
|
79
79
|
|
|
80
80
|
### Config
|
|
81
81
|
|
|
82
|
-
The functionality of the Entity Manager is customised through the properties you set on it in the HTML. This section covers the main properties that you need to customise. For a full list of
|
|
82
|
+
The functionality of the Entity Manager is customised through the properties you set on it in the HTML. This section covers the main properties that you need to customise. For a full list of properties, [see here](./docs/api/foundation-entity-management.md#properties).
|
|
83
83
|
|
|
84
84
|
#### Title
|
|
85
85
|
|
|
@@ -166,7 +166,7 @@ export const AdminTemplate: ViewTemplate = html`
|
|
|
166
166
|
|
|
167
167
|
### Config
|
|
168
168
|
|
|
169
|
-
You can customise the functionality of User Management through the properties you set in the html. This section covers the main properties that you can customise. For a full list of
|
|
169
|
+
You can customise the functionality of User Management through the properties you set in the html. This section covers the main properties that you can customise. For a full list of properties, [see here](./docs/api/foundation-entity-management.users.md).
|
|
170
170
|
|
|
171
171
|
#### Columns
|
|
172
172
|
|
|
@@ -179,7 +179,7 @@ The primary way to configure the User Management functionality is via the column
|
|
|
179
179
|
```
|
|
180
180
|
The default columns are contained in the [UserColumnConfig](./docs/api/foundation-entity-management.userscolumnconfig.md) variable. The `Entity` and `Status` columns are always added to the grid.
|
|
181
181
|
|
|
182
|
-
To configure the columns yourself, set the `columns` attribute when you define the User Management in the
|
|
182
|
+
To configure the columns yourself, set the `columns` attribute when you define the User Management in the HTML. You can mix in your custom column config with the default user columns config, using the javascript `spread` operator.
|
|
183
183
|
```javascript
|
|
184
184
|
// Custom usage, will contain the "default" columns:
|
|
185
185
|
// username, first name, last name, email, last login
|
|
@@ -214,13 +214,14 @@ Profile Management is a concrete use case of the [Entity Management](#entity-man
|
|
|
214
214
|
:::
|
|
215
215
|
|
|
216
216
|
Example grid view when managing profiles.
|
|
217
|
+
|
|
217
218
|

|
|
218
219
|
|
|
219
220
|
### Set-up
|
|
220
221
|
|
|
221
222
|
To enable this micro front-end in your application, follow the steps below.
|
|
222
223
|
|
|
223
|
-
|
|
224
|
+
1. Add `@genesislcap/foundation-entity-management` as a dependency in your **package.json** file. Whenever you change the dependencies of your project, ensure you run the bootstrap command again. You can find more information in the [package.json basics](../../../../web/basics/package-json-basics/) page.
|
|
224
225
|
|
|
225
226
|
```javascript
|
|
226
227
|
{
|
|
@@ -232,7 +233,7 @@ To enable this micro front-end in your application, follow the steps below.
|
|
|
232
233
|
}
|
|
233
234
|
```
|
|
234
235
|
|
|
235
|
-
|
|
236
|
+
2. Import and declare the class in the page of the class where you wish to use the Profile Manager. Then add the profile management into the template html where required:
|
|
236
237
|
```javascript
|
|
237
238
|
// Import
|
|
238
239
|
import { Profiles } from '@genesislcap/foundation-entity-management';
|
|
@@ -240,7 +241,7 @@ import { Profiles } from '@genesislcap/foundation-entity-management';
|
|
|
240
241
|
// Declare class
|
|
241
242
|
Profiles;
|
|
242
243
|
|
|
243
|
-
// Example
|
|
244
|
+
// Example HTML with the profile management
|
|
244
245
|
export const AdminTemplate: ViewTemplate = html`
|
|
245
246
|
<zero-tabs>
|
|
246
247
|
<zero-tab-panel slot="tabpanel">
|
|
@@ -254,7 +255,7 @@ export const AdminTemplate: ViewTemplate = html`
|
|
|
254
255
|
|
|
255
256
|
### Config
|
|
256
257
|
|
|
257
|
-
The functionality of the profile manager is customised through the properties you set in the
|
|
258
|
+
The functionality of the profile manager is customised through the properties you set in the HTML. This section covers the main properties that you will want to customise. For a full list of properties, [see here](./docs/api/foundation-entity-management.profiles.md).
|
|
258
259
|
|
|
259
260
|
#### Permissions
|
|
260
261
|
|
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.107.0",
|
|
4
|
+
"version": "14.107.1-alpha-2ab4599.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@genesislcap/foundation-login": "^14.40.0",
|
|
47
|
-
"@genesislcap/foundation-testing": "14.107.0",
|
|
48
|
-
"@genesislcap/genx": "14.107.0",
|
|
47
|
+
"@genesislcap/foundation-testing": "14.107.1-alpha-2ab4599.0",
|
|
48
|
+
"@genesislcap/genx": "14.107.1-alpha-2ab4599.0",
|
|
49
49
|
"rimraf": "^3.0.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@ag-grid-community/core": "29.2.0",
|
|
53
|
-
"@genesislcap/foundation-comms": "14.107.0",
|
|
54
|
-
"@genesislcap/foundation-errors": "14.107.0",
|
|
55
|
-
"@genesislcap/foundation-forms": "14.107.0",
|
|
56
|
-
"@genesislcap/foundation-logger": "14.107.0",
|
|
57
|
-
"@genesislcap/foundation-login": "14.107.0",
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.107.0",
|
|
59
|
-
"@genesislcap/foundation-ui": "14.107.0",
|
|
60
|
-
"@genesislcap/foundation-utils": "14.107.0",
|
|
61
|
-
"@genesislcap/foundation-zero": "14.107.0",
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.107.0",
|
|
63
|
-
"@genesislcap/grid-pro": "14.107.0",
|
|
53
|
+
"@genesislcap/foundation-comms": "14.107.1-alpha-2ab4599.0",
|
|
54
|
+
"@genesislcap/foundation-errors": "14.107.1-alpha-2ab4599.0",
|
|
55
|
+
"@genesislcap/foundation-forms": "14.107.1-alpha-2ab4599.0",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.107.1-alpha-2ab4599.0",
|
|
57
|
+
"@genesislcap/foundation-login": "14.107.1-alpha-2ab4599.0",
|
|
58
|
+
"@genesislcap/foundation-notifications": "14.107.1-alpha-2ab4599.0",
|
|
59
|
+
"@genesislcap/foundation-ui": "14.107.1-alpha-2ab4599.0",
|
|
60
|
+
"@genesislcap/foundation-utils": "14.107.1-alpha-2ab4599.0",
|
|
61
|
+
"@genesislcap/foundation-zero": "14.107.1-alpha-2ab4599.0",
|
|
62
|
+
"@genesislcap/foundation-zero-grid-pro": "14.107.1-alpha-2ab4599.0",
|
|
63
|
+
"@genesislcap/grid-pro": "14.107.1-alpha-2ab4599.0",
|
|
64
64
|
"@microsoft/fast-components": "^2.21.3",
|
|
65
65
|
"@microsoft/fast-element": "^1.7.0",
|
|
66
66
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "4760c6351d85ae90737f615f7173ce7aae98f9c6"
|
|
80
80
|
}
|