@pitcher/js-api 1.22.0-rc.2 → 1.22.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.map +1 -1
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/browser/App.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesWidget/UploadFilesWidget.vue.d.ts +1 -1
- package/lib/apps/browser/stores/upload.d.ts +5 -5
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -2
- package/lib/apps/canvas-builder/App.vue.d.ts +39 -39
- package/lib/apps/canvas-builder/components/container/ComponentDrawer/ComponentDrawer.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionSelector.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/PreviewImage.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/arrow-keys.use.d.ts +6 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/zoom.use.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Grid/GridItemTooltip.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +68 -66
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +17 -17
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +2 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +7 -7
- package/lib/apps/canvas-builder/util/tree.d.ts +1 -1
- package/lib/apps/canvas-selector/App.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/constants/index.d.ts +1 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +29 -15
- package/lib/apps/content-selector/App.vue.d.ts +2 -2
- package/lib/apps/content-selector/appTypes.d.ts +1 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -1
- package/lib/apps/content-selector/stores/app.d.ts +1 -1
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +4 -4
- package/lib/components/CError/CErrorFullScreen.vue.d.ts +1 -1
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +1 -1
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -1
- package/lib/components/CIcon/CIcon.vue.d.ts +1 -1
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +1 -1
- package/lib/components/CPaddingInput/CPaddingInput.vue.d.ts +1 -1
- package/lib/components/canvas-templates/CTemplateManagementActionsCellIconWrapper.vue.d.ts +1 -1
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -26
- package/lib/composables/useTheme.d.ts +1 -1
- package/lib/main.lib.d.ts +15 -14
- package/lib/sdk/api/modules/admin/types.admin.d.ts +3 -3
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +1 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -4
- package/lib/theme/light.const.d.ts +1 -1
- package/lib/theme/light.d.ts +1 -1
- package/lib/theme/theme-overrides.d.ts +1 -1
- package/lib/theme/theme.utils.d.ts +1 -1
- package/lib/types/files.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +2 -0
- package/lib/util/font.util.d.ts +1 -1
- package/lib/util/network.d.ts +1 -1
- package/lib/util/pitcher-settings.util.d.ts +3 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +1 -1
- package/types/openapi/models/Account.d.ts +1 -1
- package/types/openapi/models/AccountRequest.d.ts +1 -1
- package/types/openapi/models/AppsDBEntry.d.ts +1 -1
- package/types/openapi/models/AppsDBEntryRequest.d.ts +1 -1
- package/types/openapi/models/Canvas.d.ts +1 -0
- package/types/openapi/models/CanvasCreate.d.ts +1 -0
- package/types/openapi/models/CanvasCreateRequest.d.ts +1 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +1 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -0
- package/types/openapi/models/FolderCreateRequest.d.ts +1 -1
- package/types/openapi/models/FolderUpdateRequest.d.ts +1 -1
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFilePublishRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +1 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/SharedLinkInstanceRequest.d.ts +1 -0
- package/types/openapi/models/SharedLinkOrganization.d.ts +1 -0
- package/types/openapi/models/SharedLinkOrganizationRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFileRequest.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides, SectionListProps } from '
|
|
2
|
+
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides, SectionListProps } from '../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../types/openapi';
|
|
4
4
|
import { EmbedLocation } from '../../../types/app';
|
|
5
5
|
declare function cleanup(): void;
|
|
@@ -19,7 +19,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
19
19
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
20
20
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
21
21
|
readonly data?: {
|
|
22
|
-
readonly layout_type: import('
|
|
22
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
23
23
|
readonly columns: number;
|
|
24
24
|
} | {
|
|
25
25
|
readonly span: number;
|
|
@@ -46,7 +46,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
46
46
|
readonly asset_type: "external";
|
|
47
47
|
readonly external_url: string;
|
|
48
48
|
readonly type: "image" | "video";
|
|
49
|
-
readonly horizontal_alignment?: import('
|
|
49
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
50
50
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
51
51
|
} | {
|
|
52
52
|
readonly asset_type: "pitcher_asset";
|
|
@@ -56,7 +56,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
56
56
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
57
57
|
};
|
|
58
58
|
readonly type: "image" | "video";
|
|
59
|
-
readonly horizontal_alignment?: import('
|
|
59
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
60
60
|
} | {
|
|
61
61
|
readonly type: "app";
|
|
62
62
|
readonly app_name: string;
|
|
@@ -149,7 +149,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
149
149
|
readonly type: "file";
|
|
150
150
|
})[];
|
|
151
151
|
readonly size?: "medium" | undefined;
|
|
152
|
-
readonly layout_type?: import('
|
|
152
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
153
153
|
} | {
|
|
154
154
|
readonly sections: readonly {
|
|
155
155
|
readonly id: string;
|
|
@@ -168,15 +168,15 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
168
168
|
readonly width?: string | undefined;
|
|
169
169
|
readonly add_session_context?: boolean | undefined;
|
|
170
170
|
} | {
|
|
171
|
-
readonly alignment?: import('
|
|
171
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
172
172
|
readonly background_color?: string | undefined;
|
|
173
173
|
readonly canvas_anchor?: string | undefined;
|
|
174
174
|
readonly color?: string | undefined;
|
|
175
175
|
readonly display_text?: string | undefined;
|
|
176
176
|
readonly font_family?: string | undefined;
|
|
177
177
|
readonly font_size?: number | undefined;
|
|
178
|
-
readonly link_type?: import('
|
|
179
|
-
readonly preview_type?: import('
|
|
178
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
179
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
180
180
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
181
181
|
readonly url?: string | undefined;
|
|
182
182
|
} | {} | {
|
|
@@ -285,7 +285,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
285
285
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
286
286
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
287
287
|
readonly data?: {
|
|
288
|
-
readonly layout_type: import('
|
|
288
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
289
289
|
readonly columns: number;
|
|
290
290
|
} | {
|
|
291
291
|
readonly span: number;
|
|
@@ -312,7 +312,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
312
312
|
readonly asset_type: "external";
|
|
313
313
|
readonly external_url: string;
|
|
314
314
|
readonly type: "image" | "video";
|
|
315
|
-
readonly horizontal_alignment?: import('
|
|
315
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
316
316
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
317
317
|
} | {
|
|
318
318
|
readonly asset_type: "pitcher_asset";
|
|
@@ -322,7 +322,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
322
322
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
323
323
|
};
|
|
324
324
|
readonly type: "image" | "video";
|
|
325
|
-
readonly horizontal_alignment?: import('
|
|
325
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
326
326
|
} | {
|
|
327
327
|
readonly type: "app";
|
|
328
328
|
readonly app_name: string;
|
|
@@ -415,7 +415,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
415
415
|
readonly type: "file";
|
|
416
416
|
})[];
|
|
417
417
|
readonly size?: "medium" | undefined;
|
|
418
|
-
readonly layout_type?: import('
|
|
418
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
419
419
|
} | {
|
|
420
420
|
readonly sections: readonly {
|
|
421
421
|
readonly id: string;
|
|
@@ -434,15 +434,15 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
434
434
|
readonly width?: string | undefined;
|
|
435
435
|
readonly add_session_context?: boolean | undefined;
|
|
436
436
|
} | {
|
|
437
|
-
readonly alignment?: import('
|
|
437
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
438
438
|
readonly background_color?: string | undefined;
|
|
439
439
|
readonly canvas_anchor?: string | undefined;
|
|
440
440
|
readonly color?: string | undefined;
|
|
441
441
|
readonly display_text?: string | undefined;
|
|
442
442
|
readonly font_family?: string | undefined;
|
|
443
443
|
readonly font_size?: number | undefined;
|
|
444
|
-
readonly link_type?: import('
|
|
445
|
-
readonly preview_type?: import('
|
|
444
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
445
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
446
446
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
447
447
|
readonly url?: string | undefined;
|
|
448
448
|
} | {} | {
|
|
@@ -546,6 +546,7 @@ export default function useCanvas(): {
|
|
|
546
546
|
name: string;
|
|
547
547
|
content?: Record<string, any> | undefined;
|
|
548
548
|
context?: Record<string, any> | undefined;
|
|
549
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
549
550
|
theme?: (Record<string, any> | null) | undefined;
|
|
550
551
|
is_draft?: boolean | undefined;
|
|
551
552
|
is_template?: boolean | undefined;
|
|
@@ -575,7 +576,7 @@ export default function useCanvas(): {
|
|
|
575
576
|
};
|
|
576
577
|
account?: {
|
|
577
578
|
id: string;
|
|
578
|
-
name
|
|
579
|
+
name?: string | undefined;
|
|
579
580
|
} | null | undefined;
|
|
580
581
|
readonly events: {
|
|
581
582
|
readonly id: string;
|
|
@@ -605,6 +606,7 @@ export default function useCanvas(): {
|
|
|
605
606
|
name: string;
|
|
606
607
|
content?: Record<string, any> | undefined;
|
|
607
608
|
context?: Record<string, any> | undefined;
|
|
609
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
608
610
|
theme?: (Record<string, any> | null) | undefined;
|
|
609
611
|
is_draft?: boolean | undefined;
|
|
610
612
|
is_template?: boolean | undefined;
|
|
@@ -634,7 +636,7 @@ export default function useCanvas(): {
|
|
|
634
636
|
};
|
|
635
637
|
account?: {
|
|
636
638
|
id: string;
|
|
637
|
-
name
|
|
639
|
+
name?: string | undefined;
|
|
638
640
|
} | null | undefined;
|
|
639
641
|
readonly events: {
|
|
640
642
|
readonly id: string;
|
|
@@ -681,7 +683,7 @@ export default function useCanvas(): {
|
|
|
681
683
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
682
684
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
683
685
|
readonly data?: {
|
|
684
|
-
readonly layout_type: import('
|
|
686
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
685
687
|
readonly columns: number;
|
|
686
688
|
} | {
|
|
687
689
|
readonly span: number;
|
|
@@ -708,7 +710,7 @@ export default function useCanvas(): {
|
|
|
708
710
|
readonly asset_type: "external";
|
|
709
711
|
readonly external_url: string;
|
|
710
712
|
readonly type: "image" | "video";
|
|
711
|
-
readonly horizontal_alignment?: import('
|
|
713
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
712
714
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
713
715
|
} | {
|
|
714
716
|
readonly asset_type: "pitcher_asset";
|
|
@@ -718,7 +720,7 @@ export default function useCanvas(): {
|
|
|
718
720
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
719
721
|
};
|
|
720
722
|
readonly type: "image" | "video";
|
|
721
|
-
readonly horizontal_alignment?: import('
|
|
723
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
722
724
|
} | {
|
|
723
725
|
readonly type: "app";
|
|
724
726
|
readonly app_name: string;
|
|
@@ -811,7 +813,7 @@ export default function useCanvas(): {
|
|
|
811
813
|
readonly type: "file";
|
|
812
814
|
})[];
|
|
813
815
|
readonly size?: "medium" | undefined;
|
|
814
|
-
readonly layout_type?: import('
|
|
816
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
815
817
|
} | {
|
|
816
818
|
readonly sections: readonly {
|
|
817
819
|
readonly id: string;
|
|
@@ -830,15 +832,15 @@ export default function useCanvas(): {
|
|
|
830
832
|
readonly width?: string | undefined;
|
|
831
833
|
readonly add_session_context?: boolean | undefined;
|
|
832
834
|
} | {
|
|
833
|
-
readonly alignment?: import('
|
|
835
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
834
836
|
readonly background_color?: string | undefined;
|
|
835
837
|
readonly canvas_anchor?: string | undefined;
|
|
836
838
|
readonly color?: string | undefined;
|
|
837
839
|
readonly display_text?: string | undefined;
|
|
838
840
|
readonly font_family?: string | undefined;
|
|
839
841
|
readonly font_size?: number | undefined;
|
|
840
|
-
readonly link_type?: import('
|
|
841
|
-
readonly preview_type?: import('
|
|
842
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
843
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
842
844
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
843
845
|
readonly url?: string | undefined;
|
|
844
846
|
} | {} | {
|
|
@@ -956,7 +958,7 @@ export default function useCanvas(): {
|
|
|
956
958
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
957
959
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
958
960
|
readonly data?: {
|
|
959
|
-
readonly layout_type: import('
|
|
961
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
960
962
|
readonly columns: number;
|
|
961
963
|
} | {
|
|
962
964
|
readonly span: number;
|
|
@@ -983,7 +985,7 @@ export default function useCanvas(): {
|
|
|
983
985
|
readonly asset_type: "external";
|
|
984
986
|
readonly external_url: string;
|
|
985
987
|
readonly type: "image" | "video";
|
|
986
|
-
readonly horizontal_alignment?: import('
|
|
988
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
987
989
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
988
990
|
} | {
|
|
989
991
|
readonly asset_type: "pitcher_asset";
|
|
@@ -993,7 +995,7 @@ export default function useCanvas(): {
|
|
|
993
995
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
994
996
|
};
|
|
995
997
|
readonly type: "image" | "video";
|
|
996
|
-
readonly horizontal_alignment?: import('
|
|
998
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
997
999
|
} | {
|
|
998
1000
|
readonly type: "app";
|
|
999
1001
|
readonly app_name: string;
|
|
@@ -1086,7 +1088,7 @@ export default function useCanvas(): {
|
|
|
1086
1088
|
readonly type: "file";
|
|
1087
1089
|
})[];
|
|
1088
1090
|
readonly size?: "medium" | undefined;
|
|
1089
|
-
readonly layout_type?: import('
|
|
1091
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
1090
1092
|
} | {
|
|
1091
1093
|
readonly sections: readonly {
|
|
1092
1094
|
readonly id: string;
|
|
@@ -1105,15 +1107,15 @@ export default function useCanvas(): {
|
|
|
1105
1107
|
readonly width?: string | undefined;
|
|
1106
1108
|
readonly add_session_context?: boolean | undefined;
|
|
1107
1109
|
} | {
|
|
1108
|
-
readonly alignment?: import('
|
|
1110
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
1109
1111
|
readonly background_color?: string | undefined;
|
|
1110
1112
|
readonly canvas_anchor?: string | undefined;
|
|
1111
1113
|
readonly color?: string | undefined;
|
|
1112
1114
|
readonly display_text?: string | undefined;
|
|
1113
1115
|
readonly font_family?: string | undefined;
|
|
1114
1116
|
readonly font_size?: number | undefined;
|
|
1115
|
-
readonly link_type?: import('
|
|
1116
|
-
readonly preview_type?: import('
|
|
1117
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1118
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1117
1119
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
1118
1120
|
readonly url?: string | undefined;
|
|
1119
1121
|
} | {} | {
|
|
@@ -1230,8 +1232,8 @@ export default function useCanvas(): {
|
|
|
1230
1232
|
allow_admins_to_overwrite?: boolean | undefined;
|
|
1231
1233
|
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
1232
1234
|
autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
|
|
1233
|
-
data?: import('
|
|
1234
|
-
layout_type: import('
|
|
1235
|
+
data?: import('../types/canvas').PageBreakProps | {
|
|
1236
|
+
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
1235
1237
|
columns: number;
|
|
1236
1238
|
} | {
|
|
1237
1239
|
span: number;
|
|
@@ -1254,7 +1256,7 @@ export default function useCanvas(): {
|
|
|
1254
1256
|
asset_type: "external";
|
|
1255
1257
|
external_url: string;
|
|
1256
1258
|
type: "image" | "video";
|
|
1257
|
-
horizontal_alignment?: import('
|
|
1259
|
+
horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1258
1260
|
from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
1259
1261
|
} | {
|
|
1260
1262
|
asset_type: "pitcher_asset";
|
|
@@ -1264,7 +1266,7 @@ export default function useCanvas(): {
|
|
|
1264
1266
|
content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
1265
1267
|
};
|
|
1266
1268
|
type: "image" | "video";
|
|
1267
|
-
horizontal_alignment?: import('
|
|
1269
|
+
horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1268
1270
|
} | {
|
|
1269
1271
|
type: "app";
|
|
1270
1272
|
app_name: string;
|
|
@@ -1351,7 +1353,7 @@ export default function useCanvas(): {
|
|
|
1351
1353
|
type: "file";
|
|
1352
1354
|
})[];
|
|
1353
1355
|
size?: "medium" | undefined;
|
|
1354
|
-
layout_type?: import('
|
|
1356
|
+
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
1355
1357
|
} | {
|
|
1356
1358
|
sections: {
|
|
1357
1359
|
id: string;
|
|
@@ -1368,15 +1370,15 @@ export default function useCanvas(): {
|
|
|
1368
1370
|
width?: string | undefined;
|
|
1369
1371
|
add_session_context?: boolean | undefined;
|
|
1370
1372
|
} | {
|
|
1371
|
-
alignment?: import('
|
|
1373
|
+
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
1372
1374
|
background_color?: string | undefined;
|
|
1373
1375
|
canvas_anchor?: string | undefined;
|
|
1374
1376
|
color?: string | undefined;
|
|
1375
1377
|
display_text?: string | undefined;
|
|
1376
1378
|
font_family?: string | undefined;
|
|
1377
1379
|
font_size?: number | undefined;
|
|
1378
|
-
link_type?: import('
|
|
1379
|
-
preview_type?: import('
|
|
1380
|
+
link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1381
|
+
preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1380
1382
|
target?: ("_self" | "_blank") | undefined;
|
|
1381
1383
|
url?: string | undefined;
|
|
1382
1384
|
} | {
|
|
@@ -1448,7 +1450,7 @@ export default function useCanvas(): {
|
|
|
1448
1450
|
} | undefined;
|
|
1449
1451
|
style?: Record<string, any> | undefined;
|
|
1450
1452
|
tags?: string[] | undefined;
|
|
1451
|
-
}[], ComponentNode<import('
|
|
1453
|
+
}[], 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 | import('../types/canvas').CollectionPlayerProps>[] | {
|
|
1452
1454
|
id: string;
|
|
1453
1455
|
type: ComponentTypes;
|
|
1454
1456
|
tracking_id: string;
|
|
@@ -1461,8 +1463,8 @@ export default function useCanvas(): {
|
|
|
1461
1463
|
allow_admins_to_overwrite?: boolean | undefined;
|
|
1462
1464
|
autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
1463
1465
|
autofill_content_types?: (import('../../../../types/openapi').FileContentTypeEnum[] | null) | undefined;
|
|
1464
|
-
data?: import('
|
|
1465
|
-
layout_type: import('
|
|
1466
|
+
data?: import('../types/canvas').PageBreakProps | {
|
|
1467
|
+
layout_type: import('../types/canvas').GridLayoutTypes;
|
|
1466
1468
|
columns: number;
|
|
1467
1469
|
} | {
|
|
1468
1470
|
span: number;
|
|
@@ -1485,7 +1487,7 @@ export default function useCanvas(): {
|
|
|
1485
1487
|
asset_type: "external";
|
|
1486
1488
|
external_url: string;
|
|
1487
1489
|
type: "image" | "video";
|
|
1488
|
-
horizontal_alignment?: import('
|
|
1490
|
+
horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1489
1491
|
from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
1490
1492
|
} | {
|
|
1491
1493
|
asset_type: "pitcher_asset";
|
|
@@ -1495,7 +1497,7 @@ export default function useCanvas(): {
|
|
|
1495
1497
|
content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
1496
1498
|
};
|
|
1497
1499
|
type: "image" | "video";
|
|
1498
|
-
horizontal_alignment?: import('
|
|
1500
|
+
horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1499
1501
|
} | {
|
|
1500
1502
|
type: "app";
|
|
1501
1503
|
app_name: string;
|
|
@@ -1582,7 +1584,7 @@ export default function useCanvas(): {
|
|
|
1582
1584
|
type: "file";
|
|
1583
1585
|
})[];
|
|
1584
1586
|
size?: "medium" | undefined;
|
|
1585
|
-
layout_type?: import('
|
|
1587
|
+
layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
1586
1588
|
} | {
|
|
1587
1589
|
sections: {
|
|
1588
1590
|
id: string;
|
|
@@ -1599,15 +1601,15 @@ export default function useCanvas(): {
|
|
|
1599
1601
|
width?: string | undefined;
|
|
1600
1602
|
add_session_context?: boolean | undefined;
|
|
1601
1603
|
} | {
|
|
1602
|
-
alignment?: import('
|
|
1604
|
+
alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
1603
1605
|
background_color?: string | undefined;
|
|
1604
1606
|
canvas_anchor?: string | undefined;
|
|
1605
1607
|
color?: string | undefined;
|
|
1606
1608
|
display_text?: string | undefined;
|
|
1607
1609
|
font_family?: string | undefined;
|
|
1608
1610
|
font_size?: number | undefined;
|
|
1609
|
-
link_type?: import('
|
|
1610
|
-
preview_type?: import('
|
|
1611
|
+
link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1612
|
+
preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1611
1613
|
target?: ("_self" | "_blank") | undefined;
|
|
1612
1614
|
url?: string | undefined;
|
|
1613
1615
|
} | {
|
|
@@ -1711,7 +1713,7 @@ export default function useCanvas(): {
|
|
|
1711
1713
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
1712
1714
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
1713
1715
|
readonly data?: {
|
|
1714
|
-
readonly layout_type: import('
|
|
1716
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
1715
1717
|
readonly columns: number;
|
|
1716
1718
|
} | {
|
|
1717
1719
|
readonly span: number;
|
|
@@ -1738,7 +1740,7 @@ export default function useCanvas(): {
|
|
|
1738
1740
|
readonly asset_type: "external";
|
|
1739
1741
|
readonly external_url: string;
|
|
1740
1742
|
readonly type: "image" | "video";
|
|
1741
|
-
readonly horizontal_alignment?: import('
|
|
1743
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1742
1744
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
1743
1745
|
} | {
|
|
1744
1746
|
readonly asset_type: "pitcher_asset";
|
|
@@ -1748,7 +1750,7 @@ export default function useCanvas(): {
|
|
|
1748
1750
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
1749
1751
|
};
|
|
1750
1752
|
readonly type: "image" | "video";
|
|
1751
|
-
readonly horizontal_alignment?: import('
|
|
1753
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
1752
1754
|
} | {
|
|
1753
1755
|
readonly type: "app";
|
|
1754
1756
|
readonly app_name: string;
|
|
@@ -1841,7 +1843,7 @@ export default function useCanvas(): {
|
|
|
1841
1843
|
readonly type: "file";
|
|
1842
1844
|
})[];
|
|
1843
1845
|
readonly size?: "medium" | undefined;
|
|
1844
|
-
readonly layout_type?: import('
|
|
1846
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
1845
1847
|
} | {
|
|
1846
1848
|
readonly sections: readonly {
|
|
1847
1849
|
readonly id: string;
|
|
@@ -1860,15 +1862,15 @@ export default function useCanvas(): {
|
|
|
1860
1862
|
readonly width?: string | undefined;
|
|
1861
1863
|
readonly add_session_context?: boolean | undefined;
|
|
1862
1864
|
} | {
|
|
1863
|
-
readonly alignment?: import('
|
|
1865
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
1864
1866
|
readonly background_color?: string | undefined;
|
|
1865
1867
|
readonly canvas_anchor?: string | undefined;
|
|
1866
1868
|
readonly color?: string | undefined;
|
|
1867
1869
|
readonly display_text?: string | undefined;
|
|
1868
1870
|
readonly font_family?: string | undefined;
|
|
1869
1871
|
readonly font_size?: number | undefined;
|
|
1870
|
-
readonly link_type?: import('
|
|
1871
|
-
readonly preview_type?: import('
|
|
1872
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
1873
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
1872
1874
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
1873
1875
|
readonly url?: string | undefined;
|
|
1874
1876
|
} | {} | {
|
|
@@ -2013,14 +2015,14 @@ export default function useCanvas(): {
|
|
|
2013
2015
|
uniqueId: string;
|
|
2014
2016
|
metadata?: Record<string, any>;
|
|
2015
2017
|
}[]>;
|
|
2016
|
-
onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('
|
|
2017
|
-
onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('
|
|
2018
|
+
onComponentEnter: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
2019
|
+
onComponentExit: Ref<((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined, ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | CanvasRetrieve, params: import('../types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | CanvasRetrieve) => void) | undefined>;
|
|
2018
2020
|
onPageEnter: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2019
2021
|
onPageExit: Ref<((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined, ((data: ComponentNode[], pageIndex: number) => void) | ((data: ComponentNode[], pageIndex: number) => void) | ((c: ComponentNode[]) => void) | undefined>;
|
|
2020
2022
|
onDownloadCanvas: Ref<((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined, ((canvas: CanvasRetrieve) => Promise<void>) | ((canvas: CanvasRetrieve) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
2021
|
-
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('
|
|
2023
|
+
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined, ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('../types/canvas').ContentGridFileProps | import('../types/canvas').ContentGridCommonFileProps) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
2022
2024
|
onExit: Ref<(() => void) | (() => void), (() => void) | (() => void)>;
|
|
2023
|
-
onFileOpen: Ref<((file: import('
|
|
2025
|
+
onFileOpen: Ref<((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void), ((file: import('../types/canvas').FileOpenParams) => void) | ((file: import('../types/canvas').FileOpenParams) => void)>;
|
|
2024
2026
|
onSave: Ref<((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
2025
2027
|
fields?: string;
|
|
2026
2028
|
}, showToast?: boolean) => Promise<CanvasRetrieve>) | ((...data: any[]) => Promise<void>) | undefined, ((canvasId: CanvasRetrieve["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
@@ -2093,7 +2095,7 @@ export default function useCanvas(): {
|
|
|
2093
2095
|
readonly autofill?: ("off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags") | undefined;
|
|
2094
2096
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
2095
2097
|
readonly data?: {
|
|
2096
|
-
readonly layout_type: import('
|
|
2098
|
+
readonly layout_type: import('../types/canvas').GridLayoutTypes;
|
|
2097
2099
|
readonly columns: number;
|
|
2098
2100
|
} | {
|
|
2099
2101
|
readonly span: number;
|
|
@@ -2120,7 +2122,7 @@ export default function useCanvas(): {
|
|
|
2120
2122
|
readonly asset_type: "external";
|
|
2121
2123
|
readonly external_url: string;
|
|
2122
2124
|
readonly type: "image" | "video";
|
|
2123
|
-
readonly horizontal_alignment?: import('
|
|
2125
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
2124
2126
|
readonly from?: ("custom" | "pexels" | "unsplash" | "ai") | undefined;
|
|
2125
2127
|
} | {
|
|
2126
2128
|
readonly asset_type: "pitcher_asset";
|
|
@@ -2130,7 +2132,7 @@ export default function useCanvas(): {
|
|
|
2130
2132
|
readonly content_url?: import('../../../../types/openapi').File["content_url"] | undefined;
|
|
2131
2133
|
};
|
|
2132
2134
|
readonly type: "image" | "video";
|
|
2133
|
-
readonly horizontal_alignment?: import('
|
|
2135
|
+
readonly horizontal_alignment?: import('../types/canvas').MultimediaHorizontalAlignmentOptions | undefined;
|
|
2134
2136
|
} | {
|
|
2135
2137
|
readonly type: "app";
|
|
2136
2138
|
readonly app_name: string;
|
|
@@ -2223,7 +2225,7 @@ export default function useCanvas(): {
|
|
|
2223
2225
|
readonly type: "file";
|
|
2224
2226
|
})[];
|
|
2225
2227
|
readonly size?: "medium" | undefined;
|
|
2226
|
-
readonly layout_type?: import('
|
|
2228
|
+
readonly layout_type?: import('../types/canvas').ContentGridLayoutTypes | undefined;
|
|
2227
2229
|
} | {
|
|
2228
2230
|
readonly sections: readonly {
|
|
2229
2231
|
readonly id: string;
|
|
@@ -2242,15 +2244,15 @@ export default function useCanvas(): {
|
|
|
2242
2244
|
readonly width?: string | undefined;
|
|
2243
2245
|
readonly add_session_context?: boolean | undefined;
|
|
2244
2246
|
} | {
|
|
2245
|
-
readonly alignment?: import('
|
|
2247
|
+
readonly alignment?: import('../types/canvas').LinkAlignmentTypes | undefined;
|
|
2246
2248
|
readonly background_color?: string | undefined;
|
|
2247
2249
|
readonly canvas_anchor?: string | undefined;
|
|
2248
2250
|
readonly color?: string | undefined;
|
|
2249
2251
|
readonly display_text?: string | undefined;
|
|
2250
2252
|
readonly font_family?: string | undefined;
|
|
2251
2253
|
readonly font_size?: number | undefined;
|
|
2252
|
-
readonly link_type?: import('
|
|
2253
|
-
readonly preview_type?: import('
|
|
2254
|
+
readonly link_type?: import('../types/canvas').LinkAnchorTypes | undefined;
|
|
2255
|
+
readonly preview_type?: import('../types/canvas').LinkPreviewTypes | undefined;
|
|
2254
2256
|
readonly target?: ("_self" | "_blank") | undefined;
|
|
2255
2257
|
readonly url?: string | undefined;
|
|
2256
2258
|
} | {} | {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentNode } from '
|
|
1
|
+
import { ComponentNode } from '../types/canvas';
|
|
2
2
|
export declare function useCanvasDnd(id: ComponentNode['id']): {
|
|
3
3
|
isDraggingNode: import('vue').Ref<boolean, boolean>;
|
|
4
4
|
highlightedZone: import('vue').Ref<"left" | "right" | "bottom" | "top" | null, "left" | "right" | "bottom" | "top" | null>;
|