@pitcher/js-api 1.25.0-beta.2 → 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 +21 -4
- 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 +10 -9
- 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 +6 -0
- package/lib/apps/browser/stores/app.d.ts +7 -2
- 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/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/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/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/CSearchFilters/CSearchFilters.vue.d.ts +90 -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/filters/CSearchFilter.vue.d.ts +2 -0
- 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 +1 -0
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -0
- package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
- 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 +5 -0
- package/lib/sdk/payload.types.d.ts +14 -0
- 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
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { MarkerBaseState, MarkerEditorProperties, IPoint } from '@markerjs/markerjs3';
|
|
2
|
+
/**
|
|
3
|
+
* Types only - safe for SSR
|
|
4
|
+
*/
|
|
5
|
+
interface TimedPoint extends IPoint {
|
|
6
|
+
timestamp: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Represents laser pointer marker's state.
|
|
10
|
+
*/
|
|
11
|
+
export interface LaserPointerMarkerState extends MarkerBaseState {
|
|
12
|
+
/**
|
|
13
|
+
* Points of the laser path.
|
|
14
|
+
*/
|
|
15
|
+
points: Array<IPoint>;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the laser pointer is active.
|
|
18
|
+
*/
|
|
19
|
+
isActive: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Size of the laser dot
|
|
22
|
+
*/
|
|
23
|
+
dotSize: number;
|
|
24
|
+
}
|
|
25
|
+
declare const FreehandMarker: typeof import('@markerjs/markerjs3').FreehandMarker, FreehandMarkerEditor: typeof import('@markerjs/markerjs3').FreehandMarkerEditor;
|
|
26
|
+
/**
|
|
27
|
+
* A smooth laser pointer similar to Slack's huddle drawing tool
|
|
28
|
+
* @summary Laser pointer marker
|
|
29
|
+
* @group Markers
|
|
30
|
+
*/
|
|
31
|
+
export declare class LaserPointerMarker extends FreehandMarker {
|
|
32
|
+
static typeName: string;
|
|
33
|
+
static title: string;
|
|
34
|
+
static applyDefaultFilter: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Points with timestamps for fade effect
|
|
37
|
+
*/
|
|
38
|
+
protected timedPoints: TimedPoint[];
|
|
39
|
+
/**
|
|
40
|
+
* The main dot element - made public for editor access
|
|
41
|
+
*/
|
|
42
|
+
laserDot?: SVGCircleElement;
|
|
43
|
+
/**
|
|
44
|
+
* The trail element
|
|
45
|
+
*/
|
|
46
|
+
protected laserTrail?: SVGPathElement;
|
|
47
|
+
/**
|
|
48
|
+
* Duration in milliseconds that trail points remain visible
|
|
49
|
+
*/
|
|
50
|
+
protected trailDuration: number;
|
|
51
|
+
/**
|
|
52
|
+
* Animation frame ID
|
|
53
|
+
*/
|
|
54
|
+
protected animationFrameId: number | null;
|
|
55
|
+
/**
|
|
56
|
+
* Current pointer position
|
|
57
|
+
*/
|
|
58
|
+
protected currentPosition: IPoint;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the pointer is currently active/visible
|
|
61
|
+
*/
|
|
62
|
+
protected isActive: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Size of the laser dot
|
|
65
|
+
*/
|
|
66
|
+
protected dotSize: number;
|
|
67
|
+
constructor(container: SVGGElement);
|
|
68
|
+
/**
|
|
69
|
+
* Get current dot size
|
|
70
|
+
*/
|
|
71
|
+
get getDotSize(): number;
|
|
72
|
+
/**
|
|
73
|
+
* Set dot size
|
|
74
|
+
*/
|
|
75
|
+
set setDotSize(value: number);
|
|
76
|
+
/**
|
|
77
|
+
* Updates the current position
|
|
78
|
+
*/
|
|
79
|
+
updatePosition(point: IPoint): void;
|
|
80
|
+
/**
|
|
81
|
+
* Generates trail path based on recent points
|
|
82
|
+
*/
|
|
83
|
+
getTrailPath(): string;
|
|
84
|
+
/**
|
|
85
|
+
* Starts animation loop
|
|
86
|
+
*/
|
|
87
|
+
startAnimation(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Stops animation loop
|
|
90
|
+
*/
|
|
91
|
+
stopAnimation(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Creates the visual elements for the laser pointer
|
|
94
|
+
*/
|
|
95
|
+
createVisual(): void;
|
|
96
|
+
/**
|
|
97
|
+
* Updates visual elements
|
|
98
|
+
*/
|
|
99
|
+
adjustVisual(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Sets active state of the laser pointer
|
|
102
|
+
*/
|
|
103
|
+
setActive(active: boolean): void;
|
|
104
|
+
/**
|
|
105
|
+
* Completely removes the visual elements when the tool is no longer in use
|
|
106
|
+
*/
|
|
107
|
+
clearVisuals(): void;
|
|
108
|
+
/**
|
|
109
|
+
* Disposes the marker and cleans up.
|
|
110
|
+
*/
|
|
111
|
+
dispose(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Returns marker's state that can be restored in the future.
|
|
114
|
+
*/
|
|
115
|
+
getState(): LaserPointerMarkerState;
|
|
116
|
+
/**
|
|
117
|
+
* Restores previously saved marker state.
|
|
118
|
+
*
|
|
119
|
+
* @param state - previously saved state.
|
|
120
|
+
*/
|
|
121
|
+
restoreState(state: MarkerBaseState): void;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Editor for laser pointer markers.
|
|
125
|
+
*
|
|
126
|
+
* @summary Laser pointer marker editor.
|
|
127
|
+
* @group Editors
|
|
128
|
+
*/
|
|
129
|
+
export declare class LaserPointerMarkerEditor extends FreehandMarkerEditor<LaserPointerMarker> {
|
|
130
|
+
private lastPointerPosition;
|
|
131
|
+
private isPointerDown;
|
|
132
|
+
constructor(properties: MarkerEditorProperties<LaserPointerMarker>);
|
|
133
|
+
/**
|
|
134
|
+
* Sets up the custom cursor for the laser pointer tool
|
|
135
|
+
*/
|
|
136
|
+
private setupCustomCursor;
|
|
137
|
+
/**
|
|
138
|
+
* Update laser pointer on mouse move
|
|
139
|
+
*/
|
|
140
|
+
manipulate(point: IPoint): void;
|
|
141
|
+
/**
|
|
142
|
+
* Updates cursor visibility and position
|
|
143
|
+
*/
|
|
144
|
+
private updateCursorVisibility;
|
|
145
|
+
/**
|
|
146
|
+
* Show on mouse down
|
|
147
|
+
*/
|
|
148
|
+
pointerDown(point: IPoint, target?: EventTarget, ev?: PointerEvent): void;
|
|
149
|
+
/**
|
|
150
|
+
* Hide on mouse up
|
|
151
|
+
*/
|
|
152
|
+
pointerUp(point: IPoint, ev?: PointerEvent): void;
|
|
153
|
+
/**
|
|
154
|
+
* Override select to ensure cursor is set correctly
|
|
155
|
+
*/
|
|
156
|
+
select(): void;
|
|
157
|
+
/**
|
|
158
|
+
* Override deselect to restore default cursor
|
|
159
|
+
*/
|
|
160
|
+
deselect(): void;
|
|
161
|
+
/**
|
|
162
|
+
* When user switches to a different tool or finishes using this tool
|
|
163
|
+
*/
|
|
164
|
+
dispose(): void;
|
|
165
|
+
}
|
|
166
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MarkerBaseEditor, MarkerBase } from '@markerjs/markerjs3';
|
|
2
|
+
export declare const useMarkerjs3: () => Promise<{
|
|
3
|
+
markerjs3: typeof import("@markerjs/markerjs3");
|
|
4
|
+
laserPointer: {
|
|
5
|
+
LaserPointerMarkerEditor: typeof MarkerBaseEditor<MarkerBase>;
|
|
6
|
+
LaserPointerMarker: typeof MarkerBase;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { CollectionSlide } from '../types/collection-player.type';
|
|
3
|
+
import { useAnnotationLayer } from './annotation-layer.use.ts';
|
|
4
|
+
declare const _default: (annotationLayer: ReturnType<typeof useAnnotationLayer>, activeSlide: Ref<CollectionSlide | null>) => {
|
|
5
|
+
zoom: Ref<number, number>;
|
|
6
|
+
isZoomEnabled: import('vue').ComputedRef<boolean | null>;
|
|
7
|
+
resetZoom: () => void;
|
|
8
|
+
zoomIn: () => void;
|
|
9
|
+
zoomOut: () => void;
|
|
10
|
+
onZoomChangeEvent: () => void;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -3,11 +3,13 @@ import { CollectionGroup, CollectionPlayer, CollectionSlide } from '../types/col
|
|
|
3
3
|
import { default as Swiper } from 'swiper';
|
|
4
4
|
import { File } from '../../../../types/openapi';
|
|
5
5
|
import { default as useZoom } from '../composables/zoom.use';
|
|
6
|
+
import { default as useNewZoom } from '../composables/new-zoom.use';
|
|
6
7
|
import { default as useFullscreen } from '../composables/fullscreen.use';
|
|
7
8
|
import { CollectionFileEntity, NodeInfo } from '../../canvas-builder/types/canvas';
|
|
8
9
|
import { ActionCallback, default as useKeyboardBindings } from '../composables/keyboard-bindings.use';
|
|
9
10
|
import { default as useSlideDirection } from '../composables/slide-direction.use';
|
|
10
11
|
import { useCacheNavigation } from '../composables/navigation-cache.use';
|
|
12
|
+
import { useAnnotationLayer } from '../composables/annotation-layer.use';
|
|
11
13
|
export type RenderPageAsImage = (payload: {
|
|
12
14
|
fileId: File['id'];
|
|
13
15
|
documentId?: File['id'];
|
|
@@ -52,7 +54,7 @@ type StoreData = {
|
|
|
52
54
|
swiperElement: Ref<(HTMLElement & {
|
|
53
55
|
swiper: Swiper;
|
|
54
56
|
}) | null>;
|
|
55
|
-
zoom: ReturnType<typeof useZoom>;
|
|
57
|
+
zoom: ReturnType<typeof useZoom | typeof useNewZoom>;
|
|
56
58
|
fullscreen: ReturnType<typeof useFullscreen>;
|
|
57
59
|
data: Ref<CollectionPlayer>;
|
|
58
60
|
visibleGroups: ComputedRef<CollectionGroup[]>;
|
|
@@ -76,6 +78,7 @@ type StoreData = {
|
|
|
76
78
|
cacheNavigation: ReturnType<typeof useCacheNavigation>;
|
|
77
79
|
nodeId?: string;
|
|
78
80
|
handleKeyAction: ActionCallback;
|
|
81
|
+
annotationLayer: ReturnType<typeof useAnnotationLayer>;
|
|
79
82
|
};
|
|
80
83
|
export declare function provideAppStore({ data, isEditMode, rootElement, api, emit, options, isLoading, nodeId, inModal, }: StorePayload): StoreData;
|
|
81
84
|
export declare function useAppStore(): StoreData;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CollectionPlayer, CollectionSlide } from '../collection-player/types/collection-player.type';
|
|
2
|
+
import { CollectionSelectorProps } from './types/collection-selector.type';
|
|
3
|
+
export type Emit = {
|
|
4
|
+
close: [CollectionPlayer];
|
|
5
|
+
settings: [CollectionPlayer];
|
|
6
|
+
cancel: [];
|
|
7
|
+
contentChange: [CollectionSlide];
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<CollectionSelectorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
settings: (args_0: CollectionPlayer) => any;
|
|
11
|
+
cancel: () => any;
|
|
12
|
+
close: (args_0: CollectionPlayer) => any;
|
|
13
|
+
contentChange: (args_0: CollectionSlide) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<CollectionSelectorProps> & Readonly<{
|
|
15
|
+
onSettings?: ((args_0: CollectionPlayer) => any) | undefined;
|
|
16
|
+
onCancel?: (() => any) | undefined;
|
|
17
|
+
onClose?: ((args_0: CollectionPlayer) => any) | undefined;
|
|
18
|
+
onContentChange?: ((args_0: CollectionSlide) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
contentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<import('vue-draggable-plus').VueDraggableProps>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
23
|
+
P: {};
|
|
24
|
+
B: {};
|
|
25
|
+
D: {};
|
|
26
|
+
C: {};
|
|
27
|
+
M: {};
|
|
28
|
+
Defaults: {};
|
|
29
|
+
}, Readonly<import('vue').ExtractPropTypes<import('vue-draggable-plus').VueDraggableProps>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
}> | null;
|
|
32
|
+
}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -11,6 +11,7 @@ export type AppProps = {
|
|
|
11
11
|
allowedAssetContentTypes?: FileContentTypeEnum[];
|
|
12
12
|
allowedIds?: File['id'][];
|
|
13
13
|
allowedOriginalExtensions?: string[];
|
|
14
|
+
allowMultimediaSelectorApp?: boolean;
|
|
14
15
|
contentType: 'file' | 'slide' | 'content';
|
|
15
16
|
initialMetadataFilters?: Record<string, any>;
|
|
16
17
|
zIndex?: number;
|
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts
CHANGED
|
@@ -1,42 +1,194 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
2
|
wrapperRef: HTMLDivElement;
|
|
3
3
|
toolbarWrapperRef: HTMLDivElement;
|
|
4
|
-
searchFiltersRef:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
4
|
+
searchFiltersRef: ({
|
|
5
|
+
$: import('vue').ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: {
|
|
8
|
+
readonly disabled?: boolean | undefined;
|
|
9
|
+
readonly engagingIds?: string[] | undefined;
|
|
10
|
+
readonly entity: import('../../../../../../main.lib').MetadataFilterRequest["entity"];
|
|
11
|
+
readonly includeDraftValues?: boolean | undefined;
|
|
12
|
+
readonly isSection?: boolean | undefined;
|
|
13
|
+
readonly isTemplate?: boolean | undefined;
|
|
14
|
+
readonly searchInOptions?: import('../../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[] | undefined;
|
|
15
|
+
readonly filters?: Record<string, any> | undefined;
|
|
16
|
+
readonly initialSearchValue?: string | undefined;
|
|
17
|
+
readonly ownerId?: number | null | undefined;
|
|
18
|
+
readonly placeholder?: string | undefined;
|
|
19
|
+
readonly popularIds?: string[] | undefined;
|
|
20
|
+
readonly recommendedIds?: string[] | undefined;
|
|
21
|
+
readonly showLatestFilter?: boolean | undefined;
|
|
22
|
+
readonly hideMetadataFilters?: boolean | undefined;
|
|
23
|
+
readonly hideFilters?: boolean | undefined;
|
|
24
|
+
readonly customFilterComponents?: {
|
|
25
|
+
type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
26
|
+
name: string;
|
|
27
|
+
label: string;
|
|
28
|
+
options?: [];
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
readonly enableDependentFilters?: boolean | undefined;
|
|
31
|
+
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
32
|
+
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
33
|
+
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
34
|
+
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
35
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
36
|
+
$attrs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
$refs: {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
} & {
|
|
42
|
+
searchOnClickRef: ({
|
|
43
|
+
$: import('vue').ComponentInternalInstance;
|
|
44
|
+
$data: {};
|
|
45
|
+
$props: {
|
|
46
|
+
readonly disabled?: boolean | undefined;
|
|
47
|
+
readonly placeholder?: string | undefined;
|
|
48
|
+
readonly fullWidth?: boolean | undefined;
|
|
49
|
+
readonly initialSearchValue?: string | undefined;
|
|
50
|
+
readonly onSearch?: ((s: string) => any) | undefined;
|
|
51
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
|
+
$attrs: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
$refs: {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
};
|
|
58
|
+
$slots: Readonly<{
|
|
59
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
62
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$host: Element | null;
|
|
64
|
+
$emit: (event: "search", s: string) => void;
|
|
65
|
+
$el: HTMLDivElement;
|
|
66
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
placeholder?: string;
|
|
69
|
+
fullWidth?: boolean;
|
|
70
|
+
initialSearchValue?: string;
|
|
71
|
+
}> & Readonly<{
|
|
72
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
clear: () => Promise<void>;
|
|
75
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
|
+
search: (s: string) => any;
|
|
77
|
+
}, string, {
|
|
78
|
+
initialSearchValue: string;
|
|
79
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
80
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
81
|
+
created?: (() => void) | (() => void)[];
|
|
82
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
83
|
+
mounted?: (() => void) | (() => void)[];
|
|
84
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
85
|
+
updated?: (() => void) | (() => void)[];
|
|
86
|
+
activated?: (() => void) | (() => void)[];
|
|
87
|
+
deactivated?: (() => void) | (() => void)[];
|
|
88
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
89
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
90
|
+
destroyed?: (() => void) | (() => void)[];
|
|
91
|
+
unmounted?: (() => void) | (() => void)[];
|
|
92
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
93
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
94
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
95
|
+
};
|
|
96
|
+
$forceUpdate: () => void;
|
|
97
|
+
$nextTick: typeof import('vue').nextTick;
|
|
98
|
+
$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;
|
|
99
|
+
} & Readonly<{
|
|
100
|
+
initialSearchValue: string;
|
|
101
|
+
}> & Omit<Readonly<{
|
|
102
|
+
disabled?: boolean;
|
|
103
|
+
placeholder?: string;
|
|
104
|
+
fullWidth?: boolean;
|
|
105
|
+
initialSearchValue?: string;
|
|
106
|
+
}> & Readonly<{
|
|
107
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
108
|
+
}>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
|
|
109
|
+
clear: () => Promise<void>;
|
|
110
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
111
|
+
$slots: {
|
|
112
|
+
options?(_: {}): any;
|
|
113
|
+
};
|
|
114
|
+
}) | null;
|
|
115
|
+
};
|
|
116
|
+
$slots: Readonly<{
|
|
117
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
120
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
121
|
+
$host: Element | null;
|
|
122
|
+
$emit: ((event: "update:search", search: string, filters?: Record<string, any> | undefined) => void) & ((event: "update:filters", filters: Record<string, any>) => void) & ((event: "update:searchIn", searchIn: string) => void);
|
|
123
|
+
$el: HTMLDivElement;
|
|
124
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
125
|
+
disabled?: boolean;
|
|
126
|
+
engagingIds?: string[];
|
|
127
|
+
entity: import('../../../../../../main.lib').MetadataFilterRequest["entity"];
|
|
128
|
+
includeDraftValues?: boolean;
|
|
129
|
+
isSection?: import('../../../../../../main.lib').MetadataFilterRequest["is_section"];
|
|
130
|
+
isTemplate?: import('../../../../../../main.lib').MetadataFilterRequest["is_template"];
|
|
131
|
+
searchInOptions?: import('../../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[];
|
|
132
|
+
filters?: Record<string, any>;
|
|
133
|
+
initialSearchValue?: string;
|
|
134
|
+
ownerId?: number | null;
|
|
135
|
+
placeholder?: string;
|
|
136
|
+
popularIds?: string[];
|
|
137
|
+
recommendedIds?: string[];
|
|
138
|
+
showLatestFilter?: boolean;
|
|
139
|
+
hideMetadataFilters?: boolean;
|
|
140
|
+
hideFilters?: boolean;
|
|
141
|
+
customFilterComponents?: {
|
|
142
|
+
type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
|
|
143
|
+
name: string;
|
|
144
|
+
label: string;
|
|
145
|
+
options?: [];
|
|
146
|
+
}[];
|
|
147
|
+
enableDependentFilters?: boolean;
|
|
148
|
+
dependentFiltersEntity?: "file" | "canvas";
|
|
149
|
+
}> & Readonly<{
|
|
150
|
+
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
151
|
+
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
152
|
+
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
clearSearch: () => void;
|
|
155
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
156
|
+
"update:search": (search: string, filters?: Record<string, any> | undefined) => any;
|
|
157
|
+
"update:filters": (filters: Record<string, any>) => any;
|
|
158
|
+
"update:searchIn": (searchIn: string) => any;
|
|
159
|
+
}, string, {
|
|
160
|
+
filters: Record<string, any>;
|
|
161
|
+
placeholder: string;
|
|
162
|
+
initialSearchValue: string;
|
|
163
|
+
includeDraftValues: boolean;
|
|
164
|
+
engagingIds: string[];
|
|
165
|
+
popularIds: string[];
|
|
166
|
+
recommendedIds: string[];
|
|
167
|
+
showLatestFilter: boolean;
|
|
168
|
+
hideMetadataFilters: boolean;
|
|
169
|
+
hideFilters: boolean;
|
|
170
|
+
dependentFiltersEntity: "file" | "canvas";
|
|
171
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
172
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
173
|
+
created?: (() => void) | (() => void)[];
|
|
174
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
175
|
+
mounted?: (() => void) | (() => void)[];
|
|
176
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
177
|
+
updated?: (() => void) | (() => void)[];
|
|
178
|
+
activated?: (() => void) | (() => void)[];
|
|
179
|
+
deactivated?: (() => void) | (() => void)[];
|
|
180
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
181
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
182
|
+
destroyed?: (() => void) | (() => void)[];
|
|
183
|
+
unmounted?: (() => void) | (() => void)[];
|
|
184
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
185
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
186
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
187
|
+
};
|
|
188
|
+
$forceUpdate: () => void;
|
|
189
|
+
$nextTick: typeof import('vue').nextTick;
|
|
190
|
+
$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;
|
|
191
|
+
} & Readonly<{
|
|
40
192
|
filters: Record<string, any>;
|
|
41
193
|
placeholder: string;
|
|
42
194
|
initialSearchValue: string;
|
|
@@ -48,88 +200,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
48
200
|
hideMetadataFilters: boolean;
|
|
49
201
|
hideFilters: boolean;
|
|
50
202
|
dependentFiltersEntity: "file" | "canvas";
|
|
51
|
-
}
|
|
52
|
-
searchOnClickRef: ({
|
|
53
|
-
$: import('vue').ComponentInternalInstance;
|
|
54
|
-
$data: {};
|
|
55
|
-
$props: {
|
|
56
|
-
readonly disabled?: boolean | undefined;
|
|
57
|
-
readonly placeholder?: string | undefined;
|
|
58
|
-
readonly fullWidth?: boolean | undefined;
|
|
59
|
-
readonly initialSearchValue?: string | undefined;
|
|
60
|
-
readonly onSearch?: ((s: string) => any) | undefined;
|
|
61
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
62
|
-
$attrs: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
$refs: {
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
};
|
|
68
|
-
$slots: Readonly<{
|
|
69
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
72
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
73
|
-
$host: Element | null;
|
|
74
|
-
$emit: (event: "search", s: string) => void;
|
|
75
|
-
$el: HTMLDivElement;
|
|
76
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
placeholder?: string;
|
|
79
|
-
fullWidth?: boolean;
|
|
80
|
-
initialSearchValue?: string;
|
|
81
|
-
}> & Readonly<{
|
|
82
|
-
onSearch?: ((s: string) => any) | undefined;
|
|
83
|
-
}>, {
|
|
84
|
-
clear: () => Promise<void>;
|
|
85
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
|
-
search: (s: string) => any;
|
|
87
|
-
}, string, {
|
|
88
|
-
initialSearchValue: string;
|
|
89
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
90
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
91
|
-
created?: (() => void) | (() => void)[];
|
|
92
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
93
|
-
mounted?: (() => void) | (() => void)[];
|
|
94
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
95
|
-
updated?: (() => void) | (() => void)[];
|
|
96
|
-
activated?: (() => void) | (() => void)[];
|
|
97
|
-
deactivated?: (() => void) | (() => void)[];
|
|
98
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
99
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
100
|
-
destroyed?: (() => void) | (() => void)[];
|
|
101
|
-
unmounted?: (() => void) | (() => void)[];
|
|
102
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
103
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
104
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
105
|
-
};
|
|
106
|
-
$forceUpdate: () => void;
|
|
107
|
-
$nextTick: typeof import('vue').nextTick;
|
|
108
|
-
$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;
|
|
109
|
-
} & Readonly<{
|
|
110
|
-
initialSearchValue: string;
|
|
111
|
-
}> & Omit<Readonly<{
|
|
112
|
-
disabled?: boolean;
|
|
113
|
-
placeholder?: string;
|
|
114
|
-
fullWidth?: boolean;
|
|
115
|
-
initialSearchValue?: string;
|
|
116
|
-
}> & Readonly<{
|
|
117
|
-
onSearch?: ((s: string) => any) | undefined;
|
|
118
|
-
}>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
|
|
119
|
-
clear: () => Promise<void>;
|
|
120
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
121
|
-
$slots: {
|
|
122
|
-
options?(_: {}): any;
|
|
123
|
-
};
|
|
124
|
-
}) | null;
|
|
125
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
126
|
-
P: {};
|
|
127
|
-
B: {};
|
|
128
|
-
D: {};
|
|
129
|
-
C: {};
|
|
130
|
-
M: {};
|
|
131
|
-
Defaults: {};
|
|
132
|
-
}, Readonly<{
|
|
203
|
+
}> & Omit<Readonly<{
|
|
133
204
|
disabled?: boolean;
|
|
134
205
|
engagingIds?: string[];
|
|
135
206
|
entity: import('../../../../../../main.lib').MetadataFilterRequest["entity"];
|
|
@@ -158,20 +229,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
158
229
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
159
230
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
160
231
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
161
|
-
}>, {
|
|
232
|
+
}>, "clearSearch" | ("filters" | "placeholder" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
162
233
|
clearSearch: () => void;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
engagingIds: string[];
|
|
169
|
-
popularIds: string[];
|
|
170
|
-
recommendedIds: string[];
|
|
171
|
-
showLatestFilter: boolean;
|
|
172
|
-
hideMetadataFilters: boolean;
|
|
173
|
-
hideFilters: boolean;
|
|
174
|
-
dependentFiltersEntity: "file" | "canvas";
|
|
175
|
-
}> | null;
|
|
234
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
235
|
+
$slots: {
|
|
236
|
+
'input-suffix'?(_: {}): any;
|
|
237
|
+
};
|
|
238
|
+
}) | null;
|
|
176
239
|
}, HTMLDivElement>;
|
|
177
240
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MultimediaSelectorItem } from '../composables/useMultimediaSelectorApps';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
appId: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
add: (item: MultimediaSelectorItem) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onAdd?: ((item: MultimediaSelectorItem) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
+
iframeRef: HTMLIFrameElement;
|
|
11
|
+
}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -17,6 +17,8 @@ type __VLS_Props = {
|
|
|
17
17
|
created_by_user_id?: User['id'];
|
|
18
18
|
};
|
|
19
19
|
isSelected?: boolean;
|
|
20
|
+
isDeleteDisabled?: boolean;
|
|
21
|
+
deleteDisabledTooltip?: string;
|
|
20
22
|
};
|
|
21
23
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
24
|
itemSelected: (...args: any[]) => void;
|
|
@@ -48,5 +50,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
48
50
|
content_extension?: string | null;
|
|
49
51
|
created_by_user_id?: User["id"];
|
|
50
52
|
};
|
|
53
|
+
isDeleteDisabled: boolean;
|
|
54
|
+
deleteDisabledTooltip: string;
|
|
51
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
56
|
export default _default;
|