@nectary/assets 3.6.4 → 3.6.6
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nectary/assets",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
4
4
|
"files": [
|
|
5
5
|
"**/*/*.css",
|
|
6
6
|
"**/*/*.json",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"vite": "^7.0.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@nectary/theme-base": "1.
|
|
41
|
+
"@nectary/theme-base": "1.14.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
+
|
|
3
|
+
export type SinchElementName = `sinch-${string}`;
|
|
4
|
+
export interface GlobalManagerConfig {
|
|
5
|
+
storeKey: symbol;
|
|
6
|
+
registryUrl: string;
|
|
7
|
+
baseElementNames: Set<string>;
|
|
8
|
+
nameToPathMap?: Map<string, string>;
|
|
9
|
+
}
|
|
10
|
+
export interface GlobalManagerInitOptions {
|
|
11
|
+
/**
|
|
12
|
+
* URL to resolve the modules from
|
|
13
|
+
*/
|
|
14
|
+
cdnUrl: string;
|
|
15
|
+
/**
|
|
16
|
+
* Fallback URL to resolve the modules from if `cdnUrl` fails
|
|
17
|
+
*/
|
|
18
|
+
fallbackCdnUrl?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Preloads all components from the bundle.js module
|
|
21
|
+
*/
|
|
22
|
+
preload?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Target version of the library to resolve
|
|
25
|
+
*
|
|
26
|
+
* If left unspecified, it will resolve to the latest version
|
|
27
|
+
*/
|
|
28
|
+
targetlibVersion?: string;
|
|
29
|
+
}
|
|
30
|
+
declare abstract class GlobalElementsManager {
|
|
31
|
+
private config;
|
|
32
|
+
constructor(config: GlobalManagerConfig);
|
|
33
|
+
getConstructor(name: SinchElementName): Promise<CustomElementConstructor> | null;
|
|
34
|
+
private patchCustomElements;
|
|
35
|
+
private toClassName;
|
|
36
|
+
private loadModule;
|
|
37
|
+
private createLoader;
|
|
38
|
+
private preloadBundle;
|
|
39
|
+
init(options: GlobalManagerInitOptions): Promise<void>;
|
|
40
|
+
whenLoaded(): Promise<void>;
|
|
41
|
+
private getModulePath;
|
|
42
|
+
preload(name: SinchElementName | SinchElementName[] | "all"): Promise<void>;
|
|
43
|
+
}
|
|
44
|
+
declare class GlobalAssetsManagerImpl extends GlobalElementsManager {
|
|
45
|
+
private static instance;
|
|
46
|
+
constructor();
|
|
47
|
+
static getInstance(): GlobalAssetsManagerImpl;
|
|
48
|
+
}
|
|
49
|
+
export declare const GlobalAssetsManager: GlobalAssetsManagerImpl;
|
|
50
|
+
|
|
51
|
+
export {};
|