@pitcher/js-api 1.23.0-rc.1 → 1.24.0-beta.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.
- package/js-api.esm.js +18 -0
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/App.vue.d.ts +9 -0
- package/lib/apps/agenda-selector/components/AgendaGroup.vue.d.ts +7 -0
- package/lib/apps/agenda-selector/components/AgendaItem.vue.d.ts +29 -0
- package/lib/apps/agenda-selector/components/AgendaToolbar.vue.d.ts +2 -0
- package/lib/apps/agenda-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +8 -0
- package/lib/apps/agenda-selector/components/modals/MoveItemModal.vue.d.ts +15 -0
- package/lib/apps/agenda-selector/composables/application-block-selector-modal.use.d.ts +17 -0
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +128 -0
- package/lib/apps/agenda-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/agenda-selector/stores/app.store.d.ts +32 -0
- package/lib/apps/agenda-selector/types/agenda.type.d.ts +28 -0
- package/lib/apps/agenda-selector/types/common.type.d.ts +8 -0
- package/lib/apps/agenda-selector/types/move-item-modal.type.d.ts +5 -0
- package/lib/apps/agenda-selector/utils/data.util.d.ts +14 -0
- package/lib/apps/agenda-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/browser/App.vue.d.ts +3 -1
- package/lib/apps/browser/components/UploadFilesDropzone/UploadFilesDropzone.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +28 -6
- package/lib/apps/browser/stores/upload.d.ts +12 -12
- package/lib/apps/canvas-builder/App.vue.d.ts +56 -32
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +10 -10
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +9 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.helpers.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/Block/Block.types.d.ts +7 -0
- package/lib/apps/canvas-builder/components/ui/{CollectionPlayer/CollectionSelector.vue.d.ts → Block/BlockToolbar.vue.d.ts} +6 -11
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +4 -3
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/{CollectionPlayer.edit.vue.d.ts → CollectionPlayerEmpty.vue.d.ts} +5 -5
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +4 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +34 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +5 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelector.helpers.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorSelected.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +519 -439
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +117 -94
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +104 -86
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +38 -0
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollectionSelector.d.ts +9 -0
- package/lib/apps/canvas-builder/composables/useComponentStyle.d.ts +22 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +5 -14
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +28 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -2
- package/lib/apps/canvas-builder/types/canvas.d.ts +22 -31
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +6 -5
- package/lib/apps/canvas-builder/util/url.d.ts +1 -0
- package/lib/apps/canvas-selector/stores/app.d.ts +28 -0
- package/lib/apps/collection-player/App.vue.d.ts +33 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppHeader.vue.d.ts +2 -0
- package/lib/apps/collection-player/components/AppWrapper.vue.d.ts +17 -0
- package/lib/apps/collection-player/components/MainContent.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/components/MainImage.vue.d.ts +3 -3
- package/lib/apps/collection-player/components/TableOfContents.vue.d.ts +2 -0
- package/lib/apps/collection-player/composables/focus-trap.use.d.ts +9 -0
- package/lib/apps/collection-player/composables/fullscreen.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts → collection-player/composables/moving-group-gestures.use.d.ts} +6 -3
- package/lib/apps/collection-player/composables/slide-direction.use.d.ts +11 -0
- package/lib/apps/collection-player/composables/tracking.use.d.ts +10 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/zoom.use.d.ts +2 -2
- package/lib/apps/collection-player/export.d.ts +3 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +77 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +26 -0
- package/lib/apps/collection-player/utils/node.util.d.ts +4 -0
- package/lib/apps/collection-player/utils/slide-type.util.d.ts +5 -0
- package/lib/apps/collection-selector/App.vue.d.ts +29 -0
- package/lib/apps/collection-selector/components/AppFooter.vue.d.ts +8 -0
- package/lib/apps/collection-selector/components/AppHeader.vue.d.ts +6 -0
- package/lib/apps/collection-selector/components/CollectionGroup.vue.d.ts +7 -0
- package/lib/apps/collection-selector/components/CollectionItem.vue.d.ts +21 -0
- package/lib/apps/collection-selector/components/CollectionToolbar.vue.d.ts +2 -0
- package/lib/apps/{canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts → collection-selector/components/modals/MoveSlideModal.vue.d.ts} +7 -13
- package/lib/apps/collection-selector/composables/move-slide-modal.use.d.ts +106 -0
- package/lib/apps/collection-selector/composables/table-input.use.d.ts +15 -0
- package/lib/apps/collection-selector/stores/app.store.d.ts +156 -0
- package/lib/apps/collection-selector/types/collection-selector.type.d.ts +12 -0
- package/lib/apps/collection-selector/types/common.type.d.ts +18 -0
- package/lib/apps/collection-selector/types/move-slide-modal.type.d.ts +5 -0
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +41 -0
- package/lib/apps/collection-selector/utils/data.util.d.ts +23 -0
- package/lib/apps/collection-selector/utils/theme-overrides.util.d.ts +8 -0
- package/lib/apps/content-selector/appTypes.d.ts +7 -29
- package/lib/apps/content-selector/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +6 -3
- package/lib/apps/content-selector/stores/api.d.ts +252 -0
- package/lib/apps/content-selector/stores/app.d.ts +42 -7
- package/lib/components/CBackgroundImageThemeOptions/CBackgroundImageThemeOptions.vue.d.ts +42 -0
- package/lib/components/CCanvasSelector/CCanvasSelector.vue.d.ts +3 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -2
- package/lib/components/CComponentThemeOptions/CComponentThemeOptions.vue.d.ts +55 -15
- package/lib/components/CDataTable/CDataTableEdit.use.d.ts +1 -1
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +4 -0
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +5 -1
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -2
- package/lib/components/CIcon/CIcon.vue.d.ts +1 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/components/CEditorMenu.vue.d.ts +8 -0
- package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +9 -3
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearch/CSearchOnClick.vue.d.ts +15 -1
- package/lib/components/CSearchFilters/CSearchFilters.types.d.ts +5 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +22 -1
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +9 -3
- package/lib/components/CTable/CTable.vue.d.ts +2 -2
- package/lib/components/CTableColumnsSettings/CTableColumnsSettings.vue.d.ts +2 -2
- package/lib/components/CTableTag/CTableTag.vue.d.ts +1 -1
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -6
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -54
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +26 -35
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +32 -43
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +1 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagementToolbar.vue.d.ts +25 -33
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +16 -18
- package/lib/components/sections/CSectionManagement.vue.d.ts +6 -6
- package/lib/composables/useConfirmation.d.ts +1 -0
- package/lib/composables/useToast.d.ts +6 -5
- package/lib/constants/appsDb.const.d.ts +2 -0
- package/lib/main.lib.d.ts +10 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +20 -1
- package/lib/sdk/api/modules/ui/content.ui.d.ts +31 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +29 -2
- package/lib/sdk/interfaces.d.ts +6 -0
- package/lib/sdk/main.d.ts +6 -0
- package/lib/types/app.d.ts +1 -1
- package/lib/types/background.d.ts +5 -0
- package/lib/types/canvases.d.ts +1 -0
- package/lib/types/common.d.ts +2 -0
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +3 -1
- package/lib/types/organizationSettings.types.d.ts +7 -0
- package/lib/types/selections.d.ts +19 -0
- package/lib/util/eval.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +2 -0
- package/types/openapi/models/Canvas.d.ts +2 -0
- package/types/openapi/models/CanvasCreate.d.ts +2 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +4 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -0
- package/types/openapi/models/DeletedCanvas.d.ts +2 -0
- package/types/openapi/models/DeletedFavorite.d.ts +2 -2
- package/types/openapi/models/DeletedFile.d.ts +4 -0
- package/types/openapi/models/Favorite.d.ts +2 -2
- package/types/openapi/models/FavoriteCreate.d.ts +2 -2
- package/types/openapi/models/FavoriteFolder.d.ts +6 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/FavoriteUpdate.d.ts +2 -2
- package/types/openapi/models/File.d.ts +4 -0
- package/types/openapi/models/FileCreate.d.ts +4 -0
- package/types/openapi/models/FileRetrieve.d.ts +4 -0
- package/types/openapi/models/FileUpdate.d.ts +4 -0
- package/types/openapi/models/SearchCanvas.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +0 -37
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +0 -19
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +0 -4
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +0 -5
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +0 -31
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/arrow-keys.use.d.ts +0 -0
- /package/lib/apps/{canvas-builder/components/ui/CollectionPlayer → collection-player}/composables/image-cache.use.d.ts +0 -0
|
@@ -3,67 +3,52 @@ import { ColumnDef, PaginationState, SortingState } from '@tanstack/table-core';
|
|
|
3
3
|
import { PaginatedData } from '../../types/paginatedData';
|
|
4
4
|
import { CLIENT_TYPE } from '../../constants/cdp.const';
|
|
5
5
|
import { CanvasType, GetCanvasesParams } from '../../types/canvases';
|
|
6
|
-
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest } from '../../../types/openapi';
|
|
7
|
-
import { SystemFilter } from '../../types/sectionPopularity';
|
|
8
|
-
declare function refetch(params: {
|
|
9
|
-
page_size: number;
|
|
10
|
-
page: number;
|
|
11
|
-
ordering: string;
|
|
12
|
-
search: string;
|
|
13
|
-
}): Promise<void>;
|
|
6
|
+
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
14
7
|
declare function __VLS_template(): {
|
|
15
8
|
slots: {
|
|
16
9
|
default?(_: {}): any;
|
|
17
10
|
};
|
|
18
11
|
refs: {
|
|
19
12
|
toolbarWrapper: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
13
|
+
search: string;
|
|
14
|
+
filterValues: Record<string, any>;
|
|
15
|
+
recommendedIds: string[];
|
|
16
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
17
|
+
customFilterComponents: {
|
|
18
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
19
|
+
name: string;
|
|
20
|
+
label: string;
|
|
21
|
+
options?: [];
|
|
22
|
+
}[];
|
|
20
23
|
hideCreate?: boolean;
|
|
21
24
|
hideView?: boolean;
|
|
22
25
|
isLoadingItems?: boolean;
|
|
23
|
-
modelValue: string;
|
|
24
|
-
filters: {
|
|
25
|
-
tag: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
26
|
-
status: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
27
|
-
createdBy: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
28
|
-
[SystemFilter.ENGAGING]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
29
|
-
[SystemFilter.POPULAR]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
30
|
-
[SystemFilter.RECOMMENDED]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
31
|
-
};
|
|
32
|
-
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
33
26
|
}> & Readonly<{
|
|
27
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
34
28
|
onSelect?: ((payload: {
|
|
35
29
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
36
30
|
checked: boolean;
|
|
37
31
|
}) => any) | undefined;
|
|
38
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
39
32
|
onMove?: ((payload: {
|
|
40
33
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
41
34
|
itemId: string;
|
|
42
35
|
}) => any) | undefined;
|
|
43
|
-
"onUpdate:filters"?: ((value: {
|
|
44
|
-
tag: string[];
|
|
45
|
-
status: string[];
|
|
46
|
-
createdBy: string[];
|
|
47
|
-
}) => any) | undefined;
|
|
48
36
|
onRestoreColumns?: (() => any) | undefined;
|
|
49
37
|
"onCreate:template"?: (() => any) | undefined;
|
|
50
|
-
|
|
38
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
search: (s: string) => any;
|
|
51
41
|
select: (payload: {
|
|
52
42
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
53
43
|
checked: boolean;
|
|
54
44
|
}) => any;
|
|
55
|
-
"update:modelValue": (value: string) => any;
|
|
56
45
|
move: (payload: {
|
|
57
46
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
58
47
|
itemId: string;
|
|
59
48
|
}) => any;
|
|
60
|
-
"update:filters": (value: {
|
|
61
|
-
tag: string[];
|
|
62
|
-
status: string[];
|
|
63
|
-
createdBy: string[];
|
|
64
|
-
}) => any;
|
|
65
49
|
restoreColumns: () => any;
|
|
66
50
|
"create:template": () => any;
|
|
51
|
+
"update:filter-values": (mf: Record<string, any>) => any;
|
|
67
52
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
68
53
|
P: {};
|
|
69
54
|
B: {};
|
|
@@ -72,36 +57,32 @@ declare function __VLS_template(): {
|
|
|
72
57
|
M: {};
|
|
73
58
|
Defaults: {};
|
|
74
59
|
}, Readonly<{
|
|
60
|
+
search: string;
|
|
61
|
+
filterValues: Record<string, any>;
|
|
62
|
+
recommendedIds: string[];
|
|
63
|
+
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
64
|
+
customFilterComponents: {
|
|
65
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
66
|
+
name: string;
|
|
67
|
+
label: string;
|
|
68
|
+
options?: [];
|
|
69
|
+
}[];
|
|
75
70
|
hideCreate?: boolean;
|
|
76
71
|
hideView?: boolean;
|
|
77
72
|
isLoadingItems?: boolean;
|
|
78
|
-
modelValue: string;
|
|
79
|
-
filters: {
|
|
80
|
-
tag: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
81
|
-
status: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
82
|
-
createdBy: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
83
|
-
[SystemFilter.ENGAGING]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
84
|
-
[SystemFilter.POPULAR]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
85
|
-
[SystemFilter.RECOMMENDED]: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
86
|
-
};
|
|
87
|
-
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
88
73
|
}> & Readonly<{
|
|
74
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
89
75
|
onSelect?: ((payload: {
|
|
90
76
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
91
77
|
checked: boolean;
|
|
92
78
|
}) => any) | undefined;
|
|
93
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
94
79
|
onMove?: ((payload: {
|
|
95
80
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
96
81
|
itemId: string;
|
|
97
82
|
}) => any) | undefined;
|
|
98
|
-
"onUpdate:filters"?: ((value: {
|
|
99
|
-
tag: string[];
|
|
100
|
-
status: string[];
|
|
101
|
-
createdBy: string[];
|
|
102
|
-
}) => any) | undefined;
|
|
103
83
|
onRestoreColumns?: (() => any) | undefined;
|
|
104
84
|
"onCreate:template"?: (() => any) | undefined;
|
|
85
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
105
86
|
}>, {}, {}, {}, {}, {}> | null;
|
|
106
87
|
tableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
107
88
|
selectedRows?: Record<string, boolean>;
|
|
@@ -142,12 +123,12 @@ declare function __VLS_template(): {
|
|
|
142
123
|
data: {
|
|
143
124
|
[x: string]: any;
|
|
144
125
|
}[];
|
|
126
|
+
loading: boolean;
|
|
145
127
|
columns: ColumnDef<{
|
|
146
128
|
[x: string]: any;
|
|
147
129
|
}, any>[];
|
|
148
|
-
pageIndex: number;
|
|
149
|
-
loading: boolean;
|
|
150
130
|
pageSize: number;
|
|
131
|
+
pageIndex: number;
|
|
151
132
|
initialSorting: SortingState;
|
|
152
133
|
serverSide: boolean;
|
|
153
134
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -191,12 +172,12 @@ declare function __VLS_template(): {
|
|
|
191
172
|
data: {
|
|
192
173
|
[x: string]: any;
|
|
193
174
|
}[];
|
|
175
|
+
loading: boolean;
|
|
194
176
|
columns: ColumnDef<{
|
|
195
177
|
[x: string]: any;
|
|
196
178
|
}, any>[];
|
|
197
|
-
pageIndex: number;
|
|
198
|
-
loading: boolean;
|
|
199
179
|
pageSize: number;
|
|
180
|
+
pageIndex: number;
|
|
200
181
|
initialSorting: SortingState;
|
|
201
182
|
serverSide: boolean;
|
|
202
183
|
}> | null;
|
|
@@ -213,7 +194,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
213
194
|
}) => Promise<CanvasRetrieve>;
|
|
214
195
|
creator: (params: Omit<CanvasCreateRequest, "instance_id">) => Promise<CanvasRetrieve>;
|
|
215
196
|
fetcher: (params: GetCanvasesParams & {
|
|
197
|
+
filters?: Record<string, any>;
|
|
216
198
|
fields?: string;
|
|
199
|
+
id__in?: string;
|
|
217
200
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
218
201
|
deleter: (id: CanvasRetrieve["id"]) => Promise<CanvasRetrieve>;
|
|
219
202
|
byIdFetcher: (params: {
|
|
@@ -223,12 +206,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
223
206
|
client: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
224
207
|
canvasType: Exclude<CanvasType, "section" | "canvas" | "block">;
|
|
225
208
|
}, {
|
|
226
|
-
refetch:
|
|
209
|
+
refetch: () => Promise<void>;
|
|
227
210
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
228
211
|
create: () => any;
|
|
229
212
|
edit: (canvas: CanvasRetrieve) => any;
|
|
230
|
-
open: (canvas: CanvasRetrieve, newTab?: boolean | undefined) => any;
|
|
231
213
|
details: (canvas: CanvasRetrieve) => any;
|
|
214
|
+
open: (canvas: CanvasRetrieve, newTab?: boolean | undefined) => any;
|
|
232
215
|
createFromTemplate: (templateId: string) => any;
|
|
233
216
|
}, string, import('vue').PublicProps, Readonly<{
|
|
234
217
|
storageKey?: string;
|
|
@@ -239,7 +222,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
239
222
|
}) => Promise<CanvasRetrieve>;
|
|
240
223
|
creator: (params: Omit<CanvasCreateRequest, "instance_id">) => Promise<CanvasRetrieve>;
|
|
241
224
|
fetcher: (params: GetCanvasesParams & {
|
|
225
|
+
filters?: Record<string, any>;
|
|
242
226
|
fields?: string;
|
|
227
|
+
id__in?: string;
|
|
243
228
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
244
229
|
deleter: (id: CanvasRetrieve["id"]) => Promise<CanvasRetrieve>;
|
|
245
230
|
byIdFetcher: (params: {
|
|
@@ -251,8 +236,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
251
236
|
}> & Readonly<{
|
|
252
237
|
onCreate?: (() => any) | undefined;
|
|
253
238
|
onEdit?: ((canvas: CanvasRetrieve) => any) | undefined;
|
|
254
|
-
onOpen?: ((canvas: CanvasRetrieve, newTab?: boolean | undefined) => any) | undefined;
|
|
255
239
|
onDetails?: ((canvas: CanvasRetrieve) => any) | undefined;
|
|
240
|
+
onOpen?: ((canvas: CanvasRetrieve, newTab?: boolean | undefined) => any) | undefined;
|
|
256
241
|
onCreateFromTemplate?: ((templateId: string) => any) | undefined;
|
|
257
242
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
258
243
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,67 +1,58 @@
|
|
|
1
1
|
import { TableColumnSetting } from '../CTableColumnsSettings/CTableColumnsSettings.vue';
|
|
2
|
-
import {
|
|
3
|
-
import { SystemFilter } from '../../types/sectionPopularity';
|
|
2
|
+
import { MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
4
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
search: string;
|
|
5
|
+
filterValues: Record<string, any>;
|
|
6
|
+
recommendedIds: string[];
|
|
7
|
+
tableColumnsSettings: TableColumnSetting[];
|
|
8
|
+
customFilterComponents: {
|
|
9
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
10
|
+
name: string;
|
|
11
|
+
label: string;
|
|
12
|
+
options?: [];
|
|
13
|
+
}[];
|
|
5
14
|
hideCreate?: boolean;
|
|
6
15
|
hideView?: boolean;
|
|
7
16
|
isLoadingItems?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
tag: FilterCategory;
|
|
11
|
-
status: FilterCategory;
|
|
12
|
-
createdBy: FilterCategory;
|
|
13
|
-
[SystemFilter.ENGAGING]: FilterCategory;
|
|
14
|
-
[SystemFilter.POPULAR]: FilterCategory;
|
|
15
|
-
[SystemFilter.RECOMMENDED]: FilterCategory;
|
|
16
|
-
};
|
|
17
|
-
tableColumnsSettings: TableColumnSetting[];
|
|
18
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
search: (s: string) => any;
|
|
19
19
|
select: (payload: {
|
|
20
20
|
id: TableColumnSetting["id"];
|
|
21
21
|
checked: boolean;
|
|
22
22
|
}) => any;
|
|
23
|
-
"update:modelValue": (value: string) => any;
|
|
24
23
|
move: (payload: {
|
|
25
24
|
targetItemId: TableColumnSetting["id"];
|
|
26
25
|
itemId: string;
|
|
27
26
|
}) => any;
|
|
28
|
-
"update:filters": (value: {
|
|
29
|
-
tag: string[];
|
|
30
|
-
status: string[];
|
|
31
|
-
createdBy: string[];
|
|
32
|
-
}) => any;
|
|
33
27
|
restoreColumns: () => any;
|
|
34
28
|
"create:template": () => any;
|
|
29
|
+
"update:filter-values": (mf: Record<string, any>) => any;
|
|
35
30
|
}, string, import('vue').PublicProps, Readonly<{
|
|
31
|
+
search: string;
|
|
32
|
+
filterValues: Record<string, any>;
|
|
33
|
+
recommendedIds: string[];
|
|
34
|
+
tableColumnsSettings: TableColumnSetting[];
|
|
35
|
+
customFilterComponents: {
|
|
36
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
37
|
+
name: string;
|
|
38
|
+
label: string;
|
|
39
|
+
options?: [];
|
|
40
|
+
}[];
|
|
36
41
|
hideCreate?: boolean;
|
|
37
42
|
hideView?: boolean;
|
|
38
43
|
isLoadingItems?: boolean;
|
|
39
|
-
modelValue: string;
|
|
40
|
-
filters: {
|
|
41
|
-
tag: FilterCategory;
|
|
42
|
-
status: FilterCategory;
|
|
43
|
-
createdBy: FilterCategory;
|
|
44
|
-
[SystemFilter.ENGAGING]: FilterCategory;
|
|
45
|
-
[SystemFilter.POPULAR]: FilterCategory;
|
|
46
|
-
[SystemFilter.RECOMMENDED]: FilterCategory;
|
|
47
|
-
};
|
|
48
|
-
tableColumnsSettings: TableColumnSetting[];
|
|
49
44
|
}> & Readonly<{
|
|
45
|
+
onSearch?: ((s: string) => any) | undefined;
|
|
50
46
|
onSelect?: ((payload: {
|
|
51
47
|
id: TableColumnSetting["id"];
|
|
52
48
|
checked: boolean;
|
|
53
49
|
}) => any) | undefined;
|
|
54
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
50
|
onMove?: ((payload: {
|
|
56
51
|
targetItemId: TableColumnSetting["id"];
|
|
57
52
|
itemId: string;
|
|
58
53
|
}) => any) | undefined;
|
|
59
|
-
"onUpdate:filters"?: ((value: {
|
|
60
|
-
tag: string[];
|
|
61
|
-
status: string[];
|
|
62
|
-
createdBy: string[];
|
|
63
|
-
}) => any) | undefined;
|
|
64
54
|
onRestoreColumns?: (() => any) | undefined;
|
|
65
55
|
"onCreate:template"?: (() => any) | undefined;
|
|
56
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
66
57
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
67
58
|
export default _default;
|
|
@@ -3,24 +3,25 @@ import { ColumnDef, PaginationState, SortingState } from '@tanstack/table-core';
|
|
|
3
3
|
import { PaginatedData } from '../../types/paginatedData';
|
|
4
4
|
import { GetCanvasesParams } from '../../types/canvases';
|
|
5
5
|
import { SharingHandler } from './CSavedCanvasesManagementShareCanvas.use';
|
|
6
|
-
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, User } from '../../../types/openapi';
|
|
6
|
+
import { CanvasRetrieve, CanvasCreateRequest, PatchedCanvasUpdateRequest, User, MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
slots: {
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
};
|
|
11
11
|
refs: {
|
|
12
12
|
toolbarWrapper: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isCreateHidden?: boolean;
|
|
16
|
-
isViewHidden?: boolean;
|
|
17
|
-
filters: {
|
|
18
|
-
tag: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
19
|
-
status: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
20
|
-
template: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
21
|
-
ownedBy: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
22
|
-
};
|
|
13
|
+
search: string;
|
|
14
|
+
filterValues: Record<string, any>;
|
|
23
15
|
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
16
|
+
customFilterComponents: {
|
|
17
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
18
|
+
name: string;
|
|
19
|
+
label: string;
|
|
20
|
+
options?: [];
|
|
21
|
+
}[];
|
|
22
|
+
isLoadingItems?: boolean;
|
|
23
|
+
hideCreate?: boolean;
|
|
24
|
+
hideView?: boolean;
|
|
24
25
|
}> & Readonly<{
|
|
25
26
|
onSearch?: ((s: string) => any) | undefined;
|
|
26
27
|
onSelect?: ((payload: {
|
|
@@ -31,13 +32,8 @@ declare function __VLS_template(): {
|
|
|
31
32
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
32
33
|
itemId: string;
|
|
33
34
|
}) => any) | undefined;
|
|
34
|
-
"onUpdate:filters"?: ((value: {
|
|
35
|
-
tag: string[];
|
|
36
|
-
status: string[];
|
|
37
|
-
template: string[];
|
|
38
|
-
ownedBy: string[];
|
|
39
|
-
}) => any) | undefined;
|
|
40
35
|
onRestoreColumns?: (() => any) | undefined;
|
|
36
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
41
37
|
"onCreate:canvas"?: (() => any) | undefined;
|
|
42
38
|
onConfigureSmartFolders?: (() => any) | undefined;
|
|
43
39
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -50,13 +46,8 @@ declare function __VLS_template(): {
|
|
|
50
46
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
51
47
|
itemId: string;
|
|
52
48
|
}) => any;
|
|
53
|
-
"update:filters": (value: {
|
|
54
|
-
tag: string[];
|
|
55
|
-
status: string[];
|
|
56
|
-
template: string[];
|
|
57
|
-
ownedBy: string[];
|
|
58
|
-
}) => any;
|
|
59
49
|
restoreColumns: () => any;
|
|
50
|
+
"update:filter-values": (mf: Record<string, any>) => any;
|
|
60
51
|
"create:canvas": () => any;
|
|
61
52
|
configureSmartFolders: () => any;
|
|
62
53
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -67,17 +58,18 @@ declare function __VLS_template(): {
|
|
|
67
58
|
M: {};
|
|
68
59
|
Defaults: {};
|
|
69
60
|
}, Readonly<{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
isCreateHidden?: boolean;
|
|
73
|
-
isViewHidden?: boolean;
|
|
74
|
-
filters: {
|
|
75
|
-
tag: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
76
|
-
status: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
77
|
-
template: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
78
|
-
ownedBy: import('../canvases/CanvasesManagementToolbarFilters.use').FilterCategory;
|
|
79
|
-
};
|
|
61
|
+
search: string;
|
|
62
|
+
filterValues: Record<string, any>;
|
|
80
63
|
tableColumnsSettings: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting[];
|
|
64
|
+
customFilterComponents: {
|
|
65
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
66
|
+
name: string;
|
|
67
|
+
label: string;
|
|
68
|
+
options?: [];
|
|
69
|
+
}[];
|
|
70
|
+
isLoadingItems?: boolean;
|
|
71
|
+
hideCreate?: boolean;
|
|
72
|
+
hideView?: boolean;
|
|
81
73
|
}> & Readonly<{
|
|
82
74
|
onSearch?: ((s: string) => any) | undefined;
|
|
83
75
|
onSelect?: ((payload: {
|
|
@@ -88,13 +80,8 @@ declare function __VLS_template(): {
|
|
|
88
80
|
targetItemId: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
89
81
|
itemId: string;
|
|
90
82
|
}) => any) | undefined;
|
|
91
|
-
"onUpdate:filters"?: ((value: {
|
|
92
|
-
tag: string[];
|
|
93
|
-
status: string[];
|
|
94
|
-
template: string[];
|
|
95
|
-
ownedBy: string[];
|
|
96
|
-
}) => any) | undefined;
|
|
97
83
|
onRestoreColumns?: (() => any) | undefined;
|
|
84
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
98
85
|
"onCreate:canvas"?: (() => any) | undefined;
|
|
99
86
|
onConfigureSmartFolders?: (() => any) | undefined;
|
|
100
87
|
}>, {}, {}, {}, {}, {}> | null;
|
|
@@ -159,12 +146,12 @@ declare function __VLS_template(): {
|
|
|
159
146
|
data: {
|
|
160
147
|
[x: string]: any;
|
|
161
148
|
}[];
|
|
149
|
+
loading: boolean;
|
|
162
150
|
columns: ColumnDef<{
|
|
163
151
|
[x: string]: any;
|
|
164
152
|
}, any>[];
|
|
165
|
-
pageIndex: number;
|
|
166
|
-
loading: boolean;
|
|
167
153
|
pageSize: number;
|
|
154
|
+
pageIndex: number;
|
|
168
155
|
initialSorting: SortingState;
|
|
169
156
|
serverSide: boolean;
|
|
170
157
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -208,12 +195,12 @@ declare function __VLS_template(): {
|
|
|
208
195
|
data: {
|
|
209
196
|
[x: string]: any;
|
|
210
197
|
}[];
|
|
198
|
+
loading: boolean;
|
|
211
199
|
columns: ColumnDef<{
|
|
212
200
|
[x: string]: any;
|
|
213
201
|
}, any>[];
|
|
214
|
-
pageIndex: number;
|
|
215
|
-
loading: boolean;
|
|
216
202
|
pageSize: number;
|
|
203
|
+
pageIndex: number;
|
|
217
204
|
initialSorting: SortingState;
|
|
218
205
|
serverSide: boolean;
|
|
219
206
|
}> | null;
|
|
@@ -228,6 +215,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
228
215
|
}) => Promise<CanvasRetrieve>;
|
|
229
216
|
creator: (params: Omit<CanvasCreateRequest, "instance_id">) => Promise<CanvasRetrieve>;
|
|
230
217
|
fetcher: (params: GetCanvasesParams & {
|
|
218
|
+
filters?: Record<string, any>;
|
|
231
219
|
fields?: string;
|
|
232
220
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
233
221
|
deleter: (id: CanvasRetrieve["id"]) => Promise<CanvasRetrieve>;
|
|
@@ -261,6 +249,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
261
249
|
}) => Promise<CanvasRetrieve>;
|
|
262
250
|
creator: (params: Omit<CanvasCreateRequest, "instance_id">) => Promise<CanvasRetrieve>;
|
|
263
251
|
fetcher: (params: GetCanvasesParams & {
|
|
252
|
+
filters?: Record<string, any>;
|
|
264
253
|
fields?: string;
|
|
265
254
|
}) => Promise<PaginatedData<CanvasRetrieve>>;
|
|
266
255
|
deleter: (id: CanvasRetrieve["id"]) => Promise<CanvasRetrieve>;
|
|
@@ -2,6 +2,7 @@ import { CanvasRetrieve, Canvas, SharedLink } from '../../../types/openapi';
|
|
|
2
2
|
export type SharingHandler = (canvasId: string) => Promise<SharedLink>;
|
|
3
3
|
declare const _default: (sharingHandler: SharingHandler, options?: {
|
|
4
4
|
useShortUrl?: boolean;
|
|
5
|
+
contextUpdater?: (id: CanvasRetrieve["id"]) => Promise<void>;
|
|
5
6
|
}) => {
|
|
6
7
|
copySharingUrlToClipboard: (canvas: CanvasRetrieve | Canvas) => Promise<{
|
|
7
8
|
copied: boolean;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { TableColumnSetting } from '../CTableColumnsSettings/CTableColumnsSettings.vue';
|
|
2
|
-
import {
|
|
2
|
+
import { MetadataTemplateFieldTypeEnum } from '../../../types/openapi';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
isCreateHidden?: boolean;
|
|
7
|
-
isViewHidden?: boolean;
|
|
8
|
-
filters: {
|
|
9
|
-
tag: FilterCategory;
|
|
10
|
-
status: FilterCategory;
|
|
11
|
-
template: FilterCategory;
|
|
12
|
-
ownedBy: FilterCategory;
|
|
13
|
-
};
|
|
4
|
+
search: string;
|
|
5
|
+
filterValues: Record<string, any>;
|
|
14
6
|
tableColumnsSettings: TableColumnSetting[];
|
|
7
|
+
customFilterComponents: {
|
|
8
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
9
|
+
name: string;
|
|
10
|
+
label: string;
|
|
11
|
+
options?: [];
|
|
12
|
+
}[];
|
|
13
|
+
isLoadingItems?: boolean;
|
|
14
|
+
hideCreate?: boolean;
|
|
15
|
+
hideView?: boolean;
|
|
15
16
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
17
|
search: (s: string) => any;
|
|
17
18
|
select: (payload: {
|
|
@@ -22,27 +23,23 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
23
|
targetItemId: TableColumnSetting["id"];
|
|
23
24
|
itemId: string;
|
|
24
25
|
}) => any;
|
|
25
|
-
"update:filters": (value: {
|
|
26
|
-
tag: string[];
|
|
27
|
-
status: string[];
|
|
28
|
-
template: string[];
|
|
29
|
-
ownedBy: string[];
|
|
30
|
-
}) => any;
|
|
31
26
|
restoreColumns: () => any;
|
|
27
|
+
"update:filter-values": (mf: Record<string, any>) => any;
|
|
32
28
|
"create:canvas": () => any;
|
|
33
29
|
configureSmartFolders: () => any;
|
|
34
30
|
}, string, import('vue').PublicProps, Readonly<{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
isCreateHidden?: boolean;
|
|
38
|
-
isViewHidden?: boolean;
|
|
39
|
-
filters: {
|
|
40
|
-
tag: FilterCategory;
|
|
41
|
-
status: FilterCategory;
|
|
42
|
-
template: FilterCategory;
|
|
43
|
-
ownedBy: FilterCategory;
|
|
44
|
-
};
|
|
31
|
+
search: string;
|
|
32
|
+
filterValues: Record<string, any>;
|
|
45
33
|
tableColumnsSettings: TableColumnSetting[];
|
|
34
|
+
customFilterComponents: {
|
|
35
|
+
type: MetadataTemplateFieldTypeEnum;
|
|
36
|
+
name: string;
|
|
37
|
+
label: string;
|
|
38
|
+
options?: [];
|
|
39
|
+
}[];
|
|
40
|
+
isLoadingItems?: boolean;
|
|
41
|
+
hideCreate?: boolean;
|
|
42
|
+
hideView?: boolean;
|
|
46
43
|
}> & Readonly<{
|
|
47
44
|
onSearch?: ((s: string) => any) | undefined;
|
|
48
45
|
onSelect?: ((payload: {
|
|
@@ -53,13 +50,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
53
50
|
targetItemId: TableColumnSetting["id"];
|
|
54
51
|
itemId: string;
|
|
55
52
|
}) => any) | undefined;
|
|
56
|
-
"onUpdate:filters"?: ((value: {
|
|
57
|
-
tag: string[];
|
|
58
|
-
status: string[];
|
|
59
|
-
template: string[];
|
|
60
|
-
ownedBy: string[];
|
|
61
|
-
}) => any) | undefined;
|
|
62
53
|
onRestoreColumns?: (() => any) | undefined;
|
|
54
|
+
"onUpdate:filter-values"?: ((mf: Record<string, any>) => any) | undefined;
|
|
63
55
|
"onCreate:canvas"?: (() => any) | undefined;
|
|
64
56
|
onConfigureSmartFolders?: (() => any) | undefined;
|
|
65
57
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -53,9 +53,6 @@ export type SmartFolderProperty = {
|
|
|
53
53
|
export interface SmartFolderConfig {
|
|
54
54
|
enabledSmartFolderProperties: SmartFolderProperty['name'][];
|
|
55
55
|
}
|
|
56
|
-
declare function toggleViewMode(): void;
|
|
57
|
-
declare function setSmartFoldersView(): void;
|
|
58
|
-
declare function setNormalView(): void;
|
|
59
56
|
export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) => void): {
|
|
60
57
|
currentGroupingData: ComputedRef<{
|
|
61
58
|
readonly id: string;
|
|
@@ -101,6 +98,8 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
101
98
|
subject: string;
|
|
102
99
|
}[];
|
|
103
100
|
folder_id?: (string | null) | undefined;
|
|
101
|
+
readonly search_rank: string;
|
|
102
|
+
readonly search_headline: string;
|
|
104
103
|
readonly owned_by: {
|
|
105
104
|
readonly id: number;
|
|
106
105
|
readonly name: string;
|
|
@@ -127,7 +126,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
127
126
|
count: number;
|
|
128
127
|
}>>>;
|
|
129
128
|
viewMode: import('@vueuse/shared').RemovableRef<"normal" | "smartFolders">;
|
|
130
|
-
smartFoldersDisplayMode:
|
|
129
|
+
smartFoldersDisplayMode: import('@vueuse/shared').RemovableRef<SmartFoldersDisplayMode>;
|
|
131
130
|
activeConfiguration: Ref<{
|
|
132
131
|
enabledSmartFolderProperties: SmartFolderProperty["name"][];
|
|
133
132
|
} | null, SmartFolderConfig | {
|
|
@@ -182,6 +181,8 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
182
181
|
subject: string;
|
|
183
182
|
}[];
|
|
184
183
|
folder_id?: (string | null) | undefined;
|
|
184
|
+
readonly search_rank: string;
|
|
185
|
+
readonly search_headline: string;
|
|
185
186
|
readonly owned_by: {
|
|
186
187
|
readonly id: number;
|
|
187
188
|
readonly name: string;
|
|
@@ -243,6 +244,8 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
243
244
|
subject: string;
|
|
244
245
|
}[];
|
|
245
246
|
folder_id?: (string | null) | undefined;
|
|
247
|
+
readonly search_rank: string;
|
|
248
|
+
readonly search_headline: string;
|
|
246
249
|
readonly owned_by: {
|
|
247
250
|
readonly id: number;
|
|
248
251
|
readonly name: string;
|
|
@@ -305,6 +308,8 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
305
308
|
subject: string;
|
|
306
309
|
}[];
|
|
307
310
|
folder_id?: (string | null) | undefined;
|
|
311
|
+
readonly search_rank: string;
|
|
312
|
+
readonly search_headline: string;
|
|
308
313
|
readonly owned_by: {
|
|
309
314
|
readonly id: number;
|
|
310
315
|
readonly name: string;
|
|
@@ -328,20 +333,11 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
328
333
|
}[]>;
|
|
329
334
|
breadcrumbItems: ComputedRef<{
|
|
330
335
|
label: string;
|
|
331
|
-
path:
|
|
332
|
-
value: string;
|
|
333
|
-
property: {
|
|
334
|
-
name: string;
|
|
335
|
-
display_name?: string | undefined;
|
|
336
|
-
accessor: string;
|
|
337
|
-
type: string;
|
|
338
|
-
description?: string | undefined;
|
|
339
|
-
};
|
|
340
|
-
}[];
|
|
336
|
+
path: PathSegment[];
|
|
341
337
|
}[]>;
|
|
342
338
|
columns: ComputedRef<((import('@tanstack/vue-table').AccessorFnColumnDefBase<CanvasRetrieve, any> & import('@tanstack/vue-table').StringHeaderIdentifier) | (import('@tanstack/vue-table').AccessorFnColumnDefBase<CanvasRetrieve, any> & import('@tanstack/vue-table').IdIdentifier<CanvasRetrieve, any>) | (import('@tanstack/vue-table').AccessorKeyColumnDefBase<CanvasRetrieve, string> & Partial<import('@tanstack/vue-table').IdIdentifier<CanvasRetrieve, string>>))[]>;
|
|
343
339
|
page: Ref<number, number>;
|
|
344
|
-
pageSize:
|
|
340
|
+
pageSize: import('@vueuse/shared').RemovableRef<number>;
|
|
345
341
|
pageSizes: number[];
|
|
346
342
|
totalCount: Ref<number, number>;
|
|
347
343
|
allSmartFolderProperties: ComputedRef<{
|
|
@@ -369,8 +365,10 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
|
|
|
369
365
|
saveConfiguration: (config: SmartFolderConfig) => Promise<void>;
|
|
370
366
|
loadConfiguration: () => Promise<void>;
|
|
371
367
|
createGroupings: (canvases: CanvasRetrieve[], properties: SmartFolderProperty[]) => Record<string, any>;
|
|
372
|
-
toggleViewMode:
|
|
373
|
-
setSmartFoldersView:
|
|
374
|
-
setNormalView:
|
|
368
|
+
toggleViewMode: () => void;
|
|
369
|
+
setSmartFoldersView: () => void;
|
|
370
|
+
setNormalView: () => void;
|
|
371
|
+
searchTerm: Ref<string, string>;
|
|
372
|
+
handleSearch: (term: string) => void;
|
|
375
373
|
};
|
|
376
374
|
export {};
|