@focus-reactive/payload-plugin-translator 0.1.4 → 0.1.5
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/README.md +6 -3
- package/dist/client/app/cache/CacheProvider.d.ts +1 -2
- package/dist/client/app/cache/CacheProvider.export.d.ts +0 -1
- package/dist/client/app/config/TranslateKitConfigContext.d.ts +1 -2
- package/dist/client/app/config/index.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useCancelCollectionTranslations.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useCancelDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useQueueDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useQueueDocumentTranslations.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useRunDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/queries/useCollectionTranslationStatus.d.ts +7 -72
- package/dist/client/entities/translation/api/queries/useDocumentTranslation.d.ts +7 -72
- package/dist/client/entities/translation/index.d.ts +0 -1
- package/dist/client/entities/translation/model/enums.d.ts +0 -1
- package/dist/client/entities/translation/model/enums.js +3 -3
- package/dist/client/entities/translation/model/types.d.ts +0 -1
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/CompletedTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/FailedTranslationStatus/FailedTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/FailedTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/PendingTranslationStatus/PendingTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/PendingTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/RunningTranslationStatus/RunningTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/RunningTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/TranslationDirection/TranslationDirection.d.ts +1 -2
- package/dist/client/entities/translation/ui/TranslationDirection/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/index.client.d.ts +0 -1
- package/dist/client/features/collection-translation-form/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/constants.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/form-model.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/schema.d.ts +0 -1
- package/dist/client/features/collection-translation-form/ui/CollectionTranslationForm.d.ts +1 -2
- package/dist/client/features/collection-translation-form/ui/index.d.ts +0 -1
- package/dist/client/features/collection-translation-popup/index.d.ts +0 -1
- package/dist/client/features/collection-translation-popup/ui/CollectionTranslationPopup.d.ts +1 -2
- package/dist/client/features/collection-translation-progress/index.d.ts +0 -1
- package/dist/client/features/collection-translation-progress/ui/CollectionTranslationProgress.d.ts +1 -2
- package/dist/client/features/document-translation-progress-failed/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-failed/ui/DocumentTranslationProgressFailed.d.ts +1 -2
- package/dist/client/features/document-translation-progress-pending/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-pending/ui/DocumentTranslationProgressPending.d.ts +1 -2
- package/dist/client/features/document-translation-progress-running/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-running/ui/DocumentTranslationProgressRunning.d.ts +1 -2
- package/dist/client/features/open-document-translation-popup/index.d.ts +0 -1
- package/dist/client/features/open-document-translation-popup/ui/OpenDocumentTranslationPopup.d.ts +1 -2
- package/dist/client/features/translate-document-form/index.client.d.ts +0 -1
- package/dist/client/features/translate-document-form/index.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/constants.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/form-model.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/index.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/schema.d.ts +0 -1
- package/dist/client/features/translate-document-form/ui/DocumentTranslationForm.d.ts +1 -2
- package/dist/client/features/translate-document-form/ui/index.d.ts +0 -1
- package/dist/client/shared/lib/assets/icons/LanguageTranslateIcon.d.ts +1 -2
- package/dist/client/shared/lib/assets/icons/QuestionCircleIcon.d.ts +1 -2
- package/dist/client/shared/lib/assets/icons/ReloadIcon.d.ts +1 -2
- package/dist/client/shared/lib/errors/handleApiError.d.ts +0 -1
- package/dist/client/shared/lib/errors/handleApiError.js +3 -1
- package/dist/client/shared/lib/forms/handle-form-error.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useCollectionDashboardUrlParams.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useCollectionDocumentUrlParams.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useLocaleOptions.d.ts +0 -1
- package/dist/client/shared/lib/utils/errors/handleApiError.d.ts +0 -1
- package/dist/client/shared/lib/utils/errors/handleApiError.js +3 -1
- package/dist/client/shared/lib/utils/react/useToggle.d.ts +0 -1
- package/dist/client/shared/providers/CacheClientProvider/CacheClientProvider.factory.d.ts +0 -1
- package/dist/client/shared/providers/CacheClientProvider/index.d.ts +0 -1
- package/dist/client/shared/types/AccessGuard.d.ts +0 -1
- package/dist/client/shared/types/PayloadComponentExport.d.ts +0 -1
- package/dist/client/shared/ui/Alert/Alert.d.ts +0 -1
- package/dist/client/shared/ui/Alert/index.d.ts +0 -1
- package/dist/client/shared/ui/Button/Button.d.ts +0 -1
- package/dist/client/shared/ui/Button/index.d.ts +0 -1
- package/dist/client/shared/ui/Checkbox/Checkbox.d.ts +0 -1
- package/dist/client/shared/ui/Checkbox/index.d.ts +0 -1
- package/dist/client/shared/ui/ColorIndicator/ColorIndicator.d.ts +1 -2
- package/dist/client/shared/ui/ColorIndicator/index.d.ts +0 -1
- package/dist/client/shared/ui/Description/Description.d.ts +1 -2
- package/dist/client/shared/ui/Description/index.d.ts +0 -1
- package/dist/client/shared/ui/Divider/Divider.d.ts +0 -1
- package/dist/client/shared/ui/Divider/index.d.ts +0 -1
- package/dist/client/shared/ui/Label/Label.d.ts +0 -1
- package/dist/client/shared/ui/Label/index.d.ts +0 -1
- package/dist/client/shared/ui/Loading/Loading.d.ts +1 -2
- package/dist/client/shared/ui/Loading/index.d.ts +0 -1
- package/dist/client/shared/ui/Popup/Popup.d.ts +1 -2
- package/dist/client/shared/ui/Popup/index.d.ts +0 -1
- package/dist/client/shared/ui/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/client/shared/ui/ProgressBar/index.d.ts +0 -1
- package/dist/client/shared/ui/Select/Select.d.ts +2 -3
- package/dist/client/shared/ui/Select/index.d.ts +0 -1
- package/dist/client/shared/ui/StatusCounter/StatusCounter.d.ts +1 -2
- package/dist/client/shared/ui/StatusCounter/index.d.ts +0 -1
- package/dist/client/shared/ui/StatusIndicator/StatusIndicator.d.ts +1 -2
- package/dist/client/shared/ui/StatusIndicator/index.d.ts +0 -1
- package/dist/client/shared/ui/Tooltip/Tooltip.d.ts +1 -2
- package/dist/client/shared/ui/Tooltip/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormCheckbox/FormCheckbox.d.ts +1 -2
- package/dist/client/shared/ui/form/FormCheckbox/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormCheckboxPublish/FormCheckboxPublish.d.ts +1 -2
- package/dist/client/shared/ui/form/FormCheckboxPublish/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelect/FormSelect.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelect/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelectLocale/FormSelectLocale.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelectLocale/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelectStrategy/FormSelectStrategy.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelectStrategy/index.d.ts +0 -1
- package/dist/client/shared/utils/componentPath.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/index.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.d.ts +1 -2
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.js +2 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.server.d.ts +1 -2
- package/dist/client/widgets/bulk-translation-dashboard/ui/index.d.ts +0 -1
- package/dist/client/widgets/translate-document/index.d.ts +0 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.d.ts +1 -2
- package/dist/client/widgets/translate-document/ui/TranslateDocument.export.d.ts +0 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.export.js +2 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.server.d.ts +1 -2
- package/dist/client/widgets/translate-document/ui/index.d.ts +0 -1
- package/dist/field-config.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/plugin.d.ts +0 -1
- package/dist/server/features/_lib/collection-utils.d.ts +0 -1
- package/dist/server/features/_lib/index.d.ts +0 -1
- package/dist/server/features/cancel/handler.d.ts +0 -1
- package/dist/server/features/cancel/index.d.ts +0 -1
- package/dist/server/features/cancel/model.d.ts +0 -1
- package/dist/server/features/cancel/route.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/handler.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/index.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/model.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/route.d.ts +0 -1
- package/dist/server/features/enqueue-translation/handler.d.ts +0 -1
- package/dist/server/features/enqueue-translation/index.d.ts +0 -1
- package/dist/server/features/enqueue-translation/model.d.ts +0 -1
- package/dist/server/features/enqueue-translation/route.d.ts +0 -1
- package/dist/server/features/get-collection-status/handler.d.ts +0 -1
- package/dist/server/features/get-collection-status/index.d.ts +0 -1
- package/dist/server/features/get-collection-status/model.d.ts +0 -1
- package/dist/server/features/get-collection-status/route.d.ts +0 -1
- package/dist/server/features/get-document-status/handler.d.ts +0 -1
- package/dist/server/features/get-document-status/index.d.ts +0 -1
- package/dist/server/features/get-document-status/model.d.ts +0 -1
- package/dist/server/features/get-document-status/route.d.ts +0 -1
- package/dist/server/features/index.d.ts +0 -1
- package/dist/server/features/run-translation/handler.d.ts +0 -1
- package/dist/server/features/run-translation/index.d.ts +0 -1
- package/dist/server/features/run-translation/model.d.ts +0 -1
- package/dist/server/features/run-translation/route.d.ts +0 -1
- package/dist/server/features/translate-document/handler.d.ts +0 -1
- package/dist/server/features/translate-document/index.d.ts +0 -1
- package/dist/server/features/translate-document/model.d.ts +0 -1
- package/dist/server/features/translate-document/task.d.ts +0 -1
- package/dist/server/index.d.ts +0 -1
- package/dist/server/modules/index.d.ts +0 -1
- package/dist/server/modules/task-runner/TaskRunner.interface.d.ts +0 -1
- package/dist/server/modules/task-runner/TaskRunnerProvider.interface.d.ts +3 -4
- package/dist/server/modules/task-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/PayloadJobsRunnerProvider.d.ts +1 -2
- package/dist/server/modules/task-runner/payload-jobs-runner/PayloadJobsTaskRunner.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/normalizeJob.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/types.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/SyncRunnerProvider.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/SyncTaskRunner.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/types.d.ts +0 -1
- package/dist/server/modules/task-runner/types.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/TranslationPipeline.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/DataReconciler.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/DataReconciler.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.js +2 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/PlainTextExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/RichTextExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextChunkExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextChunkExpander.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextExpander.interface.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation/Translation.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/TranslationMutator.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/TranslationMutator.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/Overwrite.strategy.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/SkipExisting.strategy.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/TranslationStrategy.interface.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/FieldChunk.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/Pipeline.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/PipelineContext.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/TextChunk.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/index.d.ts +0 -1
- package/dist/server/modules/translation-providers/OpenAITranslation.provider.d.ts +1 -2
- package/dist/server/modules/translation-providers/TranslationProvider.interface.d.ts +0 -1
- package/dist/server/modules/translation-providers/index.d.ts +0 -1
- package/dist/server/shared/access/AnyAccessGuard.d.ts +0 -1
- package/dist/server/shared/access/handler.d.ts +1 -2
- package/dist/server/shared/access/index.d.ts +0 -1
- package/dist/server/shared/access/types.d.ts +0 -1
- package/dist/server/shared/field-config/getFieldConfig.d.ts +0 -1
- package/dist/server/shared/field-config/index.d.ts +0 -1
- package/dist/server/shared/field-config/types.d.ts +0 -1
- package/dist/server/shared/guards/collection-guards.d.ts +0 -1
- package/dist/server/shared/guards/field-guards.d.ts +0 -1
- package/dist/server/shared/guards/index.d.ts +0 -1
- package/dist/server/shared/http/ServerResponse.d.ts +0 -1
- package/dist/server/shared/http/index.d.ts +0 -1
- package/dist/server/shared/http/withAccessCheck.d.ts +0 -1
- package/dist/server/shared/http/withErrorHandler.d.ts +0 -1
- package/dist/server/shared/index.d.ts +0 -1
- package/dist/server/shared/lexical/collectTextNodes.d.ts +0 -1
- package/dist/server/shared/lexical/guards.d.ts +0 -1
- package/dist/server/shared/lexical/index.d.ts +0 -1
- package/dist/server/shared/lexical/isEmptyRichText.d.ts +0 -1
- package/dist/server/shared/lexical/traverseLexicalTree.d.ts +0 -1
- package/dist/server/shared/lexical/types.d.ts +0 -1
- package/dist/server/shared/utils/LazyMap.d.ts +0 -1
- package/dist/server/shared/utils/filterLocalizedFields.d.ts +0 -1
- package/dist/server/shared/utils/getByPath.d.ts +0 -1
- package/dist/server/shared/utils/index.d.ts +0 -1
- package/dist/server/shared/utils/isEmpty.d.ts +0 -1
- package/dist/server/shared/utils/isObject.d.ts +0 -1
- package/dist/server/shared/utils/normalizePath.d.ts +0 -1
- package/dist/server/shared/utils/pipe.d.ts +0 -1
- package/dist/server/shared/utils/setByPath.d.ts +0 -1
- package/dist/types/AccessGuard.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/package.json +33 -32
- package/dist/client/app/cache/CacheProvider.jsx +0 -11
- package/dist/client/app/config/TranslateKitConfigContext.jsx +0 -13
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/CompletedTranslationStatus.jsx +0 -25
- package/dist/client/entities/translation/ui/FailedTranslationStatus/FailedTranslationStatus.jsx +0 -24
- package/dist/client/entities/translation/ui/PendingTranslationStatus/PendingTranslationStatus.jsx +0 -38
- package/dist/client/entities/translation/ui/RunningTranslationStatus/RunningTranslationStatus.jsx +0 -32
- package/dist/client/entities/translation/ui/TranslationDirection/TranslationDirection.jsx +0 -16
- package/dist/client/features/collection-translation-form/ui/CollectionTranslationForm.jsx +0 -25
- package/dist/client/features/collection-translation-popup/ui/CollectionTranslationPopup.jsx +0 -23
- package/dist/client/features/collection-translation-progress/ui/CollectionTranslationProgress.jsx +0 -47
- package/dist/client/features/document-translation-progress-failed/ui/DocumentTranslationProgressFailed.jsx +0 -19
- package/dist/client/features/document-translation-progress-pending/ui/DocumentTranslationProgressPending.jsx +0 -34
- package/dist/client/features/document-translation-progress-running/ui/DocumentTranslationProgressRunning.jsx +0 -19
- package/dist/client/features/open-document-translation-popup/ui/OpenDocumentTranslationPopup.jsx +0 -15
- package/dist/client/features/translate-document-form/ui/DocumentTranslationForm.jsx +0 -24
- package/dist/client/shared/lib/assets/icons/LanguageTranslateIcon.jsx +0 -4
- package/dist/client/shared/lib/assets/icons/QuestionCircleIcon.jsx +0 -3
- package/dist/client/shared/lib/assets/icons/ReloadIcon.jsx +0 -3
- package/dist/client/shared/ui/Alert/Alert.jsx +0 -33
- package/dist/client/shared/ui/Button/Button.jsx +0 -35
- package/dist/client/shared/ui/Checkbox/Checkbox.jsx +0 -6
- package/dist/client/shared/ui/ColorIndicator/ColorIndicator.jsx +0 -7
- package/dist/client/shared/ui/Description/Description.jsx +0 -7
- package/dist/client/shared/ui/Divider/Divider.jsx +0 -7
- package/dist/client/shared/ui/Label/Label.jsx +0 -9
- package/dist/client/shared/ui/Loading/Loading.jsx +0 -11
- package/dist/client/shared/ui/Popup/Popup.jsx +0 -13
- package/dist/client/shared/ui/ProgressBar/ProgressBar.jsx +0 -11
- package/dist/client/shared/ui/Select/Select.jsx +0 -41
- package/dist/client/shared/ui/StatusCounter/StatusCounter.jsx +0 -26
- package/dist/client/shared/ui/StatusIndicator/StatusIndicator.jsx +0 -10
- package/dist/client/shared/ui/Tooltip/Tooltip.jsx +0 -16
- package/dist/client/shared/ui/form/FormCheckbox/FormCheckbox.jsx +0 -24
- package/dist/client/shared/ui/form/FormCheckboxPublish/FormCheckboxPublish.jsx +0 -21
- package/dist/client/shared/ui/form/FormSelect/FormSelect.jsx +0 -44
- package/dist/client/shared/ui/form/FormSelectLocale/FormSelectLocale.jsx +0 -6
- package/dist/client/shared/ui/form/FormSelectStrategy/FormSelectStrategy.jsx +0 -25
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.jsx +0 -11
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.jsx +0 -55
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.server.jsx +0 -17
- package/dist/client/widgets/translate-document/ui/TranslateDocument.jsx +0 -55
- package/dist/client/widgets/translate-document/ui/TranslateDocument.server.jsx +0 -16
- package/dist/vitest-env.d.js +0 -3
package/README.md
CHANGED
|
@@ -16,12 +16,15 @@ Translation plugin for Payload CMS 3.x. Automatically translate your localized c
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
# pnpm
|
|
20
|
-
pnpm add @focus-reactive/payload-plugin-translator
|
|
21
|
-
|
|
22
19
|
# npm
|
|
23
20
|
npm install @focus-reactive/payload-plugin-translator
|
|
24
21
|
|
|
22
|
+
# bun
|
|
23
|
+
bun add @focus-reactive/payload-plugin-translator
|
|
24
|
+
|
|
25
|
+
# pnpm
|
|
26
|
+
pnpm add @focus-reactive/payload-plugin-translator
|
|
27
|
+
|
|
25
28
|
# yarn
|
|
26
29
|
yarn add @focus-reactive/payload-plugin-translator
|
|
27
30
|
```
|
|
@@ -2,6 +2,5 @@ import type { PropsWithChildren } from 'react';
|
|
|
2
2
|
type CacheProviderProps = PropsWithChildren<{
|
|
3
3
|
basePath?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare function CacheProvider({ basePath, children }: CacheProviderProps): import("react").JSX.Element;
|
|
5
|
+
export declare function CacheProvider({ basePath, children }: CacheProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default CacheProvider;
|
|
7
|
-
//# sourceMappingURL=CacheProvider.d.ts.map
|
|
@@ -3,7 +3,6 @@ type TranslateKitConfig = {
|
|
|
3
3
|
basePath: string;
|
|
4
4
|
};
|
|
5
5
|
export type TranslateKitConfigProviderProps = PropsWithChildren<Partial<TranslateKitConfig>>;
|
|
6
|
-
export declare function TranslateKitConfigProvider({ basePath, children, }: TranslateKitConfigProviderProps): import("react").JSX.Element;
|
|
6
|
+
export declare function TranslateKitConfigProvider({ basePath, children, }: TranslateKitConfigProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare function useTranslateKitConfig(): TranslateKitConfig;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=TranslateKitConfigContext.d.ts.map
|
|
@@ -12,11 +12,9 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
12
12
|
error: Error;
|
|
13
13
|
isError: true;
|
|
14
14
|
isPending: false;
|
|
15
|
-
isLoading: false;
|
|
16
15
|
isLoadingError: false;
|
|
17
16
|
isRefetchError: true;
|
|
18
17
|
isSuccess: false;
|
|
19
|
-
isPlaceholderData: false;
|
|
20
18
|
status: "error";
|
|
21
19
|
dataUpdatedAt: number;
|
|
22
20
|
errorUpdatedAt: number;
|
|
@@ -26,25 +24,23 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
26
24
|
isFetched: boolean;
|
|
27
25
|
isFetchedAfterMount: boolean;
|
|
28
26
|
isFetching: boolean;
|
|
27
|
+
isLoading: boolean;
|
|
29
28
|
isInitialLoading: boolean;
|
|
30
29
|
isPaused: boolean;
|
|
30
|
+
isPlaceholderData: boolean;
|
|
31
31
|
isRefetching: boolean;
|
|
32
32
|
isStale: boolean;
|
|
33
|
-
isEnabled: boolean;
|
|
34
33
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
35
34
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
36
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
37
35
|
} | {
|
|
38
36
|
invalidate: () => void;
|
|
39
37
|
data: GroupedCollectionTranslationStatus;
|
|
40
38
|
error: null;
|
|
41
39
|
isError: false;
|
|
42
40
|
isPending: false;
|
|
43
|
-
isLoading: false;
|
|
44
41
|
isLoadingError: false;
|
|
45
42
|
isRefetchError: false;
|
|
46
43
|
isSuccess: true;
|
|
47
|
-
isPlaceholderData: false;
|
|
48
44
|
status: "success";
|
|
49
45
|
dataUpdatedAt: number;
|
|
50
46
|
errorUpdatedAt: number;
|
|
@@ -54,25 +50,23 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
54
50
|
isFetched: boolean;
|
|
55
51
|
isFetchedAfterMount: boolean;
|
|
56
52
|
isFetching: boolean;
|
|
53
|
+
isLoading: boolean;
|
|
57
54
|
isInitialLoading: boolean;
|
|
58
55
|
isPaused: boolean;
|
|
56
|
+
isPlaceholderData: boolean;
|
|
59
57
|
isRefetching: boolean;
|
|
60
58
|
isStale: boolean;
|
|
61
|
-
isEnabled: boolean;
|
|
62
59
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
63
60
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
64
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
65
61
|
} | {
|
|
66
62
|
invalidate: () => void;
|
|
67
63
|
data: undefined;
|
|
68
64
|
error: Error;
|
|
69
65
|
isError: true;
|
|
70
66
|
isPending: false;
|
|
71
|
-
isLoading: false;
|
|
72
67
|
isLoadingError: true;
|
|
73
68
|
isRefetchError: false;
|
|
74
69
|
isSuccess: false;
|
|
75
|
-
isPlaceholderData: false;
|
|
76
70
|
status: "error";
|
|
77
71
|
dataUpdatedAt: number;
|
|
78
72
|
errorUpdatedAt: number;
|
|
@@ -82,42 +76,14 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
82
76
|
isFetched: boolean;
|
|
83
77
|
isFetchedAfterMount: boolean;
|
|
84
78
|
isFetching: boolean;
|
|
79
|
+
isLoading: boolean;
|
|
85
80
|
isInitialLoading: boolean;
|
|
86
81
|
isPaused: boolean;
|
|
82
|
+
isPlaceholderData: boolean;
|
|
87
83
|
isRefetching: boolean;
|
|
88
84
|
isStale: boolean;
|
|
89
|
-
isEnabled: boolean;
|
|
90
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
91
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
92
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
93
|
-
} | {
|
|
94
|
-
invalidate: () => void;
|
|
95
|
-
data: undefined;
|
|
96
|
-
error: null;
|
|
97
|
-
isError: false;
|
|
98
|
-
isPending: true;
|
|
99
|
-
isLoading: true;
|
|
100
|
-
isLoadingError: false;
|
|
101
|
-
isRefetchError: false;
|
|
102
|
-
isSuccess: false;
|
|
103
|
-
isPlaceholderData: false;
|
|
104
|
-
status: "pending";
|
|
105
|
-
dataUpdatedAt: number;
|
|
106
|
-
errorUpdatedAt: number;
|
|
107
|
-
failureCount: number;
|
|
108
|
-
failureReason: Error | null;
|
|
109
|
-
errorUpdateCount: number;
|
|
110
|
-
isFetched: boolean;
|
|
111
|
-
isFetchedAfterMount: boolean;
|
|
112
|
-
isFetching: boolean;
|
|
113
|
-
isInitialLoading: boolean;
|
|
114
|
-
isPaused: boolean;
|
|
115
|
-
isRefetching: boolean;
|
|
116
|
-
isStale: boolean;
|
|
117
|
-
isEnabled: boolean;
|
|
118
85
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
119
86
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
120
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
121
87
|
} | {
|
|
122
88
|
invalidate: () => void;
|
|
123
89
|
data: undefined;
|
|
@@ -127,7 +93,6 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
127
93
|
isLoadingError: false;
|
|
128
94
|
isRefetchError: false;
|
|
129
95
|
isSuccess: false;
|
|
130
|
-
isPlaceholderData: false;
|
|
131
96
|
status: "pending";
|
|
132
97
|
dataUpdatedAt: number;
|
|
133
98
|
errorUpdatedAt: number;
|
|
@@ -140,40 +105,10 @@ export declare function useCollectionTranslationStatus({ collection }: Props, op
|
|
|
140
105
|
isLoading: boolean;
|
|
141
106
|
isInitialLoading: boolean;
|
|
142
107
|
isPaused: boolean;
|
|
108
|
+
isPlaceholderData: boolean;
|
|
143
109
|
isRefetching: boolean;
|
|
144
110
|
isStale: boolean;
|
|
145
|
-
isEnabled: boolean;
|
|
146
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
147
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
148
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
149
|
-
} | {
|
|
150
|
-
invalidate: () => void;
|
|
151
|
-
data: GroupedCollectionTranslationStatus;
|
|
152
|
-
isError: false;
|
|
153
|
-
error: null;
|
|
154
|
-
isPending: false;
|
|
155
|
-
isLoading: false;
|
|
156
|
-
isLoadingError: false;
|
|
157
|
-
isRefetchError: false;
|
|
158
|
-
isSuccess: true;
|
|
159
|
-
isPlaceholderData: true;
|
|
160
|
-
status: "success";
|
|
161
|
-
dataUpdatedAt: number;
|
|
162
|
-
errorUpdatedAt: number;
|
|
163
|
-
failureCount: number;
|
|
164
|
-
failureReason: Error | null;
|
|
165
|
-
errorUpdateCount: number;
|
|
166
|
-
isFetched: boolean;
|
|
167
|
-
isFetchedAfterMount: boolean;
|
|
168
|
-
isFetching: boolean;
|
|
169
|
-
isInitialLoading: boolean;
|
|
170
|
-
isPaused: boolean;
|
|
171
|
-
isRefetching: boolean;
|
|
172
|
-
isStale: boolean;
|
|
173
|
-
isEnabled: boolean;
|
|
174
111
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<GroupedCollectionTranslationStatus, Error>>;
|
|
175
112
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
176
|
-
promise: Promise<GroupedCollectionTranslationStatus>;
|
|
177
113
|
};
|
|
178
114
|
export {};
|
|
179
|
-
//# sourceMappingURL=useCollectionTranslationStatus.d.ts.map
|
|
@@ -13,11 +13,9 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
13
13
|
error: Error;
|
|
14
14
|
isError: true;
|
|
15
15
|
isPending: false;
|
|
16
|
-
isLoading: false;
|
|
17
16
|
isLoadingError: false;
|
|
18
17
|
isRefetchError: true;
|
|
19
18
|
isSuccess: false;
|
|
20
|
-
isPlaceholderData: false;
|
|
21
19
|
status: "error";
|
|
22
20
|
dataUpdatedAt: number;
|
|
23
21
|
errorUpdatedAt: number;
|
|
@@ -27,25 +25,23 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
27
25
|
isFetched: boolean;
|
|
28
26
|
isFetchedAfterMount: boolean;
|
|
29
27
|
isFetching: boolean;
|
|
28
|
+
isLoading: boolean;
|
|
30
29
|
isInitialLoading: boolean;
|
|
31
30
|
isPaused: boolean;
|
|
31
|
+
isPlaceholderData: boolean;
|
|
32
32
|
isRefetching: boolean;
|
|
33
33
|
isStale: boolean;
|
|
34
|
-
isEnabled: boolean;
|
|
35
34
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
36
35
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
37
|
-
promise: Promise<DocumentTranslation>;
|
|
38
36
|
} | {
|
|
39
37
|
invalidate: () => void;
|
|
40
38
|
data: DocumentTranslation;
|
|
41
39
|
error: null;
|
|
42
40
|
isError: false;
|
|
43
41
|
isPending: false;
|
|
44
|
-
isLoading: false;
|
|
45
42
|
isLoadingError: false;
|
|
46
43
|
isRefetchError: false;
|
|
47
44
|
isSuccess: true;
|
|
48
|
-
isPlaceholderData: false;
|
|
49
45
|
status: "success";
|
|
50
46
|
dataUpdatedAt: number;
|
|
51
47
|
errorUpdatedAt: number;
|
|
@@ -55,25 +51,23 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
55
51
|
isFetched: boolean;
|
|
56
52
|
isFetchedAfterMount: boolean;
|
|
57
53
|
isFetching: boolean;
|
|
54
|
+
isLoading: boolean;
|
|
58
55
|
isInitialLoading: boolean;
|
|
59
56
|
isPaused: boolean;
|
|
57
|
+
isPlaceholderData: boolean;
|
|
60
58
|
isRefetching: boolean;
|
|
61
59
|
isStale: boolean;
|
|
62
|
-
isEnabled: boolean;
|
|
63
60
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
64
61
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
65
|
-
promise: Promise<DocumentTranslation>;
|
|
66
62
|
} | {
|
|
67
63
|
invalidate: () => void;
|
|
68
64
|
data: undefined;
|
|
69
65
|
error: Error;
|
|
70
66
|
isError: true;
|
|
71
67
|
isPending: false;
|
|
72
|
-
isLoading: false;
|
|
73
68
|
isLoadingError: true;
|
|
74
69
|
isRefetchError: false;
|
|
75
70
|
isSuccess: false;
|
|
76
|
-
isPlaceholderData: false;
|
|
77
71
|
status: "error";
|
|
78
72
|
dataUpdatedAt: number;
|
|
79
73
|
errorUpdatedAt: number;
|
|
@@ -83,42 +77,14 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
83
77
|
isFetched: boolean;
|
|
84
78
|
isFetchedAfterMount: boolean;
|
|
85
79
|
isFetching: boolean;
|
|
80
|
+
isLoading: boolean;
|
|
86
81
|
isInitialLoading: boolean;
|
|
87
82
|
isPaused: boolean;
|
|
83
|
+
isPlaceholderData: boolean;
|
|
88
84
|
isRefetching: boolean;
|
|
89
85
|
isStale: boolean;
|
|
90
|
-
isEnabled: boolean;
|
|
91
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
92
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
93
|
-
promise: Promise<DocumentTranslation>;
|
|
94
|
-
} | {
|
|
95
|
-
invalidate: () => void;
|
|
96
|
-
data: undefined;
|
|
97
|
-
error: null;
|
|
98
|
-
isError: false;
|
|
99
|
-
isPending: true;
|
|
100
|
-
isLoading: true;
|
|
101
|
-
isLoadingError: false;
|
|
102
|
-
isRefetchError: false;
|
|
103
|
-
isSuccess: false;
|
|
104
|
-
isPlaceholderData: false;
|
|
105
|
-
status: "pending";
|
|
106
|
-
dataUpdatedAt: number;
|
|
107
|
-
errorUpdatedAt: number;
|
|
108
|
-
failureCount: number;
|
|
109
|
-
failureReason: Error | null;
|
|
110
|
-
errorUpdateCount: number;
|
|
111
|
-
isFetched: boolean;
|
|
112
|
-
isFetchedAfterMount: boolean;
|
|
113
|
-
isFetching: boolean;
|
|
114
|
-
isInitialLoading: boolean;
|
|
115
|
-
isPaused: boolean;
|
|
116
|
-
isRefetching: boolean;
|
|
117
|
-
isStale: boolean;
|
|
118
|
-
isEnabled: boolean;
|
|
119
86
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
120
87
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
121
|
-
promise: Promise<DocumentTranslation>;
|
|
122
88
|
} | {
|
|
123
89
|
invalidate: () => void;
|
|
124
90
|
data: undefined;
|
|
@@ -128,7 +94,6 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
128
94
|
isLoadingError: false;
|
|
129
95
|
isRefetchError: false;
|
|
130
96
|
isSuccess: false;
|
|
131
|
-
isPlaceholderData: false;
|
|
132
97
|
status: "pending";
|
|
133
98
|
dataUpdatedAt: number;
|
|
134
99
|
errorUpdatedAt: number;
|
|
@@ -141,40 +106,10 @@ export declare function useDocumentTranslation({ collection, id }: Props, option
|
|
|
141
106
|
isLoading: boolean;
|
|
142
107
|
isInitialLoading: boolean;
|
|
143
108
|
isPaused: boolean;
|
|
109
|
+
isPlaceholderData: boolean;
|
|
144
110
|
isRefetching: boolean;
|
|
145
111
|
isStale: boolean;
|
|
146
|
-
isEnabled: boolean;
|
|
147
|
-
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
148
|
-
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
149
|
-
promise: Promise<DocumentTranslation>;
|
|
150
|
-
} | {
|
|
151
|
-
invalidate: () => void;
|
|
152
|
-
data: DocumentTranslation;
|
|
153
|
-
isError: false;
|
|
154
|
-
error: null;
|
|
155
|
-
isPending: false;
|
|
156
|
-
isLoading: false;
|
|
157
|
-
isLoadingError: false;
|
|
158
|
-
isRefetchError: false;
|
|
159
|
-
isSuccess: true;
|
|
160
|
-
isPlaceholderData: true;
|
|
161
|
-
status: "success";
|
|
162
|
-
dataUpdatedAt: number;
|
|
163
|
-
errorUpdatedAt: number;
|
|
164
|
-
failureCount: number;
|
|
165
|
-
failureReason: Error | null;
|
|
166
|
-
errorUpdateCount: number;
|
|
167
|
-
isFetched: boolean;
|
|
168
|
-
isFetchedAfterMount: boolean;
|
|
169
|
-
isFetching: boolean;
|
|
170
|
-
isInitialLoading: boolean;
|
|
171
|
-
isPaused: boolean;
|
|
172
|
-
isRefetching: boolean;
|
|
173
|
-
isStale: boolean;
|
|
174
|
-
isEnabled: boolean;
|
|
175
112
|
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<DocumentTranslation, Error>>;
|
|
176
113
|
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
177
|
-
promise: Promise<DocumentTranslation>;
|
|
178
114
|
};
|
|
179
115
|
export {};
|
|
180
|
-
//# sourceMappingURL=useDocumentTranslation.d.ts.map
|
|
@@ -18,4 +18,3 @@ export declare const TranslationsApi: {
|
|
|
18
18
|
export { PendingTranslationStatus } from './ui/PendingTranslationStatus';
|
|
19
19
|
export type { DocumentTranslation, DocumentTranslationCompleted, DocumentTranslationFailed, DocumentTranslationPending, DocumentTranslationRunning, CollectionTranslationStatus, CollectionTranslationStatusItem, GroupedCollectionTranslationStatus, } from './model/types';
|
|
20
20
|
export { DocumentTranslationStatus } from './model/enums';
|
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export var DocumentTranslationStatus
|
|
1
|
+
export var DocumentTranslationStatus;
|
|
2
|
+
(function(DocumentTranslationStatus) {
|
|
2
3
|
DocumentTranslationStatus["PENDING"] = "pending";
|
|
3
4
|
DocumentTranslationStatus["FAILED"] = "failed";
|
|
4
5
|
DocumentTranslationStatus["RUNNING"] = "running";
|
|
5
6
|
DocumentTranslationStatus["COMPLETED"] = "completed";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(DocumentTranslationStatus || (DocumentTranslationStatus = {}));
|
|
8
8
|
|
|
9
9
|
//# sourceMappingURL=enums.js.map
|
|
@@ -3,6 +3,5 @@ type CompletedTranslationStatusProps = {
|
|
|
3
3
|
sourceLocale: string;
|
|
4
4
|
targetLocale: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function CompletedTranslationStatus({ completed_at, sourceLocale, targetLocale, }: CompletedTranslationStatusProps): import("react").JSX.Element;
|
|
6
|
+
export declare function CompletedTranslationStatus({ completed_at, sourceLocale, targetLocale, }: CompletedTranslationStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
|
-
//# sourceMappingURL=CompletedTranslationStatus.d.ts.map
|
package/dist/client/entities/translation/ui/FailedTranslationStatus/FailedTranslationStatus.d.ts
CHANGED
|
@@ -5,6 +5,5 @@ type FailedTranslationStatusProps = {
|
|
|
5
5
|
isLoading?: boolean;
|
|
6
6
|
onRetry: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare function FailedTranslationStatus({ onRetry, message, isLoading, sourceLocale, targetLocale, }: FailedTranslationStatusProps): import("react").JSX.Element;
|
|
8
|
+
export declare function FailedTranslationStatus({ onRetry, message, isLoading, sourceLocale, targetLocale, }: FailedTranslationStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
|
-
//# sourceMappingURL=FailedTranslationStatus.d.ts.map
|
package/dist/client/entities/translation/ui/PendingTranslationStatus/PendingTranslationStatus.d.ts
CHANGED
|
@@ -7,6 +7,5 @@ type TranslationStatusProps = {
|
|
|
7
7
|
targetLocale: string;
|
|
8
8
|
createdAt: string;
|
|
9
9
|
};
|
|
10
|
-
export declare function PendingTranslationStatus({ onCancel, onRun, isLoading, disabled, sourceLocale, targetLocale, createdAt, }: TranslationStatusProps): import("react").JSX.Element;
|
|
10
|
+
export declare function PendingTranslationStatus({ onCancel, onRun, isLoading, disabled, sourceLocale, targetLocale, createdAt, }: TranslationStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=PendingTranslationStatus.d.ts.map
|
package/dist/client/entities/translation/ui/RunningTranslationStatus/RunningTranslationStatus.d.ts
CHANGED
|
@@ -6,6 +6,5 @@ type TranslationStatusProps = {
|
|
|
6
6
|
targetLocale: string;
|
|
7
7
|
createdAt: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function RunningTranslationStatus({ onCancel, isLoading, disabled, sourceLocale, targetLocale, createdAt, }: TranslationStatusProps): import("react").JSX.Element;
|
|
9
|
+
export declare function RunningTranslationStatus({ onCancel, isLoading, disabled, sourceLocale, targetLocale, createdAt, }: TranslationStatusProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=RunningTranslationStatus.d.ts.map
|
|
@@ -3,6 +3,5 @@ interface TranslationDirectionProps {
|
|
|
3
3
|
targetLocale: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const TranslationDirection: ({ sourceLocale, targetLocale, className }: TranslationDirectionProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const TranslationDirection: ({ sourceLocale, targetLocale, className }: TranslationDirectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
|
-
//# sourceMappingURL=TranslationDirection.d.ts.map
|
|
@@ -6,6 +6,5 @@ type CollectionTranslationFormProps = {
|
|
|
6
6
|
selectedCount: number;
|
|
7
7
|
hasDrafts: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function CollectionTranslationForm({ form, onSubmit, selectedCount, hasDrafts, }: CollectionTranslationFormProps): import("react").JSX.Element;
|
|
9
|
+
export declare function CollectionTranslationForm({ form, onSubmit, selectedCount, hasDrafts, }: CollectionTranslationFormProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=CollectionTranslationForm.d.ts.map
|
package/dist/client/features/collection-translation-popup/ui/CollectionTranslationPopup.d.ts
CHANGED
|
@@ -3,6 +3,5 @@ type CollectionTranslationPopupProps = PropsWithChildren<{
|
|
|
3
3
|
translationInProgress: boolean;
|
|
4
4
|
selectedCount: number;
|
|
5
5
|
}>;
|
|
6
|
-
declare function CollectionTranslationPopup({ children, translationInProgress, selectedCount, }: CollectionTranslationPopupProps): import("react").JSX.Element;
|
|
6
|
+
declare function CollectionTranslationPopup({ children, translationInProgress, selectedCount, }: CollectionTranslationPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default CollectionTranslationPopup;
|
|
8
|
-
//# sourceMappingURL=CollectionTranslationPopup.d.ts.map
|
package/dist/client/features/collection-translation-progress/ui/CollectionTranslationProgress.d.ts
CHANGED
|
@@ -4,6 +4,5 @@ type CollectionTranslationProgressProps = {
|
|
|
4
4
|
data: GroupedCollectionTranslationStatus | undefined;
|
|
5
5
|
isPending: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare function CollectionTranslationProgress({ collection, data, isPending }: CollectionTranslationProgressProps): import("react").JSX.Element;
|
|
7
|
+
export declare function CollectionTranslationProgress({ collection, data, isPending }: CollectionTranslationProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=CollectionTranslationProgress.d.ts.map
|
|
@@ -2,6 +2,5 @@ import type { DocumentTranslationFailed } from '../../../entities/translation';
|
|
|
2
2
|
type DocumentTranslationProgressFailedProps = {
|
|
3
3
|
data: DocumentTranslationFailed;
|
|
4
4
|
};
|
|
5
|
-
export declare function DocumentTranslationProgressFailed({ data }: DocumentTranslationProgressFailedProps): import("react").JSX.Element;
|
|
5
|
+
export declare function DocumentTranslationProgressFailed({ data }: DocumentTranslationProgressFailedProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=DocumentTranslationProgressFailed.d.ts.map
|
|
@@ -2,6 +2,5 @@ import type { DocumentTranslationPending } from '../../../entities/translation';
|
|
|
2
2
|
type DocumentTranslationProgressPendingProps = {
|
|
3
3
|
data: DocumentTranslationPending;
|
|
4
4
|
};
|
|
5
|
-
export declare function DocumentTranslationProgressPending({ data }: DocumentTranslationProgressPendingProps): import("react").JSX.Element;
|
|
5
|
+
export declare function DocumentTranslationProgressPending({ data }: DocumentTranslationProgressPendingProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=DocumentTranslationProgressPending.d.ts.map
|
|
@@ -2,6 +2,5 @@ import type { DocumentTranslationRunning } from '../../../entities/translation';
|
|
|
2
2
|
type DocumentTranslationProgressRunningProps = {
|
|
3
3
|
data: DocumentTranslationRunning;
|
|
4
4
|
};
|
|
5
|
-
export declare function DocumentTranslationProgressRunning({ data }: DocumentTranslationProgressRunningProps): import("react").JSX.Element;
|
|
5
|
+
export declare function DocumentTranslationProgressRunning({ data }: DocumentTranslationProgressRunningProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=DocumentTranslationProgressRunning.d.ts.map
|
package/dist/client/features/open-document-translation-popup/ui/OpenDocumentTranslationPopup.d.ts
CHANGED
|
@@ -5,6 +5,5 @@ type OpenDocumentTranslationPopupProps = {
|
|
|
5
5
|
close: () => void;
|
|
6
6
|
}) => ReactNode;
|
|
7
7
|
};
|
|
8
|
-
declare function OpenDocumentTranslationPopup({ children, isLoading }: OpenDocumentTranslationPopupProps): import("react").JSX.Element;
|
|
8
|
+
declare function OpenDocumentTranslationPopup({ children, isLoading }: OpenDocumentTranslationPopupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default OpenDocumentTranslationPopup;
|
|
10
|
-
//# sourceMappingURL=OpenDocumentTranslationPopup.d.ts.map
|