@pitcher/js-api 1.25.0 → 1.25.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 +122 -12
- 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/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +4 -4
- package/lib/apps/agenda-selector/composables/move-item-modal.use.d.ts +2 -0
- package/lib/apps/assets-manager/App.vue.d.ts +75 -0
- package/lib/apps/assets-manager/AssetsTab.vue.d.ts +22 -0
- package/lib/apps/assets-manager/components/AssetGridItem.vue.d.ts +16 -0
- package/lib/apps/browser/App.vue.d.ts +7 -5
- package/lib/apps/browser/appTypes.d.ts +4 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +3 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/BulkShareboxWarningModal.vue.d.ts +15 -0
- package/lib/apps/browser/components/Content/ActionsToolbar/SelectionActions.vue.d.ts +1 -1
- package/lib/apps/browser/components/Content/Common/SmartFolderListItem.vue.d.ts +4 -0
- package/lib/apps/browser/components/FileSmartFoldersToolbar.vue.d.ts +2 -2
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +9 -5
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModalProperties.vue.d.ts +5 -1
- package/lib/apps/browser/stores/api.d.ts +32 -12
- package/lib/apps/browser/stores/app.d.ts +3 -0
- package/lib/apps/browser/stores/upload.d.ts +16 -20
- package/lib/apps/browser/types/actionKeys.d.ts +22 -0
- package/lib/apps/canvas-builder/App.helpers.d.ts +2 -1
- package/lib/apps/canvas-builder/App.vue.d.ts +323 -262
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/container/AnnotationMenu/AnnotationMenu.vue.d.ts +60 -0
- package/lib/apps/canvas-builder/components/container/CanvasCompletionWizard/CanvasCompletionWizard.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/AnnotationContent.vue.d.ts +8 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/page.paginated.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts +39 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/AppGrid.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/container/ControlBar/ControlBar.vue.d.ts +1 -3
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts +25 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponentActionToolbar.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/{EditableComponentRevamp.vue.d.ts → EditableComponentContent.vue.d.ts} +27 -0
- package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts +4 -0
- package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts +5 -1
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +5 -5
- package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts +17 -0
- package/lib/apps/canvas-builder/components/container/PopupApps/PopupAppsButtons.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/container/SectionInfoProvider/SectionInfoProvider.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CollectionPlayer/CollectionPlayer.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridListItem.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.edit.vue.d.ts +2 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts +19 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.vue.d.ts +13 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts +10 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.utils.d.ts +32 -0
- package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/DynamicDataTable/DynamicDataTable.utils.d.ts +16 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Html/CAiHtmlActions.vue.d.ts +23 -0
- package/lib/apps/canvas-builder/components/ui/Html/Html.vue.d.ts +5 -2
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.raw.vue.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +9 -5
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.original.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.responsive.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/Scribble.vue.d.ts +2 -1
- package/lib/apps/canvas-builder/components/ui/Scribble/scribble.helpers.d.ts +9 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionItemModal.vue.d.ts +39 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.raw.vue.d.ts +4 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionList.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListCompact.vue.d.ts +18 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionListItem.vue.d.ts +27 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSearch.vue.d.ts +11 -0
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +7 -7
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorWithDragAndDrop.vue.d.ts +154 -0
- package/lib/apps/canvas-builder/composables/useAnnotation.d.ts +29 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +2509 -150
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +168 -20
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +162 -8
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +26 -8
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +4 -2
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +22 -4
- package/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +2 -1
- package/lib/apps/canvas-builder/composables/useContentSelector.d.ts +3 -0
- package/lib/apps/canvas-builder/composables/useControlBarCollapse.d.ts +8 -0
- package/lib/apps/canvas-builder/composables/useCrmShape.d.ts +1 -2
- package/lib/apps/canvas-builder/composables/useCrmShapeWithSectionContext.d.ts +5 -0
- package/lib/apps/canvas-builder/composables/useEmbeddable.d.ts +7 -0
- package/lib/apps/canvas-builder/composables/useInstalledEmbeddables.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +7 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +913 -0
- package/lib/apps/canvas-builder/composables/usePrintMode.d.ts +2 -0
- package/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +4 -4
- package/lib/apps/canvas-builder/composables/useScribbleChild.d.ts +98 -0
- package/lib/apps/canvas-builder/composables/useScribbleToolbar.d.ts +11 -0
- package/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +1 -0
- package/lib/apps/canvas-builder/composables/useTemporaryContext.d.ts +14 -0
- package/lib/apps/canvas-builder/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/constants/theme.const.d.ts +34 -0
- package/lib/apps/canvas-builder/types/canvas.d.ts +66 -4
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +7 -5
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -0
- package/lib/apps/canvas-builder/util/print.util.d.ts +22 -0
- package/lib/apps/canvas-selector/components/CanvasSelectionArea.vue.d.ts +171 -1
- package/lib/apps/canvas-selector/components/Sections.vue.d.ts +160 -1
- package/lib/apps/canvas-selector/stores/app.d.ts +14 -14
- package/lib/apps/collection-player/App.vue.d.ts +1 -0
- package/lib/apps/collection-player/components/ImageWithAnnotations.vue.d.ts +5 -1
- package/lib/apps/collection-player/stores/app.store.d.ts +3 -0
- package/lib/apps/collection-player/types/collection-player.type.d.ts +18 -0
- package/lib/apps/collection-selector/App.vue.d.ts +7 -7
- package/lib/apps/collection-selector/stores/app.store.d.ts +4 -2
- package/lib/apps/collection-selector/utils/content-selector-adapter.util.d.ts +20 -2
- package/lib/apps/collection-selector/utils/data.util.d.ts +4 -4
- package/lib/apps/content-selector/App.vue.d.ts +2 -0
- package/lib/apps/content-selector/appTypes.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +75 -1
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +3 -0
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesListItem.vue.d.ts +1 -0
- package/lib/apps/content-selector/components/Content.vue.d.ts +74 -1
- package/lib/apps/content-selector/components/ui/GridItem.vue.d.ts +14 -2
- package/lib/apps/content-selector/stores/app.d.ts +34 -5
- package/lib/apps/content-selector/util/file.d.ts +6 -3
- package/lib/apps/ppt-conversion-selector/composables/canvas.use.d.ts +3 -2
- package/lib/apps/ppt-conversion-selector/stores/app.store.d.ts +7 -3
- package/lib/apps/ppt-conversion-selector/utils/thumbnail.util.d.ts +1 -0
- package/lib/canvas-comments/components/CommentableComponent.vue.d.ts +6 -2
- package/lib/components/CAlgoliaSearch/CAlgoliaSearch.vue.d.ts +18 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +5 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +9 -6
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +4 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +7 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +53 -0
- package/lib/components/CContentError/CContentError.vue.d.ts +9 -0
- package/lib/components/CCreateCanvasModal/CCreateCanvasModalTemplatesSelectOption.vue.d.ts +3 -0
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +18 -16
- package/lib/components/CDataTable/CDataTable.vue.d.ts +12 -12
- package/lib/components/CEntitySelector/CEntitySelector.vue.d.ts +8 -0
- package/lib/components/CFileAccessManagement/CFileAccessManagement.vue.d.ts +6 -0
- package/lib/components/CFileViewer/CFileViewer.vue.d.ts +7 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.link.types.d.ts +3 -2
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- package/lib/components/CFileViewer/pdf/CFileViewerBottom.pdf.vue.d.ts +1 -0
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +9 -5
- package/lib/components/CFilesAccessManage/CFilesAccessManage.vue.d.ts +1 -0
- package/lib/components/CGlobalSearch/CGlobalSearch.vue.d.ts +3 -0
- package/lib/components/CImage/CImage.vue.d.ts +11 -0
- package/lib/components/CInput/CInput.vue.d.ts +4 -4
- package/lib/components/CKnockNotificationsAppWrapper/CKnockNotificationsAppWrapper.vue.d.ts +1 -1
- package/lib/components/CMonacoEditor/CMonacoEditor.vue.d.ts +29 -0
- package/lib/components/CPdfDimensionsSelector/CPdfDimensionsSelector.vue.d.ts +27 -0
- package/lib/components/CPillSelect/CPillSelect.vue.d.ts +14 -0
- package/lib/components/CPopularityAndEngagementIcons/CPopularityAndEngagementExtended.vue.d.ts +1 -1
- package/lib/components/CProcessingOverlay/CProcessingOverlay.vue.d.ts +19 -0
- package/lib/components/CQuickFilters/CQuickFilters.vue.d.ts +4 -0
- package/lib/components/CRenameModal/CRenameModal.vue.d.ts +28 -0
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +20 -5
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +28 -8
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +14 -4
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +4 -4
- package/lib/components/CSearch/CSearch.vue.d.ts +2 -0
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +1 -0
- package/lib/components/CSectionSelectionActions/CSectionSelectionActions.vue.d.ts +19 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFolders.vue.d.ts +135 -0
- package/lib/components/CSectionSmartFolders/CSectionSmartFoldersToolbar.vue.d.ts +44 -0
- package/lib/components/CSlideViewer/CSlideViewer.pdfjs.vue.d.ts +18 -0
- package/lib/components/CSlideViewer/CSlideViewer.pspdfkit.vue.d.ts +14 -0
- package/lib/components/CSlideViewer/CSlideViewer.vue.d.ts +12 -0
- package/lib/components/CTable/CTable.vue.d.ts +6 -5
- package/lib/components/CTableInput/CTableInput.vue.d.ts +10 -8
- package/lib/components/CTableTag/CTableTag.vue.d.ts +5 -4
- package/lib/components/CTags/CTags.vue.d.ts +4 -4
- package/lib/components/CThumbnail/CThumbnail.vue.d.ts +1 -0
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +4 -1
- package/lib/components/assignedCanvases/CAssignedCanvasesManagement.vue.d.ts +440 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +46 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +41 -33
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +9 -6
- package/lib/components/filters/CSearchFilter.vue.d.ts +9 -1
- package/lib/components/savedCanvases/CSavedCanvasesManagement.vue.d.ts +17 -7
- package/lib/components/savedCanvases/CSavedCanvasesManagementActionsCell.vue.d.ts +3 -2
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +4 -4
- package/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +2 -0
- package/lib/components/savedCanvases/smartFolders/SmartFolders.use.d.ts +12 -8
- package/lib/components/savedCanvases/smartFolders/SmartFolders.vue.d.ts +1 -0
- package/lib/components/savedCanvases/smartFolders/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +27 -1
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +98 -10
- package/lib/components/themes/CThemeManagementToolbar.vue.d.ts +31 -3
- package/lib/composables/appsDb.use.d.ts +2 -2
- package/lib/composables/bulkActions.use.d.ts +2 -2
- package/lib/composables/useBindValidation.d.ts +1 -1
- package/lib/composables/useBroadcastRouteChange.d.ts +4 -0
- package/lib/composables/useCanvasStandardFilters.d.ts +35 -0
- package/lib/composables/useCollectionPlayerOverlay.d.ts +18 -0
- package/lib/composables/useDeleteUsedCanvasesConfirmation.d.ts +23 -0
- package/lib/composables/useElementSizeAfterDom.d.ts +5 -0
- package/lib/composables/useFileDisplayHelpers.d.ts +6 -2
- package/lib/composables/useFileInfo.d.ts +30 -0
- package/lib/composables/useFilterSuggestions.d.ts +48 -0
- package/lib/composables/useFolderNameDescription.d.ts +25 -0
- package/lib/composables/useImageAccessibility.d.ts +13 -0
- package/lib/composables/useLegacyCollectionFileLoader.d.ts +31 -0
- package/lib/composables/useMetadataSearch.d.ts +22 -1
- package/lib/composables/usePolling.d.ts +23 -0
- package/lib/composables/useWindowEvents.d.ts +1 -0
- package/lib/constants/cdp.const.d.ts +2 -0
- package/lib/constants/dimensions.const.d.ts +23 -0
- package/lib/constants/tables.const.d.ts +1 -1
- package/lib/custom-naive-locales/it.d.ts +124 -0
- package/lib/custom-naive-locales/ja.d.ts +124 -0
- package/lib/custom-naive-locales/nl.d.ts +124 -0
- package/lib/custom-naive-locales/pt-br.d.ts +124 -0
- package/lib/custom-naive-locales/pt.d.ts +124 -0
- package/lib/custom-naive-locales/th.d.ts +124 -0
- package/lib/custom-naive-locales/zh.d.ts +124 -0
- package/lib/directives/vTrustedHtml.d.ts +6 -0
- package/lib/main.lib.d.ts +22 -3
- package/lib/sdk/api/HighLevelApi.d.ts +25 -2
- package/lib/sdk/api/modules/admin/canvas.admin.d.ts +24 -1
- package/lib/sdk/api/modules/admin/index.d.ts +1 -0
- package/lib/sdk/api/modules/admin/types.admin.d.ts +21 -0
- package/lib/sdk/api/modules/dsr/files.dsr.d.ts +12 -0
- package/lib/sdk/api/modules/dsr/index.d.ts +3 -0
- package/lib/sdk/api/modules/dsr/types.dsr.d.ts +6 -1
- package/lib/sdk/api/modules/files.d.ts +12 -2
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +59 -1
- package/lib/sdk/api/modules/ui/index.d.ts +3 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +46 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +102 -3
- package/lib/sdk/main.d.ts +50 -14
- package/lib/sdk/payload.types.d.ts +30 -0
- package/lib/stores/sectionSmartFolderStore.d.ts +112 -0
- package/lib/types/app.d.ts +20 -3
- package/lib/types/call.d.ts +1 -0
- package/lib/types/canvases.d.ts +1 -0
- package/lib/types/core/MetadataFilter.d.ts +2 -0
- package/lib/types/files.d.ts +2 -0
- package/lib/types/i18n.types.d.ts +1 -1
- package/lib/types/instanceSettings.types.d.ts +26 -4
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationMetadata.types.d.ts +3 -2
- package/lib/types/organizationSettings.types.d.ts +47 -2
- package/lib/types/sfdc.d.ts +1 -0
- package/lib/util/date.d.ts +1 -0
- package/lib/util/network.d.ts +8 -0
- package/lib/util/soql.util.d.ts +2 -0
- package/lib/util/storage.util.d.ts +2 -0
- package/lib/util/string.d.ts +1 -1
- package/lib/util/toCssClassKey.d.ts +1 -0
- package/lib/utils/defaultThumbnail.util.d.ts +3 -0
- package/lib/utils/iframeInitialize.d.ts +12 -0
- package/package.json +1 -1
- package/types/openapi/models/Canvas.d.ts +1 -1
- package/types/openapi/models/CanvasCreate.d.ts +2 -2
- package/types/openapi/models/CanvasCreateRequest.d.ts +2 -2
- package/types/openapi/models/CanvasRecommendedFile.d.ts +0 -2
- package/types/openapi/models/CanvasRetrieve.d.ts +2 -2
- package/types/openapi/models/CanvasSection.d.ts +1 -0
- package/types/openapi/models/CanvasUpdate.d.ts +2 -2
- package/types/openapi/models/CanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/ContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/ContentDistributionGroupCreate.d.ts +1 -0
- package/types/openapi/models/DeletedCanvas.d.ts +1 -1
- package/types/openapi/models/DeletedContentDistributionGroup.d.ts +1 -0
- package/types/openapi/models/DeletedFile.d.ts +0 -2
- package/types/openapi/models/DeletedFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolder.d.ts +3 -0
- package/types/openapi/models/FavoriteFolderRequest.d.ts +3 -0
- package/types/openapi/models/File.d.ts +0 -2
- package/types/openapi/models/FileCreate.d.ts +0 -2
- package/types/openapi/models/FileCreateRequest.d.ts +0 -1
- package/types/openapi/models/FileRetrieve.d.ts +0 -2
- package/types/openapi/models/FileUpdate.d.ts +0 -2
- package/types/openapi/models/FileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/Folder.d.ts +3 -0
- package/types/openapi/models/FolderCreate.d.ts +2 -1
- package/types/openapi/models/FolderFolder.d.ts +5 -0
- package/types/openapi/models/FolderRetrieve.d.ts +5 -1
- package/types/openapi/models/FolderUpdate.d.ts +2 -1
- package/types/openapi/models/InstanceMembership.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreate.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipCreateRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/InstanceMembershipUser.d.ts +0 -2
- package/types/openapi/models/InstanceRequest.d.ts +1 -1
- package/types/openapi/models/InstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +2 -2
- package/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -1
- package/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +4 -0
- package/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvas.d.ts +1 -1
- package/types/openapi/models/SharedLinkCanvasRequest.d.ts +1 -1
- package/types/openapi/models/User.d.ts +1 -0
- package/lib/apps/canvas-builder/components/ui/Text/Text.vue.d.ts +0 -111
- package/lib/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
- package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
- package/lib/components/CRichTextEditor/CRichTextEditor.vue.d.ts +0 -59
- package/lib/directives/usage-track.directive.d.ts +0 -10
- package/lib/util/usage-tracking.util.d.ts +0 -5
package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
75
75
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
76
76
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
77
77
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
78
|
-
status: import('vue').PropType<import('naive-ui
|
|
78
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
79
79
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
80
80
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
81
81
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -338,7 +338,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
338
338
|
} | {
|
|
339
339
|
top: string;
|
|
340
340
|
}>;
|
|
341
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
341
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
342
342
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
343
343
|
handleTextAreaScroll: (e: Event) => void;
|
|
344
344
|
handleCompositionStart: () => void;
|
|
@@ -594,7 +594,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
594
594
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
595
595
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
596
596
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
597
|
-
status: import('vue').PropType<import('naive-ui
|
|
597
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
598
598
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
599
599
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
600
600
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -857,7 +857,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
857
857
|
} | {
|
|
858
858
|
top: string;
|
|
859
859
|
}>;
|
|
860
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
860
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
861
861
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
862
862
|
handleTextAreaScroll: (e: Event) => void;
|
|
863
863
|
handleCompositionStart: () => void;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
circle?: 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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
annotationMenuRef: ({
|
|
6
|
+
$: import('vue').ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: {
|
|
9
|
+
readonly iconPlacement?: "left" | "right" | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
11
|
+
$attrs: {
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
$refs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$slots: Readonly<{
|
|
18
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
19
|
+
}>;
|
|
20
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
21
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
22
|
+
$host: Element | null;
|
|
23
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
24
|
+
$el: any;
|
|
25
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
26
|
+
iconPlacement?: "left" | "right";
|
|
27
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
28
|
+
iconPlacement: "left" | "right";
|
|
29
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
30
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
31
|
+
created?: (() => void) | (() => void)[];
|
|
32
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
33
|
+
mounted?: (() => void) | (() => void)[];
|
|
34
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
35
|
+
updated?: (() => void) | (() => void)[];
|
|
36
|
+
activated?: (() => void) | (() => void)[];
|
|
37
|
+
deactivated?: (() => void) | (() => void)[];
|
|
38
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
39
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
40
|
+
destroyed?: (() => void) | (() => void)[];
|
|
41
|
+
unmounted?: (() => void) | (() => void)[];
|
|
42
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
43
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
44
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
45
|
+
};
|
|
46
|
+
$forceUpdate: () => void;
|
|
47
|
+
$nextTick: typeof import('vue').nextTick;
|
|
48
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
49
|
+
} & Readonly<{
|
|
50
|
+
iconPlacement: "left" | "right";
|
|
51
|
+
}> & Omit<Readonly<{
|
|
52
|
+
iconPlacement?: "left" | "right";
|
|
53
|
+
}> & Readonly<{}>, "iconPlacement"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
54
|
+
$slots: {
|
|
55
|
+
icon?(_: {}): any;
|
|
56
|
+
default?(_: {}): any;
|
|
57
|
+
};
|
|
58
|
+
}) | null;
|
|
59
|
+
}, any>;
|
|
60
|
+
export default _default;
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { ComponentNode, SectionListProps } from '../../../types/canvas';
|
|
2
|
+
export interface WizardStep {
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
strategy: SectionListProps['selection_strategy'];
|
|
6
|
+
strategyLabel?: string;
|
|
7
|
+
appDescription?: string;
|
|
8
|
+
appSrc?: string | null;
|
|
9
|
+
selectedSectionIds: string[];
|
|
10
|
+
componentNode: ComponentNode;
|
|
11
|
+
is_restricted_to_preselections?: boolean;
|
|
12
|
+
}
|
|
1
13
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
14
|
iframeRef: HTMLIFrameElement;
|
|
3
15
|
}, any>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
repaint: () => any;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onRepaint?: (() => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
6
|
+
editorContainer: HTMLDivElement;
|
|
7
|
+
}, any>;
|
|
8
|
+
export default _default;
|
package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.paginated.vue.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isScaleContentEnabled?: 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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2
5
|
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentNode, ComponentTypes } from '../../../types/canvas';
|
|
2
|
+
import { CSSProperties } from 'vue';
|
|
3
|
+
interface Props {
|
|
4
|
+
page: ComponentNode[];
|
|
5
|
+
componentMap: Record<ComponentTypes, any>;
|
|
6
|
+
shouldRenderComponentWrapper: (component: ComponentNode) => boolean | undefined;
|
|
7
|
+
onElementVisibility: (isVisible: boolean, component: ComponentNode) => void;
|
|
8
|
+
getTopLevelComponentStyle: (page: ComponentNode[], component: ComponentNode, index: number) => CSSProperties;
|
|
9
|
+
getComponentBindings: (component: ComponentNode) => any;
|
|
10
|
+
getChildComponentStyle: (parent: ComponentNode, child: ComponentNode, index: number) => CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
package/lib/apps/canvas-builder/components/container/CanvasContent/pageWrapper.paginated.vue.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
isScaleContentEnabled?: boolean;
|
|
4
|
+
aspectRatioStyle: CSSProperties | undefined;
|
|
5
|
+
aspectRatio: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
} | undefined;
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
pageWrapperRef: HTMLDivElement;
|
|
18
|
+
pageContainerRef: HTMLDivElement;
|
|
19
|
+
pageContentRef: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
25
|
+
pageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
26
|
+
pageContainerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
27
|
+
pageContentRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
pageWrapperRef: HTMLDivElement;
|
|
30
|
+
pageContainerRef: HTMLDivElement;
|
|
31
|
+
pageContentRef: HTMLDivElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AppFile } from '../../../../../types/app';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
apps: AppFile[];
|
|
4
|
+
getAppIcon?: (app: AppFile) => string;
|
|
4
5
|
};
|
|
5
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
7
|
click: (app: AppFile) => any;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
hideEdit?: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
-
appIframeRef: HTMLIFrameElement;
|
|
6
|
-
}, any>;
|
|
4
|
+
declare const _default: 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>;
|
|
7
5
|
export default _default;
|
package/lib/apps/canvas-builder/components/container/EditableComponent/EditableComponent.vue.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
stylable?: boolean;
|
|
14
14
|
collapsible?: boolean;
|
|
15
15
|
showOnlyTopToolbar?: boolean;
|
|
16
|
+
showOnlyBottomToolbar?: boolean;
|
|
16
17
|
immovable?: boolean;
|
|
17
18
|
excludeStylables?: ThemeComponentOptionEnum[];
|
|
18
19
|
add?: boolean;
|
|
@@ -30,6 +31,8 @@ type __VLS_Props = {
|
|
|
30
31
|
resizable?: boolean;
|
|
31
32
|
resizeHandles?: ResizeHandlePosition[];
|
|
32
33
|
resizeMaintainAspectRatio?: boolean;
|
|
34
|
+
expiredContent?: boolean;
|
|
35
|
+
restrictedContent?: boolean;
|
|
33
36
|
variants?: {
|
|
34
37
|
title: string;
|
|
35
38
|
options: DropdownOption[];
|
|
@@ -59,7 +62,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
59
62
|
edit: () => any;
|
|
60
63
|
discard: () => any;
|
|
61
64
|
duplicate: () => any;
|
|
65
|
+
"content-change": (args_0: {
|
|
66
|
+
fileId: string;
|
|
67
|
+
pageIndex?: number;
|
|
68
|
+
pageId?: string;
|
|
69
|
+
thumbnailUrl?: string;
|
|
70
|
+
}) => any;
|
|
71
|
+
"asset-change": (args_0: {
|
|
72
|
+
assetId: string;
|
|
73
|
+
}) => any;
|
|
62
74
|
"variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
|
|
75
|
+
"resize-start": () => any;
|
|
76
|
+
"resize-end": () => any;
|
|
63
77
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
64
78
|
onAdd?: (() => any) | undefined;
|
|
65
79
|
onRemove?: (() => any) | undefined;
|
|
@@ -73,7 +87,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
73
87
|
onEdit?: (() => any) | undefined;
|
|
74
88
|
onDiscard?: (() => any) | undefined;
|
|
75
89
|
onDuplicate?: (() => any) | undefined;
|
|
90
|
+
"onContent-change"?: ((args_0: {
|
|
91
|
+
fileId: string;
|
|
92
|
+
pageIndex?: number;
|
|
93
|
+
pageId?: string;
|
|
94
|
+
thumbnailUrl?: string;
|
|
95
|
+
}) => any) | undefined;
|
|
96
|
+
"onAsset-change"?: ((args_0: {
|
|
97
|
+
assetId: string;
|
|
98
|
+
}) => any) | undefined;
|
|
76
99
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
100
|
+
"onResize-start"?: (() => any) | undefined;
|
|
101
|
+
"onResize-end"?: (() => any) | undefined;
|
|
77
102
|
}>, {
|
|
78
103
|
collapsible: boolean;
|
|
79
104
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -35,6 +35,7 @@ type __VLS_Props = {
|
|
|
35
35
|
showActionSeparator: boolean;
|
|
36
36
|
parentType?: ComponentTypes;
|
|
37
37
|
borderRadius: ThemeBorderRadius;
|
|
38
|
+
to?: HTMLElement | string;
|
|
38
39
|
};
|
|
39
40
|
declare function __VLS_template(): {
|
|
40
41
|
attrs: Partial<{}>;
|
|
@@ -56,6 +57,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
56
57
|
"set-palette-index": (index: number | undefined) => any;
|
|
57
58
|
startDrag: () => any;
|
|
58
59
|
toggleThemeOptions: () => any;
|
|
60
|
+
"content-change": (args_0: {
|
|
61
|
+
fileId: string;
|
|
62
|
+
pageIndex?: number;
|
|
63
|
+
pageId?: string;
|
|
64
|
+
thumbnailUrl?: string;
|
|
65
|
+
}) => any;
|
|
66
|
+
"asset-change": (args_0: {
|
|
67
|
+
assetId: string;
|
|
68
|
+
}) => any;
|
|
59
69
|
updateHeight: (height?: string | null | undefined) => any;
|
|
60
70
|
updatePadding: (padding: ThemePadding) => any;
|
|
61
71
|
updateMarginBottom: (value: number | null) => any;
|
|
@@ -75,6 +85,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
75
85
|
"onSet-palette-index"?: ((index: number | undefined) => any) | undefined;
|
|
76
86
|
onStartDrag?: (() => any) | undefined;
|
|
77
87
|
onToggleThemeOptions?: (() => any) | undefined;
|
|
88
|
+
"onContent-change"?: ((args_0: {
|
|
89
|
+
fileId: string;
|
|
90
|
+
pageIndex?: number;
|
|
91
|
+
pageId?: string;
|
|
92
|
+
thumbnailUrl?: string;
|
|
93
|
+
}) => any) | undefined;
|
|
94
|
+
"onAsset-change"?: ((args_0: {
|
|
95
|
+
assetId: string;
|
|
96
|
+
}) => any) | undefined;
|
|
78
97
|
onUpdateHeight?: ((height?: string | null | undefined) => any) | undefined;
|
|
79
98
|
onUpdatePadding?: ((padding: ThemePadding) => any) | undefined;
|
|
80
99
|
onUpdateMarginBottom?: ((value: number | null) => any) | undefined;
|
|
@@ -35,6 +35,10 @@ type __VLS_Props = {
|
|
|
35
35
|
selected?: DropdownOption['key'];
|
|
36
36
|
};
|
|
37
37
|
showOnlyTopToolbar?: boolean;
|
|
38
|
+
to?: HTMLElement | string;
|
|
39
|
+
showOnlyBottomToolbar?: boolean;
|
|
40
|
+
expiredContent?: boolean;
|
|
41
|
+
restrictedContent?: boolean;
|
|
38
42
|
};
|
|
39
43
|
declare function __VLS_template(): {
|
|
40
44
|
attrs: Partial<{}>;
|
|
@@ -63,7 +67,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
63
67
|
edit: () => any;
|
|
64
68
|
discard: () => any;
|
|
65
69
|
duplicate: () => any;
|
|
70
|
+
"content-change": (args_0: {
|
|
71
|
+
fileId: string;
|
|
72
|
+
pageIndex?: number;
|
|
73
|
+
pageId?: string;
|
|
74
|
+
thumbnailUrl?: string;
|
|
75
|
+
}) => any;
|
|
76
|
+
"asset-change": (args_0: {
|
|
77
|
+
assetId: string;
|
|
78
|
+
}) => any;
|
|
66
79
|
"variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
|
|
80
|
+
"resize-start": () => any;
|
|
81
|
+
"resize-end": () => any;
|
|
67
82
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
83
|
onAdd?: (() => any) | undefined;
|
|
69
84
|
onRemove?: (() => any) | undefined;
|
|
@@ -77,13 +92,25 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
77
92
|
onEdit?: (() => any) | undefined;
|
|
78
93
|
onDiscard?: (() => any) | undefined;
|
|
79
94
|
onDuplicate?: (() => any) | undefined;
|
|
95
|
+
"onContent-change"?: ((args_0: {
|
|
96
|
+
fileId: string;
|
|
97
|
+
pageIndex?: number;
|
|
98
|
+
pageId?: string;
|
|
99
|
+
thumbnailUrl?: string;
|
|
100
|
+
}) => any) | undefined;
|
|
101
|
+
"onAsset-change"?: ((args_0: {
|
|
102
|
+
assetId: string;
|
|
103
|
+
}) => any) | undefined;
|
|
80
104
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
105
|
+
"onResize-start"?: (() => any) | undefined;
|
|
106
|
+
"onResize-end"?: (() => any) | undefined;
|
|
81
107
|
}>, {
|
|
82
108
|
resizable: boolean;
|
|
83
109
|
collapsible: boolean;
|
|
84
110
|
resizeHandles: ResizeHandlePosition[];
|
|
85
111
|
resizeMaintainAspectRatio: boolean;
|
|
86
112
|
showOnlyTopToolbar: boolean;
|
|
113
|
+
showOnlyBottomToolbar: boolean;
|
|
87
114
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
88
115
|
componentRef: HTMLDivElement;
|
|
89
116
|
topHandlerRef: HTMLDivElement;
|
package/lib/apps/canvas-builder/components/container/EditableComponent/ResizeHandles.vue.d.ts
CHANGED
|
@@ -11,8 +11,12 @@ type __VLS_Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
"update:modelValue": (value: Record<string, any>) => any;
|
|
14
|
+
"resize-start": () => any;
|
|
15
|
+
"resize-end": () => any;
|
|
14
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
17
|
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
18
|
+
"onResize-start"?: (() => any) | undefined;
|
|
19
|
+
"onResize-end"?: (() => any) | undefined;
|
|
16
20
|
}>, {
|
|
17
21
|
handles: ResizeHandlePosition[];
|
|
18
22
|
maintainAspectRatio: boolean;
|
package/lib/apps/canvas-builder/components/container/LinkableComponent/LinkableComponent.vue.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { ComponentNode } from '../../../types/canvas';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
id: ComponentNode['id'];
|
|
4
4
|
usedInSectionId?: string;
|
|
5
|
+
noPadding?: boolean;
|
|
6
|
+
noBorder?: boolean;
|
|
5
7
|
mode?: 'thumbnails' | 'list';
|
|
6
8
|
};
|
|
7
9
|
declare function __VLS_template(): {
|
|
@@ -19,6 +21,8 @@ declare function __VLS_template(): {
|
|
|
19
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
23
|
mode: "thumbnails" | "list";
|
|
24
|
+
noPadding: boolean;
|
|
25
|
+
noBorder: boolean;
|
|
22
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
27
|
dynamicScrollerRef: unknown;
|
|
24
28
|
}, any>;
|
package/lib/apps/canvas-builder/components/container/NavigationWrapper/NavigationWrapper.vue.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
collapsed?: boolean;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
2
5
|
attrs: Partial<{}>;
|
|
3
6
|
slots: {
|
|
@@ -5,12 +8,13 @@ declare function __VLS_template(): {
|
|
|
5
8
|
top?(_: {}): any;
|
|
6
9
|
middle?(_: {}): any;
|
|
7
10
|
bottom?(_: {}): any;
|
|
11
|
+
toggle?(_: {}): any;
|
|
8
12
|
};
|
|
9
13
|
refs: {};
|
|
10
14
|
rootEl: HTMLDivElement;
|
|
11
15
|
};
|
|
12
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
17
|
+
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, {}, HTMLDivElement>;
|
|
14
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
19
|
export default _default;
|
|
16
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
10
10
|
$props: {
|
|
11
11
|
readonly type?: "text" | "textarea" | "password" | undefined;
|
|
12
12
|
readonly size?: import('naive-ui/es/input/src/interface').Size | undefined;
|
|
13
|
-
readonly status?: import('naive-ui
|
|
13
|
+
readonly status?: import('naive-ui').FormValidationStatus | undefined;
|
|
14
14
|
readonly value?: string | [string, string] | null | undefined;
|
|
15
15
|
readonly disabled?: boolean | undefined;
|
|
16
16
|
readonly onFocus?: import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void> | undefined;
|
|
@@ -202,7 +202,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
202
202
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
203
203
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
204
204
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
205
|
-
status: import('vue').PropType<import('naive-ui
|
|
205
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
206
206
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
207
207
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
208
208
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -465,7 +465,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
465
465
|
} | {
|
|
466
466
|
top: string;
|
|
467
467
|
}>;
|
|
468
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
468
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
469
469
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
470
470
|
handleTextAreaScroll: (e: Event) => void;
|
|
471
471
|
handleCompositionStart: () => void;
|
|
@@ -721,7 +721,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
721
721
|
onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
|
|
722
722
|
onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
|
|
723
723
|
countGraphemes: import('vue').PropType<(value: string) => number>;
|
|
724
|
-
status: import('vue').PropType<import('naive-ui
|
|
724
|
+
status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
|
|
725
725
|
'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
726
726
|
onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
|
|
727
727
|
textDecoration: import('vue').PropType<string | [string, string]>;
|
|
@@ -984,7 +984,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
984
984
|
} | {
|
|
985
985
|
top: string;
|
|
986
986
|
}>;
|
|
987
|
-
mergedStatus: import('vue').ComputedRef<import('naive-ui
|
|
987
|
+
mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
|
|
988
988
|
textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
|
|
989
989
|
handleTextAreaScroll: (e: Event) => void;
|
|
990
990
|
handleCompositionStart: () => void;
|
package/lib/apps/canvas-builder/components/container/PopupApps/AdaptivePopupAppsButtons.vue.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
placement?: 'left' | 'right' | 'top' | 'bottom' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
3
|
+
buttonClass?: string;
|
|
4
|
+
buttonSize?: 'tiny' | 'small' | 'medium' | 'large';
|
|
5
|
+
iconSize?: string | number;
|
|
6
|
+
isCircle?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
iconSize: string | number;
|
|
10
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
11
|
+
buttonClass: string;
|
|
12
|
+
buttonSize: "tiny" | "small" | "medium" | "large";
|
|
13
|
+
isCircle: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
containerRef: HTMLDivElement;
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
placement?: 'left' | 'right' | 'top' | 'bottom' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
3
|
+
buttonClass?: string;
|
|
4
|
+
buttonSize?: 'tiny' | 'small' | 'medium' | 'large';
|
|
5
|
+
iconSize?: string | number;
|
|
6
|
+
isCircle?: boolean;
|
|
7
|
+
/** When true, shows apps as inline buttons with separators instead of popover grouping */
|
|
8
|
+
inline?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
|
+
inline: boolean;
|
|
12
|
+
iconSize: string | number;
|
|
13
|
+
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
14
|
+
buttonClass: string;
|
|
15
|
+
buttonSize: "tiny" | "small" | "medium" | "large";
|
|
16
|
+
isCircle: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -44,6 +44,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
44
44
|
isFullscreen: Ref<boolean, boolean>;
|
|
45
45
|
handleKeyAction: ActionCallback;
|
|
46
46
|
element: Ref<HTMLElement | null, HTMLElement | null>;
|
|
47
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
47
48
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
49
|
click: (event: MouseEvent) => any;
|
|
49
50
|
close: () => any;
|
|
@@ -74,6 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
74
75
|
isFullscreen: Ref<boolean, boolean>;
|
|
75
76
|
handleKeyAction: ActionCallback;
|
|
76
77
|
element: Ref<HTMLElement | null, HTMLElement | null>;
|
|
78
|
+
updateResolvedData: (resolvedData: CollectionPlayer) => void;
|
|
77
79
|
}, {}, {}, {}, {}> | null;
|
|
78
80
|
}, HTMLDivElement>;
|
|
79
81
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
item: ContentGridItemSlideProps | ContentGridItemFileProps;
|
|
5
5
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
6
|
+
isLast?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
9
|
deletedFileClicked: () => any;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.raw.header.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
+
interface Column {
|
|
3
|
+
id: string;
|
|
4
|
+
header: string;
|
|
5
|
+
enableSorting: boolean;
|
|
6
|
+
sortDescFirst?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
columns: Column[];
|
|
10
|
+
headerBackgroundColor: string;
|
|
11
|
+
headerForegroundColor: string;
|
|
12
|
+
currentSorting: ColumnSort | null;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
sort: (columnId: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSort?: ((columnId: string) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ColumnSort } from '@tanstack/table-core';
|
|
2
|
+
import { CustomDataTableProps } from '../../../types/canvas';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
data?: CustomDataTableProps;
|
|
5
|
+
style?: Record<string, any>;
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
sortChanged: (sorting: ColumnSort | null) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onSortChanged?: ((sorting: ColumnSort | null) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
package/lib/apps/canvas-builder/components/ui/CustomDataTable/CustomDataTable.settings.vue.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentNode, CustomDataTableProps } from '../../../types/canvas';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: ComponentNode['id'];
|
|
4
|
+
data: CustomDataTableProps | null;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
+
hierarchyScrollContainer: HTMLDivElement;
|
|
8
|
+
columnsScrollContainer: HTMLDivElement;
|
|
9
|
+
}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CustomDataTableHierarchyLevel, DynamicDatatableProperty } from '../../../types/canvas';
|
|
2
|
+
export interface ProcessedHierarchicalRow {
|
|
3
|
+
id: string;
|
|
4
|
+
level: number;
|
|
5
|
+
type: 'group' | 'data';
|
|
6
|
+
groupValue?: string;
|
|
7
|
+
data?: Record<string, any>;
|
|
8
|
+
children?: ProcessedHierarchicalRow[];
|
|
9
|
+
isExpanded?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface RowWithAncestors extends ProcessedHierarchicalRow {
|
|
12
|
+
ancestorGroups?: ProcessedHierarchicalRow[];
|
|
13
|
+
isInnermostGroup?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Process hierarchical data based on configured levels
|
|
17
|
+
*/
|
|
18
|
+
export declare function processHierarchicalData(sourceData: any, hierarchy: CustomDataTableHierarchyLevel[], columns?: DynamicDatatableProperty[], userSortConfig?: {
|
|
19
|
+
key: string;
|
|
20
|
+
direction: 'asc' | 'desc';
|
|
21
|
+
}): ProcessedHierarchicalRow[];
|
|
22
|
+
/**
|
|
23
|
+
* Flatten hierarchical structure for rendering
|
|
24
|
+
* @param rows - The hierarchical rows to flatten
|
|
25
|
+
* @param includeCollapsed - Whether to include collapsed rows
|
|
26
|
+
* @param forceExpandAll - Force all groups to be expanded (useful for print mode)
|
|
27
|
+
*/
|
|
28
|
+
export declare function flattenForRendering(rows: ProcessedHierarchicalRow[], includeCollapsed?: boolean, forceExpandAll?: boolean): RowWithAncestors[];
|
|
29
|
+
/**
|
|
30
|
+
* Toggle expand/collapse state of a group row
|
|
31
|
+
*/
|
|
32
|
+
export declare function toggleRowExpansion(rows: ProcessedHierarchicalRow[], rowId: string): ProcessedHierarchicalRow[];
|