@pitcher/js-api 1.26.0-beta.2 → 1.26.0-beta.3
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/js-api.esm.js +1 -1
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +1 -1
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +21 -9
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentContent.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +12 -12
- package/lib/apps/canvas-builder/util/print.util.d.ts +29 -0
- package/lib/components/CContentError/CContentError.vue.d.ts +8 -0
- package/lib/main.lib.d.ts +2 -0
- package/lib/types/canvases.d.ts +1 -0
- package/lib/types/organizationSettings.types.d.ts +3 -3
- package/package.json +1 -1
package/js-api.esm.js
CHANGED
|
@@ -2476,7 +2476,7 @@ function getAppConfig$2(payload) {
|
|
|
2476
2476
|
const match = window.location.href.match(/pitcher(?:%20|\s+)folders\/files\/([^/]+)\//i);
|
|
2477
2477
|
fileId = match?.[1];
|
|
2478
2478
|
}
|
|
2479
|
-
return fileId ? this.API.request("get_file", { file_id: fileId }).then((file) => file?.metadata) : this.API.request("get_app_config", payload);
|
|
2479
|
+
return fileId ? this.API.request("get_file", { file_id: fileId }).then((file) => file?.metadata ?? {}) : this.API.request("get_app_config", payload);
|
|
2480
2480
|
}
|
|
2481
2481
|
function getFile$2(payload) {
|
|
2482
2482
|
const { id, file_id } = payload;
|