@genesislcap/foundation-shell 14.408.0 → 14.409.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/package.json +14 -15
- package/docs/api/foundation-shell.app.config.md +0 -13
- package/docs/api/foundation-shell.app.deregisterassets.md +0 -17
- package/docs/api/foundation-shell.app.hasassets.md +0 -17
- package/docs/api/foundation-shell.app.md +0 -129
- package/docs/api/foundation-shell.app.registerassets.md +0 -82
- package/docs/api/foundation-shell.appassets.elements.md +0 -13
- package/docs/api/foundation-shell.appassets.md +0 -165
- package/docs/api/foundation-shell.appassets.metadata.md +0 -13
- package/docs/api/foundation-shell.appassets.registrations.md +0 -13
- package/docs/api/foundation-shell.appassets.routes.md +0 -13
- package/docs/api/foundation-shell.appassets.stores.md +0 -13
- package/docs/api/foundation-shell.appassets.styles.md +0 -13
- package/docs/api/foundation-shell.appconfig.context.md +0 -11
- package/docs/api/foundation-shell.appconfig.defaultelementrepeatoptions.md +0 -11
- package/docs/api/foundation-shell.appconfig.md +0 -77
- package/docs/api/foundation-shell.appcontext.md +0 -13
- package/docs/api/foundation-shell.appdependencies.md +0 -15
- package/docs/api/foundation-shell.appdependencyprerequisites.md +0 -15
- package/docs/api/foundation-shell.appelement.md +0 -56
- package/docs/api/foundation-shell.appelementpredicate.md +0 -17
- package/docs/api/foundation-shell.appmetadata.md +0 -45
- package/docs/api/foundation-shell.appregister.deregisterelement.md +0 -61
- package/docs/api/foundation-shell.appregister.deregisterroute.md +0 -61
- package/docs/api/foundation-shell.appregister.deregisterstore.md +0 -61
- package/docs/api/foundation-shell.appregister.deregisterstyle.md +0 -61
- package/docs/api/foundation-shell.appregister.md +0 -237
- package/docs/api/foundation-shell.appregister.registercomponents.md +0 -13
- package/docs/api/foundation-shell.appregister.registerelement.md +0 -61
- package/docs/api/foundation-shell.appregister.registerelementstarget.md +0 -13
- package/docs/api/foundation-shell.appregister.registerroute.md +0 -61
- package/docs/api/foundation-shell.appregister.registerroutecollection.md +0 -13
- package/docs/api/foundation-shell.appregister.registerstore.md +0 -61
- package/docs/api/foundation-shell.appregister.registerstoreroot.md +0 -13
- package/docs/api/foundation-shell.appregister.registerstyle.md +0 -61
- package/docs/api/foundation-shell.appregister.registerstylestarget.md +0 -13
- package/docs/api/foundation-shell.appregistration.md +0 -57
- package/docs/api/foundation-shell.appregistrationcontext.md +0 -15
- package/docs/api/foundation-shell.approute.md +0 -49
- package/docs/api/foundation-shell.approutepredicate.md +0 -17
- package/docs/api/foundation-shell.appstore.md +0 -45
- package/docs/api/foundation-shell.appstorepredicate.md +0 -17
- package/docs/api/foundation-shell.appstyle.md +0 -48
- package/docs/api/foundation-shell.appstylepredicate.md +0 -17
- package/docs/api/foundation-shell.apptargetid.md +0 -43
- package/docs/api/foundation-shell.apptokentypepredicate.md +0 -13
- package/docs/api/foundation-shell.appvalidity.isvalid.md +0 -56
- package/docs/api/foundation-shell.appvalidity.md +0 -40
- package/docs/api/foundation-shell.appvaliditycontext.md +0 -18
- package/docs/api/foundation-shell.assetpredicate.md +0 -15
- package/docs/api/foundation-shell.defaultapp.deregisterassets.md +0 -17
- package/docs/api/foundation-shell.defaultapp.deregisterelement.md +0 -54
- package/docs/api/foundation-shell.defaultapp.deregisterroute.md +0 -54
- package/docs/api/foundation-shell.defaultapp.deregisterstore.md +0 -54
- package/docs/api/foundation-shell.defaultapp.deregisterstyle.md +0 -54
- package/docs/api/foundation-shell.defaultapp.elements.md +0 -13
- package/docs/api/foundation-shell.defaultapp.hasassets.md +0 -17
- package/docs/api/foundation-shell.defaultapp.isvalid.md +0 -56
- package/docs/api/foundation-shell.defaultapp.md +0 -412
- package/docs/api/foundation-shell.defaultapp.metadata.md +0 -13
- package/docs/api/foundation-shell.defaultapp.registerassets.md +0 -54
- package/docs/api/foundation-shell.defaultapp.registercomponents.md +0 -52
- package/docs/api/foundation-shell.defaultapp.registerelement.md +0 -54
- package/docs/api/foundation-shell.defaultapp.registerelementstarget.md +0 -88
- package/docs/api/foundation-shell.defaultapp.registerroute.md +0 -54
- package/docs/api/foundation-shell.defaultapp.registerroutecollection.md +0 -70
- package/docs/api/foundation-shell.defaultapp.registerstore.md +0 -54
- package/docs/api/foundation-shell.defaultapp.registerstoreroot.md +0 -70
- package/docs/api/foundation-shell.defaultapp.registerstyle.md +0 -54
- package/docs/api/foundation-shell.defaultapp.registerstylestarget.md +0 -72
- package/docs/api/foundation-shell.defaultapp.registrations.md +0 -13
- package/docs/api/foundation-shell.defaultapp.routes.md +0 -13
- package/docs/api/foundation-shell.defaultapp.stores.md +0 -13
- package/docs/api/foundation-shell.defaultapp.styles.md +0 -13
- package/docs/api/foundation-shell.defaultappconfig.md +0 -13
- package/docs/api/foundation-shell.dynamictemplate.md +0 -12
- package/docs/api/foundation-shell.getapp.md +0 -30
- package/docs/api/foundation-shell.getqualifiedmoduletokens.md +0 -68
- package/docs/api/foundation-shell.haspredicate.md +0 -17
- package/docs/api/foundation-shell.hastarget.md +0 -15
- package/docs/api/foundation-shell.importpbcassets.md +0 -75
- package/docs/api/foundation-shell.isappelement.md +0 -52
- package/docs/api/foundation-shell.isappmetadata.md +0 -52
- package/docs/api/foundation-shell.isappregistration.md +0 -52
- package/docs/api/foundation-shell.isapproute.md +0 -52
- package/docs/api/foundation-shell.isappstore.md +0 -52
- package/docs/api/foundation-shell.isappstyle.md +0 -52
- package/docs/api/foundation-shell.iscomposablestyles.md +0 -52
- package/docs/api/foundation-shell.isviewtemplate.md +0 -52
- package/docs/api/foundation-shell.loadingtemplate.md +0 -12
- package/docs/api/foundation-shell.logger.md +0 -13
- package/docs/api/foundation-shell.mainapplication.connectedcallback.md +0 -15
- package/docs/api/foundation-shell.mainapplication.md +0 -100
- package/docs/api/foundation-shell.mainapplication.ready.md +0 -11
- package/docs/api/foundation-shell.mainapplication.selecttemplate.md +0 -15
- package/docs/api/foundation-shell.maintemplate.md +0 -12
- package/docs/api/foundation-shell.md +0 -617
- package/docs/api/foundation-shell.registercomponents.md +0 -34
- package/docs/api/foundation-shell.registerelementstarget.md +0 -39
- package/docs/api/foundation-shell.registerroutecollection.md +0 -24
- package/docs/api/foundation-shell.registerstoreroot.md +0 -33
- package/docs/api/foundation-shell.registerstylestarget.md +0 -27
- package/docs/api/foundation-shell.registrationpredicate.md +0 -79
- package/docs/api/foundation-shell.targetidpredicate.md +0 -65
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -296
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppDependencies](./foundation-shell.appdependencies.md)
|
|
4
|
-
|
|
5
|
-
## AppDependencies type
|
|
6
|
-
|
|
7
|
-
A record of app dependencies.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type AppDependencies = {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppDependencyPrerequisites](./foundation-shell.appdependencyprerequisites.md)
|
|
4
|
-
|
|
5
|
-
## AppDependencyPrerequisites type
|
|
6
|
-
|
|
7
|
-
A record of app dependency prerequisites.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type AppDependencyPrerequisites = {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppElement](./foundation-shell.appelement.md)
|
|
4
|
-
|
|
5
|
-
## AppElement type
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
export type AppElement<TSource = any, TParent = any, TTarget = string> = HasTarget<TTarget> & HasPredicate & {
|
|
11
|
-
elements: ViewTemplate<TSource, TParent>;
|
|
12
|
-
placementIndex?: number;
|
|
13
|
-
slotId?: string;
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
16
|
-
```
|
|
17
|
-
**References:** [HasTarget](./foundation-shell.hastarget.md)<!-- -->, [HasPredicate](./foundation-shell.haspredicate.md)
|
|
18
|
-
|
|
19
|
-
## Example 1
|
|
20
|
-
|
|
21
|
-
AppElement definition example.
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
const store = getNotifyStore();
|
|
25
|
-
...
|
|
26
|
-
export const inboxFlyout: AppElement = {
|
|
27
|
-
targetId: 'layout',
|
|
28
|
-
elements: html`
|
|
29
|
-
<zero-flyout
|
|
30
|
-
position="right"
|
|
31
|
-
@closed=${(x, c) => c.parent.$emit('change-inbox-display', false)}
|
|
32
|
-
?closed=${() => !store.inboxDisplayState}
|
|
33
|
-
displayHeader=${false}
|
|
34
|
-
data-pbc-asset-id="inbox-flyout"
|
|
35
|
-
>
|
|
36
|
-
<foundation-inbox
|
|
37
|
-
@close=${(x, c) => (<Flyout>(<HTMLElement>c.event.target).parentNode).closeFlyout()}
|
|
38
|
-
></foundation-inbox>
|
|
39
|
-
</zero-flyout>
|
|
40
|
-
`,
|
|
41
|
-
};
|
|
42
|
-
```
|
|
43
|
-
Note that bindings may need to use `c.parent` to `$emit` or reference properties of the target integration point. The inclusion of a `data-pbc-asset-id` is not a hard requirement, but should be considered for future operations.
|
|
44
|
-
|
|
45
|
-
## Example 2
|
|
46
|
-
|
|
47
|
-
Optional runtime [AssetPredicate](./foundation-shell.assetpredicate.md) function to determine if the asset should be used.
|
|
48
|
-
|
|
49
|
-
```ts
|
|
50
|
-
export const inboxFlyout: AppElement = {
|
|
51
|
-
targetId: 'layout',
|
|
52
|
-
predicate: (context: AppContext) => true, // < assess the user, permissions, env, domain, etc.
|
|
53
|
-
elements: html``,
|
|
54
|
-
}
|
|
55
|
-
```
|
|
56
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppElementPredicate](./foundation-shell.appelementpredicate.md)
|
|
4
|
-
|
|
5
|
-
## AppElementPredicate type
|
|
6
|
-
|
|
7
|
-
Determine if [AppElement](./foundation-shell.appelement.md) should be included during runtime integration.
|
|
8
|
-
|
|
9
|
-
Provides app, micro frontend, and seed author fine-grained control over what assets they will accept in their target integration points. This is a similar concept to which may be applied to slotted content. For example the accordion accepts slotted accordionItems only.
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
export type AppElementPredicate = (element: AppElement, context?: AppContext) => boolean;
|
|
15
|
-
```
|
|
16
|
-
**References:** [AppElement](./foundation-shell.appelement.md)<!-- -->, [AppContext](./foundation-shell.appcontext.md)
|
|
17
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppMetadata](./foundation-shell.appmetadata.md)
|
|
4
|
-
|
|
5
|
-
## AppMetadata type
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
export type AppMetadata = {
|
|
11
|
-
name: string;
|
|
12
|
-
version: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
dependencies?: AppDependencies;
|
|
15
|
-
prerequisites?: AppDependencyPrerequisites;
|
|
16
|
-
};
|
|
17
|
-
```
|
|
18
|
-
**References:** [AppDependencies](./foundation-shell.appdependencies.md)<!-- -->, [AppDependencyPrerequisites](./foundation-shell.appdependencyprerequisites.md)
|
|
19
|
-
|
|
20
|
-
## Remarks
|
|
21
|
-
|
|
22
|
-
It is not a hard requirement to have a `metadata.ts` file or a `AppMetadata` export token.
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
AppMetadata definition example.
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
// src/pbc/reporting/metadata.ts
|
|
30
|
-
|
|
31
|
-
export const metadata: AppMetadata = {
|
|
32
|
-
name: '@genesiscommunitysuccess/pbc-reporting',
|
|
33
|
-
description: 'Genesis Reporting PBC',
|
|
34
|
-
version: '1.0.0',
|
|
35
|
-
prerequisites: {
|
|
36
|
-
'@genesislcap/foundation-ui': '14.0.0',
|
|
37
|
-
gsf: '7.1.0-SNAPSHOT',
|
|
38
|
-
},
|
|
39
|
-
dependencies: {
|
|
40
|
-
'@genesislcap/pbc-reporting': '1.0.0',
|
|
41
|
-
serverDepId: '7.1.0-SNAPSHOT',
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [deregisterElement](./foundation-shell.appregister.deregisterelement.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.deregisterElement() method
|
|
6
|
-
|
|
7
|
-
API for developers to deregister [AppElements](./foundation-shell.appelement.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
deregisterElement(element: AppElement): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
element
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[AppElement](./foundation-shell.appelement.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The [AppElement](./foundation-shell.appelement.md) to deregister.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Example
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
getApp().deregisterElement(someAppElement);
|
|
60
|
-
```
|
|
61
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [deregisterRoute](./foundation-shell.appregister.deregisterroute.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.deregisterRoute() method
|
|
6
|
-
|
|
7
|
-
API for developers to deregister [AppRoutes](./foundation-shell.approute.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
deregisterRoute(route: AppRoute): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
route
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[AppRoute](./foundation-shell.approute.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The [AppRoute](./foundation-shell.approute.md) to deregister.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Example
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
getApp().deregisterRoute(someAppRoute);
|
|
60
|
-
```
|
|
61
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [deregisterStore](./foundation-shell.appregister.deregisterstore.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.deregisterStore() method
|
|
6
|
-
|
|
7
|
-
API for developers to deregister [AppStores](./foundation-shell.appstore.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
deregisterStore(store: AppStore): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
store
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[AppStore](./foundation-shell.appstore.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The [AppStore](./foundation-shell.appstore.md) to deregister.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Example
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
getApp().deregisterStore(someAppStore);
|
|
60
|
-
```
|
|
61
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [deregisterStyle](./foundation-shell.appregister.deregisterstyle.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.deregisterStyle() method
|
|
6
|
-
|
|
7
|
-
API for developers to deregister [AppStyles](./foundation-shell.appstyle.md)<!-- -->.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
deregisterStyle(style: AppStyle): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
style
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[AppStyle](./foundation-shell.appstyle.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The [AppStyle](./foundation-shell.appstyle.md) to deregister.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Example
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
getApp().deregisterStyle(someAppStyle);
|
|
60
|
-
```
|
|
61
|
-
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister interface
|
|
6
|
-
|
|
7
|
-
APIs to register asset targets and assets. These can be lazily registered and deregistered.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface AppRegister
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[registerComponents](./foundation-shell.appregister.registercomponents.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
[RegisterComponents](./foundation-shell.registercomponents.md)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
API for Application and Seed authors to register dynamic components.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td></tr>
|
|
57
|
-
<tr><td>
|
|
58
|
-
|
|
59
|
-
[registerElementsTarget](./foundation-shell.appregister.registerelementstarget.md)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
[RegisterElementsTarget](./foundation-shell.registerelementstarget.md)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
API for Application and Seed authors to define dynamic [AppElement](./foundation-shell.appelement.md) integration points.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td></tr>
|
|
76
|
-
<tr><td>
|
|
77
|
-
|
|
78
|
-
[registerRouteCollection](./foundation-shell.appregister.registerroutecollection.md)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</td><td>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
[RegisterRouteCollection](./foundation-shell.registerroutecollection.md)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td><td>
|
|
90
|
-
|
|
91
|
-
API for Application and Seed authors to register the main .
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
</td></tr>
|
|
95
|
-
<tr><td>
|
|
96
|
-
|
|
97
|
-
[registerStoreRoot](./foundation-shell.appregister.registerstoreroot.md)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td><td>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
[RegisterStoreRoot](./foundation-shell.registerstoreroot.md)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td><td>
|
|
109
|
-
|
|
110
|
-
API for Application and Seed authors to register the .
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</td></tr>
|
|
114
|
-
<tr><td>
|
|
115
|
-
|
|
116
|
-
[registerStylesTarget](./foundation-shell.appregister.registerstylestarget.md)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</td><td>
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
</td><td>
|
|
123
|
-
|
|
124
|
-
[RegisterStylesTarget](./foundation-shell.registerstylestarget.md)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td><td>
|
|
128
|
-
|
|
129
|
-
API for Application and Seed authors to define dynamic [AppStyle](./foundation-shell.appstyle.md) integration points.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td></tr>
|
|
133
|
-
</tbody></table>
|
|
134
|
-
|
|
135
|
-
## Methods
|
|
136
|
-
|
|
137
|
-
<table><thead><tr><th>
|
|
138
|
-
|
|
139
|
-
Method
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
</th><th>
|
|
143
|
-
|
|
144
|
-
Description
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</th></tr></thead>
|
|
148
|
-
<tbody><tr><td>
|
|
149
|
-
|
|
150
|
-
[deregisterElement(element)](./foundation-shell.appregister.deregisterelement.md)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</td><td>
|
|
154
|
-
|
|
155
|
-
API for developers to deregister [AppElements](./foundation-shell.appelement.md)<!-- -->.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td></tr>
|
|
159
|
-
<tr><td>
|
|
160
|
-
|
|
161
|
-
[deregisterRoute(route)](./foundation-shell.appregister.deregisterroute.md)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
</td><td>
|
|
165
|
-
|
|
166
|
-
API for developers to deregister [AppRoutes](./foundation-shell.approute.md)<!-- -->.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td></tr>
|
|
170
|
-
<tr><td>
|
|
171
|
-
|
|
172
|
-
[deregisterStore(store)](./foundation-shell.appregister.deregisterstore.md)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
</td><td>
|
|
176
|
-
|
|
177
|
-
API for developers to deregister [AppStores](./foundation-shell.appstore.md)<!-- -->.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</td></tr>
|
|
181
|
-
<tr><td>
|
|
182
|
-
|
|
183
|
-
[deregisterStyle(style)](./foundation-shell.appregister.deregisterstyle.md)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
</td><td>
|
|
187
|
-
|
|
188
|
-
API for developers to deregister [AppStyles](./foundation-shell.appstyle.md)<!-- -->.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
</td></tr>
|
|
192
|
-
<tr><td>
|
|
193
|
-
|
|
194
|
-
[registerElement(element)](./foundation-shell.appregister.registerelement.md)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
</td><td>
|
|
198
|
-
|
|
199
|
-
API for developers to register [AppElements](./foundation-shell.appelement.md) lazily.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
</td></tr>
|
|
203
|
-
<tr><td>
|
|
204
|
-
|
|
205
|
-
[registerRoute(route)](./foundation-shell.appregister.registerroute.md)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</td><td>
|
|
209
|
-
|
|
210
|
-
API for developers to register [AppRoutes](./foundation-shell.approute.md) lazily.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
</td></tr>
|
|
214
|
-
<tr><td>
|
|
215
|
-
|
|
216
|
-
[registerStore(store)](./foundation-shell.appregister.registerstore.md)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
</td><td>
|
|
220
|
-
|
|
221
|
-
API for developers to register [AppStores](./foundation-shell.appstore.md) lazily.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
</td></tr>
|
|
225
|
-
<tr><td>
|
|
226
|
-
|
|
227
|
-
[registerStyle(style)](./foundation-shell.appregister.registerstyle.md)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
</td><td>
|
|
231
|
-
|
|
232
|
-
API for developers to register [AppStyles](./foundation-shell.appstyle.md) lazily.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
</td></tr>
|
|
236
|
-
</tbody></table>
|
|
237
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [registerComponents](./foundation-shell.appregister.registercomponents.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.registerComponents property
|
|
6
|
-
|
|
7
|
-
API for Application and Seed authors to register dynamic components.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
registerComponents: RegisterComponents;
|
|
13
|
-
```
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-shell](./foundation-shell.md) > [AppRegister](./foundation-shell.appregister.md) > [registerElement](./foundation-shell.appregister.registerelement.md)
|
|
4
|
-
|
|
5
|
-
## AppRegister.registerElement() method
|
|
6
|
-
|
|
7
|
-
API for developers to register [AppElements](./foundation-shell.appelement.md) lazily.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
registerElement(element: AppElement): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
element
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[AppElement](./foundation-shell.appelement.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The [AppElement](./foundation-shell.appelement.md) to register.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
void
|
|
54
|
-
|
|
55
|
-
## Example
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
getApp().registerElement(someAppElement);
|
|
60
|
-
```
|
|
61
|
-
|