@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.
- package/impact-js-api.spec.json +7 -1
- package/js-api.esm.js +25 -4
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +10 -10
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/browser/App.vue.d.ts +10 -9
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +195 -132
- package/lib/apps/browser/components/Content/AllContent/Table/FoldersFilesTable.vue.d.ts +96 -0
- package/lib/apps/browser/components/Content/Panel/DetailsDrawer/DetailsDrawer.vue.d.ts +17 -0
- package/lib/apps/browser/components/FileSmartFolders.vue.d.ts +209 -0
- package/lib/apps/browser/stores/api.d.ts +6 -0
- package/lib/apps/browser/stores/app.d.ts +7 -2
- package/lib/apps/browser/stores/upload.d.ts +4 -4
- package/lib/apps/browser/stores/upload.types.d.ts +0 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +356 -11
- package/lib/apps/canvas-builder/components/container/CanvasDrawerTheme/CanvasDrawerTheme.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +3 -1
- package/lib/apps/canvas-builder/components/container/ControlBar/ReorderContent.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +1230 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +22 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridList.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts +7 -2
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts +9 -1
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts +6 -2
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.edit.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +31 -0
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +1 -6
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +12 -6
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +111 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +206 -31
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +46 -6
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +44 -6
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useCanvasNodes.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +120 -3
- package/lib/apps/canvas-builder/composables/useCanvasThemeAssets.d.ts +31 -0
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +4 -1
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useDataTablePrint.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -0
- package/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +3 -2
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +45 -11
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +4 -1
- package/lib/apps/canvas-builder/util/print.util.d.ts +1 -1
- package/lib/apps/canvas-builder/util/tiptap-table.util.d.ts +20 -0
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/AppFooter.vue.d.ts +56 -1
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +15 -0
- package/lib/apps/collection-player/components/MainImage.vue.d.ts +3 -1
- package/lib/apps/collection-player/composables/annotation-layer.use.d.ts +13 -0
- package/lib/apps/collection-player/composables/laser-pointer-marker.use.d.ts +166 -0
- package/lib/apps/collection-player/composables/markerjs.use.d.ts +8 -0
- package/lib/apps/collection-player/composables/new-zoom.use.d.ts +12 -0
- package/lib/apps/collection-player/stores/app.store.d.ts +4 -1
- package/lib/apps/collection-selector/App.vue.d.ts +33 -0
- package/lib/apps/content-selector/appTypes.d.ts +1 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +195 -132
- package/lib/apps/content-selector/components/MultimediaSelectorApp.vue.d.ts +12 -0
- package/lib/apps/content-selector/components/ThemeImages.vue.d.ts +2 -0
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +4 -0
- package/lib/apps/content-selector/composables/useMultimediaSelectorApps.d.ts +21 -0
- package/lib/apps/content-selector/composables/useStore.d.ts +4 -0
- package/lib/apps/content-selector/stores/api.d.ts +19 -228
- package/lib/apps/content-selector/stores/app.d.ts +45 -66
- package/lib/apps/ppt-conversion-selector/components/AppHeader.vue.d.ts +2 -0
- package/lib/canvas-comments/components/CommentButton.vue.d.ts +6 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +21 -0
- package/lib/canvas-comments/components/SimpleComments.vue.d.ts +14 -0
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +1 -1
- package/lib/components/CButton/CButton.vue.d.ts +3 -3
- package/lib/components/CCreateThemeModal/steps/CThemeAssetsStep.vue.d.ts +19 -0
- package/lib/components/CFileThumbnail/CFileThumbnail.vue.d.ts +1 -1
- package/lib/components/CFileViewer/CFileViewer.types.d.ts +8 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +18 -0
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +3 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -0
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +69 -0
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +2 -0
- package/lib/components/CInput/CInput.vue.d.ts +3 -3
- package/lib/components/CList/CList.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +4 -4
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +90 -1
- package/lib/components/CTable/CTable.vue.d.ts +3 -1
- package/lib/components/CTableTag/CTableTag.vue.d.ts +4687 -0
- package/lib/components/CTags/CTags.vue.d.ts +3 -3
- package/lib/components/CThemePreview/CThemePreview.vue.d.ts +1 -1
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +43 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +7 -9
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +6 -2
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +582 -266
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +195 -132
- package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
- package/lib/components/savedCanvases/CCanvasAccountModal.vue.d.ts +23 -0
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +20 -5
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +21 -2
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +4 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +3 -1
- package/lib/components/sections/CSectionManagement.vue.d.ts +6 -2
- package/lib/components/themes/CThemeManagement.vue.d.ts +6 -2
- package/lib/composables/useCanvasLocks.d.ts +3 -4
- package/lib/composables/useCommentTracking.d.ts +25 -0
- package/lib/composables/useCommentsStorage.d.ts +70 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +2 -0
- package/lib/composables/useInstalledApps.d.ts +1 -0
- package/lib/composables/useMetadataFilters.d.ts +2 -2
- package/lib/composables/useMetadataSearch.d.ts +2 -1
- package/lib/composables/useSharedCommentsStorage.d.ts +32 -0
- package/lib/constants/cdp.const.d.ts +6 -0
- package/lib/constants/roles.const.d.ts +16 -0
- package/lib/directives/element-mounted.d.ts +4 -0
- package/lib/main.lib.d.ts +6 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -0
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -0
- package/lib/sdk/api/modules/admin/users.admin.d.ts +14 -0
- package/lib/sdk/api/modules/env.d.ts +1 -0
- package/lib/sdk/api/modules/query.d.ts +2 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +4 -0
- package/lib/sdk/interfaces.d.ts +1 -0
- package/lib/sdk/main.d.ts +8 -0
- package/lib/sdk/payload.types.d.ts +14 -0
- package/lib/types/app.d.ts +12 -1
- package/lib/types/call.d.ts +1 -2
- package/lib/types/canvasTheme.d.ts +12 -0
- package/lib/types/core/MetadataFilter.d.ts +1 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +2 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +19 -0
- package/lib/util/image.d.ts +4 -0
- package/lib/util/style.util.d.ts +1 -0
- package/lib/util/userAgents.d.ts +1 -0
- package/package.json +1 -1
- package/types/openapi/models/App.d.ts +1 -0
- package/types/openapi/models/CanvasCreate.d.ts +1 -0
- package/types/openapi/models/CanvasRecommendedFile.d.ts +2 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +1 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +2 -0
- package/types/openapi/models/File.d.ts +2 -0
- package/types/openapi/models/FileCreate.d.ts +2 -0
- package/types/openapi/models/FileCreateRequest.d.ts +1 -0
- package/types/openapi/models/FileRetrieve.d.ts +2 -0
- package/types/openapi/models/FileUpdate.d.ts +2 -0
- package/types/openapi/models/FileUpdateRequest.d.ts +1 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +2 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +1 -0
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
usedInSectionId: string;
|
|
3
|
+
sectionIdx: number;
|
|
4
|
+
sectionListId: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -12,6 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
visible?: ComponentNode['visible'];
|
|
13
13
|
tracking_id?: string;
|
|
14
14
|
style?: Record<string, any>;
|
|
15
|
+
height?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
18
|
style: (s: Record<string, any>) => any;
|
|
@@ -35,6 +36,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
35
36
|
api: CollectionPlayerApi;
|
|
36
37
|
style?: string | Record<string, any> | (string | Record<string, any>)[];
|
|
37
38
|
class?: string | Record<string, any> | (string | Record<string, any>)[];
|
|
39
|
+
aspectRatio?: number;
|
|
38
40
|
}> & Readonly<{
|
|
39
41
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
40
42
|
onClose?: (() => any) | undefined;
|
|
@@ -64,6 +66,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
64
66
|
api: CollectionPlayerApi;
|
|
65
67
|
style?: string | Record<string, any> | (string | Record<string, any>)[];
|
|
66
68
|
class?: string | Record<string, any> | (string | Record<string, any>)[];
|
|
69
|
+
aspectRatio?: number;
|
|
67
70
|
}> & Readonly<{
|
|
68
71
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
69
72
|
onClose?: (() => any) | undefined;
|
|
@@ -2,8 +2,10 @@ import { ContentGridProps } from '../../../types/canvas';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
item: ContentGridProps['items'][number];
|
|
4
4
|
showPreviewThumbnails?: boolean;
|
|
5
|
+
allowDownload?: boolean;
|
|
5
6
|
};
|
|
6
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
8
|
showPreviewThumbnails: boolean;
|
|
9
|
+
allowDownload: boolean;
|
|
8
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '../../../types/canvas';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
items: (ContentGridItemSlideProps | ContentGridItemFileProps)[];
|
|
5
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
deletedFileClicked: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onDeletedFileClicked?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '../../../types/canvas';
|
|
2
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
item: ContentGridItemSlideProps | ContentGridItemFileProps;
|
|
5
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
deletedFileClicked: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onDeletedFileClicked?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.grouped.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
-
import { DynamicDataTableProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
3
3
|
import { CanvasMetadataRetrieve } from '../../../../../types/canvases';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
data: DynamicDataTableProps;
|
|
@@ -8,10 +8,15 @@ type __VLS_Props = {
|
|
|
8
8
|
groupHeaderBackgroundColor: string;
|
|
9
9
|
canvasMetadata?: CanvasMetadataRetrieve['config'];
|
|
10
10
|
componentId: string;
|
|
11
|
+
breakGroupsOnNewPage?: boolean;
|
|
12
|
+
parentType?: ComponentNode['type'];
|
|
13
|
+
style?: Record<string, any>;
|
|
11
14
|
};
|
|
12
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
16
|
sortChanged: (s: ColumnSort | null) => any;
|
|
14
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
18
|
onSortChanged?: ((s: ColumnSort | null) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
tableContainer: HTMLTableElement;
|
|
21
|
+
}, HTMLDivElement>;
|
|
17
22
|
export default _default;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.header.vue.d.ts
CHANGED
|
@@ -6,14 +6,22 @@ interface Column {
|
|
|
6
6
|
sortDescFirst?: boolean;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = {
|
|
9
|
+
breakGroupsOnNewPage?: boolean;
|
|
9
10
|
columns: Column[];
|
|
10
11
|
headerBackgroundColor: string;
|
|
11
12
|
headerForegroundColor: string;
|
|
13
|
+
groupHeaderBackgroundColor?: string;
|
|
14
|
+
groupHeaderForegroundColor?: string;
|
|
12
15
|
currentSorting: ColumnSort | null;
|
|
16
|
+
currentGroupHeader?: string | number | boolean;
|
|
17
|
+
groupColumnHeader?: string;
|
|
18
|
+
useFixedWidths?: boolean;
|
|
13
19
|
};
|
|
14
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
21
|
sort: (columnId: string) => any;
|
|
16
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
23
|
onSort?: ((columnId: string) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
tableHeader: HTMLTableSectionElement;
|
|
26
|
+
}, HTMLTableSectionElement>;
|
|
19
27
|
export default _default;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.simple.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
-
import { DynamicDataTableProps } from '../../../types/canvas';
|
|
2
|
+
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
3
3
|
interface Column {
|
|
4
4
|
id: string;
|
|
5
5
|
header: string;
|
|
@@ -17,11 +17,15 @@ type __VLS_Props = {
|
|
|
17
17
|
hidePagination?: boolean;
|
|
18
18
|
hideTotalResults?: boolean;
|
|
19
19
|
pageSize?: number;
|
|
20
|
+
parentType?: ComponentNode['type'];
|
|
21
|
+
style?: Record<string, any>;
|
|
20
22
|
loading?: boolean;
|
|
21
23
|
};
|
|
22
24
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
25
|
sortChanged: (s: ColumnSort | null) => any;
|
|
24
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
27
|
onSortChanged?: ((s: ColumnSort | null) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
tableContainer: HTMLDivElement;
|
|
30
|
+
}, HTMLDivElement>;
|
|
27
31
|
export default _default;
|
package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.raw.vue.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { CanvasMetadataRetrieve } from '../../../../../types/canvases';
|
|
|
4
4
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
data?: DynamicDataTableProps;
|
|
7
|
+
parentType?: ComponentNode['type'];
|
|
8
|
+
selected?: boolean;
|
|
7
9
|
style?: Record<string, any>;
|
|
8
10
|
theme_meta?: ComponentNode['theme_meta'];
|
|
9
11
|
id?: string;
|
|
@@ -11,8 +13,10 @@ type __VLS_Props = {
|
|
|
11
13
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
12
14
|
};
|
|
13
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
style: (s: Record<string, any>) => any;
|
|
14
17
|
sortChanged: (s: ColumnSort | null) => any;
|
|
15
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onStyle?: ((s: Record<string, any>) => any) | undefined;
|
|
16
20
|
onSortChanged?: ((s: ColumnSort | null) => any) | undefined;
|
|
17
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
22
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
1
|
+
import { ComponentTypes, ComponentNode, DynamicDataTableProps } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
id: string;
|
|
5
5
|
data: DynamicDataTableProps;
|
|
6
6
|
children?: ComponentNode[];
|
|
7
|
+
parentType?: ComponentTypes;
|
|
7
8
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
9
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
10
|
visible?: ComponentNode['visible'];
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
8
|
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
9
|
visible?: ComponentNode['visible'];
|
|
10
|
+
print?: ComponentNode['print'];
|
|
10
11
|
tracking_id?: string;
|
|
11
12
|
style?: Record<string, any>;
|
|
12
13
|
theme_meta?: ComponentNode['theme_meta'];
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isScribbleChild: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
isScribbleChild: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2
7
|
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentNode, ScribbleProps } from '../../../types/canvas';
|
|
3
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
id: string;
|
|
6
|
+
data: ScribbleProps;
|
|
7
|
+
children?: ComponentNode[];
|
|
8
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
|
+
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
visible?: ComponentNode['visible'];
|
|
11
|
+
tracking_id?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
style: (s: CSSProperties, id?: string | undefined) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onStyle?: ((s: CSSProperties, id?: string | undefined) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
children: ComponentNode[];
|
|
20
|
+
when_used_in_section: {
|
|
21
|
+
is_editable: boolean;
|
|
22
|
+
is_removable: boolean;
|
|
23
|
+
};
|
|
24
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
scribbleRef: HTMLDivElement;
|
|
27
|
+
scrollableContainerRef: HTMLDivElement;
|
|
28
|
+
containerRef: HTMLDivElement;
|
|
29
|
+
dropPreviewRef: HTMLDivElement;
|
|
30
|
+
}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentNode, ScribbleProps } from '../../../types/canvas';
|
|
3
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
id: string;
|
|
6
|
+
data: ScribbleProps;
|
|
7
|
+
children?: ComponentNode[];
|
|
8
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
9
|
+
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
10
|
+
visible?: ComponentNode['visible'];
|
|
11
|
+
tracking_id?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
style: (s: CSSProperties, id?: string | undefined) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onStyle?: ((s: CSSProperties, id?: string | undefined) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
children: ComponentNode[];
|
|
20
|
+
when_used_in_section: {
|
|
21
|
+
is_editable: boolean;
|
|
22
|
+
is_removable: boolean;
|
|
23
|
+
};
|
|
24
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
scribbleRef: HTMLDivElement;
|
|
27
|
+
scrollableContainerRef: HTMLDivElement;
|
|
28
|
+
containerRef: HTMLDivElement;
|
|
29
|
+
dropPreviewRef: HTMLDivElement;
|
|
30
|
+
}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -22,10 +22,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
is_removable: boolean;
|
|
23
23
|
};
|
|
24
24
|
usedInSectionId: CanvasRetrieve["id"];
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
-
scribbleRef: HTMLDivElement;
|
|
27
|
-
scrollableContainerRef: HTMLDivElement;
|
|
28
|
-
containerRef: HTMLDivElement;
|
|
29
|
-
dropPreviewRef: HTMLDivElement;
|
|
30
|
-
}, HTMLDivElement>;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
26
|
export default _default;
|
|
@@ -20,6 +20,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
20
20
|
previewMode?: boolean;
|
|
21
21
|
style?: CSSProperties;
|
|
22
22
|
shouldEditWithApp?: boolean;
|
|
23
|
+
hasSectionSelectorApp?: boolean;
|
|
23
24
|
}> & Readonly<{
|
|
24
25
|
onJustAdded?: ((id: string) => any) | undefined;
|
|
25
26
|
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
@@ -45,6 +46,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
45
46
|
previewMode?: boolean;
|
|
46
47
|
style?: CSSProperties;
|
|
47
48
|
shouldEditWithApp?: boolean;
|
|
49
|
+
hasSectionSelectorApp?: boolean;
|
|
48
50
|
}> & Readonly<{
|
|
49
51
|
onJustAdded?: ((id: string) => any) | undefined;
|
|
50
52
|
onBrowseWithAppClicked?: (() => any) | undefined;
|
|
@@ -2,17 +2,23 @@ import { ComponentNode } from '../../../types/canvas';
|
|
|
2
2
|
import { CanvasSection } from '../../../../../../types/openapi';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
id: ComponentNode['id'];
|
|
5
|
-
sections?:
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
sections?: {
|
|
6
|
+
section: CanvasSection & {
|
|
7
|
+
thumbnail_url?: string;
|
|
8
|
+
};
|
|
9
|
+
index: number;
|
|
10
|
+
}[];
|
|
8
11
|
onSectionElementVisibility?: (isVisible: boolean, c: ComponentNode) => void;
|
|
9
12
|
onSectionVisibility?: (isVisible: boolean, section: CanvasSection) => void;
|
|
10
13
|
sectionListName?: string;
|
|
11
14
|
};
|
|
12
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
sections:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
sections: {
|
|
17
|
+
section: CanvasSection & {
|
|
18
|
+
thumbnail_url?: string;
|
|
19
|
+
};
|
|
20
|
+
index: number;
|
|
21
|
+
}[];
|
|
16
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
23
|
collapseRef: HTMLDivElement;
|
|
18
24
|
}, HTMLDivElement>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentTypes, ComponentNode, TextProps, ComponentNodeThemeMeta } from '../../../types/canvas';
|
|
3
|
+
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
id: ComponentNode['id'];
|
|
6
|
+
data: TextProps;
|
|
7
|
+
parentType?: ComponentTypes;
|
|
8
|
+
when_used_in_section?: ComponentNode['when_used_in_section'];
|
|
9
|
+
usedInSectionId?: CanvasRetrieve['id'];
|
|
10
|
+
visible?: ComponentNode['visible'];
|
|
11
|
+
tracking_id?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
theme_meta?: ComponentNodeThemeMeta;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
style: (s: CSSProperties) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onStyle?: ((s: CSSProperties) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
when_used_in_section: {
|
|
21
|
+
is_editable: boolean;
|
|
22
|
+
is_removable: boolean;
|
|
23
|
+
};
|
|
24
|
+
usedInSectionId: CanvasRetrieve["id"];
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
editorComponent: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
27
|
+
id: string;
|
|
28
|
+
modelValue: string;
|
|
29
|
+
parentType?: ComponentTypes;
|
|
30
|
+
showMenu: boolean;
|
|
31
|
+
allowEdit?: boolean;
|
|
32
|
+
style: Record<string, any>;
|
|
33
|
+
}> & Readonly<{
|
|
34
|
+
onOpenFile?: ((payload: {
|
|
35
|
+
fileId: string;
|
|
36
|
+
pageIndex?: number;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
onBlur?: (() => any) | undefined;
|
|
39
|
+
onFocus?: (() => any) | undefined;
|
|
40
|
+
"onUpdate:model-value"?: ((content: string) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
setContent: (content?: string) => void;
|
|
43
|
+
blur: () => void;
|
|
44
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
45
|
+
openFile: (payload: {
|
|
46
|
+
fileId: string;
|
|
47
|
+
pageIndex?: number;
|
|
48
|
+
}) => any;
|
|
49
|
+
blur: () => any;
|
|
50
|
+
focus: () => any;
|
|
51
|
+
"update:model-value": (content: string) => any;
|
|
52
|
+
}, import('vue').PublicProps, {
|
|
53
|
+
allowEdit: boolean;
|
|
54
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
55
|
+
editorContentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
editor: {
|
|
57
|
+
default: null;
|
|
58
|
+
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
59
|
+
};
|
|
60
|
+
}>>, {
|
|
61
|
+
rootEl: import('vue').Ref<Element | undefined>;
|
|
62
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
63
|
+
editor: import('@tiptap/vue-3').Editor;
|
|
64
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
65
|
+
P: {};
|
|
66
|
+
B: {};
|
|
67
|
+
D: {};
|
|
68
|
+
C: {};
|
|
69
|
+
M: {};
|
|
70
|
+
Defaults: {};
|
|
71
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
editor: {
|
|
73
|
+
default: null;
|
|
74
|
+
type: import('vue').PropType<import('@tiptap/vue-3').Editor>;
|
|
75
|
+
};
|
|
76
|
+
}>>, {
|
|
77
|
+
rootEl: import('vue').Ref<Element | undefined>;
|
|
78
|
+
}, {}, {}, {}, {
|
|
79
|
+
editor: import('@tiptap/vue-3').Editor;
|
|
80
|
+
}> | null;
|
|
81
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
82
|
+
P: {};
|
|
83
|
+
B: {};
|
|
84
|
+
D: {};
|
|
85
|
+
C: {};
|
|
86
|
+
M: {};
|
|
87
|
+
Defaults: {};
|
|
88
|
+
}, Readonly<{
|
|
89
|
+
id: string;
|
|
90
|
+
modelValue: string;
|
|
91
|
+
parentType?: ComponentTypes;
|
|
92
|
+
showMenu: boolean;
|
|
93
|
+
allowEdit?: boolean;
|
|
94
|
+
style: Record<string, any>;
|
|
95
|
+
}> & Readonly<{
|
|
96
|
+
onOpenFile?: ((payload: {
|
|
97
|
+
fileId: string;
|
|
98
|
+
pageIndex?: number;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
onBlur?: (() => any) | undefined;
|
|
101
|
+
onFocus?: (() => any) | undefined;
|
|
102
|
+
"onUpdate:model-value"?: ((content: string) => any) | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
setContent: (content?: string) => void;
|
|
105
|
+
blur: () => void;
|
|
106
|
+
}, {}, {}, {}, {
|
|
107
|
+
allowEdit: boolean;
|
|
108
|
+
}> | null;
|
|
109
|
+
contentElement: HTMLDivElement;
|
|
110
|
+
}, any>;
|
|
111
|
+
export default _default;
|