@annotorious/svelte 3.0.0-rc.4 → 3.0.0-rc.5
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/annotorious-svelte.es.js +2 -2
- package/dist/annotorious-svelte.es5.js +279 -274
- package/dist/annotorious-svelte.es5.js.map +1 -1
- package/dist/annotorious-svelte.es6.js +7 -7
- package/dist/annotorious-svelte.es9.js +514 -508
- package/dist/annotorious-svelte.es9.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as b, safe_not_equal as h, empty as k, insert as w, transition_in as l, transition_out as c, check_outros as A, detach as O, create_slot as v, update_slot_base as C, get_all_dirty_from_scope as
|
|
2
|
-
import { toSvelteStore as
|
|
3
|
-
import { createOSDAnnotator as
|
|
1
|
+
import { SvelteComponent as g, init as b, safe_not_equal as h, empty as k, insert as w, transition_in as l, transition_out as c, check_outros as A, detach as O, create_slot as v, update_slot_base as C, get_all_dirty_from_scope as q, get_slot_changes as y, group_outros as D, setContext as m } from "./annotorious-svelte.es8.js";
|
|
2
|
+
import { toSvelteStore as N } from "@annotorious/core";
|
|
3
|
+
import { createOSDAnnotator as T } from "./annotorious-svelte.es9.js";
|
|
4
4
|
function d(s) {
|
|
5
5
|
let n;
|
|
6
6
|
const o = (
|
|
@@ -28,13 +28,13 @@ function d(s) {
|
|
|
28
28
|
e,
|
|
29
29
|
/*$$scope*/
|
|
30
30
|
e[3],
|
|
31
|
-
n ?
|
|
31
|
+
n ? y(
|
|
32
32
|
o,
|
|
33
33
|
/*$$scope*/
|
|
34
34
|
e[3],
|
|
35
35
|
i,
|
|
36
36
|
null
|
|
37
|
-
) :
|
|
37
|
+
) : q(
|
|
38
38
|
/*$$scope*/
|
|
39
39
|
e[3]
|
|
40
40
|
),
|
|
@@ -67,7 +67,7 @@ function j(s) {
|
|
|
67
67
|
p(e, [i]) {
|
|
68
68
|
/*viewer*/
|
|
69
69
|
e[0] ? t ? (t.p(e, i), i & /*viewer*/
|
|
70
|
-
1 && l(t, 1)) : (t = d(e), t.c(), l(t, 1), t.m(n.parentNode, n)) : t && (
|
|
70
|
+
1 && l(t, 1)) : (t = d(e), t.c(), l(t, 1), t.m(n.parentNode, n)) : t && (D(), c(t, 1, 1, () => {
|
|
71
71
|
t = null;
|
|
72
72
|
}), A());
|
|
73
73
|
},
|
|
@@ -86,7 +86,7 @@ function z(s, n, o) {
|
|
|
86
86
|
let { $$slots: t = {}, $$scope: e } = n, { viewer: i } = n, { opts: f = {} } = n, { anno: a = void 0 } = n;
|
|
87
87
|
const S = (r) => {
|
|
88
88
|
if (r) {
|
|
89
|
-
const u =
|
|
89
|
+
const u = T(r, f), p = N(u.state.store), _ = {
|
|
90
90
|
...u,
|
|
91
91
|
state: { ...u.state, store: p }
|
|
92
92
|
};
|