@cesdk/cesdk-js 1.64.0-nightly.20251105 → 1.64.0-rc.1
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/assets/core/{cesdk-v1.64.0-nightly.20251105-IH2WJZOE.wasm → cesdk-v1.64.0-rc.1-QGIIZSXE.wasm} +0 -0
- package/assets/core/{worker-host-v1.64.0-nightly.20251105.js → worker-host-v1.64.0-rc.1.js} +1 -1
- package/assets/i18n/de.json +3 -3
- package/assets/i18n/en.json +3 -3
- package/assets/ui/audio-wave.svg +9 -0
- package/assets/ui/fonts/InterVariable.woff2 +0 -0
- package/assets/ui/spot-color-indicator-l.svg +18 -0
- package/assets/ui/spot-color-indicator-xl.svg +18 -0
- package/assets/ui/stylesheets/cesdk-themes.css +292 -0
- package/assets/ui/stylesheets/cesdk.css +7704 -0
- package/cesdk.umd.js +1 -1
- package/index.d.ts +12 -2
- package/index.js +1 -1
- package/package.json +2 -2
- /package/assets/core/{cesdk-v1.64.0-nightly.20251105-44YCFRT6.data → cesdk-v1.64.0-rc.1-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -6873,13 +6873,21 @@ export declare class UtilsAPI {
|
|
|
6873
6873
|
* accept: 'image/*',
|
|
6874
6874
|
* returnType: 'blob'
|
|
6875
6875
|
* });
|
|
6876
|
+
*
|
|
6877
|
+
* // Load a file as object URL (blob URL)
|
|
6878
|
+
* const objectURL = await cesdk.utils.loadFile({
|
|
6879
|
+
* accept: '.zip',
|
|
6880
|
+
* returnType: 'objectURL'
|
|
6881
|
+
* });
|
|
6882
|
+
* // Remember to revoke the object URL when done
|
|
6883
|
+
* URL.revokeObjectURL(objectURL);
|
|
6876
6884
|
* ```
|
|
6877
6885
|
* @public
|
|
6878
6886
|
*/
|
|
6879
|
-
loadFile<T extends 'dataURL' | 'text' | 'blob' | 'arrayBuffer' | 'File'>({ accept, returnType }: {
|
|
6887
|
+
loadFile<T extends 'dataURL' | 'text' | 'blob' | 'arrayBuffer' | 'File' | 'objectURL'>({ accept, returnType }: {
|
|
6880
6888
|
accept: string;
|
|
6881
6889
|
returnType?: T;
|
|
6882
|
-
}): Promise<T extends 'dataURL' ? string : T extends 'text' ? string : T extends 'blob' ? Blob : T extends 'arrayBuffer' ? ArrayBuffer : File>;
|
|
6890
|
+
}): Promise<T extends 'dataURL' ? string : T extends 'text' ? string : T extends 'blob' ? Blob : T extends 'arrayBuffer' ? ArrayBuffer : T extends 'objectURL' ? string : File>;
|
|
6883
6891
|
/**
|
|
6884
6892
|
* Downloads a blob or string as a file to the user's device
|
|
6885
6893
|
*
|
|
@@ -6921,6 +6929,8 @@ export declare class UtilsAPI {
|
|
|
6921
6929
|
/**
|
|
6922
6930
|
* Calculates the recommended viewport padding based on current viewport size and settings.
|
|
6923
6931
|
* This utility matches the internal padding used by the SDK for zoom operations.
|
|
6932
|
+
* The calculation accounts for safe area insets to ensure content remains visible
|
|
6933
|
+
* in UI-safe regions (avoiding notches, rounded corners, system overlays, etc.).
|
|
6924
6934
|
*
|
|
6925
6935
|
* @param width - Optional viewport width to use instead of current camera width
|
|
6926
6936
|
* @param height - Optional viewport height to use instead of current camera height
|