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.
- package/dist/chunks/{TriiiceratopsViewer-BGtsfUPF.js → TriiiceratopsViewer-C5AKP6W4.js} +4414 -4281
- package/dist/chunks/{openseadragon-BTypULhm.js → openseadragon-BOsWwPVT.js} +1 -1
- package/dist/components/DemoHeader.svelte +3 -6
- package/dist/paraglide/messages/_index.d.ts +1 -0
- package/dist/paraglide/messages/_index.js +1 -0
- package/dist/paraglide/messages/annotations_count.d.ts +2 -1
- package/dist/paraglide/messages/annotations_count.js +6 -5
- package/dist/paraglide/messages/attribution.d.ts +2 -1
- package/dist/paraglide/messages/attribution.js +6 -5
- package/dist/paraglide/messages/change_theme_label.d.ts +2 -1
- package/dist/paraglide/messages/change_theme_label.js +6 -5
- package/dist/paraglide/messages/close.d.ts +2 -1
- package/dist/paraglide/messages/close.js +6 -5
- package/dist/paraglide/messages/close_gallery.d.ts +2 -1
- package/dist/paraglide/messages/close_gallery.js +6 -5
- package/dist/paraglide/messages/close_menu.d.ts +2 -1
- package/dist/paraglide/messages/close_menu.js +6 -5
- package/dist/paraglide/messages/close_search.d.ts +2 -1
- package/dist/paraglide/messages/close_search.js +6 -5
- package/dist/paraglide/messages/copied.d.ts +2 -1
- package/dist/paraglide/messages/copied.js +6 -5
- package/dist/paraglide/messages/copy_config.d.ts +2 -1
- package/dist/paraglide/messages/copy_config.js +6 -5
- package/dist/paraglide/messages/demo_header_active_canvas.d.ts +2 -1
- package/dist/paraglide/messages/demo_header_active_canvas.js +6 -5
- package/dist/paraglide/messages/demo_header_external_controls.d.ts +2 -1
- package/dist/paraglide/messages/demo_header_external_controls.js +6 -5
- package/dist/paraglide/messages/docs.d.ts +2 -1
- package/dist/paraglide/messages/docs.js +6 -5
- package/dist/paraglide/messages/enter_full_screen.d.ts +2 -1
- package/dist/paraglide/messages/enter_full_screen.js +6 -5
- package/dist/paraglide/messages/error_prefix.d.ts +2 -1
- package/dist/paraglide/messages/error_prefix.js +6 -5
- package/dist/paraglide/messages/exit_full_screen.d.ts +2 -1
- package/dist/paraglide/messages/exit_full_screen.js +6 -5
- package/dist/paraglide/messages/gallery.d.ts +2 -1
- package/dist/paraglide/messages/gallery.js +6 -5
- package/dist/paraglide/messages/github.d.ts +2 -1
- package/dist/paraglide/messages/github.js +6 -5
- package/dist/paraglide/messages/hello_world.d.ts +2 -1
- package/dist/paraglide/messages/hello_world.js +6 -5
- package/dist/paraglide/messages/hide_all_annotations.d.ts +2 -1
- package/dist/paraglide/messages/hide_all_annotations.js +6 -5
- package/dist/paraglide/messages/hide_annotations.d.ts +2 -1
- package/dist/paraglide/messages/hide_annotations.js +6 -5
- package/dist/paraglide/messages/hide_gallery.d.ts +2 -1
- package/dist/paraglide/messages/hide_gallery.js +6 -5
- package/dist/paraglide/messages/iiif_manifest_label.d.ts +2 -1
- package/dist/paraglide/messages/iiif_manifest_label.js +6 -5
- package/dist/paraglide/messages/image_adjustments.d.ts +2 -1
- package/dist/paraglide/messages/image_adjustments.js +6 -5
- package/dist/paraglide/messages/language_select_label.d.ts +2 -1
- package/dist/paraglide/messages/language_select_label.js +6 -5
- package/dist/paraglide/messages/license.d.ts +2 -1
- package/dist/paraglide/messages/license.js +6 -5
- package/dist/paraglide/messages/load.d.ts +2 -1
- package/dist/paraglide/messages/load.js +6 -5
- package/dist/paraglide/messages/loading.d.ts +2 -1
- package/dist/paraglide/messages/loading.js +6 -5
- package/dist/paraglide/messages/manifest_placeholder.d.ts +2 -1
- package/dist/paraglide/messages/manifest_placeholder.js +6 -5
- package/dist/paraglide/messages/menu.d.ts +2 -1
- package/dist/paraglide/messages/menu.js +6 -5
- package/dist/paraglide/messages/metadata.d.ts +2 -1
- package/dist/paraglide/messages/metadata.js +6 -5
- package/dist/paraglide/messages/metadata_label_fallback.d.ts +2 -1
- package/dist/paraglide/messages/metadata_label_fallback.js +6 -5
- package/dist/paraglide/messages/next_canvas.d.ts +2 -1
- package/dist/paraglide/messages/next_canvas.js +6 -5
- package/dist/paraglide/messages/no_annotations_available.d.ts +2 -1
- package/dist/paraglide/messages/no_annotations_available.js +6 -5
- package/dist/paraglide/messages/no_canvases_loaded.d.ts +2 -1
- package/dist/paraglide/messages/no_canvases_loaded.js +6 -5
- package/dist/paraglide/messages/no_content.d.ts +2 -1
- package/dist/paraglide/messages/no_content.js +6 -5
- package/dist/paraglide/messages/no_image_found.d.ts +2 -1
- package/dist/paraglide/messages/no_image_found.js +6 -5
- package/dist/paraglide/messages/plugins_tooltip.d.ts +2 -1
- package/dist/paraglide/messages/plugins_tooltip.js +6 -5
- package/dist/paraglide/messages/previous_canvas.d.ts +2 -1
- package/dist/paraglide/messages/previous_canvas.js +6 -5
- package/dist/paraglide/messages/search.d.ts +2 -1
- package/dist/paraglide/messages/search.js +6 -5
- package/dist/paraglide/messages/search_panel_close.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_close.js +6 -5
- package/dist/paraglide/messages/search_panel_instruction.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_instruction.js +6 -5
- package/dist/paraglide/messages/search_panel_no_results.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_no_results.js +6 -5
- package/dist/paraglide/messages/search_panel_placeholder.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_placeholder.js +6 -5
- package/dist/paraglide/messages/search_panel_results_count.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_results_count.js +6 -5
- package/dist/paraglide/messages/search_panel_title.d.ts +2 -1
- package/dist/paraglide/messages/search_panel_title.js +6 -5
- package/dist/paraglide/messages/settings_category_configuration.d.ts +2 -1
- package/dist/paraglide/messages/settings_category_configuration.js +6 -5
- package/dist/paraglide/messages/settings_category_general.d.ts +2 -1
- package/dist/paraglide/messages/settings_category_general.js +6 -5
- package/dist/paraglide/messages/settings_label.d.ts +2 -1
- package/dist/paraglide/messages/settings_label.js +6 -5
- package/dist/paraglide/messages/settings_position_bottom.d.ts +2 -1
- package/dist/paraglide/messages/settings_position_bottom.js +6 -5
- package/dist/paraglide/messages/settings_position_floating.d.ts +2 -1
- package/dist/paraglide/messages/settings_position_floating.js +6 -5
- package/dist/paraglide/messages/settings_position_left.d.ts +2 -1
- package/dist/paraglide/messages/settings_position_left.js +6 -5
- package/dist/paraglide/messages/settings_position_right.d.ts +2 -1
- package/dist/paraglide/messages/settings_position_right.js +6 -5
- package/dist/paraglide/messages/settings_position_top.d.ts +2 -1
- package/dist/paraglide/messages/settings_position_top.js +6 -5
- package/dist/paraglide/messages/settings_select_dock_position.d.ts +2 -1
- package/dist/paraglide/messages/settings_select_dock_position.js +6 -5
- package/dist/paraglide/messages/settings_submenu_annotations.d.ts +2 -1
- package/dist/paraglide/messages/settings_submenu_annotations.js +6 -5
- package/dist/paraglide/messages/settings_submenu_gallery.d.ts +2 -1
- package/dist/paraglide/messages/settings_submenu_gallery.js +6 -5
- package/dist/paraglide/messages/settings_submenu_right_menu_items.d.ts +2 -1
- package/dist/paraglide/messages/settings_submenu_right_menu_items.js +6 -5
- package/dist/paraglide/messages/settings_submenu_search.d.ts +2 -1
- package/dist/paraglide/messages/settings_submenu_search.js +6 -5
- package/dist/paraglide/messages/settings_toggle_canvas_nav.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_canvas_nav.js +6 -5
- package/dist/paraglide/messages/settings_toggle_close_button.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_close_button.js +6 -5
- package/dist/paraglide/messages/settings_toggle_draggable.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_draggable.js +6 -5
- package/dist/paraglide/messages/settings_toggle_left_menu.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_left_menu.js +6 -5
- package/dist/paraglide/messages/settings_toggle_open.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_open.js +6 -5
- package/dist/paraglide/messages/settings_toggle_panel_open.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_panel_open.js +6 -5
- package/dist/paraglide/messages/settings_toggle_right_menu.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_right_menu.js +6 -5
- package/dist/paraglide/messages/settings_toggle_show_annotations.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_show_annotations.js +6 -5
- package/dist/paraglide/messages/settings_toggle_show_fullscreen.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_show_fullscreen.js +6 -5
- package/dist/paraglide/messages/settings_toggle_show_gallery.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_show_gallery.js +6 -5
- package/dist/paraglide/messages/settings_toggle_show_info.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_show_info.js +6 -5
- package/dist/paraglide/messages/settings_toggle_show_search.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_show_search.js +6 -5
- package/dist/paraglide/messages/settings_toggle_visible_by_default.d.ts +2 -1
- package/dist/paraglide/messages/settings_toggle_visible_by_default.js +6 -5
- package/dist/paraglide/messages/show_all_annotations.d.ts +2 -1
- package/dist/paraglide/messages/show_all_annotations.js +6 -5
- package/dist/paraglide/messages/show_annotations.d.ts +2 -1
- package/dist/paraglide/messages/show_annotations.js +6 -5
- package/dist/paraglide/messages/show_gallery.d.ts +2 -1
- package/dist/paraglide/messages/show_gallery.js +6 -5
- package/dist/paraglide/messages/theme_menu_title.d.ts +2 -1
- package/dist/paraglide/messages/theme_menu_title.js +6 -5
- package/dist/paraglide/messages/toggle_annotations.d.ts +2 -1
- package/dist/paraglide/messages/toggle_annotations.js +6 -5
- package/dist/paraglide/messages/toggle_metadata.d.ts +2 -1
- package/dist/paraglide/messages/toggle_metadata.js +6 -5
- package/dist/paraglide/messages/toggle_search.d.ts +2 -1
- package/dist/paraglide/messages/toggle_search.js +6 -5
- package/dist/paraglide/messages/try_your_own.d.ts +2 -1
- package/dist/paraglide/messages/try_your_own.js +6 -5
- package/dist/paraglide/messages/viewer_variant_core.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_core.js +6 -5
- package/dist/paraglide/messages/viewer_variant_custom_theme.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_custom_theme.js +6 -5
- package/dist/paraglide/messages/viewer_variant_full.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_full.js +6 -5
- package/dist/paraglide/messages/viewer_variant_svelte.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_svelte.js +6 -5
- package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_svelte_component_tooltip.js +6 -5
- package/dist/paraglide/messages/viewer_variant_tooltip_core.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_tooltip_core.js +6 -5
- package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_tooltip_custom_theme.js +6 -5
- package/dist/paraglide/messages/viewer_variant_tooltip_full.d.ts +2 -1
- package/dist/paraglide/messages/viewer_variant_tooltip_full.js +6 -5
- package/dist/paraglide/messages/visible_count.d.ts +2 -1
- package/dist/paraglide/messages/visible_count.js +6 -5
- package/dist/paraglide/runtime.d.ts +14 -0
- package/dist/paraglide/runtime.js +42 -0
- package/dist/state/i18n.svelte.d.ts +3 -3
- package/dist/state/i18n.svelte.js +14 -14
- package/dist/triiiceratops-bundle.js +2528 -2395
- package/dist/triiiceratops-element-image.js +139 -126
- package/dist/triiiceratops-element.js +1 -1
- package/package.json +3 -4
|
@@ -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_show_all_annotations = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Show All Annotations`
|
|
5
|
+
const en_show_all_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Show All Annotations`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_show_all_annotations = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Alle Annotationen einblenden`
|
|
9
|
+
const de_show_all_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Alle Annotationen einblenden`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_show_all_annotations = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const show_all_annotations = (inputs = {}, options = {}) => {
|
|
@@ -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_show_annotations = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Show Annotations`
|
|
5
|
+
const en_show_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Show Annotations`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_show_annotations = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Annotationen einblenden`
|
|
9
|
+
const de_show_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Annotationen einblenden`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_show_annotations = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const show_annotations = (inputs = {}, options = {}) => {
|
|
@@ -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_show_gallery = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Show Gallery`
|
|
5
|
+
const en_show_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Show Gallery`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_show_gallery = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Galerie einblenden`
|
|
9
|
+
const de_show_gallery = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Galerie einblenden`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_show_gallery = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const show_gallery = (inputs = {}, options = {}) => {
|
|
@@ -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_theme_menu_title = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Theme`
|
|
5
|
+
const en_theme_menu_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Theme`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_theme_menu_title = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Design`
|
|
9
|
+
const de_theme_menu_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Design`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_theme_menu_title = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const theme_menu_title = (inputs = {}, options = {}) => {
|
|
@@ -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_toggle_annotations = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Toggle Annotations`
|
|
5
|
+
const en_toggle_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Toggle Annotations`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_toggle_annotations = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Annotationen umschalten`
|
|
9
|
+
const de_toggle_annotations = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Annotationen umschalten`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_toggle_annotations = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const toggle_annotations = (inputs = {}, options = {}) => {
|
|
@@ -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_toggle_metadata = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Toggle Metadata`
|
|
5
|
+
const en_toggle_metadata = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Toggle Metadata`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_toggle_metadata = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Metadaten umschalten`
|
|
9
|
+
const de_toggle_metadata = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Metadaten umschalten`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_toggle_metadata = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const toggle_metadata = (inputs = {}, options = {}) => {
|
|
@@ -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_toggle_search = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Toggle Search`
|
|
5
|
+
const en_toggle_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Toggle Search`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_toggle_search = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Suche umschalten`
|
|
9
|
+
const de_toggle_search = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Suche umschalten`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_toggle_search = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const toggle_search = (inputs = {}, options = {}) => {
|
|
@@ -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_try_your_own = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Try your own...`
|
|
5
|
+
const en_try_your_own = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Try your own...`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_try_your_own = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Eigenes ausprobieren...`
|
|
9
|
+
const de_try_your_own = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Eigenes ausprobieren...`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_try_your_own = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const try_your_own = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_core = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Core`
|
|
5
|
+
const en_viewer_variant_core = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Core`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_core = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Basis`
|
|
9
|
+
const de_viewer_variant_core = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Basis`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_core = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_core = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_custom_theme = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Custom Theme`
|
|
5
|
+
const en_viewer_variant_custom_theme = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Custom Theme`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_custom_theme = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Benutzerdefiniertes Thema`
|
|
9
|
+
const de_viewer_variant_custom_theme = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Benutzerdefiniertes Thema`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_custom_theme = /** @type {(inputs: {}) => string} */ ()
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_custom_theme = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_full = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Full`
|
|
5
|
+
const en_viewer_variant_full = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Full`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_full = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Vollständig`
|
|
9
|
+
const de_viewer_variant_full = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Vollständig`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_full = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_full = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_svelte = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Svelte`
|
|
5
|
+
const en_viewer_variant_svelte = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Svelte`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_svelte = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Svelte`
|
|
9
|
+
const de_viewer_variant_svelte = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Svelte`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_svelte = /** @type {(inputs: {}) => string} */ () => {
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_svelte = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_svelte_component_tooltip = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Svelte component (not web component)`
|
|
5
|
+
const en_viewer_variant_svelte_component_tooltip = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Svelte component (not web component)`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_svelte_component_tooltip = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Svelte-Komponente (keine Web-Komponente)`
|
|
9
|
+
const de_viewer_variant_svelte_component_tooltip = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Svelte-Komponente (keine Web-Komponente)`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_svelte_component_tooltip = /** @type {(inputs: {}) => st
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_svelte_component_tooltip = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_tooltip_core = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Example without plugins`
|
|
5
|
+
const en_viewer_variant_tooltip_core = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Example without plugins`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_tooltip_core = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Beispiel ohne Plugins`
|
|
9
|
+
const de_viewer_variant_tooltip_core = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Beispiel ohne Plugins`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_tooltip_core = /** @type {(inputs: {}) => string} */ ()
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_tooltip_core = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_tooltip_custom_theme = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Example with custom theme override`
|
|
5
|
+
const en_viewer_variant_tooltip_custom_theme = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Example with custom theme override`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_tooltip_custom_theme = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Beispiel mit benutzerdefiniertem Thema`
|
|
9
|
+
const de_viewer_variant_tooltip_custom_theme = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Beispiel mit benutzerdefiniertem Thema`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_tooltip_custom_theme = /** @type {(inputs: {}) => string
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_tooltip_custom_theme = (inputs = {}, options = {}) => {
|
|
@@ -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_viewer_variant_tooltip_full = /** @type {(inputs: {}) =>
|
|
5
|
-
return `Example with plugins`
|
|
5
|
+
const en_viewer_variant_tooltip_full = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Example with plugins`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_viewer_variant_tooltip_full = /** @type {(inputs: {}) =>
|
|
9
|
-
return `Beispiel mit Plugins`
|
|
9
|
+
const de_viewer_variant_tooltip_full = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Beispiel mit Plugins`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_viewer_variant_tooltip_full = /** @type {(inputs: {}) => string} */ ()
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{}} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const viewer_variant_tooltip_full = (inputs = {}, options = {}) => {
|
|
@@ -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_visible_count = /** @type {(inputs: { count: NonNullable<unknown> }) =>
|
|
5
|
-
return `(${i
|
|
5
|
+
const en_visible_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`(${i?.count} visible)`)
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
const de_visible_count = /** @type {(inputs: { count: NonNullable<unknown> }) =>
|
|
9
|
-
return `(${i
|
|
9
|
+
const de_visible_count = /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */ (i) => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`(${i?.count} sichtbar)`)
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -19,7 +20,7 @@ const de_visible_count = /** @type {(inputs: { count: NonNullable<unknown> }) =>
|
|
|
19
20
|
*
|
|
20
21
|
* @param {{ count: NonNullable<unknown> }} inputs
|
|
21
22
|
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
-
* @returns {
|
|
23
|
+
* @returns {LocalizedString}
|
|
23
24
|
*/
|
|
24
25
|
/* @__NO_SIDE_EFFECTS__ */
|
|
25
26
|
export const visible_count = (inputs, options = {}) => {
|
|
@@ -581,3 +581,17 @@ export type CustomClientStrategyHandler = {
|
|
|
581
581
|
* A locale that is available in the project.
|
|
582
582
|
*/
|
|
583
583
|
export type Locale = (typeof locales)[number];
|
|
584
|
+
/**
|
|
585
|
+
* A branded type representing a localized string.
|
|
586
|
+
*
|
|
587
|
+
* Message functions return this type instead of `string`, enabling TypeScript
|
|
588
|
+
* to distinguish translated strings from regular strings at compile time.
|
|
589
|
+
* This allows you to enforce that only properly localized content is used
|
|
590
|
+
* in your UI components.
|
|
591
|
+
*
|
|
592
|
+
* Since `LocalizedString` is a branded subtype of `string`, it remains fully
|
|
593
|
+
* backward compatible—you can pass it anywhere a `string` is expected.
|
|
594
|
+
*/
|
|
595
|
+
export type LocalizedString = string & {
|
|
596
|
+
readonly __brand: "LocalizedString";
|
|
597
|
+
};
|