triiiceratops 0.12.3 → 0.12.4
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-CM9mGGcp.js → ArrowCounterClockwise-Bcse6skq.js} +1 -1
- package/dist/{X-Bn7S7vUL.js → X-BsrpnzCK.js} +169 -156
- package/dist/{annotation_tool_point-LoRp_nrI.js → annotation_tool_point-Do_1lOD_.js} +1 -1
- package/dist/{image_filters_reset-CmWuQiOc.js → image_filters_reset-Dw23NgOZ.js} +1 -1
- package/dist/plugins/annotation-editor.js +3 -3
- package/dist/plugins/image-manipulation.js +3 -3
- package/dist/state/viewer.svelte.d.ts +1 -0
- package/dist/state/viewer.svelte.js +6 -1
- package/dist/triiiceratops-bundle.js +4 -4
- package/dist/triiiceratops-element.iife.js +13 -13
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ var K = (V, t, a) => Me(V, typeof t != "symbol" ? t + "" : t, a);
|
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as e from "svelte/internal/client";
|
|
6
6
|
import { getContext as He, untrack as Ce, onMount as Le, onDestroy as Se } from "svelte";
|
|
7
|
-
import { m as _e, g as ne, l as ze, s as Ie, X as we, c as Te, V as De } from "../X-
|
|
8
|
-
import { A as Ee } from "../ArrowCounterClockwise-
|
|
9
|
-
import { q as Ue, h as je, c as Re, j as Pe, k as Oe, t as Be, u as Fe, v as qe, r as We, s as Ke, m as Ne, i as Je, g as Xe, a as Ye, n as Ge, f as Qe, e as $e, b as et, d as tt, o as at, l as ot, p as nt } from "../annotation_tool_point-
|
|
7
|
+
import { m as _e, g as ne, l as ze, s as Ie, X as we, c as Te, V as De } from "../X-BsrpnzCK.js";
|
|
8
|
+
import { A as Ee } from "../ArrowCounterClockwise-Bcse6skq.js";
|
|
9
|
+
import { q as Ue, h as je, c as Re, j as Pe, k as Oe, t as Be, u as Fe, v as qe, r as We, s as Ke, m as Ne, i as Je, g as Xe, a as Ye, n as Ge, f as Qe, e as $e, b as et, d as tt, o as at, l as ot, p as nt } from "../annotation_tool_point-Do_1lOD_.js";
|
|
10
10
|
class ue {
|
|
11
11
|
constructor() {
|
|
12
12
|
K(this, "id", "localStorage");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as e from "svelte/internal/client";
|
|
3
3
|
import { getContext as s0 } from "svelte";
|
|
4
|
-
import { l as l0, s as i0, X as n0, c as o0, V as c0, g as v0 } from "../X-
|
|
5
|
-
import { A as d0 } from "../ArrowCounterClockwise-
|
|
6
|
-
import { i as _0, a as g0, b as f0, g as u0, c as h0, e as m0, d as p0, f as b0 } from "../image_filters_reset-
|
|
4
|
+
import { l as l0, s as i0, X as n0, c as o0, V as c0, g as v0 } from "../X-BsrpnzCK.js";
|
|
5
|
+
import { A as d0 } from "../ArrowCounterClockwise-Bcse6skq.js";
|
|
6
|
+
import { i as _0, a as g0, b as f0, g as u0, c as h0, e as m0, d as p0, f as b0 } from "../image_filters_reset-Dw23NgOZ.js";
|
|
7
7
|
const G = {
|
|
8
8
|
brightness: 100,
|
|
9
9
|
contrast: 100,
|
|
@@ -43,6 +43,7 @@ export declare class ViewerState {
|
|
|
43
43
|
get showCanvasNav(): boolean;
|
|
44
44
|
get showZoomControls(): boolean;
|
|
45
45
|
get galleryFixedHeight(): number;
|
|
46
|
+
private _viewingMode;
|
|
46
47
|
get viewingMode(): "individuals" | "paged";
|
|
47
48
|
set viewingMode(value: 'individuals' | 'paged');
|
|
48
49
|
pagedOffset: number;
|
|
@@ -27,10 +27,15 @@ export class ViewerState {
|
|
|
27
27
|
get galleryFixedHeight() {
|
|
28
28
|
return this.config.gallery?.fixedHeight ?? 120;
|
|
29
29
|
}
|
|
30
|
+
// Dedicated reactive state for viewingMode to ensure proper reactivity
|
|
31
|
+
// when accessed in $derived expressions (tileSources computation)
|
|
32
|
+
_viewingMode = $state('individuals');
|
|
30
33
|
get viewingMode() {
|
|
31
|
-
return this.
|
|
34
|
+
return this._viewingMode;
|
|
32
35
|
}
|
|
33
36
|
set viewingMode(value) {
|
|
37
|
+
this._viewingMode = value;
|
|
38
|
+
// Also sync to config for consistency
|
|
34
39
|
this.config.viewingMode = value;
|
|
35
40
|
}
|
|
36
41
|
// Pairing offset for paged mode: 0 = default (pairs start at 1+2), 1 = shifted (page 1 alone, pairs start at 2+3)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "svelte/internal/disclose-version";
|
|
2
2
|
import * as e from "svelte/internal/client";
|
|
3
3
|
import { onMount as Tt, getContext as Ze, untrack as qe, setContext as Et, onDestroy as Fe } from "svelte";
|
|
4
|
-
import { m as Ke, g as ge, a as S, c as Me, o as jt, s as Ot, V as we, X as Oe, b as Bt } from "./X-
|
|
5
|
-
import { M as Fc } from "./X-
|
|
4
|
+
import { m as Ke, g as ge, a as S, c as Me, o as jt, s as Ot, V as we, X as Oe, b as Bt } from "./X-BsrpnzCK.js";
|
|
5
|
+
import { M as Fc } from "./X-BsrpnzCK.js";
|
|
6
6
|
import { SvelteSet as Ft } from "svelte/reactivity";
|
|
7
|
-
import { a as Nt, b as Rt, c as Dt, d as Gt, e as Ut, f as Xt, g as Yt, h as Wt, i as qt, j as Kt, k as Qt, l as Jt, m as $t, n as er, o as tr, p as rr, q as ar, r as nr, s as or, t as ir, u as lr, v as sr } from "./annotation_tool_point-
|
|
8
|
-
import { i as cr, a as dr, b as gr, c as vr, d as fr, e as _r, f as ur, g as hr } from "./image_filters_reset-
|
|
7
|
+
import { a as Nt, b as Rt, c as Dt, d as Gt, e as Ut, f as Xt, g as Yt, h as Wt, i as qt, j as Kt, k as Qt, l as Jt, m as $t, n as er, o as tr, p as rr, q as ar, r as nr, s as or, t as ir, u as lr, v as sr } from "./annotation_tool_point-Do_1lOD_.js";
|
|
8
|
+
import { i as cr, a as dr, b as gr, c as vr, d as fr, e as _r, f as ur, g as hr } from "./image_filters_reset-Dw23NgOZ.js";
|
|
9
9
|
const pr = [
|
|
10
10
|
"light",
|
|
11
11
|
"dark",
|