@pitcher/js-api 1.22.0-alpha.1 → 1.22.0-alpha.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/package.json +1 -1
- package/types/js-api.esm.d.ts +0 -1
- package/types/lib/api/apps/apps.queries.d.ts +0 -3
- package/types/lib/api/canvases/canvases.queries.d.ts +0 -15
- package/types/lib/api/events/events.helpers.d.ts +0 -29
- package/types/lib/api/events/events.queries.d.ts +0 -10
- package/types/lib/api/users/users.queries.d.ts +0 -5
- package/types/lib/apps/browser/composables/useAppEmit.d.ts +0 -3
- package/types/lib/apps/browser/stores/api.d.ts +0 -575
- package/types/lib/apps/browser/stores/api.test.d.ts +0 -1
- package/types/lib/apps/browser/stores/app.d.ts +0 -117
- package/types/lib/apps/browser/stores/app.test.d.ts +0 -1
- package/types/lib/apps/browser/stores/upload.d.ts +0 -101
- package/types/lib/apps/browser/stores/upload.types.d.ts +0 -18
- package/types/lib/apps/browser/util/file.d.ts +0 -3
- package/types/lib/apps/canvas-builder/App.helpers.d.ts +0 -12
- package/types/lib/apps/canvas-builder/components/ui/Link/Link.util.d.ts +0 -13
- package/types/lib/apps/canvas-builder/composables/useCanvas.d.ts +0 -12735
- package/types/lib/apps/canvas-builder/composables/useCanvasHistory.d.ts +0 -1784
- package/types/lib/apps/canvas-builder/composables/useCanvasHooks.d.ts +0 -25
- package/types/lib/apps/canvas-builder/composables/useCanvasPages.d.ts +0 -34
- package/types/lib/apps/canvas-builder/composables/useCanvasPages.spec.d.ts +0 -1
- package/types/lib/apps/canvas-builder/composables/useCanvasSectionOverrides.d.ts +0 -29
- package/types/lib/apps/canvas-builder/composables/useCanvasTheme.d.ts +0 -76
- package/types/lib/apps/canvas-builder/composables/useCanvasVisibility.d.ts +0 -8
- package/types/lib/apps/canvas-builder/composables/useCollapsibles.d.ts +0 -14
- package/types/lib/apps/canvas-builder/composables/useComponentPermissions.d.ts +0 -14
- package/types/lib/apps/canvas-builder/composables/useContentSelector.d.ts +0 -49
- package/types/lib/apps/canvas-builder/composables/useFetchSectionAnalytics.d.ts +0 -3
- package/types/lib/apps/canvas-builder/composables/useNavigatorDrawer.d.ts +0 -6
- package/types/lib/apps/canvas-builder/composables/usePitcherEvents.d.ts +0 -5
- package/types/lib/apps/canvas-builder/composables/useRecommendations.d.ts +0 -50
- package/types/lib/apps/canvas-builder/composables/useReorderComponent.d.ts +0 -16
- package/types/lib/apps/canvas-builder/composables/useSectionNavigation.d.ts +0 -16
- package/types/lib/apps/canvas-builder/composables/useSectionPopularity.d.ts +0 -34
- package/types/lib/apps/canvas-builder/constants/canvas.const.d.ts +0 -15
- package/types/lib/apps/canvas-builder/constants/defaults.const.d.ts +0 -1
- package/types/lib/apps/canvas-builder/constants/index.d.ts +0 -3
- package/types/lib/apps/canvas-builder/constants/sizes.d.ts +0 -2
- package/types/lib/apps/canvas-builder/types/canvas.d.ts +0 -466
- package/types/lib/apps/canvas-builder/types/font-awesome.types.d.ts +0 -2
- package/types/lib/apps/canvas-builder/types/recommendations.types.d.ts +0 -28
- package/types/lib/apps/canvas-builder/util/canvas.util.d.ts +0 -44
- package/types/lib/apps/canvas-builder/util/canvas.util.test.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/clone.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/file.util.d.ts +0 -6
- package/types/lib/apps/canvas-builder/util/tree.d.ts +0 -24
- package/types/lib/apps/canvas-builder/util/tree.test.d.ts +0 -1
- package/types/lib/apps/canvas-builder/util/tsUtils.d.ts +0 -3
- package/types/lib/apps/canvas-builder/util/url.d.ts +0 -5
- package/types/lib/apps/canvas-builder/util/url.test.d.ts +0 -1
- package/types/lib/apps/content-selector/appTypes.d.ts +0 -43
- package/types/lib/apps/content-selector/stores/app.d.ts +0 -82
- package/types/lib/apps/content-selector/util/file.d.ts +0 -3
- package/types/lib/apps/content-selector/util/media-type.util.d.ts +0 -1
- package/types/lib/apps/notes/composables/useFullscreenNotesHeartbeat.d.ts +0 -3
- package/types/lib/apps/notes/composables/useNotesApp.d.ts +0 -3
- package/types/lib/components/CCatalogIqSwitcher/CCatalogIqSwitcher.types.d.ts +0 -7
- package/types/lib/components/CConfigEditor/CConfigEditor.types.d.ts +0 -7
- package/types/lib/components/CConfigEditor/CConfigEditor.validators.d.ts +0 -4
- package/types/lib/components/CContactSelector/CContactSelector.types.d.ts +0 -4
- package/types/lib/components/CDataTable/CDataTableEdit.use.d.ts +0 -22
- package/types/lib/components/CFileViewer/CFileViewer.types.d.ts +0 -7
- package/types/lib/components/CFileViewer/CFileViewer.use.d.ts +0 -47
- package/types/lib/components/CFileViewer/CFileViewerFullScreen.use.d.ts +0 -16
- package/types/lib/components/CFileViewer/pageThumbnailFavorite.use.d.ts +0 -10
- package/types/lib/components/CFileViewer/pdfEvents.use.d.ts +0 -4
- package/types/lib/components/CGlobalSearch/CGlobalSearch.types.d.ts +0 -23
- package/types/lib/components/CGlobalSearch/GlobalSearch.use.d.ts +0 -24
- package/types/lib/components/CGlobalSearch/Shortcuts.use.d.ts +0 -11
- package/types/lib/components/CMultiSelect/CMultiSelect.test.d.ts +0 -1
- package/types/lib/components/CQuickFilters/CQuickFilters.types.d.ts +0 -4
- package/types/lib/components/CRichTextEditor/constants.d.ts +0 -1
- package/types/lib/components/CRichTextEditor/extensions/bulletListExtended.d.ts +0 -16
- package/types/lib/components/CRichTextEditor/extensions/headingExtended.d.ts +0 -10
- package/types/lib/components/CRichTextEditor/extensions/mentionSuggestions.d.ts +0 -11
- package/types/lib/components/CRichTextEditor/extensions/paragraphExtended.d.ts +0 -26
- package/types/lib/components/CRichTextEditor/extensions/textStyleExtended.d.ts +0 -10
- package/types/lib/components/CSingleSelect/CSingleSelect.test.d.ts +0 -1
- package/types/lib/components/CUsersGroupsAccessManage/CUsersGroupsAccessManage.types.d.ts +0 -56
- package/types/lib/components/CVirtualTable/CVirtualTable.test.d.ts +0 -1
- package/types/lib/components/CVirtualTable/CVirtualTableRow.test.d.ts +0 -1
- package/types/lib/components/canvases/CanvasesManagementBulk.use.d.ts +0 -40
- package/types/lib/components/canvases/CanvasesManagementFilters.use.d.ts +0 -7
- package/types/lib/components/canvases/CanvasesManagementToolbarFilters.use.d.ts +0 -20
- package/types/lib/components/filters/CDateRangeFilter.test.d.ts +0 -1
- package/types/lib/components/filters/CSelectFilter.test.d.ts +0 -1
- package/types/lib/components/filters/filter.const.d.ts +0 -1
- package/types/lib/components/filters/filter.util.d.ts +0 -2
- package/types/lib/components/filters/filter.util.spec.d.ts +0 -1
- package/types/lib/components/savedCanvases/CSavedCanvasesManagement.use.d.ts +0 -11
- package/types/lib/components/savedCanvases/CSavedCanvasesManagementShareCanvas.use.d.ts +0 -7
- package/types/lib/composables/appEmit.use.d.ts +0 -3
- package/types/lib/composables/bulkActions.use.d.ts +0 -12
- package/types/lib/composables/fileViewerSettings.use.d.ts +0 -8
- package/types/lib/composables/recentFiles.use.d.ts +0 -12
- package/types/lib/composables/useAssetUpload.d.ts +0 -6
- package/types/lib/composables/useBindValidation.d.ts +0 -206
- package/types/lib/composables/useConfirmation.d.ts +0 -23
- package/types/lib/composables/useConnectUpload.d.ts +0 -5
- package/types/lib/composables/useDetailsView.d.ts +0 -19
- package/types/lib/composables/useFetchUsers.d.ts +0 -18
- package/types/lib/composables/useInfiniteScroll.d.ts +0 -13
- package/types/lib/composables/useInstalledApps.d.ts +0 -3
- package/types/lib/composables/useLocation.d.ts +0 -26
- package/types/lib/composables/useLocationAPI.d.ts +0 -39
- package/types/lib/composables/useLocationListeners.d.ts +0 -8
- package/types/lib/composables/useLocationManipulation.d.ts +0 -37
- package/types/lib/composables/usePdfInterpolation.d.ts +0 -9
- package/types/lib/composables/useTheme.d.ts +0 -9
- package/types/lib/composables/useThemeVars.d.ts +0 -30
- package/types/lib/composables/useToast.d.ts +0 -14
- package/types/lib/composables/useWindowEvents.d.ts +0 -20
- package/types/lib/constants/cdp.const.d.ts +0 -41
- package/types/lib/constants/config.const.d.ts +0 -1
- package/types/lib/constants/conventions.const.d.ts +0 -3
- package/types/lib/constants/i18n.const.d.ts +0 -13
- package/types/lib/constants/modal.const.d.ts +0 -9
- package/types/lib/constants/more.const.d.ts +0 -1
- package/types/lib/constants/recentFiles.const.d.ts +0 -4
- package/types/lib/constants/tables.const.d.ts +0 -4
- package/types/lib/constants/timers.const.d.ts +0 -1
- package/types/lib/constants/uploads.const.d.ts +0 -8
- package/types/lib/constants/url.const.d.ts +0 -2
- package/types/lib/custom-naive-locales/el.d.ts +0 -124
- package/types/lib/directives/autofocus.d.ts +0 -4
- package/types/lib/directives/clickOutside.d.ts +0 -8
- package/types/lib/directives/draggable.d.ts +0 -4
- package/types/lib/directives/tooltip.d.ts +0 -4
- package/types/lib/main.lib.d.ts +0 -176
- package/types/lib/plugins/vueQuery.d.ts +0 -3
- package/types/lib/sdk/api/HighLevelApi.d.ts +0 -125
- package/types/lib/sdk/api/HighLevelApi.spec.d.ts +0 -1
- package/types/lib/sdk/api/LowLevelApi.d.ts +0 -18
- package/types/lib/sdk/api/LowLevelApi.spec.d.ts +0 -1
- package/types/lib/sdk/api/modules/admin/canvas.admin.d.ts +0 -69
- package/types/lib/sdk/api/modules/admin/env.admin.d.ts +0 -10
- package/types/lib/sdk/api/modules/admin/files.admin.d.ts +0 -10
- package/types/lib/sdk/api/modules/admin/index.d.ts +0 -6
- package/types/lib/sdk/api/modules/admin/metadataTemplates.admin.d.ts +0 -11
- package/types/lib/sdk/api/modules/admin/types.admin.d.ts +0 -46
- package/types/lib/sdk/api/modules/canvas.d.ts +0 -56
- package/types/lib/sdk/api/modules/dsr/env.dsr.d.ts +0 -10
- package/types/lib/sdk/api/modules/dsr/index.d.ts +0 -5
- package/types/lib/sdk/api/modules/dsr/loading.dsr.d.ts +0 -1
- package/types/lib/sdk/api/modules/dsr/types.dsr.d.ts +0 -39
- package/types/lib/sdk/api/modules/env.d.ts +0 -7
- package/types/lib/sdk/api/modules/events.d.ts +0 -7
- package/types/lib/sdk/api/modules/favorites.d.ts +0 -8
- package/types/lib/sdk/api/modules/feedback.d.ts +0 -3
- package/types/lib/sdk/api/modules/files.d.ts +0 -31
- package/types/lib/sdk/api/modules/folders.d.ts +0 -21
- package/types/lib/sdk/api/modules/index.d.ts +0 -19
- package/types/lib/sdk/api/modules/languages.d.ts +0 -8
- package/types/lib/sdk/api/modules/metadataTemplates.d.ts +0 -4
- package/types/lib/sdk/api/modules/notifications.d.ts +0 -3
- package/types/lib/sdk/api/modules/open.d.ts +0 -4
- package/types/lib/sdk/api/modules/pspdfkit.d.ts +0 -23
- package/types/lib/sdk/api/modules/query.d.ts +0 -3
- package/types/lib/sdk/api/modules/search.d.ts +0 -4
- package/types/lib/sdk/api/modules/sync.d.ts +0 -9
- package/types/lib/sdk/api/modules/toast.d.ts +0 -4
- package/types/lib/sdk/api/modules/track.d.ts +0 -4
- package/types/lib/sdk/api/modules/ui/app-errors.ui.d.ts +0 -3
- package/types/lib/sdk/api/modules/ui/canvas.ui.d.ts +0 -4
- package/types/lib/sdk/api/modules/ui/content.ui.d.ts +0 -7
- package/types/lib/sdk/api/modules/ui/index.d.ts +0 -8
- package/types/lib/sdk/api/modules/ui/loading.ui.d.ts +0 -1
- package/types/lib/sdk/api/modules/ui/location.ui.d.ts +0 -3
- package/types/lib/sdk/api/modules/ui/types.ui.d.ts +0 -47
- package/types/lib/sdk/api/modules/users.d.ts +0 -6
- package/types/lib/sdk/api/modules/webView.d.ts +0 -4
- package/types/lib/sdk/interfaces.d.ts +0 -230
- package/types/lib/sdk/main.d.ts +0 -434
- package/types/lib/sdk/main.spec.d.ts +0 -1
- package/types/lib/sdk/main.umd-esm.d.ts +0 -1
- package/types/lib/sdk/payload.types.d.ts +0 -56
- package/types/lib/sdk/utils/assert.d.ts +0 -3
- package/types/lib/sdk/utils/assert.spec.d.ts +0 -1
- package/types/lib/sdk/utils/cleanUrl.d.ts +0 -1
- package/types/lib/sdk/utils/eventEmitter.d.ts +0 -17
- package/types/lib/sdk/utils/eventEmitter.spec.d.ts +0 -1
- package/types/lib/sdk/utils/isodate.d.ts +0 -1
- package/types/lib/sdk/utils/isodate.spec.d.ts +0 -1
- package/types/lib/sdk/utils/postrobot.d.ts +0 -1
- package/types/lib/theme/canvasUiUnoPreset.d.ts +0 -4
- package/types/lib/theme/daisyUi.d.ts +0 -1
- package/types/lib/theme/light.const.d.ts +0 -4
- package/types/lib/theme/light.d.ts +0 -2483
- package/types/lib/theme/main.d.ts +0 -3
- package/types/lib/theme/theme-overrides.d.ts +0 -1
- package/types/lib/theme/theme.types.d.ts +0 -29
- package/types/lib/theme/theme.utils.d.ts +0 -3
- package/types/lib/types/app.d.ts +0 -59
- package/types/lib/types/call.d.ts +0 -42
- package/types/lib/types/canvasActions.d.ts +0 -12
- package/types/lib/types/canvases.d.ts +0 -23
- package/types/lib/types/dataTable.d.ts +0 -6
- package/types/lib/types/favorites.d.ts +0 -5
- package/types/lib/types/fileViewerSettings.types.d.ts +0 -3
- package/types/lib/types/files.d.ts +0 -12
- package/types/lib/types/i18n.types.d.ts +0 -1
- package/types/lib/types/iframes.d.ts +0 -24
- package/types/lib/types/instanceSettings.d.ts +0 -20
- package/types/lib/types/launchDarkly.types.d.ts +0 -40
- package/types/lib/types/organization.d.ts +0 -4
- package/types/lib/types/paginatedData.d.ts +0 -6
- package/types/lib/types/recentFiles.types.d.ts +0 -4
- package/types/lib/types/sectionPopularity.d.ts +0 -30
- package/types/lib/types/sfdc.d.ts +0 -125
- package/types/lib/types/templateActions.d.ts +0 -10
- package/types/lib/types/toast.d.ts +0 -4
- package/types/lib/types/translations.d.ts +0 -5
- package/types/lib/types/ts.d.ts +0 -10
- package/types/lib/types/users.d.ts +0 -12
- package/types/lib/types/vueVirtualScroller.d.ts +0 -4
- package/types/lib/util/anchor.d.ts +0 -2
- package/types/lib/util/array.d.ts +0 -5
- package/types/lib/util/array.spec.d.ts +0 -1
- package/types/lib/util/canvas-manager.util.d.ts +0 -4
- package/types/lib/util/casing.d.ts +0 -4
- package/types/lib/util/casing.spec.d.ts +0 -1
- package/types/lib/util/color.d.ts +0 -4
- package/types/lib/util/date.d.ts +0 -12
- package/types/lib/util/date.spec.d.ts +0 -1
- package/types/lib/util/dev.util.d.ts +0 -2
- package/types/lib/util/dom.d.ts +0 -15
- package/types/lib/util/font.spec.d.ts +0 -1
- package/types/lib/util/font.util.d.ts +0 -7
- package/types/lib/util/fullscreen.util.d.ts +0 -16
- package/types/lib/util/gesture.util.d.ts +0 -6
- package/types/lib/util/handlebars.d.ts +0 -1
- package/types/lib/util/image.d.ts +0 -1
- package/types/lib/util/location.spec.d.ts +0 -1
- package/types/lib/util/location.util.d.ts +0 -1
- package/types/lib/util/message-event.d.ts +0 -1
- package/types/lib/util/message-event.spec.d.ts +0 -1
- package/types/lib/util/navigation.util.d.ts +0 -7
- package/types/lib/util/network.d.ts +0 -16
- package/types/lib/util/network.spec.d.ts +0 -1
- package/types/lib/util/number.d.ts +0 -4
- package/types/lib/util/number.spec.d.ts +0 -1
- package/types/lib/util/object.d.ts +0 -1
- package/types/lib/util/object.spec.d.ts +0 -1
- package/types/lib/util/query.d.ts +0 -6
- package/types/lib/util/reactive.d.ts +0 -4
- package/types/lib/util/reactive.spec.d.ts +0 -1
- package/types/lib/util/string.d.ts +0 -4
- package/types/lib/util/timer.d.ts +0 -2
- package/types/lib/util/timer.spec.d.ts +0 -1
- package/types/lib/util/translations.d.ts +0 -8
- package/types/lib/util/translations.spec.d.ts +0 -1
- package/types/lib/util/tsHelpers.d.ts +0 -14
- package/types/lib/util/user.d.ts +0 -4
- package/types/lib/util/userAgents.d.ts +0 -8
- package/types/types/openapi/index.d.ts +0 -248
- package/types/types/openapi/models/AccessTypeEnum.d.ts +0 -8
- package/types/types/openapi/models/Account.d.ts +0 -4
- package/types/types/openapi/models/AccountRequest.d.ts +0 -4
- package/types/types/openapi/models/App.d.ts +0 -20
- package/types/types/openapi/models/AppInstallationRequest.d.ts +0 -4
- package/types/types/openapi/models/AppOrganization.d.ts +0 -4
- package/types/types/openapi/models/AppOrganizationRequest.d.ts +0 -4
- package/types/types/openapi/models/AppPublish.d.ts +0 -8
- package/types/types/openapi/models/AppRelease.d.ts +0 -9
- package/types/types/openapi/models/AppRequest.d.ts +0 -9
- package/types/types/openapi/models/AppTypeEnum.d.ts +0 -8
- package/types/types/openapi/models/AppsDBGlobalEntry.d.ts +0 -8
- package/types/types/openapi/models/AppsDBGlobalEntryRequest.d.ts +0 -3
- package/types/types/openapi/models/AppsDBUserEntry.d.ts +0 -9
- package/types/types/openapi/models/AppsDBUserEntryRequest.d.ts +0 -3
- package/types/types/openapi/models/AuthToken.d.ts +0 -7
- package/types/types/openapi/models/AuthTokenRequest.d.ts +0 -7
- package/types/types/openapi/models/BulkDeleteErrorDetail.d.ts +0 -5
- package/types/types/openapi/models/BulkDeleteRequest.d.ts +0 -6
- package/types/types/openapi/models/BulkDeleteResponse.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateMetadata.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateMetadataOperationEnum.d.ts +0 -8
- package/types/types/openapi/models/BulkUpdateMetadataRequest.d.ts +0 -9
- package/types/types/openapi/models/BulkUpdateMetadataResult.d.ts +0 -4
- package/types/types/openapi/models/BulkUpdateTags.d.ts +0 -6
- package/types/types/openapi/models/BulkUpdateTagsOperationEnum.d.ts +0 -8
- package/types/types/openapi/models/BulkUpdateTagsRequest.d.ts +0 -9
- package/types/types/openapi/models/BulkUpdateTagsResult.d.ts +0 -4
- package/types/types/openapi/models/Canvas.d.ts +0 -35
- package/types/types/openapi/models/CanvasCreate.d.ts +0 -35
- package/types/types/openapi/models/CanvasCreateRequest.d.ts +0 -25
- package/types/types/openapi/models/CanvasList.d.ts +0 -28
- package/types/types/openapi/models/CanvasRecommendedFile.d.ts +0 -40
- package/types/types/openapi/models/CanvasRecommendedFiles.d.ts +0 -5
- package/types/types/openapi/models/CanvasRetrieve.d.ts +0 -35
- package/types/types/openapi/models/CanvasSection.d.ts +0 -7
- package/types/types/openapi/models/CanvasSectionRetrieve.d.ts +0 -7
- package/types/types/openapi/models/CanvasSectionRetrieveRequest.d.ts +0 -5
- package/types/types/openapi/models/CanvasUpdate.d.ts +0 -35
- package/types/types/openapi/models/CanvasUpdateRequest.d.ts +0 -22
- package/types/types/openapi/models/Collaboration.d.ts +0 -16
- package/types/types/openapi/models/CollaborationCreate.d.ts +0 -16
- package/types/types/openapi/models/CollaborationCreateRequest.d.ts +0 -10
- package/types/types/openapi/models/CollaborationRequest.d.ts +0 -5
- package/types/types/openapi/models/CollaborationRoleEnum.d.ts +0 -8
- package/types/types/openapi/models/ConnectedService.d.ts +0 -9
- package/types/types/openapi/models/ContentDistributionGroup.d.ts +0 -12
- package/types/types/openapi/models/ContentDistributionGroupCreate.d.ts +0 -12
- package/types/types/openapi/models/ContentDistributionGroupCreateRequest.d.ts +0 -5
- package/types/types/openapi/models/ContentDistributionGroupMembership.d.ts +0 -8
- package/types/types/openapi/models/ContentDistributionGroupMembershipCreate.d.ts +0 -8
- package/types/types/openapi/models/ContentDistributionGroupMembershipCreateRequest.d.ts +0 -4
- package/types/types/openapi/models/ContentDistributionGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/DefaultExpiresAtEnum.d.ts +0 -16
- package/types/types/openapi/models/DeletedApp.d.ts +0 -22
- package/types/types/openapi/models/DeletedContentDistributionGroup.d.ts +0 -14
- package/types/types/openapi/models/DeletedEnvironment.d.ts +0 -14
- package/types/types/openapi/models/DeletedFavorite.d.ts +0 -19
- package/types/types/openapi/models/DeletedFile.d.ts +0 -42
- package/types/types/openapi/models/DeletedFolder.d.ts +0 -17
- package/types/types/openapi/models/DeletedInstance.d.ts +0 -24
- package/types/types/openapi/models/DeletedInstanceAssignmentGroup.d.ts +0 -14
- package/types/types/openapi/models/DeletedMetadataTemplate.d.ts +0 -17
- package/types/types/openapi/models/DeletedRegion.d.ts +0 -12
- package/types/types/openapi/models/DownloadTypeEnum.d.ts +0 -10
- package/types/types/openapi/models/Environment.d.ts +0 -12
- package/types/types/openapi/models/EnvironmentRequest.d.ts +0 -5
- package/types/types/openapi/models/Event.d.ts +0 -18
- package/types/types/openapi/models/EventAttendee.d.ts +0 -5
- package/types/types/openapi/models/EventAttendeeRequest.d.ts +0 -5
- package/types/types/openapi/models/EventExternalObject.d.ts +0 -10
- package/types/types/openapi/models/EventExternalObjectContentTypeEnum.d.ts +0 -12
- package/types/types/openapi/models/EventExternalObjectRequest.d.ts +0 -10
- package/types/types/openapi/models/EventRequest.d.ts +0 -17
- package/types/types/openapi/models/EventStatusEnum.d.ts +0 -10
- package/types/types/openapi/models/Favorite.d.ts +0 -17
- package/types/types/openapi/models/FavoriteCreate.d.ts +0 -12
- package/types/types/openapi/models/FavoriteCreateRequest.d.ts +0 -7
- package/types/types/openapi/models/FavoriteFile.d.ts +0 -6
- package/types/types/openapi/models/FavoriteFileRequest.d.ts +0 -3
- package/types/types/openapi/models/FavoriteUpdate.d.ts +0 -12
- package/types/types/openapi/models/FavoriteUpdateRequest.d.ts +0 -6
- package/types/types/openapi/models/File.d.ts +0 -40
- package/types/types/openapi/models/FileAnalytics.d.ts +0 -16
- package/types/types/openapi/models/FileAnalyticsResult.d.ts +0 -9
- package/types/types/openapi/models/FileContentTypeEnum.d.ts +0 -16
- package/types/types/openapi/models/FileCreate.d.ts +0 -43
- package/types/types/openapi/models/FileCreateRequest.d.ts +0 -24
- package/types/types/openapi/models/FileRequest.d.ts +0 -13
- package/types/types/openapi/models/FileRetrieve.d.ts +0 -43
- package/types/types/openapi/models/FileStatusEnum.d.ts +0 -8
- package/types/types/openapi/models/FileTypeEnum.d.ts +0 -10
- package/types/types/openapi/models/FileUpdate.d.ts +0 -43
- package/types/types/openapi/models/FileUpdateRequest.d.ts +0 -17
- package/types/types/openapi/models/Folder.d.ts +0 -15
- package/types/types/openapi/models/FolderCreate.d.ts +0 -31
- package/types/types/openapi/models/FolderCreateRequest.d.ts +0 -18
- package/types/types/openapi/models/FolderFile.d.ts +0 -14
- package/types/types/openapi/models/FolderFolder.d.ts +0 -6
- package/types/types/openapi/models/FolderRetrieve.d.ts +0 -24
- package/types/types/openapi/models/FolderUpdate.d.ts +0 -31
- package/types/types/openapi/models/FolderUpdateRequest.d.ts +0 -15
- package/types/types/openapi/models/Instance.d.ts +0 -22
- package/types/types/openapi/models/InstanceAnalytics.d.ts +0 -18
- package/types/types/openapi/models/InstanceAnalyticsChangePercentages.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsCurrentPeriod.d.ts +0 -13
- package/types/types/openapi/models/InstanceAnalyticsFile.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsFileActivity.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsFileRequest.d.ts +0 -3
- package/types/types/openapi/models/InstanceAnalyticsInactiveUsers.d.ts +0 -5
- package/types/types/openapi/models/InstanceAnalyticsInactiveUsersRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceAnalyticsLoginResult.d.ts +0 -5
- package/types/types/openapi/models/InstanceAssignmentGroup.d.ts +0 -12
- package/types/types/openapi/models/InstanceAssignmentGroupMembership.d.ts +0 -8
- package/types/types/openapi/models/InstanceAssignmentGroupMembershipCreate.d.ts +0 -8
- package/types/types/openapi/models/InstanceAssignmentGroupMembershipCreateRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceAssignmentGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceMembership.d.ts +0 -12
- package/types/types/openapi/models/InstanceMembershipCreate.d.ts +0 -12
- package/types/types/openapi/models/InstanceMembershipCreateRequest.d.ts +0 -8
- package/types/types/openapi/models/InstanceMembershipGroup.d.ts +0 -11
- package/types/types/openapi/models/InstanceMembershipGroupRequest.d.ts +0 -3
- package/types/types/openapi/models/InstanceMembershipRequest.d.ts +0 -5
- package/types/types/openapi/models/InstanceMembershipRoleEnum.d.ts +0 -8
- package/types/types/openapi/models/InstanceMembershipUser.d.ts +0 -10
- package/types/types/openapi/models/InstanceMembershipUserRequest.d.ts +0 -4
- package/types/types/openapi/models/InstanceMembershipUserStatusEnum.d.ts +0 -6
- package/types/types/openapi/models/InstanceRequest.d.ts +0 -11
- package/types/types/openapi/models/InstanceStorageCredentials.d.ts +0 -6
- package/types/types/openapi/models/InstanceUpdate.d.ts +0 -18
- package/types/types/openapi/models/InstanceUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/Invitation.d.ts +0 -11
- package/types/types/openapi/models/InvitationRequest.d.ts +0 -3
- package/types/types/openapi/models/InvitationStatusEnum.d.ts +0 -4
- package/types/types/openapi/models/LanguageEnum.d.ts +0 -12
- package/types/types/openapi/models/MetadataTemplate.d.ts +0 -15
- package/types/types/openapi/models/MetadataTemplateField.d.ts +0 -14
- package/types/types/openapi/models/MetadataTemplateFieldRequest.d.ts +0 -14
- package/types/types/openapi/models/MetadataTemplateFieldTypeEnum.d.ts +0 -16
- package/types/types/openapi/models/MetadataTemplateOption.d.ts +0 -4
- package/types/types/openapi/models/MetadataTemplateOptionRequest.d.ts +0 -4
- package/types/types/openapi/models/MetadataTemplateRequest.d.ts +0 -7
- package/types/types/openapi/models/MetadataTemplateSection.d.ts +0 -6
- package/types/types/openapi/models/MetadataTemplateSectionRequest.d.ts +0 -6
- package/types/types/openapi/models/MiniAccount.d.ts +0 -4
- package/types/types/openapi/models/MiniCanvas.d.ts +0 -4
- package/types/types/openapi/models/MiniCanvasRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniContentDistributionGroup.d.ts +0 -5
- package/types/types/openapi/models/MiniContentDistributionGroupRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniEnvironment.d.ts +0 -5
- package/types/types/openapi/models/MiniEnvironmentRequest.d.ts +0 -4
- package/types/types/openapi/models/MiniEvent.d.ts +0 -5
- package/types/types/openapi/models/MiniEventRequest.d.ts +0 -4
- package/types/types/openapi/models/MiniFile.d.ts +0 -4
- package/types/types/openapi/models/MiniFileRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniFolder.d.ts +0 -4
- package/types/types/openapi/models/MiniFolderRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniInstance.d.ts +0 -4
- package/types/types/openapi/models/MiniInstanceRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniPage.d.ts +0 -4
- package/types/types/openapi/models/MiniPageRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniRegion.d.ts +0 -4
- package/types/types/openapi/models/MiniRegionRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniSharedLink.d.ts +0 -4
- package/types/types/openapi/models/MiniSharedLinkRequest.d.ts +0 -3
- package/types/types/openapi/models/MiniUser.d.ts +0 -5
- package/types/types/openapi/models/MiniUserRequest.d.ts +0 -3
- package/types/types/openapi/models/MostActiveUser.d.ts +0 -7
- package/types/types/openapi/models/Organization.d.ts +0 -10
- package/types/types/openapi/models/OrganizationAnalytics.d.ts +0 -16
- package/types/types/openapi/models/OrganizationAnalyticsCurrentPeriod.d.ts +0 -13
- package/types/types/openapi/models/OrganizationAnalyticsInactiveUsers.d.ts +0 -5
- package/types/types/openapi/models/OrganizationAnalyticsInactiveUsersRequest.d.ts +0 -4
- package/types/types/openapi/models/OrganizationAnalyticsInstance.d.ts +0 -10
- package/types/types/openapi/models/OrganizationAnalyticsLoginResult.d.ts +0 -5
- package/types/types/openapi/models/OrganizationAnalyticsTop3Instances.d.ts +0 -13
- package/types/types/openapi/models/OrganizationBranding.d.ts +0 -6
- package/types/types/openapi/models/OrganizationBrandingColors.d.ts +0 -4
- package/types/types/openapi/models/OrganizationChangePercentages.d.ts +0 -6
- package/types/types/openapi/models/OrganizationUpdate.d.ts +0 -8
- package/types/types/openapi/models/OrganizationUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PSPDFKitAuthPayload.d.ts +0 -3
- package/types/types/openapi/models/PSPDFKitAuthPayloadRequest.d.ts +0 -3
- package/types/types/openapi/models/PSPDFKitToken.d.ts +0 -7
- package/types/types/openapi/models/PSPDFKitTokenRequest.d.ts +0 -3
- package/types/types/openapi/models/PaginatedAppList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedAppReleaseList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedAuthTokenList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedCanvasListList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedCollaborationList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedContentDistributionGroupList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedContentDistributionGroupMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedEnvironmentList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedEventList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFavoriteList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFileList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedFolderList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceAssignmentGroupList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceAssignmentGroupMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInstanceMembershipList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedInvitationList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedMetadataTemplateList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedRegionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedRevisionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedSearchResultList.d.ts +0 -9
- package/types/types/openapi/models/PaginatedStorageRegionList.d.ts +0 -8
- package/types/types/openapi/models/PaginatedUserList.d.ts +0 -8
- package/types/types/openapi/models/PatchedAppRequest.d.ts +0 -9
- package/types/types/openapi/models/PatchedCanvasUpdateRequest.d.ts +0 -22
- package/types/types/openapi/models/PatchedCollaborationRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedContentDistributionGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/PatchedEnvironmentRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedEventRequest.d.ts +0 -17
- package/types/types/openapi/models/PatchedFavoriteUpdateRequest.d.ts +0 -6
- package/types/types/openapi/models/PatchedFileRequest.d.ts +0 -13
- package/types/types/openapi/models/PatchedFileUpdateRequest.d.ts +0 -17
- package/types/types/openapi/models/PatchedFolderUpdateRequest.d.ts +0 -15
- package/types/types/openapi/models/PatchedInstanceAssignmentGroupRequest.d.ts +0 -4
- package/types/types/openapi/models/PatchedInstanceMembershipRequest.d.ts +0 -5
- package/types/types/openapi/models/PatchedInstanceUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PatchedMetadataTemplateRequest.d.ts +0 -7
- package/types/types/openapi/models/PatchedOrganizationUpdateRequest.d.ts +0 -8
- package/types/types/openapi/models/PatchedRegionRequest.d.ts +0 -3
- package/types/types/openapi/models/PatchedUserRequest.d.ts +0 -12
- package/types/types/openapi/models/Region.d.ts +0 -10
- package/types/types/openapi/models/RegionRequest.d.ts +0 -3
- package/types/types/openapi/models/Revision.d.ts +0 -8
- package/types/types/openapi/models/RevisionRequest.d.ts +0 -3
- package/types/types/openapi/models/SearchApp.d.ts +0 -6
- package/types/types/openapi/models/SearchCanvas.d.ts +0 -5
- package/types/types/openapi/models/SearchContentDistributionGroup.d.ts +0 -11
- package/types/types/openapi/models/SearchFile.d.ts +0 -6
- package/types/types/openapi/models/SearchInstanceAssignmentGroup.d.ts +0 -11
- package/types/types/openapi/models/SearchResult.d.ts +0 -8
- package/types/types/openapi/models/SearchUser.d.ts +0 -5
- package/types/types/openapi/models/SharedLink.d.ts +0 -15
- package/types/types/openapi/models/SharedLinkCreate.d.ts +0 -15
- package/types/types/openapi/models/SharedLinkCreateRequest.d.ts +0 -6
- package/types/types/openapi/models/SharedLinkInstanceSerialzier.d.ts +0 -6
- package/types/types/openapi/models/SharedLinkOrganizationSerialzier.d.ts +0 -6
- package/types/types/openapi/models/StorageRegion.d.ts +0 -5
- package/types/types/openapi/models/StorageRegionEnum.d.ts +0 -10
- package/types/types/openapi/models/Tag.d.ts +0 -3
- package/types/types/openapi/models/UploadCreate.d.ts +0 -8
- package/types/types/openapi/models/UploadCreateRequest.d.ts +0 -5
- package/types/types/openapi/models/User.d.ts +0 -23
- package/types/types/openapi/models/UserRequest.d.ts +0 -12
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { Validation } from '@vuelidate/core';
|
|
2
|
-
import { FormValidationStatus } from 'naive-ui/es/form/src/interface';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Options for validators.
|
|
7
|
-
*/
|
|
8
|
-
interface ValidatorOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Options for the required validator.
|
|
11
|
-
* Use either `label` or `msg`, but not both.
|
|
12
|
-
*/
|
|
13
|
-
required?: {
|
|
14
|
-
label?: never;
|
|
15
|
-
msg: string;
|
|
16
|
-
validationStatus?: FormValidationStatus;
|
|
17
|
-
} | {
|
|
18
|
-
label: string;
|
|
19
|
-
msg?: never;
|
|
20
|
-
validationStatus?: FormValidationStatus;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Options for the maxLength validator.
|
|
24
|
-
* Use either `label` and `value`, or `msg`, but not both.
|
|
25
|
-
*/
|
|
26
|
-
maxLength?: {
|
|
27
|
-
label?: never;
|
|
28
|
-
value?: never;
|
|
29
|
-
msg: string;
|
|
30
|
-
validationStatus?: FormValidationStatus;
|
|
31
|
-
} | {
|
|
32
|
-
label: string;
|
|
33
|
-
value: number;
|
|
34
|
-
msg?: never;
|
|
35
|
-
validationStatus?: FormValidationStatus;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Options for the maxLength validator.
|
|
39
|
-
* Use either `label` and `value`, or `msg`, but not both.
|
|
40
|
-
*/
|
|
41
|
-
minLength?: {
|
|
42
|
-
label?: never;
|
|
43
|
-
value?: never;
|
|
44
|
-
msg: string;
|
|
45
|
-
validationStatus?: FormValidationStatus;
|
|
46
|
-
} | {
|
|
47
|
-
label: string;
|
|
48
|
-
value: number;
|
|
49
|
-
msg?: never;
|
|
50
|
-
validationStatus?: FormValidationStatus;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Options for the minValue validator.
|
|
54
|
-
* Use either `label` and `value`, or `msg`, but not both.
|
|
55
|
-
*/
|
|
56
|
-
minValue?: {
|
|
57
|
-
label?: never;
|
|
58
|
-
value?: never;
|
|
59
|
-
msg: string;
|
|
60
|
-
validationStatus?: FormValidationStatus;
|
|
61
|
-
} | {
|
|
62
|
-
label: string;
|
|
63
|
-
value: number;
|
|
64
|
-
msg?: never;
|
|
65
|
-
validationStatus?: FormValidationStatus;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Options for the maxValue validator.
|
|
69
|
-
* Use either `label` and `value`, or `msg`, but not both.
|
|
70
|
-
*/
|
|
71
|
-
maxValue?: {
|
|
72
|
-
label?: never;
|
|
73
|
-
value?: never;
|
|
74
|
-
msg: string;
|
|
75
|
-
validationStatus?: FormValidationStatus;
|
|
76
|
-
} | {
|
|
77
|
-
label: string;
|
|
78
|
-
value: number;
|
|
79
|
-
msg?: never;
|
|
80
|
-
validationStatus?: FormValidationStatus;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Options for the unique validator.
|
|
84
|
-
* Use either `label` or `msg`, but not both.
|
|
85
|
-
*/
|
|
86
|
-
unique?: {
|
|
87
|
-
label?: never;
|
|
88
|
-
msg: string;
|
|
89
|
-
validationStatus?: FormValidationStatus;
|
|
90
|
-
} | {
|
|
91
|
-
label: string;
|
|
92
|
-
msg?: never;
|
|
93
|
-
validationStatus?: FormValidationStatus;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
interface ValidatorOptions {
|
|
97
|
-
required?: {
|
|
98
|
-
label?: never;
|
|
99
|
-
msg: string;
|
|
100
|
-
validationStatus?: FormValidationStatus;
|
|
101
|
-
} | {
|
|
102
|
-
label: string;
|
|
103
|
-
msg?: never;
|
|
104
|
-
validationStatus?: FormValidationStatus;
|
|
105
|
-
};
|
|
106
|
-
maxLength?: {
|
|
107
|
-
label?: never;
|
|
108
|
-
value?: never;
|
|
109
|
-
msg: string;
|
|
110
|
-
validationStatus?: FormValidationStatus;
|
|
111
|
-
} | {
|
|
112
|
-
label: string;
|
|
113
|
-
value: number;
|
|
114
|
-
msg?: never;
|
|
115
|
-
validationStatus?: FormValidationStatus;
|
|
116
|
-
};
|
|
117
|
-
minLength?: {
|
|
118
|
-
label?: never;
|
|
119
|
-
value?: never;
|
|
120
|
-
msg: string;
|
|
121
|
-
validationStatus?: FormValidationStatus;
|
|
122
|
-
} | {
|
|
123
|
-
label: string;
|
|
124
|
-
value: number;
|
|
125
|
-
msg?: never;
|
|
126
|
-
validationStatus?: FormValidationStatus;
|
|
127
|
-
};
|
|
128
|
-
minValue?: {
|
|
129
|
-
label?: never;
|
|
130
|
-
value?: never;
|
|
131
|
-
msg: string;
|
|
132
|
-
validationStatus?: FormValidationStatus;
|
|
133
|
-
} | {
|
|
134
|
-
label: string;
|
|
135
|
-
value: number;
|
|
136
|
-
msg?: never;
|
|
137
|
-
validationStatus?: FormValidationStatus;
|
|
138
|
-
};
|
|
139
|
-
maxValue?: {
|
|
140
|
-
label?: never;
|
|
141
|
-
value?: never;
|
|
142
|
-
msg: string;
|
|
143
|
-
validationStatus?: FormValidationStatus;
|
|
144
|
-
} | {
|
|
145
|
-
label: string;
|
|
146
|
-
value: number;
|
|
147
|
-
msg?: never;
|
|
148
|
-
validationStatus?: FormValidationStatus;
|
|
149
|
-
};
|
|
150
|
-
unique?: {
|
|
151
|
-
label?: never;
|
|
152
|
-
msg: string;
|
|
153
|
-
validationStatus?: FormValidationStatus;
|
|
154
|
-
} | {
|
|
155
|
-
label: string;
|
|
156
|
-
msg?: never;
|
|
157
|
-
validationStatus?: FormValidationStatus;
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
type FieldOptions<Form> = {
|
|
161
|
-
[K in keyof Form]?: ValidatorOptions;
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* Bind validation options to a form.
|
|
165
|
-
*
|
|
166
|
-
* @template Form - The type of the form.
|
|
167
|
-
* @param {Ref<Validation>} v - The validation reference.
|
|
168
|
-
* @param {FieldOptions<Form>} [options] - The field options for validation.
|
|
169
|
-
* @returns {object} - An object containing the `bindValidation` function.
|
|
170
|
-
*
|
|
171
|
-
* @example
|
|
172
|
-
* Example 1:
|
|
173
|
-
* Bind validation options for Form with label-based configuration using default validation message
|
|
174
|
-
*
|
|
175
|
-
* const { bindValidation } = useBindValidation<Form>(v, {
|
|
176
|
-
* name: { required: { label: labels.name } }, // Required validation with label
|
|
177
|
-
* account: { required: { label: labels.account } }, // Required validation with label
|
|
178
|
-
* status: { required: { label: labels.status } }, // Required validation with label
|
|
179
|
-
* tags: { maxLength: { label: labels.tags, value: 5 } }, // MaxLength validation with label and value
|
|
180
|
-
* });
|
|
181
|
-
|
|
182
|
-
* Example 2:
|
|
183
|
-
* Bind validation options for Form with message-based configuration.
|
|
184
|
-
*
|
|
185
|
-
* const { bindValidation } = useBindValidation<Form>(v, {
|
|
186
|
-
* name: { required: { msg: requiredMsg('name') } }, // Required validation with message
|
|
187
|
-
* account: { required: { msg: requiredMsg('account') } }, // Required validation with message
|
|
188
|
-
* status: { required: { msg: requiredMsg('status') } }, // Required validation with message
|
|
189
|
-
* tags: {
|
|
190
|
-
* maxLength: {
|
|
191
|
-
* msg: t('canvasUI.CCreateTemplateModal.form.validation.maxLength', {
|
|
192
|
-
* field: labels.tags.toLowerCase(),
|
|
193
|
-
* value: TAGS_LIMIT,
|
|
194
|
-
* }),
|
|
195
|
-
* }, // MaxLength validation with message
|
|
196
|
-
* },
|
|
197
|
-
* });
|
|
198
|
-
*/
|
|
199
|
-
declare const _default: <Form extends Record<string, any>>(v: Ref<Validation>, options?: FieldOptions<Form>) => {
|
|
200
|
-
bindValidation: <Key extends keyof Form>(key: Key) => {
|
|
201
|
-
feedback: string;
|
|
202
|
-
showFeedback: any;
|
|
203
|
-
validationStatus: FormValidationStatus;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { DialogOptions } from 'naive-ui/es/dialog/src/DialogProvider';
|
|
2
|
-
|
|
3
|
-
interface ConfirmationOptions extends DialogOptions {
|
|
4
|
-
disableCancelWhenLoading?: boolean;
|
|
5
|
-
disableDenyWhenLoading?: boolean;
|
|
6
|
-
hasCancel?: boolean;
|
|
7
|
-
hasExit?: boolean;
|
|
8
|
-
cancelText?: string;
|
|
9
|
-
exitText?: string;
|
|
10
|
-
confirmText?: string;
|
|
11
|
-
onConfirm?: () => Promise<boolean | void> | boolean | void;
|
|
12
|
-
onExit?: () => Promise<void> | void;
|
|
13
|
-
onCancel?: () => Promise<void> | void;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: () => {
|
|
16
|
-
dialog: import('naive-ui').DialogApi;
|
|
17
|
-
success: (options: ConfirmationOptions) => import('naive-ui').DialogReactive;
|
|
18
|
-
create: (options: ConfirmationOptions) => import('naive-ui').DialogReactive;
|
|
19
|
-
warning: (options: ConfirmationOptions) => import('naive-ui').DialogReactive;
|
|
20
|
-
error: (options: ConfirmationOptions) => import('naive-ui').DialogReactive;
|
|
21
|
-
info: (options: ConfirmationOptions) => import('naive-ui').DialogReactive;
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { NavigationFailure } from 'vue-router';
|
|
3
|
-
import * as Waypoint from 'vue-waypoint';
|
|
4
|
-
export default function <T extends string>(sectionIdList: T[]): {
|
|
5
|
-
onScrollToWaypoint: ({ el, going, direction, }: {
|
|
6
|
-
el: Element;
|
|
7
|
-
going: Waypoint.Going;
|
|
8
|
-
direction: Waypoint.Direction;
|
|
9
|
-
}) => void;
|
|
10
|
-
onClose: (sectionId: T) => void;
|
|
11
|
-
onClickMenu: (sectionId: T) => void;
|
|
12
|
-
selectedSectionId: Ref<string>;
|
|
13
|
-
sectionsEditStates: import('vue').UnwrapNestedRefs<Record<T, boolean>>;
|
|
14
|
-
routerGuard: (guard: ComputedRef<boolean>, goBack: () => Promise<void | NavigationFailure | undefined>) => void;
|
|
15
|
-
waypointOptions: {
|
|
16
|
-
threshold: number;
|
|
17
|
-
};
|
|
18
|
-
MENU_WIDTH: string;
|
|
19
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SelectOption } from 'naive-ui';
|
|
2
|
-
import { PitcherInfo } from '../types/app';
|
|
3
|
-
import { User } from '../../types/openapi';
|
|
4
|
-
|
|
5
|
-
export type Owner = {
|
|
6
|
-
value: User['id'];
|
|
7
|
-
name: string;
|
|
8
|
-
email: User['email'];
|
|
9
|
-
};
|
|
10
|
-
declare function insertUserSorted(users: Owner[], newUser: Owner): Owner[];
|
|
11
|
-
declare function filterUsers(searchTerm: string | null | undefined, option: SelectOption): boolean;
|
|
12
|
-
declare function fetchUsers(pitcherInfo: PitcherInfo, myUser?: User | null): Promise<Owner[]>;
|
|
13
|
-
export default function useFetchUsers(): {
|
|
14
|
-
fetchUsers: typeof fetchUsers;
|
|
15
|
-
filterUsers: typeof filterUsers;
|
|
16
|
-
insertUserSorted: typeof insertUserSorted;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { MaybeRef } from '@vueuse/core';
|
|
3
|
-
|
|
4
|
-
interface Options {
|
|
5
|
-
element: MaybeRef<HTMLElement | null>;
|
|
6
|
-
isLoading: Ref<boolean>;
|
|
7
|
-
isAllLoaded: Ref<boolean>;
|
|
8
|
-
isReady: Ref<boolean>;
|
|
9
|
-
scrollDistance?: number;
|
|
10
|
-
loadMore: () => void | Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
export default function ({ element, loadMore, isLoading, isReady, isAllLoaded, scrollDistance, }: Options): void;
|
|
13
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Router } from 'vue-router';
|
|
2
|
-
import { MaybeRef } from '@vueuse/core';
|
|
3
|
-
import { LocationRoutes, UpdateLocationOnUpdate } from '../sdk/interfaces';
|
|
4
|
-
|
|
5
|
-
export interface UseLocationPayload {
|
|
6
|
-
router: Router;
|
|
7
|
-
app: string;
|
|
8
|
-
isReady?: MaybeRef<boolean>;
|
|
9
|
-
urlMode?: 'hash' | 'history';
|
|
10
|
-
isRoot?: boolean;
|
|
11
|
-
selfRegister?: boolean;
|
|
12
|
-
isDebug?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const ROOT_APP = "root";
|
|
15
|
-
export default function useLocation({ app, router, isReady, isRoot, selfRegister, isDebug, urlMode, }: UseLocationPayload): {
|
|
16
|
-
registerApp: ({ child_app, parent_app, path }: import('./useLocationManipulation').RegisterLocation) => Promise<any>;
|
|
17
|
-
unregisterApp: (appName: string) => Promise<any>;
|
|
18
|
-
routes: LocationRoutes;
|
|
19
|
-
relations: Record<string, string>;
|
|
20
|
-
unmount: () => Promise<void>;
|
|
21
|
-
update: (newRoutes: UpdateLocationOnUpdate['routes']) => Promise<void>;
|
|
22
|
-
isPathRestored: import('vue').Ref<boolean>;
|
|
23
|
-
isAppMounted: import('vue').ComputedRef<boolean>;
|
|
24
|
-
isAppRestored: import('vue').ComputedRef<boolean>;
|
|
25
|
-
app: string;
|
|
26
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { RouteLocationRaw, Router } from 'vue-router';
|
|
2
|
-
import { LocationRoutes, UpdateLocationOnRestore, UpdateLocationOnUpdate, UpdateLocationPitcherEvent } from '../sdk/interfaces';
|
|
3
|
-
import { RegisterLocation } from './useLocationManipulation';
|
|
4
|
-
|
|
5
|
-
export interface UseLocationAPI {
|
|
6
|
-
app: string;
|
|
7
|
-
isRoot: boolean;
|
|
8
|
-
router: Router;
|
|
9
|
-
urlMode: 'hash' | 'history';
|
|
10
|
-
sendToRoot: (body: UpdateLocationPitcherEvent) => Promise<any>;
|
|
11
|
-
}
|
|
12
|
-
export default function useLocationAPI(params: UseLocationAPI): {
|
|
13
|
-
broadcast: {
|
|
14
|
-
unregister: (appName: string) => Promise<any>;
|
|
15
|
-
register: ({ child_app, parent_app, path }: RegisterLocation) => Promise<any>;
|
|
16
|
-
update: (routes: UpdateLocationOnUpdate['routes']) => Promise<any>;
|
|
17
|
-
mount: () => Promise<any>;
|
|
18
|
-
mounted: () => Promise<any>;
|
|
19
|
-
restore: (routes: UpdateLocationOnRestore['routes']) => Promise<any>;
|
|
20
|
-
restoreCompleted: (path: string, query: Record<string, any>) => Promise<any>;
|
|
21
|
-
getRoutesRequest: () => Promise<any>;
|
|
22
|
-
getRoutesResponse: (app: string, routes: LocationRoutes) => Promise<any>;
|
|
23
|
-
};
|
|
24
|
-
internalRouter: {
|
|
25
|
-
path: import('vue').ComputedRef<string>;
|
|
26
|
-
query: import('vue').ComputedRef<import('vue-router').LocationQuery>;
|
|
27
|
-
push: (to: RouteLocationRaw) => Promise<void | import('vue-router').NavigationFailure | undefined>;
|
|
28
|
-
replace: (to: RouteLocationRaw) => Promise<void | import('vue-router').NavigationFailure | undefined>;
|
|
29
|
-
};
|
|
30
|
-
globalRouter: {
|
|
31
|
-
getPath: () => string;
|
|
32
|
-
getSearch: () => string;
|
|
33
|
-
getPathWithSearch: () => string;
|
|
34
|
-
getSearchAsObject: () => {
|
|
35
|
-
[k: string]: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
buildUrl: (url: string, query: Record<string, any>) => string;
|
|
39
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UpdateLocationPitcherEvent } from '../sdk/interfaces';
|
|
2
|
-
|
|
3
|
-
export default function (executeLocationChange: (body: UpdateLocationPitcherEvent) => Promise<void>, isRoot: boolean): {
|
|
4
|
-
subscribers: MessageEventSource[];
|
|
5
|
-
initListeners: () => Promise<void>;
|
|
6
|
-
removeListeners: () => Promise<void>;
|
|
7
|
-
sendToRoot: (body: UpdateLocationPitcherEvent) => Promise<any>;
|
|
8
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { LocationRoute, LocationRoutes, UpdateLocationPitcherEvent } from '../sdk/interfaces';
|
|
3
|
-
import { default as useLocationAPI } from './useLocationAPI';
|
|
4
|
-
|
|
5
|
-
interface UseLocationManipulation {
|
|
6
|
-
routes: LocationRoutes;
|
|
7
|
-
relations: {
|
|
8
|
-
[key: string]: string;
|
|
9
|
-
};
|
|
10
|
-
app: string;
|
|
11
|
-
actionsQueue: Ref<UpdateLocationPitcherEvent[]>;
|
|
12
|
-
}
|
|
13
|
-
type LocationQuery = Record<string, any>;
|
|
14
|
-
export interface RegisterLocation {
|
|
15
|
-
child_app: string;
|
|
16
|
-
parent_app?: string;
|
|
17
|
-
path?: string;
|
|
18
|
-
query?: LocationQuery;
|
|
19
|
-
}
|
|
20
|
-
interface Route {
|
|
21
|
-
path: string;
|
|
22
|
-
query: LocationQuery;
|
|
23
|
-
}
|
|
24
|
-
export default function useLocationManipulation({ routes, relations, app, actionsQueue }: UseLocationManipulation): {
|
|
25
|
-
isPathRestored: Ref<boolean>;
|
|
26
|
-
isAppMounted: import('vue').ComputedRef<boolean>;
|
|
27
|
-
isAppRestored: import('vue').ComputedRef<boolean>;
|
|
28
|
-
recoverRouteFromLocations: (rootApp: string) => Route;
|
|
29
|
-
isSameRoute: (route1?: Route, route2?: Route) => boolean;
|
|
30
|
-
isSameRouteAsStored: (internalRouter: ReturnType<typeof useLocationAPI>['internalRouter']) => boolean;
|
|
31
|
-
deleteRelation: (appName: string) => string[];
|
|
32
|
-
addActionToQueue: (body: UpdateLocationPitcherEvent) => void;
|
|
33
|
-
registerLocation: ({ child_app, parent_app, path, query }: RegisterLocation) => void;
|
|
34
|
-
createRoute: (params?: Partial<LocationRoute>) => LocationRoute;
|
|
35
|
-
unregisterLocation: (appName: string) => void;
|
|
36
|
-
};
|
|
37
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as PSPDFKitType, ServerConfiguration } from 'pspdfkit';
|
|
2
|
-
|
|
3
|
-
declare function annotationsInterpolation({ PSPDFKit, config, data, }: {
|
|
4
|
-
PSPDFKit: typeof PSPDFKitType;
|
|
5
|
-
config: ServerConfiguration;
|
|
6
|
-
data: Record<string, string>;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
export default function usePdfInterpolation(strategy?: 'annotations' | 'text'): typeof annotationsInterpolation;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BasicPalette } from '@theme/theme.types';
|
|
2
|
-
|
|
3
|
-
export default function useTheme(): {
|
|
4
|
-
applyEnvironmentTheme: (themeFetcher?: () => Promise<{
|
|
5
|
-
primary: string | null | undefined;
|
|
6
|
-
}>) => Promise<void>;
|
|
7
|
-
updateTheme: (updatedTheme: Partial<BasicPalette>) => void;
|
|
8
|
-
updatePrimaryColor: (color?: string) => void;
|
|
9
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const _default: () => import('vue').Ref<{
|
|
2
|
-
base: string;
|
|
3
|
-
primary: string;
|
|
4
|
-
primary2: string;
|
|
5
|
-
primary3: string;
|
|
6
|
-
primary4: string;
|
|
7
|
-
primary5: string;
|
|
8
|
-
primary6: string;
|
|
9
|
-
primary6_1: string;
|
|
10
|
-
accent: string;
|
|
11
|
-
text: string;
|
|
12
|
-
text2: string;
|
|
13
|
-
text3: string;
|
|
14
|
-
error: string;
|
|
15
|
-
error2: string;
|
|
16
|
-
error3: string;
|
|
17
|
-
warning: string;
|
|
18
|
-
warning2: string;
|
|
19
|
-
warning3: string;
|
|
20
|
-
success: string;
|
|
21
|
-
success2: string;
|
|
22
|
-
success3: string;
|
|
23
|
-
info: string;
|
|
24
|
-
info2: string;
|
|
25
|
-
info3: string;
|
|
26
|
-
boxShadow: string;
|
|
27
|
-
boxShadow2: string;
|
|
28
|
-
boxShadow3: string;
|
|
29
|
-
}>;
|
|
30
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MessageApiInjection } from 'naive-ui/es/message/src/MessageProvider';
|
|
2
|
-
import { UiToastPayload } from '../sdk/api/modules/ui/types.ui';
|
|
3
|
-
|
|
4
|
-
export default function useToast(): {
|
|
5
|
-
initMessageProvider: () => void;
|
|
6
|
-
getMessageProvider: () => MessageApiInjection | null;
|
|
7
|
-
toast: ((data: UiToastPayload) => void) & {
|
|
8
|
-
info: (message: string) => import('naive-ui').MessageReactive | undefined;
|
|
9
|
-
error: (message: string) => import('naive-ui').MessageReactive | undefined;
|
|
10
|
-
warning: (message: string) => import('naive-ui').MessageReactive | undefined;
|
|
11
|
-
success: (message: string) => import('naive-ui').MessageReactive | undefined;
|
|
12
|
-
loading: (message: string) => import('naive-ui').MessageReactive | undefined;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PLATFORM_TYPE, CLIENT_TYPE, CDP_EVENT_TYPE } from '../constants/cdp.const';
|
|
2
|
-
import { usePitcherApi } from '../sdk/main';
|
|
3
|
-
|
|
4
|
-
type EventType = 'active' | 'passive';
|
|
5
|
-
export type InactiveEventPayload = {
|
|
6
|
-
platform?: (typeof PLATFORM_TYPE)[keyof typeof PLATFORM_TYPE];
|
|
7
|
-
client?: (typeof CLIENT_TYPE)[keyof typeof CLIENT_TYPE];
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
export default function (track: (eventName: string, payload: any) => void, pitcherApi?: ReturnType<typeof usePitcherApi>): {
|
|
11
|
-
registerInactiveEvent: ({ id, payload, enterEvent, exitEvent, type, }: {
|
|
12
|
-
id: string;
|
|
13
|
-
payload: InactiveEventPayload;
|
|
14
|
-
enterEvent: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE];
|
|
15
|
-
exitEvent: (typeof CDP_EVENT_TYPE)[keyof typeof CDP_EVENT_TYPE];
|
|
16
|
-
type?: EventType;
|
|
17
|
-
}) => void;
|
|
18
|
-
unregisterInactiveEvent: (id: string) => void;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare const CDP_EVENT_TYPE: {
|
|
2
|
-
readonly instanceEntered: "Instance Entered";
|
|
3
|
-
readonly instanceExited: "Instance Exited";
|
|
4
|
-
readonly fileEntered: "File Entered";
|
|
5
|
-
readonly fileExited: "File Exited";
|
|
6
|
-
readonly webFileEntered: "Web File Entered";
|
|
7
|
-
readonly webFileExited: "Web File Exited";
|
|
8
|
-
readonly pageEntered: "Page Entered";
|
|
9
|
-
readonly pageExited: "Page Exited";
|
|
10
|
-
readonly pageViewed: "Page Viewed";
|
|
11
|
-
readonly canvasEntered: "Canvas Entered";
|
|
12
|
-
readonly canvasExited: "Canvas Exited";
|
|
13
|
-
readonly canvasShared: "Canvas Shared";
|
|
14
|
-
readonly canvasComponentEntered: "Canvas Component Entered";
|
|
15
|
-
readonly canvasComponentExited: "Canvas Component Exited";
|
|
16
|
-
readonly canvasFileDownloaded: "Canvas File Downloaded";
|
|
17
|
-
readonly canvasDownloaded: "Canvas Downloaded";
|
|
18
|
-
readonly userFeedbackCaptured: "User Feedback Captured";
|
|
19
|
-
readonly userBugReported: "User Bug Reported";
|
|
20
|
-
};
|
|
21
|
-
export declare const CLIENT_TYPE: {
|
|
22
|
-
readonly admin: "admin";
|
|
23
|
-
readonly impact: "impact";
|
|
24
|
-
readonly dsr: "dsr";
|
|
25
|
-
};
|
|
26
|
-
export declare const DSR_TYPE: {
|
|
27
|
-
readonly file: "file";
|
|
28
|
-
readonly canvas: "canvas";
|
|
29
|
-
};
|
|
30
|
-
export declare const PLATFORM_TYPE: {
|
|
31
|
-
readonly web: "web";
|
|
32
|
-
readonly ios: "ios";
|
|
33
|
-
readonly android: "android";
|
|
34
|
-
readonly windows: "windows";
|
|
35
|
-
};
|
|
36
|
-
export declare const EMBED_TYPE: {
|
|
37
|
-
readonly standalone: "standalone";
|
|
38
|
-
readonly iframe: "iframe";
|
|
39
|
-
readonly sfdc: "sfdc";
|
|
40
|
-
readonly pwa: "pwa";
|
|
41
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PRINT_SCALE_FACTOR = 0.8;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SupportedLocale } from '../types/i18n.types';
|
|
2
|
-
|
|
3
|
-
export declare const supportedLocales: ["en", "de", "pl", "tr", "el"];
|
|
4
|
-
export declare const fallbackLocale: "en";
|
|
5
|
-
export declare const locales: Record<SupportedLocale, {
|
|
6
|
-
locale: any;
|
|
7
|
-
dateLocale: any;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const localeNames: Record<SupportedLocale, string>;
|
|
10
|
-
export declare const localeDropdownOptions: {
|
|
11
|
-
key: "tr" | "el" | "en" | "de" | "pl";
|
|
12
|
-
name: string;
|
|
13
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const moreCountBuffer = 1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SEARCH_DEBOUNCE_TIME = 850;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const MAX_UPLOAD_SIZE: number;
|
|
2
|
-
export declare const SUPPORTED_IMAGE_TYPES: string[];
|
|
3
|
-
export declare const SUPPORTED_VIDEO_TYPES: string[];
|
|
4
|
-
export declare const SUPPORTED_IMAGE_EXTENSIONS: string[];
|
|
5
|
-
export declare const SUPPORTED_VIDEO_EXTENSIONS: string[];
|
|
6
|
-
export declare const SUPPORTED_UPLOAD_FILE_EXTENSIONS: string[];
|
|
7
|
-
export declare const SUPPORTED_FONT_TYPES: string[];
|
|
8
|
-
export declare const SUPPORTED_FONT_EXTENSIONS: string[];
|