@platforma-sdk/ui-vue 1.42.2 → 1.42.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/.turbo/turbo-build.log +15 -15
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/aggrid.js +4 -4
- package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue2.js +7 -7
- package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +13 -13
- package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -1
- package/dist/components/PlAgDataTable/sources/table-source-v2.js +88 -85
- package/dist/components/PlAgDataTable/sources/table-source-v2.js.map +1 -1
- package/dist/components/PlAgDataTable/sources/table-state-v2.js +6 -6
- package/dist/components/PlAnnotations/components/DynamicForm.vue2.js +10 -10
- package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js +2 -2
- package/dist/components/PlMultiSequenceAlignment/data.js +26 -26
- package/dist/components/PlTableFilters/filters-state.js +2 -2
- package/dist/defineApp.js +16 -16
- package/dist/internal/createAppV2.d.ts.map +1 -1
- package/dist/internal/createAppV2.js +61 -52
- package/dist/internal/createAppV2.js.map +1 -1
- package/dist/lib/model/common/dist/index.js +329 -317
- package/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
- package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js +16 -16
- package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js +8 -8
- package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +18 -18
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@vueuse_core@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/core/index.js +44 -41
- package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js +122 -67
- package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js.map +1 -1
- package/dist/sdk/model/dist/index.js +198 -206
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/components/PlAgDataTable/sources/table-source-v2.ts +9 -6
- package/src/internal/createAppV2.ts +22 -13
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { tryOnMounted as
|
|
2
|
-
import {
|
|
3
|
-
import { shallowRef as d, watch as
|
|
4
|
-
const E =
|
|
1
|
+
import { tryOnMounted as S, tryOnScopeDispose as R, toArray as w, notNullish as x, watchImmediate as C, isClient as U, isObject as A } from "../../../../@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js";
|
|
2
|
+
import { bypassFilter as J, createFilterWrapper as K, debounceFilter as Q, getLifeCycleTarget as X, ignorableWatch as Y, noop as Z, useDebounceFn as _, useIntervalFn as ee, ignorableWatch as te, whenever as ne } from "../../../../@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js";
|
|
3
|
+
import { shallowRef as d, watch as M, toValue as b, readonly as I, computed as L, getCurrentInstance as j, onMounted as k, unref as B } from "vue";
|
|
4
|
+
const E = U ? window : void 0;
|
|
5
5
|
function y(e) {
|
|
6
6
|
var n;
|
|
7
7
|
const s = b(e);
|
|
8
8
|
return (n = s == null ? void 0 : s.$el) != null ? n : s;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function W(...e) {
|
|
11
11
|
const n = [], s = () => {
|
|
12
12
|
n.forEach((t) => t()), n.length = 0;
|
|
13
13
|
}, a = (t, o, u, i) => (t.addEventListener(o, u, i), () => t.removeEventListener(o, u, i)), v = L(() => {
|
|
14
14
|
const t = w(b(e[0])).filter((o) => o != null);
|
|
15
15
|
return t.every((o) => typeof o != "string") ? t : void 0;
|
|
16
|
-
}), r =
|
|
16
|
+
}), r = C(
|
|
17
17
|
() => {
|
|
18
18
|
var t, o;
|
|
19
19
|
return [
|
|
20
20
|
(o = (t = v.value) == null ? void 0 : t.map((u) => y(u))) != null ? o : [E].filter((u) => u != null),
|
|
21
21
|
w(b(v.value ? e[1] : e[0])),
|
|
22
|
-
w(
|
|
22
|
+
w(B(v.value ? e[2] : e[1])),
|
|
23
23
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
24
24
|
b(v.value ? e[3] : e[2])
|
|
25
25
|
];
|
|
@@ -40,27 +40,27 @@ function F(...e) {
|
|
|
40
40
|
), f = () => {
|
|
41
41
|
r(), s();
|
|
42
42
|
};
|
|
43
|
-
return
|
|
43
|
+
return R(s), f;
|
|
44
44
|
}
|
|
45
45
|
function T() {
|
|
46
|
-
const e = d(!1), n =
|
|
47
|
-
return n &&
|
|
46
|
+
const e = d(!1), n = j();
|
|
47
|
+
return n && k(() => {
|
|
48
48
|
e.value = !0;
|
|
49
49
|
}, n), e;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function z(e) {
|
|
52
52
|
const n = T();
|
|
53
53
|
return L(() => (n.value, !!e()));
|
|
54
54
|
}
|
|
55
55
|
function D(e, n, s = {}) {
|
|
56
56
|
const { window: a = E, ...v } = s;
|
|
57
57
|
let r;
|
|
58
|
-
const f =
|
|
58
|
+
const f = z(() => a && "MutationObserver" in a), t = () => {
|
|
59
59
|
r && (r.disconnect(), r = void 0);
|
|
60
60
|
}, o = L(() => {
|
|
61
|
-
const l = b(e), p = w(l).map(y).filter(
|
|
61
|
+
const l = b(e), p = w(l).map(y).filter(x);
|
|
62
62
|
return new Set(p);
|
|
63
|
-
}), u =
|
|
63
|
+
}), u = M(
|
|
64
64
|
() => o.value,
|
|
65
65
|
(l) => {
|
|
66
66
|
t(), f.value && l.size && (r = new MutationObserver(n), l.forEach((p) => r.observe(p, v)));
|
|
@@ -69,7 +69,7 @@ function D(e, n, s = {}) {
|
|
|
69
69
|
), i = () => r == null ? void 0 : r.takeRecords(), c = () => {
|
|
70
70
|
u(), t();
|
|
71
71
|
};
|
|
72
|
-
return
|
|
72
|
+
return R(c), {
|
|
73
73
|
isSupported: f,
|
|
74
74
|
stop: c,
|
|
75
75
|
takeRecords: i
|
|
@@ -78,12 +78,12 @@ function D(e, n, s = {}) {
|
|
|
78
78
|
function q(e, n, s = {}) {
|
|
79
79
|
const { window: a = E, ...v } = s;
|
|
80
80
|
let r;
|
|
81
|
-
const f =
|
|
81
|
+
const f = z(() => a && "ResizeObserver" in a), t = () => {
|
|
82
82
|
r && (r.disconnect(), r = void 0);
|
|
83
83
|
}, o = L(() => {
|
|
84
84
|
const c = b(e);
|
|
85
85
|
return Array.isArray(c) ? c.map((l) => y(l)) : [y(c)];
|
|
86
|
-
}), u =
|
|
86
|
+
}), u = M(
|
|
87
87
|
o,
|
|
88
88
|
(c) => {
|
|
89
89
|
if (t(), f.value && a) {
|
|
@@ -96,7 +96,7 @@ function q(e, n, s = {}) {
|
|
|
96
96
|
), i = () => {
|
|
97
97
|
t(), u();
|
|
98
98
|
};
|
|
99
|
-
return
|
|
99
|
+
return R(i), {
|
|
100
100
|
isSupported: f,
|
|
101
101
|
stop: i
|
|
102
102
|
};
|
|
@@ -109,21 +109,21 @@ function V(e, n = {}) {
|
|
|
109
109
|
immediate: r = !0,
|
|
110
110
|
updateTiming: f = "sync"
|
|
111
111
|
} = n, t = d(0), o = d(0), u = d(0), i = d(0), c = d(0), l = d(0), p = d(0), O = d(0);
|
|
112
|
-
function
|
|
113
|
-
const
|
|
114
|
-
if (!
|
|
112
|
+
function F() {
|
|
113
|
+
const g = y(e);
|
|
114
|
+
if (!g) {
|
|
115
115
|
s && (t.value = 0, o.value = 0, u.value = 0, i.value = 0, c.value = 0, l.value = 0, p.value = 0, O.value = 0);
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
-
const m =
|
|
118
|
+
const m = g.getBoundingClientRect();
|
|
119
119
|
t.value = m.height, o.value = m.bottom, u.value = m.left, i.value = m.right, c.value = m.top, l.value = m.width, p.value = m.x, O.value = m.y;
|
|
120
120
|
}
|
|
121
121
|
function h() {
|
|
122
|
-
f === "sync" ?
|
|
122
|
+
f === "sync" ? F() : f === "next-frame" && requestAnimationFrame(() => F());
|
|
123
123
|
}
|
|
124
|
-
return q(e, h),
|
|
124
|
+
return q(e, h), M(() => y(e), (g) => !g && h()), D(e, h, {
|
|
125
125
|
attributeFilter: ["style", "class"]
|
|
126
|
-
}), v &&
|
|
126
|
+
}), v && W("scroll", h, { capture: !0, passive: !0 }), a && W("resize", h, { passive: !0 }), S(() => {
|
|
127
127
|
r && h();
|
|
128
128
|
}), {
|
|
129
129
|
height: t,
|
|
@@ -141,37 +141,40 @@ function $(e) {
|
|
|
141
141
|
const n = d(), s = () => {
|
|
142
142
|
n.value && URL.revokeObjectURL(n.value), n.value = void 0;
|
|
143
143
|
};
|
|
144
|
-
return
|
|
144
|
+
return M(
|
|
145
145
|
() => b(e),
|
|
146
146
|
(a) => {
|
|
147
147
|
s(), a && (n.value = URL.createObjectURL(a));
|
|
148
148
|
},
|
|
149
149
|
{ immediate: !0 }
|
|
150
|
-
),
|
|
150
|
+
), R(s), I(n);
|
|
151
151
|
}
|
|
152
152
|
export {
|
|
153
|
-
J as
|
|
154
|
-
K as
|
|
153
|
+
J as bypassFilter,
|
|
154
|
+
K as createFilterWrapper,
|
|
155
|
+
Q as debounceFilter,
|
|
155
156
|
E as defaultWindow,
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
X as getLifeCycleTarget,
|
|
158
|
+
Y as ignorableWatch,
|
|
159
|
+
U as isClient,
|
|
158
160
|
A as isObject,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
Z as noop,
|
|
162
|
+
x as notNullish,
|
|
161
163
|
w as toArray,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
S as tryOnMounted,
|
|
165
|
+
R as tryOnScopeDispose,
|
|
164
166
|
y as unrefElement,
|
|
165
|
-
|
|
167
|
+
_ as useDebounceFn,
|
|
166
168
|
V as useElementBounding,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
W as useEventListener,
|
|
170
|
+
ee as useIntervalFn,
|
|
169
171
|
T as useMounted,
|
|
170
172
|
D as useMutationObserver,
|
|
171
173
|
$ as useObjectUrl,
|
|
172
174
|
q as useResizeObserver,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
175
|
+
z as useSupported,
|
|
176
|
+
te as watchIgnorable,
|
|
177
|
+
C as watchImmediate,
|
|
178
|
+
ne as whenever
|
|
176
179
|
};
|
|
177
180
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,82 +1,134 @@
|
|
|
1
|
-
import { shallowRef as
|
|
2
|
-
function
|
|
3
|
-
return
|
|
1
|
+
import { shallowRef as d, isRef as C, watch as m, shallowReadonly as T, onMounted as A, nextTick as I, getCurrentScope as O, onScopeDispose as S, toValue as h, getCurrentInstance as j } from "vue";
|
|
2
|
+
function y(e) {
|
|
3
|
+
return O() ? (S(e), !0) : !1;
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const g = typeof window < "u" && typeof document < "u";
|
|
6
6
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
7
|
-
const
|
|
7
|
+
const R = (e) => e != null, F = Object.prototype.toString, k = (e) => F.call(e) === "[object Object]", b = () => {
|
|
8
8
|
};
|
|
9
|
-
function
|
|
10
|
-
function n(...
|
|
11
|
-
return new Promise((
|
|
12
|
-
Promise.resolve(e(() => t.apply(this,
|
|
9
|
+
function w(e, t) {
|
|
10
|
+
function n(...r) {
|
|
11
|
+
return new Promise((u, i) => {
|
|
12
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(u).catch(i);
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
return n;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
const P = (e) => e();
|
|
18
|
+
function W(e, t = {}) {
|
|
19
|
+
let n, r, u = b;
|
|
20
|
+
const i = (c) => {
|
|
21
|
+
clearTimeout(c), u(), u = b;
|
|
21
22
|
};
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
24
|
-
const s =
|
|
25
|
-
return n &&
|
|
26
|
-
|
|
27
|
-
n &&
|
|
28
|
-
},
|
|
29
|
-
|
|
23
|
+
let l;
|
|
24
|
+
return (c) => {
|
|
25
|
+
const s = h(e), o = h(t.maxWait);
|
|
26
|
+
return n && i(n), s <= 0 || o !== void 0 && o <= 0 ? (r && (i(r), r = null), Promise.resolve(c())) : new Promise((a, p) => {
|
|
27
|
+
u = t.rejectOnCancel ? p : a, l = c, o && !r && (r = setTimeout(() => {
|
|
28
|
+
n && i(n), r = null, a(l());
|
|
29
|
+
}, o)), n = setTimeout(() => {
|
|
30
|
+
r && i(r), r = null, a(c());
|
|
30
31
|
}, s);
|
|
31
32
|
});
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function G(e) {
|
|
35
36
|
return Array.isArray(e) ? e : [e];
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
38
|
+
function x(e) {
|
|
39
|
+
return j();
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
-
return
|
|
42
|
-
|
|
41
|
+
function M(e, t = 200, n = {}) {
|
|
42
|
+
return w(
|
|
43
|
+
W(t, n),
|
|
43
44
|
e
|
|
44
45
|
);
|
|
45
46
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
47
|
+
function U(e, t = !0, n) {
|
|
48
|
+
x() ? A(e, n) : t ? e() : I(e);
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
+
function V(e, t = 1e3, n = {}) {
|
|
50
51
|
const {
|
|
51
|
-
immediate:
|
|
52
|
-
immediateCallback:
|
|
52
|
+
immediate: r = !0,
|
|
53
|
+
immediateCallback: u = !1
|
|
53
54
|
} = n;
|
|
54
|
-
let
|
|
55
|
-
const
|
|
56
|
-
function
|
|
57
|
-
|
|
55
|
+
let i = null;
|
|
56
|
+
const l = d(!1);
|
|
57
|
+
function f() {
|
|
58
|
+
i && (clearInterval(i), i = null);
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
60
|
+
function c() {
|
|
61
|
+
l.value = !1, f();
|
|
61
62
|
}
|
|
62
63
|
function s() {
|
|
63
|
-
const
|
|
64
|
-
|
|
64
|
+
const o = h(t);
|
|
65
|
+
o <= 0 || (l.value = !0, u && e(), f(), l.value && (i = setInterval(e, o)));
|
|
65
66
|
}
|
|
66
|
-
if (
|
|
67
|
-
const
|
|
68
|
-
|
|
67
|
+
if (r && g && s(), C(t) || typeof t == "function") {
|
|
68
|
+
const o = m(t, () => {
|
|
69
|
+
l.value && g && s();
|
|
69
70
|
});
|
|
70
|
-
|
|
71
|
+
y(o);
|
|
71
72
|
}
|
|
72
|
-
return
|
|
73
|
-
isActive: T(
|
|
74
|
-
pause:
|
|
73
|
+
return y(c), {
|
|
74
|
+
isActive: T(l),
|
|
75
|
+
pause: c,
|
|
75
76
|
resume: s
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
79
|
+
function E(e, t, n = {}) {
|
|
80
|
+
const {
|
|
81
|
+
eventFilter: r = P,
|
|
82
|
+
...u
|
|
83
|
+
} = n, i = w(
|
|
84
|
+
r,
|
|
85
|
+
t
|
|
86
|
+
);
|
|
87
|
+
let l, f, c;
|
|
88
|
+
if (u.flush === "sync") {
|
|
89
|
+
const s = d(!1);
|
|
90
|
+
f = () => {
|
|
91
|
+
}, l = (o) => {
|
|
92
|
+
s.value = !0, o(), s.value = !1;
|
|
93
|
+
}, c = m(
|
|
94
|
+
e,
|
|
95
|
+
(...o) => {
|
|
96
|
+
s.value || i(...o);
|
|
97
|
+
},
|
|
98
|
+
u
|
|
99
|
+
);
|
|
100
|
+
} else {
|
|
101
|
+
const s = [], o = d(0), a = d(0);
|
|
102
|
+
f = () => {
|
|
103
|
+
o.value = a.value;
|
|
104
|
+
}, s.push(
|
|
105
|
+
m(
|
|
106
|
+
e,
|
|
107
|
+
() => {
|
|
108
|
+
a.value++;
|
|
109
|
+
},
|
|
110
|
+
{ ...u, flush: "sync" }
|
|
111
|
+
)
|
|
112
|
+
), l = (p) => {
|
|
113
|
+
const v = a.value;
|
|
114
|
+
p(), o.value += a.value - v;
|
|
115
|
+
}, s.push(
|
|
116
|
+
m(
|
|
117
|
+
e,
|
|
118
|
+
(...p) => {
|
|
119
|
+
const v = o.value > 0 && o.value === a.value;
|
|
120
|
+
o.value = 0, a.value = 0, !v && i(...p);
|
|
121
|
+
},
|
|
122
|
+
u
|
|
123
|
+
)
|
|
124
|
+
), c = () => {
|
|
125
|
+
s.forEach((p) => p());
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
return { stop: c, ignoreUpdates: l, ignorePrevAsyncUpdates: f };
|
|
129
|
+
}
|
|
130
|
+
function L(e, t, n) {
|
|
131
|
+
return m(
|
|
80
132
|
e,
|
|
81
133
|
t,
|
|
82
134
|
{
|
|
@@ -85,11 +137,11 @@ function V(e, t, n) {
|
|
|
85
137
|
}
|
|
86
138
|
);
|
|
87
139
|
}
|
|
88
|
-
function
|
|
89
|
-
return
|
|
140
|
+
function N(e, t, n) {
|
|
141
|
+
return m(
|
|
90
142
|
e,
|
|
91
|
-
(
|
|
92
|
-
|
|
143
|
+
(u, i, l) => {
|
|
144
|
+
u && t(u, i, l);
|
|
93
145
|
},
|
|
94
146
|
{
|
|
95
147
|
...n,
|
|
@@ -98,19 +150,22 @@ function L(e, t, n) {
|
|
|
98
150
|
);
|
|
99
151
|
}
|
|
100
152
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
W as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
153
|
+
P as bypassFilter,
|
|
154
|
+
w as createFilterWrapper,
|
|
155
|
+
W as debounceFilter,
|
|
156
|
+
x as getLifeCycleTarget,
|
|
157
|
+
E as ignorableWatch,
|
|
158
|
+
g as isClient,
|
|
159
|
+
k as isObject,
|
|
160
|
+
b as noop,
|
|
161
|
+
R as notNullish,
|
|
162
|
+
G as toArray,
|
|
163
|
+
U as tryOnMounted,
|
|
164
|
+
y as tryOnScopeDispose,
|
|
165
|
+
M as useDebounceFn,
|
|
166
|
+
V as useIntervalFn,
|
|
167
|
+
E as watchIgnorable,
|
|
168
|
+
L as watchImmediate,
|
|
169
|
+
N as whenever
|
|
115
170
|
};
|
|
116
171
|
//# sourceMappingURL=index.js.map
|