triiiceratops 0.12.4 → 0.12.6
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/{ArrowCounterClockwise-Bcse6skq.js → ArrowCounterClockwise-BkrSndVO.js} +1 -1
- package/dist/Check-CB_Zdp64.js +423 -0
- package/dist/{X-BsrpnzCK.js → X-B3XldraD.js} +3 -3
- package/dist/components/DemoHeader.svelte +5 -548
- package/dist/components/SettingsMenu.svelte +523 -0
- package/dist/components/SettingsMenu.svelte.d.ts +6 -0
- package/dist/components/Toolbar.svelte +13 -2
- package/dist/components/TriiiceratopsViewer.svelte +37 -11
- package/dist/{image_filters_reset-Dw23NgOZ.js → image_filters_reset-jtpS22ff.js} +1 -1
- package/dist/paraglide/messages/_index.d.ts +4 -0
- package/dist/paraglide/messages/_index.js +4 -0
- package/dist/paraglide/messages/demo_title.d.ts +4 -0
- package/dist/paraglide/messages/demo_title.js +34 -0
- package/dist/paraglide/messages/settings_paged_view_offset.d.ts +4 -0
- package/dist/paraglide/messages/settings_paged_view_offset.js +33 -0
- package/dist/paraglide/messages/settings_thumbnail_height.d.ts +4 -0
- package/dist/paraglide/messages/settings_thumbnail_height.js +34 -0
- package/dist/paraglide/messages/settings_toggle_show_viewing_mode.js +3 -2
- package/dist/paraglide/messages/settings_view_configuration.d.ts +4 -0
- package/dist/paraglide/messages/settings_view_configuration.js +34 -0
- package/dist/plugins/annotation-editor.js +493 -623
- package/dist/plugins/image-manipulation.js +3 -3
- package/dist/state/viewer.svelte.js +5 -1
- package/dist/triiiceratops-bundle.js +1787 -1711
- package/dist/triiiceratops-element.iife.js +15 -15
- package/dist/triiiceratops.css +1 -1
- package/dist/types/config.d.ts +5 -0
- package/package.json +1 -1
- package/dist/annotation_tool_point-Do_1lOD_.js +0 -290
|
@@ -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_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Triiiceratops IIIF Viewer Demo`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_demo_title = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Triiiceratops IIIF-Viewer-Demo`)
|
|
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_title = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.demo_title(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("demo_title", locale)
|
|
32
|
+
if (locale === "en") return en_demo_title(inputs)
|
|
33
|
+
return de_demo_title(inputs)
|
|
34
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
|
|
3
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
4
|
+
|
|
5
|
+
const en_settings_paged_view_offset = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Paged View Offset`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
/** @type {(inputs: {}) => LocalizedString} */
|
|
10
|
+
const de_settings_paged_view_offset = en_settings_paged_view_offset;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
14
|
+
*
|
|
15
|
+
* - Changing this function will be over-written by the next build.
|
|
16
|
+
*
|
|
17
|
+
* - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
|
|
18
|
+
* use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
|
|
19
|
+
*
|
|
20
|
+
* @param {{}} inputs
|
|
21
|
+
* @param {{ locale?: "en" | "de" }} options
|
|
22
|
+
* @returns {LocalizedString}
|
|
23
|
+
*/
|
|
24
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
25
|
+
export const settings_paged_view_offset = (inputs = {}, options = {}) => {
|
|
26
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
27
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.settings_paged_view_offset(inputs)
|
|
28
|
+
}
|
|
29
|
+
const locale = options.locale ?? getLocale()
|
|
30
|
+
trackMessageCall("settings_paged_view_offset", locale)
|
|
31
|
+
if (locale === "en") return en_settings_paged_view_offset(inputs)
|
|
32
|
+
return de_settings_paged_view_offset(inputs)
|
|
33
|
+
};
|
|
@@ -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_settings_thumbnail_height = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Thumbnail Height`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_settings_thumbnail_height = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Thumbnail-Höhe`)
|
|
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 settings_thumbnail_height = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.settings_thumbnail_height(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("settings_thumbnail_height", locale)
|
|
32
|
+
if (locale === "en") return en_settings_thumbnail_height(inputs)
|
|
33
|
+
return de_settings_thumbnail_height(inputs)
|
|
34
|
+
};
|
|
@@ -6,8 +6,9 @@ const en_settings_toggle_show_viewing_mode = /** @type {(inputs: {}) => Localize
|
|
|
6
6
|
return /** @type {LocalizedString} */ (`Show Viewing Mode`)
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
/** @type {(inputs: {}) => LocalizedString} */
|
|
10
|
-
|
|
9
|
+
const de_settings_toggle_show_viewing_mode = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Ansichtsmodus anzeigen`)
|
|
11
|
+
};
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
|
|
@@ -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_settings_view_configuration = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
6
|
+
return /** @type {LocalizedString} */ (`Viewer Configuration`)
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const de_settings_view_configuration = /** @type {(inputs: {}) => LocalizedString} */ () => {
|
|
10
|
+
return /** @type {LocalizedString} */ (`Viewer-Konfiguration`)
|
|
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 settings_view_configuration = (inputs = {}, options = {}) => {
|
|
27
|
+
if (experimentalMiddlewareLocaleSplitting && isServer === false) {
|
|
28
|
+
return /** @type {any} */ (globalThis).__paraglide_ssr.settings_view_configuration(inputs)
|
|
29
|
+
}
|
|
30
|
+
const locale = options.locale ?? getLocale()
|
|
31
|
+
trackMessageCall("settings_view_configuration", locale)
|
|
32
|
+
if (locale === "en") return en_settings_view_configuration(inputs)
|
|
33
|
+
return de_settings_view_configuration(inputs)
|
|
34
|
+
};
|