triiiceratops 0.9.5 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{TriiiceratopsViewer-BGtsfUPF.js → TriiiceratopsViewer-CVbWWD1o.js} +4466 -3476
- package/dist/chunks/{openseadragon-BTypULhm.js → openseadragon-H3QhDkLJ.js} +1 -1
- package/dist/components/DemoHeader.svelte +3 -6
- package/dist/paraglide/messages/_index.d.ts +89 -0
- package/dist/paraglide/messages/_index.js +90 -0
- package/dist/paraglide/messages/annotations_count.d.ts +6 -0
- package/dist/paraglide/messages/annotations_count.js +34 -0
- package/dist/paraglide/messages/attribution.d.ts +4 -0
- package/dist/paraglide/messages/attribution.js +34 -0
- package/dist/paraglide/messages/change_theme_label.d.ts +4 -0
- package/dist/paraglide/messages/change_theme_label.js +34 -0
- package/dist/paraglide/messages/close.d.ts +4 -0
- package/dist/paraglide/messages/close.js +34 -0
- package/dist/paraglide/messages/close_gallery.d.ts +4 -0
- package/dist/paraglide/messages/close_gallery.js +34 -0
- package/dist/paraglide/messages/close_menu.d.ts +4 -0
- package/dist/paraglide/messages/close_menu.js +34 -0
- package/dist/paraglide/messages/close_search.d.ts +4 -0
- package/dist/paraglide/messages/close_search.js +34 -0
- package/dist/paraglide/messages/copied.d.ts +4 -0
- package/dist/paraglide/messages/copied.js +34 -0
- package/dist/paraglide/messages/copy_config.d.ts +4 -0
- package/dist/paraglide/messages/copy_config.js +34 -0
- package/dist/paraglide/messages/demo_header_active_canvas.d.ts +4 -0
- package/dist/paraglide/messages/demo_header_active_canvas.js +34 -0
- package/dist/paraglide/messages/demo_header_external_controls.d.ts +4 -0
- package/dist/paraglide/messages/demo_header_external_controls.js +34 -0
- package/dist/paraglide/messages/docs.d.ts +4 -0
- package/dist/paraglide/messages/docs.js +34 -0
- package/dist/paraglide/messages/enter_full_screen.d.ts +4 -0
- package/dist/paraglide/messages/enter_full_screen.js +34 -0
- package/dist/paraglide/messages/error_prefix.d.ts +4 -0
- package/dist/paraglide/messages/error_prefix.js +34 -0
- package/dist/paraglide/messages/exit_full_screen.d.ts +4 -0
- package/dist/paraglide/messages/exit_full_screen.js +34 -0
- package/dist/paraglide/messages/gallery.d.ts +4 -0
- package/dist/paraglide/messages/gallery.js +34 -0
- package/dist/paraglide/messages/github.d.ts +4 -0
- package/dist/paraglide/messages/github.js +34 -0
- package/dist/paraglide/messages/hello_world.d.ts +4 -0
- package/dist/paraglide/messages/hello_world.js +34 -0
- package/dist/paraglide/messages/hide_all_annotations.d.ts +4 -0
- package/dist/paraglide/messages/hide_all_annotations.js +34 -0
- package/dist/paraglide/messages/hide_annotations.d.ts +4 -0
- package/dist/paraglide/messages/hide_annotations.js +34 -0
- package/dist/paraglide/messages/hide_gallery.d.ts +4 -0
- package/dist/paraglide/messages/hide_gallery.js +34 -0
- package/dist/paraglide/messages/iiif_manifest_label.d.ts +4 -0
- package/dist/paraglide/messages/iiif_manifest_label.js +34 -0
- package/dist/paraglide/messages/image_adjustments.d.ts +4 -0
- package/dist/paraglide/messages/image_adjustments.js +34 -0
- package/dist/paraglide/messages/language_select_label.d.ts +4 -0
- package/dist/paraglide/messages/language_select_label.js +34 -0
- package/dist/paraglide/messages/license.d.ts +4 -0
- package/dist/paraglide/messages/license.js +34 -0
- package/dist/paraglide/messages/load.d.ts +4 -0
- package/dist/paraglide/messages/load.js +34 -0
- package/dist/paraglide/messages/loading.d.ts +4 -0
- package/dist/paraglide/messages/loading.js +34 -0
- package/dist/paraglide/messages/manifest_placeholder.d.ts +4 -0
- package/dist/paraglide/messages/manifest_placeholder.js +34 -0
- package/dist/paraglide/messages/menu.d.ts +4 -0
- package/dist/paraglide/messages/menu.js +34 -0
- package/dist/paraglide/messages/metadata.d.ts +4 -0
- package/dist/paraglide/messages/metadata.js +34 -0
- package/dist/paraglide/messages/metadata_label_fallback.d.ts +4 -0
- package/dist/paraglide/messages/metadata_label_fallback.js +34 -0
- package/dist/paraglide/messages/next_canvas.d.ts +4 -0
- package/dist/paraglide/messages/next_canvas.js +34 -0
- package/dist/paraglide/messages/no_annotations_available.d.ts +4 -0
- package/dist/paraglide/messages/no_annotations_available.js +34 -0
- package/dist/paraglide/messages/no_canvases_loaded.d.ts +4 -0
- package/dist/paraglide/messages/no_canvases_loaded.js +34 -0
- package/dist/paraglide/messages/no_content.d.ts +4 -0
- package/dist/paraglide/messages/no_content.js +34 -0
- package/dist/paraglide/messages/no_image_found.d.ts +4 -0
- package/dist/paraglide/messages/no_image_found.js +34 -0
- package/dist/paraglide/messages/plugins_tooltip.d.ts +4 -0
- package/dist/paraglide/messages/plugins_tooltip.js +34 -0
- package/dist/paraglide/messages/previous_canvas.d.ts +4 -0
- package/dist/paraglide/messages/previous_canvas.js +34 -0
- package/dist/paraglide/messages/search.d.ts +4 -0
- package/dist/paraglide/messages/search.js +34 -0
- package/dist/paraglide/messages/search_panel_close.d.ts +4 -0
- package/dist/paraglide/messages/search_panel_close.js +34 -0
- package/dist/paraglide/messages/search_panel_instruction.d.ts +4 -0
- package/dist/paraglide/messages/search_panel_instruction.js +34 -0
- package/dist/paraglide/messages/search_panel_no_results.d.ts +6 -0
- package/dist/paraglide/messages/search_panel_no_results.js +34 -0
- package/dist/paraglide/messages/search_panel_placeholder.d.ts +4 -0
- package/dist/paraglide/messages/search_panel_placeholder.js +34 -0
- package/dist/paraglide/messages/search_panel_results_count.d.ts +6 -0
- package/dist/paraglide/messages/search_panel_results_count.js +34 -0
- package/dist/paraglide/messages/search_panel_title.d.ts +4 -0
- package/dist/paraglide/messages/search_panel_title.js +34 -0
- package/dist/paraglide/messages/settings_category_configuration.d.ts +4 -0
- package/dist/paraglide/messages/settings_category_configuration.js +34 -0
- package/dist/paraglide/messages/settings_category_general.d.ts +4 -0
- package/dist/paraglide/messages/settings_category_general.js +34 -0
- package/dist/paraglide/messages/settings_label.d.ts +4 -0
- package/dist/paraglide/messages/settings_label.js +34 -0
- package/dist/paraglide/messages/settings_position_bottom.d.ts +4 -0
- package/dist/paraglide/messages/settings_position_bottom.js +34 -0
- package/dist/paraglide/messages/settings_position_floating.d.ts +4 -0
- package/dist/paraglide/messages/settings_position_floating.js +34 -0
- package/dist/paraglide/messages/settings_position_left.d.ts +4 -0
- package/dist/paraglide/messages/settings_position_left.js +34 -0
- package/dist/paraglide/messages/settings_position_right.d.ts +4 -0
- package/dist/paraglide/messages/settings_position_right.js +34 -0
- package/dist/paraglide/messages/settings_position_top.d.ts +4 -0
- package/dist/paraglide/messages/settings_position_top.js +34 -0
- package/dist/paraglide/messages/settings_select_dock_position.d.ts +4 -0
- package/dist/paraglide/messages/settings_select_dock_position.js +34 -0
- package/dist/paraglide/messages/settings_submenu_annotations.d.ts +4 -0
- package/dist/paraglide/messages/settings_submenu_annotations.js +34 -0
- package/dist/paraglide/messages/settings_submenu_gallery.d.ts +4 -0
- package/dist/paraglide/messages/settings_submenu_gallery.js +34 -0
- package/dist/paraglide/messages/settings_submenu_right_menu_items.d.ts +4 -0
- package/dist/paraglide/messages/settings_submenu_right_menu_items.js +34 -0
- package/dist/paraglide/messages/settings_submenu_search.d.ts +4 -0
- package/dist/paraglide/messages/settings_submenu_search.js +34 -0
- package/dist/paraglide/messages/settings_toggle_canvas_nav.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_canvas_nav.js +34 -0
- package/dist/paraglide/messages/settings_toggle_close_button.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_close_button.js +34 -0
- package/dist/paraglide/messages/settings_toggle_draggable.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_draggable.js +34 -0
- package/dist/paraglide/messages/settings_toggle_left_menu.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_left_menu.js +34 -0
- package/dist/paraglide/messages/settings_toggle_open.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_open.js +34 -0
- package/dist/paraglide/messages/settings_toggle_panel_open.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_panel_open.js +34 -0
- package/dist/paraglide/messages/settings_toggle_right_menu.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_right_menu.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_annotations.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_show_annotations.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_fullscreen.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_show_fullscreen.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_gallery.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_show_gallery.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_info.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_show_info.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_search.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_show_search.js +34 -0
- package/dist/paraglide/messages/settings_toggle_visible_by_default.d.ts +4 -0
- package/dist/paraglide/messages/settings_toggle_visible_by_default.js +34 -0
- package/dist/paraglide/messages/show_all_annotations.d.ts +4 -0
- package/dist/paraglide/messages/show_all_annotations.js +34 -0
- package/dist/paraglide/messages/show_annotations.d.ts +4 -0
- package/dist/paraglide/messages/show_annotations.js +34 -0
- package/dist/paraglide/messages/show_gallery.d.ts +4 -0
- package/dist/paraglide/messages/show_gallery.js +34 -0
- package/dist/paraglide/messages/theme_menu_title.d.ts +4 -0
- package/dist/paraglide/messages/theme_menu_title.js +34 -0
- package/dist/paraglide/messages/toggle_annotations.d.ts +4 -0
- package/dist/paraglide/messages/toggle_annotations.js +34 -0
- package/dist/paraglide/messages/toggle_metadata.d.ts +4 -0
- package/dist/paraglide/messages/toggle_metadata.js +34 -0
- package/dist/paraglide/messages/toggle_search.d.ts +4 -0
- package/dist/paraglide/messages/toggle_search.js +34 -0
- package/dist/paraglide/messages/try_your_own.d.ts +4 -0
- package/dist/paraglide/messages/try_your_own.js +34 -0
- package/dist/paraglide/messages/viewer_variant_core.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_core.js +34 -0
- package/dist/paraglide/messages/viewer_variant_custom_theme.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_custom_theme.js +34 -0
- package/dist/paraglide/messages/viewer_variant_full.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_full.js +34 -0
- package/dist/paraglide/messages/viewer_variant_svelte.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_svelte.js +34 -0
- package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.js +34 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_core.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_core.js +34 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.js +34 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_full.d.ts +4 -0
- package/dist/paraglide/messages/viewer_variant_tooltip_full.js +34 -0
- package/dist/paraglide/messages/visible_count.d.ts +6 -0
- package/dist/paraglide/messages/visible_count.js +34 -0
- package/dist/paraglide/messages.d.ts +2 -0
- package/dist/paraglide/messages.js +4 -0
- package/dist/paraglide/registry.d.ts +21 -0
- package/dist/paraglide/registry.js +31 -0
- package/dist/paraglide/runtime.d.ts +597 -0
- package/dist/paraglide/runtime.js +1453 -0
- package/dist/paraglide/server.d.ts +67 -0
- package/dist/paraglide/server.js +175 -0
- package/dist/state/i18n.svelte.d.ts +2 -2
- package/dist/state/i18n.svelte.js +9 -7
- package/dist/triiiceratops-bundle.js +3273 -2283
- package/dist/triiiceratops-element-image.js +1 -1
- package/dist/triiiceratops-element.js +1 -1
- package/package.json +3 -4
|
@@ -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) =>
|
|
213
|
+
onchange={(e) => setLocale(e.currentTarget.value as any)}
|
|
217
214
|
aria-label={m.language_select_label()}
|
|
218
215
|
>
|
|
219
|
-
{#each
|
|
216
|
+
{#each locales as lang}
|
|
220
217
|
<option value={lang}>{languageNames[lang] || lang}</option>
|
|
221
218
|
{/each}
|
|
222
219
|
</select>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export * from "./hello_world.js";
|
|
2
|
+
export * from "./search_panel_title.js";
|
|
3
|
+
export * from "./search_panel_close.js";
|
|
4
|
+
export * from "./search_panel_placeholder.js";
|
|
5
|
+
export * from "./search_panel_no_results.js";
|
|
6
|
+
export * from "./search_panel_instruction.js";
|
|
7
|
+
export * from "./search_panel_results_count.js";
|
|
8
|
+
export * from "./metadata_label_fallback.js";
|
|
9
|
+
export * from "./loading.js";
|
|
10
|
+
export * from "./attribution.js";
|
|
11
|
+
export * from "./license.js";
|
|
12
|
+
export * from "./close.js";
|
|
13
|
+
export * from "./menu.js";
|
|
14
|
+
export * from "./search.js";
|
|
15
|
+
export * from "./toggle_search.js";
|
|
16
|
+
export * from "./hide_gallery.js";
|
|
17
|
+
export * from "./show_gallery.js";
|
|
18
|
+
export * from "./exit_full_screen.js";
|
|
19
|
+
export * from "./enter_full_screen.js";
|
|
20
|
+
export * from "./hide_annotations.js";
|
|
21
|
+
export * from "./show_annotations.js";
|
|
22
|
+
export * from "./toggle_annotations.js";
|
|
23
|
+
export * from "./metadata.js";
|
|
24
|
+
export * from "./toggle_metadata.js";
|
|
25
|
+
export * from "./hide_all_annotations.js";
|
|
26
|
+
export * from "./show_all_annotations.js";
|
|
27
|
+
export * from "./annotations_count.js";
|
|
28
|
+
export * from "./visible_count.js";
|
|
29
|
+
export * from "./no_content.js";
|
|
30
|
+
export * from "./no_annotations_available.js";
|
|
31
|
+
export * from "./previous_canvas.js";
|
|
32
|
+
export * from "./next_canvas.js";
|
|
33
|
+
export * from "./docs.js";
|
|
34
|
+
export * from "./iiif_manifest_label.js";
|
|
35
|
+
export * from "./manifest_placeholder.js";
|
|
36
|
+
export * from "./load.js";
|
|
37
|
+
export * from "./github.js";
|
|
38
|
+
export * from "./viewer_variant_core.js";
|
|
39
|
+
export * from "./viewer_variant_full.js";
|
|
40
|
+
export * from "./viewer_variant_custom_theme.js";
|
|
41
|
+
export * from "./viewer_variant_tooltip_core.js";
|
|
42
|
+
export * from "./viewer_variant_tooltip_full.js";
|
|
43
|
+
export * from "./viewer_variant_tooltip_custom_theme.js";
|
|
44
|
+
export * from "./plugins_tooltip.js";
|
|
45
|
+
export * from "./demo_header_external_controls.js";
|
|
46
|
+
export * from "./demo_header_active_canvas.js";
|
|
47
|
+
export * from "./image_adjustments.js";
|
|
48
|
+
export * from "./close_menu.js";
|
|
49
|
+
export * from "./gallery.js";
|
|
50
|
+
export * from "./close_gallery.js";
|
|
51
|
+
export * from "./close_search.js";
|
|
52
|
+
export * from "./settings_label.js";
|
|
53
|
+
export * from "./settings_category_general.js";
|
|
54
|
+
export * from "./settings_toggle_left_menu.js";
|
|
55
|
+
export * from "./settings_toggle_right_menu.js";
|
|
56
|
+
export * from "./settings_toggle_canvas_nav.js";
|
|
57
|
+
export * from "./settings_category_configuration.js";
|
|
58
|
+
export * from "./settings_submenu_right_menu_items.js";
|
|
59
|
+
export * from "./settings_toggle_show_search.js";
|
|
60
|
+
export * from "./settings_toggle_show_gallery.js";
|
|
61
|
+
export * from "./settings_toggle_show_annotations.js";
|
|
62
|
+
export * from "./settings_toggle_show_fullscreen.js";
|
|
63
|
+
export * from "./settings_toggle_show_info.js";
|
|
64
|
+
export * from "./settings_submenu_gallery.js";
|
|
65
|
+
export * from "./settings_toggle_open.js";
|
|
66
|
+
export * from "./settings_toggle_draggable.js";
|
|
67
|
+
export * from "./settings_toggle_close_button.js";
|
|
68
|
+
export * from "./settings_select_dock_position.js";
|
|
69
|
+
export * from "./settings_position_bottom.js";
|
|
70
|
+
export * from "./settings_position_top.js";
|
|
71
|
+
export * from "./settings_position_left.js";
|
|
72
|
+
export * from "./settings_position_right.js";
|
|
73
|
+
export * from "./settings_position_floating.js";
|
|
74
|
+
export * from "./settings_submenu_search.js";
|
|
75
|
+
export * from "./settings_submenu_annotations.js";
|
|
76
|
+
export * from "./settings_toggle_panel_open.js";
|
|
77
|
+
export * from "./settings_toggle_visible_by_default.js";
|
|
78
|
+
export * from "./copy_config.js";
|
|
79
|
+
export * from "./copied.js";
|
|
80
|
+
export * from "./viewer_variant_svelte_component_tooltip.js";
|
|
81
|
+
export * from "./viewer_variant_svelte.js";
|
|
82
|
+
export * from "./language_select_label.js";
|
|
83
|
+
export * from "./no_canvases_loaded.js";
|
|
84
|
+
export * from "./try_your_own.js";
|
|
85
|
+
export * from "./change_theme_label.js";
|
|
86
|
+
export * from "./theme_menu_title.js";
|
|
87
|
+
export * from "./error_prefix.js";
|
|
88
|
+
export * from "./no_image_found.js";
|
|
89
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
3
|
+
export * from './hello_world.js'
|
|
4
|
+
export * from './search_panel_title.js'
|
|
5
|
+
export * from './search_panel_close.js'
|
|
6
|
+
export * from './search_panel_placeholder.js'
|
|
7
|
+
export * from './search_panel_no_results.js'
|
|
8
|
+
export * from './search_panel_instruction.js'
|
|
9
|
+
export * from './search_panel_results_count.js'
|
|
10
|
+
export * from './metadata_label_fallback.js'
|
|
11
|
+
export * from './loading.js'
|
|
12
|
+
export * from './attribution.js'
|
|
13
|
+
export * from './license.js'
|
|
14
|
+
export * from './close.js'
|
|
15
|
+
export * from './menu.js'
|
|
16
|
+
export * from './search.js'
|
|
17
|
+
export * from './toggle_search.js'
|
|
18
|
+
export * from './hide_gallery.js'
|
|
19
|
+
export * from './show_gallery.js'
|
|
20
|
+
export * from './exit_full_screen.js'
|
|
21
|
+
export * from './enter_full_screen.js'
|
|
22
|
+
export * from './hide_annotations.js'
|
|
23
|
+
export * from './show_annotations.js'
|
|
24
|
+
export * from './toggle_annotations.js'
|
|
25
|
+
export * from './metadata.js'
|
|
26
|
+
export * from './toggle_metadata.js'
|
|
27
|
+
export * from './hide_all_annotations.js'
|
|
28
|
+
export * from './show_all_annotations.js'
|
|
29
|
+
export * from './annotations_count.js'
|
|
30
|
+
export * from './visible_count.js'
|
|
31
|
+
export * from './no_content.js'
|
|
32
|
+
export * from './no_annotations_available.js'
|
|
33
|
+
export * from './previous_canvas.js'
|
|
34
|
+
export * from './next_canvas.js'
|
|
35
|
+
export * from './docs.js'
|
|
36
|
+
export * from './iiif_manifest_label.js'
|
|
37
|
+
export * from './manifest_placeholder.js'
|
|
38
|
+
export * from './load.js'
|
|
39
|
+
export * from './github.js'
|
|
40
|
+
export * from './viewer_variant_core.js'
|
|
41
|
+
export * from './viewer_variant_full.js'
|
|
42
|
+
export * from './viewer_variant_custom_theme.js'
|
|
43
|
+
export * from './viewer_variant_tooltip_core.js'
|
|
44
|
+
export * from './viewer_variant_tooltip_full.js'
|
|
45
|
+
export * from './viewer_variant_tooltip_custom_theme.js'
|
|
46
|
+
export * from './plugins_tooltip.js'
|
|
47
|
+
export * from './demo_header_external_controls.js'
|
|
48
|
+
export * from './demo_header_active_canvas.js'
|
|
49
|
+
export * from './image_adjustments.js'
|
|
50
|
+
export * from './close_menu.js'
|
|
51
|
+
export * from './gallery.js'
|
|
52
|
+
export * from './close_gallery.js'
|
|
53
|
+
export * from './close_search.js'
|
|
54
|
+
export * from './settings_label.js'
|
|
55
|
+
export * from './settings_category_general.js'
|
|
56
|
+
export * from './settings_toggle_left_menu.js'
|
|
57
|
+
export * from './settings_toggle_right_menu.js'
|
|
58
|
+
export * from './settings_toggle_canvas_nav.js'
|
|
59
|
+
export * from './settings_category_configuration.js'
|
|
60
|
+
export * from './settings_submenu_right_menu_items.js'
|
|
61
|
+
export * from './settings_toggle_show_search.js'
|
|
62
|
+
export * from './settings_toggle_show_gallery.js'
|
|
63
|
+
export * from './settings_toggle_show_annotations.js'
|
|
64
|
+
export * from './settings_toggle_show_fullscreen.js'
|
|
65
|
+
export * from './settings_toggle_show_info.js'
|
|
66
|
+
export * from './settings_submenu_gallery.js'
|
|
67
|
+
export * from './settings_toggle_open.js'
|
|
68
|
+
export * from './settings_toggle_draggable.js'
|
|
69
|
+
export * from './settings_toggle_close_button.js'
|
|
70
|
+
export * from './settings_select_dock_position.js'
|
|
71
|
+
export * from './settings_position_bottom.js'
|
|
72
|
+
export * from './settings_position_top.js'
|
|
73
|
+
export * from './settings_position_left.js'
|
|
74
|
+
export * from './settings_position_right.js'
|
|
75
|
+
export * from './settings_position_floating.js'
|
|
76
|
+
export * from './settings_submenu_search.js'
|
|
77
|
+
export * from './settings_submenu_annotations.js'
|
|
78
|
+
export * from './settings_toggle_panel_open.js'
|
|
79
|
+
export * from './settings_toggle_visible_by_default.js'
|
|
80
|
+
export * from './copy_config.js'
|
|
81
|
+
export * from './copied.js'
|
|
82
|
+
export * from './viewer_variant_svelte_component_tooltip.js'
|
|
83
|
+
export * from './viewer_variant_svelte.js'
|
|
84
|
+
export * from './language_select_label.js'
|
|
85
|
+
export * from './no_canvases_loaded.js'
|
|
86
|
+
export * from './try_your_own.js'
|
|
87
|
+
export * from './change_theme_label.js'
|
|
88
|
+
export * from './theme_menu_title.js'
|
|
89
|
+
export * from './error_prefix.js'
|
|
90
|
+
export * from './no_image_found.js'
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`${i?.count} Annotations`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_annotations_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`${i?.count} Annotationen`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{ count: NonNullable<unknown> }} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const annotations_count = (inputs, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.annotations_count(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("annotations_count", locale)
|
|
32
|
+
if (locale === "en") return en_annotations_count(inputs)
|
|
33
|
+
return de_annotations_count(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_attribution = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Attribution`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_attribution = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Quellenangabe`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const attribution = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.attribution(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("attribution", locale)
|
|
32
|
+
if (locale === "en") return en_attribution(inputs)
|
|
33
|
+
return de_attribution(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_change_theme_label = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Change Theme`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_change_theme_label = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Design ändern`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const change_theme_label = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.change_theme_label(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("change_theme_label", locale)
|
|
32
|
+
if (locale === "en") return en_change_theme_label(inputs)
|
|
33
|
+
return de_change_theme_label(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_close = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Close`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_close = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Schließen`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const close = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.close(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("close", locale)
|
|
32
|
+
if (locale === "en") return en_close(inputs)
|
|
33
|
+
return de_close(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_close_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Close Gallery`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_close_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Galerie schließen`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const close_gallery = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.close_gallery(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("close_gallery", locale)
|
|
32
|
+
if (locale === "en") return en_close_gallery(inputs)
|
|
33
|
+
return de_close_gallery(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_close_menu = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Close Menu`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_close_menu = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Menü schließen`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const close_menu = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.close_menu(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("close_menu", locale)
|
|
32
|
+
if (locale === "en") return en_close_menu(inputs)
|
|
33
|
+
return de_close_menu(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_close_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Close Search`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_close_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Suche schließen`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const close_search = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.close_search(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("close_search", locale)
|
|
32
|
+
if (locale === "en") return en_close_search(inputs)
|
|
33
|
+
return de_close_search(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_copied = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Copied!`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_copied = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Kopiert!`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const copied = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.copied(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("copied", locale)
|
|
32
|
+
if (locale === "en") return en_copied(inputs)
|
|
33
|
+
return de_copied(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_copy_config = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Copy Config`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_copy_config = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Konfiguration kopieren`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const copy_config = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.copy_config(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("copy_config", locale)
|
|
32
|
+
if (locale === "en") return en_copy_config(inputs)
|
|
33
|
+
return de_copy_config(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_demo_header_active_canvas = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Active Canvas`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_demo_header_active_canvas = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Aktives Canvas`)
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
15
|
+
*
|
|
16
|
+
* - Changing this function will be over-written by the next build.
|
|
17
|
+
*
|
|
18
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
19
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
20
|
+
*
|
|
21
|
+
* @param {{}} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
26
|
+
export const demo_header_active_canvas = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.demo_header_active_canvas(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("demo_header_active_canvas", locale)
|
|
32
|
+
if (locale === "en") return en_demo_header_active_canvas(inputs)
|
|
33
|
+
return de_demo_header_active_canvas(inputs)
|
|
34
|
+
};
|