@pitcher/js-api 1.25.0-beta.2 → 1.25.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.
Files changed (163) hide show
  1. package/impact-js-api.spec.json +7 -1
  2. package/js-api.esm.js +25 -4
  3. package/js-api.esm.js.map +1 -1
  4. package/js-api.umd.min.js +10 -10
  5. package/js-api.umd.min.js.map +1 -1
  6. package/lib/apps/browser/App.vue.d.ts +10 -9
  7. package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +195 -132
  8. package/lib/apps/browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts +96 -0
  9. package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +17 -0
  10. package/lib/apps/browser/components/FileSmartFolders.vue.d.ts +209 -0
  11. package/lib/apps/browser/stores/api.d.ts +6 -0
  12. package/lib/apps/browser/stores/app.d.ts +7 -2
  13. package/lib/apps/browser/stores/upload.d.ts +4 -4
  14. package/lib/apps/browser/stores/upload.types.d.ts +0 -1
  15. package/lib/apps/canvas-builder/App.vue.d.ts +356 -11
  16. package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +5 -1
  17. package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +10 -0
  18. package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -1
  19. package/lib/apps/canvas-builder/components/container/ControlBar/ReorderContent.vue.d.ts +1 -1
  20. package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +1230 -0
  21. package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +22 -0
  22. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +3 -0
  23. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +2 -0
  24. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridList.vue.d.ts +12 -0
  25. package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +12 -0
  26. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +7 -2
  27. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +9 -1
  28. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +6 -2
  29. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +4 -0
  30. package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +2 -1
  31. package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -0
  32. package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +6 -1
  33. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +31 -0
  34. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +31 -0
  35. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -6
  36. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -0
  37. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +2 -0
  38. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +12 -6
  39. package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +111 -0
  40. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +206 -31
  41. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +46 -6
  42. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +44 -6
  43. package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +2 -0
  44. package/lib/apps/canvas-builder/composables/useCanvasNodes.d.ts +16 -0
  45. package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -1
  46. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +120 -3
  47. package/lib/apps/canvas-builder/composables/useCanvasThemeAssets.d.ts +31 -0
  48. package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +4 -1
  49. package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -0
  50. package/lib/apps/canvas-builder/composables/useDataTablePrint.d.ts +5 -0
  51. package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -1
  52. package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -0
  53. package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -2
  54. package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -0
  55. package/lib/apps/canvas-builder/types/canvas.d.ts +45 -11
  56. package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -1
  57. package/lib/apps/canvas-builder/util/print.util.d.ts +1 -1
  58. package/lib/apps/canvas-builder/util/tiptap-table.util.d.ts +20 -0
  59. package/lib/apps/collection-player/App.vue.d.ts +1 -0
  60. package/lib/apps/collection-player/components/AppFooter.vue.d.ts +56 -1
  61. package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +15 -0
  62. package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -1
  63. package/lib/apps/collection-player/composables/annotation-layer.use.d.ts +13 -0
  64. package/lib/apps/collection-player/composables/laser-pointer-marker.use.d.ts +166 -0
  65. package/lib/apps/collection-player/composables/markerjs.use.d.ts +8 -0
  66. package/lib/apps/collection-player/composables/new-zoom.use.d.ts +12 -0
  67. package/lib/apps/collection-player/stores/app.store.d.ts +4 -1
  68. package/lib/apps/collection-selector/App.vue.d.ts +33 -0
  69. package/lib/apps/content-selector/appTypes.d.ts +1 -0
  70. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +195 -132
  71. package/lib/apps/content-selector/components/MultimediaSelectorApp.vue.d.ts +12 -0
  72. package/lib/apps/content-selector/components/ThemeImages.vue.d.ts +2 -0
  73. package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +4 -0
  74. package/lib/apps/content-selector/composables/useMultimediaSelectorApps.d.ts +21 -0
  75. package/lib/apps/content-selector/composables/useStore.d.ts +4 -0
  76. package/lib/apps/content-selector/stores/api.d.ts +19 -228
  77. package/lib/apps/content-selector/stores/app.d.ts +45 -66
  78. package/lib/apps/ppt-conversion-selector/components/AppHeader.vue.d.ts +2 -0
  79. package/lib/canvas-comments/components/CommentButton.vue.d.ts +6 -0
  80. package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +21 -0
  81. package/lib/canvas-comments/components/SimpleComments.vue.d.ts +14 -0
  82. package/lib/components/CApexChart/CApexChartLine.vue.d.ts +1 -1
  83. package/lib/components/CButton/CButton.vue.d.ts +3 -3
  84. package/lib/components/CCreateThemeModal/steps/CThemeAssetsStep.vue.d.ts +19 -0
  85. package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +1 -1
  86. package/lib/components/CFileViewer/CFileViewer.types.d.ts +8 -0
  87. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +18 -0
  88. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +3 -0
  89. package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +1 -0
  90. package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -0
  91. package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +69 -0
  92. package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +2 -0
  93. package/lib/components/CInput/CInput.vue.d.ts +3 -3
  94. package/lib/components/CList/CList.vue.d.ts +1 -1
  95. package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +4 -4
  96. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +90 -1
  97. package/lib/components/CTable/CTable.vue.d.ts +3 -1
  98. package/lib/components/CTableTag/CTableTag.vue.d.ts +4687 -0
  99. package/lib/components/CTags/CTags.vue.d.ts +3 -3
  100. package/lib/components/CThemePreview/CThemePreview.vue.d.ts +1 -1
  101. package/lib/components/CThumbnail/CThumbnail.vue.d.ts +43 -0
  102. package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -9
  103. package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -2
  104. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +582 -266
  105. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +195 -132
  106. package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
  107. package/lib/components/savedCanvases/CCanvasAccountModal.vue.d.ts +23 -0
  108. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +20 -5
  109. package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +21 -2
  110. package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -0
  111. package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +3 -1
  112. package/lib/components/sections/CSectionManagement.vue.d.ts +6 -2
  113. package/lib/components/themes/CThemeManagement.vue.d.ts +6 -2
  114. package/lib/composables/useCanvasLocks.d.ts +3 -4
  115. package/lib/composables/useCommentTracking.d.ts +25 -0
  116. package/lib/composables/useCommentsStorage.d.ts +70 -0
  117. package/lib/composables/useFileDisplayHelpers.d.ts +2 -0
  118. package/lib/composables/useInstalledApps.d.ts +1 -0
  119. package/lib/composables/useMetadataFilters.d.ts +2 -2
  120. package/lib/composables/useMetadataSearch.d.ts +2 -1
  121. package/lib/composables/useSharedCommentsStorage.d.ts +32 -0
  122. package/lib/constants/cdp.const.d.ts +6 -0
  123. package/lib/constants/roles.const.d.ts +16 -0
  124. package/lib/directives/element-mounted.d.ts +4 -0
  125. package/lib/main.lib.d.ts +6 -0
  126. package/lib/sdk/api/HighLevelApi.d.ts +2 -0
  127. package/lib/sdk/api/modules/admin/index.d.ts +1 -0
  128. package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -0
  129. package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
  130. package/lib/sdk/api/modules/env.d.ts +1 -0
  131. package/lib/sdk/api/modules/query.d.ts +2 -1
  132. package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -0
  133. package/lib/sdk/interfaces.d.ts +1 -0
  134. package/lib/sdk/main.d.ts +8 -0
  135. package/lib/sdk/payload.types.d.ts +14 -0
  136. package/lib/types/app.d.ts +12 -1
  137. package/lib/types/call.d.ts +1 -2
  138. package/lib/types/canvasTheme.d.ts +12 -0
  139. package/lib/types/core/MetadataFilter.d.ts +1 -0
  140. package/lib/types/i18n.types.d.ts +1 -1
  141. package/lib/types/instanceSettings.types.d.ts +2 -0
  142. package/lib/types/launchDarkly.types.d.ts +1 -1
  143. package/lib/types/organizationSettings.types.d.ts +19 -0
  144. package/lib/util/image.d.ts +4 -0
  145. package/lib/util/style.util.d.ts +1 -0
  146. package/lib/util/userAgents.d.ts +1 -0
  147. package/package.json +1 -1
  148. package/types/openapi/models/App.d.ts +1 -0
  149. package/types/openapi/models/CanvasCreate.d.ts +1 -0
  150. package/types/openapi/models/CanvasRecommendedFile.d.ts +2 -0
  151. package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
  152. package/types/openapi/models/CanvasUpdate.d.ts +1 -0
  153. package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
  154. package/types/openapi/models/DeletedFile.d.ts +2 -0
  155. package/types/openapi/models/File.d.ts +2 -0
  156. package/types/openapi/models/FileCreate.d.ts +2 -0
  157. package/types/openapi/models/FileCreateRequest.d.ts +1 -0
  158. package/types/openapi/models/FileRetrieve.d.ts +2 -0
  159. package/types/openapi/models/FileUpdate.d.ts +2 -0
  160. package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
  161. package/types/openapi/models/InstanceMembershipUser.d.ts +2 -0
  162. package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
  163. 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;
@@ -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: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
5
- disabled?: boolean;
6
- engagingIds?: string[];
7
- entity: import('../../../../../../main.lib').MetadataFilterRequest["entity"];
8
- includeDraftValues?: boolean;
9
- isSection?: import('../../../../../../main.lib').MetadataFilterRequest["is_section"];
10
- isTemplate?: import('../../../../../../main.lib').MetadataFilterRequest["is_template"];
11
- searchInOptions?: import('../../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[];
12
- filters?: Record<string, any>;
13
- initialSearchValue?: string;
14
- ownerId?: number | null;
15
- placeholder?: string;
16
- popularIds?: string[];
17
- recommendedIds?: string[];
18
- showLatestFilter?: boolean;
19
- hideMetadataFilters?: boolean;
20
- hideFilters?: boolean;
21
- customFilterComponents?: {
22
- type: import('../../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
23
- name: string;
24
- label: string;
25
- options?: [];
26
- }[];
27
- enableDependentFilters?: boolean;
28
- dependentFiltersEntity?: "file" | "canvas";
29
- }> & Readonly<{
30
- "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
31
- "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
32
- "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
33
- }>, {
34
- clearSearch: () => void;
35
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
- "update:search": (search: string, filters?: Record<string, any> | undefined) => any;
37
- "update:filters": (filters: Record<string, any>) => any;
38
- "update:searchIn": (searchIn: string) => any;
39
- }, import('vue').PublicProps, {
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
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
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
- filters: Record<string, any>;
165
- placeholder: string;
166
- initialSearchValue: string;
167
- includeDraftValues: boolean;
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;