@pitcher/js-api 1.21.0-beta.13 → 1.21.0-beta.15

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