@pitcher/js-api 1.25.0-beta.1 → 1.25.0-beta.3
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 +7 -1
- package/js-api.esm.js +42 -7
- 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/apps/browser/App.vue.d.ts +12 -9
- package/lib/apps/browser/appTypes.d.ts +2 -2
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +195 -132
- package/lib/apps/browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts +96 -0
- package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +17 -0
- package/lib/apps/browser/components/FileSmartFolders.vue.d.ts +209 -0
- package/lib/apps/browser/stores/api.d.ts +27 -13
- package/lib/apps/browser/stores/app.d.ts +9 -4
- package/lib/apps/browser/stores/upload.d.ts +4 -4
- package/lib/apps/browser/stores/upload.types.d.ts +0 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +356 -11
- package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +1230 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +22 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridList.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +9 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -6
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +12 -6
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +111 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +206 -31
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +46 -6
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +44 -6
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvasNodes.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +120 -3
- package/lib/apps/canvas-builder/composables/useCanvasThemeAssets.d.ts +23 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +4 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useDataTablePrint.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -2
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +2 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +45 -11
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +1 -0
- package/lib/apps/canvas-builder/util/print.util.d.ts +1 -1
- package/lib/apps/canvas-builder/util/tiptap-table.util.d.ts +20 -0
- package/lib/apps/canvas-selector/App.vue.d.ts +3 -1
- package/lib/apps/canvas-selector/appTypes.d.ts +1 -0
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +56 -1
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +15 -0
- package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -1
- package/lib/apps/collection-player/composables/annotation-layer.use.d.ts +13 -0
- package/lib/apps/collection-player/composables/laser-pointer-marker.use.d.ts +166 -0
- package/lib/apps/collection-player/composables/markerjs.use.d.ts +8 -0
- package/lib/apps/collection-player/composables/new-zoom.use.d.ts +12 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -1
- package/lib/apps/collection-selector/App.vue.d.ts +33 -0
- package/lib/apps/content-selector/appTypes.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +195 -132
- package/lib/apps/content-selector/components/MultimediaSelectorApp.vue.d.ts +12 -0
- package/lib/apps/content-selector/components/ThemeImages.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +4 -0
- package/lib/apps/content-selector/composables/useMultimediaSelectorApps.d.ts +21 -0
- package/lib/apps/content-selector/composables/useStore.d.ts +4 -0
- package/lib/apps/content-selector/stores/api.d.ts +19 -228
- package/lib/apps/content-selector/stores/app.d.ts +45 -66
- package/lib/canvas-comments/components/CommentButton.vue.d.ts +6 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +21 -0
- package/lib/canvas-comments/components/SimpleComments.vue.d.ts +14 -0
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +1 -1
- package/lib/components/CButton/CButton.vue.d.ts +3 -3
- package/lib/components/CCreateThemeModal/steps/CThemeAssetsStep.vue.d.ts +19 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +2258 -2
- package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +1 -1
- package/lib/components/CFileViewer/CFileViewer.types.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +10 -0
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +3 -0
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +3 -0
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +69 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +2 -0
- package/lib/components/CInput/CInput.vue.d.ts +3 -3
- package/lib/components/CList/CList.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +4 -4
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +4512 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +90 -1
- package/lib/components/CSwitch/CSwitch.vue.d.ts +4 -1
- package/lib/components/CTable/CTable.vue.d.ts +7 -1
- package/lib/components/CTableTag/CTableTag.vue.d.ts +4687 -0
- package/lib/components/CTags/CTags.vue.d.ts +3 -3
- package/lib/components/CThemePreview/CThemePreview.vue.d.ts +1 -1
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +43 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -9
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +14 -2
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +590 -266
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +195 -132
- package/lib/components/canvases/CanvasesManagementToolbarFilters.use.d.ts +1 -1
- package/lib/components/filters/CCheckboxFilter.vue.d.ts +1 -1
- package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
- package/lib/components/filters/CSelectFilter.vue.d.ts +3 -3
- package/lib/components/savedCanvases/CCanvasAccountModal.vue.d.ts +23 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +36 -5
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +20 -2
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +7 -1
- package/lib/components/sections/CSectionManagement.vue.d.ts +14 -2
- package/lib/components/themes/CThemeManagement.vue.d.ts +14 -2
- package/lib/composables/useCanvasLocks.d.ts +3 -4
- package/lib/composables/useCommentTracking.d.ts +25 -0
- package/lib/composables/useCommentsStorage.d.ts +70 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +2 -0
- package/lib/composables/useInstalledApps.d.ts +1 -0
- package/lib/composables/useMetadataFilters.d.ts +2 -2
- package/lib/composables/useMetadataSearch.d.ts +2 -1
- package/lib/composables/useSharedCommentsStorage.d.ts +32 -0
- package/lib/constants/cdp.const.d.ts +6 -0
- package/lib/constants/roles.const.d.ts +16 -0
- package/lib/main.lib.d.ts +5 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -0
- package/lib/sdk/api/modules/admin/app-errors.admin.d.ts +17 -0
- package/lib/sdk/api/modules/admin/index.d.ts +2 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +10 -0
- package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
- package/lib/sdk/api/modules/folders.d.ts +8 -1
- package/lib/sdk/api/modules/query.d.ts +2 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +1 -0
- package/lib/sdk/main.d.ts +10 -0
- package/lib/sdk/payload.types.d.ts +24 -0
- package/lib/sdk/utils/window.d.ts +3 -1
- package/lib/types/app.d.ts +12 -1
- package/lib/types/call.d.ts +0 -1
- package/lib/types/canvasTheme.d.ts +12 -0
- package/lib/types/core/MetadataFilter.d.ts +1 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +19 -0
- package/lib/util/image.d.ts +4 -0
- package/lib/util/style.util.d.ts +1 -0
- package/lib/util/userAgents.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/models/App.d.ts +1 -0
- package/types/openapi/models/CanvasCreate.d.ts +1 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +2 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +1 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +2 -0
- package/types/openapi/models/File.d.ts +2 -0
- package/types/openapi/models/FileCreate.d.ts +2 -0
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileRetrieve.d.ts +2 -0
- package/types/openapi/models/FileUpdate.d.ts +2 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +2 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
|
@@ -7,9 +7,9 @@ type __VLS_Props = {
|
|
|
7
7
|
preview?: boolean;
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
height: number | string;
|
|
10
11
|
iconSize: number;
|
|
11
12
|
width: number | string;
|
|
12
|
-
height: number | string;
|
|
13
13
|
preview: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -4,3 +4,11 @@ export type AnnotationType = 'text' | 'drawing' | 'freeformHighlight' | 'textHig
|
|
|
4
4
|
export interface FileModel extends FileRetrieve {
|
|
5
5
|
isDeleted: boolean;
|
|
6
6
|
}
|
|
7
|
+
export interface ShareboxItem {
|
|
8
|
+
id?: string;
|
|
9
|
+
fileId: FileRetrieve['id'];
|
|
10
|
+
name: FileRetrieve['name'];
|
|
11
|
+
type: 'file' | 'page';
|
|
12
|
+
pageIndex?: number;
|
|
13
|
+
thumbnailUrl?: string;
|
|
14
|
+
}
|
|
@@ -59,6 +59,7 @@ declare function __VLS_template(): {
|
|
|
59
59
|
isFullscreen: boolean;
|
|
60
60
|
clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
61
61
|
isOverlay?: boolean;
|
|
62
|
+
isAnnotationVisibilityEnabled: boolean;
|
|
62
63
|
}> & Readonly<{
|
|
63
64
|
onClick?: (() => any) | undefined;
|
|
64
65
|
onExitFullscreen?: (() => any) | undefined;
|
|
@@ -72,6 +73,7 @@ declare function __VLS_template(): {
|
|
|
72
73
|
onToggleLinkAnnotation?: (() => any) | undefined;
|
|
73
74
|
onToggleAnnotations?: (() => any) | undefined;
|
|
74
75
|
onSelectAnnotation?: ((a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any) | undefined;
|
|
76
|
+
onToggleAnnotationVisibility?: (() => any) | undefined;
|
|
75
77
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
78
|
click: () => any;
|
|
77
79
|
exitFullscreen: () => any;
|
|
@@ -85,6 +87,7 @@ declare function __VLS_template(): {
|
|
|
85
87
|
toggleLinkAnnotation: () => any;
|
|
86
88
|
toggleAnnotations: () => any;
|
|
87
89
|
selectAnnotation: (a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any;
|
|
90
|
+
toggleAnnotationVisibility: () => any;
|
|
88
91
|
}, import('vue').PublicProps, {
|
|
89
92
|
page: number;
|
|
90
93
|
isOverlay: boolean;
|
|
@@ -110,6 +113,7 @@ declare function __VLS_template(): {
|
|
|
110
113
|
isFullscreen: boolean;
|
|
111
114
|
clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
112
115
|
isOverlay?: boolean;
|
|
116
|
+
isAnnotationVisibilityEnabled: boolean;
|
|
113
117
|
}> & Readonly<{
|
|
114
118
|
onClick?: (() => any) | undefined;
|
|
115
119
|
onExitFullscreen?: (() => any) | undefined;
|
|
@@ -123,6 +127,7 @@ declare function __VLS_template(): {
|
|
|
123
127
|
onToggleLinkAnnotation?: (() => any) | undefined;
|
|
124
128
|
onToggleAnnotations?: (() => any) | undefined;
|
|
125
129
|
onSelectAnnotation?: ((a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any) | undefined;
|
|
130
|
+
onToggleAnnotationVisibility?: (() => any) | undefined;
|
|
126
131
|
}>, {}, {}, {}, {}, {
|
|
127
132
|
page: number;
|
|
128
133
|
isOverlay: boolean;
|
|
@@ -250,6 +255,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
250
255
|
isFullscreen: boolean;
|
|
251
256
|
clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
252
257
|
isOverlay?: boolean;
|
|
258
|
+
isAnnotationVisibilityEnabled: boolean;
|
|
253
259
|
}> & Readonly<{
|
|
254
260
|
onClick?: (() => any) | undefined;
|
|
255
261
|
onExitFullscreen?: (() => any) | undefined;
|
|
@@ -263,6 +269,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
263
269
|
onToggleLinkAnnotation?: (() => any) | undefined;
|
|
264
270
|
onToggleAnnotations?: (() => any) | undefined;
|
|
265
271
|
onSelectAnnotation?: ((a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any) | undefined;
|
|
272
|
+
onToggleAnnotationVisibility?: (() => any) | undefined;
|
|
266
273
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
267
274
|
click: () => any;
|
|
268
275
|
exitFullscreen: () => any;
|
|
@@ -276,6 +283,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
276
283
|
toggleLinkAnnotation: () => any;
|
|
277
284
|
toggleAnnotations: () => any;
|
|
278
285
|
selectAnnotation: (a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any;
|
|
286
|
+
toggleAnnotationVisibility: () => any;
|
|
279
287
|
}, import('vue').PublicProps, {
|
|
280
288
|
page: number;
|
|
281
289
|
isOverlay: boolean;
|
|
@@ -301,6 +309,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
301
309
|
isFullscreen: boolean;
|
|
302
310
|
clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
303
311
|
isOverlay?: boolean;
|
|
312
|
+
isAnnotationVisibilityEnabled: boolean;
|
|
304
313
|
}> & Readonly<{
|
|
305
314
|
onClick?: (() => any) | undefined;
|
|
306
315
|
onExitFullscreen?: (() => any) | undefined;
|
|
@@ -314,6 +323,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
314
323
|
onToggleLinkAnnotation?: (() => any) | undefined;
|
|
315
324
|
onToggleAnnotations?: (() => any) | undefined;
|
|
316
325
|
onSelectAnnotation?: ((a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any) | undefined;
|
|
326
|
+
onToggleAnnotationVisibility?: (() => any) | undefined;
|
|
317
327
|
}>, {}, {}, {}, {}, {
|
|
318
328
|
page: number;
|
|
319
329
|
isOverlay: boolean;
|
|
@@ -3,6 +3,7 @@ import { PitcherFile } from '../../types/file.types';
|
|
|
3
3
|
import { RecentFile } from '../../types/recentFiles.types';
|
|
4
4
|
import { File } from '../../../types/openapi';
|
|
5
5
|
import { CLIENT_TYPE } from '../../constants/cdp.const';
|
|
6
|
+
import { ShareboxItem } from './CFileViewer.types';
|
|
6
7
|
interface Props {
|
|
7
8
|
file: PitcherFile | null;
|
|
8
9
|
isPublishing: boolean;
|
|
@@ -24,6 +25,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
24
25
|
closeFile: () => any;
|
|
25
26
|
downloadFile: () => any;
|
|
26
27
|
publishFile: () => any;
|
|
28
|
+
addToSharebox: (args_0: ShareboxItem) => any;
|
|
27
29
|
toggleFavoriteFile: () => any;
|
|
28
30
|
toggleNotes: () => any;
|
|
29
31
|
showRecentFiles: (args_0: string[]) => any;
|
|
@@ -39,6 +41,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
39
41
|
onCloseFile?: (() => any) | undefined;
|
|
40
42
|
onDownloadFile?: (() => any) | undefined;
|
|
41
43
|
onPublishFile?: (() => any) | undefined;
|
|
44
|
+
onAddToSharebox?: ((args_0: ShareboxItem) => any) | undefined;
|
|
42
45
|
onToggleFavoriteFile?: (() => any) | undefined;
|
|
43
46
|
onToggleNotes?: (() => any) | undefined;
|
|
44
47
|
onShowRecentFiles?: ((args_0: string[]) => any) | undefined;
|
|
@@ -18,6 +18,7 @@ type Props = {
|
|
|
18
18
|
isFullscreen: boolean;
|
|
19
19
|
clientType?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
20
20
|
isOverlay?: boolean;
|
|
21
|
+
isAnnotationVisibilityEnabled: boolean;
|
|
21
22
|
};
|
|
22
23
|
export interface AnnotationOption extends SelectBaseOption {
|
|
23
24
|
label: string;
|
|
@@ -37,6 +38,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
37
38
|
toggleLinkAnnotation: () => any;
|
|
38
39
|
toggleAnnotations: () => any;
|
|
39
40
|
selectAnnotation: (a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any;
|
|
41
|
+
toggleAnnotationVisibility: () => any;
|
|
40
42
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
41
43
|
onClick?: (() => any) | undefined;
|
|
42
44
|
onExitFullscreen?: (() => any) | undefined;
|
|
@@ -50,6 +52,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
50
52
|
onToggleLinkAnnotation?: (() => any) | undefined;
|
|
51
53
|
onToggleAnnotations?: (() => any) | undefined;
|
|
52
54
|
onSelectAnnotation?: ((a: "link" | "drawing" | "freeformHighlight" | "textHighlight" | "eraser") => any) | undefined;
|
|
55
|
+
onToggleAnnotationVisibility?: (() => any) | undefined;
|
|
53
56
|
}>, {
|
|
54
57
|
page: number;
|
|
55
58
|
isOverlay: boolean;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export type CopyOption = 'all' | 'unedited' | 'range' | null;
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
pageCount: number;
|
|
5
|
+
option?: CopyOption;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
copy: (option: "range" | "all" | "unedited", range?: number[] | undefined) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onCopy?: ((option: "range" | "all" | "unedited", range?: number[] | undefined) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
option: CopyOption;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
popoverTriggerButtonRef: ({
|
|
15
|
+
$: import('vue').ComponentInternalInstance;
|
|
16
|
+
$data: {};
|
|
17
|
+
$props: {
|
|
18
|
+
readonly iconPlacement?: "left" | "right" | undefined;
|
|
19
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
20
|
+
$attrs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$refs: {
|
|
24
|
+
[x: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
$slots: Readonly<{
|
|
27
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
30
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
31
|
+
$host: Element | null;
|
|
32
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
33
|
+
$el: any;
|
|
34
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
35
|
+
iconPlacement?: "left" | "right";
|
|
36
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
37
|
+
iconPlacement: "left" | "right";
|
|
38
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
39
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
40
|
+
created?: (() => void) | (() => void)[];
|
|
41
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
42
|
+
mounted?: (() => void) | (() => void)[];
|
|
43
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
44
|
+
updated?: (() => void) | (() => void)[];
|
|
45
|
+
activated?: (() => void) | (() => void)[];
|
|
46
|
+
deactivated?: (() => void) | (() => void)[];
|
|
47
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
48
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
49
|
+
destroyed?: (() => void) | (() => void)[];
|
|
50
|
+
unmounted?: (() => void) | (() => void)[];
|
|
51
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
52
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
53
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
54
|
+
};
|
|
55
|
+
$forceUpdate: () => void;
|
|
56
|
+
$nextTick: typeof import('vue').nextTick;
|
|
57
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
58
|
+
} & Readonly<{
|
|
59
|
+
iconPlacement: "left" | "right";
|
|
60
|
+
}> & Omit<Readonly<{
|
|
61
|
+
iconPlacement?: "left" | "right";
|
|
62
|
+
}> & Readonly<{}>, "iconPlacement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
63
|
+
$slots: {
|
|
64
|
+
icon?(_: {}): any;
|
|
65
|
+
default?(_: {}): any;
|
|
66
|
+
};
|
|
67
|
+
}) | null;
|
|
68
|
+
}, HTMLDivElement>;
|
|
69
|
+
export default _default;
|
|
@@ -8,6 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
text?: string;
|
|
9
9
|
tooltip?: string;
|
|
10
10
|
variation?: 'extended' | 'compact' | 'minimal';
|
|
11
|
+
fitContent?: boolean;
|
|
11
12
|
};
|
|
12
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
14
|
text: string;
|
|
@@ -17,5 +18,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
18
|
tooltip: string;
|
|
18
19
|
backgroundColor: string;
|
|
19
20
|
variation: "extended" | "compact" | "minimal";
|
|
21
|
+
fitContent: boolean;
|
|
20
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
23
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputProps } from 'naive-ui';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CInputProps, {
|
|
3
3
|
focus: () => void;
|
|
4
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
5
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
6
6
|
bordered: {
|
|
7
7
|
type: import('vue').PropType<boolean | undefined>;
|
|
@@ -1036,7 +1036,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pr
|
|
|
1036
1036
|
}> | null;
|
|
1037
1037
|
}, any>, Readonly<Record<string, any>> & Record<string, any>>;
|
|
1038
1038
|
export default _default;
|
|
1039
|
-
interface
|
|
1039
|
+
export interface CInputProps extends /* @vue-ignore */ InputProps {
|
|
1040
1040
|
}
|
|
1041
1041
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1042
1042
|
new (): {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ComponentTypes } from '../../apps/canvas-builder/types/canvas';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
id: string;
|
|
4
4
|
modelValue: string;
|
|
5
5
|
parentType?: ComponentTypes;
|
|
6
6
|
showMenu: boolean;
|
|
7
7
|
allowEdit?: boolean;
|
|
8
8
|
style: Record<string, any>;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import('vue').DefineComponent<
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
11
|
setContent: (content?: string) => void;
|
|
12
12
|
blur: () => void;
|
|
13
13
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
18
18
|
blur: () => any;
|
|
19
19
|
focus: () => any;
|
|
20
20
|
"update:model-value": (content: string) => any;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
onOpenFile?: ((payload: {
|
|
23
23
|
fileId: string;
|
|
24
24
|
pageIndex?: number;
|