zakeke-configurator-react 0.0.54 → 0.0.55
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/dist/declarations/composer/Module/src/environment.d.ts +1 -1
- package/dist/declarations/composer/Module/src/fontsManager.d.ts +12 -0
- package/dist/globals0.js +7131 -7131
- package/dist/globals1.js +1459 -1459
- package/dist/globals2.js +3393 -3393
- package/dist/index.js +515 -345
- package/package.json +1 -1
|
@@ -48,7 +48,6 @@ export declare class ZakekeEnvironment {
|
|
|
48
48
|
private getComposerModels;
|
|
49
49
|
private getFonts;
|
|
50
50
|
private getSettings;
|
|
51
|
-
private loadFonts;
|
|
52
51
|
private loadScript;
|
|
53
52
|
boot: (parameters?: any) => Promise<void>;
|
|
54
53
|
appendViewer: (container: HTMLElement) => void;
|
|
@@ -60,6 +59,7 @@ export declare class ZakekeEnvironment {
|
|
|
60
59
|
private handleSceneLoaded;
|
|
61
60
|
private getComposition;
|
|
62
61
|
private getDesign;
|
|
62
|
+
private internalLoadDesign;
|
|
63
63
|
loadComposition: (id: string | null) => Promise<void>;
|
|
64
64
|
private internalLoadComposition;
|
|
65
65
|
private handleAttributeSelectionChanged;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FontFamily } from ".";
|
|
2
|
+
/**
|
|
3
|
+
* Download a list of font families so that are available for the browser
|
|
4
|
+
*/
|
|
5
|
+
export declare function loadFonts(fontFamilies: FontFamily[]): Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* Downlod all fonts used in a design
|
|
8
|
+
*
|
|
9
|
+
* @param design Design to load fonts for
|
|
10
|
+
* @param downloadedFonts A list of downloaded fonts
|
|
11
|
+
*/
|
|
12
|
+
export declare function downloadFontsOfDesign(design: MPlaza.Design, downloadedFonts: FontFamily[]): Promise<void>;
|