@pitcher/js-api 1.23.0 → 1.24.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/js-api.esm.js +17 -0
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/App.vue.d.ts +9 -0
- package/lib/apps/agenda-selector/components/AgendaGroup.vue.d.ts +7 -0
- package/lib/apps/agenda-selector/components/AgendaItem.vue.d.ts +29 -0
- package/lib/apps/agenda-selector/components/AgendaToolbar.vue.d.ts +2 -0
- package/lib/apps/agenda-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/modals/MoveItemModal.vue.d.ts +15 -0
- package/lib/apps/agenda-selector/composables/application-block-selector-modal.use.d.ts +17 -0
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +128 -0
- package/lib/apps/agenda-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/agenda-selector/stores/app.store.d.ts +32 -0
- package/lib/apps/agenda-selector/types/agenda.type.d.ts +28 -0
- package/lib/apps/agenda-selector/types/common.type.d.ts +8 -0
- package/lib/apps/agenda-selector/types/move-item-modal.type.d.ts +5 -0
- package/lib/apps/agenda-selector/utils/data.util.d.ts +14 -0
- package/lib/apps/agenda-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/browser/App.vue.d.ts +3 -1
- package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +28 -6
- package/lib/apps/browser/stores/upload.d.ts +12 -12
- package/lib/apps/canvas-builder/App.vue.d.ts +56 -32
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +10 -10
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.helpers.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.types.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/{CollectionPlayer/CollectionSelector.vue.d.ts → Block/BlockToolbar.vue.d.ts} +6 -11
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +4 -3
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/{CollectionPlayer.edit.vue.d.ts → CollectionPlayerEmpty.vue.d.ts} +5 -5
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +4 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +34 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +519 -439
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +117 -94
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +104 -86
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +38 -0
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollectionSelector.d.ts +9 -0
- package/lib/apps/canvas-builder/composables/useComponentStyle.d.ts +22 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +5 -14
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +28 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -2
- package/lib/apps/canvas-builder/types/canvas.d.ts +22 -31
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -5
- package/lib/apps/canvas-builder/util/url.d.ts +1 -0
- package/lib/apps/canvas-selector/stores/app.d.ts +28 -0
- package/lib/apps/collection-player/App.vue.d.ts +33 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppHeader.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppWrapper.vue.d.ts +17 -0
- package/lib/apps/collection-player/components/MainContent.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/components/MainImage.vue.d.ts +3 -3
- package/lib/apps/collection-player/components/TableOfContents.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/focus-trap.use.d.ts +9 -0
- package/lib/apps/collection-player/composables/fullscreen.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts → collection-player/composables/moving-group-gestures.use.d.ts} +6 -3
- package/lib/apps/collection-player/composables/slide-direction.use.d.ts +11 -0
- package/lib/apps/collection-player/composables/tracking.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/zoom.use.d.ts +2 -2
- package/lib/apps/collection-player/export.d.ts +3 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +77 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +26 -0
- package/lib/apps/collection-player/utils/node.util.d.ts +4 -0
- package/lib/apps/collection-player/utils/slide-type.util.d.ts +5 -0
- package/lib/apps/collection-selector/App.vue.d.ts +29 -0
- package/lib/apps/collection-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/collection-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/collection-selector/components/CollectionGroup.vue.d.ts +7 -0
- package/lib/apps/collection-selector/components/CollectionItem.vue.d.ts +21 -0
- package/lib/apps/collection-selector/components/CollectionToolbar.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts → collection-selector/components/modals/MoveSlideModal.vue.d.ts} +7 -13
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +106 -0
- package/lib/apps/collection-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/collection-selector/stores/app.store.d.ts +156 -0
- package/lib/apps/collection-selector/types/collection-selector.type.d.ts +12 -0
- package/lib/apps/collection-selector/types/common.type.d.ts +18 -0
- package/lib/apps/collection-selector/types/move-slide-modal.type.d.ts +5 -0
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +41 -0
- package/lib/apps/collection-selector/utils/data.util.d.ts +23 -0
- package/lib/apps/collection-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/content-selector/appTypes.d.ts +7 -29
- package/lib/apps/content-selector/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +6 -3
- package/lib/apps/content-selector/stores/api.d.ts +252 -0
- package/lib/apps/content-selector/stores/app.d.ts +42 -7
- package/lib/components/CBackgroundImageThemeOptions/CBackgroundImageThemeOptions.vue.d.ts +42 -0
- package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +3 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -2
- package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +55 -15
- package/lib/components/CDataTable/CDataTableEdit.use.d.ts +1 -1
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +5 -1
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -2
- package/lib/components/CIcon/CIcon.vue.d.ts +1 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +9 -3
- package/lib/components/CSearch/CSearchOnClick.vue.d.ts +15 -1
- package/lib/components/CSearchFilters/CSearchFilters.types.d.ts +5 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +22 -1
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +9 -3
- package/lib/components/CTable/CTable.vue.d.ts +2 -2
- package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +2 -2
- package/lib/components/CTableTag/CTableTag.vue.d.ts +1 -1
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -6
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -54
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +26 -35
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +32 -43
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +25 -33
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +11 -6
- package/lib/components/sections/CSectionManagement.vue.d.ts +6 -6
- package/lib/composables/useConfirmation.d.ts +1 -0
- package/lib/composables/useToast.d.ts +6 -5
- package/lib/constants/appsDb.const.d.ts +2 -0
- package/lib/main.lib.d.ts +10 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +20 -1
- package/lib/sdk/api/modules/ui/content.ui.d.ts +31 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +29 -2
- package/lib/sdk/interfaces.d.ts +6 -0
- package/lib/sdk/main.d.ts +6 -0
- package/lib/types/app.d.ts +1 -1
- package/lib/types/background.d.ts +5 -0
- package/lib/types/common.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +3 -1
- package/lib/types/organizationSettings.types.d.ts +1 -1
- package/lib/types/selections.d.ts +19 -0
- package/lib/util/eval.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +2 -0
- package/types/openapi/models/Canvas.d.ts +2 -0
- package/types/openapi/models/CanvasCreate.d.ts +2 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +4 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -0
- package/types/openapi/models/DeletedCanvas.d.ts +2 -0
- package/types/openapi/models/DeletedFavorite.d.ts +2 -2
- package/types/openapi/models/DeletedFile.d.ts +4 -0
- package/types/openapi/models/Favorite.d.ts +2 -2
- package/types/openapi/models/FavoriteCreate.d.ts +2 -2
- package/types/openapi/models/FavoriteFolder.d.ts +6 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/FavoriteUpdate.d.ts +2 -2
- package/types/openapi/models/File.d.ts +4 -0
- package/types/openapi/models/FileCreate.d.ts +4 -0
- package/types/openapi/models/FileRetrieve.d.ts +4 -0
- package/types/openapi/models/FileUpdate.d.ts +4 -0
- package/types/openapi/models/SearchCanvas.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +0 -37
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +0 -19
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +0 -4
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +0 -5
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +0 -31
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/arrow-keys.use.d.ts +0 -0
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/image-cache.use.d.ts +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CanvasBuilderMode, ComponentNode } from './types/canvas';
|
|
2
2
|
import { AppFile } from '../../types/app';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
declare const _default: import('vue').DefineComponent<({
|
|
4
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
4
5
|
openOnStart?: {
|
|
5
6
|
component?: string;
|
|
6
7
|
section?: string;
|
|
@@ -43,9 +44,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
43
44
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
44
45
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
45
46
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
47
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
48
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
46
49
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
47
50
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
48
|
-
renderPageAsImageUrl
|
|
51
|
+
renderPageAsImageUrl: (payload: {
|
|
49
52
|
fileId: import('../../main.lib').File["id"];
|
|
50
53
|
documentId?: import('../../main.lib').File["id"];
|
|
51
54
|
pageIndex: number;
|
|
@@ -63,16 +66,14 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
63
66
|
isCRM: boolean;
|
|
64
67
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
65
68
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
66
|
-
} & {
|
|
67
|
-
isCRM: false;
|
|
68
|
-
onSfdcAccountSearch?: never;
|
|
69
|
-
} & {
|
|
69
|
+
} & import('./types/canvas').CRMBuilderProps & {
|
|
70
70
|
isRedirectEvent?: never;
|
|
71
71
|
mode: CanvasBuilderMode.ADMIN;
|
|
72
72
|
inCall?: never;
|
|
73
73
|
myUserId?: never;
|
|
74
74
|
listRecommendedFiles?: never;
|
|
75
75
|
}) | ({
|
|
76
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
76
77
|
openOnStart?: {
|
|
77
78
|
component?: string;
|
|
78
79
|
section?: string;
|
|
@@ -115,9 +116,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
115
116
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
116
117
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
117
118
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
119
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
120
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
118
121
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
119
122
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
120
|
-
renderPageAsImageUrl
|
|
123
|
+
renderPageAsImageUrl: (payload: {
|
|
121
124
|
fileId: import('../../main.lib').File["id"];
|
|
122
125
|
documentId?: import('../../main.lib').File["id"];
|
|
123
126
|
pageIndex: number;
|
|
@@ -135,13 +138,17 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
135
138
|
isCRM: boolean;
|
|
136
139
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
137
140
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
138
|
-
} &
|
|
141
|
+
} & {
|
|
142
|
+
isCRM: false;
|
|
143
|
+
onSfdcAccountSearch?: never;
|
|
144
|
+
} & {
|
|
139
145
|
isRedirectEvent?: never;
|
|
140
146
|
mode: CanvasBuilderMode.ADMIN;
|
|
141
147
|
inCall?: never;
|
|
142
148
|
myUserId?: never;
|
|
143
149
|
listRecommendedFiles?: never;
|
|
144
150
|
}) | ({
|
|
151
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
145
152
|
openOnStart?: {
|
|
146
153
|
component?: string;
|
|
147
154
|
section?: string;
|
|
@@ -184,9 +191,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
184
191
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
185
192
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
186
193
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
194
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
195
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
187
196
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
188
197
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
189
|
-
renderPageAsImageUrl
|
|
198
|
+
renderPageAsImageUrl: (payload: {
|
|
190
199
|
fileId: import('../../main.lib').File["id"];
|
|
191
200
|
documentId?: import('../../main.lib').File["id"];
|
|
192
201
|
pageIndex: number;
|
|
@@ -204,10 +213,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
204
213
|
isCRM: boolean;
|
|
205
214
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
206
215
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
207
|
-
} & {
|
|
208
|
-
isCRM: false;
|
|
209
|
-
onSfdcAccountSearch?: never;
|
|
210
|
-
} & {
|
|
216
|
+
} & import('./types/canvas').CRMBuilderProps & {
|
|
211
217
|
isRedirectEvent?: boolean;
|
|
212
218
|
mode: CanvasBuilderMode.IMPACT;
|
|
213
219
|
inCall?: boolean;
|
|
@@ -218,6 +224,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
218
224
|
matchingStrategy: ("tags" | "metadata")[];
|
|
219
225
|
}) => Promise<import('../../main.lib').File[]>;
|
|
220
226
|
}) | ({
|
|
227
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
221
228
|
openOnStart?: {
|
|
222
229
|
component?: string;
|
|
223
230
|
section?: string;
|
|
@@ -260,9 +267,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
260
267
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
261
268
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
262
269
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
270
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
271
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
263
272
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
264
273
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
265
|
-
renderPageAsImageUrl
|
|
274
|
+
renderPageAsImageUrl: (payload: {
|
|
266
275
|
fileId: import('../../main.lib').File["id"];
|
|
267
276
|
documentId?: import('../../main.lib').File["id"];
|
|
268
277
|
pageIndex: number;
|
|
@@ -280,7 +289,10 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
280
289
|
isCRM: boolean;
|
|
281
290
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
282
291
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
283
|
-
} &
|
|
292
|
+
} & {
|
|
293
|
+
isCRM: false;
|
|
294
|
+
onSfdcAccountSearch?: never;
|
|
295
|
+
} & {
|
|
284
296
|
isRedirectEvent?: boolean;
|
|
285
297
|
mode: CanvasBuilderMode.IMPACT;
|
|
286
298
|
inCall?: boolean;
|
|
@@ -290,7 +302,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
290
302
|
sectionId: import('../../main.lib').CanvasRetrieve["id"];
|
|
291
303
|
matchingStrategy: ("tags" | "metadata")[];
|
|
292
304
|
}) => Promise<import('../../main.lib').File[]>;
|
|
293
|
-
}), {
|
|
305
|
+
}) | import('./types/canvas').SharingBuilderProps, {
|
|
294
306
|
hooks: {
|
|
295
307
|
onCanvasUpdated: ({ hookIframes, activeCanvas, }: {
|
|
296
308
|
hookIframes?: Record<string, HTMLIFrameElement>;
|
|
@@ -317,7 +329,8 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
317
329
|
toggleNotes: () => any;
|
|
318
330
|
toggleFullscreen: (isFullscreen: boolean) => any;
|
|
319
331
|
activeNavigationItemChange: () => any;
|
|
320
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
332
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
333
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
321
334
|
openOnStart?: {
|
|
322
335
|
component?: string;
|
|
323
336
|
section?: string;
|
|
@@ -360,9 +373,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
360
373
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
361
374
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
362
375
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
376
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
377
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
363
378
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
364
379
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
365
|
-
renderPageAsImageUrl
|
|
380
|
+
renderPageAsImageUrl: (payload: {
|
|
366
381
|
fileId: import('../../main.lib').File["id"];
|
|
367
382
|
documentId?: import('../../main.lib').File["id"];
|
|
368
383
|
pageIndex: number;
|
|
@@ -380,16 +395,14 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
380
395
|
isCRM: boolean;
|
|
381
396
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
382
397
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
383
|
-
} & {
|
|
384
|
-
isCRM: false;
|
|
385
|
-
onSfdcAccountSearch?: never;
|
|
386
|
-
} & {
|
|
398
|
+
} & import('./types/canvas').CRMBuilderProps & {
|
|
387
399
|
isRedirectEvent?: never;
|
|
388
400
|
mode: CanvasBuilderMode.ADMIN;
|
|
389
401
|
inCall?: never;
|
|
390
402
|
myUserId?: never;
|
|
391
403
|
listRecommendedFiles?: never;
|
|
392
404
|
}) | ({
|
|
405
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
393
406
|
openOnStart?: {
|
|
394
407
|
component?: string;
|
|
395
408
|
section?: string;
|
|
@@ -432,9 +445,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
432
445
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
433
446
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
434
447
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
448
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
449
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
435
450
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
436
451
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
437
|
-
renderPageAsImageUrl
|
|
452
|
+
renderPageAsImageUrl: (payload: {
|
|
438
453
|
fileId: import('../../main.lib').File["id"];
|
|
439
454
|
documentId?: import('../../main.lib').File["id"];
|
|
440
455
|
pageIndex: number;
|
|
@@ -452,13 +467,17 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
452
467
|
isCRM: boolean;
|
|
453
468
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
454
469
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
455
|
-
} &
|
|
470
|
+
} & {
|
|
471
|
+
isCRM: false;
|
|
472
|
+
onSfdcAccountSearch?: never;
|
|
473
|
+
} & {
|
|
456
474
|
isRedirectEvent?: never;
|
|
457
475
|
mode: CanvasBuilderMode.ADMIN;
|
|
458
476
|
inCall?: never;
|
|
459
477
|
myUserId?: never;
|
|
460
478
|
listRecommendedFiles?: never;
|
|
461
479
|
}) | ({
|
|
480
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
462
481
|
openOnStart?: {
|
|
463
482
|
component?: string;
|
|
464
483
|
section?: string;
|
|
@@ -501,9 +520,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
501
520
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
502
521
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
503
522
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
523
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
524
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
504
525
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
505
526
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
506
|
-
renderPageAsImageUrl
|
|
527
|
+
renderPageAsImageUrl: (payload: {
|
|
507
528
|
fileId: import('../../main.lib').File["id"];
|
|
508
529
|
documentId?: import('../../main.lib').File["id"];
|
|
509
530
|
pageIndex: number;
|
|
@@ -521,10 +542,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
521
542
|
isCRM: boolean;
|
|
522
543
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
523
544
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
524
|
-
} & {
|
|
525
|
-
isCRM: false;
|
|
526
|
-
onSfdcAccountSearch?: never;
|
|
527
|
-
} & {
|
|
545
|
+
} & import('./types/canvas').CRMBuilderProps & {
|
|
528
546
|
isRedirectEvent?: boolean;
|
|
529
547
|
mode: CanvasBuilderMode.IMPACT;
|
|
530
548
|
inCall?: boolean;
|
|
@@ -535,6 +553,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
535
553
|
matchingStrategy: ("tags" | "metadata")[];
|
|
536
554
|
}) => Promise<import('../../main.lib').File[]>;
|
|
537
555
|
}) | ({
|
|
556
|
+
selectCollectionPlayerContent: (payload?: import('../../main.lib').UiSelectCollectionPlayerRequest) => Promise<import('../../main.lib').UiSelectCollectionPlayerResponse>;
|
|
538
557
|
openOnStart?: {
|
|
539
558
|
component?: string;
|
|
540
559
|
section?: string;
|
|
@@ -577,9 +596,11 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
577
596
|
listCanvases: (params?: any) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').CanvasRetrieve>>;
|
|
578
597
|
fetchFolder: (folderId: import('../../main.lib').Folder["id"] | undefined) => Promise<import('../../main.lib').FolderRetrieve>;
|
|
579
598
|
fetchFile: (fileId: import('../../main.lib').FileRetrieve["id"]) => Promise<import('../../main.lib').FileRetrieve>;
|
|
599
|
+
fetchFavorites: (payload?: import('../../main.lib').GetFavoritesParams) => Promise<import('../../main.lib').PaginatedData<import('../../main.lib').Favorite>>;
|
|
600
|
+
fetchRecentFiles: () => Promise<import('../../types/recentFiles.types').RecentFile[]>;
|
|
580
601
|
fetchCanvas: (canvasId: import('../../main.lib').CanvasRetrieve["id"], params?: Record<string, any>) => Promise<import('../../main.lib').CanvasRetrieve>;
|
|
581
602
|
fetchInstanceMetadataTemplate: () => Promise<import('../../main.lib').MetadataTemplate>;
|
|
582
|
-
renderPageAsImageUrl
|
|
603
|
+
renderPageAsImageUrl: (payload: {
|
|
583
604
|
fileId: import('../../main.lib').File["id"];
|
|
584
605
|
documentId?: import('../../main.lib').File["id"];
|
|
585
606
|
pageIndex: number;
|
|
@@ -597,7 +618,10 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
597
618
|
isCRM: boolean;
|
|
598
619
|
onDownloadFile?: (file: import('../../main.lib').File | import('./types/canvas').ContentGridFileProps | import('./types/canvas').ContentGridCommonFileProps) => Promise<void>;
|
|
599
620
|
onDownloadCanvas?: (canvas: import('../../main.lib').CanvasRetrieve) => Promise<void>;
|
|
600
|
-
} &
|
|
621
|
+
} & {
|
|
622
|
+
isCRM: false;
|
|
623
|
+
onSfdcAccountSearch?: never;
|
|
624
|
+
} & {
|
|
601
625
|
isRedirectEvent?: boolean;
|
|
602
626
|
mode: CanvasBuilderMode.IMPACT;
|
|
603
627
|
inCall?: boolean;
|
|
@@ -607,7 +631,7 @@ declare const _default: import('vue').DefineComponent<import('./types/canvas').S
|
|
|
607
631
|
sectionId: import('../../main.lib').CanvasRetrieve["id"];
|
|
608
632
|
matchingStrategy: ("tags" | "metadata")[];
|
|
609
633
|
}) => Promise<import('../../main.lib').File[]>;
|
|
610
|
-
})> & Readonly<{
|
|
634
|
+
}) | import('./types/canvas').SharingBuilderProps> & Readonly<{
|
|
611
635
|
onToggleNotes?: (() => any) | undefined;
|
|
612
636
|
onToggleFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
613
637
|
onActiveNavigationItemChange?: (() => any) | undefined;
|
package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { DropdownOption } from 'naive-ui';
|
|
|
2
2
|
import { CSSProperties } from 'vue';
|
|
3
3
|
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
4
|
import { ComponentNode } from '../../../types/canvas';
|
|
5
|
+
import { ResizeHandlePosition } from './ResizeHandles.vue';
|
|
5
6
|
declare function __VLS_template(): {
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
@@ -20,6 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
20
21
|
settings?: boolean;
|
|
21
22
|
stylable?: boolean;
|
|
22
23
|
collapsible?: boolean;
|
|
24
|
+
showOnlyTopToolbar?: boolean;
|
|
23
25
|
immovable?: boolean;
|
|
24
26
|
excludeStylables?: ThemeComponentOptionEnum[];
|
|
25
27
|
add?: boolean;
|
|
@@ -33,6 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
33
35
|
duplicateIcon?: string;
|
|
34
36
|
settingsIcon?: string;
|
|
35
37
|
removeIcon?: string;
|
|
38
|
+
resizable?: boolean;
|
|
39
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
40
|
+
resizeMaintainAspectRatio?: boolean;
|
|
36
41
|
variants?: {
|
|
37
42
|
title: string;
|
|
38
43
|
options: DropdownOption[];
|
|
@@ -61,6 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
61
66
|
settings?: boolean;
|
|
62
67
|
stylable?: boolean;
|
|
63
68
|
collapsible?: boolean;
|
|
69
|
+
showOnlyTopToolbar?: boolean;
|
|
64
70
|
immovable?: boolean;
|
|
65
71
|
excludeStylables?: ThemeComponentOptionEnum[];
|
|
66
72
|
add?: boolean;
|
|
@@ -74,6 +80,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
74
80
|
duplicateIcon?: string;
|
|
75
81
|
settingsIcon?: string;
|
|
76
82
|
removeIcon?: string;
|
|
83
|
+
resizable?: boolean;
|
|
84
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
85
|
+
resizeMaintainAspectRatio?: boolean;
|
|
77
86
|
variants?: {
|
|
78
87
|
title: string;
|
|
79
88
|
options: DropdownOption[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentNode } from '../../../types/canvas';
|
|
2
1
|
import { ThemeComponentOptionEnum, ThemePadding } from '../../../composables/useCanvasTheme';
|
|
3
|
-
import {
|
|
2
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
3
|
+
import { DropdownOption, PopoverPlacement } from 'naive-ui';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
selected: boolean;
|
|
6
|
-
placement:
|
|
6
|
+
placement: PopoverPlacement;
|
|
7
7
|
show: boolean;
|
|
8
8
|
draggable: boolean;
|
|
9
9
|
add: boolean;
|
|
@@ -40,18 +40,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
40
40
|
duplicate: () => any;
|
|
41
41
|
edit: () => any;
|
|
42
42
|
discard: () => any;
|
|
43
|
+
"bg-property-change": (property: string, value: any) => any;
|
|
43
44
|
"variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
|
|
44
|
-
|
|
45
|
+
startDrag: () => any;
|
|
46
|
+
toggleThemeOptions: () => any;
|
|
45
47
|
updatePadding: (padding: ThemePadding) => any;
|
|
46
48
|
updateMarginBottom: (value: number) => any;
|
|
47
49
|
resetSpacing: () => any;
|
|
48
|
-
startDrag: () => any;
|
|
49
|
-
toggleThemeOptions: () => any;
|
|
50
50
|
toggleInspectNode: () => any;
|
|
51
51
|
toggleCollapse: () => any;
|
|
52
52
|
}, string, import('vue').PublicProps, Readonly<{
|
|
53
53
|
selected: boolean;
|
|
54
|
-
placement:
|
|
54
|
+
placement: PopoverPlacement;
|
|
55
55
|
show: boolean;
|
|
56
56
|
draggable: boolean;
|
|
57
57
|
add: boolean;
|
|
@@ -88,13 +88,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
88
88
|
onDuplicate?: (() => any) | undefined;
|
|
89
89
|
onEdit?: (() => any) | undefined;
|
|
90
90
|
onDiscard?: (() => any) | undefined;
|
|
91
|
+
"onBg-property-change"?: ((property: string, value: any) => any) | undefined;
|
|
91
92
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
92
|
-
|
|
93
|
+
onStartDrag?: (() => any) | undefined;
|
|
94
|
+
onToggleThemeOptions?: (() => any) | undefined;
|
|
93
95
|
onUpdatePadding?: ((padding: ThemePadding) => any) | undefined;
|
|
94
96
|
onUpdateMarginBottom?: ((value: number) => any) | undefined;
|
|
95
97
|
onResetSpacing?: (() => any) | undefined;
|
|
96
|
-
onStartDrag?: (() => any) | undefined;
|
|
97
|
-
onToggleThemeOptions?: (() => any) | undefined;
|
|
98
98
|
onToggleInspectNode?: (() => any) | undefined;
|
|
99
99
|
onToggleCollapse?: (() => any) | undefined;
|
|
100
100
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { DropdownOption } from 'naive-ui';
|
|
3
|
+
import { ResizeHandlePosition } from './ResizeHandles.vue';
|
|
3
4
|
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
5
|
import { ComponentNode } from '../../../types/canvas';
|
|
5
6
|
declare function __VLS_template(): {
|
|
@@ -32,6 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
32
33
|
duplicateIcon?: string;
|
|
33
34
|
settingsIcon?: string;
|
|
34
35
|
removeIcon?: string;
|
|
36
|
+
resizable?: boolean;
|
|
37
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
38
|
+
resizeMaintainAspectRatio?: boolean;
|
|
35
39
|
variants?: {
|
|
36
40
|
title: string;
|
|
37
41
|
options: DropdownOption[];
|
|
@@ -73,6 +77,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
73
77
|
duplicateIcon?: string;
|
|
74
78
|
settingsIcon?: string;
|
|
75
79
|
removeIcon?: string;
|
|
80
|
+
resizable?: boolean;
|
|
81
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
82
|
+
resizeMaintainAspectRatio?: boolean;
|
|
76
83
|
variants?: {
|
|
77
84
|
title: string;
|
|
78
85
|
options: DropdownOption[];
|
|
@@ -93,7 +100,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
93
100
|
onDiscard?: (() => any) | undefined;
|
|
94
101
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
95
102
|
}>, {
|
|
103
|
+
resizable: boolean;
|
|
96
104
|
collapsible: boolean;
|
|
105
|
+
resizeMaintainAspectRatio: boolean;
|
|
97
106
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
98
107
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
99
108
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { DropdownOption } from 'naive-ui';
|
|
3
|
+
import { ResizeHandlePosition } from './ResizeHandles.vue';
|
|
3
4
|
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
5
|
import { ComponentNode } from '../../../types/canvas';
|
|
5
6
|
declare function __VLS_template(): {
|
|
@@ -35,11 +36,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
35
36
|
duplicateIcon?: string;
|
|
36
37
|
settingsIcon?: string;
|
|
37
38
|
removeIcon?: string;
|
|
39
|
+
resizable?: boolean;
|
|
40
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
41
|
+
resizeMaintainAspectRatio?: boolean;
|
|
38
42
|
variants?: {
|
|
39
43
|
title: string;
|
|
40
44
|
options: DropdownOption[];
|
|
41
45
|
selected?: DropdownOption["key"];
|
|
42
46
|
};
|
|
47
|
+
showOnlyTopToolbar?: boolean;
|
|
43
48
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
49
|
add: () => any;
|
|
45
50
|
remove: () => any;
|
|
@@ -76,11 +81,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
76
81
|
duplicateIcon?: string;
|
|
77
82
|
settingsIcon?: string;
|
|
78
83
|
removeIcon?: string;
|
|
84
|
+
resizable?: boolean;
|
|
85
|
+
resizeHandles?: ResizeHandlePosition[];
|
|
86
|
+
resizeMaintainAspectRatio?: boolean;
|
|
79
87
|
variants?: {
|
|
80
88
|
title: string;
|
|
81
89
|
options: DropdownOption[];
|
|
82
90
|
selected?: DropdownOption["key"];
|
|
83
91
|
};
|
|
92
|
+
showOnlyTopToolbar?: boolean;
|
|
84
93
|
}> & Readonly<{
|
|
85
94
|
onAdd?: (() => any) | undefined;
|
|
86
95
|
onRemove?: (() => any) | undefined;
|
|
@@ -96,7 +105,11 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
96
105
|
onDiscard?: (() => any) | undefined;
|
|
97
106
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
98
107
|
}>, {
|
|
108
|
+
resizable: boolean;
|
|
99
109
|
collapsible: boolean;
|
|
110
|
+
resizeHandles: ResizeHandlePosition[];
|
|
111
|
+
resizeMaintainAspectRatio: boolean;
|
|
112
|
+
showOnlyTopToolbar: boolean;
|
|
100
113
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
101
114
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
115
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
export type ResizeHandlePosition = 'top-left' | 'top-right' | 'center-left' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
3
|
+
export interface ResizeHandle {
|
|
4
|
+
position: ResizeHandlePosition;
|
|
5
|
+
cursor: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
8
|
+
modelValue: CSSProperties;
|
|
9
|
+
handles?: ResizeHandlePosition[];
|
|
10
|
+
maintainAspectRatio?: boolean;
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: Record<string, any>) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
14
|
+
modelValue: CSSProperties;
|
|
15
|
+
handles?: ResizeHandlePosition[];
|
|
16
|
+
maintainAspectRatio?: boolean;
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
handles: ResizeHandlePosition[];
|
|
21
|
+
maintainAspectRatio: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
4
|
+
export type BlockContext = ComputedRef<{
|
|
5
|
+
usedInBlockId?: CanvasRetrieve['id'];
|
|
6
|
+
overrideBlockComponentData?: (blockComponentId: ComponentNode['id'], data: Record<ComponentNode['id'], any>) => void;
|
|
7
|
+
}>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import { CollectionPlayerProps } from '../../../types/canvas';
|
|
2
1
|
declare const _default: import('vue').DefineComponent<{
|
|
3
|
-
|
|
4
|
-
data: CollectionPlayerProps;
|
|
5
|
-
nodeId: string;
|
|
2
|
+
isSaving: boolean;
|
|
6
3
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
remove: () => any;
|
|
5
|
+
save: () => any;
|
|
9
6
|
}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
-
|
|
11
|
-
data: CollectionPlayerProps;
|
|
12
|
-
nodeId: string;
|
|
7
|
+
isSaving: boolean;
|
|
13
8
|
}> & Readonly<{
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
onRemove?: (() => any) | undefined;
|
|
10
|
+
onSave?: (() => any) | undefined;
|
|
16
11
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
12
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
-
import { ComponentNode
|
|
2
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
3
|
+
import { CollectionPlayer } from '../../../../collection-player/types/collection-player.type';
|
|
3
4
|
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
id: ComponentNode["id"];
|
|
5
|
-
data:
|
|
6
|
+
data: CollectionPlayer;
|
|
6
7
|
when_used_in_section?: ComponentNode["when_used_in_section"];
|
|
7
8
|
usedInSectionId?: CanvasRetrieve["id"];
|
|
8
9
|
visible?: ComponentNode["visible"];
|
|
@@ -12,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
13
|
style: (s: Record<string, any>) => any;
|
|
13
14
|
}, string, import('vue').PublicProps, Readonly<{
|
|
14
15
|
id: ComponentNode["id"];
|
|
15
|
-
data:
|
|
16
|
+
data: CollectionPlayer;
|
|
16
17
|
when_used_in_section?: ComponentNode["when_used_in_section"];
|
|
17
18
|
usedInSectionId?: CanvasRetrieve["id"];
|
|
18
19
|
visible?: ComponentNode["visible"];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CollectionPlayer } from '../../../../collection-player/types/collection-player.type';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
|
-
data?:
|
|
3
|
+
data?: CollectionPlayer;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
-
|
|
5
|
+
selectCollectionContent: () => any;
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
-
data?:
|
|
7
|
+
data?: CollectionPlayer;
|
|
8
8
|
}> & Readonly<{
|
|
9
|
-
|
|
9
|
+
onSelectCollectionContent?: (() => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { MultimediaProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, MultimediaProps } from '../../../types/canvas';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
id: ComponentNode["id"];
|
|
4
5
|
data: MultimediaProps;
|
|
5
6
|
lazy: boolean;
|
|
6
7
|
style?: CSSProperties;
|
|
7
8
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
id: ComponentNode["id"];
|
|
8
10
|
data: MultimediaProps;
|
|
9
11
|
lazy: boolean;
|
|
10
12
|
style?: CSSProperties;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
2
1
|
import { MultimediaProps, ComponentNode } from '../../../types/canvas';
|
|
3
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
3
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -8,9 +7,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
7
|
usedInSectionId?: CanvasRetrieve["id"];
|
|
9
8
|
visible?: ComponentNode["visible"];
|
|
10
9
|
tracking_id?: string;
|
|
11
|
-
style?:
|
|
10
|
+
style?: Record<string, any>;
|
|
12
11
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
style: (s:
|
|
12
|
+
style: (s: Record<string, any>) => any;
|
|
14
13
|
}, string, import('vue').PublicProps, Readonly<{
|
|
15
14
|
id: ComponentNode["id"];
|
|
16
15
|
data: MultimediaProps;
|
|
@@ -18,9 +17,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
17
|
usedInSectionId?: CanvasRetrieve["id"];
|
|
19
18
|
visible?: ComponentNode["visible"];
|
|
20
19
|
tracking_id?: string;
|
|
21
|
-
style?:
|
|
20
|
+
style?: Record<string, any>;
|
|
22
21
|
}> & Readonly<{
|
|
23
|
-
onStyle?: ((s:
|
|
22
|
+
onStyle?: ((s: Record<string, any>) => any) | undefined;
|
|
24
23
|
}>, {
|
|
25
24
|
when_used_in_section: {
|
|
26
25
|
is_editable: boolean;
|