@stoa-dev/kit 1.0.0 → 1.0.3

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +75 -1
  3. package/dist/autosave/controller.js +93 -0
  4. package/dist/autosave/controller.js.map +1 -0
  5. package/dist/autosave/index.js +7 -0
  6. package/dist/autosave/index.js.map +1 -0
  7. package/dist/autosave/provider.js +48 -0
  8. package/dist/autosave/provider.js.map +1 -0
  9. package/dist/i18n/locales/at.json.js +8 -6
  10. package/dist/i18n/locales/at.json.js.map +1 -1
  11. package/dist/i18n/locales/de.json.js +6 -4
  12. package/dist/i18n/locales/de.json.js.map +1 -1
  13. package/dist/i18n/locales/en.json.js +7 -5
  14. package/dist/i18n/locales/en.json.js.map +1 -1
  15. package/dist/i18n/locales/it.json.js +8 -6
  16. package/dist/i18n/locales/it.json.js.map +1 -1
  17. package/dist/kit.css +1 -1
  18. package/dist/shell/AppNavigation/index.js +63 -62
  19. package/dist/shell/AppNavigation/index.js.map +1 -1
  20. package/dist/shell/BackButton/index.js +24 -0
  21. package/dist/shell/BackButton/index.js.map +1 -0
  22. package/dist/shell/SectionNavigation/index.js +5 -114
  23. package/dist/shell/SectionNavigation/index.js.map +1 -1
  24. package/dist/shell/SetupWizard/index.js +158 -0
  25. package/dist/shell/SetupWizard/index.js.map +1 -0
  26. package/dist/shell/SubNavigation/index.js +127 -0
  27. package/dist/shell/SubNavigation/index.js.map +1 -0
  28. package/dist/shell/index.js +25 -21
  29. package/dist/shell/index.js.map +1 -1
  30. package/dist/types/autosave/controller.d.ts +44 -0
  31. package/dist/types/autosave/controller.d.ts.map +1 -0
  32. package/dist/types/autosave/index.d.ts +3 -0
  33. package/dist/types/autosave/index.d.ts.map +1 -0
  34. package/dist/types/autosave/provider.d.ts +20 -0
  35. package/dist/types/autosave/provider.d.ts.map +1 -0
  36. package/dist/types/i18n/index.d.ts +44 -0
  37. package/dist/types/i18n/index.d.ts.map +1 -1
  38. package/dist/types/shell/AppNavigation/index.d.ts +1 -1
  39. package/dist/types/shell/AppNavigation/index.d.ts.map +1 -1
  40. package/dist/types/shell/BackButton/index.d.ts +8 -0
  41. package/dist/types/shell/BackButton/index.d.ts.map +1 -0
  42. package/dist/types/shell/SectionNavigation/index.d.ts +4 -11
  43. package/dist/types/shell/SectionNavigation/index.d.ts.map +1 -1
  44. package/dist/types/shell/SetupWizard/index.d.ts +23 -0
  45. package/dist/types/shell/SetupWizard/index.d.ts.map +1 -0
  46. package/dist/types/shell/SubNavigation/index.d.ts +16 -0
  47. package/dist/types/shell/SubNavigation/index.d.ts.map +1 -0
  48. package/dist/types/shell/index.d.ts +3 -1
  49. package/dist/types/shell/index.d.ts.map +1 -1
  50. package/dist/types/ui/index.d.ts +2 -0
  51. package/dist/types/ui/index.d.ts.map +1 -1
  52. package/dist/types/ui/theme-switch/index.d.ts +12 -0
  53. package/dist/types/ui/theme-switch/index.d.ts.map +1 -0
  54. package/dist/types/ui/theme-toggle/index.d.ts +12 -0
  55. package/dist/types/ui/theme-toggle/index.d.ts.map +1 -0
  56. package/dist/types/utils/saveFeedback.d.ts +1 -1
  57. package/dist/types/utils/saveFeedback.d.ts.map +1 -1
  58. package/dist/ui/index.js +41 -37
  59. package/dist/ui/index.js.map +1 -1
  60. package/dist/ui/theme-switch/ThemeSwitch.module.scss.js +14 -0
  61. package/dist/ui/theme-switch/ThemeSwitch.module.scss.js.map +1 -0
  62. package/dist/ui/theme-switch/index.js +38 -0
  63. package/dist/ui/theme-switch/index.js.map +1 -0
  64. package/dist/ui/theme-toggle/index.js +36 -0
  65. package/dist/ui/theme-toggle/index.js.map +1 -0
  66. package/dist/ui/tooltip/index.js +11 -11
  67. package/dist/ui/tooltip/index.js.map +1 -1
  68. package/dist/utils/saveFeedback.js.map +1 -1
  69. package/package.json +6 -2
  70. package/styles/instrument.css +0 -2
  71. package/dist/shell/BackHomeButton/index.js +0 -23
  72. package/dist/shell/BackHomeButton/index.js.map +0 -1
  73. package/dist/types/shell/BackHomeButton/index.d.ts +0 -7
  74. package/dist/types/shell/BackHomeButton/index.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog — @stoa-dev/kit
2
2
 
3
+ ## Unreleased
4
+
5
+ - Neuer Export `@stoa-dev/kit/autosave`: `createAutosave<T>()` mit typisiertem
6
+ Provider und Hook, dazu ein unabhängig von React nutzbarer `AutosaveController`.
7
+ - Autosave und manuelles Speichern teilen sich eine serielle Warteschlange:
8
+ Debounce, maximale Wartezeit, neuester Entwurf während laufender Schreibvorgänge,
9
+ Schreibsperre, explizites Wiederholen und Fehlerzustand ohne Datenverlust im Speicher.
10
+ - `SaveStatus` unterstützt nun auch `pending` (ungespeicherte Änderungen), mit
11
+ Übersetzungen in allen vier Sprachen.
12
+ - Storybook-Beispiele für Autosave, manuelles Speichern und Fehler/Wiederholung;
13
+ Unit-Tests für die Speichersteuerung (`npm test`).
14
+
3
15
  ## 1.0.0
4
16
 
5
17
  Erste stabile Version: neues Design, neue Anzeige-Bausteine und die gemeinsamen
package/README.md CHANGED
@@ -5,9 +5,10 @@ Gemeinsame React-Komponenten, Hooks, Hilfsfunktionen, Lizenz-UI und Theme der ST
5
5
  | Import | Inhalt |
6
6
  |---|---|
7
7
  | `@stoa-dev/kit/ui` | shadcn-Primitives (Button, Dialog, Select, Calendar, …) |
8
- | `@stoa-dev/kit/shell` | AppNavigation, SectionNavigation, PageHeading, BrandLines, Spinner, BackHomeButton, ErrorBoundary, ConfirmDialog, DatePickerInput, NativeSelect, UploadButton, StartupProvider/`useStartup`, StartupAnimation, SaveStatus, TagInput, ValidatedInput, ExternalLink, AnimatedSwap |
8
+ | `@stoa-dev/kit/shell` | AppNavigation, SubNavigation, SetupWizard, PageHeading, BrandLines, Spinner, BackButton, ErrorBoundary, ConfirmDialog, DatePickerInput, NativeSelect, UploadButton, StartupProvider/`useStartup`, StartupAnimation, SaveStatus, 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 |
11
+ | `@stoa-dev/kit/autosave` | `createAutosave<T>()`, typisierte Provider/Hooks, `AutosaveController` |
11
12
  | `@stoa-dev/kit/hooks` | `useOnlineStatus`, `useRouting<Route>()` |
12
13
  | `@stoa-dev/kit/utils` | `cn`, `formatDate`, `formatTimestamp`, `parseHexColor`, `SaveFeedback`, … |
13
14
  | `@stoa-dev/kit/i18n` | `registerStoaLocales`, `supportedLanguages`, Namespace `stoa` (de, de-AT, en, it) |
@@ -100,3 +101,76 @@ die Schriften „Mona Sans“ und „Mona Sans Mono“ (github.com/github/mona-s
100
101
  Fallback auf Geist bzw. die System-Monospace). Im Storybook über die
101
102
  Toolbar „Design“ umschaltbar.
102
103
 
104
+
105
+ ## Autosave und manuelles Speichern
106
+
107
+ `createAutosave<T>()` erzeugt ein zusammengehöriges Paar aus `AutosaveProvider`
108
+ und `useAutosave`. Die Factory einmal auf Modulebene aufrufen. Jeder gemountete
109
+ Provider hält einen unabhängigen Datensatz und dessen Schreibwarteschlange.
110
+
111
+ ```tsx
112
+ import { createAutosave } from '@stoa-dev/kit/autosave'
113
+
114
+ type Preferences = { language: string; theme: 'light' | 'dark' }
115
+ export const { AutosaveProvider, useAutosave } = createAutosave<Preferences>()
116
+
117
+ // Erst nach erfolgreichem Laden mounten; initialValue gilt als bereits gespeichert.
118
+ // savePreferences muss erst auflösen, wenn die Speicherung abgeschlossen ist.
119
+ <AutosaveProvider
120
+ initialValue={loadedPreferences}
121
+ save={savePreferences}
122
+ enabled={canWrite}
123
+ debounceMs={600}
124
+ maxWaitMs={5000}
125
+ >
126
+ <PreferencesEditor />
127
+ </AutosaveProvider>
128
+
129
+ function PreferencesEditor() {
130
+ const { value, setValue, dirty, status, error, flush, retry } = useAutosave()
131
+ // Beispiel für ein Formularfeld:
132
+ // setValue(previous => ({ ...previous, language: 'it' }))
133
+ // Manueller Button: await flush(); Fehler anzeigen oder über status behandeln.
134
+ // Wiederholen nach Fehler: await retry().
135
+ return <button disabled={!dirty || status === 'saving'}
136
+ onClick={() => { void flush().catch(console.error) }}>Speichern</button>
137
+ }
138
+ ```
139
+
140
+ - `value` immer unveränderlich aktualisieren; vorhandene Objekte nicht mutieren.
141
+ Nur gültige Daten an `setValue` übergeben. Unvollständige Formulartexte separat
142
+ halten. Ein abgelehnter `save`-Aufruf bewahrt den neuesten Entwurf.
143
+ - Standard: Speicherung nach 600 ms Eingabepause, spätestens nach 5 s fortlaufender
144
+ Änderungen, sofern kein Schreibvorgang läuft. Während einer Speicherung werden
145
+ neue Änderungen gesammelt und anschließend als neuester Stand geschrieben.
146
+ - `autoSave={false}` bietet ausschließlich manuelles Speichern über `flush`/`retry`.
147
+ `enabled={false}` sperrt auch manuelle Schreibversuche; Änderungen bleiben im
148
+ Speicher. Die App muss Berechtigungen zusätzlich im Backend prüfen.
149
+ - `flush()` wartet auch auf Änderungen während eines laufenden Schreibvorgangs.
150
+ Gleichzeitige Aufrufe teilen sich eine Promise. Fehler werden weitergereicht;
151
+ automatische Fehler erzeugen keine unbegrenzte Wiederholungsschleife.
152
+ `retry()` oder eine neue Änderung können einen weiteren Versuch auslösen.
153
+ - `status`: `idle`, `pending`, `saving`, `saved`, `error`; zusätzlich `dirty`,
154
+ `error`, `editRevision` und `successfulSaves`. `SaveStatus` aus `/shell` versteht
155
+ `pending`, `saving`, `saved`, `error` und `null`. `idle` als `null` abbilden.
156
+ - Den Provider oberhalb wechselnder Routen halten. Beim Unmount werden Timer
157
+ gestoppt, ausstehende Änderungen werden **nicht automatisch gespeichert**.
158
+ Vor dem bewussten Dokumentwechsel `await flush()` ausführen, dann für das neue
159
+ Dokument mit einem neuen React-`key` mounten. Änderungen an `initialValue`
160
+ setzen einen bestehenden Provider absichtlich nicht zurück.
161
+ - React StrictMode wird unterstützt. `AutosaveController<T>` stellt dieselbe
162
+ Steuerung ohne React bereit (`start`, `stop`, `setValue`, `flush`, `subscribe`,
163
+ `getSnapshot`, `configure`).
164
+
165
+ Der Provider koordiniert eine schreibende Instanz. Atomare Dateiablage,
166
+ Datenbankschemata, Migrationen, Konflikte zwischen Fenstern/Prozessen und
167
+ Backups liegen beim Speicheradapter. Es gibt keine Garantie für noch nicht
168
+ persistierte Änderungen bei Prozessabsturz, erzwungenem Beenden oder Stromausfall.
169
+
170
+ Das Desktop-Boilerplate enthält ein Beispiel mit den vorhandenen Tauri-Commands
171
+ und `localStorage` für die Browser-Vorschau. Sein nativer Exit-Guard fängt
172
+ Fensterschließen und reguläres App-Beenden ab, wartet auf `flush()` und lässt die
173
+ App bei Speicherfehlern geöffnet. Die Browser-Vorschau warnt bei ungespeicherten
174
+ Änderungen vor dem Verlassen; Browser erlauben keine verlässliche asynchrone
175
+ Speicherung während des Schließens. Diese Integration ist app-spezifisch und
176
+ wird vom Kit nicht automatisch registriert.
@@ -0,0 +1,93 @@
1
+ class h {
2
+ options;
3
+ snapshot;
4
+ savedRevision = 0;
5
+ listeners = /* @__PURE__ */ new Set();
6
+ timer;
7
+ firstEditAt;
8
+ operation;
9
+ active = !1;
10
+ constructor(s) {
11
+ this.options = s, this.snapshot = {
12
+ value: s.initialValue,
13
+ status: "idle",
14
+ dirty: !1,
15
+ error: null,
16
+ editRevision: 0,
17
+ successfulSaves: 0
18
+ };
19
+ }
20
+ getSnapshot = () => this.snapshot;
21
+ subscribe = (s) => (this.listeners.add(s), () => {
22
+ this.listeners.delete(s);
23
+ });
24
+ publish(s) {
25
+ this.snapshot = { ...this.snapshot, ...s };
26
+ for (const t of this.listeners) t();
27
+ }
28
+ configure(s) {
29
+ this.options = { ...this.options, ...s }, this.schedule();
30
+ }
31
+ /** Safe to stop/start again during React StrictMode's effect replay. */
32
+ start = () => {
33
+ this.active = !0, this.schedule();
34
+ };
35
+ stop = () => {
36
+ this.active = !1, clearTimeout(this.timer);
37
+ };
38
+ setValue = (s) => {
39
+ const t = typeof s == "function" ? s(this.snapshot.value) : s;
40
+ Object.is(t, this.snapshot.value) || (this.firstEditAt ??= Date.now(), this.publish({
41
+ value: t,
42
+ editRevision: this.snapshot.editRevision + 1,
43
+ dirty: !0,
44
+ status: this.operation ? "saving" : "pending",
45
+ error: null
46
+ }), this.schedule());
47
+ };
48
+ schedule() {
49
+ if (clearTimeout(this.timer), !this.active || this.options.enabled === !1 || this.options.autoSave === !1 || !this.snapshot.dirty || this.operation || this.snapshot.status === "error")
50
+ return;
51
+ const s = Math.max(0, this.options.debounceMs ?? 600), t = Math.max(
52
+ 0,
53
+ (this.options.maxWaitMs ?? 5e3) - (Date.now() - (this.firstEditAt ?? Date.now()))
54
+ );
55
+ this.timer = setTimeout(
56
+ () => {
57
+ this.flush().catch(() => {
58
+ });
59
+ },
60
+ Math.min(s, t)
61
+ );
62
+ }
63
+ /** Drains edits made during a write too. Concurrent callers share one promise. */
64
+ flush = () => {
65
+ if (clearTimeout(this.timer), this.operation) return this.operation;
66
+ if (!this.snapshot.dirty) return Promise.resolve();
67
+ const s = Promise.resolve().then(async () => {
68
+ for (; this.snapshot.dirty; ) {
69
+ if (this.options.enabled === !1)
70
+ throw new Error("Autosave writes are disabled");
71
+ const { value: t, editRevision: e } = this.snapshot;
72
+ this.publish({ status: "saving", error: null }), await this.options.save(t), this.savedRevision = e;
73
+ const i = this.snapshot.editRevision !== this.savedRevision;
74
+ this.publish({
75
+ dirty: i,
76
+ successfulSaves: this.snapshot.successfulSaves + 1,
77
+ status: i ? "saving" : "saved"
78
+ });
79
+ }
80
+ this.firstEditAt = void 0;
81
+ }).catch((t) => {
82
+ throw this.publish({ status: "error", error: t }), t;
83
+ }).finally(() => {
84
+ this.operation = void 0, this.schedule();
85
+ });
86
+ return this.operation = s, s;
87
+ };
88
+ retry = () => this.flush();
89
+ }
90
+ export {
91
+ h as AutosaveController
92
+ };
93
+ //# sourceMappingURL=controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controller.js","sources":["../../src/autosave/controller.ts"],"sourcesContent":["export type AutosaveStatus = 'idle' | 'pending' | 'saving' | 'saved' | 'error'\n\nexport interface AutosaveOptions<T> {\n\tinitialValue: T\n\tsave: (value: T) => Promise<void>\n\t/** Disables all writes, including flush/retry. Pending edits are retained. */\n\tenabled?: boolean\n\t/** Disable automatic writes while keeping manual flush available. */\n\tautoSave?: boolean\n\tdebounceMs?: number\n\tmaxWaitMs?: number\n}\n\nexport interface AutosaveSnapshot<T> {\n\tvalue: T\n\tstatus: AutosaveStatus\n\tdirty: boolean\n\terror: unknown\n\teditRevision: number\n\tsuccessfulSaves: number\n}\n\n/** One immutable document, one writer. No I/O is performed by the constructor. */\nexport class AutosaveController<T> {\n\tprivate options: AutosaveOptions<T>\n\tprivate snapshot: AutosaveSnapshot<T>\n\tprivate savedRevision = 0\n\tprivate listeners = new Set<() => void>()\n\tprivate timer?: ReturnType<typeof setTimeout>\n\tprivate firstEditAt?: number\n\tprivate operation?: Promise<void>\n\tprivate active = false\n\n\tconstructor(options: AutosaveOptions<T>) {\n\t\tthis.options = options\n\t\tthis.snapshot = {\n\t\t\tvalue: options.initialValue,\n\t\t\tstatus: 'idle',\n\t\t\tdirty: false,\n\t\t\terror: null,\n\t\t\teditRevision: 0,\n\t\t\tsuccessfulSaves: 0,\n\t\t}\n\t}\n\n\tgetSnapshot = () => this.snapshot\n\tsubscribe = (listener: () => void) => {\n\t\tthis.listeners.add(listener)\n\t\treturn () => {\n\t\t\tthis.listeners.delete(listener)\n\t\t}\n\t}\n\tprivate publish(patch: Partial<AutosaveSnapshot<T>>) {\n\t\tthis.snapshot = { ...this.snapshot, ...patch }\n\t\tfor (const listener of this.listeners) listener()\n\t}\n\tconfigure(options: Omit<AutosaveOptions<T>, 'initialValue'>) {\n\t\tthis.options = { ...this.options, ...options }\n\t\tthis.schedule()\n\t}\n\t/** Safe to stop/start again during React StrictMode's effect replay. */\n\tstart = () => {\n\t\tthis.active = true\n\t\tthis.schedule()\n\t}\n\tstop = () => {\n\t\tthis.active = false\n\t\tclearTimeout(this.timer)\n\t}\n\n\tsetValue = (update: T | ((previous: T) => T)) => {\n\t\tconst value =\n\t\t\ttypeof update === 'function'\n\t\t\t\t? (update as (previous: T) => T)(this.snapshot.value)\n\t\t\t\t: update\n\t\tif (Object.is(value, this.snapshot.value)) return\n\t\tthis.firstEditAt ??= Date.now()\n\t\tthis.publish({\n\t\t\tvalue,\n\t\t\teditRevision: this.snapshot.editRevision + 1,\n\t\t\tdirty: true,\n\t\t\tstatus: this.operation ? 'saving' : 'pending',\n\t\t\terror: null,\n\t\t})\n\t\tthis.schedule()\n\t}\n\n\tprivate schedule() {\n\t\tclearTimeout(this.timer)\n\t\tif (\n\t\t\t!this.active ||\n\t\t\tthis.options.enabled === false ||\n\t\t\tthis.options.autoSave === false ||\n\t\t\t!this.snapshot.dirty ||\n\t\t\tthis.operation ||\n\t\t\tthis.snapshot.status === 'error'\n\t\t)\n\t\t\treturn\n\t\tconst debounce = Math.max(0, this.options.debounceMs ?? 600)\n\t\tconst remaining = Math.max(\n\t\t\t0,\n\t\t\t(this.options.maxWaitMs ?? 5000) -\n\t\t\t\t(Date.now() - (this.firstEditAt ?? Date.now())),\n\t\t)\n\t\tthis.timer = setTimeout(\n\t\t\t() => {\n\t\t\t\tvoid this.flush().catch(() => {})\n\t\t\t},\n\t\t\tMath.min(debounce, remaining),\n\t\t)\n\t}\n\n\t/** Drains edits made during a write too. Concurrent callers share one promise. */\n\tflush = (): Promise<void> => {\n\t\tclearTimeout(this.timer)\n\t\tif (this.operation) return this.operation\n\t\tif (!this.snapshot.dirty) return Promise.resolve()\n\t\t// Start on a microtask so synchronous save errors cannot leave a stuck operation.\n\t\tconst operation = Promise.resolve()\n\t\t\t.then(async () => {\n\t\t\t\twhile (this.snapshot.dirty) {\n\t\t\t\t\tif (this.options.enabled === false)\n\t\t\t\t\t\tthrow new Error('Autosave writes are disabled')\n\t\t\t\t\tconst { value, editRevision } = this.snapshot\n\t\t\t\t\tthis.publish({ status: 'saving', error: null })\n\t\t\t\t\tawait this.options.save(value)\n\t\t\t\t\tthis.savedRevision = editRevision\n\t\t\t\t\tconst dirty = this.snapshot.editRevision !== this.savedRevision\n\t\t\t\t\tthis.publish({\n\t\t\t\t\t\tdirty,\n\t\t\t\t\t\tsuccessfulSaves: this.snapshot.successfulSaves + 1,\n\t\t\t\t\t\tstatus: dirty ? 'saving' : 'saved',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tthis.firstEditAt = undefined\n\t\t\t})\n\t\t\t.catch((error: unknown) => {\n\t\t\t\tthis.publish({ status: 'error', error })\n\t\t\t\tthrow error\n\t\t\t})\n\t\t\t.finally(() => {\n\t\t\t\tthis.operation = undefined\n\t\t\t\tthis.schedule()\n\t\t\t})\n\t\tthis.operation = operation\n\t\treturn operation\n\t}\n\tretry = () => this.flush()\n}\n"],"names":["AutosaveController","options","listener","patch","update","value","debounce","remaining","operation","editRevision","dirty","error"],"mappings":"AAuBO,MAAMA,EAAsB;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,gBAAgB;AAAA,EAChB,gCAAgB,IAAA;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EAEjB,YAAYC,GAA6B;AACxC,SAAK,UAAUA,GACf,KAAK,WAAW;AAAA,MACf,OAAOA,EAAQ;AAAA,MACf,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,cAAc;AAAA,MACd,iBAAiB;AAAA,IAAA;AAAA,EAEnB;AAAA,EAEA,cAAc,MAAM,KAAK;AAAA,EACzB,YAAY,CAACC,OACZ,KAAK,UAAU,IAAIA,CAAQ,GACpB,MAAM;AACZ,SAAK,UAAU,OAAOA,CAAQ;AAAA,EAC/B;AAAA,EAEO,QAAQC,GAAqC;AACpD,SAAK,WAAW,EAAE,GAAG,KAAK,UAAU,GAAGA,EAAA;AACvC,eAAWD,KAAY,KAAK,UAAW,CAAAA,EAAA;AAAA,EACxC;AAAA,EACA,UAAUD,GAAmD;AAC5D,SAAK,UAAU,EAAE,GAAG,KAAK,SAAS,GAAGA,EAAA,GACrC,KAAK,SAAA;AAAA,EACN;AAAA;AAAA,EAEA,QAAQ,MAAM;AACb,SAAK,SAAS,IACd,KAAK,SAAA;AAAA,EACN;AAAA,EACA,OAAO,MAAM;AACZ,SAAK,SAAS,IACd,aAAa,KAAK,KAAK;AAAA,EACxB;AAAA,EAEA,WAAW,CAACG,MAAqC;AAChD,UAAMC,IACL,OAAOD,KAAW,aACdA,EAA8B,KAAK,SAAS,KAAK,IAClDA;AACJ,IAAI,OAAO,GAAGC,GAAO,KAAK,SAAS,KAAK,MACxC,KAAK,gBAAgB,KAAK,IAAA,GAC1B,KAAK,QAAQ;AAAA,MACZ,OAAAA;AAAA,MACA,cAAc,KAAK,SAAS,eAAe;AAAA,MAC3C,OAAO;AAAA,MACP,QAAQ,KAAK,YAAY,WAAW;AAAA,MACpC,OAAO;AAAA,IAAA,CACP,GACD,KAAK,SAAA;AAAA,EACN;AAAA,EAEQ,WAAW;AAElB,QADA,aAAa,KAAK,KAAK,GAEtB,CAAC,KAAK,UACN,KAAK,QAAQ,YAAY,MACzB,KAAK,QAAQ,aAAa,MAC1B,CAAC,KAAK,SAAS,SACf,KAAK,aACL,KAAK,SAAS,WAAW;AAEzB;AACD,UAAMC,IAAW,KAAK,IAAI,GAAG,KAAK,QAAQ,cAAc,GAAG,GACrDC,IAAY,KAAK;AAAA,MACtB;AAAA,OACC,KAAK,QAAQ,aAAa,QACzB,KAAK,SAAS,KAAK,eAAe,KAAK,IAAA;AAAA,IAAI;AAE9C,SAAK,QAAQ;AAAA,MACZ,MAAM;AACL,QAAK,KAAK,QAAQ,MAAM,MAAM;AAAA,QAAC,CAAC;AAAA,MACjC;AAAA,MACA,KAAK,IAAID,GAAUC,CAAS;AAAA,IAAA;AAAA,EAE9B;AAAA;AAAA,EAGA,QAAQ,MAAqB;AAE5B,QADA,aAAa,KAAK,KAAK,GACnB,KAAK,UAAW,QAAO,KAAK;AAChC,QAAI,CAAC,KAAK,SAAS,MAAO,QAAO,QAAQ,QAAA;AAEzC,UAAMC,IAAY,QAAQ,QAAA,EACxB,KAAK,YAAY;AACjB,aAAO,KAAK,SAAS,SAAO;AAC3B,YAAI,KAAK,QAAQ,YAAY;AAC5B,gBAAM,IAAI,MAAM,8BAA8B;AAC/C,cAAM,EAAE,OAAAH,GAAO,cAAAI,EAAA,IAAiB,KAAK;AACrC,aAAK,QAAQ,EAAE,QAAQ,UAAU,OAAO,MAAM,GAC9C,MAAM,KAAK,QAAQ,KAAKJ,CAAK,GAC7B,KAAK,gBAAgBI;AACrB,cAAMC,IAAQ,KAAK,SAAS,iBAAiB,KAAK;AAClD,aAAK,QAAQ;AAAA,UACZ,OAAAA;AAAA,UACA,iBAAiB,KAAK,SAAS,kBAAkB;AAAA,UACjD,QAAQA,IAAQ,WAAW;AAAA,QAAA,CAC3B;AAAA,MACF;AACA,WAAK,cAAc;AAAA,IACpB,CAAC,EACA,MAAM,CAACC,MAAmB;AAC1B,iBAAK,QAAQ,EAAE,QAAQ,SAAS,OAAAA,GAAO,GACjCA;AAAA,IACP,CAAC,EACA,QAAQ,MAAM;AACd,WAAK,YAAY,QACjB,KAAK,SAAA;AAAA,IACN,CAAC;AACF,gBAAK,YAAYH,GACVA;AAAA,EACR;AAAA,EACA,QAAQ,MAAM,KAAK,MAAA;AACpB;"}
@@ -0,0 +1,7 @@
1
+ import { AutosaveController as r } from "./controller.js";
2
+ import { createAutosave as a } from "./provider.js";
3
+ export {
4
+ r as AutosaveController,
5
+ a as createAutosave
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,48 @@
1
+ import { jsx as h } from "react/jsx-runtime";
2
+ import { createContext as a, useContext as m, useSyncExternalStore as v, useState as A, useEffect as f } from "react";
3
+ import { AutosaveController as g } from "./controller.js";
4
+ function y() {
5
+ const c = a(null);
6
+ function l({
7
+ children: t,
8
+ initialValue: i,
9
+ save: e,
10
+ enabled: o = !0,
11
+ autoSave: n = !0,
12
+ debounceMs: s = 600,
13
+ maxWaitMs: u = 5e3
14
+ }) {
15
+ const [r] = A(
16
+ () => new g({
17
+ initialValue: i,
18
+ save: e,
19
+ enabled: o,
20
+ autoSave: n,
21
+ debounceMs: s,
22
+ maxWaitMs: u
23
+ })
24
+ );
25
+ return f(() => {
26
+ r.configure({ save: e, enabled: o, autoSave: n, debounceMs: s, maxWaitMs: u });
27
+ }, [r, e, o, n, s, u]), f(() => (r.start(), r.stop), [r]), /* @__PURE__ */ h(c.Provider, { value: r, children: t });
28
+ }
29
+ function p() {
30
+ const t = m(c);
31
+ if (!t) throw new Error("AutosaveProvider is missing");
32
+ return {
33
+ ...v(
34
+ t.subscribe,
35
+ t.getSnapshot,
36
+ t.getSnapshot
37
+ ),
38
+ setValue: t.setValue,
39
+ flush: t.flush,
40
+ retry: t.retry
41
+ };
42
+ }
43
+ return { AutosaveProvider: l, useAutosave: p };
44
+ }
45
+ export {
46
+ y as createAutosave
47
+ };
48
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sources":["../../src/autosave/provider.tsx"],"sourcesContent":["import {\n\tcreateContext,\n\ttype ReactNode,\n\tuseContext,\n\tuseEffect,\n\tuseState,\n\tuseSyncExternalStore,\n} from 'react'\nimport { AutosaveController, type AutosaveOptions } from './controller'\n\n/** Create once at module scope to keep each document's context fully typed. */\nexport function createAutosave<T>() {\n\tconst Context = createContext<AutosaveController<T> | null>(null)\n\tfunction AutosaveProvider({\n\t\tchildren,\n\t\tinitialValue,\n\t\tsave,\n\t\tenabled = true,\n\t\tautoSave = true,\n\t\tdebounceMs = 600,\n\t\tmaxWaitMs = 5000,\n\t}: AutosaveOptions<T> & { children: ReactNode }) {\n\t\tconst [controller] = useState(\n\t\t\t() =>\n\t\t\t\tnew AutosaveController({\n\t\t\t\t\tinitialValue,\n\t\t\t\t\tsave,\n\t\t\t\t\tenabled,\n\t\t\t\t\tautoSave,\n\t\t\t\t\tdebounceMs,\n\t\t\t\t\tmaxWaitMs,\n\t\t\t\t}),\n\t\t)\n\t\tuseEffect(() => {\n\t\t\tcontroller.configure({ save, enabled, autoSave, debounceMs, maxWaitMs })\n\t\t}, [controller, save, enabled, autoSave, debounceMs, maxWaitMs])\n\t\tuseEffect(() => {\n\t\t\tcontroller.start()\n\t\t\treturn controller.stop\n\t\t}, [controller])\n\t\treturn <Context.Provider value={controller}>{children}</Context.Provider>\n\t}\n\tfunction useAutosave() {\n\t\tconst controller = useContext(Context)\n\t\tif (!controller) throw new Error('AutosaveProvider is missing')\n\t\tconst snapshot = useSyncExternalStore(\n\t\t\tcontroller.subscribe,\n\t\t\tcontroller.getSnapshot,\n\t\t\tcontroller.getSnapshot,\n\t\t)\n\t\treturn {\n\t\t\t...snapshot,\n\t\t\tsetValue: controller.setValue,\n\t\t\tflush: controller.flush,\n\t\t\tretry: controller.retry,\n\t\t}\n\t}\n\treturn { AutosaveProvider, useAutosave }\n}\n"],"names":["createAutosave","Context","createContext","AutosaveProvider","children","initialValue","save","enabled","autoSave","debounceMs","maxWaitMs","controller","useState","AutosaveController","useEffect","useAutosave","useContext","useSyncExternalStore"],"mappings":";;;AAWO,SAASA,IAAoB;AACnC,QAAMC,IAAUC,EAA4C,IAAI;AAChE,WAASC,EAAiB;AAAA,IACzB,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC,IAAU;AAAA,IACV,UAAAC,IAAW;AAAA,IACX,YAAAC,IAAa;AAAA,IACb,WAAAC,IAAY;AAAA,EAAA,GACoC;AAChD,UAAM,CAACC,CAAU,IAAIC;AAAA,MACpB,MACC,IAAIC,EAAmB;AAAA,QACtB,cAAAR;AAAA,QACA,MAAAC;AAAA,QACA,SAAAC;AAAA,QACA,UAAAC;AAAA,QACA,YAAAC;AAAA,QACA,WAAAC;AAAA,MAAA,CACA;AAAA,IAAA;AAEH,WAAAI,EAAU,MAAM;AACf,MAAAH,EAAW,UAAU,EAAE,MAAAL,GAAM,SAAAC,GAAS,UAAAC,GAAU,YAAAC,GAAY,WAAAC,GAAW;AAAA,IACxE,GAAG,CAACC,GAAYL,GAAMC,GAASC,GAAUC,GAAYC,CAAS,CAAC,GAC/DI,EAAU,OACTH,EAAW,MAAA,GACJA,EAAW,OAChB,CAACA,CAAU,CAAC,qBACPV,EAAQ,UAAR,EAAiB,OAAOU,GAAa,UAAAP,GAAS;AAAA,EACvD;AACA,WAASW,IAAc;AACtB,UAAMJ,IAAaK,EAAWf,CAAO;AACrC,QAAI,CAACU,EAAY,OAAM,IAAI,MAAM,6BAA6B;AAM9D,WAAO;AAAA,MACN,GANgBM;AAAA,QAChBN,EAAW;AAAA,QACXA,EAAW;AAAA,QACXA,EAAW;AAAA,MAAA;AAAA,MAIX,UAAUA,EAAW;AAAA,MACrB,OAAOA,EAAW;AAAA,MAClB,OAAOA,EAAW;AAAA,IAAA;AAAA,EAEpB;AACA,SAAO,EAAE,kBAAAR,GAAkB,aAAAY,EAAA;AAC5B;"}
@@ -1,20 +1,22 @@
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", switchTheme: "Aussehn wechseln", loadingSettings: "Einstöllungen ladn …" }, i = { selectDate: "Datum aussuachn", today: "Heit", nextMonth: "Nächster Monat", previousMonth: "Voriger Monat", chooseMonth: "Monat aussuachn", chooseYear: "Joahr aussuachn", navigation: "Kalendernavigation", selected: "ausgsuacht" }, r = { 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." } }, t = { 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" } }, a = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen." }, s = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, o = {
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 …" }, i = { selectDate: "Datum aussuachn", today: "Heit", nextMonth: "Nächster Monat", previousMonth: "Voriger Monat", chooseMonth: "Monat aussuachn", chooseYear: "Joahr aussuachn", navigation: "Kalendernavigation", selected: "ausgsuacht" }, r = { 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." } }, t = { 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" } }, 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 versuch es noch einmal." }, s = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen.", pending: "Ungespeicherte Änderungen" }, o = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, d = {
2
2
  actions: e,
3
3
  app: n,
4
4
  datePicker: i,
5
5
  licensing: r,
6
6
  licenseProfile: t,
7
- autosave: a,
8
- tags: s
7
+ setupWizard: a,
8
+ autosave: s,
9
+ tags: o
9
10
  };
10
11
  export {
11
12
  e as actions,
12
13
  n as app,
13
- a as autosave,
14
+ s as autosave,
14
15
  i as datePicker,
15
- o as default,
16
+ d as default,
16
17
  t as licenseProfile,
17
18
  r as licensing,
18
- s as tags
19
+ a as setupWizard,
20
+ o as tags
19
21
  };
20
22
  //# sourceMappingURL=at.json.js.map
@@ -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,20 +1,22 @@
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", switchTheme: "Darstellung wechseln", loadingSettings: "Einstellungen laden …" }, n = { 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" }, r = { 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." } }, t = { 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 = { saving: "Wird gespeichert …", saved: "Änderungen gespeichert", error: "Speichern fehlgeschlagen." }, s = { placeholder: "Schlagwort eingeben, mit Enter bestätigen", remove: "Schlagwort „{{tag}}“ entfernen" }, l = {
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 …" }, n = { 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" }, r = { 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." } }, t = { 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" } }, 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 versuche es erneut." }, a = { 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 = {
2
2
  actions: e,
3
3
  app: i,
4
4
  datePicker: n,
5
5
  licensing: r,
6
6
  licenseProfile: t,
7
+ setupWizard: s,
7
8
  autosave: a,
8
- tags: s
9
+ tags: l
9
10
  };
10
11
  export {
11
12
  e as actions,
12
13
  i as app,
13
14
  a as autosave,
14
15
  n as datePicker,
15
- l as default,
16
+ c as default,
16
17
  t as licenseProfile,
17
18
  r as licensing,
18
- s as tags
19
+ s as setupWizard,
20
+ l as tags
19
21
  };
20
22
  //# sourceMappingURL=de.json.js.map
@@ -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,20 +1,22 @@
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", switchTheme: "Change appearance", loadingSettings: "Loading settings …" }, a = { selectDate: "Select date", today: "Today", nextMonth: "Next month", previousMonth: "Previous month", chooseMonth: "Choose month", chooseYear: "Choose year", navigation: "Calendar navigation", selected: "selected" }, t = { 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." } }, n = { 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 = { saving: "Saving …", saved: "Changes saved", error: "Saving failed." }, c = { placeholder: "Type a tag and press Enter", remove: "Remove tag “{{tag}}”" }, o = {
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 …" }, a = { selectDate: "Select date", today: "Today", nextMonth: "Next month", previousMonth: "Previous month", chooseMonth: "Choose month", chooseYear: "Choose year", navigation: "Calendar navigation", selected: "selected" }, t = { 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." } }, n = { 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." }, c = { saving: "Saving …", saved: "Changes saved", error: "Saving failed.", pending: "Unsaved changes" }, r = { placeholder: "Type a tag and press Enter", remove: "Remove tag “{{tag}}”" }, o = {
2
2
  actions: e,
3
3
  app: i,
4
4
  datePicker: a,
5
5
  licensing: t,
6
6
  licenseProfile: n,
7
- autosave: s,
8
- tags: c
7
+ setupWizard: s,
8
+ autosave: c,
9
+ tags: r
9
10
  };
10
11
  export {
11
12
  e as actions,
12
13
  i as app,
13
- s as autosave,
14
+ c as autosave,
14
15
  a as datePicker,
15
16
  o as default,
16
17
  n as licenseProfile,
17
18
  t as licensing,
18
- c as tags
19
+ s as setupWizard,
20
+ r as tags
19
21
  };
20
22
  //# sourceMappingURL=en.json.js.map
@@ -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,20 +1,22 @@
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", switchTheme: "Cambia aspetto", loadingSettings: "Caricamento impostazioni …" }, a = { selectDate: "Seleziona data", today: "Oggi", nextMonth: "Mese successivo", previousMonth: "Mese precedente", chooseMonth: "Scegli mese", chooseYear: "Scegli anno", navigation: "Navigazione del calendario", selected: "selezionato" }, o = { 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." } }, t = { 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" } }, n = { saving: "Salvataggio …", saved: "Modifiche salvate", error: "Salvataggio non riuscito." }, l = { placeholder: "Scrivi una parola chiave e premi Invio", remove: "Rimuovi “{{tag}}”" }, s = {
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 …" }, a = { selectDate: "Seleziona data", today: "Oggi", nextMonth: "Mese successivo", previousMonth: "Mese precedente", chooseMonth: "Scegli mese", chooseYear: "Scegli anno", navigation: "Navigazione del calendario", selected: "selezionato" }, o = { 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." } }, t = { 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" } }, n = { 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." }, l = { saving: "Salvataggio …", saved: "Modifiche salvate", error: "Salvataggio non riuscito.", pending: "Modifiche non salvate" }, s = { placeholder: "Scrivi una parola chiave e premi Invio", remove: "Rimuovi “{{tag}}”" }, c = {
2
2
  actions: e,
3
3
  app: i,
4
4
  datePicker: a,
5
5
  licensing: o,
6
6
  licenseProfile: t,
7
- autosave: n,
8
- tags: l
7
+ setupWizard: n,
8
+ autosave: l,
9
+ tags: s
9
10
  };
10
11
  export {
11
12
  e as actions,
12
13
  i as app,
13
- n as autosave,
14
+ l as autosave,
14
15
  a as datePicker,
15
- s as default,
16
+ c as default,
16
17
  t as licenseProfile,
17
18
  o as licensing,
18
- l as tags
19
+ n as setupWizard,
20
+ s as tags
19
21
  };
20
22
  //# sourceMappingURL=it.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"it.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"it.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/kit.css CHANGED
@@ -1 +1 @@
1
- .stoa-AppNavigation-root-12db{position:fixed;inset-block:.75rem;inset-inline-start:.75rem;z-index:40;display:flex;flex-direction:column;align-items:center;gap:.75rem;width:4rem;padding-block:1.25rem;border-radius:1rem;background:color-mix(in srgb,var(--card) 95%,transparent);box-shadow:var(--surface-shadow)}.stoa-AppNavigation-logo-12d7{width:2.25rem;height:2.25rem;margin-bottom:.75rem;border-radius:.5rem}.stoa-AppNavigation-divider-1ctl{width:1.5rem;margin-block:.5rem;border-top:1px solid var(--border)}.stoa-AppNavigation-spacer-8ruf{flex:1}.stoa-AppNavigation-menuButton-1gqk{position:relative}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]{background:var(--accent-wash);color:var(--foreground)}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]:before{content:"";position:absolute;left:-9px;width:3px;height:16px;border-radius:2px;background:var(--accent)}.stoa-AppNavigation-menuButton-1gqk svg{stroke:currentColor}@media(prefers-reduced-motion:reduce){.stoa-AppNavigation-menuButton-1gqk{transition:none}}.stoa-BrandLines-brand-lines-dcsr{display:inline-flex;flex:none;flex-direction:column;align-items:flex-start;gap:4px;width:20px;color:var(--accent)}.stoa-BrandLines-brand-lines-dcsr>i{display:block;width:100%;height:2px;border-radius:2px;background:currentColor}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(2){width:75%}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(3){width:50%}.stoa-BrandLines-brand-lines-loading-1z0s>i{transform-origin:left;animation:stoa-BrandLines-brand-line-pulse-7z2o 1.1s ease-in-out infinite alternate}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(2){animation-delay:.15s}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(3){animation-delay:.3s}@keyframes stoa-BrandLines-brand-line-pulse-7z2o{0%{opacity:.35;transform:scaleX(.55)}to{opacity:1;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.stoa-BrandLines-brand-lines-loading-1z0s>i{animation:none}}.stoa-PageHeading-page-heading-lq8m{display:flex;align-items:center;gap:.875rem;min-width:0;margin-block:.25rem .5rem;font-size:clamp(1.75rem,2.4vw,2.5rem);line-height:1.15;letter-spacing:-.045em;font-weight:650;overflow-wrap:anywhere}
1
+ .stoa-ThemeSwitch-track-1bx4{--thumb-size: 2.125rem;--track-inset: .25rem;position:relative;display:inline-grid;flex-shrink:0;grid-template-rows:var(--thumb-size);grid-template-columns:repeat(2,var(--thumb-size));gap:var(--track-inset);place-items:center;padding:var(--track-inset);border:1px solid var(--input);border-radius:999px;background:color-mix(in srgb,var(--muted) 65%,var(--card));color:var(--muted-foreground);cursor:pointer;transition:border-color .18s ease}.stoa-ThemeSwitch-track-1bx4:hover:not(:disabled){border-color:var(--muted-foreground)}.stoa-ThemeSwitch-track-1bx4:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}.stoa-ThemeSwitch-track-1bx4:disabled{cursor:not-allowed;opacity:.5}.stoa-ThemeSwitch-thumb-1bwy{position:absolute;inset-block-start:var(--track-inset);inset-inline-start:var(--track-inset);inline-size:var(--thumb-size);block-size:var(--thumb-size);border:1px solid color-mix(in srgb,var(--accent) 45%,var(--input));border-radius:50%;background:var(--card) linear-gradient(145deg,color-mix(in srgb,var(--accent) 16%,var(--card)),var(--card));box-shadow:0 1px 3px #00000029;transition:inset-inline-start .24s cubic-bezier(.2,.75,.25,1)}.stoa-ThemeSwitch-track-1bx4[data-state=checked] .stoa-ThemeSwitch-thumb-1bwy{inset-inline-start:calc(var(--thumb-size) + 2 * var(--track-inset))}.stoa-ThemeSwitch-sun-1skq,.stoa-ThemeSwitch-moon-czyl{position:relative;inline-size:1rem;block-size:1rem;pointer-events:none;transition:color .18s ease,scale .24s ease}.stoa-ThemeSwitch-track-1bx4[data-state=unchecked] .stoa-ThemeSwitch-sun-1skq,.stoa-ThemeSwitch-track-1bx4[data-state=checked] .stoa-ThemeSwitch-moon-czyl{color:var(--foreground);scale:1.125}@media(forced-colors:active){.stoa-ThemeSwitch-thumb-1bwy{border:2px solid Highlight}}@media(prefers-reduced-motion:reduce){.stoa-ThemeSwitch-track-1bx4,.stoa-ThemeSwitch-thumb-1bwy,.stoa-ThemeSwitch-sun-1skq,.stoa-ThemeSwitch-moon-czyl{transition:none}}.stoa-AppNavigation-root-12db{position:fixed;inset-block:.75rem;inset-inline-start:.75rem;z-index:40;display:flex;flex-direction:column;align-items:center;gap:.75rem;width:4rem;padding-block:1.25rem;border-radius:1rem;background:color-mix(in srgb,var(--card) 95%,transparent);box-shadow:var(--surface-shadow)}.stoa-AppNavigation-logo-12d7{width:2.25rem;height:2.25rem;margin-bottom:.75rem;border-radius:.5rem}.stoa-AppNavigation-divider-1ctl{width:1.5rem;margin-block:.5rem;border-top:1px solid var(--border)}.stoa-AppNavigation-spacer-8ruf{flex:1}.stoa-AppNavigation-menuButton-1gqk{position:relative}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]{background:var(--accent-wash);color:var(--foreground)}.stoa-AppNavigation-menuButton-1gqk[aria-current=page]:before{content:"";position:absolute;left:-9px;width:3px;height:16px;border-radius:2px;background:var(--accent)}.stoa-AppNavigation-menuButton-1gqk svg{stroke:currentColor}@media(prefers-reduced-motion:reduce){.stoa-AppNavigation-menuButton-1gqk{transition:none}}.stoa-BrandLines-brand-lines-dcsr{display:inline-flex;flex:none;flex-direction:column;align-items:flex-start;gap:4px;width:20px;color:var(--accent)}.stoa-BrandLines-brand-lines-dcsr>i{display:block;width:100%;height:2px;border-radius:2px;background:currentColor}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(2){width:75%}.stoa-BrandLines-brand-lines-dcsr>i:nth-child(3){width:50%}.stoa-BrandLines-brand-lines-loading-1z0s>i{transform-origin:left;animation:stoa-BrandLines-brand-line-pulse-7z2o 1.1s ease-in-out infinite alternate}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(2){animation-delay:.15s}.stoa-BrandLines-brand-lines-loading-1z0s>i:nth-child(3){animation-delay:.3s}@keyframes stoa-BrandLines-brand-line-pulse-7z2o{0%{opacity:.35;transform:scaleX(.55)}to{opacity:1;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.stoa-BrandLines-brand-lines-loading-1z0s>i{animation:none}}.stoa-PageHeading-page-heading-lq8m{display:flex;align-items:center;gap:.875rem;min-width:0;margin-block:.25rem .5rem;font-size:clamp(1.75rem,2.4vw,2.5rem);line-height:1.15;letter-spacing:-.045em;font-weight:650;overflow-wrap:anywhere}