@pitcher/js-api 1.22.0-rc.2 → 1.23.0-rc.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.
- package/js-api.esm.js +52 -43
- 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/browser/App.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesWidget/UploadFilesWidget.vue.d.ts +1 -1
- package/lib/apps/browser/stores/api.d.ts +0 -12
- package/lib/apps/browser/stores/upload.d.ts +5 -5
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -2
- package/lib/apps/canvas-builder/App.vue.d.ts +271 -192
- package/lib/apps/canvas-builder/components/container/ComponentDrawer/ComponentDrawer.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +2 -4
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentLegacy.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentRevamp.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Block/Block.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionListItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionSelector.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/components/{PreviewImage.vue.d.ts → MainImage.vue.d.ts} +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/arrow-keys.use.d.ts +6 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/gestures.use.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/tracking.use.d.ts +4 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/zoom.use.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/utils/type.util.d.ts +5 -5
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGrid.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridFileItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridItem.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Grid/Grid.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Grid/GridItemTooltip.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.edit.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Link/Link.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Page/Page.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/PageBreak/PageBreak.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCollapsibles.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorItem.vue.d.ts +3 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.raw.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/components/ui/Timeline/Timeline.vue.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +638 -66
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +837 -0
- package/lib/apps/canvas-builder/composables/useCanvasDnd.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +143 -17
- package/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +10 -6
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useCollectionPlayer.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +1 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +25 -6
- package/lib/apps/canvas-builder/composables/useRecommendations.d.ts +2 -2
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +3 -3
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +1 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +42 -6
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +13 -9
- package/lib/apps/canvas-builder/util/tree.d.ts +1 -1
- package/lib/apps/canvas-selector/App.vue.d.ts +1 -1
- package/lib/apps/canvas-selector/constants/index.d.ts +1 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +43 -15
- package/lib/apps/content-selector/App.vue.d.ts +2 -2
- package/lib/apps/content-selector/appTypes.d.ts +3 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -1
- package/lib/apps/content-selector/stores/app.d.ts +2 -1
- package/lib/components/CApexChart/CApexChartLine.vue.d.ts +7 -3
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +4 -4
- package/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +3 -1
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +3 -0
- package/lib/components/{CCreateTemplateOrSectionModal/CCreateTemplateOrSectionModal.vue.d.ts → CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts} +2 -1
- package/lib/components/CError/CErrorFullScreen.vue.d.ts +1 -1
- package/lib/components/CFilePanel/CFilePanel.use.d.ts +12 -0
- package/lib/components/CFilePanel/CFilePanel.vue.d.ts +14 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +196 -6
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +6 -4
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbMetadata.pdf.use.d.ts +8 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.annotations.use.d.ts +2 -0
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +5 -3
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +5 -4
- package/lib/components/CFileViewer/pdf/CFileViewerCopyPagesMetadata.pdf.vue.d.ts +13 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +26 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawerSelectPage.vue.d.ts +15 -0
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -1
- package/lib/components/CIcon/CIcon.vue.d.ts +1 -1
- package/lib/components/CInfoBadge/CInfoBadge.vue.d.ts +6 -3
- package/lib/components/CJsonEditor/CJsonEditor.vue.d.ts +5 -1
- package/lib/components/CPaddingInput/CPaddingInput.vue.d.ts +1 -1
- package/lib/components/CRichTextEditor/components/CContentLinkToolbar.vue.d.ts +10 -0
- package/lib/components/CRichTextEditor/components/CInsertDropdown.vue.d.ts +2 -0
- package/lib/components/CRichTextEditor/extensions/contentLink.d.ts +22 -0
- package/lib/components/CSingleFileSelector/CSingleFileSelector.vue.d.ts +28 -0
- package/lib/components/CTableInput/CTableInput.vue.d.ts +2 -0
- package/lib/components/CTags/CTags.vue.d.ts +1 -0
- package/lib/components/CVideo/CVideo.types.d.ts +7 -0
- package/lib/components/CVideo/CVideo.vue.d.ts +3 -7
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +253 -0
- package/lib/components/canvas-blocks/CBlockManagementActionsCell.vue.d.ts +32 -0
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +60 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +2 -2
- package/lib/components/canvas-templates/CTemplateManagementActionsCellIconWrapper.vue.d.ts +1 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagementIndicatorsCell.vue.d.ts +7 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +16 -26
- package/lib/composables/useTheme.d.ts +1 -1
- package/lib/constants/cdp.const.d.ts +1 -0
- package/lib/main.lib.d.ts +19 -15
- package/lib/sdk/api/HighLevelApi.d.ts +5 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +3 -3
- package/lib/sdk/api/modules/canvas.d.ts +26 -1
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +1 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +10 -0
- package/lib/sdk/api/modules/ui/index.d.ts +1 -0
- package/lib/sdk/api/modules/ui/post-call.ui.d.ts +1 -1
- package/lib/sdk/api/modules/ui/types.ui.d.ts +5 -4
- package/lib/sdk/main.d.ts +18 -0
- package/lib/theme/light.const.d.ts +1 -1
- package/lib/theme/light.d.ts +1 -1
- package/lib/theme/theme-overrides.d.ts +1 -1
- package/lib/theme/theme.utils.d.ts +1 -1
- package/lib/types/app.d.ts +1 -1
- package/lib/types/canvases.d.ts +9 -1
- package/lib/types/file.types.d.ts +15 -0
- package/lib/types/files.d.ts +1 -1
- package/lib/types/launchDarkly.types.d.ts +3 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/lib/util/font.util.d.ts +1 -1
- package/lib/util/network.d.ts +1 -1
- package/lib/util/pitcher-settings.util.d.ts +3 -0
- package/package.json +1 -1
- package/types/openapi/index.d.ts +2 -1
- package/types/openapi/models/Account.d.ts +1 -1
- package/types/openapi/models/AccountRequest.d.ts +1 -1
- package/types/openapi/models/AppsDBEntry.d.ts +1 -1
- package/types/openapi/models/AppsDBEntryRequest.d.ts +1 -1
- package/types/openapi/models/Canvas.d.ts +2 -0
- package/types/openapi/models/CanvasCreate.d.ts +2 -0
- package/types/openapi/models/CanvasCreateRequest.d.ts +2 -0
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -0
- package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -0
- package/types/openapi/models/DeletedCanvas.d.ts +2 -0
- package/types/openapi/models/FolderCreateRequest.d.ts +1 -1
- package/types/openapi/models/FolderUpdateRequest.d.ts +1 -1
- package/types/openapi/models/PatchedCanvasIndicatorsRequest.d.ts +3 -0
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -0
- package/types/openapi/models/PatchedFilePublishRequest.d.ts +3 -0
- package/types/openapi/models/PatchedFolderUpdateRequest.d.ts +1 -1
- package/types/openapi/models/SharedLinkInstance.d.ts +1 -0
- package/types/openapi/models/SharedLinkInstanceRequest.d.ts +1 -0
- package/types/openapi/models/SharedLinkOrganization.d.ts +1 -0
- package/types/openapi/models/SharedLinkOrganizationRequest.d.ts +1 -0
- package/lib/apps/browser/components/Content/Panel/FilePanel/FilePanel.vue.d.ts +0 -2
- package/types/openapi/models/PatchedFileRequest.d.ts +0 -15
- /package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/{cache.use.d.ts → image-cache.use.d.ts} +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/BasicInfo.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Details.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Metadata.vue.d.ts +0 -0
- /package/lib/{apps/browser/components/Content/Panel/FilePanel → components/CFilePanel}/Tags.vue.d.ts +0 -0
- /package/lib/components/CFileViewer/pdf/{CFileViewer.pageFavorite.pdf.use.d.ts → CFileViewer.pageThumbFavorite.pdf.use.d.ts} +0 -0
package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownOption } from 'naive-ui';
|
|
2
2
|
import { CSSProperties } from 'vue';
|
|
3
|
-
import { ThemeComponentOptionEnum } from '
|
|
4
|
-
import { ComponentNode } from '
|
|
3
|
+
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentNode } from '
|
|
2
|
-
import { ThemeComponentOptionEnum, ThemePadding } from '
|
|
1
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
2
|
+
import { ThemeComponentOptionEnum, ThemePadding } from '../../../composables/useCanvasTheme';
|
|
3
3
|
import { DropdownOption } from 'naive-ui';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
selected: boolean;
|
|
@@ -45,7 +45,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
45
45
|
updatePadding: (padding: ThemePadding) => any;
|
|
46
46
|
updateMarginBottom: (value: number) => any;
|
|
47
47
|
resetSpacing: () => any;
|
|
48
|
-
updateComponentNode: (updatedNode: Record<string, any>) => any;
|
|
49
48
|
startDrag: () => any;
|
|
50
49
|
toggleThemeOptions: () => any;
|
|
51
50
|
toggleInspectNode: () => any;
|
|
@@ -94,7 +93,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
94
93
|
onUpdatePadding?: ((padding: ThemePadding) => any) | undefined;
|
|
95
94
|
onUpdateMarginBottom?: ((value: number) => any) | undefined;
|
|
96
95
|
onResetSpacing?: (() => any) | undefined;
|
|
97
|
-
onUpdateComponentNode?: ((updatedNode: Record<string, any>) => any) | undefined;
|
|
98
96
|
onStartDrag?: (() => any) | undefined;
|
|
99
97
|
onToggleThemeOptions?: (() => any) | undefined;
|
|
100
98
|
onToggleInspectNode?: (() => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { DropdownOption } from 'naive-ui';
|
|
3
|
-
import { ThemeComponentOptionEnum } from '
|
|
4
|
-
import { ComponentNode } from '
|
|
3
|
+
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { DropdownOption } from 'naive-ui';
|
|
3
|
-
import { ThemeComponentOptionEnum } from '
|
|
4
|
-
import { ComponentNode } from '
|
|
3
|
+
import { ThemeComponentOptionEnum } from '../../../composables/useCanvasTheme';
|
|
4
|
+
import { ComponentNode } from '../../../types/canvas';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: {
|
|
7
7
|
default?(_: {}): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentNode, BlockProps } from '../../../types/canvas';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
id: ComponentNode["id"];
|
|
4
|
+
data?: BlockProps;
|
|
5
|
+
style?: Record<string, any>;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
id: ComponentNode["id"];
|
|
8
|
+
data?: BlockProps;
|
|
9
|
+
style?: Record<string, any>;
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
-
import { CarouselProps } from '
|
|
3
|
+
import { CarouselProps } from '../../../types/canvas';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: string;
|
|
6
6
|
usedInSectionId: CanvasRetrieve["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, CarouselProps } from '
|
|
2
|
+
import { ComponentNode, CarouselProps } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: ComponentNode["id"];
|
package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionGroupSelector.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionSelectorGroup, CollectionSelectorSlide } from '
|
|
1
|
+
import { CollectionSelectorGroup, CollectionSelectorSlide } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
groups: CollectionSelectorGroup[];
|
|
4
4
|
data: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { File } from '../../../../../../types/openapi';
|
|
3
|
-
import { CollectionSelectorSlide } from '
|
|
3
|
+
import { CollectionSelectorSlide } from '../../../types/canvas';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
filters: ComputedRef<Record<string, any>>;
|
|
6
6
|
highlightText?: string;
|
package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.edit.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionPlayerProps } from '
|
|
1
|
+
import { CollectionPlayerProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
data?: CollectionPlayerProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
-
import { ComponentNode, CollectionPlayerProps } from '
|
|
2
|
+
import { ComponentNode, CollectionPlayerProps } from '../../../types/canvas';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
id: ComponentNode["id"];
|
|
5
5
|
data: CollectionPlayerProps;
|
package/lib/apps/canvas-builder/components/ui/CollectionPlayer/composables/arrow-keys.use.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export type ActionCallback = (direction: 'up' | 'down' | 'left' | 'right') => void;
|
|
3
|
+
export default function useArrowKeys(element: Ref<HTMLElement | null>, actionCallback: ActionCallback): {
|
|
4
|
+
addArrowKeyListener: () => void;
|
|
5
|
+
removeArrowKeyListener: () => void;
|
|
6
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { UseSwipeDirection } from '@vueuse/core';
|
|
3
|
+
declare const _default: (element: Ref<HTMLElement | null>, actions: {
|
|
4
|
+
onSwipeLeft: () => void;
|
|
5
|
+
onSwipeRight: () => void;
|
|
6
|
+
}) => {
|
|
7
|
+
touchDirection: import('vue').ComputedRef<UseSwipeDirection>;
|
|
8
|
+
gestureStyling: import('vue').ComputedRef<{
|
|
9
|
+
transform: string;
|
|
10
|
+
transition: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { default as Swiper } from 'swiper';
|
|
3
|
-
import { CollectionSelectorSlide } from '
|
|
3
|
+
import { CollectionSelectorSlide } from '../../../../types/canvas';
|
|
4
4
|
type SwiperElement = HTMLElement & {
|
|
5
5
|
swiper: Swiper;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CollectionSelectorSlide } from '
|
|
2
|
-
export declare const isVideo: (slide
|
|
3
|
-
export declare const isImage: (slide
|
|
4
|
-
export declare const isWeb: (slide
|
|
5
|
-
export declare const isSlide: (slide
|
|
1
|
+
import { CollectionSelectorSlide } from '../../../../types/canvas';
|
|
2
|
+
export declare const isVideo: (slide?: CollectionSelectorSlide) => boolean;
|
|
3
|
+
export declare const isImage: (slide?: CollectionSelectorSlide) => boolean;
|
|
4
|
+
export declare const isWeb: (slide?: CollectionSelectorSlide) => boolean;
|
|
5
|
+
export declare const isSlide: (slide?: CollectionSelectorSlide) => slide is import('../../../../types/canvas').CollectionPage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentGridProps } from '
|
|
1
|
+
import { ContentGridProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
data: ContentGridProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
|
-
import { ContentGridProps, ComponentNode } from '
|
|
3
|
+
import { ContentGridProps, ComponentNode } from '../../../types/canvas';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: string;
|
|
6
6
|
data: ContentGridProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '
|
|
1
|
+
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
items: (ContentGridItemFileProps | ContentGridItemSlideProps)[];
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '
|
|
1
|
+
import { ContentGridItemFileProps, ContentGridItemSlideProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
index: number;
|
|
4
4
|
item: ContentGridItemSlideProps | ContentGridItemFileProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmbeddableProps } from '
|
|
1
|
+
import { EmbeddableProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
data?: EmbeddableProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentNode, EmbeddableProps } from '
|
|
1
|
+
import { ComponentNode, EmbeddableProps } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
data?: EmbeddableProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { EmbeddableProps, ComponentNode } from '
|
|
2
|
+
import { EmbeddableProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, GridProps } from '
|
|
2
|
+
import { ComponentNode, GridProps } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridItemTooltipProps } from '
|
|
1
|
+
import { GridItemTooltipProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
tooltip?: GridItemTooltipProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HtmlProps, ComponentNode } from '
|
|
1
|
+
import { HtmlProps, ComponentNode } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFrameProps } from '
|
|
1
|
+
import { IFrameProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
data?: IFrameProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { IFrameProps, ComponentNode } from '
|
|
2
|
+
import { IFrameProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: ComponentNode["id"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkProps, LinkPreviewTypes } from '
|
|
1
|
+
import { LinkProps, LinkPreviewTypes } from '../../../types/canvas';
|
|
2
2
|
export declare function adjustThemeByPreviewType(previewType: LinkPreviewTypes, data?: LinkProps | null): {
|
|
3
3
|
backgroundColor: string | undefined;
|
|
4
4
|
color: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinkProps, ComponentNode } from '
|
|
1
|
+
import { LinkProps, ComponentNode } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
id: ComponentNode["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
-
import { MultimediaProps } from '
|
|
2
|
+
import { MultimediaProps } from '../../../types/canvas';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
id: string;
|
|
5
5
|
usedInSectionId?: CanvasRetrieve["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { MultimediaProps, ComponentNode } from '
|
|
2
|
+
import { MultimediaProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: ComponentNode["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
2
|
-
import { ComponentNode, PageProps } from '
|
|
2
|
+
import { ComponentNode, PageProps } from '../../../types/canvas';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
slots: {
|
|
5
5
|
default?(_: {}): any;
|
package/lib/apps/canvas-builder/components/ui/SectionList/Execution/SectionListExecution.vue.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CanvasSection } from '../../../../../../../types/openapi';
|
|
2
|
+
import { AppFile } from '../../../../../../types/app';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
section: CanvasSection;
|
|
5
|
+
executionApp: AppFile;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
section: CanvasSection;
|
|
8
|
+
executionApp: AppFile;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { SectionListProps, ComponentNode } from '
|
|
2
|
+
import { SectionListProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
declare function onSectionSelectorToggle(): void;
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: ComponentNode["id"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { SectionListProps, ComponentNode } from '
|
|
2
|
+
import { SectionListProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
id: ComponentNode["id"];
|
|
5
5
|
data: SectionListProps;
|
|
@@ -9,6 +9,7 @@ declare function __VLS_template(): {
|
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
11
|
filters: Record<string, any>;
|
|
12
|
+
hasSequence?: boolean;
|
|
12
13
|
isSelected?: boolean;
|
|
13
14
|
index?: number;
|
|
14
15
|
item: {
|
|
@@ -19,6 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
19
20
|
selectedSections: CanvasRetrieve[];
|
|
20
21
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
21
22
|
filters: Record<string, any>;
|
|
23
|
+
hasSequence?: boolean;
|
|
22
24
|
isSelected?: boolean;
|
|
23
25
|
index?: number;
|
|
24
26
|
item: {
|
|
@@ -30,6 +32,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
30
32
|
}> & Readonly<{}>, {
|
|
31
33
|
isSelected: boolean;
|
|
32
34
|
index: number;
|
|
35
|
+
hasSequence: boolean;
|
|
33
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
38
|
export default _default;
|
|
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
18
|
"page-next": () => any;
|
|
19
19
|
"page-previous": () => any;
|
|
20
20
|
"clear-selection": () => any;
|
|
21
|
-
"items-added": (itemIds: string[]) => any;
|
|
21
|
+
"items-added": (itemIds: string[], position?: "bottom" | "top" | undefined) => any;
|
|
22
22
|
"items-removed": (itemIds: string[]) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<{
|
|
24
24
|
currentPage: number;
|
|
@@ -39,7 +39,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
39
|
"onPage-next"?: (() => any) | undefined;
|
|
40
40
|
"onPage-previous"?: (() => any) | undefined;
|
|
41
41
|
"onClear-selection"?: (() => any) | undefined;
|
|
42
|
-
"onItems-added"?: ((itemIds: string[]) => any) | undefined;
|
|
42
|
+
"onItems-added"?: ((itemIds: string[], position?: "bottom" | "top" | undefined) => any) | undefined;
|
|
43
43
|
"onItems-removed"?: ((itemIds: string[]) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
loading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { ComponentNode, TextProps } from '
|
|
2
|
+
import { ComponentNode, TextProps } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: ComponentNode["id"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimelineProps } from '
|
|
1
|
+
import { TimelineProps } from '../../../types/canvas';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
data: TimelineProps;
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import { TimelineProps, ComponentNode } from '
|
|
2
|
+
import { TimelineProps, ComponentNode } from '../../../types/canvas';
|
|
3
3
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
id: string;
|