@effect-app/vue-components 4.0.0-beta.220 → 4.0.0-beta.221
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/types/components/CommandButton.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/index.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/checks.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/createMeta.d.ts +2 -1
- package/dist/types/components/OmegaForm/meta/defaults.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/redacted.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/types.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/walker.d.ts +1 -1
- package/dist/types/components/OmegaForm/submit.d.ts +1 -1
- package/dist/types/components/OmegaForm/types.d.ts +3 -1
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +1 -1
- package/dist/types/components/OmegaForm/validation/localized.d.ts +1 -1
- package/dist/types/utils/index.d.ts +3 -3
- package/dist/vue-components.es.js +15 -15
- package/dist/vue-components100.es.js +269 -0
- package/dist/vue-components102.es.js +8 -0
- package/dist/vue-components103.es.js +73 -0
- package/dist/vue-components104.es.js +5 -0
- package/dist/vue-components105.es.js +52 -0
- package/dist/vue-components106.es.js +5 -0
- package/dist/vue-components107.es.js +24 -0
- package/dist/vue-components108.es.js +5 -0
- package/dist/vue-components109.es.js +59 -0
- package/dist/vue-components110.es.js +5 -0
- package/dist/vue-components111.es.js +12 -0
- package/dist/vue-components112.es.js +22 -0
- package/dist/vue-components114.es.js +9 -0
- package/dist/vue-components115.es.js +4 -0
- package/dist/vue-components116.es.js +38 -0
- package/dist/vue-components117.es.js +27 -0
- package/dist/vue-components118.es.js +28 -0
- package/dist/vue-components119.es.js +7 -0
- package/dist/vue-components12.es.js +25 -47
- package/dist/vue-components120.es.js +18 -0
- package/dist/vue-components121.es.js +36 -0
- package/dist/vue-components122.es.js +18 -0
- package/dist/vue-components123.es.js +21 -0
- package/dist/vue-components124.es.js +30 -0
- package/dist/vue-components125.es.js +7 -0
- package/dist/vue-components126.es.js +9 -0
- package/dist/vue-components127.es.js +38 -0
- package/dist/vue-components128.es.js +25 -0
- package/dist/vue-components129.es.js +128 -0
- package/dist/vue-components13.es.js +62 -120
- package/dist/vue-components130.es.js +24 -0
- package/dist/vue-components131.es.js +21 -0
- package/dist/vue-components132.es.js +9 -0
- package/dist/vue-components133.es.js +19 -0
- package/dist/vue-components134.es.js +5 -0
- package/dist/vue-components135.es.js +29 -0
- package/dist/vue-components136.es.js +5 -0
- package/dist/vue-components137.es.js +43 -0
- package/dist/vue-components138.es.js +82 -0
- package/dist/vue-components139.es.js +33 -0
- package/dist/vue-components14.es.js +13 -63
- package/dist/vue-components140.es.js +19 -0
- package/dist/vue-components141.es.js +48 -0
- package/dist/vue-components15.es.js +27 -58
- package/dist/vue-components16.es.js +52 -21
- package/dist/vue-components17.es.js +86 -4
- package/dist/vue-components18.es.js +3 -79
- package/dist/vue-components19.es.js +3 -91
- package/dist/vue-components2.es.js +15 -6
- package/dist/vue-components20.es.js +17 -71
- package/dist/vue-components21.es.js +72 -11
- package/dist/vue-components22.es.js +12 -54
- package/dist/vue-components23.es.js +25 -4
- package/dist/vue-components24.es.js +249 -41
- package/dist/vue-components25.es.js +64 -4
- package/dist/vue-components26.es.js +65 -81
- package/dist/vue-components27.es.js +8 -0
- package/dist/vue-components28.es.js +11 -7
- package/dist/vue-components29.es.js +5 -8
- package/dist/vue-components30.es.js +25 -266
- package/dist/vue-components31.es.js +75 -0
- package/dist/vue-components32.es.js +108 -7
- package/dist/vue-components33.es.js +55 -71
- package/dist/vue-components34.es.js +6 -4
- package/dist/vue-components35.es.js +3 -51
- package/dist/vue-components36.es.js +5 -4
- package/dist/vue-components37.es.js +685 -21
- package/dist/vue-components38.es.js +6 -4
- package/dist/vue-components39.es.js +4 -58
- package/dist/vue-components40.es.js +5 -4
- package/dist/vue-components41.es.js +26 -11
- package/dist/vue-components42.es.js +4 -21
- package/dist/vue-components43.es.js +48 -0
- package/dist/vue-components44.es.js +69 -8
- package/dist/vue-components45.es.js +8 -3
- package/dist/vue-components46.es.js +9 -37
- package/dist/vue-components47.es.js +7 -26
- package/dist/vue-components48.es.js +169 -24
- package/dist/vue-components49.es.js +13 -6
- package/dist/vue-components50.es.js +9 -16
- package/dist/vue-components51.es.js +3 -35
- package/dist/vue-components52.es.js +6 -17
- package/dist/vue-components53.es.js +27 -19
- package/dist/vue-components54.es.js +212 -21
- package/dist/vue-components55.es.js +84 -6
- package/dist/vue-components56.es.js +72 -7
- package/dist/vue-components57.es.js +807 -26
- package/dist/vue-components58.es.js +3 -24
- package/dist/vue-components59.es.js +103 -122
- package/dist/vue-components60.es.js +49 -19
- package/dist/vue-components61.es.js +514 -15
- package/dist/vue-components62.es.js +438 -7
- package/dist/vue-components63.es.js +9 -18
- package/dist/vue-components64.es.js +12 -4
- package/dist/vue-components65.es.js +16 -26
- package/dist/vue-components66.es.js +28 -4
- package/dist/vue-components67.es.js +20 -27
- package/dist/vue-components68.es.js +29 -5
- package/dist/vue-components69.es.js +27 -16
- package/dist/vue-components70.es.js +71 -38
- package/dist/vue-components71.es.js +5 -80
- package/dist/vue-components72.es.js +17 -32
- package/dist/vue-components73.es.js +4 -18
- package/dist/vue-components74.es.js +69 -47
- package/dist/vue-components75.es.js +140 -0
- package/dist/vue-components76.es.js +4 -0
- package/dist/vue-components77.es.js +21 -0
- package/dist/vue-components78.es.js +55 -0
- package/dist/vue-components79.es.js +9 -0
- package/dist/vue-components80.es.js +16 -0
- package/dist/vue-components81.es.js +39 -0
- package/dist/vue-components82.es.js +49 -0
- package/dist/vue-components83.es.js +128 -0
- package/dist/vue-components84.es.js +65 -0
- package/dist/vue-components85.es.js +63 -0
- package/dist/vue-components86.es.js +25 -0
- package/dist/vue-components87.es.js +5 -0
- package/dist/vue-components88.es.js +80 -0
- package/dist/vue-components89.es.js +95 -0
- package/dist/vue-components90.es.js +73 -0
- package/dist/vue-components91.es.js +12 -0
- package/dist/vue-components92.es.js +56 -0
- package/dist/vue-components93.es.js +5 -0
- package/dist/vue-components94.es.js +44 -0
- package/dist/vue-components95.es.js +5 -0
- package/dist/vue-components96.es.js +84 -0
- package/dist/vue-components98.es.js +8 -0
- package/dist/vue-components99.es.js +9 -0
- package/package.json +3 -3
- package/src/components/CommandButton.vue +1 -1
- package/src/components/OmegaForm/OmegaAutoGen.vue +1 -1
- package/src/components/OmegaForm/index.ts +1 -1
- package/src/components/OmegaForm/meta/checks.ts +2 -1
- package/src/components/OmegaForm/meta/createMeta.ts +3 -1
- package/src/components/OmegaForm/meta/defaults.ts +3 -1
- package/src/components/OmegaForm/meta/redacted.ts +1 -1
- package/src/components/OmegaForm/meta/types.ts +1 -1
- package/src/components/OmegaForm/meta/walker.ts +1 -1
- package/src/components/OmegaForm/submit.ts +4 -1
- package/src/components/OmegaForm/types.ts +3 -1
- package/src/components/OmegaForm/useOmegaForm.ts +2 -1
- package/src/components/OmegaForm/useRegisterField.ts +1 -1
- package/src/components/OmegaForm/validation/localized.ts +2 -1
- package/src/utils/index.ts +2 -2
|
@@ -1,56 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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"]));
|
|
1
|
+
import { hasProperty as e, isFunction as t } from "./vue-components15.es.js";
|
|
2
|
+
import { redact as n } from "./vue-components20.es.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Inspectable.js
|
|
4
|
+
var r = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), i = (r) => {
|
|
5
|
+
try {
|
|
6
|
+
if (e(r, "toJSON") && t(r.toJSON) && r.toJSON.length === 0) return r.toJSON();
|
|
7
|
+
if (Array.isArray(r)) return r.map(i);
|
|
8
|
+
} catch {
|
|
9
|
+
return "[toJSON threw]";
|
|
53
10
|
}
|
|
54
|
-
|
|
11
|
+
return n(r);
|
|
12
|
+
};
|
|
55
13
|
//#endregion
|
|
56
|
-
export {
|
|
14
|
+
export { r as NodeInspectSymbol, i as toJson };
|
|
@@ -1,5 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Utils.js
|
|
2
|
+
var e = class e {
|
|
3
|
+
called = !1;
|
|
4
|
+
self;
|
|
5
|
+
constructor(e) {
|
|
6
|
+
this.self = e;
|
|
7
|
+
}
|
|
8
|
+
next(e) {
|
|
9
|
+
return this.called ? {
|
|
10
|
+
value: e,
|
|
11
|
+
done: !0
|
|
12
|
+
} : (this.called = !0, {
|
|
13
|
+
value: this.self,
|
|
14
|
+
done: !1
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
[Symbol.iterator]() {
|
|
18
|
+
return new e(this.self);
|
|
19
|
+
}
|
|
20
|
+
}, t = "~effect/Utils/internal", n = { [t]: (e) => e() }, r = { [t]: (e) => {
|
|
21
|
+
try {
|
|
22
|
+
return e();
|
|
23
|
+
} finally {}
|
|
24
|
+
} }, i = /* @__PURE__ */ n[t](() => (/* @__PURE__ */ Error()).stack)?.includes(t) === !0 ? n[t] : r[t];
|
|
4
25
|
//#endregion
|
|
5
|
-
export {
|
|
26
|
+
export { e as SingleShotGen, i as internalCall };
|
|
@@ -1,44 +1,252 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { pipeArguments as e } from "./vue-components12.es.js";
|
|
2
|
+
import { dual as t, identity as n } from "./vue-components13.es.js";
|
|
3
|
+
import { hasProperty as r } from "./vue-components15.es.js";
|
|
4
|
+
import { array as i, combine as a, hash as o, string as s, symbol as c } from "./vue-components16.es.js";
|
|
5
|
+
import { equals as l, symbol as u } from "./vue-components17.es.js";
|
|
6
|
+
import { format as d } from "./vue-components21.es.js";
|
|
7
|
+
import { NodeInspectSymbol as f } from "./vue-components22.es.js";
|
|
8
|
+
import { SingleShotGen as p } from "./vue-components23.es.js";
|
|
9
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/internal/core.js
|
|
10
|
+
var m = "~effect/Effect", h = "~effect/Exit", g = {
|
|
11
|
+
_A: n,
|
|
12
|
+
_E: n,
|
|
13
|
+
_R: n
|
|
14
|
+
}, _ = `${m}/identifier`, v = `${m}/args`, y = `${m}/evaluate`, b = `${m}/successCont`, x = `${m}/failureCont`, S = `${m}/ensureCont`, C = /* @__PURE__ */ Symbol.for("effect/Effect/Yield"), w = {
|
|
15
|
+
pipe() {
|
|
16
|
+
return e(this, arguments);
|
|
14
17
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
toJSON() {
|
|
19
|
+
return { ...this };
|
|
20
|
+
},
|
|
21
|
+
toString() {
|
|
22
|
+
return d(this.toJSON(), {
|
|
23
|
+
ignoreToString: !0,
|
|
24
|
+
space: 2
|
|
25
|
+
});
|
|
26
|
+
},
|
|
27
|
+
[f]() {
|
|
28
|
+
return this.toJSON();
|
|
29
|
+
}
|
|
30
|
+
}, T = { [Symbol.iterator]() {
|
|
31
|
+
return new p(this);
|
|
32
|
+
} }, E = {
|
|
33
|
+
...T,
|
|
34
|
+
pipe() {
|
|
35
|
+
return e(this, arguments);
|
|
36
|
+
}
|
|
37
|
+
}, D = {
|
|
38
|
+
[m]: g,
|
|
39
|
+
...w,
|
|
40
|
+
[Symbol.iterator]() {
|
|
41
|
+
return new p(this);
|
|
42
|
+
},
|
|
43
|
+
asEffect() {
|
|
44
|
+
return this;
|
|
45
|
+
},
|
|
46
|
+
toJSON() {
|
|
47
|
+
return {
|
|
48
|
+
_id: "Effect",
|
|
49
|
+
op: this[_],
|
|
50
|
+
...v in this ? { args: this[v] } : void 0
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}, O = (e) => r(e, m), k = (e) => r(e, h), A = "~effect/Cause", j = "~effect/Cause/Reason", M = (e) => r(e, A), N = class {
|
|
54
|
+
[A];
|
|
55
|
+
reasons;
|
|
56
|
+
constructor(e) {
|
|
57
|
+
this[A] = A, this.reasons = e;
|
|
58
|
+
}
|
|
59
|
+
pipe() {
|
|
60
|
+
return e(this, arguments);
|
|
61
|
+
}
|
|
62
|
+
toJSON() {
|
|
63
|
+
return {
|
|
64
|
+
_id: "Cause",
|
|
65
|
+
failures: this.reasons.map((e) => e.toJSON())
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
toString() {
|
|
69
|
+
return `Cause(${d(this.reasons)})`;
|
|
70
|
+
}
|
|
71
|
+
[f]() {
|
|
72
|
+
return this.toJSON();
|
|
73
|
+
}
|
|
74
|
+
[u](e) {
|
|
75
|
+
return M(e) && this.reasons.length === e.reasons.length && this.reasons.every((t, n) => l(t, e.reasons[n]));
|
|
76
|
+
}
|
|
77
|
+
[c]() {
|
|
78
|
+
return i(this.reasons);
|
|
79
|
+
}
|
|
80
|
+
}, P = /* @__PURE__ */ new WeakMap(), F = class {
|
|
81
|
+
[j];
|
|
82
|
+
annotations;
|
|
83
|
+
_tag;
|
|
84
|
+
constructor(e, t, n) {
|
|
85
|
+
if (this[j] = j, this._tag = e, t !== I && typeof n == "object" && n && t.size > 0) {
|
|
86
|
+
let e = P.get(n);
|
|
87
|
+
e && (t = new Map([...e, ...t])), P.set(n, t);
|
|
88
|
+
}
|
|
89
|
+
this.annotations = t;
|
|
90
|
+
}
|
|
91
|
+
annotate(e, t) {
|
|
92
|
+
if (e.mapUnsafe.size === 0) return this;
|
|
93
|
+
let n = new Map(this.annotations);
|
|
94
|
+
e.mapUnsafe.forEach((e, r) => {
|
|
95
|
+
t?.overwrite !== !0 && n.has(r) || n.set(r, e);
|
|
32
96
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
97
|
+
let r = Object.assign(Object.create(Object.getPrototypeOf(this)), this);
|
|
98
|
+
return r.annotations = n, r;
|
|
99
|
+
}
|
|
100
|
+
pipe() {
|
|
101
|
+
return e(this, arguments);
|
|
102
|
+
}
|
|
103
|
+
toString() {
|
|
104
|
+
return d(this);
|
|
105
|
+
}
|
|
106
|
+
[f]() {
|
|
107
|
+
return this.toString();
|
|
108
|
+
}
|
|
109
|
+
}, I = /* @__PURE__ */ new Map(), L = class extends F {
|
|
110
|
+
error;
|
|
111
|
+
constructor(e, t = I) {
|
|
112
|
+
super("Fail", t, e), this.error = e;
|
|
113
|
+
}
|
|
114
|
+
toString() {
|
|
115
|
+
return `Fail(${d(this.error)})`;
|
|
116
|
+
}
|
|
117
|
+
toJSON() {
|
|
118
|
+
return {
|
|
119
|
+
_tag: "Fail",
|
|
120
|
+
error: this.error
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
[u](e) {
|
|
124
|
+
return z(e) && l(this.error, e.error) && l(this.annotations, e.annotations);
|
|
125
|
+
}
|
|
126
|
+
[c]() {
|
|
127
|
+
return a(s(this._tag))(a(o(this.error))(o(this.annotations)));
|
|
128
|
+
}
|
|
129
|
+
}, ee = (e) => new N(e), te = (e) => new N([new L(e)]), ne = class extends F {
|
|
130
|
+
defect;
|
|
131
|
+
constructor(e, t = I) {
|
|
132
|
+
super("Die", t, e), this.defect = e;
|
|
133
|
+
}
|
|
134
|
+
toString() {
|
|
135
|
+
return `Die(${d(this.defect)})`;
|
|
136
|
+
}
|
|
137
|
+
toJSON() {
|
|
138
|
+
return {
|
|
139
|
+
_tag: "Die",
|
|
140
|
+
defect: this.defect
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
[u](e) {
|
|
144
|
+
return B(e) && l(this.defect, e.defect) && l(this.annotations, e.annotations);
|
|
145
|
+
}
|
|
146
|
+
[c]() {
|
|
147
|
+
return a(s(this._tag))(a(o(this.defect))(o(this.annotations)));
|
|
148
|
+
}
|
|
149
|
+
}, re = (e) => new N([new ne(e)]), R = /* @__PURE__ */ t((e) => M(e[0]), (e, t, n) => t.mapUnsafe.size === 0 ? e : new N(e.reasons.map((e) => e.annotate(t, n)))), z = (e) => e._tag === "Fail", B = (e) => e._tag === "Die", V = (e) => e._tag === "Interrupt";
|
|
150
|
+
function H(e) {
|
|
151
|
+
return Z("Effect.evaluate: Not implemented");
|
|
152
|
+
}
|
|
153
|
+
var U = (e) => ({
|
|
154
|
+
...D,
|
|
155
|
+
[_]: e.op,
|
|
156
|
+
[y]: e[y] ?? H,
|
|
157
|
+
[b]: e[b],
|
|
158
|
+
[x]: e[x],
|
|
159
|
+
[S]: e[S]
|
|
160
|
+
}), W = (e) => {
|
|
161
|
+
let t = U(e);
|
|
162
|
+
return function() {
|
|
163
|
+
let n = Object.create(t);
|
|
164
|
+
return n[v] = e.single === !1 ? arguments : arguments[0], n;
|
|
165
|
+
};
|
|
166
|
+
}, G = (e) => {
|
|
167
|
+
let t = {
|
|
168
|
+
...U(e),
|
|
169
|
+
[h]: h,
|
|
170
|
+
_tag: e.op,
|
|
171
|
+
get [e.prop]() {
|
|
172
|
+
return this[v];
|
|
173
|
+
},
|
|
174
|
+
toString() {
|
|
175
|
+
return `${e.op}(${d(this[v])})`;
|
|
176
|
+
},
|
|
177
|
+
toJSON() {
|
|
178
|
+
return {
|
|
179
|
+
_id: "Exit",
|
|
180
|
+
_tag: e.op,
|
|
181
|
+
[e.prop]: this[v]
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
[u](e) {
|
|
185
|
+
return k(e) && e._tag === this._tag && l(this[v], e[v]);
|
|
186
|
+
},
|
|
187
|
+
[c]() {
|
|
188
|
+
return a(s(e.op), o(this[v]));
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
return function(e) {
|
|
192
|
+
let n = Object.create(t);
|
|
193
|
+
return n[v] = e, n;
|
|
194
|
+
};
|
|
195
|
+
}, K = /* @__PURE__ */ G({
|
|
196
|
+
op: "Success",
|
|
197
|
+
prop: "value",
|
|
198
|
+
[y](e) {
|
|
199
|
+
let t = e.getCont(b);
|
|
200
|
+
return t ? t[b](this[v], e, this) : e.yieldWith(this);
|
|
201
|
+
}
|
|
202
|
+
}), q = { key: "effect/Cause/StackTrace" }, J = { key: "effect/Cause/InterruptorStackTrace" }, Y = /* @__PURE__ */ G({
|
|
203
|
+
op: "Failure",
|
|
204
|
+
prop: "cause",
|
|
205
|
+
[y](e) {
|
|
206
|
+
let t = this[v], n = !1;
|
|
207
|
+
e.currentStackFrame && (t = R(t, { mapUnsafe: new Map([[q.key, e.currentStackFrame]]) }), n = !0);
|
|
208
|
+
let r = e.getCont(x);
|
|
209
|
+
for (; e.interruptible && e._interruptedCause && r;) r = e.getCont(x);
|
|
210
|
+
return r ? r[x](t, e, n ? void 0 : this) : e.yieldWith(n ? this : Y(t));
|
|
211
|
+
}
|
|
212
|
+
}), X = (e) => Y(te(e)), Z = (e) => Y(re(e)), ie = /* @__PURE__ */ W({
|
|
213
|
+
op: "WithFiber",
|
|
214
|
+
[y](e) {
|
|
215
|
+
return this[v](e);
|
|
216
|
+
}
|
|
217
|
+
}), ae = /* @__PURE__ */ function() {
|
|
218
|
+
class e extends globalThis.Error {
|
|
219
|
+
asEffect() {
|
|
220
|
+
return X(this);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return Object.assign(e.prototype, E), e;
|
|
224
|
+
}(), oe = /* @__PURE__ */ function() {
|
|
225
|
+
let e = /* @__PURE__ */ Symbol.for("effect/Data/Error/plainArgs");
|
|
226
|
+
return class extends ae {
|
|
227
|
+
constructor(t) {
|
|
228
|
+
super(t?.message, t?.cause ? { cause: t.cause } : void 0), t && (Object.assign(this, t), Object.defineProperty(this, e, {
|
|
229
|
+
value: t,
|
|
230
|
+
enumerable: !1
|
|
231
|
+
}));
|
|
232
|
+
}
|
|
233
|
+
toJSON() {
|
|
234
|
+
return {
|
|
235
|
+
...this[e],
|
|
236
|
+
...this
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
}(), Q = (e) => {
|
|
241
|
+
class t extends oe {
|
|
242
|
+
_tag = e;
|
|
243
|
+
}
|
|
244
|
+
return t.prototype.name = e, t;
|
|
245
|
+
}, $ = "~effect/Cause/NoSuchElementError", se = class extends Q("NoSuchElementError") {
|
|
246
|
+
[$] = $;
|
|
247
|
+
constructor(e) {
|
|
248
|
+
super({ message: e });
|
|
249
|
+
}
|
|
250
|
+
};
|
|
43
251
|
//#endregion
|
|
44
|
-
export {
|
|
252
|
+
export { N as CauseImpl, h as ExitTypeId, J as InterruptorStackTrace, se as NoSuchElementError, w as PipeInspectableProto, F as ReasonBase, q as StackTraceKey, Q as TaggedError, C as Yield, T as YieldableProto, v as args, R as causeAnnotate, ee as causeFromReasons, I as constEmptyAnnotations, b as contA, S as contAll, x as contE, y as evaluate, Z as exitDie, X as exitFail, Y as exitFailCause, K as exitSucceed, O as isEffect, z as isFailReason, V as isInterruptReason, W as makePrimitive, U as makePrimitiveProto, ie as withFiber };
|
|
@@ -1,5 +1,65 @@
|
|
|
1
|
-
import e from "./vue-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { hasProperty as e } from "./vue-components15.es.js";
|
|
2
|
+
import { combine as t, hash as n, symbol as r } from "./vue-components16.es.js";
|
|
3
|
+
import { equals as i, symbol as a } from "./vue-components17.es.js";
|
|
4
|
+
import { format as o } from "./vue-components21.es.js";
|
|
5
|
+
import { toJson as s } from "./vue-components22.es.js";
|
|
6
|
+
import { NoSuchElementError as c, PipeInspectableProto as l, YieldableProto as u, exitFail as d, exitSucceed as f } from "./vue-components24.es.js";
|
|
7
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/internal/option.js
|
|
8
|
+
var p = "~effect/data/Option", m = {
|
|
9
|
+
[p]: { _A: (e) => e },
|
|
10
|
+
...l,
|
|
11
|
+
...u
|
|
12
|
+
}, h = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(m), {
|
|
13
|
+
_tag: "Some",
|
|
14
|
+
_op: "Some",
|
|
15
|
+
[a](e) {
|
|
16
|
+
return v(e) && b(e) && i(this.value, e.value);
|
|
17
|
+
},
|
|
18
|
+
[r]() {
|
|
19
|
+
return t(n(this._tag))(n(this.value));
|
|
20
|
+
},
|
|
21
|
+
toString() {
|
|
22
|
+
return `some(${o(this.value)})`;
|
|
23
|
+
},
|
|
24
|
+
toJSON() {
|
|
25
|
+
return {
|
|
26
|
+
_id: "Option",
|
|
27
|
+
_tag: this._tag,
|
|
28
|
+
value: s(this.value)
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
asEffect() {
|
|
32
|
+
return f(this.value);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(h, "valueOrUndefined", { get() {
|
|
36
|
+
return this.value;
|
|
37
|
+
} });
|
|
38
|
+
var g = /* @__PURE__ */ n("None"), _ = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(m), {
|
|
39
|
+
_tag: "None",
|
|
40
|
+
_op: "None",
|
|
41
|
+
valueOrUndefined: void 0,
|
|
42
|
+
[a](e) {
|
|
43
|
+
return v(e) && y(e);
|
|
44
|
+
},
|
|
45
|
+
[r]() {
|
|
46
|
+
return g;
|
|
47
|
+
},
|
|
48
|
+
toString() {
|
|
49
|
+
return "none()";
|
|
50
|
+
},
|
|
51
|
+
toJSON() {
|
|
52
|
+
return {
|
|
53
|
+
_id: "Option",
|
|
54
|
+
_tag: this._tag
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
asEffect() {
|
|
58
|
+
return d(new c());
|
|
59
|
+
}
|
|
60
|
+
}), v = (t) => e(t, p), y = (e) => e._tag === "None", b = (e) => e._tag === "Some", x = /* @__PURE__ */ Object.create(_), S = (e) => {
|
|
61
|
+
let t = Object.create(h);
|
|
62
|
+
return t.value = e, t;
|
|
63
|
+
};
|
|
4
64
|
//#endregion
|
|
5
|
-
export {
|
|
65
|
+
export { y as isNone, b as isSome, x as none, S as some };
|
|
@@ -1,84 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "error-list"
|
|
15
|
-
}, E = ["for"], D = { key: 1 }, O = /* @__PURE__ */ l({
|
|
16
|
-
__name: "OmegaErrorsInternal",
|
|
17
|
-
props: {
|
|
18
|
-
generalErrors: {},
|
|
19
|
-
errors: {},
|
|
20
|
-
hideErrorDetails: { type: Boolean }
|
|
1
|
+
import { hasProperty as e } from "./vue-components15.es.js";
|
|
2
|
+
import { combine as t, hash as n, symbol as r } from "./vue-components16.es.js";
|
|
3
|
+
import { equals as i, symbol as a } from "./vue-components17.es.js";
|
|
4
|
+
import { format as o } from "./vue-components21.es.js";
|
|
5
|
+
import { toJson as s } from "./vue-components22.es.js";
|
|
6
|
+
import { PipeInspectableProto as c, YieldableProto as l, exitFail as u, exitSucceed as d } from "./vue-components24.es.js";
|
|
7
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/internal/result.js
|
|
8
|
+
var f = "~effect/data/Result", p = {
|
|
9
|
+
[f]: {
|
|
10
|
+
/* v8 ignore next 2 */
|
|
11
|
+
_A: (e) => e,
|
|
12
|
+
_E: (e) => e
|
|
21
13
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
key: 0,
|
|
68
|
-
class: f(["error-message", e.errors.length < 2 && "single-error"])
|
|
69
|
-
}, [(m(), i(_(e.errors.length > 1 ? "ul" : "div"), { class: "error-list" }, {
|
|
70
|
-
default: b(() => [(m(!0), o(t, null, h(e.errors, (t) => (m(), i(_(e.errors.length > 1 ? "li" : "span"), { key: t }, {
|
|
71
|
-
default: b(() => [c(v(t), 1)]),
|
|
72
|
-
_: 2
|
|
73
|
-
}, 1024))), 128))]),
|
|
74
|
-
_: 2
|
|
75
|
-
}, 1024))], 2))
|
|
76
|
-
])]))), 128))])) : (m(), o("span", D, v(j.value[0]), 1))])])]),
|
|
77
|
-
_: 3
|
|
78
|
-
}, 8, ["class"]))], !0)])) : a("", !0)]),
|
|
79
|
-
_: 3
|
|
80
|
-
}));
|
|
14
|
+
...c,
|
|
15
|
+
...l
|
|
16
|
+
}, m = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(p), {
|
|
17
|
+
_tag: "Success",
|
|
18
|
+
_op: "Success",
|
|
19
|
+
[a](e) {
|
|
20
|
+
return g(e) && v(e) && i(this.success, e.success);
|
|
21
|
+
},
|
|
22
|
+
[r]() {
|
|
23
|
+
return t(n(this._tag))(n(this.success));
|
|
24
|
+
},
|
|
25
|
+
toString() {
|
|
26
|
+
return `success(${o(this.success)})`;
|
|
27
|
+
},
|
|
28
|
+
toJSON() {
|
|
29
|
+
return {
|
|
30
|
+
_id: "Result",
|
|
31
|
+
_tag: this._tag,
|
|
32
|
+
value: s(this.success)
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
asEffect() {
|
|
36
|
+
return d(this.success);
|
|
37
|
+
}
|
|
38
|
+
}), h = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(p), {
|
|
39
|
+
_tag: "Failure",
|
|
40
|
+
_op: "Failure",
|
|
41
|
+
[a](e) {
|
|
42
|
+
return g(e) && _(e) && i(this.failure, e.failure);
|
|
43
|
+
},
|
|
44
|
+
[r]() {
|
|
45
|
+
return t(n(this._tag))(n(this.failure));
|
|
46
|
+
},
|
|
47
|
+
toString() {
|
|
48
|
+
return `failure(${o(this.failure)})`;
|
|
49
|
+
},
|
|
50
|
+
toJSON() {
|
|
51
|
+
return {
|
|
52
|
+
_id: "Result",
|
|
53
|
+
_tag: this._tag,
|
|
54
|
+
failure: s(this.failure)
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
asEffect() {
|
|
58
|
+
return u(this.failure);
|
|
81
59
|
}
|
|
82
|
-
})
|
|
60
|
+
}), g = (t) => e(t, f), _ = (e) => e._tag === "Failure", v = (e) => e._tag === "Success", y = (e) => {
|
|
61
|
+
let t = Object.create(h);
|
|
62
|
+
return t.failure = e, t;
|
|
63
|
+
}, b = (e) => {
|
|
64
|
+
let t = Object.create(m);
|
|
65
|
+
return t.success = e, t;
|
|
66
|
+
};
|
|
83
67
|
//#endregion
|
|
84
|
-
export {
|
|
68
|
+
export { y as fail, _ as isFailure, b as succeed };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { dual as e } from "./vue-components13.es.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Order.js
|
|
3
|
+
function t(e) {
|
|
4
|
+
return (t, n) => t === n ? 0 : e(t, n);
|
|
5
|
+
}
|
|
6
|
+
var n = /* @__PURE__ */ t((e, t) => globalThis.Number.isNaN(e) && globalThis.Number.isNaN(t) ? 0 : globalThis.Number.isNaN(e) ? -1 : globalThis.Number.isNaN(t) ? 1 : e < t ? -1 : 1), r = /* @__PURE__ */ t((e, t) => e < t ? -1 : 1), i = /* @__PURE__ */ e(2, (e, n) => t((t, r) => e(n(t), n(r)))), a = /* @__PURE__ */ i(n, (e) => e.getTime()), o = (t) => e(2, (e, n) => t(e, n) === -1), s = (t) => e(2, (e, n) => t(e, n) === 1), c = (t) => e(2, (e, n) => t(e, n) !== 1), l = (t) => e(2, (e, n) => t(e, n) !== -1);
|
|
7
|
+
//#endregion
|
|
8
|
+
export { r as BigInt, a as Date, n as Number, s as isGreaterThan, l as isGreaterThanOrEqualTo, o as isLessThan, c as isLessThanOrEqualTo, t as make, i as mapInput };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { dual as e } from "./vue-components13.es.js";
|
|
2
|
+
import { isNone as t, isSome as n, none as r, some as i } from "./vue-components25.es.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Option.js
|
|
4
|
+
var a = () => r, o = i, s = t, c = n, l = /* @__PURE__ */ e(2, (e, { onNone: t, onSome: n }) => s(e) ? t() : n(e.value)), u = /* @__PURE__ */ e(2, (e, t) => s(e) ? t() : e.value), d = (e) => (...t) => {
|
|
5
|
+
try {
|
|
6
|
+
return o(e(...t));
|
|
7
|
+
} catch {
|
|
8
|
+
return a();
|
|
9
|
+
}
|
|
10
|
+
}, f = /* @__PURE__ */ e(2, (e, t) => s(e) ? a() : o(t(e.value))), p = /* @__PURE__ */ e(2, (e, t) => s(e) ? a() : t(e.value) ? o(e.value) : a());
|
|
7
11
|
//#endregion
|
|
8
|
-
export {
|
|
12
|
+
export { p as filter, u as getOrElse, s as isNone, c as isSome, d as liftThrowable, f as map, l as match, a as none, o as some };
|