@pitcher/js-api 1.23.0 → 1.24.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/js-api.esm.js +17 -0
- 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/apps/agenda-selector/App.vue.d.ts +9 -0
- package/lib/apps/agenda-selector/components/AgendaGroup.vue.d.ts +7 -0
- package/lib/apps/agenda-selector/components/AgendaItem.vue.d.ts +29 -0
- package/lib/apps/agenda-selector/components/AgendaToolbar.vue.d.ts +2 -0
- package/lib/apps/agenda-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/modals/MoveItemModal.vue.d.ts +15 -0
- package/lib/apps/agenda-selector/composables/application-block-selector-modal.use.d.ts +17 -0
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +128 -0
- package/lib/apps/agenda-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/agenda-selector/stores/app.store.d.ts +32 -0
- package/lib/apps/agenda-selector/types/agenda.type.d.ts +28 -0
- package/lib/apps/agenda-selector/types/common.type.d.ts +8 -0
- package/lib/apps/agenda-selector/types/move-item-modal.type.d.ts +5 -0
- package/lib/apps/agenda-selector/utils/data.util.d.ts +14 -0
- package/lib/apps/agenda-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/browser/App.vue.d.ts +3 -1
- package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +28 -6
- package/lib/apps/browser/stores/upload.d.ts +12 -12
- package/lib/apps/canvas-builder/App.vue.d.ts +56 -32
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +10 -10
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.helpers.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.types.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/{CollectionPlayer/CollectionSelector.vue.d.ts → Block/BlockToolbar.vue.d.ts} +6 -11
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +4 -3
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/{CollectionPlayer.edit.vue.d.ts → CollectionPlayerEmpty.vue.d.ts} +5 -5
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +4 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +34 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +519 -439
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +117 -94
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +104 -86
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +38 -0
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollectionSelector.d.ts +9 -0
- package/lib/apps/canvas-builder/composables/useComponentStyle.d.ts +22 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +5 -14
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +28 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -2
- package/lib/apps/canvas-builder/types/canvas.d.ts +22 -31
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -5
- package/lib/apps/canvas-builder/util/url.d.ts +1 -0
- package/lib/apps/canvas-selector/stores/app.d.ts +28 -0
- package/lib/apps/collection-player/App.vue.d.ts +33 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppHeader.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppWrapper.vue.d.ts +17 -0
- package/lib/apps/collection-player/components/MainContent.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/components/MainImage.vue.d.ts +3 -3
- package/lib/apps/collection-player/components/TableOfContents.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/focus-trap.use.d.ts +9 -0
- package/lib/apps/collection-player/composables/fullscreen.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts → collection-player/composables/moving-group-gestures.use.d.ts} +6 -3
- package/lib/apps/collection-player/composables/slide-direction.use.d.ts +11 -0
- package/lib/apps/collection-player/composables/tracking.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/zoom.use.d.ts +2 -2
- package/lib/apps/collection-player/export.d.ts +3 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +77 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +26 -0
- package/lib/apps/collection-player/utils/node.util.d.ts +4 -0
- package/lib/apps/collection-player/utils/slide-type.util.d.ts +5 -0
- package/lib/apps/collection-selector/App.vue.d.ts +29 -0
- package/lib/apps/collection-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/collection-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/collection-selector/components/CollectionGroup.vue.d.ts +7 -0
- package/lib/apps/collection-selector/components/CollectionItem.vue.d.ts +21 -0
- package/lib/apps/collection-selector/components/CollectionToolbar.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts → collection-selector/components/modals/MoveSlideModal.vue.d.ts} +7 -13
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +106 -0
- package/lib/apps/collection-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/collection-selector/stores/app.store.d.ts +156 -0
- package/lib/apps/collection-selector/types/collection-selector.type.d.ts +12 -0
- package/lib/apps/collection-selector/types/common.type.d.ts +18 -0
- package/lib/apps/collection-selector/types/move-slide-modal.type.d.ts +5 -0
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +41 -0
- package/lib/apps/collection-selector/utils/data.util.d.ts +23 -0
- package/lib/apps/collection-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/content-selector/appTypes.d.ts +7 -29
- package/lib/apps/content-selector/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +6 -3
- package/lib/apps/content-selector/stores/api.d.ts +252 -0
- package/lib/apps/content-selector/stores/app.d.ts +42 -7
- package/lib/components/CBackgroundImageThemeOptions/CBackgroundImageThemeOptions.vue.d.ts +42 -0
- package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +3 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -2
- package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +55 -15
- package/lib/components/CDataTable/CDataTableEdit.use.d.ts +1 -1
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +5 -1
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -2
- package/lib/components/CIcon/CIcon.vue.d.ts +1 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +9 -3
- package/lib/components/CSearch/CSearchOnClick.vue.d.ts +15 -1
- package/lib/components/CSearchFilters/CSearchFilters.types.d.ts +5 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +22 -1
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +9 -3
- package/lib/components/CTable/CTable.vue.d.ts +2 -2
- package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +2 -2
- package/lib/components/CTableTag/CTableTag.vue.d.ts +1 -1
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -6
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -54
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +26 -35
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +32 -43
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +25 -33
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +11 -6
- package/lib/components/sections/CSectionManagement.vue.d.ts +6 -6
- package/lib/composables/useConfirmation.d.ts +1 -0
- package/lib/composables/useToast.d.ts +6 -5
- package/lib/constants/appsDb.const.d.ts +2 -0
- package/lib/main.lib.d.ts +10 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +20 -1
- package/lib/sdk/api/modules/ui/content.ui.d.ts +31 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +29 -2
- package/lib/sdk/interfaces.d.ts +6 -0
- package/lib/sdk/main.d.ts +6 -0
- package/lib/types/app.d.ts +1 -1
- package/lib/types/background.d.ts +5 -0
- package/lib/types/common.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +3 -1
- package/lib/types/organizationSettings.types.d.ts +1 -1
- package/lib/types/selections.d.ts +19 -0
- package/lib/util/eval.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +2 -0
- package/types/openapi/models/Canvas.d.ts +2 -0
- package/types/openapi/models/CanvasCreate.d.ts +2 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +4 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -0
- package/types/openapi/models/DeletedCanvas.d.ts +2 -0
- package/types/openapi/models/DeletedFavorite.d.ts +2 -2
- package/types/openapi/models/DeletedFile.d.ts +4 -0
- package/types/openapi/models/Favorite.d.ts +2 -2
- package/types/openapi/models/FavoriteCreate.d.ts +2 -2
- package/types/openapi/models/FavoriteFolder.d.ts +6 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/FavoriteUpdate.d.ts +2 -2
- package/types/openapi/models/File.d.ts +4 -0
- package/types/openapi/models/FileCreate.d.ts +4 -0
- package/types/openapi/models/FileRetrieve.d.ts +4 -0
- package/types/openapi/models/FileUpdate.d.ts +4 -0
- package/types/openapi/models/SearchCanvas.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +0 -37
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +0 -19
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +0 -4
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +0 -5
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +0 -31
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/arrow-keys.use.d.ts +0 -0
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/image-cache.use.d.ts +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
2
3
|
import { ComponentTypes } from '../types/canvas';
|
|
3
4
|
export declare const cleanup: () => void;
|
|
4
5
|
export default function useCanvasBlocks(): {
|
|
5
|
-
activeBlocks: Readonly<
|
|
6
|
+
activeBlocks: Readonly<Ref<{
|
|
6
7
|
readonly [x: string]: {
|
|
7
8
|
readonly id: string;
|
|
8
9
|
readonly name: string;
|
|
@@ -63,6 +64,8 @@ export default function useCanvasBlocks(): {
|
|
|
63
64
|
readonly subject: string;
|
|
64
65
|
}[];
|
|
65
66
|
readonly folder_id?: (string | null) | undefined;
|
|
67
|
+
readonly search_rank: string;
|
|
68
|
+
readonly search_headline: string;
|
|
66
69
|
readonly owned_by: {
|
|
67
70
|
readonly id: number;
|
|
68
71
|
readonly name: string;
|
|
@@ -142,6 +145,8 @@ export default function useCanvasBlocks(): {
|
|
|
142
145
|
readonly subject: string;
|
|
143
146
|
}[];
|
|
144
147
|
readonly folder_id?: (string | null) | undefined;
|
|
148
|
+
readonly search_rank: string;
|
|
149
|
+
readonly search_headline: string;
|
|
145
150
|
readonly owned_by: {
|
|
146
151
|
readonly id: number;
|
|
147
152
|
readonly name: string;
|
|
@@ -161,7 +166,7 @@ export default function useCanvasBlocks(): {
|
|
|
161
166
|
};
|
|
162
167
|
};
|
|
163
168
|
}>>;
|
|
164
|
-
blockContentById: Readonly<
|
|
169
|
+
blockContentById: Readonly<Ref<{
|
|
165
170
|
readonly [x: string]: readonly {
|
|
166
171
|
readonly id: string;
|
|
167
172
|
readonly type: ComponentTypes;
|
|
@@ -176,6 +181,63 @@ export default function useCanvasBlocks(): {
|
|
|
176
181
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
177
182
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
178
183
|
readonly data?: {
|
|
184
|
+
readonly groups: readonly {
|
|
185
|
+
readonly id: string;
|
|
186
|
+
readonly name: string;
|
|
187
|
+
readonly slides: readonly ({
|
|
188
|
+
readonly id: string;
|
|
189
|
+
readonly type: "slide";
|
|
190
|
+
readonly file: {
|
|
191
|
+
readonly metadata?: {
|
|
192
|
+
readonly [x: string]: any;
|
|
193
|
+
} | undefined;
|
|
194
|
+
readonly id: string;
|
|
195
|
+
readonly name?: string | undefined;
|
|
196
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
197
|
+
readonly thumbnail_url: string | null;
|
|
198
|
+
readonly permissions?: {
|
|
199
|
+
readonly can_download?: boolean | undefined;
|
|
200
|
+
readonly can_share?: boolean | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
readonly content_url: string | null;
|
|
203
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
204
|
+
readonly pspdfkit_auth_payload: {
|
|
205
|
+
readonly [x: string]: any;
|
|
206
|
+
} | null;
|
|
207
|
+
readonly pspdfkit_document_id: string | null;
|
|
208
|
+
readonly pspdfkit_server_url: string | null;
|
|
209
|
+
};
|
|
210
|
+
readonly slide: {
|
|
211
|
+
readonly index: number;
|
|
212
|
+
readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
213
|
+
};
|
|
214
|
+
} | {
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly type: "file";
|
|
217
|
+
readonly file: {
|
|
218
|
+
readonly metadata?: {
|
|
219
|
+
readonly [x: string]: any;
|
|
220
|
+
} | undefined;
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly name?: string | undefined;
|
|
223
|
+
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
224
|
+
readonly thumbnail_url: string | null;
|
|
225
|
+
readonly permissions?: {
|
|
226
|
+
readonly can_download?: boolean | undefined;
|
|
227
|
+
readonly can_share?: boolean | undefined;
|
|
228
|
+
} | undefined;
|
|
229
|
+
readonly content_url: string | null;
|
|
230
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
231
|
+
readonly pspdfkit_auth_payload: {
|
|
232
|
+
readonly [x: string]: any;
|
|
233
|
+
} | null;
|
|
234
|
+
readonly pspdfkit_document_id: string | null;
|
|
235
|
+
readonly pspdfkit_server_url: string | null;
|
|
236
|
+
};
|
|
237
|
+
})[];
|
|
238
|
+
}[];
|
|
239
|
+
readonly name: string;
|
|
240
|
+
} | {
|
|
179
241
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
180
242
|
readonly columns: number;
|
|
181
243
|
} | {
|
|
@@ -243,6 +305,9 @@ export default function useCanvasBlocks(): {
|
|
|
243
305
|
readonly canvas_section_execution?: {
|
|
244
306
|
readonly start_in_loading_mode?: boolean | undefined;
|
|
245
307
|
} | undefined;
|
|
308
|
+
readonly canvas_drawer?: {
|
|
309
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
310
|
+
} | undefined;
|
|
246
311
|
} | undefined;
|
|
247
312
|
readonly file: {
|
|
248
313
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
@@ -368,10 +433,16 @@ export default function useCanvasBlocks(): {
|
|
|
368
433
|
readonly expires_at?: (string | null) | undefined;
|
|
369
434
|
readonly instance_id?: string | undefined;
|
|
370
435
|
readonly folder_id?: string | undefined;
|
|
436
|
+
readonly folder?: {
|
|
437
|
+
readonly id: string;
|
|
438
|
+
readonly name: string;
|
|
439
|
+
} | undefined;
|
|
371
440
|
readonly shared_link?: {
|
|
372
441
|
readonly url: string;
|
|
373
442
|
readonly short_url?: (string | null) | undefined;
|
|
374
443
|
} | undefined;
|
|
444
|
+
readonly search_rank?: string | undefined;
|
|
445
|
+
readonly search_headline?: string | undefined;
|
|
375
446
|
readonly owned_by?: {
|
|
376
447
|
readonly id: number;
|
|
377
448
|
readonly name: string;
|
|
@@ -427,7 +498,32 @@ export default function useCanvasBlocks(): {
|
|
|
427
498
|
} | undefined;
|
|
428
499
|
}[];
|
|
429
500
|
readonly layout: "vertical" | "horizontal";
|
|
430
|
-
} |
|
|
501
|
+
} | undefined;
|
|
502
|
+
readonly children?: readonly any[] | undefined;
|
|
503
|
+
readonly when_used_in_section?: {
|
|
504
|
+
readonly is_editable: boolean;
|
|
505
|
+
readonly is_removable: boolean;
|
|
506
|
+
} | undefined;
|
|
507
|
+
readonly style?: {
|
|
508
|
+
readonly [x: string]: any;
|
|
509
|
+
} | undefined;
|
|
510
|
+
readonly tags?: readonly string[] | undefined;
|
|
511
|
+
}[];
|
|
512
|
+
}, {
|
|
513
|
+
readonly [x: string]: readonly {
|
|
514
|
+
readonly id: string;
|
|
515
|
+
readonly type: ComponentTypes;
|
|
516
|
+
readonly tracking_id: string;
|
|
517
|
+
readonly visible?: {
|
|
518
|
+
readonly edit_mode: boolean;
|
|
519
|
+
readonly presentation_mode: boolean;
|
|
520
|
+
readonly pdf: boolean;
|
|
521
|
+
readonly web: boolean;
|
|
522
|
+
} | undefined;
|
|
523
|
+
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
524
|
+
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
525
|
+
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
526
|
+
readonly data?: {
|
|
431
527
|
readonly groups: readonly {
|
|
432
528
|
readonly id: string;
|
|
433
529
|
readonly name: string;
|
|
@@ -441,18 +537,18 @@ export default function useCanvasBlocks(): {
|
|
|
441
537
|
readonly id: string;
|
|
442
538
|
readonly name?: string | undefined;
|
|
443
539
|
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
444
|
-
readonly content_url: string | null;
|
|
445
|
-
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
446
540
|
readonly thumbnail_url: string | null;
|
|
447
541
|
readonly permissions?: {
|
|
448
542
|
readonly can_download?: boolean | undefined;
|
|
449
543
|
readonly can_share?: boolean | undefined;
|
|
450
544
|
} | undefined;
|
|
451
|
-
readonly
|
|
545
|
+
readonly content_url: string | null;
|
|
546
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
452
547
|
readonly pspdfkit_auth_payload: {
|
|
453
548
|
readonly [x: string]: any;
|
|
454
549
|
} | null;
|
|
455
550
|
readonly pspdfkit_document_id: string | null;
|
|
551
|
+
readonly pspdfkit_server_url: string | null;
|
|
456
552
|
};
|
|
457
553
|
readonly slide: {
|
|
458
554
|
readonly index: number;
|
|
@@ -468,48 +564,23 @@ export default function useCanvasBlocks(): {
|
|
|
468
564
|
readonly id: string;
|
|
469
565
|
readonly name?: string | undefined;
|
|
470
566
|
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
471
|
-
readonly content_url: string | null;
|
|
472
|
-
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
473
567
|
readonly thumbnail_url: string | null;
|
|
474
568
|
readonly permissions?: {
|
|
475
569
|
readonly can_download?: boolean | undefined;
|
|
476
570
|
readonly can_share?: boolean | undefined;
|
|
477
571
|
} | undefined;
|
|
478
|
-
readonly
|
|
572
|
+
readonly content_url: string | null;
|
|
573
|
+
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
479
574
|
readonly pspdfkit_auth_payload: {
|
|
480
575
|
readonly [x: string]: any;
|
|
481
576
|
} | null;
|
|
482
577
|
readonly pspdfkit_document_id: string | null;
|
|
578
|
+
readonly pspdfkit_server_url: string | null;
|
|
483
579
|
};
|
|
484
580
|
})[];
|
|
485
581
|
}[];
|
|
486
582
|
readonly name: string;
|
|
487
|
-
} |
|
|
488
|
-
readonly children?: readonly any[] | undefined;
|
|
489
|
-
readonly when_used_in_section?: {
|
|
490
|
-
readonly is_editable: boolean;
|
|
491
|
-
readonly is_removable: boolean;
|
|
492
|
-
} | undefined;
|
|
493
|
-
readonly style?: {
|
|
494
|
-
readonly [x: string]: any;
|
|
495
|
-
} | undefined;
|
|
496
|
-
readonly tags?: readonly string[] | undefined;
|
|
497
|
-
}[];
|
|
498
|
-
}, {
|
|
499
|
-
readonly [x: string]: readonly {
|
|
500
|
-
readonly id: string;
|
|
501
|
-
readonly type: ComponentTypes;
|
|
502
|
-
readonly tracking_id: string;
|
|
503
|
-
readonly visible?: {
|
|
504
|
-
readonly edit_mode: boolean;
|
|
505
|
-
readonly presentation_mode: boolean;
|
|
506
|
-
readonly pdf: boolean;
|
|
507
|
-
readonly web: boolean;
|
|
508
|
-
} | undefined;
|
|
509
|
-
readonly allow_admins_to_overwrite?: boolean | undefined;
|
|
510
|
-
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
511
|
-
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
512
|
-
readonly data?: {
|
|
583
|
+
} | {
|
|
513
584
|
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
514
585
|
readonly columns: number;
|
|
515
586
|
} | {
|
|
@@ -577,6 +648,9 @@ export default function useCanvasBlocks(): {
|
|
|
577
648
|
readonly canvas_section_execution?: {
|
|
578
649
|
readonly start_in_loading_mode?: boolean | undefined;
|
|
579
650
|
} | undefined;
|
|
651
|
+
readonly canvas_drawer?: {
|
|
652
|
+
readonly start_in_loading_mode?: boolean | undefined;
|
|
653
|
+
} | undefined;
|
|
580
654
|
} | undefined;
|
|
581
655
|
readonly file: {
|
|
582
656
|
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
@@ -702,10 +776,16 @@ export default function useCanvasBlocks(): {
|
|
|
702
776
|
readonly expires_at?: (string | null) | undefined;
|
|
703
777
|
readonly instance_id?: string | undefined;
|
|
704
778
|
readonly folder_id?: string | undefined;
|
|
779
|
+
readonly folder?: {
|
|
780
|
+
readonly id: string;
|
|
781
|
+
readonly name: string;
|
|
782
|
+
} | undefined;
|
|
705
783
|
readonly shared_link?: {
|
|
706
784
|
readonly url: string;
|
|
707
785
|
readonly short_url?: (string | null) | undefined;
|
|
708
786
|
} | undefined;
|
|
787
|
+
readonly search_rank?: string | undefined;
|
|
788
|
+
readonly search_headline?: string | undefined;
|
|
709
789
|
readonly owned_by?: {
|
|
710
790
|
readonly id: number;
|
|
711
791
|
readonly name: string;
|
|
@@ -761,63 +841,6 @@ export default function useCanvasBlocks(): {
|
|
|
761
841
|
} | undefined;
|
|
762
842
|
}[];
|
|
763
843
|
readonly layout: "vertical" | "horizontal";
|
|
764
|
-
} | {
|
|
765
|
-
readonly groups: readonly {
|
|
766
|
-
readonly id: string;
|
|
767
|
-
readonly name: string;
|
|
768
|
-
readonly slides: readonly ({
|
|
769
|
-
readonly id: string;
|
|
770
|
-
readonly type: "slide";
|
|
771
|
-
readonly file: {
|
|
772
|
-
readonly metadata?: {
|
|
773
|
-
readonly [x: string]: any;
|
|
774
|
-
} | undefined;
|
|
775
|
-
readonly id: string;
|
|
776
|
-
readonly name?: string | undefined;
|
|
777
|
-
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
778
|
-
readonly content_url: string | null;
|
|
779
|
-
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
780
|
-
readonly thumbnail_url: string | null;
|
|
781
|
-
readonly permissions?: {
|
|
782
|
-
readonly can_download?: boolean | undefined;
|
|
783
|
-
readonly can_share?: boolean | undefined;
|
|
784
|
-
} | undefined;
|
|
785
|
-
readonly pspdfkit_server_url: string | null;
|
|
786
|
-
readonly pspdfkit_auth_payload: {
|
|
787
|
-
readonly [x: string]: any;
|
|
788
|
-
} | null;
|
|
789
|
-
readonly pspdfkit_document_id: string | null;
|
|
790
|
-
};
|
|
791
|
-
readonly slide: {
|
|
792
|
-
readonly index: number;
|
|
793
|
-
readonly url: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
794
|
-
};
|
|
795
|
-
} | {
|
|
796
|
-
readonly id: string;
|
|
797
|
-
readonly type: "file";
|
|
798
|
-
readonly file: {
|
|
799
|
-
readonly metadata?: {
|
|
800
|
-
readonly [x: string]: any;
|
|
801
|
-
} | undefined;
|
|
802
|
-
readonly id: string;
|
|
803
|
-
readonly name?: string | undefined;
|
|
804
|
-
readonly type: import('../../../../types/openapi').FileTypeEnum;
|
|
805
|
-
readonly content_url: string | null;
|
|
806
|
-
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
|
|
807
|
-
readonly thumbnail_url: string | null;
|
|
808
|
-
readonly permissions?: {
|
|
809
|
-
readonly can_download?: boolean | undefined;
|
|
810
|
-
readonly can_share?: boolean | undefined;
|
|
811
|
-
} | undefined;
|
|
812
|
-
readonly pspdfkit_server_url: string | null;
|
|
813
|
-
readonly pspdfkit_auth_payload: {
|
|
814
|
-
readonly [x: string]: any;
|
|
815
|
-
} | null;
|
|
816
|
-
readonly pspdfkit_document_id: string | null;
|
|
817
|
-
};
|
|
818
|
-
})[];
|
|
819
|
-
}[];
|
|
820
|
-
readonly name: string;
|
|
821
844
|
} | undefined;
|
|
822
845
|
readonly children?: readonly any[] | undefined;
|
|
823
846
|
readonly when_used_in_section?: {
|
|
@@ -831,7 +854,7 @@ export default function useCanvasBlocks(): {
|
|
|
831
854
|
}[];
|
|
832
855
|
}>>;
|
|
833
856
|
fetchBlock: (blockId: string) => Promise<CanvasRetrieve>;
|
|
834
|
-
getUserBlockOverrides: (blockId: string
|
|
835
|
-
|
|
857
|
+
getUserBlockOverrides: (blockId: string) => Promise<Record<string, any> | null>;
|
|
858
|
+
saveUserBlockOverrides: (blockId: string, overrides: Record<string, any>) => Promise<void>;
|
|
836
859
|
cleanup: () => void;
|
|
837
860
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentNode } from '../types/canvas';
|
|
2
2
|
export declare function useCanvasDnd(id: ComponentNode['id']): {
|
|
3
3
|
isDraggingNode: import('vue').Ref<boolean, boolean>;
|
|
4
|
-
highlightedZone: import('vue').Ref<"
|
|
4
|
+
highlightedZone: import('vue').Ref<"bottom" | "right" | "left" | "top" | null, "bottom" | "right" | "left" | "top" | null>;
|
|
5
5
|
currentDraggedComponentId: import('vue').Ref<string | null, string | null>;
|
|
6
6
|
currentDraggedOverComponentId: import('vue').Ref<string | null, string | null>;
|
|
7
7
|
onDragOver: import('lodash').DebouncedFunc<(e: DragEvent | TouchEvent) => void>;
|
|
@@ -21,6 +21,55 @@ export default function useCanvasHistory(): {
|
|
|
21
21
|
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
22
22
|
autofill_content_types?: (import('../../../main.lib').FileContentTypeEnum[] | null) | undefined;
|
|
23
23
|
data?: import('../types/canvas').PageBreakProps | {
|
|
24
|
+
groups: {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
slides: ({
|
|
28
|
+
id: string;
|
|
29
|
+
type: "slide";
|
|
30
|
+
file: {
|
|
31
|
+
metadata?: Record<string, any> | undefined;
|
|
32
|
+
readonly id: string;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
35
|
+
readonly thumbnail_url: string | null;
|
|
36
|
+
permissions?: {
|
|
37
|
+
can_download?: boolean | undefined;
|
|
38
|
+
can_share?: boolean | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
readonly content_url: string | null;
|
|
41
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
42
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
43
|
+
readonly pspdfkit_document_id: string | null;
|
|
44
|
+
readonly pspdfkit_server_url: string | null;
|
|
45
|
+
};
|
|
46
|
+
slide: {
|
|
47
|
+
index: number;
|
|
48
|
+
url: import('../../../main.lib').FileRetrieve["thumbnail_url"];
|
|
49
|
+
};
|
|
50
|
+
} | {
|
|
51
|
+
id: string;
|
|
52
|
+
type: "file";
|
|
53
|
+
file: {
|
|
54
|
+
metadata?: Record<string, any> | undefined;
|
|
55
|
+
readonly id: string;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
58
|
+
readonly thumbnail_url: string | null;
|
|
59
|
+
permissions?: {
|
|
60
|
+
can_download?: boolean | undefined;
|
|
61
|
+
can_share?: boolean | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
readonly content_url: string | null;
|
|
64
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
65
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
66
|
+
readonly pspdfkit_document_id: string | null;
|
|
67
|
+
readonly pspdfkit_server_url: string | null;
|
|
68
|
+
};
|
|
69
|
+
})[];
|
|
70
|
+
}[];
|
|
71
|
+
name: string;
|
|
72
|
+
} | {
|
|
24
73
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
25
74
|
columns: number;
|
|
26
75
|
} | {
|
|
@@ -84,6 +133,9 @@ export default function useCanvasHistory(): {
|
|
|
84
133
|
canvas_section_execution?: {
|
|
85
134
|
start_in_loading_mode?: boolean | undefined;
|
|
86
135
|
} | undefined;
|
|
136
|
+
canvas_drawer?: {
|
|
137
|
+
start_in_loading_mode?: boolean | undefined;
|
|
138
|
+
} | undefined;
|
|
87
139
|
} | undefined;
|
|
88
140
|
file: {
|
|
89
141
|
id: import('../../../main.lib').FileRetrieve["id"];
|
|
@@ -197,10 +249,16 @@ export default function useCanvasHistory(): {
|
|
|
197
249
|
expires_at?: (string | null) | undefined;
|
|
198
250
|
readonly instance_id?: string | undefined;
|
|
199
251
|
folder_id?: string | undefined;
|
|
252
|
+
readonly folder?: {
|
|
253
|
+
readonly id: string;
|
|
254
|
+
name: string;
|
|
255
|
+
} | undefined;
|
|
200
256
|
readonly shared_link?: {
|
|
201
257
|
readonly url: string;
|
|
202
258
|
short_url?: (string | null) | undefined;
|
|
203
259
|
} | undefined;
|
|
260
|
+
readonly search_rank?: string | undefined;
|
|
261
|
+
readonly search_headline?: string | undefined;
|
|
204
262
|
readonly owned_by?: {
|
|
205
263
|
readonly id: number;
|
|
206
264
|
readonly name: string;
|
|
@@ -244,7 +302,36 @@ export default function useCanvasHistory(): {
|
|
|
244
302
|
card_style?: Record<string, any> | undefined;
|
|
245
303
|
}[];
|
|
246
304
|
layout: "vertical" | "horizontal";
|
|
247
|
-
} |
|
|
305
|
+
} | undefined;
|
|
306
|
+
children?: any[] | undefined;
|
|
307
|
+
when_used_in_section?: {
|
|
308
|
+
is_editable: boolean;
|
|
309
|
+
is_removable: boolean;
|
|
310
|
+
} | undefined;
|
|
311
|
+
style?: Record<string, any> | undefined;
|
|
312
|
+
tags?: string[] | undefined;
|
|
313
|
+
}[];
|
|
314
|
+
timestamp: string;
|
|
315
|
+
}[], CanvasHistoryItem[] | {
|
|
316
|
+
active?: boolean | undefined;
|
|
317
|
+
action: CanvasHistoryAction;
|
|
318
|
+
componentType: ComponentTypes;
|
|
319
|
+
icon?: string | undefined;
|
|
320
|
+
id: string;
|
|
321
|
+
snapshot: {
|
|
322
|
+
id: string;
|
|
323
|
+
type: ComponentTypes;
|
|
324
|
+
tracking_id: string;
|
|
325
|
+
visible?: {
|
|
326
|
+
edit_mode: boolean;
|
|
327
|
+
presentation_mode: boolean;
|
|
328
|
+
pdf: boolean;
|
|
329
|
+
web: boolean;
|
|
330
|
+
} | undefined;
|
|
331
|
+
allow_admins_to_overwrite?: boolean | undefined;
|
|
332
|
+
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
333
|
+
autofill_content_types?: (import('../../../main.lib').FileContentTypeEnum[] | null) | undefined;
|
|
334
|
+
data?: import('../types/canvas').PageBreakProps | {
|
|
248
335
|
groups: {
|
|
249
336
|
id: string;
|
|
250
337
|
name: string;
|
|
@@ -256,16 +343,16 @@ export default function useCanvasHistory(): {
|
|
|
256
343
|
readonly id: string;
|
|
257
344
|
name?: string | undefined;
|
|
258
345
|
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
259
|
-
readonly content_url: string | null;
|
|
260
|
-
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
261
346
|
readonly thumbnail_url: string | null;
|
|
262
347
|
permissions?: {
|
|
263
348
|
can_download?: boolean | undefined;
|
|
264
349
|
can_share?: boolean | undefined;
|
|
265
350
|
} | undefined;
|
|
266
|
-
readonly
|
|
351
|
+
readonly content_url: string | null;
|
|
352
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
267
353
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
268
354
|
readonly pspdfkit_document_id: string | null;
|
|
355
|
+
readonly pspdfkit_server_url: string | null;
|
|
269
356
|
};
|
|
270
357
|
slide: {
|
|
271
358
|
index: number;
|
|
@@ -279,50 +366,21 @@ export default function useCanvasHistory(): {
|
|
|
279
366
|
readonly id: string;
|
|
280
367
|
name?: string | undefined;
|
|
281
368
|
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
282
|
-
readonly content_url: string | null;
|
|
283
|
-
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
284
369
|
readonly thumbnail_url: string | null;
|
|
285
370
|
permissions?: {
|
|
286
371
|
can_download?: boolean | undefined;
|
|
287
372
|
can_share?: boolean | undefined;
|
|
288
373
|
} | undefined;
|
|
289
|
-
readonly
|
|
374
|
+
readonly content_url: string | null;
|
|
375
|
+
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
290
376
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
291
377
|
readonly pspdfkit_document_id: string | null;
|
|
378
|
+
readonly pspdfkit_server_url: string | null;
|
|
292
379
|
};
|
|
293
380
|
})[];
|
|
294
381
|
}[];
|
|
295
382
|
name: string;
|
|
296
|
-
} |
|
|
297
|
-
children?: any[] | undefined;
|
|
298
|
-
when_used_in_section?: {
|
|
299
|
-
is_editable: boolean;
|
|
300
|
-
is_removable: boolean;
|
|
301
|
-
} | undefined;
|
|
302
|
-
style?: Record<string, any> | undefined;
|
|
303
|
-
tags?: string[] | undefined;
|
|
304
|
-
}[];
|
|
305
|
-
timestamp: string;
|
|
306
|
-
}[], CanvasHistoryItem[] | {
|
|
307
|
-
active?: boolean | undefined;
|
|
308
|
-
action: CanvasHistoryAction;
|
|
309
|
-
componentType: ComponentTypes;
|
|
310
|
-
icon?: string | undefined;
|
|
311
|
-
id: string;
|
|
312
|
-
snapshot: {
|
|
313
|
-
id: string;
|
|
314
|
-
type: ComponentTypes;
|
|
315
|
-
tracking_id: string;
|
|
316
|
-
visible?: {
|
|
317
|
-
edit_mode: boolean;
|
|
318
|
-
presentation_mode: boolean;
|
|
319
|
-
pdf: boolean;
|
|
320
|
-
web: boolean;
|
|
321
|
-
} | undefined;
|
|
322
|
-
allow_admins_to_overwrite?: boolean | undefined;
|
|
323
|
-
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
324
|
-
autofill_content_types?: (import('../../../main.lib').FileContentTypeEnum[] | null) | undefined;
|
|
325
|
-
data?: import('../types/canvas').PageBreakProps | {
|
|
383
|
+
} | {
|
|
326
384
|
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
327
385
|
columns: number;
|
|
328
386
|
} | {
|
|
@@ -386,6 +444,9 @@ export default function useCanvasHistory(): {
|
|
|
386
444
|
canvas_section_execution?: {
|
|
387
445
|
start_in_loading_mode?: boolean | undefined;
|
|
388
446
|
} | undefined;
|
|
447
|
+
canvas_drawer?: {
|
|
448
|
+
start_in_loading_mode?: boolean | undefined;
|
|
449
|
+
} | undefined;
|
|
389
450
|
} | undefined;
|
|
390
451
|
file: {
|
|
391
452
|
id: import('../../../main.lib').FileRetrieve["id"];
|
|
@@ -499,10 +560,16 @@ export default function useCanvasHistory(): {
|
|
|
499
560
|
expires_at?: (string | null) | undefined;
|
|
500
561
|
readonly instance_id?: string | undefined;
|
|
501
562
|
folder_id?: string | undefined;
|
|
563
|
+
readonly folder?: {
|
|
564
|
+
readonly id: string;
|
|
565
|
+
name: string;
|
|
566
|
+
} | undefined;
|
|
502
567
|
readonly shared_link?: {
|
|
503
568
|
readonly url: string;
|
|
504
569
|
short_url?: (string | null) | undefined;
|
|
505
570
|
} | undefined;
|
|
571
|
+
readonly search_rank?: string | undefined;
|
|
572
|
+
readonly search_headline?: string | undefined;
|
|
506
573
|
readonly owned_by?: {
|
|
507
574
|
readonly id: number;
|
|
508
575
|
readonly name: string;
|
|
@@ -546,55 +613,6 @@ export default function useCanvasHistory(): {
|
|
|
546
613
|
card_style?: Record<string, any> | undefined;
|
|
547
614
|
}[];
|
|
548
615
|
layout: "vertical" | "horizontal";
|
|
549
|
-
} | {
|
|
550
|
-
groups: {
|
|
551
|
-
id: string;
|
|
552
|
-
name: string;
|
|
553
|
-
slides: ({
|
|
554
|
-
id: string;
|
|
555
|
-
type: "slide";
|
|
556
|
-
file: {
|
|
557
|
-
metadata?: Record<string, any> | undefined;
|
|
558
|
-
readonly id: string;
|
|
559
|
-
name?: string | undefined;
|
|
560
|
-
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
561
|
-
readonly content_url: string | null;
|
|
562
|
-
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
563
|
-
readonly thumbnail_url: string | null;
|
|
564
|
-
permissions?: {
|
|
565
|
-
can_download?: boolean | undefined;
|
|
566
|
-
can_share?: boolean | undefined;
|
|
567
|
-
} | undefined;
|
|
568
|
-
readonly pspdfkit_server_url: string | null;
|
|
569
|
-
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
570
|
-
readonly pspdfkit_document_id: string | null;
|
|
571
|
-
};
|
|
572
|
-
slide: {
|
|
573
|
-
index: number;
|
|
574
|
-
url: import('../../../main.lib').FileRetrieve["thumbnail_url"];
|
|
575
|
-
};
|
|
576
|
-
} | {
|
|
577
|
-
id: string;
|
|
578
|
-
type: "file";
|
|
579
|
-
file: {
|
|
580
|
-
metadata?: Record<string, any> | undefined;
|
|
581
|
-
readonly id: string;
|
|
582
|
-
name?: string | undefined;
|
|
583
|
-
readonly type: import('../../../main.lib').FileTypeEnum;
|
|
584
|
-
readonly content_url: string | null;
|
|
585
|
-
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
586
|
-
readonly thumbnail_url: string | null;
|
|
587
|
-
permissions?: {
|
|
588
|
-
can_download?: boolean | undefined;
|
|
589
|
-
can_share?: boolean | undefined;
|
|
590
|
-
} | undefined;
|
|
591
|
-
readonly pspdfkit_server_url: string | null;
|
|
592
|
-
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
593
|
-
readonly pspdfkit_document_id: string | null;
|
|
594
|
-
};
|
|
595
|
-
})[];
|
|
596
|
-
}[];
|
|
597
|
-
name: string;
|
|
598
616
|
} | undefined;
|
|
599
617
|
children?: any[] | undefined;
|
|
600
618
|
when_used_in_section?: {
|
|
@@ -13,7 +13,7 @@ declare function reset(): void;
|
|
|
13
13
|
export default function useCanvasPages(): {
|
|
14
14
|
activeSectionId: ComputedRef<string | null>;
|
|
15
15
|
activeSectionTheme: ComputedRef<Record<string, any> | null>;
|
|
16
|
-
canvasPages: ComputedRef<ComponentNode<import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps
|
|
16
|
+
canvasPages: ComputedRef<ComponentNode<import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[][]>;
|
|
17
17
|
currentPageIndex: import('vue').Ref<number, number>;
|
|
18
18
|
currentSectionList: ComputedRef<{
|
|
19
19
|
sectionListId: string;
|
|
@@ -12,7 +12,7 @@ declare function discardOverridesConfirmationOptions(t: (input: string) => strin
|
|
|
12
12
|
declare function cleanup(): void;
|
|
13
13
|
export default function useCanvasSectionOverrides(): {
|
|
14
14
|
getComponentOverrides: (data: Ref<ComponentNode["data"]>, id: Ref<ComponentNode["id"]>, sectionId?: Ref<CanvasRetrieve["id"]>) => import('vue').ComputedRef<{
|
|
15
|
-
data: (import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps
|
|
15
|
+
data: (import('../../collection-player/export').CollectionPlayer | import('../types/canvas').GridProps | import('../types/canvas').GridItemProps | import('../types/canvas').TextProps | import('../types/canvas').CarouselProps | import('../types/canvas').MultimediaProps | import('../types/canvas').EmbeddableProps | import('../types/canvas').ContentGridProps | import('../types/canvas').SectionListProps | import('../types/canvas').HtmlProps | import('../types/canvas').IFrameProps | import('../types/canvas').LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps) | undefined;
|
|
16
16
|
is_removed: boolean;
|
|
17
17
|
}>;
|
|
18
18
|
discardOverridesConfirmationOptions: typeof discardOverridesConfirmationOptions;
|