@jumoo/translate 17.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/client/client.gen.d.ts +2 -0
- package/dist/api/client/index.d.ts +10 -0
- package/dist/api/client/types.gen.d.ts +120 -0
- package/dist/api/client/utils.gen.d.ts +37 -0
- package/dist/api/client.gen.d.ts +12 -0
- package/dist/api/core/auth.gen.d.ts +25 -0
- package/dist/api/core/bodySerializer.gen.d.ts +25 -0
- package/dist/api/core/params.gen.d.ts +43 -0
- package/dist/api/core/pathSerializer.gen.d.ts +33 -0
- package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/api/core/types.gen.d.ts +83 -0
- package/dist/api/core/utils.gen.d.ts +19 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/sdk.gen.d.ts +156 -0
- package/dist/api/types.gen.d.ts +3259 -0
- package/dist/components/elements/models.d.ts +33 -0
- package/dist/components/elements/types.d.ts +14 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/table/paged-table.element.d.ts +64 -0
- package/dist/components/table/translation-table-linked-item.d.ts +14 -0
- package/dist/components/translate-body-layout.element.d.ts +13 -0
- package/dist/components/translate-box.element.d.ts +15 -0
- package/dist/components/translate-property-layout.d.ts +18 -0
- package/dist/components/translation-empty-state.d.ts +14 -0
- package/dist/components/translation-language-card.d.ts +17 -0
- package/dist/components/translation-licence-box.element.d.ts +13 -0
- package/dist/components/translation-summary-card.d.ts +17 -0
- package/dist/conditions/manifest.d.ts +1 -0
- package/dist/conditions/selected-nodes.condition.d.ts +8 -0
- package/dist/conditions/sent-to-translate.condition.d.ts +10 -0
- package/dist/conditions/simple-translate.condition.d.ts +12 -0
- package/dist/connectors/components/connector-mapping.element.d.ts +21 -0
- package/dist/connectors/components/index.d.ts +1 -0
- package/dist/connectors/defaults/connector-config-default.element.d.ts +6 -0
- package/dist/connectors/defaults/connector-job-default.element.d.ts +6 -0
- package/dist/connectors/defaults/connector-pending-default.element.d.ts +6 -0
- package/dist/connectors/defaults/manifest.d.ts +2 -0
- package/dist/connectors/index.d.ts +3 -0
- package/dist/connectors/manifest.d.ts +1 -0
- package/dist/connectors/repository/connector-repository.d.ts +11 -0
- package/dist/connectors/types.d.ts +10 -0
- package/dist/constants.d.ts +26 -0
- package/dist/content/actions/manifest.d.ts +1 -0
- package/dist/content/actions/translate.action.d.ts +8 -0
- package/dist/content/actions/translate.footer-app.d.ts +14 -0
- package/dist/content/bulk/bulk-selection.context.d.ts +26 -0
- package/dist/content/bulk/bulk-translation-dashboard.element.d.ts +20 -0
- package/dist/content/bulk/manifest.d.ts +1 -0
- package/dist/content/components/document-sets.element.d.ts +15 -0
- package/dist/content/components/document-stats.element.d.ts +15 -0
- package/dist/content/components/document-translations.element.d.ts +29 -0
- package/dist/content/components/index.d.ts +4 -0
- package/dist/content/components/simple-translate.element.d.ts +18 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/manifest.d.ts +1 -0
- package/dist/content/translation-view.context.d.ts +28 -0
- package/dist/content/translation-view.element.d.ts +11 -0
- package/dist/exports.d.ts +8 -0
- package/dist/glossary/components/glossary-export.modal.d.ts +13 -0
- package/dist/glossary/components/glossary-export.modal.token.d.ts +11 -0
- package/dist/glossary/components/glossary-import.modal.d.ts +16 -0
- package/dist/glossary/components/glossary-import.modal.token.d.ts +11 -0
- package/dist/glossary/components/glossary-term-edit.modal.d.ts +14 -0
- package/dist/glossary/components/glossary-term-edit.modal.token.d.ts +15 -0
- package/dist/glossary/components/manifest.d.ts +2 -0
- package/dist/glossary/conditions/glossary-enabled.condition.d.ts +31 -0
- package/dist/glossary/conditions/manifest.d.ts +1 -0
- package/dist/glossary/constants.d.ts +4 -0
- package/dist/glossary/manifest.d.ts +1 -0
- package/dist/glossary/menu/manifest.d.ts +1 -0
- package/dist/glossary/repository/glossary.repository.d.ts +65 -0
- package/dist/glossary/repository/index.d.ts +2 -0
- package/dist/glossary/workspace/manifest.d.ts +1 -0
- package/dist/glossary/workspace/views/default.element.d.ts +22 -0
- package/dist/glossary/workspace/workspace.context.d.ts +25 -0
- package/dist/glossary/workspace/workspace.element.d.ts +6 -0
- package/dist/hey-api.d.ts +11 -0
- package/dist/icons/icons.d.ts +5 -0
- package/dist/icons/manifest.d.ts +1 -0
- package/dist/icons/svgs/translate.d.ts +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/jobs/components/index.d.ts +8 -0
- package/dist/jobs/components/job-copyproperties.element.d.ts +15 -0
- package/dist/jobs/components/job-item-table.element.d.ts +19 -0
- package/dist/jobs/components/job-list-selection.element.d.ts +17 -0
- package/dist/jobs/components/job-list-table.element.d.ts +18 -0
- package/dist/jobs/components/job-processing-bar.element.d.ts +14 -0
- package/dist/jobs/components/job-provider-view.element.d.ts +21 -0
- package/dist/jobs/components/job-status-badge.d.ts +13 -0
- package/dist/jobs/components/job-status-bar.element.d.ts +14 -0
- package/dist/jobs/jobs.repository.d.ts +35 -0
- package/dist/jobs/manifest.d.ts +1 -0
- package/dist/jobs/styles.d.ts +1 -0
- package/dist/jobs/tranlsation-job.helpers.d.ts +10 -0
- package/dist/jobs/types.d.ts +2 -0
- package/dist/jobs/workspace/actions/job-approve-blocked.footer-app.d.ts +21 -0
- package/dist/jobs/workspace/actions/job-approve.action.d.ts +8 -0
- package/dist/jobs/workspace/actions/job-cancel.action.d.ts +5 -0
- package/dist/jobs/workspace/actions/job-check.action.d.ts +5 -0
- package/dist/jobs/workspace/actions/job-remove.action.d.ts +5 -0
- package/dist/jobs/workspace/actions/job-reset.action.d.ts +5 -0
- package/dist/jobs/workspace/actions/manifest.d.ts +1 -0
- package/dist/jobs/workspace/conditions/can-approve.condition.d.ts +22 -0
- package/dist/jobs/workspace/conditions/job-status.condition.d.ts +14 -0
- package/dist/jobs/workspace/conditions/manifest.d.ts +1 -0
- package/dist/jobs/workspace/manifest.d.ts +1 -0
- package/dist/jobs/workspace/translation-job-element.d.ts +10 -0
- package/dist/jobs/workspace/translation-job-workspace.context.d.ts +37 -0
- package/dist/jobs/workspace/views/default-job-view.element.d.ts +20 -0
- package/dist/jobs/workspace/views/job-history-view.element.d.ts +11 -0
- package/dist/lang/files/da/actionCategories.da.d.ts +5 -0
- package/dist/lang/files/da/da.d.ts +377 -0
- package/dist/lang/files/da/tm.da.d.ts +31 -0
- package/dist/lang/files/da/tmApp.da.d.ts +16 -0
- package/dist/lang/files/da/tmApproval.da.d.ts +7 -0
- package/dist/lang/files/da/tmConnectors.da.d.ts +16 -0
- package/dist/lang/files/da/tmJob.da.d.ts +87 -0
- package/dist/lang/files/da/tmLicence.da.d.ts +27 -0
- package/dist/lang/files/da/tmMemory.da.d.ts +48 -0
- package/dist/lang/files/da/tmSets.da.d.ts +89 -0
- package/dist/lang/files/da/tmSettings.da.d.ts +46 -0
- package/dist/lang/files/da/tmStages.da.d.ts +17 -0
- package/dist/lang/files/da/tmStats.da.d.ts +9 -0
- package/dist/lang/files/de/actionCategories.de.d.ts +5 -0
- package/dist/lang/files/de/de.d.ts +377 -0
- package/dist/lang/files/de/tm.de.d.ts +31 -0
- package/dist/lang/files/de/tmApp.de.d.ts +16 -0
- package/dist/lang/files/de/tmApproval.de.d.ts +7 -0
- package/dist/lang/files/de/tmConnectors.de.d.ts +16 -0
- package/dist/lang/files/de/tmJob.de.d.ts +87 -0
- package/dist/lang/files/de/tmLicence.de.d.ts +27 -0
- package/dist/lang/files/de/tmMemory.de.d.ts +48 -0
- package/dist/lang/files/de/tmSets.de.d.ts +89 -0
- package/dist/lang/files/de/tmSettings.de.d.ts +46 -0
- package/dist/lang/files/de/tmStages.de.d.ts +17 -0
- package/dist/lang/files/de/tmStats.de.d.ts +9 -0
- package/dist/lang/files/en/actionCategories.en.d.ts +5 -0
- package/dist/lang/files/en/en.d.ts +443 -0
- package/dist/lang/files/en/tm.en.d.ts +31 -0
- package/dist/lang/files/en/tmApp.en.d.ts +16 -0
- package/dist/lang/files/en/tmApproval.en.d.ts +7 -0
- package/dist/lang/files/en/tmBulk.en.d.ts +12 -0
- package/dist/lang/files/en/tmConnectors.en.d.ts +16 -0
- package/dist/lang/files/en/tmGlossary.en.d.ts +57 -0
- package/dist/lang/files/en/tmJob.en.d.ts +88 -0
- package/dist/lang/files/en/tmLicence.en.d.ts +27 -0
- package/dist/lang/files/en/tmMemory.en.d.ts +48 -0
- package/dist/lang/files/en/tmSets.en.d.ts +89 -0
- package/dist/lang/files/en/tmSettings.en.d.ts +46 -0
- package/dist/lang/files/en/tmStages.en.d.ts +17 -0
- package/dist/lang/files/en/tmStats.en.d.ts +9 -0
- package/dist/lang/files/es/actionCategories.es.d.ts +5 -0
- package/dist/lang/files/es/es.d.ts +377 -0
- package/dist/lang/files/es/tm.es.d.ts +31 -0
- package/dist/lang/files/es/tmApp.es.d.ts +16 -0
- package/dist/lang/files/es/tmApproval.es.d.ts +7 -0
- package/dist/lang/files/es/tmConnectors.es.d.ts +16 -0
- package/dist/lang/files/es/tmJob.es.d.ts +87 -0
- package/dist/lang/files/es/tmLicence.es.d.ts +27 -0
- package/dist/lang/files/es/tmMemory.es.d.ts +48 -0
- package/dist/lang/files/es/tmSets.es.d.ts +89 -0
- package/dist/lang/files/es/tmSettings.es.d.ts +46 -0
- package/dist/lang/files/es/tmStages.es.d.ts +17 -0
- package/dist/lang/files/es/tmStats.es.d.ts +9 -0
- package/dist/lang/files/fr/actionCategories.fr.d.ts +5 -0
- package/dist/lang/files/fr/fr.d.ts +377 -0
- package/dist/lang/files/fr/tm.fr.d.ts +31 -0
- package/dist/lang/files/fr/tmApp.fr.d.ts +16 -0
- package/dist/lang/files/fr/tmApproval.fr.d.ts +7 -0
- package/dist/lang/files/fr/tmConnectors.fr.d.ts +16 -0
- package/dist/lang/files/fr/tmJob.fr.d.ts +87 -0
- package/dist/lang/files/fr/tmLicence.fr.d.ts +27 -0
- package/dist/lang/files/fr/tmMemory.fr.d.ts +48 -0
- package/dist/lang/files/fr/tmSets.fr.d.ts +89 -0
- package/dist/lang/files/fr/tmSettings.fr.d.ts +46 -0
- package/dist/lang/files/fr/tmStages.fr.d.ts +17 -0
- package/dist/lang/files/fr/tmStats.fr.d.ts +9 -0
- package/dist/lang/files/nl/actionCategories.nl.d.ts +5 -0
- package/dist/lang/files/nl/nl.d.ts +377 -0
- package/dist/lang/files/nl/tm.nl.d.ts +31 -0
- package/dist/lang/files/nl/tmApp.nl.d.ts +16 -0
- package/dist/lang/files/nl/tmApproval.nl.d.ts +7 -0
- package/dist/lang/files/nl/tmConnectors.nl.d.ts +16 -0
- package/dist/lang/files/nl/tmJob.nl.d.ts +87 -0
- package/dist/lang/files/nl/tmLicence.nl.d.ts +27 -0
- package/dist/lang/files/nl/tmMemory.nl.d.ts +48 -0
- package/dist/lang/files/nl/tmSets.nl.d.ts +89 -0
- package/dist/lang/files/nl/tmSettings.nl.d.ts +46 -0
- package/dist/lang/files/nl/tmStages.nl.d.ts +17 -0
- package/dist/lang/files/nl/tmStats.nl.d.ts +9 -0
- package/dist/lang/manifest.d.ts +1 -0
- package/dist/memory/components/manifest.d.ts +2 -0
- package/dist/memory/components/memory-copy.modal.d.ts +12 -0
- package/dist/memory/components/memory-copy.modal.token.d.ts +10 -0
- package/dist/memory/components/memory-edit.modal.d.ts +10 -0
- package/dist/memory/components/memory-edit.modal.token.d.ts +11 -0
- package/dist/memory/conditions/manifest.d.ts +1 -0
- package/dist/memory/conditions/memory-enabled.condition.d.ts +32 -0
- package/dist/memory/constants.d.ts +4 -0
- package/dist/memory/manifest.d.ts +1 -0
- package/dist/memory/menu/manifest.d.ts +1 -0
- package/dist/memory/repository/index.d.ts +2 -0
- package/dist/memory/repository/memory.repository.d.ts +75 -0
- package/dist/memory/workspace/manifest.d.ts +1 -0
- package/dist/memory/workspace/views/default.element.d.ts +13 -0
- package/dist/memory/workspace/views/source-detail.element.d.ts +16 -0
- package/dist/memory/workspace/workspace.context.d.ts +48 -0
- package/dist/memory/workspace/workspace.element.d.ts +7 -0
- package/dist/nodes/components/index.d.ts +7 -0
- package/dist/nodes/components/node-property-element.d.ts +18 -0
- package/dist/nodes/components/node-single-value.element.d.ts +22 -0
- package/dist/nodes/components/node-status-badge.d.ts +13 -0
- package/dist/nodes/components/node-tabs.element.d.ts +19 -0
- package/dist/nodes/components/node-value.element.d.ts +25 -0
- package/dist/nodes/components/nodes-table.element.d.ts +23 -0
- package/dist/nodes/components/rich-text-editor.element.d.ts +14 -0
- package/dist/nodes/manifest.d.ts +1 -0
- package/dist/nodes/node.respository.d.ts +30 -0
- package/dist/nodes/styles.d.ts +1 -0
- package/dist/nodes/types.d.ts +2 -0
- package/dist/nodes/workspace/manifest.d.ts +1 -0
- package/dist/nodes/workspace/translation-node-workspace.context.d.ts +18 -0
- package/dist/nodes/workspace/translation-node.element.d.ts +13 -0
- package/dist/permissions/constants.d.ts +6 -0
- package/dist/permissions/is-forbidden-error.d.ts +9 -0
- package/dist/permissions/manifest.d.ts +1 -0
- package/dist/permissions/node-permissions.d.ts +27 -0
- package/dist/section/dashboard/manifest.d.ts +1 -0
- package/dist/section/dashboard/translation-dashboard.element.d.ts +42 -0
- package/dist/section/manifest.d.ts +1 -0
- package/dist/section/tree/manifest.d.ts +1 -0
- package/dist/section/tree/translations-tree.data-source.d.ts +6 -0
- package/dist/section/tree/translations-tree.repository.d.ts +11 -0
- package/dist/section/tree/translations-tree.store.d.ts +8 -0
- package/dist/section/tree/types.d.ts +15 -0
- package/dist/section/types.d.ts +31 -0
- package/dist/section/workspace/language/translation-language-workspace.context.d.ts +21 -0
- package/dist/section/workspace/language/translation-language.element.d.ts +13 -0
- package/dist/section/workspace/manifest.d.ts +1 -0
- package/dist/section/workspace/pending/translation-pending-element.d.ts +9 -0
- package/dist/section/workspace/pending/translation-pending-workspace.context.d.ts +17 -0
- package/dist/section/workspace/pending-language/translation-pending-language-element.d.ts +15 -0
- package/dist/section/workspace/pending-language/translation-pending-language-workspace.content.d.ts +19 -0
- package/dist/section/workspace/stage/translation-stage-element.d.ts +18 -0
- package/dist/section/workspace/stage/translation-stage-workspace.context.d.ts +24 -0
- package/dist/sets/manifest.d.ts +1 -0
- package/dist/sets/set-connector-lock.d.ts +20 -0
- package/dist/sets/sets.context.d.ts +24 -0
- package/dist/sets/sets.repository.d.ts +27 -0
- package/dist/settings/connectors/constants.d.ts +11 -0
- package/dist/settings/connectors/index.d.ts +3 -0
- package/dist/settings/connectors/manifest.d.ts +1 -0
- package/dist/settings/connectors/menu/connector-menu-item.element.d.ts +9 -0
- package/dist/settings/connectors/menu/connector-menu.element.d.ts +11 -0
- package/dist/settings/connectors/menu/manifest.d.ts +2 -0
- package/dist/settings/connectors/root/connector-root.element.d.ts +21 -0
- package/dist/settings/connectors/root/manifest.d.ts +1 -0
- package/dist/settings/connectors/workspace/actions/connector-save-settings.action.d.ts +6 -0
- package/dist/settings/connectors/workspace/actions/manifest.d.ts +1 -0
- package/dist/settings/connectors/workspace/connector-settings.context.d.ts +20 -0
- package/dist/settings/connectors/workspace/connector-settings.workspace.element.d.ts +15 -0
- package/dist/settings/connectors/workspace/connector-settings.workspace.route.d.ts +9 -0
- package/dist/settings/connectors/workspace/manifest.d.ts +1 -0
- package/dist/settings/index.d.ts +5 -0
- package/dist/settings/manifest.d.ts +1 -0
- package/dist/settings/respository/settings.repository.d.ts +22 -0
- package/dist/settings/sets/components/index.d.ts +3 -0
- package/dist/settings/sets/components/manifest.d.ts +1 -0
- package/dist/settings/sets/components/set-card.element.d.ts +14 -0
- package/dist/settings/sets/components/set-root-view.element.d.ts +17 -0
- package/dist/settings/sets/components/set-site-picker.element.d.ts +11 -0
- package/dist/settings/sets/components/set-site-picker.modal.d.ts +25 -0
- package/dist/settings/sets/components/set-site-picker.modal.token.d.ts +9 -0
- package/dist/settings/sets/entity/actions/manifest.d.ts +1 -0
- package/dist/settings/sets/entity/actions/set-entity-save.action.d.ts +5 -0
- package/dist/settings/sets/entity/manifest.d.ts +1 -0
- package/dist/settings/sets/entity/set-entity-context.d.ts +29 -0
- package/dist/settings/sets/entity/set-entity-workspace.element.d.ts +10 -0
- package/dist/settings/sets/entity/set-entity-workspace.root.d.ts +9 -0
- package/dist/settings/sets/entity/set-isnew-redirect.controller.d.ts +8 -0
- package/dist/settings/sets/entity/views/manifest.d.ts +1 -0
- package/dist/settings/sets/entity/views/set-advanced.element.d.ts +18 -0
- package/dist/settings/sets/entity/views/set-default-view.element.d.ts +26 -0
- package/dist/settings/sets/entity/views/set-notifications.element.d.ts +12 -0
- package/dist/settings/sets/index.d.ts +4 -0
- package/dist/settings/sets/manifest.d.ts +1 -0
- package/dist/settings/sets/menu/actions/delete.d.ts +8 -0
- package/dist/settings/sets/menu/actions/refresh.d.ts +5 -0
- package/dist/settings/sets/menu/manifest.d.ts +1 -0
- package/dist/settings/sets/menu/set-menu-item.element.d.ts +15 -0
- package/dist/settings/sets/menu/sets-menu.element.d.ts +15 -0
- package/dist/settings/sets/root/manifest.d.ts +1 -0
- package/dist/settings/sets/root/sets-root.element.d.ts +9 -0
- package/dist/settings/sets/types.d.ts +5 -0
- package/dist/settings/tree/manifest.d.ts +1 -0
- package/dist/settings/tree/settings-menu.element.d.ts +11 -0
- package/dist/settings/tree/types.d.ts +6 -0
- package/dist/settings/workspace/manifest.d.ts +2 -0
- package/dist/settings/workspace/views/default/default.element.d.ts +11 -0
- package/dist/settings/workspace/views/diagnostics/diagnostict.element.d.ts +10 -0
- package/dist/settings/workspace/views/index.d.ts +4 -0
- package/dist/settings/workspace/views/licence/licence.element.d.ts +16 -0
- package/dist/settings/workspace/views/notifications/notification.element.d.ts +11 -0
- package/dist/settings/workspace/views/sets/sets.element.d.ts +10 -0
- package/dist/settings/workspace/workspace.context.d.ts +19 -0
- package/dist/settings/workspace/workspace.element.d.ts +8 -0
- package/dist/strategies/approval/manifest.d.ts +1 -0
- package/dist/strategies/approval/steps/approve-config.element.d.ts +27 -0
- package/dist/strategies/approval/steps/approve-result.element.d.ts +5 -0
- package/dist/strategies/approval/steps/manifest.d.ts +2 -0
- package/dist/strategies/creation/actions/create.actions.d.ts +7 -0
- package/dist/strategies/creation/actions/manifest.d.ts +1 -0
- package/dist/strategies/creation/components/connector-options.element.d.ts +16 -0
- package/dist/strategies/creation/components/connector-picker.element.d.ts +19 -0
- package/dist/strategies/creation/components/index.d.ts +5 -0
- package/dist/strategies/creation/components/job-options.element.d.ts +17 -0
- package/dist/strategies/creation/components/language-picker.element.d.ts +25 -0
- package/dist/strategies/creation/components/render-results.element.d.ts +17 -0
- package/dist/strategies/creation/index.d.ts +1 -0
- package/dist/strategies/creation/manifest.d.ts +1 -0
- package/dist/strategies/creation/steps/choose-provider-step.element.d.ts +18 -0
- package/dist/strategies/creation/steps/clean/clean-config-step.element.d.ts +22 -0
- package/dist/strategies/creation/steps/clean/manifest.d.ts +2 -0
- package/dist/strategies/creation/steps/create-config-step.element.d.ts +23 -0
- package/dist/strategies/creation/steps/create-from-nodes-step.element.d.ts +19 -0
- package/dist/strategies/creation/steps/create-job-results-step.element.d.ts +9 -0
- package/dist/strategies/creation/steps/manifest.d.ts +2 -0
- package/dist/strategies/creation/steps/pending-background-step.element.d.ts +12 -0
- package/dist/strategies/creation/steps/simple-job-result-step.element.d.ts +8 -0
- package/dist/strategies/creation/translation-creation.context.d.ts +15 -0
- package/dist/strategies/index.d.ts +1 -0
- package/dist/strategies/manifest.d.ts +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const tmSettingsLocalizations: {
|
|
2
|
+
tmSettings: {
|
|
3
|
+
headline: string;
|
|
4
|
+
settingsBox: string;
|
|
5
|
+
settingsBoxDescription: string;
|
|
6
|
+
settingsIntro: string;
|
|
7
|
+
settingsAlert: string;
|
|
8
|
+
autoTranslate: string;
|
|
9
|
+
autoTranslateDescription: string;
|
|
10
|
+
backgroundCheck: string;
|
|
11
|
+
backgroundCheckDescription: string;
|
|
12
|
+
backgroundCheckInterval: string;
|
|
13
|
+
backgroundCheckIntervalDescription: string;
|
|
14
|
+
includeEmpty: string;
|
|
15
|
+
includeEmptyDescription: string;
|
|
16
|
+
batchSize: string;
|
|
17
|
+
batchSizeDescription: string;
|
|
18
|
+
updateLinks: string;
|
|
19
|
+
updateLinksDescription: string;
|
|
20
|
+
backgroundApproval: string;
|
|
21
|
+
backgroundApprovalDescription: string;
|
|
22
|
+
notifications: string;
|
|
23
|
+
notificationsIntro: string;
|
|
24
|
+
notificationsGlobal: string;
|
|
25
|
+
notifyPending: string;
|
|
26
|
+
notifyPendingDescription: string;
|
|
27
|
+
notifySubmitted: string;
|
|
28
|
+
notifySubmittedDescription: string;
|
|
29
|
+
notifyReceived: string;
|
|
30
|
+
notifyReceivedDescription: string;
|
|
31
|
+
notifyApproved: string;
|
|
32
|
+
notifyCompletedApproved: string;
|
|
33
|
+
licenceHeadline: string;
|
|
34
|
+
licenceDescription: string;
|
|
35
|
+
licenceDetails: string;
|
|
36
|
+
licenceDetailsDescription: string;
|
|
37
|
+
licenceIntro: string;
|
|
38
|
+
licenceLocal: string;
|
|
39
|
+
licenceKey: string;
|
|
40
|
+
licenceKeyDescription: string;
|
|
41
|
+
licencedDomains: string;
|
|
42
|
+
licencedDomainsDescription: string;
|
|
43
|
+
useLegacySubmit: string;
|
|
44
|
+
useLegacySubmitDescription: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const tmStagesLocalizations: {
|
|
2
|
+
tmStages: {
|
|
3
|
+
approvedIcon: string;
|
|
4
|
+
approved: string;
|
|
5
|
+
approvedDescription: string;
|
|
6
|
+
pendingIcon: string;
|
|
7
|
+
pendingIconWarning: string;
|
|
8
|
+
pending: string;
|
|
9
|
+
pendingDescription: string;
|
|
10
|
+
submittedIcon: string;
|
|
11
|
+
submitted: string;
|
|
12
|
+
submittedDescription: string;
|
|
13
|
+
receivedIcon: string;
|
|
14
|
+
received: string;
|
|
15
|
+
receivedDescription: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: UmbExtensionManifest[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
import { MemoryCopyModalData, MemoryCopyModalResult } from './memory-copy.modal.token.js';
|
|
3
|
+
export declare class TranslationMemoryCopyModal extends UmbModalBaseElement<MemoryCopyModalData, MemoryCopyModalResult> {
|
|
4
|
+
#private;
|
|
5
|
+
private _connectors;
|
|
6
|
+
private _selectedAlias;
|
|
7
|
+
private _isLoading;
|
|
8
|
+
connectedCallback(): Promise<void>;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
static styles: import("lit").CSSResult;
|
|
11
|
+
}
|
|
12
|
+
export default TranslationMemoryCopyModal;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
export interface MemoryCopyModalData {
|
|
3
|
+
fromSource: string;
|
|
4
|
+
fromSourceName: string;
|
|
5
|
+
}
|
|
6
|
+
export interface MemoryCopyModalResult {
|
|
7
|
+
toSource: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const JUMOO_TM_MEMORY_COPY_MODAL_ALIAS = "jumoo-tm-memory-copy-modal";
|
|
10
|
+
export declare const JUMOO_TM_MEMORY_COPY_MODAL: UmbModalToken<MemoryCopyModalData, MemoryCopyModalResult>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
import { MemoryEditModalData, MemoryEditModalResult } from './memory-edit.modal.token.js';
|
|
3
|
+
export declare class TranslationMemoryEditModal extends UmbModalBaseElement<MemoryEditModalData, MemoryEditModalResult> {
|
|
4
|
+
#private;
|
|
5
|
+
private _translation;
|
|
6
|
+
connectedCallback(): void;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
static styles: import("lit").CSSResult;
|
|
9
|
+
}
|
|
10
|
+
export default TranslationMemoryEditModal;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
export interface MemoryEditModalData {
|
|
3
|
+
id: number;
|
|
4
|
+
sourceText: string;
|
|
5
|
+
translation: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MemoryEditModalResult {
|
|
8
|
+
translation: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const JUMOO_TM_MEMORY_EDIT_MODAL_ALIAS = "jumoo-tm-memory-edit-modal";
|
|
11
|
+
export declare const JUMOO_TM_MEMORY_EDIT_MODAL: UmbModalToken<MemoryEditModalData, MemoryEditModalResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: UmbExtensionManifest[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
2
|
+
import { UmbConditionConfigBase, UmbConditionControllerArguments, UmbExtensionCondition } from '@umbraco-cms/backoffice/extension-api';
|
|
3
|
+
import { UmbConditionBase } from '@umbraco-cms/backoffice/extension-registry';
|
|
4
|
+
export type MemoryEnabledConditionConfig = UmbConditionConfigBase;
|
|
5
|
+
/**
|
|
6
|
+
* permitted once TranslationMemoryRepository.getEnabled() resolves true -
|
|
7
|
+
* hides the Memory menu item (and anything else this is attached to) when
|
|
8
|
+
* translation memory's backoffice UI/API has been switched off, either via
|
|
9
|
+
* the Translation:MemoryEnabled config setting or
|
|
10
|
+
* TranslationMemoryService.Disable() called by a connector. See
|
|
11
|
+
* Core\Memory\CLAUDE.md for the server side of this toggle.
|
|
12
|
+
*
|
|
13
|
+
* Starts permitted so the (common) enabled case doesn't flash the menu item
|
|
14
|
+
* away and back while the check is in flight.
|
|
15
|
+
*
|
|
16
|
+
* Checks the current user's fallback (group-level) permissions FIRST, via
|
|
17
|
+
* UMB_CURRENT_USER_CONTEXT (already loaded, no network call), and skips
|
|
18
|
+
* TranslationMemoryRepository.getEnabled() entirely when
|
|
19
|
+
* jumoo-view-translation-memory is missing - MemoryListController.GetEnabled
|
|
20
|
+
* now requires that permission (see Core\Memory\CLAUDE.md), so calling it
|
|
21
|
+
* anyway for a user who lacks it just produces a 401/403 with no reason to
|
|
22
|
+
* bother the user. The menu item's conditions array also carries a separate
|
|
23
|
+
* Umb.Condition.UserPermission.Fallback for the same permission (see
|
|
24
|
+
* menu/manifest.ts) - that one still hides the item independently; this
|
|
25
|
+
* check exists purely to avoid the wasted/erroring network call.
|
|
26
|
+
*/
|
|
27
|
+
export declare class TranslationMemoryEnabledCondition extends UmbConditionBase<MemoryEnabledConditionConfig> implements UmbExtensionCondition {
|
|
28
|
+
#private;
|
|
29
|
+
config: MemoryEnabledConditionConfig;
|
|
30
|
+
constructor(host: UmbControllerHost, args: UmbConditionControllerArguments<MemoryEnabledConditionConfig>);
|
|
31
|
+
}
|
|
32
|
+
export { TranslationMemoryEnabledCondition as api };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const JUMOO_TM_MEMORY_SETTINGS_CONTEXT_ALIAS = "jumoo-tm-memory-settings-context";
|
|
2
|
+
export declare const JUMOO_TM_MEMORY_SETTINGS_WORKSPACE_ALIAS = "jumoo-tm-memory-settings-workspace";
|
|
3
|
+
export declare const JUMOO_TM_MEMORY_WORKSPACE_ENTITY_TYPE = "jumoo-tm-memory-entity-root";
|
|
4
|
+
export declare const JUMOO_TM_MEMORY_ENABLED_CONDITION_ALIAS = "Jumoo.Tm.MemoryEnabled.Condition";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: import("@umbraco-cms/backoffice/extension-api").ManifestBase[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: import("@umbraco-cms/backoffice/menu").ManifestMenuItem[];
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
|
+
import { PagedMemoryResponse, TranslationMemory } from '../../api/index.js';
|
|
4
|
+
export interface SourceMemoryCountData {
|
|
5
|
+
source: string;
|
|
6
|
+
total: number;
|
|
7
|
+
approved: number;
|
|
8
|
+
}
|
|
9
|
+
export declare class TranslationMemoryRepository extends UmbControllerBase {
|
|
10
|
+
#private;
|
|
11
|
+
constructor(host: UmbControllerHost);
|
|
12
|
+
/**
|
|
13
|
+
* whether translation memory's backoffice UI/API is switched on
|
|
14
|
+
* (Translation:MemoryEnabled, or TranslationMemoryService.Disable() called
|
|
15
|
+
* by a connector) AND the current user holds the
|
|
16
|
+
* jumoo-view-translation-memory permission - used by
|
|
17
|
+
* jumoo-tm-memory-enabled-condition to decide whether to show the Memory
|
|
18
|
+
* menu item at all. This one call covers both checks:
|
|
19
|
+
* MemoryListController now requires
|
|
20
|
+
* TranslationAuthorizationPolicies.ViewTranslationMemory on every action
|
|
21
|
+
* including GetEnabled, so a user without the permission gets a 403 here.
|
|
22
|
+
*
|
|
23
|
+
* Deliberately silent on failure and defaults to *enabled* for anything
|
|
24
|
+
* other than a 401/403 (falls open) rather than the usual
|
|
25
|
+
* #showErrorNotification - this runs once per session as part of deciding
|
|
26
|
+
* whether a menu item exists, and popping an error toast for a network
|
|
27
|
+
* blip would be noisy. A 401/403 is different - that's the server
|
|
28
|
+
* deliberately saying no, so it fails *closed* (not permitted) instead;
|
|
29
|
+
* every actual memory action still gets its own error notification when
|
|
30
|
+
* it fails.
|
|
31
|
+
*/
|
|
32
|
+
getEnabled(): Promise<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* Get the count of translation memory entries
|
|
35
|
+
* @returns Promise containing the count of memory entries
|
|
36
|
+
*/
|
|
37
|
+
getCount(): Promise<number | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Get all translation memory entries
|
|
40
|
+
* @returns Promise containing an array of translation memory entries
|
|
41
|
+
*/
|
|
42
|
+
getAll(): Promise<TranslationMemory[] | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Get translation memory entries by source
|
|
45
|
+
* @param translationSource - The translation source to filter by
|
|
46
|
+
* @returns Promise containing an array of translation memory entries for the specified source
|
|
47
|
+
*/
|
|
48
|
+
getBySource(translationSource: string): Promise<TranslationMemory[] | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Get all available translation sources
|
|
51
|
+
* @returns Promise containing an array of translation source names
|
|
52
|
+
*/
|
|
53
|
+
getSources(): Promise<string[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Get memory counts by source for all sources
|
|
56
|
+
* @returns Promise containing an array of source memory count data
|
|
57
|
+
*/
|
|
58
|
+
getMemoryCountsBySource(): Promise<SourceMemoryCountData[] | undefined>;
|
|
59
|
+
copyMemory(fromSource: string, toSource: string): Promise<number | undefined>;
|
|
60
|
+
getMemoryBySourcePaged(translationSource: string, skip: number, take: number, search?: string, approvedOnly?: boolean): Promise<PagedMemoryResponse | undefined>;
|
|
61
|
+
deleteMemoryEntry(id: number): Promise<boolean>;
|
|
62
|
+
updateMemoryEntry(id: number, translation: string): Promise<TranslationMemory | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Delete all translation memory entries
|
|
65
|
+
* @returns Promise indicating success or failure
|
|
66
|
+
*/
|
|
67
|
+
deleteAll(): Promise<boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* Delete translation memory entries by source
|
|
70
|
+
* @param translationSource - The translation source to delete entries for
|
|
71
|
+
* @returns Promise indicating success or failure
|
|
72
|
+
*/
|
|
73
|
+
deleteBySource(translationSource: string): Promise<boolean>;
|
|
74
|
+
}
|
|
75
|
+
export default TranslationMemoryRepository;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: import("@umbraco-cms/backoffice/extension-api").ManifestBase[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import './source-detail.element.js';
|
|
3
|
+
export declare class TranslationMemoryDefaultViewElement extends UmbLitElement {
|
|
4
|
+
#private;
|
|
5
|
+
private _sourceCounts;
|
|
6
|
+
private _connectorNames;
|
|
7
|
+
private _isLoading;
|
|
8
|
+
private _selectedSource;
|
|
9
|
+
constructor();
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
}
|
|
13
|
+
export default TranslationMemoryDefaultViewElement;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
export declare class TranslationMemorySourceDetailElement extends UmbLitElement {
|
|
3
|
+
#private;
|
|
4
|
+
source: string;
|
|
5
|
+
private _items;
|
|
6
|
+
private _total;
|
|
7
|
+
private _page;
|
|
8
|
+
private _pageSize;
|
|
9
|
+
private _search;
|
|
10
|
+
private _isLoading;
|
|
11
|
+
private _approvedOnly;
|
|
12
|
+
constructor();
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
static styles: import("lit").CSSResult;
|
|
15
|
+
}
|
|
16
|
+
export default TranslationMemorySourceDetailElement;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
+
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
3
|
+
import { UmbWorkspaceContext } from '@umbraco-cms/backoffice/workspace';
|
|
4
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
5
|
+
import { SourceMemoryCountData } from '../repository';
|
|
6
|
+
import { PagedMemoryResponse, TranslationMemory } from '../../api';
|
|
7
|
+
export declare class TranslationMemoryWorkspaceContext extends UmbControllerBase implements UmbWorkspaceContext {
|
|
8
|
+
#private;
|
|
9
|
+
readonly workspaceAlias: string;
|
|
10
|
+
getEntityType(): string;
|
|
11
|
+
constructor(host: UmbControllerHost);
|
|
12
|
+
/**
|
|
13
|
+
* Get the count of translation memory entries
|
|
14
|
+
*/
|
|
15
|
+
getMemoryCount(): Promise<number | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Get all translation memory entries
|
|
18
|
+
*/
|
|
19
|
+
getAllMemoryEntries(): Promise<TranslationMemory[] | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Get translation memory entries by source
|
|
22
|
+
* @param translationSource - The translation source to filter by
|
|
23
|
+
*/
|
|
24
|
+
getMemoryEntriesBySource(translationSource: string): Promise<TranslationMemory[] | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Get all available translation sources
|
|
27
|
+
*/
|
|
28
|
+
getMemorySources(): Promise<string[] | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Get memory counts by source for all sources
|
|
31
|
+
*/
|
|
32
|
+
getMemoryCountsBySource(): Promise<SourceMemoryCountData[] | undefined>;
|
|
33
|
+
copyMemory(fromSource: string, toSource: string): Promise<number | undefined>;
|
|
34
|
+
getMemoryBySourcePaged(translationSource: string, skip: number, take: number, search?: string, approvedOnly?: boolean): Promise<PagedMemoryResponse | undefined>;
|
|
35
|
+
deleteMemoryEntry(id: number): Promise<boolean>;
|
|
36
|
+
updateMemoryEntry(id: number, translation: string): Promise<TranslationMemory | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Delete all translation memory entries
|
|
39
|
+
*/
|
|
40
|
+
deleteAllMemoryEntries(): Promise<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete translation memory entries by source
|
|
43
|
+
* @param translationSource - The translation source to delete entries for
|
|
44
|
+
*/
|
|
45
|
+
deleteMemoryEntriesBySource(translationSource: string): Promise<boolean>;
|
|
46
|
+
}
|
|
47
|
+
export default TranslationMemoryWorkspaceContext;
|
|
48
|
+
export declare const JUMOO_TRANSLATIONS_MEMORY_WORKSPACE_CONTEXT: UmbContextToken<TranslationMemoryWorkspaceContext, TranslationMemoryWorkspaceContext>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
export declare class TranslationMemoryWorkspaceElement extends UmbLitElement {
|
|
3
|
+
#private;
|
|
4
|
+
constructor();
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
export default TranslationMemoryWorkspaceElement;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './nodes-table.element.js';
|
|
2
|
+
export * from './node-status-badge.js';
|
|
3
|
+
export * from './node-tabs.element.js';
|
|
4
|
+
export * from './node-property-element.js';
|
|
5
|
+
export * from './node-value.element.js';
|
|
6
|
+
export * from './node-single-value.element.js';
|
|
7
|
+
export * from './rich-text-editor.element.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import { NodeStatus, TranslationProperty, TranslationValue } from '../../api';
|
|
3
|
+
import { nothing, TemplateResult } from '@umbraco-cms/backoffice/external/lit';
|
|
4
|
+
export declare class TranslationNodePropertyElement extends UmbLitElement {
|
|
5
|
+
value?: TranslationProperty;
|
|
6
|
+
status?: NodeStatus;
|
|
7
|
+
canEdit: boolean;
|
|
8
|
+
render(): TemplateResult<1>;
|
|
9
|
+
renderNodeValue(source?: TranslationValue | null, target?: TranslationValue | null): TemplateResult<1>;
|
|
10
|
+
renderValues(source?: TranslationValue | null, target?: TranslationValue | null): TemplateResult | typeof nothing;
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
}
|
|
13
|
+
export default TranslationNodePropertyElement;
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'jumoo-tm-node-property': TranslationNodePropertyElement;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
3
|
+
export declare class TranslationNodeSingleValueElement extends UmbLitElement {
|
|
4
|
+
#private;
|
|
5
|
+
value: string | undefined | null;
|
|
6
|
+
isHtml: boolean;
|
|
7
|
+
canEdit: boolean;
|
|
8
|
+
editing: boolean;
|
|
9
|
+
editValue: string | undefined | null;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
renderEdit(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
renderValue(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
renderHtmlEdit(value: string): import("lit-html").TemplateResult<1>;
|
|
14
|
+
renderEditButton(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
15
|
+
static styles: import("lit").CSSResult;
|
|
16
|
+
}
|
|
17
|
+
export default TranslationNodeSingleValueElement;
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'jumoo-tm-node-single-value': TranslationNodeSingleValueElement;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import { NodeStatus } from '../../api';
|
|
3
|
+
export declare class TranslationNodeStatusBadge extends UmbLitElement {
|
|
4
|
+
status?: NodeStatus;
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
}
|
|
8
|
+
export default TranslationNodeStatusBadge;
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'jumoo-tm-node-status-badge': TranslationNodeStatusBadge;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import { TranslationNode, TranslationPropertyGroup } from '../../api';
|
|
3
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
4
|
+
export declare class TranslationNodeTabsElement extends UmbLitElement {
|
|
5
|
+
#private;
|
|
6
|
+
node?: TranslationNode;
|
|
7
|
+
selected: string | null | undefined;
|
|
8
|
+
canEdit: boolean;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
renderActiveTab(tab: TranslationPropertyGroup | null | undefined): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
}
|
|
14
|
+
export default TranslationNodeTabsElement;
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'jumoo-tm-node-tabs': TranslationNodeTabsElement;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import { NodeStatus, TranslationValue } from '../../api';
|
|
3
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
4
|
+
export declare class TranslationNodeValueElement extends UmbLitElement {
|
|
5
|
+
#private;
|
|
6
|
+
value: TranslationValue | undefined | null;
|
|
7
|
+
isTargetValue: boolean;
|
|
8
|
+
canEdit: boolean;
|
|
9
|
+
status?: NodeStatus;
|
|
10
|
+
editing: boolean;
|
|
11
|
+
editValue: string | undefined | null;
|
|
12
|
+
render(): any;
|
|
13
|
+
renderValue(value: TranslationValue): any;
|
|
14
|
+
renderCurrentValue(value: TranslationValue): import("lit-html").TemplateResult<1> | "(Blank)";
|
|
15
|
+
renderInnerValue(value: TranslationValue): typeof nothing | (import("lit-html").TemplateResult<1> | typeof nothing)[];
|
|
16
|
+
renderTargetFlags(value: TranslationValue): import("lit-html").TemplateResult<1>;
|
|
17
|
+
renderSource(value: TranslationValue): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
18
|
+
static styles: import("lit").CSSResult;
|
|
19
|
+
}
|
|
20
|
+
export default TranslationNodeValueElement;
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'jumoo-tm-node-value': TranslationNodeValueElement;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
import { TranslationNode } from '../../api';
|
|
3
|
+
import { UmbTableColumn } from '@umbraco-cms/backoffice/components';
|
|
4
|
+
import { JumooPagedTableConfig } from '@jumoo/translate';
|
|
5
|
+
export declare class TranslationNodesTableElement extends UmbLitElement {
|
|
6
|
+
#private;
|
|
7
|
+
nodes: TranslationNode[];
|
|
8
|
+
allowSelection: boolean;
|
|
9
|
+
selection: string[];
|
|
10
|
+
_tableConfig: JumooPagedTableConfig;
|
|
11
|
+
_tableColumns: UmbTableColumn[];
|
|
12
|
+
constructor();
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
renderTable(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
static styles: import("lit").CSSResult;
|
|
17
|
+
}
|
|
18
|
+
export default TranslationNodesTableElement;
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'jumoo-tm-items-table': TranslationNodesTableElement;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '@umbraco-cms/backoffice/tiptap';
|
|
2
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
3
|
+
export declare class TranslationRichTextEditorElement extends UmbLitElement {
|
|
4
|
+
#private;
|
|
5
|
+
value: string | undefined | null;
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
static styles: import("lit").CSSResult;
|
|
8
|
+
}
|
|
9
|
+
export default TranslationRichTextEditorElement;
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'jumoo-tm-rich-text-editor': TranslationRichTextEditorElement;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: (import("@umbraco-cms/backoffice/workspace").ManifestWorkspace<import("@umbraco-cms/backoffice/workspace").MetaWorkspace, import("@umbraco-cms/backoffice/controller-api").UmbControllerHostElement, import("@umbraco-cms/backoffice/workspace").UmbWorkspaceContext> | import("@umbraco-cms/backoffice/workspace").ManifestWorkspaceRoutableKind)[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
|
+
import { BulkSelectionRequestItem, NodeStatus, TranslationValue } from '../api';
|
|
4
|
+
export declare class TranslationNodeRespository extends UmbControllerBase {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(host: UmbControllerHost);
|
|
7
|
+
getNode(unique: string): Promise<import("..").TranslationNode>;
|
|
8
|
+
getPending(culture: string, page: number): Promise<import("..").PagedModelTranslationNodeModel>;
|
|
9
|
+
getSummaries(): Promise<import("..").SummaryItem[]>;
|
|
10
|
+
getSummaryCount(status: NodeStatus): Promise<number>;
|
|
11
|
+
getCultureInfo(culture: string): Promise<import("..").CultureInfoView>;
|
|
12
|
+
deleteNodes(nodeIds: string[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
13
|
+
data: unknown;
|
|
14
|
+
request: Request;
|
|
15
|
+
response: Response;
|
|
16
|
+
}>>;
|
|
17
|
+
getWordCountInfo(unique: string, includeChildren: boolean): Promise<import("..").WordCountInfo>;
|
|
18
|
+
getNodeStatus(key: string): Promise<import("..").TranslationNodeStatus[]>;
|
|
19
|
+
getBulkSelection(items: BulkSelectionRequestItem[]): Promise<import("..").BulkSelectionResult>;
|
|
20
|
+
updateTranslationValue(nodeId: number, value: TranslationValue): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
21
|
+
data: unknown;
|
|
22
|
+
request: Request;
|
|
23
|
+
response: Response;
|
|
24
|
+
}>>;
|
|
25
|
+
cloneNode(contentId: number, source: string, target: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
26
|
+
data: unknown;
|
|
27
|
+
request: Request;
|
|
28
|
+
response: Response;
|
|
29
|
+
}>>;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TmNodeStatusStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: (import("@umbraco-cms/backoffice/workspace").ManifestWorkspace<import("@umbraco-cms/backoffice/workspace").MetaWorkspace, import("@umbraco-cms/backoffice/controller-api").UmbControllerHostElement, import("@umbraco-cms/backoffice/workspace").UmbWorkspaceContext> | import("@umbraco-cms/backoffice/workspace").ManifestWorkspaceRoutableKind)[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UmbEditableWorkspaceContextBase, UmbRoutableWorkspaceContext } from '@umbraco-cms/backoffice/workspace';
|
|
2
|
+
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
3
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
4
|
+
import { TranslationNode, TranslationValue } from '../../api';
|
|
5
|
+
export declare class TranslationNodeWorkspaceContext extends UmbEditableWorkspaceContextBase<TranslationNode> implements UmbRoutableWorkspaceContext {
|
|
6
|
+
#private;
|
|
7
|
+
readonly data: import("rxjs").Observable<TranslationNode | undefined>;
|
|
8
|
+
readonly unique: import("rxjs").Observable<string | undefined>;
|
|
9
|
+
constructor(host: UmbControllerHost);
|
|
10
|
+
load(unique: string): Promise<void>;
|
|
11
|
+
getUnique(): string | undefined;
|
|
12
|
+
getEntityType(): string;
|
|
13
|
+
getData(): TranslationNode | undefined;
|
|
14
|
+
protected submit(): Promise<void>;
|
|
15
|
+
updateValue(node: TranslationNode, value: TranslationValue): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
export { TranslationNodeWorkspaceContext as api };
|
|
18
|
+
export declare const JUMOO_TRANSLATION_NODE_WORKSPACE: UmbContextToken<TranslationNodeWorkspaceContext, TranslationNodeWorkspaceContext>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
3
|
+
import { TranslationNode } from '../../api';
|
|
4
|
+
export declare class TranslationNodeElement extends UmbLitElement {
|
|
5
|
+
#private;
|
|
6
|
+
node?: TranslationNode;
|
|
7
|
+
constructor();
|
|
8
|
+
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
9
|
+
renderNodeCotentBar(node: TranslationNode): import("lit-html").TemplateResult<1>;
|
|
10
|
+
renderNodeStatusBar(node: TranslationNode): import("lit-html").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
}
|
|
13
|
+
export default TranslationNodeElement;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const JUMOO_TM_USER_PERMISSION_SEND_TO_TRANSLATION = "jumoo-send-to-translation";
|
|
2
|
+
export declare const JUMOO_TM_USER_PERMISSION_MANAGE_TRANSLATION = "jumoo-manage-translation";
|
|
3
|
+
export declare const JUMOO_TM_USER_PERMISSION_APPROVE_TRANSLATION = "jumoo-approve-translation";
|
|
4
|
+
export declare const JUMOO_TM_USER_PERMISSION_PUBLISH_TRANSLATION = "jumoo-publish-translation";
|
|
5
|
+
export declare const JUMOO_TM_USER_PERMISSION_VIEW_GLOSSARY = "jumoo-view-glossary";
|
|
6
|
+
export declare const JUMOO_TM_USER_PERMISSION_VIEW_TRANSLATION_MEMORY = "jumoo-view-translation-memory";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* true when a tryExecute() error came from the server rejecting the request on
|
|
3
|
+
* authentication/authorization grounds (401/403), as opposed to a network blip
|
|
4
|
+
* or some other failure. Used by the *-enabled repositories/conditions
|
|
5
|
+
* (glossary, memory) to fail *closed* on a permission check specifically,
|
|
6
|
+
* while still failing *open* (permitted) for a generic error - see
|
|
7
|
+
* GlossaryRepository.getEnabled() / TranslationMemoryRepository.getEnabled().
|
|
8
|
+
*/
|
|
9
|
+
export declare function isForbiddenError(error: unknown): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: UmbExtensionManifest[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TranslationNode } from '../api';
|
|
2
|
+
/**
|
|
3
|
+
* splits the comma seperated permission string the server puts on a translation node.
|
|
4
|
+
*
|
|
5
|
+
* this is the effective set of permissions the current user has on that node's target,
|
|
6
|
+
* umbraco has already merged the group level and granular permissions for us.
|
|
7
|
+
*/
|
|
8
|
+
export declare function parseNodePermissions(permissions?: string | null): string[];
|
|
9
|
+
export declare function canApproveNode(node: TranslationNode): boolean;
|
|
10
|
+
export declare function canPublishNode(node: TranslationNode): boolean;
|
|
11
|
+
export type TranslationNodePermissions = {
|
|
12
|
+
canApprove: boolean;
|
|
13
|
+
canPublish: boolean;
|
|
14
|
+
blockedPublishCount: number;
|
|
15
|
+
selectedCount: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* works out what can be done with a whole selection.
|
|
19
|
+
*
|
|
20
|
+
* the server approves a batch all or nothing, so a single node the user can't publish
|
|
21
|
+
* blocks publishing for the lot - which is why this intersects rather than unions.
|
|
22
|
+
*/
|
|
23
|
+
export declare function getSelectionPermissions(nodes: TranslationNode[]): TranslationNodePermissions;
|
|
24
|
+
/**
|
|
25
|
+
* picks the nodes of a job that are currently selected.
|
|
26
|
+
*/
|
|
27
|
+
export declare function getSelectedNodes(nodes: TranslationNode[] | undefined | null, selection: string[] | undefined | null): TranslationNode[];
|