@pitcher/js-api 1.22.0-alpha.4 → 1.22.0-alpha.6
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 +361 -102
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/api/canvases/canvases.queries.d.ts +1 -1
- package/lib/apps/browser/stores/api.d.ts +53 -53
- package/lib/apps/browser/stores/app.d.ts +18 -15
- package/lib/apps/browser/stores/upload.d.ts +29 -29
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +607 -621
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +12 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +93 -95
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +8 -7
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +11 -11
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +5 -4
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +9 -9
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +13 -10
- package/lib/apps/canvas-builder/types/canvas.d.ts +4 -3
- package/lib/apps/canvas-builder/util/tree.d.ts +1 -0
- package/lib/apps/content-selector/stores/app.d.ts +16 -15
- package/lib/components/CFileViewer/CFileViewer.use.d.ts +1 -1
- package/lib/composables/bulkActions.use.d.ts +4 -4
- package/lib/composables/recentFiles.use.d.ts +1 -1
- package/lib/composables/useDetailsView.d.ts +1 -1
- package/lib/composables/useLocation.d.ts +1 -1
- package/lib/composables/useLocationAPI.d.ts +2 -2
- package/lib/composables/useLocationManipulation.d.ts +1 -1
- package/lib/composables/useWindowEvents.d.ts +1 -1
- package/lib/custom-naive-locales/el.d.ts +1 -1
- package/lib/sdk/api/HighLevelApi.d.ts +31 -31
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +6 -1
- package/lib/sdk/api/modules/ui/index.d.ts +7 -2
- package/lib/sdk/api/modules/ui/post-call.ui.d.ts +4 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +56 -2
- package/lib/sdk/api/onlineRestApiHandlers.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +2 -0
- package/lib/sdk/main.d.ts +134 -95
- package/lib/sdk/utils/httpFetch.d.ts +15 -0
- package/lib/theme/light.d.ts +5 -315
- package/lib/types/instanceSettings.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/util/network.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides
|
|
2
|
+
import { CanvasBuilderMode, CanvasBuilderProps, ComponentNode, ComponentTypes, SectionComponentOverrides } from '@canvas-builder/types/canvas';
|
|
3
3
|
import { Canvas } from '../../../../types/openapi';
|
|
4
4
|
import { EmbedLocation } from '../../../types/app';
|
|
5
5
|
|
|
@@ -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;
|
|
20
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
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,73 +25,72 @@ 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;
|
|
29
29
|
readonly content_style?: {
|
|
30
30
|
readonly [x: string]: any;
|
|
31
31
|
} | undefined;
|
|
32
|
-
readonly trigger?: string
|
|
32
|
+
readonly trigger?: string;
|
|
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;
|
|
39
39
|
} | {
|
|
40
40
|
readonly images?: readonly {
|
|
41
41
|
readonly url: string;
|
|
42
|
-
readonly is_uploaded_asset?: boolean
|
|
42
|
+
readonly is_uploaded_asset?: boolean;
|
|
43
43
|
}[] | undefined;
|
|
44
|
-
readonly placeholder_height?: string
|
|
45
|
-
readonly include_all_images_in_pdf?: boolean
|
|
44
|
+
readonly placeholder_height?: string;
|
|
45
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
46
46
|
} | {
|
|
47
47
|
readonly asset_type: "external";
|
|
48
48
|
readonly external_url: string;
|
|
49
|
-
readonly type: "
|
|
50
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
49
|
+
readonly type: "image" | "video";
|
|
50
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
51
51
|
} | {
|
|
52
52
|
readonly asset_type: "pitcher_asset";
|
|
53
53
|
readonly file: {
|
|
54
|
-
readonly id:
|
|
55
|
-
readonly name:
|
|
56
|
-
readonly content_url?:
|
|
54
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
55
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
56
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
57
57
|
};
|
|
58
|
-
readonly type: "
|
|
59
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
58
|
+
readonly type: "image" | "video";
|
|
59
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
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;
|
|
65
|
+
readonly width?: string;
|
|
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;
|
|
71
71
|
} | undefined;
|
|
72
72
|
readonly dsr?: {
|
|
73
|
-
readonly start_in_loading_mode?: boolean
|
|
73
|
+
readonly start_in_loading_mode?: boolean;
|
|
74
74
|
} | undefined;
|
|
75
75
|
readonly ui_app?: {
|
|
76
|
-
readonly start_in_loading_mode?: boolean
|
|
76
|
+
readonly start_in_loading_mode?: boolean;
|
|
77
77
|
} | undefined;
|
|
78
78
|
readonly admin_instance?: {
|
|
79
|
-
readonly start_in_loading_mode?: boolean
|
|
79
|
+
readonly start_in_loading_mode?: boolean;
|
|
80
80
|
} | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
readonly file: {
|
|
83
|
-
readonly id:
|
|
84
|
-
readonly snapshot_id?:
|
|
85
|
-
readonly name:
|
|
86
|
-
readonly is_deleted?: boolean
|
|
87
|
-
readonly content_url:
|
|
83
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
84
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
85
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
86
|
+
readonly is_deleted?: boolean;
|
|
87
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
88
88
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
89
|
-
readonly content_extension:
|
|
90
|
-
readonly thumbnail_url?:
|
|
91
|
-
readonly content_length:
|
|
89
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
90
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
91
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
92
92
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
93
|
-
readonly
|
|
94
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
93
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
95
94
|
readonly pspdfkit_auth_payload?: {
|
|
96
95
|
readonly [x: string]: any;
|
|
97
96
|
} | null | undefined;
|
|
@@ -102,87 +101,86 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
102
101
|
} | {
|
|
103
102
|
readonly items: readonly ({
|
|
104
103
|
readonly file: {
|
|
105
|
-
readonly id:
|
|
106
|
-
readonly snapshot_id?:
|
|
107
|
-
readonly name:
|
|
108
|
-
readonly is_deleted?: boolean
|
|
109
|
-
readonly content_url?:
|
|
110
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
111
|
-
readonly content_extension?:
|
|
104
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
105
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
106
|
+
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"];
|
|
112
111
|
};
|
|
113
112
|
readonly slide: {
|
|
114
113
|
readonly index: number;
|
|
115
|
-
readonly url?:
|
|
114
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
116
115
|
};
|
|
117
116
|
readonly type: "slide";
|
|
118
117
|
} | {
|
|
119
118
|
readonly file: {
|
|
120
|
-
readonly id:
|
|
121
|
-
readonly snapshot_id?:
|
|
122
|
-
readonly name:
|
|
123
|
-
readonly is_deleted?: boolean
|
|
124
|
-
readonly content_url:
|
|
119
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
120
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
121
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
122
|
+
readonly is_deleted?: boolean;
|
|
123
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
125
124
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
126
|
-
readonly content_extension:
|
|
127
|
-
readonly thumbnail_url?:
|
|
128
|
-
readonly content_length:
|
|
125
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
126
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
127
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
129
128
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
130
|
-
readonly
|
|
131
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
129
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
132
130
|
readonly pspdfkit_auth_payload?: {
|
|
133
131
|
readonly [x: string]: any;
|
|
134
132
|
} | null | undefined;
|
|
135
133
|
};
|
|
136
134
|
readonly type: "file";
|
|
137
135
|
})[];
|
|
138
|
-
readonly size?: "medium"
|
|
139
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
136
|
+
readonly size?: "medium";
|
|
137
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
140
138
|
} | {
|
|
141
139
|
readonly sections: readonly {
|
|
142
140
|
readonly id: string;
|
|
143
141
|
readonly style?: {
|
|
144
142
|
readonly [x: string]: any;
|
|
145
143
|
} | undefined;
|
|
146
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
147
|
-
readonly background_video_url?: string
|
|
144
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
145
|
+
readonly background_video_url?: string;
|
|
148
146
|
}[];
|
|
149
|
-
readonly animation_in?: string
|
|
147
|
+
readonly animation_in?: string;
|
|
150
148
|
} | {
|
|
151
149
|
readonly html: string;
|
|
152
150
|
} | {
|
|
153
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
154
|
-
readonly background_color?: string
|
|
155
|
-
readonly canvas_anchor?: string
|
|
156
|
-
readonly color?: string
|
|
157
|
-
readonly display_text?: string
|
|
158
|
-
readonly font_family?: string
|
|
159
|
-
readonly font_size?: number
|
|
160
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
161
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
162
|
-
readonly target?: "_self" | "_blank"
|
|
163
|
-
readonly url?: string
|
|
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;
|
|
164
162
|
} | {} | {
|
|
165
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
166
|
-
readonly background_video_url?: string
|
|
163
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
164
|
+
readonly background_video_url?: string;
|
|
167
165
|
} | {
|
|
168
166
|
readonly events: readonly {
|
|
169
|
-
readonly top_hint?: string
|
|
167
|
+
readonly top_hint?: string;
|
|
170
168
|
readonly top_hint_style?: {
|
|
171
169
|
readonly [x: string]: any;
|
|
172
170
|
} | undefined;
|
|
173
|
-
readonly title?: string
|
|
171
|
+
readonly title?: string;
|
|
174
172
|
readonly title_style?: {
|
|
175
173
|
readonly [x: string]: any;
|
|
176
174
|
} | undefined;
|
|
177
|
-
readonly description?: string
|
|
175
|
+
readonly description?: string;
|
|
178
176
|
readonly description_style?: {
|
|
179
177
|
readonly [x: string]: any;
|
|
180
178
|
} | undefined;
|
|
181
|
-
readonly image_url?: string
|
|
179
|
+
readonly image_url?: string;
|
|
182
180
|
readonly image_style?: {
|
|
183
181
|
readonly [x: string]: any;
|
|
184
182
|
} | undefined;
|
|
185
|
-
readonly icon?: string
|
|
183
|
+
readonly icon?: string;
|
|
186
184
|
readonly icon_style?: {
|
|
187
185
|
readonly [x: string]: any;
|
|
188
186
|
} | undefined;
|
|
@@ -574,7 +572,7 @@ declare const componentNodesById: import('vue').ComputedRef<{
|
|
|
574
572
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
575
573
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
576
574
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
577
|
-
readonly all?: import(
|
|
575
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
578
576
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
579
577
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
580
578
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -1807,8 +1805,8 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1807
1805
|
readonly pdf: boolean;
|
|
1808
1806
|
readonly web: boolean;
|
|
1809
1807
|
} | undefined;
|
|
1810
|
-
readonly allow_admins_to_overwrite?: boolean
|
|
1811
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
1808
|
+
readonly allow_admins_to_overwrite?: boolean;
|
|
1809
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
1812
1810
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
1813
1811
|
readonly data?: {
|
|
1814
1812
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -1816,73 +1814,72 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1816
1814
|
} | {
|
|
1817
1815
|
readonly span: number;
|
|
1818
1816
|
readonly tooltips?: readonly {
|
|
1819
|
-
readonly content?: string
|
|
1817
|
+
readonly content?: string;
|
|
1820
1818
|
readonly content_style?: {
|
|
1821
1819
|
readonly [x: string]: any;
|
|
1822
1820
|
} | undefined;
|
|
1823
|
-
readonly trigger?: string
|
|
1821
|
+
readonly trigger?: string;
|
|
1824
1822
|
readonly trigger_style?: {
|
|
1825
1823
|
readonly [x: string]: any;
|
|
1826
1824
|
} | undefined;
|
|
1827
1825
|
}[] | undefined;
|
|
1828
1826
|
} | {
|
|
1829
|
-
readonly content?: string
|
|
1827
|
+
readonly content?: string;
|
|
1830
1828
|
} | {
|
|
1831
1829
|
readonly images?: readonly {
|
|
1832
1830
|
readonly url: string;
|
|
1833
|
-
readonly is_uploaded_asset?: boolean
|
|
1831
|
+
readonly is_uploaded_asset?: boolean;
|
|
1834
1832
|
}[] | undefined;
|
|
1835
|
-
readonly placeholder_height?: string
|
|
1836
|
-
readonly include_all_images_in_pdf?: boolean
|
|
1833
|
+
readonly placeholder_height?: string;
|
|
1834
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
1837
1835
|
} | {
|
|
1838
1836
|
readonly asset_type: "external";
|
|
1839
1837
|
readonly external_url: string;
|
|
1840
|
-
readonly type: "
|
|
1841
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
1838
|
+
readonly type: "image" | "video";
|
|
1839
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
1842
1840
|
} | {
|
|
1843
1841
|
readonly asset_type: "pitcher_asset";
|
|
1844
1842
|
readonly file: {
|
|
1845
|
-
readonly id:
|
|
1846
|
-
readonly name:
|
|
1847
|
-
readonly content_url?:
|
|
1843
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
1844
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
1845
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
1848
1846
|
};
|
|
1849
|
-
readonly type: "
|
|
1850
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
1847
|
+
readonly type: "image" | "video";
|
|
1848
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
1851
1849
|
} | {
|
|
1852
1850
|
readonly type: "app";
|
|
1853
1851
|
readonly app_name: string;
|
|
1854
1852
|
readonly src: string | null;
|
|
1855
|
-
readonly height?: string
|
|
1856
|
-
readonly width?: string
|
|
1853
|
+
readonly height?: string;
|
|
1854
|
+
readonly width?: string;
|
|
1857
1855
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
1858
1856
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
1859
1857
|
readonly properties_by_embed_location?: {
|
|
1860
1858
|
readonly canvas?: {
|
|
1861
|
-
readonly start_in_loading_mode?: boolean
|
|
1859
|
+
readonly start_in_loading_mode?: boolean;
|
|
1862
1860
|
} | undefined;
|
|
1863
1861
|
readonly dsr?: {
|
|
1864
|
-
readonly start_in_loading_mode?: boolean
|
|
1862
|
+
readonly start_in_loading_mode?: boolean;
|
|
1865
1863
|
} | undefined;
|
|
1866
1864
|
readonly ui_app?: {
|
|
1867
|
-
readonly start_in_loading_mode?: boolean
|
|
1865
|
+
readonly start_in_loading_mode?: boolean;
|
|
1868
1866
|
} | undefined;
|
|
1869
1867
|
readonly admin_instance?: {
|
|
1870
|
-
readonly start_in_loading_mode?: boolean
|
|
1868
|
+
readonly start_in_loading_mode?: boolean;
|
|
1871
1869
|
} | undefined;
|
|
1872
1870
|
} | undefined;
|
|
1873
1871
|
readonly file: {
|
|
1874
|
-
readonly id:
|
|
1875
|
-
readonly snapshot_id?:
|
|
1876
|
-
readonly name:
|
|
1877
|
-
readonly is_deleted?: boolean
|
|
1878
|
-
readonly content_url:
|
|
1872
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1873
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1874
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1875
|
+
readonly is_deleted?: boolean;
|
|
1876
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1879
1877
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1880
|
-
readonly content_extension:
|
|
1881
|
-
readonly thumbnail_url?:
|
|
1882
|
-
readonly content_length:
|
|
1878
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
1879
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
1880
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
1883
1881
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
1884
|
-
readonly
|
|
1885
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
1882
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
1886
1883
|
readonly pspdfkit_auth_payload?: {
|
|
1887
1884
|
readonly [x: string]: any;
|
|
1888
1885
|
} | null | undefined;
|
|
@@ -1893,87 +1890,86 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
1893
1890
|
} | {
|
|
1894
1891
|
readonly items: readonly ({
|
|
1895
1892
|
readonly file: {
|
|
1896
|
-
readonly id:
|
|
1897
|
-
readonly snapshot_id?:
|
|
1898
|
-
readonly name:
|
|
1899
|
-
readonly is_deleted?: boolean
|
|
1900
|
-
readonly content_url?:
|
|
1901
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
1902
|
-
readonly content_extension?:
|
|
1893
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1894
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1895
|
+
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"];
|
|
1903
1900
|
};
|
|
1904
1901
|
readonly slide: {
|
|
1905
1902
|
readonly index: number;
|
|
1906
|
-
readonly url?:
|
|
1903
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
1907
1904
|
};
|
|
1908
1905
|
readonly type: "slide";
|
|
1909
1906
|
} | {
|
|
1910
1907
|
readonly file: {
|
|
1911
|
-
readonly id:
|
|
1912
|
-
readonly snapshot_id?:
|
|
1913
|
-
readonly name:
|
|
1914
|
-
readonly is_deleted?: boolean
|
|
1915
|
-
readonly content_url:
|
|
1908
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1909
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
1910
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
1911
|
+
readonly is_deleted?: boolean;
|
|
1912
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
1916
1913
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
1917
|
-
readonly content_extension:
|
|
1918
|
-
readonly thumbnail_url?:
|
|
1919
|
-
readonly content_length:
|
|
1914
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
1915
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
1916
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
1920
1917
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
1921
|
-
readonly
|
|
1922
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
1918
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
1923
1919
|
readonly pspdfkit_auth_payload?: {
|
|
1924
1920
|
readonly [x: string]: any;
|
|
1925
1921
|
} | null | undefined;
|
|
1926
1922
|
};
|
|
1927
1923
|
readonly type: "file";
|
|
1928
1924
|
})[];
|
|
1929
|
-
readonly size?: "medium"
|
|
1930
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
1925
|
+
readonly size?: "medium";
|
|
1926
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
1931
1927
|
} | {
|
|
1932
1928
|
readonly sections: readonly {
|
|
1933
1929
|
readonly id: string;
|
|
1934
1930
|
readonly style?: {
|
|
1935
1931
|
readonly [x: string]: any;
|
|
1936
1932
|
} | undefined;
|
|
1937
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
1938
|
-
readonly background_video_url?: string
|
|
1933
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
1934
|
+
readonly background_video_url?: string;
|
|
1939
1935
|
}[];
|
|
1940
|
-
readonly animation_in?: string
|
|
1936
|
+
readonly animation_in?: string;
|
|
1941
1937
|
} | {
|
|
1942
1938
|
readonly html: string;
|
|
1943
1939
|
} | {
|
|
1944
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
1945
|
-
readonly background_color?: string
|
|
1946
|
-
readonly canvas_anchor?: string
|
|
1947
|
-
readonly color?: string
|
|
1948
|
-
readonly display_text?: string
|
|
1949
|
-
readonly font_family?: string
|
|
1950
|
-
readonly font_size?: number
|
|
1951
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
1952
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
1953
|
-
readonly target?: "_self" | "_blank"
|
|
1954
|
-
readonly url?: string
|
|
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;
|
|
1955
1951
|
} | {} | {
|
|
1956
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
1957
|
-
readonly background_video_url?: string
|
|
1952
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
1953
|
+
readonly background_video_url?: string;
|
|
1958
1954
|
} | {
|
|
1959
1955
|
readonly events: readonly {
|
|
1960
|
-
readonly top_hint?: string
|
|
1956
|
+
readonly top_hint?: string;
|
|
1961
1957
|
readonly top_hint_style?: {
|
|
1962
1958
|
readonly [x: string]: any;
|
|
1963
1959
|
} | undefined;
|
|
1964
|
-
readonly title?: string
|
|
1960
|
+
readonly title?: string;
|
|
1965
1961
|
readonly title_style?: {
|
|
1966
1962
|
readonly [x: string]: any;
|
|
1967
1963
|
} | undefined;
|
|
1968
|
-
readonly description?: string
|
|
1964
|
+
readonly description?: string;
|
|
1969
1965
|
readonly description_style?: {
|
|
1970
1966
|
readonly [x: string]: any;
|
|
1971
1967
|
} | undefined;
|
|
1972
|
-
readonly image_url?: string
|
|
1968
|
+
readonly image_url?: string;
|
|
1973
1969
|
readonly image_style?: {
|
|
1974
1970
|
readonly [x: string]: any;
|
|
1975
1971
|
} | undefined;
|
|
1976
|
-
readonly icon?: string
|
|
1972
|
+
readonly icon?: string;
|
|
1977
1973
|
readonly icon_style?: {
|
|
1978
1974
|
readonly [x: string]: any;
|
|
1979
1975
|
} | undefined;
|
|
@@ -2365,7 +2361,7 @@ declare const sectionComponentNodesBySectionId: import('vue').ComputedRef<{
|
|
|
2365
2361
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
2366
2362
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
2367
2363
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
2368
|
-
readonly all?: import(
|
|
2364
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
2369
2365
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
2370
2366
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
2371
2367
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -3599,35 +3595,35 @@ export default function useCanvas(): {
|
|
|
3599
3595
|
readonly created_by: {
|
|
3600
3596
|
readonly id: number;
|
|
3601
3597
|
readonly name: string;
|
|
3602
|
-
email?: string
|
|
3598
|
+
email?: string;
|
|
3603
3599
|
};
|
|
3604
3600
|
readonly modified_at: string;
|
|
3605
3601
|
readonly modified_by: {
|
|
3606
3602
|
readonly id: number;
|
|
3607
3603
|
readonly name: string;
|
|
3608
|
-
email?: string
|
|
3604
|
+
email?: string;
|
|
3609
3605
|
};
|
|
3610
3606
|
readonly owned_by: {
|
|
3611
3607
|
readonly id: number;
|
|
3612
3608
|
readonly name: string;
|
|
3613
|
-
email?: string
|
|
3609
|
+
email?: string;
|
|
3614
3610
|
};
|
|
3615
|
-
is_draft?: boolean
|
|
3616
|
-
is_template?: boolean
|
|
3617
|
-
is_section?: boolean
|
|
3618
|
-
is_editable?: boolean
|
|
3619
|
-
is_default?: boolean
|
|
3611
|
+
is_draft?: boolean;
|
|
3612
|
+
is_template?: boolean;
|
|
3613
|
+
is_section?: boolean;
|
|
3614
|
+
is_editable?: boolean;
|
|
3615
|
+
is_default?: boolean;
|
|
3620
3616
|
readonly account: {
|
|
3621
3617
|
id: string;
|
|
3622
3618
|
name: string;
|
|
3623
3619
|
};
|
|
3624
|
-
metadata?: Record<string, any
|
|
3620
|
+
metadata?: Record<string, any>;
|
|
3625
3621
|
readonly used_in_count: number;
|
|
3626
|
-
tags?: string
|
|
3627
|
-
start_at?: string | null
|
|
3628
|
-
expires_at?: string | null
|
|
3629
|
-
access_type?: import('../../../../types/openapi').AccessTypeEnum
|
|
3630
|
-
thumbnail_url?: string | null
|
|
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;
|
|
3631
3627
|
readonly template: {
|
|
3632
3628
|
readonly id: string;
|
|
3633
3629
|
name: string;
|
|
@@ -3642,7 +3638,7 @@ export default function useCanvas(): {
|
|
|
3642
3638
|
readonly sections: {
|
|
3643
3639
|
readonly id: string;
|
|
3644
3640
|
name: string;
|
|
3645
|
-
metadata?: Record<string, any
|
|
3641
|
+
metadata?: Record<string, any>;
|
|
3646
3642
|
content?: any;
|
|
3647
3643
|
theme?: any;
|
|
3648
3644
|
}[];
|
|
@@ -3651,7 +3647,7 @@ export default function useCanvas(): {
|
|
|
3651
3647
|
activeCanvasSections: import('vue').ComputedRef<import('lodash').Dictionary<{
|
|
3652
3648
|
readonly id: string;
|
|
3653
3649
|
name: string;
|
|
3654
|
-
metadata?: Record<string, any
|
|
3650
|
+
metadata?: Record<string, any>;
|
|
3655
3651
|
content?: any;
|
|
3656
3652
|
theme?: any;
|
|
3657
3653
|
}>>;
|
|
@@ -3665,8 +3661,8 @@ export default function useCanvas(): {
|
|
|
3665
3661
|
readonly pdf: boolean;
|
|
3666
3662
|
readonly web: boolean;
|
|
3667
3663
|
} | undefined;
|
|
3668
|
-
readonly allow_admins_to_overwrite?: boolean
|
|
3669
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
3664
|
+
readonly allow_admins_to_overwrite?: boolean;
|
|
3665
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
3670
3666
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
3671
3667
|
readonly data?: {
|
|
3672
3668
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -3674,73 +3670,72 @@ export default function useCanvas(): {
|
|
|
3674
3670
|
} | {
|
|
3675
3671
|
readonly span: number;
|
|
3676
3672
|
readonly tooltips?: readonly {
|
|
3677
|
-
readonly content?: string
|
|
3673
|
+
readonly content?: string;
|
|
3678
3674
|
readonly content_style?: {
|
|
3679
3675
|
readonly [x: string]: any;
|
|
3680
3676
|
} | undefined;
|
|
3681
|
-
readonly trigger?: string
|
|
3677
|
+
readonly trigger?: string;
|
|
3682
3678
|
readonly trigger_style?: {
|
|
3683
3679
|
readonly [x: string]: any;
|
|
3684
3680
|
} | undefined;
|
|
3685
3681
|
}[] | undefined;
|
|
3686
3682
|
} | {
|
|
3687
|
-
readonly content?: string
|
|
3683
|
+
readonly content?: string;
|
|
3688
3684
|
} | {
|
|
3689
3685
|
readonly images?: readonly {
|
|
3690
3686
|
readonly url: string;
|
|
3691
|
-
readonly is_uploaded_asset?: boolean
|
|
3687
|
+
readonly is_uploaded_asset?: boolean;
|
|
3692
3688
|
}[] | undefined;
|
|
3693
|
-
readonly placeholder_height?: string
|
|
3694
|
-
readonly include_all_images_in_pdf?: boolean
|
|
3689
|
+
readonly placeholder_height?: string;
|
|
3690
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
3695
3691
|
} | {
|
|
3696
3692
|
readonly asset_type: "external";
|
|
3697
3693
|
readonly external_url: string;
|
|
3698
|
-
readonly type: "
|
|
3699
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
3694
|
+
readonly type: "image" | "video";
|
|
3695
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
3700
3696
|
} | {
|
|
3701
3697
|
readonly asset_type: "pitcher_asset";
|
|
3702
3698
|
readonly file: {
|
|
3703
|
-
readonly id:
|
|
3704
|
-
readonly name:
|
|
3705
|
-
readonly content_url?:
|
|
3699
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
3700
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
3701
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
3706
3702
|
};
|
|
3707
|
-
readonly type: "
|
|
3708
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
3703
|
+
readonly type: "image" | "video";
|
|
3704
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
3709
3705
|
} | {
|
|
3710
3706
|
readonly type: "app";
|
|
3711
3707
|
readonly app_name: string;
|
|
3712
3708
|
readonly src: string | null;
|
|
3713
|
-
readonly height?: string
|
|
3714
|
-
readonly width?: string
|
|
3709
|
+
readonly height?: string;
|
|
3710
|
+
readonly width?: string;
|
|
3715
3711
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
3716
3712
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
3717
3713
|
readonly properties_by_embed_location?: {
|
|
3718
3714
|
readonly canvas?: {
|
|
3719
|
-
readonly start_in_loading_mode?: boolean
|
|
3715
|
+
readonly start_in_loading_mode?: boolean;
|
|
3720
3716
|
} | undefined;
|
|
3721
3717
|
readonly dsr?: {
|
|
3722
|
-
readonly start_in_loading_mode?: boolean
|
|
3718
|
+
readonly start_in_loading_mode?: boolean;
|
|
3723
3719
|
} | undefined;
|
|
3724
3720
|
readonly ui_app?: {
|
|
3725
|
-
readonly start_in_loading_mode?: boolean
|
|
3721
|
+
readonly start_in_loading_mode?: boolean;
|
|
3726
3722
|
} | undefined;
|
|
3727
3723
|
readonly admin_instance?: {
|
|
3728
|
-
readonly start_in_loading_mode?: boolean
|
|
3724
|
+
readonly start_in_loading_mode?: boolean;
|
|
3729
3725
|
} | undefined;
|
|
3730
3726
|
} | undefined;
|
|
3731
3727
|
readonly file: {
|
|
3732
|
-
readonly id:
|
|
3733
|
-
readonly snapshot_id?:
|
|
3734
|
-
readonly name:
|
|
3735
|
-
readonly is_deleted?: boolean
|
|
3736
|
-
readonly content_url:
|
|
3728
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3729
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3730
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3731
|
+
readonly is_deleted?: boolean;
|
|
3732
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3737
3733
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3738
|
-
readonly content_extension:
|
|
3739
|
-
readonly thumbnail_url?:
|
|
3740
|
-
readonly content_length:
|
|
3734
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
3735
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
3736
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
3741
3737
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
3742
|
-
readonly
|
|
3743
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
3738
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
3744
3739
|
readonly pspdfkit_auth_payload?: {
|
|
3745
3740
|
readonly [x: string]: any;
|
|
3746
3741
|
} | null | undefined;
|
|
@@ -3751,87 +3746,86 @@ export default function useCanvas(): {
|
|
|
3751
3746
|
} | {
|
|
3752
3747
|
readonly items: readonly ({
|
|
3753
3748
|
readonly file: {
|
|
3754
|
-
readonly id:
|
|
3755
|
-
readonly snapshot_id?:
|
|
3756
|
-
readonly name:
|
|
3757
|
-
readonly is_deleted?: boolean
|
|
3758
|
-
readonly content_url?:
|
|
3759
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
3760
|
-
readonly content_extension?:
|
|
3749
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3750
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3751
|
+
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"];
|
|
3761
3756
|
};
|
|
3762
3757
|
readonly slide: {
|
|
3763
3758
|
readonly index: number;
|
|
3764
|
-
readonly url?:
|
|
3759
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
3765
3760
|
};
|
|
3766
3761
|
readonly type: "slide";
|
|
3767
3762
|
} | {
|
|
3768
3763
|
readonly file: {
|
|
3769
|
-
readonly id:
|
|
3770
|
-
readonly snapshot_id?:
|
|
3771
|
-
readonly name:
|
|
3772
|
-
readonly is_deleted?: boolean
|
|
3773
|
-
readonly content_url:
|
|
3764
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3765
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
3766
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
3767
|
+
readonly is_deleted?: boolean;
|
|
3768
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
3774
3769
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
3775
|
-
readonly content_extension:
|
|
3776
|
-
readonly thumbnail_url?:
|
|
3777
|
-
readonly content_length:
|
|
3770
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
3771
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
3772
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
3778
3773
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
3779
|
-
readonly
|
|
3780
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
3774
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
3781
3775
|
readonly pspdfkit_auth_payload?: {
|
|
3782
3776
|
readonly [x: string]: any;
|
|
3783
3777
|
} | null | undefined;
|
|
3784
3778
|
};
|
|
3785
3779
|
readonly type: "file";
|
|
3786
3780
|
})[];
|
|
3787
|
-
readonly size?: "medium"
|
|
3788
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
3781
|
+
readonly size?: "medium";
|
|
3782
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
3789
3783
|
} | {
|
|
3790
3784
|
readonly sections: readonly {
|
|
3791
3785
|
readonly id: string;
|
|
3792
3786
|
readonly style?: {
|
|
3793
3787
|
readonly [x: string]: any;
|
|
3794
3788
|
} | undefined;
|
|
3795
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
3796
|
-
readonly background_video_url?: string
|
|
3789
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
3790
|
+
readonly background_video_url?: string;
|
|
3797
3791
|
}[];
|
|
3798
|
-
readonly animation_in?: string
|
|
3792
|
+
readonly animation_in?: string;
|
|
3799
3793
|
} | {
|
|
3800
3794
|
readonly html: string;
|
|
3801
3795
|
} | {
|
|
3802
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
3803
|
-
readonly background_color?: string
|
|
3804
|
-
readonly canvas_anchor?: string
|
|
3805
|
-
readonly color?: string
|
|
3806
|
-
readonly display_text?: string
|
|
3807
|
-
readonly font_family?: string
|
|
3808
|
-
readonly font_size?: number
|
|
3809
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
3810
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
3811
|
-
readonly target?: "_self" | "_blank"
|
|
3812
|
-
readonly url?: string
|
|
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;
|
|
3813
3807
|
} | {} | {
|
|
3814
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
3815
|
-
readonly background_video_url?: string
|
|
3808
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
3809
|
+
readonly background_video_url?: string;
|
|
3816
3810
|
} | {
|
|
3817
3811
|
readonly events: readonly {
|
|
3818
|
-
readonly top_hint?: string
|
|
3812
|
+
readonly top_hint?: string;
|
|
3819
3813
|
readonly top_hint_style?: {
|
|
3820
3814
|
readonly [x: string]: any;
|
|
3821
3815
|
} | undefined;
|
|
3822
|
-
readonly title?: string
|
|
3816
|
+
readonly title?: string;
|
|
3823
3817
|
readonly title_style?: {
|
|
3824
3818
|
readonly [x: string]: any;
|
|
3825
3819
|
} | undefined;
|
|
3826
|
-
readonly description?: string
|
|
3820
|
+
readonly description?: string;
|
|
3827
3821
|
readonly description_style?: {
|
|
3828
3822
|
readonly [x: string]: any;
|
|
3829
3823
|
} | undefined;
|
|
3830
|
-
readonly image_url?: string
|
|
3824
|
+
readonly image_url?: string;
|
|
3831
3825
|
readonly image_style?: {
|
|
3832
3826
|
readonly [x: string]: any;
|
|
3833
3827
|
} | undefined;
|
|
3834
|
-
readonly icon?: string
|
|
3828
|
+
readonly icon?: string;
|
|
3835
3829
|
readonly icon_style?: {
|
|
3836
3830
|
readonly [x: string]: any;
|
|
3837
3831
|
} | undefined;
|
|
@@ -4223,7 +4217,7 @@ export default function useCanvas(): {
|
|
|
4223
4217
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
4224
4218
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
4225
4219
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
4226
|
-
readonly all?: import(
|
|
4220
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
4227
4221
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
4228
4222
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
4229
4223
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -5444,8 +5438,8 @@ export default function useCanvas(): {
|
|
|
5444
5438
|
} | null>;
|
|
5445
5439
|
activeNavigationItems: Ref<{
|
|
5446
5440
|
id: string;
|
|
5447
|
-
sectionId?: string
|
|
5448
|
-
previewMode?: boolean
|
|
5441
|
+
sectionId?: string;
|
|
5442
|
+
previewMode?: boolean;
|
|
5449
5443
|
}[]>;
|
|
5450
5444
|
activeSettingsNode: import('vue').ComputedRef<{
|
|
5451
5445
|
readonly id: string;
|
|
@@ -5457,8 +5451,8 @@ export default function useCanvas(): {
|
|
|
5457
5451
|
readonly pdf: boolean;
|
|
5458
5452
|
readonly web: boolean;
|
|
5459
5453
|
} | undefined;
|
|
5460
|
-
readonly allow_admins_to_overwrite?: boolean
|
|
5461
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
5454
|
+
readonly allow_admins_to_overwrite?: boolean;
|
|
5455
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
5462
5456
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
5463
5457
|
readonly data?: {
|
|
5464
5458
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -5466,73 +5460,72 @@ export default function useCanvas(): {
|
|
|
5466
5460
|
} | {
|
|
5467
5461
|
readonly span: number;
|
|
5468
5462
|
readonly tooltips?: readonly {
|
|
5469
|
-
readonly content?: string
|
|
5463
|
+
readonly content?: string;
|
|
5470
5464
|
readonly content_style?: {
|
|
5471
5465
|
readonly [x: string]: any;
|
|
5472
5466
|
} | undefined;
|
|
5473
|
-
readonly trigger?: string
|
|
5467
|
+
readonly trigger?: string;
|
|
5474
5468
|
readonly trigger_style?: {
|
|
5475
5469
|
readonly [x: string]: any;
|
|
5476
5470
|
} | undefined;
|
|
5477
5471
|
}[] | undefined;
|
|
5478
5472
|
} | {
|
|
5479
|
-
readonly content?: string
|
|
5473
|
+
readonly content?: string;
|
|
5480
5474
|
} | {
|
|
5481
5475
|
readonly images?: readonly {
|
|
5482
5476
|
readonly url: string;
|
|
5483
|
-
readonly is_uploaded_asset?: boolean
|
|
5477
|
+
readonly is_uploaded_asset?: boolean;
|
|
5484
5478
|
}[] | undefined;
|
|
5485
|
-
readonly placeholder_height?: string
|
|
5486
|
-
readonly include_all_images_in_pdf?: boolean
|
|
5479
|
+
readonly placeholder_height?: string;
|
|
5480
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
5487
5481
|
} | {
|
|
5488
5482
|
readonly asset_type: "external";
|
|
5489
5483
|
readonly external_url: string;
|
|
5490
|
-
readonly type: "
|
|
5491
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
5484
|
+
readonly type: "image" | "video";
|
|
5485
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
5492
5486
|
} | {
|
|
5493
5487
|
readonly asset_type: "pitcher_asset";
|
|
5494
5488
|
readonly file: {
|
|
5495
|
-
readonly id:
|
|
5496
|
-
readonly name:
|
|
5497
|
-
readonly content_url?:
|
|
5489
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
5490
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
5491
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
5498
5492
|
};
|
|
5499
|
-
readonly type: "
|
|
5500
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
5493
|
+
readonly type: "image" | "video";
|
|
5494
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
5501
5495
|
} | {
|
|
5502
5496
|
readonly type: "app";
|
|
5503
5497
|
readonly app_name: string;
|
|
5504
5498
|
readonly src: string | null;
|
|
5505
|
-
readonly height?: string
|
|
5506
|
-
readonly width?: string
|
|
5499
|
+
readonly height?: string;
|
|
5500
|
+
readonly width?: string;
|
|
5507
5501
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
5508
5502
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
5509
5503
|
readonly properties_by_embed_location?: {
|
|
5510
5504
|
readonly canvas?: {
|
|
5511
|
-
readonly start_in_loading_mode?: boolean
|
|
5505
|
+
readonly start_in_loading_mode?: boolean;
|
|
5512
5506
|
} | undefined;
|
|
5513
5507
|
readonly dsr?: {
|
|
5514
|
-
readonly start_in_loading_mode?: boolean
|
|
5508
|
+
readonly start_in_loading_mode?: boolean;
|
|
5515
5509
|
} | undefined;
|
|
5516
5510
|
readonly ui_app?: {
|
|
5517
|
-
readonly start_in_loading_mode?: boolean
|
|
5511
|
+
readonly start_in_loading_mode?: boolean;
|
|
5518
5512
|
} | undefined;
|
|
5519
5513
|
readonly admin_instance?: {
|
|
5520
|
-
readonly start_in_loading_mode?: boolean
|
|
5514
|
+
readonly start_in_loading_mode?: boolean;
|
|
5521
5515
|
} | undefined;
|
|
5522
5516
|
} | undefined;
|
|
5523
5517
|
readonly file: {
|
|
5524
|
-
readonly id:
|
|
5525
|
-
readonly snapshot_id?:
|
|
5526
|
-
readonly name:
|
|
5527
|
-
readonly is_deleted?: boolean
|
|
5528
|
-
readonly content_url:
|
|
5518
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5519
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5520
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
5521
|
+
readonly is_deleted?: boolean;
|
|
5522
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
5529
5523
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
5530
|
-
readonly content_extension:
|
|
5531
|
-
readonly thumbnail_url?:
|
|
5532
|
-
readonly content_length:
|
|
5524
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
5525
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
5526
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
5533
5527
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
5534
|
-
readonly
|
|
5535
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
5528
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
5536
5529
|
readonly pspdfkit_auth_payload?: {
|
|
5537
5530
|
readonly [x: string]: any;
|
|
5538
5531
|
} | null | undefined;
|
|
@@ -5543,87 +5536,86 @@ export default function useCanvas(): {
|
|
|
5543
5536
|
} | {
|
|
5544
5537
|
readonly items: readonly ({
|
|
5545
5538
|
readonly file: {
|
|
5546
|
-
readonly id:
|
|
5547
|
-
readonly snapshot_id?:
|
|
5548
|
-
readonly name:
|
|
5549
|
-
readonly is_deleted?: boolean
|
|
5550
|
-
readonly content_url?:
|
|
5551
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
5552
|
-
readonly content_extension?:
|
|
5539
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5540
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5541
|
+
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"];
|
|
5553
5546
|
};
|
|
5554
5547
|
readonly slide: {
|
|
5555
5548
|
readonly index: number;
|
|
5556
|
-
readonly url?:
|
|
5549
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
5557
5550
|
};
|
|
5558
5551
|
readonly type: "slide";
|
|
5559
5552
|
} | {
|
|
5560
5553
|
readonly file: {
|
|
5561
|
-
readonly id:
|
|
5562
|
-
readonly snapshot_id?:
|
|
5563
|
-
readonly name:
|
|
5564
|
-
readonly is_deleted?: boolean
|
|
5565
|
-
readonly content_url:
|
|
5554
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5555
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
5556
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
5557
|
+
readonly is_deleted?: boolean;
|
|
5558
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
5566
5559
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
5567
|
-
readonly content_extension:
|
|
5568
|
-
readonly thumbnail_url?:
|
|
5569
|
-
readonly content_length:
|
|
5560
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
5561
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
5562
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
5570
5563
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
5571
|
-
readonly
|
|
5572
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
5564
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
5573
5565
|
readonly pspdfkit_auth_payload?: {
|
|
5574
5566
|
readonly [x: string]: any;
|
|
5575
5567
|
} | null | undefined;
|
|
5576
5568
|
};
|
|
5577
5569
|
readonly type: "file";
|
|
5578
5570
|
})[];
|
|
5579
|
-
readonly size?: "medium"
|
|
5580
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
5571
|
+
readonly size?: "medium";
|
|
5572
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
5581
5573
|
} | {
|
|
5582
5574
|
readonly sections: readonly {
|
|
5583
5575
|
readonly id: string;
|
|
5584
5576
|
readonly style?: {
|
|
5585
5577
|
readonly [x: string]: any;
|
|
5586
5578
|
} | undefined;
|
|
5587
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
5588
|
-
readonly background_video_url?: string
|
|
5579
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
5580
|
+
readonly background_video_url?: string;
|
|
5589
5581
|
}[];
|
|
5590
|
-
readonly animation_in?: string
|
|
5582
|
+
readonly animation_in?: string;
|
|
5591
5583
|
} | {
|
|
5592
5584
|
readonly html: string;
|
|
5593
5585
|
} | {
|
|
5594
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
5595
|
-
readonly background_color?: string
|
|
5596
|
-
readonly canvas_anchor?: string
|
|
5597
|
-
readonly color?: string
|
|
5598
|
-
readonly display_text?: string
|
|
5599
|
-
readonly font_family?: string
|
|
5600
|
-
readonly font_size?: number
|
|
5601
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
5602
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
5603
|
-
readonly target?: "_self" | "_blank"
|
|
5604
|
-
readonly url?: string
|
|
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;
|
|
5605
5597
|
} | {} | {
|
|
5606
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
5607
|
-
readonly background_video_url?: string
|
|
5598
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
5599
|
+
readonly background_video_url?: string;
|
|
5608
5600
|
} | {
|
|
5609
5601
|
readonly events: readonly {
|
|
5610
|
-
readonly top_hint?: string
|
|
5602
|
+
readonly top_hint?: string;
|
|
5611
5603
|
readonly top_hint_style?: {
|
|
5612
5604
|
readonly [x: string]: any;
|
|
5613
5605
|
} | undefined;
|
|
5614
|
-
readonly title?: string
|
|
5606
|
+
readonly title?: string;
|
|
5615
5607
|
readonly title_style?: {
|
|
5616
5608
|
readonly [x: string]: any;
|
|
5617
5609
|
} | undefined;
|
|
5618
|
-
readonly description?: string
|
|
5610
|
+
readonly description?: string;
|
|
5619
5611
|
readonly description_style?: {
|
|
5620
5612
|
readonly [x: string]: any;
|
|
5621
5613
|
} | undefined;
|
|
5622
|
-
readonly image_url?: string
|
|
5614
|
+
readonly image_url?: string;
|
|
5623
5615
|
readonly image_style?: {
|
|
5624
5616
|
readonly [x: string]: any;
|
|
5625
5617
|
} | undefined;
|
|
5626
|
-
readonly icon?: string
|
|
5618
|
+
readonly icon?: string;
|
|
5627
5619
|
readonly icon_style?: {
|
|
5628
5620
|
readonly [x: string]: any;
|
|
5629
5621
|
} | undefined;
|
|
@@ -6015,7 +6007,7 @@ export default function useCanvas(): {
|
|
|
6015
6007
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
6016
6008
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
6017
6009
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
6018
|
-
readonly all?: import(
|
|
6010
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
6019
6011
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
6020
6012
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
6021
6013
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -7236,8 +7228,8 @@ export default function useCanvas(): {
|
|
|
7236
7228
|
} | null>;
|
|
7237
7229
|
addMode: Ref<false | {
|
|
7238
7230
|
type: ComponentTypes;
|
|
7239
|
-
parentId:
|
|
7240
|
-
afterSiblingId:
|
|
7231
|
+
parentId: ComponentNode["id"] | null;
|
|
7232
|
+
afterSiblingId: ComponentNode["id"] | null;
|
|
7241
7233
|
}>;
|
|
7242
7234
|
canvasContent: Ref<{
|
|
7243
7235
|
id: string;
|
|
@@ -7249,155 +7241,153 @@ export default function useCanvas(): {
|
|
|
7249
7241
|
pdf: boolean;
|
|
7250
7242
|
web: boolean;
|
|
7251
7243
|
} | undefined;
|
|
7252
|
-
allow_admins_to_overwrite?: boolean
|
|
7253
|
-
autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
7254
|
-
autofill_content_types?: import('../../../../types/openapi').FileContentTypeEnum[] | null
|
|
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;
|
|
7255
7247
|
data?: import('@canvas-builder/types/canvas').PageBreakProps | {
|
|
7256
7248
|
layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
7257
7249
|
columns: number;
|
|
7258
7250
|
} | {
|
|
7259
7251
|
span: number;
|
|
7260
7252
|
tooltips?: {
|
|
7261
|
-
content?: string
|
|
7262
|
-
content_style?: Record<string, any
|
|
7263
|
-
trigger?: string
|
|
7264
|
-
trigger_style?: Record<string, any
|
|
7253
|
+
content?: string;
|
|
7254
|
+
content_style?: Record<string, any>;
|
|
7255
|
+
trigger?: string;
|
|
7256
|
+
trigger_style?: Record<string, any>;
|
|
7265
7257
|
}[] | undefined;
|
|
7266
7258
|
} | {
|
|
7267
|
-
content?: string
|
|
7259
|
+
content?: string;
|
|
7268
7260
|
} | {
|
|
7269
7261
|
images?: {
|
|
7270
7262
|
url: string;
|
|
7271
|
-
is_uploaded_asset?: boolean
|
|
7263
|
+
is_uploaded_asset?: boolean;
|
|
7272
7264
|
}[] | undefined;
|
|
7273
|
-
placeholder_height?: string
|
|
7274
|
-
include_all_images_in_pdf?: boolean
|
|
7265
|
+
placeholder_height?: string;
|
|
7266
|
+
include_all_images_in_pdf?: boolean;
|
|
7275
7267
|
} | {
|
|
7276
7268
|
asset_type: "external";
|
|
7277
7269
|
external_url: string;
|
|
7278
|
-
type: "
|
|
7279
|
-
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
7270
|
+
type: "image" | "video";
|
|
7271
|
+
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
7280
7272
|
} | {
|
|
7281
7273
|
asset_type: "pitcher_asset";
|
|
7282
7274
|
file: {
|
|
7283
|
-
id:
|
|
7284
|
-
name:
|
|
7285
|
-
content_url?:
|
|
7275
|
+
id: import('../../../../types/openapi').File["id"];
|
|
7276
|
+
name: import('../../../../types/openapi').File["name"];
|
|
7277
|
+
content_url?: import('../../../../types/openapi').File["content_url"];
|
|
7286
7278
|
};
|
|
7287
|
-
type: "
|
|
7288
|
-
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
7279
|
+
type: "image" | "video";
|
|
7280
|
+
horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
7289
7281
|
} | {
|
|
7290
7282
|
type: "app";
|
|
7291
7283
|
app_name: string;
|
|
7292
7284
|
src: string | null;
|
|
7293
|
-
height?: string
|
|
7294
|
-
width?: string
|
|
7295
|
-
embed_locations?: EmbedLocation[]
|
|
7296
|
-
headless_locations?: EmbedLocation[]
|
|
7285
|
+
height?: string;
|
|
7286
|
+
width?: string;
|
|
7287
|
+
embed_locations?: EmbedLocation[];
|
|
7288
|
+
headless_locations?: EmbedLocation[];
|
|
7297
7289
|
properties_by_embed_location?: {
|
|
7298
7290
|
canvas?: {
|
|
7299
|
-
start_in_loading_mode?: boolean
|
|
7291
|
+
start_in_loading_mode?: boolean;
|
|
7300
7292
|
} | undefined;
|
|
7301
7293
|
dsr?: {
|
|
7302
|
-
start_in_loading_mode?: boolean
|
|
7294
|
+
start_in_loading_mode?: boolean;
|
|
7303
7295
|
} | undefined;
|
|
7304
7296
|
ui_app?: {
|
|
7305
|
-
start_in_loading_mode?: boolean
|
|
7297
|
+
start_in_loading_mode?: boolean;
|
|
7306
7298
|
} | undefined;
|
|
7307
7299
|
admin_instance?: {
|
|
7308
|
-
start_in_loading_mode?: boolean
|
|
7300
|
+
start_in_loading_mode?: boolean;
|
|
7309
7301
|
} | undefined;
|
|
7310
7302
|
} | undefined;
|
|
7311
7303
|
file: {
|
|
7312
|
-
id:
|
|
7313
|
-
snapshot_id?:
|
|
7314
|
-
name:
|
|
7315
|
-
is_deleted?: boolean
|
|
7316
|
-
content_url:
|
|
7304
|
+
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7305
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7306
|
+
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
7307
|
+
is_deleted?: boolean;
|
|
7308
|
+
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
7317
7309
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
7318
|
-
content_extension:
|
|
7319
|
-
thumbnail_url?:
|
|
7320
|
-
content_length:
|
|
7321
|
-
content_thumbnails?:
|
|
7322
|
-
readonly
|
|
7323
|
-
readonly
|
|
7324
|
-
readonly pspdfkit_auth_payload?: Record<string, any> | null | undefined;
|
|
7310
|
+
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
7311
|
+
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
7312
|
+
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"];
|
|
7325
7316
|
} | null;
|
|
7326
|
-
settings?: Record<string, unknown
|
|
7317
|
+
settings?: Record<string, unknown>;
|
|
7327
7318
|
} | {
|
|
7328
7319
|
items: ({
|
|
7329
7320
|
file: {
|
|
7330
|
-
id:
|
|
7331
|
-
snapshot_id?:
|
|
7332
|
-
name:
|
|
7333
|
-
is_deleted?: boolean
|
|
7334
|
-
content_url?:
|
|
7335
|
-
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
7336
|
-
content_extension?:
|
|
7321
|
+
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7322
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7323
|
+
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"];
|
|
7337
7328
|
};
|
|
7338
7329
|
slide: {
|
|
7339
7330
|
index: number;
|
|
7340
|
-
url?:
|
|
7331
|
+
url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
7341
7332
|
};
|
|
7342
7333
|
type: "slide";
|
|
7343
7334
|
} | {
|
|
7344
7335
|
file: {
|
|
7345
|
-
id:
|
|
7346
|
-
snapshot_id?:
|
|
7347
|
-
name:
|
|
7348
|
-
is_deleted?: boolean
|
|
7349
|
-
content_url:
|
|
7336
|
+
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7337
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
7338
|
+
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
7339
|
+
is_deleted?: boolean;
|
|
7340
|
+
content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
7350
7341
|
content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
7351
|
-
content_extension:
|
|
7352
|
-
thumbnail_url?:
|
|
7353
|
-
content_length:
|
|
7354
|
-
content_thumbnails?:
|
|
7355
|
-
readonly
|
|
7356
|
-
readonly
|
|
7357
|
-
readonly pspdfkit_auth_payload?: Record<string, any> | null | undefined;
|
|
7342
|
+
content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
7343
|
+
thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
7344
|
+
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"];
|
|
7358
7348
|
};
|
|
7359
7349
|
type: "file";
|
|
7360
7350
|
})[];
|
|
7361
|
-
size?: "medium"
|
|
7362
|
-
layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
7351
|
+
size?: "medium";
|
|
7352
|
+
layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
7363
7353
|
} | {
|
|
7364
7354
|
sections: {
|
|
7365
7355
|
id: string;
|
|
7366
|
-
style?: Record<string, any
|
|
7367
|
-
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
7368
|
-
background_video_url?: string
|
|
7356
|
+
style?: Record<string, any>;
|
|
7357
|
+
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
7358
|
+
background_video_url?: string;
|
|
7369
7359
|
}[];
|
|
7370
|
-
animation_in?: string
|
|
7360
|
+
animation_in?: string;
|
|
7371
7361
|
} | {
|
|
7372
7362
|
html: string;
|
|
7373
7363
|
} | {
|
|
7374
|
-
alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
7375
|
-
background_color?: string
|
|
7376
|
-
canvas_anchor?: string
|
|
7377
|
-
color?: string
|
|
7378
|
-
display_text?: string
|
|
7379
|
-
font_family?: string
|
|
7380
|
-
font_size?: number
|
|
7381
|
-
link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
7382
|
-
preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
7383
|
-
target?: "_self" | "_blank"
|
|
7384
|
-
url?: string
|
|
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;
|
|
7385
7375
|
} | {
|
|
7386
|
-
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
7387
|
-
background_video_url?: string
|
|
7376
|
+
aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
7377
|
+
background_video_url?: string;
|
|
7388
7378
|
} | {
|
|
7389
7379
|
events: {
|
|
7390
|
-
top_hint?: string
|
|
7391
|
-
top_hint_style?: Record<string, any
|
|
7392
|
-
title?: string
|
|
7393
|
-
title_style?: Record<string, any
|
|
7394
|
-
description?: string
|
|
7395
|
-
description_style?: Record<string, any
|
|
7396
|
-
image_url?: string
|
|
7397
|
-
image_style?: Record<string, any
|
|
7398
|
-
icon?: string
|
|
7399
|
-
icon_style?: Record<string, any
|
|
7400
|
-
card_style?: Record<string, any
|
|
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>;
|
|
7401
7391
|
}[];
|
|
7402
7392
|
layout: "vertical" | "horizontal";
|
|
7403
7393
|
} | undefined;
|
|
@@ -7783,7 +7773,7 @@ export default function useCanvas(): {
|
|
|
7783
7773
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
7784
7774
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
7785
7775
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
7786
|
-
all?: import(
|
|
7776
|
+
all?: import("csstype").Property.All | undefined;
|
|
7787
7777
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
7788
7778
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
7789
7779
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -9000,12 +8990,12 @@ export default function useCanvas(): {
|
|
|
9000
8990
|
"text-anchor"?: import("csstype").Property.TextAnchor | undefined;
|
|
9001
8991
|
"vector-effect"?: import("csstype").Property.VectorEffect | undefined;
|
|
9002
8992
|
} | undefined;
|
|
9003
|
-
tags?: string[]
|
|
8993
|
+
tags?: string[];
|
|
9004
8994
|
}[]>;
|
|
9005
8995
|
componentEditMode: Ref<false | {
|
|
9006
8996
|
type: ComponentTypes;
|
|
9007
|
-
id:
|
|
9008
|
-
usedInSectionId?:
|
|
8997
|
+
id: ComponentNode["id"] | null;
|
|
8998
|
+
usedInSectionId?: Canvas["id"];
|
|
9009
8999
|
}>;
|
|
9010
9000
|
parentIdByNodeId: import('vue').ComputedRef<{
|
|
9011
9001
|
readonly [x: string]: string | null;
|
|
@@ -9021,8 +9011,8 @@ export default function useCanvas(): {
|
|
|
9021
9011
|
readonly pdf: boolean;
|
|
9022
9012
|
readonly web: boolean;
|
|
9023
9013
|
} | undefined;
|
|
9024
|
-
readonly allow_admins_to_overwrite?: boolean
|
|
9025
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
9014
|
+
readonly allow_admins_to_overwrite?: boolean;
|
|
9015
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
9026
9016
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
9027
9017
|
readonly data?: {
|
|
9028
9018
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -9030,73 +9020,72 @@ export default function useCanvas(): {
|
|
|
9030
9020
|
} | {
|
|
9031
9021
|
readonly span: number;
|
|
9032
9022
|
readonly tooltips?: readonly {
|
|
9033
|
-
readonly content?: string
|
|
9023
|
+
readonly content?: string;
|
|
9034
9024
|
readonly content_style?: {
|
|
9035
9025
|
readonly [x: string]: any;
|
|
9036
9026
|
} | undefined;
|
|
9037
|
-
readonly trigger?: string
|
|
9027
|
+
readonly trigger?: string;
|
|
9038
9028
|
readonly trigger_style?: {
|
|
9039
9029
|
readonly [x: string]: any;
|
|
9040
9030
|
} | undefined;
|
|
9041
9031
|
}[] | undefined;
|
|
9042
9032
|
} | {
|
|
9043
|
-
readonly content?: string
|
|
9033
|
+
readonly content?: string;
|
|
9044
9034
|
} | {
|
|
9045
9035
|
readonly images?: readonly {
|
|
9046
9036
|
readonly url: string;
|
|
9047
|
-
readonly is_uploaded_asset?: boolean
|
|
9037
|
+
readonly is_uploaded_asset?: boolean;
|
|
9048
9038
|
}[] | undefined;
|
|
9049
|
-
readonly placeholder_height?: string
|
|
9050
|
-
readonly include_all_images_in_pdf?: boolean
|
|
9039
|
+
readonly placeholder_height?: string;
|
|
9040
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
9051
9041
|
} | {
|
|
9052
9042
|
readonly asset_type: "external";
|
|
9053
9043
|
readonly external_url: string;
|
|
9054
|
-
readonly type: "
|
|
9055
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
9044
|
+
readonly type: "image" | "video";
|
|
9045
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
9056
9046
|
} | {
|
|
9057
9047
|
readonly asset_type: "pitcher_asset";
|
|
9058
9048
|
readonly file: {
|
|
9059
|
-
readonly id:
|
|
9060
|
-
readonly name:
|
|
9061
|
-
readonly content_url?:
|
|
9049
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
9050
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
9051
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
9062
9052
|
};
|
|
9063
|
-
readonly type: "
|
|
9064
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
9053
|
+
readonly type: "image" | "video";
|
|
9054
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
9065
9055
|
} | {
|
|
9066
9056
|
readonly type: "app";
|
|
9067
9057
|
readonly app_name: string;
|
|
9068
9058
|
readonly src: string | null;
|
|
9069
|
-
readonly height?: string
|
|
9070
|
-
readonly width?: string
|
|
9059
|
+
readonly height?: string;
|
|
9060
|
+
readonly width?: string;
|
|
9071
9061
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
9072
9062
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
9073
9063
|
readonly properties_by_embed_location?: {
|
|
9074
9064
|
readonly canvas?: {
|
|
9075
|
-
readonly start_in_loading_mode?: boolean
|
|
9065
|
+
readonly start_in_loading_mode?: boolean;
|
|
9076
9066
|
} | undefined;
|
|
9077
9067
|
readonly dsr?: {
|
|
9078
|
-
readonly start_in_loading_mode?: boolean
|
|
9068
|
+
readonly start_in_loading_mode?: boolean;
|
|
9079
9069
|
} | undefined;
|
|
9080
9070
|
readonly ui_app?: {
|
|
9081
|
-
readonly start_in_loading_mode?: boolean
|
|
9071
|
+
readonly start_in_loading_mode?: boolean;
|
|
9082
9072
|
} | undefined;
|
|
9083
9073
|
readonly admin_instance?: {
|
|
9084
|
-
readonly start_in_loading_mode?: boolean
|
|
9074
|
+
readonly start_in_loading_mode?: boolean;
|
|
9085
9075
|
} | undefined;
|
|
9086
9076
|
} | undefined;
|
|
9087
9077
|
readonly file: {
|
|
9088
|
-
readonly id:
|
|
9089
|
-
readonly snapshot_id?:
|
|
9090
|
-
readonly name:
|
|
9091
|
-
readonly is_deleted?: boolean
|
|
9092
|
-
readonly content_url:
|
|
9078
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9079
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9080
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
9081
|
+
readonly is_deleted?: boolean;
|
|
9082
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
9093
9083
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
9094
|
-
readonly content_extension:
|
|
9095
|
-
readonly thumbnail_url?:
|
|
9096
|
-
readonly content_length:
|
|
9084
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
9085
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
9086
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
9097
9087
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
9098
|
-
readonly
|
|
9099
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
9088
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
9100
9089
|
readonly pspdfkit_auth_payload?: {
|
|
9101
9090
|
readonly [x: string]: any;
|
|
9102
9091
|
} | null | undefined;
|
|
@@ -9107,87 +9096,86 @@ export default function useCanvas(): {
|
|
|
9107
9096
|
} | {
|
|
9108
9097
|
readonly items: readonly ({
|
|
9109
9098
|
readonly file: {
|
|
9110
|
-
readonly id:
|
|
9111
|
-
readonly snapshot_id?:
|
|
9112
|
-
readonly name:
|
|
9113
|
-
readonly is_deleted?: boolean
|
|
9114
|
-
readonly content_url?:
|
|
9115
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
9116
|
-
readonly content_extension?:
|
|
9099
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9100
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9101
|
+
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"];
|
|
9117
9106
|
};
|
|
9118
9107
|
readonly slide: {
|
|
9119
9108
|
readonly index: number;
|
|
9120
|
-
readonly url?:
|
|
9109
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
9121
9110
|
};
|
|
9122
9111
|
readonly type: "slide";
|
|
9123
9112
|
} | {
|
|
9124
9113
|
readonly file: {
|
|
9125
|
-
readonly id:
|
|
9126
|
-
readonly snapshot_id?:
|
|
9127
|
-
readonly name:
|
|
9128
|
-
readonly is_deleted?: boolean
|
|
9129
|
-
readonly content_url:
|
|
9114
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9115
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
9116
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
9117
|
+
readonly is_deleted?: boolean;
|
|
9118
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
9130
9119
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
9131
|
-
readonly content_extension:
|
|
9132
|
-
readonly thumbnail_url?:
|
|
9133
|
-
readonly content_length:
|
|
9120
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
9121
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
9122
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
9134
9123
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
9135
|
-
readonly
|
|
9136
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
9124
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
9137
9125
|
readonly pspdfkit_auth_payload?: {
|
|
9138
9126
|
readonly [x: string]: any;
|
|
9139
9127
|
} | null | undefined;
|
|
9140
9128
|
};
|
|
9141
9129
|
readonly type: "file";
|
|
9142
9130
|
})[];
|
|
9143
|
-
readonly size?: "medium"
|
|
9144
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
9131
|
+
readonly size?: "medium";
|
|
9132
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
9145
9133
|
} | {
|
|
9146
9134
|
readonly sections: readonly {
|
|
9147
9135
|
readonly id: string;
|
|
9148
9136
|
readonly style?: {
|
|
9149
9137
|
readonly [x: string]: any;
|
|
9150
9138
|
} | undefined;
|
|
9151
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
9152
|
-
readonly background_video_url?: string
|
|
9139
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
9140
|
+
readonly background_video_url?: string;
|
|
9153
9141
|
}[];
|
|
9154
|
-
readonly animation_in?: string
|
|
9142
|
+
readonly animation_in?: string;
|
|
9155
9143
|
} | {
|
|
9156
9144
|
readonly html: string;
|
|
9157
9145
|
} | {
|
|
9158
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
9159
|
-
readonly background_color?: string
|
|
9160
|
-
readonly canvas_anchor?: string
|
|
9161
|
-
readonly color?: string
|
|
9162
|
-
readonly display_text?: string
|
|
9163
|
-
readonly font_family?: string
|
|
9164
|
-
readonly font_size?: number
|
|
9165
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
9166
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
9167
|
-
readonly target?: "_self" | "_blank"
|
|
9168
|
-
readonly url?: string
|
|
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;
|
|
9169
9157
|
} | {} | {
|
|
9170
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
9171
|
-
readonly background_video_url?: string
|
|
9158
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
9159
|
+
readonly background_video_url?: string;
|
|
9172
9160
|
} | {
|
|
9173
9161
|
readonly events: readonly {
|
|
9174
|
-
readonly top_hint?: string
|
|
9162
|
+
readonly top_hint?: string;
|
|
9175
9163
|
readonly top_hint_style?: {
|
|
9176
9164
|
readonly [x: string]: any;
|
|
9177
9165
|
} | undefined;
|
|
9178
|
-
readonly title?: string
|
|
9166
|
+
readonly title?: string;
|
|
9179
9167
|
readonly title_style?: {
|
|
9180
9168
|
readonly [x: string]: any;
|
|
9181
9169
|
} | undefined;
|
|
9182
|
-
readonly description?: string
|
|
9170
|
+
readonly description?: string;
|
|
9183
9171
|
readonly description_style?: {
|
|
9184
9172
|
readonly [x: string]: any;
|
|
9185
9173
|
} | undefined;
|
|
9186
|
-
readonly image_url?: string
|
|
9174
|
+
readonly image_url?: string;
|
|
9187
9175
|
readonly image_style?: {
|
|
9188
9176
|
readonly [x: string]: any;
|
|
9189
9177
|
} | undefined;
|
|
9190
|
-
readonly icon?: string
|
|
9178
|
+
readonly icon?: string;
|
|
9191
9179
|
readonly icon_style?: {
|
|
9192
9180
|
readonly [x: string]: any;
|
|
9193
9181
|
} | undefined;
|
|
@@ -9579,7 +9567,7 @@ export default function useCanvas(): {
|
|
|
9579
9567
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
9580
9568
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
9581
9569
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
9582
|
-
readonly all?: import(
|
|
9570
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
9583
9571
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
9584
9572
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
9585
9573
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -10800,7 +10788,7 @@ export default function useCanvas(): {
|
|
|
10800
10788
|
};
|
|
10801
10789
|
}>;
|
|
10802
10790
|
componentSelectedMode: Ref<false | {
|
|
10803
|
-
id:
|
|
10791
|
+
id: ComponentNode["id"];
|
|
10804
10792
|
}>;
|
|
10805
10793
|
componentSettingsMode: Ref<string | false>;
|
|
10806
10794
|
contentRef: Ref<{
|
|
@@ -10809,7 +10797,7 @@ export default function useCanvas(): {
|
|
|
10809
10797
|
currentEmbedLocation: import('vue').ComputedRef<"dsr" | "canvas">;
|
|
10810
10798
|
displayMode: Ref<"default" | "print" | undefined>;
|
|
10811
10799
|
endPage: Ref<number | undefined>;
|
|
10812
|
-
fetchFile: Ref<((fileId:
|
|
10800
|
+
fetchFile: Ref<((fileId: import('../../../../types/openapi').FileRetrieve["id"]) => Promise<import('../../../../types/openapi').FileRetrieve>) | ((...data: any[]) => void) | undefined>;
|
|
10813
10801
|
getEnv: Ref<(() => Promise<import('../../../main.lib').PitcherEnv>) | (() => Promise<import('../../../main.lib').PitcherEnv>) | ((...data: any[]) => void) | undefined>;
|
|
10814
10802
|
inCall: Ref<boolean | undefined>;
|
|
10815
10803
|
isAdmin: import('vue').ComputedRef<boolean>;
|
|
@@ -10832,65 +10820,65 @@ export default function useCanvas(): {
|
|
|
10832
10820
|
id: string;
|
|
10833
10821
|
name: string;
|
|
10834
10822
|
type: ComponentTypes | "Section";
|
|
10835
|
-
sectionId?: string
|
|
10836
|
-
thumbnailUrl?: string
|
|
10823
|
+
sectionId?: string;
|
|
10824
|
+
thumbnailUrl?: string;
|
|
10837
10825
|
uniqueId: string;
|
|
10838
|
-
metadata?: Record<string, any
|
|
10826
|
+
metadata?: Record<string, any>;
|
|
10839
10827
|
}[]>;
|
|
10840
|
-
onComponentEnter: Ref<((data:
|
|
10841
|
-
onComponentExit: Ref<((data:
|
|
10828
|
+
onComponentEnter: Ref<((data: ComponentNode | Canvas, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | Canvas, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | Canvas) => void) | undefined>;
|
|
10829
|
+
onComponentExit: Ref<((data: ComponentNode | Canvas, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((data: ComponentNode | Canvas, params: import('@canvas-builder/types/canvas').ComponentTrackingParams) => void) | ((c: ComponentNode | Canvas) => void) | undefined>;
|
|
10842
10830
|
onDownloadCanvas: Ref<((canvas: Canvas) => Promise<void>) | ((canvas: Canvas) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
10843
|
-
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | {
|
|
10844
|
-
id:
|
|
10845
|
-
snapshot_id?:
|
|
10846
|
-
name:
|
|
10847
|
-
is_deleted?: boolean
|
|
10848
|
-
content_url?:
|
|
10849
|
-
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
10850
|
-
content_extension?:
|
|
10851
|
-
}
|
|
10852
|
-
id:
|
|
10853
|
-
snapshot_id?:
|
|
10854
|
-
name:
|
|
10855
|
-
is_deleted?: boolean
|
|
10856
|
-
content_url?:
|
|
10857
|
-
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
10858
|
-
content_extension?:
|
|
10859
|
-
}
|
|
10831
|
+
onDownloadFile: Ref<((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | {
|
|
10832
|
+
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10833
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10834
|
+
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
10835
|
+
is_deleted?: boolean;
|
|
10836
|
+
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10837
|
+
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10838
|
+
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10839
|
+
}) => Promise<void>) | ((file: import('../../../../types/openapi').File | import('@canvas-builder/types/canvas').ContentGridFileProps | {
|
|
10840
|
+
id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10841
|
+
snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10842
|
+
name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
10843
|
+
is_deleted?: boolean;
|
|
10844
|
+
content_url?: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10845
|
+
content_type?: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10846
|
+
content_extension?: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10847
|
+
}) => Promise<void>) | ((...data: any[]) => void) | undefined>;
|
|
10860
10848
|
onExit: Ref<(() => void) | (() => void)>;
|
|
10861
10849
|
onFileOpen: Ref<((file: (import('@canvas-builder/types/canvas').FileProps & {
|
|
10862
|
-
page_index?: number
|
|
10863
|
-
newTab?: boolean
|
|
10850
|
+
page_index?: number;
|
|
10851
|
+
newTab?: boolean;
|
|
10864
10852
|
}) | {
|
|
10865
|
-
file_id:
|
|
10866
|
-
name?:
|
|
10867
|
-
page_index?: number
|
|
10868
|
-
newTab?: boolean
|
|
10853
|
+
file_id: import('../../../../types/openapi').File["id"];
|
|
10854
|
+
name?: import('../../../../types/openapi').File["name"];
|
|
10855
|
+
page_index?: number;
|
|
10856
|
+
newTab?: boolean;
|
|
10869
10857
|
}) => void) | ((file: (import('@canvas-builder/types/canvas').FileProps & {
|
|
10870
|
-
page_index?: number
|
|
10871
|
-
newTab?: boolean
|
|
10858
|
+
page_index?: number;
|
|
10859
|
+
newTab?: boolean;
|
|
10872
10860
|
}) | {
|
|
10873
|
-
file_id:
|
|
10874
|
-
name?:
|
|
10875
|
-
page_index?: number
|
|
10876
|
-
newTab?: boolean
|
|
10861
|
+
file_id: import('../../../../types/openapi').File["id"];
|
|
10862
|
+
name?: import('../../../../types/openapi').File["name"];
|
|
10863
|
+
page_index?: number;
|
|
10864
|
+
newTab?: boolean;
|
|
10877
10865
|
}) => void)>;
|
|
10878
|
-
onSave: Ref<((canvasId:
|
|
10879
|
-
fields?: string
|
|
10880
|
-
}, showToast?: boolean
|
|
10881
|
-
onSfdcAccountSearch: Ref<((searchTerm?: import('@vueuse/shared').MaybeRef<string>
|
|
10866
|
+
onSave: Ref<((canvasId: Canvas["id"], canvas: import('../../../../types/openapi').PatchedCanvasUpdateRequest & {
|
|
10867
|
+
fields?: string;
|
|
10868
|
+
}, showToast?: boolean) => Promise<Canvas>) | ((...data: any[]) => Promise<void>) | undefined>;
|
|
10869
|
+
onSfdcAccountSearch: Ref<((searchTerm?: import('@vueuse/shared').MaybeRef<string>) => {
|
|
10882
10870
|
accountsLoading: Ref<boolean>;
|
|
10883
10871
|
accounts: Ref<{
|
|
10884
10872
|
label: string;
|
|
10885
10873
|
value: string;
|
|
10886
10874
|
}[]>;
|
|
10887
10875
|
}) | ((...data: any[]) => void)>;
|
|
10888
|
-
onTrackShare: Ref<((canvasId:
|
|
10889
|
-
renderPageAsImageUrl: Ref<((fileId:
|
|
10876
|
+
onTrackShare: Ref<((canvasId: Canvas["id"]) => Promise<void>) | undefined>;
|
|
10877
|
+
renderPageAsImageUrl: Ref<((fileId: import('../../../../types/openapi').File["id"], pageIndex: number, options: {
|
|
10890
10878
|
width: number;
|
|
10891
10879
|
} | {
|
|
10892
10880
|
height: number;
|
|
10893
|
-
}) => Promise<string>) | ((fileId:
|
|
10881
|
+
}) => Promise<string>) | ((fileId: import('../../../../types/openapi').File["id"], pageIndex: number, options: {
|
|
10894
10882
|
width: number;
|
|
10895
10883
|
} | {
|
|
10896
10884
|
height: number;
|
|
@@ -10907,8 +10895,8 @@ export default function useCanvas(): {
|
|
|
10907
10895
|
readonly pdf: boolean;
|
|
10908
10896
|
readonly web: boolean;
|
|
10909
10897
|
} | undefined;
|
|
10910
|
-
readonly allow_admins_to_overwrite?: boolean
|
|
10911
|
-
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags"
|
|
10898
|
+
readonly allow_admins_to_overwrite?: boolean;
|
|
10899
|
+
readonly autofill?: "off" | "ai" | "matching_metadata" | "matching_tags" | "matching_metadata_or_tags";
|
|
10912
10900
|
readonly autofill_content_types?: readonly import('../../../../types/openapi').FileContentTypeEnum[] | null | undefined;
|
|
10913
10901
|
readonly data?: {
|
|
10914
10902
|
readonly layout_type: import('@canvas-builder/types/canvas').GridLayoutTypes;
|
|
@@ -10916,73 +10904,72 @@ export default function useCanvas(): {
|
|
|
10916
10904
|
} | {
|
|
10917
10905
|
readonly span: number;
|
|
10918
10906
|
readonly tooltips?: readonly {
|
|
10919
|
-
readonly content?: string
|
|
10907
|
+
readonly content?: string;
|
|
10920
10908
|
readonly content_style?: {
|
|
10921
10909
|
readonly [x: string]: any;
|
|
10922
10910
|
} | undefined;
|
|
10923
|
-
readonly trigger?: string
|
|
10911
|
+
readonly trigger?: string;
|
|
10924
10912
|
readonly trigger_style?: {
|
|
10925
10913
|
readonly [x: string]: any;
|
|
10926
10914
|
} | undefined;
|
|
10927
10915
|
}[] | undefined;
|
|
10928
10916
|
} | {
|
|
10929
|
-
readonly content?: string
|
|
10917
|
+
readonly content?: string;
|
|
10930
10918
|
} | {
|
|
10931
10919
|
readonly images?: readonly {
|
|
10932
10920
|
readonly url: string;
|
|
10933
|
-
readonly is_uploaded_asset?: boolean
|
|
10921
|
+
readonly is_uploaded_asset?: boolean;
|
|
10934
10922
|
}[] | undefined;
|
|
10935
|
-
readonly placeholder_height?: string
|
|
10936
|
-
readonly include_all_images_in_pdf?: boolean
|
|
10923
|
+
readonly placeholder_height?: string;
|
|
10924
|
+
readonly include_all_images_in_pdf?: boolean;
|
|
10937
10925
|
} | {
|
|
10938
10926
|
readonly asset_type: "external";
|
|
10939
10927
|
readonly external_url: string;
|
|
10940
|
-
readonly type: "
|
|
10941
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
10928
|
+
readonly type: "image" | "video";
|
|
10929
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
10942
10930
|
} | {
|
|
10943
10931
|
readonly asset_type: "pitcher_asset";
|
|
10944
10932
|
readonly file: {
|
|
10945
|
-
readonly id:
|
|
10946
|
-
readonly name:
|
|
10947
|
-
readonly content_url?:
|
|
10933
|
+
readonly id: import('../../../../types/openapi').File["id"];
|
|
10934
|
+
readonly name: import('../../../../types/openapi').File["name"];
|
|
10935
|
+
readonly content_url?: import('../../../../types/openapi').File["content_url"];
|
|
10948
10936
|
};
|
|
10949
|
-
readonly type: "
|
|
10950
|
-
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions
|
|
10937
|
+
readonly type: "image" | "video";
|
|
10938
|
+
readonly horizontal_alignment?: import('@canvas-builder/types/canvas').MultimediaHorizontalAlignmentOptions;
|
|
10951
10939
|
} | {
|
|
10952
10940
|
readonly type: "app";
|
|
10953
10941
|
readonly app_name: string;
|
|
10954
10942
|
readonly src: string | null;
|
|
10955
|
-
readonly height?: string
|
|
10956
|
-
readonly width?: string
|
|
10943
|
+
readonly height?: string;
|
|
10944
|
+
readonly width?: string;
|
|
10957
10945
|
readonly embed_locations?: readonly EmbedLocation[] | undefined;
|
|
10958
10946
|
readonly headless_locations?: readonly EmbedLocation[] | undefined;
|
|
10959
10947
|
readonly properties_by_embed_location?: {
|
|
10960
10948
|
readonly canvas?: {
|
|
10961
|
-
readonly start_in_loading_mode?: boolean
|
|
10949
|
+
readonly start_in_loading_mode?: boolean;
|
|
10962
10950
|
} | undefined;
|
|
10963
10951
|
readonly dsr?: {
|
|
10964
|
-
readonly start_in_loading_mode?: boolean
|
|
10952
|
+
readonly start_in_loading_mode?: boolean;
|
|
10965
10953
|
} | undefined;
|
|
10966
10954
|
readonly ui_app?: {
|
|
10967
|
-
readonly start_in_loading_mode?: boolean
|
|
10955
|
+
readonly start_in_loading_mode?: boolean;
|
|
10968
10956
|
} | undefined;
|
|
10969
10957
|
readonly admin_instance?: {
|
|
10970
|
-
readonly start_in_loading_mode?: boolean
|
|
10958
|
+
readonly start_in_loading_mode?: boolean;
|
|
10971
10959
|
} | undefined;
|
|
10972
10960
|
} | undefined;
|
|
10973
10961
|
readonly file: {
|
|
10974
|
-
readonly id:
|
|
10975
|
-
readonly snapshot_id?:
|
|
10976
|
-
readonly name:
|
|
10977
|
-
readonly is_deleted?: boolean
|
|
10978
|
-
readonly content_url:
|
|
10962
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10963
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10964
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
10965
|
+
readonly is_deleted?: boolean;
|
|
10966
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
10979
10967
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
10980
|
-
readonly content_extension:
|
|
10981
|
-
readonly thumbnail_url?:
|
|
10982
|
-
readonly content_length:
|
|
10968
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
10969
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
10970
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
10983
10971
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
10984
|
-
readonly
|
|
10985
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
10972
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
10986
10973
|
readonly pspdfkit_auth_payload?: {
|
|
10987
10974
|
readonly [x: string]: any;
|
|
10988
10975
|
} | null | undefined;
|
|
@@ -10993,87 +10980,86 @@ export default function useCanvas(): {
|
|
|
10993
10980
|
} | {
|
|
10994
10981
|
readonly items: readonly ({
|
|
10995
10982
|
readonly file: {
|
|
10996
|
-
readonly id:
|
|
10997
|
-
readonly snapshot_id?:
|
|
10998
|
-
readonly name:
|
|
10999
|
-
readonly is_deleted?: boolean
|
|
11000
|
-
readonly content_url?:
|
|
11001
|
-
readonly content_type?: import('../../../../types/openapi').FileContentTypeEnum | null
|
|
11002
|
-
readonly content_extension?:
|
|
10983
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10984
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10985
|
+
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"];
|
|
11003
10990
|
};
|
|
11004
10991
|
readonly slide: {
|
|
11005
10992
|
readonly index: number;
|
|
11006
|
-
readonly url?:
|
|
10993
|
+
readonly url?: import('../../../../types/openapi').FileRetrieve["content_thumbnails"][number];
|
|
11007
10994
|
};
|
|
11008
10995
|
readonly type: "slide";
|
|
11009
10996
|
} | {
|
|
11010
10997
|
readonly file: {
|
|
11011
|
-
readonly id:
|
|
11012
|
-
readonly snapshot_id?:
|
|
11013
|
-
readonly name:
|
|
11014
|
-
readonly is_deleted?: boolean
|
|
11015
|
-
readonly content_url:
|
|
10998
|
+
readonly id: import('../../../../types/openapi').FileRetrieve["id"];
|
|
10999
|
+
readonly snapshot_id?: import('../../../../types/openapi').FileRetrieve["id"];
|
|
11000
|
+
readonly name: import('../../../../types/openapi').FileRetrieve["name"];
|
|
11001
|
+
readonly is_deleted?: boolean;
|
|
11002
|
+
readonly content_url: import('../../../../types/openapi').FileRetrieve["content_url"];
|
|
11016
11003
|
readonly content_type: import('../../../../types/openapi').FileContentTypeEnum | null;
|
|
11017
|
-
readonly content_extension:
|
|
11018
|
-
readonly thumbnail_url?:
|
|
11019
|
-
readonly content_length:
|
|
11004
|
+
readonly content_extension: import('../../../../types/openapi').FileRetrieve["content_extension"];
|
|
11005
|
+
readonly thumbnail_url?: import('../../../../types/openapi').FileRetrieve["thumbnail_url"];
|
|
11006
|
+
readonly content_length: import('../../../../types/openapi').FileRetrieve["content_length"];
|
|
11020
11007
|
readonly content_thumbnails?: readonly string[] | null | undefined;
|
|
11021
|
-
readonly
|
|
11022
|
-
readonly pspdfkit_server_url?: string | null | undefined;
|
|
11008
|
+
readonly pspdfkit_server_url?: import('../../../components/CFileViewer/CFileViewer.types').FileModel["pspdfkit_server_url"];
|
|
11023
11009
|
readonly pspdfkit_auth_payload?: {
|
|
11024
11010
|
readonly [x: string]: any;
|
|
11025
11011
|
} | null | undefined;
|
|
11026
11012
|
};
|
|
11027
11013
|
readonly type: "file";
|
|
11028
11014
|
})[];
|
|
11029
|
-
readonly size?: "medium"
|
|
11030
|
-
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes
|
|
11015
|
+
readonly size?: "medium";
|
|
11016
|
+
readonly layout_type?: import('@canvas-builder/types/canvas').ContentGridLayoutTypes;
|
|
11031
11017
|
} | {
|
|
11032
11018
|
readonly sections: readonly {
|
|
11033
11019
|
readonly id: string;
|
|
11034
11020
|
readonly style?: {
|
|
11035
11021
|
readonly [x: string]: any;
|
|
11036
11022
|
} | undefined;
|
|
11037
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
11038
|
-
readonly background_video_url?: string
|
|
11023
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
11024
|
+
readonly background_video_url?: string;
|
|
11039
11025
|
}[];
|
|
11040
|
-
readonly animation_in?: string
|
|
11026
|
+
readonly animation_in?: string;
|
|
11041
11027
|
} | {
|
|
11042
11028
|
readonly html: string;
|
|
11043
11029
|
} | {
|
|
11044
|
-
readonly alignment?: import('@canvas-builder/types/canvas').LinkAlignmentTypes
|
|
11045
|
-
readonly background_color?: string
|
|
11046
|
-
readonly canvas_anchor?: string
|
|
11047
|
-
readonly color?: string
|
|
11048
|
-
readonly display_text?: string
|
|
11049
|
-
readonly font_family?: string
|
|
11050
|
-
readonly font_size?: number
|
|
11051
|
-
readonly link_type?: import('@canvas-builder/types/canvas').LinkAnchorTypes
|
|
11052
|
-
readonly preview_type?: import('@canvas-builder/types/canvas').LinkPreviewTypes
|
|
11053
|
-
readonly target?: "_self" | "_blank"
|
|
11054
|
-
readonly url?: string
|
|
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;
|
|
11055
11041
|
} | {} | {
|
|
11056
|
-
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1"
|
|
11057
|
-
readonly background_video_url?: string
|
|
11042
|
+
readonly aspect_ratio?: "unlocked" | "16:9" | "16:10" | "4:3" | "1:1";
|
|
11043
|
+
readonly background_video_url?: string;
|
|
11058
11044
|
} | {
|
|
11059
11045
|
readonly events: readonly {
|
|
11060
|
-
readonly top_hint?: string
|
|
11046
|
+
readonly top_hint?: string;
|
|
11061
11047
|
readonly top_hint_style?: {
|
|
11062
11048
|
readonly [x: string]: any;
|
|
11063
11049
|
} | undefined;
|
|
11064
|
-
readonly title?: string
|
|
11050
|
+
readonly title?: string;
|
|
11065
11051
|
readonly title_style?: {
|
|
11066
11052
|
readonly [x: string]: any;
|
|
11067
11053
|
} | undefined;
|
|
11068
|
-
readonly description?: string
|
|
11054
|
+
readonly description?: string;
|
|
11069
11055
|
readonly description_style?: {
|
|
11070
11056
|
readonly [x: string]: any;
|
|
11071
11057
|
} | undefined;
|
|
11072
|
-
readonly image_url?: string
|
|
11058
|
+
readonly image_url?: string;
|
|
11073
11059
|
readonly image_style?: {
|
|
11074
11060
|
readonly [x: string]: any;
|
|
11075
11061
|
} | undefined;
|
|
11076
|
-
readonly icon?: string
|
|
11062
|
+
readonly icon?: string;
|
|
11077
11063
|
readonly icon_style?: {
|
|
11078
11064
|
readonly [x: string]: any;
|
|
11079
11065
|
} | undefined;
|
|
@@ -11465,7 +11451,7 @@ export default function useCanvas(): {
|
|
|
11465
11451
|
readonly writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
11466
11452
|
readonly zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
11467
11453
|
readonly zoom?: import("csstype").Property.Zoom | undefined;
|
|
11468
|
-
readonly all?: import(
|
|
11454
|
+
readonly all?: import("csstype").Property.All | undefined;
|
|
11469
11455
|
readonly animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
11470
11456
|
readonly animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
11471
11457
|
readonly background?: import("csstype").Property.Background<string | number> | undefined;
|
|
@@ -12688,47 +12674,47 @@ export default function useCanvas(): {
|
|
|
12688
12674
|
}>;
|
|
12689
12675
|
sectionComponentOverrides: Ref<SectionComponentOverrides>;
|
|
12690
12676
|
selectedComponentType: import('vue').ComputedRef<ComponentTypes | null>;
|
|
12691
|
-
share: Ref<((canvasId:
|
|
12677
|
+
share: Ref<((canvasId: Canvas["id"]) => Promise<import('../../../../types/openapi').SharedLink>) | undefined>;
|
|
12692
12678
|
singletonsInCanvasMap: import('vue').ComputedRef<Record<ComponentTypes, boolean>>;
|
|
12693
12679
|
startPage: Ref<number | undefined>;
|
|
12694
12680
|
templates: Ref<{
|
|
12695
|
-
label:
|
|
12696
|
-
value:
|
|
12681
|
+
label: Canvas["name"];
|
|
12682
|
+
value: Canvas["id"];
|
|
12697
12683
|
}[]>;
|
|
12698
12684
|
initialize: (props: CanvasBuilderProps) => void;
|
|
12699
|
-
activateNavigationItem: (id: string, sectionId?: string
|
|
12700
|
-
deactivateNavigationItem: (id: string, sectionId?: string
|
|
12701
|
-
addComponentAtParentId: (type: ComponentTypes, parentId?:
|
|
12702
|
-
duplicate: (componentId:
|
|
12685
|
+
activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
12686
|
+
deactivateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean) => void;
|
|
12687
|
+
addComponentAtParentId: (type: ComponentTypes, parentId?: ComponentNode["id"] | null, afterSiblingId?: ComponentNode["id"] | null, withData?: ComponentNode["data"] | null, withChildren?: ComponentNode["children"], withExtraNodeData?: Partial<ComponentNode>) => void;
|
|
12688
|
+
duplicate: (componentId: ComponentNode["id"]) => void;
|
|
12703
12689
|
enterFullscreen: typeof enterFullscreen;
|
|
12704
12690
|
exitFullscreen: typeof exitFullscreen;
|
|
12705
12691
|
overrideSectionComponentData: ({ usedInSectionId, componentId, componentData, afterSiblingId, remove, }: {
|
|
12706
|
-
usedInSectionId:
|
|
12707
|
-
componentId:
|
|
12708
|
-
componentData?:
|
|
12709
|
-
afterSiblingId?:
|
|
12710
|
-
remove?: boolean
|
|
12692
|
+
usedInSectionId: Canvas["id"];
|
|
12693
|
+
componentId: ComponentNode["id"];
|
|
12694
|
+
componentData?: ComponentNode["data"];
|
|
12695
|
+
afterSiblingId?: ComponentNode["id"];
|
|
12696
|
+
remove?: boolean;
|
|
12711
12697
|
}) => void;
|
|
12712
|
-
patchCanvasContentByCondition: (condition: (node: ComponentNode
|
|
12713
|
-
patchNodeById: (id:
|
|
12714
|
-
removeComponent: (id:
|
|
12715
|
-
removeComponentById: (id:
|
|
12716
|
-
resetChildrenOfNodeById: (id:
|
|
12698
|
+
patchCanvasContentByCondition: (condition: (node: ComponentNode) => boolean, patch: Partial<ComponentNode>) => void;
|
|
12699
|
+
patchNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
|
|
12700
|
+
removeComponent: (id: ComponentNode["id"], sectionId?: Canvas["id"]) => void;
|
|
12701
|
+
removeComponentById: (id: ComponentNode["id"]) => void;
|
|
12702
|
+
resetChildrenOfNodeById: (id: ComponentNode["id"]) => void;
|
|
12717
12703
|
setActiveCanvas: (newCanvas: Canvas) => void;
|
|
12718
|
-
setAddMode: (type: false | ComponentTypes, parentId?:
|
|
12704
|
+
setAddMode: (type: false | ComponentTypes, parentId?: ComponentNode["id"] | null, afterSiblingId?: ComponentNode["id"] | null) => void;
|
|
12719
12705
|
setCanvasContent: ({ content, component }: {
|
|
12720
|
-
content: ComponentNode
|
|
12721
|
-
component?: ComponentNode
|
|
12706
|
+
content: ComponentNode[];
|
|
12707
|
+
component?: ComponentNode | null;
|
|
12722
12708
|
}) => void;
|
|
12723
|
-
setComponentEditMode: (type: false | ComponentTypes, id?:
|
|
12724
|
-
setComponentSelectedMode: (id?:
|
|
12725
|
-
setComponentSettingsMode: (id?:
|
|
12709
|
+
setComponentEditMode: (type: false | ComponentTypes, id?: ComponentNode["id"] | null, usedInSectionId?: Canvas["id"]) => void;
|
|
12710
|
+
setComponentSelectedMode: (id?: ComponentNode["id"]) => void;
|
|
12711
|
+
setComponentSettingsMode: (id?: ComponentNode["id"] | false) => void;
|
|
12726
12712
|
setInCall: (value?: boolean | undefined) => void;
|
|
12727
12713
|
setIsEditMode: (value: boolean) => void;
|
|
12728
12714
|
updateActiveCanvasProperties: (newProperties: Partial<Canvas>) => void;
|
|
12729
|
-
updateNodeData: (data:
|
|
12730
|
-
updateNodeDataById: (id:
|
|
12731
|
-
deepMergeNodeById: (id:
|
|
12715
|
+
updateNodeData: (data: ComponentNode["data"], id: ComponentNode["id"], sectionId?: Canvas["id"]) => void;
|
|
12716
|
+
updateNodeDataById: (id: ComponentNode["id"], newData: ComponentNode["data"]) => void;
|
|
12717
|
+
deepMergeNodeById: (id: ComponentNode["id"], patch: Partial<ComponentNode>) => void;
|
|
12732
12718
|
cleanup: typeof cleanup;
|
|
12733
12719
|
saveCanvasContent: typeof saveCanvasContent;
|
|
12734
12720
|
};
|