@epam/ai-dial-chat-hooks 1.3.0-dev.33 → 1.3.0-dev.331
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/api-error/api-error.d.ts +32 -0
- package/api-error/api-error.d.ts.map +1 -0
- package/api-error/api-error.js +31 -23
- package/api-transport/create-csrf-middleware.d.ts +15 -0
- package/api-transport/create-csrf-middleware.d.ts.map +1 -0
- package/api-transport/create-unauthorized-middleware.d.ts +40 -0
- package/api-transport/create-unauthorized-middleware.d.ts.map +1 -0
- package/api-transport/create-unauthorized-middleware.js +4 -1
- package/attachment/attach-constraints.d.ts +31 -0
- package/attachment/attach-constraints.d.ts.map +1 -0
- package/attachment/attach-constraints.js +18 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts +32 -0
- package/attachment/useAttachmentAction/useAttachmentAction.d.ts.map +1 -0
- package/attachment/useAttachmentAction/useAttachmentAction.js +25 -28
- package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts +50 -0
- package/attachment/useAttachmentValidation/useAttachmentValidation.d.ts.map +1 -0
- package/attachments.d.ts +2 -94
- package/attachments.js +2 -1
- package/catalog/application-credentials.d.ts +15 -0
- package/catalog/application-credentials.d.ts.map +1 -0
- package/catalog/application-credentials.js +28 -0
- package/catalog/catalog-derivations.d.ts +29 -0
- package/catalog/catalog-derivations.d.ts.map +1 -0
- package/catalog/catalog-derivations.js +13 -6
- package/catalog/catalog-entity-kind.d.ts +31 -0
- package/catalog/catalog-entity-kind.d.ts.map +1 -0
- package/catalog/catalog-entity-kind.js +21 -0
- package/catalog/catalog-preferences.d.ts +8 -0
- package/catalog/catalog-preferences.d.ts.map +1 -0
- package/catalog/catalog-preferences.js +5 -0
- package/catalog/catalog-primary-action.d.ts +47 -0
- package/catalog/catalog-primary-action.d.ts.map +1 -0
- package/catalog/create-publish-api.d.ts +34 -0
- package/catalog/create-publish-api.d.ts.map +1 -0
- package/catalog/create-publish-api.js +4 -0
- package/catalog/deployment-endpoint-url.d.ts +19 -0
- package/catalog/deployment-endpoint-url.d.ts.map +1 -0
- package/catalog/deployment-id.d.ts +51 -0
- package/catalog/deployment-id.d.ts.map +1 -0
- package/catalog/deployment-id.js +17 -3
- package/catalog/entity-details.d.ts +148 -0
- package/catalog/entity-details.d.ts.map +1 -0
- package/catalog/favorite-entity-type.d.ts +5 -0
- package/catalog/favorite-entity-type.d.ts.map +1 -0
- package/catalog/favorite-entity-type.js +10 -0
- package/catalog/map-deployment-limits-to-catalog.d.ts +34 -0
- package/catalog/map-deployment-limits-to-catalog.d.ts.map +1 -0
- package/catalog/map-deployment-limits-to-input.d.ts +29 -0
- package/catalog/map-deployment-limits-to-input.d.ts.map +1 -0
- package/catalog/map-deployment-limits-to-input.js +3 -4
- package/catalog/map-deployment-to-catalog-item.d.ts +72 -0
- package/catalog/map-deployment-to-catalog-item.d.ts.map +1 -0
- package/catalog/map-deployment-to-catalog-item.js +17 -12
- package/catalog/map-entity-details-to-catalog.d.ts +81 -0
- package/catalog/map-entity-details-to-catalog.d.ts.map +1 -0
- package/catalog/map-entity-details-to-catalog.js +69 -24
- package/catalog/map-prompt-to-catalog-item.d.ts +43 -0
- package/catalog/map-prompt-to-catalog-item.d.ts.map +1 -0
- package/catalog/map-skill-to-catalog-item.d.ts +112 -0
- package/catalog/map-skill-to-catalog-item.d.ts.map +1 -0
- package/catalog/map-skill-to-catalog-item.js +29 -38
- package/catalog/mcp-endpoint-url.d.ts +18 -0
- package/catalog/mcp-endpoint-url.d.ts.map +1 -0
- package/catalog/publish.d.ts +35 -0
- package/catalog/publish.d.ts.map +1 -0
- package/catalog/resource-folder.d.ts +8 -0
- package/catalog/resource-folder.d.ts.map +1 -0
- package/catalog/resource-folder.js +13 -0
- package/catalog/resource-save-adapter.d.ts +36 -0
- package/catalog/resource-save-adapter.d.ts.map +1 -0
- package/catalog/resource-save-adapter.js +4 -0
- package/catalog/resource-save-adapters.d.ts +93 -0
- package/catalog/resource-save-adapters.d.ts.map +1 -0
- package/catalog/resource-save-adapters.js +116 -0
- package/catalog/resource-save.d.ts +76 -0
- package/catalog/resource-save.d.ts.map +1 -0
- package/catalog/resource-save.js +52 -0
- package/catalog/usage-limit-rows.d.ts +14 -0
- package/catalog/usage-limit-rows.d.ts.map +1 -0
- package/catalog/usage-limit-rows.js +19 -0
- package/catalog/use-publish-history.d.ts +19 -0
- package/catalog/use-publish-history.d.ts.map +1 -0
- package/catalog/use-publish-history.js +25 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.d.ts +57 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.d.ts.map +1 -0
- package/catalog/useApplicationCredentialActions/useApplicationCredentialActions.js +67 -0
- package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts +19 -0
- package/catalog/useApplicationCredentials/useApplicationCredentials.d.ts.map +1 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts +117 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.d.ts.map +1 -0
- package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +108 -107
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.d.ts +41 -0
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.d.ts.map +1 -0
- package/catalog/useCatalogItemDelete/useCatalogItemDelete.js +37 -0
- package/catalog/useCatalogItemDetails.d.ts +70 -0
- package/catalog/useCatalogItemDetails.d.ts.map +1 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts +76 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.d.ts.map +1 -0
- package/catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.js +72 -77
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts +37 -0
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.d.ts.map +1 -0
- package/catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.js +1 -1
- package/catalog/usePublishFolders/usePublishFolders.d.ts +81 -0
- package/catalog/usePublishFolders/usePublishFolders.d.ts.map +1 -0
- package/catalog/usePublishFolders/usePublishFolders.js +32 -29
- package/catalog/useResourceFolders/useResourceFolders.d.ts +33 -0
- package/catalog/useResourceFolders/useResourceFolders.d.ts.map +1 -0
- package/catalog/useResourceFolders/useResourceFolders.js +58 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts +64 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.d.ts.map +1 -0
- package/catalog/useResourceSavePanel/useResourceSavePanel.js +173 -0
- package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts +54 -0
- package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.d.ts.map +1 -0
- package/catalog/useSkillItemDetails.d.ts +64 -0
- package/catalog/useSkillItemDetails.d.ts.map +1 -0
- package/catalog/useSkillItemDetails.js +3 -3
- package/catalog.d.ts +2 -1436
- package/catalog.js +37 -23
- package/conversation/announcement-message.d.ts +61 -0
- package/conversation/announcement-message.d.ts.map +1 -0
- package/conversation/conversation-data-source.d.ts +47 -0
- package/conversation/conversation-data-source.d.ts.map +1 -0
- package/conversation/conversation-data-source.js +11 -0
- package/conversation/conversation-draft/conversation-draft-store.d.ts +21 -0
- package/conversation/conversation-draft/conversation-draft-store.d.ts.map +1 -0
- package/conversation/conversation-draft/conversation-draft-store.js +84 -0
- package/conversation/conversation-draft/conversation-draft.d.ts +48 -0
- package/conversation/conversation-draft/conversation-draft.d.ts.map +1 -0
- package/conversation/conversation-list.d.ts +6 -0
- package/conversation/conversation-list.d.ts.map +1 -0
- package/conversation/conversation-list.js +5 -0
- package/conversation/conversation-title-stream.d.ts +33 -0
- package/conversation/conversation-title-stream.d.ts.map +1 -0
- package/conversation/conversation-title-stream.js +103 -0
- package/conversation/conversation-transfer/async.d.ts +10 -0
- package/conversation/conversation-transfer/async.d.ts.map +1 -0
- package/conversation/conversation-transfer/attachment-refs.d.ts +50 -0
- package/conversation/conversation-transfer/attachment-refs.d.ts.map +1 -0
- package/conversation/conversation-transfer/attachment-refs.js +31 -9
- package/conversation/conversation-transfer/build-upload-path.d.ts +42 -0
- package/conversation/conversation-transfer/build-upload-path.d.ts.map +1 -0
- package/conversation/conversation-transfer/date.d.ts +5 -0
- package/conversation/conversation-transfer/date.d.ts.map +1 -0
- package/conversation/conversation-transfer/dial-file-resolve.d.ts +10 -0
- package/conversation/conversation-transfer/dial-file-resolve.d.ts.map +1 -0
- package/conversation/conversation-transfer/export-conversation.d.ts +14 -0
- package/conversation/conversation-transfer/export-conversation.d.ts.map +1 -0
- package/conversation/conversation-transfer/export-conversation.js +19 -18
- package/conversation/conversation-transfer/import-conversation.d.ts +111 -0
- package/conversation/conversation-transfer/import-conversation.d.ts.map +1 -0
- package/conversation/conversation-transfer/import-conversation.js +65 -69
- package/conversation/conversation-transfer/progress.d.ts +60 -0
- package/conversation/conversation-transfer/progress.d.ts.map +1 -0
- package/conversation/conversation-transfer/progress.js +1 -1
- package/conversation/conversation-transfer/queue.d.ts +54 -0
- package/conversation/conversation-transfer/queue.d.ts.map +1 -0
- package/conversation/conversation-transfer/types.d.ts +36 -0
- package/conversation/conversation-transfer/types.d.ts.map +1 -0
- package/conversation/conversation-transfer/zip-export.d.ts +31 -0
- package/conversation/conversation-transfer/zip-export.d.ts.map +1 -0
- package/conversation/conversation-transfer/zip-export.js +1 -7
- package/conversation/conversation-transfer/zip-import.d.ts +17 -0
- package/conversation/conversation-transfer/zip-import.d.ts.map +1 -0
- package/conversation/conversation-transfer/zip-import.js +1 -1
- package/conversation/create-chat-stream-api.d.ts +111 -0
- package/conversation/create-chat-stream-api.d.ts.map +1 -0
- package/conversation/create-chat-stream-api.js +60 -49
- package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts +39 -0
- package/conversation/deriveConversationRowActionState/deriveConversationRowActionState.d.ts.map +1 -0
- package/conversation/display-name-watch.d.ts +4 -0
- package/conversation/display-name-watch.d.ts.map +1 -0
- package/conversation/footer-message.d.ts +10 -0
- package/conversation/footer-message.d.ts.map +1 -0
- package/conversation/generation-registry.d.ts +30 -0
- package/conversation/generation-registry.d.ts.map +1 -0
- package/conversation/generation-registry.js +33 -0
- package/conversation/get-model-id-from-conversation-id.d.ts +38 -0
- package/conversation/get-model-id-from-conversation-id.d.ts.map +1 -0
- package/conversation/get-model-id-from-conversation-id.js +1 -1
- package/conversation/greeting.d.ts +18 -0
- package/conversation/greeting.d.ts.map +1 -0
- package/conversation/message-factory.d.ts +7 -0
- package/conversation/message-factory.d.ts.map +1 -0
- package/conversation/message-utils.d.ts +73 -0
- package/conversation/message-utils.d.ts.map +1 -0
- package/conversation/message-utils.js +14 -10
- package/conversation/overlay-messages.d.ts +5 -0
- package/conversation/overlay-messages.d.ts.map +1 -0
- package/conversation/quick-app-conversation-starters.d.ts +10 -0
- package/conversation/quick-app-conversation-starters.d.ts.map +1 -0
- package/conversation/scheduled-task-grouping.d.ts +53 -0
- package/conversation/scheduled-task-grouping.d.ts.map +1 -0
- package/conversation/scheduled-task-grouping.js +45 -0
- package/conversation/stage.d.ts +77 -0
- package/conversation/stage.d.ts.map +1 -0
- package/conversation/starter-option.d.ts +21 -0
- package/conversation/starter-option.d.ts.map +1 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts +37 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.d.ts.map +1 -0
- package/conversation/useActiveConversationSync/useActiveConversationSync.js +19 -12
- package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts +46 -0
- package/conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.d.ts.map +1 -0
- package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts +27 -0
- package/conversation/useAttachmentUpload/useAttachmentUpload.d.ts.map +1 -0
- package/conversation/useAttachmentUpload/useAttachmentUpload.js +4 -1
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts +39 -0
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.d.ts.map +1 -0
- package/conversation/useConversationComposerDraft/useConversationComposerDraft.js +128 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts +22 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.d.ts.map +1 -0
- package/conversation/useConversationDiscovery/useConversationDiscovery.js +60 -0
- package/conversation/useConversationExport/useConversationExport.d.ts +72 -0
- package/conversation/useConversationExport/useConversationExport.d.ts.map +1 -0
- package/conversation/useConversationExport/useConversationExport.js +113 -122
- package/conversation/useConversationHandlers/attachment-to-dto.d.ts +7 -0
- package/conversation/useConversationHandlers/attachment-to-dto.d.ts.map +1 -0
- package/conversation/useConversationHandlers/message-factory.d.ts +9 -0
- package/conversation/useConversationHandlers/message-factory.d.ts.map +1 -0
- package/conversation/useConversationHandlers/message-utils.d.ts +38 -0
- package/conversation/useConversationHandlers/message-utils.d.ts.map +1 -0
- package/conversation/useConversationHandlers/message-utils.js +2 -2
- package/conversation/useConversationHandlers/starter-option.d.ts +24 -0
- package/conversation/useConversationHandlers/starter-option.d.ts.map +1 -0
- package/conversation/useConversationHandlers/useConversationHandlers.d.ts +66 -0
- package/conversation/useConversationHandlers/useConversationHandlers.d.ts.map +1 -0
- package/conversation/useConversationHandlers/useConversationHandlers.js +41 -41
- package/conversation/useConversationImport/useConversationImport.d.ts +54 -0
- package/conversation/useConversationImport/useConversationImport.d.ts.map +1 -0
- package/conversation/useConversationImport/useConversationImport.js +24 -24
- package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts +24 -0
- package/conversation/useConversationLookupMaps/useConversationLookupMaps.d.ts.map +1 -0
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts +65 -0
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -0
- package/conversation/useConversationPanelItems/useConversationPanelItems.js +34 -30
- package/conversation/useConversationScroll/useConversationScroll.d.ts +46 -0
- package/conversation/useConversationScroll/useConversationScroll.d.ts.map +1 -0
- package/conversation/useConversationScroll/useConversationScroll.js +65 -68
- package/conversation/useConversationStream/apply-chunk.d.ts +35 -0
- package/conversation/useConversationStream/apply-chunk.d.ts.map +1 -0
- package/conversation/useConversationStream/buffered-generation.d.ts +15 -0
- package/conversation/useConversationStream/buffered-generation.d.ts.map +1 -0
- package/conversation/useConversationStream/conversation-path.d.ts +7 -0
- package/conversation/useConversationStream/conversation-path.d.ts.map +1 -0
- package/conversation/useConversationStream/conversation-path.js +2 -2
- package/conversation/useConversationStream/frame-scheduler.d.ts +14 -0
- package/conversation/useConversationStream/frame-scheduler.d.ts.map +1 -0
- package/conversation/useConversationStream/frame-scheduler.js +17 -17
- package/conversation/useConversationStream/generation-resume.d.ts +98 -0
- package/conversation/useConversationStream/generation-resume.d.ts.map +1 -0
- package/conversation/useConversationStream/generation-resume.js +93 -122
- package/conversation/useConversationStream/useConversationStream.d.ts +145 -0
- package/conversation/useConversationStream/useConversationStream.d.ts.map +1 -0
- package/conversation/useConversationStream/useConversationStream.js +251 -242
- package/conversation/useConversationTitleEnrichmentController.d.ts +64 -0
- package/conversation/useConversationTitleEnrichmentController.d.ts.map +1 -0
- package/conversation/useConversationTitleEnrichmentController.js +155 -0
- package/conversation/useDeploymentChangeTracking.d.ts +14 -0
- package/conversation/useDeploymentChangeTracking.d.ts.map +1 -0
- package/conversation/useDeploymentChangeTracking.js +23 -0
- package/conversation/useEntityPreselection/useEntityPreselection.d.ts +108 -0
- package/conversation/useEntityPreselection/useEntityPreselection.d.ts.map +1 -0
- package/conversation/useEntityPreselection/useEntityPreselection.js +78 -0
- package/conversation/useImportFilePicker/useImportFilePicker.d.ts +32 -0
- package/conversation/useImportFilePicker/useImportFilePicker.d.ts.map +1 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts +42 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.d.ts.map +1 -0
- package/conversation/useMessageSelectionReply/useMessageSelectionReply.js +4 -10
- package/conversation/useTranscribeAudio/audio-transcription-error.d.ts +19 -0
- package/conversation/useTranscribeAudio/audio-transcription-error.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/transcription-retry.d.ts +2 -0
- package/conversation/useTranscribeAudio/transcription-retry.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts +50 -0
- package/conversation/useTranscribeAudio/useTranscribeAudio.d.ts.map +1 -0
- package/conversation/useTranscribeAudio/useTranscribeAudio.js +36 -27
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts +16 -0
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.d.ts.map +1 -0
- package/conversation/useVisibleConversationIdsReporter/useVisibleConversationIdsReporter.js +17 -0
- package/conversation-overlay.d.ts +2 -7
- package/conversation-overlay.js +1 -2
- package/conversation-sources/stage-citations.d.ts +9 -0
- package/conversation-sources/stage-citations.d.ts.map +1 -0
- package/conversation-sources/stage-citations.js +8 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts +4 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.d.ts.map +1 -0
- package/conversation-sources/useConversationAnnotationPool/useConversationAnnotationPool.js +5 -0
- package/conversation-sources/useConversationSources/useConversationSources.d.ts +20 -0
- package/conversation-sources/useConversationSources/useConversationSources.d.ts.map +1 -0
- package/conversation-sources.d.ts +2 -25
- package/conversation-sources.js +3 -1
- package/conversation-transfer.d.ts +2 -190
- package/conversation.d.ts +2 -1372
- package/conversation.js +44 -32
- package/entry-points/attachments.d.ts +4 -0
- package/entry-points/attachments.d.ts.map +1 -0
- package/entry-points/catalog.d.ts +38 -0
- package/entry-points/catalog.d.ts.map +1 -0
- package/entry-points/conversation-overlay.d.ts +2 -0
- package/entry-points/conversation-overlay.d.ts.map +1 -0
- package/entry-points/conversation-sources.d.ts +4 -0
- package/entry-points/conversation-sources.d.ts.map +1 -0
- package/entry-points/conversation-transfer.d.ts +7 -0
- package/entry-points/conversation-transfer.d.ts.map +1 -0
- package/entry-points/conversation.d.ts +46 -0
- package/entry-points/conversation.d.ts.map +1 -0
- package/entry-points/external-services.d.ts +6 -0
- package/entry-points/external-services.d.ts.map +1 -0
- package/entry-points/file-manager-canvas.d.ts +3 -0
- package/entry-points/file-manager-canvas.d.ts.map +1 -0
- package/entry-points/file-manager.d.ts +33 -0
- package/entry-points/file-manager.d.ts.map +1 -0
- package/entry-points/mcp-apps.d.ts +6 -0
- package/entry-points/mcp-apps.d.ts.map +1 -0
- package/entry-points/oauth.d.ts +11 -0
- package/entry-points/oauth.d.ts.map +1 -0
- package/entry-points/offline-credentials.d.ts +7 -0
- package/entry-points/offline-credentials.d.ts.map +1 -0
- package/entry-points/project.d.ts +20 -0
- package/entry-points/project.d.ts.map +1 -0
- package/entry-points/scheduled-tasks.d.ts +15 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -0
- package/entry-points/scroll-anchoring.d.ts +2 -0
- package/entry-points/scroll-anchoring.d.ts.map +1 -0
- package/entry-points/sharing.d.ts +7 -0
- package/entry-points/sharing.d.ts.map +1 -0
- package/entry-points/skill-editor.d.ts +11 -0
- package/entry-points/skill-editor.d.ts.map +1 -0
- package/entry-points/skills-state.d.ts +3 -0
- package/entry-points/skills-state.d.ts.map +1 -0
- package/entry-points/source-content.d.ts +2 -0
- package/entry-points/source-content.d.ts.map +1 -0
- package/entry-points/usage-limits.d.ts +9 -0
- package/entry-points/usage-limits.d.ts.map +1 -0
- package/entry-points/usage.d.ts +3 -0
- package/entry-points/usage.d.ts.map +1 -0
- package/entry-points/utils.d.ts +23 -0
- package/entry-points/utils.d.ts.map +1 -0
- package/entry-points/viewport-layout.d.ts +5 -0
- package/entry-points/viewport-layout.d.ts.map +1 -0
- package/external-services/useExternalServiceLogin.d.ts +99 -0
- package/external-services/useExternalServiceLogin.d.ts.map +1 -0
- package/external-services/useExternalServiceLogin.js +93 -0
- package/external-services.d.ts +2 -0
- package/external-services.js +5 -0
- package/file-manager-canvas.d.ts +2 -418
- package/file-manager-canvas.js +3 -2
- package/file-manager.d.ts +2 -1250
- package/file-manager.js +32 -30
- package/files/annotation.d.ts +10 -0
- package/files/annotation.d.ts.map +1 -0
- package/files/attachment-canvas.d.ts +135 -0
- package/files/attachment-canvas.d.ts.map +1 -0
- package/files/attachment-canvas.js +18 -10
- package/files/attachment-dto-to-display.d.ts +10 -0
- package/files/attachment-dto-to-display.d.ts.map +1 -0
- package/files/attachment-dto-to-display.js +13 -12
- package/files/attachment-types.d.ts +21 -0
- package/files/attachment-types.d.ts.map +1 -0
- package/files/attachment-types.js +1 -1
- package/files/browser-download.d.ts +9 -0
- package/files/browser-download.d.ts.map +1 -0
- package/files/browser-download.js +23 -0
- package/files/create-files-api.d.ts +52 -0
- package/files/create-files-api.d.ts.map +1 -0
- package/files/create-files-api.js +1 -1
- package/files/create-upload-file-with-progress.d.ts +44 -0
- package/files/create-upload-file-with-progress.d.ts.map +1 -0
- package/files/create-upload-file-with-progress.js +50 -34
- package/files/dial-file-manager-copy-move.util.d.ts +15 -0
- package/files/dial-file-manager-copy-move.util.d.ts.map +1 -0
- package/files/dial-file-manager-copy-move.util.js +16 -16
- package/files/dial-file-manager-mapping.util.d.ts +55 -0
- package/files/dial-file-manager-mapping.util.d.ts.map +1 -0
- package/files/dial-file-manager-mapping.util.js +97 -69
- package/files/dial-file-manager-path.util.d.ts +48 -0
- package/files/dial-file-manager-path.util.d.ts.map +1 -0
- package/files/dial-file-manager.model.d.ts +36 -0
- package/files/dial-file-manager.model.d.ts.map +1 -0
- package/files/dial-file-manager.types.d.ts +337 -0
- package/files/dial-file-manager.types.d.ts.map +1 -0
- package/files/dial-file-to-attachment.d.ts +26 -0
- package/files/dial-file-to-attachment.d.ts.map +1 -0
- package/files/dial-file-to-attachment.js +3 -3
- package/files/dial-file.d.ts +36 -0
- package/files/dial-file.d.ts.map +1 -0
- package/files/dial-file.js +20 -12
- package/files/dial-files-api.d.ts +71 -0
- package/files/dial-files-api.d.ts.map +1 -0
- package/files/download-destination.d.ts +31 -0
- package/files/download-destination.d.ts.map +1 -0
- package/files/download-progress.d.ts +33 -0
- package/files/download-progress.d.ts.map +1 -0
- package/files/download-progress.js +28 -0
- package/files/file-manager-variant.d.ts +3 -0
- package/files/file-manager-variant.d.ts.map +1 -0
- package/files/file-name.d.ts +19 -0
- package/files/file-name.d.ts.map +1 -0
- package/files/prepare-download-destination.d.ts +8 -0
- package/files/prepare-download-destination.d.ts.map +1 -0
- package/files/resolve-dial-file-api-path.d.ts +12 -0
- package/files/resolve-dial-file-api-path.d.ts.map +1 -0
- package/files/source-content.d.ts +28 -0
- package/files/source-content.d.ts.map +1 -0
- package/files/source-content.js +1 -1
- package/files/useDialFileListing/useDialFileListing.d.ts +82 -0
- package/files/useDialFileListing/useDialFileListing.d.ts.map +1 -0
- package/files/useDialFileListing/useDialFileListing.js +97 -109
- package/files/useDialFileManager/useDialFileManager.d.ts +16 -0
- package/files/useDialFileManager/useDialFileManager.d.ts.map +1 -0
- package/files/useDialFileManager/useDialFileManager.js +5 -2
- package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts +25 -0
- package/files/useDialFileManagerSections/useDialFileManagerSections.d.ts.map +1 -0
- package/files/useDialFileManagerSections/useDialFileManagerSections.js +59 -68
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts +15 -0
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.d.ts.map +1 -0
- package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js +1 -1
- package/files/useDialFileMetadata/useDialFileMetadata.d.ts +28 -0
- package/files/useDialFileMetadata/useDialFileMetadata.d.ts.map +1 -0
- package/files/useDialFileMetadata/useDialFileMetadata.js +3 -3
- package/files/useDialFileMutations/useDialFileMutations.d.ts +77 -0
- package/files/useDialFileMutations/useDialFileMutations.d.ts.map +1 -0
- package/files/useDialFileMutations/useDialFileMutations.js +230 -159
- package/files/useDialFilePreview/useDialFilePreview.d.ts +33 -0
- package/files/useDialFilePreview/useDialFilePreview.d.ts.map +1 -0
- package/files/useDialFilePreview/useDialFilePreview.js +45 -0
- package/files/useDialFileSharing/useDialFileSharing.d.ts +34 -0
- package/files/useDialFileSharing/useDialFileSharing.d.ts.map +1 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts +47 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.d.ts.map +1 -0
- package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +114 -103
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts +25 -0
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.d.ts.map +1 -0
- package/files/useFileAttachmentModalState/useFileAttachmentModalState.js +19 -0
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts +59 -0
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.d.ts.map +1 -0
- package/files/useFileAttachmentPicker/useFileAttachmentPicker.js +2 -2
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts +23 -0
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.d.ts.map +1 -0
- package/files/useUnshareConfirmationState/useUnshareConfirmationState.js +18 -0
- package/index.d.ts +244 -6996
- package/index.d.ts.map +1 -0
- package/index.js +241 -150
- package/mcp-apps/mcp-apps-api-client.d.ts +28 -0
- package/mcp-apps/mcp-apps-api-client.d.ts.map +1 -0
- package/mcp-apps/mcp-apps-api-client.js +18 -17
- package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts +14 -0
- package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.d.ts.map +1 -0
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts +30 -0
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.d.ts.map +1 -0
- package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js +28 -10
- package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts +22 -0
- package/mcp-apps/useMcpAppTools/useMcpAppTools.d.ts.map +1 -0
- package/mcp-apps/useMcpAppTools/useMcpAppTools.js +42 -42
- package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts +36 -0
- package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.d.ts.map +1 -0
- package/mcp-apps.d.ts +2 -256
- package/oauth/authorize-url.d.ts +22 -0
- package/oauth/authorize-url.d.ts.map +1 -0
- package/oauth/authorize-url.js +14 -4
- package/oauth/callback-exchange.d.ts +49 -0
- package/oauth/callback-exchange.d.ts.map +1 -0
- package/oauth/callback-exchange.js +29 -0
- package/oauth/handshake.d.ts +30 -0
- package/oauth/handshake.d.ts.map +1 -0
- package/oauth/handshake.js +3 -10
- package/oauth/models.d.ts +106 -0
- package/oauth/models.d.ts.map +1 -0
- package/oauth/popup.d.ts +30 -0
- package/oauth/popup.d.ts.map +1 -0
- package/oauth/popup.js +19 -17
- package/oauth/toolset-id.d.ts +60 -0
- package/oauth/toolset-id.d.ts.map +1 -0
- package/oauth/toolset-id.js +9 -2
- package/oauth/types.d.ts +84 -0
- package/oauth/types.d.ts.map +1 -0
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts +54 -0
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.d.ts.map +1 -0
- package/oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.js +41 -42
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts +85 -0
- package/oauth/useToolsetLogin/useToolsetLogin.d.ts.map +1 -0
- package/oauth/useToolsetLogin/useToolsetLogin.js +51 -42
- package/oauth.d.ts +2 -472
- package/oauth.js +9 -8
- package/offline-credentials/map-offline-credentials-response.d.ts +20 -0
- package/offline-credentials/map-offline-credentials-response.d.ts.map +1 -0
- package/offline-credentials/map-offline-credentials-response.js +17 -0
- package/offline-credentials/scheduled-tasks-login-banner.d.ts +31 -0
- package/offline-credentials/scheduled-tasks-login-banner.d.ts.map +1 -0
- package/offline-credentials/scheduled-tasks-login-banner.js +17 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts +58 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsAuth/useOfflineCredentialsAuth.js +37 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts +61 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsGate/useOfflineCredentialsGate.js +37 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts +28 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.d.ts.map +1 -0
- package/offline-credentials/useOfflineCredentialsLogin/useOfflineCredentialsLogin.js +29 -0
- package/offline-credentials.d.ts +2 -0
- package/offline-credentials.js +7 -0
- package/package.json +49 -25
- package/project/create-project-chat.d.ts +34 -0
- package/project/create-project-chat.d.ts.map +1 -0
- package/project/create-project-chat.js +27 -0
- package/project/project-conversation-data-source.d.ts +36 -0
- package/project/project-conversation-data-source.d.ts.map +1 -0
- package/project/project-conversation-data-source.js +67 -0
- package/project/project-events.d.ts +14 -0
- package/project/project-events.d.ts.map +1 -0
- package/project/project-events.js +25 -0
- package/project/project-file-preview.d.ts +28 -0
- package/project/project-file-preview.d.ts.map +1 -0
- package/project/project-file-preview.js +20 -0
- package/project/project-form-errors.d.ts +23 -0
- package/project/project-form-errors.d.ts.map +1 -0
- package/project/project-form-errors.js +46 -0
- package/project/project-limits.d.ts +17 -0
- package/project/project-limits.d.ts.map +1 -0
- package/project/project-limits.js +11 -0
- package/project/project-mapping.d.ts +16 -0
- package/project/project-mapping.d.ts.map +1 -0
- package/project/project-mapping.js +43 -0
- package/project/project-refresh.d.ts +12 -0
- package/project/project-refresh.d.ts.map +1 -0
- package/project/project-refresh.js +6 -0
- package/project/project-viewed-marks.d.ts +9 -0
- package/project/project-viewed-marks.d.ts.map +1 -0
- package/project/project-viewed-marks.js +8 -0
- package/project/project-watch-stream.d.ts +26 -0
- package/project/project-watch-stream.d.ts.map +1 -0
- package/project/project-watch-stream.js +39 -0
- package/project/projects-api-client.d.ts +173 -0
- package/project/projects-api-client.d.ts.map +1 -0
- package/project/projects-api-client.js +89 -0
- package/project/use-pinned-project-chats.d.ts +58 -0
- package/project/use-pinned-project-chats.d.ts.map +1 -0
- package/project/use-pinned-project-chats.js +269 -0
- package/project/use-project-actions.d.ts +52 -0
- package/project/use-project-actions.d.ts.map +1 -0
- package/project/use-project-actions.js +92 -0
- package/project/use-project-artifacts.d.ts +24 -0
- package/project/use-project-artifacts.d.ts.map +1 -0
- package/project/use-project-artifacts.js +78 -0
- package/project/use-project-conversations.d.ts +31 -0
- package/project/use-project-conversations.d.ts.map +1 -0
- package/project/use-project-conversations.js +196 -0
- package/project/use-project-draft.d.ts +46 -0
- package/project/use-project-draft.d.ts.map +1 -0
- package/project/use-project-draft.js +54 -0
- package/project/use-project-file-preview.d.ts +42 -0
- package/project/use-project-file-preview.d.ts.map +1 -0
- package/project/use-project-file-preview.js +46 -0
- package/project/use-project-submit.d.ts +49 -0
- package/project/use-project-submit.d.ts.map +1 -0
- package/project/use-project-submit.js +73 -0
- package/project/use-project-watch.d.ts +24 -0
- package/project/use-project-watch.d.ts.map +1 -0
- package/project/use-project-watch.js +41 -0
- package/project/use-project.d.ts +23 -0
- package/project/use-project.d.ts.map +1 -0
- package/project/use-project.js +73 -0
- package/project/use-projects.d.ts +27 -0
- package/project/use-projects.d.ts.map +1 -0
- package/project/use-projects.js +92 -0
- package/project.d.ts +2 -0
- package/project.js +20 -0
- package/prompt/export-prompt.d.ts +31 -0
- package/prompt/export-prompt.d.ts.map +1 -0
- package/prompt/prompt-resource.d.ts +30 -0
- package/prompt/prompt-resource.d.ts.map +1 -0
- package/prompt/prompt.d.ts +45 -0
- package/prompt/prompt.d.ts.map +1 -0
- package/prompt/prompt.js +7 -3
- package/prompt/usePromptsState/usePromptsState.d.ts +34 -0
- package/prompt/usePromptsState/usePromptsState.d.ts.map +1 -0
- package/scheduled-task/active-scheduled-task.d.ts +58 -0
- package/scheduled-task/active-scheduled-task.d.ts.map +1 -0
- package/scheduled-task/active-scheduled-task.js +18 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.d.ts +27 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.d.ts.map +1 -0
- package/scheduled-task/check-scheduled-task-auth-session-error.js +17 -0
- package/scheduled-task/scheduled-task-description.d.ts +40 -0
- package/scheduled-task/scheduled-task-description.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-description.js +33 -24
- package/scheduled-task/scheduled-task-display.d.ts +106 -0
- package/scheduled-task/scheduled-task-display.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-display.js +69 -0
- package/scheduled-task/scheduled-task-mapping.d.ts +19 -0
- package/scheduled-task/scheduled-task-mapping.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -0
- package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-next-occurrence.js +20 -0
- package/scheduled-task/scheduled-task-preparation.d.ts +19 -0
- package/scheduled-task/scheduled-task-preparation.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-trigger.d.ts +26 -0
- package/scheduled-task/scheduled-task-trigger.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-trigger.js +75 -48
- package/scheduled-task/scheduled-tasks-api-client.d.ts +67 -0
- package/scheduled-task/scheduled-tasks-api-client.d.ts.map +1 -0
- package/scheduled-task/use-scheduled-task-runs.d.ts +40 -0
- package/scheduled-task/use-scheduled-task-runs.d.ts.map +1 -0
- package/scheduled-task/use-scheduled-task-runs.js +19 -31
- package/scheduled-task/use-scheduled-tasks.d.ts +28 -0
- package/scheduled-task/use-scheduled-tasks.d.ts.map +1 -0
- package/scheduled-task/use-scheduled-tasks.js +1 -1
- package/scheduled-task/useActiveScheduledTaskDetails.d.ts +18 -0
- package/scheduled-task/useActiveScheduledTaskDetails.d.ts.map +1 -0
- package/scheduled-task/useActiveScheduledTaskDetails.js +40 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts +17 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.d.ts.map +1 -0
- package/scheduled-task/useScheduledTaskSkillDisplayNames/useScheduledTaskSkillDisplayNames.js +29 -0
- package/scheduled-task/useStartScheduledTask.d.ts +41 -0
- package/scheduled-task/useStartScheduledTask.d.ts.map +1 -0
- package/scheduled-task/useStartScheduledTask.js +169 -0
- package/scheduled-tasks.d.ts +2 -256
- package/scheduled-tasks.js +13 -6
- package/scroll-anchoring.d.ts +2 -50
- package/scroll-anchoring.js +1 -2
- package/share-invitation/models.d.ts +46 -0
- package/share-invitation/models.d.ts.map +1 -0
- package/share-invitation/share-invitation-error.d.ts +6 -0
- package/share-invitation/share-invitation-error.d.ts.map +1 -0
- package/share-invitation/share-invitation-error.js +37 -0
- package/share-invitation/types.d.ts +10 -0
- package/share-invitation/types.d.ts.map +1 -0
- package/share-invitation/types.js +6 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.d.ts +9 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.d.ts.map +1 -0
- package/share-invitation/useAcceptShareInvitation/useAcceptShareInvitation.js +26 -0
- package/shared/application-schema.d.ts +16 -0
- package/shared/application-schema.d.ts.map +1 -0
- package/shared/application-schema.js +3 -3
- package/shared/browser-timezone.d.ts +7 -0
- package/shared/browser-timezone.d.ts.map +1 -0
- package/shared/client-channel.d.ts +53 -0
- package/shared/client-channel.d.ts.map +1 -0
- package/shared/client-channel.js +6 -0
- package/shared/cron-day-of-month.d.ts +21 -0
- package/shared/cron-day-of-month.d.ts.map +1 -0
- package/shared/cron-day-of-month.js +10 -10
- package/shared/cron-weekday.d.ts +5 -0
- package/shared/cron-weekday.d.ts.map +1 -0
- package/shared/custom-apps.d.ts +7 -0
- package/shared/custom-apps.d.ts.map +1 -0
- package/shared/external-services.d.ts +16 -0
- package/shared/external-services.d.ts.map +1 -0
- package/shared/formatting.d.ts +5 -0
- package/shared/formatting.d.ts.map +1 -0
- package/shared/locale.d.ts +49 -0
- package/shared/locale.d.ts.map +1 -0
- package/shared/locale.js +4 -4
- package/shared/read-sse-events.d.ts +10 -0
- package/shared/read-sse-events.d.ts.map +1 -0
- package/shared/read-sse-events.js +33 -0
- package/shared/serialized-writer.d.ts +12 -0
- package/shared/serialized-writer.d.ts.map +1 -0
- package/shared/serialized-writer.js +44 -0
- package/shared/sleep.d.ts +3 -0
- package/shared/sleep.d.ts.map +1 -0
- package/shared/sleep.js +13 -0
- package/shared/string-utils.d.ts +11 -0
- package/shared/string-utils.d.ts.map +1 -0
- package/shared/theme-colors.d.ts +16 -0
- package/shared/theme-colors.d.ts.map +1 -0
- package/shared/theme-colors.js +14 -0
- package/shared/toolset-login-events.d.ts +15 -0
- package/shared/toolset-login-events.d.ts.map +1 -0
- package/shared/url-cleanup.d.ts +18 -0
- package/shared/url-cleanup.d.ts.map +1 -0
- package/shared/url-cleanup.js +18 -0
- package/shared/usage-stat.d.ts +3 -0
- package/shared/usage-stat.d.ts.map +1 -0
- package/shared/usage-stat.js +4 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.d.ts +22 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.d.ts.map +1 -0
- package/shared/useAppVersionCheck/useAppVersionCheck.js +36 -0
- package/shared/usePersistedState/usePersistedState.d.ts +28 -0
- package/shared/usePersistedState/usePersistedState.d.ts.map +1 -0
- package/shared/usePersistedState/usePersistedState.js +24 -0
- package/sharing.d.ts +2 -65
- package/sharing.js +5 -2
- package/signin-interrupt/models.d.ts +48 -0
- package/signin-interrupt/models.d.ts.map +1 -0
- package/signin-interrupt/signin-row-info.d.ts +10 -0
- package/signin-interrupt/signin-row-info.d.ts.map +1 -0
- package/signin-interrupt/signin-row-info.js +21 -0
- package/signin-interrupt/types.d.ts +28 -0
- package/signin-interrupt/types.d.ts.map +1 -0
- package/signin-interrupt/types.js +10 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.d.ts +52 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.d.ts.map +1 -0
- package/signin-interrupt/useSigninInterrupt/useSigninInterrupt.js +270 -0
- package/skill/skill-archive.d.ts +7 -0
- package/skill/skill-archive.d.ts.map +1 -0
- package/skill/skill-file-batch-validation.d.ts +74 -0
- package/skill/skill-file-batch-validation.d.ts.map +1 -0
- package/skill/skill-file-batch-validation.js +34 -33
- package/skill/skill-file-preview.d.ts +25 -0
- package/skill/skill-file-preview.d.ts.map +1 -0
- package/skill/skill-lookup.d.ts +20 -0
- package/skill/skill-lookup.d.ts.map +1 -0
- package/skill/skill-lookup.js +12 -0
- package/skill/skill-manifest.d.ts +28 -0
- package/skill/skill-manifest.d.ts.map +1 -0
- package/skill/skill-types.d.ts +46 -0
- package/skill/skill-types.d.ts.map +1 -0
- package/skill/skill-types.js +1 -1
- package/skill/skill.d.ts +160 -0
- package/skill/skill.d.ts.map +1 -0
- package/skill/skill.js +12 -15
- package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts +65 -0
- package/skill/useSkillArchiveImport/useSkillArchiveImport.d.ts.map +1 -0
- package/skill/useSkillArchiveImport/useSkillArchiveImport.js +1 -7
- package/skill/useSkillEditorLoad.d.ts +74 -0
- package/skill/useSkillEditorLoad.d.ts.map +1 -0
- package/skill/useSkillEditorSubmit.d.ts +139 -0
- package/skill/useSkillEditorSubmit.d.ts.map +1 -0
- package/skill/useSkillEditorSubmit.js +164 -87
- package/skill/useSkillFileActions.d.ts +62 -0
- package/skill/useSkillFileActions.d.ts.map +1 -0
- package/skill/useSkillFileActions.js +36 -21
- package/skill/useSkillFilePreview.d.ts +38 -0
- package/skill/useSkillFilePreview.d.ts.map +1 -0
- package/skill/useSkillsState/useSkillsState.d.ts +35 -0
- package/skill/useSkillsState/useSkillsState.d.ts.map +1 -0
- package/skill-editor/useSkillFilePreviewSyncController.d.ts +41 -0
- package/skill-editor/useSkillFilePreviewSyncController.d.ts.map +1 -0
- package/skill-editor/useSkillFilePreviewSyncController.js +58 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts +23 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.d.ts.map +1 -0
- package/skill-editor/useSkillFileSystemPicker/useSkillFileSystemPicker.js +43 -0
- package/skill-editor.d.ts +2 -655
- package/skill-editor.js +3 -1
- package/skills-state.d.ts +2 -40
- package/skills-state.js +3 -2
- package/source-content.d.ts +2 -29
- package/source-content.js +1 -2
- package/usage/map-usage-data-to-dashboard.d.ts +39 -0
- package/usage/map-usage-data-to-dashboard.d.ts.map +1 -0
- package/usage/map-user-usage-to-model-limits.d.ts +62 -0
- package/usage/map-user-usage-to-model-limits.d.ts.map +1 -0
- package/usage/map-user-usage-to-model-limits.js +21 -21
- package/usage/usage-banner-source.d.ts +24 -0
- package/usage/usage-banner-source.d.ts.map +1 -0
- package/usage/usage-banner-source.js +61 -0
- package/usage/usage-gauge.d.ts +3 -0
- package/usage/usage-gauge.d.ts.map +1 -0
- package/usage/usage-gauge.js +4 -0
- package/usage/usage-period.d.ts +7 -0
- package/usage/usage-period.d.ts.map +1 -0
- package/usage/usage-period.js +6 -0
- package/usage/usage-reset-time.d.ts +78 -0
- package/usage/usage-reset-time.d.ts.map +1 -0
- package/usage/usage-reset-time.js +82 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts +56 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.d.ts.map +1 -0
- package/usage/useDeploymentUsageLimits/useDeploymentUsageLimits.js +34 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts +16 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.d.ts.map +1 -0
- package/usage/useRefreshUsageAfterGeneration/useRefreshUsageAfterGeneration.js +14 -0
- package/usage/useUsageData/useUsageData.d.ts +28 -0
- package/usage/useUsageData/useUsageData.d.ts.map +1 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts +58 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.d.ts.map +1 -0
- package/usage/useUsageLimitBanner/useUsageLimitBanner.js +70 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts +14 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.d.ts.map +1 -0
- package/usage/useUsageLimitBannerDismissal/useUsageLimitBannerDismissal.js +19 -0
- package/usage-limits.d.ts +2 -0
- package/usage-limits.js +10 -0
- package/usage.d.ts +2 -125
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts +130 -0
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.d.ts.map +1 -0
- package/useChatSettingsFormConfig/useChatSettingsFormConfig.js +25 -21
- package/usePageFileDrag/usePageFileDrag.d.ts +16 -0
- package/usePageFileDrag/usePageFileDrag.d.ts.map +1 -0
- package/usePageFileDrag/usePageFileDrag.js +3 -3
- package/usePanelMaxWidth/usePanelMaxWidth.d.ts +6 -0
- package/usePanelMaxWidth/usePanelMaxWidth.d.ts.map +1 -0
- package/useShareLink/useShareLink.d.ts +23 -0
- package/useShareLink/useShareLink.d.ts.map +1 -0
- package/useShareLink/useShareLink.js +18 -17
- package/useShareRecipientsCount/useShareRecipientsCount.d.ts +36 -0
- package/useShareRecipientsCount/useShareRecipientsCount.d.ts.map +1 -0
- package/useToolsMenu/useToolsMenu.d.ts +31 -0
- package/useToolsMenu/useToolsMenu.d.ts.map +1 -0
- package/useViewportWidth/useViewportWidth.d.ts +3 -0
- package/useViewportWidth/useViewportWidth.d.ts.map +1 -0
- package/utils.d.ts +2 -404
- package/utils.js +23 -17
- package/viewport-layout/canvas-width.d.ts +39 -0
- package/viewport-layout/canvas-width.d.ts.map +1 -0
- package/viewport-layout/canvas-width.js +23 -0
- package/viewport-layout.d.ts +2 -27
- package/viewport-layout.js +2 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DialFileManagerTabs } from '@epam/ai-dial-react-file-manager';
|
|
2
|
+
import { DialFileManagerSection } from '../dial-file-manager.model';
|
|
3
|
+
import { UseDialFileManagerOptions, UseDialFileManagerResult } from '../dial-file-manager.types';
|
|
4
|
+
/** Options accepted by `useDialFileManagerSections`. */
|
|
5
|
+
export interface UseDialFileManagerSectionsOptions extends Omit<UseDialFileManagerOptions, 'activeTab' | 'rootLabel' | 'isActive' | 'sessionKey'> {
|
|
6
|
+
/** Active tab, including `DialFileManagerTabs.All`. */
|
|
7
|
+
activeTab: DialFileManagerTabs;
|
|
8
|
+
/** Enabled source tabs in display order, each with its translated top-level folder name. */
|
|
9
|
+
sections: DialFileManagerSection[];
|
|
10
|
+
}
|
|
11
|
+
/** Values returned by `useDialFileManagerSections`. */
|
|
12
|
+
export interface UseDialFileManagerSectionsResult extends UseDialFileManagerResult {
|
|
13
|
+
/** Source tab of the browsed folder; never `DialFileManagerTabs.All`. */
|
|
14
|
+
sectionTab: DialFileManagerTabs;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Composes one `useDialFileManager` per source tab (My files, Shared,
|
|
18
|
+
* Organization) so the File storage page can offer an All tab without a
|
|
19
|
+
* second copy of the per-tab rules. On a single tab it returns that section's
|
|
20
|
+
* result; on All it merges the section roots into one tree and routes every
|
|
21
|
+
* callback to the section owning the path. Section availability and names
|
|
22
|
+
* arrive through `sections` — the hook reads no config, i18n, or context.
|
|
23
|
+
*/
|
|
24
|
+
export declare const useDialFileManagerSections: ({ activeTab, sections, ...managerOptions }: UseDialFileManagerSectionsOptions) => UseDialFileManagerSectionsResult;
|
|
25
|
+
//# sourceMappingURL=useDialFileManagerSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialFileManagerSections.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileManagerSections/useDialFileManagerSections.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AASvE,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC9B,MAAM,4BAA4B,CAAC;AAGpC,wDAAwD;AACxD,MAAM,WAAW,iCAAkC,SAAQ,IAAI,CAC7D,yBAAyB,EACzB,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,CACtD;IACC,uDAAuD;IACvD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,4FAA4F;IAC5F,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC;AAED,uDAAuD;AACvD,MAAM,WAAW,gCAAiC,SAAQ,wBAAwB;IAChF,yEAAyE;IACzE,UAAU,EAAE,mBAAmB,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,GAAI,4CAIxC,iCAAiC,KAAG,gCAgYtC,CAAC"}
|
|
@@ -25,80 +25,64 @@ var l = ({ activeTab: l, sections: u, ...d }) => {
|
|
|
25
25
|
}
|
|
26
26
|
}, [v, y] = o(null), [b, x] = o(null), [S, C] = o(l);
|
|
27
27
|
S !== l && (C(l), y(null), x(null));
|
|
28
|
-
let w = (e) => f.some((t) => t.tab === e),
|
|
28
|
+
let w = (e) => f.some((t) => t.tab === e), T = f[0]?.tab ?? c.MyFiles, E = v != null && w(v) ? v : T, ae = b != null && w(b) ? b : E, D = (e) => e == null ? void 0 : r(e, f)?.tab, O = (e) => _(D(e) ?? E), k = (e, t) => {
|
|
29
29
|
let n = /* @__PURE__ */ new Map();
|
|
30
30
|
return e.forEach((e) => {
|
|
31
|
-
let r =
|
|
31
|
+
let r = D(t(e)) ?? E;
|
|
32
32
|
n.set(r, [...n.get(r) ?? [], e]);
|
|
33
33
|
}), [...n];
|
|
34
|
-
}, { onNotification:
|
|
34
|
+
}, { onNotification: A } = d, j = re(/* @__PURE__ */ new Set()), M = f.map(({ tab: e }) => `${e}:${_(e).error ?? ""}`).join("|");
|
|
35
35
|
te(() => {
|
|
36
|
-
let t =
|
|
37
|
-
|
|
38
|
-
t.
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
f.forEach(({ tab: n }) => {
|
|
42
|
-
if (_(n).error == null) {
|
|
43
|
-
t.delete(n);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
t.has(n) || (t.add(n), n !== T && k?.({
|
|
36
|
+
let t = j.current;
|
|
37
|
+
p ? f.forEach(({ tab: n }) => {
|
|
38
|
+
_(n).error == null ? t.delete(n) : t.has(n) || (t.add(n), n !== E && A?.({
|
|
47
39
|
variant: s.Error,
|
|
48
40
|
reason: e.FolderLoadFailed
|
|
49
41
|
}));
|
|
50
|
-
});
|
|
42
|
+
}) : t.clear();
|
|
51
43
|
}, [
|
|
52
|
-
|
|
44
|
+
M,
|
|
53
45
|
p,
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
E,
|
|
47
|
+
A
|
|
56
48
|
]);
|
|
57
|
-
let
|
|
58
|
-
|
|
49
|
+
let N = () => {
|
|
50
|
+
A?.({
|
|
59
51
|
variant: s.Warning,
|
|
60
52
|
reason: e.CrossSectionTransferUnsupported
|
|
61
53
|
});
|
|
62
|
-
},
|
|
63
|
-
let n = new Set(e.map(
|
|
54
|
+
}, P = (e, t) => {
|
|
55
|
+
let n = new Set(e.map(D));
|
|
64
56
|
if (n.size !== 1) return;
|
|
65
57
|
let [r] = n;
|
|
66
|
-
if (r != null) return (t ?
|
|
67
|
-
},
|
|
58
|
+
if (r != null) return (t ? D(t) : r) === r ? r : void 0;
|
|
59
|
+
}, F = (e) => {
|
|
68
60
|
if (e == null) {
|
|
69
|
-
_(
|
|
61
|
+
_(E).onPathChange();
|
|
70
62
|
return;
|
|
71
63
|
}
|
|
72
|
-
let t =
|
|
64
|
+
let t = D(e);
|
|
73
65
|
t != null && (y(t), _(t).onPathChange(e));
|
|
74
|
-
},
|
|
66
|
+
}, I = (e) => {
|
|
75
67
|
f.forEach(({ tab: t }) => {
|
|
76
|
-
let r = _(t), i = new Set([...e].filter((e) =>
|
|
68
|
+
let r = _(t), i = new Set([...e].filter((e) => D(e) === t));
|
|
77
69
|
n(i, r.expandedPaths) || r.onExpandedPathsChange(i);
|
|
78
70
|
});
|
|
79
|
-
},
|
|
80
|
-
let n =
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
-
let t =
|
|
71
|
+
}, L = (e) => O(e).onFolderPopupPathChange(e), R = (e, t) => O(t).onUploadFiles(e, t), z = (e, t, n) => O(n).onUploadArchive(e, t, n), B = (e, t, n) => O(n).onValidateUpload(e, t, n), V = (e, t, n) => O(t).onCreateFolder(e, t, n), H = (e, t) => O(t.path).onCreateFolderValidate(e, t), U = (e) => k(e, (e) => e.path).forEach(([e, t]) => _(e).onDownloadFiles(t)), W = (e, t) => {
|
|
72
|
+
let n = D(t);
|
|
73
|
+
k(e, (e) => e.sourceUrl ?? t).forEach(([e, r]) => _(e).onDeleteFiles(r, e === n ? t : ""));
|
|
74
|
+
}, G = (e, t) => O(t.path).onRenameValidate(e, t), K = (e) => k(e, (e) => e.path).forEach(([e, t]) => _(e).onUnshareFiles(t)), q = (e) => k(e, (e) => e.path).forEach(([e, t]) => _(e).onRemoveFilesAccess(t)), oe = (e) => {
|
|
75
|
+
let t = D(e.path) ?? E;
|
|
84
76
|
x(t), _(t).onGetInfo(e);
|
|
85
|
-
},
|
|
77
|
+
}, se = (e, t) => {
|
|
86
78
|
if (e.length === 0) return;
|
|
87
|
-
let n =
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
_(n).onCopyFiles(e, t);
|
|
93
|
-
}, se = (e, t, n) => {
|
|
79
|
+
let n = P(e.map((e) => e.sourceUrl), t);
|
|
80
|
+
n == null ? N() : _(n).onCopyFiles(e, t);
|
|
81
|
+
}, ce = (e, t, n) => {
|
|
94
82
|
if (e.length === 0) return;
|
|
95
|
-
let r =
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
_(r).onMoveToFiles(e, t, n);
|
|
101
|
-
}, ce = () => f.forEach(({ tab: e }) => _(e).cancelCopyMove());
|
|
83
|
+
let r = P(e.map((e) => e.sourceUrl ?? t), n);
|
|
84
|
+
r == null ? N() : _(r).onMoveToFiles(e, t, n);
|
|
85
|
+
}, le = () => f.forEach(({ tab: e }) => _(e).cancelCopyMove());
|
|
102
86
|
if (!p) {
|
|
103
87
|
let e = t.includes(l) ? l : c.MyFiles;
|
|
104
88
|
return {
|
|
@@ -106,49 +90,56 @@ var l = ({ activeTab: l, sections: u, ...d }) => {
|
|
|
106
90
|
sectionTab: e
|
|
107
91
|
};
|
|
108
92
|
}
|
|
109
|
-
let J = f.map(({ tab: e }) => _(e)), Y = _(
|
|
93
|
+
let J = f.map(({ tab: e }) => _(e)), Y = _(E), X = _(ae), Z = [Y, ...J].find((e) => e.uploadBatchState != null) ?? Y, ue = J.flatMap((e) => e.downloadBatchState?.files ?? []), de = J.some((e) => e.downloadBatchState?.isOpen) ? {
|
|
94
|
+
isOpen: !0,
|
|
95
|
+
files: ue
|
|
96
|
+
} : null, Q = (e) => J.some(e), $ = J.map((e) => e.sharedWithMeIds).filter((e) => e != null), fe = new Set(f.filter(({ tab: e }) => e !== E && _(e).isLoading).map(({ tab: e }) => _(e).path));
|
|
110
97
|
return {
|
|
111
98
|
...Y,
|
|
112
99
|
items: J.map((e) => e.items[0]).filter((e) => e != null),
|
|
113
|
-
onPathChange:
|
|
100
|
+
onPathChange: F,
|
|
114
101
|
expandedPaths: i(J.map((e) => e.expandedPaths)),
|
|
115
102
|
loadedPaths: i(J.map((e) => e.loadedPaths)),
|
|
116
|
-
onExpandedPathsChange:
|
|
117
|
-
onFolderPopupPathChange:
|
|
118
|
-
folderPopupLoadingPaths: i([...J.map((e) => e.folderPopupLoadingPaths),
|
|
119
|
-
onUploadFiles:
|
|
120
|
-
onUploadArchive:
|
|
121
|
-
onValidateUpload:
|
|
103
|
+
onExpandedPathsChange: I,
|
|
104
|
+
onFolderPopupPathChange: L,
|
|
105
|
+
folderPopupLoadingPaths: i([...J.map((e) => e.folderPopupLoadingPaths), fe]),
|
|
106
|
+
onUploadFiles: R,
|
|
107
|
+
onUploadArchive: z,
|
|
108
|
+
onValidateUpload: B,
|
|
122
109
|
uploadBatchState: Z.uploadBatchState,
|
|
123
110
|
cancelUpload: Z.cancelUpload,
|
|
124
111
|
cancelUploadFile: Z.cancelUploadFile,
|
|
125
112
|
clearUploadBatch: Z.clearUploadBatch,
|
|
126
|
-
onCreateFolder:
|
|
127
|
-
onCreateFolderValidate:
|
|
113
|
+
onCreateFolder: V,
|
|
114
|
+
onCreateFolderValidate: H,
|
|
128
115
|
isCreatingFolder: Q((e) => e.isCreatingFolder),
|
|
129
|
-
onDownloadFiles:
|
|
116
|
+
onDownloadFiles: U,
|
|
130
117
|
isDownloading: Q((e) => e.isDownloading),
|
|
131
|
-
|
|
118
|
+
downloadBatchState: de,
|
|
119
|
+
cancelDownloadFile: (e) => J.forEach((t) => t.cancelDownloadFile(e)),
|
|
120
|
+
cancelAllDownloads: () => J.forEach((e) => e.cancelAllDownloads()),
|
|
121
|
+
clearDownloadBatch: () => J.forEach((e) => e.clearDownloadBatch()),
|
|
122
|
+
onDeleteFiles: W,
|
|
132
123
|
isDeleting: Q((e) => e.isDeleting),
|
|
133
|
-
onRenameValidate:
|
|
134
|
-
onMoveToFiles:
|
|
124
|
+
onRenameValidate: G,
|
|
125
|
+
onMoveToFiles: ce,
|
|
135
126
|
isRenaming: Q((e) => e.isRenaming),
|
|
136
|
-
onCopyFiles:
|
|
127
|
+
onCopyFiles: se,
|
|
137
128
|
isCopying: Q((e) => e.isCopying),
|
|
138
129
|
isMoving: Q((e) => e.isMoving),
|
|
139
|
-
cancelCopyMove:
|
|
130
|
+
cancelCopyMove: le,
|
|
140
131
|
sharedWithMeIds: $.length > 0 ? $.flat() : void 0,
|
|
141
132
|
sharedByMePaths: i(J.map((e) => e.sharedByMePaths)),
|
|
142
|
-
onUnshareFiles:
|
|
133
|
+
onUnshareFiles: K,
|
|
143
134
|
isUnsharing: Q((e) => e.isUnsharing),
|
|
144
|
-
onRemoveFilesAccess:
|
|
135
|
+
onRemoveFilesAccess: q,
|
|
145
136
|
isRemovingAccess: Q((e) => e.isRemovingAccess),
|
|
146
137
|
fileMetadata: X.fileMetadata,
|
|
147
138
|
isFileMetadataLoading: X.isFileMetadataLoading,
|
|
148
|
-
onGetInfo:
|
|
139
|
+
onGetInfo: oe,
|
|
149
140
|
clearMetadata: X.clearMetadata,
|
|
150
141
|
isAnyOperationInProgress: Q((e) => e.isAnyOperationInProgress),
|
|
151
|
-
sectionTab:
|
|
142
|
+
sectionTab: E
|
|
152
143
|
};
|
|
153
144
|
};
|
|
154
145
|
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DialFileManagerTabs, FileTreeOptions } from '@epam/ai-dial-react-file-manager';
|
|
2
|
+
import { FilterChipItem } from '@epam/ai-dial-ui-kit';
|
|
3
|
+
/** Values returned by `useDialFileManagerTabConfig`. */
|
|
4
|
+
export interface UseDialFileManagerTabConfigResult {
|
|
5
|
+
tabs: FileTreeOptions['tabs'];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Filters the file-manager's tab list down to the host's configured set and
|
|
9
|
+
* resets `activeTab` to the highest-priority still-enabled tab when the
|
|
10
|
+
* current one becomes excluded. A `fileManagerTabs` of `undefined` means no
|
|
11
|
+
* restriction — every tab in `allTabs` stays enabled and no reset ever fires.
|
|
12
|
+
* The All tab is kept only while at least two source tabs are enabled.
|
|
13
|
+
*/
|
|
14
|
+
export declare const useDialFileManagerTabConfig: (activeTab: DialFileManagerTabs, onTabChange: (tab: DialFileManagerTabs) => void, allTabs: FilterChipItem<DialFileManagerTabs>[] | undefined, fileManagerTabs: string[] | undefined) => UseDialFileManagerTabConfigResult;
|
|
15
|
+
//# sourceMappingURL=useDialFileManagerTabConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialFileManagerTabConfig.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,wDAAwD;AACxD,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAC/B;AAiBD;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,GACtC,WAAW,mBAAmB,EAC9B,aAAa,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,EAC/C,SAAS,cAAc,CAAC,mBAAmB,CAAC,EAAE,GAAG,SAAS,EAC1D,iBAAiB,MAAM,EAAE,GAAG,SAAS,KACpC,iCA+BF,CAAC"}
|
|
@@ -10,7 +10,7 @@ var a = [
|
|
|
10
10
|
], o = 2, s = (s, c, l, u) => {
|
|
11
11
|
let d = t((t) => {
|
|
12
12
|
let n = (e) => u == null || u.includes(e);
|
|
13
|
-
return n(t) ? t
|
|
13
|
+
return n(t) ? t !== i.All || e.filter((e) => n(e)).length >= o : !1;
|
|
14
14
|
}, [u]), f = r(() => l?.filter((e) => d(e.value)), [l, d]);
|
|
15
15
|
return n(() => {
|
|
16
16
|
d(s) || c(a.find((e) => d(e)) ?? i.MyFiles);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DialFile } from '@epam/ai-dial-react-file-manager';
|
|
2
|
+
import { FileManagerNotification } from '../dial-file-manager.types';
|
|
3
|
+
import { DialFilesApi } from '../dial-files-api';
|
|
4
|
+
/** Options accepted by `useDialFileMetadata`. */
|
|
5
|
+
export interface UseDialFileMetadataOptions {
|
|
6
|
+
/** Injected operation port used for the metadata network call. */
|
|
7
|
+
filesApi: DialFilesApi;
|
|
8
|
+
/** DIAL Core bucket the current user browses (used only for my_files items). */
|
|
9
|
+
bucket: string;
|
|
10
|
+
/** Display name of the root folder node, used to resolve virtual paths back to API paths. */
|
|
11
|
+
rootLabel: string;
|
|
12
|
+
/** Called with a structured event when the metadata fetch fails. */
|
|
13
|
+
onNotification?: (notification: FileManagerNotification) => void;
|
|
14
|
+
}
|
|
15
|
+
/** Values returned by `useDialFileMetadata`. */
|
|
16
|
+
export interface UseDialFileMetadataResult {
|
|
17
|
+
fileMetadata: DialFile | undefined;
|
|
18
|
+
isFileMetadataLoading: boolean;
|
|
19
|
+
onGetInfo: (file: DialFile) => void;
|
|
20
|
+
clearMetadata: () => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Fetches and holds single-file metadata for `fileMetadataPopupOptions` —
|
|
24
|
+
* the only sub-hook with no interaction with the shared listing cache, since
|
|
25
|
+
* viewing metadata never mutates listing state.
|
|
26
|
+
*/
|
|
27
|
+
export declare const useDialFileMetadata: ({ filesApi, bucket, rootLabel, onNotification, }: UseDialFileMetadataOptions) => UseDialFileMetadataResult;
|
|
28
|
+
//# sourceMappingURL=useDialFileMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialFileMetadata.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileMetadata/useDialFileMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,iDAAiD;AACjD,MAAM,WAAW,0BAA0B;IACzC,kEAAkE;IAClE,QAAQ,EAAE,YAAY,CAAC;IACvB,gFAAgF;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,6FAA6F;IAC7F,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAClE;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,QAAQ,GAAG,SAAS,CAAC;IACnC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,kDAKjC,0BAA0B,KAAG,yBA2C/B,CAAC"}
|
|
@@ -13,11 +13,11 @@ var o = ({ filesApi: o, bucket: s, rootLabel: c, onNotification: l }) => {
|
|
|
13
13
|
(async () => {
|
|
14
14
|
p(!0);
|
|
15
15
|
try {
|
|
16
|
-
let e = r.bucket ?? s, i = t(r, e, c)
|
|
17
|
-
d(n(await o.getFileMetadata({
|
|
16
|
+
let e = r.bucket ?? s, i = t(r, e, c), a = await o.getFileMetadata({
|
|
18
17
|
bucket: e,
|
|
19
18
|
path: i
|
|
20
|
-
})
|
|
19
|
+
});
|
|
20
|
+
d(n(a, r));
|
|
21
21
|
} catch {
|
|
22
22
|
l?.({
|
|
23
23
|
variant: a.Error,
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CreateFolderResponseDto } from '@epam/ai-dial-chat-api-client';
|
|
2
|
+
import { FileDownloadBatchState } from '@epam/ai-dial-chat-shared';
|
|
3
|
+
import { DialCopiedItem, DialDeletedItem, DialFile, DialUploadFileItem, DialFileManagerTabs } from '@epam/ai-dial-react-file-manager';
|
|
4
|
+
import { SharedRootMeta } from '../dial-file-manager.model';
|
|
5
|
+
import { FileManagerNotification, FileNameValidationError, FileOperationSuccessEvent } from '../dial-file-manager.types';
|
|
6
|
+
import { DialFilesApi } from '../dial-files-api';
|
|
7
|
+
import { DownloadDestinationHandlers } from '../download-destination';
|
|
8
|
+
/** Options accepted by `useDialFileMutations`. */
|
|
9
|
+
export interface UseDialFileMutationsOptions {
|
|
10
|
+
/** Injected operation port used for every mutation network call. */
|
|
11
|
+
filesApi: DialFilesApi;
|
|
12
|
+
/** DIAL Core bucket to browse (used only for the my_files tab). */
|
|
13
|
+
bucket: string;
|
|
14
|
+
/** Display name for the root folder node. */
|
|
15
|
+
rootLabel: string;
|
|
16
|
+
/** Active tab — drives owner-bucket resolution for the Shared tab. */
|
|
17
|
+
activeTab: DialFileManagerTabs;
|
|
18
|
+
/** Bucket-relative path of the currently browsed folder, owned by `useDialFileListing`. */
|
|
19
|
+
folderPath: string;
|
|
20
|
+
/** Currently browsed folder node, owned by `useDialFileListing`. */
|
|
21
|
+
currentFolder: DialFile | undefined;
|
|
22
|
+
/** Owner-bucket resolution metadata for the Shared tab, owned by `useDialFileListing`. */
|
|
23
|
+
sharedRootMetaRef: React.RefObject<Map<string, SharedRootMeta>>;
|
|
24
|
+
/** Read-only snapshot of `useDialFileListing`'s per-folder permissions cache. */
|
|
25
|
+
listingPermissionsCache: Map<string, string[] | undefined>;
|
|
26
|
+
/** Deletes the given API-path cache keys so the next fetch re-fetches them. */
|
|
27
|
+
invalidateFolders: (apiPaths: string[]) => void;
|
|
28
|
+
/** Forces `useDialFileListing`'s fetch effect to re-run. */
|
|
29
|
+
bumpRetry: () => void;
|
|
30
|
+
/** Merges a newly created folder into its parent's cache entry, owned by `useDialFileListing`. */
|
|
31
|
+
mergeCreatedFolder: (parentApiPath: string, created: CreateFolderResponseDto, inheritedPermissions?: string[]) => void;
|
|
32
|
+
/** Imperatively navigates the current folder after a rename/delete of the browsed folder. */
|
|
33
|
+
setFolderPath: React.Dispatch<React.SetStateAction<string>>;
|
|
34
|
+
/** Called when a mutation should surface a toast notification. */
|
|
35
|
+
onNotification?: (notification: FileManagerNotification) => void;
|
|
36
|
+
/** Called when a mutation succeeds, instead of invoking an application notification service directly. */
|
|
37
|
+
onOperationSuccess?: (event: FileOperationSuccessEvent) => void;
|
|
38
|
+
/** Host-injected browser "Save As"/auto-download seam for `onDownloadFiles`. */
|
|
39
|
+
downloadDestination: DownloadDestinationHandlers;
|
|
40
|
+
/** Regexp of characters forbidden in file/folder names beyond the path separator. */
|
|
41
|
+
forbiddenSymbolsRegExp?: RegExp;
|
|
42
|
+
}
|
|
43
|
+
/** Values returned by `useDialFileMutations`. */
|
|
44
|
+
export interface UseDialFileMutationsResult {
|
|
45
|
+
isCreatingFolder: boolean;
|
|
46
|
+
isDownloading: boolean;
|
|
47
|
+
isDeleting: boolean;
|
|
48
|
+
isRenaming: boolean;
|
|
49
|
+
isCopying: boolean;
|
|
50
|
+
isMoving: boolean;
|
|
51
|
+
onCreateFolder: (file: DialUploadFileItem, folderPath: string, fileId: string) => Promise<void>;
|
|
52
|
+
onCreateFolderValidate: (name: string, parentFolder: DialFile) => FileNameValidationError | null;
|
|
53
|
+
onDownloadFiles: (dialFiles: DialFile[]) => void;
|
|
54
|
+
/** Every download since the batch was last cleared; `null` when idle. */
|
|
55
|
+
downloadBatchState: FileDownloadBatchState | null;
|
|
56
|
+
/** Aborts one in-flight download by its entry id. */
|
|
57
|
+
cancelDownloadFile: (id: string) => void;
|
|
58
|
+
/** Aborts every in-flight download. */
|
|
59
|
+
cancelAllDownloads: () => void;
|
|
60
|
+
/** Empties the download batch. */
|
|
61
|
+
clearDownloadBatch: () => void;
|
|
62
|
+
onDeleteFiles: (items: DialDeletedItem[], sourceFolder: string) => void;
|
|
63
|
+
onRenameValidate: (value: string, item: DialFile) => FileNameValidationError | null;
|
|
64
|
+
onMoveToFiles: (items: DialCopiedItem[], sourceFolder: string, destinationFolder: string) => void;
|
|
65
|
+
onCopyFiles: (items: DialCopiedItem[], destinationFolder: string) => void;
|
|
66
|
+
cancelCopyMove: () => void;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Manages create-folder, download, delete, rename, copy, and move mutations.
|
|
70
|
+
* Every mutation invalidates the shared listing cache for its affected
|
|
71
|
+
* folders through `invalidateFolders`/`bumpRetry` rather than holding its own
|
|
72
|
+
* cache copy; create-folder additionally uses `mergeCreatedFolder` so a newly
|
|
73
|
+
* created folder appears immediately even when created from a
|
|
74
|
+
* destination-folder popup browsing a different folder than the outer grid.
|
|
75
|
+
*/
|
|
76
|
+
export declare const useDialFileMutations: ({ filesApi, bucket, rootLabel, activeTab, folderPath, currentFolder, sharedRootMetaRef, listingPermissionsCache, invalidateFolders, bumpRetry, mergeCreatedFolder, setFolderPath, onNotification, onOperationSuccess, downloadDestination, forbiddenSymbolsRegExp, }: UseDialFileMutationsOptions) => UseDialFileMutationsResult;
|
|
77
|
+
//# sourceMappingURL=useDialFileMutations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialFileMutations.d.ts","sourceRoot":"","sources":["../../../src/files/useDialFileMutations/useDialFileMutations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EAExB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EACL,KAAK,sBAAsB,EAK5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,QAAQ,EACR,kBAAkB,EACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,mBAAmB,EAEpB,MAAM,kCAAkC,CAAC;AAkB1C,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,4BAA4B,CAAC;AAMpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAc3E,kDAAkD;AAClD,MAAM,WAAW,2BAA2B;IAC1C,oEAAoE;IACpE,QAAQ,EAAE,YAAY,CAAC;IACvB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,SAAS,EAAE,mBAAmB,CAAC;IAC/B,2FAA2F;IAC3F,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,aAAa,EAAE,QAAQ,GAAG,SAAS,CAAC;IACpC,0FAA0F;IAC1F,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IAChE,iFAAiF;IACjF,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D,+EAA+E;IAC/E,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAChD,4DAA4D;IAC5D,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kGAAkG;IAClG,kBAAkB,EAAE,CAClB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,uBAAuB,EAChC,oBAAoB,CAAC,EAAE,MAAM,EAAE,KAC5B,IAAI,CAAC;IACV,6FAA6F;IAC7F,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,kEAAkE;IAClE,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACjE,yGAAyG;IACzG,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAChE,gFAAgF;IAChF,mBAAmB,EAAE,2BAA2B,CAAC;IACjD,qFAAqF;IACrF,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAUD,iDAAiD;AACjD,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,CACd,IAAI,EAAE,kBAAkB,EACxB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,KACX,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,sBAAsB,EAAE,CACtB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,QAAQ,KACnB,uBAAuB,GAAG,IAAI,CAAC;IACpC,eAAe,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAC;IACjD,yEAAyE;IACzE,kBAAkB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAClD,qDAAqD;IACrD,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,uCAAuC;IACvC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,kCAAkC;IAClC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,gBAAgB,EAAE,CAChB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,QAAQ,KACX,uBAAuB,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE,CACb,KAAK,EAAE,cAAc,EAAE,EACvB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,WAAW,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAAI,sQAiBlC,2BAA2B,KAAG,0BAy3BhC,CAAC"}
|