@pitcher/js-api 1.25.0 → 1.26.0-beta.2
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 +53 -7
- 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/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/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 +308 -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 +27 -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 +23 -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} +25 -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/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/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 +1741 -143
- package/lib/apps/canvas-builder/composables/useCanvasBlocks.d.ts +18 -20
- package/lib/apps/canvas-builder/composables/useCanvasCompletionWizard.d.ts +16 -0
- package/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +12 -8
- package/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +25 -7
- package/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +3 -1
- package/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +19 -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/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 +1 -1
- 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/constants/canvas.const.d.ts +2 -1
- package/lib/apps/canvas-builder/types/canvas.d.ts +36 -3
- package/lib/apps/canvas-builder/util/canvas.util.d.ts +3 -1
- package/lib/apps/canvas-builder/util/iframe.util.d.ts +16 -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 +15 -0
- package/lib/components/CBulkToolbar/CBulkToolbar.vue.d.ts +3 -0
- package/lib/components/CCarousel/CCarousel.vue.d.ts +20 -0
- package/lib/components/CComponentListItem/CComponentListItem.vue.d.ts +3 -0
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +5 -3
- package/lib/components/CContactSelector/CContactAccountListItem.vue.d.ts +2 -0
- package/lib/components/CContactSelector/CContactSelector.vue.d.ts +3 -0
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +31 -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/CFileViewer/CFileViewer.vue.d.ts +3 -9
- package/lib/components/CFileViewer/CFileViewerTop.vue.d.ts +2 -5
- package/lib/components/CFileViewer/pdf/CFileViewer.pdf.use.d.ts +2 -6
- 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 +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/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 +438 -0
- package/lib/components/assignedCanvases/CAssignedCanvasesManagementToolbar.vue.d.ts +41 -0
- package/lib/components/canvas-blocks/CBlockManagement.vue.d.ts +44 -60
- package/lib/components/canvas-blocks/CBlockManagementToolbar.vue.d.ts +13 -19
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +39 -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 +13 -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/SmartFoldersMissingConfig.vue.d.ts +8 -3
- package/lib/components/sections/CSectionManagement.vue.d.ts +25 -1
- package/lib/components/sections/CSectionManagementToolbar.vue.d.ts +7 -0
- package/lib/components/themes/CThemeManagement.vue.d.ts +96 -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/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/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.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/main.lib.d.ts +17 -3
- package/lib/modules/algolia-instantsearch.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +4 -2
- package/lib/sdk/api/modules/admin/types.admin.d.ts +8 -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 +1 -0
- package/lib/sdk/api/modules/files.d.ts +2 -2
- package/lib/sdk/api/modules/share.d.ts +8 -1
- package/lib/sdk/api/modules/ui/canvas.ui.d.ts +25 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +24 -0
- package/lib/sdk/api/modules/webView.d.ts +2 -1
- package/lib/sdk/interfaces.d.ts +90 -2
- package/lib/sdk/main.d.ts +24 -6
- 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/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 +22 -4
- package/lib/types/launchDarkly.types.d.ts +2 -4
- package/lib/types/organizationSettings.types.d.ts +36 -0
- 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/components/CFileViewer/pdf/CFileViewer.pageThumbFavorite.pdf.use.d.ts +0 -10
- package/lib/components/CImage/CBrokenImage.vue.d.ts +0 -10
- 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,27 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { ComponentTypes, ComponentNode } from '../../../types/canvas';
|
|
3
|
+
interface Props {
|
|
4
|
+
page: ComponentNode[];
|
|
5
|
+
isScaleContentEnabled?: boolean;
|
|
6
|
+
aspectRatioStyle: CSSProperties | undefined;
|
|
7
|
+
componentMap: Record<ComponentTypes, any>;
|
|
8
|
+
getChildComponentStyle: (parent: ComponentNode, child: ComponentNode, index: number) => CSSProperties;
|
|
9
|
+
getComponentBindings: (component: ComponentNode) => any;
|
|
10
|
+
getTopLevelComponentStyle: (page: ComponentNode[], component: ComponentNode, index: number) => CSSProperties;
|
|
11
|
+
onElementVisibility: (isVisible: boolean, component: ComponentNode) => void;
|
|
12
|
+
shouldRenderComponentWrapper: (component: ComponentNode) => boolean | undefined;
|
|
13
|
+
aspectRatio: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
} | undefined;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
19
|
+
pageWrapperRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
20
|
+
pageContainerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
21
|
+
pageContentRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
pageWrapperRef: HTMLDivElement;
|
|
24
|
+
pageContainerRef: HTMLDivElement;
|
|
25
|
+
pageContentRef: HTMLDivElement;
|
|
26
|
+
}, HTMLDivElement>;
|
|
27
|
+
export default _default;
|
|
@@ -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;
|
|
@@ -59,7 +60,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
59
60
|
edit: () => any;
|
|
60
61
|
discard: () => any;
|
|
61
62
|
duplicate: () => any;
|
|
63
|
+
"content-change": (args_0: {
|
|
64
|
+
fileId: string;
|
|
65
|
+
pageIndex?: number;
|
|
66
|
+
pageId?: string;
|
|
67
|
+
thumbnailUrl?: string;
|
|
68
|
+
}) => any;
|
|
69
|
+
"asset-change": (args_0: {
|
|
70
|
+
assetId: string;
|
|
71
|
+
}) => any;
|
|
62
72
|
"variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
|
|
73
|
+
"resize-start": () => any;
|
|
74
|
+
"resize-end": () => any;
|
|
63
75
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
64
76
|
onAdd?: (() => any) | undefined;
|
|
65
77
|
onRemove?: (() => any) | undefined;
|
|
@@ -73,7 +85,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
73
85
|
onEdit?: (() => any) | undefined;
|
|
74
86
|
onDiscard?: (() => any) | undefined;
|
|
75
87
|
onDuplicate?: (() => 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;
|
|
76
97
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
98
|
+
"onResize-start"?: (() => any) | undefined;
|
|
99
|
+
"onResize-end"?: (() => any) | undefined;
|
|
77
100
|
}>, {
|
|
78
101
|
collapsible: boolean;
|
|
79
102
|
}, {}, {}, {}, 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,8 @@ type __VLS_Props = {
|
|
|
35
35
|
selected?: DropdownOption['key'];
|
|
36
36
|
};
|
|
37
37
|
showOnlyTopToolbar?: boolean;
|
|
38
|
+
to?: HTMLElement | string;
|
|
39
|
+
showOnlyBottomToolbar?: boolean;
|
|
38
40
|
};
|
|
39
41
|
declare function __VLS_template(): {
|
|
40
42
|
attrs: Partial<{}>;
|
|
@@ -63,7 +65,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
63
65
|
edit: () => any;
|
|
64
66
|
discard: () => any;
|
|
65
67
|
duplicate: () => any;
|
|
68
|
+
"content-change": (args_0: {
|
|
69
|
+
fileId: string;
|
|
70
|
+
pageIndex?: number;
|
|
71
|
+
pageId?: string;
|
|
72
|
+
thumbnailUrl?: string;
|
|
73
|
+
}) => any;
|
|
74
|
+
"asset-change": (args_0: {
|
|
75
|
+
assetId: string;
|
|
76
|
+
}) => any;
|
|
66
77
|
"variant-change": (variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any;
|
|
78
|
+
"resize-start": () => any;
|
|
79
|
+
"resize-end": () => any;
|
|
67
80
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
81
|
onAdd?: (() => any) | undefined;
|
|
69
82
|
onRemove?: (() => any) | undefined;
|
|
@@ -77,13 +90,25 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
77
90
|
onEdit?: (() => any) | undefined;
|
|
78
91
|
onDiscard?: (() => any) | undefined;
|
|
79
92
|
onDuplicate?: (() => any) | undefined;
|
|
93
|
+
"onContent-change"?: ((args_0: {
|
|
94
|
+
fileId: string;
|
|
95
|
+
pageIndex?: number;
|
|
96
|
+
pageId?: string;
|
|
97
|
+
thumbnailUrl?: string;
|
|
98
|
+
}) => any) | undefined;
|
|
99
|
+
"onAsset-change"?: ((args_0: {
|
|
100
|
+
assetId: string;
|
|
101
|
+
}) => any) | undefined;
|
|
80
102
|
"onVariant-change"?: ((variant: import('naive-ui/es/menu/src/interface').Key | undefined) => any) | undefined;
|
|
103
|
+
"onResize-start"?: (() => any) | undefined;
|
|
104
|
+
"onResize-end"?: (() => any) | undefined;
|
|
81
105
|
}>, {
|
|
82
106
|
resizable: boolean;
|
|
83
107
|
collapsible: boolean;
|
|
84
108
|
resizeHandles: ResizeHandlePosition[];
|
|
85
109
|
resizeMaintainAspectRatio: boolean;
|
|
86
110
|
showOnlyTopToolbar: boolean;
|
|
111
|
+
showOnlyBottomToolbar: boolean;
|
|
87
112
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
88
113
|
componentRef: HTMLDivElement;
|
|
89
114
|
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>;
|
|
@@ -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,16 @@
|
|
|
1
|
+
import { DynamicDataTableProps, DynamicDatatableProperty } from '../../../types/canvas';
|
|
2
|
+
/**
|
|
3
|
+
* Calculate the background color for a table row based on striping configuration
|
|
4
|
+
* @param idx - The row index (0-based)
|
|
5
|
+
* @param data - The dynamic data table props containing striping configuration
|
|
6
|
+
* @param themeVars - The theme variables containing color values
|
|
7
|
+
* @returns The background color string for the row
|
|
8
|
+
*/
|
|
9
|
+
export declare function getRowBackgroundColor(idx: number, data: DynamicDataTableProps | undefined, themeVars: Record<string, any>): string;
|
|
10
|
+
/**
|
|
11
|
+
* Format a cell value based on the property's format configuration
|
|
12
|
+
* @param value - The raw value to format
|
|
13
|
+
* @param property - The property configuration including format settings
|
|
14
|
+
* @returns The formatted string representation of the value
|
|
15
|
+
*/
|
|
16
|
+
export declare function formatCellValue(value: any, property: DynamicDatatableProperty): string;
|
|
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
17
|
};
|
|
18
18
|
usedInSectionId: CanvasRetrieve["id"];
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
embeddableContainer: HTMLDivElement;
|
|
20
21
|
embeddableIframe: HTMLIFrameElement;
|
|
21
22
|
}, any>;
|
|
22
23
|
export default _default;
|
|
@@ -307,14 +307,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
307
307
|
}>, {
|
|
308
308
|
validate: () => Promise<{
|
|
309
309
|
config: Record<string, any>;
|
|
310
|
-
success:
|
|
310
|
+
success: true;
|
|
311
311
|
errors?: undefined;
|
|
312
|
+
firstErrorFieldName?: undefined;
|
|
312
313
|
} | {
|
|
313
314
|
config: Record<string, any>;
|
|
314
315
|
errors: unknown;
|
|
315
|
-
|
|
316
|
+
firstErrorFieldName: string | undefined;
|
|
317
|
+
success: false;
|
|
316
318
|
}>;
|
|
317
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
319
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
318
320
|
change: (config: Record<string, any>) => any;
|
|
319
321
|
}, import('vue').PublicProps, {
|
|
320
322
|
loading: boolean;
|
|
@@ -629,12 +631,14 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
629
631
|
}>, {
|
|
630
632
|
validate: () => Promise<{
|
|
631
633
|
config: Record<string, any>;
|
|
632
|
-
success:
|
|
634
|
+
success: true;
|
|
633
635
|
errors?: undefined;
|
|
636
|
+
firstErrorFieldName?: undefined;
|
|
634
637
|
} | {
|
|
635
638
|
config: Record<string, any>;
|
|
636
639
|
errors: unknown;
|
|
637
|
-
|
|
640
|
+
firstErrorFieldName: string | undefined;
|
|
641
|
+
success: false;
|
|
638
642
|
}>;
|
|
639
643
|
}, {}, {}, {}, {
|
|
640
644
|
loading: boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
themeOverrides?: {
|
|
5
|
+
active: StyleValue;
|
|
6
|
+
default: StyleValue;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
startLoading: () => any;
|
|
12
|
+
endLoading: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
onStartLoading?: (() => any) | undefined;
|
|
16
|
+
onEndLoading?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
themeOverrides: {
|
|
19
|
+
active: StyleValue;
|
|
20
|
+
default: StyleValue;
|
|
21
|
+
};
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HtmlProps, ComponentNode } from '../../../types/canvas';
|
|
1
|
+
import { HtmlProps, ComponentNode, ComponentTypes } from '../../../types/canvas';
|
|
2
2
|
import { CanvasRetrieve } from '../../../../../../types/openapi';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
id: string;
|
|
@@ -7,6 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
usedInSectionId?: CanvasRetrieve['id'];
|
|
8
8
|
visible?: ComponentNode['visible'];
|
|
9
9
|
tracking_id?: string;
|
|
10
|
+
parentType?: ComponentTypes;
|
|
10
11
|
};
|
|
11
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
13
|
when_used_in_section: {
|
|
@@ -14,5 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
15
|
is_removable: boolean;
|
|
15
16
|
};
|
|
16
17
|
usedInSectionId: CanvasRetrieve["id"];
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
contentElement: HTMLDivElement;
|
|
20
|
+
}, any>;
|
|
18
21
|
export default _default;
|
|
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
16
16
|
};
|
|
17
17
|
usedInSectionId: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
iframeContainer: HTMLDivElement;
|
|
19
20
|
iframe: HTMLIFrameElement;
|
|
20
21
|
}, any>;
|
|
21
22
|
export default _default;
|