@stoa-dev/kit 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Gemeinsame React-Komponenten, Hooks, Hilfsfunktionen, Lizenz-UI und Theme der ST
4
4
 
5
5
  | Import | Inhalt |
6
6
  |---|---|
7
- | `@stoa-dev/kit/ui` | shadcn-Primitives (Button, Dialog, Select, Calendar, …), AudioPlayer, FileViewer |
7
+ | `@stoa-dev/kit/ui` | shadcn-Primitives (Button, Dialog, Select, Calendar, …), AudioPlayer, Combobox, FileViewer |
8
8
  | `@stoa-dev/kit/shell` | AppNavigation, SubNavigation, SetupWizard, PageHeading, BrandLines, Spinner, BackButton, ErrorBoundary, ConfirmDialog, DatePickerInput, NativeSelect, UploadButton, StartupProvider/`useStartup`, StartupAnimation, SaveStatus, ScrollToTop, TagInput, ValidatedInput, ExternalLink, AnimatedSwap |
9
9
  | `@stoa-dev/kit/display` | MarginaliaPair, Marginalia, MarginaliaFramed, TimeMeasured, ProgressBar, BarChart/BarChartItem |
10
10
  | `@stoa-dev/kit/licensing` | LicenseProvider/`useLicense`, LicenseGate, LicenseCard, LicenseActivation, LicenseStatusBanner, Tauri-API |
@@ -1,4 +1,4 @@
1
- const e = { cancel: "Obbrechn", close: "Zumachn", retry: "No amoi probiern" }, n = { back: "Zruck zur Startseitn", errorDescription: "Start de Oberfläche neu und probier’s no amoi.", errorTitle: "Do is wos schiefganga.", loadingApp: "App vorbereitn …", navigation: "Hauptnavigation", restart: "Neu ladn", darkMode: "Dunkelmodus", switchTheme: "Aussehn wechseln", loadingSettings: "Einstöllungen ladn …", scrollToTop: "Nach obn" }, i = { title: "Farbinstrument", choose: "Farb aussuachn", hue: "Farbton", saturation: "Sättigung", lightness: "Helligkeit", opacity: "Deckkraft", hex: "HEX-Farbe", copy: "Kopiern", copied: "Farb kopiert", copyFailed: "Farb hat ned kopiert werdn können", presets: "Schnellauswahl", select: "{{color}} aussuachn" }, r = { selectDate: "Datum aussuachn", today: "Heit", nextMonth: "Nächster Monat", previousMonth: "Voriger Monat", chooseMonth: "Monat aussuachn", chooseYear: "Joahr aussuachn", navigation: "Kalendernavigation", selected: "ausgsuacht" }, t = { checking: "Wird grad prüft …", checkAgain: "No amoi prüfen", gate: { loading: "Lizenz und Gerätestatus werdn grad prüft …", failed: "De Lizenzprüfung hat ned funktioniert.", activationRequired: "De bisherige Aktivierung is nimmer gültig. Aktivier de Installation bitte no amoi. Dei Daten bleiben erhalten.", readOnly: "Vorhandene Daten anschaun und exportieren" }, activation: { title: "App aktivieren", renew: "Aktivierung erneuern", description: "Gib deinen Aktivierungscode ein, damit de Installation mit deiner Lizenz verbunden wird.", replacementDescription: "Gib an neichen Aktivierungscode für de bisherige oder a andere gültige Lizenz ein. Dei Daten bleiben erhalten. De bisherige Aktivierung wird erst nach erfolgreicher Aktivierung ersetzt.", replacementNotice: "De bestehende Aktivierung wird erst nach erfolgreicher Prüfung ersetzt.", code: "Aktivierungscode", deviceName: "Gerätename", devicePlaceholder: "Mein Gerät", defaultDeviceName: "Mein Gerät", pending: "Aktivierung lauft …", submit: "Lizenz aktivieren" }, banner: { readOnlyTitle: "Schreibgschützter Modus", refreshFailed: "Lizenzaktualisierung geht grad ned", retryStorage: "Speichern no amoi probiern", readOnlyDescription: "Du kannst vorhandene Daten weiter anschaun und exportieren. Neich anlegen und Ändern san gsperrt.", persistencePending: "Da gsperrte Lizenzstatus hat si no ned vollständig speichern lassn. Des Gerät bleibt gsperrt. Probier’s Speichern bitte no amoi." }, errors: { activationRequired: "De bisherige Aktivierung is am Lizenzserver nimmer gültig. Gib bitte an neichen Aktivierungscode ein.", network: "Da Lizenzserver is grad ned erreichbar. De lokale Gültigkeit bleibt unverändert.", deviceRevoked: "De Aktivierung von dem Gerät is widerrufen worden.", licenseRevoked: "De Lizenz is widerrufen worden.", storage: "Da lokale Lizenzstatus hat si ned sicher lesen oder speichern lassn.", certificate: "Da Lizenznachweis is ungültig.", alreadyActivated: "De Installation is scho aktiviert.", api: "Da Lizenzserver hat d’Aktivierung oder Aktualisierung abglehnt. Prüf den Code und den Status von da Lizenz.", protocol: "De Antwort vom Lizenzserver hat si ned verarbeiten lassn.", unactivated: "De Installation is no ned aktiviert.", stateChanged: "Da Lizenzstatus hat si inzwischen gändert. Prüf ihn bitte no amoi.", synchronization: "De Lizenzsynchronisierung is grad ned verfügbar. Probier’s bitte no amoi.", readOnly: "Für de Aktion brauchst a gültige Aktivierung. Vorhandene Daten kannst weiter anschaun und exportieren.", featureDenied: "De Funktion is in deiner Lizenz ned freigschaltet.", unknown: "De Lizenzprüfung hat ned funktioniert. Probier’s bitte no amoi." } }, a = { title: "Lizenz", checking: "Lizenz wird grad prüft …", unknown: "Ned verfügbar", plan: "Tarif", licenseTerm: "Laufzeit von da kauften Lizenz", termUnknown: "Vom Server ned mitgschickt", certificateExpires: "Aktueller Nachweis gültig bis", nextSync: "Nächste Synchronisierung", syncDue: "Fällig seit {{date}}", noSyncScheduled: "Grad ka automatischer Termin", features: "Funktionen laut Lizenznachweis", noFeatures: "Im aktuellen Nachweis san kane Funktionen verfügbar.", validityHint: "De Gültigkeit vom Nachweis begrenzt d’Offline-Nutzung. Sein Ablaufdatum heißt ned automatisch, dass dei kaufte Lizenz endet. De tatsächliche Lizenzlaufzeit wird grad ned extra mitgschickt.", synchronize: "Lizenz synchronisieren", syncing: "Wird synchronisiert …", synchronized: "Lizenzstatus aktualisiert.", persistencePending: "Da gsperrte Lizenzstatus hat si no ned vollständig speichern lassn. Bitte synchronisier no amoi.", deviceDetails: "Erweiterte Gerätedetails", deviceId: "Aktuelle Geräte-ID", noDevice: "No ka Geräteaktivierung vorhanden.", deviceReleaseHint: "A Gerätefreigabe gibt’s in da App no ned. Wennst lokale Lizenzdaten löschst, wird am Server ka Geräteplatz frei.", status: { active: { label: "Aktiv", description: "Dei signierter Lizenznachweis is gültig. Du kannst d’App ganz normal verwenden." }, offline_grace: { label: "Offline gültig", description: "Da vorhandene Nachweis erlaubt weiter d’lokale Nutzung. A Synchronisierung is fällig; verlängert wird da Nachweis erst nach erfolgreicher Serverprüfung." }, expired: { label: "Nachweis abglaufen", description: "Dei lokaler Lizenznachweis is abglaufen. Synchronisier, damitst an neichen kriagst. Ob dei kaufte Lizenz aa abglaufen is, lässt si daraus allein ned sagen. Vorhandene Daten kannst weiter anschaun und exportieren." }, revoked: { label: "Geräteaktivierung widerrufen", description: "De Aktivierung von dem Gerät is widerrufen worden. Änderungen san gsperrt; vorhandene Daten kannst weiter anschaun und exportieren." }, license_revoked: { label: "Lizenz widerrufen", description: "Da Server hat den Widerruf von dera Lizenz bestätigt. Änderungen san gsperrt; vorhandene Daten kannst weiter anschaun und exportieren." }, unactivated: { label: "Ned aktiviert", description: "De Installation is no kana Lizenz zugeordnet. Zum Verwenden brauchst an Aktivierungscode." }, activation_required: { label: "Aktivierung nötig", description: "De bisherige Zuordnung am Server fehlt oder passt nimmer zu dera Installation. Erneuer d’Aktivierung. Dei vorhandenen Daten bleiben erhalten." }, invalid: { label: "Ned überprüfbar", description: "Da lokale Nachweis lässt si grad ned zuverlässig prüfen. Änderungen bleiben gsperrt. Synchronisier, damit da Lizenzstatus no amoi prüft wird." } }, plans: { trial: "Testversion", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Alle Funktionen", core: "Grundfunktionen" } }, s = { progress: "Einrichtungsfortschritt", step: "Schritt {{current}} von {{total}}", back: "Zurück", next: "Weiter", finish: "Einrichtung abschließen", saving: "Wird gespeichert …", saveError: "Die Einrichtung konnte nicht gespeichert werden. Bitte versuch es noch einmal." }, o = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen.", pending: "Ungespeicherte Änderungen" }, d = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, c = { title: "Audioinstrument", position: "Position", play: "Abspielen", pause: "Pause", back: "{{seconds}} s zurück", forward: "{{seconds}} s vor", speed: "Tempo", loop: "Wiederholen", error: "Die Datei kann hier nicht abgespielt werden.", loading: "Wird gladn …", duration: "Dauer", remaining: "Rest" }, l = { title: "Sichtinstrument", image: "Bild", pdf: "PDF", position: "{{current}} von {{count}}", previous: "Vorherige Datei", next: "Nächste Datei", zoom: "Zoom", zoomIn: "Vergrößern", zoomOut: "Verkleinern", fit: "Einpassen", error: "Die Datei kann hier nicht angezeigt werden.", loading: "Wird gladn …" }, u = {
1
+ const e = { cancel: "Obbrechn", close: "Zumachn", retry: "No amoi probiern" }, n = { back: "Zruck zur Startseitn", errorDescription: "Start de Oberfläche neu und probier’s no amoi.", errorTitle: "Do is wos schiefganga.", loadingApp: "App vorbereitn …", navigation: "Hauptnavigation", restart: "Neu ladn", darkMode: "Dunkelmodus", switchTheme: "Aussehn wechseln", loadingSettings: "Einstöllungen ladn …", scrollToTop: "Nach obn" }, i = { title: "Farbinstrument", choose: "Farb aussuachn", hue: "Farbton", saturation: "Sättigung", lightness: "Helligkeit", opacity: "Deckkraft", hex: "HEX-Farbe", copy: "Kopiern", copied: "Farb kopiert", copyFailed: "Farb hat ned kopiert werdn können", presets: "Schnellauswahl", select: "{{color}} aussuachn" }, r = { selectDate: "Datum aussuachn", today: "Heit", nextMonth: "Nächster Monat", previousMonth: "Voriger Monat", chooseMonth: "Monat aussuachn", chooseYear: "Joahr aussuachn", navigation: "Kalendernavigation", selected: "ausgsuacht" }, t = { checking: "Wird grad prüft …", checkAgain: "No amoi prüfen", gate: { loading: "Lizenz und Gerätestatus werdn grad prüft …", failed: "De Lizenzprüfung hat ned funktioniert.", activationRequired: "De bisherige Aktivierung is nimmer gültig. Aktivier de Installation bitte no amoi. Dei Daten bleiben erhalten.", readOnly: "Vorhandene Daten anschaun und exportieren" }, activation: { title: "App aktivieren", renew: "Aktivierung erneuern", description: "Gib deinen Aktivierungscode ein, damit de Installation mit deiner Lizenz verbunden wird.", replacementDescription: "Gib an neichen Aktivierungscode für de bisherige oder a andere gültige Lizenz ein. Dei Daten bleiben erhalten. De bisherige Aktivierung wird erst nach erfolgreicher Aktivierung ersetzt.", replacementNotice: "De bestehende Aktivierung wird erst nach erfolgreicher Prüfung ersetzt.", code: "Aktivierungscode", deviceName: "Gerätename", devicePlaceholder: "Mein Gerät", defaultDeviceName: "Mein Gerät", pending: "Aktivierung lauft …", submit: "Lizenz aktivieren" }, banner: { readOnlyTitle: "Schreibgschützter Modus", refreshFailed: "Lizenzaktualisierung geht grad ned", retryStorage: "Speichern no amoi probiern", readOnlyDescription: "Du kannst vorhandene Daten weiter anschaun und exportieren. Neich anlegen und Ändern san gsperrt.", persistencePending: "Da gsperrte Lizenzstatus hat si no ned vollständig speichern lassn. Des Gerät bleibt gsperrt. Probier’s Speichern bitte no amoi." }, errors: { activationRequired: "De bisherige Aktivierung is am Lizenzserver nimmer gültig. Gib bitte an neichen Aktivierungscode ein.", network: "Da Lizenzserver is grad ned erreichbar. De lokale Gültigkeit bleibt unverändert.", deviceRevoked: "De Aktivierung von dem Gerät is widerrufen worden.", licenseRevoked: "De Lizenz is widerrufen worden.", storage: "Da lokale Lizenzstatus hat si ned sicher lesen oder speichern lassn.", certificate: "Da Lizenznachweis is ungültig.", alreadyActivated: "De Installation is scho aktiviert.", api: "Da Lizenzserver hat d’Aktivierung oder Aktualisierung abglehnt. Prüf den Code und den Status von da Lizenz.", protocol: "De Antwort vom Lizenzserver hat si ned verarbeiten lassn.", unactivated: "De Installation is no ned aktiviert.", stateChanged: "Da Lizenzstatus hat si inzwischen gändert. Prüf ihn bitte no amoi.", synchronization: "De Lizenzsynchronisierung is grad ned verfügbar. Probier’s bitte no amoi.", readOnly: "Für de Aktion brauchst a gültige Aktivierung. Vorhandene Daten kannst weiter anschaun und exportieren.", featureDenied: "De Funktion is in deiner Lizenz ned freigschaltet.", unknown: "De Lizenzprüfung hat ned funktioniert. Probier’s bitte no amoi." } }, a = { title: "Lizenz", checking: "Lizenz wird grad prüft …", unknown: "Ned verfügbar", plan: "Tarif", licenseTerm: "Laufzeit von da kauften Lizenz", termUnknown: "Vom Server ned mitgschickt", certificateExpires: "Aktueller Nachweis gültig bis", nextSync: "Nächste Synchronisierung", syncDue: "Fällig seit {{date}}", noSyncScheduled: "Grad ka automatischer Termin", features: "Funktionen laut Lizenznachweis", noFeatures: "Im aktuellen Nachweis san kane Funktionen verfügbar.", validityHint: "De Gültigkeit vom Nachweis begrenzt d’Offline-Nutzung. Sein Ablaufdatum heißt ned automatisch, dass dei kaufte Lizenz endet. De tatsächliche Lizenzlaufzeit wird grad ned extra mitgschickt.", synchronize: "Lizenz synchronisieren", syncing: "Wird synchronisiert …", synchronized: "Lizenzstatus aktualisiert.", persistencePending: "Da gsperrte Lizenzstatus hat si no ned vollständig speichern lassn. Bitte synchronisier no amoi.", deviceDetails: "Erweiterte Gerätedetails", deviceId: "Aktuelle Geräte-ID", noDevice: "No ka Geräteaktivierung vorhanden.", deviceReleaseHint: "A Gerätefreigabe gibt’s in da App no ned. Wennst lokale Lizenzdaten löschst, wird am Server ka Geräteplatz frei.", status: { active: { label: "Aktiv", description: "Dei signierter Lizenznachweis is gültig. Du kannst d’App ganz normal verwenden." }, offline_grace: { label: "Offline gültig", description: "Da vorhandene Nachweis erlaubt weiter d’lokale Nutzung. A Synchronisierung is fällig; verlängert wird da Nachweis erst nach erfolgreicher Serverprüfung." }, expired: { label: "Nachweis abglaufen", description: "Dei lokaler Lizenznachweis is abglaufen. Synchronisier, damitst an neichen kriagst. Ob dei kaufte Lizenz aa abglaufen is, lässt si daraus allein ned sagen. Vorhandene Daten kannst weiter anschaun und exportieren." }, revoked: { label: "Geräteaktivierung widerrufen", description: "De Aktivierung von dem Gerät is widerrufen worden. Änderungen san gsperrt; vorhandene Daten kannst weiter anschaun und exportieren." }, license_revoked: { label: "Lizenz widerrufen", description: "Da Server hat den Widerruf von dera Lizenz bestätigt. Änderungen san gsperrt; vorhandene Daten kannst weiter anschaun und exportieren." }, unactivated: { label: "Ned aktiviert", description: "De Installation is no kana Lizenz zugeordnet. Zum Verwenden brauchst an Aktivierungscode." }, activation_required: { label: "Aktivierung nötig", description: "De bisherige Zuordnung am Server fehlt oder passt nimmer zu dera Installation. Erneuer d’Aktivierung. Dei vorhandenen Daten bleiben erhalten." }, invalid: { label: "Ned überprüfbar", description: "Da lokale Nachweis lässt si grad ned zuverlässig prüfen. Änderungen bleiben gsperrt. Synchronisier, damit da Lizenzstatus no amoi prüft wird." } }, plans: { trial: "Testversion", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Alle Funktionen", core: "Grundfunktionen" } }, s = { progress: "Einrichtungsfortschritt", step: "Schritt {{current}} von {{total}}", back: "Zurück", next: "Weiter", finish: "Einrichtung abschließen", saving: "Wird gespeichert …", saveError: "Die Einrichtung konnte nicht gespeichert werden. Bitte versuch es noch einmal." }, o = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen.", pending: "Ungespeicherte Änderungen" }, d = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, c = { title: "Audioinstrument", position: "Position", play: "Abspielen", pause: "Pause", back: "{{seconds}} s zurück", forward: "{{seconds}} s vor", speed: "Tempo", loop: "Wiederholen", error: "Die Datei kann hier nicht abgespielt werden.", loading: "Wird gladn …", duration: "Dauer", remaining: "Rest" }, l = { title: "Sichtinstrument", image: "Bild", pdf: "PDF", position: "{{current}} von {{count}}", previous: "Vorherige Datei", next: "Nächste Datei", zoom: "Zoom", zoomIn: "Vergrößern", zoomOut: "Verkleinern", fit: "Einpassen", error: "Die Datei kann hier nicht angezeigt werden.", loading: "Wird gladn …" }, u = { via: "über {{name}}" }, g = {
2
2
  actions: e,
3
3
  app: n,
4
4
  colorPicker: i,
@@ -9,7 +9,8 @@ const e = { cancel: "Obbrechn", close: "Zumachn", retry: "No amoi probiern" }, n
9
9
  autosave: o,
10
10
  tags: d,
11
11
  audioPlayer: c,
12
- fileViewer: l
12
+ fileViewer: l,
13
+ combobox: u
13
14
  };
14
15
  export {
15
16
  e as actions,
@@ -17,8 +18,9 @@ export {
17
18
  c as audioPlayer,
18
19
  o as autosave,
19
20
  i as colorPicker,
21
+ u as combobox,
20
22
  r as datePicker,
21
- u as default,
23
+ g as default,
22
24
  l as fileViewer,
23
25
  a as licenseProfile,
24
26
  t as licensing,
@@ -1 +1 @@
1
- {"version":3,"file":"at.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"at.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = { cancel: "Abbrechen", close: "Schließen", retry: "Erneut versuchen" }, i = { back: "Zurück zur Startseite", errorDescription: "Starte die Oberfläche neu und versuche es erneut.", errorTitle: "Etwas ist schiefgelaufen.", loadingApp: "App vorbereiten …", navigation: "Hauptnavigation", restart: "Neu laden", darkMode: "Dunkelmodus", switchTheme: "Darstellung wechseln", loadingSettings: "Einstellungen laden …", scrollToTop: "Nach oben" }, n = { title: "Farbinstrument", choose: "Farbe auswählen", hue: "Farbton", saturation: "Sättigung", lightness: "Helligkeit", opacity: "Deckkraft", hex: "HEX-Farbe", copy: "Kopieren", copied: "Farbe kopiert", copyFailed: "Farbe konnte nicht kopiert werden", presets: "Schnellauswahl", select: "{{color}} auswählen" }, r = { selectDate: "Datum auswählen", today: "Heute", nextMonth: "Nächster Monat", previousMonth: "Vorheriger Monat", chooseMonth: "Monat auswählen", chooseYear: "Jahr auswählen", navigation: "Kalendernavigation", selected: "ausgewählt" }, t = { checking: "Wird geprüft …", checkAgain: "Erneut prüfen", gate: { loading: "Lizenz und Gerätestatus werden geprüft …", failed: "Die Lizenzprüfung ist fehlgeschlagen.", activationRequired: "Die bisherige Aktivierung ist nicht mehr gültig. Bitte aktiviere diese Installation erneut. Deine Daten bleiben erhalten.", readOnly: "Vorhandene Daten ansehen und exportieren" }, activation: { title: "App aktivieren", renew: "Aktivierung erneuern", description: "Gib deinen Aktivierungscode ein, um diese Installation mit deiner Lizenz zu verbinden.", replacementDescription: "Gib einen neuen Aktivierungscode für die bisherige oder eine andere gültige Lizenz ein. Deine Daten bleiben erhalten. Erst nach erfolgreicher Aktivierung wird die bisherige Aktivierung ersetzt.", replacementNotice: "Die bestehende Aktivierung wird erst nach erfolgreicher Prüfung ersetzt.", code: "Aktivierungscode", deviceName: "Gerätename", devicePlaceholder: "Mein Gerät", defaultDeviceName: "Mein Gerät", pending: "Aktivierung läuft …", submit: "Lizenz aktivieren" }, banner: { readOnlyTitle: "Schreibgeschützter Modus", refreshFailed: "Lizenzaktualisierung nicht möglich", retryStorage: "Speicherung erneut versuchen", readOnlyDescription: "Du kannst vorhandene Daten weiterhin ansehen und exportieren. Das Erstellen und Ändern ist gesperrt.", persistencePending: "Der gesperrte Lizenzstatus konnte noch nicht vollständig gespeichert werden. Dieses Gerät bleibt gesperrt. Bitte versuche die Speicherung erneut." }, errors: { activationRequired: "Die bisherige Aktivierung ist auf dem Lizenzserver nicht mehr gültig. Bitte gib einen neuen Aktivierungscode ein.", network: "Der Lizenzserver ist derzeit nicht erreichbar. Die lokale Gültigkeit bleibt unverändert.", deviceRevoked: "Die Aktivierung dieses Geräts wurde widerrufen.", licenseRevoked: "Diese Lizenz wurde widerrufen.", storage: "Der lokale Lizenzzustand konnte nicht sicher gelesen oder gespeichert werden.", certificate: "Der Lizenznachweis ist ungültig.", alreadyActivated: "Diese Installation ist bereits aktiviert.", api: "Der Lizenzserver hat die Aktivierung oder Aktualisierung abgelehnt. Prüfe den Code und den Status der Lizenz.", protocol: "Die Antwort des Lizenzservers konnte nicht verarbeitet werden.", unactivated: "Diese Installation ist noch nicht aktiviert.", stateChanged: "Der Lizenzzustand wurde inzwischen geändert. Bitte prüfe ihn erneut.", synchronization: "Die Lizenzsynchronisierung ist derzeit nicht verfügbar. Bitte versuche es erneut.", readOnly: "Für diese Aktion ist eine gültige Aktivierung erforderlich. Vorhandene Daten bleiben lesbar und exportierbar.", featureDenied: "Diese Funktion ist in deiner Lizenz nicht freigeschaltet.", unknown: "Die Lizenzprüfung ist fehlgeschlagen. Bitte versuche es erneut." } }, s = { title: "Lizenz", checking: "Lizenz wird geprüft …", unknown: "Nicht verfügbar", plan: "Tarif", licenseTerm: "Laufzeit der gekauften Lizenz", termUnknown: "Vom Server nicht übermittelt", certificateExpires: "Aktueller Nachweis gültig bis", nextSync: "Nächste Synchronisierung", syncDue: "Fällig seit {{date}}", noSyncScheduled: "Derzeit kein automatischer Termin", features: "Funktionen laut Lizenznachweis", noFeatures: "Keine Funktionen im aktuellen Nachweis verfügbar.", validityHint: "Die Gültigkeit des Nachweises begrenzt die Offline-Nutzung. Sein Ablaufdatum ist nicht automatisch das Ende deiner gekauften Lizenz. Die tatsächliche Lizenzlaufzeit wird derzeit nicht separat übermittelt.", synchronize: "Lizenz synchronisieren", syncing: "Wird synchronisiert …", synchronized: "Lizenzstatus aktualisiert.", persistencePending: "Der gesperrte Lizenzstatus konnte noch nicht vollständig gespeichert werden. Bitte synchronisiere erneut.", deviceDetails: "Erweiterte Gerätedetails", deviceId: "Aktuelle Geräte-ID", noDevice: "Noch keine Geräteaktivierung vorhanden.", deviceReleaseHint: "Eine Gerätefreigabe ist in dieser App noch nicht verfügbar. Das Löschen lokaler Lizenzdaten gibt keinen Geräteplatz auf dem Server frei.", status: { active: { label: "Aktiv", description: "Dein signierter Lizenznachweis ist gültig. Die App kann regulär genutzt werden." }, offline_grace: { label: "Offline gültig", description: "Der vorhandene Nachweis erlaubt weiterhin die lokale Nutzung. Eine Synchronisierung ist fällig; sie verlängert den Nachweis nur nach erfolgreicher Serverprüfung." }, expired: { label: "Nachweis abgelaufen", description: "Der lokale Lizenznachweis ist abgelaufen. Synchronisiere, um einen neuen Nachweis zu erhalten. Ob deine gekaufte Lizenz ebenfalls abgelaufen ist, lässt sich daraus allein nicht ableiten. Vorhandene Daten bleiben lesbar und exportierbar." }, revoked: { label: "Geräteaktivierung widerrufen", description: "Die Aktivierung dieses Geräts wurde widerrufen. Änderungen sind gesperrt; vorhandene Daten bleiben lesbar und exportierbar." }, license_revoked: { label: "Lizenz widerrufen", description: "Der Server hat den Widerruf dieser Lizenz bestätigt. Änderungen sind gesperrt; vorhandene Daten bleiben lesbar und exportierbar." }, unactivated: { label: "Nicht aktiviert", description: "Diese Installation ist noch keiner Lizenz zugeordnet. Für die Nutzung ist ein Aktivierungscode erforderlich." }, activation_required: { label: "Aktivierung erforderlich", description: "Die bisherige Zuordnung auf dem Server fehlt oder passt nicht mehr zu dieser Installation. Erneuere die Aktivierung. Vorhandene Daten bleiben erhalten." }, invalid: { label: "Nicht überprüfbar", description: "Der lokale Nachweis kann derzeit nicht zuverlässig geprüft werden. Änderungen bleiben gesperrt. Synchronisiere, um den Lizenzstatus erneut zu prüfen." } }, plans: { trial: "Testversion", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Alle Funktionen", core: "Grundfunktionen" } }, a = { progress: "Einrichtungsfortschritt", step: "Schritt {{current}} von {{total}}", back: "Zurück", next: "Weiter", finish: "Einrichtung abschließen", saving: "Wird gespeichert …", saveError: "Die Einrichtung konnte nicht gespeichert werden. Bitte versuche es erneut." }, o = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen.", pending: "Ungespeicherte Änderungen" }, l = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, c = { title: "Audioinstrument", position: "Position", play: "Abspielen", pause: "Pause", back: "{{seconds}} s zurück", forward: "{{seconds}} s vor", speed: "Tempo", loop: "Wiederholen", error: "Die Datei kann hier nicht abgespielt werden.", loading: "Wird geladen …", duration: "Dauer", remaining: "Rest" }, d = { title: "Sichtinstrument", image: "Bild", pdf: "PDF", position: "{{current}} von {{count}}", previous: "Vorherige Datei", next: "Nächste Datei", zoom: "Zoom", zoomIn: "Vergrößern", zoomOut: "Verkleinern", fit: "Einpassen", error: "Die Datei kann hier nicht angezeigt werden.", loading: "Wird geladen …" }, u = {
1
+ const e = { cancel: "Abbrechen", close: "Schließen", retry: "Erneut versuchen" }, i = { back: "Zurück zur Startseite", errorDescription: "Starte die Oberfläche neu und versuche es erneut.", errorTitle: "Etwas ist schiefgelaufen.", loadingApp: "App vorbereiten …", navigation: "Hauptnavigation", restart: "Neu laden", darkMode: "Dunkelmodus", switchTheme: "Darstellung wechseln", loadingSettings: "Einstellungen laden …", scrollToTop: "Nach oben" }, n = { title: "Farbinstrument", choose: "Farbe auswählen", hue: "Farbton", saturation: "Sättigung", lightness: "Helligkeit", opacity: "Deckkraft", hex: "HEX-Farbe", copy: "Kopieren", copied: "Farbe kopiert", copyFailed: "Farbe konnte nicht kopiert werden", presets: "Schnellauswahl", select: "{{color}} auswählen" }, r = { selectDate: "Datum auswählen", today: "Heute", nextMonth: "Nächster Monat", previousMonth: "Vorheriger Monat", chooseMonth: "Monat auswählen", chooseYear: "Jahr auswählen", navigation: "Kalendernavigation", selected: "ausgewählt" }, t = { checking: "Wird geprüft …", checkAgain: "Erneut prüfen", gate: { loading: "Lizenz und Gerätestatus werden geprüft …", failed: "Die Lizenzprüfung ist fehlgeschlagen.", activationRequired: "Die bisherige Aktivierung ist nicht mehr gültig. Bitte aktiviere diese Installation erneut. Deine Daten bleiben erhalten.", readOnly: "Vorhandene Daten ansehen und exportieren" }, activation: { title: "App aktivieren", renew: "Aktivierung erneuern", description: "Gib deinen Aktivierungscode ein, um diese Installation mit deiner Lizenz zu verbinden.", replacementDescription: "Gib einen neuen Aktivierungscode für die bisherige oder eine andere gültige Lizenz ein. Deine Daten bleiben erhalten. Erst nach erfolgreicher Aktivierung wird die bisherige Aktivierung ersetzt.", replacementNotice: "Die bestehende Aktivierung wird erst nach erfolgreicher Prüfung ersetzt.", code: "Aktivierungscode", deviceName: "Gerätename", devicePlaceholder: "Mein Gerät", defaultDeviceName: "Mein Gerät", pending: "Aktivierung läuft …", submit: "Lizenz aktivieren" }, banner: { readOnlyTitle: "Schreibgeschützter Modus", refreshFailed: "Lizenzaktualisierung nicht möglich", retryStorage: "Speicherung erneut versuchen", readOnlyDescription: "Du kannst vorhandene Daten weiterhin ansehen und exportieren. Das Erstellen und Ändern ist gesperrt.", persistencePending: "Der gesperrte Lizenzstatus konnte noch nicht vollständig gespeichert werden. Dieses Gerät bleibt gesperrt. Bitte versuche die Speicherung erneut." }, errors: { activationRequired: "Die bisherige Aktivierung ist auf dem Lizenzserver nicht mehr gültig. Bitte gib einen neuen Aktivierungscode ein.", network: "Der Lizenzserver ist derzeit nicht erreichbar. Die lokale Gültigkeit bleibt unverändert.", deviceRevoked: "Die Aktivierung dieses Geräts wurde widerrufen.", licenseRevoked: "Diese Lizenz wurde widerrufen.", storage: "Der lokale Lizenzzustand konnte nicht sicher gelesen oder gespeichert werden.", certificate: "Der Lizenznachweis ist ungültig.", alreadyActivated: "Diese Installation ist bereits aktiviert.", api: "Der Lizenzserver hat die Aktivierung oder Aktualisierung abgelehnt. Prüfe den Code und den Status der Lizenz.", protocol: "Die Antwort des Lizenzservers konnte nicht verarbeitet werden.", unactivated: "Diese Installation ist noch nicht aktiviert.", stateChanged: "Der Lizenzzustand wurde inzwischen geändert. Bitte prüfe ihn erneut.", synchronization: "Die Lizenzsynchronisierung ist derzeit nicht verfügbar. Bitte versuche es erneut.", readOnly: "Für diese Aktion ist eine gültige Aktivierung erforderlich. Vorhandene Daten bleiben lesbar und exportierbar.", featureDenied: "Diese Funktion ist in deiner Lizenz nicht freigeschaltet.", unknown: "Die Lizenzprüfung ist fehlgeschlagen. Bitte versuche es erneut." } }, s = { title: "Lizenz", checking: "Lizenz wird geprüft …", unknown: "Nicht verfügbar", plan: "Tarif", licenseTerm: "Laufzeit der gekauften Lizenz", termUnknown: "Vom Server nicht übermittelt", certificateExpires: "Aktueller Nachweis gültig bis", nextSync: "Nächste Synchronisierung", syncDue: "Fällig seit {{date}}", noSyncScheduled: "Derzeit kein automatischer Termin", features: "Funktionen laut Lizenznachweis", noFeatures: "Keine Funktionen im aktuellen Nachweis verfügbar.", validityHint: "Die Gültigkeit des Nachweises begrenzt die Offline-Nutzung. Sein Ablaufdatum ist nicht automatisch das Ende deiner gekauften Lizenz. Die tatsächliche Lizenzlaufzeit wird derzeit nicht separat übermittelt.", synchronize: "Lizenz synchronisieren", syncing: "Wird synchronisiert …", synchronized: "Lizenzstatus aktualisiert.", persistencePending: "Der gesperrte Lizenzstatus konnte noch nicht vollständig gespeichert werden. Bitte synchronisiere erneut.", deviceDetails: "Erweiterte Gerätedetails", deviceId: "Aktuelle Geräte-ID", noDevice: "Noch keine Geräteaktivierung vorhanden.", deviceReleaseHint: "Eine Gerätefreigabe ist in dieser App noch nicht verfügbar. Das Löschen lokaler Lizenzdaten gibt keinen Geräteplatz auf dem Server frei.", status: { active: { label: "Aktiv", description: "Dein signierter Lizenznachweis ist gültig. Die App kann regulär genutzt werden." }, offline_grace: { label: "Offline gültig", description: "Der vorhandene Nachweis erlaubt weiterhin die lokale Nutzung. Eine Synchronisierung ist fällig; sie verlängert den Nachweis nur nach erfolgreicher Serverprüfung." }, expired: { label: "Nachweis abgelaufen", description: "Der lokale Lizenznachweis ist abgelaufen. Synchronisiere, um einen neuen Nachweis zu erhalten. Ob deine gekaufte Lizenz ebenfalls abgelaufen ist, lässt sich daraus allein nicht ableiten. Vorhandene Daten bleiben lesbar und exportierbar." }, revoked: { label: "Geräteaktivierung widerrufen", description: "Die Aktivierung dieses Geräts wurde widerrufen. Änderungen sind gesperrt; vorhandene Daten bleiben lesbar und exportierbar." }, license_revoked: { label: "Lizenz widerrufen", description: "Der Server hat den Widerruf dieser Lizenz bestätigt. Änderungen sind gesperrt; vorhandene Daten bleiben lesbar und exportierbar." }, unactivated: { label: "Nicht aktiviert", description: "Diese Installation ist noch keiner Lizenz zugeordnet. Für die Nutzung ist ein Aktivierungscode erforderlich." }, activation_required: { label: "Aktivierung erforderlich", description: "Die bisherige Zuordnung auf dem Server fehlt oder passt nicht mehr zu dieser Installation. Erneuere die Aktivierung. Vorhandene Daten bleiben erhalten." }, invalid: { label: "Nicht überprüfbar", description: "Der lokale Nachweis kann derzeit nicht zuverlässig geprüft werden. Änderungen bleiben gesperrt. Synchronisiere, um den Lizenzstatus erneut zu prüfen." } }, plans: { trial: "Testversion", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Alle Funktionen", core: "Grundfunktionen" } }, a = { progress: "Einrichtungsfortschritt", step: "Schritt {{current}} von {{total}}", back: "Zurück", next: "Weiter", finish: "Einrichtung abschließen", saving: "Wird gespeichert …", saveError: "Die Einrichtung konnte nicht gespeichert werden. Bitte versuche es erneut." }, o = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen.", pending: "Ungespeicherte Änderungen" }, l = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, c = { title: "Audioinstrument", position: "Position", play: "Abspielen", pause: "Pause", back: "{{seconds}} s zurück", forward: "{{seconds}} s vor", speed: "Tempo", loop: "Wiederholen", error: "Die Datei kann hier nicht abgespielt werden.", loading: "Wird geladen …", duration: "Dauer", remaining: "Rest" }, d = { title: "Sichtinstrument", image: "Bild", pdf: "PDF", position: "{{current}} von {{count}}", previous: "Vorherige Datei", next: "Nächste Datei", zoom: "Zoom", zoomIn: "Vergrößern", zoomOut: "Verkleinern", fit: "Einpassen", error: "Die Datei kann hier nicht angezeigt werden.", loading: "Wird geladen …" }, u = { via: "über {{name}}" }, h = {
2
2
  actions: e,
3
3
  app: i,
4
4
  colorPicker: n,
@@ -9,7 +9,8 @@ const e = { cancel: "Abbrechen", close: "Schließen", retry: "Erneut versuchen"
9
9
  autosave: o,
10
10
  tags: l,
11
11
  audioPlayer: c,
12
- fileViewer: d
12
+ fileViewer: d,
13
+ combobox: u
13
14
  };
14
15
  export {
15
16
  e as actions,
@@ -17,8 +18,9 @@ export {
17
18
  c as audioPlayer,
18
19
  o as autosave,
19
20
  n as colorPicker,
21
+ u as combobox,
20
22
  r as datePicker,
21
- u as default,
23
+ h as default,
22
24
  d as fileViewer,
23
25
  s as licenseProfile,
24
26
  t as licensing,
@@ -1 +1 @@
1
- {"version":3,"file":"de.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"de.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = { cancel: "Cancel", close: "Close", retry: "Try again" }, i = { back: "Back to home", errorDescription: "Reload the interface and try again.", errorTitle: "Something went wrong.", loadingApp: "Preparing app …", navigation: "Main navigation", restart: "Reload", darkMode: "Dark mode", switchTheme: "Change appearance", loadingSettings: "Loading settings …", scrollToTop: "Back to top" }, a = { title: "Color instrument", choose: "Choose color", hue: "Hue", saturation: "Saturation", lightness: "Lightness", opacity: "Opacity", hex: "Hex color", copy: "Copy", copied: "Color copied", copyFailed: "Could not copy color", presets: "Quick select", select: "Select {{color}}" }, t = { selectDate: "Select date", today: "Today", nextMonth: "Next month", previousMonth: "Previous month", chooseMonth: "Choose month", chooseYear: "Choose year", navigation: "Calendar navigation", selected: "selected" }, n = { checking: "Checking …", checkAgain: "Check again", gate: { loading: "Checking license and device status …", failed: "The license check failed.", activationRequired: "The previous activation is no longer valid. Please activate this installation again. Your data will be preserved.", readOnly: "View and export existing data" }, activation: { title: "Activate App", renew: "Renew activation", description: "Enter your activation code to link this installation to your license.", replacementDescription: "Enter a new activation code for the current license or another valid license. Your data will be preserved. The previous activation is replaced only after successful activation.", replacementNotice: "The existing activation is replaced only after successful verification.", code: "Activation code", deviceName: "Device name", devicePlaceholder: "My device", defaultDeviceName: "My device", pending: "Activating …", submit: "Activate license" }, banner: { readOnlyTitle: "Read-only mode", refreshFailed: "License update unavailable", retryStorage: "Retry saving", readOnlyDescription: "You can still view and export existing data. Creating and editing are blocked.", persistencePending: "The blocked license state could not yet be fully saved. This device remains blocked. Please try saving again." }, errors: { activationRequired: "The previous activation is no longer valid on the license server. Please enter a new activation code.", network: "The license server is currently unreachable. Local validity remains unchanged.", deviceRevoked: "The activation of this device has been revoked.", licenseRevoked: "This license has been revoked.", storage: "The local license state could not be read or saved safely.", certificate: "The license certificate is invalid.", alreadyActivated: "This installation is already activated.", api: "The license server rejected the activation or update. Check the code and the license status.", protocol: "The license server response could not be processed.", unactivated: "This installation is not activated yet.", stateChanged: "The license state has changed. Please check it again.", synchronization: "License synchronization is currently unavailable. Please try again.", readOnly: "This action requires a valid activation. Existing data remains readable and exportable.", featureDenied: "This feature is not enabled in your license.", unknown: "The license check failed. Please try again." } }, o = { title: "License", checking: "Checking license …", unknown: "Unavailable", plan: "Plan", licenseTerm: "Purchased license term", termUnknown: "Not provided by the server", certificateExpires: "Current certificate valid until", nextSync: "Next synchronization", syncDue: "Due since {{date}}", noSyncScheduled: "No automatic synchronization currently scheduled", features: "Features listed in the certificate", noFeatures: "No features available in the current certificate.", validityHint: "The certificate validity limits offline use. Its expiration does not automatically mean your purchased license has ended. The actual license term is not currently provided separately.", synchronize: "Synchronize license", syncing: "Synchronizing …", synchronized: "License status updated.", persistencePending: "The blocked license state could not yet be fully saved. Please synchronize again.", deviceDetails: "Advanced device details", deviceId: "Current device ID", noDevice: "No device activation yet.", deviceReleaseHint: "Releasing a device is not yet available in this app. Deleting local license data does not free a device slot on the server.", status: { active: { label: "Active", description: "Your signed license certificate is valid. The app can be used normally." }, offline_grace: { label: "Valid offline", description: "Your existing certificate still permits local use. Synchronization is due; the certificate is renewed only after successful server verification." }, expired: { label: "Certificate expired", description: "Your local certificate has expired. Synchronize to obtain a new one. This alone does not tell us whether your purchased license has also expired. Existing data remains readable and exportable." }, revoked: { label: "Device activation revoked", description: "This device activation has been revoked. Editing is blocked; existing data remains readable and exportable." }, license_revoked: { label: "License revoked", description: "The server has confirmed that this license was revoked. Editing is blocked; existing data remains readable and exportable." }, unactivated: { label: "Not activated", description: "This installation is not associated with a license yet. An activation code is required to use it." }, activation_required: { label: "Activation required", description: "The previous server association is missing or no longer matches this installation. Renew the activation. Existing data is preserved." }, invalid: { label: "Cannot be verified", description: "The local certificate cannot currently be verified reliably. Editing remains blocked. Synchronize to check the license status again." } }, plans: { trial: "Trial", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "All features", core: "Core features" } }, s = { progress: "Setup progress", step: "Step {{current}} of {{total}}", back: "Back", next: "Continue", finish: "Finish setup", saving: "Saving …", saveError: "Setup could not be saved. Please try again." }, r = { saving: "Saving …", saved: "Changes saved", error: "Saving failed.", pending: "Unsaved changes" }, c = { placeholder: "Type a tag and press Enter", remove: "Remove tag “{{tag}}”" }, l = { title: "Audio instrument", position: "Position", play: "Play", pause: "Pause", back: "Back {{seconds}} s", forward: "Forward {{seconds}} s", speed: "Speed", loop: "Repeat", error: "This file cannot be played here.", loading: "Loading …", duration: "Duration", remaining: "Remaining" }, d = { title: "Viewing instrument", image: "Image", pdf: "PDF", position: "{{current}} of {{count}}", previous: "Previous file", next: "Next file", zoom: "Zoom", zoomIn: "Zoom in", zoomOut: "Zoom out", fit: "Fit", error: "This file cannot be shown here.", loading: "Loading …" }, v = {
1
+ const e = { cancel: "Cancel", close: "Close", retry: "Try again" }, i = { back: "Back to home", errorDescription: "Reload the interface and try again.", errorTitle: "Something went wrong.", loadingApp: "Preparing app …", navigation: "Main navigation", restart: "Reload", darkMode: "Dark mode", switchTheme: "Change appearance", loadingSettings: "Loading settings …", scrollToTop: "Back to top" }, a = { title: "Color instrument", choose: "Choose color", hue: "Hue", saturation: "Saturation", lightness: "Lightness", opacity: "Opacity", hex: "Hex color", copy: "Copy", copied: "Color copied", copyFailed: "Could not copy color", presets: "Quick select", select: "Select {{color}}" }, t = { selectDate: "Select date", today: "Today", nextMonth: "Next month", previousMonth: "Previous month", chooseMonth: "Choose month", chooseYear: "Choose year", navigation: "Calendar navigation", selected: "selected" }, n = { checking: "Checking …", checkAgain: "Check again", gate: { loading: "Checking license and device status …", failed: "The license check failed.", activationRequired: "The previous activation is no longer valid. Please activate this installation again. Your data will be preserved.", readOnly: "View and export existing data" }, activation: { title: "Activate App", renew: "Renew activation", description: "Enter your activation code to link this installation to your license.", replacementDescription: "Enter a new activation code for the current license or another valid license. Your data will be preserved. The previous activation is replaced only after successful activation.", replacementNotice: "The existing activation is replaced only after successful verification.", code: "Activation code", deviceName: "Device name", devicePlaceholder: "My device", defaultDeviceName: "My device", pending: "Activating …", submit: "Activate license" }, banner: { readOnlyTitle: "Read-only mode", refreshFailed: "License update unavailable", retryStorage: "Retry saving", readOnlyDescription: "You can still view and export existing data. Creating and editing are blocked.", persistencePending: "The blocked license state could not yet be fully saved. This device remains blocked. Please try saving again." }, errors: { activationRequired: "The previous activation is no longer valid on the license server. Please enter a new activation code.", network: "The license server is currently unreachable. Local validity remains unchanged.", deviceRevoked: "The activation of this device has been revoked.", licenseRevoked: "This license has been revoked.", storage: "The local license state could not be read or saved safely.", certificate: "The license certificate is invalid.", alreadyActivated: "This installation is already activated.", api: "The license server rejected the activation or update. Check the code and the license status.", protocol: "The license server response could not be processed.", unactivated: "This installation is not activated yet.", stateChanged: "The license state has changed. Please check it again.", synchronization: "License synchronization is currently unavailable. Please try again.", readOnly: "This action requires a valid activation. Existing data remains readable and exportable.", featureDenied: "This feature is not enabled in your license.", unknown: "The license check failed. Please try again." } }, o = { title: "License", checking: "Checking license …", unknown: "Unavailable", plan: "Plan", licenseTerm: "Purchased license term", termUnknown: "Not provided by the server", certificateExpires: "Current certificate valid until", nextSync: "Next synchronization", syncDue: "Due since {{date}}", noSyncScheduled: "No automatic synchronization currently scheduled", features: "Features listed in the certificate", noFeatures: "No features available in the current certificate.", validityHint: "The certificate validity limits offline use. Its expiration does not automatically mean your purchased license has ended. The actual license term is not currently provided separately.", synchronize: "Synchronize license", syncing: "Synchronizing …", synchronized: "License status updated.", persistencePending: "The blocked license state could not yet be fully saved. Please synchronize again.", deviceDetails: "Advanced device details", deviceId: "Current device ID", noDevice: "No device activation yet.", deviceReleaseHint: "Releasing a device is not yet available in this app. Deleting local license data does not free a device slot on the server.", status: { active: { label: "Active", description: "Your signed license certificate is valid. The app can be used normally." }, offline_grace: { label: "Valid offline", description: "Your existing certificate still permits local use. Synchronization is due; the certificate is renewed only after successful server verification." }, expired: { label: "Certificate expired", description: "Your local certificate has expired. Synchronize to obtain a new one. This alone does not tell us whether your purchased license has also expired. Existing data remains readable and exportable." }, revoked: { label: "Device activation revoked", description: "This device activation has been revoked. Editing is blocked; existing data remains readable and exportable." }, license_revoked: { label: "License revoked", description: "The server has confirmed that this license was revoked. Editing is blocked; existing data remains readable and exportable." }, unactivated: { label: "Not activated", description: "This installation is not associated with a license yet. An activation code is required to use it." }, activation_required: { label: "Activation required", description: "The previous server association is missing or no longer matches this installation. Renew the activation. Existing data is preserved." }, invalid: { label: "Cannot be verified", description: "The local certificate cannot currently be verified reliably. Editing remains blocked. Synchronize to check the license status again." } }, plans: { trial: "Trial", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "All features", core: "Core features" } }, s = { progress: "Setup progress", step: "Step {{current}} of {{total}}", back: "Back", next: "Continue", finish: "Finish setup", saving: "Saving …", saveError: "Setup could not be saved. Please try again." }, r = { saving: "Saving …", saved: "Changes saved", error: "Saving failed.", pending: "Unsaved changes" }, c = { placeholder: "Type a tag and press Enter", remove: "Remove tag “{{tag}}”" }, l = { title: "Audio instrument", position: "Position", play: "Play", pause: "Pause", back: "Back {{seconds}} s", forward: "Forward {{seconds}} s", speed: "Speed", loop: "Repeat", error: "This file cannot be played here.", loading: "Loading …", duration: "Duration", remaining: "Remaining" }, d = { title: "Viewing instrument", image: "Image", pdf: "PDF", position: "{{current}} of {{count}}", previous: "Previous file", next: "Next file", zoom: "Zoom", zoomIn: "Zoom in", zoomOut: "Zoom out", fit: "Fit", error: "This file cannot be shown here.", loading: "Loading …" }, v = { via: "via {{name}}" }, h = {
2
2
  actions: e,
3
3
  app: i,
4
4
  colorPicker: a,
@@ -9,7 +9,8 @@ const e = { cancel: "Cancel", close: "Close", retry: "Try again" }, i = { back:
9
9
  autosave: r,
10
10
  tags: c,
11
11
  audioPlayer: l,
12
- fileViewer: d
12
+ fileViewer: d,
13
+ combobox: v
13
14
  };
14
15
  export {
15
16
  e as actions,
@@ -17,8 +18,9 @@ export {
17
18
  l as audioPlayer,
18
19
  r as autosave,
19
20
  a as colorPicker,
21
+ v as combobox,
20
22
  t as datePicker,
21
- v as default,
23
+ h as default,
22
24
  d as fileViewer,
23
25
  o as licenseProfile,
24
26
  n as licensing,
@@ -1 +1 @@
1
- {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = { cancel: "Annulla", close: "Chiudi", retry: "Riprova" }, i = { back: "Torna alla home", errorDescription: "Ricarica l’interfaccia e riprova.", errorTitle: "Qualcosa è andato storto.", loadingApp: "Preparazione dell’app …", navigation: "Navigazione principale", restart: "Ricarica", darkMode: "Modalità scura", switchTheme: "Cambia aspetto", loadingSettings: "Caricamento impostazioni …", scrollToTop: "Torna su" }, a = { title: "Strumento colore", choose: "Scegli colore", hue: "Tonalità", saturation: "Saturazione", lightness: "Luminosità", opacity: "Opacità", hex: "Colore HEX", copy: "Copia", copied: "Colore copiato", copyFailed: "Impossibile copiare il colore", presets: "Selezione rapida", select: "Seleziona {{color}}" }, o = { selectDate: "Seleziona data", today: "Oggi", nextMonth: "Mese successivo", previousMonth: "Mese precedente", chooseMonth: "Scegli mese", chooseYear: "Scegli anno", navigation: "Navigazione del calendario", selected: "selezionato" }, t = { checking: "Verifica in corso …", checkAgain: "Verifica nuovamente", gate: { loading: "Verifica della licenza e dello stato del dispositivo …", failed: "Verifica della licenza non riuscita.", activationRequired: "L’attivazione precedente non è più valida. Attiva nuovamente questa installazione. I dati verranno conservate.", readOnly: "Consulta ed esporta i dati esistenti" }, activation: { title: "Attiva App", renew: "Rinnova attivazione", description: "Inserisci il codice di attivazione per collegare questa installazione alla tua licenza.", replacementDescription: "Inserisci un nuovo codice di attivazione per la licenza attuale o per un’altra licenza valida. I dati verranno conservate. L’attivazione precedente viene sostituita solo dopo l’attivazione riuscita.", replacementNotice: "L’attivazione esistente viene sostituita solo dopo una verifica riuscita.", code: "Codice di attivazione", deviceName: "Nome del dispositivo", devicePlaceholder: "Il mio dispositivo", defaultDeviceName: "Il mio dispositivo", pending: "Attivazione in corso …", submit: "Attiva licenza" }, banner: { readOnlyTitle: "Modalità di sola lettura", refreshFailed: "Aggiornamento della licenza non disponibile", retryStorage: "Riprova il salvataggio", readOnlyDescription: "Puoi ancora consultare ed esportare i dati esistenti. La creazione e la modifica sono bloccate.", persistencePending: "Non è stato ancora possibile salvare completamente lo stato di blocco della licenza. Il dispositivo resta bloccato. Riprova il salvataggio." }, errors: { activationRequired: "L’attivazione precedente non è più valida sul server delle licenze. Inserisci un nuovo codice di attivazione.", network: "Il server delle licenze non è attualmente raggiungibile. La validità locale resta invariata.", deviceRevoked: "L’attivazione di questo dispositivo è stata revocata.", licenseRevoked: "Questa licenza è stata revocata.", storage: "Non è stato possibile leggere o salvare in modo sicuro lo stato locale della licenza.", certificate: "Il certificato della licenza non è valido.", alreadyActivated: "Questa installazione è già attivata.", api: "Il server ha rifiutato l’attivazione o l’aggiornamento. Verifica il codice e lo stato della licenza.", protocol: "Non è stato possibile elaborare la risposta del server delle licenze.", unactivated: "Questa installazione non è ancora attivata.", stateChanged: "Lo stato della licenza è cambiato. Verificalo nuovamente.", synchronization: "La sincronizzazione della licenza non è attualmente disponibile. Riprova.", readOnly: "Questa azione richiede un’attivazione valida. I dati esistenti restano consultabili ed esportabili.", featureDenied: "Questa funzionalità non è abilitata nella tua licenza.", unknown: "Verifica della licenza non riuscita. Riprova." } }, n = { title: "Licenza", checking: "Verifica della licenza …", unknown: "Non disponibile", plan: "Piano", licenseTerm: "Durata della licenza acquistata", termUnknown: "Non comunicata dal server", certificateExpires: "Certificato attuale valido fino al", nextSync: "Prossima sincronizzazione", syncDue: "Dovuta dal {{date}}", noSyncScheduled: "Nessuna sincronizzazione automatica attualmente prevista", features: "Funzionalità indicate nel certificato", noFeatures: "Nessuna funzionalità disponibile nel certificato attuale.", validityHint: "La validità del certificato limita l’uso offline. La sua scadenza non coincide necessariamente con la fine della licenza acquistata. La durata effettiva della licenza non viene attualmente comunicata separatamente.", synchronize: "Sincronizza licenza", syncing: "Sincronizzazione …", synchronized: "Stato della licenza aggiornato.", persistencePending: "Non è stato ancora possibile salvare completamente lo stato di blocco della licenza. Sincronizza nuovamente.", deviceDetails: "Dettagli avanzati del dispositivo", deviceId: "ID del dispositivo attuale", noDevice: "Nessuna attivazione del dispositivo presente.", deviceReleaseHint: "La disattivazione di un dispositivo non è ancora disponibile nell’app. Eliminare i dati locali della licenza non libera un posto dispositivo sul server.", status: { active: { label: "Attiva", description: "Il certificato firmato della licenza è valido. Puoi usare normalmente l’app." }, offline_grace: { label: "Valida offline", description: "Il certificato esistente consente ancora l’uso locale. È dovuta una sincronizzazione; il certificato viene rinnovato solo dopo una verifica riuscita del server." }, expired: { label: "Certificato scaduto", description: "Il certificato locale è scaduto. Sincronizza per ottenerne uno nuovo. Questo da solo non indica se anche la licenza acquistata sia scaduta. I dati esistenti restano consultabili ed esportabili." }, revoked: { label: "Attivazione del dispositivo revocata", description: "L’attivazione di questo dispositivo è stata revocata. Le modifiche sono bloccate; i dati esistenti restano consultabili ed esportabili." }, license_revoked: { label: "Licenza revocata", description: "Il server ha confermato la revoca della licenza. Le modifiche sono bloccate; i dati esistenti restano consultabili ed esportabili." }, unactivated: { label: "Non attivata", description: "Questa installazione non è ancora associata a una licenza. Per usarla serve un codice di attivazione." }, activation_required: { label: "Attivazione necessaria", description: "L’associazione precedente sul server manca o non corrisponde più a questa installazione. Rinnova l’attivazione. I dati esistenti vengono conservati." }, invalid: { label: "Non verificabile", description: "Al momento il certificato locale non può essere verificato in modo affidabile. Le modifiche restano bloccate. Sincronizza per verificare nuovamente lo stato della licenza." } }, plans: { trial: "Versione di prova", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Tutte le funzionalità", core: "Funzioni di base" } }, l = { progress: "Avanzamento della configurazione", step: "Passaggio {{current}} di {{total}}", back: "Indietro", next: "Avanti", finish: "Completa la configurazione", saving: "Salvataggio in corso …", saveError: "Impossibile salvare la configurazione. Riprova." }, s = { saving: "Salvataggio …", saved: "Modifiche salvate", error: "Salvataggio non riuscito.", pending: "Modifiche non salvate" }, c = { placeholder: "Scrivi una parola chiave e premi Invio", remove: "Rimuovi “{{tag}}”" }, r = { title: "Strumento audio", position: "Posizione", play: "Riproduci", pause: "Pausa", back: "Indietro di {{seconds}} s", forward: "Avanti di {{seconds}} s", speed: "Velocità", loop: "Ripeti", error: "Questo file non può essere riprodotto qui.", loading: "Caricamento …", duration: "Durata", remaining: "Restante" }, d = { title: "Strumento di visione", image: "Immagine", pdf: "PDF", position: "{{current}} di {{count}}", previous: "File precedente", next: "File successivo", zoom: "Zoom", zoomIn: "Ingrandisci", zoomOut: "Riduci", fit: "Adatta", error: "Il file non può essere mostrato qui.", loading: "Caricamento …" }, v = {
1
+ const e = { cancel: "Annulla", close: "Chiudi", retry: "Riprova" }, i = { back: "Torna alla home", errorDescription: "Ricarica l’interfaccia e riprova.", errorTitle: "Qualcosa è andato storto.", loadingApp: "Preparazione dell’app …", navigation: "Navigazione principale", restart: "Ricarica", darkMode: "Modalità scura", switchTheme: "Cambia aspetto", loadingSettings: "Caricamento impostazioni …", scrollToTop: "Torna su" }, a = { title: "Strumento colore", choose: "Scegli colore", hue: "Tonalità", saturation: "Saturazione", lightness: "Luminosità", opacity: "Opacità", hex: "Colore HEX", copy: "Copia", copied: "Colore copiato", copyFailed: "Impossibile copiare il colore", presets: "Selezione rapida", select: "Seleziona {{color}}" }, o = { selectDate: "Seleziona data", today: "Oggi", nextMonth: "Mese successivo", previousMonth: "Mese precedente", chooseMonth: "Scegli mese", chooseYear: "Scegli anno", navigation: "Navigazione del calendario", selected: "selezionato" }, t = { checking: "Verifica in corso …", checkAgain: "Verifica nuovamente", gate: { loading: "Verifica della licenza e dello stato del dispositivo …", failed: "Verifica della licenza non riuscita.", activationRequired: "L’attivazione precedente non è più valida. Attiva nuovamente questa installazione. I dati verranno conservate.", readOnly: "Consulta ed esporta i dati esistenti" }, activation: { title: "Attiva App", renew: "Rinnova attivazione", description: "Inserisci il codice di attivazione per collegare questa installazione alla tua licenza.", replacementDescription: "Inserisci un nuovo codice di attivazione per la licenza attuale o per un’altra licenza valida. I dati verranno conservate. L’attivazione precedente viene sostituita solo dopo l’attivazione riuscita.", replacementNotice: "L’attivazione esistente viene sostituita solo dopo una verifica riuscita.", code: "Codice di attivazione", deviceName: "Nome del dispositivo", devicePlaceholder: "Il mio dispositivo", defaultDeviceName: "Il mio dispositivo", pending: "Attivazione in corso …", submit: "Attiva licenza" }, banner: { readOnlyTitle: "Modalità di sola lettura", refreshFailed: "Aggiornamento della licenza non disponibile", retryStorage: "Riprova il salvataggio", readOnlyDescription: "Puoi ancora consultare ed esportare i dati esistenti. La creazione e la modifica sono bloccate.", persistencePending: "Non è stato ancora possibile salvare completamente lo stato di blocco della licenza. Il dispositivo resta bloccato. Riprova il salvataggio." }, errors: { activationRequired: "L’attivazione precedente non è più valida sul server delle licenze. Inserisci un nuovo codice di attivazione.", network: "Il server delle licenze non è attualmente raggiungibile. La validità locale resta invariata.", deviceRevoked: "L’attivazione di questo dispositivo è stata revocata.", licenseRevoked: "Questa licenza è stata revocata.", storage: "Non è stato possibile leggere o salvare in modo sicuro lo stato locale della licenza.", certificate: "Il certificato della licenza non è valido.", alreadyActivated: "Questa installazione è già attivata.", api: "Il server ha rifiutato l’attivazione o l’aggiornamento. Verifica il codice e lo stato della licenza.", protocol: "Non è stato possibile elaborare la risposta del server delle licenze.", unactivated: "Questa installazione non è ancora attivata.", stateChanged: "Lo stato della licenza è cambiato. Verificalo nuovamente.", synchronization: "La sincronizzazione della licenza non è attualmente disponibile. Riprova.", readOnly: "Questa azione richiede un’attivazione valida. I dati esistenti restano consultabili ed esportabili.", featureDenied: "Questa funzionalità non è abilitata nella tua licenza.", unknown: "Verifica della licenza non riuscita. Riprova." } }, n = { title: "Licenza", checking: "Verifica della licenza …", unknown: "Non disponibile", plan: "Piano", licenseTerm: "Durata della licenza acquistata", termUnknown: "Non comunicata dal server", certificateExpires: "Certificato attuale valido fino al", nextSync: "Prossima sincronizzazione", syncDue: "Dovuta dal {{date}}", noSyncScheduled: "Nessuna sincronizzazione automatica attualmente prevista", features: "Funzionalità indicate nel certificato", noFeatures: "Nessuna funzionalità disponibile nel certificato attuale.", validityHint: "La validità del certificato limita l’uso offline. La sua scadenza non coincide necessariamente con la fine della licenza acquistata. La durata effettiva della licenza non viene attualmente comunicata separatamente.", synchronize: "Sincronizza licenza", syncing: "Sincronizzazione …", synchronized: "Stato della licenza aggiornato.", persistencePending: "Non è stato ancora possibile salvare completamente lo stato di blocco della licenza. Sincronizza nuovamente.", deviceDetails: "Dettagli avanzati del dispositivo", deviceId: "ID del dispositivo attuale", noDevice: "Nessuna attivazione del dispositivo presente.", deviceReleaseHint: "La disattivazione di un dispositivo non è ancora disponibile nell’app. Eliminare i dati locali della licenza non libera un posto dispositivo sul server.", status: { active: { label: "Attiva", description: "Il certificato firmato della licenza è valido. Puoi usare normalmente l’app." }, offline_grace: { label: "Valida offline", description: "Il certificato esistente consente ancora l’uso locale. È dovuta una sincronizzazione; il certificato viene rinnovato solo dopo una verifica riuscita del server." }, expired: { label: "Certificato scaduto", description: "Il certificato locale è scaduto. Sincronizza per ottenerne uno nuovo. Questo da solo non indica se anche la licenza acquistata sia scaduta. I dati esistenti restano consultabili ed esportabili." }, revoked: { label: "Attivazione del dispositivo revocata", description: "L’attivazione di questo dispositivo è stata revocata. Le modifiche sono bloccate; i dati esistenti restano consultabili ed esportabili." }, license_revoked: { label: "Licenza revocata", description: "Il server ha confermato la revoca della licenza. Le modifiche sono bloccate; i dati esistenti restano consultabili ed esportabili." }, unactivated: { label: "Non attivata", description: "Questa installazione non è ancora associata a una licenza. Per usarla serve un codice di attivazione." }, activation_required: { label: "Attivazione necessaria", description: "L’associazione precedente sul server manca o non corrisponde più a questa installazione. Rinnova l’attivazione. I dati esistenti vengono conservati." }, invalid: { label: "Non verificabile", description: "Al momento il certificato locale non può essere verificato in modo affidabile. Le modifiche restano bloccate. Sincronizza per verificare nuovamente lo stato della licenza." } }, plans: { trial: "Versione di prova", personal: "Personal", professional: "Professional", lifetime: "Lifetime" }, featureLabels: { all_features: "Tutte le funzionalità", core: "Funzioni di base" } }, l = { progress: "Avanzamento della configurazione", step: "Passaggio {{current}} di {{total}}", back: "Indietro", next: "Avanti", finish: "Completa la configurazione", saving: "Salvataggio in corso …", saveError: "Impossibile salvare la configurazione. Riprova." }, s = { saving: "Salvataggio …", saved: "Modifiche salvate", error: "Salvataggio non riuscito.", pending: "Modifiche non salvate" }, c = { placeholder: "Scrivi una parola chiave e premi Invio", remove: "Rimuovi “{{tag}}”" }, r = { title: "Strumento audio", position: "Posizione", play: "Riproduci", pause: "Pausa", back: "Indietro di {{seconds}} s", forward: "Avanti di {{seconds}} s", speed: "Velocità", loop: "Ripeti", error: "Questo file non può essere riprodotto qui.", loading: "Caricamento …", duration: "Durata", remaining: "Restante" }, d = { title: "Strumento di visione", image: "Immagine", pdf: "PDF", position: "{{current}} di {{count}}", previous: "File precedente", next: "File successivo", zoom: "Zoom", zoomIn: "Ingrandisci", zoomOut: "Riduci", fit: "Adatta", error: "Il file non può essere mostrato qui.", loading: "Caricamento …" }, v = { via: "tramite {{name}}" }, u = {
2
2
  actions: e,
3
3
  app: i,
4
4
  colorPicker: a,
@@ -9,7 +9,8 @@ const e = { cancel: "Annulla", close: "Chiudi", retry: "Riprova" }, i = { back:
9
9
  autosave: s,
10
10
  tags: c,
11
11
  audioPlayer: r,
12
- fileViewer: d
12
+ fileViewer: d,
13
+ combobox: v
13
14
  };
14
15
  export {
15
16
  e as actions,
@@ -17,8 +18,9 @@ export {
17
18
  r as audioPlayer,
18
19
  s as autosave,
19
20
  a as colorPicker,
21
+ v as combobox,
20
22
  o as datePicker,
21
- v as default,
23
+ u as default,
22
24
  d as fileViewer,
23
25
  n as licenseProfile,
24
26
  t as licensing,
@@ -1 +1 @@
1
- {"version":3,"file":"it.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"it.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -205,6 +205,9 @@ export declare const stoaResources: {
205
205
  error: string;
206
206
  loading: string;
207
207
  };
208
+ combobox: {
209
+ via: string;
210
+ };
208
211
  };
209
212
  readonly en: {
210
213
  actions: {
@@ -409,6 +412,9 @@ export declare const stoaResources: {
409
412
  error: string;
410
413
  loading: string;
411
414
  };
415
+ combobox: {
416
+ via: string;
417
+ };
412
418
  };
413
419
  readonly 'de-AT': {
414
420
  actions: {
@@ -613,6 +619,9 @@ export declare const stoaResources: {
613
619
  error: string;
614
620
  loading: string;
615
621
  };
622
+ combobox: {
623
+ via: string;
624
+ };
616
625
  };
617
626
  readonly it: {
618
627
  actions: {
@@ -817,6 +826,9 @@ export declare const stoaResources: {
817
826
  error: string;
818
827
  loading: string;
819
828
  };
829
+ combobox: {
830
+ via: string;
831
+ };
820
832
  };
821
833
  };
822
834
  export declare const supportedLanguages: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,SAAS,CAAA;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,eAAO,MAAM,aAAa;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhB,CAAA;AAEV,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAKrB,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAA;AAE5E;;;;GAIG;AACH,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,IAAI,EACV,SAAS,GAAE,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAM,QAQ3E"}
@@ -0,0 +1,41 @@
1
+ import { type ComponentProps, type ReactNode } from 'react';
2
+ import { Input } from '../input';
3
+ export type ComboboxOption = string | {
4
+ value: string;
5
+ /** Other names that also find this option, e.g. in other languages. */
6
+ synonyms?: readonly string[];
7
+ /** Quiet extra text after the value. */
8
+ hint?: ReactNode;
9
+ };
10
+ export type ComboboxMatch = {
11
+ value: string;
12
+ hint?: ReactNode;
13
+ /** The synonym that matched, when the value itself did not. */
14
+ via?: string;
15
+ /** Matched range in the value, for highlighting. */
16
+ range?: [number, number];
17
+ };
18
+ export type ComboboxProps = Omit<ComponentProps<typeof Input>, 'value' | 'onChange' | 'list' | 'suggestions'> & {
19
+ value: string;
20
+ onValueChange: (value: string) => void;
21
+ options: readonly ComboboxOption[];
22
+ /** Replaces the default search (prefix, then contains, then synonyms). */
23
+ match?: (options: readonly ComboboxOption[], query: string) => ComboboxMatch[];
24
+ /** Upper bound of suggestions shown at once. */
25
+ maxResults?: number;
26
+ };
27
+ /** Case- and accent-insensitive key: "Flöte " → "flote". */
28
+ export declare function normalizeComboboxText(text: string): string;
29
+ /**
30
+ * Default search: values starting with the query first, then values
31
+ * containing it, then options found through a synonym. An empty query
32
+ * returns every option.
33
+ */
34
+ export declare function matchComboboxOptions(options: readonly ComboboxOption[], query: string): ComboboxMatch[];
35
+ /**
36
+ * Free text field with a suggestion list. Unlike a native datalist the list
37
+ * follows the kit style, finds options through synonyms ("Pianoforte" →
38
+ * "Klavier") and says how it found them.
39
+ */
40
+ export declare function Combobox({ value, onValueChange, options, match, maxResults, onKeyDown, onBlur, className, ...props }: ComboboxProps): import("react").JSX.Element;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/combobox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACN,KAAK,cAAc,EAEnB,KAAK,SAAS,EAMd,MAAM,OAAO,CAAA;AAId,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAGhC,MAAM,MAAM,cAAc,GACvB,MAAM,GACN;IACA,KAAK,EAAE,MAAM,CAAA;IACb,uEAAuE;IACvE,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC5B,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAA;CACf,CAAA;AAEJ,MAAM,MAAM,aAAa,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oDAAoD;IACpD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,CAC/B,cAAc,CAAC,OAAO,KAAK,CAAC,EAC5B,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,aAAa,CAC7C,GAAG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAA;IAClC,0EAA0E;IAC1E,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,KAAK,aAAa,EAAE,CAAA;IAC9E,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,4DAA4D;AAC5D,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,UAOjD;AAMD;;;;GAIG;AACH,wBAAgB,oBAAoB,CACnC,OAAO,EAAE,SAAS,cAAc,EAAE,EAClC,KAAK,EAAE,MAAM,GACX,aAAa,EAAE,CAsBjB;AA0BD;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACxB,KAAK,EACL,aAAa,EACb,OAAO,EACP,KAA4B,EAC5B,UAAe,EACf,SAAS,EACT,MAAM,EACN,SAAS,EACT,GAAG,KAAK,EACR,EAAE,aAAa,+BAwJf"}
@@ -5,6 +5,7 @@ export * from './calendar';
5
5
  export * from './card';
6
6
  export * from './color-picker';
7
7
  export * from './color-picker-toggle';
8
+ export * from './combobox';
8
9
  export * from './dialog';
9
10
  export * from './dropdown-menu';
10
11
  export * from './field';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
@@ -0,0 +1,178 @@
1
+ import { jsxs as N, jsx as a, Fragment as I } from "react/jsx-runtime";
2
+ import { useId as T, useState as E, useRef as F, useMemo as j, useEffect as L } from "react";
3
+ import { useTranslation as K } from "react-i18next";
4
+ import { STOA_NS as q } from "../../i18n/namespace.js";
5
+ import { cn as B } from "../../utils/cn.js";
6
+ import { Input as H } from "../input/index.js";
7
+ import { Popover as U, PopoverAnchor as _, PopoverContent as G } from "../popover/index.js";
8
+ function y(t) {
9
+ return t.normalize("NFD").replace(/[̀-ͯ]/g, "").trim().toLocaleLowerCase().replace(/\s+/g, " ");
10
+ }
11
+ function J(t) {
12
+ return typeof t == "string" ? { value: t } : t;
13
+ }
14
+ function Q(t, d) {
15
+ const n = y(d), i = t.map(J);
16
+ if (!n) return i.map(({ value: c, hint: f }) => ({ value: c, hint: f }));
17
+ const h = [], b = [], x = [];
18
+ for (const { value: c, hint: f, synonyms: v = [] } of i) {
19
+ const p = c.normalize("NFD").replace(/[̀-ͯ]/g, "").toLocaleLowerCase().indexOf(n);
20
+ if (p === 0) h.push({ value: c, hint: f, range: [0, n.length] });
21
+ else if (p > 0)
22
+ b.push({ value: c, hint: f, range: [p, p + n.length] });
23
+ else {
24
+ const r = v.find(
25
+ (D) => y(D).includes(n)
26
+ );
27
+ r && x.push({ value: c, hint: f, via: r });
28
+ }
29
+ }
30
+ return [...h, ...b, ...x];
31
+ }
32
+ function R({
33
+ value: t,
34
+ range: d
35
+ }) {
36
+ if (!d || t.normalize("NFD").length !== t.length)
37
+ return /* @__PURE__ */ a(I, { children: t });
38
+ const [n, i] = d;
39
+ return /* @__PURE__ */ N(I, { children: [
40
+ t.slice(0, n),
41
+ /* @__PURE__ */ a(
42
+ "span",
43
+ {
44
+ "data-slot": "combobox-match",
45
+ className: "underline decoration-current/45 underline-offset-[3px]",
46
+ children: t.slice(n, i)
47
+ }
48
+ ),
49
+ t.slice(i)
50
+ ] });
51
+ }
52
+ function oe({
53
+ value: t,
54
+ onValueChange: d,
55
+ options: n,
56
+ match: i = Q,
57
+ maxResults: h = 50,
58
+ onKeyDown: b,
59
+ onBlur: x,
60
+ className: c,
61
+ ...f
62
+ }) {
63
+ const { t: v } = K(q), g = T(), [p, r] = E(!1), [D, w] = E(0), k = F(null), O = F(null), l = j(
64
+ () => i(n, t).slice(0, h),
65
+ [i, n, t, h]
66
+ ), M = l.length === 1 && y(l[0].value) === y(t), s = p && l.length > 0 && !M, u = Math.min(D, Math.max(0, l.length - 1));
67
+ L(() => {
68
+ s && O.current?.querySelector(`[data-index="${u}"]`)?.scrollIntoView({ block: "nearest" });
69
+ }, [u, s]), L(() => {
70
+ if (!s) return;
71
+ function e(o) {
72
+ o.key !== "Escape" || o.target !== k.current || (o.preventDefault(), o.stopPropagation(), r(!1));
73
+ }
74
+ return window.addEventListener("keydown", e, !0), () => window.removeEventListener("keydown", e, !0);
75
+ }, [s]);
76
+ function A(e) {
77
+ const o = l[e];
78
+ o && (d(o.value), r(!1));
79
+ }
80
+ function P(e) {
81
+ if (b?.(e), !e.defaultPrevented)
82
+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {
83
+ if (e.preventDefault(), !s) {
84
+ r(!0), w(0);
85
+ return;
86
+ }
87
+ const o = e.key === "ArrowDown" ? 1 : -1;
88
+ w((u + o + l.length) % l.length);
89
+ } else e.key === "Enter" && s && (e.preventDefault(), A(u));
90
+ }
91
+ const $ = s ? `${g}-${u}` : void 0;
92
+ return /* @__PURE__ */ N(U, { open: s, onOpenChange: r, children: [
93
+ /* @__PURE__ */ a(_, { asChild: !0, children: /* @__PURE__ */ a("div", { className: "min-w-0", children: /* @__PURE__ */ a(
94
+ H,
95
+ {
96
+ ...f,
97
+ ref: k,
98
+ role: "combobox",
99
+ autoComplete: "off",
100
+ "aria-autocomplete": "list",
101
+ "aria-expanded": s,
102
+ "aria-controls": s ? g : void 0,
103
+ "aria-activedescendant": $,
104
+ className: c,
105
+ value: t,
106
+ onChange: (e) => {
107
+ d(e.target.value), w(0), r(!0);
108
+ },
109
+ onClick: () => r(!0),
110
+ onKeyDown: P,
111
+ onBlur: (e) => {
112
+ r(!1), x?.(e);
113
+ }
114
+ }
115
+ ) }) }),
116
+ /* @__PURE__ */ a(
117
+ G,
118
+ {
119
+ "data-slot": "combobox-content",
120
+ align: "start",
121
+ sideOffset: 6,
122
+ className: "w-(--radix-popover-trigger-width) gap-0 p-1",
123
+ onOpenAutoFocus: (e) => e.preventDefault(),
124
+ onCloseAutoFocus: (e) => e.preventDefault(),
125
+ onInteractOutside: (e) => {
126
+ k.current?.contains(e.target) && e.preventDefault();
127
+ },
128
+ children: /* @__PURE__ */ a(
129
+ "div",
130
+ {
131
+ ref: O,
132
+ id: g,
133
+ role: "listbox",
134
+ className: "max-h-64 overflow-y-auto",
135
+ children: l.map(({ value: e, hint: o, via: C, range: z }, m) => /* @__PURE__ */ N(
136
+ "div",
137
+ {
138
+ id: `${g}-${m}`,
139
+ "data-index": m,
140
+ "data-slot": "combobox-option",
141
+ "data-highlighted": m === u ? "" : void 0,
142
+ role: "option",
143
+ "aria-selected": m === u,
144
+ tabIndex: -1,
145
+ className: B(
146
+ "flex cursor-pointer items-baseline gap-2 rounded-md px-2.5 py-1.5 text-sm",
147
+ m === u && "bg-muted"
148
+ ),
149
+ onMouseDown: (S) => {
150
+ S.preventDefault(), A(m);
151
+ },
152
+ onMouseMove: () => w(m),
153
+ children: [
154
+ /* @__PURE__ */ a("span", { className: "font-medium", children: /* @__PURE__ */ a(R, { value: e, range: z }) }),
155
+ (C || o) && /* @__PURE__ */ a(
156
+ "span",
157
+ {
158
+ "data-slot": "combobox-hint",
159
+ className: "truncate text-xs text-muted-foreground",
160
+ children: C ? v("combobox.via", { name: C }) : o
161
+ }
162
+ )
163
+ ]
164
+ },
165
+ e
166
+ ))
167
+ }
168
+ )
169
+ }
170
+ )
171
+ ] });
172
+ }
173
+ export {
174
+ oe as Combobox,
175
+ Q as matchComboboxOptions,
176
+ y as normalizeComboboxText
177
+ };
178
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/ui/combobox/index.tsx"],"sourcesContent":["'use client'\n\nimport {\n\ttype ComponentProps,\n\ttype KeyboardEvent,\n\ttype ReactNode,\n\tuseEffect,\n\tuseId,\n\tuseMemo,\n\tuseRef,\n\tuseState,\n} from 'react'\nimport { useTranslation } from 'react-i18next'\nimport { STOA_NS } from '../../i18n/namespace'\nimport { cn } from '../../utils/cn'\nimport { Input } from '../input'\nimport { Popover, PopoverAnchor, PopoverContent } from '../popover'\n\nexport type ComboboxOption =\n\t| string\n\t| {\n\t\t\tvalue: string\n\t\t\t/** Other names that also find this option, e.g. in other languages. */\n\t\t\tsynonyms?: readonly string[]\n\t\t\t/** Quiet extra text after the value. */\n\t\t\thint?: ReactNode\n\t }\n\nexport type ComboboxMatch = {\n\tvalue: string\n\thint?: ReactNode\n\t/** The synonym that matched, when the value itself did not. */\n\tvia?: string\n\t/** Matched range in the value, for highlighting. */\n\trange?: [number, number]\n}\n\nexport type ComboboxProps = Omit<\n\tComponentProps<typeof Input>,\n\t'value' | 'onChange' | 'list' | 'suggestions'\n> & {\n\tvalue: string\n\tonValueChange: (value: string) => void\n\toptions: readonly ComboboxOption[]\n\t/** Replaces the default search (prefix, then contains, then synonyms). */\n\tmatch?: (options: readonly ComboboxOption[], query: string) => ComboboxMatch[]\n\t/** Upper bound of suggestions shown at once. */\n\tmaxResults?: number\n}\n\n/** Case- and accent-insensitive key: \"Flöte \" → \"flote\". */\nexport function normalizeComboboxText(text: string) {\n\treturn text\n\t\t.normalize('NFD')\n\t\t.replace(/[̀-ͯ]/g, '')\n\t\t.trim()\n\t\t.toLocaleLowerCase()\n\t\t.replace(/\\s+/g, ' ')\n}\n\nfunction toOption(option: ComboboxOption) {\n\treturn typeof option === 'string' ? { value: option } : option\n}\n\n/**\n * Default search: values starting with the query first, then values\n * containing it, then options found through a synonym. An empty query\n * returns every option.\n */\nexport function matchComboboxOptions(\n\toptions: readonly ComboboxOption[],\n\tquery: string,\n): ComboboxMatch[] {\n\tconst needle = normalizeComboboxText(query)\n\tconst all = options.map(toOption)\n\tif (!needle) return all.map(({ value, hint }) => ({ value, hint }))\n\tconst starts: ComboboxMatch[] = []\n\tconst contains: ComboboxMatch[] = []\n\tconst synonyms: ComboboxMatch[] = []\n\tfor (const { value, hint, synonyms: names = [] } of all) {\n\t\t// Accent stripping keeps one character per letter here, so indices line up.\n\t\tconst key = value.normalize('NFD').replace(/[̀-ͯ]/g, '').toLocaleLowerCase()\n\t\tconst at = key.indexOf(needle)\n\t\tif (at === 0) starts.push({ value, hint, range: [0, needle.length] })\n\t\telse if (at > 0)\n\t\t\tcontains.push({ value, hint, range: [at, at + needle.length] })\n\t\telse {\n\t\t\tconst via = names.find((name) =>\n\t\t\t\tnormalizeComboboxText(name).includes(needle),\n\t\t\t)\n\t\t\tif (via) synonyms.push({ value, hint, via })\n\t\t}\n\t}\n\treturn [...starts, ...contains, ...synonyms]\n}\n\nfunction Highlighted({\n\tvalue,\n\trange,\n}: {\n\tvalue: string\n\trange?: [number, number]\n}) {\n\tif (!range || value.normalize('NFD').length !== value.length)\n\t\treturn <>{value}</>\n\tconst [start, end] = range\n\treturn (\n\t\t<>\n\t\t\t{value.slice(0, start)}\n\t\t\t<span\n\t\t\t\tdata-slot='combobox-match'\n\t\t\t\tclassName='underline decoration-current/45 underline-offset-[3px]'\n\t\t\t>\n\t\t\t\t{value.slice(start, end)}\n\t\t\t</span>\n\t\t\t{value.slice(end)}\n\t\t</>\n\t)\n}\n\n/**\n * Free text field with a suggestion list. Unlike a native datalist the list\n * follows the kit style, finds options through synonyms (\"Pianoforte\" →\n * \"Klavier\") and says how it found them.\n */\nexport function Combobox({\n\tvalue,\n\tonValueChange,\n\toptions,\n\tmatch = matchComboboxOptions,\n\tmaxResults = 50,\n\tonKeyDown,\n\tonBlur,\n\tclassName,\n\t...props\n}: ComboboxProps) {\n\tconst { t } = useTranslation(STOA_NS)\n\tconst listId = useId()\n\tconst [open, setOpen] = useState(false)\n\tconst [active, setActive] = useState(0)\n\tconst input = useRef<HTMLInputElement>(null)\n\tconst list = useRef<HTMLDivElement>(null)\n\n\tconst matches = useMemo(\n\t\t() => match(options, value).slice(0, maxResults),\n\t\t[match, options, value, maxResults],\n\t)\n\t// Nothing to suggest once the field holds exactly the only match.\n\tconst exact =\n\t\tmatches.length === 1 &&\n\t\tnormalizeComboboxText(matches[0].value) === normalizeComboboxText(value)\n\tconst shown = open && matches.length > 0 && !exact\n\tconst current = Math.min(active, Math.max(0, matches.length - 1))\n\n\tuseEffect(() => {\n\t\tif (!shown) return\n\t\tlist.current\n\t\t\t?.querySelector(`[data-index=\"${current}\"]`)\n\t\t\t?.scrollIntoView({ block: 'nearest' })\n\t}, [current, shown])\n\n\t// Escape closes the list only. Dialogs listen on the document in the\n\t// capture phase, so the key is caught earlier, on the window.\n\tuseEffect(() => {\n\t\tif (!shown) return\n\t\tfunction onEscape(event: globalThis.KeyboardEvent) {\n\t\t\tif (event.key !== 'Escape' || event.target !== input.current) return\n\t\t\tevent.preventDefault()\n\t\t\tevent.stopPropagation()\n\t\t\tsetOpen(false)\n\t\t}\n\t\twindow.addEventListener('keydown', onEscape, true)\n\t\treturn () => window.removeEventListener('keydown', onEscape, true)\n\t}, [shown])\n\n\tfunction choose(index: number) {\n\t\tconst chosen = matches[index]\n\t\tif (!chosen) return\n\t\tonValueChange(chosen.value)\n\t\tsetOpen(false)\n\t}\n\n\tfunction handleKeyDown(event: KeyboardEvent<HTMLInputElement>) {\n\t\tonKeyDown?.(event)\n\t\tif (event.defaultPrevented) return\n\t\tif (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n\t\t\tevent.preventDefault()\n\t\t\tif (!shown) {\n\t\t\t\tsetOpen(true)\n\t\t\t\tsetActive(0)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tconst step = event.key === 'ArrowDown' ? 1 : -1\n\t\t\tsetActive((current + step + matches.length) % matches.length)\n\t\t} else if (event.key === 'Enter' && shown) {\n\t\t\tevent.preventDefault()\n\t\t\tchoose(current)\n\t\t}\n\t}\n\n\tconst activeId = shown ? `${listId}-${current}` : undefined\n\n\treturn (\n\t\t<Popover open={shown} onOpenChange={setOpen}>\n\t\t\t<PopoverAnchor asChild>\n\t\t\t\t<div className='min-w-0'>\n\t\t\t\t\t<Input\n\t\t\t\t\t\t{...props}\n\t\t\t\t\t\tref={input}\n\t\t\t\t\t\trole='combobox'\n\t\t\t\t\t\tautoComplete='off'\n\t\t\t\t\t\taria-autocomplete='list'\n\t\t\t\t\t\taria-expanded={shown}\n\t\t\t\t\t\taria-controls={shown ? listId : undefined}\n\t\t\t\t\t\taria-activedescendant={activeId}\n\t\t\t\t\t\tclassName={className}\n\t\t\t\t\t\tvalue={value}\n\t\t\t\t\t\tonChange={(event) => {\n\t\t\t\t\t\t\tonValueChange(event.target.value)\n\t\t\t\t\t\t\tsetActive(0)\n\t\t\t\t\t\t\tsetOpen(true)\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tonClick={() => setOpen(true)}\n\t\t\t\t\t\tonKeyDown={handleKeyDown}\n\t\t\t\t\t\tonBlur={(event) => {\n\t\t\t\t\t\t\tsetOpen(false)\n\t\t\t\t\t\t\tonBlur?.(event)\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</PopoverAnchor>\n\t\t\t<PopoverContent\n\t\t\t\tdata-slot='combobox-content'\n\t\t\t\talign='start'\n\t\t\t\tsideOffset={6}\n\t\t\t\tclassName='w-(--radix-popover-trigger-width) gap-0 p-1'\n\t\t\t\tonOpenAutoFocus={(event) => event.preventDefault()}\n\t\t\t\tonCloseAutoFocus={(event) => event.preventDefault()}\n\t\t\t\tonInteractOutside={(event) => {\n\t\t\t\t\tif (input.current?.contains(event.target as Node))\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tref={list}\n\t\t\t\t\tid={listId}\n\t\t\t\t\trole='listbox'\n\t\t\t\t\tclassName='max-h-64 overflow-y-auto'\n\t\t\t\t>\n\t\t\t\t\t{matches.map(({ value: option, hint, via, range }, index) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tkey={option}\n\t\t\t\t\t\t\tid={`${listId}-${index}`}\n\t\t\t\t\t\t\tdata-index={index}\n\t\t\t\t\t\t\tdata-slot='combobox-option'\n\t\t\t\t\t\t\tdata-highlighted={index === current ? '' : undefined}\n\t\t\t\t\t\t\trole='option'\n\t\t\t\t\t\t\taria-selected={index === current}\n\t\t\t\t\t\t\ttabIndex={-1}\n\t\t\t\t\t\t\tclassName={cn(\n\t\t\t\t\t\t\t\t'flex cursor-pointer items-baseline gap-2 rounded-md px-2.5 py-1.5 text-sm',\n\t\t\t\t\t\t\t\tindex === current && 'bg-muted',\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t// Choose on mouse down, so the focus stays in the input.\n\t\t\t\t\t\t\tonMouseDown={(event) => {\n\t\t\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\t\t\tchoose(index)\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonMouseMove={() => setActive(index)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span className='font-medium'>\n\t\t\t\t\t\t\t\t<Highlighted value={option} range={range} />\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t{(via || hint) && (\n\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\tdata-slot='combobox-hint'\n\t\t\t\t\t\t\t\t\tclassName='truncate text-xs text-muted-foreground'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{via ? t('combobox.via', { name: via }) : hint}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</PopoverContent>\n\t\t</Popover>\n\t)\n}\n"],"names":["normalizeComboboxText","text","toOption","option","matchComboboxOptions","options","query","needle","all","value","hint","starts","contains","synonyms","names","at","via","name","Highlighted","range","start","end","jsxs","Fragment","jsx","Combobox","onValueChange","match","maxResults","onKeyDown","onBlur","className","props","t","useTranslation","STOA_NS","listId","useId","open","setOpen","useState","active","setActive","input","useRef","list","matches","useMemo","exact","shown","current","useEffect","onEscape","event","choose","index","chos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AASoC,MAClD,gBAAAjC;AAAA,cAAC;AAAA,cAAA;AAAA,gBAEA,IAAI,GAAGc,CAAM,IAAImB,CAAK;AAAA,gBACtB,cAAYA;AAAA,gBACZ,aAAU;AAAA,gBACV,oBAAkBA,MAAUL,IAAU,KAAK;AAAA,gBAC3C,MAAK;AAAA,gBACL,iBAAeK,MAAUL;AAAA,gBACzB,UAAU;AAAA,gBACV,WAAWc;AAAA,kBACV;AAAA,kBACAT,MAAUL,KAAW;AAAA,gBAAA;AAAA,gBAGtB,aAAa,CAACG,MAAU;AACvB,kBAAAA,EAAM,eAAA,GACNC,EAAOC,CAAK;AAAA,gBACb;AAAA,gBACA,aAAa,MAAMb,EAAUa,CAAK;AAAA,gBAElC,UAAA;AAAA,kBAAA,gBAAA/B,EAAC,QAAA,EAAK,WAAU,eACf,UAAA,gBAAAA,EAACN,KAAY,OAAOf,GAAQ,OAAAgB,GAAc,EAAA,CAC3C;AAAA,mBACEH,KAAON,MACR,gBAAAc;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACA,aAAU;AAAA,sBACV,WAAU;AAAA,sBAET,cAAMS,EAAE,gBAAgB,EAAE,MAAMjB,EAAA,CAAK,IAAIN;AAAA,oBAAA;AAAA,kBAAA;AAAA,gBAC3C;AAAA,cAAA;AAAA,cA5BIP;AAAA,YAAA,CA+BN;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EACD,GACD;AAEF;"}
package/dist/ui/index.js CHANGED
@@ -1,31 +1,32 @@
1
1
  import { Accordion as e, AccordionContent as t, AccordionItem as p, AccordionTrigger as n } from "./accordion/index.js";
2
2
  import { AudioPlayer as i } from "./audio-player/index.js";
3
3
  import { Button as d, buttonVariants as u } from "./button/index.js";
4
- import { Calendar as c, CalendarDayButton as g } from "./calendar/index.js";
4
+ import { Calendar as x, CalendarDayButton as c } from "./calendar/index.js";
5
5
  import { Card as D, CardAction as f, CardContent as S, CardDescription as T, CardFooter as C, CardHeader as w, CardTitle as M } from "./card/index.js";
6
- import { ColorPicker as P } from "./color-picker/index.js";
7
- import { ColorPickerToggle as G } from "./color-picker-toggle/index.js";
8
- import { Dialog as v, DialogClose as A, DialogContent as s, DialogDescription as h, DialogFooter as B, DialogHeader as L, DialogOverlay as E, DialogPortal as R, DialogTitle as V, DialogTrigger as k } from "./dialog/index.js";
9
- import { DropdownMenu as H, DropdownMenuCheckboxItem as O, DropdownMenuContent as _, DropdownMenuGroup as U, DropdownMenuItem as W, DropdownMenuLabel as Z, DropdownMenuPortal as j, DropdownMenuRadioGroup as q, DropdownMenuRadioItem as z, DropdownMenuSeparator as J, DropdownMenuShortcut as K, DropdownMenuSub as N, DropdownMenuSubContent as Q, DropdownMenuSubTrigger as X, DropdownMenuTrigger as Y } from "./dropdown-menu/index.js";
10
- import { Field as oo, FieldContent as ro, FieldDescription as eo, FieldError as to, FieldGroup as po, FieldLabel as no, FieldLegend as lo, FieldSeparator as io, FieldSet as ao, FieldTitle as uo } from "./field/index.js";
11
- import { FILE_VIEWER_ZOOM_STEPS as co, FileViewer as go } from "./file-viewer/index.js";
12
- import { Input as Do } from "./input/index.js";
13
- import { InputGroup as So, InputGroupAddon as To, InputGroupButton as Co, InputGroupInput as wo, InputGroupText as Mo, InputGroupTextarea as Io } from "./input-group/index.js";
14
- import { Label as Fo } from "./label/index.js";
15
- import { MarkedText as bo } from "./marked-text/index.js";
16
- import { Pill as Ao } from "./pill/index.js";
17
- import { Popover as ho, PopoverAnchor as Bo, PopoverContent as Lo, PopoverDescription as Eo, PopoverHeader as Ro, PopoverTitle as Vo, PopoverTrigger as ko } from "./popover/index.js";
18
- import { RadioGroup as Ho, RadioGroupItem as Oo } from "./radio-group/index.js";
19
- import { ScrollArea as Uo, ScrollBar as Wo } from "./scroll-area/index.js";
20
- import { Select as jo, SelectContent as qo, SelectGroup as zo, SelectItem as Jo, SelectLabel as Ko, SelectScrollDownButton as No, SelectScrollUpButton as Qo, SelectSeparator as Xo, SelectTrigger as Yo, SelectValue as $o } from "./select/index.js";
21
- import { Separator as rr } from "./separator/index.js";
22
- import { Toaster as tr } from "./sonner/index.js";
23
- import { Switch as nr } from "./switch/index.js";
24
- import { Textarea as ir } from "./textarea/index.js";
25
- import { ThemeSwitch as dr } from "./theme-switch/index.js";
26
- import { ThemeToggle as mr } from "./theme-toggle/index.js";
27
- import { Toggle as gr, toggleVariants as xr } from "./toggle/index.js";
28
- import { Tooltip as fr, TooltipContent as Sr, TooltipProvider as Tr, TooltipTrigger as Cr } from "./tooltip/index.js";
6
+ import { ColorPicker as b } from "./color-picker/index.js";
7
+ import { ColorPickerToggle as F } from "./color-picker-toggle/index.js";
8
+ import { Combobox as s, matchComboboxOptions as v, normalizeComboboxText as A } from "./combobox/index.js";
9
+ import { Dialog as B, DialogClose as L, DialogContent as E, DialogDescription as R, DialogFooter as V, DialogHeader as k, DialogOverlay as O, DialogPortal as y, DialogTitle as H, DialogTrigger as _ } from "./dialog/index.js";
10
+ import { DropdownMenu as U, DropdownMenuCheckboxItem as W, DropdownMenuContent as Z, DropdownMenuGroup as j, DropdownMenuItem as q, DropdownMenuLabel as J, DropdownMenuPortal as K, DropdownMenuRadioGroup as N, DropdownMenuRadioItem as Q, DropdownMenuSeparator as X, DropdownMenuShortcut as Y, DropdownMenuSub as $, DropdownMenuSubContent as oo, DropdownMenuSubTrigger as ro, DropdownMenuTrigger as eo } from "./dropdown-menu/index.js";
11
+ import { Field as po, FieldContent as no, FieldDescription as lo, FieldError as io, FieldGroup as ao, FieldLabel as uo, FieldLegend as mo, FieldSeparator as xo, FieldSet as co, FieldTitle as go } from "./field/index.js";
12
+ import { FILE_VIEWER_ZOOM_STEPS as fo, FileViewer as So } from "./file-viewer/index.js";
13
+ import { Input as Co } from "./input/index.js";
14
+ import { InputGroup as Mo, InputGroupAddon as Io, InputGroupButton as bo, InputGroupInput as Po, InputGroupText as Fo, InputGroupTextarea as Go } from "./input-group/index.js";
15
+ import { Label as vo } from "./label/index.js";
16
+ import { MarkedText as ho } from "./marked-text/index.js";
17
+ import { Pill as Lo } from "./pill/index.js";
18
+ import { Popover as Ro, PopoverAnchor as Vo, PopoverContent as ko, PopoverDescription as Oo, PopoverHeader as yo, PopoverTitle as Ho, PopoverTrigger as _o } from "./popover/index.js";
19
+ import { RadioGroup as Uo, RadioGroupItem as Wo } from "./radio-group/index.js";
20
+ import { ScrollArea as jo, ScrollBar as qo } from "./scroll-area/index.js";
21
+ import { Select as Ko, SelectContent as No, SelectGroup as Qo, SelectItem as Xo, SelectLabel as Yo, SelectScrollDownButton as $o, SelectScrollUpButton as or, SelectSeparator as rr, SelectTrigger as er, SelectValue as tr } from "./select/index.js";
22
+ import { Separator as nr } from "./separator/index.js";
23
+ import { Toaster as ir } from "./sonner/index.js";
24
+ import { Switch as dr } from "./switch/index.js";
25
+ import { Textarea as mr } from "./textarea/index.js";
26
+ import { ThemeSwitch as cr } from "./theme-switch/index.js";
27
+ import { ThemeToggle as Dr } from "./theme-toggle/index.js";
28
+ import { Toggle as Sr, toggleVariants as Tr } from "./toggle/index.js";
29
+ import { Tooltip as wr, TooltipContent as Mr, TooltipProvider as Ir, TooltipTrigger as br } from "./tooltip/index.js";
29
30
  export {
30
31
  e as Accordion,
31
32
  t as AccordionContent,
@@ -33,8 +34,8 @@ export {
33
34
  n as AccordionTrigger,
34
35
  i as AudioPlayer,
35
36
  d as Button,
36
- c as Calendar,
37
- g as CalendarDayButton,
37
+ x as Calendar,
38
+ c as CalendarDayButton,
38
39
  D as Card,
39
40
  f as CardAction,
40
41
  S as CardContent,
@@ -42,88 +43,91 @@ export {
42
43
  C as CardFooter,
43
44
  w as CardHeader,
44
45
  M as CardTitle,
45
- P as ColorPicker,
46
- G as ColorPickerToggle,
47
- v as Dialog,
48
- A as DialogClose,
49
- s as DialogContent,
50
- h as DialogDescription,
51
- B as DialogFooter,
52
- L as DialogHeader,
53
- E as DialogOverlay,
54
- R as DialogPortal,
55
- V as DialogTitle,
56
- k as DialogTrigger,
57
- H as DropdownMenu,
58
- O as DropdownMenuCheckboxItem,
59
- _ as DropdownMenuContent,
60
- U as DropdownMenuGroup,
61
- W as DropdownMenuItem,
62
- Z as DropdownMenuLabel,
63
- j as DropdownMenuPortal,
64
- q as DropdownMenuRadioGroup,
65
- z as DropdownMenuRadioItem,
66
- J as DropdownMenuSeparator,
67
- K as DropdownMenuShortcut,
68
- N as DropdownMenuSub,
69
- Q as DropdownMenuSubContent,
70
- X as DropdownMenuSubTrigger,
71
- Y as DropdownMenuTrigger,
72
- co as FILE_VIEWER_ZOOM_STEPS,
73
- oo as Field,
74
- ro as FieldContent,
75
- eo as FieldDescription,
76
- to as FieldError,
77
- po as FieldGroup,
78
- no as FieldLabel,
79
- lo as FieldLegend,
80
- io as FieldSeparator,
81
- ao as FieldSet,
82
- uo as FieldTitle,
83
- go as FileViewer,
84
- Do as Input,
85
- So as InputGroup,
86
- To as InputGroupAddon,
87
- Co as InputGroupButton,
88
- wo as InputGroupInput,
89
- Mo as InputGroupText,
90
- Io as InputGroupTextarea,
91
- Fo as Label,
92
- bo as MarkedText,
93
- Ao as Pill,
94
- ho as Popover,
95
- Bo as PopoverAnchor,
96
- Lo as PopoverContent,
97
- Eo as PopoverDescription,
98
- Ro as PopoverHeader,
99
- Vo as PopoverTitle,
100
- ko as PopoverTrigger,
101
- Ho as RadioGroup,
102
- Oo as RadioGroupItem,
103
- Uo as ScrollArea,
104
- Wo as ScrollBar,
105
- jo as Select,
106
- qo as SelectContent,
107
- zo as SelectGroup,
108
- Jo as SelectItem,
109
- Ko as SelectLabel,
110
- No as SelectScrollDownButton,
111
- Qo as SelectScrollUpButton,
112
- Xo as SelectSeparator,
113
- Yo as SelectTrigger,
114
- $o as SelectValue,
115
- rr as Separator,
116
- nr as Switch,
117
- ir as Textarea,
118
- dr as ThemeSwitch,
119
- mr as ThemeToggle,
120
- tr as Toaster,
121
- gr as Toggle,
122
- fr as Tooltip,
123
- Sr as TooltipContent,
124
- Tr as TooltipProvider,
125
- Cr as TooltipTrigger,
46
+ b as ColorPicker,
47
+ F as ColorPickerToggle,
48
+ s as Combobox,
49
+ B as Dialog,
50
+ L as DialogClose,
51
+ E as DialogContent,
52
+ R as DialogDescription,
53
+ V as DialogFooter,
54
+ k as DialogHeader,
55
+ O as DialogOverlay,
56
+ y as DialogPortal,
57
+ H as DialogTitle,
58
+ _ as DialogTrigger,
59
+ U as DropdownMenu,
60
+ W as DropdownMenuCheckboxItem,
61
+ Z as DropdownMenuContent,
62
+ j as DropdownMenuGroup,
63
+ q as DropdownMenuItem,
64
+ J as DropdownMenuLabel,
65
+ K as DropdownMenuPortal,
66
+ N as DropdownMenuRadioGroup,
67
+ Q as DropdownMenuRadioItem,
68
+ X as DropdownMenuSeparator,
69
+ Y as DropdownMenuShortcut,
70
+ $ as DropdownMenuSub,
71
+ oo as DropdownMenuSubContent,
72
+ ro as DropdownMenuSubTrigger,
73
+ eo as DropdownMenuTrigger,
74
+ fo as FILE_VIEWER_ZOOM_STEPS,
75
+ po as Field,
76
+ no as FieldContent,
77
+ lo as FieldDescription,
78
+ io as FieldError,
79
+ ao as FieldGroup,
80
+ uo as FieldLabel,
81
+ mo as FieldLegend,
82
+ xo as FieldSeparator,
83
+ co as FieldSet,
84
+ go as FieldTitle,
85
+ So as FileViewer,
86
+ Co as Input,
87
+ Mo as InputGroup,
88
+ Io as InputGroupAddon,
89
+ bo as InputGroupButton,
90
+ Po as InputGroupInput,
91
+ Fo as InputGroupText,
92
+ Go as InputGroupTextarea,
93
+ vo as Label,
94
+ ho as MarkedText,
95
+ Lo as Pill,
96
+ Ro as Popover,
97
+ Vo as PopoverAnchor,
98
+ ko as PopoverContent,
99
+ Oo as PopoverDescription,
100
+ yo as PopoverHeader,
101
+ Ho as PopoverTitle,
102
+ _o as PopoverTrigger,
103
+ Uo as RadioGroup,
104
+ Wo as RadioGroupItem,
105
+ jo as ScrollArea,
106
+ qo as ScrollBar,
107
+ Ko as Select,
108
+ No as SelectContent,
109
+ Qo as SelectGroup,
110
+ Xo as SelectItem,
111
+ Yo as SelectLabel,
112
+ $o as SelectScrollDownButton,
113
+ or as SelectScrollUpButton,
114
+ rr as SelectSeparator,
115
+ er as SelectTrigger,
116
+ tr as SelectValue,
117
+ nr as Separator,
118
+ dr as Switch,
119
+ mr as Textarea,
120
+ cr as ThemeSwitch,
121
+ Dr as ThemeToggle,
122
+ ir as Toaster,
123
+ Sr as Toggle,
124
+ wr as Tooltip,
125
+ Mr as TooltipContent,
126
+ Ir as TooltipProvider,
127
+ br as TooltipTrigger,
126
128
  u as buttonVariants,
127
- xr as toggleVariants
129
+ v as matchComboboxOptions,
130
+ A as normalizeComboboxText,
131
+ Tr as toggleVariants
128
132
  };
129
133
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoa-dev/kit",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Shared React components, hooks, utilities, licensing UI and theme for STOA desktop apps",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -702,3 +702,40 @@
702
702
  background: var(--ink);
703
703
  color: var(--paper);
704
704
  }
705
+
706
+ /* ── Combobox: same rows as the menus ───────────────────────────────────── */
707
+
708
+ .stoa-instrument [data-slot="combobox-content"] {
709
+ padding: 0.375rem;
710
+ border: 0;
711
+ border-radius: 1rem;
712
+ background: var(--popover);
713
+ box-shadow:
714
+ 0 0 0 1px var(--hairline),
715
+ 0 20px 48px -18px rgb(0 0 0 / 30%);
716
+ }
717
+
718
+ .stoa-instrument [data-slot="combobox-option"] {
719
+ min-height: 2.25rem;
720
+ align-items: center;
721
+ padding: 0.5rem 0.75rem;
722
+ border-radius: 0.625rem;
723
+ font-size: 0.8125rem;
724
+ }
725
+
726
+ .stoa-instrument [data-slot="combobox-option"][data-highlighted] {
727
+ background: var(--ink);
728
+ color: var(--paper);
729
+ }
730
+
731
+ .stoa-instrument [data-slot="combobox-option"][data-highlighted] * {
732
+ color: inherit;
733
+ }
734
+
735
+ .stoa-instrument [data-slot="combobox-hint"] {
736
+ font-family: var(--instrument-mono);
737
+ font-size: 0.625rem;
738
+ letter-spacing: 0.1em;
739
+ text-transform: uppercase;
740
+ }
741
+