@pitcher/js-api 1.26.0-beta.8 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/impact-js-api.spec.json +9 -0
- package/js-api.esm.js +806 -47
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/api/events/events.helpers.d.ts +14 -2
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +12 -0
- package/lib/apps/browser/App.vue.d.ts +117 -0
- package/lib/apps/browser/appTypes.d.ts +7 -7
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +21 -4
- package/lib/apps/browser/components/Content/Content.vue.d.ts +1 -0
- package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +1 -0
- package/lib/apps/browser/components/Content/Panel/FolderPanel/FolderPanel.vue.d.ts +16 -1
- package/lib/apps/browser/components/ContextMenu/ConvertToSlidesButton.vue.d.ts +6 -0
- package/lib/apps/browser/components/RepUploads.vue.d.ts +206 -0
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +2 -0
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +4 -0
- package/lib/apps/browser/stores/api.d.ts +69 -10
- package/lib/apps/browser/stores/app.d.ts +1 -1
- package/lib/apps/browser/stores/repUploadsStore.d.ts +34 -0
- package/lib/apps/browser/stores/upload.d.ts +16 -4
- package/lib/apps/browser/types/actionKeys.d.ts +3 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/canvas-component-map.const.d.ts +3 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/ContentList/ContentList.vue.d.ts +9 -8
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/DataCharts.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/DataCharts/types.d.ts +119 -8
- package/lib/apps/canvas-builder/components/ui/DynamicContent/DynamicContent.edit.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/DynamicContent.raw.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/DynamicContent.settings.vue.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/DynamicContent.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/DynamicContentList.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/dynamicContent.const.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/section-component-map.const.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/DynamicContent/useDynamicContent.d.ts +436 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +15 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +4 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +9 -3
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +0 -12
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +372 -14
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +64 -2
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +62 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +42 -18
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +9 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +1 -2
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +10 -2
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +1 -1
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +4 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +25 -2
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -5
- package/lib/apps/canvas-builder/util/fetchAnalyticsPopularity.d.ts +18 -0
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
- package/lib/apps/collection-player/App.vue.d.ts +0 -1
- package/lib/apps/collection-player/stores/app.store.d.ts +0 -1
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +12 -0
- package/lib/apps/content-selector/appTypes.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +21 -4
- package/lib/apps/content-selector/stores/app.d.ts +2 -1
- package/lib/apps/ppt-conversion-selector/composables/move-slide-modal.use.d.ts +6 -0
- package/lib/apps/ppt-conversion-selector/export.d.ts +1 -0
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +8 -0
- package/lib/apps/ppt-conversion-selector/utils/data.util.d.ts +1 -0
- package/lib/apps/ppt-conversion-selector/utils/data.util.test.d.ts +1 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +8 -8
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +3 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -1
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +10 -4
- package/lib/components/CContentError/CContentError.vue.d.ts +2 -0
- package/lib/components/CFileAttributes/CFileAttributes.vue.d.ts +11 -0
- package/lib/components/CGlobalSearch/GlobalSearch.use.d.ts +2 -1
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +7 -1
- package/lib/components/CSwitch/CSwitch.vue.d.ts +4 -2
- package/lib/components/CTemplateAccessInfo/CTemplateAccessInfo.vue.d.ts +25 -0
- package/lib/components/CTemplateAccessManage/CTemplateAccessManage.vue.d.ts +26 -0
- package/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.types.d.ts +3 -8
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +20 -4
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +4 -1
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +19 -7
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +4 -1
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +79 -15
- package/lib/components/canvas-templates/CTemplateManagementActionsCell.vue.d.ts +3 -0
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +28 -5
- package/lib/components/filters/CSearchFilter.vue.d.ts +1148 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.use.d.ts +3 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.use.spec.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +31 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +12 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +5 -1
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -4
- package/lib/components/sections/CSectionManagement.vue.d.ts +23 -7
- package/lib/components/sections/CSectionManagementActionsCell.vue.d.ts +3 -0
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +4 -1
- package/lib/components/themes/CThemeManagement.vue.d.ts +18 -4
- package/lib/components/themes/CThemeManagementActionsCell.vue.d.ts +3 -0
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +4 -1
- package/lib/composables/presentationHistory.use.d.ts +12 -2
- package/lib/composables/useCanvasStandardFilters.d.ts +17 -2
- package/lib/composables/useFileDisplayHelpers.d.ts +1 -0
- package/lib/composables/useFilterSuggestions.d.ts +5 -1
- package/lib/composables/useMetadataSearch.d.ts +8 -2
- package/lib/composables/useSmartStore.d.ts +25 -0
- package/lib/main.lib.d.ts +8 -1
- package/lib/sdk/api/HighLevelApi.d.ts +7 -4
- package/lib/sdk/api/modules/index.d.ts +0 -1
- package/lib/sdk/api/modules/query.d.ts +145 -1
- package/lib/sdk/api/modules/ui/content.ui.d.ts +22 -1
- package/lib/sdk/api/modules/ui/index.d.ts +3 -0
- package/lib/sdk/api/modules/ui/sharing.ui.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +32 -0
- package/lib/sdk/interfaces.d.ts +16 -0
- package/lib/sdk/main.d.ts +30 -12
- package/lib/sdk/payload.types.d.ts +138 -0
- package/lib/sdk/utils/httpFetch.d.ts +2 -0
- package/lib/types/app.d.ts +2 -1
- package/lib/types/call.d.ts +9 -2
- package/lib/types/canvases.d.ts +2 -0
- package/lib/types/core/MetadataFilter.d.ts +1 -0
- package/lib/types/instanceSettings.types.d.ts +4 -2
- package/lib/types/launchDarkly.types.d.ts +11 -4
- package/lib/types/organizationSettings.types.d.ts +11 -0
- package/lib/types/sfdc.d.ts +6 -1
- package/lib/util/app.util.d.ts +46 -0
- package/lib/util/eval.d.ts +4 -0
- package/lib/util/font.util.d.ts +4 -0
- package/lib/util/handlebars.d.ts +35 -0
- package/lib/util/object.d.ts +1 -0
- package/lib/util/sfdc.util.d.ts +7 -0
- package/lib/util/sfdc.util.spec.d.ts +1 -0
- package/lib/util/smart-store.util.d.ts +53 -0
- package/lib/util/smart-store.util.spec.d.ts +1 -0
- package/package.json +2 -2
- package/types/openapi/models/Account.d.ts +1 -1
- package/types/openapi/models/AccountRequest.d.ts +1 -1
- package/types/openapi/models/CanvasRecommendedFile.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +1 -0
- package/types/openapi/models/DeletedFolder.d.ts +1 -0
- package/types/openapi/models/FavoriteFile.d.ts +1 -0
- package/types/openapi/models/FavoriteFileRequest.d.ts +1 -0
- package/types/openapi/models/File.d.ts +1 -0
- package/types/openapi/models/FileContentTypeEnum.d.ts +3 -0
- package/types/openapi/models/FileCreate.d.ts +1 -0
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FilePermission.d.ts +2 -0
- package/types/openapi/models/FilePermissionRequest.d.ts +2 -0
- package/types/openapi/models/FileRetrieve.d.ts +1 -0
- package/types/openapi/models/FileUpdate.d.ts +1 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/Folder.d.ts +1 -0
- package/types/openapi/models/FolderCreate.d.ts +3 -0
- package/types/openapi/models/FolderFile.d.ts +3 -0
- package/types/openapi/models/FolderRetrieve.d.ts +4 -0
- package/types/openapi/models/FolderUpdate.d.ts +3 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
- package/types/openapi/models/OfflineSyncFolder.d.ts +1 -0
- package/types/openapi/models/PaginatedAppList.d.ts +2 -2
- package/types/openapi/models/PaginatedAuthTokenList.d.ts +2 -2
- package/types/openapi/models/PaginatedCanvasList.d.ts +2 -2
- package/types/openapi/models/PaginatedCollaborationList.d.ts +2 -2
- package/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +2 -2
- package/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +2 -2
- package/types/openapi/models/PaginatedEnvironmentList.d.ts +2 -2
- package/types/openapi/models/PaginatedEventList.d.ts +2 -2
- package/types/openapi/models/PaginatedFavoriteList.d.ts +2 -2
- package/types/openapi/models/PaginatedFileList.d.ts +2 -2
- package/types/openapi/models/PaginatedFileRevisionList.d.ts +2 -2
- package/types/openapi/models/PaginatedFolderList.d.ts +2 -2
- package/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +2 -2
- package/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +2 -2
- package/types/openapi/models/PaginatedInstanceList.d.ts +2 -2
- package/types/openapi/models/PaginatedInstanceMembershipList.d.ts +2 -2
- package/types/openapi/models/PaginatedInvitationList.d.ts +2 -2
- package/types/openapi/models/PaginatedMetadataTemplateList.d.ts +2 -2
- package/types/openapi/models/PaginatedOfflineSyncFolderList.d.ts +2 -2
- package/types/openapi/models/PaginatedRegionList.d.ts +2 -2
- package/types/openapi/models/PaginatedRevisionList.d.ts +2 -2
- package/types/openapi/models/PaginatedUserList.d.ts +2 -2
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/User.d.ts +5 -1
- package/lib/api/events/events.queries.d.ts +0 -9
- package/lib/sdk/api/modules/events.d.ts +0 -6
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { DynamicContentProps } from '../../../types/canvas';
|
|
3
|
+
import { CanvasRetrieve, FileRetrieve } from '../../../../../../types/openapi';
|
|
4
|
+
export interface DynamicContentSection {
|
|
5
|
+
section: CanvasRetrieve;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DynamicContentFile {
|
|
9
|
+
id: string;
|
|
10
|
+
file_id: string;
|
|
11
|
+
type: 'file';
|
|
12
|
+
component_id: string;
|
|
13
|
+
index: number;
|
|
14
|
+
file: FileRetrieve;
|
|
15
|
+
section: undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare function cleanupDynamicContent(): void;
|
|
18
|
+
export declare function useDynamicContent(hasConfig?: Ref<boolean> | ComputedRef<boolean>): {
|
|
19
|
+
resolvedSections: Ref<{
|
|
20
|
+
section: {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
content?: Record<string, any> | undefined;
|
|
24
|
+
context?: any;
|
|
25
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
26
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
27
|
+
is_draft?: boolean | undefined;
|
|
28
|
+
is_template?: boolean | undefined;
|
|
29
|
+
is_section?: boolean | undefined;
|
|
30
|
+
is_block?: boolean | undefined;
|
|
31
|
+
is_editable?: boolean | undefined;
|
|
32
|
+
is_default?: boolean | undefined;
|
|
33
|
+
metadata?: any;
|
|
34
|
+
tags?: Array<string> | undefined;
|
|
35
|
+
start_at?: string | null | undefined;
|
|
36
|
+
expires_at?: string | null | undefined;
|
|
37
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
38
|
+
thumbnail_url?: string | null | undefined;
|
|
39
|
+
instance_id: string;
|
|
40
|
+
readonly template: {
|
|
41
|
+
readonly id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
};
|
|
44
|
+
readonly sections: {
|
|
45
|
+
readonly id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
content: Record<string, any>;
|
|
48
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
49
|
+
metadata?: Record<string, any> | undefined;
|
|
50
|
+
is_draft: boolean;
|
|
51
|
+
}[];
|
|
52
|
+
readonly shared_link: {
|
|
53
|
+
readonly url: string;
|
|
54
|
+
short_url?: string | null | undefined;
|
|
55
|
+
};
|
|
56
|
+
account?: {
|
|
57
|
+
id?: string | undefined;
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
readonly events: {
|
|
61
|
+
readonly id: string;
|
|
62
|
+
start_at: string;
|
|
63
|
+
subject: string;
|
|
64
|
+
}[];
|
|
65
|
+
folder_id?: string | null | undefined;
|
|
66
|
+
readonly owned_by: {
|
|
67
|
+
readonly id: number;
|
|
68
|
+
readonly name: string;
|
|
69
|
+
email?: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
readonly created_at: string;
|
|
72
|
+
readonly created_by: {
|
|
73
|
+
readonly id: number;
|
|
74
|
+
readonly name: string;
|
|
75
|
+
email?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
readonly modified_at: string;
|
|
78
|
+
readonly modified_by: {
|
|
79
|
+
readonly id: number;
|
|
80
|
+
readonly name: string;
|
|
81
|
+
email?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
index: number;
|
|
85
|
+
}[], DynamicContentSection[] | {
|
|
86
|
+
section: {
|
|
87
|
+
readonly id: string;
|
|
88
|
+
name: string;
|
|
89
|
+
content?: Record<string, any> | undefined;
|
|
90
|
+
context?: any;
|
|
91
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
92
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
93
|
+
is_draft?: boolean | undefined;
|
|
94
|
+
is_template?: boolean | undefined;
|
|
95
|
+
is_section?: boolean | undefined;
|
|
96
|
+
is_block?: boolean | undefined;
|
|
97
|
+
is_editable?: boolean | undefined;
|
|
98
|
+
is_default?: boolean | undefined;
|
|
99
|
+
metadata?: any;
|
|
100
|
+
tags?: Array<string> | undefined;
|
|
101
|
+
start_at?: string | null | undefined;
|
|
102
|
+
expires_at?: string | null | undefined;
|
|
103
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
104
|
+
thumbnail_url?: string | null | undefined;
|
|
105
|
+
instance_id: string;
|
|
106
|
+
readonly template: {
|
|
107
|
+
readonly id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
};
|
|
110
|
+
readonly sections: {
|
|
111
|
+
readonly id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
content: Record<string, any>;
|
|
114
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
115
|
+
metadata?: Record<string, any> | undefined;
|
|
116
|
+
is_draft: boolean;
|
|
117
|
+
}[];
|
|
118
|
+
readonly shared_link: {
|
|
119
|
+
readonly url: string;
|
|
120
|
+
short_url?: string | null | undefined;
|
|
121
|
+
};
|
|
122
|
+
account?: {
|
|
123
|
+
id?: string | undefined;
|
|
124
|
+
name?: string | undefined;
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
readonly events: {
|
|
127
|
+
readonly id: string;
|
|
128
|
+
start_at: string;
|
|
129
|
+
subject: string;
|
|
130
|
+
}[];
|
|
131
|
+
folder_id?: string | null | undefined;
|
|
132
|
+
readonly owned_by: {
|
|
133
|
+
readonly id: number;
|
|
134
|
+
readonly name: string;
|
|
135
|
+
email?: string | undefined;
|
|
136
|
+
};
|
|
137
|
+
readonly created_at: string;
|
|
138
|
+
readonly created_by: {
|
|
139
|
+
readonly id: number;
|
|
140
|
+
readonly name: string;
|
|
141
|
+
email?: string | undefined;
|
|
142
|
+
};
|
|
143
|
+
readonly modified_at: string;
|
|
144
|
+
readonly modified_by: {
|
|
145
|
+
readonly id: number;
|
|
146
|
+
readonly name: string;
|
|
147
|
+
email?: string | undefined;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
index: number;
|
|
151
|
+
}[]>;
|
|
152
|
+
resolvedFiles: Ref<{
|
|
153
|
+
id: string;
|
|
154
|
+
file_id: string;
|
|
155
|
+
type: "file";
|
|
156
|
+
component_id: string;
|
|
157
|
+
index: number;
|
|
158
|
+
file: {
|
|
159
|
+
readonly id: string;
|
|
160
|
+
readonly global_id: string;
|
|
161
|
+
name?: string | undefined;
|
|
162
|
+
readonly type: import('../../../../../../types/openapi').FileTypeEnum;
|
|
163
|
+
readonly size: number | null;
|
|
164
|
+
readonly status: import('../../../../../../types/openapi').FileStatusEnum;
|
|
165
|
+
readonly version: {
|
|
166
|
+
readonly id: string;
|
|
167
|
+
readonly comment: string;
|
|
168
|
+
readonly created_at: string;
|
|
169
|
+
};
|
|
170
|
+
readonly content_type: import('../../../../../../types/openapi').FileContentTypeEnum;
|
|
171
|
+
readonly content_extension: string | null;
|
|
172
|
+
readonly content_length: number | null;
|
|
173
|
+
readonly content_url: string | null;
|
|
174
|
+
readonly content_thumbnails: Array<string>;
|
|
175
|
+
readonly original_extension: string | null;
|
|
176
|
+
readonly original_url: string | null;
|
|
177
|
+
readonly thumbnail_url: string | null;
|
|
178
|
+
download_type?: import('../../../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
179
|
+
readonly zip_size: number | null;
|
|
180
|
+
readonly zip_url: string | null;
|
|
181
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
182
|
+
readonly role: import('../../../../../../types/openapi').CollaborationRoleEnum;
|
|
183
|
+
permissions?: {
|
|
184
|
+
can_download?: boolean | undefined;
|
|
185
|
+
can_share?: boolean | undefined;
|
|
186
|
+
can_be_divided?: boolean | undefined;
|
|
187
|
+
readonly can_print: boolean;
|
|
188
|
+
} | undefined;
|
|
189
|
+
readonly pspdfkit_server_url: string | null;
|
|
190
|
+
readonly pspdfkit_document_id: string | null;
|
|
191
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
192
|
+
metadata?: Record<string, any> | undefined;
|
|
193
|
+
app_metadata?: Record<string, any> | undefined;
|
|
194
|
+
tags?: Array<string> | undefined;
|
|
195
|
+
readonly published_at: string | null;
|
|
196
|
+
expires_at?: string | null | undefined;
|
|
197
|
+
available_at?: string | null | undefined;
|
|
198
|
+
readonly instance_id: string;
|
|
199
|
+
folder_id?: string | undefined;
|
|
200
|
+
readonly folder: {
|
|
201
|
+
readonly id: string;
|
|
202
|
+
name: string;
|
|
203
|
+
};
|
|
204
|
+
readonly shared_link: {
|
|
205
|
+
readonly url: string;
|
|
206
|
+
short_url?: string | null | undefined;
|
|
207
|
+
};
|
|
208
|
+
readonly owned_by: {
|
|
209
|
+
readonly id: number;
|
|
210
|
+
readonly name: string;
|
|
211
|
+
email?: string | undefined;
|
|
212
|
+
};
|
|
213
|
+
readonly created_at: string;
|
|
214
|
+
readonly created_by: {
|
|
215
|
+
readonly id: number;
|
|
216
|
+
readonly name: string;
|
|
217
|
+
email?: string | undefined;
|
|
218
|
+
};
|
|
219
|
+
readonly modified_at: string;
|
|
220
|
+
readonly modified_by: {
|
|
221
|
+
readonly id: number;
|
|
222
|
+
readonly name: string;
|
|
223
|
+
email?: string | undefined;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
section: undefined;
|
|
227
|
+
}[], DynamicContentFile[] | {
|
|
228
|
+
id: string;
|
|
229
|
+
file_id: string;
|
|
230
|
+
type: "file";
|
|
231
|
+
component_id: string;
|
|
232
|
+
index: number;
|
|
233
|
+
file: {
|
|
234
|
+
readonly id: string;
|
|
235
|
+
readonly global_id: string;
|
|
236
|
+
name?: string | undefined;
|
|
237
|
+
readonly type: import('../../../../../../types/openapi').FileTypeEnum;
|
|
238
|
+
readonly size: number | null;
|
|
239
|
+
readonly status: import('../../../../../../types/openapi').FileStatusEnum;
|
|
240
|
+
readonly version: {
|
|
241
|
+
readonly id: string;
|
|
242
|
+
readonly comment: string;
|
|
243
|
+
readonly created_at: string;
|
|
244
|
+
};
|
|
245
|
+
readonly content_type: import('../../../../../../types/openapi').FileContentTypeEnum;
|
|
246
|
+
readonly content_extension: string | null;
|
|
247
|
+
readonly content_length: number | null;
|
|
248
|
+
readonly content_url: string | null;
|
|
249
|
+
readonly content_thumbnails: Array<string>;
|
|
250
|
+
readonly original_extension: string | null;
|
|
251
|
+
readonly original_url: string | null;
|
|
252
|
+
readonly thumbnail_url: string | null;
|
|
253
|
+
download_type?: import('../../../../../../types/openapi').DownloadTypeEnum | undefined;
|
|
254
|
+
readonly zip_size: number | null;
|
|
255
|
+
readonly zip_url: string | null;
|
|
256
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
257
|
+
readonly role: import('../../../../../../types/openapi').CollaborationRoleEnum;
|
|
258
|
+
permissions?: {
|
|
259
|
+
can_download?: boolean | undefined;
|
|
260
|
+
can_share?: boolean | undefined;
|
|
261
|
+
can_be_divided?: boolean | undefined;
|
|
262
|
+
readonly can_print: boolean;
|
|
263
|
+
} | undefined;
|
|
264
|
+
readonly pspdfkit_server_url: string | null;
|
|
265
|
+
readonly pspdfkit_document_id: string | null;
|
|
266
|
+
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
267
|
+
metadata?: Record<string, any> | undefined;
|
|
268
|
+
app_metadata?: Record<string, any> | undefined;
|
|
269
|
+
tags?: Array<string> | undefined;
|
|
270
|
+
readonly published_at: string | null;
|
|
271
|
+
expires_at?: string | null | undefined;
|
|
272
|
+
available_at?: string | null | undefined;
|
|
273
|
+
readonly instance_id: string;
|
|
274
|
+
folder_id?: string | undefined;
|
|
275
|
+
readonly folder: {
|
|
276
|
+
readonly id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
};
|
|
279
|
+
readonly shared_link: {
|
|
280
|
+
readonly url: string;
|
|
281
|
+
short_url?: string | null | undefined;
|
|
282
|
+
};
|
|
283
|
+
readonly owned_by: {
|
|
284
|
+
readonly id: number;
|
|
285
|
+
readonly name: string;
|
|
286
|
+
email?: string | undefined;
|
|
287
|
+
};
|
|
288
|
+
readonly created_at: string;
|
|
289
|
+
readonly created_by: {
|
|
290
|
+
readonly id: number;
|
|
291
|
+
readonly name: string;
|
|
292
|
+
email?: string | undefined;
|
|
293
|
+
};
|
|
294
|
+
readonly modified_at: string;
|
|
295
|
+
readonly modified_by: {
|
|
296
|
+
readonly id: number;
|
|
297
|
+
readonly name: string;
|
|
298
|
+
email?: string | undefined;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
section: undefined;
|
|
302
|
+
}[]>;
|
|
303
|
+
isLoading: Ref<boolean, boolean>;
|
|
304
|
+
error: Ref<string | null, string | null>;
|
|
305
|
+
sectionContentCache: Ref<Map<string, {
|
|
306
|
+
readonly id: string;
|
|
307
|
+
name: string;
|
|
308
|
+
content?: Record<string, any> | undefined;
|
|
309
|
+
context?: any;
|
|
310
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
311
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
312
|
+
is_draft?: boolean | undefined;
|
|
313
|
+
is_template?: boolean | undefined;
|
|
314
|
+
is_section?: boolean | undefined;
|
|
315
|
+
is_block?: boolean | undefined;
|
|
316
|
+
is_editable?: boolean | undefined;
|
|
317
|
+
is_default?: boolean | undefined;
|
|
318
|
+
metadata?: any;
|
|
319
|
+
tags?: Array<string> | undefined;
|
|
320
|
+
start_at?: string | null | undefined;
|
|
321
|
+
expires_at?: string | null | undefined;
|
|
322
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
323
|
+
thumbnail_url?: string | null | undefined;
|
|
324
|
+
instance_id: string;
|
|
325
|
+
readonly template: {
|
|
326
|
+
readonly id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
};
|
|
329
|
+
readonly sections: {
|
|
330
|
+
readonly id: string;
|
|
331
|
+
name: string;
|
|
332
|
+
content: Record<string, any>;
|
|
333
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
334
|
+
metadata?: Record<string, any> | undefined;
|
|
335
|
+
is_draft: boolean;
|
|
336
|
+
}[];
|
|
337
|
+
readonly shared_link: {
|
|
338
|
+
readonly url: string;
|
|
339
|
+
short_url?: string | null | undefined;
|
|
340
|
+
};
|
|
341
|
+
account?: {
|
|
342
|
+
id?: string | undefined;
|
|
343
|
+
name?: string | undefined;
|
|
344
|
+
} | null | undefined;
|
|
345
|
+
readonly events: {
|
|
346
|
+
readonly id: string;
|
|
347
|
+
start_at: string;
|
|
348
|
+
subject: string;
|
|
349
|
+
}[];
|
|
350
|
+
folder_id?: string | null | undefined;
|
|
351
|
+
readonly owned_by: {
|
|
352
|
+
readonly id: number;
|
|
353
|
+
readonly name: string;
|
|
354
|
+
email?: string | undefined;
|
|
355
|
+
};
|
|
356
|
+
readonly created_at: string;
|
|
357
|
+
readonly created_by: {
|
|
358
|
+
readonly id: number;
|
|
359
|
+
readonly name: string;
|
|
360
|
+
email?: string | undefined;
|
|
361
|
+
};
|
|
362
|
+
readonly modified_at: string;
|
|
363
|
+
readonly modified_by: {
|
|
364
|
+
readonly id: number;
|
|
365
|
+
readonly name: string;
|
|
366
|
+
email?: string | undefined;
|
|
367
|
+
};
|
|
368
|
+
}> & Omit<Map<string, CanvasRetrieve>, keyof Map<any, any>>, Map<string, CanvasRetrieve> | (Map<string, {
|
|
369
|
+
readonly id: string;
|
|
370
|
+
name: string;
|
|
371
|
+
content?: Record<string, any> | undefined;
|
|
372
|
+
context?: any;
|
|
373
|
+
indicators?: (Record<string, any> | null) | undefined;
|
|
374
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
375
|
+
is_draft?: boolean | undefined;
|
|
376
|
+
is_template?: boolean | undefined;
|
|
377
|
+
is_section?: boolean | undefined;
|
|
378
|
+
is_block?: boolean | undefined;
|
|
379
|
+
is_editable?: boolean | undefined;
|
|
380
|
+
is_default?: boolean | undefined;
|
|
381
|
+
metadata?: any;
|
|
382
|
+
tags?: Array<string> | undefined;
|
|
383
|
+
start_at?: string | null | undefined;
|
|
384
|
+
expires_at?: string | null | undefined;
|
|
385
|
+
access_type?: import('../../../../../../types/openapi').AccessTypeEnum | undefined;
|
|
386
|
+
thumbnail_url?: string | null | undefined;
|
|
387
|
+
instance_id: string;
|
|
388
|
+
readonly template: {
|
|
389
|
+
readonly id: string;
|
|
390
|
+
name: string;
|
|
391
|
+
};
|
|
392
|
+
readonly sections: {
|
|
393
|
+
readonly id: string;
|
|
394
|
+
name: string;
|
|
395
|
+
content: Record<string, any>;
|
|
396
|
+
theme?: (Record<string, any> | null) | undefined;
|
|
397
|
+
metadata?: Record<string, any> | undefined;
|
|
398
|
+
is_draft: boolean;
|
|
399
|
+
}[];
|
|
400
|
+
readonly shared_link: {
|
|
401
|
+
readonly url: string;
|
|
402
|
+
short_url?: string | null | undefined;
|
|
403
|
+
};
|
|
404
|
+
account?: {
|
|
405
|
+
id?: string | undefined;
|
|
406
|
+
name?: string | undefined;
|
|
407
|
+
} | null | undefined;
|
|
408
|
+
readonly events: {
|
|
409
|
+
readonly id: string;
|
|
410
|
+
start_at: string;
|
|
411
|
+
subject: string;
|
|
412
|
+
}[];
|
|
413
|
+
folder_id?: string | null | undefined;
|
|
414
|
+
readonly owned_by: {
|
|
415
|
+
readonly id: number;
|
|
416
|
+
readonly name: string;
|
|
417
|
+
email?: string | undefined;
|
|
418
|
+
};
|
|
419
|
+
readonly created_at: string;
|
|
420
|
+
readonly created_by: {
|
|
421
|
+
readonly id: number;
|
|
422
|
+
readonly name: string;
|
|
423
|
+
email?: string | undefined;
|
|
424
|
+
};
|
|
425
|
+
readonly modified_at: string;
|
|
426
|
+
readonly modified_by: {
|
|
427
|
+
readonly id: number;
|
|
428
|
+
readonly name: string;
|
|
429
|
+
email?: string | undefined;
|
|
430
|
+
};
|
|
431
|
+
}> & Omit<Map<string, CanvasRetrieve>, keyof Map<any, any>>)>;
|
|
432
|
+
hasSectionCached: (sectionId: string) => boolean;
|
|
433
|
+
getCachedSection: (sectionId: string) => CanvasRetrieve | undefined;
|
|
434
|
+
fetchDynamicContent: (config: DynamicContentProps) => Promise<void>;
|
|
435
|
+
fetchSectionContent: (sectionId: string) => Promise<CanvasRetrieve | null>;
|
|
436
|
+
};
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
parentType?: ComponentTypes;
|
|
8
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
9
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
10
11
|
visible?: ComponentNode['visible'];
|
|
11
12
|
tracking_id?: string;
|
|
12
13
|
style?: Record<string, any>;
|
|
@@ -22,6 +23,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
23
|
is_editable: boolean;
|
|
23
24
|
is_removable: boolean;
|
|
24
25
|
};
|
|
26
|
+
template_permissions: {
|
|
27
|
+
is_editable: boolean;
|
|
28
|
+
is_removable: boolean;
|
|
29
|
+
};
|
|
25
30
|
usedInSectionId: CanvasRetrieve["id"];
|
|
26
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
32
|
export default _default;
|
|
@@ -5,6 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
id: string;
|
|
6
6
|
data: EmbeddableProps;
|
|
7
7
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
8
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
8
9
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
10
|
visible?: ComponentNode['visible'];
|
|
10
11
|
tracking_id?: string;
|
|
@@ -18,6 +19,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
18
19
|
is_editable: boolean;
|
|
19
20
|
is_removable: boolean;
|
|
20
21
|
};
|
|
22
|
+
template_permissions: {
|
|
23
|
+
is_editable: boolean;
|
|
24
|
+
is_removable: boolean;
|
|
25
|
+
};
|
|
21
26
|
usedInSectionId: CanvasRetrieve["id"];
|
|
22
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
28
|
export default _default;
|
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
children?: ComponentNode[];
|
|
7
7
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
8
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
9
10
|
visible?: ComponentNode['visible'];
|
|
10
11
|
print?: ComponentNode['print'];
|
|
11
12
|
tracking_id?: string;
|
|
@@ -24,6 +25,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
24
25
|
is_editable: boolean;
|
|
25
26
|
is_removable: boolean;
|
|
26
27
|
};
|
|
28
|
+
template_permissions: {
|
|
29
|
+
is_editable: boolean;
|
|
30
|
+
is_removable: boolean;
|
|
31
|
+
};
|
|
27
32
|
usedInSectionId: CanvasRetrieve["id"];
|
|
28
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
34
|
export default _default;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
id: string;
|
|
5
5
|
data?: HtmlProps;
|
|
6
6
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
7
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
visible?: ComponentNode['visible'];
|
|
9
10
|
tracking_id?: string;
|
|
@@ -14,6 +15,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
15
|
is_editable: boolean;
|
|
15
16
|
is_removable: boolean;
|
|
16
17
|
};
|
|
18
|
+
template_permissions: {
|
|
19
|
+
is_editable: boolean;
|
|
20
|
+
is_removable: boolean;
|
|
21
|
+
};
|
|
17
22
|
usedInSectionId: CanvasRetrieve["id"];
|
|
18
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
24
|
contentElement: HTMLDivElement;
|
|
@@ -5,6 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
id: ComponentNode['id'];
|
|
6
6
|
data: IFrameProps;
|
|
7
7
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
8
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
8
9
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
10
|
visible?: ComponentNode['visible'];
|
|
10
11
|
tracking_id?: string;
|
|
@@ -19,6 +20,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
19
20
|
is_editable: boolean;
|
|
20
21
|
is_removable: boolean;
|
|
21
22
|
};
|
|
23
|
+
template_permissions: {
|
|
24
|
+
is_editable: boolean;
|
|
25
|
+
is_removable: boolean;
|
|
26
|
+
};
|
|
22
27
|
usedInSectionId: CanvasRetrieve["id"];
|
|
23
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
29
|
export default _default;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
id: ComponentNode['id'];
|
|
5
5
|
data?: LinkProps;
|
|
6
6
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
7
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
visible?: ComponentNode['visible'];
|
|
9
10
|
tracking_id?: string;
|
|
@@ -14,6 +15,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
15
|
is_editable: boolean;
|
|
15
16
|
is_removable: boolean;
|
|
16
17
|
};
|
|
18
|
+
template_permissions: {
|
|
19
|
+
is_editable: boolean;
|
|
20
|
+
is_removable: boolean;
|
|
21
|
+
};
|
|
17
22
|
usedInSectionId: CanvasRetrieve["id"];
|
|
18
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
24
|
export default _default;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
id: ComponentNode['id'];
|
|
5
5
|
data: MultimediaProps;
|
|
6
6
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
7
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
visible?: ComponentNode['visible'];
|
|
9
10
|
parentType?: ComponentTypes;
|
|
@@ -19,6 +20,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
19
20
|
is_editable: boolean;
|
|
20
21
|
is_removable: boolean;
|
|
21
22
|
};
|
|
23
|
+
template_permissions: {
|
|
24
|
+
is_editable: boolean;
|
|
25
|
+
is_removable: boolean;
|
|
26
|
+
};
|
|
22
27
|
usedInSectionId: CanvasRetrieve["id"];
|
|
23
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
29
|
export default _default;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
id: string;
|
|
5
5
|
data?: PageProps;
|
|
6
6
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
7
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
visible?: ComponentNode['visible'];
|
|
9
10
|
tracking_id?: string;
|
|
@@ -24,6 +25,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
24
25
|
is_editable: boolean;
|
|
25
26
|
is_removable: boolean;
|
|
26
27
|
};
|
|
28
|
+
template_permissions: {
|
|
29
|
+
is_editable: boolean;
|
|
30
|
+
is_removable: boolean;
|
|
31
|
+
};
|
|
27
32
|
usedInSectionId: CanvasRetrieve["id"];
|
|
28
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { ComponentNode, PageBreakProps } from '../../../types/canvas';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
id: ComponentNode['id'];
|
|
4
5
|
data: PageBreakProps;
|
|
5
6
|
visible?: ComponentNode['visible'];
|
|
6
7
|
tracking_id?: string;
|
|
8
|
+
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
10
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
7
11
|
};
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
when_used_in_section: {
|
|
14
|
+
is_editable: boolean;
|
|
15
|
+
is_removable: boolean;
|
|
16
|
+
};
|
|
17
|
+
template_permissions: {
|
|
18
|
+
is_editable: boolean;
|
|
19
|
+
is_removable: boolean;
|
|
20
|
+
};
|
|
21
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
23
|
export default _default;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
children?: ComponentNode[];
|
|
8
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
9
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
10
11
|
visible?: ComponentNode['visible'];
|
|
11
12
|
tracking_id?: string;
|
|
12
13
|
style?: CSSProperties;
|
|
@@ -22,6 +23,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
23
|
is_editable: boolean;
|
|
23
24
|
is_removable: boolean;
|
|
24
25
|
};
|
|
26
|
+
template_permissions: {
|
|
27
|
+
is_editable: boolean;
|
|
28
|
+
is_removable: boolean;
|
|
29
|
+
};
|
|
25
30
|
usedInSectionId: CanvasRetrieve["id"];
|
|
26
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
32
|
scribbleRef: HTMLDivElement;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
children?: ComponentNode[];
|
|
8
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
9
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
template_permissions?: ComponentNode['template_permissions'];
|
|
10
11
|
visible?: ComponentNode['visible'];
|
|
11
12
|
tracking_id?: string;
|
|
12
13
|
style?: CSSProperties;
|
|
@@ -22,6 +23,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
23
|
is_editable: boolean;
|
|
23
24
|
is_removable: boolean;
|
|
24
25
|
};
|
|
26
|
+
template_permissions: {
|
|
27
|
+
is_editable: boolean;
|
|
28
|
+
is_removable: boolean;
|
|
29
|
+
};
|
|
25
30
|
usedInSectionId: CanvasRetrieve["id"];
|
|
26
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
32
|
scribbleRef: HTMLDivElement;
|
|
@@ -5,16 +5,18 @@ export type Emit = {
|
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
zIndex?: number;
|
|
7
7
|
attachTo?: string | HTMLElement;
|
|
8
|
-
section: CanvasRetrieve['sections'][number];
|
|
8
|
+
section: CanvasRetrieve['sections'][number] | CanvasRetrieve;
|
|
9
9
|
index: number;
|
|
10
10
|
saveCanvas: () => Promise<void>;
|
|
11
|
+
/** When true, treats the modal as read-only preview: no unsaved-changes UX, reverts overrides on close */
|
|
12
|
+
previewMode?: boolean;
|
|
11
13
|
};
|
|
12
14
|
declare function __VLS_template(): {
|
|
13
15
|
attrs: Partial<{}>;
|
|
14
16
|
slots: {
|
|
15
17
|
default?(_: {
|
|
16
18
|
index: number;
|
|
17
|
-
section: import('../../../../../../types/openapi').CanvasSection;
|
|
19
|
+
section: import('../../../../../../types/openapi').CanvasSection | CanvasRetrieve;
|
|
18
20
|
}): any;
|
|
19
21
|
};
|
|
20
22
|
refs: {
|