@effect-app/vue-components 4.0.0-beta.26 → 4.0.0-beta.27
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/vue-components.es10.js +7 -7
- package/dist/vue-components.es11.js +2 -2
- package/dist/vue-components.es12.js +1 -1
- package/dist/vue-components.es16.js +11 -4
- package/dist/vue-components.es17.js +4 -11
- package/dist/vue-components.es18.js +11 -55
- package/dist/vue-components.es19.js +49 -48
- package/dist/vue-components.es20.js +54 -6
- package/dist/vue-components.es21.js +5 -5
- package/dist/vue-components.es22.js +6 -3
- package/dist/vue-components.es23.js +3 -3
- package/dist/vue-components.es24.js +3 -2
- package/dist/vue-components.es25.js +1 -1
- package/dist/vue-components.es26.js +1 -1
- package/dist/vue-components.es27.js +1 -1
- package/dist/vue-components.es28.js +2 -17
- package/dist/vue-components.es29.js +16 -10
- package/dist/vue-components.es34.js +1 -1
- package/dist/vue-components.es35.js +1 -1
- package/dist/vue-components.es45.js +1 -1
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es52.js +2 -2
- package/dist/vue-components.es53.js +3 -3
- package/dist/vue-components.es55.js +29 -65
- package/dist/vue-components.es56.js +54 -45
- package/dist/vue-components.es57.js +54 -15
- package/dist/vue-components.es58.js +15 -31
- package/dist/vue-components.es59.js +30 -26
- package/package.json +4 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useForm as K } from "@tanstack/vue-form";
|
|
2
2
|
import { Data as T, S as I, Effect as m, Fiber as V, Option as z, Array as P } from "effect-app";
|
|
3
|
-
import { runtimeFiberAsPromise as W } from "./vue-components.
|
|
3
|
+
import { runtimeFiberAsPromise as W } from "./vue-components.es18.js";
|
|
4
4
|
import { computed as $, onUnmounted as D, onMounted as G, onBeforeUnmount as Z, watch as R, ref as Q, h as J } from "vue";
|
|
5
5
|
import { useIntl as X } from "./vue-components.es3.js";
|
|
6
|
-
import Y from "./vue-components.
|
|
7
|
-
import C from "./vue-components.
|
|
8
|
-
import ee from "./vue-components.
|
|
6
|
+
import Y from "./vue-components.es19.js";
|
|
7
|
+
import C from "./vue-components.es20.js";
|
|
8
|
+
import ee from "./vue-components.es21.js";
|
|
9
9
|
import { generateMetaFromSchema as re, deepMerge as N, defaultsValueFromSchema as te } from "./vue-components.es12.js";
|
|
10
10
|
import se from "./vue-components.es6.js";
|
|
11
11
|
import ne from "./vue-components.es8.js";
|
|
12
|
-
import oe from "./vue-components.
|
|
13
|
-
import { trace as H } from "./vue-components.
|
|
14
|
-
import { context as _ } from "./vue-components.
|
|
12
|
+
import oe from "./vue-components.es22.js";
|
|
13
|
+
import { trace as H } from "./vue-components.es23.js";
|
|
14
|
+
import { context as _ } from "./vue-components.es24.js";
|
|
15
15
|
class ie extends T.TaggedError("FormErrors") {
|
|
16
16
|
}
|
|
17
17
|
const M = (a) => function(s) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import l from "./vue-components.
|
|
1
|
+
import l from "./vue-components.es29.js";
|
|
2
2
|
import { inject as c, provide as u } from "vue";
|
|
3
|
-
import { onMountedWithCleanup as f } from "./vue-components.
|
|
3
|
+
import { onMountedWithCleanup as f } from "./vue-components.es16.js";
|
|
4
4
|
const p = () => l(), i = /* @__PURE__ */ Symbol("DialogBus"), r = () => c(i, null), g = () => {
|
|
5
5
|
const n = p();
|
|
6
6
|
return u(i, n), n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as i, Effect as P, Option as w } from "effect-app";
|
|
2
2
|
import { useIntl as I, getTransformationFrom as q } from "./vue-components.es3.js";
|
|
3
|
-
import { isObject as G } from "./vue-components.
|
|
3
|
+
import { isObject as G } from "./vue-components.es17.js";
|
|
4
4
|
const E = /* @__PURE__ */ new Set(), K = () => globalThis.process?.env?.NODE_ENV !== "production", S = (e) => {
|
|
5
5
|
let t = q(e);
|
|
6
6
|
for (; i.AST.isDeclaration(t) && t.typeParameters.length > 0; )
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import "vue";
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { onMounted as e, onUnmounted as u } from "vue";
|
|
2
|
+
function p(t) {
|
|
3
|
+
let n;
|
|
4
|
+
e(() => {
|
|
5
|
+
const o = t();
|
|
6
|
+
o && (n = o);
|
|
7
|
+
}), u(() => {
|
|
8
|
+
n && n();
|
|
9
|
+
});
|
|
10
|
+
}
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
p as onMountedWithCleanup
|
|
6
13
|
};
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const n = /* @__PURE__ */ Symbol.for("clone-trait"), a = i(2, (o, t) => n in o ? o[n](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(o)));
|
|
5
|
-
i(2, (o, t) => a(o, { ...o, ...m(t) ? t(o) : t }));
|
|
6
|
-
const O = (o, t) => new Promise((r, s) => o.addObserver((e) => {
|
|
7
|
-
c.isSuccess(e) ? r(e.value) : s(u.squash(e.cause));
|
|
8
|
-
}));
|
|
1
|
+
import "vue";
|
|
2
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
3
|
+
const t = Object.prototype.toString, c = (o) => t.call(o) === "[object Object]";
|
|
9
4
|
export {
|
|
10
|
-
|
|
11
|
-
n as cloneTrait,
|
|
12
|
-
O as runtimeFiberAsPromise
|
|
5
|
+
c as isObject
|
|
13
6
|
};
|
|
@@ -1,57 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
defaultItems: {},
|
|
10
|
-
items: {}
|
|
11
|
-
},
|
|
12
|
-
setup(n) {
|
|
13
|
-
const a = n, y = a.form.useStore((e) => e.values), i = f(() => {
|
|
14
|
-
const e = a.name.replace(/\[/g, ".").replace(/\]/g, "");
|
|
15
|
-
try {
|
|
16
|
-
return e.split(".").reduce((r, t) => r && r[t], y.value);
|
|
17
|
-
} catch (r) {
|
|
18
|
-
return console.error(r), [];
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
M(async () => {
|
|
22
|
-
a.defaultItems && !i.value && a.form.setFieldValue(a.name, a.defaultItems);
|
|
23
|
-
});
|
|
24
|
-
const $ = f(() => (r) => {
|
|
25
|
-
const t = r.replace(/\[\d+\]/g, "");
|
|
26
|
-
return a.form.meta[t];
|
|
27
|
-
});
|
|
28
|
-
return P("getMetaFromArray", $), (e, r) => (s(), c(p(n.form.Field), { name: n.name }, {
|
|
29
|
-
default: g(({ field: t, state: d }) => [
|
|
30
|
-
o(e.$slots, "pre-array", l(u({ field: t, state: d }))),
|
|
31
|
-
(s(!0), k(A, null, C(i.value, (B, m) => (s(), c(p(n.form.Field), {
|
|
32
|
-
key: `${n.name}[${Number(m)}]`,
|
|
33
|
-
name: (
|
|
34
|
-
// eslint-disable-next-line
|
|
35
|
-
`${n.name}[${Number(m)}]`
|
|
36
|
-
)
|
|
37
|
-
}, {
|
|
38
|
-
default: g(({ field: v, state: h }) => [
|
|
39
|
-
o(e.$slots, "default", b({ ref_for: !0 }, {
|
|
40
|
-
subField: v,
|
|
41
|
-
subState: h,
|
|
42
|
-
index: Number(m),
|
|
43
|
-
field: t
|
|
44
|
-
}))
|
|
45
|
-
]),
|
|
46
|
-
_: 2
|
|
47
|
-
}, 1032, ["name"]))), 128)),
|
|
48
|
-
o(e.$slots, "post-array", l(u({ field: t, state: d }))),
|
|
49
|
-
o(e.$slots, "field", l(u({ field: t })))
|
|
50
|
-
]),
|
|
51
|
-
_: 3
|
|
52
|
-
}, 8, ["name"]));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
1
|
+
import { Exit as c, Cause as u } from "effect";
|
|
2
|
+
import { dual as i } from "./vue-components.es32.js";
|
|
3
|
+
import { isFunction as m } from "./vue-components.es33.js";
|
|
4
|
+
const n = /* @__PURE__ */ Symbol.for("clone-trait"), a = i(2, (o, t) => n in o ? o[n](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(o)));
|
|
5
|
+
i(2, (o, t) => a(o, { ...o, ...m(t) ? t(o) : t }));
|
|
6
|
+
const O = (o, t) => new Promise((r, s) => o.addObserver((e) => {
|
|
7
|
+
c.isSuccess(e) ? r(e.value) : s(u.squash(e.cause));
|
|
8
|
+
}));
|
|
55
9
|
export {
|
|
56
|
-
|
|
10
|
+
a as clone,
|
|
11
|
+
n as cloneTrait,
|
|
12
|
+
O as runtimeFiberAsPromise
|
|
57
13
|
};
|
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
__name: "
|
|
1
|
+
import { defineComponent as F, computed as f, onMounted as M, provide as P, createBlock as c, openBlock as s, resolveDynamicComponent as p, withCtx as g, renderSlot as o, createElementBlock as k, normalizeProps as l, guardReactiveProps as u, Fragment as A, renderList as C, mergeProps as b } from "vue";
|
|
2
|
+
const N = /* @__PURE__ */ F({
|
|
3
|
+
inheritAttrs: !1,
|
|
4
|
+
__name: "OmegaArray",
|
|
5
5
|
props: {
|
|
6
6
|
form: {},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
order: {},
|
|
12
|
-
sort: {}
|
|
7
|
+
inputClass: {},
|
|
8
|
+
name: {},
|
|
9
|
+
defaultItems: {},
|
|
10
|
+
items: {}
|
|
13
11
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return t !== !1 && (e[n] = t), e;
|
|
23
|
-
},
|
|
24
|
-
{}
|
|
25
|
-
), c = i, p = (r, s) => {
|
|
26
|
-
const e = s?.indexOf(r) ?? -1;
|
|
27
|
-
return e === -1 ? Number.MAX_SAFE_INTEGER : e;
|
|
28
|
-
}, f = l.mapInput(
|
|
29
|
-
l.Number,
|
|
30
|
-
(r) => p(r.name, c.order || [])
|
|
31
|
-
), m = O(() => {
|
|
32
|
-
const r = a(
|
|
33
|
-
(o, t) => !!o && (c.pick ? c.pick.includes(t) && !c.omit?.includes(t) : !c.omit?.includes(t))
|
|
34
|
-
)(c.form.meta), s = u((o, t) => ({
|
|
35
|
-
name: t,
|
|
36
|
-
label: c.labelMap?.(t) || t,
|
|
37
|
-
...o
|
|
38
|
-
}))(r), e = c.filterMap ? d((o) => {
|
|
39
|
-
const t = c.filterMap?.(o.name, o);
|
|
40
|
-
return t === void 0 || t === !0 ? o : t;
|
|
41
|
-
})(s) : s, n = [...Object.values(e)].sort(f);
|
|
42
|
-
return c.sort ? n.sort(c.sort) : n;
|
|
12
|
+
setup(n) {
|
|
13
|
+
const a = n, y = a.form.useStore((e) => e.values), i = f(() => {
|
|
14
|
+
const e = a.name.replace(/\[/g, ".").replace(/\]/g, "");
|
|
15
|
+
try {
|
|
16
|
+
return e.split(".").reduce((r, t) => r && r[t], y.value);
|
|
17
|
+
} catch (r) {
|
|
18
|
+
return console.error(r), [];
|
|
19
|
+
}
|
|
43
20
|
});
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
21
|
+
M(async () => {
|
|
22
|
+
a.defaultItems && !i.value && a.form.setFieldValue(a.name, a.defaultItems);
|
|
23
|
+
});
|
|
24
|
+
const $ = f(() => (r) => {
|
|
25
|
+
const t = r.replace(/\[\d+\]/g, "");
|
|
26
|
+
return a.form.meta[t];
|
|
27
|
+
});
|
|
28
|
+
return P("getMetaFromArray", $), (e, r) => (s(), c(p(n.form.Field), { name: n.name }, {
|
|
29
|
+
default: g(({ field: t, state: d }) => [
|
|
30
|
+
o(e.$slots, "pre-array", l(u({ field: t, state: d }))),
|
|
31
|
+
(s(!0), k(A, null, C(i.value, (B, m) => (s(), c(p(n.form.Field), {
|
|
32
|
+
key: `${n.name}[${Number(m)}]`,
|
|
33
|
+
name: (
|
|
34
|
+
// eslint-disable-next-line
|
|
35
|
+
`${n.name}[${Number(m)}]`
|
|
36
|
+
)
|
|
37
|
+
}, {
|
|
38
|
+
default: g(({ field: v, state: h }) => [
|
|
39
|
+
o(e.$slots, "default", b({ ref_for: !0 }, {
|
|
40
|
+
subField: v,
|
|
41
|
+
subState: h,
|
|
42
|
+
index: Number(m),
|
|
43
|
+
field: t
|
|
44
|
+
}))
|
|
45
|
+
]),
|
|
46
|
+
_: 2
|
|
47
|
+
}, 1032, ["name"]))), 128)),
|
|
48
|
+
o(e.$slots, "post-array", l(u({ field: t, state: d }))),
|
|
49
|
+
o(e.$slots, "field", l(u({ field: t })))
|
|
50
|
+
]),
|
|
51
|
+
_: 3
|
|
52
|
+
}, 8, ["name"]));
|
|
52
53
|
}
|
|
53
54
|
});
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
+
N as default
|
|
56
57
|
};
|
|
@@ -1,8 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as b, computed as O, createElementBlock as j, openBlock as M, Fragment as E, renderList as _, renderSlot as h, createVNode as B, unref as F, mergeProps as N } from "vue";
|
|
2
|
+
import { Order as l } from "effect-app";
|
|
3
|
+
const v = /* @__PURE__ */ b({
|
|
4
|
+
__name: "OmegaAutoGen",
|
|
5
|
+
props: {
|
|
6
|
+
form: {},
|
|
7
|
+
pick: {},
|
|
8
|
+
omit: {},
|
|
9
|
+
labelMap: { type: Function },
|
|
10
|
+
filterMap: { type: Function },
|
|
11
|
+
order: {},
|
|
12
|
+
sort: {}
|
|
13
|
+
},
|
|
14
|
+
setup(i) {
|
|
15
|
+
const u = (r) => (s) => Object.fromEntries(
|
|
16
|
+
Object.entries(s).map(([e, n]) => [e, r(n, e)])
|
|
17
|
+
), a = (r) => (s) => Object.fromEntries(
|
|
18
|
+
Object.entries(s).filter(([e, n]) => r(n, e))
|
|
19
|
+
), d = (r) => (s) => Object.entries(s).reduce(
|
|
20
|
+
(e, [n, o]) => {
|
|
21
|
+
const t = r(o, n);
|
|
22
|
+
return t !== !1 && (e[n] = t), e;
|
|
23
|
+
},
|
|
24
|
+
{}
|
|
25
|
+
), c = i, p = (r, s) => {
|
|
26
|
+
const e = s?.indexOf(r) ?? -1;
|
|
27
|
+
return e === -1 ? Number.MAX_SAFE_INTEGER : e;
|
|
28
|
+
}, f = l.mapInput(
|
|
29
|
+
l.Number,
|
|
30
|
+
(r) => p(r.name, c.order || [])
|
|
31
|
+
), m = O(() => {
|
|
32
|
+
const r = a(
|
|
33
|
+
(o, t) => !!o && (c.pick ? c.pick.includes(t) && !c.omit?.includes(t) : !c.omit?.includes(t))
|
|
34
|
+
)(c.form.meta), s = u((o, t) => ({
|
|
35
|
+
name: t,
|
|
36
|
+
label: c.labelMap?.(t) || t,
|
|
37
|
+
...o
|
|
38
|
+
}))(r), e = c.filterMap ? d((o) => {
|
|
39
|
+
const t = c.filterMap?.(o.name, o);
|
|
40
|
+
return t === void 0 || t === !0 ? o : t;
|
|
41
|
+
})(s) : s, n = [...Object.values(e)].sort(f);
|
|
42
|
+
return c.sort ? n.sort(c.sort) : n;
|
|
43
|
+
});
|
|
44
|
+
return (r, s) => (M(!0), j(E, null, _(m.value, ({ name: e, label: n, ...o }) => h(r.$slots, "default", {
|
|
45
|
+
child: { name: e, label: n, ...o }
|
|
46
|
+
}, () => [
|
|
47
|
+
B(F(i.form).Input, N({
|
|
48
|
+
name: e,
|
|
49
|
+
label: n
|
|
50
|
+
}, { ref_for: !0 }, o), null, 16, ["name", "label"])
|
|
51
|
+
])), 256));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
6
54
|
export {
|
|
7
|
-
|
|
55
|
+
v as default
|
|
8
56
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
2
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");if(a.appendChild(document.createTextNode('.v-enter-from[data-v-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),document.head.appendChild(a),window.customElements){const e=window.customElements.define;window.customElements.define=function(i,t){const r=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode('.v-enter-from[data-v-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),this.shadowRoot.appendChild(o)}},e.call(window.customElements,i,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import r from "./vue-components.es36.js";
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import o from "./vue-components.es38.js";
|
|
5
|
+
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-6b2bf87e"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(o,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const c=document.createElement("style");c.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),this.shadowRoot.appendChild(c)}},e.call(window.customElements,o,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import o from "./vue-components.es39.js";
|
|
3
|
+
|
|
4
|
+
import m from "./vue-components.es38.js";
|
|
5
|
+
const a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
a as default
|
|
5
8
|
};
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, f) {
|
|
3
|
-
var i = t.get(e);
|
|
4
|
-
i ? i.push(f) : t.set(e, [f]);
|
|
5
|
-
}, off: function(e, f) {
|
|
6
|
-
var i = t.get(e);
|
|
7
|
-
i && (f ? i.splice(i.indexOf(f) >>> 0, 1) : t.set(e, []));
|
|
8
|
-
}, emit: function(e, f) {
|
|
9
|
-
var i = t.get(e);
|
|
10
|
-
i && i.slice().map(function(a) {
|
|
11
|
-
a(f);
|
|
12
|
-
}), (i = t.get("*")) && i.slice().map(function(a) {
|
|
13
|
-
a(e, f);
|
|
14
|
-
});
|
|
15
|
-
} };
|
|
16
|
-
}
|
|
1
|
+
import f from "./vue-components.es9.js";
|
|
17
2
|
export {
|
|
18
|
-
|
|
3
|
+
f as default
|
|
19
4
|
};
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
function c(t) {
|
|
2
|
+
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, f) {
|
|
3
|
+
var i = t.get(e);
|
|
4
|
+
i ? i.push(f) : t.set(e, [f]);
|
|
5
|
+
}, off: function(e, f) {
|
|
6
|
+
var i = t.get(e);
|
|
7
|
+
i && (f ? i.splice(i.indexOf(f) >>> 0, 1) : t.set(e, []));
|
|
8
|
+
}, emit: function(e, f) {
|
|
9
|
+
var i = t.get(e);
|
|
10
|
+
i && i.slice().map(function(a) {
|
|
11
|
+
a(f);
|
|
12
|
+
}), (i = t.get("*")) && i.slice().map(function(a) {
|
|
13
|
+
a(e, f);
|
|
14
|
+
});
|
|
15
|
+
} };
|
|
10
16
|
}
|
|
11
17
|
export {
|
|
12
|
-
|
|
18
|
+
c as default
|
|
13
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextAPI as l } from "./vue-components.es52.js";
|
|
2
|
-
import { getSpanContext as m, setSpan as d } from "./vue-components.
|
|
2
|
+
import { getSpanContext as m, setSpan as d } from "./vue-components.es55.js";
|
|
3
3
|
import { NonRecordingSpan as p } from "./vue-components.es51.js";
|
|
4
4
|
import { isSpanContextValid as S } from "./vue-components.es49.js";
|
|
5
5
|
var f = l.getInstance(), I = (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, mergeModels as C, useModel as k, useSlots as V, computed as _, resolveComponent as g, createBlock as y, openBlock as B, unref as a, createSlots as E, withCtx as u, renderSlot as d, renderList as M, normalizeProps as S, guardReactiveProps as w } from "vue";
|
|
2
2
|
import { useOnClose as L } from "./vue-components.es11.js";
|
|
3
|
-
import { onMountedWithCleanup as h } from "./vue-components.
|
|
3
|
+
import { onMountedWithCleanup as h } from "./vue-components.es16.js";
|
|
4
4
|
const z = /* @__PURE__ */ v({
|
|
5
5
|
__name: "Dialog",
|
|
6
6
|
props: /* @__PURE__ */ C({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NoopContextManager as f } from "./vue-components.es60.js";
|
|
2
|
-
import { registerGlobal as s, getGlobal as p, unregisterGlobal as g } from "./vue-components.
|
|
3
|
-
import { DiagAPI as u } from "./vue-components.
|
|
2
|
+
import { registerGlobal as s, getGlobal as p, unregisterGlobal as g } from "./vue-components.es59.js";
|
|
3
|
+
import { DiagAPI as u } from "./vue-components.es56.js";
|
|
4
4
|
var y = function(t, e) {
|
|
5
5
|
var a = typeof Symbol == "function" && t[Symbol.iterator];
|
|
6
6
|
if (!a) return t;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { registerGlobal as a, getGlobal as p, unregisterGlobal as s } from "./vue-components.
|
|
1
|
+
import { registerGlobal as a, getGlobal as p, unregisterGlobal as s } from "./vue-components.es59.js";
|
|
2
2
|
import { ProxyTracerProvider as i } from "./vue-components.es46.js";
|
|
3
3
|
import { wrapSpanContext as c, isSpanContextValid as h } from "./vue-components.es49.js";
|
|
4
|
-
import { deleteSpan as g, getSpan as S, getActiveSpan as x, getSpanContext as d, setSpan as f, setSpanContext as l } from "./vue-components.
|
|
5
|
-
import { DiagAPI as o } from "./vue-components.
|
|
4
|
+
import { deleteSpan as g, getSpan as S, getActiveSpan as x, getSpanContext as d, setSpan as f, setSpanContext as l } from "./vue-components.es55.js";
|
|
5
|
+
import { DiagAPI as o } from "./vue-components.es56.js";
|
|
6
6
|
var n = "trace", y = (
|
|
7
7
|
/** @class */
|
|
8
8
|
(function() {
|
|
@@ -1,67 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return i.concat(e || Array.prototype.slice.call(n));
|
|
25
|
-
}, h = "diag", P = (
|
|
26
|
-
/** @class */
|
|
27
|
-
(function() {
|
|
28
|
-
function i() {
|
|
29
|
-
function n(a) {
|
|
30
|
-
return function() {
|
|
31
|
-
for (var e = [], o = 0; o < arguments.length; o++)
|
|
32
|
-
e[o] = arguments[o];
|
|
33
|
-
var l = v("diag");
|
|
34
|
-
if (l)
|
|
35
|
-
return l[a].apply(l, _([], b(e), !1));
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
var r = this, t = function(a, e) {
|
|
39
|
-
var o, l, g;
|
|
40
|
-
if (e === void 0 && (e = { logLevel: d.INFO }), a === r) {
|
|
41
|
-
var u = new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
|
|
42
|
-
return r.error((o = u.stack) !== null && o !== void 0 ? o : u.message), !1;
|
|
43
|
-
}
|
|
44
|
-
typeof e == "number" && (e = {
|
|
45
|
-
logLevel: e
|
|
46
|
-
});
|
|
47
|
-
var f = v("diag"), s = y((l = e.logLevel) !== null && l !== void 0 ? l : d.INFO, a);
|
|
48
|
-
if (f && !e.suppressOverrideMessage) {
|
|
49
|
-
var c = (g = new Error().stack) !== null && g !== void 0 ? g : "<failed to generate stacktrace>";
|
|
50
|
-
f.warn("Current logger will be overwritten from " + c), s.warn("Current logger will overwrite one already registered from " + c);
|
|
51
|
-
}
|
|
52
|
-
return w("diag", s, r, !0);
|
|
53
|
-
};
|
|
54
|
-
r.setLogger = t, r.disable = function() {
|
|
55
|
-
p(h, r);
|
|
56
|
-
}, r.createComponentLogger = function(a) {
|
|
57
|
-
return new m(a);
|
|
58
|
-
}, r.verbose = n("verbose"), r.debug = n("debug"), r.info = n("info"), r.warn = n("warn"), r.error = n("error");
|
|
59
|
-
}
|
|
60
|
-
return i.instance = function() {
|
|
61
|
-
return this._instance || (this._instance = new i()), this._instance;
|
|
62
|
-
}, i;
|
|
63
|
-
})()
|
|
64
|
-
);
|
|
1
|
+
import { createContextKey as o } from "./vue-components.es42.js";
|
|
2
|
+
import { NonRecordingSpan as a } from "./vue-components.es51.js";
|
|
3
|
+
import { ContextAPI as u } from "./vue-components.es52.js";
|
|
4
|
+
var n = o("OpenTelemetry Context Key SPAN");
|
|
5
|
+
function r(e) {
|
|
6
|
+
return e.getValue(n) || void 0;
|
|
7
|
+
}
|
|
8
|
+
function S() {
|
|
9
|
+
return r(u.getInstance().active());
|
|
10
|
+
}
|
|
11
|
+
function i(e, t) {
|
|
12
|
+
return e.setValue(n, t);
|
|
13
|
+
}
|
|
14
|
+
function l(e) {
|
|
15
|
+
return e.deleteValue(n);
|
|
16
|
+
}
|
|
17
|
+
function d(e, t) {
|
|
18
|
+
return i(e, new a(t));
|
|
19
|
+
}
|
|
20
|
+
function m(e) {
|
|
21
|
+
var t;
|
|
22
|
+
return (t = r(e)) === null || t === void 0 ? void 0 : t.spanContext();
|
|
23
|
+
}
|
|
65
24
|
export {
|
|
66
|
-
|
|
25
|
+
l as deleteSpan,
|
|
26
|
+
S as getActiveSpan,
|
|
27
|
+
r as getSpan,
|
|
28
|
+
m as getSpanContext,
|
|
29
|
+
i as setSpan,
|
|
30
|
+
d as setSpanContext
|
|
67
31
|
};
|
|
@@ -1,58 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { DiagComponentLogger as m } from "./vue-components.es57.js";
|
|
2
|
+
import { createLogLevelDiagLogger as y } from "./vue-components.es58.js";
|
|
3
|
+
import { DiagLogLevel as d } from "./vue-components.es43.js";
|
|
4
|
+
import { unregisterGlobal as p, getGlobal as v, registerGlobal as w } from "./vue-components.es59.js";
|
|
5
|
+
var b = function(i, n) {
|
|
6
|
+
var r = typeof Symbol == "function" && i[Symbol.iterator];
|
|
7
|
+
if (!r) return i;
|
|
8
|
+
var t = r.call(i), a, e = [], o;
|
|
6
9
|
try {
|
|
7
|
-
for (; (
|
|
8
|
-
} catch (
|
|
9
|
-
|
|
10
|
+
for (; (n === void 0 || n-- > 0) && !(a = t.next()).done; ) e.push(a.value);
|
|
11
|
+
} catch (l) {
|
|
12
|
+
o = { error: l };
|
|
10
13
|
} finally {
|
|
11
14
|
try {
|
|
12
|
-
|
|
15
|
+
a && !a.done && (r = t.return) && r.call(t);
|
|
13
16
|
} finally {
|
|
14
|
-
if (
|
|
17
|
+
if (o) throw o.error;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
|
-
return
|
|
18
|
-
},
|
|
19
|
-
if (r || arguments.length === 2) for (var t = 0,
|
|
20
|
-
(
|
|
21
|
-
return
|
|
22
|
-
},
|
|
20
|
+
return e;
|
|
21
|
+
}, _ = function(i, n, r) {
|
|
22
|
+
if (r || arguments.length === 2) for (var t = 0, a = n.length, e; t < a; t++)
|
|
23
|
+
(e || !(t in n)) && (e || (e = Array.prototype.slice.call(n, 0, t)), e[t] = n[t]);
|
|
24
|
+
return i.concat(e || Array.prototype.slice.call(n));
|
|
25
|
+
}, h = "diag", P = (
|
|
23
26
|
/** @class */
|
|
24
27
|
(function() {
|
|
25
|
-
function
|
|
26
|
-
|
|
28
|
+
function i() {
|
|
29
|
+
function n(a) {
|
|
30
|
+
return function() {
|
|
31
|
+
for (var e = [], o = 0; o < arguments.length; o++)
|
|
32
|
+
e[o] = arguments[o];
|
|
33
|
+
var l = v("diag");
|
|
34
|
+
if (l)
|
|
35
|
+
return l[a].apply(l, _([], b(e), !1));
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
var r = this, t = function(a, e) {
|
|
39
|
+
var o, l, g;
|
|
40
|
+
if (e === void 0 && (e = { logLevel: d.INFO }), a === r) {
|
|
41
|
+
var u = new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
|
|
42
|
+
return r.error((o = u.stack) !== null && o !== void 0 ? o : u.message), !1;
|
|
43
|
+
}
|
|
44
|
+
typeof e == "number" && (e = {
|
|
45
|
+
logLevel: e
|
|
46
|
+
});
|
|
47
|
+
var f = v("diag"), s = y((l = e.logLevel) !== null && l !== void 0 ? l : d.INFO, a);
|
|
48
|
+
if (f && !e.suppressOverrideMessage) {
|
|
49
|
+
var c = (g = new Error().stack) !== null && g !== void 0 ? g : "<failed to generate stacktrace>";
|
|
50
|
+
f.warn("Current logger will be overwritten from " + c), s.warn("Current logger will overwrite one already registered from " + c);
|
|
51
|
+
}
|
|
52
|
+
return w("diag", s, r, !0);
|
|
53
|
+
};
|
|
54
|
+
r.setLogger = t, r.disable = function() {
|
|
55
|
+
p(h, r);
|
|
56
|
+
}, r.createComponentLogger = function(a) {
|
|
57
|
+
return new m(a);
|
|
58
|
+
}, r.verbose = n("verbose"), r.debug = n("debug"), r.info = n("info"), r.warn = n("warn"), r.error = n("error");
|
|
27
59
|
}
|
|
28
|
-
return
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return u("debug", this._namespace, e);
|
|
32
|
-
}, n.prototype.error = function() {
|
|
33
|
-
for (var e = [], r = 0; r < arguments.length; r++)
|
|
34
|
-
e[r] = arguments[r];
|
|
35
|
-
return u("error", this._namespace, e);
|
|
36
|
-
}, n.prototype.info = function() {
|
|
37
|
-
for (var e = [], r = 0; r < arguments.length; r++)
|
|
38
|
-
e[r] = arguments[r];
|
|
39
|
-
return u("info", this._namespace, e);
|
|
40
|
-
}, n.prototype.warn = function() {
|
|
41
|
-
for (var e = [], r = 0; r < arguments.length; r++)
|
|
42
|
-
e[r] = arguments[r];
|
|
43
|
-
return u("warn", this._namespace, e);
|
|
44
|
-
}, n.prototype.verbose = function() {
|
|
45
|
-
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46
|
-
e[r] = arguments[r];
|
|
47
|
-
return u("verbose", this._namespace, e);
|
|
48
|
-
}, n;
|
|
60
|
+
return i.instance = function() {
|
|
61
|
+
return this._instance || (this._instance = new i()), this._instance;
|
|
62
|
+
}, i;
|
|
49
63
|
})()
|
|
50
64
|
);
|
|
51
|
-
function u(n, e, r) {
|
|
52
|
-
var t = f("diag");
|
|
53
|
-
if (t)
|
|
54
|
-
return r.unshift(e), t[n].apply(t, l([], p(r), !1));
|
|
55
|
-
}
|
|
56
65
|
export {
|
|
57
|
-
|
|
66
|
+
P as DiagAPI
|
|
58
67
|
};
|
|
@@ -1,19 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { getGlobal as f } from "./vue-components.es59.js";
|
|
2
|
+
var p = function(n, e) {
|
|
3
|
+
var r = typeof Symbol == "function" && n[Symbol.iterator];
|
|
4
|
+
if (!r) return n;
|
|
5
|
+
var t = r.call(n), o, a = [], g;
|
|
6
|
+
try {
|
|
7
|
+
for (; (e === void 0 || e-- > 0) && !(o = t.next()).done; ) a.push(o.value);
|
|
8
|
+
} catch (s) {
|
|
9
|
+
g = { error: s };
|
|
10
|
+
} finally {
|
|
11
|
+
try {
|
|
12
|
+
o && !o.done && (r = t.return) && r.call(t);
|
|
13
|
+
} finally {
|
|
14
|
+
if (g) throw g.error;
|
|
15
|
+
}
|
|
8
16
|
}
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
return a;
|
|
18
|
+
}, l = function(n, e, r) {
|
|
19
|
+
if (r || arguments.length === 2) for (var t = 0, o = e.length, a; t < o; t++)
|
|
20
|
+
(a || !(t in e)) && (a || (a = Array.prototype.slice.call(e, 0, t)), a[t] = e[t]);
|
|
21
|
+
return n.concat(a || Array.prototype.slice.call(e));
|
|
22
|
+
}, i = (
|
|
23
|
+
/** @class */
|
|
24
|
+
(function() {
|
|
25
|
+
function n(e) {
|
|
26
|
+
this._namespace = e.namespace || "DiagComponentLogger";
|
|
27
|
+
}
|
|
28
|
+
return n.prototype.debug = function() {
|
|
29
|
+
for (var e = [], r = 0; r < arguments.length; r++)
|
|
30
|
+
e[r] = arguments[r];
|
|
31
|
+
return u("debug", this._namespace, e);
|
|
32
|
+
}, n.prototype.error = function() {
|
|
33
|
+
for (var e = [], r = 0; r < arguments.length; r++)
|
|
34
|
+
e[r] = arguments[r];
|
|
35
|
+
return u("error", this._namespace, e);
|
|
36
|
+
}, n.prototype.info = function() {
|
|
37
|
+
for (var e = [], r = 0; r < arguments.length; r++)
|
|
38
|
+
e[r] = arguments[r];
|
|
39
|
+
return u("info", this._namespace, e);
|
|
40
|
+
}, n.prototype.warn = function() {
|
|
41
|
+
for (var e = [], r = 0; r < arguments.length; r++)
|
|
42
|
+
e[r] = arguments[r];
|
|
43
|
+
return u("warn", this._namespace, e);
|
|
44
|
+
}, n.prototype.verbose = function() {
|
|
45
|
+
for (var e = [], r = 0; r < arguments.length; r++)
|
|
46
|
+
e[r] = arguments[r];
|
|
47
|
+
return u("verbose", this._namespace, e);
|
|
48
|
+
}, n;
|
|
49
|
+
})()
|
|
50
|
+
);
|
|
51
|
+
function u(n, e, r) {
|
|
52
|
+
var t = f("diag");
|
|
53
|
+
if (t)
|
|
54
|
+
return r.unshift(e), t[n].apply(t, l([], p(r), !1));
|
|
16
55
|
}
|
|
17
56
|
export {
|
|
18
|
-
|
|
57
|
+
i as DiagComponentLogger
|
|
19
58
|
};
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var s = l[n] = (v = l[n]) !== null && v !== void 0 ? v : {
|
|
9
|
-
version: t
|
|
10
|
-
};
|
|
11
|
-
if (!i && s[r]) {
|
|
12
|
-
var a = new Error("@opentelemetry/api: Attempted duplicate registration of API: " + r);
|
|
13
|
-
return e.error(a.stack || a.message), !1;
|
|
14
|
-
}
|
|
15
|
-
if (s.version !== t) {
|
|
16
|
-
var a = new Error("@opentelemetry/api: Registration of version v" + s.version + " for " + r + " does not match previously registered API v" + t);
|
|
17
|
-
return e.error(a.stack || a.message), !1;
|
|
1
|
+
import { DiagLogLevel as r } from "./vue-components.es43.js";
|
|
2
|
+
function c(n, o) {
|
|
3
|
+
n < r.NONE ? n = r.NONE : n > r.ALL && (n = r.ALL), o = o || {};
|
|
4
|
+
function i(t, f) {
|
|
5
|
+
var e = o[t];
|
|
6
|
+
return typeof e == "function" && n >= f ? e.bind(o) : function() {
|
|
7
|
+
};
|
|
18
8
|
}
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
function _(r, o) {
|
|
27
|
-
o.debug("@opentelemetry/api: Unregistering a global for " + r + " v" + t + ".");
|
|
28
|
-
var e = l[n];
|
|
29
|
-
e && delete e[r];
|
|
9
|
+
return {
|
|
10
|
+
error: i("error", r.ERROR),
|
|
11
|
+
warn: i("warn", r.WARN),
|
|
12
|
+
info: i("info", r.INFO),
|
|
13
|
+
debug: i("debug", r.DEBUG),
|
|
14
|
+
verbose: i("verbose", r.VERBOSE)
|
|
15
|
+
};
|
|
30
16
|
}
|
|
31
17
|
export {
|
|
32
|
-
|
|
33
|
-
d as registerGlobal,
|
|
34
|
-
_ as unregisterGlobal
|
|
18
|
+
c as createLogLevelDiagLogger
|
|
35
19
|
};
|
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
var
|
|
5
|
-
function r
|
|
6
|
-
|
|
1
|
+
import { VERSION as t } from "./vue-components.es61.js";
|
|
2
|
+
import { isCompatible as f } from "./vue-components.es62.js";
|
|
3
|
+
import { _globalThis as m } from "./vue-components.es63.js";
|
|
4
|
+
var u = t.split(".")[0], n = /* @__PURE__ */ Symbol.for("opentelemetry.js.api." + u), l = m;
|
|
5
|
+
function d(r, o, e, i) {
|
|
6
|
+
var v;
|
|
7
|
+
i === void 0 && (i = !1);
|
|
8
|
+
var s = l[n] = (v = l[n]) !== null && v !== void 0 ? v : {
|
|
9
|
+
version: t
|
|
10
|
+
};
|
|
11
|
+
if (!i && s[r]) {
|
|
12
|
+
var a = new Error("@opentelemetry/api: Attempted duplicate registration of API: " + r);
|
|
13
|
+
return e.error(a.stack || a.message), !1;
|
|
14
|
+
}
|
|
15
|
+
if (s.version !== t) {
|
|
16
|
+
var a = new Error("@opentelemetry/api: Registration of version v" + s.version + " for " + r + " does not match previously registered API v" + t);
|
|
17
|
+
return e.error(a.stack || a.message), !1;
|
|
18
|
+
}
|
|
19
|
+
return s[r] = o, e.debug("@opentelemetry/api: Registered a global for " + r + " v" + t + "."), !0;
|
|
7
20
|
}
|
|
8
|
-
function
|
|
9
|
-
|
|
21
|
+
function E(r) {
|
|
22
|
+
var o, e, i = (o = l[n]) === null || o === void 0 ? void 0 : o.version;
|
|
23
|
+
if (!(!i || !f(i)))
|
|
24
|
+
return (e = l[n]) === null || e === void 0 ? void 0 : e[r];
|
|
10
25
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return e.deleteValue(n);
|
|
16
|
-
}
|
|
17
|
-
function d(e, t) {
|
|
18
|
-
return i(e, new a(t));
|
|
19
|
-
}
|
|
20
|
-
function m(e) {
|
|
21
|
-
var t;
|
|
22
|
-
return (t = r(e)) === null || t === void 0 ? void 0 : t.spanContext();
|
|
26
|
+
function _(r, o) {
|
|
27
|
+
o.debug("@opentelemetry/api: Unregistering a global for " + r + " v" + t + ".");
|
|
28
|
+
var e = l[n];
|
|
29
|
+
e && delete e[r];
|
|
23
30
|
}
|
|
24
31
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
m as getSpanContext,
|
|
29
|
-
i as setSpan,
|
|
30
|
-
d as setSpanContext
|
|
32
|
+
E as getGlobal,
|
|
33
|
+
d as registerGlobal,
|
|
34
|
+
_ as unregisterGlobal
|
|
31
35
|
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue-components",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.27",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@mdi/js": "^7.4.47",
|
|
6
|
-
"effect": "^4.0.0-beta.
|
|
6
|
+
"effect": "^4.0.0-beta.37",
|
|
7
7
|
"intl-messageformat": "^11.1.2",
|
|
8
8
|
"mdi-js": "^1.0.1",
|
|
9
9
|
"primeflex": "^4.0.0",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"highlight.js": "^11.11.1",
|
|
58
58
|
"mitt": "^3.0.1",
|
|
59
59
|
"vue3-highlightjs": "^1.0.5",
|
|
60
|
-
"@effect-app/vue": "4.0.0-beta.
|
|
61
|
-
"effect-app": "4.0.0-beta.
|
|
60
|
+
"@effect-app/vue": "4.0.0-beta.27",
|
|
61
|
+
"effect-app": "4.0.0-beta.27"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"check": "vue-tsc",
|