@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
@@ -8,6 +8,7 @@ declare function __VLS_template(): {
8
8
  slots: {
9
9
  'single-file-details'?(_: {}): any;
10
10
  'single-file-details'?(_: {}): any;
11
+ 'single-file-details'?(_: {}): any;
11
12
  };
12
13
  refs: {
13
14
  app: HTMLDivElement;
@@ -29,6 +30,12 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
29
30
  favoritesFetcher: import('vue').Ref<import('./stores/api').FavoritesFetcher | null, import('./stores/api').FavoritesFetcher | null>;
30
31
  refreshSelectedFolderDetails: typeof refreshSelectedFolderDetails;
31
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ addToSharebox: (fileShareboxItem: {
34
+ fileId: FileRetrieve["id"];
35
+ name: FileRetrieve["name"];
36
+ type: "file";
37
+ thumbnailUrl?: string;
38
+ }) => any;
32
39
  viewFileDetails: (id: string) => any;
33
40
  generateKeypoints: (id: string) => any;
34
41
  onSectionChange: (params: {
@@ -36,13 +43,13 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
36
43
  folderId: string;
37
44
  newTab?: boolean;
38
45
  }) => any;
39
- addToSharebox: (fileShareboxItem: {
46
+ }, string, import('vue').PublicProps, Readonly<BrowserAppProps> & Readonly<{
47
+ onAddToSharebox?: ((fileShareboxItem: {
40
48
  fileId: FileRetrieve["id"];
41
49
  name: FileRetrieve["name"];
42
50
  type: "file";
43
51
  thumbnailUrl?: string;
44
- }) => any;
45
- }, string, import('vue').PublicProps, Readonly<BrowserAppProps> & Readonly<{
52
+ }) => any) | undefined;
46
53
  onViewFileDetails?: ((id: string) => any) | undefined;
47
54
  onGenerateKeypoints?: ((id: string) => any) | undefined;
48
55
  onOnSectionChange?: ((params: {
@@ -50,12 +57,6 @@ declare const __VLS_component: import('vue').DefineComponent<BrowserAppProps, {
50
57
  folderId: string;
51
58
  newTab?: boolean;
52
59
  }) => any) | undefined;
53
- onAddToSharebox?: ((fileShareboxItem: {
54
- fileId: FileRetrieve["id"];
55
- name: FileRetrieve["name"];
56
- type: "file";
57
- thumbnailUrl?: string;
58
- }) => any) | undefined;
59
60
  }>, {
60
61
  appName: import('./stores/app').AppName;
61
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1,40 +1,192 @@
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
- searchFiltersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
- disabled?: boolean;
4
- engagingIds?: string[];
5
- entity: import('../../../../../main.lib').MetadataFilterRequest["entity"];
6
- includeDraftValues?: boolean;
7
- isSection?: import('../../../../../main.lib').MetadataFilterRequest["is_section"];
8
- isTemplate?: import('../../../../../main.lib').MetadataFilterRequest["is_template"];
9
- searchInOptions?: import('../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[];
10
- filters?: Record<string, any>;
11
- initialSearchValue?: string;
12
- ownerId?: number | null;
13
- placeholder?: string;
14
- popularIds?: string[];
15
- recommendedIds?: string[];
16
- showLatestFilter?: boolean;
17
- hideMetadataFilters?: boolean;
18
- hideFilters?: boolean;
19
- customFilterComponents?: {
20
- type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
21
- name: string;
22
- label: string;
23
- options?: [];
24
- }[];
25
- enableDependentFilters?: boolean;
26
- dependentFiltersEntity?: "file" | "canvas";
27
- }> & Readonly<{
28
- "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
29
- "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
30
- "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
31
- }>, {
32
- clearSearch: () => void;
33
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
- "update:search": (search: string, filters?: Record<string, any> | undefined) => any;
35
- "update:filters": (filters: Record<string, any>) => any;
36
- "update:searchIn": (searchIn: string) => any;
37
- }, import('vue').PublicProps, {
2
+ searchFiltersRef: ({
3
+ $: import('vue').ComponentInternalInstance;
4
+ $data: {};
5
+ $props: {
6
+ readonly disabled?: boolean | undefined;
7
+ readonly engagingIds?: string[] | undefined;
8
+ readonly entity: import('../../../../../main.lib').MetadataFilterRequest["entity"];
9
+ readonly includeDraftValues?: boolean | undefined;
10
+ readonly isSection?: boolean | undefined;
11
+ readonly isTemplate?: boolean | undefined;
12
+ readonly searchInOptions?: import('../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[] | undefined;
13
+ readonly filters?: Record<string, any> | undefined;
14
+ readonly initialSearchValue?: string | undefined;
15
+ readonly ownerId?: number | null | undefined;
16
+ readonly placeholder?: string | undefined;
17
+ readonly popularIds?: string[] | undefined;
18
+ readonly recommendedIds?: string[] | undefined;
19
+ readonly showLatestFilter?: boolean | undefined;
20
+ readonly hideMetadataFilters?: boolean | undefined;
21
+ readonly hideFilters?: boolean | undefined;
22
+ readonly customFilterComponents?: {
23
+ type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
24
+ name: string;
25
+ label: string;
26
+ options?: [];
27
+ }[] | undefined;
28
+ readonly enableDependentFilters?: boolean | undefined;
29
+ readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
30
+ readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
31
+ readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
32
+ readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
33
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
34
+ $attrs: {
35
+ [x: string]: unknown;
36
+ };
37
+ $refs: {
38
+ [x: string]: unknown;
39
+ } & {
40
+ searchOnClickRef: ({
41
+ $: import('vue').ComponentInternalInstance;
42
+ $data: {};
43
+ $props: {
44
+ readonly disabled?: boolean | undefined;
45
+ readonly placeholder?: string | undefined;
46
+ readonly fullWidth?: boolean | undefined;
47
+ readonly initialSearchValue?: string | undefined;
48
+ readonly onSearch?: ((s: string) => any) | undefined;
49
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
50
+ $attrs: {
51
+ [x: string]: unknown;
52
+ };
53
+ $refs: {
54
+ [x: string]: unknown;
55
+ };
56
+ $slots: Readonly<{
57
+ [name: string]: import('vue').Slot<any> | undefined;
58
+ }>;
59
+ $root: import('vue').ComponentPublicInstance | null;
60
+ $parent: import('vue').ComponentPublicInstance | null;
61
+ $host: Element | null;
62
+ $emit: (event: "search", s: string) => void;
63
+ $el: HTMLDivElement;
64
+ $options: import('vue').ComponentOptionsBase<Readonly<{
65
+ disabled?: boolean;
66
+ placeholder?: string;
67
+ fullWidth?: boolean;
68
+ initialSearchValue?: string;
69
+ }> & Readonly<{
70
+ onSearch?: ((s: string) => any) | undefined;
71
+ }>, {
72
+ clear: () => Promise<void>;
73
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
+ search: (s: string) => any;
75
+ }, string, {
76
+ initialSearchValue: string;
77
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
78
+ beforeCreate?: (() => void) | (() => void)[];
79
+ created?: (() => void) | (() => void)[];
80
+ beforeMount?: (() => void) | (() => void)[];
81
+ mounted?: (() => void) | (() => void)[];
82
+ beforeUpdate?: (() => void) | (() => void)[];
83
+ updated?: (() => void) | (() => void)[];
84
+ activated?: (() => void) | (() => void)[];
85
+ deactivated?: (() => void) | (() => void)[];
86
+ beforeDestroy?: (() => void) | (() => void)[];
87
+ beforeUnmount?: (() => void) | (() => void)[];
88
+ destroyed?: (() => void) | (() => void)[];
89
+ unmounted?: (() => void) | (() => void)[];
90
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
91
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
92
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
93
+ };
94
+ $forceUpdate: () => void;
95
+ $nextTick: typeof import('vue').nextTick;
96
+ $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;
97
+ } & Readonly<{
98
+ initialSearchValue: string;
99
+ }> & Omit<Readonly<{
100
+ disabled?: boolean;
101
+ placeholder?: string;
102
+ fullWidth?: boolean;
103
+ initialSearchValue?: string;
104
+ }> & Readonly<{
105
+ onSearch?: ((s: string) => any) | undefined;
106
+ }>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
107
+ clear: () => Promise<void>;
108
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
109
+ $slots: {
110
+ options?(_: {}): any;
111
+ };
112
+ }) | null;
113
+ };
114
+ $slots: Readonly<{
115
+ [name: string]: import('vue').Slot<any> | undefined;
116
+ }>;
117
+ $root: import('vue').ComponentPublicInstance | null;
118
+ $parent: import('vue').ComponentPublicInstance | null;
119
+ $host: Element | null;
120
+ $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);
121
+ $el: HTMLDivElement;
122
+ $options: import('vue').ComponentOptionsBase<Readonly<{
123
+ disabled?: boolean;
124
+ engagingIds?: string[];
125
+ entity: import('../../../../../main.lib').MetadataFilterRequest["entity"];
126
+ includeDraftValues?: boolean;
127
+ isSection?: import('../../../../../main.lib').MetadataFilterRequest["is_section"];
128
+ isTemplate?: import('../../../../../main.lib').MetadataFilterRequest["is_template"];
129
+ searchInOptions?: import('../../../../../components/CSearchFilters/CSearchFilters.types').SearchInOption[];
130
+ filters?: Record<string, any>;
131
+ initialSearchValue?: string;
132
+ ownerId?: number | null;
133
+ placeholder?: string;
134
+ popularIds?: string[];
135
+ recommendedIds?: string[];
136
+ showLatestFilter?: boolean;
137
+ hideMetadataFilters?: boolean;
138
+ hideFilters?: boolean;
139
+ customFilterComponents?: {
140
+ type: import('../../../../../../types/openapi').MetadataTemplateFieldTypeEnum;
141
+ name: string;
142
+ label: string;
143
+ options?: [];
144
+ }[];
145
+ enableDependentFilters?: boolean;
146
+ dependentFiltersEntity?: "file" | "canvas";
147
+ }> & Readonly<{
148
+ "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
149
+ "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
150
+ "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
151
+ }>, {
152
+ clearSearch: () => void;
153
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
154
+ "update:search": (search: string, filters?: Record<string, any> | undefined) => any;
155
+ "update:filters": (filters: Record<string, any>) => any;
156
+ "update:searchIn": (searchIn: string) => any;
157
+ }, string, {
158
+ filters: Record<string, any>;
159
+ placeholder: string;
160
+ initialSearchValue: string;
161
+ includeDraftValues: boolean;
162
+ engagingIds: string[];
163
+ popularIds: string[];
164
+ recommendedIds: string[];
165
+ showLatestFilter: boolean;
166
+ hideMetadataFilters: boolean;
167
+ hideFilters: boolean;
168
+ dependentFiltersEntity: "file" | "canvas";
169
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
170
+ beforeCreate?: (() => void) | (() => void)[];
171
+ created?: (() => void) | (() => void)[];
172
+ beforeMount?: (() => void) | (() => void)[];
173
+ mounted?: (() => void) | (() => void)[];
174
+ beforeUpdate?: (() => void) | (() => void)[];
175
+ updated?: (() => void) | (() => void)[];
176
+ activated?: (() => void) | (() => void)[];
177
+ deactivated?: (() => void) | (() => void)[];
178
+ beforeDestroy?: (() => void) | (() => void)[];
179
+ beforeUnmount?: (() => void) | (() => void)[];
180
+ destroyed?: (() => void) | (() => void)[];
181
+ unmounted?: (() => void) | (() => void)[];
182
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
183
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
184
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
185
+ };
186
+ $forceUpdate: () => void;
187
+ $nextTick: typeof import('vue').nextTick;
188
+ $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;
189
+ } & Readonly<{
38
190
  filters: Record<string, any>;
39
191
  placeholder: string;
40
192
  initialSearchValue: string;
@@ -46,88 +198,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
46
198
  hideMetadataFilters: boolean;
47
199
  hideFilters: boolean;
48
200
  dependentFiltersEntity: "file" | "canvas";
49
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
50
- searchOnClickRef: ({
51
- $: import('vue').ComponentInternalInstance;
52
- $data: {};
53
- $props: {
54
- readonly disabled?: boolean | undefined;
55
- readonly placeholder?: string | undefined;
56
- readonly fullWidth?: boolean | undefined;
57
- readonly initialSearchValue?: string | undefined;
58
- readonly onSearch?: ((s: string) => any) | undefined;
59
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
60
- $attrs: {
61
- [x: string]: unknown;
62
- };
63
- $refs: {
64
- [x: string]: unknown;
65
- };
66
- $slots: Readonly<{
67
- [name: string]: import('vue').Slot<any> | undefined;
68
- }>;
69
- $root: import('vue').ComponentPublicInstance | null;
70
- $parent: import('vue').ComponentPublicInstance | null;
71
- $host: Element | null;
72
- $emit: (event: "search", s: string) => void;
73
- $el: HTMLDivElement;
74
- $options: import('vue').ComponentOptionsBase<Readonly<{
75
- disabled?: boolean;
76
- placeholder?: string;
77
- fullWidth?: boolean;
78
- initialSearchValue?: string;
79
- }> & Readonly<{
80
- onSearch?: ((s: string) => any) | undefined;
81
- }>, {
82
- clear: () => Promise<void>;
83
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
84
- search: (s: string) => any;
85
- }, string, {
86
- initialSearchValue: string;
87
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
88
- beforeCreate?: (() => void) | (() => void)[];
89
- created?: (() => void) | (() => void)[];
90
- beforeMount?: (() => void) | (() => void)[];
91
- mounted?: (() => void) | (() => void)[];
92
- beforeUpdate?: (() => void) | (() => void)[];
93
- updated?: (() => void) | (() => void)[];
94
- activated?: (() => void) | (() => void)[];
95
- deactivated?: (() => void) | (() => void)[];
96
- beforeDestroy?: (() => void) | (() => void)[];
97
- beforeUnmount?: (() => void) | (() => void)[];
98
- destroyed?: (() => void) | (() => void)[];
99
- unmounted?: (() => void) | (() => void)[];
100
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
101
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
102
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
103
- };
104
- $forceUpdate: () => void;
105
- $nextTick: typeof import('vue').nextTick;
106
- $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;
107
- } & Readonly<{
108
- initialSearchValue: string;
109
- }> & Omit<Readonly<{
110
- disabled?: boolean;
111
- placeholder?: string;
112
- fullWidth?: boolean;
113
- initialSearchValue?: string;
114
- }> & Readonly<{
115
- onSearch?: ((s: string) => any) | undefined;
116
- }>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
117
- clear: () => Promise<void>;
118
- }> & {} & import('vue').ComponentCustomProperties & {} & {
119
- $slots: {
120
- options?(_: {}): any;
121
- };
122
- }) | null;
123
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
124
- P: {};
125
- B: {};
126
- D: {};
127
- C: {};
128
- M: {};
129
- Defaults: {};
130
- }, Readonly<{
201
+ }> & Omit<Readonly<{
131
202
  disabled?: boolean;
132
203
  engagingIds?: string[];
133
204
  entity: import('../../../../../main.lib').MetadataFilterRequest["entity"];
@@ -156,20 +227,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
156
227
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
157
228
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
158
229
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
159
- }>, {
230
+ }>, "clearSearch" | ("filters" | "placeholder" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
160
231
  clearSearch: () => void;
161
- }, {}, {}, {}, {
162
- filters: Record<string, any>;
163
- placeholder: string;
164
- initialSearchValue: string;
165
- includeDraftValues: boolean;
166
- engagingIds: string[];
167
- popularIds: string[];
168
- recommendedIds: string[];
169
- showLatestFilter: boolean;
170
- hideMetadataFilters: boolean;
171
- hideFilters: boolean;
172
- dependentFiltersEntity: "file" | "canvas";
173
- }> | null;
232
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
233
+ $slots: {
234
+ 'input-suffix'?(_: {}): any;
235
+ };
236
+ }) | null;
174
237
  }, HTMLDivElement>;
175
238
  export default _default;
@@ -0,0 +1,96 @@
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
+ listRef: ({
3
+ $: import('vue').ComponentInternalInstance;
4
+ $data: {};
5
+ $props: {
6
+ readonly data: import('../../../../../../components/CList/CList.vue').ListDataItem[];
7
+ readonly selectedIds?: (number | string)[] | undefined;
8
+ readonly maxRowHeight: number;
9
+ readonly height?: number | undefined;
10
+ readonly movable?: boolean | undefined;
11
+ readonly onMove?: ((...args: any[]) => any) | undefined;
12
+ readonly "onItem:click"?: ((...args: any[]) => any) | undefined;
13
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
14
+ $attrs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $refs: {
18
+ [x: string]: unknown;
19
+ } & {
20
+ virtualizerContainerRef: HTMLDivElement;
21
+ };
22
+ $slots: Readonly<{
23
+ [name: string]: import('vue').Slot<any> | undefined;
24
+ }>;
25
+ $root: import('vue').ComponentPublicInstance | null;
26
+ $parent: import('vue').ComponentPublicInstance | null;
27
+ $host: Element | null;
28
+ $emit: ((event: "move", ...args: any[]) => void) & ((event: "item:click", ...args: any[]) => void);
29
+ $el: HTMLDivElement;
30
+ $options: import('vue').ComponentOptionsBase<Readonly<{
31
+ data: import('../../../../../../components/CList/CList.vue').ListDataItem[];
32
+ selectedIds?: (number | string)[];
33
+ maxRowHeight: number;
34
+ height?: number;
35
+ movable?: boolean;
36
+ }> & Readonly<{
37
+ onMove?: ((...args: any[]) => any) | undefined;
38
+ "onItem:click"?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ updateContextMenuItem: (item: import('../../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
41
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ move: (...args: any[]) => void;
43
+ "item:click": (...args: any[]) => void;
44
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
45
+ beforeCreate?: (() => void) | (() => void)[];
46
+ created?: (() => void) | (() => void)[];
47
+ beforeMount?: (() => void) | (() => void)[];
48
+ mounted?: (() => void) | (() => void)[];
49
+ beforeUpdate?: (() => void) | (() => void)[];
50
+ updated?: (() => void) | (() => void)[];
51
+ activated?: (() => void) | (() => void)[];
52
+ deactivated?: (() => void) | (() => void)[];
53
+ beforeDestroy?: (() => void) | (() => void)[];
54
+ beforeUnmount?: (() => void) | (() => void)[];
55
+ destroyed?: (() => void) | (() => void)[];
56
+ unmounted?: (() => void) | (() => void)[];
57
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
58
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
59
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
60
+ };
61
+ $forceUpdate: () => void;
62
+ $nextTick: typeof import('vue').nextTick;
63
+ $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;
64
+ } & Readonly<{}> & Omit<Readonly<{
65
+ data: import('../../../../../../components/CList/CList.vue').ListDataItem[];
66
+ selectedIds?: (number | string)[];
67
+ maxRowHeight: number;
68
+ height?: number;
69
+ movable?: boolean;
70
+ }> & Readonly<{
71
+ onMove?: ((...args: any[]) => any) | undefined;
72
+ "onItem:click"?: ((...args: any[]) => any) | undefined;
73
+ }>, "updateContextMenuItem"> & import('vue').ShallowUnwrapRef<{
74
+ updateContextMenuItem: (item: import('../../../../../../components/CList/CList.vue').ListDataItem, isOpen: boolean, e?: MouseEvent) => void;
75
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
76
+ $slots: {
77
+ item?(_: {
78
+ index: number;
79
+ isContextMenuOpen: boolean;
80
+ isDraggedOver: boolean;
81
+ isSelected: boolean;
82
+ item: {
83
+ [key: string]: any;
84
+ id: number | string;
85
+ };
86
+ }): any;
87
+ 'item:context-menu'?(_: {
88
+ item: {
89
+ [key: string]: any;
90
+ id: number | string;
91
+ };
92
+ }): any;
93
+ };
94
+ }) | null;
95
+ }, HTMLDivElement>;
96
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ 'single-file-details'?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };