@knkcs/importhub-ui 0.10.0 → 0.11.0
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/CHANGELOG.md +7 -0
- package/dist/importhub-client-BzOVIXA4.js.map +1 -1
- package/dist/index.d.ts +87 -3
- package/dist/index.js +1322 -1173
- package/dist/index.js.map +1 -1
- package/dist/mapping-editor.d.ts +39 -0
- package/dist/mapping-editor.js +1 -1
- package/dist/{mapping-page-Bl2rA1SR.js → mapping-page-CABgzLlj.js} +303 -298
- package/dist/mapping-page-CABgzLlj.js.map +1 -0
- package/dist/testing.d.ts +41 -0
- package/dist/testing.js +257 -202
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
- package/dist/mapping-page-Bl2rA1SR.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as n, jsxs as g, Fragment as
|
|
1
|
+
import { jsx as n, jsxs as g, Fragment as q } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyState as ve, Button as A, StatusBadge as Y } from "@knkcs/anker/atoms";
|
|
3
|
-
import { Modal as oe, StatusBadgeCell as Re, ContextRail as U, Card as se, TruncatedTextCell as Ae, IdentityCell as Ne, DateCell as xe, ActionCell as ze, DataTable as
|
|
4
|
-
import { InputField as J, BaseSelectField as Ke, TextareaField as
|
|
5
|
-
import { useHostIdentity as
|
|
6
|
-
import { Box as O, Center as Oe, Spinner as _e, Tabs as Z, Stack as C, Text as
|
|
3
|
+
import { Modal as oe, StatusBadgeCell as Re, ContextRail as U, Card as se, TruncatedTextCell as Ae, IdentityCell as Ne, DateCell as xe, ActionCell as ze, DataTable as Be } from "@knkcs/anker/components";
|
|
4
|
+
import { InputField as J, BaseSelectField as Ke, TextareaField as He } from "@knkcs/anker/forms";
|
|
5
|
+
import { useHostIdentity as B } from "@knkcs/anker/host";
|
|
6
|
+
import { Box as O, Center as Oe, Spinner as _e, Tabs as Z, Stack as C, Text as w, Alert as E, List as N, Link as ue, HStack as $, Table as z, Code as ee } from "@knkcs/anker/primitives";
|
|
7
7
|
import { DetailPageTemplate as Ie, usePageRail as We } from "@knkcs/anker/templates";
|
|
8
|
-
import {
|
|
9
|
-
import { CircleAlert as Xe, Tag as qe, RotateCcw as Ge, History as
|
|
10
|
-
import { createContext as
|
|
8
|
+
import { useQueries as Ve, useQuery as _, useMutation as G, useQueryClient as ae, useInfiniteQuery as Le } from "@tanstack/react-query";
|
|
9
|
+
import { CircleAlert as Xe, Tag as qe, RotateCcw as Ge, History as Qe, Trash2 as $e, ArrowRightLeft as je } from "lucide-react";
|
|
10
|
+
import { createContext as we, useContext as Pe, useMemo as W, useEffect as Q, useState as V, useCallback as Ze } from "react";
|
|
11
11
|
import { useForm as ke, useWatch as Ue, FormProvider as Ee } from "react-hook-form";
|
|
12
|
-
import { useTranslation as
|
|
12
|
+
import { useTranslation as P } from "react-i18next";
|
|
13
13
|
import { useSearchParams as Je, Link as me } from "react-router";
|
|
14
14
|
import { C as Ye, R as et } from "./importhub-client-BzOVIXA4.js";
|
|
15
|
-
const tt = { imports: { title: "Importe", empty: "In diesem Workspace gibt es noch keine Importe." }, profiles: { title: "Importprofile", summary_zero: "In diesem Workspace gibt es noch keine Importprofile.", summary_one: "In diesem Workspace gibt es ein Importprofil.", summary_other: "In diesem Workspace gibt es {{count}} Importprofile." }, mappings: { title: "Mappings", empty: "In diesem Workspace gibt es noch keine Mappings." }, entitySets: { title: "Entity Sets", summary_zero: "In diesem Workspace gibt es noch keine Entity Sets.", summary_one: "In diesem Workspace gibt es ein Entity Set.", summary_other: "In diesem Workspace gibt es {{count}} Entity Sets." }, processors: { title: "Prozessoren", summary_zero: "importhub bietet keine Prozessoren an.", summary_one: "importhub bietet einen Prozessor an.", summary_other: "importhub bietet {{count}} Prozessoren an." } }, nt = { loading: "Wird geladen…", error: "Das konnte nicht geladen werden. Versuchen Sie es gleich noch einmal." }, it = { open: "Change Set in contenthub öffnen" }, rt = { cancel: "Abbrechen", delete: "Löschen", create: "Anlegen", save: "Speichern", apply: "Übernehmen", close: "Schließen" }, st = { name: "Name", description: "Beschreibung" }, ot = { column: "Gültigkeit", valid: "Gültig", invalid: "Ungültig", invalidTitle: "Diese Konfiguration ist ungültig und kann nicht freigegeben werden:" }, at = { column: "Letztes Release", number: "Release {{number}}", none: "Noch kein Release", state: { none: "Noch nicht freigegeben", differs: "Entwurf weicht von Release {{number}} ab", current: "Release {{number}} ist aktuell" } }, lt = { nameTaken: "Dieser Name ist schon vergeben.", nameRequired: "Ein Name ist erforderlich.", failed: "Es konnte nicht angelegt werden. Versuchen Sie es gleich noch einmal." }, dt = { failed: "Die Änderungen konnten nicht gespeichert werden." }, ct = { title: "Details", actions: "Aktionen" }, pt = { moveUp: "{{name}} nach oben", moveDown: "{{name}} nach unten", remove: "{{name}} entfernen" }, ut = { new: "Neues Importprofil", empty: "In diesem Workspace gibt es noch keine Importprofile.", general: "Allgemein", entitySet: "Entity Set", entitySetHelp: "Die externen Zeichen-Entities, mit denen die Quelldatei gelesen wird.", noEntitySet: "Keines", autoPublish: "Automatisch veröffentlichen", autoPublishHelp: "Das Change Set eines Imports ohne Item Problems veröffentlichen.", deleteOnSuccess: "Quelldatei nach Erfolg löschen", deleteOnSuccessHelp: "Die Quelldatei löschen, sobald ein Import ohne Item Problems erfolgreich ist, statt nach der Aufbewahrungsfrist.", preprocessors: "Präprozessoren", mappings: "Mappings", postProcessors: "Postprozessoren", noPreprocessors: "Keine Präprozessoren: Die Quelldatei wird gemappt, wie sie ist.", noPostProcessors: "Keine Postprozessoren.", noMappings: "Es enthält noch kein Mapping.", addPreprocessor: "Präprozessor hinzufügen", addPostProcessor: "Postprozessor hinzufügen", addMapping: "Mapping hinzufügen", missingMapping: "Ein Mapping, das es nicht mehr gibt", delete: "Importprofil löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Importprofil wird gelöscht, und kein Import kann es mehr ausführen. Importe, die es ausgeführt hat, bleiben erhalten." }, mt = { empty: "importhub bietet keine Prozessoren an.", kindColumn: "Art", targetColumn: "Konfiguriert in", settingsColumn: "Einstellungen", noSettings: "Keine Einstellungen", kind: { preprocessor: "Präprozessor", post_processor: "Postprozessor" }, target: { source_file: "Importprofil", rich_text_field: "Rich-Text-Feld eines Mappings" }, unknown: "Nicht im Katalog", settingsOf: "Einstellungen von {{name}}", configure: "{{name}} konfigurieren", viewSettings: "Einstellungen von {{name}}", settingsCount_zero: "Keine Einstellungen gesetzt", settingsCount_one: "Eine Einstellung", settingsCount_other: "{{count}} Einstellungen" }, ht = { new: "Neues Mapping", empty: "In diesem Workspace gibt es noch keine Mappings.", general: "Allgemein", blueprint: "Ziel-Blueprint", release: "Blueprint-Release", blueprintId: "Blueprint-ID", releaseId: "Blueprint-Release-ID", idsHelp: "Wie blueprinthub sie nennt.", newRelease: "Neues Blueprint-Release", newReleaseId: "Neue Blueprint-Release-ID", elementSelector: "Element-Selektor", elementSelectorHelp: "Der XPath, der die Elemente wählt, aus denen je ein Content wird.", sourceKeySelector: "Source-Key-Selektor", sourceKeyTemplate: "Source-Key-Vorlage", sourceKeyTemplateHelp: "XPath-Ausdrücke in geschweiften Klammern, etwa {ancestor::gesetz/@refid}-{@nr}; hat Vorrang vor dem Selektor.", fieldCount_zero: "Es mappt noch kein Feld. Feld-Mappings werden im Mapping-Editor bearbeitet.", fieldCount_one: "Es mappt ein Feld. Feld-Mappings werden im Mapping-Editor bearbeitet.", fieldCount_other: "Es mappt {{count}} Felder. Feld-Mappings werden im Mapping-Editor bearbeitet.", target: "Ziel", move: "Auf ein anderes Release umstellen", moveTitle: "Auf ein anderes Blueprint-Release umstellen", check: "Prüfen", checkFailed: "Das Release konnte nicht geprüft werden.", nothingLost: "Jeden gemappten Feldpfad gibt es auch in diesem Release.", lost_one: "Ein gemappter Pfad fehlt in diesem Release:", lost_other: "{{count}} gemappte Pfade fehlen in diesem Release:", lostFields: "Feldpfade", lostReleaseSpec: "Release-Spec-Felder", moveConfirm: "Umstellen", includedBy: "Importprofile, die es enthalten", noProfiles: "Kein Importprofil enthält es.", delete: "Mapping löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Mapping wird gelöscht. importhub lehnt das ab, solange ein Importprofil es enthält." }, gt = { new: "Neues Entity Set", empty: "In diesem Workspace gibt es noch keine Entity Sets.", general: "Allgemein", entities: "Entities", entity: "Entity", noEntities: "Es definiert noch keine Entity.", entityName: "Entity {{index}}", entityText: "Steht für (Entity {{index}})", addEntity: "Entity hinzufügen", removeEntity: "Entity {{index}} entfernen", delete: "Entity Set löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Entity Set wird gelöscht. importhub lehnt das ab, solange ein Importprofil es nennt." }, ft = { settings: "Einstellungen", history: "Verlauf" }, bt = { action: "Release erstellen", title: "Release erstellen", confirm: "Release erstellen", message: "Der gespeicherte Entwurf wird als Release {{number}} freigegeben. Echte Importe verwenden ihn ab ihrem nächsten Start.", unchanged: "Der Entwurf entspricht Release {{number}}: Es gibt nichts freizugeben.", unsaved: "Nicht gespeicherte Änderungen auf dieser Seite gehören nicht zum Release. Speichern Sie sie zuerst, um sie freizugeben.", profilesIntro: "Diese Importprofile enthalten das Mapping und übernehmen das Release bei ihrem nächsten Import:", profiles: "Importprofile, die dieses Release übernehmen", noProfiles: "Noch kein Importprofil enthält das Mapping.", refused: "importhub hat das Release nicht erstellt:", failed: "Das Release konnte nicht erstellt werden. Versuchen Sie es gleich noch einmal.", done: "Release {{number}} ist erstellt.", doneBody: "Echte Importe verwenden es ab ihrem nächsten Start." }, yt = { hint: "Jedes Speichern ist eine Revision. Wählen Sie zwei aus, um sie nebeneinander zu vergleichen.", none: "Noch keine Revisionen.", loadMore: "Ältere Revisionen laden", columns: { revision: "Revision", release: "Release", savedBy: "Gespeichert von", savedAt: "Gespeichert" }, draft: "Entwurf", revision: "Früherer Entwurf", revisionOf: "Revision vom {{time}}", restoredFrom: "Wiederhergestellt aus {{revision}}", cutBy: "Erstellt von {{name}}, {{time}}.", unknownPerson: "Jemand, der nicht mehr im Workspace ist", restore: "Als Entwurf wiederherstellen", restoreTitle: "{{revision}} wiederherstellen?", restoreConfirm: "Wiederherstellen", restoreMessage: "Ihr Inhalt wird als neuer Entwurf gespeichert. Echte Importe verwenden weiter das neueste Release, bis Sie ein neues erstellen.", restoreFailed: "Sie konnte nicht wiederhergestellt werden.", olderRelease: "{{release}} wurde von {{name}} am {{time}} aus einer älteren Revision erstellt: Laden Sie ältere Revisionen, um sie zu sehen.", earlierRevision: "Eine frühere Revision" }, St = { title: "Vergleich", between: "{{from}} verglichen mit {{to}}", field: "Feld", same: "Die beiden Revisionen sind gleich.", differing_one: "Ein Feld unterscheidet sich.", differing_other: "{{count}} Felder unterscheiden sich.", status: { unchanged: "Unverändert", added: "Hinzugefügt", removed: "Entfernt", changed: "Geändert" }, absent: "Nicht gesetzt", missingEntitySet: "Ein Entity Set, das nicht mehr existiert", yes: "Ja", no: "Nein" }, vt = /* @__PURE__ */ JSON.parse(`{"tabs":{"fields":"Felder","versions":"Source Key & Source Versions","output":"Ausgabe","test":"Mapping Test"},"reasonsHere":"importhub hat hier einen Fehler gefunden:","tree":{"label":"Felder des Blueprint-Release","mapped":"gemappt","unmapped":"nicht gemappt","invalid":"ungültig","toggle":"Felder von {{label}} ein- oder ausblenden","outside":"Gemappt, nicht in diesem Release","noLookup":"Dieser Host kann die Felder des Blueprint-Release nicht lesen, daher sind nur die Felder aufgeführt, die das Mapping mappt.","loadFailed":"Die Felder des Blueprint-Release konnten nicht gelesen werden.","selectField":"Wählen Sie ein Feld, um es zu mappen."},"field":{"title":"Feld-Mapping","notMapped":"Das Mapping mappt dieses Feld nicht.","map":"Feld mappen","remove":"Mapping entfernen","selector":"XPath","selectorHelp":"Relativ zum Element; die Felder eines Fieldsets relativ zu dessen.","type":"Typ","optional":"Optional","optionalHelp":"Ein Element ohne diesen Wert ist kein Fehler.","dateFormat":"Datumsformat","dateFormatHelp":"Ein Go-Zeitlayout wie 02.01.2006; leer: ISO-Daten (2006-01-02).","dateFormats":"Weitere Datumsformate","dateFormatsHelp":"Ein Go-Zeitlayout pro Zeile, der Reihe nach nach dem Datumsformat versucht.","autoDetectDateFormat":"Gängige Datumsformate erkennen","numberLocale":"Zahlenformat","locale":{"de":"Deutsch (1.234,56)","en":"Englisch (1,234.56)","ch":"Schweiz (1'234.56)"},"stripCurrency":"Währungszeichen entfernen","skipInvalid":"Ungültige Werte überspringen","skipInvalidHelp":"Ein nicht lesbarer Wert lässt das Feld leer, statt ein Problem zu melden.","selectOptions":"Auswahloptionen","selectOptionsHelp":"Eine pro Zeile: Schlüssel = Bezeichnung, etwa 0 = Gesetz.","textWrapperElement":"Text-Wrapper-Element","ignoreElements":"Ignorierte Elemente","passThroughElements":"Durchgereichte Elemente","elementsHelp":"Ein Elementname pro Zeile.","normalizeWhitespace":"Leerraum normalisieren","convertNewlinesToBreaks":"Zeilenumbrüche übernehmen","richTextMore":"Node- und Mark-Mappings und die übrigen Rich-Text-Einstellungen stehen unter Erweitert (JSON).","refBlueprintId":"ID des referenzierten Blueprints","refIdTemplate":"Vorlage der Referenz-ID","refIdTemplateHelp":"XPath-Ausdrücke in geschweiften Klammern; sie müssen den Source Key des Ziels bilden.","refIdExtractPattern":"Extraktionsmuster der Referenz-ID","refIdExtractSeparator":"Trennzeichen der Referenz-ID","refIdExtractSeparatorHelp":"Verbindet die Gruppen des Musters; ohne Angabe -.","concatSelectors":"Verkettete XPaths","concatSelectorsHelp":"Ein XPath pro Zeile, der Reihe nach verbunden.","normalizeUnicode":"Unicode normalisieren","childrenHelp":"Seine Felder werden einzeln gemappt: wählen Sie sie im Baum.","elementBlueprintMap":"Blueprint je Element","elementBlueprintMapHelp":"Eine pro Zeile: Elementname = ID des referenzierten Blueprints, für einen Selektor, der mehrere Elemente trifft.","elementRefIdTemplateMap":"Vorlage der Referenz-ID je Element","elementRefIdTemplateMapHelp":"Eine pro Zeile: Elementname = Vorlage der Referenz-ID."},"json":{"title":"Erweitert (JSON)","help":"Alle xmlmapper-Einstellungen des Feld-Mappings. Schlüssel, für die das Formular oben kein Eingabefeld hat, bleiben beim Speichern erhalten.","label":"Feld-Mapping als JSON","apply":"JSON übernehmen","notJson":"Das ist kein gültiges JSON.","notObject":"Ein Feld-Mapping ist ein JSON-Objekt.","unapplied":"Noch nicht übernommen: JSON übernehmen setzt es ins Formular, Speichern speichert es."},"sourceKey":{"title":"Extraktion des Source Key","help":"Selektor und Vorlage des Source Key stehen unter Einstellungen.","extractPattern":"Extraktionsmuster","extractPatternHelp":"Ein regulärer Ausdruck auf den Wert jedes Platzhalters; seine Gruppen ersetzen einen passenden Wert.","extractSeparator":"Trennzeichen","extractSeparatorHelp":"Verbindet die Gruppen; - solange nicht gesetzt. Einmal gesetzt und geleert, verbindet es sie ohne Zeichen.","normalize":"Allen Leerraum aus dem Source Key entfernen"},"versionMatch":{"title":"Version Match","help":"Eine Source Version entspricht einem bestehenden Release, dessen Werte alle gleich sind. Ohne Angabe ist jedes Element eine einzige Source Version, verglichen mit dem Stand von Main.","validityPeriod":"Gültigkeitszeitraum vergleichen","releaseSpecFields":"Zu vergleichende Release-Spec-Felder","noReleaseSpecFields":"Das Release hat keine Release-Spec-Felder.","contentFields":"Zu vergleichende Inhaltsfelder","noContentFields":"Das Mapping mappt noch kein Feld."},"validityPeriod":{"title":"Gültigkeitszeitraum","validFrom":"XPath für gültig ab","validTo":"XPath für gültig bis","validToHelp":"Leer für unbefristet.","dateFormats":"Datumsformate","dateFormatsHelp":"Ein Go-Zeitlayout pro Zeile, der Reihe nach versucht; leer: ISO-Daten."},"releaseSpec":{"title":"Quellen der Release Spec","none":"Kein Release-Spec-Wert wird aus der Quelle gelesen.","field":"Release-Spec-Feld {{index}}","selector":"XPath {{index}}","remove":"Release-Spec-Quelle {{index}} entfernen","add":"Release-Spec-Quelle hinzufügen"},"changedVersion":{"title":"Changed Version","label":"Wenn eine Source Version zu einem Release passt, ihre gemappten Daten aber abweichen","help":"Ohne Auswahl: Korrigieren.","correct":"Korrigieren: ein Planned Release, das das passende ersetzt","keep":"Bestehendes Release behalten","fail":"Import fehlschlagen lassen"},"stub":{"title":"Stub Mapping","label":"Stub Mapping","help":"Legt für jeden Source Key, für den es noch keinen Inhalt gibt, einen Inhalt nur mit Content Key und den gemappten Feldern an und ändert nie bestehende Inhalte."},"naming":{"title":"Name und Collections","displayNameTemplate":"Vorlage des Anzeigenamens","displayNameTemplateHelp":"Feldpfade in geschweiften Klammern, etwa {titelnum} — {titel}; {titel:40} behält höchstens 40 Zeichen.","displayNameField":"Feld des Anzeigenamens","displayNameFieldHelp":"Das Textfeld des festgelegten Releases, in das der Anzeigename jedes Inhalts geschrieben wird. Zusammen mit der Vorlage setzen.","displayNameFieldNone":"Kein Anzeigename","displayNameFieldPathHelp":"Der Pfad des Textfelds, in das der Anzeigename jedes Inhalts geschrieben wird, etwa titel oder meta.label. Zusammen mit der Vorlage setzen.","collections":"Ziel-Collections","collectionsHelp":"Ein Collection-Name pro Zeile, wie contenthub ihn zeigt; jeder Inhalt wird in jede abgelegt."},"routing":{"title":"Collection-Routing","help":"Leitet eine Collection pro Inhalt ab: den Wert des Selektors, übersetzt; sonst den Treffer des ID-Musters in der Vorlage; sonst die Ersatz-Collection.","selector":"XPath","collectionMap":"Collection-Zuordnung","collectionMapHelp":"Eine pro Zeile: Wert = Collection-Name. Leer: der Wert ist der Name.","idPattern":"ID-Muster","collectionTemplate":"Collection-Vorlage","collectionTemplateHelp":"Mit {match} und {suffix}.","suffix":"Suffix","fallback":"Ersatz-Collection"},"titles":{"title":"Title Contributions","help":"Schreibt Daten je Ausgabe auf den Title, dessen Content Key der Ausgabe-Code ist.","none":"Keine Title Contributions.","item":"Title Contribution {{index}}","remove":"Title Contribution {{index}} entfernen","add":"Title Contribution hinzufügen","selector":"XPath der Ausgabe-Elemente","selectorHelp":"Wählt die Elemente, die je die Daten einer Ausgabe tragen.","ausgabeCodeSelector":"XPath des Ausgabe-Codes","referenceSpecValues":"Reference-Spec-Werte","valueField":"Reference-Spec-Feld {{index}}","valueSelector":"XPath des Werts {{index}}","removeValue":"Reference-Spec-Wert {{index}} entfernen","addValue":"Reference-Spec-Wert hinzufügen","referenceFilterSelector":"XPath des Referenzfilters","intent":"Absicht","intents":{"none":"Keine","exclude":"Ausschließen","replace":"Ersetzen","annotate":"Anmerken"},"intentTextSelector":"XPath des Absichtstexts","intentTextSelectorHelp":"Der Ersatz- oder Anmerkungstext."},"assets":{"title":"Placeholder Assets","help":"Macht die Dateiverweise der Quelle zu mediahub-Assets ohne Datei.","none":"Keine Dateiverweise werden zu Placeholder Assets.","item":"Placeholder Assets {{index}}","remove":"Placeholder Assets {{index}} entfernen","add":"Placeholder Assets hinzufügen","selector":"XPath der Dateiverweise","selectorHelp":"Etwa .//grafik.","assetType":"Asset-Typ","keyParts":"Schlüsselteile","keyPartsHelp":"Ein XPath pro Zeile, relativ zum Verweis; ihre Werte, mit / verbunden, bilden den Schlüssel des Assets.","nameSelector":"XPath des Namens","descriptionSelector":"XPath der Beschreibung","metadata":"Metadaten","metadataHelp":"Eine pro Zeile: Metadatenfeld = XPath.","folderRoot":"Wurzelordner","folderPathSelector":"XPath des Ordnerpfads","folderPathSelectorHelp":"Der Pfad der Datei, als Ordner unter dem Wurzelordner gespiegelt."},"test":{"title":"Mapping Test","about":"Ein Mapping Test führt dieses Mapping so, wie Sie es gerade bearbeiten, einschließlich ungespeicherter Änderungen, über eine Beispieldatei aus und liest sie wie ein Import. Er berührt nichts außerhalb von importhub: Er legt nichts in contenthub oder mediahub an, fragt keinen anderen Dienst und speichert nichts, auch die Beispieldatei nicht.","aboutDerived":"Verweise bleiben, wie die Beispieldatei sie nennt, Platzhalter-Assets werden nicht verknüpft und kein Post-Processor läuft: Das gehört zum Import eines Importprofils.","adminOnly":"Nur ein Admin kann einen Mapping Test ausführen.","sampleCard":"Beispieldatei","sampleHelp":"Eine XML-Datei, die importhub liest und nicht aufbewahrt.","dropHint":"XML-Beispieldatei hierher ziehen","dragActive":"Zum Auswählen loslassen","chooseFile":"Datei wählen","chosen":"Beispiel","notXml":"{{name}} ist keine XML-Datei.","entitySet":"Entity Set","entitySetHelp":"Das Entity Set, dessen Entities die Beispieldatei verwendet, wie es das Importprofil mit diesem Mapping nennt. Es gilt sein Entwurf.","noEntitySet":"Keins","run":"Mapping Test ausführen","failed":"Der Mapping Test konnte nicht laufen","summary_one":"{{count}} Element gefunden, {{problems}} mit Problemen.","summary_other":"{{count}} Elemente gefunden, {{problems}} mit Problemen.","noElements":"Der Element-Selektor hat in der Beispieldatei kein Element gefunden.","onlyProblems":"Nur Elemente mit Problemen","element":"Element {{position}}: {{sourceKey}}","noSourceKey":"kein Source Key","field":"Feld","value":"Wert","problem":"Fehler","wholeElement":"Das Element","validityPeriod":"Gültigkeitszeitraum","validFromTo":"{{from}} bis {{to}}","open":"offen","displayName":"Anzeigename","collections":"Collections","releaseSpec":"Release Spec","showMore":"Weitere Elemente zeigen","shownOf":"{{shown}} von {{total}} Elementen werden gezeigt.","problemCount_one":"{{count}} Problem","problemCount_other":"{{count}} Probleme"}}`), Rt = { start: "Import starten", empty: "In diesem Workspace lief noch kein Import.", profile: "Importprofil", startedBy: "Gestartet von", started: "Gestartet", ended: "Beendet", matched: "Gefunden", created: "Angelegt", problems: "Probleme", planned: "Geplante Releases", corrected: "Korrigiert", kept: "Beibehalten", unchanged: "Unverändert", loadMore: "Mehr laden", phase: { queued: "Wartet", reading: "Liest", writing: "Schreibt", cancelling: "Wird abgebrochen" }, outcome: { succeeded: "Erfolgreich", succeeded_with_problems: "Erfolgreich mit Problemen", failed: "Fehlgeschlagen", cancelled: "Abgebrochen" }, progressTitle: "Fortschritt", phaseLong: { reading: "Liest die Quelldatei", writing: "Schreibt das Change Set in contenthub" }, progressOf: "{{done}} von {{total}} Einträgen", progressUnknown: "Zählt die Einträge…", queuedBody: "Er wartet, bis der laufende Import des Workspace beendet ist.", failedTitle: "Der Import ist fehlgeschlagen", cancelledBody: "{{person}} hat ihn abgebrochen. Das Change Set, das er geöffnet hatte, wurde verworfen.", cancellingBody: "{{person}} hat den Abbruch angefordert. Er hält beim nächsten Eintrag an.", problemsBody_one: "{{count}} Quellversion konnte nicht gespeichert werden und wurde übersprungen. Das Change Set bleibt erhalten, damit die Redaktion den Rest korrigiert.", problemsBody_other: "{{count}} Quellversionen konnten nicht gespeichert werden und wurden übersprungen. Das Change Set bleibt erhalten, damit die Redaktion den Rest korrigiert.", details: "Details", effectiveDate: "Stichtag", source: "Quelle", sourceValue: "{{reference}}, {{date}}", none: "Keine", changeSet: "Change Set", counts: "Zahlen", releases: "Verwendete Releases", releaseOf: "{{name}}, Release {{number}}", mapping: "Mapping", entitySet: "Entity Set", cancel: "Import abbrechen", cancelTitle: "Diesen Import abbrechen?", cancelMessage: "Er hält beim nächsten Eintrag an, und das Change Set, das er geöffnet hat, wird verworfen. Das lässt sich nicht rückgängig machen.", cancelConfirm: "Import abbrechen", keepRunning: "Weiterlaufen lassen", cancelFailed: "importhub hat den Import nicht abgebrochen: {{message}}", itemProblems: "Item Problems und Pending References", noItemProblems: "Keine Probleme.", noMatchingProblems: "Kein Problem passt.", searchSourceKey: "Nach Quellschlüssel suchen", filterMapping: "Nach Mapping filtern", allMappings: "Alle Mappings ({{count}})", mappingCount: "{{name}} ({{count}})", problemCount: "{{matching}} von {{total}}", sourceKey: "Quellschlüssel", field: "Feld", reason: "Grund", wholeVersion: "Die ganze Quellversion", noSourceKey: "Kein Quellschlüssel", subtitle: "Gestartet von {{person}}, {{time}}", outcomeColumn: "Ergebnis", someone: "Jemand", mappings: "Mappings", kind: "Art", pendingReference: "Pending Reference", itemProblem: "Item Problem", problemCountWithPending_one: "{{matching}} von {{total}}, {{count}} Pending Reference", problemCountWithPending_other: "{{matching}} von {{total}}, {{count}} Pending References", kindColumn: "Art", kindImport: "Import", kindDryRun: "Dry Run" }, It = { title: "Import starten", fileCard: "Profil und Quelldatei", profile: "Importprofil", profileHelp: "Nur Profile mit einem Release stehen zur Wahl: Ein Import verwendet das neueste Release, nie einen Entwurf.", profileOption: "{{name}} (Release {{number}})", file: "Quelldatei", fileHelp: "Eine XML-Datei. Sie geht direkt in den Speicher von importhub.", dropHint: "XML-Datei hierher ziehen", dragActive: "Zum Hochladen loslassen", chooseFile: "Datei wählen", uploading: "{{name}} wird hochgeladen", uploaded: "{{name}} ist hochgeladen.", uploadFailed: "Das Hochladen von {{name}} ist fehlgeschlagen: {{message}}", notXml: "{{name}} ist keine XML-Datei.", datesCard: "Daten", datesHelp: "Für eine Datei ohne Daten: Ihre datierten Inhalte übernehmen diese. Ein Datum aus der Datei geht immer vor.", effectiveDate: "Stichtag", effectiveDateHelp: "Der Tag, an dem die geplanten Releases beginnen.", sourceDate: "Quelle: Datum", sourceReference: "Quelle: Fundstelle", sourceReferenceHelp: "Wie die Veröffentlichung zitiert wird, etwa „BGBl. 2026 I Nr. 270“.", sourceIncomplete: "Eine Quelle braucht Datum und Fundstelle.", profileRequired: "Wählen Sie ein Importprofil.", consentTitle: "Der Import handelt in Ihrem Namen", consent: "Mit dem Start erhält importhub für bis zu 24 Stunden Zugriff in Ihrem Namen. Damit liest importhub Blueprints in blueprinthub, legt Platzhalter-Assets in mediahub an und schreibt das Change Set des Imports in contenthub, mit Ihren Rechten und unter Ihrem Namen. Der Zugriff endet, wenn der Import endet.", refused: "importhub hat den Import nicht gestartet", notAllowed: "Sie dürfen Importe ansehen, aber nicht starten.", noProfiles: "Noch kein Importprofil hat ein Release. Ein Admin muss erst eines freigeben.", on: "Ausführen auf", onRelease: "Den neuesten Releases, wie ein Import sie ausführt", onDraft: "Den Entwürfen des Profils, seiner Mappings und seines Entity Sets, um sie vor dem Release zu prüfen", profileDraftHelp: "Ein Dry Run auf Entwürfen führt den Entwurf jedes Profils aus, ob mit Release oder ohne.", profileDraftOption: "{{name}} (Entwurf)", startDryRun: "Dry Run starten", dryRunRefused: "importhub hat den Dry Run nicht gestartet", dryRunConsent: "Mit dem Start erhält importhub für bis zu 24 Stunden Zugriff in Ihrem Namen. Damit liest importhub Blueprints in blueprinthub, Content in contenthub und Assets in mediahub mit Ihren Rechten, um zu ermitteln, was ein Import täte. Ein Dry Run schreibt nichts und öffnet kein Change Set. Der Zugriff endet, wenn der Dry Run endet.", kind: "Was gestartet wird", kindImport: "Import: füllt ein Change Set in contenthub", kindDryRun: "Dry Run: zeigt, was ein Import täte, und schreibt nichts", kindCard: "Import oder Dry Run" }, Pt = { title: "API-Schlüssel", subtitle: "Schlüssel, mit denen Pipelines und nächtliche Lieferungen Importe ohne eine Person starten und verfolgen.", new: "Neuer API-Schlüssel", empty: "Dieser Workspace hat noch keinen importhub-API-Schlüssel.", importersOnly: "Nur Importierende verwalten API-Schlüssel. Bitten Sie eine Workspace-Administration um Importrechte, um einen zu erstellen oder zu widerrufen.", prefix: "Präfix", owner: "Inhaber", created: "Erstellt", expires: "Läuft ab", never: "Nie", nameHelp: "Wofür der Schlüssel ist, etwa „Nächtliche gesetz-Lieferung“.", nameRequired: "Geben Sie dem Schlüssel einen Namen.", nameTooLong: "Der Name ist länger als {{max}} Zeichen.", expiresOn: "Läuft ab am", expiresOnHelp: "Der Schlüssel funktioniert bis zum Ende dieses Tages. Leer lassen für einen Schlüssel, der nicht abläuft.", expiryPast: "Wählen Sie heute oder einen späteren Tag.", consentTitle: "Der Schlüssel handelt in Ihrem Namen", consent: "Wer den Schlüssel hat, kann in diesem Workspace Importe in Ihrem Namen starten und verfolgen: Diese Importe lesen Blueprints in blueprinthub, legen Platzhalter-Assets in mediahub an und schreiben ihre Change Sets in contenthub, mit Ihren Rechten, und nennen Sie als Startende. Dafür hält importhub einen dauerhaften Delegation Grant in Ihrem Namen, der endet, wenn der Schlüssel abläuft oder widerrufen wird.", createFailed: "Der API-Schlüssel konnte nicht erstellt werden.", secretTitle: "Kopieren Sie das Geheimnis jetzt", secret: "Geheimnis", secretOnce: "Es wird nur dieses eine Mal angezeigt: importhub speichert es nicht, und niemand kann es erneut anzeigen. Senden Sie es als „Authorization: Bearer <secret>“.", copySecret: "Geheimnis kopieren", done: "Fertig", revoke: "Widerrufen", revokeKey: "{{name}} widerrufen", revokeTitle: "{{name}} widerrufen?", revokeMessage: "Der Schlüssel „{{name}}“ funktioniert sofort nicht mehr, und ein damit laufender Import schlägt fehl. importhub gibt den Delegation Grant frei, den es für den Schlüssel hält. Das lässt sich nicht rückgängig machen.", revokeFailed: "Der API-Schlüssel konnte nicht widerrufen werden." }, wt = { badge: "Dry Run", subtitle: "Dry Run gestartet von {{person}}, {{time}}", failedTitle: "Der Dry Run ist fehlgeschlagen", cancelledBody: "{{person}} hat ihn abgebrochen. Er hatte nichts geschrieben.", problemsBody_one: "Ein echter Import mit denselben Eingaben würde {{count}} Item Problem melden. Es steht unten.", problemsBody_other: "Ein echter Import mit denselben Eingaben würde {{count}} Item Problems melden, Pending References darunter. Sie stehen unten.", cancel: "Dry Run abbrechen", cancelTitle: "Diesen Dry Run abbrechen?", cancelMessage: "Er hält beim nächsten Element an. Er hat nichts geschrieben, also wird nichts verworfen.", phaseLong: { reading: "Die Quelldatei wird gelesen", writing: "Es wird ermittelt, was ein Import schreiben würde" }, ranOn: "Ausgeführt auf", onReleases: "Den neuesten Releases", onDrafts: "Den Entwürfen", configuration: "Ausgeführte Konfiguration", draftOf: "{{name}}, Entwurf", correctionsTitle_one: "{{count}} Release würde korrigiert: Ein echter Import würde es durch eine Korrektur ersetzen.", correctionsTitle_other: "{{count}} Releases würden korrigiert: Ein echter Import würde sie durch Korrekturen ersetzen.", correctionsBody: "Ihre Changed Versions weichen von den Releases ab, zu denen sie passen, und ihre Mappings sagen Korrigieren. Prüfen Sie sie, bevor Sie den Import ausführen.", showCorrections: "Die Korrekturen zeigen", summary: "Was er gefunden hat", counts: { matched: "Gefundene Source Versions", created: "Anzulegender Content", planned: "Neue Planned Releases", corrected: "Korrekturen", kept: "Beibehalten", stubbed: "Stubs", unchanged: "Unverändert", problems: "Item Problems", pendingReferences: "Pending References" }, report: "Was ein Import mit jedem Content täte", actionColumn: "Was geschähe", displayName: "Name", validity: "Gültigkeitszeitraum", filterAction: "Nach dem filtern, was geschähe", allActions: "Alles", allMappings: "Alle Mappings", emptyReport: "Der Dry Run hat noch keinen Content gefunden.", noMatchingContent: "Kein Content passt.", validityRange: "{{from}} bis {{to}}", validityOpen: "ab {{from}}", action: { created: "Würde angelegt", planned: "Neues Planned Release", corrected: "Würde korrigiert", kept: "Beibehalten", stubbed: "Stub", unchanged: "Unverändert" }, notDryRun: "Dieser Import ist kein Dry Run und hat daher keinen Bericht. Seine Seite zeigt, was er getan hat.", contentCount: "{{matching}} von {{total}}" }, kt = {
|
|
15
|
+
const tt = { imports: { title: "Importe", empty: "In diesem Workspace gibt es noch keine Importe." }, profiles: { title: "Importprofile", summary_zero: "In diesem Workspace gibt es noch keine Importprofile.", summary_one: "In diesem Workspace gibt es ein Importprofil.", summary_other: "In diesem Workspace gibt es {{count}} Importprofile." }, mappings: { title: "Mappings", empty: "In diesem Workspace gibt es noch keine Mappings." }, entitySets: { title: "Entity Sets", summary_zero: "In diesem Workspace gibt es noch keine Entity Sets.", summary_one: "In diesem Workspace gibt es ein Entity Set.", summary_other: "In diesem Workspace gibt es {{count}} Entity Sets." }, processors: { title: "Prozessoren", summary_zero: "importhub bietet keine Prozessoren an.", summary_one: "importhub bietet einen Prozessor an.", summary_other: "importhub bietet {{count}} Prozessoren an." } }, nt = { loading: "Wird geladen…", error: "Das konnte nicht geladen werden. Versuchen Sie es gleich noch einmal." }, rt = { open: "Change Set in contenthub öffnen" }, it = { cancel: "Abbrechen", delete: "Löschen", create: "Anlegen", save: "Speichern", apply: "Übernehmen", close: "Schließen" }, st = { name: "Name", description: "Beschreibung" }, ot = { column: "Gültigkeit", valid: "Gültig", invalid: "Ungültig", invalidTitle: "Diese Konfiguration ist ungültig und kann nicht freigegeben werden:" }, at = { column: "Letztes Release", number: "Release {{number}}", none: "Noch kein Release", state: { none: "Noch nicht freigegeben", differs: "Entwurf weicht von Release {{number}} ab", current: "Release {{number}} ist aktuell" } }, lt = { nameTaken: "Dieser Name ist schon vergeben.", nameRequired: "Ein Name ist erforderlich.", failed: "Es konnte nicht angelegt werden. Versuchen Sie es gleich noch einmal." }, dt = { failed: "Die Änderungen konnten nicht gespeichert werden." }, ct = { title: "Details", actions: "Aktionen" }, pt = { moveUp: "{{name}} nach oben", moveDown: "{{name}} nach unten", remove: "{{name}} entfernen" }, ut = { new: "Neues Importprofil", empty: "In diesem Workspace gibt es noch keine Importprofile.", general: "Allgemein", entitySet: "Entity Set", entitySetHelp: "Die externen Zeichen-Entities, mit denen die Quelldatei gelesen wird.", noEntitySet: "Keines", autoPublish: "Automatisch veröffentlichen", autoPublishHelp: "Das Change Set eines Imports ohne Item Problems veröffentlichen.", deleteOnSuccess: "Quelldatei nach Erfolg löschen", deleteOnSuccessHelp: "Die Quelldatei löschen, sobald ein Import ohne Item Problems erfolgreich ist, statt nach der Aufbewahrungsfrist.", preprocessors: "Präprozessoren", mappings: "Mappings", postProcessors: "Postprozessoren", noPreprocessors: "Keine Präprozessoren: Die Quelldatei wird gemappt, wie sie ist.", noPostProcessors: "Keine Postprozessoren.", noMappings: "Es enthält noch kein Mapping.", addPreprocessor: "Präprozessor hinzufügen", addPostProcessor: "Postprozessor hinzufügen", addMapping: "Mapping hinzufügen", missingMapping: "Ein Mapping, das es nicht mehr gibt", delete: "Importprofil löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Importprofil wird gelöscht, und kein Import kann es mehr ausführen. Importe, die es ausgeführt hat, bleiben erhalten." }, mt = { empty: "importhub bietet keine Prozessoren an.", kindColumn: "Art", targetColumn: "Konfiguriert in", settingsColumn: "Einstellungen", noSettings: "Keine Einstellungen", kind: { preprocessor: "Präprozessor", post_processor: "Postprozessor" }, target: { source_file: "Importprofil", rich_text_field: "Rich-Text-Feld eines Mappings" }, unknown: "Nicht im Katalog", settingsOf: "Einstellungen von {{name}}", configure: "{{name}} konfigurieren", viewSettings: "Einstellungen von {{name}}", settingsCount_zero: "Keine Einstellungen gesetzt", settingsCount_one: "Eine Einstellung", settingsCount_other: "{{count}} Einstellungen" }, ht = { new: "Neues Mapping", empty: "In diesem Workspace gibt es noch keine Mappings.", general: "Allgemein", blueprint: "Ziel-Blueprint", release: "Blueprint-Release", blueprintId: "Blueprint-ID", releaseId: "Blueprint-Release-ID", idsHelp: "Wie blueprinthub sie nennt.", newRelease: "Neues Blueprint-Release", newReleaseId: "Neue Blueprint-Release-ID", elementSelector: "Element-Selektor", elementSelectorHelp: "Der XPath, der die Elemente wählt, aus denen je ein Content wird.", sourceKeySelector: "Source-Key-Selektor", sourceKeyTemplate: "Source-Key-Vorlage", sourceKeyTemplateHelp: "XPath-Ausdrücke in geschweiften Klammern, etwa {ancestor::gesetz/@refid}-{@nr}; hat Vorrang vor dem Selektor.", fieldCount_zero: "Es mappt noch kein Feld. Feld-Mappings werden im Mapping-Editor bearbeitet.", fieldCount_one: "Es mappt ein Feld. Feld-Mappings werden im Mapping-Editor bearbeitet.", fieldCount_other: "Es mappt {{count}} Felder. Feld-Mappings werden im Mapping-Editor bearbeitet.", target: "Ziel", move: "Auf ein anderes Release umstellen", moveTitle: "Auf ein anderes Blueprint-Release umstellen", check: "Prüfen", checkFailed: "Das Release konnte nicht geprüft werden.", nothingLost: "Jeden gemappten Feldpfad gibt es auch in diesem Release.", lost_one: "Ein gemappter Pfad fehlt in diesem Release:", lost_other: "{{count}} gemappte Pfade fehlen in diesem Release:", lostFields: "Feldpfade", lostReleaseSpec: "Release-Spec-Felder", moveConfirm: "Umstellen", includedBy: "Importprofile, die es enthalten", noProfiles: "Kein Importprofil enthält es.", delete: "Mapping löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Mapping wird gelöscht. importhub lehnt das ab, solange ein Importprofil es enthält." }, gt = { new: "Neues Entity Set", empty: "In diesem Workspace gibt es noch keine Entity Sets.", general: "Allgemein", entities: "Entities", entity: "Entity", noEntities: "Es definiert noch keine Entity.", entityName: "Entity {{index}}", entityText: "Steht für (Entity {{index}})", addEntity: "Entity hinzufügen", removeEntity: "Entity {{index}} entfernen", delete: "Entity Set löschen", deleteTitle: "{{name}} löschen?", deleteMessage: "Das Entity Set wird gelöscht. importhub lehnt das ab, solange ein Importprofil es nennt." }, ft = { settings: "Einstellungen", history: "Verlauf" }, bt = { action: "Release erstellen", title: "Release erstellen", confirm: "Release erstellen", message: "Der gespeicherte Entwurf wird als Release {{number}} freigegeben. Echte Importe verwenden ihn ab ihrem nächsten Start.", unchanged: "Der Entwurf entspricht Release {{number}}: Es gibt nichts freizugeben.", unsaved: "Nicht gespeicherte Änderungen auf dieser Seite gehören nicht zum Release. Speichern Sie sie zuerst, um sie freizugeben.", profilesIntro: "Diese Importprofile enthalten das Mapping und übernehmen das Release bei ihrem nächsten Import:", profiles: "Importprofile, die dieses Release übernehmen", noProfiles: "Noch kein Importprofil enthält das Mapping.", refused: "importhub hat das Release nicht erstellt:", failed: "Das Release konnte nicht erstellt werden. Versuchen Sie es gleich noch einmal.", done: "Release {{number}} ist erstellt.", doneBody: "Echte Importe verwenden es ab ihrem nächsten Start." }, yt = { hint: "Jedes Speichern ist eine Revision. Wählen Sie zwei aus, um sie nebeneinander zu vergleichen.", none: "Noch keine Revisionen.", loadMore: "Ältere Revisionen laden", columns: { revision: "Revision", release: "Release", savedBy: "Gespeichert von", savedAt: "Gespeichert" }, draft: "Entwurf", revision: "Früherer Entwurf", revisionOf: "Revision vom {{time}}", restoredFrom: "Wiederhergestellt aus {{revision}}", cutBy: "Erstellt von {{name}}, {{time}}.", unknownPerson: "Jemand, der nicht mehr im Workspace ist", restore: "Als Entwurf wiederherstellen", restoreTitle: "{{revision}} wiederherstellen?", restoreConfirm: "Wiederherstellen", restoreMessage: "Ihr Inhalt wird als neuer Entwurf gespeichert. Echte Importe verwenden weiter das neueste Release, bis Sie ein neues erstellen.", restoreFailed: "Sie konnte nicht wiederhergestellt werden.", olderRelease: "{{release}} wurde von {{name}} am {{time}} aus einer älteren Revision erstellt: Laden Sie ältere Revisionen, um sie zu sehen.", earlierRevision: "Eine frühere Revision" }, St = { title: "Vergleich", between: "{{from}} verglichen mit {{to}}", field: "Feld", same: "Die beiden Revisionen sind gleich.", differing_one: "Ein Feld unterscheidet sich.", differing_other: "{{count}} Felder unterscheiden sich.", status: { unchanged: "Unverändert", added: "Hinzugefügt", removed: "Entfernt", changed: "Geändert" }, absent: "Nicht gesetzt", missingEntitySet: "Ein Entity Set, das nicht mehr existiert", yes: "Ja", no: "Nein" }, vt = /* @__PURE__ */ JSON.parse(`{"tabs":{"fields":"Felder","versions":"Source Key & Source Versions","output":"Ausgabe","test":"Mapping Test"},"reasonsHere":"importhub hat hier einen Fehler gefunden:","tree":{"label":"Felder des Blueprint-Release","mapped":"gemappt","unmapped":"nicht gemappt","invalid":"ungültig","toggle":"Felder von {{label}} ein- oder ausblenden","outside":"Gemappt, nicht in diesem Release","noLookup":"Dieser Host kann die Felder des Blueprint-Release nicht lesen, daher sind nur die Felder aufgeführt, die das Mapping mappt.","loadFailed":"Die Felder des Blueprint-Release konnten nicht gelesen werden.","selectField":"Wählen Sie ein Feld, um es zu mappen."},"field":{"title":"Feld-Mapping","notMapped":"Das Mapping mappt dieses Feld nicht.","map":"Feld mappen","remove":"Mapping entfernen","selector":"XPath","selectorHelp":"Relativ zum Element; die Felder eines Fieldsets relativ zu dessen.","type":"Typ","optional":"Optional","optionalHelp":"Ein Element ohne diesen Wert ist kein Fehler.","dateFormat":"Datumsformat","dateFormatHelp":"Ein Go-Zeitlayout wie 02.01.2006; leer: ISO-Daten (2006-01-02).","dateFormats":"Weitere Datumsformate","dateFormatsHelp":"Ein Go-Zeitlayout pro Zeile, der Reihe nach nach dem Datumsformat versucht.","autoDetectDateFormat":"Gängige Datumsformate erkennen","numberLocale":"Zahlenformat","locale":{"de":"Deutsch (1.234,56)","en":"Englisch (1,234.56)","ch":"Schweiz (1'234.56)"},"stripCurrency":"Währungszeichen entfernen","skipInvalid":"Ungültige Werte überspringen","skipInvalidHelp":"Ein nicht lesbarer Wert lässt das Feld leer, statt ein Problem zu melden.","selectOptions":"Auswahloptionen","selectOptionsHelp":"Eine pro Zeile: Schlüssel = Bezeichnung, etwa 0 = Gesetz.","textWrapperElement":"Text-Wrapper-Element","ignoreElements":"Ignorierte Elemente","passThroughElements":"Durchgereichte Elemente","elementsHelp":"Ein Elementname pro Zeile.","normalizeWhitespace":"Leerraum normalisieren","convertNewlinesToBreaks":"Zeilenumbrüche übernehmen","richTextMore":"Node- und Mark-Mappings und die übrigen Rich-Text-Einstellungen stehen unter Erweitert (JSON).","refBlueprintId":"ID des referenzierten Blueprints","refIdTemplate":"Vorlage der Referenz-ID","refIdTemplateHelp":"XPath-Ausdrücke in geschweiften Klammern; sie müssen den Source Key des Ziels bilden.","refIdExtractPattern":"Extraktionsmuster der Referenz-ID","refIdExtractSeparator":"Trennzeichen der Referenz-ID","refIdExtractSeparatorHelp":"Verbindet die Gruppen des Musters; ohne Angabe -.","concatSelectors":"Verkettete XPaths","concatSelectorsHelp":"Ein XPath pro Zeile, der Reihe nach verbunden.","normalizeUnicode":"Unicode normalisieren","childrenHelp":"Seine Felder werden einzeln gemappt: wählen Sie sie im Baum.","elementBlueprintMap":"Blueprint je Element","elementBlueprintMapHelp":"Eine pro Zeile: Elementname = ID des referenzierten Blueprints, für einen Selektor, der mehrere Elemente trifft.","elementRefIdTemplateMap":"Vorlage der Referenz-ID je Element","elementRefIdTemplateMapHelp":"Eine pro Zeile: Elementname = Vorlage der Referenz-ID."},"json":{"title":"Erweitert (JSON)","help":"Alle xmlmapper-Einstellungen des Feld-Mappings. Schlüssel, für die das Formular oben kein Eingabefeld hat, bleiben beim Speichern erhalten.","label":"Feld-Mapping als JSON","apply":"JSON übernehmen","notJson":"Das ist kein gültiges JSON.","notObject":"Ein Feld-Mapping ist ein JSON-Objekt.","unapplied":"Noch nicht übernommen: JSON übernehmen setzt es ins Formular, Speichern speichert es."},"sourceKey":{"title":"Extraktion des Source Key","help":"Selektor und Vorlage des Source Key stehen unter Einstellungen.","extractPattern":"Extraktionsmuster","extractPatternHelp":"Ein regulärer Ausdruck auf den Wert jedes Platzhalters; seine Gruppen ersetzen einen passenden Wert.","extractSeparator":"Trennzeichen","extractSeparatorHelp":"Verbindet die Gruppen; - solange nicht gesetzt. Einmal gesetzt und geleert, verbindet es sie ohne Zeichen.","normalize":"Allen Leerraum aus dem Source Key entfernen"},"versionMatch":{"title":"Version Match","help":"Eine Source Version entspricht einem bestehenden Release, dessen Werte alle gleich sind. Ohne Angabe ist jedes Element eine einzige Source Version, verglichen mit dem Stand von Main.","validityPeriod":"Gültigkeitszeitraum vergleichen","releaseSpecFields":"Zu vergleichende Release-Spec-Felder","noReleaseSpecFields":"Das Release hat keine Release-Spec-Felder.","contentFields":"Zu vergleichende Inhaltsfelder","noContentFields":"Das Mapping mappt noch kein Feld."},"validityPeriod":{"title":"Gültigkeitszeitraum","validFrom":"XPath für gültig ab","validTo":"XPath für gültig bis","validToHelp":"Leer für unbefristet.","dateFormats":"Datumsformate","dateFormatsHelp":"Ein Go-Zeitlayout pro Zeile, der Reihe nach versucht; leer: ISO-Daten."},"releaseSpec":{"title":"Quellen der Release Spec","none":"Kein Release-Spec-Wert wird aus der Quelle gelesen.","field":"Release-Spec-Feld {{index}}","selector":"XPath {{index}}","remove":"Release-Spec-Quelle {{index}} entfernen","add":"Release-Spec-Quelle hinzufügen"},"changedVersion":{"title":"Changed Version","label":"Wenn eine Source Version zu einem Release passt, ihre gemappten Daten aber abweichen","help":"Ohne Auswahl: Korrigieren.","correct":"Korrigieren: ein Planned Release, das das passende ersetzt","keep":"Bestehendes Release behalten","fail":"Import fehlschlagen lassen"},"stub":{"title":"Stub Mapping","label":"Stub Mapping","help":"Legt für jeden Source Key, für den es noch keinen Inhalt gibt, einen Inhalt nur mit Content Key und den gemappten Feldern an und ändert nie bestehende Inhalte."},"naming":{"title":"Name und Collections","displayNameTemplate":"Vorlage des Anzeigenamens","displayNameTemplateHelp":"Feldpfade in geschweiften Klammern, etwa {titelnum} — {titel}; {titel:40} behält höchstens 40 Zeichen.","displayNameField":"Feld des Anzeigenamens","displayNameFieldHelp":"Das Textfeld des festgelegten Releases, in das der Anzeigename jedes Inhalts geschrieben wird. Zusammen mit der Vorlage setzen.","displayNameFieldNone":"Kein Anzeigename","displayNameFieldPathHelp":"Der Pfad des Textfelds, in das der Anzeigename jedes Inhalts geschrieben wird, etwa titel oder meta.label. Zusammen mit der Vorlage setzen.","collections":"Ziel-Collections","collectionsHelp":"Ein Collection-Name pro Zeile, wie contenthub ihn zeigt; jeder Inhalt wird in jede abgelegt."},"routing":{"title":"Collection-Routing","help":"Leitet eine Collection pro Inhalt ab: den Wert des Selektors, übersetzt; sonst den Treffer des ID-Musters in der Vorlage; sonst die Ersatz-Collection.","selector":"XPath","collectionMap":"Collection-Zuordnung","collectionMapHelp":"Eine pro Zeile: Wert = Collection-Name. Leer: der Wert ist der Name.","idPattern":"ID-Muster","collectionTemplate":"Collection-Vorlage","collectionTemplateHelp":"Mit {match} und {suffix}.","suffix":"Suffix","fallback":"Ersatz-Collection"},"titles":{"title":"Title Contributions","help":"Schreibt Daten je Ausgabe auf den Title, dessen Content Key der Ausgabe-Code ist.","none":"Keine Title Contributions.","item":"Title Contribution {{index}}","remove":"Title Contribution {{index}} entfernen","add":"Title Contribution hinzufügen","selector":"XPath der Ausgabe-Elemente","selectorHelp":"Wählt die Elemente, die je die Daten einer Ausgabe tragen.","ausgabeCodeSelector":"XPath des Ausgabe-Codes","referenceSpecValues":"Reference-Spec-Werte","valueField":"Reference-Spec-Feld {{index}}","valueSelector":"XPath des Werts {{index}}","removeValue":"Reference-Spec-Wert {{index}} entfernen","addValue":"Reference-Spec-Wert hinzufügen","referenceFilterSelector":"XPath des Referenzfilters","intent":"Absicht","intents":{"none":"Keine","exclude":"Ausschließen","replace":"Ersetzen","annotate":"Anmerken"},"intentTextSelector":"XPath des Absichtstexts","intentTextSelectorHelp":"Der Ersatz- oder Anmerkungstext."},"assets":{"title":"Placeholder Assets","help":"Macht die Dateiverweise der Quelle zu mediahub-Assets ohne Datei.","none":"Keine Dateiverweise werden zu Placeholder Assets.","item":"Placeholder Assets {{index}}","remove":"Placeholder Assets {{index}} entfernen","add":"Placeholder Assets hinzufügen","selector":"XPath der Dateiverweise","selectorHelp":"Etwa .//grafik.","assetType":"Asset-Typ","keyParts":"Schlüsselteile","keyPartsHelp":"Ein XPath pro Zeile, relativ zum Verweis; ihre Werte, mit / verbunden, bilden den Schlüssel des Assets.","nameSelector":"XPath des Namens","descriptionSelector":"XPath der Beschreibung","metadata":"Metadaten","metadataHelp":"Eine pro Zeile: Metadatenfeld = XPath.","folderRoot":"Wurzelordner","folderPathSelector":"XPath des Ordnerpfads","folderPathSelectorHelp":"Der Pfad der Datei, als Ordner unter dem Wurzelordner gespiegelt."},"test":{"title":"Mapping Test","about":"Ein Mapping Test führt dieses Mapping so, wie Sie es gerade bearbeiten, einschließlich ungespeicherter Änderungen, über eine Beispieldatei aus und liest sie wie ein Import. Er berührt nichts außerhalb von importhub: Er legt nichts in contenthub oder mediahub an, fragt keinen anderen Dienst und speichert nichts, auch die Beispieldatei nicht.","aboutDerived":"Verweise bleiben, wie die Beispieldatei sie nennt, Platzhalter-Assets werden nicht verknüpft und kein Post-Processor läuft: Das gehört zum Import eines Importprofils.","adminOnly":"Nur ein Admin kann einen Mapping Test ausführen.","sampleCard":"Beispieldatei","sampleHelp":"Eine XML-Datei, die importhub liest und nicht aufbewahrt.","dropHint":"XML-Beispieldatei hierher ziehen","dragActive":"Zum Auswählen loslassen","chooseFile":"Datei wählen","chosen":"Beispiel","notXml":"{{name}} ist keine XML-Datei.","entitySet":"Entity Set","entitySetHelp":"Das Entity Set, dessen Entities die Beispieldatei verwendet, wie es das Importprofil mit diesem Mapping nennt. Es gilt sein Entwurf.","noEntitySet":"Keins","run":"Mapping Test ausführen","failed":"Der Mapping Test konnte nicht laufen","summary_one":"{{count}} Element gefunden, {{problems}} mit Problemen.","summary_other":"{{count}} Elemente gefunden, {{problems}} mit Problemen.","noElements":"Der Element-Selektor hat in der Beispieldatei kein Element gefunden.","onlyProblems":"Nur Elemente mit Problemen","element":"Element {{position}}: {{sourceKey}}","noSourceKey":"kein Source Key","field":"Feld","value":"Wert","problem":"Fehler","wholeElement":"Das Element","validityPeriod":"Gültigkeitszeitraum","validFromTo":"{{from}} bis {{to}}","open":"offen","displayName":"Anzeigename","collections":"Collections","releaseSpec":"Release Spec","showMore":"Weitere Elemente zeigen","shownOf":"{{shown}} von {{total}} Elementen werden gezeigt.","problemCount_one":"{{count}} Problem","problemCount_other":"{{count}} Probleme"}}`), Rt = { start: "Import starten", empty: "In diesem Workspace lief noch kein Import.", profile: "Importprofil", startedBy: "Gestartet von", started: "Gestartet", ended: "Beendet", matched: "Gefunden", created: "Angelegt", problems: "Probleme", planned: "Geplante Releases", corrected: "Korrigiert", kept: "Beibehalten", unchanged: "Unverändert", loadMore: "Mehr laden", phase: { queued: "Wartet", reading: "Liest", writing: "Schreibt", cancelling: "Wird abgebrochen" }, outcome: { succeeded: "Erfolgreich", succeeded_with_problems: "Erfolgreich mit Problemen", failed: "Fehlgeschlagen", cancelled: "Abgebrochen" }, progressTitle: "Fortschritt", phaseLong: { reading: "Liest die Quelldatei", writing: "Schreibt das Change Set in contenthub" }, progressOf: "{{done}} von {{total}} Einträgen", progressUnknown: "Zählt die Einträge…", queuedBody: "Er wartet, bis der laufende Import des Workspace beendet ist.", failedTitle: "Der Import ist fehlgeschlagen", cancelledBody: "{{person}} hat ihn abgebrochen. Das Change Set, das er geöffnet hatte, wurde verworfen.", cancellingBody: "{{person}} hat den Abbruch angefordert. Er hält beim nächsten Eintrag an.", problemsBody_one: "{{count}} Quellversion konnte nicht gespeichert werden und wurde übersprungen. Das Change Set bleibt erhalten, damit die Redaktion den Rest korrigiert.", problemsBody_other: "{{count}} Quellversionen konnten nicht gespeichert werden und wurden übersprungen. Das Change Set bleibt erhalten, damit die Redaktion den Rest korrigiert.", details: "Details", effectiveDate: "Stichtag", source: "Quelle", sourceValue: "{{reference}}, {{date}}", none: "Keine", changeSet: "Change Set", counts: "Zahlen", releases: "Verwendete Releases", releaseOf: "{{name}}, Release {{number}}", mapping: "Mapping", entitySet: "Entity Set", cancel: "Import abbrechen", cancelTitle: "Diesen Import abbrechen?", cancelMessage: "Er hält beim nächsten Eintrag an, und das Change Set, das er geöffnet hat, wird verworfen. Das lässt sich nicht rückgängig machen.", cancelConfirm: "Import abbrechen", keepRunning: "Weiterlaufen lassen", cancelFailed: "importhub hat den Import nicht abgebrochen: {{message}}", itemProblems: "Item Problems und Pending References", noItemProblems: "Keine Probleme.", noMatchingProblems: "Kein Problem passt.", searchSourceKey: "Nach Quellschlüssel suchen", filterMapping: "Nach Mapping filtern", allMappings: "Alle Mappings ({{count}})", mappingCount: "{{name}} ({{count}})", problemCount: "{{matching}} von {{total}}", sourceKey: "Quellschlüssel", field: "Feld", reason: "Grund", wholeVersion: "Die ganze Quellversion", noSourceKey: "Kein Quellschlüssel", subtitle: "Gestartet von {{person}}, {{time}}", outcomeColumn: "Ergebnis", someone: "Jemand", mappings: "Mappings", kind: "Art", pendingReference: "Pending Reference", itemProblem: "Item Problem", problemCountWithPending_one: "{{matching}} von {{total}}, {{count}} Pending Reference", problemCountWithPending_other: "{{matching}} von {{total}}, {{count}} Pending References", kindColumn: "Art", kindImport: "Import", kindDryRun: "Dry Run", content: "Inhalt", targetBlueprint: "Ziel-Blueprint", targetBlueprintId: "Ziel-Blueprint-ID", targetSourceKey: "Ziel-Quellschlüssel", assetMoves: "Verschobene Assets", assetKey: "Asset-Schlüssel", movedFrom: "Aus Ordner", movedTo: "In Ordner", noAssetMoves: "Dieser Import hat keine Assets verschoben.", rerun: "Erneut ausführen", rerunTitle: "Diese Quelldatei erneut importieren?", rerunMessage: "Ein neuer Import liest dieselbe Quelldatei mit den neuesten Releases des Importprofils, seiner Mappings und seines Entity Sets. Stichtag und Quelle werden übernommen; dieser Import bleibt, wie er ist.", rerunConfirm: "Erneut ausführen", rerunFailed: "importhub hat den erneuten Import nicht gestartet: {{message}}", rerunStarted: "Der erneute Import wartet in der Warteschlange.", openRerun: "Den neuen Import öffnen", sourceFileGoneTitle: "Seine Quelldatei ist gelöscht", sourceFileGoneBody: "{{reason}} Gelöscht {{time}}, daher kann er nicht erneut ausgeführt werden." }, It = { title: "Import starten", fileCard: "Profil und Quelldatei", profile: "Importprofil", profileHelp: "Nur Profile mit einem Release stehen zur Wahl: Ein Import verwendet das neueste Release, nie einen Entwurf.", profileOption: "{{name}} (Release {{number}})", file: "Quelldatei", fileHelp: "Eine XML-Datei. Sie geht direkt in den Speicher von importhub.", dropHint: "XML-Datei hierher ziehen", dragActive: "Zum Hochladen loslassen", chooseFile: "Datei wählen", uploading: "{{name}} wird hochgeladen", uploaded: "{{name}} ist hochgeladen.", uploadFailed: "Das Hochladen von {{name}} ist fehlgeschlagen: {{message}}", notXml: "{{name}} ist keine XML-Datei.", datesCard: "Daten", datesHelp: "Für eine Datei ohne Daten: Ihre datierten Inhalte übernehmen diese. Ein Datum aus der Datei geht immer vor.", effectiveDate: "Stichtag", effectiveDateHelp: "Der Tag, an dem die geplanten Releases beginnen.", sourceDate: "Quelle: Datum", sourceReference: "Quelle: Fundstelle", sourceReferenceHelp: "Wie die Veröffentlichung zitiert wird, etwa „BGBl. 2026 I Nr. 270“.", sourceIncomplete: "Eine Quelle braucht Datum und Fundstelle.", profileRequired: "Wählen Sie ein Importprofil.", consentTitle: "Der Import handelt in Ihrem Namen", consent: "Mit dem Start erhält importhub für bis zu 24 Stunden Zugriff in Ihrem Namen. Damit liest importhub Blueprints in blueprinthub, legt Platzhalter-Assets in mediahub an und schreibt das Change Set des Imports in contenthub, mit Ihren Rechten und unter Ihrem Namen. Der Zugriff endet, wenn der Import endet.", refused: "importhub hat den Import nicht gestartet", notAllowed: "Sie dürfen Importe ansehen, aber nicht starten.", noProfiles: "Noch kein Importprofil hat ein Release. Ein Admin muss erst eines freigeben.", on: "Ausführen auf", onRelease: "Den neuesten Releases, wie ein Import sie ausführt", onDraft: "Den Entwürfen des Profils, seiner Mappings und seines Entity Sets, um sie vor dem Release zu prüfen", profileDraftHelp: "Ein Dry Run auf Entwürfen führt den Entwurf jedes Profils aus, ob mit Release oder ohne.", profileDraftOption: "{{name}} (Entwurf)", startDryRun: "Dry Run starten", dryRunRefused: "importhub hat den Dry Run nicht gestartet", dryRunConsent: "Mit dem Start erhält importhub für bis zu 24 Stunden Zugriff in Ihrem Namen. Damit liest importhub Blueprints in blueprinthub, Content in contenthub und Assets in mediahub mit Ihren Rechten, um zu ermitteln, was ein Import täte. Ein Dry Run schreibt nichts und öffnet kein Change Set. Der Zugriff endet, wenn der Dry Run endet.", kind: "Was gestartet wird", kindImport: "Import: füllt ein Change Set in contenthub", kindDryRun: "Dry Run: zeigt, was ein Import täte, und schreibt nichts", kindCard: "Import oder Dry Run" }, wt = { title: "API-Schlüssel", subtitle: "Schlüssel, mit denen Pipelines und nächtliche Lieferungen Importe ohne eine Person starten und verfolgen.", new: "Neuer API-Schlüssel", empty: "Dieser Workspace hat noch keinen importhub-API-Schlüssel.", importersOnly: "Nur Importierende verwalten API-Schlüssel. Bitten Sie eine Workspace-Administration um Importrechte, um einen zu erstellen oder zu widerrufen.", prefix: "Präfix", owner: "Inhaber", created: "Erstellt", expires: "Läuft ab", never: "Nie", nameHelp: "Wofür der Schlüssel ist, etwa „Nächtliche gesetz-Lieferung“.", nameRequired: "Geben Sie dem Schlüssel einen Namen.", nameTooLong: "Der Name ist länger als {{max}} Zeichen.", expiresOn: "Läuft ab am", expiresOnHelp: "Der Schlüssel funktioniert bis zum Ende dieses Tages. Leer lassen für einen Schlüssel, der nicht abläuft.", expiryPast: "Wählen Sie heute oder einen späteren Tag.", consentTitle: "Der Schlüssel handelt in Ihrem Namen", consent: "Wer den Schlüssel hat, kann in diesem Workspace Importe in Ihrem Namen starten und verfolgen: Diese Importe lesen Blueprints in blueprinthub, legen Platzhalter-Assets in mediahub an und schreiben ihre Change Sets in contenthub, mit Ihren Rechten, und nennen Sie als Startende. Dafür hält importhub einen dauerhaften Delegation Grant in Ihrem Namen, der endet, wenn der Schlüssel abläuft oder widerrufen wird.", createFailed: "Der API-Schlüssel konnte nicht erstellt werden.", secretTitle: "Kopieren Sie das Geheimnis jetzt", secret: "Geheimnis", secretOnce: "Es wird nur dieses eine Mal angezeigt: importhub speichert es nicht, und niemand kann es erneut anzeigen. Senden Sie es als „Authorization: Bearer <secret>“.", copySecret: "Geheimnis kopieren", done: "Fertig", revoke: "Widerrufen", revokeKey: "{{name}} widerrufen", revokeTitle: "{{name}} widerrufen?", revokeMessage: "Der Schlüssel „{{name}}“ funktioniert sofort nicht mehr, und ein damit laufender Import schlägt fehl. importhub gibt den Delegation Grant frei, den es für den Schlüssel hält. Das lässt sich nicht rückgängig machen.", revokeFailed: "Der API-Schlüssel konnte nicht widerrufen werden." }, Pt = { badge: "Dry Run", subtitle: "Dry Run gestartet von {{person}}, {{time}}", failedTitle: "Der Dry Run ist fehlgeschlagen", cancelledBody: "{{person}} hat ihn abgebrochen. Er hatte nichts geschrieben.", problemsBody_one: "Ein echter Import mit denselben Eingaben würde {{count}} Item Problem melden. Es steht unten.", problemsBody_other: "Ein echter Import mit denselben Eingaben würde {{count}} Item Problems melden, Pending References darunter. Sie stehen unten.", cancel: "Dry Run abbrechen", cancelTitle: "Diesen Dry Run abbrechen?", cancelMessage: "Er hält beim nächsten Element an. Er hat nichts geschrieben, also wird nichts verworfen.", phaseLong: { reading: "Die Quelldatei wird gelesen", writing: "Es wird ermittelt, was ein Import schreiben würde" }, ranOn: "Ausgeführt auf", onReleases: "Den neuesten Releases", onDrafts: "Den Entwürfen", configuration: "Ausgeführte Konfiguration", draftOf: "{{name}}, Entwurf", correctionsTitle_one: "{{count}} Release würde korrigiert: Ein echter Import würde es durch eine Korrektur ersetzen.", correctionsTitle_other: "{{count}} Releases würden korrigiert: Ein echter Import würde sie durch Korrekturen ersetzen.", correctionsBody: "Ihre Changed Versions weichen von den Releases ab, zu denen sie passen, und ihre Mappings sagen Korrigieren. Prüfen Sie sie, bevor Sie den Import ausführen.", showCorrections: "Die Korrekturen zeigen", summary: "Was er gefunden hat", counts: { matched: "Gefundene Source Versions", created: "Anzulegender Content", planned: "Neue Planned Releases", corrected: "Korrekturen", kept: "Beibehalten", stubbed: "Stubs", unchanged: "Unverändert", problems: "Item Problems", pendingReferences: "Pending References" }, report: "Was ein Import mit jedem Content täte", actionColumn: "Was geschähe", displayName: "Name", validity: "Gültigkeitszeitraum", filterAction: "Nach dem filtern, was geschähe", allActions: "Alles", allMappings: "Alle Mappings", emptyReport: "Der Dry Run hat noch keinen Content gefunden.", noMatchingContent: "Kein Content passt.", validityRange: "{{from}} bis {{to}}", validityOpen: "ab {{from}}", action: { created: "Würde angelegt", planned: "Neues Planned Release", corrected: "Würde korrigiert", kept: "Beibehalten", stubbed: "Stub", unchanged: "Unverändert" }, notDryRun: "Dieser Import ist kein Dry Run und hat daher keinen Bericht. Seine Seite zeigt, was er getan hat.", contentCount: "{{matching}} von {{total}}" }, kt = {
|
|
16
16
|
section: tt,
|
|
17
17
|
startPage: nt,
|
|
18
|
-
changeSet:
|
|
19
|
-
common:
|
|
18
|
+
changeSet: rt,
|
|
19
|
+
common: it,
|
|
20
20
|
fields: st,
|
|
21
21
|
validity: ot,
|
|
22
22
|
release: at,
|
|
@@ -36,9 +36,9 @@ const tt = { imports: { title: "Importe", empty: "In diesem Workspace gibt es no
|
|
|
36
36
|
editor: vt,
|
|
37
37
|
imports: Rt,
|
|
38
38
|
startImport: It,
|
|
39
|
-
apiKeys:
|
|
40
|
-
dryRun:
|
|
41
|
-
}, Et = { imports: { title: "Imports", empty: "No Imports in this workspace yet." }, profiles: { title: "Import Profiles", summary_zero: "No Import Profiles in this workspace yet.", summary_one: "This workspace has one Import Profile.", summary_other: "This workspace has {{count}} Import Profiles." }, mappings: { title: "Mappings", empty: "No Mappings in this workspace yet." }, entitySets: { title: "Entity Sets", summary_zero: "No Entity Sets in this workspace yet.", summary_one: "This workspace has one Entity Set.", summary_other: "This workspace has {{count}} Entity Sets." }, processors: { title: "Processors", summary_zero: "importhub offers no Processors.", summary_one: "importhub offers one Processor.", summary_other: "importhub offers {{count}} Processors." } }, Ct = { loading: "Loading…", error: "This could not be loaded. Try again in a moment." }, Dt = { open: "Open the Change Set in contenthub" }, Tt = { cancel: "Cancel", delete: "Delete", create: "Create", save: "Save", apply: "Apply", close: "Close" }, Mt = { name: "Name", description: "Description" }, Ft = { column: "Validity", valid: "Valid", invalid: "Invalid", invalidTitle: "This configuration is invalid and cannot be released:" }, At = { column: "Latest Release", number: "Release {{number}}", none: "No Release yet", state: { none: "Not released yet", differs: "Draft differs from Release {{number}}", current: "Release {{number}} is current" } }, Nt = { nameTaken: "Another one already has this name.", nameRequired: "A name is required.", failed: "It could not be created. Try again in a moment." }, xt = { failed: "The changes could not be saved." }, zt = { title: "Details", actions: "Actions" }, Ht = { moveUp: "Move {{name}} up", moveDown: "Move {{name}} down", remove: "Remove {{name}}" }, Kt = { new: "New Import Profile", empty: "No Import Profiles in this workspace yet.", general: "General", entitySet: "Entity Set", entitySetHelp: "The external character entities the Source File is read with.", noEntitySet: "None", autoPublish: "Auto-publish", autoPublishHelp: "Publish the Change Set of an Import that succeeds without Item Problems.", deleteOnSuccess: "Delete the Source File on success", deleteOnSuccessHelp: "Delete the Source File as soon as an Import succeeds without Item Problems, instead of after the retention period.", preprocessors: "Preprocessors", mappings: "Mappings", postProcessors: "Post-processors", noPreprocessors: "No Preprocessors: the Source File is mapped as it is.", noPostProcessors: "No Post-processors.", noMappings: "It includes no Mapping yet.", addPreprocessor: "Add Preprocessor", addPostProcessor: "Add Post-processor", addMapping: "Add Mapping", missingMapping: "A Mapping that no longer exists", delete: "Delete Import Profile", deleteTitle: "Delete {{name}}?", deleteMessage: "The Import Profile is deleted, and no Import can run it any more. Imports it ran keep their record." }, Bt = { empty: "importhub offers no Processors.", kindColumn: "Kind", targetColumn: "Configured on", settingsColumn: "Settings", noSettings: "No settings", kind: { preprocessor: "Preprocessor", post_processor: "Post-processor" }, target: { source_file: "Import Profile", rich_text_field: "Rich-text field of a Mapping" }, unknown: "Not in the catalogue", settingsOf: "Settings of {{name}}", configure: "Configure {{name}}", viewSettings: "Settings of {{name}}", settingsCount_zero: "No settings set", settingsCount_one: "One setting", settingsCount_other: "{{count}} settings" }, Ot = { new: "New Mapping", empty: "No Mappings in this workspace yet.", general: "General", blueprint: "Target Blueprint", release: "Blueprint Release", blueprintId: "Blueprint ID", releaseId: "Blueprint Release ID", idsHelp: "As blueprinthub names them.", newRelease: "New Blueprint Release", newReleaseId: "New Blueprint Release ID", elementSelector: "Element selector", elementSelectorHelp: "The XPath selecting the elements that each become one Content.", sourceKeySelector: "Source Key selector", sourceKeyTemplate: "Source Key template", sourceKeyTemplateHelp: "XPath expressions in braces, such as {ancestor::gesetz/@refid}-{@nr}; wins over the selector.", fieldCount_zero: "It maps no field yet. Field mappings are edited in the Mapping editor.", fieldCount_one: "It maps one field. Field mappings are edited in the Mapping editor.", fieldCount_other: "It maps {{count}} fields. Field mappings are edited in the Mapping editor.", target: "Target", move: "Move to another Release", moveTitle: "Move to another Blueprint Release", check: "Check", checkFailed: "The Release could not be checked.", nothingLost: "Every mapped field path exists in this Release.", lost_one: "One mapped path does not exist in this Release:", lost_other: "{{count}} mapped paths do not exist in this Release:", lostFields: "Field paths", lostReleaseSpec: "Release Spec fields", moveConfirm: "Move", includedBy: "Import Profiles that include it", noProfiles: "No Import Profile includes it.", delete: "Delete Mapping", deleteTitle: "Delete {{name}}?", deleteMessage: "The Mapping is deleted. importhub refuses while an Import Profile includes it." }, _t = { new: "New Entity Set", empty: "No Entity Sets in this workspace yet.", general: "General", entities: "Entities", entity: "Entity", noEntities: "It defines no entity yet.", entityName: "Entity {{index}}", entityText: "Stands for (entity {{index}})", addEntity: "Add entity", removeEntity: "Remove entity {{index}}", delete: "Delete Entity Set", deleteTitle: "Delete {{name}}?", deleteMessage: "The Entity Set is deleted. importhub refuses while an Import Profile names it." }, Wt = { settings: "Settings", history: "History" }, Vt = { action: "Cut Release", title: "Cut a Release", confirm: "Cut Release", message: "The saved draft is released as Release {{number}}. Real Imports run it from their next Start.", unchanged: "The draft is the same as Release {{number}}: there is nothing to release.", unsaved: "Unsaved changes on this page are not part of the Release. Save them first to release them.", profilesIntro: "These Import Profiles include the Mapping and take the Release at their next Import:", profiles: "Import Profiles that take this Release", noProfiles: "No Import Profile includes the Mapping yet.", refused: "importhub did not cut the Release:", failed: "The Release could not be cut. Try again in a moment.", done: "Release {{number}} is cut.", doneBody: "Real Imports run it from their next Start." }, Lt = { hint: "Every save is a Revision. Choose two to compare them side by side.", none: "No Revisions yet.", loadMore: "Load older Revisions", columns: { revision: "Revision", release: "Release", savedBy: "Saved by", savedAt: "Saved" }, draft: "Draft", revision: "Earlier draft", revisionOf: "Revision of {{time}}", restoredFrom: "Restored from {{revision}}", cutBy: "Cut by {{name}}, {{time}}.", unknownPerson: "Someone no longer in the workspace", restore: "Restore as draft", restoreTitle: "Restore {{revision}}?", restoreConfirm: "Restore", restoreMessage: "Its content is saved as a new draft. Real Imports keep running the latest Release until you cut another.", restoreFailed: "It could not be restored.", olderRelease: "{{release}} was cut by {{name}}, {{time}}, from an older Revision: load older Revisions to see it.", earlierRevision: "An earlier Revision" }, Xt = { title: "Comparison", between: "{{from}} compared with {{to}}", field: "Field", same: "The two Revisions are the same.", differing_one: "One field differs.", differing_other: "{{count}} fields differ.", status: { unchanged: "Unchanged", added: "Added", removed: "Removed", changed: "Changed" }, absent: "Not set", missingEntitySet: "An Entity Set that no longer exists", yes: "Yes", no: "No" }, qt = { tabs: { fields: "Fields", versions: "Source Key & Source Versions", output: "Output", test: "Mapping Test" }, reasonsHere: "importhub found this wrong here:", tree: { label: "Fields of the Blueprint Release", mapped: "mapped", unmapped: "not mapped", invalid: "invalid", toggle: "Show or hide the fields of {{label}}", outside: "Mapped, not in this Release", noLookup: "This host cannot read the Blueprint Release's fields, so only the fields the Mapping maps are listed.", loadFailed: "The Blueprint Release's fields could not be read.", selectField: "Select a field to map it." }, field: { title: "Field mapping", notMapped: "The Mapping does not map this field.", map: "Map this field", remove: "Remove mapping", selector: "XPath", selectorHelp: "Relative to the element; a fieldset's children relative to the fieldset's.", type: "Type", optional: "Optional", optionalHelp: "An element without it is not an error.", dateFormat: "Date format", dateFormatHelp: "A Go time layout, such as 02.01.2006; ISO dates (2006-01-02) when empty.", dateFormats: "Further date formats", dateFormatsHelp: "One Go time layout per line, tried in order after the date format.", autoDetectDateFormat: "Detect common date formats", numberLocale: "Number format", locale: { de: "German (1.234,56)", en: "English (1,234.56)", ch: "Swiss (1'234.56)" }, stripCurrency: "Strip currency symbols", skipInvalid: "Skip invalid values", skipInvalidHelp: "A value that cannot be read leaves the field empty instead of reporting a problem.", selectOptions: "Select options", selectOptionsHelp: "One per line: key = label, such as 0 = Gesetz.", textWrapperElement: "Text wrapper element", ignoreElements: "Ignored elements", passThroughElements: "Pass-through elements", elementsHelp: "One element name per line.", normalizeWhitespace: "Normalize whitespace", convertNewlinesToBreaks: "Turn newlines into line breaks", richTextMore: "Node and mark mappings and the other rich-text settings are in Advanced (JSON).", refBlueprintId: "Referenced Blueprint ID", refIdTemplate: "Reference ID template", refIdTemplateHelp: "XPath expressions in braces; it must build the target's Source Key.", refIdExtractPattern: "Reference ID extract pattern", refIdExtractSeparator: "Reference ID separator", refIdExtractSeparatorHelp: "Joins the pattern's groups; - when left out.", concatSelectors: "Concatenated XPaths", concatSelectorsHelp: "One XPath per line, joined in order.", normalizeUnicode: "Normalize Unicode", childrenHelp: "Its fields are mapped on their own: select them in the tree.", elementBlueprintMap: "Blueprint by element", elementBlueprintMapHelp: "One per line: element name = referenced Blueprint ID, for a selector matching several elements.", elementRefIdTemplateMap: "Reference ID template by element", elementRefIdTemplateMapHelp: "One per line: element name = reference ID template." }, json: { title: "Advanced (JSON)", help: "The field mapping's full xmlmapper settings. Keys the form above has no input for are kept when you save.", label: "Field mapping as JSON", apply: "Apply JSON", notJson: "This is not valid JSON.", notObject: "A field mapping is a JSON object.", unapplied: "Not applied yet: Apply JSON puts it into the form, and Save saves it." }, sourceKey: { title: "Source Key extraction", help: "The Source Key's selector and template are under Settings.", extractPattern: "Extract pattern", extractPatternHelp: "A regular expression applied to each placeholder's value; its groups replace a value it matches.", extractSeparator: "Extract separator", extractSeparatorHelp: "Joins the groups; - while left unset. Emptied once set, it joins them with nothing.", normalize: "Remove all whitespace from the Source Key" }, versionMatch: { title: "Version Match", help: "A Source Version matches an existing Release whose values are all equal. Unset, each element is a single Source Version, compared with Main's head.", validityPeriod: "Compare the Validity Period", releaseSpecFields: "Release Spec fields to compare", noReleaseSpecFields: "The Release has no Release Spec fields.", contentFields: "Content fields to compare", noContentFields: "The Mapping maps no field yet." }, validityPeriod: { title: "Validity Period", validFrom: "Valid from XPath", validTo: "Valid to XPath", validToHelp: "Empty for open-ended.", dateFormats: "Date formats", dateFormatsHelp: "One Go time layout per line, tried in order; ISO dates when empty." }, releaseSpec: { title: "Release Spec sources", none: "No Release Spec value is read from the source.", field: "Release Spec field {{index}}", selector: "XPath {{index}}", remove: "Remove Release Spec source {{index}}", add: "Add Release Spec source" }, changedVersion: { title: "Changed Version", label: "When a Source Version matches a Release but its mapped data differs", help: "Correct when nothing is chosen.", correct: "Correct: a Planned Release that Supersedes the matched one", keep: "Keep the existing Release", fail: "Fail the Import" }, stub: { title: "Stub Mapping", label: "Stub Mapping", help: "Creates Content holding only the Content Key and the fields it maps for each Source Key no Content has yet, and never changes existing Content." }, naming: { title: "Name and Collections", displayNameTemplate: "Display-name template", displayNameTemplateHelp: "Field paths in braces, such as {titelnum} — {titel}; {titel:40} keeps at most 40 characters.", displayNameField: "Display-name field", displayNameFieldHelp: "The plain-text field of the pinned Release each Content's display name is written into. Set it with the template.", displayNameFieldNone: "No display name", displayNameFieldPathHelp: "The path of the plain-text field each Content's display name is written into, such as titel or meta.label. Set it with the template.", collections: "Target Collections", collectionsHelp: "One Collection name per line, as contenthub shows it; every Content is filed into each." }, routing: { title: "Collection routing", help: "Derives one Collection per Content: the selector's value, mapped; else the ID pattern's match in the template; else the fallback.", selector: "XPath", collectionMap: "Collection map", collectionMapHelp: "One per line: value = Collection name. Empty: the value is the name.", idPattern: "ID pattern", collectionTemplate: "Collection template", collectionTemplateHelp: "With {match} and {suffix}.", suffix: "Suffix", fallback: "Fallback Collection" }, titles: { title: "Title Contributions", help: "Writes per-Ausgabe data onto the Title whose Content Key is the Ausgabe code.", none: "No Title Contributions.", item: "Title Contribution {{index}}", remove: "Remove Title Contribution {{index}}", add: "Add Title Contribution", selector: "Ausgabe elements XPath", selectorHelp: "Selects the elements that carry one Ausgabe's data each.", ausgabeCodeSelector: "Ausgabe code XPath", referenceSpecValues: "Reference Spec values", valueField: "Reference Spec field {{index}}", valueSelector: "Value XPath {{index}}", removeValue: "Remove Reference Spec value {{index}}", addValue: "Add Reference Spec value", referenceFilterSelector: "Reference filter XPath", intent: "Intent", intents: { none: "None", exclude: "Exclude", replace: "Replace", annotate: "Annotate" }, intentTextSelector: "Intent text XPath", intentTextSelectorHelp: "The replacement or annotation text." }, assets: { title: "Placeholder Assets", help: "Turns the file references the source names into mediahub assets without a file.", none: "No file references become Placeholder Assets.", item: "Placeholder Assets {{index}}", remove: "Remove Placeholder Assets {{index}}", add: "Add Placeholder Assets", selector: "File references XPath", selectorHelp: "Such as .//grafik.", assetType: "Asset type", keyParts: "Key parts", keyPartsHelp: "One XPath per line, relative to the reference; their values joined by / form the asset's key.", nameSelector: "Name XPath", descriptionSelector: "Description XPath", metadata: "Metadata", metadataHelp: "One per line: metadata field = XPath.", folderRoot: "Folder root", folderPathSelector: "Folder path XPath", folderPathSelectorHelp: "The file's path, mirrored as folders under the root." }, test: { title: "Mapping Test", about: "A Mapping Test runs this Mapping as you are editing it, unsaved changes included, over a sample file, and reads it as an Import would. It touches nothing outside importhub: it creates nothing in contenthub or mediahub, asks no other service, and saves nothing, not even the sample.", aboutDerived: "References stay as the sample names them, Placeholder Assets are not linked and no Post-processor runs: those belong to an Import Profile's Import.", adminOnly: "Only an admin can run a Mapping Test.", sampleCard: "Sample file", sampleHelp: "An XML file, read in importhub and not kept.", dropHint: "Drop a sample XML file here", dragActive: "Release to choose it", chooseFile: "Choose file", chosen: "Sample", notXml: "{{name}} is not an XML file.", entitySet: "Entity Set", entitySetHelp: "The Entity Set whose entities the sample uses, as the Import Profile including this Mapping names one. Its draft is used.", noEntitySet: "None", run: "Run Mapping Test", failed: "The Mapping Test could not run", summary_one: "{{count}} element matched, {{problems}} with problems.", summary_other: "{{count}} elements matched, {{problems}} with problems.", noElements: "The element selector matched no element in the sample.", onlyProblems: "Only elements with problems", element: "Element {{position}}: {{sourceKey}}", noSourceKey: "no Source Key", field: "Field", value: "Value", problem: "Error", wholeElement: "The element", validityPeriod: "Validity Period", validFromTo: "{{from}} to {{to}}", open: "open", displayName: "Display name", collections: "Collections", releaseSpec: "Release Spec", showMore: "Show more elements", shownOf: "Showing {{shown}} of {{total}} elements.", problemCount_one: "{{count}} problem", problemCount_other: "{{count}} problems" } }, Gt = { start: "Start Import", empty: "No Import has run in this workspace yet.", profile: "Import Profile", startedBy: "Started by", started: "Started", ended: "Ended", matched: "Matched", created: "Created", problems: "Problems", planned: "Planned Releases", corrected: "Corrected", kept: "Kept", unchanged: "Unchanged", loadMore: "Load more", phase: { queued: "Queued", reading: "Reading", writing: "Writing", cancelling: "Cancelling" }, outcome: { succeeded: "Succeeded", succeeded_with_problems: "Succeeded with problems", failed: "Failed", cancelled: "Cancelled" }, progressTitle: "Progress", phaseLong: { reading: "Reading the Source File", writing: "Writing the Change Set in contenthub" }, progressOf: "{{done}} of {{total}} items", progressUnknown: "Counting the items…", queuedBody: "It waits until the workspace's running Import has ended.", failedTitle: "The Import failed", cancelledBody: "{{person}} cancelled it. The Change Set it opened was discarded.", cancellingBody: "{{person}} asked to cancel it. It stops at its next item.", problemsBody_one: "{{count}} Source Version could not be saved and was skipped. Its Change Set is kept, for editors to fix the rest.", problemsBody_other: "{{count}} Source Versions could not be saved and were skipped. Its Change Set is kept, for editors to fix the rest.", details: "Details", effectiveDate: "Effective date", source: "Source", sourceValue: "{{reference}}, {{date}}", none: "None", changeSet: "Change Set", counts: "Counts", releases: "Releases it ran with", releaseOf: "{{name}}, Release {{number}}", mapping: "Mapping", entitySet: "Entity Set", cancel: "Cancel Import", cancelTitle: "Cancel this Import?", cancelMessage: "It stops at its next item, and the Change Set it opened is discarded. This cannot be undone.", cancelConfirm: "Cancel Import", keepRunning: "Keep running", cancelFailed: "importhub did not cancel the Import: {{message}}", itemProblems: "Item Problems and Pending References", noItemProblems: "No Item Problems.", noMatchingProblems: "No Item Problem matches.", searchSourceKey: "Search by Source Key", filterMapping: "Filter by Mapping", allMappings: "All Mappings ({{count}})", mappingCount: "{{name}} ({{count}})", problemCount: "{{matching}} of {{total}}", sourceKey: "Source Key", field: "Field", reason: "Reason", wholeVersion: "The whole Source Version", noSourceKey: "No Source Key", subtitle: "Started by {{person}}, {{time}}", outcomeColumn: "Outcome", someone: "Someone", mappings: "Mappings", kind: "Kind", pendingReference: "Pending Reference", itemProblem: "Item Problem", problemCountWithPending_one: "{{matching}} of {{total}}, {{count}} Pending Reference", problemCountWithPending_other: "{{matching}} of {{total}}, {{count}} Pending References", kindColumn: "Kind", kindImport: "Import", kindDryRun: "Dry Run" }, $t = { title: "Start an Import", fileCard: "Profile and Source File", profile: "Import Profile", profileHelp: "Only Profiles with a Release are offered: an Import runs the latest Release, never a draft.", profileOption: "{{name}} (Release {{number}})", file: "Source File", fileHelp: "One XML file. It goes straight to importhub's storage.", dropHint: "Drag an XML file here", dragActive: "Drop to upload", chooseFile: "Choose file", uploading: "Uploading {{name}}", uploaded: "{{name}} is uploaded.", uploadFailed: "The upload of {{name}} failed: {{message}}", notXml: "{{name}} is not an XML file.", datesCard: "Dates", datesHelp: "For a file that gives no dates: its Dated Content takes these. A date the file gives always wins.", effectiveDate: "Effective date", effectiveDateHelp: "The day the Planned Releases start.", sourceDate: "Source: date", sourceReference: "Source: reference", sourceReferenceHelp: "How the publication is cited, such as “BGBl. 2026 I Nr. 270”.", sourceIncomplete: "A Source needs both its date and its reference.", profileRequired: "Choose an Import Profile.", consentTitle: "The Import acts as you", consent: "Starting it grants importhub delegated access in your name for up to 24 hours. With it, importhub reads Blueprints in blueprinthub, creates Placeholder Assets in mediahub and writes the Import's Change Set in contenthub, with your rights and named as you. The access ends when the Import ends.", refused: "importhub did not start the Import", notAllowed: "You may look at Imports, but not start them.", noProfiles: "No Import Profile has a Release yet. An admin releases one first.", on: "Run on", onRelease: "The latest Releases, as an Import runs them", onDraft: "The drafts of the Profile, its Mappings and its Entity Set, to check them before releasing", profileDraftHelp: "A Dry Run on drafts runs any Profile's draft, released or not.", profileDraftOption: "{{name}} (draft)", startDryRun: "Start Dry Run", dryRunRefused: "importhub did not start the Dry Run", dryRunConsent: "Starting it grants importhub delegated access in your name for up to 24 hours. With it, importhub reads Blueprints in blueprinthub, Content in contenthub and assets in mediahub as you, to find what an Import would do. A Dry Run writes nothing and opens no Change Set. The access ends when the Dry Run ends.", kind: "What to start", kindImport: "Import: fills a Change Set in contenthub", kindDryRun: "Dry Run: reports what an Import would do, and writes nothing", kindCard: "Import or Dry Run" }, jt = { title: "API keys", subtitle: "Keys with which pipelines and nightly feeds start and follow Imports without a person.", new: "New API key", empty: "This workspace has no importhub API key yet.", importersOnly: "Only importers manage API keys. Ask a workspace admin for importer rights to create or revoke one.", prefix: "Prefix", owner: "Owner", created: "Created", expires: "Expires", never: "Never", nameHelp: "What the key is for, such as “Nightly gesetz feed”.", nameRequired: "Give the key a name.", nameTooLong: "The name is longer than {{max}} characters.", expiresOn: "Expires on", expiresOnHelp: "The key stops working at the end of this day. Leave it empty for a key that does not expire.", expiryPast: "Pick today or a day ahead.", consentTitle: "The key acts as you", consent: "Whoever holds the key can start and follow Imports in this workspace as you: those Imports read Blueprints in blueprinthub, create Placeholder Assets in mediahub and write their Change Sets in contenthub with your rights, and name you as their starter. For that, importhub holds a standing Delegation Grant in your name, which ends when the key expires or is revoked.", createFailed: "The API key could not be created.", secretTitle: "Copy the secret now", secret: "Secret", secretOnce: "It is shown only this once: importhub does not keep it, and nobody can show it again. Send it as “Authorization: Bearer <secret>”.", copySecret: "Copy secret", done: "Done", revoke: "Revoke", revokeKey: "Revoke {{name}}", revokeTitle: "Revoke {{name}}?", revokeMessage: "The key “{{name}}” stops working at once, and an Import running with it fails. importhub releases the Delegation Grant it holds for the key. This cannot be undone.", revokeFailed: "The API key could not be revoked." }, Qt = { badge: "Dry Run", subtitle: "Dry Run started by {{person}}, {{time}}", failedTitle: "The Dry Run failed", cancelledBody: "{{person}} cancelled it. It had written nothing.", problemsBody_one: "A real Import with the same inputs would report {{count}} Item Problem. It is listed below.", problemsBody_other: "A real Import with the same inputs would report {{count}} Item Problems, Pending References among them. They are listed below.", cancel: "Cancel Dry Run", cancelTitle: "Cancel this Dry Run?", cancelMessage: "It stops at its next item. It has written nothing, so nothing is discarded.", phaseLong: { reading: "Reading the Source File", writing: "Working out what an Import would write" }, ranOn: "Ran on", onReleases: "The latest Releases", onDrafts: "The drafts", configuration: "Configuration it ran with", draftOf: "{{name}}, draft", correctionsTitle_one: "{{count}} Release would be corrected: a real Import would Supersede it with a correction.", correctionsTitle_other: "{{count}} Releases would be corrected: a real Import would Supersede them with corrections.", correctionsBody: "Their Changed Versions differ from the Releases they match, and their Mappings say Correct. Check them before running the Import.", showCorrections: "Show the corrections", summary: "What it found", counts: { matched: "Source Versions matched", created: "Content to create", planned: "New Planned Releases", corrected: "Corrections", kept: "Kept", stubbed: "Stubs", unchanged: "Unchanged", problems: "Item Problems", pendingReferences: "Pending References" }, report: "What an Import would do with each Content", actionColumn: "What would happen", displayName: "Name", validity: "Validity Period", filterAction: "Filter by what would happen", allActions: "Everything", allMappings: "All Mappings", emptyReport: "The Dry Run has found no Content yet.", noMatchingContent: "No Content matches.", validityRange: "{{from}} to {{to}}", validityOpen: "from {{from}}", action: { created: "Would be created", planned: "New Planned Release", corrected: "Would be corrected", kept: "Kept", stubbed: "Stub", unchanged: "Unchanged" }, notDryRun: "This Import is no Dry Run, so it has no report. Its page shows what it did.", contentCount: "{{matching}} of {{total}}" }, Zt = {
|
|
39
|
+
apiKeys: wt,
|
|
40
|
+
dryRun: Pt
|
|
41
|
+
}, Et = { imports: { title: "Imports", empty: "No Imports in this workspace yet." }, profiles: { title: "Import Profiles", summary_zero: "No Import Profiles in this workspace yet.", summary_one: "This workspace has one Import Profile.", summary_other: "This workspace has {{count}} Import Profiles." }, mappings: { title: "Mappings", empty: "No Mappings in this workspace yet." }, entitySets: { title: "Entity Sets", summary_zero: "No Entity Sets in this workspace yet.", summary_one: "This workspace has one Entity Set.", summary_other: "This workspace has {{count}} Entity Sets." }, processors: { title: "Processors", summary_zero: "importhub offers no Processors.", summary_one: "importhub offers one Processor.", summary_other: "importhub offers {{count}} Processors." } }, Ct = { loading: "Loading…", error: "This could not be loaded. Try again in a moment." }, Dt = { open: "Open the Change Set in contenthub" }, Tt = { cancel: "Cancel", delete: "Delete", create: "Create", save: "Save", apply: "Apply", close: "Close" }, Mt = { name: "Name", description: "Description" }, Ft = { column: "Validity", valid: "Valid", invalid: "Invalid", invalidTitle: "This configuration is invalid and cannot be released:" }, At = { column: "Latest Release", number: "Release {{number}}", none: "No Release yet", state: { none: "Not released yet", differs: "Draft differs from Release {{number}}", current: "Release {{number}} is current" } }, Nt = { nameTaken: "Another one already has this name.", nameRequired: "A name is required.", failed: "It could not be created. Try again in a moment." }, xt = { failed: "The changes could not be saved." }, zt = { title: "Details", actions: "Actions" }, Bt = { moveUp: "Move {{name}} up", moveDown: "Move {{name}} down", remove: "Remove {{name}}" }, Kt = { new: "New Import Profile", empty: "No Import Profiles in this workspace yet.", general: "General", entitySet: "Entity Set", entitySetHelp: "The external character entities the Source File is read with.", noEntitySet: "None", autoPublish: "Auto-publish", autoPublishHelp: "Publish the Change Set of an Import that succeeds without Item Problems.", deleteOnSuccess: "Delete the Source File on success", deleteOnSuccessHelp: "Delete the Source File as soon as an Import succeeds without Item Problems, instead of after the retention period.", preprocessors: "Preprocessors", mappings: "Mappings", postProcessors: "Post-processors", noPreprocessors: "No Preprocessors: the Source File is mapped as it is.", noPostProcessors: "No Post-processors.", noMappings: "It includes no Mapping yet.", addPreprocessor: "Add Preprocessor", addPostProcessor: "Add Post-processor", addMapping: "Add Mapping", missingMapping: "A Mapping that no longer exists", delete: "Delete Import Profile", deleteTitle: "Delete {{name}}?", deleteMessage: "The Import Profile is deleted, and no Import can run it any more. Imports it ran keep their record." }, Ht = { empty: "importhub offers no Processors.", kindColumn: "Kind", targetColumn: "Configured on", settingsColumn: "Settings", noSettings: "No settings", kind: { preprocessor: "Preprocessor", post_processor: "Post-processor" }, target: { source_file: "Import Profile", rich_text_field: "Rich-text field of a Mapping" }, unknown: "Not in the catalogue", settingsOf: "Settings of {{name}}", configure: "Configure {{name}}", viewSettings: "Settings of {{name}}", settingsCount_zero: "No settings set", settingsCount_one: "One setting", settingsCount_other: "{{count}} settings" }, Ot = { new: "New Mapping", empty: "No Mappings in this workspace yet.", general: "General", blueprint: "Target Blueprint", release: "Blueprint Release", blueprintId: "Blueprint ID", releaseId: "Blueprint Release ID", idsHelp: "As blueprinthub names them.", newRelease: "New Blueprint Release", newReleaseId: "New Blueprint Release ID", elementSelector: "Element selector", elementSelectorHelp: "The XPath selecting the elements that each become one Content.", sourceKeySelector: "Source Key selector", sourceKeyTemplate: "Source Key template", sourceKeyTemplateHelp: "XPath expressions in braces, such as {ancestor::gesetz/@refid}-{@nr}; wins over the selector.", fieldCount_zero: "It maps no field yet. Field mappings are edited in the Mapping editor.", fieldCount_one: "It maps one field. Field mappings are edited in the Mapping editor.", fieldCount_other: "It maps {{count}} fields. Field mappings are edited in the Mapping editor.", target: "Target", move: "Move to another Release", moveTitle: "Move to another Blueprint Release", check: "Check", checkFailed: "The Release could not be checked.", nothingLost: "Every mapped field path exists in this Release.", lost_one: "One mapped path does not exist in this Release:", lost_other: "{{count}} mapped paths do not exist in this Release:", lostFields: "Field paths", lostReleaseSpec: "Release Spec fields", moveConfirm: "Move", includedBy: "Import Profiles that include it", noProfiles: "No Import Profile includes it.", delete: "Delete Mapping", deleteTitle: "Delete {{name}}?", deleteMessage: "The Mapping is deleted. importhub refuses while an Import Profile includes it." }, _t = { new: "New Entity Set", empty: "No Entity Sets in this workspace yet.", general: "General", entities: "Entities", entity: "Entity", noEntities: "It defines no entity yet.", entityName: "Entity {{index}}", entityText: "Stands for (entity {{index}})", addEntity: "Add entity", removeEntity: "Remove entity {{index}}", delete: "Delete Entity Set", deleteTitle: "Delete {{name}}?", deleteMessage: "The Entity Set is deleted. importhub refuses while an Import Profile names it." }, Wt = { settings: "Settings", history: "History" }, Vt = { action: "Cut Release", title: "Cut a Release", confirm: "Cut Release", message: "The saved draft is released as Release {{number}}. Real Imports run it from their next Start.", unchanged: "The draft is the same as Release {{number}}: there is nothing to release.", unsaved: "Unsaved changes on this page are not part of the Release. Save them first to release them.", profilesIntro: "These Import Profiles include the Mapping and take the Release at their next Import:", profiles: "Import Profiles that take this Release", noProfiles: "No Import Profile includes the Mapping yet.", refused: "importhub did not cut the Release:", failed: "The Release could not be cut. Try again in a moment.", done: "Release {{number}} is cut.", doneBody: "Real Imports run it from their next Start." }, Lt = { hint: "Every save is a Revision. Choose two to compare them side by side.", none: "No Revisions yet.", loadMore: "Load older Revisions", columns: { revision: "Revision", release: "Release", savedBy: "Saved by", savedAt: "Saved" }, draft: "Draft", revision: "Earlier draft", revisionOf: "Revision of {{time}}", restoredFrom: "Restored from {{revision}}", cutBy: "Cut by {{name}}, {{time}}.", unknownPerson: "Someone no longer in the workspace", restore: "Restore as draft", restoreTitle: "Restore {{revision}}?", restoreConfirm: "Restore", restoreMessage: "Its content is saved as a new draft. Real Imports keep running the latest Release until you cut another.", restoreFailed: "It could not be restored.", olderRelease: "{{release}} was cut by {{name}}, {{time}}, from an older Revision: load older Revisions to see it.", earlierRevision: "An earlier Revision" }, Xt = { title: "Comparison", between: "{{from}} compared with {{to}}", field: "Field", same: "The two Revisions are the same.", differing_one: "One field differs.", differing_other: "{{count}} fields differ.", status: { unchanged: "Unchanged", added: "Added", removed: "Removed", changed: "Changed" }, absent: "Not set", missingEntitySet: "An Entity Set that no longer exists", yes: "Yes", no: "No" }, qt = { tabs: { fields: "Fields", versions: "Source Key & Source Versions", output: "Output", test: "Mapping Test" }, reasonsHere: "importhub found this wrong here:", tree: { label: "Fields of the Blueprint Release", mapped: "mapped", unmapped: "not mapped", invalid: "invalid", toggle: "Show or hide the fields of {{label}}", outside: "Mapped, not in this Release", noLookup: "This host cannot read the Blueprint Release's fields, so only the fields the Mapping maps are listed.", loadFailed: "The Blueprint Release's fields could not be read.", selectField: "Select a field to map it." }, field: { title: "Field mapping", notMapped: "The Mapping does not map this field.", map: "Map this field", remove: "Remove mapping", selector: "XPath", selectorHelp: "Relative to the element; a fieldset's children relative to the fieldset's.", type: "Type", optional: "Optional", optionalHelp: "An element without it is not an error.", dateFormat: "Date format", dateFormatHelp: "A Go time layout, such as 02.01.2006; ISO dates (2006-01-02) when empty.", dateFormats: "Further date formats", dateFormatsHelp: "One Go time layout per line, tried in order after the date format.", autoDetectDateFormat: "Detect common date formats", numberLocale: "Number format", locale: { de: "German (1.234,56)", en: "English (1,234.56)", ch: "Swiss (1'234.56)" }, stripCurrency: "Strip currency symbols", skipInvalid: "Skip invalid values", skipInvalidHelp: "A value that cannot be read leaves the field empty instead of reporting a problem.", selectOptions: "Select options", selectOptionsHelp: "One per line: key = label, such as 0 = Gesetz.", textWrapperElement: "Text wrapper element", ignoreElements: "Ignored elements", passThroughElements: "Pass-through elements", elementsHelp: "One element name per line.", normalizeWhitespace: "Normalize whitespace", convertNewlinesToBreaks: "Turn newlines into line breaks", richTextMore: "Node and mark mappings and the other rich-text settings are in Advanced (JSON).", refBlueprintId: "Referenced Blueprint ID", refIdTemplate: "Reference ID template", refIdTemplateHelp: "XPath expressions in braces; it must build the target's Source Key.", refIdExtractPattern: "Reference ID extract pattern", refIdExtractSeparator: "Reference ID separator", refIdExtractSeparatorHelp: "Joins the pattern's groups; - when left out.", concatSelectors: "Concatenated XPaths", concatSelectorsHelp: "One XPath per line, joined in order.", normalizeUnicode: "Normalize Unicode", childrenHelp: "Its fields are mapped on their own: select them in the tree.", elementBlueprintMap: "Blueprint by element", elementBlueprintMapHelp: "One per line: element name = referenced Blueprint ID, for a selector matching several elements.", elementRefIdTemplateMap: "Reference ID template by element", elementRefIdTemplateMapHelp: "One per line: element name = reference ID template." }, json: { title: "Advanced (JSON)", help: "The field mapping's full xmlmapper settings. Keys the form above has no input for are kept when you save.", label: "Field mapping as JSON", apply: "Apply JSON", notJson: "This is not valid JSON.", notObject: "A field mapping is a JSON object.", unapplied: "Not applied yet: Apply JSON puts it into the form, and Save saves it." }, sourceKey: { title: "Source Key extraction", help: "The Source Key's selector and template are under Settings.", extractPattern: "Extract pattern", extractPatternHelp: "A regular expression applied to each placeholder's value; its groups replace a value it matches.", extractSeparator: "Extract separator", extractSeparatorHelp: "Joins the groups; - while left unset. Emptied once set, it joins them with nothing.", normalize: "Remove all whitespace from the Source Key" }, versionMatch: { title: "Version Match", help: "A Source Version matches an existing Release whose values are all equal. Unset, each element is a single Source Version, compared with Main's head.", validityPeriod: "Compare the Validity Period", releaseSpecFields: "Release Spec fields to compare", noReleaseSpecFields: "The Release has no Release Spec fields.", contentFields: "Content fields to compare", noContentFields: "The Mapping maps no field yet." }, validityPeriod: { title: "Validity Period", validFrom: "Valid from XPath", validTo: "Valid to XPath", validToHelp: "Empty for open-ended.", dateFormats: "Date formats", dateFormatsHelp: "One Go time layout per line, tried in order; ISO dates when empty." }, releaseSpec: { title: "Release Spec sources", none: "No Release Spec value is read from the source.", field: "Release Spec field {{index}}", selector: "XPath {{index}}", remove: "Remove Release Spec source {{index}}", add: "Add Release Spec source" }, changedVersion: { title: "Changed Version", label: "When a Source Version matches a Release but its mapped data differs", help: "Correct when nothing is chosen.", correct: "Correct: a Planned Release that Supersedes the matched one", keep: "Keep the existing Release", fail: "Fail the Import" }, stub: { title: "Stub Mapping", label: "Stub Mapping", help: "Creates Content holding only the Content Key and the fields it maps for each Source Key no Content has yet, and never changes existing Content." }, naming: { title: "Name and Collections", displayNameTemplate: "Display-name template", displayNameTemplateHelp: "Field paths in braces, such as {titelnum} — {titel}; {titel:40} keeps at most 40 characters.", displayNameField: "Display-name field", displayNameFieldHelp: "The plain-text field of the pinned Release each Content's display name is written into. Set it with the template.", displayNameFieldNone: "No display name", displayNameFieldPathHelp: "The path of the plain-text field each Content's display name is written into, such as titel or meta.label. Set it with the template.", collections: "Target Collections", collectionsHelp: "One Collection name per line, as contenthub shows it; every Content is filed into each." }, routing: { title: "Collection routing", help: "Derives one Collection per Content: the selector's value, mapped; else the ID pattern's match in the template; else the fallback.", selector: "XPath", collectionMap: "Collection map", collectionMapHelp: "One per line: value = Collection name. Empty: the value is the name.", idPattern: "ID pattern", collectionTemplate: "Collection template", collectionTemplateHelp: "With {match} and {suffix}.", suffix: "Suffix", fallback: "Fallback Collection" }, titles: { title: "Title Contributions", help: "Writes per-Ausgabe data onto the Title whose Content Key is the Ausgabe code.", none: "No Title Contributions.", item: "Title Contribution {{index}}", remove: "Remove Title Contribution {{index}}", add: "Add Title Contribution", selector: "Ausgabe elements XPath", selectorHelp: "Selects the elements that carry one Ausgabe's data each.", ausgabeCodeSelector: "Ausgabe code XPath", referenceSpecValues: "Reference Spec values", valueField: "Reference Spec field {{index}}", valueSelector: "Value XPath {{index}}", removeValue: "Remove Reference Spec value {{index}}", addValue: "Add Reference Spec value", referenceFilterSelector: "Reference filter XPath", intent: "Intent", intents: { none: "None", exclude: "Exclude", replace: "Replace", annotate: "Annotate" }, intentTextSelector: "Intent text XPath", intentTextSelectorHelp: "The replacement or annotation text." }, assets: { title: "Placeholder Assets", help: "Turns the file references the source names into mediahub assets without a file.", none: "No file references become Placeholder Assets.", item: "Placeholder Assets {{index}}", remove: "Remove Placeholder Assets {{index}}", add: "Add Placeholder Assets", selector: "File references XPath", selectorHelp: "Such as .//grafik.", assetType: "Asset type", keyParts: "Key parts", keyPartsHelp: "One XPath per line, relative to the reference; their values joined by / form the asset's key.", nameSelector: "Name XPath", descriptionSelector: "Description XPath", metadata: "Metadata", metadataHelp: "One per line: metadata field = XPath.", folderRoot: "Folder root", folderPathSelector: "Folder path XPath", folderPathSelectorHelp: "The file's path, mirrored as folders under the root." }, test: { title: "Mapping Test", about: "A Mapping Test runs this Mapping as you are editing it, unsaved changes included, over a sample file, and reads it as an Import would. It touches nothing outside importhub: it creates nothing in contenthub or mediahub, asks no other service, and saves nothing, not even the sample.", aboutDerived: "References stay as the sample names them, Placeholder Assets are not linked and no Post-processor runs: those belong to an Import Profile's Import.", adminOnly: "Only an admin can run a Mapping Test.", sampleCard: "Sample file", sampleHelp: "An XML file, read in importhub and not kept.", dropHint: "Drop a sample XML file here", dragActive: "Release to choose it", chooseFile: "Choose file", chosen: "Sample", notXml: "{{name}} is not an XML file.", entitySet: "Entity Set", entitySetHelp: "The Entity Set whose entities the sample uses, as the Import Profile including this Mapping names one. Its draft is used.", noEntitySet: "None", run: "Run Mapping Test", failed: "The Mapping Test could not run", summary_one: "{{count}} element matched, {{problems}} with problems.", summary_other: "{{count}} elements matched, {{problems}} with problems.", noElements: "The element selector matched no element in the sample.", onlyProblems: "Only elements with problems", element: "Element {{position}}: {{sourceKey}}", noSourceKey: "no Source Key", field: "Field", value: "Value", problem: "Error", wholeElement: "The element", validityPeriod: "Validity Period", validFromTo: "{{from}} to {{to}}", open: "open", displayName: "Display name", collections: "Collections", releaseSpec: "Release Spec", showMore: "Show more elements", shownOf: "Showing {{shown}} of {{total}} elements.", problemCount_one: "{{count}} problem", problemCount_other: "{{count}} problems" } }, Gt = { start: "Start Import", empty: "No Import has run in this workspace yet.", profile: "Import Profile", startedBy: "Started by", started: "Started", ended: "Ended", matched: "Matched", created: "Created", problems: "Problems", planned: "Planned Releases", corrected: "Corrected", kept: "Kept", unchanged: "Unchanged", loadMore: "Load more", phase: { queued: "Queued", reading: "Reading", writing: "Writing", cancelling: "Cancelling" }, outcome: { succeeded: "Succeeded", succeeded_with_problems: "Succeeded with problems", failed: "Failed", cancelled: "Cancelled" }, progressTitle: "Progress", phaseLong: { reading: "Reading the Source File", writing: "Writing the Change Set in contenthub" }, progressOf: "{{done}} of {{total}} items", progressUnknown: "Counting the items…", queuedBody: "It waits until the workspace's running Import has ended.", failedTitle: "The Import failed", cancelledBody: "{{person}} cancelled it. The Change Set it opened was discarded.", cancellingBody: "{{person}} asked to cancel it. It stops at its next item.", problemsBody_one: "{{count}} Source Version could not be saved and was skipped. Its Change Set is kept, for editors to fix the rest.", problemsBody_other: "{{count}} Source Versions could not be saved and were skipped. Its Change Set is kept, for editors to fix the rest.", details: "Details", effectiveDate: "Effective date", source: "Source", sourceValue: "{{reference}}, {{date}}", none: "None", changeSet: "Change Set", counts: "Counts", releases: "Releases it ran with", releaseOf: "{{name}}, Release {{number}}", mapping: "Mapping", entitySet: "Entity Set", cancel: "Cancel Import", cancelTitle: "Cancel this Import?", cancelMessage: "It stops at its next item, and the Change Set it opened is discarded. This cannot be undone.", cancelConfirm: "Cancel Import", keepRunning: "Keep running", cancelFailed: "importhub did not cancel the Import: {{message}}", itemProblems: "Item Problems and Pending References", noItemProblems: "No Item Problems.", noMatchingProblems: "No Item Problem matches.", searchSourceKey: "Search by Source Key", filterMapping: "Filter by Mapping", allMappings: "All Mappings ({{count}})", mappingCount: "{{name}} ({{count}})", problemCount: "{{matching}} of {{total}}", sourceKey: "Source Key", field: "Field", reason: "Reason", wholeVersion: "The whole Source Version", noSourceKey: "No Source Key", subtitle: "Started by {{person}}, {{time}}", outcomeColumn: "Outcome", someone: "Someone", mappings: "Mappings", kind: "Kind", pendingReference: "Pending Reference", itemProblem: "Item Problem", problemCountWithPending_one: "{{matching}} of {{total}}, {{count}} Pending Reference", problemCountWithPending_other: "{{matching}} of {{total}}, {{count}} Pending References", kindColumn: "Kind", kindImport: "Import", kindDryRun: "Dry Run", content: "Content", targetBlueprint: "Target Blueprint", targetBlueprintId: "Target Blueprint ID", targetSourceKey: "Target Source Key", assetMoves: "Assets moved", assetKey: "Asset key", movedFrom: "From folder", movedTo: "To folder", noAssetMoves: "This Import moved no assets.", rerun: "Re-run", rerunTitle: "Re-run this Source File?", rerunMessage: "A new Import reads the same Source File with the latest Releases of the Import Profile, its Mappings and its Entity Set. Its effective date and Source are copied; this Import stays as it is.", rerunConfirm: "Start the re-run", rerunFailed: "importhub did not start the re-run: {{message}}", rerunStarted: "The re-run is queued.", openRerun: "Open the new Import", sourceFileGoneTitle: "Its Source File is deleted", sourceFileGoneBody: "{{reason}} Deleted {{time}}, so it cannot be re-run." }, Qt = { title: "Start an Import", fileCard: "Profile and Source File", profile: "Import Profile", profileHelp: "Only Profiles with a Release are offered: an Import runs the latest Release, never a draft.", profileOption: "{{name}} (Release {{number}})", file: "Source File", fileHelp: "One XML file. It goes straight to importhub's storage.", dropHint: "Drag an XML file here", dragActive: "Drop to upload", chooseFile: "Choose file", uploading: "Uploading {{name}}", uploaded: "{{name}} is uploaded.", uploadFailed: "The upload of {{name}} failed: {{message}}", notXml: "{{name}} is not an XML file.", datesCard: "Dates", datesHelp: "For a file that gives no dates: its Dated Content takes these. A date the file gives always wins.", effectiveDate: "Effective date", effectiveDateHelp: "The day the Planned Releases start.", sourceDate: "Source: date", sourceReference: "Source: reference", sourceReferenceHelp: "How the publication is cited, such as “BGBl. 2026 I Nr. 270”.", sourceIncomplete: "A Source needs both its date and its reference.", profileRequired: "Choose an Import Profile.", consentTitle: "The Import acts as you", consent: "Starting it grants importhub delegated access in your name for up to 24 hours. With it, importhub reads Blueprints in blueprinthub, creates Placeholder Assets in mediahub and writes the Import's Change Set in contenthub, with your rights and named as you. The access ends when the Import ends.", refused: "importhub did not start the Import", notAllowed: "You may look at Imports, but not start them.", noProfiles: "No Import Profile has a Release yet. An admin releases one first.", on: "Run on", onRelease: "The latest Releases, as an Import runs them", onDraft: "The drafts of the Profile, its Mappings and its Entity Set, to check them before releasing", profileDraftHelp: "A Dry Run on drafts runs any Profile's draft, released or not.", profileDraftOption: "{{name}} (draft)", startDryRun: "Start Dry Run", dryRunRefused: "importhub did not start the Dry Run", dryRunConsent: "Starting it grants importhub delegated access in your name for up to 24 hours. With it, importhub reads Blueprints in blueprinthub, Content in contenthub and assets in mediahub as you, to find what an Import would do. A Dry Run writes nothing and opens no Change Set. The access ends when the Dry Run ends.", kind: "What to start", kindImport: "Import: fills a Change Set in contenthub", kindDryRun: "Dry Run: reports what an Import would do, and writes nothing", kindCard: "Import or Dry Run" }, $t = { title: "API keys", subtitle: "Keys with which pipelines and nightly feeds start and follow Imports without a person.", new: "New API key", empty: "This workspace has no importhub API key yet.", importersOnly: "Only importers manage API keys. Ask a workspace admin for importer rights to create or revoke one.", prefix: "Prefix", owner: "Owner", created: "Created", expires: "Expires", never: "Never", nameHelp: "What the key is for, such as “Nightly gesetz feed”.", nameRequired: "Give the key a name.", nameTooLong: "The name is longer than {{max}} characters.", expiresOn: "Expires on", expiresOnHelp: "The key stops working at the end of this day. Leave it empty for a key that does not expire.", expiryPast: "Pick today or a day ahead.", consentTitle: "The key acts as you", consent: "Whoever holds the key can start and follow Imports in this workspace as you: those Imports read Blueprints in blueprinthub, create Placeholder Assets in mediahub and write their Change Sets in contenthub with your rights, and name you as their starter. For that, importhub holds a standing Delegation Grant in your name, which ends when the key expires or is revoked.", createFailed: "The API key could not be created.", secretTitle: "Copy the secret now", secret: "Secret", secretOnce: "It is shown only this once: importhub does not keep it, and nobody can show it again. Send it as “Authorization: Bearer <secret>”.", copySecret: "Copy secret", done: "Done", revoke: "Revoke", revokeKey: "Revoke {{name}}", revokeTitle: "Revoke {{name}}?", revokeMessage: "The key “{{name}}” stops working at once, and an Import running with it fails. importhub releases the Delegation Grant it holds for the key. This cannot be undone.", revokeFailed: "The API key could not be revoked." }, jt = { badge: "Dry Run", subtitle: "Dry Run started by {{person}}, {{time}}", failedTitle: "The Dry Run failed", cancelledBody: "{{person}} cancelled it. It had written nothing.", problemsBody_one: "A real Import with the same inputs would report {{count}} Item Problem. It is listed below.", problemsBody_other: "A real Import with the same inputs would report {{count}} Item Problems, Pending References among them. They are listed below.", cancel: "Cancel Dry Run", cancelTitle: "Cancel this Dry Run?", cancelMessage: "It stops at its next item. It has written nothing, so nothing is discarded.", phaseLong: { reading: "Reading the Source File", writing: "Working out what an Import would write" }, ranOn: "Ran on", onReleases: "The latest Releases", onDrafts: "The drafts", configuration: "Configuration it ran with", draftOf: "{{name}}, draft", correctionsTitle_one: "{{count}} Release would be corrected: a real Import would Supersede it with a correction.", correctionsTitle_other: "{{count}} Releases would be corrected: a real Import would Supersede them with corrections.", correctionsBody: "Their Changed Versions differ from the Releases they match, and their Mappings say Correct. Check them before running the Import.", showCorrections: "Show the corrections", summary: "What it found", counts: { matched: "Source Versions matched", created: "Content to create", planned: "New Planned Releases", corrected: "Corrections", kept: "Kept", stubbed: "Stubs", unchanged: "Unchanged", problems: "Item Problems", pendingReferences: "Pending References" }, report: "What an Import would do with each Content", actionColumn: "What would happen", displayName: "Name", validity: "Validity Period", filterAction: "Filter by what would happen", allActions: "Everything", allMappings: "All Mappings", emptyReport: "The Dry Run has found no Content yet.", noMatchingContent: "No Content matches.", validityRange: "{{from}} to {{to}}", validityOpen: "from {{from}}", action: { created: "Would be created", planned: "New Planned Release", corrected: "Would be corrected", kept: "Kept", stubbed: "Stub", unchanged: "Unchanged" }, notDryRun: "This Import is no Dry Run, so it has no report. Its page shows what it did.", contentCount: "{{matching}} of {{total}}" }, Zt = {
|
|
42
42
|
section: Et,
|
|
43
43
|
startPage: Ct,
|
|
44
44
|
changeSet: Dt,
|
|
@@ -50,9 +50,9 @@ const tt = { imports: { title: "Importe", empty: "In diesem Workspace gibt es no
|
|
|
50
50
|
create: Nt,
|
|
51
51
|
save: xt,
|
|
52
52
|
rail: zt,
|
|
53
|
-
order:
|
|
53
|
+
order: Bt,
|
|
54
54
|
profiles: Kt,
|
|
55
|
-
processors:
|
|
55
|
+
processors: Ht,
|
|
56
56
|
mappings: Ot,
|
|
57
57
|
entitySets: _t,
|
|
58
58
|
tabs: Wt,
|
|
@@ -61,21 +61,21 @@ const tt = { imports: { title: "Importe", empty: "In diesem Workspace gibt es no
|
|
|
61
61
|
compare: Xt,
|
|
62
62
|
editor: qt,
|
|
63
63
|
imports: Gt,
|
|
64
|
-
startImport:
|
|
65
|
-
apiKeys:
|
|
66
|
-
dryRun:
|
|
67
|
-
}, R = "importhub-ui",
|
|
64
|
+
startImport: Qt,
|
|
65
|
+
apiKeys: $t,
|
|
66
|
+
dryRun: jt
|
|
67
|
+
}, R = "importhub-ui", Vn = {
|
|
68
68
|
en: { [R]: Zt },
|
|
69
69
|
de: { [R]: kt }
|
|
70
|
-
},
|
|
70
|
+
}, Ln = [
|
|
71
71
|
"imports",
|
|
72
72
|
"profiles",
|
|
73
73
|
"mappings",
|
|
74
74
|
"entitySets",
|
|
75
75
|
"processors"
|
|
76
76
|
];
|
|
77
|
-
function he(e, t,
|
|
78
|
-
return `${e[t].replace(/\/$/, "")}/${encodeURIComponent(
|
|
77
|
+
function he(e, t, r) {
|
|
78
|
+
return `${e[t].replace(/\/$/, "")}/${encodeURIComponent(r)}`;
|
|
79
79
|
}
|
|
80
80
|
const Ut = {
|
|
81
81
|
imports: "/imports",
|
|
@@ -86,12 +86,12 @@ const Ut = {
|
|
|
86
86
|
}, Jt = {
|
|
87
87
|
paths: Ut,
|
|
88
88
|
changeSetHref: () => null
|
|
89
|
-
}, Ce =
|
|
90
|
-
function
|
|
89
|
+
}, Ce = we(Jt);
|
|
90
|
+
function Xn({ host: e, children: t }) {
|
|
91
91
|
return /* @__PURE__ */ n(Ce.Provider, { value: e, children: t });
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return
|
|
93
|
+
function L() {
|
|
94
|
+
return Pe(Ce);
|
|
95
95
|
}
|
|
96
96
|
const p = {
|
|
97
97
|
all: (e) => ["importhub", e],
|
|
@@ -106,14 +106,14 @@ const p = {
|
|
|
106
106
|
imports: (e) => [...p.all(e), "imports"],
|
|
107
107
|
import: (e, t) => [...p.imports(e), t],
|
|
108
108
|
/** An Import's Item Problems under a filter, one entry per filter. */
|
|
109
|
-
itemProblems: (e, t,
|
|
109
|
+
itemProblems: (e, t, r, a) => [...p.import(e, t), "itemProblems", r, a],
|
|
110
110
|
/** A Dry Run's report under a filter, one entry per filter. */
|
|
111
|
-
dryRunContents: (e, t,
|
|
111
|
+
dryRunContents: (e, t, r, a, i) => [
|
|
112
112
|
...p.import(e, t),
|
|
113
113
|
"dryRunContents",
|
|
114
|
-
|
|
114
|
+
r,
|
|
115
115
|
a,
|
|
116
|
-
|
|
116
|
+
i
|
|
117
117
|
],
|
|
118
118
|
/** The workspace's importhub API keys. */
|
|
119
119
|
apiKeys: (e) => [...p.all(e), "apiKeys"],
|
|
@@ -122,28 +122,53 @@ const p = {
|
|
|
122
122
|
/** A Blueprint Release with its field tree; a Release never changes once cut. */
|
|
123
123
|
blueprintRelease: (e, t) => [...p.blueprints(e), "release", t],
|
|
124
124
|
/** One configuration of a kind, as its page reads it. */
|
|
125
|
-
configuration: (e, t,
|
|
125
|
+
configuration: (e, t, r) => t === "importProfile" ? p.importProfile(e, r) : t === "mapping" ? p.mapping(e, r) : p.entitySet(e, r),
|
|
126
126
|
/** Every list of a kind, so one change refreshes them all. */
|
|
127
127
|
configurations: (e, t) => t === "importProfile" ? p.importProfiles(e) : t === "mapping" ? p.mappings(e) : p.entitySets(e),
|
|
128
|
-
history: (e, t,
|
|
129
|
-
comparison: (e, t,
|
|
130
|
-
...p.configuration(e, t,
|
|
128
|
+
history: (e, t, r) => [...p.configuration(e, t, r), "history"],
|
|
129
|
+
comparison: (e, t, r, a, i) => [
|
|
130
|
+
...p.configuration(e, t, r),
|
|
131
131
|
"comparison",
|
|
132
132
|
a,
|
|
133
|
-
|
|
133
|
+
i
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
function Yt() {
|
|
137
|
-
const { t: e } =
|
|
137
|
+
const { t: e } = P(R);
|
|
138
138
|
return /* @__PURE__ */ n(Oe, { py: "12", children: /* @__PURE__ */ n(_e, { "aria-label": e("startPage.loading") }) });
|
|
139
139
|
}
|
|
140
140
|
function en() {
|
|
141
|
-
const { t: e } =
|
|
141
|
+
const { t: e } = P(R);
|
|
142
142
|
return /* @__PURE__ */ n(O, { px: "8", py: "6", children: /* @__PURE__ */ n(ve, { icon: /* @__PURE__ */ n(Xe, { size: 32, "aria-hidden": !0 }), header: e("startPage.error") }) });
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
const { t } =
|
|
146
|
-
|
|
144
|
+
function De(e) {
|
|
145
|
+
const { blueprints: t } = L(), { workspaceId: r } = B(), a = [...new Set(e.filter(Boolean))].sort(), i = tn(), s = Ve({
|
|
146
|
+
queries: a.map((o) => ({
|
|
147
|
+
queryKey: p.blueprintReleases(r, o),
|
|
148
|
+
queryFn: () => t?.listReleases(o) ?? Promise.resolve([]),
|
|
149
|
+
enabled: t !== void 0
|
|
150
|
+
}))
|
|
151
|
+
}), l = s.map((o) => o.data), d = s.map((o) => o.dataUpdatedAt).join(), c = a.join();
|
|
152
|
+
return W(
|
|
153
|
+
() => ({
|
|
154
|
+
available: t !== void 0,
|
|
155
|
+
blueprintName: (o) => i.data?.find((u) => u.id === o)?.name,
|
|
156
|
+
releaseLabel: (o, u) => l[a.indexOf(o)]?.find((y) => y.id === u)?.label
|
|
157
|
+
}),
|
|
158
|
+
[t, i.data, d, c]
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
function tn() {
|
|
162
|
+
const { blueprints: e } = L(), { workspaceId: t } = B();
|
|
163
|
+
return _({
|
|
164
|
+
queryKey: p.blueprints(t),
|
|
165
|
+
queryFn: () => e?.listBlueprints() ?? Promise.resolve([]),
|
|
166
|
+
enabled: e !== void 0
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
function nn(e = []) {
|
|
170
|
+
const { t } = P(R), [r, a] = Je(), i = /* @__PURE__ */ new Set(["history", ...e.map((o) => o.value)]), s = r.get("tab") ?? "", l = i.has(s) ? s : "settings", d = (o) => {
|
|
171
|
+
const u = new URLSearchParams(r);
|
|
147
172
|
o !== "settings" ? u.set("tab", o) : u.delete("tab"), a(u, { replace: !0 });
|
|
148
173
|
}, c = /* @__PURE__ */ n(Z.Root, { value: l, onValueChange: (o) => d(o.value), children: /* @__PURE__ */ g(Z.List, { children: [
|
|
149
174
|
/* @__PURE__ */ n(Z.Trigger, { value: "settings", children: t("tabs.settings") }),
|
|
@@ -152,16 +177,16 @@ function tn(e = []) {
|
|
|
152
177
|
] }) });
|
|
153
178
|
return [l, c];
|
|
154
179
|
}
|
|
155
|
-
function
|
|
180
|
+
function rn({
|
|
156
181
|
open: e,
|
|
157
182
|
onClose: t,
|
|
158
|
-
title:
|
|
183
|
+
title: r,
|
|
159
184
|
message: a,
|
|
160
|
-
onDelete:
|
|
185
|
+
onDelete: i,
|
|
161
186
|
onDeleted: s
|
|
162
187
|
}) {
|
|
163
|
-
const { t: l } =
|
|
164
|
-
|
|
188
|
+
const { t: l } = P(R), { paths: d } = L(), c = G({ mutationFn: i, onSuccess: s }), { reset: o } = c;
|
|
189
|
+
Q(() => {
|
|
165
190
|
e && o();
|
|
166
191
|
}, [e, o]);
|
|
167
192
|
const u = c.error instanceof Ye ? c.error : null;
|
|
@@ -170,7 +195,7 @@ function nn({
|
|
|
170
195
|
{
|
|
171
196
|
open: e,
|
|
172
197
|
onClose: t,
|
|
173
|
-
header:
|
|
198
|
+
header: r,
|
|
174
199
|
lazyMount: !0,
|
|
175
200
|
unmountOnExit: !0,
|
|
176
201
|
footer: /* @__PURE__ */ g($, { gap: "2", children: [
|
|
@@ -188,73 +213,73 @@ function nn({
|
|
|
188
213
|
)
|
|
189
214
|
] }),
|
|
190
215
|
children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
191
|
-
/* @__PURE__ */ n(
|
|
216
|
+
/* @__PURE__ */ n(w, { children: a }),
|
|
192
217
|
u ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: l("delete.inUse"), children: /* @__PURE__ */ n(N.Root, { ps: "4", children: u.importProfiles.map((y) => /* @__PURE__ */ n(N.Item, { children: /* @__PURE__ */ n(ue, { asChild: !0, children: /* @__PURE__ */ n(me, { to: he(d, "profiles", y.id), children: y.name }) }) }, y.id)) }) }) : c.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: l("delete.failed") }) : null
|
|
193
218
|
] })
|
|
194
219
|
}
|
|
195
220
|
);
|
|
196
221
|
}
|
|
197
|
-
function
|
|
198
|
-
const { t } =
|
|
222
|
+
function sn({ state: e }) {
|
|
223
|
+
const { t } = P(R);
|
|
199
224
|
if (!e.latestRelease)
|
|
200
225
|
return /* @__PURE__ */ n(Y, { tone: "warning", label: t("release.state.none") });
|
|
201
|
-
const
|
|
202
|
-
return e.draftDiffersFromRelease ? /* @__PURE__ */ n(Y, { tone: "warning", label: t("release.state.differs", { number:
|
|
226
|
+
const r = e.latestRelease.number;
|
|
227
|
+
return e.draftDiffersFromRelease ? /* @__PURE__ */ n(Y, { tone: "warning", label: t("release.state.differs", { number: r }) }) : /* @__PURE__ */ n(Y, { tone: "success", label: t("release.state.current", { number: r }) });
|
|
203
228
|
}
|
|
204
|
-
function
|
|
205
|
-
return
|
|
229
|
+
function Te() {
|
|
230
|
+
return L().canConfigure ?? !1;
|
|
206
231
|
}
|
|
207
|
-
function
|
|
208
|
-
const { t } =
|
|
209
|
-
return e.valid ? null : /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: t("validity.invalidTitle"), children: /* @__PURE__ */ n(N.Root, { ps: "4", children: e.reasons.map((
|
|
232
|
+
function Me({ validity: e }) {
|
|
233
|
+
const { t } = P(R);
|
|
234
|
+
return e.valid ? null : /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: t("validity.invalidTitle"), children: /* @__PURE__ */ n(N.Root, { ps: "4", children: e.reasons.map((r) => /* @__PURE__ */ n(N.Item, { children: r.message }, `${r.code}:${r.path}:${r.message}`)) }) });
|
|
210
235
|
}
|
|
211
|
-
const
|
|
236
|
+
const on = (e) => ({
|
|
212
237
|
[e("validity.valid")]: "success",
|
|
213
238
|
[e("validity.invalid")]: "danger"
|
|
214
239
|
});
|
|
215
|
-
function
|
|
216
|
-
const { t } =
|
|
240
|
+
function an({ validity: e }) {
|
|
241
|
+
const { t } = P(R);
|
|
217
242
|
return /* @__PURE__ */ n(
|
|
218
243
|
Re,
|
|
219
244
|
{
|
|
220
245
|
value: e.valid ? t("validity.valid") : t("validity.invalid"),
|
|
221
|
-
toneMap:
|
|
222
|
-
detail: e.valid ? null : e.reasons.map((
|
|
246
|
+
toneMap: on(t),
|
|
247
|
+
detail: e.valid ? null : e.reasons.map((r) => r.message).join(" ")
|
|
223
248
|
}
|
|
224
249
|
);
|
|
225
250
|
}
|
|
226
|
-
function
|
|
251
|
+
function qn(e, t) {
|
|
227
252
|
return e.latestRelease ? t("release.number", { number: e.latestRelease.number }) : t("release.none");
|
|
228
253
|
}
|
|
229
|
-
function
|
|
254
|
+
function ln({
|
|
230
255
|
open: e,
|
|
231
256
|
onClose: t,
|
|
232
|
-
client:
|
|
257
|
+
client: r,
|
|
233
258
|
kind: a,
|
|
234
|
-
id:
|
|
259
|
+
id: i,
|
|
235
260
|
validity: s,
|
|
236
261
|
state: l,
|
|
237
262
|
unsaved: d,
|
|
238
263
|
onCut: c
|
|
239
264
|
}) {
|
|
240
|
-
const { t: o } =
|
|
241
|
-
mutationFn: () =>
|
|
265
|
+
const { t: o } = P(R), { workspaceId: u } = B(), y = ae(), h = G({
|
|
266
|
+
mutationFn: () => r.cutRelease(a, i, l.draftRevisionId),
|
|
242
267
|
onSuccess: c,
|
|
243
268
|
// A refusal means the page's draft is not importhub's (somebody saved
|
|
244
269
|
// in between, or its validity changed): read it again, so the next
|
|
245
270
|
// opening shows where it stands and cuts the draft that is there.
|
|
246
271
|
onError: () => {
|
|
247
272
|
y.invalidateQueries({
|
|
248
|
-
queryKey: p.configuration(u, a,
|
|
273
|
+
queryKey: p.configuration(u, a, i)
|
|
249
274
|
});
|
|
250
275
|
}
|
|
251
276
|
}), { reset: S } = h;
|
|
252
|
-
|
|
277
|
+
Q(() => {
|
|
253
278
|
e && S();
|
|
254
279
|
}, [e, S]);
|
|
255
280
|
const I = _({
|
|
256
|
-
queryKey: p.mappingImportProfiles(u,
|
|
257
|
-
queryFn: () =>
|
|
281
|
+
queryKey: p.mappingImportProfiles(u, i),
|
|
282
|
+
queryFn: () => r.listMappingImportProfiles(i),
|
|
258
283
|
enabled: e && a === "mapping"
|
|
259
284
|
}), m = (l.latestRelease?.number ?? 0) + 1, f = l.latestRelease !== void 0 && !l.draftDiffersFromRelease, D = s.valid && !f, M = h.error instanceof et ? h.error : null;
|
|
260
285
|
return /* @__PURE__ */ n(
|
|
@@ -286,34 +311,34 @@ function an({
|
|
|
286
311
|
colorPalette: "info",
|
|
287
312
|
title: o("cut.unchanged", { number: l.latestRelease?.number })
|
|
288
313
|
}
|
|
289
|
-
) : /* @__PURE__ */ g(
|
|
290
|
-
/* @__PURE__ */ n(
|
|
314
|
+
) : /* @__PURE__ */ g(q, { children: [
|
|
315
|
+
/* @__PURE__ */ n(w, { children: o("cut.message", { number: m }) }),
|
|
291
316
|
d ? /* @__PURE__ */ n(E, { status: "warning", colorPalette: "warning", title: o("cut.unsaved") }) : null,
|
|
292
|
-
a === "mapping" ? /* @__PURE__ */ n(
|
|
293
|
-
] }) : /* @__PURE__ */ n(
|
|
317
|
+
a === "mapping" ? /* @__PURE__ */ n(dn, { query: I }) : null
|
|
318
|
+
] }) : /* @__PURE__ */ n(Me, { validity: s }),
|
|
294
319
|
M && s.valid ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: o("cut.refused"), children: M.validity && !M.validity.valid ? /* @__PURE__ */ n(N.Root, { ps: "4", children: M.validity.reasons.map((T) => /* @__PURE__ */ n(N.Item, { children: T.message }, `${T.code}:${T.path}:${T.message}`)) }) : M.message }) : h.isError && !M ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: o("cut.failed") }) : null
|
|
295
320
|
] })
|
|
296
321
|
}
|
|
297
322
|
);
|
|
298
323
|
}
|
|
299
|
-
function
|
|
324
|
+
function dn({
|
|
300
325
|
query: e
|
|
301
326
|
}) {
|
|
302
|
-
const { t } =
|
|
303
|
-
return e.isError ? /* @__PURE__ */ n(
|
|
304
|
-
/* @__PURE__ */ n(
|
|
305
|
-
/* @__PURE__ */ n(N.Root, { ps: "4", "aria-label": t("cut.profiles"), children: e.data.map((a) => /* @__PURE__ */ n(N.Item, { children: /* @__PURE__ */ n(ue, { asChild: !0, children: /* @__PURE__ */ n(me, { to: he(
|
|
306
|
-
] }) : /* @__PURE__ */ n(
|
|
327
|
+
const { t } = P(R), { paths: r } = L();
|
|
328
|
+
return e.isError ? /* @__PURE__ */ n(w, { color: "fg.muted", children: t("startPage.error") }) : e.data ? e.data.length === 0 ? /* @__PURE__ */ n(w, { children: t("cut.noProfiles") }) : /* @__PURE__ */ g(C, { gap: "2", children: [
|
|
329
|
+
/* @__PURE__ */ n(w, { children: t("cut.profilesIntro") }),
|
|
330
|
+
/* @__PURE__ */ n(N.Root, { ps: "4", "aria-label": t("cut.profiles"), children: e.data.map((a) => /* @__PURE__ */ n(N.Item, { children: /* @__PURE__ */ n(ue, { asChild: !0, children: /* @__PURE__ */ n(me, { to: he(r, "profiles", a.id), children: a.name }) }) }, a.id)) })
|
|
331
|
+
] }) : /* @__PURE__ */ n(w, { color: "fg.muted", children: t("startPage.loading") });
|
|
307
332
|
}
|
|
308
|
-
function
|
|
333
|
+
function cn({
|
|
309
334
|
client: e,
|
|
310
335
|
kind: t,
|
|
311
|
-
id:
|
|
336
|
+
id: r,
|
|
312
337
|
validity: a,
|
|
313
|
-
state:
|
|
338
|
+
state: i,
|
|
314
339
|
unsaved: s
|
|
315
340
|
}) {
|
|
316
|
-
const { t: l } =
|
|
341
|
+
const { t: l } = P(R), { workspaceId: d } = B(), c = ae(), [o, u] = V(!1), [y, h] = V(null);
|
|
317
342
|
return {
|
|
318
343
|
railAction: /* @__PURE__ */ n(
|
|
319
344
|
U.IconButton,
|
|
@@ -326,19 +351,19 @@ function dn({
|
|
|
326
351
|
}
|
|
327
352
|
),
|
|
328
353
|
dialog: /* @__PURE__ */ n(
|
|
329
|
-
|
|
354
|
+
ln,
|
|
330
355
|
{
|
|
331
356
|
open: o,
|
|
332
357
|
onClose: () => u(!1),
|
|
333
358
|
client: e,
|
|
334
359
|
kind: t,
|
|
335
|
-
id:
|
|
360
|
+
id: r,
|
|
336
361
|
validity: a,
|
|
337
|
-
state:
|
|
362
|
+
state: i,
|
|
338
363
|
unsaved: s,
|
|
339
364
|
onCut: (S) => {
|
|
340
365
|
u(!1), h(S.release.number), c.invalidateQueries({
|
|
341
|
-
queryKey: p.configuration(d, t,
|
|
366
|
+
queryKey: p.configuration(d, t, r)
|
|
342
367
|
}), c.invalidateQueries({
|
|
343
368
|
queryKey: p.configurations(d, t)
|
|
344
369
|
}), t === "mapping" && c.invalidateQueries({
|
|
@@ -350,33 +375,12 @@ function dn({
|
|
|
350
375
|
notice: y === null ? null : /* @__PURE__ */ n(E, { status: "success", colorPalette: "success", title: l("cut.done", { number: y }), children: l("cut.doneBody") })
|
|
351
376
|
};
|
|
352
377
|
}
|
|
353
|
-
|
|
354
|
-
const { blueprints: t } = j(), { workspaceId: i } = H(), a = [...new Set(e.filter(Boolean))].sort(), r = _({
|
|
355
|
-
queryKey: p.blueprints(i),
|
|
356
|
-
queryFn: () => t?.listBlueprints() ?? Promise.resolve([]),
|
|
357
|
-
enabled: t !== void 0
|
|
358
|
-
}), s = Ve({
|
|
359
|
-
queries: a.map((o) => ({
|
|
360
|
-
queryKey: p.blueprintReleases(i, o),
|
|
361
|
-
queryFn: () => t?.listReleases(o) ?? Promise.resolve([]),
|
|
362
|
-
enabled: t !== void 0
|
|
363
|
-
}))
|
|
364
|
-
}), l = s.map((o) => o.data), d = s.map((o) => o.dataUpdatedAt).join(), c = a.join();
|
|
365
|
-
return W(
|
|
366
|
-
() => ({
|
|
367
|
-
available: t !== void 0,
|
|
368
|
-
blueprintName: (o) => r.data?.find((u) => u.id === o)?.name,
|
|
369
|
-
releaseLabel: (o, u) => l[a.indexOf(o)]?.find((y) => y.id === u)?.label
|
|
370
|
-
}),
|
|
371
|
-
[t, r.data, d, c]
|
|
372
|
-
);
|
|
373
|
-
}
|
|
374
|
-
const cn = {
|
|
378
|
+
const pn = {
|
|
375
379
|
unchanged: "neutral",
|
|
376
380
|
added: "success",
|
|
377
381
|
removed: "danger",
|
|
378
382
|
changed: "warning"
|
|
379
|
-
},
|
|
383
|
+
}, un = {
|
|
380
384
|
name: "fields.name",
|
|
381
385
|
description: "fields.description",
|
|
382
386
|
entities: "entitySets.entities",
|
|
@@ -393,25 +397,25 @@ const cn = {
|
|
|
393
397
|
blueprint_id: "mappings.blueprintId",
|
|
394
398
|
blueprint_release_id: "mappings.releaseId"
|
|
395
399
|
};
|
|
396
|
-
function
|
|
400
|
+
function mn({
|
|
397
401
|
client: e,
|
|
398
402
|
kind: t,
|
|
399
|
-
id:
|
|
403
|
+
id: r,
|
|
400
404
|
fromRevisionId: a,
|
|
401
|
-
toRevisionId:
|
|
405
|
+
toRevisionId: i,
|
|
402
406
|
labelOf: s
|
|
403
407
|
}) {
|
|
404
|
-
const { t: l } =
|
|
405
|
-
queryKey: p.comparison(d, t,
|
|
406
|
-
queryFn: () => e.compareRevisions(t,
|
|
407
|
-
}), { format: o, blueprintIdsOnly: u } =
|
|
408
|
+
const { t: l } = P(R), { workspaceId: d } = B(), c = _({
|
|
409
|
+
queryKey: p.comparison(d, t, r, a, i),
|
|
410
|
+
queryFn: () => e.compareRevisions(t, r, a, i)
|
|
411
|
+
}), { format: o, blueprintIdsOnly: u } = hn(e, t, c.data), y = (f) => u && f in pe ? pe[f] : un[f], h = [...c.data?.fields ?? []].sort(
|
|
408
412
|
(f, D) => +(f.status === "unchanged") - +(D.status === "unchanged")
|
|
409
|
-
), S = h.filter((f) => f.status !== "unchanged").length, I = s(a), m = s(
|
|
413
|
+
), S = h.filter((f) => f.status !== "unchanged").length, I = s(a), m = s(i);
|
|
410
414
|
return /* @__PURE__ */ n(O, { as: "section", "aria-label": l("compare.title"), children: /* @__PURE__ */ n(se, { title: l("compare.title"), children: /* @__PURE__ */ g(C, { gap: "3", children: [
|
|
411
|
-
/* @__PURE__ */ n(
|
|
415
|
+
/* @__PURE__ */ n(w, { children: l("compare.between", { from: I, to: m }) }),
|
|
412
416
|
c.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: l("startPage.error") }) : null,
|
|
413
|
-
c.data ? /* @__PURE__ */ g(
|
|
414
|
-
/* @__PURE__ */ n(
|
|
417
|
+
c.data ? /* @__PURE__ */ g(q, { children: [
|
|
418
|
+
/* @__PURE__ */ n(w, { color: "fg.muted", children: S === 0 ? l("compare.same") : l("compare.differing", { count: S }) }),
|
|
415
419
|
/* @__PURE__ */ g(z.Root, { size: "sm", children: [
|
|
416
420
|
/* @__PURE__ */ n(z.Header, { children: /* @__PURE__ */ g(z.Row, { children: [
|
|
417
421
|
/* @__PURE__ */ n(z.ColumnHeader, { children: l("compare.field") }),
|
|
@@ -420,11 +424,11 @@ function un({
|
|
|
420
424
|
] }) }),
|
|
421
425
|
/* @__PURE__ */ n(z.Body, { children: h.map((f) => /* @__PURE__ */ g(z.Row, { verticalAlign: "top", children: [
|
|
422
426
|
/* @__PURE__ */ n(z.Cell, { as: "th", scope: "row", fontWeight: "normal", children: /* @__PURE__ */ g(C, { gap: "1", align: "start", children: [
|
|
423
|
-
/* @__PURE__ */ n(
|
|
427
|
+
/* @__PURE__ */ n(w, { fontWeight: "medium", children: y(f.field) ? l(y(f.field)) : f.field }),
|
|
424
428
|
/* @__PURE__ */ n(
|
|
425
429
|
Y,
|
|
426
430
|
{
|
|
427
|
-
tone:
|
|
431
|
+
tone: pn[f.status],
|
|
428
432
|
label: l(`compare.status.${f.status}`)
|
|
429
433
|
}
|
|
430
434
|
)
|
|
@@ -433,25 +437,25 @@ function un({
|
|
|
433
437
|
/* @__PURE__ */ n(z.Cell, { children: /* @__PURE__ */ n(fe, { text: o(f.field, "to") }) })
|
|
434
438
|
] }, f.field)) })
|
|
435
439
|
] })
|
|
436
|
-
] }) : c.isError ? null : /* @__PURE__ */ n(
|
|
440
|
+
] }) : c.isError ? null : /* @__PURE__ */ n(w, { color: "fg.muted", children: l("startPage.loading") })
|
|
437
441
|
] }) }) });
|
|
438
442
|
}
|
|
439
443
|
function fe({ text: e }) {
|
|
440
|
-
const { t } =
|
|
441
|
-
return e === null ? /* @__PURE__ */ n(
|
|
444
|
+
const { t } = P(R);
|
|
445
|
+
return e === null ? /* @__PURE__ */ n(w, { color: "fg.muted", children: t("compare.absent") }) : "plain" in e ? /* @__PURE__ */ n(w, { whiteSpace: "pre-wrap", children: e.plain }) : "code" in e ? /* @__PURE__ */ n(ee, { children: e.code }) : /* @__PURE__ */ n(ee, { display: "block", whiteSpace: "pre-wrap", p: "2", children: e.json });
|
|
442
446
|
}
|
|
443
|
-
function
|
|
444
|
-
const { t: a } =
|
|
445
|
-
queryKey: p.mappings(
|
|
447
|
+
function hn(e, t, r) {
|
|
448
|
+
const { t: a } = P(R), { workspaceId: i } = B(), s = t === "importProfile", l = _({
|
|
449
|
+
queryKey: p.mappings(i),
|
|
446
450
|
queryFn: () => e.listMappings(),
|
|
447
451
|
enabled: s
|
|
448
452
|
}), d = _({
|
|
449
|
-
queryKey: p.entitySets(
|
|
453
|
+
queryKey: p.entitySets(i),
|
|
450
454
|
queryFn: () => e.listEntitySets(),
|
|
451
455
|
enabled: s
|
|
452
|
-
}), c = t === "mapping" &&
|
|
456
|
+
}), c = t === "mapping" && r ? [r.from.content.blueprint_id, r.to.content.blueprint_id].map((h) => String(h ?? "")) : [], o = De(c), u = t === "mapping" && !o.available;
|
|
453
457
|
return { format: (h, S) => {
|
|
454
|
-
const I =
|
|
458
|
+
const I = r?.[S].content ?? {}, m = I[h];
|
|
455
459
|
if (m == null) return null;
|
|
456
460
|
if (s && h === "mapping_ids" && Array.isArray(m))
|
|
457
461
|
return m.length === 0 ? { plain: a("profiles.noMappings") } : {
|
|
@@ -475,51 +479,51 @@ function mn(e, t, i) {
|
|
|
475
479
|
return typeof m == "string" ? { plain: m === "" ? "—" : m } : typeof m == "boolean" ? { plain: a(m ? "compare.yes" : "compare.no") } : typeof m == "number" ? { plain: String(m) } : { json: JSON.stringify(m, null, 2) };
|
|
476
480
|
}, blueprintIdsOnly: u };
|
|
477
481
|
}
|
|
478
|
-
const
|
|
482
|
+
const gn = "YYYY-MM-DD HH:mm", re = (e) => String(e).padStart(2, "0");
|
|
479
483
|
function be(e) {
|
|
480
484
|
const t = new Date(e);
|
|
481
|
-
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${
|
|
485
|
+
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${re(t.getMonth() + 1)}-${re(t.getDate())} ${re(t.getHours())}:${re(t.getMinutes())}`;
|
|
482
486
|
}
|
|
483
|
-
function
|
|
484
|
-
const { t: a } =
|
|
487
|
+
function fn(e, t, r) {
|
|
488
|
+
const { t: a } = P(R);
|
|
485
489
|
return W(
|
|
486
490
|
() => ({
|
|
487
|
-
of: (
|
|
488
|
-
if (
|
|
489
|
-
const s = t.find((d) => d.revisionId ===
|
|
491
|
+
of: (i) => {
|
|
492
|
+
if (i === r) return a("history.draft");
|
|
493
|
+
const s = t.find((d) => d.revisionId === i);
|
|
490
494
|
if (s) return a("release.number", { number: s.number });
|
|
491
|
-
const l = e.find((d) => d.id ===
|
|
495
|
+
const l = e.find((d) => d.id === i);
|
|
492
496
|
return l ? a("history.revisionOf", { time: be(l.savedAt) }) : a("history.earlierRevision");
|
|
493
497
|
},
|
|
494
498
|
time: be
|
|
495
499
|
}),
|
|
496
|
-
[a, e, t,
|
|
500
|
+
[a, e, t, r]
|
|
497
501
|
);
|
|
498
502
|
}
|
|
499
|
-
function
|
|
503
|
+
function bn({
|
|
500
504
|
client: e,
|
|
501
505
|
kind: t,
|
|
502
|
-
id:
|
|
506
|
+
id: r,
|
|
503
507
|
draftRevisionId: a,
|
|
504
|
-
onRestored:
|
|
508
|
+
onRestored: i
|
|
505
509
|
}) {
|
|
506
|
-
const { t: s } =
|
|
507
|
-
queryKey: p.history(l, t,
|
|
508
|
-
queryFn: ({ pageParam: b }) => e.listHistory(t,
|
|
510
|
+
const { t: s } = P(R), { workspaceId: l, members: d } = B(), c = Te(), o = Le({
|
|
511
|
+
queryKey: p.history(l, t, r),
|
|
512
|
+
queryFn: ({ pageParam: b }) => e.listHistory(t, r, b),
|
|
509
513
|
initialPageParam: "",
|
|
510
514
|
getNextPageParam: (b) => b.nextPageToken || void 0
|
|
511
515
|
}), u = W(
|
|
512
516
|
() => (o.data?.pages ?? []).flatMap((b) => b.revisions),
|
|
513
517
|
[o.data]
|
|
514
|
-
), y = W(() => o.data?.pages[0]?.releases ?? [], [o.data]), h =
|
|
518
|
+
), y = W(() => o.data?.pages[0]?.releases ?? [], [o.data]), h = fn(u, y, a), [S, I] = V(null), [m, f] = V([]), D = W(
|
|
515
519
|
() => Object.fromEntries(m.map((b) => [b, !0])),
|
|
516
520
|
[m]
|
|
517
521
|
), M = (b) => f((F) => {
|
|
518
|
-
const v = Object.fromEntries(F.map((
|
|
522
|
+
const v = Object.fromEntries(F.map((H) => [H, !0])), x = typeof b == "function" ? b(v) : b, K = Object.keys(x).filter((H) => x[H]), le = F.filter((H) => K.includes(H)), ne = K.filter((H) => !F.includes(H));
|
|
519
523
|
return [...le, ...ne].slice(-2);
|
|
520
524
|
}), T = m.length === 2 ? [...m].sort(
|
|
521
525
|
(b, F) => u.findIndex((v) => v.id === F) - u.findIndex((v) => v.id === b)
|
|
522
|
-
) : null,
|
|
526
|
+
) : null, j = W(() => {
|
|
523
527
|
const b = (v) => y.filter((x) => x.revisionId === v), F = (v) => d.byId(v)?.displayName ?? s("history.unknownPerson");
|
|
524
528
|
return [
|
|
525
529
|
{
|
|
@@ -569,13 +573,13 @@ function fn({
|
|
|
569
573
|
header: s("history.columns.savedAt"),
|
|
570
574
|
enableSorting: !1,
|
|
571
575
|
size: 140,
|
|
572
|
-
cell: ({ row: v }) => /* @__PURE__ */ n(xe, { value: v.original.savedAt, format:
|
|
576
|
+
cell: ({ row: v }) => /* @__PURE__ */ n(xe, { value: v.original.savedAt, format: gn })
|
|
573
577
|
},
|
|
574
578
|
{
|
|
575
579
|
id: "validity",
|
|
576
580
|
header: s("validity.column"),
|
|
577
581
|
enableSorting: !1,
|
|
578
|
-
cell: ({ row: v }) => /* @__PURE__ */ n(
|
|
582
|
+
cell: ({ row: v }) => /* @__PURE__ */ n(an, { validity: v.original.validity })
|
|
579
583
|
},
|
|
580
584
|
{
|
|
581
585
|
id: "actions",
|
|
@@ -596,28 +600,28 @@ function fn({
|
|
|
596
600
|
) : null
|
|
597
601
|
}
|
|
598
602
|
];
|
|
599
|
-
}, [s, d, y, h, a, c]),
|
|
600
|
-
return /* @__PURE__ */ g(
|
|
603
|
+
}, [s, d, y, h, a, c]), X = (b) => d.byId(b)?.displayName ?? s("history.unknownPerson"), te = y.filter((b) => !u.some((F) => F.id === b.revisionId));
|
|
604
|
+
return /* @__PURE__ */ g(q, { children: [
|
|
601
605
|
/* @__PURE__ */ n(O, { px: "8", py: "4", children: /* @__PURE__ */ g(C, { gap: "1", children: [
|
|
602
|
-
/* @__PURE__ */ n(
|
|
603
|
-
o.hasNextPage ? te.map((b) => /* @__PURE__ */ n(
|
|
606
|
+
/* @__PURE__ */ n(w, { color: "fg.muted", children: s("history.hint") }),
|
|
607
|
+
o.hasNextPage ? te.map((b) => /* @__PURE__ */ n(w, { color: "fg.muted", children: s("history.olderRelease", {
|
|
604
608
|
release: s("release.number", { number: b.number }),
|
|
605
|
-
name:
|
|
609
|
+
name: X(b.releasedBy),
|
|
606
610
|
time: h.time(b.releasedAt)
|
|
607
611
|
}) }, b.id)) : null
|
|
608
612
|
] }) }),
|
|
609
613
|
o.isError ? /* @__PURE__ */ n(O, { px: "8", pb: "4", children: /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: s("startPage.error") }) }) : null,
|
|
610
614
|
/* @__PURE__ */ n(
|
|
611
|
-
|
|
615
|
+
Be,
|
|
612
616
|
{
|
|
613
|
-
columns:
|
|
617
|
+
columns: j,
|
|
614
618
|
data: u,
|
|
615
619
|
loading: o.isLoading,
|
|
616
620
|
selectable: !0,
|
|
617
621
|
rowSelection: D,
|
|
618
622
|
onRowSelectionChange: M,
|
|
619
623
|
getRowId: (b) => b.id,
|
|
620
|
-
emptyState: /* @__PURE__ */ n(ve, { icon: /* @__PURE__ */ n(
|
|
624
|
+
emptyState: /* @__PURE__ */ n(ve, { icon: /* @__PURE__ */ n(Qe, { size: 32 }), header: s("history.none") })
|
|
621
625
|
}
|
|
622
626
|
),
|
|
623
627
|
o.hasNextPage || T ? /* @__PURE__ */ n(O, { px: "8", py: "6", children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
@@ -635,11 +639,11 @@ function fn({
|
|
|
635
639
|
}
|
|
636
640
|
) : null,
|
|
637
641
|
T ? /* @__PURE__ */ n(
|
|
638
|
-
|
|
642
|
+
mn,
|
|
639
643
|
{
|
|
640
644
|
client: e,
|
|
641
645
|
kind: t,
|
|
642
|
-
id:
|
|
646
|
+
id: r,
|
|
643
647
|
fromRevisionId: T[0],
|
|
644
648
|
toRevisionId: T[1],
|
|
645
649
|
labelOf: h.of
|
|
@@ -647,55 +651,55 @@ function fn({
|
|
|
647
651
|
) : null
|
|
648
652
|
] }) }) : null,
|
|
649
653
|
/* @__PURE__ */ n(
|
|
650
|
-
|
|
654
|
+
yn,
|
|
651
655
|
{
|
|
652
656
|
revision: S,
|
|
653
657
|
label: S ? h.of(S.id) : "",
|
|
654
658
|
onClose: () => I(null),
|
|
655
|
-
onRestore: (b) => e.restoreRevision(t,
|
|
659
|
+
onRestore: (b) => e.restoreRevision(t, r, b.id, a),
|
|
656
660
|
onRestored: () => {
|
|
657
|
-
f([]), Promise.resolve(
|
|
661
|
+
f([]), Promise.resolve(i?.()).catch(() => {
|
|
658
662
|
});
|
|
659
663
|
},
|
|
660
664
|
kind: t,
|
|
661
|
-
id:
|
|
665
|
+
id: r
|
|
662
666
|
}
|
|
663
667
|
)
|
|
664
668
|
] });
|
|
665
669
|
}
|
|
666
|
-
function
|
|
670
|
+
function yn({
|
|
667
671
|
revision: e,
|
|
668
672
|
label: t,
|
|
669
|
-
onClose:
|
|
673
|
+
onClose: r,
|
|
670
674
|
onRestore: a,
|
|
671
|
-
onRestored:
|
|
675
|
+
onRestored: i,
|
|
672
676
|
kind: s,
|
|
673
677
|
id: l
|
|
674
678
|
}) {
|
|
675
|
-
const { t: d } =
|
|
679
|
+
const { t: d } = P(R), { workspaceId: c } = B(), o = ae(), u = e !== null, [y, h] = V({ revision: e, label: t });
|
|
676
680
|
e && e !== y.revision && h({ revision: e, label: t });
|
|
677
|
-
const S =
|
|
681
|
+
const S = G({
|
|
678
682
|
mutationFn: a,
|
|
679
683
|
onSuccess: () => {
|
|
680
|
-
|
|
684
|
+
i(), o.invalidateQueries({
|
|
681
685
|
queryKey: p.configuration(c, s, l)
|
|
682
686
|
}), o.invalidateQueries({
|
|
683
687
|
queryKey: p.configurations(c, s)
|
|
684
|
-
}),
|
|
688
|
+
}), r();
|
|
685
689
|
}
|
|
686
690
|
}), { reset: I } = S;
|
|
687
|
-
return
|
|
691
|
+
return Q(() => {
|
|
688
692
|
u && I();
|
|
689
693
|
}, [u, I]), /* @__PURE__ */ n(
|
|
690
694
|
oe,
|
|
691
695
|
{
|
|
692
696
|
open: u,
|
|
693
|
-
onClose:
|
|
697
|
+
onClose: r,
|
|
694
698
|
header: d("history.restoreTitle", { revision: y.label }),
|
|
695
699
|
lazyMount: !0,
|
|
696
700
|
unmountOnExit: !0,
|
|
697
701
|
footer: /* @__PURE__ */ g($, { gap: "2", children: [
|
|
698
|
-
/* @__PURE__ */ n(A, { variant: "outline", onClick:
|
|
702
|
+
/* @__PURE__ */ n(A, { variant: "outline", onClick: r, children: d("common.cancel") }),
|
|
699
703
|
/* @__PURE__ */ n(
|
|
700
704
|
A,
|
|
701
705
|
{
|
|
@@ -707,41 +711,41 @@ function bn({
|
|
|
707
711
|
)
|
|
708
712
|
] }),
|
|
709
713
|
children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
710
|
-
/* @__PURE__ */ n(
|
|
714
|
+
/* @__PURE__ */ n(w, { children: d("history.restoreMessage") }),
|
|
711
715
|
S.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: d("history.restoreFailed"), children: S.error.message }) : null
|
|
712
716
|
] })
|
|
713
717
|
}
|
|
714
718
|
);
|
|
715
719
|
}
|
|
716
|
-
const
|
|
717
|
-
function Sn(e) {
|
|
718
|
-
return !e || e === "/" ? "" : e.replace(/^\//, "").split("/").map((t) => yn(t.replace(/~1/g, "/").replace(/~0/g, "~"))).join(".");
|
|
719
|
-
}
|
|
720
|
+
const Sn = (e) => e.replace(/_([a-z0-9])/g, (t, r) => r.toUpperCase());
|
|
720
721
|
function vn(e) {
|
|
722
|
+
return !e || e === "/" ? "" : e.replace(/^\//, "").split("/").map((t) => Sn(t.replace(/~1/g, "/").replace(/~0/g, "~"))).join(".");
|
|
723
|
+
}
|
|
724
|
+
function Rn(e) {
|
|
721
725
|
const t = /* @__PURE__ */ new Map();
|
|
722
|
-
for (const
|
|
723
|
-
const a =
|
|
726
|
+
for (const r of e) {
|
|
727
|
+
const a = vn(r.path);
|
|
724
728
|
if (!a) continue;
|
|
725
|
-
const
|
|
726
|
-
t.set(a,
|
|
729
|
+
const i = t.get(a);
|
|
730
|
+
t.set(a, i ? `${i} ${r.message}` : r.message);
|
|
727
731
|
}
|
|
728
732
|
return t;
|
|
729
733
|
}
|
|
730
|
-
function
|
|
734
|
+
function In({
|
|
731
735
|
open: e,
|
|
732
736
|
onClose: t,
|
|
733
|
-
client:
|
|
737
|
+
client: r,
|
|
734
738
|
mapping: a,
|
|
735
|
-
onMove:
|
|
739
|
+
onMove: i
|
|
736
740
|
}) {
|
|
737
|
-
const { t: s } =
|
|
738
|
-
mutationFn: (m) =>
|
|
739
|
-
}), o =
|
|
740
|
-
|
|
741
|
+
const { t: s } = P(R), l = ke({ defaultValues: { blueprintReleaseId: null } }), d = Ue({ control: l.control, name: "blueprintReleaseId" }) ?? "", c = G({
|
|
742
|
+
mutationFn: (m) => r.checkMappingBlueprintRelease(a.id, m)
|
|
743
|
+
}), o = G({ mutationFn: i, onSuccess: t }), { reset: u } = l, { reset: y } = c, { reset: h } = o;
|
|
744
|
+
Q(() => {
|
|
741
745
|
e && (u({ blueprintReleaseId: null }), y(), h());
|
|
742
746
|
}, [e, u, y, h]);
|
|
743
747
|
const S = c.variables, I = c.data && S === d ? c.data : null;
|
|
744
|
-
return
|
|
748
|
+
return Q(() => {
|
|
745
749
|
S !== void 0 && S !== d && y();
|
|
746
750
|
}, [S, d, y]), /* @__PURE__ */ n(
|
|
747
751
|
oe,
|
|
@@ -775,7 +779,7 @@ function Rn({
|
|
|
775
779
|
)
|
|
776
780
|
] }),
|
|
777
781
|
children: /* @__PURE__ */ n(Ee, { ...l, children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
778
|
-
/* @__PURE__ */ n(
|
|
782
|
+
/* @__PURE__ */ n(wn, { mapping: a }),
|
|
779
783
|
c.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: s("mappings.checkFailed"), children: c.error.message }) : null,
|
|
780
784
|
I ? /* @__PURE__ */ n(Pn, { report: I }) : null,
|
|
781
785
|
o.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: s("save.failed"), children: o.error.message }) : null
|
|
@@ -783,99 +787,99 @@ function Rn({
|
|
|
783
787
|
}
|
|
784
788
|
);
|
|
785
789
|
}
|
|
786
|
-
function
|
|
787
|
-
const { t } =
|
|
790
|
+
function wn({ mapping: e }) {
|
|
791
|
+
const { t } = P(R), { blueprints: r } = L(), { workspaceId: a } = B(), i = _({
|
|
788
792
|
queryKey: p.blueprintReleases(a, e.content.blueprintId),
|
|
789
|
-
queryFn: () =>
|
|
790
|
-
enabled:
|
|
793
|
+
queryFn: () => r?.listReleases(e.content.blueprintId) ?? Promise.resolve([]),
|
|
794
|
+
enabled: r !== void 0
|
|
791
795
|
});
|
|
792
|
-
return
|
|
796
|
+
return r ? /* @__PURE__ */ n(
|
|
793
797
|
Ke,
|
|
794
798
|
{
|
|
795
799
|
name: "blueprintReleaseId",
|
|
796
800
|
label: t("mappings.newRelease"),
|
|
797
801
|
required: !0,
|
|
798
|
-
options: (
|
|
802
|
+
options: (i.data ?? []).filter((s) => s.id !== e.content.blueprintReleaseId).map((s) => ({ id: s.id, label: s.label }))
|
|
799
803
|
}
|
|
800
804
|
) : /* @__PURE__ */ n(J, { name: "blueprintReleaseId", label: t("mappings.newReleaseId"), required: !0 });
|
|
801
805
|
}
|
|
802
806
|
function Pn({ report: e }) {
|
|
803
|
-
const { t } =
|
|
804
|
-
return
|
|
807
|
+
const { t } = P(R), r = e.missingFieldPaths.length + e.missingReleaseSpecFields.length;
|
|
808
|
+
return r === 0 ? /* @__PURE__ */ n(E, { status: "success", colorPalette: "success", title: t("mappings.nothingLost") }) : /* @__PURE__ */ n(E, { status: "warning", colorPalette: "warning", title: t("mappings.lost", { count: r }), children: /* @__PURE__ */ g(C, { gap: "2", children: [
|
|
805
809
|
e.missingFieldPaths.length > 0 ? /* @__PURE__ */ n(ye, { label: t("mappings.lostFields"), paths: e.missingFieldPaths }) : null,
|
|
806
810
|
e.missingReleaseSpecFields.length > 0 ? /* @__PURE__ */ n(ye, { label: t("mappings.lostReleaseSpec"), paths: e.missingReleaseSpecFields }) : null
|
|
807
811
|
] }) });
|
|
808
812
|
}
|
|
809
813
|
function ye({ label: e, paths: t }) {
|
|
810
814
|
return /* @__PURE__ */ g(C, { gap: "1", children: [
|
|
811
|
-
/* @__PURE__ */ n(
|
|
812
|
-
/* @__PURE__ */ n(N.Root, { ps: "4", "aria-label": e, children: t.map((
|
|
815
|
+
/* @__PURE__ */ n(w, { fontWeight: "medium", children: e }),
|
|
816
|
+
/* @__PURE__ */ n(N.Root, { ps: "4", "aria-label": e, children: t.map((r) => /* @__PURE__ */ n(N.Item, { children: /* @__PURE__ */ n(ee, { children: r }) }, r)) })
|
|
813
817
|
] });
|
|
814
818
|
}
|
|
815
|
-
const Fe =
|
|
816
|
-
function
|
|
817
|
-
const e =
|
|
819
|
+
const Fe = we(null);
|
|
820
|
+
function Gn() {
|
|
821
|
+
const e = Pe(Fe);
|
|
818
822
|
if (!e) throw new Error("useMappingPage outside a Mapping's page");
|
|
819
823
|
return e;
|
|
820
824
|
}
|
|
821
|
-
const ce = (e) => structuredClone(e),
|
|
825
|
+
const ce = (e) => structuredClone(e), kn = [
|
|
822
826
|
["versionMatch"],
|
|
823
827
|
["validityPeriod"],
|
|
824
828
|
["collectionRouting"],
|
|
825
829
|
["sourceKey", "extractSeparator"]
|
|
826
|
-
],
|
|
830
|
+
], En = (e) => e === "" || e !== null && typeof e == "object" && !Array.isArray(e) && Object.keys(e).length === 0;
|
|
827
831
|
function Se(e, t) {
|
|
828
|
-
const
|
|
829
|
-
for (const a of
|
|
830
|
-
const
|
|
832
|
+
const r = JSON.parse(JSON.stringify(e));
|
|
833
|
+
for (const a of kn) {
|
|
834
|
+
const i = a.slice(0, -1), s = a[a.length - 1], l = i.reduce(
|
|
831
835
|
(c, o) => c?.[o],
|
|
832
|
-
|
|
833
|
-
), d =
|
|
836
|
+
r
|
|
837
|
+
), d = i.reduce(
|
|
834
838
|
(c, o) => c?.[o],
|
|
835
839
|
t
|
|
836
840
|
);
|
|
837
|
-
l && s in l &&
|
|
841
|
+
l && s in l && En(l[s]) && !(d && s in d) && delete l[s];
|
|
838
842
|
}
|
|
839
|
-
return
|
|
843
|
+
return r;
|
|
840
844
|
}
|
|
841
|
-
function
|
|
845
|
+
function Qn({
|
|
842
846
|
client: e,
|
|
843
847
|
id: t,
|
|
844
|
-
onDeleted:
|
|
848
|
+
onDeleted: r,
|
|
845
849
|
editor: a
|
|
846
850
|
}) {
|
|
847
|
-
const { t:
|
|
851
|
+
const { t: i } = P(R), { workspaceId: s } = B(), l = _({
|
|
848
852
|
queryKey: p.mapping(s, t),
|
|
849
853
|
queryFn: () => e.getMapping(t)
|
|
850
854
|
});
|
|
851
|
-
return l.isError || !l.data ? /* @__PURE__ */ n(Ie, { title:
|
|
855
|
+
return l.isError || !l.data ? /* @__PURE__ */ n(Ie, { title: i("section.mappings.title"), children: l.isError ? /* @__PURE__ */ n(en, {}) : /* @__PURE__ */ n(Yt, {}) }) : /* @__PURE__ */ n(Cn, { client: e, mapping: l.data, onDeleted: r, editor: a });
|
|
852
856
|
}
|
|
853
|
-
function
|
|
857
|
+
function Cn({
|
|
854
858
|
client: e,
|
|
855
859
|
mapping: t,
|
|
856
|
-
onDeleted:
|
|
860
|
+
onDeleted: r,
|
|
857
861
|
editor: a
|
|
858
862
|
}) {
|
|
859
|
-
const { t:
|
|
863
|
+
const { t: i } = P(R), { workspaceId: s } = B(), { paths: l } = L(), d = Te(), c = ae(), [o, u] = V(!1), [y, h] = V(!1), S = De([t.content.blueprintId]), I = _({
|
|
860
864
|
queryKey: p.mappingImportProfiles(s, t.id),
|
|
861
865
|
queryFn: () => e.listMappingImportProfiles(t.id)
|
|
862
866
|
}), m = ke({ defaultValues: ce(t.content) }), { reset: f, formState: D, setError: M } = m, T = Ze(() => {
|
|
863
|
-
for (const [k, de] of
|
|
867
|
+
for (const [k, de] of Rn(t.validity.reasons))
|
|
864
868
|
M(k, { type: "importhub", message: de });
|
|
865
869
|
}, [t, M]);
|
|
866
|
-
|
|
870
|
+
Q(() => {
|
|
867
871
|
D.isDirty || f(ce(t.content)), T();
|
|
868
872
|
}, [t, f, D.isDirty, T]);
|
|
869
|
-
const
|
|
873
|
+
const j = (k) => {
|
|
870
874
|
c.setQueryData(p.mapping(s, k.id), k), f(ce(k.content)), c.invalidateQueries({ queryKey: p.mappings(s) }), c.invalidateQueries({ queryKey: p.importProfiles(s) });
|
|
871
|
-
},
|
|
875
|
+
}, X = G({
|
|
872
876
|
mutationFn: (k) => e.updateMapping(t.id, k, t.state.draftRevisionId),
|
|
873
|
-
onSuccess:
|
|
877
|
+
onSuccess: j,
|
|
874
878
|
// Nothing was saved: the draft's reasons still hold.
|
|
875
879
|
onError: T
|
|
876
880
|
}), te = () => {
|
|
877
|
-
m.clearErrors(), m.handleSubmit((k) =>
|
|
878
|
-
}, [b, F] =
|
|
881
|
+
m.clearErrors(), m.handleSubmit((k) => X.mutate(Se(k, t.content)))();
|
|
882
|
+
}, [b, F] = nn(a?.tabs), v = cn({
|
|
879
883
|
client: e,
|
|
880
884
|
kind: "mapping",
|
|
881
885
|
id: t.id,
|
|
@@ -885,14 +889,14 @@ function En({
|
|
|
885
889
|
});
|
|
886
890
|
We(
|
|
887
891
|
d ? /* @__PURE__ */ g(U, { storageKey: "importhub.mapping.rail", children: [
|
|
888
|
-
/* @__PURE__ */ n(U.Header, { title:
|
|
889
|
-
/* @__PURE__ */ g(U.Section, { id: "actions", label:
|
|
892
|
+
/* @__PURE__ */ n(U.Header, { title: i("rail.title") }),
|
|
893
|
+
/* @__PURE__ */ g(U.Section, { id: "actions", label: i("rail.actions"), children: [
|
|
890
894
|
v.railAction,
|
|
891
895
|
/* @__PURE__ */ n(
|
|
892
896
|
U.IconButton,
|
|
893
897
|
{
|
|
894
|
-
label:
|
|
895
|
-
icon: /* @__PURE__ */ n(
|
|
898
|
+
label: i("mappings.delete"),
|
|
899
|
+
icon: /* @__PURE__ */ n($e, { size: 16 }),
|
|
896
900
|
tone: "outline-red",
|
|
897
901
|
onClick: () => u(!0)
|
|
898
902
|
}
|
|
@@ -903,11 +907,11 @@ function En({
|
|
|
903
907
|
const x = S.blueprintName(t.content.blueprintId), K = S.releaseLabel(
|
|
904
908
|
t.content.blueprintId,
|
|
905
909
|
t.content.blueprintReleaseId
|
|
906
|
-
), le = t.content.fields?.length ?? 0, ne = /* @__PURE__ */ g(
|
|
910
|
+
), le = t.content.fields?.length ?? 0, ne = /* @__PURE__ */ g(q, { children: [
|
|
907
911
|
v.notice,
|
|
908
|
-
/* @__PURE__ */ n(
|
|
909
|
-
|
|
910
|
-
] }),
|
|
912
|
+
/* @__PURE__ */ n(Me, { validity: t.validity }),
|
|
913
|
+
X.isError ? /* @__PURE__ */ n(E, { status: "error", colorPalette: "danger", title: i("save.failed"), children: X.error.message }) : null
|
|
914
|
+
] }), H = W(
|
|
911
915
|
() => ({ mapping: t, canConfigure: d, reasons: t.validity.reasons }),
|
|
912
916
|
[t, d]
|
|
913
917
|
), ge = a?.tabs.some((k) => k.value === b) ? b : null;
|
|
@@ -915,16 +919,16 @@ function En({
|
|
|
915
919
|
Ie,
|
|
916
920
|
{
|
|
917
921
|
title: t.content.name,
|
|
918
|
-
breadcrumbs: [{ label:
|
|
922
|
+
breadcrumbs: [{ label: i("section.mappings.title"), to: l.mappings }],
|
|
919
923
|
badges: /* @__PURE__ */ g($, { gap: "2", children: [
|
|
920
924
|
/* @__PURE__ */ n(
|
|
921
925
|
Y,
|
|
922
926
|
{
|
|
923
927
|
tone: t.validity.valid ? "success" : "danger",
|
|
924
|
-
label: t.validity.valid ?
|
|
928
|
+
label: t.validity.valid ? i("validity.valid") : i("validity.invalid")
|
|
925
929
|
}
|
|
926
930
|
),
|
|
927
|
-
/* @__PURE__ */ n(
|
|
931
|
+
/* @__PURE__ */ n(sn, { state: t.state })
|
|
928
932
|
] }),
|
|
929
933
|
tabs: F,
|
|
930
934
|
actions: d ? /* @__PURE__ */ n(
|
|
@@ -932,24 +936,24 @@ function En({
|
|
|
932
936
|
{
|
|
933
937
|
variant: "solid",
|
|
934
938
|
disabled: !D.isDirty,
|
|
935
|
-
loading:
|
|
939
|
+
loading: X.isPending,
|
|
936
940
|
onClick: te,
|
|
937
|
-
children:
|
|
941
|
+
children: i("common.save")
|
|
938
942
|
}
|
|
939
943
|
) : void 0,
|
|
940
944
|
children: [
|
|
941
945
|
b === "history" ? /* @__PURE__ */ n(
|
|
942
|
-
|
|
946
|
+
bn,
|
|
943
947
|
{
|
|
944
948
|
client: e,
|
|
945
949
|
kind: "mapping",
|
|
946
950
|
id: t.id,
|
|
947
951
|
draftRevisionId: t.state.draftRevisionId,
|
|
948
952
|
onRestored: async () => {
|
|
949
|
-
|
|
953
|
+
j(await e.getMapping(t.id));
|
|
950
954
|
}
|
|
951
955
|
}
|
|
952
|
-
) : /* @__PURE__ */ n(Fe.Provider, { value:
|
|
956
|
+
) : /* @__PURE__ */ n(Fe.Provider, { value: H, children: /* @__PURE__ */ n(Ee, { ...m, children: /* @__PURE__ */ n(
|
|
953
957
|
"form",
|
|
954
958
|
{
|
|
955
959
|
onSubmit: (k) => {
|
|
@@ -957,21 +961,21 @@ function En({
|
|
|
957
961
|
},
|
|
958
962
|
children: a && ge ? a.render(ge, ne) : /* @__PURE__ */ n(O, { px: "8", py: "6", children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
959
963
|
ne,
|
|
960
|
-
/* @__PURE__ */ n(se, { title:
|
|
964
|
+
/* @__PURE__ */ n(se, { title: i("mappings.general"), children: /* @__PURE__ */ g(C, { gap: "4", children: [
|
|
961
965
|
/* @__PURE__ */ n(
|
|
962
966
|
J,
|
|
963
967
|
{
|
|
964
968
|
name: "name",
|
|
965
|
-
label:
|
|
969
|
+
label: i("fields.name"),
|
|
966
970
|
required: !0,
|
|
967
971
|
disabled: !d
|
|
968
972
|
}
|
|
969
973
|
),
|
|
970
974
|
/* @__PURE__ */ n(
|
|
971
|
-
|
|
975
|
+
He,
|
|
972
976
|
{
|
|
973
977
|
name: "description",
|
|
974
|
-
label:
|
|
978
|
+
label: i("fields.description"),
|
|
975
979
|
disabled: !d
|
|
976
980
|
}
|
|
977
981
|
),
|
|
@@ -979,8 +983,8 @@ function En({
|
|
|
979
983
|
J,
|
|
980
984
|
{
|
|
981
985
|
name: "elementSelector",
|
|
982
|
-
label:
|
|
983
|
-
helperText:
|
|
986
|
+
label: i("mappings.elementSelector"),
|
|
987
|
+
helperText: i("mappings.elementSelectorHelp"),
|
|
984
988
|
disabled: !d
|
|
985
989
|
}
|
|
986
990
|
),
|
|
@@ -988,7 +992,7 @@ function En({
|
|
|
988
992
|
J,
|
|
989
993
|
{
|
|
990
994
|
name: "sourceKey.selector",
|
|
991
|
-
label:
|
|
995
|
+
label: i("mappings.sourceKeySelector"),
|
|
992
996
|
disabled: !d
|
|
993
997
|
}
|
|
994
998
|
),
|
|
@@ -996,33 +1000,33 @@ function En({
|
|
|
996
1000
|
J,
|
|
997
1001
|
{
|
|
998
1002
|
name: "sourceKey.template",
|
|
999
|
-
label:
|
|
1000
|
-
helperText:
|
|
1003
|
+
label: i("mappings.sourceKeyTemplate"),
|
|
1004
|
+
helperText: i("mappings.sourceKeyTemplateHelp"),
|
|
1001
1005
|
disabled: !d
|
|
1002
1006
|
}
|
|
1003
1007
|
),
|
|
1004
|
-
a ? null : /* @__PURE__ */ n(
|
|
1008
|
+
a ? null : /* @__PURE__ */ n(w, { color: "fg.muted", fontSize: "sm", children: i("mappings.fieldCount", { count: le }) })
|
|
1005
1009
|
] }) }),
|
|
1006
|
-
/* @__PURE__ */ n(se, { title:
|
|
1007
|
-
S.available ? /* @__PURE__ */ g(
|
|
1008
|
-
/* @__PURE__ */ n(
|
|
1009
|
-
/* @__PURE__ */ n(
|
|
1010
|
-
] }) : /* @__PURE__ */ g(
|
|
1011
|
-
/* @__PURE__ */ n(
|
|
1012
|
-
/* @__PURE__ */ n(
|
|
1010
|
+
/* @__PURE__ */ n(se, { title: i("mappings.target"), children: /* @__PURE__ */ g(C, { gap: "3", children: [
|
|
1011
|
+
S.available ? /* @__PURE__ */ g(q, { children: [
|
|
1012
|
+
/* @__PURE__ */ n(ie, { label: i("mappings.blueprint"), children: x ?? "…" }),
|
|
1013
|
+
/* @__PURE__ */ n(ie, { label: i("mappings.release"), children: K ?? "…" })
|
|
1014
|
+
] }) : /* @__PURE__ */ g(q, { children: [
|
|
1015
|
+
/* @__PURE__ */ n(ie, { label: i("mappings.blueprintId"), children: /* @__PURE__ */ n(ee, { children: t.content.blueprintId }) }),
|
|
1016
|
+
/* @__PURE__ */ n(ie, { label: i("mappings.releaseId"), children: /* @__PURE__ */ n(ee, { children: t.content.blueprintReleaseId }) })
|
|
1013
1017
|
] }),
|
|
1014
1018
|
d ? /* @__PURE__ */ n(O, { children: /* @__PURE__ */ g(A, { variant: "outline", size: "sm", onClick: () => h(!0), children: [
|
|
1015
|
-
/* @__PURE__ */ n(
|
|
1016
|
-
|
|
1019
|
+
/* @__PURE__ */ n(je, { size: 14, "aria-hidden": !0 }),
|
|
1020
|
+
i("mappings.move")
|
|
1017
1021
|
] }) }) : null
|
|
1018
1022
|
] }) }),
|
|
1019
|
-
/* @__PURE__ */ n(se, { title:
|
|
1023
|
+
/* @__PURE__ */ n(se, { title: i("mappings.includedBy"), children: I.isError ? /* @__PURE__ */ n(w, { color: "fg.muted", children: i("startPage.error") }) : I.data ? I.data.length === 0 ? /* @__PURE__ */ n(w, { color: "fg.muted", children: i("mappings.noProfiles") }) : /* @__PURE__ */ n(N.Root, { ps: "4", "aria-label": i("mappings.includedBy"), children: I.data.map((k) => /* @__PURE__ */ n(N.Item, { children: /* @__PURE__ */ n(ue, { asChild: !0, children: /* @__PURE__ */ n(me, { to: he(l, "profiles", k.id), children: k.name }) }) }, k.id)) }) : /* @__PURE__ */ n(w, { color: "fg.muted", children: i("startPage.loading") }) })
|
|
1020
1024
|
] }) })
|
|
1021
1025
|
}
|
|
1022
1026
|
) }) }),
|
|
1023
1027
|
v.dialog,
|
|
1024
1028
|
/* @__PURE__ */ n(
|
|
1025
|
-
|
|
1029
|
+
In,
|
|
1026
1030
|
{
|
|
1027
1031
|
open: y,
|
|
1028
1032
|
onClose: () => h(!1),
|
|
@@ -1033,20 +1037,20 @@ function En({
|
|
|
1033
1037
|
...Se(m.getValues(), t.content),
|
|
1034
1038
|
blueprintReleaseId: k
|
|
1035
1039
|
};
|
|
1036
|
-
|
|
1040
|
+
j(await e.updateMapping(t.id, de, t.state.draftRevisionId));
|
|
1037
1041
|
}
|
|
1038
1042
|
}
|
|
1039
1043
|
),
|
|
1040
1044
|
/* @__PURE__ */ n(
|
|
1041
|
-
|
|
1045
|
+
rn,
|
|
1042
1046
|
{
|
|
1043
1047
|
open: o,
|
|
1044
1048
|
onClose: () => u(!1),
|
|
1045
|
-
title:
|
|
1046
|
-
message:
|
|
1049
|
+
title: i("mappings.deleteTitle", { name: t.content.name }),
|
|
1050
|
+
message: i("mappings.deleteMessage"),
|
|
1047
1051
|
onDelete: () => e.deleteMapping(t.id),
|
|
1048
1052
|
onDeleted: () => {
|
|
1049
|
-
u(!1), c.removeQueries({ queryKey: p.mapping(s, t.id) }), c.invalidateQueries({ queryKey: p.mappings(s) }),
|
|
1053
|
+
u(!1), c.removeQueries({ queryKey: p.mapping(s, t.id) }), c.invalidateQueries({ queryKey: p.mappings(s) }), r();
|
|
1050
1054
|
}
|
|
1051
1055
|
}
|
|
1052
1056
|
)
|
|
@@ -1054,37 +1058,38 @@ function En({
|
|
|
1054
1058
|
}
|
|
1055
1059
|
);
|
|
1056
1060
|
}
|
|
1057
|
-
function
|
|
1061
|
+
function ie({ label: e, children: t }) {
|
|
1058
1062
|
return /* @__PURE__ */ g($, { gap: "4", align: "baseline", children: [
|
|
1059
|
-
/* @__PURE__ */ n(
|
|
1063
|
+
/* @__PURE__ */ n(w, { color: "fg.muted", minW: "40", children: e }),
|
|
1060
1064
|
/* @__PURE__ */ n(O, { children: t })
|
|
1061
1065
|
] });
|
|
1062
1066
|
}
|
|
1063
1067
|
export {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1068
|
+
bn as C,
|
|
1069
|
+
rn as D,
|
|
1070
|
+
ie as F,
|
|
1067
1071
|
R as I,
|
|
1068
1072
|
en as L,
|
|
1069
|
-
|
|
1070
|
-
|
|
1073
|
+
Qn as M,
|
|
1074
|
+
sn as R,
|
|
1071
1075
|
Ut as S,
|
|
1072
|
-
|
|
1076
|
+
Me as V,
|
|
1073
1077
|
he as a,
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1078
|
+
tn as b,
|
|
1079
|
+
Yt as c,
|
|
1080
|
+
Te as d,
|
|
1081
|
+
nn as e,
|
|
1082
|
+
cn as f,
|
|
1083
|
+
an as g,
|
|
1084
|
+
De as h,
|
|
1081
1085
|
p as i,
|
|
1082
1086
|
Ln as j,
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1087
|
+
Xn as k,
|
|
1088
|
+
Vn as l,
|
|
1089
|
+
Gn as m,
|
|
1090
|
+
vn as n,
|
|
1091
|
+
Se as o,
|
|
1092
|
+
qn as r,
|
|
1093
|
+
L as u
|
|
1089
1094
|
};
|
|
1090
|
-
//# sourceMappingURL=mapping-page-
|
|
1095
|
+
//# sourceMappingURL=mapping-page-CABgzLlj.js.map
|