triiiceratops 0.9.6 → 0.9.8

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 (189) hide show
  1. package/dist/chunks/{TriiiceratopsViewer-BGtsfUPF.js → TriiiceratopsViewer-C5AKP6W4.js} +4414 -4281
  2. package/dist/chunks/{openseadragon-BTypULhm.js → openseadragon-BOsWwPVT.js} +1 -1
  3. package/dist/components/DemoHeader.svelte +3 -6
  4. package/dist/paraglide/messages/_index.d.ts +1 -0
  5. package/dist/paraglide/messages/_index.js +1 -0
  6. package/dist/paraglide/messages/annotations_count.d.ts +2 -1
  7. package/dist/paraglide/messages/annotations_count.js +6 -5
  8. package/dist/paraglide/messages/attribution.d.ts +2 -1
  9. package/dist/paraglide/messages/attribution.js +6 -5
  10. package/dist/paraglide/messages/change_theme_label.d.ts +2 -1
  11. package/dist/paraglide/messages/change_theme_label.js +6 -5
  12. package/dist/paraglide/messages/close.d.ts +2 -1
  13. package/dist/paraglide/messages/close.js +6 -5
  14. package/dist/paraglide/messages/close_gallery.d.ts +2 -1
  15. package/dist/paraglide/messages/close_gallery.js +6 -5
  16. package/dist/paraglide/messages/close_menu.d.ts +2 -1
  17. package/dist/paraglide/messages/close_menu.js +6 -5
  18. package/dist/paraglide/messages/close_search.d.ts +2 -1
  19. package/dist/paraglide/messages/close_search.js +6 -5
  20. package/dist/paraglide/messages/copied.d.ts +2 -1
  21. package/dist/paraglide/messages/copied.js +6 -5
  22. package/dist/paraglide/messages/copy_config.d.ts +2 -1
  23. package/dist/paraglide/messages/copy_config.js +6 -5
  24. package/dist/paraglide/messages/demo_header_active_canvas.d.ts +2 -1
  25. package/dist/paraglide/messages/demo_header_active_canvas.js +6 -5
  26. package/dist/paraglide/messages/demo_header_external_controls.d.ts +2 -1
  27. package/dist/paraglide/messages/demo_header_external_controls.js +6 -5
  28. package/dist/paraglide/messages/docs.d.ts +2 -1
  29. package/dist/paraglide/messages/docs.js +6 -5
  30. package/dist/paraglide/messages/enter_full_screen.d.ts +2 -1
  31. package/dist/paraglide/messages/enter_full_screen.js +6 -5
  32. package/dist/paraglide/messages/error_prefix.d.ts +2 -1
  33. package/dist/paraglide/messages/error_prefix.js +6 -5
  34. package/dist/paraglide/messages/exit_full_screen.d.ts +2 -1
  35. package/dist/paraglide/messages/exit_full_screen.js +6 -5
  36. package/dist/paraglide/messages/gallery.d.ts +2 -1
  37. package/dist/paraglide/messages/gallery.js +6 -5
  38. package/dist/paraglide/messages/github.d.ts +2 -1
  39. package/dist/paraglide/messages/github.js +6 -5
  40. package/dist/paraglide/messages/hello_world.d.ts +2 -1
  41. package/dist/paraglide/messages/hello_world.js +6 -5
  42. package/dist/paraglide/messages/hide_all_annotations.d.ts +2 -1
  43. package/dist/paraglide/messages/hide_all_annotations.js +6 -5
  44. package/dist/paraglide/messages/hide_annotations.d.ts +2 -1
  45. package/dist/paraglide/messages/hide_annotations.js +6 -5
  46. package/dist/paraglide/messages/hide_gallery.d.ts +2 -1
  47. package/dist/paraglide/messages/hide_gallery.js +6 -5
  48. package/dist/paraglide/messages/iiif_manifest_label.d.ts +2 -1
  49. package/dist/paraglide/messages/iiif_manifest_label.js +6 -5
  50. package/dist/paraglide/messages/image_adjustments.d.ts +2 -1
  51. package/dist/paraglide/messages/image_adjustments.js +6 -5
  52. package/dist/paraglide/messages/language_select_label.d.ts +2 -1
  53. package/dist/paraglide/messages/language_select_label.js +6 -5
  54. package/dist/paraglide/messages/license.d.ts +2 -1
  55. package/dist/paraglide/messages/license.js +6 -5
  56. package/dist/paraglide/messages/load.d.ts +2 -1
  57. package/dist/paraglide/messages/load.js +6 -5
  58. package/dist/paraglide/messages/loading.d.ts +2 -1
  59. package/dist/paraglide/messages/loading.js +6 -5
  60. package/dist/paraglide/messages/manifest_placeholder.d.ts +2 -1
  61. package/dist/paraglide/messages/manifest_placeholder.js +6 -5
  62. package/dist/paraglide/messages/menu.d.ts +2 -1
  63. package/dist/paraglide/messages/menu.js +6 -5
  64. package/dist/paraglide/messages/metadata.d.ts +2 -1
  65. package/dist/paraglide/messages/metadata.js +6 -5
  66. package/dist/paraglide/messages/metadata_label_fallback.d.ts +2 -1
  67. package/dist/paraglide/messages/metadata_label_fallback.js +6 -5
  68. package/dist/paraglide/messages/next_canvas.d.ts +2 -1
  69. package/dist/paraglide/messages/next_canvas.js +6 -5
  70. package/dist/paraglide/messages/no_annotations_available.d.ts +2 -1
  71. package/dist/paraglide/messages/no_annotations_available.js +6 -5
  72. package/dist/paraglide/messages/no_canvases_loaded.d.ts +2 -1
  73. package/dist/paraglide/messages/no_canvases_loaded.js +6 -5
  74. package/dist/paraglide/messages/no_content.d.ts +2 -1
  75. package/dist/paraglide/messages/no_content.js +6 -5
  76. package/dist/paraglide/messages/no_image_found.d.ts +2 -1
  77. package/dist/paraglide/messages/no_image_found.js +6 -5
  78. package/dist/paraglide/messages/plugins_tooltip.d.ts +2 -1
  79. package/dist/paraglide/messages/plugins_tooltip.js +6 -5
  80. package/dist/paraglide/messages/previous_canvas.d.ts +2 -1
  81. package/dist/paraglide/messages/previous_canvas.js +6 -5
  82. package/dist/paraglide/messages/search.d.ts +2 -1
  83. package/dist/paraglide/messages/search.js +6 -5
  84. package/dist/paraglide/messages/search_panel_close.d.ts +2 -1
  85. package/dist/paraglide/messages/search_panel_close.js +6 -5
  86. package/dist/paraglide/messages/search_panel_instruction.d.ts +2 -1
  87. package/dist/paraglide/messages/search_panel_instruction.js +6 -5
  88. package/dist/paraglide/messages/search_panel_no_results.d.ts +2 -1
  89. package/dist/paraglide/messages/search_panel_no_results.js +6 -5
  90. package/dist/paraglide/messages/search_panel_placeholder.d.ts +2 -1
  91. package/dist/paraglide/messages/search_panel_placeholder.js +6 -5
  92. package/dist/paraglide/messages/search_panel_results_count.d.ts +2 -1
  93. package/dist/paraglide/messages/search_panel_results_count.js +6 -5
  94. package/dist/paraglide/messages/search_panel_title.d.ts +2 -1
  95. package/dist/paraglide/messages/search_panel_title.js +6 -5
  96. package/dist/paraglide/messages/settings_category_configuration.d.ts +2 -1
  97. package/dist/paraglide/messages/settings_category_configuration.js +6 -5
  98. package/dist/paraglide/messages/settings_category_general.d.ts +2 -1
  99. package/dist/paraglide/messages/settings_category_general.js +6 -5
  100. package/dist/paraglide/messages/settings_label.d.ts +2 -1
  101. package/dist/paraglide/messages/settings_label.js +6 -5
  102. package/dist/paraglide/messages/settings_position_bottom.d.ts +2 -1
  103. package/dist/paraglide/messages/settings_position_bottom.js +6 -5
  104. package/dist/paraglide/messages/settings_position_floating.d.ts +2 -1
  105. package/dist/paraglide/messages/settings_position_floating.js +6 -5
  106. package/dist/paraglide/messages/settings_position_left.d.ts +2 -1
  107. package/dist/paraglide/messages/settings_position_left.js +6 -5
  108. package/dist/paraglide/messages/settings_position_right.d.ts +2 -1
  109. package/dist/paraglide/messages/settings_position_right.js +6 -5
  110. package/dist/paraglide/messages/settings_position_top.d.ts +2 -1
  111. package/dist/paraglide/messages/settings_position_top.js +6 -5
  112. package/dist/paraglide/messages/settings_select_dock_position.d.ts +2 -1
  113. package/dist/paraglide/messages/settings_select_dock_position.js +6 -5
  114. package/dist/paraglide/messages/settings_submenu_annotations.d.ts +2 -1
  115. package/dist/paraglide/messages/settings_submenu_annotations.js +6 -5
  116. package/dist/paraglide/messages/settings_submenu_gallery.d.ts +2 -1
  117. package/dist/paraglide/messages/settings_submenu_gallery.js +6 -5
  118. package/dist/paraglide/messages/settings_submenu_right_menu_items.d.ts +2 -1
  119. package/dist/paraglide/messages/settings_submenu_right_menu_items.js +6 -5
  120. package/dist/paraglide/messages/settings_submenu_search.d.ts +2 -1
  121. package/dist/paraglide/messages/settings_submenu_search.js +6 -5
  122. package/dist/paraglide/messages/settings_toggle_canvas_nav.d.ts +2 -1
  123. package/dist/paraglide/messages/settings_toggle_canvas_nav.js +6 -5
  124. package/dist/paraglide/messages/settings_toggle_close_button.d.ts +2 -1
  125. package/dist/paraglide/messages/settings_toggle_close_button.js +6 -5
  126. package/dist/paraglide/messages/settings_toggle_draggable.d.ts +2 -1
  127. package/dist/paraglide/messages/settings_toggle_draggable.js +6 -5
  128. package/dist/paraglide/messages/settings_toggle_left_menu.d.ts +2 -1
  129. package/dist/paraglide/messages/settings_toggle_left_menu.js +6 -5
  130. package/dist/paraglide/messages/settings_toggle_open.d.ts +2 -1
  131. package/dist/paraglide/messages/settings_toggle_open.js +6 -5
  132. package/dist/paraglide/messages/settings_toggle_panel_open.d.ts +2 -1
  133. package/dist/paraglide/messages/settings_toggle_panel_open.js +6 -5
  134. package/dist/paraglide/messages/settings_toggle_right_menu.d.ts +2 -1
  135. package/dist/paraglide/messages/settings_toggle_right_menu.js +6 -5
  136. package/dist/paraglide/messages/settings_toggle_show_annotations.d.ts +2 -1
  137. package/dist/paraglide/messages/settings_toggle_show_annotations.js +6 -5
  138. package/dist/paraglide/messages/settings_toggle_show_fullscreen.d.ts +2 -1
  139. package/dist/paraglide/messages/settings_toggle_show_fullscreen.js +6 -5
  140. package/dist/paraglide/messages/settings_toggle_show_gallery.d.ts +2 -1
  141. package/dist/paraglide/messages/settings_toggle_show_gallery.js +6 -5
  142. package/dist/paraglide/messages/settings_toggle_show_info.d.ts +2 -1
  143. package/dist/paraglide/messages/settings_toggle_show_info.js +6 -5
  144. package/dist/paraglide/messages/settings_toggle_show_search.d.ts +2 -1
  145. package/dist/paraglide/messages/settings_toggle_show_search.js +6 -5
  146. package/dist/paraglide/messages/settings_toggle_visible_by_default.d.ts +2 -1
  147. package/dist/paraglide/messages/settings_toggle_visible_by_default.js +6 -5
  148. package/dist/paraglide/messages/show_all_annotations.d.ts +2 -1
  149. package/dist/paraglide/messages/show_all_annotations.js +6 -5
  150. package/dist/paraglide/messages/show_annotations.d.ts +2 -1
  151. package/dist/paraglide/messages/show_annotations.js +6 -5
  152. package/dist/paraglide/messages/show_gallery.d.ts +2 -1
  153. package/dist/paraglide/messages/show_gallery.js +6 -5
  154. package/dist/paraglide/messages/theme_menu_title.d.ts +2 -1
  155. package/dist/paraglide/messages/theme_menu_title.js +6 -5
  156. package/dist/paraglide/messages/toggle_annotations.d.ts +2 -1
  157. package/dist/paraglide/messages/toggle_annotations.js +6 -5
  158. package/dist/paraglide/messages/toggle_metadata.d.ts +2 -1
  159. package/dist/paraglide/messages/toggle_metadata.js +6 -5
  160. package/dist/paraglide/messages/toggle_search.d.ts +2 -1
  161. package/dist/paraglide/messages/toggle_search.js +6 -5
  162. package/dist/paraglide/messages/try_your_own.d.ts +2 -1
  163. package/dist/paraglide/messages/try_your_own.js +6 -5
  164. package/dist/paraglide/messages/viewer_variant_core.d.ts +2 -1
  165. package/dist/paraglide/messages/viewer_variant_core.js +6 -5
  166. package/dist/paraglide/messages/viewer_variant_custom_theme.d.ts +2 -1
  167. package/dist/paraglide/messages/viewer_variant_custom_theme.js +6 -5
  168. package/dist/paraglide/messages/viewer_variant_full.d.ts +2 -1
  169. package/dist/paraglide/messages/viewer_variant_full.js +6 -5
  170. package/dist/paraglide/messages/viewer_variant_svelte.d.ts +2 -1
  171. package/dist/paraglide/messages/viewer_variant_svelte.js +6 -5
  172. package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.d.ts +2 -1
  173. package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.js +6 -5
  174. package/dist/paraglide/messages/viewer_variant_tooltip_core.d.ts +2 -1
  175. package/dist/paraglide/messages/viewer_variant_tooltip_core.js +6 -5
  176. package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.d.ts +2 -1
  177. package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.js +6 -5
  178. package/dist/paraglide/messages/viewer_variant_tooltip_full.d.ts +2 -1
  179. package/dist/paraglide/messages/viewer_variant_tooltip_full.js +6 -5
  180. package/dist/paraglide/messages/visible_count.d.ts +2 -1
  181. package/dist/paraglide/messages/visible_count.js +6 -5
  182. package/dist/paraglide/runtime.d.ts +14 -0
  183. package/dist/paraglide/runtime.js +42 -0
  184. package/dist/state/i18n.svelte.d.ts +3 -3
  185. package/dist/state/i18n.svelte.js +14 -14
  186. package/dist/triiiceratops-bundle.js +2528 -2395
  187. package/dist/triiiceratops-element-image.js +139 -126
  188. package/dist/triiiceratops-element.js +1 -1
  189. package/package.json +3 -4
@@ -1,4 +1,4 @@
1
- import { M as De } from "./TriiiceratopsViewer-BGtsfUPF.js";
1
+ import { M as De } from "./TriiiceratopsViewer-C5AKP6W4.js";
2
2
  function Fe(oe, F) {
3
3
  for (var e = 0; e < F.length; e++) {
4
4
  const t = F[e];
@@ -7,10 +7,7 @@
7
7
 
8
8
  import { m, language } from '../state/i18n.svelte';
9
9
  import { manifestsState } from '../state/manifests.svelte';
10
- import {
11
- availableLanguageTags,
12
- setLanguageTag,
13
- } from '../paraglide/runtime.js';
10
+ import { locales, setLocale } from '../paraglide/runtime.js';
14
11
 
15
12
  import { onMount } from 'svelte';
16
13
 
@@ -213,10 +210,10 @@
213
210
  <select
214
211
  class="select select-bordered select-sm w-auto"
215
212
  value={language.current}
216
- onchange={(e) => setLanguageTag(e.currentTarget.value as any)}
213
+ onchange={(e) => setLocale(e.currentTarget.value as any)}
217
214
  aria-label={m.language_select_label()}
218
215
  >
219
- {#each availableLanguageTags as lang}
216
+ {#each locales as lang}
220
217
  <option value={lang}>{languageNames[lang] || lang}</option>
221
218
  {/each}
222
219
  </select>
@@ -86,3 +86,4 @@ export * from "./change_theme_label.js";
86
86
  export * from "./theme_menu_title.js";
87
87
  export * from "./error_prefix.js";
88
88
  export * from "./no_image_found.js";
89
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable */
2
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
2
3
  export * from './hello_world.js'
3
4
  export * from './search_panel_title.js'
4
5
  export * from './search_panel_close.js'
@@ -2,4 +2,5 @@ export function annotations_count(inputs: {
2
2
  count: NonNullable<unknown>;
3
3
  }, options?: {
4
4
  locale?: "en" | "de";
5
- }): string;
5
+ }): LocalizedString;
6
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => string} */ (i) => {
5
- return `${i.count} Annotations`
5
+ const en_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
6
+ return /** @type {LocalizedString} */ (`${i?.count} Annotations`)
6
7
  };
7
8
 
8
- const de_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => string} */ (i) => {
9
- return `${i.count} Annotationen`
9
+ const de_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
10
+ return /** @type {LocalizedString} */ (`${i?.count} Annotationen`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }
19
20
  *
20
21
  * @param {{ count: NonNullable<unknown> }} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const annotations_count = (inputs, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function attribution(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_attribution = /** @type {(inputs: {}) => string} */ () => {
5
- return `Attribution`
5
+ const en_attribution = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Attribution`)
6
7
  };
7
8
 
8
- const de_attribution = /** @type {(inputs: {}) => string} */ () => {
9
- return `Quellenangabe`
9
+ const de_attribution = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Quellenangabe`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_attribution = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const attribution = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function change_theme_label(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_change_theme_label = /** @type {(inputs: {}) => string} */ () => {
5
- return `Change Theme`
5
+ const en_change_theme_label = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Change Theme`)
6
7
  };
7
8
 
8
- const de_change_theme_label = /** @type {(inputs: {}) => string} */ () => {
9
- return `Design ändern`
9
+ const de_change_theme_label = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Design ändern`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_change_theme_label = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const change_theme_label = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function close(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_close = /** @type {(inputs: {}) => string} */ () => {
5
- return `Close`
5
+ const en_close = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Close`)
6
7
  };
7
8
 
8
- const de_close = /** @type {(inputs: {}) => string} */ () => {
9
- return `Schließen`
9
+ const de_close = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Schließen`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_close = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const close = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function close_gallery(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_close_gallery = /** @type {(inputs: {}) => string} */ () => {
5
- return `Close Gallery`
5
+ const en_close_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Close Gallery`)
6
7
  };
7
8
 
8
- const de_close_gallery = /** @type {(inputs: {}) => string} */ () => {
9
- return `Galerie schließen`
9
+ const de_close_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Galerie schließen`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_close_gallery = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const close_gallery = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function close_menu(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_close_menu = /** @type {(inputs: {}) => string} */ () => {
5
- return `Close Menu`
5
+ const en_close_menu = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Close Menu`)
6
7
  };
7
8
 
8
- const de_close_menu = /** @type {(inputs: {}) => string} */ () => {
9
- return `Menü schließen`
9
+ const de_close_menu = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Menü schließen`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_close_menu = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const close_menu = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function close_search(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_close_search = /** @type {(inputs: {}) => string} */ () => {
5
- return `Close Search`
5
+ const en_close_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Close Search`)
6
7
  };
7
8
 
8
- const de_close_search = /** @type {(inputs: {}) => string} */ () => {
9
- return `Suche schließen`
9
+ const de_close_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Suche schließen`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_close_search = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const close_search = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function copied(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_copied = /** @type {(inputs: {}) => string} */ () => {
5
- return `Copied!`
5
+ const en_copied = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Copied!`)
6
7
  };
7
8
 
8
- const de_copied = /** @type {(inputs: {}) => string} */ () => {
9
- return `Kopiert!`
9
+ const de_copied = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Kopiert!`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_copied = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const copied = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function copy_config(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_copy_config = /** @type {(inputs: {}) => string} */ () => {
5
- return `Copy Config`
5
+ const en_copy_config = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Copy Config`)
6
7
  };
7
8
 
8
- const de_copy_config = /** @type {(inputs: {}) => string} */ () => {
9
- return `Konfiguration kopieren`
9
+ const de_copy_config = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Konfiguration kopieren`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_copy_config = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const copy_config = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function demo_header_active_canvas(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_demo_header_active_canvas = /** @type {(inputs: {}) => string} */ () => {
5
- return `Active Canvas`
5
+ const en_demo_header_active_canvas = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Active Canvas`)
6
7
  };
7
8
 
8
- const de_demo_header_active_canvas = /** @type {(inputs: {}) => string} */ () => {
9
- return `Aktives Canvas`
9
+ const de_demo_header_active_canvas = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Aktives Canvas`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_demo_header_active_canvas = /** @type {(inputs: {}) => string} */ () =>
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const demo_header_active_canvas = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function demo_header_external_controls(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_demo_header_external_controls = /** @type {(inputs: {}) => string} */ () => {
5
- return `External Controls:`
5
+ const en_demo_header_external_controls = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`External Controls:`)
6
7
  };
7
8
 
8
- const de_demo_header_external_controls = /** @type {(inputs: {}) => string} */ () => {
9
- return `Externe Steuerelemente:`
9
+ const de_demo_header_external_controls = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Externe Steuerelemente:`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_demo_header_external_controls = /** @type {(inputs: {}) => string} */ (
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const demo_header_external_controls = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function docs(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_docs = /** @type {(inputs: {}) => string} */ () => {
5
- return `Docs`
5
+ const en_docs = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Docs`)
6
7
  };
7
8
 
8
- const de_docs = /** @type {(inputs: {}) => string} */ () => {
9
- return `Doku`
9
+ const de_docs = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Doku`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_docs = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const docs = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function enter_full_screen(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_enter_full_screen = /** @type {(inputs: {}) => string} */ () => {
5
- return `Enter Full Screen`
5
+ const en_enter_full_screen = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Enter Full Screen`)
6
7
  };
7
8
 
8
- const de_enter_full_screen = /** @type {(inputs: {}) => string} */ () => {
9
- return `Vollbildmodus`
9
+ const de_enter_full_screen = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Vollbildmodus`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_enter_full_screen = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const enter_full_screen = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function error_prefix(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_error_prefix = /** @type {(inputs: {}) => string} */ () => {
5
- return `Error: `
5
+ const en_error_prefix = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Error: `)
6
7
  };
7
8
 
8
- const de_error_prefix = /** @type {(inputs: {}) => string} */ () => {
9
- return `Fehler: `
9
+ const de_error_prefix = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Fehler: `)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_error_prefix = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const error_prefix = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function exit_full_screen(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_exit_full_screen = /** @type {(inputs: {}) => string} */ () => {
5
- return `Exit Full Screen`
5
+ const en_exit_full_screen = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Exit Full Screen`)
6
7
  };
7
8
 
8
- const de_exit_full_screen = /** @type {(inputs: {}) => string} */ () => {
9
- return `Vollbildmodus beenden`
9
+ const de_exit_full_screen = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Vollbildmodus beenden`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_exit_full_screen = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const exit_full_screen = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function gallery(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_gallery = /** @type {(inputs: {}) => string} */ () => {
5
- return `Gallery`
5
+ const en_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`Gallery`)
6
7
  };
7
8
 
8
- const de_gallery = /** @type {(inputs: {}) => string} */ () => {
9
- return `Galerie`
9
+ const de_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`Galerie`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_gallery = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const gallery = (inputs = {}, options = {}) => {
@@ -1,3 +1,4 @@
1
1
  export function github(inputs?: {}, options?: {
2
2
  locale?: "en" | "de";
3
- }): string;
3
+ }): LocalizedString;
4
+ export type LocalizedString = import("../runtime.js").LocalizedString;
@@ -1,12 +1,13 @@
1
1
  /* eslint-disable */
2
2
  import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
3
4
 
4
- const en_github = /** @type {(inputs: {}) => string} */ () => {
5
- return `GitHub`
5
+ const en_github = /** @type {(inputs: {}) => LocalizedString} */ () => {
6
+ return /** @type {LocalizedString} */ (`GitHub`)
6
7
  };
7
8
 
8
- const de_github = /** @type {(inputs: {}) => string} */ () => {
9
- return `GitHub`
9
+ const de_github = /** @type {(inputs: {}) => LocalizedString} */ () => {
10
+ return /** @type {LocalizedString} */ (`GitHub`)
10
11
  };
11
12
 
12
13
  /**
@@ -19,7 +20,7 @@ const de_github = /** @type {(inputs: {}) => string} */ () => {
19
20
  *
20
21
  * @param {{}} inputs
21
22
  * @param {{ locale?: "en" | "de" }} options
22
- * @returns {string}
23
+ * @returns {LocalizedString}
23
24
  */
24
25
  /* @__NO_SIDE_EFFECTS__ */
25
26
  export const github = (inputs = {}, options = {}) => {