@pitcher/js-api 1.26.0-beta.9 → 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 +6 -0
- package/js-api.esm.js +775 -48
- 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 +63 -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 +361 -13
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +60 -0
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +60 -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 +24 -0
- 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 +24 -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/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 +77 -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/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 +6 -4
- package/lib/sdk/api/modules/index.d.ts +0 -1
- package/lib/sdk/api/modules/query.d.ts +120 -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 +27 -12
- package/lib/sdk/payload.types.d.ts +116 -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 +1 -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/CanvasRecommendedFile.d.ts +1 -0
- package/types/openapi/models/DeletedFile.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/FolderFile.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 +1 -0
- package/lib/api/events/events.queries.d.ts +0 -9
- package/lib/sdk/api/modules/events.d.ts +0 -6
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MiniCanvas } from '../../../types/openapi';
|
|
2
2
|
import { SfAccountMini, SfEvent, SfUser } from '../../types/sfdc';
|
|
3
3
|
import { ComputedRef } from 'vue';
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function extractFieldNamesFromCondition(condition: string): string[];
|
|
5
|
+
export declare function evaluateIsExecutedCondition(condition: string | undefined, event: any): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Evaluates is_executed_condition for PascalCase event objects.
|
|
8
|
+
* This function handles events where field names have been converted to PascalCase
|
|
9
|
+
* (e.g., Status_vod__c -> StatusVodC) but the condition still uses snake_case field names.
|
|
10
|
+
*
|
|
11
|
+
* @param condition - The condition string (e.g., "Status_vod__c = 'Submitted_vod'")
|
|
12
|
+
* @param event - The event object with PascalCase properties (e.g., { StatusVodC: "Submitted_vod" })
|
|
13
|
+
* @returns true if the event is executed/submitted, false otherwise
|
|
14
|
+
*/
|
|
15
|
+
export declare function evaluateIsExecutedForPascalCaseEvent(condition: string | undefined, event: any): boolean;
|
|
16
|
+
export declare function getEventColor(sfEvent: SfEvent): string;
|
|
5
17
|
export declare const minFutureDate: (date?: Date) => Date;
|
|
6
18
|
export declare const minPastDate: (date?: Date) => Date;
|
|
7
19
|
export declare const setDateTime: (date: number | Date) => number;
|
|
@@ -29,12 +29,15 @@ export declare function provideMoveItemModal(): {
|
|
|
29
29
|
permissions?: {
|
|
30
30
|
can_download?: boolean | undefined;
|
|
31
31
|
can_share?: boolean | undefined;
|
|
32
|
+
can_be_divided?: boolean | undefined;
|
|
33
|
+
readonly can_print: boolean;
|
|
32
34
|
} | undefined;
|
|
33
35
|
readonly content_url: string | null;
|
|
34
36
|
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
35
37
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
36
38
|
readonly pspdfkit_document_id: string | null;
|
|
37
39
|
readonly pspdfkit_server_url: string | null;
|
|
40
|
+
expires_at?: string | null | undefined;
|
|
38
41
|
};
|
|
39
42
|
slide: {
|
|
40
43
|
index: number;
|
|
@@ -53,12 +56,15 @@ export declare function provideMoveItemModal(): {
|
|
|
53
56
|
permissions?: {
|
|
54
57
|
can_download?: boolean | undefined;
|
|
55
58
|
can_share?: boolean | undefined;
|
|
59
|
+
can_be_divided?: boolean | undefined;
|
|
60
|
+
readonly can_print: boolean;
|
|
56
61
|
} | undefined;
|
|
57
62
|
readonly content_url: string | null;
|
|
58
63
|
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
59
64
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
60
65
|
readonly pspdfkit_document_id: string | null;
|
|
61
66
|
readonly pspdfkit_server_url: string | null;
|
|
67
|
+
expires_at?: string | null | undefined;
|
|
62
68
|
};
|
|
63
69
|
})[];
|
|
64
70
|
}[];
|
|
@@ -90,12 +96,15 @@ export declare function provideMoveItemModal(): {
|
|
|
90
96
|
permissions?: {
|
|
91
97
|
can_download?: boolean | undefined;
|
|
92
98
|
can_share?: boolean | undefined;
|
|
99
|
+
can_be_divided?: boolean | undefined;
|
|
100
|
+
readonly can_print: boolean;
|
|
93
101
|
} | undefined;
|
|
94
102
|
readonly content_url: string | null;
|
|
95
103
|
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
96
104
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
97
105
|
readonly pspdfkit_document_id: string | null;
|
|
98
106
|
readonly pspdfkit_server_url: string | null;
|
|
107
|
+
expires_at?: string | null | undefined;
|
|
99
108
|
};
|
|
100
109
|
slide: {
|
|
101
110
|
index: number;
|
|
@@ -114,12 +123,15 @@ export declare function provideMoveItemModal(): {
|
|
|
114
123
|
permissions?: {
|
|
115
124
|
can_download?: boolean | undefined;
|
|
116
125
|
can_share?: boolean | undefined;
|
|
126
|
+
can_be_divided?: boolean | undefined;
|
|
127
|
+
readonly can_print: boolean;
|
|
117
128
|
} | undefined;
|
|
118
129
|
readonly content_url: string | null;
|
|
119
130
|
readonly content_type: import('../../../main.lib').FileContentTypeEnum;
|
|
120
131
|
readonly pspdfkit_auth_payload: Record<string, any> | null;
|
|
121
132
|
readonly pspdfkit_document_id: string | null;
|
|
122
133
|
readonly pspdfkit_server_url: string | null;
|
|
134
|
+
expires_at?: string | null | undefined;
|
|
123
135
|
};
|
|
124
136
|
})[];
|
|
125
137
|
}[];
|
|
@@ -9,6 +9,9 @@ declare function __VLS_template(): {
|
|
|
9
9
|
'single-file-details'?(_: {}): any;
|
|
10
10
|
'single-file-details'?(_: {}): any;
|
|
11
11
|
'single-file-details'?(_: {}): any;
|
|
12
|
+
'single-file-details'?(_: {}): any;
|
|
13
|
+
'single-folder-details'?(_: {}): any;
|
|
14
|
+
'single-folder-details'?(_: {}): any;
|
|
12
15
|
};
|
|
13
16
|
refs: {
|
|
14
17
|
app: HTMLDivElement;
|
|
@@ -24,6 +27,112 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
|
24
27
|
selectedSection: import('vue').Ref<BrowserSectionType, BrowserSectionType>;
|
|
25
28
|
isUploadQueueBusy: ComputedRef<boolean>;
|
|
26
29
|
currentFolderId: import('vue').Ref<string, string>;
|
|
30
|
+
selectedFolderId: ComputedRef<string | null>;
|
|
31
|
+
selectedFolder: ComputedRef<{
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly name: string;
|
|
34
|
+
readonly content_type: string;
|
|
35
|
+
readonly access_type?: import('../../../types/openapi').AccessTypeEnum | undefined;
|
|
36
|
+
readonly rules?: readonly {
|
|
37
|
+
readonly field: string;
|
|
38
|
+
readonly operator: import('../../../types/openapi').OperatorEnum;
|
|
39
|
+
readonly value: string;
|
|
40
|
+
}[] | undefined;
|
|
41
|
+
readonly owned_by: {
|
|
42
|
+
readonly id: number;
|
|
43
|
+
readonly name: string;
|
|
44
|
+
readonly email?: string | undefined;
|
|
45
|
+
};
|
|
46
|
+
readonly file_thumbnail_urls: readonly string[];
|
|
47
|
+
readonly thumbnail_url: string | null;
|
|
48
|
+
readonly path: readonly {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly name: string;
|
|
51
|
+
readonly thumbnail_url: string | null;
|
|
52
|
+
readonly folders_count: number;
|
|
53
|
+
readonly files_count: number;
|
|
54
|
+
readonly available_files_count: number;
|
|
55
|
+
readonly available_folders_count: number;
|
|
56
|
+
readonly file_thumbnail_urls: readonly string[];
|
|
57
|
+
readonly canvases_count: number;
|
|
58
|
+
readonly canvas_thumbnail_urls: readonly string[];
|
|
59
|
+
}[];
|
|
60
|
+
readonly parent_folder_id: string | null;
|
|
61
|
+
readonly folders: readonly {
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly name: string;
|
|
64
|
+
readonly thumbnail_url: string | null;
|
|
65
|
+
readonly folders_count: number;
|
|
66
|
+
readonly files_count: number;
|
|
67
|
+
readonly available_files_count: number;
|
|
68
|
+
readonly available_folders_count: number;
|
|
69
|
+
readonly file_thumbnail_urls: readonly string[];
|
|
70
|
+
readonly canvases_count: number;
|
|
71
|
+
readonly canvas_thumbnail_urls: readonly string[];
|
|
72
|
+
}[];
|
|
73
|
+
readonly files: readonly {
|
|
74
|
+
readonly id: string;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly status: import('../../../types/openapi').FileStatusEnum;
|
|
77
|
+
readonly content_type: import('../../../types/openapi').FileContentTypeEnum;
|
|
78
|
+
readonly access_type?: import('../../../types/openapi').AccessTypeEnum | undefined;
|
|
79
|
+
readonly thumbnail_url: string;
|
|
80
|
+
readonly original_url: string | null;
|
|
81
|
+
readonly original_extension: string | null;
|
|
82
|
+
readonly tags: readonly string[];
|
|
83
|
+
readonly permissions?: {
|
|
84
|
+
readonly can_download?: boolean | undefined;
|
|
85
|
+
readonly can_share?: boolean | undefined;
|
|
86
|
+
readonly can_be_divided?: boolean | undefined;
|
|
87
|
+
readonly can_print: boolean;
|
|
88
|
+
} | undefined;
|
|
89
|
+
readonly metadata: {
|
|
90
|
+
readonly [x: string]: any;
|
|
91
|
+
};
|
|
92
|
+
readonly created_by: {
|
|
93
|
+
readonly id: number;
|
|
94
|
+
readonly name: string;
|
|
95
|
+
readonly email?: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly owned_by: {
|
|
98
|
+
readonly id: number;
|
|
99
|
+
readonly name: string;
|
|
100
|
+
readonly email?: string | undefined;
|
|
101
|
+
};
|
|
102
|
+
readonly modified_at: string;
|
|
103
|
+
readonly expires_at: string | null;
|
|
104
|
+
readonly available_at: string | null;
|
|
105
|
+
}[];
|
|
106
|
+
readonly canvases: readonly {
|
|
107
|
+
readonly id: string;
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly thumbnail_url?: string | null | undefined;
|
|
110
|
+
readonly tags: readonly string[];
|
|
111
|
+
readonly created_by: {
|
|
112
|
+
readonly id: number;
|
|
113
|
+
readonly name: string;
|
|
114
|
+
readonly email?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
readonly owned_by: {
|
|
117
|
+
readonly id: number;
|
|
118
|
+
readonly name: string;
|
|
119
|
+
readonly email?: string | undefined;
|
|
120
|
+
};
|
|
121
|
+
readonly modified_at: string;
|
|
122
|
+
}[];
|
|
123
|
+
readonly created_at: string;
|
|
124
|
+
readonly created_by: {
|
|
125
|
+
readonly id: number;
|
|
126
|
+
readonly name: string;
|
|
127
|
+
readonly email?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
readonly modified_at: string;
|
|
130
|
+
readonly modified_by: {
|
|
131
|
+
readonly id: number;
|
|
132
|
+
readonly name: string;
|
|
133
|
+
readonly email?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
} | null>;
|
|
27
136
|
setCurrentFolder: (folderId?: FolderRetrieve["id"], folderName?: FolderRetrieve["name"], folderPath?: FolderRetrieve["path"]) => void;
|
|
28
137
|
folderItemsFetcher: import('vue').Ref<import('./stores/api').FolderItemsFetcher | null, import('./stores/api').FolderItemsFetcher | null>;
|
|
29
138
|
recentFilesFetcher: import('vue').Ref<import('./stores/api').RecentFilesFetcher | null, import('./stores/api').RecentFilesFetcher | null>;
|
|
@@ -44,6 +153,10 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
|
44
153
|
}) => any;
|
|
45
154
|
viewFileDetails: (id: string) => any;
|
|
46
155
|
generateKeypoints: (id: string) => any;
|
|
156
|
+
promoteFile: (id: string) => any;
|
|
157
|
+
promoteFolder: (id: string) => any;
|
|
158
|
+
convertToSlides: (id: string) => any;
|
|
159
|
+
bulkPromoteFiles: (ids: string[]) => any;
|
|
47
160
|
}, string, import('vue').PublicProps, Readonly<BrowserAppProps> & Readonly<{
|
|
48
161
|
onAddToSharebox?: ((fileShareboxItem: {
|
|
49
162
|
fileId: FileRetrieve["id"];
|
|
@@ -59,6 +172,10 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
|
|
|
59
172
|
}) => any) | undefined;
|
|
60
173
|
onViewFileDetails?: ((id: string) => any) | undefined;
|
|
61
174
|
onGenerateKeypoints?: ((id: string) => any) | undefined;
|
|
175
|
+
onPromoteFile?: ((id: string) => any) | undefined;
|
|
176
|
+
onPromoteFolder?: ((id: string) => any) | undefined;
|
|
177
|
+
onConvertToSlides?: ((id: string) => any) | undefined;
|
|
178
|
+
onBulkPromoteFiles?: ((ids: string[]) => any) | undefined;
|
|
62
179
|
}>, {
|
|
63
180
|
appName: import('./stores/app').AppName;
|
|
64
181
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -3,12 +3,12 @@ import { FolderItemsFetcher, FolderCreator, FolderUpdater, FolderDeleter, FileCr
|
|
|
3
3
|
export interface BrowserAppProps {
|
|
4
4
|
appName: AppName;
|
|
5
5
|
onFolderFetch: FolderItemsFetcher;
|
|
6
|
-
onFolderCreate
|
|
7
|
-
onFolderUpdate
|
|
8
|
-
onFolderDelete
|
|
9
|
-
onFileCreate
|
|
10
|
-
onFileDelete
|
|
11
|
-
onFileUpdate
|
|
6
|
+
onFolderCreate?: FolderCreator;
|
|
7
|
+
onFolderUpdate?: FolderUpdater;
|
|
8
|
+
onFolderDelete?: FolderDeleter;
|
|
9
|
+
onFileCreate?: FileCreator;
|
|
10
|
+
onFileDelete?: FileDeleter;
|
|
11
|
+
onFileUpdate?: FileUpdater;
|
|
12
12
|
onFileOpen: FileOpener;
|
|
13
13
|
onFileFetch: FileFetcher;
|
|
14
14
|
onFilesList: FileListFetcher;
|
|
@@ -16,7 +16,7 @@ export interface BrowserAppProps {
|
|
|
16
16
|
onFavoriteDelete: FavoriteDeleter;
|
|
17
17
|
onFavoritesFetch: FavoritesFetcher;
|
|
18
18
|
onRecentFilesFetch: RecentFilesFetcher;
|
|
19
|
-
onItemsMove
|
|
19
|
+
onItemsMove?: ItemsMover;
|
|
20
20
|
onSelectDeviceFile?: SelectDeviceFile;
|
|
21
21
|
onFolderList: FolderLister;
|
|
22
22
|
onMetadataFilterFetch?: (params: any) => Promise<Record<string, string | string[]>>;
|
|
@@ -23,11 +23,16 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
23
23
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
24
24
|
name: string;
|
|
25
25
|
label: string;
|
|
26
|
-
options?:
|
|
26
|
+
options?: {
|
|
27
|
+
label: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[];
|
|
27
30
|
}[] | undefined;
|
|
28
31
|
readonly enableDependentFilters?: boolean | undefined;
|
|
29
32
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
30
33
|
readonly contentType?: string[] | undefined;
|
|
34
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
35
|
+
readonly accountFilterId?: string | undefined;
|
|
31
36
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
32
37
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
33
38
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -141,11 +146,16 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
141
146
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
142
147
|
name: string;
|
|
143
148
|
label: string;
|
|
144
|
-
options?:
|
|
149
|
+
options?: {
|
|
150
|
+
label: string;
|
|
151
|
+
value: string;
|
|
152
|
+
}[];
|
|
145
153
|
}[];
|
|
146
154
|
enableDependentFilters?: boolean;
|
|
147
155
|
dependentFiltersEntity?: "file" | "canvas";
|
|
148
156
|
contentType?: string[];
|
|
157
|
+
tagsNotIn?: string[];
|
|
158
|
+
accountFilterId?: string;
|
|
149
159
|
}> & Readonly<{
|
|
150
160
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
151
161
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -161,6 +171,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
161
171
|
placeholder: string;
|
|
162
172
|
initialSearchValue: string;
|
|
163
173
|
includeDraftValues: boolean;
|
|
174
|
+
tagsNotIn: string[];
|
|
164
175
|
engagingIds: string[];
|
|
165
176
|
popularIds: string[];
|
|
166
177
|
recommendedIds: string[];
|
|
@@ -193,6 +204,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
193
204
|
placeholder: string;
|
|
194
205
|
initialSearchValue: string;
|
|
195
206
|
includeDraftValues: boolean;
|
|
207
|
+
tagsNotIn: string[];
|
|
196
208
|
engagingIds: string[];
|
|
197
209
|
popularIds: string[];
|
|
198
210
|
recommendedIds: string[];
|
|
@@ -221,16 +233,21 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
221
233
|
type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
222
234
|
name: string;
|
|
223
235
|
label: string;
|
|
224
|
-
options?:
|
|
236
|
+
options?: {
|
|
237
|
+
label: string;
|
|
238
|
+
value: string;
|
|
239
|
+
}[];
|
|
225
240
|
}[];
|
|
226
241
|
enableDependentFilters?: boolean;
|
|
227
242
|
dependentFiltersEntity?: "file" | "canvas";
|
|
228
243
|
contentType?: string[];
|
|
244
|
+
tagsNotIn?: string[];
|
|
245
|
+
accountFilterId?: string;
|
|
229
246
|
}> & Readonly<{
|
|
230
247
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
231
248
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
232
249
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
233
|
-
}>, "clearSearch" | ("filters" | "placeholder" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
250
|
+
}>, "clearSearch" | ("filters" | "placeholder" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
234
251
|
clearSearch: () => void;
|
|
235
252
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
236
253
|
$slots: {
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
12
|
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewCompactFileFolder } from '../../../../types/files';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: ViewCompactFileFolder;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
'single-file-details'?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
listRef: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
13
|
+
readonly selectedIds?: (number | string)[] | undefined;
|
|
14
|
+
readonly maxRowHeight: number;
|
|
15
|
+
readonly height?: number | undefined;
|
|
16
|
+
readonly movable?: boolean | undefined;
|
|
17
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
readonly "onItem:click"?: ((...args: any[]) => any) | 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
|
+
virtualizerContainerRef: HTMLDivElement;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
32
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
33
|
+
$host: Element | null;
|
|
34
|
+
$emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
|
|
35
|
+
$el: HTMLDivElement;
|
|
36
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
37
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
38
|
+
selectedIds?: (number | string)[];
|
|
39
|
+
maxRowHeight: number;
|
|
40
|
+
height?: number;
|
|
41
|
+
movable?: boolean;
|
|
42
|
+
}> & Readonly<{
|
|
43
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
47
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
move: (...args: any[]) => void;
|
|
49
|
+
"item:click": (...args: any[]) => void;
|
|
50
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
51
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
52
|
+
created?: (() => void) | (() => void)[];
|
|
53
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
54
|
+
mounted?: (() => void) | (() => void)[];
|
|
55
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
56
|
+
updated?: (() => void) | (() => void)[];
|
|
57
|
+
activated?: (() => void) | (() => void)[];
|
|
58
|
+
deactivated?: (() => void) | (() => void)[];
|
|
59
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
60
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
61
|
+
destroyed?: (() => void) | (() => void)[];
|
|
62
|
+
unmounted?: (() => void) | (() => void)[];
|
|
63
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
64
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
65
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
66
|
+
};
|
|
67
|
+
$forceUpdate: () => void;
|
|
68
|
+
$nextTick: typeof nextTick;
|
|
69
|
+
$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;
|
|
70
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
71
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
72
|
+
selectedIds?: (number | string)[];
|
|
73
|
+
maxRowHeight: number;
|
|
74
|
+
height?: number;
|
|
75
|
+
movable?: boolean;
|
|
76
|
+
}> & Readonly<{
|
|
77
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
}>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
|
|
80
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
81
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
82
|
+
$slots: {
|
|
83
|
+
item?(_: {
|
|
84
|
+
index: number;
|
|
85
|
+
isContextMenuOpen: boolean;
|
|
86
|
+
isDraggedOver: boolean;
|
|
87
|
+
isSelected: boolean;
|
|
88
|
+
item: {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
id: number | string;
|
|
91
|
+
};
|
|
92
|
+
}): any;
|
|
93
|
+
'item:context-menu'?(_: {
|
|
94
|
+
item: {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
id: number | string;
|
|
97
|
+
};
|
|
98
|
+
}): any;
|
|
99
|
+
};
|
|
100
|
+
}) | null;
|
|
101
|
+
};
|
|
102
|
+
rootEl: HTMLDivElement;
|
|
103
|
+
};
|
|
104
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
105
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
106
|
+
listRef: ({
|
|
107
|
+
$: import('vue').ComponentInternalInstance;
|
|
108
|
+
$data: {};
|
|
109
|
+
$props: {
|
|
110
|
+
readonly data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
111
|
+
readonly selectedIds?: (number | string)[] | undefined;
|
|
112
|
+
readonly maxRowHeight: number;
|
|
113
|
+
readonly height?: number | undefined;
|
|
114
|
+
readonly movable?: boolean | undefined;
|
|
115
|
+
readonly onMove?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
118
|
+
$attrs: {
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
$refs: {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
} & {
|
|
124
|
+
virtualizerContainerRef: HTMLDivElement;
|
|
125
|
+
};
|
|
126
|
+
$slots: Readonly<{
|
|
127
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
130
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
131
|
+
$host: Element | null;
|
|
132
|
+
$emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
|
|
133
|
+
$el: HTMLDivElement;
|
|
134
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
135
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
136
|
+
selectedIds?: (number | string)[];
|
|
137
|
+
maxRowHeight: number;
|
|
138
|
+
height?: number;
|
|
139
|
+
movable?: boolean;
|
|
140
|
+
}> & Readonly<{
|
|
141
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
142
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
}>, {
|
|
144
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
145
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
146
|
+
move: (...args: any[]) => void;
|
|
147
|
+
"item:click": (...args: any[]) => void;
|
|
148
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
149
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
150
|
+
created?: (() => void) | (() => void)[];
|
|
151
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
152
|
+
mounted?: (() => void) | (() => void)[];
|
|
153
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
154
|
+
updated?: (() => void) | (() => void)[];
|
|
155
|
+
activated?: (() => void) | (() => void)[];
|
|
156
|
+
deactivated?: (() => void) | (() => void)[];
|
|
157
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
158
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
159
|
+
destroyed?: (() => void) | (() => void)[];
|
|
160
|
+
unmounted?: (() => void) | (() => void)[];
|
|
161
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
162
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
163
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
164
|
+
};
|
|
165
|
+
$forceUpdate: () => void;
|
|
166
|
+
$nextTick: typeof nextTick;
|
|
167
|
+
$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;
|
|
168
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
169
|
+
data: import('../../../components/CList/CList.vue').ListDataItem[];
|
|
170
|
+
selectedIds?: (number | string)[];
|
|
171
|
+
maxRowHeight: number;
|
|
172
|
+
height?: number;
|
|
173
|
+
movable?: boolean;
|
|
174
|
+
}> & Readonly<{
|
|
175
|
+
onMove?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
"onItem:click"?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
}>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
|
|
178
|
+
updateContextMenuItem: (item: import('../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
|
|
179
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
180
|
+
$slots: {
|
|
181
|
+
item?(_: {
|
|
182
|
+
index: number;
|
|
183
|
+
isContextMenuOpen: boolean;
|
|
184
|
+
isDraggedOver: boolean;
|
|
185
|
+
isSelected: boolean;
|
|
186
|
+
item: {
|
|
187
|
+
[key: string]: any;
|
|
188
|
+
id: number | string;
|
|
189
|
+
};
|
|
190
|
+
}): any;
|
|
191
|
+
'item:context-menu'?(_: {
|
|
192
|
+
item: {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
id: number | string;
|
|
195
|
+
};
|
|
196
|
+
}): any;
|
|
197
|
+
};
|
|
198
|
+
}) | null;
|
|
199
|
+
}, HTMLDivElement>;
|
|
200
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
201
|
+
export default _default;
|
|
202
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
203
|
+
new (): {
|
|
204
|
+
$slots: S;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
@@ -19,6 +19,8 @@ export interface Form {
|
|
|
19
19
|
expiresAtOption: FileExpiration;
|
|
20
20
|
accessType: PFile['access_type'];
|
|
21
21
|
collaborations: UserCollaboration[];
|
|
22
|
+
metadata?: PFile['metadata'];
|
|
23
|
+
availableAtDateTime?: number | null;
|
|
22
24
|
}
|
|
23
25
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
24
26
|
configEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -3,12 +3,16 @@ type __VLS_Props = {
|
|
|
3
3
|
modelValue: Form;
|
|
4
4
|
showConvertPptxToHtml?: boolean;
|
|
5
5
|
convertPptxToHtml?: boolean;
|
|
6
|
+
showAutoConvertToggle?: boolean;
|
|
7
|
+
autoConvertIncludeSections?: boolean;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
10
|
"update:modelValue": (form: Form) => any;
|
|
9
11
|
"update:convertPptxToHtml": (value: boolean) => any;
|
|
12
|
+
"update:autoConvertIncludeSections": (value: boolean) => any;
|
|
10
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
14
|
"onUpdate:modelValue"?: ((form: Form) => any) | undefined;
|
|
12
15
|
"onUpdate:convertPptxToHtml"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
"onUpdate:autoConvertIncludeSections"?: ((value: boolean) => any) | undefined;
|
|
13
17
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
18
|
export default _default;
|