@genesislcap/foundation-shell 14.303.0 → 14.303.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -14
- package/docs/api-report.md +0 -296
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-shell",
|
|
3
3
|
"description": "Genesis Foundation Shell",
|
|
4
|
-
"version": "14.303.
|
|
4
|
+
"version": "14.303.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@genesislcap/foundation-testing": "14.303.
|
|
71
|
-
"@genesislcap/genx": "14.303.
|
|
72
|
-
"@genesislcap/rollup-builder": "14.303.
|
|
73
|
-
"@genesislcap/ts-builder": "14.303.
|
|
74
|
-
"@genesislcap/uvu-playwright-builder": "14.303.
|
|
75
|
-
"@genesislcap/vite-builder": "14.303.
|
|
76
|
-
"@genesislcap/webpack-builder": "14.303.
|
|
70
|
+
"@genesislcap/foundation-testing": "14.303.2",
|
|
71
|
+
"@genesislcap/genx": "14.303.2",
|
|
72
|
+
"@genesislcap/rollup-builder": "14.303.2",
|
|
73
|
+
"@genesislcap/ts-builder": "14.303.2",
|
|
74
|
+
"@genesislcap/uvu-playwright-builder": "14.303.2",
|
|
75
|
+
"@genesislcap/vite-builder": "14.303.2",
|
|
76
|
+
"@genesislcap/webpack-builder": "14.303.2"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@genesislcap/foundation-logger": "14.303.
|
|
80
|
-
"@genesislcap/foundation-store": "14.303.
|
|
81
|
-
"@genesislcap/foundation-ui": "14.303.
|
|
82
|
-
"@genesislcap/foundation-utils": "14.303.
|
|
83
|
-
"@genesislcap/web-core": "14.303.
|
|
79
|
+
"@genesislcap/foundation-logger": "14.303.2",
|
|
80
|
+
"@genesislcap/foundation-store": "14.303.2",
|
|
81
|
+
"@genesislcap/foundation-ui": "14.303.2",
|
|
82
|
+
"@genesislcap/foundation-utils": "14.303.2",
|
|
83
|
+
"@genesislcap/web-core": "14.303.2",
|
|
84
84
|
"workbox-cacheable-response": "^6.5.4",
|
|
85
85
|
"workbox-core": "^6.5.4",
|
|
86
86
|
"workbox-expiration": "^6.5.4",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"publishConfig": {
|
|
97
97
|
"access": "public"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "f556f123bafe956a7ba9328bb3f78f4d7d2495ba"
|
|
100
100
|
}
|
package/docs/api-report.md
DELETED
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
## API Report File for "@genesislcap/foundation-shell"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { Behavior } from '@genesislcap/web-core';
|
|
8
|
-
import { ComposableStyles } from '@genesislcap/web-core';
|
|
9
|
-
import type { DesignSystemModule } from '@genesislcap/foundation-utils';
|
|
10
|
-
import { ElementStyles } from '@genesislcap/web-core';
|
|
11
|
-
import { FASTElement } from '@genesislcap/web-core';
|
|
12
|
-
import type { FoundationAppContext } from '@genesislcap/foundation-ui';
|
|
13
|
-
import type { FoundationRoute } from '@genesislcap/foundation-ui';
|
|
14
|
-
import type { FoundationRouteCollection } from '@genesislcap/foundation-ui';
|
|
15
|
-
import type { HasElement } from '@genesislcap/web-core';
|
|
16
|
-
import type { HasTitle } from '@genesislcap/web-core';
|
|
17
|
-
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
18
|
-
import { Logger } from '@genesislcap/foundation-logger';
|
|
19
|
-
import { RepeatOptions } from '@genesislcap/web-core';
|
|
20
|
-
import { RepeatOptions as RepeatOptions_2 } from '@microsoft/fast-element';
|
|
21
|
-
import type { StoreRoot } from '@genesislcap/foundation-store';
|
|
22
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
23
|
-
import { ViewTemplate as ViewTemplate_2 } from '@genesislcap/web-core';
|
|
24
|
-
|
|
25
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "App" because one of its declarations is marked as @internal
|
|
26
|
-
//
|
|
27
|
-
// @public
|
|
28
|
-
export interface App extends AppAssets, AppRegister, AppValidity {
|
|
29
|
-
readonly config: AppConfig;
|
|
30
|
-
deregisterAssets(): void;
|
|
31
|
-
hasAssets(): boolean;
|
|
32
|
-
registerAssets(assets: Partial<AppAssets>): void;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @internal
|
|
36
|
-
export const App: InterfaceSymbol<App>;
|
|
37
|
-
|
|
38
|
-
// @public
|
|
39
|
-
export interface AppAssets {
|
|
40
|
-
readonly elements: AppElement[];
|
|
41
|
-
readonly metadata: AppMetadata[];
|
|
42
|
-
readonly registrations: AppRegistration[];
|
|
43
|
-
readonly routes: AppRoute[];
|
|
44
|
-
readonly stores: AppStore[];
|
|
45
|
-
readonly styles: AppStyle[];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AppConfig" because one of its declarations is marked as @internal
|
|
49
|
-
//
|
|
50
|
-
// @public
|
|
51
|
-
export interface AppConfig {
|
|
52
|
-
// (undocumented)
|
|
53
|
-
context?: AppContext;
|
|
54
|
-
// (undocumented)
|
|
55
|
-
defaultElementRepeatOptions?: RepeatOptions;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// @internal
|
|
59
|
-
export const AppConfig: InterfaceSymbol<AppConfig>;
|
|
60
|
-
|
|
61
|
-
// @public
|
|
62
|
-
export type AppContext = FoundationAppContext;
|
|
63
|
-
|
|
64
|
-
// @public
|
|
65
|
-
export type AppDependencies = {
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
// @public
|
|
70
|
-
export type AppDependencyPrerequisites = {
|
|
71
|
-
[key: string]: string;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
// @public (undocumented)
|
|
75
|
-
export type AppElement<TSource = any, TParent = any, TTarget = string> = HasTarget<TTarget> & HasPredicate & {
|
|
76
|
-
elements: ViewTemplate_2<TSource, TParent>;
|
|
77
|
-
placementIndex?: number;
|
|
78
|
-
slotId?: string;
|
|
79
|
-
[key: string]: any;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
// @public
|
|
83
|
-
export type AppElementPredicate = (element: AppElement, context?: AppContext) => boolean;
|
|
84
|
-
|
|
85
|
-
// @public (undocumented)
|
|
86
|
-
export type AppMetadata = {
|
|
87
|
-
name: string;
|
|
88
|
-
version: string;
|
|
89
|
-
description?: string;
|
|
90
|
-
dependencies?: AppDependencies;
|
|
91
|
-
prerequisites?: AppDependencyPrerequisites;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
// @public
|
|
95
|
-
export interface AppRegister {
|
|
96
|
-
deregisterElement(element: AppElement): void;
|
|
97
|
-
deregisterRoute(route: AppRoute): void;
|
|
98
|
-
deregisterStore(store: AppStore): void;
|
|
99
|
-
deregisterStyle(style: AppStyle): void;
|
|
100
|
-
registerComponents: RegisterComponents;
|
|
101
|
-
registerElement(element: AppElement): void;
|
|
102
|
-
registerElementsTarget: RegisterElementsTarget;
|
|
103
|
-
registerRoute(route: AppRoute): void;
|
|
104
|
-
registerRouteCollection: RegisterRouteCollection;
|
|
105
|
-
registerStore(store: AppStore): void;
|
|
106
|
-
registerStoreRoot: RegisterStoreRoot;
|
|
107
|
-
registerStyle(style: AppStyle): void;
|
|
108
|
-
registerStylesTarget: RegisterStylesTarget;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// @public (undocumented)
|
|
112
|
-
export type AppRegistration = (context: AppRegistrationContext) => void;
|
|
113
|
-
|
|
114
|
-
// @public
|
|
115
|
-
export type AppRegistrationContext = {
|
|
116
|
-
designSystem: DesignSystemModule;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
// @public (undocumented)
|
|
120
|
-
export type AppRoute = FoundationRoute & HasTitle & HasElement & HasPredicate;
|
|
121
|
-
|
|
122
|
-
// @public
|
|
123
|
-
export type AppRoutePredicate = (route: AppRoute, context?: AppContext) => boolean;
|
|
124
|
-
|
|
125
|
-
// @public (undocumented)
|
|
126
|
-
export type AppStore<S = any> = HasPredicate & {
|
|
127
|
-
store: S;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
// @public
|
|
131
|
-
export type AppStorePredicate = (store: AppStore, context?: AppContext) => boolean;
|
|
132
|
-
|
|
133
|
-
// @public (undocumented)
|
|
134
|
-
export type AppStyle<T = string> = HasTarget<T> & HasPredicate & {
|
|
135
|
-
styles: ComposableStyles | ComposableStyles[];
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
// @public
|
|
139
|
-
export type AppStylePredicate = (style: AppStyle, context?: AppContext) => boolean;
|
|
140
|
-
|
|
141
|
-
// @public
|
|
142
|
-
export type AppTargetId<TTarget = string> = TTarget | TTarget[];
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export type AppTokenTypePredicate = (token: unknown) => boolean;
|
|
146
|
-
|
|
147
|
-
// @public
|
|
148
|
-
export interface AppValidity {
|
|
149
|
-
isValid(context: AppValidityContext): boolean;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
// @public
|
|
153
|
-
export type AppValidityContext = {
|
|
154
|
-
dependencies?: AppDependencies;
|
|
155
|
-
prerequisites?: AppDependencyPrerequisites;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
// @public
|
|
159
|
-
export type AssetPredicate = (context?: AppContext) => boolean;
|
|
160
|
-
|
|
161
|
-
// @public (undocumented)
|
|
162
|
-
export const assetPredicate: (asset: HasPredicate, context: AppContext) => boolean;
|
|
163
|
-
|
|
164
|
-
// @public
|
|
165
|
-
export class DefaultApp implements App {
|
|
166
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "App" has more than one declaration; you need to add a TSDoc member reference selector
|
|
167
|
-
//
|
|
168
|
-
// @internal (undocumented)
|
|
169
|
-
config: AppConfig;
|
|
170
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "App" has more than one declaration; you need to add a TSDoc member reference selector
|
|
171
|
-
//
|
|
172
|
-
// (undocumented)
|
|
173
|
-
deregisterAssets(): void;
|
|
174
|
-
deregisterElement(element: any): void;
|
|
175
|
-
deregisterRoute(route: any): void;
|
|
176
|
-
deregisterStore(store: any): void;
|
|
177
|
-
deregisterStyle(style: any): void;
|
|
178
|
-
elements: AppElement[];
|
|
179
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "App" has more than one declaration; you need to add a TSDoc member reference selector
|
|
180
|
-
//
|
|
181
|
-
// (undocumented)
|
|
182
|
-
hasAssets(): boolean;
|
|
183
|
-
isValid(context: any): boolean;
|
|
184
|
-
metadata: AppMetadata[];
|
|
185
|
-
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "App" has more than one declaration; you need to add a TSDoc member reference selector
|
|
186
|
-
//
|
|
187
|
-
// (undocumented)
|
|
188
|
-
registerAssets(assets: any): void;
|
|
189
|
-
registerComponents(context: any): void;
|
|
190
|
-
registerElement(element: any): void;
|
|
191
|
-
registerElementsTarget(targetId: any, predicate: any, repeatOptions?: RepeatOptions_2): ViewTemplate<any, any>;
|
|
192
|
-
registerRoute(route: any): void;
|
|
193
|
-
registerRouteCollection(routeCollection: any, predicate: any): any;
|
|
194
|
-
registerStore(store: any): void;
|
|
195
|
-
registerStoreRoot(storeRoot: any, predicate: any): () => void;
|
|
196
|
-
registerStyle(style: any): void;
|
|
197
|
-
// Warning: (ae-forgotten-export) The symbol "AppStylesTargetBehavior" needs to be exported by the entry point index.docs.d.ts
|
|
198
|
-
registerStylesTarget(targetId: any, predicate: any): AppStylesTargetBehavior;
|
|
199
|
-
registrations: AppRegistration[];
|
|
200
|
-
routes: AppRoute[];
|
|
201
|
-
stores: AppStore[];
|
|
202
|
-
styles: AppStyle[];
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// @public
|
|
206
|
-
export const defaultAppConfig: AppConfig;
|
|
207
|
-
|
|
208
|
-
// @public (undocumented)
|
|
209
|
-
export const DynamicTemplate: ViewTemplate<MainApplication, any>;
|
|
210
|
-
|
|
211
|
-
// @public
|
|
212
|
-
export function getApp(): App;
|
|
213
|
-
|
|
214
|
-
// @public (undocumented)
|
|
215
|
-
export const getQualifiedModuleTokens: <T extends unknown>(module: any, predicate: AppTokenTypePredicate) => T[];
|
|
216
|
-
|
|
217
|
-
// @public
|
|
218
|
-
export type HasPredicate = {
|
|
219
|
-
predicate?: AssetPredicate;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
// @public
|
|
223
|
-
export type HasTarget<TTarget = string> = {
|
|
224
|
-
targetId: TTarget;
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
// @public
|
|
228
|
-
export function importPBCAssets(): Promise<AppAssets>;
|
|
229
|
-
|
|
230
|
-
// @public (undocumented)
|
|
231
|
-
export function isAppElement(token: unknown): token is AppElement;
|
|
232
|
-
|
|
233
|
-
// @public (undocumented)
|
|
234
|
-
export function isAppMetadata(token: unknown): token is AppMetadata;
|
|
235
|
-
|
|
236
|
-
// @public (undocumented)
|
|
237
|
-
export function isAppRegistration(token: unknown): token is AppRegistration;
|
|
238
|
-
|
|
239
|
-
// @public (undocumented)
|
|
240
|
-
export function isAppRoute(token: unknown): token is AppRoute;
|
|
241
|
-
|
|
242
|
-
// @public (undocumented)
|
|
243
|
-
export function isAppStore(token: unknown): token is AppStore;
|
|
244
|
-
|
|
245
|
-
// @public (undocumented)
|
|
246
|
-
export function isAppStyle(token: unknown): token is AppStyle;
|
|
247
|
-
|
|
248
|
-
// @public (undocumented)
|
|
249
|
-
export function isComposableStyles(token: unknown): token is ComposableStyles;
|
|
250
|
-
|
|
251
|
-
// @public (undocumented)
|
|
252
|
-
export function isViewTemplate(token: unknown): token is ViewTemplate_2;
|
|
253
|
-
|
|
254
|
-
// @public (undocumented)
|
|
255
|
-
export const LoadingTemplate: ViewTemplate<MainApplication, any>;
|
|
256
|
-
|
|
257
|
-
// @public
|
|
258
|
-
export const logger: Logger;
|
|
259
|
-
|
|
260
|
-
// @public (undocumented)
|
|
261
|
-
export class MainApplication extends FASTElement {
|
|
262
|
-
// (undocumented)
|
|
263
|
-
connectedCallback(): void;
|
|
264
|
-
// (undocumented)
|
|
265
|
-
ready: boolean;
|
|
266
|
-
// (undocumented)
|
|
267
|
-
selectTemplate(): ViewTemplate<MainApplication, any>;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// @public (undocumented)
|
|
271
|
-
export const MainTemplate: ViewTemplate<MainApplication, any>;
|
|
272
|
-
|
|
273
|
-
// @public
|
|
274
|
-
export type RegisterComponents = AppRegistration;
|
|
275
|
-
|
|
276
|
-
// @public
|
|
277
|
-
export type RegisterElementsTarget = <T = string>(targetId: AppTargetId<T>, predicate?: AppElementPredicate, repeatOptions?: RepeatOptions) => ViewTemplate_2;
|
|
278
|
-
|
|
279
|
-
// @public
|
|
280
|
-
export type RegisterRouteCollection = (routeCollection: FoundationRouteCollection, predicate?: AppRoutePredicate) => (source: unknown) => void;
|
|
281
|
-
|
|
282
|
-
// @public
|
|
283
|
-
export type RegisterStoreRoot = (storeRoot: StoreRoot, predicate?: AppStorePredicate) => (source: unknown) => void;
|
|
284
|
-
|
|
285
|
-
// @public
|
|
286
|
-
export type RegisterStylesTarget = <T = string>(targetId: AppTargetId<T>, predicate?: AppStylePredicate) => Behavior;
|
|
287
|
-
|
|
288
|
-
// @public (undocumented)
|
|
289
|
-
export const registrationPredicate: <A, P>(asset: A, predicate: P, context: AppContext) => boolean;
|
|
290
|
-
|
|
291
|
-
// @public (undocumented)
|
|
292
|
-
export const targetIdPredicate: (asset: HasTarget, targetId: AppTargetId) => boolean;
|
|
293
|
-
|
|
294
|
-
// (No @packageDocumentation comment for this package)
|
|
295
|
-
|
|
296
|
-
```
|