@pitcher/js-api 1.25.0 → 1.26.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/js-api.esm.js +25 -2
- 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/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +4 -4
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/browser/App.vue.d.ts +4 -4
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
- package/lib/apps/browser/stores/api.d.ts +3 -1
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +7 -2
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +35 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +1024 -28
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +14 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -4
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +23 -7
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +917 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +14 -3
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +2 -1
- package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +10 -1
- package/lib/apps/content-selector/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +2 -0
- package/lib/apps/content-selector/stores/app.d.ts +18 -4
- package/lib/apps/content-selector/util/file.d.ts +6 -3
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +3 -2
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
- package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +2 -0
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
- package/lib/components/CInput/CInput.vue.d.ts +4 -4
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +27 -0
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +18 -5
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +109 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +33 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +17 -0
- package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
- package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
- package/lib/components/CTags/CTags.vue.d.ts +4 -4
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +3 -1
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +22 -16
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +7 -4
- package/lib/components/filters/CSearchFilter.vue.d.ts +6 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +6 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +1 -1
- package/lib/composables/useBindValidation.d.ts +1 -1
- package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
- package/lib/composables/useFilterSuggestions.d.ts +56 -0
- package/lib/composables/useImageAccessibility.d.ts +13 -0
- package/lib/composables/useMetadataSearch.d.ts +21 -1
- package/lib/main.lib.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -0
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +22 -0
- package/lib/sdk/interfaces.d.ts +46 -2
- package/lib/sdk/main.d.ts +9 -0
- package/lib/sdk/payload.types.d.ts +13 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +110 -0
- package/lib/types/app.d.ts +20 -3
- package/lib/types/call.d.ts +1 -0
- package/lib/types/core/MetadataFilter.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +16 -3
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +13 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/network.d.ts +8 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +0 -7
- package/types/openapi/models/DeletedInstance.d.ts +0 -2
- package/types/openapi/models/Instance.d.ts +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +0 -1
- package/types/openapi/models/InstanceUpdate.d.ts +0 -2
- package/types/openapi/models/InstanceUpdateRequest.d.ts +0 -1
- package/types/openapi/models/OrganizationAnalyticsInstance.d.ts +0 -2
- package/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +0 -2
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +0 -1
- package/types/openapi/models/DeletedRegion.d.ts +0 -12
- package/types/openapi/models/MiniRegion.d.ts +0 -4
- package/types/openapi/models/MiniRegionRequest.d.ts +0 -3
- package/types/openapi/models/PaginatedRegionList.d.ts +0 -7
- package/types/openapi/models/PatchedRegionRequest.d.ts +0 -3
- package/types/openapi/models/Region.d.ts +0 -10
- package/types/openapi/models/RegionRequest.d.ts +0 -3
|
@@ -5,11 +5,12 @@ export declare const defaultWhenUsedInSection: {
|
|
|
5
5
|
is_removable: boolean;
|
|
6
6
|
};
|
|
7
7
|
export declare const SERVER_ONLY_PROPS: readonly ["content_url", "thumbnail_url", "content_thumbnails", "pspdfkit_token", "pspdfkit_server_url", "pspdfkit_auth_payload", "external_url"];
|
|
8
|
-
export declare const aspectRatios: readonly ["unlocked", "16:9", "16:10", "4:3", "1:1"];
|
|
8
|
+
export declare const aspectRatios: readonly ["unlocked", "contain", "16:9", "16:10", "4:3", "1:1"];
|
|
9
9
|
export declare const aspectRatioClasses: {
|
|
10
10
|
readonly '16:9': "aspect-ratio-video";
|
|
11
11
|
readonly '16:10': "aspect-ratio-[16/10]";
|
|
12
12
|
readonly '1:1': "aspect-ratio-square";
|
|
13
13
|
readonly '4:3': "aspect-ratio-[4/3]";
|
|
14
14
|
readonly unlocked: "";
|
|
15
|
+
readonly contain: "";
|
|
15
16
|
};
|
|
@@ -249,6 +249,11 @@ export interface LinkProps {
|
|
|
249
249
|
url?: string;
|
|
250
250
|
}
|
|
251
251
|
export interface ScribbleProps {
|
|
252
|
+
content_background?: {
|
|
253
|
+
file_id?: string;
|
|
254
|
+
page_index?: number;
|
|
255
|
+
page_id?: string;
|
|
256
|
+
};
|
|
252
257
|
}
|
|
253
258
|
export interface PageBreakProps {
|
|
254
259
|
}
|
|
@@ -346,10 +351,16 @@ export type SectionComponentOverride = {
|
|
|
346
351
|
after_sibling_id?: ComponentNode['id'];
|
|
347
352
|
is_removed?: true;
|
|
348
353
|
};
|
|
349
|
-
export type
|
|
350
|
-
[
|
|
351
|
-
|
|
354
|
+
export type SectionOverrides = {
|
|
355
|
+
[componentId: ComponentNode['id'] | 'root']: SectionComponentOverride;
|
|
356
|
+
} & {
|
|
357
|
+
modified_by?: {
|
|
358
|
+
id: User['id'];
|
|
352
359
|
};
|
|
360
|
+
modified_at?: string;
|
|
361
|
+
};
|
|
362
|
+
export type SectionComponentOverrides = {
|
|
363
|
+
[sectionId: CanvasRetrieve['id']]: SectionOverrides;
|
|
353
364
|
};
|
|
354
365
|
export interface ComponentMeta {
|
|
355
366
|
allowedChildren: ComponentTypes[];
|
|
@@ -47,9 +47,10 @@ type FoundComponent = {
|
|
|
47
47
|
export declare function findEmbeddableInSectionsContent(canvasPages: ComponentNode[][], sectionComponentNodesBySectionId: UnwrapRef<SectionComponentNodesBySectionId>, appName: string): FoundComponent;
|
|
48
48
|
export declare function findAllEmbeddableTypesInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>): Set<string>;
|
|
49
49
|
export declare function findEmbeddableInCanvasContent(componentNodesById: UnwrapRef<ComponentNodesById>, appName: string): FoundComponent;
|
|
50
|
-
export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, instant?: boolean, delay?: number): void;
|
|
50
|
+
export declare function scrollToComponentById(id: ComponentNode['id'] | null | undefined, sectionId?: string, sectionIndex?: number, instant?: boolean, delay?: number): void;
|
|
51
51
|
export declare function updateFirstContentGridWithShareboxItems(canvasContent: ComponentNode[], selectedItems: (SelectedFile | SelectedPage)[], filesById: Record<FileRetrieve['id'], FileRetrieve>): ComponentNode<CollectionPlayer | GridProps | GridItemProps | TextProps | CarouselProps | MultimediaProps | EmbeddableProps | ContentGridProps | SectionListProps | HtmlProps | IFrameProps | LinkProps | import('../types/canvas').PageBreakProps | import('../types/canvas').PageProps | import('../types/canvas').TimelineProps>[];
|
|
52
52
|
export declare function handleThemeAssetComparison(key: string | symbol | number, objValue: any, othValue: any, object: any, other: any, fileProps: string[], isEqual: (obj1: any, obj2: any) => boolean, componentsWithThemeMeta?: Set<string>): boolean | undefined;
|
|
53
53
|
export declare function applyCanvasThemeAssetsToNode(node: ComponentNode): ComponentNode;
|
|
54
54
|
export declare function processCanvasForSectionThemeOverride(canvas: CanvasRetrieve, maintainSectionTheme: boolean): CanvasRetrieve;
|
|
55
|
+
export declare function isEmbeddableWithZeroHeight(component: ComponentNode): boolean;
|
|
55
56
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectedFile, SelectedPage } from '../../content-selector/stores/app';
|
|
2
2
|
import { Selection } from '../../../types/selections';
|
|
3
3
|
import { FileRetrieve } from '../../../../types/openapi';
|
|
4
|
-
import { CollectionFile, CollectionPage, CollectionGroup } from '../../collection-player/types/collection-player.type';
|
|
4
|
+
import { CollectionFile, CollectionPage, CollectionGroup, CollectionPlayer } from '../../collection-player/types/collection-player.type';
|
|
5
5
|
import { I18nTranslate } from '../../../types/common';
|
|
6
6
|
export declare function parsePptxFileToCollectionPlayer(t: I18nTranslate, _file: FileRetrieve): {
|
|
7
7
|
name: string;
|
|
@@ -39,3 +39,12 @@ export declare function parseContentSelectorToCollectionPlayerSlides({ selectedI
|
|
|
39
39
|
filesById: Record<FileRetrieve['id'], FileRetrieve>;
|
|
40
40
|
}): (CollectionPage | CollectionFile)[];
|
|
41
41
|
export declare function parseCollectionPlayerSlidesToContentSelector(slides?: CollectionGroup['slides']): Selection[];
|
|
42
|
+
/**
|
|
43
|
+
* Transform an array of file data into CollectionPlayer format
|
|
44
|
+
* Reuses existing parsing utilities and handles selectedPages filtering
|
|
45
|
+
* @param t - Translation function
|
|
46
|
+
* @param filesData - Array of file data with optional selectedPages
|
|
47
|
+
* @param name - Name for the collection (defaults to 'Collection')
|
|
48
|
+
* @returns Transformed CollectionPlayer data
|
|
49
|
+
*/
|
|
50
|
+
export declare function transformFilesToCollectionPlayer(t: I18nTranslate, filesData: any[], name?: string): CollectionPlayer;
|
|
@@ -1,2 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
3
|
+
scrollableContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
readonly span: {
|
|
5
|
+
readonly type: import('vue').PropType<string | number>;
|
|
6
|
+
readonly default: 1;
|
|
7
|
+
};
|
|
8
|
+
readonly offset: {
|
|
9
|
+
readonly type: import('vue').PropType<string | number>;
|
|
10
|
+
readonly default: 0;
|
|
11
|
+
};
|
|
12
|
+
readonly suffix: BooleanConstructor;
|
|
13
|
+
readonly privateOffset: NumberConstructor;
|
|
14
|
+
readonly privateSpan: NumberConstructor;
|
|
15
|
+
readonly privateColStart: NumberConstructor;
|
|
16
|
+
readonly privateShow: {
|
|
17
|
+
readonly type: BooleanConstructor;
|
|
18
|
+
readonly default: true;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
overflow: import('vue').Ref<boolean, boolean>;
|
|
22
|
+
itemStyle: import('vue').Ref<string | import('vue').CSSProperties | undefined, string | import('vue').CSSProperties | undefined>;
|
|
23
|
+
layoutShiftDisabled: import('vue').Ref<boolean, boolean>;
|
|
24
|
+
mergedXGap: import('vue').ComputedRef<string>;
|
|
25
|
+
deriveStyle: () => {
|
|
26
|
+
display: string;
|
|
27
|
+
gridColumn: string;
|
|
28
|
+
marginLeft: string;
|
|
29
|
+
};
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
31
|
+
readonly span: string | number;
|
|
32
|
+
readonly offset: string | number;
|
|
33
|
+
readonly suffix: boolean;
|
|
34
|
+
readonly privateShow: boolean;
|
|
35
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
43
|
+
readonly span: {
|
|
44
|
+
readonly type: import('vue').PropType<string | number>;
|
|
45
|
+
readonly default: 1;
|
|
46
|
+
};
|
|
47
|
+
readonly offset: {
|
|
48
|
+
readonly type: import('vue').PropType<string | number>;
|
|
49
|
+
readonly default: 0;
|
|
50
|
+
};
|
|
51
|
+
readonly suffix: BooleanConstructor;
|
|
52
|
+
readonly privateOffset: NumberConstructor;
|
|
53
|
+
readonly privateSpan: NumberConstructor;
|
|
54
|
+
readonly privateColStart: NumberConstructor;
|
|
55
|
+
readonly privateShow: {
|
|
56
|
+
readonly type: BooleanConstructor;
|
|
57
|
+
readonly default: true;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
|
+
overflow: import('vue').Ref<boolean, boolean>;
|
|
61
|
+
itemStyle: import('vue').Ref<string | import('vue').CSSProperties | undefined, string | import('vue').CSSProperties | undefined>;
|
|
62
|
+
layoutShiftDisabled: import('vue').Ref<boolean, boolean>;
|
|
63
|
+
mergedXGap: import('vue').ComputedRef<string>;
|
|
64
|
+
deriveStyle: () => {
|
|
65
|
+
display: string;
|
|
66
|
+
gridColumn: string;
|
|
67
|
+
marginLeft: string;
|
|
68
|
+
};
|
|
69
|
+
}, {}, {}, {}, {
|
|
70
|
+
readonly span: string | number;
|
|
71
|
+
readonly offset: string | number;
|
|
72
|
+
readonly suffix: boolean;
|
|
73
|
+
readonly privateShow: boolean;
|
|
74
|
+
}> | null;
|
|
75
|
+
}, HTMLDivElement>;
|
|
2
76
|
export default _default;
|
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
29
29
|
}[] | undefined;
|
|
30
30
|
readonly enableDependentFilters?: boolean | undefined;
|
|
31
31
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
32
|
+
readonly contentType?: string[] | undefined;
|
|
32
33
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
33
34
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
34
35
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -146,6 +147,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
146
147
|
}[];
|
|
147
148
|
enableDependentFilters?: boolean;
|
|
148
149
|
dependentFiltersEntity?: "file" | "canvas";
|
|
150
|
+
contentType?: string[];
|
|
149
151
|
}> & Readonly<{
|
|
150
152
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
151
153
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -225,6 +227,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
225
227
|
}[];
|
|
226
228
|
enableDependentFilters?: boolean;
|
|
227
229
|
dependentFiltersEntity?: "file" | "canvas";
|
|
230
|
+
contentType?: string[];
|
|
228
231
|
}> & Readonly<{
|
|
229
232
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
230
233
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
id: File['id'];
|
|
11
11
|
name?: File['name'];
|
|
12
12
|
};
|
|
13
|
+
metadata?: Record<string, any>;
|
|
13
14
|
page_index?: number;
|
|
14
15
|
permissions?: File['permissions'];
|
|
15
16
|
id?: string;
|
|
@@ -44,6 +45,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
44
45
|
id: File["id"];
|
|
45
46
|
name?: File["name"];
|
|
46
47
|
};
|
|
48
|
+
metadata?: Record<string, any>;
|
|
47
49
|
page_index?: number;
|
|
48
50
|
permissions?: File["permissions"];
|
|
49
51
|
id?: string;
|
|
@@ -54,6 +54,12 @@ export type BrowserSectionType = 'all' | 'favorites' | 'recent' | 'trash';
|
|
|
54
54
|
export type FolderFileWithFolderId = File & {
|
|
55
55
|
folder_id?: string;
|
|
56
56
|
};
|
|
57
|
+
export type FolderItemWithFolderId = (FolderFileWithFolderId & {
|
|
58
|
+
type: 'file';
|
|
59
|
+
}) | (FolderFolder & {
|
|
60
|
+
folder_id?: string;
|
|
61
|
+
type: 'folder';
|
|
62
|
+
});
|
|
57
63
|
export type RecentFileWithFavoriteId = RecentFile & {
|
|
58
64
|
favoriteId: string;
|
|
59
65
|
};
|
|
@@ -70,6 +76,7 @@ export type AppStateProperties = {
|
|
|
70
76
|
allowedOriginalExtensions: Ref<string[] | undefined>;
|
|
71
77
|
search: Ref<string>;
|
|
72
78
|
searchMetadataFilters: Ref<Record<string, any>>;
|
|
79
|
+
isLocalSearch: Ref<boolean>;
|
|
73
80
|
selectedItems: Ref<ContentSelectorSelectedItem[]>;
|
|
74
81
|
selectedSection: Ref<BrowserSectionType>;
|
|
75
82
|
selectedFiles: ComputedRef<SelectedFile[]>;
|
|
@@ -82,16 +89,17 @@ export type AppStateProperties = {
|
|
|
82
89
|
})[]>;
|
|
83
90
|
displayedRecentFiles: ComputedRef<RecentFileWithFavoriteId[]>;
|
|
84
91
|
showFilteredResults: ComputedRef<boolean>;
|
|
85
|
-
displayedFiles: ComputedRef<SelectedFile[] | SelectedFolder[] | RecentFileWithFavoriteId[] |
|
|
92
|
+
displayedFiles: ComputedRef<SelectedFile[] | SelectedFolder[] | RecentFileWithFavoriteId[] | FolderItemWithFolderId[]>;
|
|
86
93
|
activeFolderFolders: ComputedRef<FolderFolder[]>;
|
|
87
94
|
activeFolderFiles: ComputedRef<FolderFile[]>;
|
|
88
95
|
isAdmin: ComputedRef<boolean>;
|
|
89
96
|
activeFolder: Ref<FolderRetrieve | null>;
|
|
90
97
|
activeFile: Ref<FileRetrieve | null>;
|
|
91
98
|
disableNoSharable: Ref<boolean>;
|
|
99
|
+
disableNoPptxData: Ref<boolean>;
|
|
92
100
|
recent: Ref<RecentFile[]>;
|
|
93
101
|
favorites: Ref<Record<MiniPage['id'] | File['id'] | Folder['id'], Favorite>>;
|
|
94
|
-
filteredItems: Ref<
|
|
102
|
+
filteredItems: Ref<FolderItemWithFolderId[]>;
|
|
95
103
|
};
|
|
96
104
|
export type AppStore = AppStateProperties & {
|
|
97
105
|
getThumbnailUrl: (file: Partial<File>) => string | null | undefined;
|
|
@@ -102,6 +110,7 @@ export type AppStore = AppStateProperties & {
|
|
|
102
110
|
selectItem: (i: ContentSelectorSelectedItem) => void;
|
|
103
111
|
selectAllFiles: (selection: SelectedFile[]) => void;
|
|
104
112
|
setDisableNoSharable: (disable: boolean) => void;
|
|
113
|
+
setDisableNoPptxData: (disable: boolean) => void;
|
|
105
114
|
deselectAllFiles: (f: SelectedFile[] | Pick<FolderFile, 'id'>[]) => void;
|
|
106
115
|
deselectFile: (f: SelectedFile | Pick<FolderFile, 'id'>) => void;
|
|
107
116
|
deselectPage: (p: SelectedPage) => void;
|
|
@@ -116,10 +125,15 @@ export type AppStore = AppStateProperties & {
|
|
|
116
125
|
setSearchMetadataFilters: (filters: Record<string, any>) => void;
|
|
117
126
|
setFavorites: (favorites: Record<MiniPage['id'] | File['id'] | Folder['id'], Favorite>) => void;
|
|
118
127
|
setRecentFiles: (recentFiles: RecentFile[]) => void;
|
|
119
|
-
setFilteredItems: (filteredItems:
|
|
128
|
+
setFilteredItems: (filteredItems: FolderItemWithFolderId[]) => void;
|
|
120
129
|
fetchSectionData: () => Promise<void>;
|
|
121
130
|
setState: (newState: Partial<UnwrapNestedRefs<AppStore>>) => void;
|
|
122
|
-
isItemDisabled: (item: SelectedFile | SelectedFolder | RecentFileWithFavoriteId | FolderFileWithFolderId
|
|
131
|
+
isItemDisabled: (item: SelectedFile | SelectedFolder | SelectedPage | RecentFileWithFavoriteId | FolderItemWithFolderId | FolderFileWithFolderId | (FolderFolder & {
|
|
132
|
+
folder_id?: string;
|
|
133
|
+
type: 'folder';
|
|
134
|
+
})) => boolean;
|
|
123
135
|
setApiStore: (newApiStore: ApiStore) => void;
|
|
136
|
+
setIsLocalSearch: (isLocal: boolean) => void;
|
|
137
|
+
filterLocalItems: (query: string, filters: Record<string, any>) => void;
|
|
124
138
|
};
|
|
125
139
|
export default function (apiStore?: ApiStore): AppStore;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { File } from '../../../../types/openapi';
|
|
2
|
-
import { SelectedPage, SelectedFile, SelectedFolder, RecentFileWithFavoriteId, FolderFileWithFolderId } from '../stores/app';
|
|
1
|
+
import { File, FolderFolder } from '../../../../types/openapi';
|
|
2
|
+
import { SelectedPage, SelectedFile, SelectedFolder, RecentFileWithFavoriteId, FolderItemWithFolderId, FolderFileWithFolderId } from '../stores/app';
|
|
3
3
|
export declare function createPageId(fileId: File['id'], pageIndex: number): string;
|
|
4
4
|
export declare function getFileId(item: {
|
|
5
5
|
file?: {
|
|
@@ -7,4 +7,7 @@ export declare function getFileId(item: {
|
|
|
7
7
|
};
|
|
8
8
|
id: File['id'];
|
|
9
9
|
}): string;
|
|
10
|
-
export declare function isShareable(item: SelectedFile | SelectedFolder | SelectedPage | RecentFileWithFavoriteId | FolderFileWithFolderId
|
|
10
|
+
export declare function isShareable(item: SelectedFile | SelectedFolder | SelectedPage | RecentFileWithFavoriteId | FolderItemWithFolderId | FolderFileWithFolderId | (FolderFolder & {
|
|
11
|
+
folder_id?: string;
|
|
12
|
+
type: 'folder';
|
|
13
|
+
})): boolean;
|
|
@@ -14,7 +14,7 @@ export declare const useCanvas: ({ t, api, collection, tags }: UseCanvasPayload)
|
|
|
14
14
|
title: string;
|
|
15
15
|
id: number;
|
|
16
16
|
sequence: number;
|
|
17
|
-
}, group: CollectionGroupWithPages, image
|
|
17
|
+
}, group: CollectionGroupWithPages, image?: {
|
|
18
18
|
width?: number;
|
|
19
19
|
height?: number;
|
|
20
20
|
url: string;
|
|
@@ -25,10 +25,11 @@ export declare const useCanvas: ({ t, api, collection, tags }: UseCanvasPayload)
|
|
|
25
25
|
title: string;
|
|
26
26
|
id: number;
|
|
27
27
|
sequence: number;
|
|
28
|
-
}, group: CollectionGroupWithPages, image
|
|
28
|
+
}, group: CollectionGroupWithPages, image?: {
|
|
29
29
|
width?: number;
|
|
30
30
|
height?: number;
|
|
31
31
|
url: string;
|
|
32
32
|
}) => Promise<CanvasRetrieve>;
|
|
33
|
+
deleteCanvas: (id: string) => Promise<CanvasRetrieve>;
|
|
33
34
|
};
|
|
34
35
|
export {};
|
|
@@ -13,10 +13,11 @@ type ExistingSections = Record<string, {
|
|
|
13
13
|
}>;
|
|
14
14
|
export type Api = {
|
|
15
15
|
createCanvas: (params: Omit<CanvasCreateRequest, 'instance_id'>) => Promise<CanvasRetrieve>;
|
|
16
|
+
deleteCanvas: (id: string) => Promise<CanvasRetrieve>;
|
|
16
17
|
getCanvases: (params: GetCanvasesParams & {
|
|
17
18
|
filters?: Record<string, any>;
|
|
18
19
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
19
|
-
fetchMetadataFilter: (payload: MetadataFilterRequest) => Promise<Record<string, string>>;
|
|
20
|
+
fetchMetadataFilter: (payload: MetadataFilterRequest) => Promise<Record<string, string | string[]>>;
|
|
20
21
|
upsertPptxSlideImages: (params: UpsertPptxSlideImagesRequestParams, body: UpsertPptxSlideImagesRequestPayload) => Promise<UpsertPptxSlideImagesResponse>;
|
|
21
22
|
updateCanvas: (payload: PatchedCanvasUpdateRequest & {
|
|
22
23
|
id: CanvasRetrieve['id'];
|
|
@@ -140,7 +141,7 @@ export declare function provideAppStore({ initialCollection, t, confirmation, zI
|
|
|
140
141
|
initialize: () => Promise<void>;
|
|
141
142
|
emit: ((event: "cancel") => void) & ((event: "close", args_0: CollectionPlayerWithPages) => void) & ((event: "contentChange", args_0: CollectionPlayerWithPages) => void);
|
|
142
143
|
isInitialized: Ref<boolean, boolean>;
|
|
143
|
-
savePitcherSlides: () => Promise<CanvasRetrieve[]>;
|
|
144
|
+
savePitcherSlides: () => Promise<CanvasRetrieve[] | false>;
|
|
144
145
|
saveAndClose: () => Promise<void>;
|
|
145
146
|
isSaving: Ref<boolean, boolean>;
|
|
146
147
|
};
|
|
@@ -7,11 +7,15 @@ declare function __VLS_template(): {
|
|
|
7
7
|
default?(_: {}): any;
|
|
8
8
|
default?(_: {}): any;
|
|
9
9
|
};
|
|
10
|
-
refs: {
|
|
10
|
+
refs: {
|
|
11
|
+
componentRef: HTMLDivElement;
|
|
12
|
+
};
|
|
11
13
|
rootEl: any;
|
|
12
14
|
};
|
|
13
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<CommentableComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CommentableComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<CommentableComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CommentableComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
componentRef: HTMLDivElement;
|
|
18
|
+
}, any>;
|
|
15
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
20
|
export default _default;
|
|
17
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -16,6 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
showMove?: boolean;
|
|
17
17
|
showDelete?: boolean;
|
|
18
18
|
showFavorite?: boolean;
|
|
19
|
+
showSharebox?: boolean;
|
|
19
20
|
isLoadingEdit?: boolean;
|
|
20
21
|
isLoadingMove?: boolean;
|
|
21
22
|
isLoadingDelete?: boolean;
|
|
@@ -32,6 +33,7 @@ declare function __VLS_template(): {
|
|
|
32
33
|
};
|
|
33
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
35
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
addToSharebox: () => any;
|
|
35
37
|
delete: () => any;
|
|
36
38
|
move: () => any;
|
|
37
39
|
toggleSelect: (value: boolean) => any;
|
|
@@ -43,6 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
43
45
|
manageDistribution: () => any;
|
|
44
46
|
manageFileDistributions: () => any;
|
|
45
47
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
48
|
+
onAddToSharebox?: (() => any) | undefined;
|
|
46
49
|
onDelete?: (() => any) | undefined;
|
|
47
50
|
onMove?: (() => any) | undefined;
|
|
48
51
|
onToggleSelect?: ((value: boolean) => any) | undefined;
|
|
@@ -356,6 +356,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
356
356
|
readonly onBeforeUpload: import('vue').PropType<import('naive-ui/es/upload/src/interface').OnBeforeUpload>;
|
|
357
357
|
readonly isErrorState: import('vue').PropType<(xhr: XMLHttpRequest) => boolean>;
|
|
358
358
|
readonly onDownload: import('vue').PropType<import('naive-ui').UploadOnDownload>;
|
|
359
|
+
readonly customDownload: import('vue').PropType<import('naive-ui').UploadOnDownload>;
|
|
359
360
|
readonly defaultUpload: {
|
|
360
361
|
readonly type: BooleanConstructor;
|
|
361
362
|
readonly default: true;
|
|
@@ -1425,20 +1426,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
1425
1426
|
readonly disabled: boolean | undefined;
|
|
1426
1427
|
readonly multiple: boolean;
|
|
1427
1428
|
readonly showTrigger: boolean;
|
|
1428
|
-
readonly
|
|
1429
|
+
readonly directory: boolean;
|
|
1430
|
+
readonly directoryDnd: boolean;
|
|
1431
|
+
readonly showFileList: boolean;
|
|
1432
|
+
readonly withCredentials: boolean;
|
|
1433
|
+
readonly responseType: XMLHttpRequestResponseType;
|
|
1434
|
+
readonly defaultUpload: boolean;
|
|
1435
|
+
readonly defaultFileList: UploadFileInfo[];
|
|
1429
1436
|
readonly showCancelButton: boolean;
|
|
1430
1437
|
readonly showRemoveButton: boolean;
|
|
1431
1438
|
readonly showDownloadButton: boolean;
|
|
1432
1439
|
readonly showRetryButton: boolean;
|
|
1433
1440
|
readonly showPreviewButton: boolean;
|
|
1441
|
+
readonly listType: import('naive-ui/es/upload/src/interface').ListType;
|
|
1434
1442
|
readonly shouldUseThumbnailUrl: import('naive-ui/es/upload/src/interface').ShouldUseThumbnailUrl;
|
|
1435
|
-
readonly withCredentials: boolean;
|
|
1436
|
-
readonly responseType: XMLHttpRequestResponseType;
|
|
1437
|
-
readonly directory: boolean;
|
|
1438
|
-
readonly directoryDnd: boolean;
|
|
1439
|
-
readonly showFileList: boolean;
|
|
1440
|
-
readonly defaultUpload: boolean;
|
|
1441
|
-
readonly defaultFileList: UploadFileInfo[];
|
|
1442
1443
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1443
1444
|
P: {};
|
|
1444
1445
|
B: {};
|
|
@@ -1487,6 +1488,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
1487
1488
|
readonly onBeforeUpload: import('vue').PropType<import('naive-ui/es/upload/src/interface').OnBeforeUpload>;
|
|
1488
1489
|
readonly isErrorState: import('vue').PropType<(xhr: XMLHttpRequest) => boolean>;
|
|
1489
1490
|
readonly onDownload: import('vue').PropType<import('naive-ui').UploadOnDownload>;
|
|
1491
|
+
readonly customDownload: import('vue').PropType<import('naive-ui').UploadOnDownload>;
|
|
1490
1492
|
readonly defaultUpload: {
|
|
1491
1493
|
readonly type: BooleanConstructor;
|
|
1492
1494
|
readonly default: true;
|
|
@@ -2556,20 +2558,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
2556
2558
|
readonly disabled: boolean | undefined;
|
|
2557
2559
|
readonly multiple: boolean;
|
|
2558
2560
|
readonly showTrigger: boolean;
|
|
2559
|
-
readonly
|
|
2561
|
+
readonly directory: boolean;
|
|
2562
|
+
readonly directoryDnd: boolean;
|
|
2563
|
+
readonly showFileList: boolean;
|
|
2564
|
+
readonly withCredentials: boolean;
|
|
2565
|
+
readonly responseType: XMLHttpRequestResponseType;
|
|
2566
|
+
readonly defaultUpload: boolean;
|
|
2567
|
+
readonly defaultFileList: UploadFileInfo[];
|
|
2560
2568
|
readonly showCancelButton: boolean;
|
|
2561
2569
|
readonly showRemoveButton: boolean;
|
|
2562
2570
|
readonly showDownloadButton: boolean;
|
|
2563
2571
|
readonly showRetryButton: boolean;
|
|
2564
2572
|
readonly showPreviewButton: boolean;
|
|
2573
|
+
readonly listType: import('naive-ui/es/upload/src/interface').ListType;
|
|
2565
2574
|
readonly shouldUseThumbnailUrl: import('naive-ui/es/upload/src/interface').ShouldUseThumbnailUrl;
|
|
2566
|
-
readonly withCredentials: boolean;
|
|
2567
|
-
readonly responseType: XMLHttpRequestResponseType;
|
|
2568
|
-
readonly directory: boolean;
|
|
2569
|
-
readonly directoryDnd: boolean;
|
|
2570
|
-
readonly showFileList: boolean;
|
|
2571
|
-
readonly defaultUpload: boolean;
|
|
2572
|
-
readonly defaultFileList: UploadFileInfo[];
|
|
2573
2575
|
}> | null;
|
|
2574
2576
|
}, HTMLDivElement>;
|
|
2575
2577
|
export default _default;
|
|
@@ -3892,12 +3892,12 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
3892
3892
|
"--n-td-color-striped": string;
|
|
3893
3893
|
"--n-td-color-striped-modal": string;
|
|
3894
3894
|
"--n-td-color-striped-popover": string;
|
|
3895
|
-
"n-td-color-sorting": string;
|
|
3896
|
-
"n-td-color-sorting-modal": string;
|
|
3897
|
-
"n-td-color-sorting-popover": string;
|
|
3898
|
-
"n-th-color-sorting": string;
|
|
3899
|
-
"n-th-color-sorting-modal": string;
|
|
3900
|
-
"n-th-color-sorting-popover": string;
|
|
3895
|
+
"--n-td-color-sorting": string;
|
|
3896
|
+
"--n-td-color-sorting-modal": string;
|
|
3897
|
+
"--n-td-color-sorting-popover": string;
|
|
3898
|
+
"--n-th-color-sorting": string;
|
|
3899
|
+
"--n-th-color-sorting-modal": string;
|
|
3900
|
+
"--n-th-color-sorting-popover": string;
|
|
3901
3901
|
}> | undefined;
|
|
3902
3902
|
themeClass: import('vue').Ref<string, string> | undefined;
|
|
3903
3903
|
onRender: (() => void) | undefined;
|
|
@@ -7811,12 +7811,12 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
7811
7811
|
"--n-td-color-striped": string;
|
|
7812
7812
|
"--n-td-color-striped-modal": string;
|
|
7813
7813
|
"--n-td-color-striped-popover": string;
|
|
7814
|
-
"n-td-color-sorting": string;
|
|
7815
|
-
"n-td-color-sorting-modal": string;
|
|
7816
|
-
"n-td-color-sorting-popover": string;
|
|
7817
|
-
"n-th-color-sorting": string;
|
|
7818
|
-
"n-th-color-sorting-modal": string;
|
|
7819
|
-
"n-th-color-sorting-popover": string;
|
|
7814
|
+
"--n-td-color-sorting": string;
|
|
7815
|
+
"--n-td-color-sorting-modal": string;
|
|
7816
|
+
"--n-td-color-sorting-popover": string;
|
|
7817
|
+
"--n-th-color-sorting": string;
|
|
7818
|
+
"--n-th-color-sorting-modal": string;
|
|
7819
|
+
"--n-th-color-sorting-popover": string;
|
|
7820
7820
|
}> | undefined;
|
|
7821
7821
|
themeClass: import('vue').Ref<string, string> | undefined;
|
|
7822
7822
|
onRender: (() => void) | undefined;
|
|
@@ -17,6 +17,7 @@ interface Props {
|
|
|
17
17
|
width?: number;
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
selectedItemIds?: any[];
|
|
20
|
+
overlap?: boolean;
|
|
20
21
|
}
|
|
21
22
|
declare function __VLS_template(): {
|
|
22
23
|
attrs: Partial<{}>;
|
|
@@ -33,8 +34,10 @@ declare function __VLS_template(): {
|
|
|
33
34
|
loading?: boolean;
|
|
34
35
|
}> & Readonly<{
|
|
35
36
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
37
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
36
38
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
37
39
|
"update:modelValue": (term: string) => any;
|
|
40
|
+
"update:search": (term: string) => any;
|
|
38
41
|
}, import('vue').PublicProps, {
|
|
39
42
|
size: "small" | "large";
|
|
40
43
|
loading: boolean;
|
|
@@ -60,6 +63,7 @@ declare function __VLS_template(): {
|
|
|
60
63
|
loading?: boolean;
|
|
61
64
|
}> & Readonly<{
|
|
62
65
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
66
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
63
67
|
}>, {}, {}, {}, {}, {
|
|
64
68
|
size: "small" | "large";
|
|
65
69
|
loading: boolean;
|
|
@@ -81,6 +85,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
81
85
|
}>, {
|
|
82
86
|
multiple: boolean;
|
|
83
87
|
width: number;
|
|
88
|
+
overlap: boolean;
|
|
84
89
|
itemSize: number;
|
|
85
90
|
subtitle: ((item: any) => string) | string;
|
|
86
91
|
selectedItemIds: any[];
|
|
@@ -100,8 +105,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
100
105
|
loading?: boolean;
|
|
101
106
|
}> & Readonly<{
|
|
102
107
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
108
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
103
109
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
104
110
|
"update:modelValue": (term: string) => any;
|
|
111
|
+
"update:search": (term: string) => any;
|
|
105
112
|
}, import('vue').PublicProps, {
|
|
106
113
|
size: "small" | "large";
|
|
107
114
|
loading: boolean;
|
|
@@ -127,6 +134,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
127
134
|
loading?: boolean;
|
|
128
135
|
}> & Readonly<{
|
|
129
136
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
137
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
130
138
|
}>, {}, {}, {}, {}, {
|
|
131
139
|
size: "small" | "large";
|
|
132
140
|
loading: boolean;
|
|
@@ -19,6 +19,8 @@ interface Props {
|
|
|
19
19
|
disableFullScreen?: boolean;
|
|
20
20
|
hideDownload?: boolean;
|
|
21
21
|
isFavoriteEnabled?: boolean;
|
|
22
|
+
isInSharebox?: boolean;
|
|
23
|
+
isPreviewMode?: boolean;
|
|
22
24
|
}
|
|
23
25
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
26
|
search: () => any;
|
|
@@ -12,6 +12,7 @@ interface Props {
|
|
|
12
12
|
onFileOpen: (id: File['id'], newTab?: boolean) => void;
|
|
13
13
|
onFileFetch: (id: File['id']) => Promise<FileRetrieve>;
|
|
14
14
|
onFolderFetch: (id?: Folder['id']) => Promise<FolderRetrieve>;
|
|
15
|
+
onFilesList: (params?: any) => Promise<any[]>;
|
|
15
16
|
selectedFilesIds?: File['id'][];
|
|
16
17
|
maxItemsToRender?: number;
|
|
17
18
|
title?: string;
|
|
@@ -30,8 +30,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
30
30
|
loading?: boolean;
|
|
31
31
|
}> & Readonly<{
|
|
32
32
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
33
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
33
34
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
35
|
"update:modelValue": (term: string) => any;
|
|
36
|
+
"update:search": (term: string) => any;
|
|
35
37
|
}, import('vue').PublicProps, {
|
|
36
38
|
size: "small" | "large";
|
|
37
39
|
loading: boolean;
|
|
@@ -57,6 +59,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
57
59
|
loading?: boolean;
|
|
58
60
|
}> & Readonly<{
|
|
59
61
|
"onUpdate:modelValue"?: ((term: string) => any) | undefined;
|
|
62
|
+
"onUpdate:search"?: ((term: string) => any) | undefined;
|
|
60
63
|
}>, {}, {}, {}, {}, {
|
|
61
64
|
size: "small" | "large";
|
|
62
65
|
loading: boolean;
|