@pitcher/js-api 1.24.0-rc.0 → 1.25.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/impact-js-api.spec.json +1 -1
  2. package/js-api.esm.js +17 -3
  3. package/js-api.esm.js.map +1 -1
  4. package/js-api.umd.min.js +9 -9
  5. package/js-api.umd.min.js.map +1 -1
  6. package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
  7. package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +12 -0
  8. package/lib/apps/browser/stores/api.d.ts +2 -0
  9. package/lib/apps/browser/stores/app.d.ts +2 -0
  10. package/lib/apps/browser/stores/upload.d.ts +4 -0
  11. package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
  12. package/lib/apps/canvas-builder/App.vue.d.ts +48 -0
  13. package/lib/apps/canvas-builder/components/container/AiPrompt/AiPromptModal.vue.d.ts +11 -0
  14. package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +5 -0
  15. package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -0
  16. package/lib/apps/canvas-builder/components/ui/SectionList/RestrictedSectionSelector.vue.d.ts +12 -0
  17. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +3 -0
  18. package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +5 -0
  19. package/lib/apps/canvas-builder/components/ui/SectionList/SectionListStrategySelector.vue.d.ts +7 -1
  20. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.vue.d.ts +4 -1
  21. package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +5 -2
  22. package/lib/apps/canvas-builder/composables/useAiPrompt.d.ts +6 -0
  23. package/lib/apps/canvas-builder/composables/useCanvas.d.ts +110 -8
  24. package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +6 -2
  25. package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +6 -2
  26. package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +18 -18
  27. package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +5 -0
  28. package/lib/apps/canvas-builder/types/canvas.d.ts +14 -1
  29. package/lib/apps/collection-player/App.vue.d.ts +2 -0
  30. package/lib/apps/collection-player/composables/moving-group-gestures.use.d.ts +5 -5
  31. package/lib/apps/collection-player/stores/app.store.d.ts +4 -3
  32. package/lib/apps/collection-player/types/collection-player.type.d.ts +1 -0
  33. package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +12 -0
  34. package/lib/apps/content-selector/stores/api.d.ts +2 -0
  35. package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +6 -0
  36. package/lib/components/CCarousel/CCarousel.vue.d.ts +303 -2
  37. package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +1 -0
  38. package/lib/components/CFileViewer/CFileViewer.vue.d.ts +3 -1
  39. package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -0
  40. package/lib/components/CImage/CBrokenImage.vue.d.ts +4 -1
  41. package/lib/components/CImage/CImage.vue.d.ts +296 -1
  42. package/lib/components/CSearch/CSearchOnClickWithSuggestions.vue.d.ts +23 -0
  43. package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +7 -0
  44. package/lib/components/CSwitch/CSwitch.vue.d.ts +10 -1
  45. package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
  46. package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +380 -10
  47. package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +184 -3
  48. package/lib/components/canvases/CanvasesManagementBulk.use.d.ts +19 -0
  49. package/lib/components/filters/CSearchFilter.vue.d.ts +14 -0
  50. package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +4 -4
  51. package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +1 -1
  52. package/lib/composables/useCanvasLocks.d.ts +1 -0
  53. package/lib/composables/useCanvasOverlay.d.ts +13 -1
  54. package/lib/composables/useMetadataSearch.d.ts +19 -0
  55. package/lib/composables/useWindowEvents.d.ts +4 -3
  56. package/lib/constants/cdp.const.d.ts +2 -2
  57. package/lib/main.lib.d.ts +3 -0
  58. package/lib/sdk/api/HighLevelApi.d.ts +0 -1
  59. package/lib/sdk/api/modules/admin/canvas.admin.d.ts +20 -0
  60. package/lib/sdk/api/modules/admin/index.d.ts +6 -0
  61. package/lib/sdk/api/modules/env.d.ts +1 -1
  62. package/lib/sdk/api/modules/ui/canvas.ui.d.ts +20 -0
  63. package/lib/sdk/api/modules/ui/index.d.ts +6 -0
  64. package/lib/sdk/main.d.ts +30 -3
  65. package/lib/sdk/payload.types.d.ts +4 -0
  66. package/lib/sdk/utils/window.d.ts +1 -0
  67. package/lib/types/app.d.ts +3 -0
  68. package/lib/types/core/MetadataFilter.d.ts +32 -0
  69. package/lib/types/files.d.ts +3 -1
  70. package/lib/types/instanceSettings.types.d.ts +4 -0
  71. package/lib/types/launchDarkly.types.d.ts +1 -1
  72. package/lib/types/organizationSettings.types.d.ts +3 -0
  73. package/lib/types/recentFiles.types.d.ts +2 -1
  74. package/lib/types/search.d.ts +5 -0
  75. package/lib/util/anchor.d.ts +1 -1
  76. package/lib/util/image.d.ts +6 -0
  77. package/lib/util/tree-transformation.util.d.ts +0 -1
  78. package/lib/util/url.d.ts +1 -0
  79. package/package.json +1 -1
  80. package/types/openapi/index.d.ts +0 -2
  81. package/types/openapi/models/FileCreateRequest.d.ts +1 -0
  82. package/types/openapi/models/FileStatusEnum.d.ts +3 -1
  83. package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
  84. package/types/openapi/models/InstanceMembershipUser.d.ts +1 -0
  85. package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
  86. package/types/openapi/models/PatchedUserRequest.d.ts +1 -1
  87. package/types/openapi/models/SearchResult.d.ts +1 -3
  88. package/types/openapi/models/SharedLink.d.ts +0 -1
  89. package/types/openapi/models/SharedLinkCreate.d.ts +0 -1
  90. package/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -1
  91. package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
  92. package/types/openapi/models/User.d.ts +1 -1
  93. package/types/openapi/models/UserRequest.d.ts +1 -1
  94. package/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -10
  95. package/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -10
@@ -59,8 +59,9 @@ declare function __VLS_template(): {
59
59
  id: string;
60
60
  name: string;
61
61
  }[];
62
+ canvasType: Exclude<CanvasType, "section" | "canvas" | "block">;
62
63
  search: string;
63
- filterValues: Record<string, any>;
64
+ metadataFilterValues: Record<string, any>;
64
65
  recommendedIds: string[];
65
66
  tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
66
67
  customFilterComponents: {
@@ -78,6 +79,7 @@ declare function __VLS_template(): {
78
79
  field: string;
79
80
  order: "asc" | "desc";
80
81
  };
82
+ viewMode?: "table" | "list";
81
83
  }> & Readonly<{
82
84
  onSearch?: ((s: string) => any) | undefined;
83
85
  onSelect?: ((payload: {
@@ -98,7 +100,10 @@ declare function __VLS_template(): {
98
100
  onConvert?: (() => any) | undefined;
99
101
  "onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
100
102
  "onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
101
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
103
+ "onToggle-view-mode"?: (() => any) | undefined;
104
+ }>, {
105
+ clearSearch: () => void;
106
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
102
107
  search: (s: string) => any;
103
108
  select: (payload: {
104
109
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -118,6 +123,7 @@ declare function __VLS_template(): {
118
123
  convert: () => any;
119
124
  "update:filter-values": (mf: Record<string, any>) => any;
120
125
  "breadcrumb:click": (id: string | null) => any;
126
+ "toggle-view-mode": () => any;
121
127
  }, import('vue').PublicProps, {
122
128
  breadcrumbs: {
123
129
  id: string;
@@ -127,7 +133,180 @@ declare function __VLS_template(): {
127
133
  field: string;
128
134
  order: "asc" | "desc";
129
135
  };
130
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
136
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
137
+ searchFiltersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
138
+ disabled?: boolean;
139
+ engagingIds?: string[];
140
+ entity: import('../../main.lib').MetadataFilterRequest["entity"];
141
+ includeDraftValues?: boolean;
142
+ isSection?: import('../../main.lib').MetadataFilterRequest["is_section"];
143
+ isTemplate?: import('../../main.lib').MetadataFilterRequest["is_template"];
144
+ searchInOptions?: import('../CSearchFilters/CSearchFilters.types').SearchInOption[];
145
+ filters?: Record<string, any>;
146
+ initialSearchValue?: string;
147
+ ownerId?: number | null;
148
+ placeholder?: string;
149
+ popularIds?: string[];
150
+ recommendedIds?: string[];
151
+ showLatestFilter?: boolean;
152
+ hideMetadataFilters?: boolean;
153
+ hideFilters?: boolean;
154
+ customFilterComponents?: {
155
+ type: MetadataTemplateFieldTypeEnum;
156
+ name: string;
157
+ label: string;
158
+ options?: [];
159
+ }[];
160
+ enableDependentFilters?: boolean;
161
+ dependentFiltersEntity?: "file" | "canvas";
162
+ }> & Readonly<{
163
+ "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
164
+ "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
165
+ "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
166
+ }>, {
167
+ clearSearch: () => void;
168
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
169
+ "update:search": (search: string, filters?: Record<string, any> | undefined) => any;
170
+ "update:filters": (filters: Record<string, any>) => any;
171
+ "update:searchIn": (searchIn: string) => any;
172
+ }, import('vue').PublicProps, {
173
+ filters: Record<string, any>;
174
+ placeholder: string;
175
+ initialSearchValue: string;
176
+ includeDraftValues: boolean;
177
+ engagingIds: string[];
178
+ popularIds: string[];
179
+ recommendedIds: string[];
180
+ showLatestFilter: boolean;
181
+ hideMetadataFilters: boolean;
182
+ hideFilters: boolean;
183
+ dependentFiltersEntity: "file" | "canvas";
184
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
185
+ searchOnClickRef: ({
186
+ $: import('vue').ComponentInternalInstance;
187
+ $data: {};
188
+ $props: {
189
+ readonly disabled?: boolean | undefined;
190
+ readonly placeholder?: string | undefined;
191
+ readonly fullWidth?: boolean | undefined;
192
+ readonly initialSearchValue?: string | undefined;
193
+ readonly onSearch?: ((s: string) => any) | undefined;
194
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
195
+ $attrs: {
196
+ [x: string]: unknown;
197
+ };
198
+ $refs: {
199
+ [x: string]: unknown;
200
+ };
201
+ $slots: Readonly<{
202
+ [name: string]: import('vue').Slot<any> | undefined;
203
+ }>;
204
+ $root: import('vue').ComponentPublicInstance | null;
205
+ $parent: import('vue').ComponentPublicInstance | null;
206
+ $host: Element | null;
207
+ $emit: (event: "search", s: string) => void;
208
+ $el: HTMLDivElement;
209
+ $options: import('vue').ComponentOptionsBase<Readonly<{
210
+ disabled?: boolean;
211
+ placeholder?: string;
212
+ fullWidth?: boolean;
213
+ initialSearchValue?: string;
214
+ }> & Readonly<{
215
+ onSearch?: ((s: string) => any) | undefined;
216
+ }>, {
217
+ clear: () => Promise<void>;
218
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
219
+ search: (s: string) => any;
220
+ }, string, {
221
+ initialSearchValue: string;
222
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
223
+ beforeCreate?: (() => void) | (() => void)[];
224
+ created?: (() => void) | (() => void)[];
225
+ beforeMount?: (() => void) | (() => void)[];
226
+ mounted?: (() => void) | (() => void)[];
227
+ beforeUpdate?: (() => void) | (() => void)[];
228
+ updated?: (() => void) | (() => void)[];
229
+ activated?: (() => void) | (() => void)[];
230
+ deactivated?: (() => void) | (() => void)[];
231
+ beforeDestroy?: (() => void) | (() => void)[];
232
+ beforeUnmount?: (() => void) | (() => void)[];
233
+ destroyed?: (() => void) | (() => void)[];
234
+ unmounted?: (() => void) | (() => void)[];
235
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
236
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
237
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
238
+ };
239
+ $forceUpdate: () => void;
240
+ $nextTick: typeof import('vue').nextTick;
241
+ $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;
242
+ } & Readonly<{
243
+ initialSearchValue: string;
244
+ }> & Omit<Readonly<{
245
+ disabled?: boolean;
246
+ placeholder?: string;
247
+ fullWidth?: boolean;
248
+ initialSearchValue?: string;
249
+ }> & Readonly<{
250
+ onSearch?: ((s: string) => any) | undefined;
251
+ }>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
252
+ clear: () => Promise<void>;
253
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
254
+ $slots: {
255
+ options?(_: {}): any;
256
+ };
257
+ }) | null;
258
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
259
+ P: {};
260
+ B: {};
261
+ D: {};
262
+ C: {};
263
+ M: {};
264
+ Defaults: {};
265
+ }, Readonly<{
266
+ disabled?: boolean;
267
+ engagingIds?: string[];
268
+ entity: import('../../main.lib').MetadataFilterRequest["entity"];
269
+ includeDraftValues?: boolean;
270
+ isSection?: import('../../main.lib').MetadataFilterRequest["is_section"];
271
+ isTemplate?: import('../../main.lib').MetadataFilterRequest["is_template"];
272
+ searchInOptions?: import('../CSearchFilters/CSearchFilters.types').SearchInOption[];
273
+ filters?: Record<string, any>;
274
+ initialSearchValue?: string;
275
+ ownerId?: number | null;
276
+ placeholder?: string;
277
+ popularIds?: string[];
278
+ recommendedIds?: string[];
279
+ showLatestFilter?: boolean;
280
+ hideMetadataFilters?: boolean;
281
+ hideFilters?: boolean;
282
+ customFilterComponents?: {
283
+ type: MetadataTemplateFieldTypeEnum;
284
+ name: string;
285
+ label: string;
286
+ options?: [];
287
+ }[];
288
+ enableDependentFilters?: boolean;
289
+ dependentFiltersEntity?: "file" | "canvas";
290
+ }> & Readonly<{
291
+ "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
292
+ "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
293
+ "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
294
+ }>, {
295
+ clearSearch: () => void;
296
+ }, {}, {}, {}, {
297
+ filters: Record<string, any>;
298
+ placeholder: string;
299
+ initialSearchValue: string;
300
+ includeDraftValues: boolean;
301
+ engagingIds: string[];
302
+ popularIds: string[];
303
+ recommendedIds: string[];
304
+ showLatestFilter: boolean;
305
+ hideMetadataFilters: boolean;
306
+ hideFilters: boolean;
307
+ dependentFiltersEntity: "file" | "canvas";
308
+ }> | null;
309
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
131
310
  P: {};
132
311
  B: {};
133
312
  D: {};
@@ -139,8 +318,9 @@ declare function __VLS_template(): {
139
318
  id: string;
140
319
  name: string;
141
320
  }[];
321
+ canvasType: Exclude<CanvasType, "section" | "canvas" | "block">;
142
322
  search: string;
143
- filterValues: Record<string, any>;
323
+ metadataFilterValues: Record<string, any>;
144
324
  recommendedIds: string[];
145
325
  tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
146
326
  customFilterComponents: {
@@ -158,6 +338,7 @@ declare function __VLS_template(): {
158
338
  field: string;
159
339
  order: "asc" | "desc";
160
340
  };
341
+ viewMode?: "table" | "list";
161
342
  }> & Readonly<{
162
343
  onSearch?: ((s: string) => any) | undefined;
163
344
  onSelect?: ((payload: {
@@ -178,7 +359,10 @@ declare function __VLS_template(): {
178
359
  onConvert?: (() => any) | undefined;
179
360
  "onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
180
361
  "onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
181
- }>, {}, {}, {}, {}, {
362
+ "onToggle-view-mode"?: (() => any) | undefined;
363
+ }>, {
364
+ clearSearch: () => void;
365
+ }, {}, {}, {}, {
182
366
  breadcrumbs: {
183
367
  id: string;
184
368
  name: string;
@@ -320,6 +504,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
320
504
  open: (canvas: CanvasRetrieve, newTab?: boolean | undefined) => any;
321
505
  move: (canvas: CanvasRetrieve) => any;
322
506
  create: (folderId?: string | null | undefined) => any;
507
+ manageDistribution: () => any;
323
508
  convert: () => any;
324
509
  createFromTemplate: (templateId: string) => any;
325
510
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -328,6 +513,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
328
513
  onOpen?: ((canvas: CanvasRetrieve, newTab?: boolean | undefined) => any) | undefined;
329
514
  onMove?: ((canvas: CanvasRetrieve) => any) | undefined;
330
515
  onCreate?: ((folderId?: string | null | undefined) => any) | undefined;
516
+ onManageDistribution?: (() => any) | undefined;
331
517
  onConvert?: (() => any) | undefined;
332
518
  onCreateFromTemplate?: ((templateId: string) => any) | undefined;
333
519
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -336,8 +522,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
336
522
  id: string;
337
523
  name: string;
338
524
  }[];
525
+ canvasType: Exclude<CanvasType, "section" | "canvas" | "block">;
339
526
  search: string;
340
- filterValues: Record<string, any>;
527
+ metadataFilterValues: Record<string, any>;
341
528
  recommendedIds: string[];
342
529
  tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
343
530
  customFilterComponents: {
@@ -355,6 +542,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
355
542
  field: string;
356
543
  order: "asc" | "desc";
357
544
  };
545
+ viewMode?: "table" | "list";
358
546
  }> & Readonly<{
359
547
  onSearch?: ((s: string) => any) | undefined;
360
548
  onSelect?: ((payload: {
@@ -375,7 +563,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
375
563
  onConvert?: (() => any) | undefined;
376
564
  "onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
377
565
  "onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
378
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
566
+ "onToggle-view-mode"?: (() => any) | undefined;
567
+ }>, {
568
+ clearSearch: () => void;
569
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
379
570
  search: (s: string) => any;
380
571
  select: (payload: {
381
572
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -395,6 +586,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
395
586
  convert: () => any;
396
587
  "update:filter-values": (mf: Record<string, any>) => any;
397
588
  "breadcrumb:click": (id: string | null) => any;
589
+ "toggle-view-mode": () => any;
398
590
  }, import('vue').PublicProps, {
399
591
  breadcrumbs: {
400
592
  id: string;
@@ -404,7 +596,180 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
404
596
  field: string;
405
597
  order: "asc" | "desc";
406
598
  };
407
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
599
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
600
+ searchFiltersRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
601
+ disabled?: boolean;
602
+ engagingIds?: string[];
603
+ entity: import('../../main.lib').MetadataFilterRequest["entity"];
604
+ includeDraftValues?: boolean;
605
+ isSection?: import('../../main.lib').MetadataFilterRequest["is_section"];
606
+ isTemplate?: import('../../main.lib').MetadataFilterRequest["is_template"];
607
+ searchInOptions?: import('../CSearchFilters/CSearchFilters.types').SearchInOption[];
608
+ filters?: Record<string, any>;
609
+ initialSearchValue?: string;
610
+ ownerId?: number | null;
611
+ placeholder?: string;
612
+ popularIds?: string[];
613
+ recommendedIds?: string[];
614
+ showLatestFilter?: boolean;
615
+ hideMetadataFilters?: boolean;
616
+ hideFilters?: boolean;
617
+ customFilterComponents?: {
618
+ type: MetadataTemplateFieldTypeEnum;
619
+ name: string;
620
+ label: string;
621
+ options?: [];
622
+ }[];
623
+ enableDependentFilters?: boolean;
624
+ dependentFiltersEntity?: "file" | "canvas";
625
+ }> & Readonly<{
626
+ "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
627
+ "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
628
+ "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
629
+ }>, {
630
+ clearSearch: () => void;
631
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
632
+ "update:search": (search: string, filters?: Record<string, any> | undefined) => any;
633
+ "update:filters": (filters: Record<string, any>) => any;
634
+ "update:searchIn": (searchIn: string) => any;
635
+ }, import('vue').PublicProps, {
636
+ filters: Record<string, any>;
637
+ placeholder: string;
638
+ initialSearchValue: string;
639
+ includeDraftValues: boolean;
640
+ engagingIds: string[];
641
+ popularIds: string[];
642
+ recommendedIds: string[];
643
+ showLatestFilter: boolean;
644
+ hideMetadataFilters: boolean;
645
+ hideFilters: boolean;
646
+ dependentFiltersEntity: "file" | "canvas";
647
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
648
+ searchOnClickRef: ({
649
+ $: import('vue').ComponentInternalInstance;
650
+ $data: {};
651
+ $props: {
652
+ readonly disabled?: boolean | undefined;
653
+ readonly placeholder?: string | undefined;
654
+ readonly fullWidth?: boolean | undefined;
655
+ readonly initialSearchValue?: string | undefined;
656
+ readonly onSearch?: ((s: string) => any) | undefined;
657
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
658
+ $attrs: {
659
+ [x: string]: unknown;
660
+ };
661
+ $refs: {
662
+ [x: string]: unknown;
663
+ };
664
+ $slots: Readonly<{
665
+ [name: string]: import('vue').Slot<any> | undefined;
666
+ }>;
667
+ $root: import('vue').ComponentPublicInstance | null;
668
+ $parent: import('vue').ComponentPublicInstance | null;
669
+ $host: Element | null;
670
+ $emit: (event: "search", s: string) => void;
671
+ $el: HTMLDivElement;
672
+ $options: import('vue').ComponentOptionsBase<Readonly<{
673
+ disabled?: boolean;
674
+ placeholder?: string;
675
+ fullWidth?: boolean;
676
+ initialSearchValue?: string;
677
+ }> & Readonly<{
678
+ onSearch?: ((s: string) => any) | undefined;
679
+ }>, {
680
+ clear: () => Promise<void>;
681
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
682
+ search: (s: string) => any;
683
+ }, string, {
684
+ initialSearchValue: string;
685
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
686
+ beforeCreate?: (() => void) | (() => void)[];
687
+ created?: (() => void) | (() => void)[];
688
+ beforeMount?: (() => void) | (() => void)[];
689
+ mounted?: (() => void) | (() => void)[];
690
+ beforeUpdate?: (() => void) | (() => void)[];
691
+ updated?: (() => void) | (() => void)[];
692
+ activated?: (() => void) | (() => void)[];
693
+ deactivated?: (() => void) | (() => void)[];
694
+ beforeDestroy?: (() => void) | (() => void)[];
695
+ beforeUnmount?: (() => void) | (() => void)[];
696
+ destroyed?: (() => void) | (() => void)[];
697
+ unmounted?: (() => void) | (() => void)[];
698
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
699
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
700
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
701
+ };
702
+ $forceUpdate: () => void;
703
+ $nextTick: typeof import('vue').nextTick;
704
+ $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;
705
+ } & Readonly<{
706
+ initialSearchValue: string;
707
+ }> & Omit<Readonly<{
708
+ disabled?: boolean;
709
+ placeholder?: string;
710
+ fullWidth?: boolean;
711
+ initialSearchValue?: string;
712
+ }> & Readonly<{
713
+ onSearch?: ((s: string) => any) | undefined;
714
+ }>, "clear" | "initialSearchValue"> & import('vue').ShallowUnwrapRef<{
715
+ clear: () => Promise<void>;
716
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
717
+ $slots: {
718
+ options?(_: {}): any;
719
+ };
720
+ }) | null;
721
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
722
+ P: {};
723
+ B: {};
724
+ D: {};
725
+ C: {};
726
+ M: {};
727
+ Defaults: {};
728
+ }, Readonly<{
729
+ disabled?: boolean;
730
+ engagingIds?: string[];
731
+ entity: import('../../main.lib').MetadataFilterRequest["entity"];
732
+ includeDraftValues?: boolean;
733
+ isSection?: import('../../main.lib').MetadataFilterRequest["is_section"];
734
+ isTemplate?: import('../../main.lib').MetadataFilterRequest["is_template"];
735
+ searchInOptions?: import('../CSearchFilters/CSearchFilters.types').SearchInOption[];
736
+ filters?: Record<string, any>;
737
+ initialSearchValue?: string;
738
+ ownerId?: number | null;
739
+ placeholder?: string;
740
+ popularIds?: string[];
741
+ recommendedIds?: string[];
742
+ showLatestFilter?: boolean;
743
+ hideMetadataFilters?: boolean;
744
+ hideFilters?: boolean;
745
+ customFilterComponents?: {
746
+ type: MetadataTemplateFieldTypeEnum;
747
+ name: string;
748
+ label: string;
749
+ options?: [];
750
+ }[];
751
+ enableDependentFilters?: boolean;
752
+ dependentFiltersEntity?: "file" | "canvas";
753
+ }> & Readonly<{
754
+ "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
755
+ "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
756
+ "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
757
+ }>, {
758
+ clearSearch: () => void;
759
+ }, {}, {}, {}, {
760
+ filters: Record<string, any>;
761
+ placeholder: string;
762
+ initialSearchValue: string;
763
+ includeDraftValues: boolean;
764
+ engagingIds: string[];
765
+ popularIds: string[];
766
+ recommendedIds: string[];
767
+ showLatestFilter: boolean;
768
+ hideMetadataFilters: boolean;
769
+ hideFilters: boolean;
770
+ dependentFiltersEntity: "file" | "canvas";
771
+ }> | null;
772
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
408
773
  P: {};
409
774
  B: {};
410
775
  D: {};
@@ -416,8 +781,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
416
781
  id: string;
417
782
  name: string;
418
783
  }[];
784
+ canvasType: Exclude<CanvasType, "section" | "canvas" | "block">;
419
785
  search: string;
420
- filterValues: Record<string, any>;
786
+ metadataFilterValues: Record<string, any>;
421
787
  recommendedIds: string[];
422
788
  tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
423
789
  customFilterComponents: {
@@ -435,6 +801,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
435
801
  field: string;
436
802
  order: "asc" | "desc";
437
803
  };
804
+ viewMode?: "table" | "list";
438
805
  }> & Readonly<{
439
806
  onSearch?: ((s: string) => any) | undefined;
440
807
  onSelect?: ((payload: {
@@ -455,7 +822,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
455
822
  onConvert?: (() => any) | undefined;
456
823
  "onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
457
824
  "onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
458
- }>, {}, {}, {}, {}, {
825
+ "onToggle-view-mode"?: (() => any) | undefined;
826
+ }>, {
827
+ clearSearch: () => void;
828
+ }, {}, {}, {}, {
459
829
  breadcrumbs: {
460
830
  id: string;
461
831
  name: string;