@pitcher/js-api 1.21.0-beta.8 → 1.21.0
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 +274 -92
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/api/canvases/canvases.queries.d.ts +5 -5
- package/lib/apps/browser/stores/api.d.ts +215 -84
- package/lib/apps/browser/stores/app.d.ts +7 -26
- package/lib/apps/browser/stores/upload.d.ts +34 -24
- package/lib/apps/browser/util/file.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +550 -460
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +86 -74
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +24 -17
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +4 -1
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +2 -2
- package/lib/apps/canvas-builder/types/canvas.d.ts +19 -18
- package/lib/apps/canvas-builder/types/recommendations.types.d.ts +3 -3
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +5 -4
- package/lib/apps/content-selector/appTypes.d.ts +1 -0
- package/lib/apps/content-selector/stores/app.d.ts +8 -1
- package/lib/components/CFileViewer/CFileViewer.use.d.ts +2 -4
- package/lib/components/CFileViewer/CFileViewerFullScreen.use.d.ts +1 -1
- package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +5 -5
- package/lib/components/filters/filter.util.d.ts +1 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -2
- package/lib/composables/instanceTagsActions.use.d.ts +14 -0
- package/lib/composables/recentFiles.use.d.ts +1 -1
- package/lib/composables/suggestedTags.use.d.ts +3 -0
- package/lib/composables/tableColumnsSettings.use.d.ts +25 -0
- package/lib/composables/useCanvasOverlay.d.ts +20 -0
- package/lib/composables/useConfirmation.d.ts +1 -0
- package/lib/composables/useElementHeightResize.d.ts +5 -0
- package/lib/composables/useFiles.d.ts +11 -0
- package/lib/constants/pitcherSettings.const.d.ts +4 -0
- package/lib/main.lib.d.ts +27 -20
- package/lib/sdk/api/HighLevelApi.d.ts +106 -12
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +31 -15
- package/lib/sdk/api/modules/admin/env.admin.d.ts +3 -2
- package/lib/sdk/api/modules/admin/files.admin.d.ts +43 -4
- package/lib/sdk/api/modules/admin/index.d.ts +52 -5
- package/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +1 -2
- package/lib/sdk/api/modules/admin/types.admin.d.ts +117 -3
- package/lib/sdk/api/modules/canvas.d.ts +12 -14
- package/lib/sdk/api/modules/dsr/env.dsr.d.ts +4 -3
- package/lib/sdk/api/modules/dsr/index.d.ts +14 -3
- package/lib/sdk/api/modules/dsr/loading.dsr.d.ts +6 -0
- package/lib/sdk/api/modules/env.d.ts +16 -0
- package/lib/sdk/api/modules/favorites.d.ts +9 -0
- package/lib/sdk/api/modules/feedback.d.ts +3 -0
- package/lib/sdk/api/modules/files.d.ts +3 -3
- package/lib/sdk/api/modules/folders.d.ts +29 -0
- package/lib/sdk/api/modules/open.d.ts +6 -0
- package/lib/sdk/api/modules/sync.d.ts +1 -2
- package/lib/sdk/api/modules/ui/app-errors.ui.d.ts +12 -0
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +75 -2
- package/lib/sdk/api/modules/ui/content.ui.d.ts +50 -0
- package/lib/sdk/api/modules/ui/index.d.ts +149 -13
- package/lib/sdk/api/modules/ui/loading.ui.d.ts +15 -0
- package/lib/sdk/api/modules/ui/location.ui.d.ts +17 -0
- package/lib/sdk/api/modules/ui/post-call.ui.d.ts +25 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +69 -6
- package/lib/sdk/api/modules/users.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +119 -2
- package/lib/sdk/main.d.ts +275 -141
- package/lib/sdk/payload.types.d.ts +134 -2
- package/lib/theme/light.d.ts +12 -0
- package/lib/types/app.d.ts +11 -0
- package/lib/types/call.d.ts +2 -2
- package/lib/types/files.d.ts +27 -1
- package/lib/types/filter.d.ts +5 -0
- package/lib/types/instanceSettings.types.d.ts +8 -2
- package/lib/types/launchDarkly.types.d.ts +4 -4
- package/lib/types/organizationSettings.types.d.ts +4 -0
- package/lib/types/recentFiles.types.d.ts +4 -1
- package/lib/types/users.d.ts +13 -0
- package/lib/util/fullscreen.util.d.ts +1 -1
- package/lib/util/string.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +23 -17
- package/types/openapi/models/AccessTypeEnum.d.ts +3 -1
- package/types/openapi/models/App.d.ts +1 -0
- package/types/openapi/models/AppRelease.d.ts +1 -0
- package/types/openapi/models/AppsDBEntry.d.ts +4 -0
- package/types/openapi/models/AppsDBEntryRequest.d.ts +3 -0
- package/types/openapi/models/Canvas.d.ts +10 -15
- package/types/openapi/models/CanvasCreate.d.ts +14 -12
- package/types/openapi/models/CanvasCreateRequest.d.ts +6 -5
- package/types/openapi/models/CanvasRecommendedFile.d.ts +6 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +15 -13
- package/types/openapi/models/CanvasSection.d.ts +5 -2
- package/types/openapi/models/CanvasUpdate.d.ts +14 -12
- package/types/openapi/models/CanvasUpdateRequest.d.ts +5 -4
- package/types/openapi/models/CollaborationRoleEnum.d.ts +0 -4
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
- package/types/openapi/models/DeletedApp.d.ts +1 -0
- package/types/openapi/models/{CanvasList.d.ts → DeletedCanvas.d.ts} +13 -9
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/DeletedEnvironment.d.ts +1 -0
- package/types/openapi/models/DeletedFavorite.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +6 -0
- package/types/openapi/models/DeletedFolder.d.ts +4 -3
- package/types/openapi/models/DeletedInstance.d.ts +1 -0
- package/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +1 -0
- package/types/openapi/models/DeletedMetadataTemplate.d.ts +1 -0
- package/types/openapi/models/DeletedRegion.d.ts +1 -0
- package/types/openapi/models/Environment.d.ts +1 -0
- package/types/openapi/models/Favorite.d.ts +1 -0
- package/types/openapi/models/File.d.ts +6 -0
- package/types/openapi/models/FileCreate.d.ts +8 -0
- package/types/openapi/models/FileCreateRequest.d.ts +3 -0
- package/types/openapi/models/FilePermission.d.ts +4 -0
- package/types/openapi/models/FilePermissionRequest.d.ts +4 -0
- package/types/openapi/models/FileRetrieve.d.ts +8 -0
- package/types/openapi/models/FileRevision.d.ts +8 -0
- package/types/openapi/models/FileRevisionRequest.d.ts +3 -0
- package/types/openapi/models/FileUpdate.d.ts +8 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +3 -0
- package/types/openapi/models/FileVersion.d.ts +5 -0
- package/types/openapi/models/Folder.d.ts +4 -3
- package/types/openapi/models/FolderCanvas.d.ts +11 -0
- package/types/openapi/models/FolderCreate.d.ts +8 -7
- package/types/openapi/models/FolderCreateRequest.d.ts +4 -2
- package/types/openapi/models/FolderFile.d.ts +3 -0
- package/types/openapi/models/FolderFolder.d.ts +5 -1
- package/types/openapi/models/FolderRetrieve.d.ts +8 -8
- package/types/openapi/models/FolderRule.d.ts +7 -0
- package/types/openapi/models/FolderRuleRequest.d.ts +7 -0
- package/types/openapi/models/FolderUpdate.d.ts +8 -8
- package/types/openapi/models/FolderUpdateRequest.d.ts +3 -0
- package/types/openapi/models/Instance.d.ts +1 -0
- package/types/openapi/models/InstanceUpdate.d.ts +1 -0
- package/types/openapi/models/MetadataTemplate.d.ts +1 -0
- package/types/openapi/models/OfflineSyncFolder.d.ts +17 -0
- package/types/openapi/models/OperatorEnum.d.ts +64 -0
- package/types/openapi/models/PaginatedCanvasList.d.ts +8 -0
- package/types/openapi/models/PaginatedFileRevisionList.d.ts +8 -0
- package/types/openapi/models/PaginatedOfflineSyncFolderList.d.ts +8 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +5 -4
- package/types/openapi/models/PatchedFileRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFileRevisionRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +3 -0
- package/types/openapi/models/Region.d.ts +1 -0
- package/types/openapi/models/SearchFile.d.ts +3 -0
- package/types/openapi/models/SharedLink.d.ts +6 -5
- package/types/openapi/models/SharedLinkCanvas.d.ts +11 -0
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +8 -0
- package/types/openapi/models/SharedLinkCreate.d.ts +6 -5
- package/types/openapi/models/{SharedLinkInstanceSerialzier.d.ts → SharedLinkInstance.d.ts} +1 -1
- package/types/openapi/models/SharedLinkInstanceRequest.d.ts +5 -0
- package/types/openapi/models/{SharedLinkOrganizationSerialzier.d.ts → SharedLinkOrganization.d.ts} +1 -1
- package/types/openapi/models/SharedLinkOrganizationRequest.d.ts +6 -0
- package/lib/apps/canvas-builder/util/tsUtils.d.ts +0 -3
- package/lib/composables/useDetailsView.d.ts +0 -19
- package/lib/types/templateActions.d.ts +0 -10
- package/lib/util/gesture.util.d.ts +0 -6
- package/types/openapi/models/AppsDBGlobalEntry.d.ts +0 -8
- package/types/openapi/models/AppsDBGlobalEntryRequest.d.ts +0 -3
- package/types/openapi/models/AppsDBUserEntry.d.ts +0 -9
- package/types/openapi/models/AppsDBUserEntryRequest.d.ts +0 -3
- package/types/openapi/models/CanvasSectionRetrieve.d.ts +0 -7
- package/types/openapi/models/CanvasSectionRetrieveRequest.d.ts +0 -5
- package/types/openapi/models/FileRequest.d.ts +0 -13
- package/types/openapi/models/InstanceStorageCredentials.d.ts +0 -6
- package/types/openapi/models/MiniAccount.d.ts +0 -4
- package/types/openapi/models/PSPDFKitAuthPayload.d.ts +0 -3
- package/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +0 -3
- package/types/openapi/models/PSPDFKitToken.d.ts +0 -7
- package/types/openapi/models/PSPDFKitTokenRequest.d.ts +0 -3
- package/types/openapi/models/PaginatedCanvasListList.d.ts +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides } from '@canvas-builder/types/canvas';
|
|
3
|
-
import {
|
|
3
|
+
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
import { EmbedLocation } from '../../../types/app';
|
|
5
5
|
|
|
6
6
|
declare function cleanup(): void;
|
|
@@ -16,8 +16,8 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
16
16
|
readonly pdf: boolean;
|
|
17
17
|
readonly web: boolean;
|
|
18
18
|
} | undefined;
|
|
19
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
20
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
19
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
20
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
21
21
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
22
22
|
readonly data?: {
|
|
23
23
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -25,72 +25,76 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
25
25
|
} | {
|
|
26
26
|
readonly span: number;
|
|
27
27
|
readonly tooltips?: readonly {
|
|
28
|
-
readonly content?: string;
|
|
28
|
+
readonly content?: string | undefined;
|
|
29
29
|
readonly content_style?: {
|
|
30
30
|
readonly [x: string]: any;
|
|
31
31
|
} | undefined;
|
|
32
|
-
readonly trigger?: string;
|
|
32
|
+
readonly trigger?: string | undefined;
|
|
33
33
|
readonly trigger_style?: {
|
|
34
34
|
readonly [x: string]: any;
|
|
35
35
|
} | undefined;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
} | {
|
|
38
|
-
readonly content?: string;
|
|
38
|
+
readonly content?: string | undefined;
|
|
39
39
|
} | {
|
|
40
40
|
readonly images?: readonly {
|
|
41
41
|
readonly url: string;
|
|
42
|
-
readonly is_uploaded_asset?: boolean;
|
|
42
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
43
43
|
}[] | undefined;
|
|
44
|
-
readonly placeholder_height?: string;
|
|
45
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
44
|
+
readonly placeholder_height?: string | undefined;
|
|
45
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
46
46
|
} | {
|
|
47
47
|
readonly asset_type: "external";
|
|
48
48
|
readonly external_url: string;
|
|
49
49
|
readonly type: "image" | "video";
|
|
50
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
50
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
51
51
|
} | {
|
|
52
52
|
readonly asset_type: "pitcher_asset";
|
|
53
53
|
readonly file: {
|
|
54
54
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
55
55
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
56
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
56
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
57
57
|
};
|
|
58
58
|
readonly type: "image" | "video";
|
|
59
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
59
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
60
60
|
} | {
|
|
61
61
|
readonly type: "app";
|
|
62
62
|
readonly app_name: string;
|
|
63
63
|
readonly src: string | null;
|
|
64
|
-
readonly height?: string;
|
|
65
|
-
readonly width?: string;
|
|
64
|
+
readonly height?: string | undefined;
|
|
65
|
+
readonly width?: string | undefined;
|
|
66
66
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
67
67
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
68
68
|
readonly properties_by_embed_location?: {
|
|
69
69
|
readonly canvas?: {
|
|
70
|
-
readonly start_in_loading_mode?: boolean;
|
|
70
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
71
71
|
} | undefined;
|
|
72
72
|
readonly dsr?: {
|
|
73
|
-
readonly start_in_loading_mode?: boolean;
|
|
73
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
74
74
|
} | undefined;
|
|
75
75
|
readonly ui_app?: {
|
|
76
|
-
readonly start_in_loading_mode?: boolean;
|
|
76
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
77
77
|
} | undefined;
|
|
78
78
|
readonly admin_instance?: {
|
|
79
|
-
readonly start_in_loading_mode?: boolean;
|
|
79
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
80
80
|
} | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
readonly file: {
|
|
83
83
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
84
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
84
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
85
85
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
86
|
-
readonly is_deleted?: boolean;
|
|
86
|
+
readonly is_deleted?: boolean | undefined;
|
|
87
87
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
88
88
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
89
89
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
90
|
-
readonly
|
|
90
|
+
readonly permissions?: {
|
|
91
|
+
readonly can_download?: boolean | undefined;
|
|
92
|
+
readonly can_share?: boolean | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
91
95
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
92
96
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
93
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
97
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
94
98
|
readonly pspdfkit_auth_payload?: {
|
|
95
99
|
readonly [x: string]: any;
|
|
96
100
|
} | null | undefined;
|
|
@@ -102,85 +106,93 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
102
106
|
readonly items: readonly ({
|
|
103
107
|
readonly file: {
|
|
104
108
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
105
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
109
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
106
110
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
107
|
-
readonly is_deleted?: boolean;
|
|
108
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
109
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
110
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
111
|
+
readonly is_deleted?: boolean | undefined;
|
|
112
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
113
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
114
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
115
|
+
readonly permissions?: {
|
|
116
|
+
readonly can_download?: boolean | undefined;
|
|
117
|
+
readonly can_share?: boolean | undefined;
|
|
118
|
+
} | undefined;
|
|
111
119
|
};
|
|
112
120
|
readonly slide: {
|
|
113
121
|
readonly index: number;
|
|
114
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
122
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
115
123
|
};
|
|
116
124
|
readonly type: "slide";
|
|
117
125
|
} | {
|
|
118
126
|
readonly file: {
|
|
119
127
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
120
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
128
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
121
129
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
122
|
-
readonly is_deleted?: boolean;
|
|
130
|
+
readonly is_deleted?: boolean | undefined;
|
|
123
131
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
124
132
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
125
133
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
126
|
-
readonly
|
|
134
|
+
readonly permissions?: {
|
|
135
|
+
readonly can_download?: boolean | undefined;
|
|
136
|
+
readonly can_share?: boolean | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
127
139
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
128
140
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
129
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
141
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
130
142
|
readonly pspdfkit_auth_payload?: {
|
|
131
143
|
readonly [x: string]: any;
|
|
132
144
|
} | null | undefined;
|
|
133
145
|
};
|
|
134
146
|
readonly type: "file";
|
|
135
147
|
})[];
|
|
136
|
-
readonly size?: "medium";
|
|
137
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
148
|
+
readonly size?: "medium" | undefined;
|
|
149
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
138
150
|
} | {
|
|
139
151
|
readonly sections: readonly {
|
|
140
152
|
readonly id: string;
|
|
141
153
|
readonly style?: {
|
|
142
154
|
readonly [x: string]: any;
|
|
143
155
|
} | undefined;
|
|
144
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
145
|
-
readonly background_video_url?: string;
|
|
156
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
157
|
+
readonly background_video_url?: string | undefined;
|
|
146
158
|
}[];
|
|
147
|
-
readonly animation_in?: string;
|
|
159
|
+
readonly animation_in?: string | undefined;
|
|
148
160
|
} | {
|
|
149
161
|
readonly html: string;
|
|
150
162
|
} | {
|
|
151
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
152
|
-
readonly background_color?: string;
|
|
153
|
-
readonly canvas_anchor?: string;
|
|
154
|
-
readonly color?: string;
|
|
155
|
-
readonly display_text?: string;
|
|
156
|
-
readonly font_family?: string;
|
|
157
|
-
readonly font_size?: number;
|
|
158
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
159
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
160
|
-
readonly target?: "_self" | "_blank";
|
|
161
|
-
readonly url?: string;
|
|
163
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
164
|
+
readonly background_color?: string | undefined;
|
|
165
|
+
readonly canvas_anchor?: string | undefined;
|
|
166
|
+
readonly color?: string | undefined;
|
|
167
|
+
readonly display_text?: string | undefined;
|
|
168
|
+
readonly font_family?: string | undefined;
|
|
169
|
+
readonly font_size?: number | undefined;
|
|
170
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
171
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
172
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
173
|
+
readonly url?: string | undefined;
|
|
162
174
|
} | {} | {
|
|
163
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
164
|
-
readonly background_video_url?: string;
|
|
175
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
176
|
+
readonly background_video_url?: string | undefined;
|
|
165
177
|
} | {
|
|
166
178
|
readonly events: readonly {
|
|
167
|
-
readonly top_hint?: string;
|
|
179
|
+
readonly top_hint?: string | undefined;
|
|
168
180
|
readonly top_hint_style?: {
|
|
169
181
|
readonly [x: string]: any;
|
|
170
182
|
} | undefined;
|
|
171
|
-
readonly title?: string;
|
|
183
|
+
readonly title?: string | undefined;
|
|
172
184
|
readonly title_style?: {
|
|
173
185
|
readonly [x: string]: any;
|
|
174
186
|
} | undefined;
|
|
175
|
-
readonly description?: string;
|
|
187
|
+
readonly description?: string | undefined;
|
|
176
188
|
readonly description_style?: {
|
|
177
189
|
readonly [x: string]: any;
|
|
178
190
|
} | undefined;
|
|
179
|
-
readonly image_url?: string;
|
|
191
|
+
readonly image_url?: string | undefined;
|
|
180
192
|
readonly image_style?: {
|
|
181
193
|
readonly [x: string]: any;
|
|
182
194
|
} | undefined;
|
|
183
|
-
readonly icon?: string;
|
|
195
|
+
readonly icon?: string | undefined;
|
|
184
196
|
readonly icon_style?: {
|
|
185
197
|
readonly [x: string]: any;
|
|
186
198
|
} | undefined;
|
|
@@ -1805,8 +1817,8 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1805
1817
|
readonly pdf: boolean;
|
|
1806
1818
|
readonly web: boolean;
|
|
1807
1819
|
} | undefined;
|
|
1808
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
1809
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
1820
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
1821
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
1810
1822
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
1811
1823
|
readonly data?: {
|
|
1812
1824
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -1814,72 +1826,76 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1814
1826
|
} | {
|
|
1815
1827
|
readonly span: number;
|
|
1816
1828
|
readonly tooltips?: readonly {
|
|
1817
|
-
readonly content?: string;
|
|
1829
|
+
readonly content?: string | undefined;
|
|
1818
1830
|
readonly content_style?: {
|
|
1819
1831
|
readonly [x: string]: any;
|
|
1820
1832
|
} | undefined;
|
|
1821
|
-
readonly trigger?: string;
|
|
1833
|
+
readonly trigger?: string | undefined;
|
|
1822
1834
|
readonly trigger_style?: {
|
|
1823
1835
|
readonly [x: string]: any;
|
|
1824
1836
|
} | undefined;
|
|
1825
1837
|
}[] | undefined;
|
|
1826
1838
|
} | {
|
|
1827
|
-
readonly content?: string;
|
|
1839
|
+
readonly content?: string | undefined;
|
|
1828
1840
|
} | {
|
|
1829
1841
|
readonly images?: readonly {
|
|
1830
1842
|
readonly url: string;
|
|
1831
|
-
readonly is_uploaded_asset?: boolean;
|
|
1843
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
1832
1844
|
}[] | undefined;
|
|
1833
|
-
readonly placeholder_height?: string;
|
|
1834
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
1845
|
+
readonly placeholder_height?: string | undefined;
|
|
1846
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
1835
1847
|
} | {
|
|
1836
1848
|
readonly asset_type: "external";
|
|
1837
1849
|
readonly external_url: string;
|
|
1838
1850
|
readonly type: "image" | "video";
|
|
1839
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
1851
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1840
1852
|
} | {
|
|
1841
1853
|
readonly asset_type: "pitcher_asset";
|
|
1842
1854
|
readonly file: {
|
|
1843
1855
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
1844
1856
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
1845
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
1857
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
1846
1858
|
};
|
|
1847
1859
|
readonly type: "image" | "video";
|
|
1848
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
1860
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1849
1861
|
} | {
|
|
1850
1862
|
readonly type: "app";
|
|
1851
1863
|
readonly app_name: string;
|
|
1852
1864
|
readonly src: string | null;
|
|
1853
|
-
readonly height?: string;
|
|
1854
|
-
readonly width?: string;
|
|
1865
|
+
readonly height?: string | undefined;
|
|
1866
|
+
readonly width?: string | undefined;
|
|
1855
1867
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
1856
1868
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
1857
1869
|
readonly properties_by_embed_location?: {
|
|
1858
1870
|
readonly canvas?: {
|
|
1859
|
-
readonly start_in_loading_mode?: boolean;
|
|
1871
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
1860
1872
|
} | undefined;
|
|
1861
1873
|
readonly dsr?: {
|
|
1862
|
-
readonly start_in_loading_mode?: boolean;
|
|
1874
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
1863
1875
|
} | undefined;
|
|
1864
1876
|
readonly ui_app?: {
|
|
1865
|
-
readonly start_in_loading_mode?: boolean;
|
|
1877
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
1866
1878
|
} | undefined;
|
|
1867
1879
|
readonly admin_instance?: {
|
|
1868
|
-
readonly start_in_loading_mode?: boolean;
|
|
1880
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
1869
1881
|
} | undefined;
|
|
1870
1882
|
} | undefined;
|
|
1871
1883
|
readonly file: {
|
|
1872
1884
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1873
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1885
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1874
1886
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1875
|
-
readonly is_deleted?: boolean;
|
|
1887
|
+
readonly is_deleted?: boolean | undefined;
|
|
1876
1888
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1877
1889
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1878
1890
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
1879
|
-
readonly
|
|
1891
|
+
readonly permissions?: {
|
|
1892
|
+
readonly can_download?: boolean | undefined;
|
|
1893
|
+
readonly can_share?: boolean | undefined;
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1880
1896
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
1881
1897
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
1882
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
1898
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
1883
1899
|
readonly pspdfkit_auth_payload?: {
|
|
1884
1900
|
readonly [x: string]: any;
|
|
1885
1901
|
} | null | undefined;
|
|
@@ -1891,85 +1907,93 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1891
1907
|
readonly items: readonly ({
|
|
1892
1908
|
readonly file: {
|
|
1893
1909
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1894
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1910
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1895
1911
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1896
|
-
readonly is_deleted?: boolean;
|
|
1897
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1898
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1899
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
1912
|
+
readonly is_deleted?: boolean | undefined;
|
|
1913
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
1914
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
1915
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
1916
|
+
readonly permissions?: {
|
|
1917
|
+
readonly can_download?: boolean | undefined;
|
|
1918
|
+
readonly can_share?: boolean | undefined;
|
|
1919
|
+
} | undefined;
|
|
1900
1920
|
};
|
|
1901
1921
|
readonly slide: {
|
|
1902
1922
|
readonly index: number;
|
|
1903
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
1923
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
1904
1924
|
};
|
|
1905
1925
|
readonly type: "slide";
|
|
1906
1926
|
} | {
|
|
1907
1927
|
readonly file: {
|
|
1908
1928
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1909
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1929
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
1910
1930
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1911
|
-
readonly is_deleted?: boolean;
|
|
1931
|
+
readonly is_deleted?: boolean | undefined;
|
|
1912
1932
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1913
1933
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1914
1934
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
1915
|
-
readonly
|
|
1935
|
+
readonly permissions?: {
|
|
1936
|
+
readonly can_download?: boolean | undefined;
|
|
1937
|
+
readonly can_share?: boolean | undefined;
|
|
1938
|
+
} | undefined;
|
|
1939
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
1916
1940
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
1917
1941
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
1918
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
1942
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
1919
1943
|
readonly pspdfkit_auth_payload?: {
|
|
1920
1944
|
readonly [x: string]: any;
|
|
1921
1945
|
} | null | undefined;
|
|
1922
1946
|
};
|
|
1923
1947
|
readonly type: "file";
|
|
1924
1948
|
})[];
|
|
1925
|
-
readonly size?: "medium";
|
|
1926
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
1949
|
+
readonly size?: "medium" | undefined;
|
|
1950
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
1927
1951
|
} | {
|
|
1928
1952
|
readonly sections: readonly {
|
|
1929
1953
|
readonly id: string;
|
|
1930
1954
|
readonly style?: {
|
|
1931
1955
|
readonly [x: string]: any;
|
|
1932
1956
|
} | undefined;
|
|
1933
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
1934
|
-
readonly background_video_url?: string;
|
|
1957
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
1958
|
+
readonly background_video_url?: string | undefined;
|
|
1935
1959
|
}[];
|
|
1936
|
-
readonly animation_in?: string;
|
|
1960
|
+
readonly animation_in?: string | undefined;
|
|
1937
1961
|
} | {
|
|
1938
1962
|
readonly html: string;
|
|
1939
1963
|
} | {
|
|
1940
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
1941
|
-
readonly background_color?: string;
|
|
1942
|
-
readonly canvas_anchor?: string;
|
|
1943
|
-
readonly color?: string;
|
|
1944
|
-
readonly display_text?: string;
|
|
1945
|
-
readonly font_family?: string;
|
|
1946
|
-
readonly font_size?: number;
|
|
1947
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
1948
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
1949
|
-
readonly target?: "_self" | "_blank";
|
|
1950
|
-
readonly url?: string;
|
|
1964
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
1965
|
+
readonly background_color?: string | undefined;
|
|
1966
|
+
readonly canvas_anchor?: string | undefined;
|
|
1967
|
+
readonly color?: string | undefined;
|
|
1968
|
+
readonly display_text?: string | undefined;
|
|
1969
|
+
readonly font_family?: string | undefined;
|
|
1970
|
+
readonly font_size?: number | undefined;
|
|
1971
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
1972
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
1973
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
1974
|
+
readonly url?: string | undefined;
|
|
1951
1975
|
} | {} | {
|
|
1952
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
1953
|
-
readonly background_video_url?: string;
|
|
1976
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
1977
|
+
readonly background_video_url?: string | undefined;
|
|
1954
1978
|
} | {
|
|
1955
1979
|
readonly events: readonly {
|
|
1956
|
-
readonly top_hint?: string;
|
|
1980
|
+
readonly top_hint?: string | undefined;
|
|
1957
1981
|
readonly top_hint_style?: {
|
|
1958
1982
|
readonly [x: string]: any;
|
|
1959
1983
|
} | undefined;
|
|
1960
|
-
readonly title?: string;
|
|
1984
|
+
readonly title?: string | undefined;
|
|
1961
1985
|
readonly title_style?: {
|
|
1962
1986
|
readonly [x: string]: any;
|
|
1963
1987
|
} | undefined;
|
|
1964
|
-
readonly description?: string;
|
|
1988
|
+
readonly description?: string | undefined;
|
|
1965
1989
|
readonly description_style?: {
|
|
1966
1990
|
readonly [x: string]: any;
|
|
1967
1991
|
} | undefined;
|
|
1968
|
-
readonly image_url?: string;
|
|
1992
|
+
readonly image_url?: string | undefined;
|
|
1969
1993
|
readonly image_style?: {
|
|
1970
1994
|
readonly [x: string]: any;
|
|
1971
1995
|
} | undefined;
|
|
1972
|
-
readonly icon?: string;
|
|
1996
|
+
readonly icon?: string | undefined;
|
|
1973
1997
|
readonly icon_style?: {
|
|
1974
1998
|
readonly [x: string]: any;
|
|
1975
1999
|
} | undefined;
|
|
@@ -3591,65 +3615,69 @@ export default function useCanvas(): {
|
|
|
3591
3615
|
activeCanvas: Ref<{
|
|
3592
3616
|
readonly id: string;
|
|
3593
3617
|
name: string;
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
};
|
|
3611
|
-
is_draft?: boolean;
|
|
3612
|
-
is_template?: boolean;
|
|
3613
|
-
is_section?: boolean;
|
|
3614
|
-
is_editable?: boolean;
|
|
3615
|
-
is_default?: boolean;
|
|
3616
|
-
readonly account: {
|
|
3617
|
-
id: string;
|
|
3618
|
+
content?: Record<string, any> | undefined;
|
|
3619
|
+
context?: Record<string, any> | undefined;
|
|
3620
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
3621
|
+
is_draft?: boolean | undefined;
|
|
3622
|
+
is_template?: boolean | undefined;
|
|
3623
|
+
is_section?: boolean | undefined;
|
|
3624
|
+
is_editable?: boolean | undefined;
|
|
3625
|
+
is_default?: boolean | undefined;
|
|
3626
|
+
metadata?: Record<string, any> | undefined;
|
|
3627
|
+
tags?: Array<string> | undefined;
|
|
3628
|
+
start_at?: (string | null) | undefined;
|
|
3629
|
+
expires_at?: (string | null) | undefined;
|
|
3630
|
+
access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
|
|
3631
|
+
thumbnail_url?: (string | null) | undefined;
|
|
3632
|
+
readonly template: {
|
|
3633
|
+
readonly id: string;
|
|
3618
3634
|
name: string;
|
|
3619
3635
|
};
|
|
3620
|
-
|
|
3621
|
-
readonly used_in_count: number;
|
|
3622
|
-
tags?: Array<string>;
|
|
3623
|
-
start_at?: string | null;
|
|
3624
|
-
expires_at?: string | null;
|
|
3625
|
-
access_type?: import('../../../../types/openapi').AccessTypeEnum;
|
|
3626
|
-
thumbnail_url?: string | null;
|
|
3627
|
-
readonly template: {
|
|
3636
|
+
readonly sections: {
|
|
3628
3637
|
readonly id: string;
|
|
3629
3638
|
name: string;
|
|
3639
|
+
content: Record<string, any>;
|
|
3640
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
3641
|
+
metadata?: Record<string, any> | undefined;
|
|
3642
|
+
}[];
|
|
3643
|
+
readonly shared_link: {
|
|
3644
|
+
readonly url: string;
|
|
3645
|
+
short_url?: (string | null) | undefined;
|
|
3630
3646
|
};
|
|
3631
|
-
|
|
3632
|
-
|
|
3647
|
+
account?: {
|
|
3648
|
+
id: string;
|
|
3649
|
+
name: string;
|
|
3650
|
+
} | null | undefined;
|
|
3633
3651
|
readonly events: {
|
|
3634
3652
|
readonly id: string;
|
|
3635
3653
|
start_at: string;
|
|
3636
3654
|
subject: string;
|
|
3637
3655
|
}[];
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3656
|
+
folder_id?: (string | null) | undefined;
|
|
3657
|
+
readonly owned_by: {
|
|
3658
|
+
readonly id: number;
|
|
3659
|
+
readonly name: string;
|
|
3660
|
+
email?: string | undefined;
|
|
3661
|
+
};
|
|
3662
|
+
readonly created_at: string;
|
|
3663
|
+
readonly created_by: {
|
|
3664
|
+
readonly id: number;
|
|
3665
|
+
readonly name: string;
|
|
3666
|
+
email?: string | undefined;
|
|
3667
|
+
};
|
|
3668
|
+
readonly modified_at: string;
|
|
3669
|
+
readonly modified_by: {
|
|
3670
|
+
readonly id: number;
|
|
3671
|
+
readonly name: string;
|
|
3672
|
+
email?: string | undefined;
|
|
3673
|
+
};
|
|
3646
3674
|
} | null>;
|
|
3647
3675
|
activeCanvasSections: import('vue').ComputedRef<import('lodash').Dictionary<{
|
|
3648
3676
|
readonly id: string;
|
|
3649
3677
|
name: string;
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3678
|
+
content: Record<string, any>;
|
|
3679
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
3680
|
+
metadata?: Record<string, any> | undefined;
|
|
3653
3681
|
}>>;
|
|
3654
3682
|
activeEditNode: import('vue').ComputedRef<{
|
|
3655
3683
|
readonly id: string;
|
|
@@ -3661,8 +3689,8 @@ export default function useCanvas(): {
|
|
|
3661
3689
|
readonly pdf: boolean;
|
|
3662
3690
|
readonly web: boolean;
|
|
3663
3691
|
} | undefined;
|
|
3664
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
3665
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
3692
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
3693
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
3666
3694
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
3667
3695
|
readonly data?: {
|
|
3668
3696
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -3670,72 +3698,76 @@ export default function useCanvas(): {
|
|
|
3670
3698
|
} | {
|
|
3671
3699
|
readonly span: number;
|
|
3672
3700
|
readonly tooltips?: readonly {
|
|
3673
|
-
readonly content?: string;
|
|
3701
|
+
readonly content?: string | undefined;
|
|
3674
3702
|
readonly content_style?: {
|
|
3675
3703
|
readonly [x: string]: any;
|
|
3676
3704
|
} | undefined;
|
|
3677
|
-
readonly trigger?: string;
|
|
3705
|
+
readonly trigger?: string | undefined;
|
|
3678
3706
|
readonly trigger_style?: {
|
|
3679
3707
|
readonly [x: string]: any;
|
|
3680
3708
|
} | undefined;
|
|
3681
3709
|
}[] | undefined;
|
|
3682
3710
|
} | {
|
|
3683
|
-
readonly content?: string;
|
|
3711
|
+
readonly content?: string | undefined;
|
|
3684
3712
|
} | {
|
|
3685
3713
|
readonly images?: readonly {
|
|
3686
3714
|
readonly url: string;
|
|
3687
|
-
readonly is_uploaded_asset?: boolean;
|
|
3715
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
3688
3716
|
}[] | undefined;
|
|
3689
|
-
readonly placeholder_height?: string;
|
|
3690
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
3717
|
+
readonly placeholder_height?: string | undefined;
|
|
3718
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
3691
3719
|
} | {
|
|
3692
3720
|
readonly asset_type: "external";
|
|
3693
3721
|
readonly external_url: string;
|
|
3694
3722
|
readonly type: "image" | "video";
|
|
3695
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
3723
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
3696
3724
|
} | {
|
|
3697
3725
|
readonly asset_type: "pitcher_asset";
|
|
3698
3726
|
readonly file: {
|
|
3699
3727
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
3700
3728
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
3701
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
3729
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
3702
3730
|
};
|
|
3703
3731
|
readonly type: "image" | "video";
|
|
3704
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
3732
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
3705
3733
|
} | {
|
|
3706
3734
|
readonly type: "app";
|
|
3707
3735
|
readonly app_name: string;
|
|
3708
3736
|
readonly src: string | null;
|
|
3709
|
-
readonly height?: string;
|
|
3710
|
-
readonly width?: string;
|
|
3737
|
+
readonly height?: string | undefined;
|
|
3738
|
+
readonly width?: string | undefined;
|
|
3711
3739
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
3712
3740
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
3713
3741
|
readonly properties_by_embed_location?: {
|
|
3714
3742
|
readonly canvas?: {
|
|
3715
|
-
readonly start_in_loading_mode?: boolean;
|
|
3743
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
3716
3744
|
} | undefined;
|
|
3717
3745
|
readonly dsr?: {
|
|
3718
|
-
readonly start_in_loading_mode?: boolean;
|
|
3746
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
3719
3747
|
} | undefined;
|
|
3720
3748
|
readonly ui_app?: {
|
|
3721
|
-
readonly start_in_loading_mode?: boolean;
|
|
3749
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
3722
3750
|
} | undefined;
|
|
3723
3751
|
readonly admin_instance?: {
|
|
3724
|
-
readonly start_in_loading_mode?: boolean;
|
|
3752
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
3725
3753
|
} | undefined;
|
|
3726
3754
|
} | undefined;
|
|
3727
3755
|
readonly file: {
|
|
3728
3756
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3729
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3757
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
3730
3758
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3731
|
-
readonly is_deleted?: boolean;
|
|
3759
|
+
readonly is_deleted?: boolean | undefined;
|
|
3732
3760
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3733
3761
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3734
3762
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
3735
|
-
readonly
|
|
3763
|
+
readonly permissions?: {
|
|
3764
|
+
readonly can_download?: boolean | undefined;
|
|
3765
|
+
readonly can_share?: boolean | undefined;
|
|
3766
|
+
} | undefined;
|
|
3767
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
3736
3768
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
3737
3769
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
3738
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
3770
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
3739
3771
|
readonly pspdfkit_auth_payload?: {
|
|
3740
3772
|
readonly [x: string]: any;
|
|
3741
3773
|
} | null | undefined;
|
|
@@ -3747,85 +3779,93 @@ export default function useCanvas(): {
|
|
|
3747
3779
|
readonly items: readonly ({
|
|
3748
3780
|
readonly file: {
|
|
3749
3781
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3750
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3782
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
3751
3783
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3752
|
-
readonly is_deleted?: boolean;
|
|
3753
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3754
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3755
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
3784
|
+
readonly is_deleted?: boolean | undefined;
|
|
3785
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
3786
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
3787
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
3788
|
+
readonly permissions?: {
|
|
3789
|
+
readonly can_download?: boolean | undefined;
|
|
3790
|
+
readonly can_share?: boolean | undefined;
|
|
3791
|
+
} | undefined;
|
|
3756
3792
|
};
|
|
3757
3793
|
readonly slide: {
|
|
3758
3794
|
readonly index: number;
|
|
3759
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
3795
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
3760
3796
|
};
|
|
3761
3797
|
readonly type: "slide";
|
|
3762
3798
|
} | {
|
|
3763
3799
|
readonly file: {
|
|
3764
3800
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3765
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3801
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
3766
3802
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3767
|
-
readonly is_deleted?: boolean;
|
|
3803
|
+
readonly is_deleted?: boolean | undefined;
|
|
3768
3804
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3769
3805
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3770
3806
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
3771
|
-
readonly
|
|
3807
|
+
readonly permissions?: {
|
|
3808
|
+
readonly can_download?: boolean | undefined;
|
|
3809
|
+
readonly can_share?: boolean | undefined;
|
|
3810
|
+
} | undefined;
|
|
3811
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
3772
3812
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
3773
3813
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
3774
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
3814
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
3775
3815
|
readonly pspdfkit_auth_payload?: {
|
|
3776
3816
|
readonly [x: string]: any;
|
|
3777
3817
|
} | null | undefined;
|
|
3778
3818
|
};
|
|
3779
3819
|
readonly type: "file";
|
|
3780
3820
|
})[];
|
|
3781
|
-
readonly size?: "medium";
|
|
3782
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
3821
|
+
readonly size?: "medium" | undefined;
|
|
3822
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
3783
3823
|
} | {
|
|
3784
3824
|
readonly sections: readonly {
|
|
3785
3825
|
readonly id: string;
|
|
3786
3826
|
readonly style?: {
|
|
3787
3827
|
readonly [x: string]: any;
|
|
3788
3828
|
} | undefined;
|
|
3789
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
3790
|
-
readonly background_video_url?: string;
|
|
3829
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
3830
|
+
readonly background_video_url?: string | undefined;
|
|
3791
3831
|
}[];
|
|
3792
|
-
readonly animation_in?: string;
|
|
3832
|
+
readonly animation_in?: string | undefined;
|
|
3793
3833
|
} | {
|
|
3794
3834
|
readonly html: string;
|
|
3795
3835
|
} | {
|
|
3796
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
3797
|
-
readonly background_color?: string;
|
|
3798
|
-
readonly canvas_anchor?: string;
|
|
3799
|
-
readonly color?: string;
|
|
3800
|
-
readonly display_text?: string;
|
|
3801
|
-
readonly font_family?: string;
|
|
3802
|
-
readonly font_size?: number;
|
|
3803
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
3804
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
3805
|
-
readonly target?: "_self" | "_blank";
|
|
3806
|
-
readonly url?: string;
|
|
3836
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
3837
|
+
readonly background_color?: string | undefined;
|
|
3838
|
+
readonly canvas_anchor?: string | undefined;
|
|
3839
|
+
readonly color?: string | undefined;
|
|
3840
|
+
readonly display_text?: string | undefined;
|
|
3841
|
+
readonly font_family?: string | undefined;
|
|
3842
|
+
readonly font_size?: number | undefined;
|
|
3843
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
3844
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
3845
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
3846
|
+
readonly url?: string | undefined;
|
|
3807
3847
|
} | {} | {
|
|
3808
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
3809
|
-
readonly background_video_url?: string;
|
|
3848
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
3849
|
+
readonly background_video_url?: string | undefined;
|
|
3810
3850
|
} | {
|
|
3811
3851
|
readonly events: readonly {
|
|
3812
|
-
readonly top_hint?: string;
|
|
3852
|
+
readonly top_hint?: string | undefined;
|
|
3813
3853
|
readonly top_hint_style?: {
|
|
3814
3854
|
readonly [x: string]: any;
|
|
3815
3855
|
} | undefined;
|
|
3816
|
-
readonly title?: string;
|
|
3856
|
+
readonly title?: string | undefined;
|
|
3817
3857
|
readonly title_style?: {
|
|
3818
3858
|
readonly [x: string]: any;
|
|
3819
3859
|
} | undefined;
|
|
3820
|
-
readonly description?: string;
|
|
3860
|
+
readonly description?: string | undefined;
|
|
3821
3861
|
readonly description_style?: {
|
|
3822
3862
|
readonly [x: string]: any;
|
|
3823
3863
|
} | undefined;
|
|
3824
|
-
readonly image_url?: string;
|
|
3864
|
+
readonly image_url?: string | undefined;
|
|
3825
3865
|
readonly image_style?: {
|
|
3826
3866
|
readonly [x: string]: any;
|
|
3827
3867
|
} | undefined;
|
|
3828
|
-
readonly icon?: string;
|
|
3868
|
+
readonly icon?: string | undefined;
|
|
3829
3869
|
readonly icon_style?: {
|
|
3830
3870
|
readonly [x: string]: any;
|
|
3831
3871
|
} | undefined;
|
|
@@ -5438,8 +5478,8 @@ export default function useCanvas(): {
|
|
|
5438
5478
|
} | null>;
|
|
5439
5479
|
activeNavigationItems: Ref<{
|
|
5440
5480
|
id: string;
|
|
5441
|
-
sectionId?: string;
|
|
5442
|
-
previewMode?: boolean;
|
|
5481
|
+
sectionId?: string | undefined;
|
|
5482
|
+
previewMode?: boolean | undefined;
|
|
5443
5483
|
}[]>;
|
|
5444
5484
|
activeSettingsNode: import('vue').ComputedRef<{
|
|
5445
5485
|
readonly id: string;
|
|
@@ -5451,8 +5491,8 @@ export default function useCanvas(): {
|
|
|
5451
5491
|
readonly pdf: boolean;
|
|
5452
5492
|
readonly web: boolean;
|
|
5453
5493
|
} | undefined;
|
|
5454
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
5455
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
5494
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
5495
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
5456
5496
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
5457
5497
|
readonly data?: {
|
|
5458
5498
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -5460,72 +5500,76 @@ export default function useCanvas(): {
|
|
|
5460
5500
|
} | {
|
|
5461
5501
|
readonly span: number;
|
|
5462
5502
|
readonly tooltips?: readonly {
|
|
5463
|
-
readonly content?: string;
|
|
5503
|
+
readonly content?: string | undefined;
|
|
5464
5504
|
readonly content_style?: {
|
|
5465
5505
|
readonly [x: string]: any;
|
|
5466
5506
|
} | undefined;
|
|
5467
|
-
readonly trigger?: string;
|
|
5507
|
+
readonly trigger?: string | undefined;
|
|
5468
5508
|
readonly trigger_style?: {
|
|
5469
5509
|
readonly [x: string]: any;
|
|
5470
5510
|
} | undefined;
|
|
5471
5511
|
}[] | undefined;
|
|
5472
5512
|
} | {
|
|
5473
|
-
readonly content?: string;
|
|
5513
|
+
readonly content?: string | undefined;
|
|
5474
5514
|
} | {
|
|
5475
5515
|
readonly images?: readonly {
|
|
5476
5516
|
readonly url: string;
|
|
5477
|
-
readonly is_uploaded_asset?: boolean;
|
|
5517
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
5478
5518
|
}[] | undefined;
|
|
5479
|
-
readonly placeholder_height?: string;
|
|
5480
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
5519
|
+
readonly placeholder_height?: string | undefined;
|
|
5520
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
5481
5521
|
} | {
|
|
5482
5522
|
readonly asset_type: "external";
|
|
5483
5523
|
readonly external_url: string;
|
|
5484
5524
|
readonly type: "image" | "video";
|
|
5485
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
5525
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
5486
5526
|
} | {
|
|
5487
5527
|
readonly asset_type: "pitcher_asset";
|
|
5488
5528
|
readonly file: {
|
|
5489
5529
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
5490
5530
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
5491
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
5531
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
5492
5532
|
};
|
|
5493
5533
|
readonly type: "image" | "video";
|
|
5494
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
5534
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
5495
5535
|
} | {
|
|
5496
5536
|
readonly type: "app";
|
|
5497
5537
|
readonly app_name: string;
|
|
5498
5538
|
readonly src: string | null;
|
|
5499
|
-
readonly height?: string;
|
|
5500
|
-
readonly width?: string;
|
|
5539
|
+
readonly height?: string | undefined;
|
|
5540
|
+
readonly width?: string | undefined;
|
|
5501
5541
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
5502
5542
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
5503
5543
|
readonly properties_by_embed_location?: {
|
|
5504
5544
|
readonly canvas?: {
|
|
5505
|
-
readonly start_in_loading_mode?: boolean;
|
|
5545
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
5506
5546
|
} | undefined;
|
|
5507
5547
|
readonly dsr?: {
|
|
5508
|
-
readonly start_in_loading_mode?: boolean;
|
|
5548
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
5509
5549
|
} | undefined;
|
|
5510
5550
|
readonly ui_app?: {
|
|
5511
|
-
readonly start_in_loading_mode?: boolean;
|
|
5551
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
5512
5552
|
} | undefined;
|
|
5513
5553
|
readonly admin_instance?: {
|
|
5514
|
-
readonly start_in_loading_mode?: boolean;
|
|
5554
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
5515
5555
|
} | undefined;
|
|
5516
5556
|
} | undefined;
|
|
5517
5557
|
readonly file: {
|
|
5518
5558
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5519
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5559
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
5520
5560
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
5521
|
-
readonly is_deleted?: boolean;
|
|
5561
|
+
readonly is_deleted?: boolean | undefined;
|
|
5522
5562
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
5523
5563
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
5524
5564
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
5525
|
-
readonly
|
|
5565
|
+
readonly permissions?: {
|
|
5566
|
+
readonly can_download?: boolean | undefined;
|
|
5567
|
+
readonly can_share?: boolean | undefined;
|
|
5568
|
+
} | undefined;
|
|
5569
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
5526
5570
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
5527
5571
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
5528
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
5572
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
5529
5573
|
readonly pspdfkit_auth_payload?: {
|
|
5530
5574
|
readonly [x: string]: any;
|
|
5531
5575
|
} | null | undefined;
|
|
@@ -5537,85 +5581,93 @@ export default function useCanvas(): {
|
|
|
5537
5581
|
readonly items: readonly ({
|
|
5538
5582
|
readonly file: {
|
|
5539
5583
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5540
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5584
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
5541
5585
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
5542
|
-
readonly is_deleted?: boolean;
|
|
5543
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
5544
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
5545
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
5586
|
+
readonly is_deleted?: boolean | undefined;
|
|
5587
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
5588
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
5589
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
5590
|
+
readonly permissions?: {
|
|
5591
|
+
readonly can_download?: boolean | undefined;
|
|
5592
|
+
readonly can_share?: boolean | undefined;
|
|
5593
|
+
} | undefined;
|
|
5546
5594
|
};
|
|
5547
5595
|
readonly slide: {
|
|
5548
5596
|
readonly index: number;
|
|
5549
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
5597
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
5550
5598
|
};
|
|
5551
5599
|
readonly type: "slide";
|
|
5552
5600
|
} | {
|
|
5553
5601
|
readonly file: {
|
|
5554
5602
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5555
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5603
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
5556
5604
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
5557
|
-
readonly is_deleted?: boolean;
|
|
5605
|
+
readonly is_deleted?: boolean | undefined;
|
|
5558
5606
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
5559
5607
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
5560
5608
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
5561
|
-
readonly
|
|
5609
|
+
readonly permissions?: {
|
|
5610
|
+
readonly can_download?: boolean | undefined;
|
|
5611
|
+
readonly can_share?: boolean | undefined;
|
|
5612
|
+
} | undefined;
|
|
5613
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
5562
5614
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
5563
5615
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
5564
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
5616
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
5565
5617
|
readonly pspdfkit_auth_payload?: {
|
|
5566
5618
|
readonly [x: string]: any;
|
|
5567
5619
|
} | null | undefined;
|
|
5568
5620
|
};
|
|
5569
5621
|
readonly type: "file";
|
|
5570
5622
|
})[];
|
|
5571
|
-
readonly size?: "medium";
|
|
5572
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
5623
|
+
readonly size?: "medium" | undefined;
|
|
5624
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
5573
5625
|
} | {
|
|
5574
5626
|
readonly sections: readonly {
|
|
5575
5627
|
readonly id: string;
|
|
5576
5628
|
readonly style?: {
|
|
5577
5629
|
readonly [x: string]: any;
|
|
5578
5630
|
} | undefined;
|
|
5579
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
5580
|
-
readonly background_video_url?: string;
|
|
5631
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
5632
|
+
readonly background_video_url?: string | undefined;
|
|
5581
5633
|
}[];
|
|
5582
|
-
readonly animation_in?: string;
|
|
5634
|
+
readonly animation_in?: string | undefined;
|
|
5583
5635
|
} | {
|
|
5584
5636
|
readonly html: string;
|
|
5585
5637
|
} | {
|
|
5586
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
5587
|
-
readonly background_color?: string;
|
|
5588
|
-
readonly canvas_anchor?: string;
|
|
5589
|
-
readonly color?: string;
|
|
5590
|
-
readonly display_text?: string;
|
|
5591
|
-
readonly font_family?: string;
|
|
5592
|
-
readonly font_size?: number;
|
|
5593
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
5594
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
5595
|
-
readonly target?: "_self" | "_blank";
|
|
5596
|
-
readonly url?: string;
|
|
5638
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
5639
|
+
readonly background_color?: string | undefined;
|
|
5640
|
+
readonly canvas_anchor?: string | undefined;
|
|
5641
|
+
readonly color?: string | undefined;
|
|
5642
|
+
readonly display_text?: string | undefined;
|
|
5643
|
+
readonly font_family?: string | undefined;
|
|
5644
|
+
readonly font_size?: number | undefined;
|
|
5645
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
5646
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
5647
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
5648
|
+
readonly url?: string | undefined;
|
|
5597
5649
|
} | {} | {
|
|
5598
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
5599
|
-
readonly background_video_url?: string;
|
|
5650
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
5651
|
+
readonly background_video_url?: string | undefined;
|
|
5600
5652
|
} | {
|
|
5601
5653
|
readonly events: readonly {
|
|
5602
|
-
readonly top_hint?: string;
|
|
5654
|
+
readonly top_hint?: string | undefined;
|
|
5603
5655
|
readonly top_hint_style?: {
|
|
5604
5656
|
readonly [x: string]: any;
|
|
5605
5657
|
} | undefined;
|
|
5606
|
-
readonly title?: string;
|
|
5658
|
+
readonly title?: string | undefined;
|
|
5607
5659
|
readonly title_style?: {
|
|
5608
5660
|
readonly [x: string]: any;
|
|
5609
5661
|
} | undefined;
|
|
5610
|
-
readonly description?: string;
|
|
5662
|
+
readonly description?: string | undefined;
|
|
5611
5663
|
readonly description_style?: {
|
|
5612
5664
|
readonly [x: string]: any;
|
|
5613
5665
|
} | undefined;
|
|
5614
|
-
readonly image_url?: string;
|
|
5666
|
+
readonly image_url?: string | undefined;
|
|
5615
5667
|
readonly image_style?: {
|
|
5616
5668
|
readonly [x: string]: any;
|
|
5617
5669
|
} | undefined;
|
|
5618
|
-
readonly icon?: string;
|
|
5670
|
+
readonly icon?: string | undefined;
|
|
5619
5671
|
readonly icon_style?: {
|
|
5620
5672
|
readonly [x: string]: any;
|
|
5621
5673
|
} | undefined;
|
|
@@ -7241,153 +7293,165 @@ export default function useCanvas(): {
|
|
|
7241
7293
|
pdf: boolean;
|
|
7242
7294
|
web: boolean;
|
|
7243
7295
|
} | undefined;
|
|
7244
|
-
allow_admins_to_overwrite?: boolean;
|
|
7245
|
-
autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
7246
|
-
autofill_content_types?: import('../../../../types/openapi').FileContentTypeEnum[] | null;
|
|
7296
|
+
allow_admins_to_overwrite?: boolean | undefined;
|
|
7297
|
+
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
7298
|
+
autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
|
|
7247
7299
|
data?: import('@canvas-builder/types/canvas').PageBreakProps | {
|
|
7248
7300
|
layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
7249
7301
|
columns: number;
|
|
7250
7302
|
} | {
|
|
7251
7303
|
span: number;
|
|
7252
7304
|
tooltips?: {
|
|
7253
|
-
content?: string;
|
|
7254
|
-
content_style?: Record<string, any
|
|
7255
|
-
trigger?: string;
|
|
7256
|
-
trigger_style?: Record<string, any
|
|
7305
|
+
content?: string | undefined;
|
|
7306
|
+
content_style?: Record<string, any> | undefined;
|
|
7307
|
+
trigger?: string | undefined;
|
|
7308
|
+
trigger_style?: Record<string, any> | undefined;
|
|
7257
7309
|
}[] | undefined;
|
|
7258
7310
|
} | {
|
|
7259
|
-
content?: string;
|
|
7311
|
+
content?: string | undefined;
|
|
7260
7312
|
} | {
|
|
7261
7313
|
images?: {
|
|
7262
7314
|
url: string;
|
|
7263
|
-
is_uploaded_asset?: boolean;
|
|
7315
|
+
is_uploaded_asset?: boolean | undefined;
|
|
7264
7316
|
}[] | undefined;
|
|
7265
|
-
placeholder_height?: string;
|
|
7266
|
-
include_all_images_in_pdf?: boolean;
|
|
7317
|
+
placeholder_height?: string | undefined;
|
|
7318
|
+
include_all_images_in_pdf?: boolean | undefined;
|
|
7267
7319
|
} | {
|
|
7268
7320
|
asset_type: "external";
|
|
7269
7321
|
external_url: string;
|
|
7270
7322
|
type: "image" | "video";
|
|
7271
|
-
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
7323
|
+
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
7272
7324
|
} | {
|
|
7273
7325
|
asset_type: "pitcher_asset";
|
|
7274
7326
|
file: {
|
|
7275
7327
|
id: import('../../../../types/openapi').File["id"];
|
|
7276
7328
|
name: import('../../../../types/openapi').File["name"];
|
|
7277
|
-
content_url?: import('../../../../types/openapi').File["content_url"];
|
|
7329
|
+
content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
7278
7330
|
};
|
|
7279
7331
|
type: "image" | "video";
|
|
7280
|
-
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
7332
|
+
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
7281
7333
|
} | {
|
|
7282
7334
|
type: "app";
|
|
7283
7335
|
app_name: string;
|
|
7284
7336
|
src: string | null;
|
|
7285
|
-
height?: string;
|
|
7286
|
-
width?: string;
|
|
7287
|
-
embed_locations?: EmbedLocation[];
|
|
7288
|
-
headless_locations?: EmbedLocation[];
|
|
7337
|
+
height?: string | undefined;
|
|
7338
|
+
width?: string | undefined;
|
|
7339
|
+
embed_locations?: EmbedLocation[] | undefined;
|
|
7340
|
+
headless_locations?: EmbedLocation[] | undefined;
|
|
7289
7341
|
properties_by_embed_location?: {
|
|
7290
7342
|
canvas?: {
|
|
7291
|
-
start_in_loading_mode?: boolean;
|
|
7343
|
+
start_in_loading_mode?: boolean | undefined;
|
|
7292
7344
|
} | undefined;
|
|
7293
7345
|
dsr?: {
|
|
7294
|
-
start_in_loading_mode?: boolean;
|
|
7346
|
+
start_in_loading_mode?: boolean | undefined;
|
|
7295
7347
|
} | undefined;
|
|
7296
7348
|
ui_app?: {
|
|
7297
|
-
start_in_loading_mode?: boolean;
|
|
7349
|
+
start_in_loading_mode?: boolean | undefined;
|
|
7298
7350
|
} | undefined;
|
|
7299
7351
|
admin_instance?: {
|
|
7300
|
-
start_in_loading_mode?: boolean;
|
|
7352
|
+
start_in_loading_mode?: boolean | undefined;
|
|
7301
7353
|
} | undefined;
|
|
7302
7354
|
} | undefined;
|
|
7303
7355
|
file: {
|
|
7304
7356
|
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7305
|
-
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7357
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
7306
7358
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
7307
|
-
is_deleted?: boolean;
|
|
7359
|
+
is_deleted?: boolean | undefined;
|
|
7308
7360
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
7309
7361
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
7310
7362
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
7311
|
-
|
|
7363
|
+
permissions?: {
|
|
7364
|
+
can_download?: boolean | undefined;
|
|
7365
|
+
can_share?: boolean | undefined;
|
|
7366
|
+
} | undefined;
|
|
7367
|
+
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
7312
7368
|
content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
7313
|
-
content_thumbnails?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null;
|
|
7314
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
7315
|
-
readonly pspdfkit_auth_payload?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_auth_payload"];
|
|
7369
|
+
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
7370
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
7371
|
+
readonly pspdfkit_auth_payload?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_auth_payload"] | undefined;
|
|
7316
7372
|
} | null;
|
|
7317
|
-
settings?: Record<string, unknown
|
|
7373
|
+
settings?: Record<string, unknown> | undefined;
|
|
7318
7374
|
} | {
|
|
7319
7375
|
items: ({
|
|
7320
7376
|
file: {
|
|
7321
7377
|
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7322
|
-
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7378
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
7323
7379
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
7324
|
-
is_deleted?: boolean;
|
|
7325
|
-
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
7326
|
-
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
7327
|
-
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
7380
|
+
is_deleted?: boolean | undefined;
|
|
7381
|
+
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
7382
|
+
content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
7383
|
+
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
7384
|
+
permissions?: {
|
|
7385
|
+
can_download?: boolean | undefined;
|
|
7386
|
+
can_share?: boolean | undefined;
|
|
7387
|
+
} | undefined;
|
|
7328
7388
|
};
|
|
7329
7389
|
slide: {
|
|
7330
7390
|
index: number;
|
|
7331
|
-
url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
7391
|
+
url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
7332
7392
|
};
|
|
7333
7393
|
type: "slide";
|
|
7334
7394
|
} | {
|
|
7335
7395
|
file: {
|
|
7336
7396
|
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7337
|
-
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7397
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
7338
7398
|
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
7339
|
-
is_deleted?: boolean;
|
|
7399
|
+
is_deleted?: boolean | undefined;
|
|
7340
7400
|
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
7341
7401
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
7342
7402
|
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
7343
|
-
|
|
7403
|
+
permissions?: {
|
|
7404
|
+
can_download?: boolean | undefined;
|
|
7405
|
+
can_share?: boolean | undefined;
|
|
7406
|
+
} | undefined;
|
|
7407
|
+
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
7344
7408
|
content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
7345
|
-
content_thumbnails?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null;
|
|
7346
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
7347
|
-
readonly pspdfkit_auth_payload?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_auth_payload"];
|
|
7409
|
+
content_thumbnails?: (import('../../../../types/openapi').FileRetrieve["content_thumbnails"] | null) | undefined;
|
|
7410
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
7411
|
+
readonly pspdfkit_auth_payload?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_auth_payload"] | undefined;
|
|
7348
7412
|
};
|
|
7349
7413
|
type: "file";
|
|
7350
7414
|
})[];
|
|
7351
|
-
size?: "medium";
|
|
7352
|
-
layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
7415
|
+
size?: "medium" | undefined;
|
|
7416
|
+
layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
7353
7417
|
} | {
|
|
7354
7418
|
sections: {
|
|
7355
7419
|
id: string;
|
|
7356
|
-
style?: Record<string, any
|
|
7357
|
-
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
7358
|
-
background_video_url?: string;
|
|
7420
|
+
style?: Record<string, any> | undefined;
|
|
7421
|
+
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
7422
|
+
background_video_url?: string | undefined;
|
|
7359
7423
|
}[];
|
|
7360
|
-
animation_in?: string;
|
|
7424
|
+
animation_in?: string | undefined;
|
|
7361
7425
|
} | {
|
|
7362
7426
|
html: string;
|
|
7363
7427
|
} | {
|
|
7364
|
-
alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
7365
|
-
background_color?: string;
|
|
7366
|
-
canvas_anchor?: string;
|
|
7367
|
-
color?: string;
|
|
7368
|
-
display_text?: string;
|
|
7369
|
-
font_family?: string;
|
|
7370
|
-
font_size?: number;
|
|
7371
|
-
link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
7372
|
-
preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
7373
|
-
target?: "_self" | "_blank";
|
|
7374
|
-
url?: string;
|
|
7428
|
+
alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
7429
|
+
background_color?: string | undefined;
|
|
7430
|
+
canvas_anchor?: string | undefined;
|
|
7431
|
+
color?: string | undefined;
|
|
7432
|
+
display_text?: string | undefined;
|
|
7433
|
+
font_family?: string | undefined;
|
|
7434
|
+
font_size?: number | undefined;
|
|
7435
|
+
link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
7436
|
+
preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
7437
|
+
target?: ("_self" | "_blank") | undefined;
|
|
7438
|
+
url?: string | undefined;
|
|
7375
7439
|
} | {
|
|
7376
|
-
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
7377
|
-
background_video_url?: string;
|
|
7440
|
+
aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
7441
|
+
background_video_url?: string | undefined;
|
|
7378
7442
|
} | {
|
|
7379
7443
|
events: {
|
|
7380
|
-
top_hint?: string;
|
|
7381
|
-
top_hint_style?: Record<string, any
|
|
7382
|
-
title?: string;
|
|
7383
|
-
title_style?: Record<string, any
|
|
7384
|
-
description?: string;
|
|
7385
|
-
description_style?: Record<string, any
|
|
7386
|
-
image_url?: string;
|
|
7387
|
-
image_style?: Record<string, any
|
|
7388
|
-
icon?: string;
|
|
7389
|
-
icon_style?: Record<string, any
|
|
7390
|
-
card_style?: Record<string, any
|
|
7444
|
+
top_hint?: string | undefined;
|
|
7445
|
+
top_hint_style?: Record<string, any> | undefined;
|
|
7446
|
+
title?: string | undefined;
|
|
7447
|
+
title_style?: Record<string, any> | undefined;
|
|
7448
|
+
description?: string | undefined;
|
|
7449
|
+
description_style?: Record<string, any> | undefined;
|
|
7450
|
+
image_url?: string | undefined;
|
|
7451
|
+
image_style?: Record<string, any> | undefined;
|
|
7452
|
+
icon?: string | undefined;
|
|
7453
|
+
icon_style?: Record<string, any> | undefined;
|
|
7454
|
+
card_style?: Record<string, any> | undefined;
|
|
7391
7455
|
}[];
|
|
7392
7456
|
layout: "vertical" | "horizontal";
|
|
7393
7457
|
} | undefined;
|
|
@@ -8990,12 +9054,12 @@ export default function useCanvas(): {
|
|
|
8990
9054
|
"text-anchor"?: import("csstype").Property.TextAnchor | undefined;
|
|
8991
9055
|
"vector-effect"?: import("csstype").Property.VectorEffect | undefined;
|
|
8992
9056
|
} | undefined;
|
|
8993
|
-
tags?: string[];
|
|
9057
|
+
tags?: string[] | undefined;
|
|
8994
9058
|
}[]>;
|
|
8995
9059
|
componentEditMode: Ref<false | {
|
|
8996
9060
|
type: ComponentTypes;
|
|
8997
9061
|
id: ComponentNode["id"] | null;
|
|
8998
|
-
usedInSectionId?:
|
|
9062
|
+
usedInSectionId?: CanvasRetrieve["id"] | undefined;
|
|
8999
9063
|
}>;
|
|
9000
9064
|
parentIdByNodeId: import('vue').ComputedRef<{
|
|
9001
9065
|
readonly [x: string]: string | null;
|
|
@@ -9011,8 +9075,8 @@ export default function useCanvas(): {
|
|
|
9011
9075
|
readonly pdf: boolean;
|
|
9012
9076
|
readonly web: boolean;
|
|
9013
9077
|
} | undefined;
|
|
9014
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
9015
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
9078
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
9079
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
9016
9080
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
9017
9081
|
readonly data?: {
|
|
9018
9082
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -9020,72 +9084,76 @@ export default function useCanvas(): {
|
|
|
9020
9084
|
} | {
|
|
9021
9085
|
readonly span: number;
|
|
9022
9086
|
readonly tooltips?: readonly {
|
|
9023
|
-
readonly content?: string;
|
|
9087
|
+
readonly content?: string | undefined;
|
|
9024
9088
|
readonly content_style?: {
|
|
9025
9089
|
readonly [x: string]: any;
|
|
9026
9090
|
} | undefined;
|
|
9027
|
-
readonly trigger?: string;
|
|
9091
|
+
readonly trigger?: string | undefined;
|
|
9028
9092
|
readonly trigger_style?: {
|
|
9029
9093
|
readonly [x: string]: any;
|
|
9030
9094
|
} | undefined;
|
|
9031
9095
|
}[] | undefined;
|
|
9032
9096
|
} | {
|
|
9033
|
-
readonly content?: string;
|
|
9097
|
+
readonly content?: string | undefined;
|
|
9034
9098
|
} | {
|
|
9035
9099
|
readonly images?: readonly {
|
|
9036
9100
|
readonly url: string;
|
|
9037
|
-
readonly is_uploaded_asset?: boolean;
|
|
9101
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
9038
9102
|
}[] | undefined;
|
|
9039
|
-
readonly placeholder_height?: string;
|
|
9040
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
9103
|
+
readonly placeholder_height?: string | undefined;
|
|
9104
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
9041
9105
|
} | {
|
|
9042
9106
|
readonly asset_type: "external";
|
|
9043
9107
|
readonly external_url: string;
|
|
9044
9108
|
readonly type: "image" | "video";
|
|
9045
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
9109
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
9046
9110
|
} | {
|
|
9047
9111
|
readonly asset_type: "pitcher_asset";
|
|
9048
9112
|
readonly file: {
|
|
9049
9113
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
9050
9114
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
9051
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
9115
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
9052
9116
|
};
|
|
9053
9117
|
readonly type: "image" | "video";
|
|
9054
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
9118
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
9055
9119
|
} | {
|
|
9056
9120
|
readonly type: "app";
|
|
9057
9121
|
readonly app_name: string;
|
|
9058
9122
|
readonly src: string | null;
|
|
9059
|
-
readonly height?: string;
|
|
9060
|
-
readonly width?: string;
|
|
9123
|
+
readonly height?: string | undefined;
|
|
9124
|
+
readonly width?: string | undefined;
|
|
9061
9125
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
9062
9126
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
9063
9127
|
readonly properties_by_embed_location?: {
|
|
9064
9128
|
readonly canvas?: {
|
|
9065
|
-
readonly start_in_loading_mode?: boolean;
|
|
9129
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
9066
9130
|
} | undefined;
|
|
9067
9131
|
readonly dsr?: {
|
|
9068
|
-
readonly start_in_loading_mode?: boolean;
|
|
9132
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
9069
9133
|
} | undefined;
|
|
9070
9134
|
readonly ui_app?: {
|
|
9071
|
-
readonly start_in_loading_mode?: boolean;
|
|
9135
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
9072
9136
|
} | undefined;
|
|
9073
9137
|
readonly admin_instance?: {
|
|
9074
|
-
readonly start_in_loading_mode?: boolean;
|
|
9138
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
9075
9139
|
} | undefined;
|
|
9076
9140
|
} | undefined;
|
|
9077
9141
|
readonly file: {
|
|
9078
9142
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9079
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9143
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
9080
9144
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
9081
|
-
readonly is_deleted?: boolean;
|
|
9145
|
+
readonly is_deleted?: boolean | undefined;
|
|
9082
9146
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
9083
9147
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
9084
9148
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
9085
|
-
readonly
|
|
9149
|
+
readonly permissions?: {
|
|
9150
|
+
readonly can_download?: boolean | undefined;
|
|
9151
|
+
readonly can_share?: boolean | undefined;
|
|
9152
|
+
} | undefined;
|
|
9153
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
9086
9154
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
9087
9155
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
9088
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
9156
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
9089
9157
|
readonly pspdfkit_auth_payload?: {
|
|
9090
9158
|
readonly [x: string]: any;
|
|
9091
9159
|
} | null | undefined;
|
|
@@ -9097,85 +9165,93 @@ export default function useCanvas(): {
|
|
|
9097
9165
|
readonly items: readonly ({
|
|
9098
9166
|
readonly file: {
|
|
9099
9167
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9100
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9168
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
9101
9169
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
9102
|
-
readonly is_deleted?: boolean;
|
|
9103
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
9104
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
9105
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
9170
|
+
readonly is_deleted?: boolean | undefined;
|
|
9171
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
9172
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
9173
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
9174
|
+
readonly permissions?: {
|
|
9175
|
+
readonly can_download?: boolean | undefined;
|
|
9176
|
+
readonly can_share?: boolean | undefined;
|
|
9177
|
+
} | undefined;
|
|
9106
9178
|
};
|
|
9107
9179
|
readonly slide: {
|
|
9108
9180
|
readonly index: number;
|
|
9109
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
9181
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
9110
9182
|
};
|
|
9111
9183
|
readonly type: "slide";
|
|
9112
9184
|
} | {
|
|
9113
9185
|
readonly file: {
|
|
9114
9186
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9115
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9187
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
9116
9188
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
9117
|
-
readonly is_deleted?: boolean;
|
|
9189
|
+
readonly is_deleted?: boolean | undefined;
|
|
9118
9190
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
9119
9191
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
9120
9192
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
9121
|
-
readonly
|
|
9193
|
+
readonly permissions?: {
|
|
9194
|
+
readonly can_download?: boolean | undefined;
|
|
9195
|
+
readonly can_share?: boolean | undefined;
|
|
9196
|
+
} | undefined;
|
|
9197
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
9122
9198
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
9123
9199
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
9124
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
9200
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
9125
9201
|
readonly pspdfkit_auth_payload?: {
|
|
9126
9202
|
readonly [x: string]: any;
|
|
9127
9203
|
} | null | undefined;
|
|
9128
9204
|
};
|
|
9129
9205
|
readonly type: "file";
|
|
9130
9206
|
})[];
|
|
9131
|
-
readonly size?: "medium";
|
|
9132
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
9207
|
+
readonly size?: "medium" | undefined;
|
|
9208
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
9133
9209
|
} | {
|
|
9134
9210
|
readonly sections: readonly {
|
|
9135
9211
|
readonly id: string;
|
|
9136
9212
|
readonly style?: {
|
|
9137
9213
|
readonly [x: string]: any;
|
|
9138
9214
|
} | undefined;
|
|
9139
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
9140
|
-
readonly background_video_url?: string;
|
|
9215
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
9216
|
+
readonly background_video_url?: string | undefined;
|
|
9141
9217
|
}[];
|
|
9142
|
-
readonly animation_in?: string;
|
|
9218
|
+
readonly animation_in?: string | undefined;
|
|
9143
9219
|
} | {
|
|
9144
9220
|
readonly html: string;
|
|
9145
9221
|
} | {
|
|
9146
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
9147
|
-
readonly background_color?: string;
|
|
9148
|
-
readonly canvas_anchor?: string;
|
|
9149
|
-
readonly color?: string;
|
|
9150
|
-
readonly display_text?: string;
|
|
9151
|
-
readonly font_family?: string;
|
|
9152
|
-
readonly font_size?: number;
|
|
9153
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
9154
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
9155
|
-
readonly target?: "_self" | "_blank";
|
|
9156
|
-
readonly url?: string;
|
|
9222
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
9223
|
+
readonly background_color?: string | undefined;
|
|
9224
|
+
readonly canvas_anchor?: string | undefined;
|
|
9225
|
+
readonly color?: string | undefined;
|
|
9226
|
+
readonly display_text?: string | undefined;
|
|
9227
|
+
readonly font_family?: string | undefined;
|
|
9228
|
+
readonly font_size?: number | undefined;
|
|
9229
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
9230
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
9231
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
9232
|
+
readonly url?: string | undefined;
|
|
9157
9233
|
} | {} | {
|
|
9158
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
9159
|
-
readonly background_video_url?: string;
|
|
9234
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
9235
|
+
readonly background_video_url?: string | undefined;
|
|
9160
9236
|
} | {
|
|
9161
9237
|
readonly events: readonly {
|
|
9162
|
-
readonly top_hint?: string;
|
|
9238
|
+
readonly top_hint?: string | undefined;
|
|
9163
9239
|
readonly top_hint_style?: {
|
|
9164
9240
|
readonly [x: string]: any;
|
|
9165
9241
|
} | undefined;
|
|
9166
|
-
readonly title?: string;
|
|
9242
|
+
readonly title?: string | undefined;
|
|
9167
9243
|
readonly title_style?: {
|
|
9168
9244
|
readonly [x: string]: any;
|
|
9169
9245
|
} | undefined;
|
|
9170
|
-
readonly description?: string;
|
|
9246
|
+
readonly description?: string | undefined;
|
|
9171
9247
|
readonly description_style?: {
|
|
9172
9248
|
readonly [x: string]: any;
|
|
9173
9249
|
} | undefined;
|
|
9174
|
-
readonly image_url?: string;
|
|
9250
|
+
readonly image_url?: string | undefined;
|
|
9175
9251
|
readonly image_style?: {
|
|
9176
9252
|
readonly [x: string]: any;
|
|
9177
9253
|
} | undefined;
|
|
9178
|
-
readonly icon?: string;
|
|
9254
|
+
readonly icon?: string | undefined;
|
|
9179
9255
|
readonly icon_style?: {
|
|
9180
9256
|
readonly [x: string]: any;
|
|
9181
9257
|
} | undefined;
|
|
@@ -10825,9 +10901,9 @@ export default function useCanvas(): {
|
|
|
10825
10901
|
uniqueId: string;
|
|
10826
10902
|
metadata?: Record<string, any>;
|
|
10827
10903
|
}[]>;
|
|
10828
|
-
onComponentEnter: Ref<((data: ComponentNode |
|
|
10829
|
-
onComponentExit: Ref<((data: ComponentNode |
|
|
10830
|
-
onDownloadCanvas: Ref<((canvas:
|
|
10904
|
+
onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
10905
|
+
onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
10906
|
+
onDownloadCanvas: Ref<((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
10831
10907
|
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | {
|
|
10832
10908
|
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10833
10909
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
@@ -10836,6 +10912,7 @@ export default function useCanvas(): {
|
|
|
10836
10912
|
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10837
10913
|
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10838
10914
|
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10915
|
+
permissions?: import('../../../../types/openapi').FileRetrieve["permissions"];
|
|
10839
10916
|
}) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | {
|
|
10840
10917
|
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10841
10918
|
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
@@ -10844,6 +10921,7 @@ export default function useCanvas(): {
|
|
|
10844
10921
|
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10845
10922
|
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10846
10923
|
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10924
|
+
permissions?: import('../../../../types/openapi').FileRetrieve["permissions"];
|
|
10847
10925
|
}) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
10848
10926
|
onExit: Ref<(() => void) | (() => void)>;
|
|
10849
10927
|
onFileOpen: Ref<((file: (import('@canvas-builder/types/canvas').FileProps & {
|
|
@@ -10863,9 +10941,9 @@ export default function useCanvas(): {
|
|
|
10863
10941
|
page_index?: number;
|
|
10864
10942
|
newTab?: boolean;
|
|
10865
10943
|
}) => void)>;
|
|
10866
|
-
onSave: Ref<((canvasId:
|
|
10944
|
+
onSave: Ref<((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
10867
10945
|
fields?: string;
|
|
10868
|
-
}, showToast?: boolean) => Promise<
|
|
10946
|
+
}, showToast?: boolean) => Promise<CanvasRetrieve>) | ((...data: any[]) => Promise<void>) | undefined>;
|
|
10869
10947
|
onSfdcAccountSearch: Ref<((searchTerm?: import('@vueuse/shared').MaybeRef<string>) => {
|
|
10870
10948
|
accountsLoading: Ref<boolean>;
|
|
10871
10949
|
accounts: Ref<{
|
|
@@ -10873,7 +10951,7 @@ export default function useCanvas(): {
|
|
|
10873
10951
|
value: string;
|
|
10874
10952
|
}[]>;
|
|
10875
10953
|
}) | ((...data: any[]) => void)>;
|
|
10876
|
-
onTrackShare: Ref<((canvasId:
|
|
10954
|
+
onTrackShare: Ref<((canvasId: CanvasRetrieve["id"]) => Promise<void>) | undefined>;
|
|
10877
10955
|
renderPageAsImageUrl: Ref<((fileId: import('../../../../types/openapi').File["id"], pageIndex: number, options: {
|
|
10878
10956
|
width: number;
|
|
10879
10957
|
} | {
|
|
@@ -10895,8 +10973,8 @@ export default function useCanvas(): {
|
|
|
10895
10973
|
readonly pdf: boolean;
|
|
10896
10974
|
readonly web: boolean;
|
|
10897
10975
|
} | undefined;
|
|
10898
|
-
readonly allow_admins_to_overwrite?: boolean;
|
|
10899
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
10976
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
10977
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
10900
10978
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
10901
10979
|
readonly data?: {
|
|
10902
10980
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -10904,72 +10982,76 @@ export default function useCanvas(): {
|
|
|
10904
10982
|
} | {
|
|
10905
10983
|
readonly span: number;
|
|
10906
10984
|
readonly tooltips?: readonly {
|
|
10907
|
-
readonly content?: string;
|
|
10985
|
+
readonly content?: string | undefined;
|
|
10908
10986
|
readonly content_style?: {
|
|
10909
10987
|
readonly [x: string]: any;
|
|
10910
10988
|
} | undefined;
|
|
10911
|
-
readonly trigger?: string;
|
|
10989
|
+
readonly trigger?: string | undefined;
|
|
10912
10990
|
readonly trigger_style?: {
|
|
10913
10991
|
readonly [x: string]: any;
|
|
10914
10992
|
} | undefined;
|
|
10915
10993
|
}[] | undefined;
|
|
10916
10994
|
} | {
|
|
10917
|
-
readonly content?: string;
|
|
10995
|
+
readonly content?: string | undefined;
|
|
10918
10996
|
} | {
|
|
10919
10997
|
readonly images?: readonly {
|
|
10920
10998
|
readonly url: string;
|
|
10921
|
-
readonly is_uploaded_asset?: boolean;
|
|
10999
|
+
readonly is_uploaded_asset?: boolean | undefined;
|
|
10922
11000
|
}[] | undefined;
|
|
10923
|
-
readonly placeholder_height?: string;
|
|
10924
|
-
readonly include_all_images_in_pdf?: boolean;
|
|
11001
|
+
readonly placeholder_height?: string | undefined;
|
|
11002
|
+
readonly include_all_images_in_pdf?: boolean | undefined;
|
|
10925
11003
|
} | {
|
|
10926
11004
|
readonly asset_type: "external";
|
|
10927
11005
|
readonly external_url: string;
|
|
10928
11006
|
readonly type: "image" | "video";
|
|
10929
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
11007
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
10930
11008
|
} | {
|
|
10931
11009
|
readonly asset_type: "pitcher_asset";
|
|
10932
11010
|
readonly file: {
|
|
10933
11011
|
readonly id: import('../../../../types/openapi').File["id"];
|
|
10934
11012
|
readonly name: import('../../../../types/openapi').File["name"];
|
|
10935
|
-
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
11013
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
10936
11014
|
};
|
|
10937
11015
|
readonly type: "image" | "video";
|
|
10938
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
11016
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
10939
11017
|
} | {
|
|
10940
11018
|
readonly type: "app";
|
|
10941
11019
|
readonly app_name: string;
|
|
10942
11020
|
readonly src: string | null;
|
|
10943
|
-
readonly height?: string;
|
|
10944
|
-
readonly width?: string;
|
|
11021
|
+
readonly height?: string | undefined;
|
|
11022
|
+
readonly width?: string | undefined;
|
|
10945
11023
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
10946
11024
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
10947
11025
|
readonly properties_by_embed_location?: {
|
|
10948
11026
|
readonly canvas?: {
|
|
10949
|
-
readonly start_in_loading_mode?: boolean;
|
|
11027
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
10950
11028
|
} | undefined;
|
|
10951
11029
|
readonly dsr?: {
|
|
10952
|
-
readonly start_in_loading_mode?: boolean;
|
|
11030
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
10953
11031
|
} | undefined;
|
|
10954
11032
|
readonly ui_app?: {
|
|
10955
|
-
readonly start_in_loading_mode?: boolean;
|
|
11033
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
10956
11034
|
} | undefined;
|
|
10957
11035
|
readonly admin_instance?: {
|
|
10958
|
-
readonly start_in_loading_mode?: boolean;
|
|
11036
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
10959
11037
|
} | undefined;
|
|
10960
11038
|
} | undefined;
|
|
10961
11039
|
readonly file: {
|
|
10962
11040
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10963
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
11041
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
10964
11042
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
10965
|
-
readonly is_deleted?: boolean;
|
|
11043
|
+
readonly is_deleted?: boolean | undefined;
|
|
10966
11044
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10967
11045
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10968
11046
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10969
|
-
readonly
|
|
11047
|
+
readonly permissions?: {
|
|
11048
|
+
readonly can_download?: boolean | undefined;
|
|
11049
|
+
readonly can_share?: boolean | undefined;
|
|
11050
|
+
} | undefined;
|
|
11051
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
10970
11052
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
10971
11053
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
10972
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
11054
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
10973
11055
|
readonly pspdfkit_auth_payload?: {
|
|
10974
11056
|
readonly [x: string]: any;
|
|
10975
11057
|
} | null | undefined;
|
|
@@ -10981,85 +11063,93 @@ export default function useCanvas(): {
|
|
|
10981
11063
|
readonly items: readonly ({
|
|
10982
11064
|
readonly file: {
|
|
10983
11065
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10984
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
11066
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
10985
11067
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
10986
|
-
readonly is_deleted?: boolean;
|
|
10987
|
-
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10988
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10989
|
-
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
11068
|
+
readonly is_deleted?: boolean | undefined;
|
|
11069
|
+
readonly content_url?: import('../../../../types/openapi').FileRetrieve["content_url"] | undefined;
|
|
11070
|
+
readonly content_type?: (import('../../../../types/openapi').FileContentTypeEnum | null) | undefined;
|
|
11071
|
+
readonly content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"] | undefined;
|
|
11072
|
+
readonly permissions?: {
|
|
11073
|
+
readonly can_download?: boolean | undefined;
|
|
11074
|
+
readonly can_share?: boolean | undefined;
|
|
11075
|
+
} | undefined;
|
|
10990
11076
|
};
|
|
10991
11077
|
readonly slide: {
|
|
10992
11078
|
readonly index: number;
|
|
10993
|
-
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
11079
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number] | undefined;
|
|
10994
11080
|
};
|
|
10995
11081
|
readonly type: "slide";
|
|
10996
11082
|
} | {
|
|
10997
11083
|
readonly file: {
|
|
10998
11084
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10999
|
-
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
11085
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"] | undefined;
|
|
11000
11086
|
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
11001
|
-
readonly is_deleted?: boolean;
|
|
11087
|
+
readonly is_deleted?: boolean | undefined;
|
|
11002
11088
|
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
11003
11089
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
11004
11090
|
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
11005
|
-
readonly
|
|
11091
|
+
readonly permissions?: {
|
|
11092
|
+
readonly can_download?: boolean | undefined;
|
|
11093
|
+
readonly can_share?: boolean | undefined;
|
|
11094
|
+
} | undefined;
|
|
11095
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"] | undefined;
|
|
11006
11096
|
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
11007
11097
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
11008
|
-
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
11098
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"] | undefined;
|
|
11009
11099
|
readonly pspdfkit_auth_payload?: {
|
|
11010
11100
|
readonly [x: string]: any;
|
|
11011
11101
|
} | null | undefined;
|
|
11012
11102
|
};
|
|
11013
11103
|
readonly type: "file";
|
|
11014
11104
|
})[];
|
|
11015
|
-
readonly size?: "medium";
|
|
11016
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
11105
|
+
readonly size?: "medium" | undefined;
|
|
11106
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes | undefined;
|
|
11017
11107
|
} | {
|
|
11018
11108
|
readonly sections: readonly {
|
|
11019
11109
|
readonly id: string;
|
|
11020
11110
|
readonly style?: {
|
|
11021
11111
|
readonly [x: string]: any;
|
|
11022
11112
|
} | undefined;
|
|
11023
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
11024
|
-
readonly background_video_url?: string;
|
|
11113
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
11114
|
+
readonly background_video_url?: string | undefined;
|
|
11025
11115
|
}[];
|
|
11026
|
-
readonly animation_in?: string;
|
|
11116
|
+
readonly animation_in?: string | undefined;
|
|
11027
11117
|
} | {
|
|
11028
11118
|
readonly html: string;
|
|
11029
11119
|
} | {
|
|
11030
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes;
|
|
11031
|
-
readonly background_color?: string;
|
|
11032
|
-
readonly canvas_anchor?: string;
|
|
11033
|
-
readonly color?: string;
|
|
11034
|
-
readonly display_text?: string;
|
|
11035
|
-
readonly font_family?: string;
|
|
11036
|
-
readonly font_size?: number;
|
|
11037
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes;
|
|
11038
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes;
|
|
11039
|
-
readonly target?: "_self" | "_blank";
|
|
11040
|
-
readonly url?: string;
|
|
11120
|
+
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes | undefined;
|
|
11121
|
+
readonly background_color?: string | undefined;
|
|
11122
|
+
readonly canvas_anchor?: string | undefined;
|
|
11123
|
+
readonly color?: string | undefined;
|
|
11124
|
+
readonly display_text?: string | undefined;
|
|
11125
|
+
readonly font_family?: string | undefined;
|
|
11126
|
+
readonly font_size?: number | undefined;
|
|
11127
|
+
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes | undefined;
|
|
11128
|
+
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes | undefined;
|
|
11129
|
+
readonly target?: ("_self" | "_blank") | undefined;
|
|
11130
|
+
readonly url?: string | undefined;
|
|
11041
11131
|
} | {} | {
|
|
11042
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
11043
|
-
readonly background_video_url?: string;
|
|
11132
|
+
readonly aspect_ratio?: ("unlocked" | "16:9" | "16:10" | "4:3" | "1:1") | undefined;
|
|
11133
|
+
readonly background_video_url?: string | undefined;
|
|
11044
11134
|
} | {
|
|
11045
11135
|
readonly events: readonly {
|
|
11046
|
-
readonly top_hint?: string;
|
|
11136
|
+
readonly top_hint?: string | undefined;
|
|
11047
11137
|
readonly top_hint_style?: {
|
|
11048
11138
|
readonly [x: string]: any;
|
|
11049
11139
|
} | undefined;
|
|
11050
|
-
readonly title?: string;
|
|
11140
|
+
readonly title?: string | undefined;
|
|
11051
11141
|
readonly title_style?: {
|
|
11052
11142
|
readonly [x: string]: any;
|
|
11053
11143
|
} | undefined;
|
|
11054
|
-
readonly description?: string;
|
|
11144
|
+
readonly description?: string | undefined;
|
|
11055
11145
|
readonly description_style?: {
|
|
11056
11146
|
readonly [x: string]: any;
|
|
11057
11147
|
} | undefined;
|
|
11058
|
-
readonly image_url?: string;
|
|
11148
|
+
readonly image_url?: string | undefined;
|
|
11059
11149
|
readonly image_style?: {
|
|
11060
11150
|
readonly [x: string]: any;
|
|
11061
11151
|
} | undefined;
|
|
11062
|
-
readonly icon?: string;
|
|
11152
|
+
readonly icon?: string | undefined;
|
|
11063
11153
|
readonly icon_style?: {
|
|
11064
11154
|
readonly [x: string]: any;
|
|
11065
11155
|
} | undefined;
|
|
@@ -12674,12 +12764,12 @@ export default function useCanvas(): {
|
|
|
12674
12764
|
}>;
|
|
12675
12765
|
sectionComponentOverrides: Ref<SectionComponentOverrides>;
|
|
12676
12766
|
selectedComponentType: import('vue').ComputedRef<ComponentTypes | null>;
|
|
12677
|
-
share: Ref<((canvasId:
|
|
12767
|
+
share: Ref<((canvasId: CanvasRetrieve["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined>;
|
|
12678
12768
|
singletonsInCanvasMap: import('vue').ComputedRef<Record<ComponentTypes, boolean>>;
|
|
12679
12769
|
startPage: Ref<number | undefined>;
|
|
12680
12770
|
templates: Ref<{
|
|
12681
|
-
label:
|
|
12682
|
-
value:
|
|
12771
|
+
label: CanvasRetrieve["name"];
|
|
12772
|
+
value: CanvasRetrieve["id"];
|
|
12683
12773
|
}[]>;
|
|
12684
12774
|
initialize: (props: CanvasBuilderProps) => void;
|
|
12685
12775
|
activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
@@ -12689,7 +12779,7 @@ export default function useCanvas(): {
|
|
|
12689
12779
|
enterFullscreen: typeof enterFullscreen;
|
|
12690
12780
|
exitFullscreen: typeof exitFullscreen;
|
|
12691
12781
|
overrideSectionComponentData: ({ usedInSectionId, componentId, componentData, afterSiblingId, remove, }: {
|
|
12692
|
-
usedInSectionId:
|
|
12782
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
12693
12783
|
componentId: ComponentNode["id"];
|
|
12694
12784
|
componentData?: ComponentNode["data"];
|
|
12695
12785
|
afterSiblingId?: ComponentNode["id"];
|
|
@@ -12697,22 +12787,22 @@ export default function useCanvas(): {
|
|
|
12697
12787
|
}) => void;
|
|
12698
12788
|
patchCanvasContentByCondition: (condition: (node: ComponentNode) => boolean, patch: Partial<ComponentNode>) => void;
|
|
12699
12789
|
patchNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
|
|
12700
|
-
removeComponent: (id: ComponentNode["id"], sectionId?:
|
|
12790
|
+
removeComponent: (id: ComponentNode["id"], sectionId?: CanvasRetrieve["id"]) => void;
|
|
12701
12791
|
removeComponentById: (id: ComponentNode["id"]) => void;
|
|
12702
12792
|
resetChildrenOfNodeById: (id: ComponentNode["id"]) => void;
|
|
12703
|
-
setActiveCanvas: (newCanvas:
|
|
12793
|
+
setActiveCanvas: (newCanvas: CanvasRetrieve) => void;
|
|
12704
12794
|
setAddMode: (type: false | ComponentTypes, parentId?: ComponentNode["id"] | null, afterSiblingId?: ComponentNode["id"] | null) => void;
|
|
12705
12795
|
setCanvasContent: ({ content, component }: {
|
|
12706
12796
|
content: ComponentNode[];
|
|
12707
12797
|
component?: ComponentNode | null;
|
|
12708
12798
|
}) => void;
|
|
12709
|
-
setComponentEditMode: (type: false | ComponentTypes, id?: ComponentNode["id"] | null, usedInSectionId?:
|
|
12799
|
+
setComponentEditMode: (type: false | ComponentTypes, id?: ComponentNode["id"] | null, usedInSectionId?: CanvasRetrieve["id"]) => void;
|
|
12710
12800
|
setComponentSelectedMode: (id?: ComponentNode["id"]) => void;
|
|
12711
12801
|
setComponentSettingsMode: (id?: ComponentNode["id"] | false) => void;
|
|
12712
12802
|
setInCall: (value?: boolean | undefined) => void;
|
|
12713
12803
|
setIsEditMode: (value: boolean) => void;
|
|
12714
|
-
updateActiveCanvasProperties: (newProperties: Partial<
|
|
12715
|
-
updateNodeData: (data: ComponentNode["data"], id: ComponentNode["id"], sectionId?:
|
|
12804
|
+
updateActiveCanvasProperties: (newProperties: Partial<CanvasRetrieve>) => void;
|
|
12805
|
+
updateNodeData: (data: ComponentNode["data"], id: ComponentNode["id"], sectionId?: CanvasRetrieve["id"]) => void;
|
|
12716
12806
|
updateNodeDataById: (id: ComponentNode["id"], newData: ComponentNode["data"]) => void;
|
|
12717
12807
|
deepMergeNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
|
|
12718
12808
|
cleanup: typeof cleanup;
|