@effect-app/vue-components 4.0.0-beta.66 → 4.0.0-beta.68
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/package.json +3 -3
- package/src/reset.css +39 -38
- package/dist/reset.css +0 -51
- package/dist/types/components/CommandButton.vue.d.ts +0 -42
- package/dist/types/components/Dialog.vue.d.ts +0 -28
- package/dist/types/components/OmegaForm/InputProps.d.ts +0 -60
- package/dist/types/components/OmegaForm/OmegaArray.vue.d.ts +0 -41
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +0 -34
- package/dist/types/components/OmegaForm/OmegaErrorsInternal.vue.d.ts +0 -25
- package/dist/types/components/OmegaForm/OmegaFormInput.vue.d.ts +0 -23
- package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +0 -164
- package/dist/types/components/OmegaForm/OmegaInput.vue.d.ts +0 -27
- package/dist/types/components/OmegaForm/OmegaInputVuetify.vue.d.ts +0 -68
- package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +0 -62
- package/dist/types/components/OmegaForm/OmegaTaggedUnion.vue.d.ts +0 -41
- package/dist/types/components/OmegaForm/OmegaTaggedUnionInternal.vue.d.ts +0 -31
- package/dist/types/components/OmegaForm/OmegaWrapper.vue.d.ts +0 -28
- package/dist/types/components/OmegaForm/blockDialog.d.ts +0 -12
- package/dist/types/components/OmegaForm/createUseFormWithCustomInput.d.ts +0 -4
- package/dist/types/components/OmegaForm/getOmegaStore.d.ts +0 -3
- package/dist/types/components/OmegaForm/index.d.ts +0 -10
- package/dist/types/components/OmegaForm/onMountedWithCleanup.d.ts +0 -6
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +0 -214
- package/dist/types/components/OmegaForm/useRegisterField.d.ts +0 -7
- package/dist/types/components/index.d.ts +0 -3
- package/dist/types/constants/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -9
- package/dist/types/utils/index.d.ts +0 -19
- package/dist/vue-components.es.js +0 -22
- package/dist/vue-components10.es.js +0 -5
- package/dist/vue-components11.es.js +0 -13
- package/dist/vue-components12.es.js +0 -440
- package/dist/vue-components13.es.js +0 -4
- package/dist/vue-components14.es.js +0 -38
- package/dist/vue-components15.es.js +0 -27
- package/dist/vue-components16.es.js +0 -28
- package/dist/vue-components17.es.js +0 -7
- package/dist/vue-components18.es.js +0 -18
- package/dist/vue-components19.es.js +0 -36
- package/dist/vue-components2.es.js +0 -11
- package/dist/vue-components20.es.js +0 -18
- package/dist/vue-components21.es.js +0 -21
- package/dist/vue-components22.es.js +0 -30
- package/dist/vue-components23.es.js +0 -7
- package/dist/vue-components24.es.js +0 -9
- package/dist/vue-components25.es.js +0 -38
- package/dist/vue-components26.es.js +0 -25
- package/dist/vue-components27.es.js +0 -128
- package/dist/vue-components28.es.js +0 -24
- package/dist/vue-components29.es.js +0 -21
- package/dist/vue-components3.es.js +0 -54
- package/dist/vue-components30.es.js +0 -9
- package/dist/vue-components31.es.js +0 -19
- package/dist/vue-components32.es.js +0 -5
- package/dist/vue-components33.es.js +0 -29
- package/dist/vue-components34.es.js +0 -5
- package/dist/vue-components35.es.js +0 -29
- package/dist/vue-components36.es.js +0 -6
- package/dist/vue-components37.es.js +0 -18
- package/dist/vue-components38.es.js +0 -56
- package/dist/vue-components39.es.js +0 -5
- package/dist/vue-components4.es.js +0 -5
- package/dist/vue-components40.es.js +0 -44
- package/dist/vue-components41.es.js +0 -5
- package/dist/vue-components42.es.js +0 -84
- package/dist/vue-components44.es.js +0 -8
- package/dist/vue-components45.es.js +0 -7
- package/dist/vue-components46.es.js +0 -267
- package/dist/vue-components48.es.js +0 -6
- package/dist/vue-components49.es.js +0 -79
- package/dist/vue-components5.es.js +0 -24
- package/dist/vue-components50.es.js +0 -5
- package/dist/vue-components51.es.js +0 -66
- package/dist/vue-components52.es.js +0 -5
- package/dist/vue-components53.es.js +0 -24
- package/dist/vue-components54.es.js +0 -5
- package/dist/vue-components55.es.js +0 -59
- package/dist/vue-components56.es.js +0 -5
- package/dist/vue-components57.es.js +0 -12
- package/dist/vue-components58.es.js +0 -22
- package/dist/vue-components6.es.js +0 -13
- package/dist/vue-components60.es.js +0 -7
- package/dist/vue-components61.es.js +0 -235
- package/dist/vue-components62.es.js +0 -33
- package/dist/vue-components63.es.js +0 -8
- package/dist/vue-components64.es.js +0 -36
- package/dist/vue-components7.es.js +0 -28
- package/dist/vue-components8.es.js +0 -47
- package/dist/vue-components9.es.js +0 -5
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { getGlobal as e, registerGlobal as t, unregisterGlobal as n } from "./vue-components15.es.js";
|
|
2
|
-
import { DiagAPI as r } from "./vue-components19.es.js";
|
|
3
|
-
import { NoopContextManager as i } from "./vue-components21.es.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/context.js
|
|
5
|
-
var a = "context", o = new i(), s = class i {
|
|
6
|
-
constructor() {}
|
|
7
|
-
static getInstance() {
|
|
8
|
-
return this._instance ||= new i(), this._instance;
|
|
9
|
-
}
|
|
10
|
-
setGlobalContextManager(e) {
|
|
11
|
-
return t(a, e, r.instance());
|
|
12
|
-
}
|
|
13
|
-
active() {
|
|
14
|
-
return this._getContextManager().active();
|
|
15
|
-
}
|
|
16
|
-
with(e, t, n, ...r) {
|
|
17
|
-
return this._getContextManager().with(e, t, n, ...r);
|
|
18
|
-
}
|
|
19
|
-
bind(e, t) {
|
|
20
|
-
return this._getContextManager().bind(e, t);
|
|
21
|
-
}
|
|
22
|
-
_getContextManager() {
|
|
23
|
-
return e(a) || o;
|
|
24
|
-
}
|
|
25
|
-
disable() {
|
|
26
|
-
this._getContextManager().disable(), n(a, r.instance());
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
//#endregion
|
|
30
|
-
export { s as ContextAPI };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TraceFlags as e } from "./vue-components23.es.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js
|
|
3
|
-
var t = "0000000000000000", n = "00000000000000000000000000000000", r = {
|
|
4
|
-
traceId: n,
|
|
5
|
-
spanId: t,
|
|
6
|
-
traceFlags: e.NONE
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { t as INVALID_SPANID, r as INVALID_SPAN_CONTEXT, n as INVALID_TRACEID };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { INVALID_SPAN_CONTEXT as e } from "./vue-components24.es.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js
|
|
3
|
-
var t = class {
|
|
4
|
-
constructor(t = e) {
|
|
5
|
-
this._spanContext = t;
|
|
6
|
-
}
|
|
7
|
-
spanContext() {
|
|
8
|
-
return this._spanContext;
|
|
9
|
-
}
|
|
10
|
-
setAttribute(e, t) {
|
|
11
|
-
return this;
|
|
12
|
-
}
|
|
13
|
-
setAttributes(e) {
|
|
14
|
-
return this;
|
|
15
|
-
}
|
|
16
|
-
addEvent(e, t) {
|
|
17
|
-
return this;
|
|
18
|
-
}
|
|
19
|
-
addLink(e) {
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
|
-
addLinks(e) {
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
setStatus(e) {
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
updateName(e) {
|
|
29
|
-
return this;
|
|
30
|
-
}
|
|
31
|
-
end(e) {}
|
|
32
|
-
isRecording() {
|
|
33
|
-
return !1;
|
|
34
|
-
}
|
|
35
|
-
recordException(e, t) {}
|
|
36
|
-
};
|
|
37
|
-
//#endregion
|
|
38
|
-
export { t as NonRecordingSpan };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createContextKey as e } from "./vue-components20.es.js";
|
|
2
|
-
import { ContextAPI as t } from "./vue-components22.es.js";
|
|
3
|
-
import { NonRecordingSpan as n } from "./vue-components25.es.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js
|
|
5
|
-
var r = e("OpenTelemetry Context Key SPAN");
|
|
6
|
-
function i(e) {
|
|
7
|
-
return e.getValue(r) || void 0;
|
|
8
|
-
}
|
|
9
|
-
function a() {
|
|
10
|
-
return i(t.getInstance().active());
|
|
11
|
-
}
|
|
12
|
-
function o(e, t) {
|
|
13
|
-
return e.setValue(r, t);
|
|
14
|
-
}
|
|
15
|
-
function s(e) {
|
|
16
|
-
return e.deleteValue(r);
|
|
17
|
-
}
|
|
18
|
-
function c(e, t) {
|
|
19
|
-
return o(e, new n(t));
|
|
20
|
-
}
|
|
21
|
-
function l(e) {
|
|
22
|
-
return i(e)?.spanContext();
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { s as deleteSpan, a as getActiveSpan, i as getSpan, l as getSpanContext, o as setSpan, c as setSpanContext };
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import "./vue-components24.es.js";
|
|
2
|
-
import { NonRecordingSpan as e } from "./vue-components25.es.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
|
|
4
|
-
var t = new Uint8Array([
|
|
5
|
-
0,
|
|
6
|
-
0,
|
|
7
|
-
0,
|
|
8
|
-
0,
|
|
9
|
-
0,
|
|
10
|
-
0,
|
|
11
|
-
0,
|
|
12
|
-
0,
|
|
13
|
-
0,
|
|
14
|
-
0,
|
|
15
|
-
0,
|
|
16
|
-
0,
|
|
17
|
-
0,
|
|
18
|
-
0,
|
|
19
|
-
0,
|
|
20
|
-
0,
|
|
21
|
-
0,
|
|
22
|
-
0,
|
|
23
|
-
0,
|
|
24
|
-
0,
|
|
25
|
-
0,
|
|
26
|
-
0,
|
|
27
|
-
0,
|
|
28
|
-
0,
|
|
29
|
-
0,
|
|
30
|
-
0,
|
|
31
|
-
0,
|
|
32
|
-
0,
|
|
33
|
-
0,
|
|
34
|
-
0,
|
|
35
|
-
0,
|
|
36
|
-
0,
|
|
37
|
-
0,
|
|
38
|
-
0,
|
|
39
|
-
0,
|
|
40
|
-
0,
|
|
41
|
-
0,
|
|
42
|
-
0,
|
|
43
|
-
0,
|
|
44
|
-
0,
|
|
45
|
-
0,
|
|
46
|
-
0,
|
|
47
|
-
0,
|
|
48
|
-
0,
|
|
49
|
-
0,
|
|
50
|
-
0,
|
|
51
|
-
0,
|
|
52
|
-
0,
|
|
53
|
-
1,
|
|
54
|
-
1,
|
|
55
|
-
1,
|
|
56
|
-
1,
|
|
57
|
-
1,
|
|
58
|
-
1,
|
|
59
|
-
1,
|
|
60
|
-
1,
|
|
61
|
-
1,
|
|
62
|
-
1,
|
|
63
|
-
0,
|
|
64
|
-
0,
|
|
65
|
-
0,
|
|
66
|
-
0,
|
|
67
|
-
0,
|
|
68
|
-
0,
|
|
69
|
-
0,
|
|
70
|
-
1,
|
|
71
|
-
1,
|
|
72
|
-
1,
|
|
73
|
-
1,
|
|
74
|
-
1,
|
|
75
|
-
1,
|
|
76
|
-
0,
|
|
77
|
-
0,
|
|
78
|
-
0,
|
|
79
|
-
0,
|
|
80
|
-
0,
|
|
81
|
-
0,
|
|
82
|
-
0,
|
|
83
|
-
0,
|
|
84
|
-
0,
|
|
85
|
-
0,
|
|
86
|
-
0,
|
|
87
|
-
0,
|
|
88
|
-
0,
|
|
89
|
-
0,
|
|
90
|
-
0,
|
|
91
|
-
0,
|
|
92
|
-
0,
|
|
93
|
-
0,
|
|
94
|
-
0,
|
|
95
|
-
0,
|
|
96
|
-
0,
|
|
97
|
-
0,
|
|
98
|
-
0,
|
|
99
|
-
0,
|
|
100
|
-
0,
|
|
101
|
-
0,
|
|
102
|
-
1,
|
|
103
|
-
1,
|
|
104
|
-
1,
|
|
105
|
-
1,
|
|
106
|
-
1,
|
|
107
|
-
1
|
|
108
|
-
]);
|
|
109
|
-
function n(e, n) {
|
|
110
|
-
if (typeof e != "string" || e.length !== n) return !1;
|
|
111
|
-
let r = 0;
|
|
112
|
-
for (let n = 0; n < e.length; n += 4) r += (t[e.charCodeAt(n)] | 0) + (t[e.charCodeAt(n + 1)] | 0) + (t[e.charCodeAt(n + 2)] | 0) + (t[e.charCodeAt(n + 3)] | 0);
|
|
113
|
-
return r === n;
|
|
114
|
-
}
|
|
115
|
-
function r(e) {
|
|
116
|
-
return n(e, 32) && e !== "00000000000000000000000000000000";
|
|
117
|
-
}
|
|
118
|
-
function i(e) {
|
|
119
|
-
return n(e, 16) && e !== "0000000000000000";
|
|
120
|
-
}
|
|
121
|
-
function a(e) {
|
|
122
|
-
return r(e.traceId) && i(e.spanId);
|
|
123
|
-
}
|
|
124
|
-
function o(t) {
|
|
125
|
-
return new e(t);
|
|
126
|
-
}
|
|
127
|
-
//#endregion
|
|
128
|
-
export { a as isSpanContextValid, o as wrapSpanContext };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ContextAPI as e } from "./vue-components22.es.js";
|
|
2
|
-
import { NonRecordingSpan as t } from "./vue-components25.es.js";
|
|
3
|
-
import { getSpanContext as n, setSpan as r } from "./vue-components26.es.js";
|
|
4
|
-
import { isSpanContextValid as i } from "./vue-components27.es.js";
|
|
5
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
|
|
6
|
-
var a = e.getInstance(), o = class {
|
|
7
|
-
startSpan(e, r, o = a.active()) {
|
|
8
|
-
if (r?.root) return new t();
|
|
9
|
-
let c = o && n(o);
|
|
10
|
-
return s(c) && i(c) ? new t(c) : new t();
|
|
11
|
-
}
|
|
12
|
-
startActiveSpan(e, t, n, i) {
|
|
13
|
-
let o, s, c;
|
|
14
|
-
if (arguments.length < 2) return;
|
|
15
|
-
arguments.length === 2 ? c = t : arguments.length === 3 ? (o = t, c = n) : (o = t, s = n, c = i);
|
|
16
|
-
let l = s ?? a.active(), u = this.startSpan(e, o, l), d = r(l, u);
|
|
17
|
-
return a.with(d, c, void 0, u);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
function s(e) {
|
|
21
|
-
return typeof e == "object" && !!e && "spanId" in e && typeof e.spanId == "string" && "traceId" in e && typeof e.traceId == "string" && "traceFlags" in e && typeof e.traceFlags == "number";
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { o as NoopTracer };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NoopTracer as e } from "./vue-components28.es.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
|
|
3
|
-
var t = new e(), n = class {
|
|
4
|
-
constructor(e, t, n, r) {
|
|
5
|
-
this._provider = e, this.name = t, this.version = n, this.options = r;
|
|
6
|
-
}
|
|
7
|
-
startSpan(e, t, n) {
|
|
8
|
-
return this._getTracer().startSpan(e, t, n);
|
|
9
|
-
}
|
|
10
|
-
startActiveSpan(e, t, n, r) {
|
|
11
|
-
let i = this._getTracer();
|
|
12
|
-
return Reflect.apply(i.startActiveSpan, i, arguments);
|
|
13
|
-
}
|
|
14
|
-
_getTracer() {
|
|
15
|
-
if (this._delegate) return this._delegate;
|
|
16
|
-
let e = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
17
|
-
return e ? (this._delegate = e, this._delegate) : t;
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { n as ProxyTracer };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { computed as e, createBlock as t, createCommentVNode as n, createTextVNode as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, resolveComponent as c, toDisplayString as l, withCtx as u } from "vue";
|
|
2
|
-
var d = /* @__PURE__ */ i({
|
|
3
|
-
name: "CommandButton",
|
|
4
|
-
props: {
|
|
5
|
-
input: {},
|
|
6
|
-
command: {},
|
|
7
|
-
empty: { type: Boolean },
|
|
8
|
-
disabled: {},
|
|
9
|
-
title: {}
|
|
10
|
-
},
|
|
11
|
-
setup(i) {
|
|
12
|
-
let d = i, f = e(() => d.command.blocked || d.disabled), p = () => {
|
|
13
|
-
if (f.value) return;
|
|
14
|
-
let e = "input" in d && d.input ? d.input : void 0;
|
|
15
|
-
d.command.handle(e);
|
|
16
|
-
};
|
|
17
|
-
return (e, d) => {
|
|
18
|
-
let m = c("v-btn");
|
|
19
|
-
return i.command.allowed && !i.empty ? (o(), t(m, a({ key: 0 }, e.$attrs, {
|
|
20
|
-
loading: i.command.waiting,
|
|
21
|
-
"aria-disabled": f.value,
|
|
22
|
-
title: i.title ?? i.command.action,
|
|
23
|
-
class: { "v-btn--disabled": f.value },
|
|
24
|
-
onClick: p
|
|
25
|
-
}), {
|
|
26
|
-
default: u(() => [s(e.$slots, "default", {
|
|
27
|
-
loading: i.command.waiting,
|
|
28
|
-
disabled: f.value,
|
|
29
|
-
label: i.command.label,
|
|
30
|
-
title: i.title ?? i.command.action
|
|
31
|
-
}, () => [r(l(i.command.label), 1)])]),
|
|
32
|
-
_: 3
|
|
33
|
-
}, 16, [
|
|
34
|
-
"loading",
|
|
35
|
-
"aria-disabled",
|
|
36
|
-
"title",
|
|
37
|
-
"class"
|
|
38
|
-
])) : i.command.allowed ? (o(), t(m, a({ key: 1 }, e.$attrs, {
|
|
39
|
-
loading: i.command.waiting,
|
|
40
|
-
"aria-disabled": f.value,
|
|
41
|
-
title: i.title ?? i.command.action,
|
|
42
|
-
class: { "v-btn--disabled": f.value },
|
|
43
|
-
onClick: p
|
|
44
|
-
}), null, 16, [
|
|
45
|
-
"loading",
|
|
46
|
-
"aria-disabled",
|
|
47
|
-
"title",
|
|
48
|
-
"class"
|
|
49
|
-
])) : n("", !0);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
//#endregion
|
|
54
|
-
export { d as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NoopTracer as e } from "./vue-components28.es.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
|
|
3
|
-
var t = class {
|
|
4
|
-
getTracer(t, n, r) {
|
|
5
|
-
return new e();
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { t as NoopTracerProvider };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ProxyTracer as e } from "./vue-components29.es.js";
|
|
2
|
-
import { NoopTracerProvider as t } from "./vue-components30.es.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
|
|
4
|
-
var n = new t(), r = class {
|
|
5
|
-
getTracer(t, n, r) {
|
|
6
|
-
return this.getDelegateTracer(t, n, r) ?? new e(this, t, n, r);
|
|
7
|
-
}
|
|
8
|
-
getDelegate() {
|
|
9
|
-
return this._delegate ?? n;
|
|
10
|
-
}
|
|
11
|
-
setDelegate(e) {
|
|
12
|
-
this._delegate = e;
|
|
13
|
-
}
|
|
14
|
-
getDelegateTracer(e, t, n) {
|
|
15
|
-
return this._delegate?.getTracer(e, t, n);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
export { r as ProxyTracerProvider };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { getGlobal as e, registerGlobal as t, unregisterGlobal as n } from "./vue-components15.es.js";
|
|
2
|
-
import { DiagAPI as r } from "./vue-components19.es.js";
|
|
3
|
-
import { deleteSpan as i, getActiveSpan as a, getSpan as o, getSpanContext as s, setSpan as c, setSpanContext as l } from "./vue-components26.es.js";
|
|
4
|
-
import { isSpanContextValid as u, wrapSpanContext as d } from "./vue-components27.es.js";
|
|
5
|
-
import { ProxyTracerProvider as f } from "./vue-components31.es.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js
|
|
7
|
-
var p = "trace", m = class m {
|
|
8
|
-
constructor() {
|
|
9
|
-
this._proxyTracerProvider = new f(), this.wrapSpanContext = d, this.isSpanContextValid = u, this.deleteSpan = i, this.getSpan = o, this.getActiveSpan = a, this.getSpanContext = s, this.setSpan = c, this.setSpanContext = l;
|
|
10
|
-
}
|
|
11
|
-
static getInstance() {
|
|
12
|
-
return this._instance ||= new m(), this._instance;
|
|
13
|
-
}
|
|
14
|
-
setGlobalTracerProvider(e) {
|
|
15
|
-
let n = t(p, this._proxyTracerProvider, r.instance());
|
|
16
|
-
return n && this._proxyTracerProvider.setDelegate(e), n;
|
|
17
|
-
}
|
|
18
|
-
getTracerProvider() {
|
|
19
|
-
return e(p) || this._proxyTracerProvider;
|
|
20
|
-
}
|
|
21
|
-
getTracer(e, t) {
|
|
22
|
-
return this.getTracerProvider().getTracer(e, t);
|
|
23
|
-
}
|
|
24
|
-
disable() {
|
|
25
|
-
n(p, r.instance()), this._proxyTracerProvider = new f();
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { m as TraceAPI };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Function.js
|
|
2
|
-
var e = function(e, t) {
|
|
3
|
-
if (typeof e == "function") return function() {
|
|
4
|
-
return e(arguments) ? t.apply(this, arguments) : (e) => t(e, ...arguments);
|
|
5
|
-
};
|
|
6
|
-
switch (e) {
|
|
7
|
-
case 0:
|
|
8
|
-
case 1: throw RangeError(`Invalid arity ${e}`);
|
|
9
|
-
case 2: return function(e, n) {
|
|
10
|
-
return arguments.length >= 2 ? t(e, n) : function(n) {
|
|
11
|
-
return t(n, e);
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
case 3: return function(e, n, r) {
|
|
15
|
-
return arguments.length >= 3 ? t(e, n, r) : function(r) {
|
|
16
|
-
return t(r, e, n);
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
default: return function() {
|
|
20
|
-
if (arguments.length >= e) return t.apply(this, arguments);
|
|
21
|
-
let n = arguments;
|
|
22
|
-
return function(e) {
|
|
23
|
-
return t(e, ...n);
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { e as dual };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { dual as e } from "./vue-components35.es.js";
|
|
2
|
-
import { isFunction as t } from "./vue-components36.es.js";
|
|
3
|
-
import { Cause as n, Effect as r, Exit as i, Fiber as a } from "effect";
|
|
4
|
-
//#region ../effect-app/dist/utils.js
|
|
5
|
-
var o = Symbol.for("clone-trait"), s = e(2, (e, t) => o in e ? e[o](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(e)));
|
|
6
|
-
e(2, (e, n) => s(e, {
|
|
7
|
-
...e,
|
|
8
|
-
...t(n) ? n(e) : n
|
|
9
|
-
}));
|
|
10
|
-
var c = (e, t) => {
|
|
11
|
-
let n = () => r.runSync(a.interrupt(e));
|
|
12
|
-
return t.aborted ? (n(), e) : (t.addEventListener("abort", n), e);
|
|
13
|
-
}, l = (e, t) => (t && c(e, t), new Promise((t, r) => e.addObserver((e) => {
|
|
14
|
-
i.isSuccess(e) ? t(e.value) : r(n.squash(e.cause));
|
|
15
|
-
})));
|
|
16
|
-
(function* () {}).constructor;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { l as runtimeFiberAsPromise };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createBlock as n, createElementBlock as r, defineComponent as i, guardReactiveProps as a, mergeProps as o, normalizeProps as s, onMounted as c, openBlock as l, provide as u, renderList as d, renderSlot as f, resolveDynamicComponent as p, withCtx as m } from "vue";
|
|
2
|
-
//#region src/components/OmegaForm/OmegaArray.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var h = /* @__PURE__ */ i({
|
|
4
|
-
inheritAttrs: !1,
|
|
5
|
-
__name: "OmegaArray",
|
|
6
|
-
props: {
|
|
7
|
-
form: {},
|
|
8
|
-
inputClass: {},
|
|
9
|
-
name: {},
|
|
10
|
-
defaultItems: {},
|
|
11
|
-
items: {}
|
|
12
|
-
},
|
|
13
|
-
setup(i) {
|
|
14
|
-
let h = i, g = h.form.useStore((e) => e.values), _ = t(() => {
|
|
15
|
-
let e = h.name.replace(/\[/g, ".").replace(/\]/g, "");
|
|
16
|
-
try {
|
|
17
|
-
return e.split(".").reduce((e, t) => e && e[t], g.value);
|
|
18
|
-
} catch (e) {
|
|
19
|
-
return console.error(e), [];
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
return c(async () => {
|
|
23
|
-
h.defaultItems && !_.value && h.form.setFieldValue(h.name, h.defaultItems);
|
|
24
|
-
}), u("getMetaFromArray", t(() => (e) => {
|
|
25
|
-
let t = e.replace(/\[\d+\]/g, "");
|
|
26
|
-
return h.form.meta[t];
|
|
27
|
-
})), (t, c) => (l(), n(p(i.form.Field), { name: i.name }, {
|
|
28
|
-
default: m(({ field: c, state: u }) => [
|
|
29
|
-
f(t.$slots, "pre-array", s(a({
|
|
30
|
-
field: c,
|
|
31
|
-
state: u
|
|
32
|
-
}))),
|
|
33
|
-
(l(!0), r(e, null, d(_.value, (e, r) => (l(), n(p(i.form.Field), {
|
|
34
|
-
key: `${i.name}[${Number(r)}]`,
|
|
35
|
-
name: `${i.name}[${Number(r)}]`
|
|
36
|
-
}, {
|
|
37
|
-
default: m(({ field: e, state: n }) => [f(t.$slots, "default", o({ ref_for: !0 }, {
|
|
38
|
-
subField: e,
|
|
39
|
-
subState: n,
|
|
40
|
-
index: Number(r),
|
|
41
|
-
field: c
|
|
42
|
-
}))]),
|
|
43
|
-
_: 2
|
|
44
|
-
}, 1032, ["name"]))), 128)),
|
|
45
|
-
f(t.$slots, "post-array", s(a({
|
|
46
|
-
field: c,
|
|
47
|
-
state: u
|
|
48
|
-
}))),
|
|
49
|
-
f(t.$slots, "field", s(a({ field: c })))
|
|
50
|
-
]),
|
|
51
|
-
_: 3
|
|
52
|
-
}, 8, ["name"]));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
//#endregion
|
|
56
|
-
export { h as default };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createElementBlock as n, createVNode as r, defineComponent as i, mergeProps as a, openBlock as o, renderList as s, renderSlot as c, unref as l } from "vue";
|
|
2
|
-
import { Order as u } from "effect-app";
|
|
3
|
-
//#region src/components/OmegaForm/OmegaAutoGen.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var d = /* @__PURE__ */ i({
|
|
5
|
-
__name: "OmegaAutoGen",
|
|
6
|
-
props: {
|
|
7
|
-
form: {},
|
|
8
|
-
pick: {},
|
|
9
|
-
omit: {},
|
|
10
|
-
labelMap: { type: Function },
|
|
11
|
-
filterMap: { type: Function },
|
|
12
|
-
order: {},
|
|
13
|
-
sort: {}
|
|
14
|
-
},
|
|
15
|
-
setup(i) {
|
|
16
|
-
let d = (e) => (t) => Object.fromEntries(Object.entries(t).map(([t, n]) => [t, e(n, t)])), f = (e) => (t) => Object.fromEntries(Object.entries(t).filter(([t, n]) => e(n, t))), p = (e) => (t) => Object.entries(t).reduce((t, [n, r]) => {
|
|
17
|
-
let i = e(r, n);
|
|
18
|
-
return i !== !1 && (t[n] = i), t;
|
|
19
|
-
}, {}), m = i, h = (e, t) => {
|
|
20
|
-
let n = t?.indexOf(e) ?? -1;
|
|
21
|
-
return n === -1 ? 2 ** 53 - 1 : n;
|
|
22
|
-
}, g = u.mapInput(u.Number, (e) => h(e.name, m.order || [])), _ = t(() => {
|
|
23
|
-
let e = f((e, t) => !!e && (m.pick ? m.pick.includes(t) && !m.omit?.includes(t) : !m.omit?.includes(t)))(m.form.meta), t = d((e, t) => ({
|
|
24
|
-
name: t,
|
|
25
|
-
label: m.labelMap?.(t) || t,
|
|
26
|
-
...e
|
|
27
|
-
}))(e), n = m.filterMap ? p((e) => {
|
|
28
|
-
let t = m.filterMap?.(e.name, e);
|
|
29
|
-
return t === void 0 || t === !0 ? e : t;
|
|
30
|
-
})(t) : t, r = [...Object.values(n)].sort(g);
|
|
31
|
-
return m.sort ? r.sort(m.sort) : r;
|
|
32
|
-
});
|
|
33
|
-
return (t, u) => (o(!0), n(e, null, s(_.value, ({ name: e, label: n, ...o }) => c(t.$slots, "default", { child: {
|
|
34
|
-
name: e,
|
|
35
|
-
label: n,
|
|
36
|
-
...o
|
|
37
|
-
} }, () => [r(l(i.form).Input, a({
|
|
38
|
-
name: e,
|
|
39
|
-
label: n
|
|
40
|
-
}, { ref_for: !0 }, o), null, 16, ["name", "label"])])), 256));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
//#endregion
|
|
44
|
-
export { d as default };
|