@effect-app/vue-components 4.0.0-beta.2 → 4.0.0-beta.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/dist/vue-components.es10.js +12 -12
- package/dist/vue-components.es11.js +2 -2
- package/dist/vue-components.es12.js +3 -3
- package/dist/vue-components.es16.js +9 -721
- package/dist/vue-components.es17.js +701 -119
- package/dist/vue-components.es18.js +141 -4
- package/dist/vue-components.es19.js +4 -11
- package/dist/vue-components.es20.js +11 -3
- package/dist/vue-components.es21.js +3 -24
- package/dist/vue-components.es22.js +24 -4
- package/dist/vue-components.es23.js +4 -8
- package/dist/vue-components.es24.js +8 -55
- package/dist/vue-components.es25.js +50 -64
- package/dist/vue-components.es26.js +69 -6
- package/dist/vue-components.es27.js +5 -5
- package/dist/vue-components.es28.js +6 -3
- package/dist/vue-components.es29.js +3 -3
- package/dist/vue-components.es30.js +3 -2
- package/dist/vue-components.es31.js +1 -1
- package/dist/vue-components.es32.js +1 -1
- package/dist/vue-components.es33.js +1 -1
- package/dist/vue-components.es34.js +2 -17
- package/dist/vue-components.es35.js +16 -10
- package/dist/vue-components.es36.js +189 -315
- package/dist/vue-components.es38.js +4 -27
- package/dist/vue-components.es39.js +37 -51
- package/dist/vue-components.es40.js +4 -64
- package/dist/vue-components.es41.js +83 -4
- package/dist/vue-components.es42.js +52 -4
- package/dist/vue-components.es43.js +556 -19
- package/dist/vue-components.es44.js +37 -71
- package/dist/vue-components.es45.js +21 -34
- package/dist/vue-components.es46.js +5 -314
- package/dist/vue-components.es47.js +34 -93
- package/dist/vue-components.es48.js +308 -25
- package/dist/vue-components.es49.js +31 -2
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +4 -2
- package/dist/vue-components.es51.js +24 -2
- package/dist/vue-components.es52.js +73 -109
- package/dist/vue-components.es53.js +101 -0
- package/dist/vue-components.es54.js +2 -7
- package/dist/vue-components.es55.js +317 -31
- package/dist/vue-components.es56.js +66 -0
- package/dist/vue-components.es57.js +2 -192
- package/dist/vue-components.es58.js +4 -0
- package/dist/vue-components.es59.js +109 -36
- package/dist/vue-components.es61.js +7 -41
- package/dist/vue-components.es62.js +32 -5
- package/dist/vue-components.es64.js +100 -22
- package/dist/vue-components.es65.js +2 -5
- package/dist/vue-components.es66.js +21 -21
- package/dist/vue-components.es67.js +80 -28
- package/dist/vue-components.es68.js +12 -22
- package/dist/vue-components.es69.js +112 -11
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +3 -5
- package/dist/vue-components.es71.js +31 -18
- package/dist/vue-components.es72.js +2 -9
- package/dist/vue-components.es73.js +2 -31
- package/dist/vue-components.es74.js +15 -48
- package/dist/vue-components.es75.js +70 -26
- package/dist/vue-components.es76.js +22 -100
- package/dist/vue-components.es77.js +5 -82
- package/dist/vue-components.es78.js +21 -21
- package/dist/vue-components.es79.js +30 -12
- package/dist/vue-components.es80.js +21 -112
- package/dist/vue-components.es81.js +12 -3
- package/dist/vue-components.es82.js +5 -32
- package/dist/vue-components.es83.js +19 -2
- package/dist/vue-components.es84.js +9 -2
- package/dist/vue-components.es85.js +31 -16
- package/dist/vue-components.es86.js +46 -13
- package/dist/vue-components.es87.js +26 -70
- package/dist/vue-components.es88.js +15 -8
- package/dist/vue-components.es89.js +16 -2
- package/dist/vue-components.es90.js +7 -14
- package/dist/vue-components.es92.js +1 -1
- package/dist/vue-components.es94.js +1 -1
- package/dist/vue-components.es96.js +3 -3
- package/dist/vue-components.es97.js +1 -1
- package/package.json +3 -3
- package/dist/vue-components.es37.js +0 -563
- package/dist/vue-components.es60.js +0 -85
- package/dist/vue-components.es63.js +0 -6
|
@@ -1,66 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { symbol as n, hash as o, combine as u } from "./vue-components.es77.js";
|
|
4
|
-
import { toJson as l } from "./vue-components.es86.js";
|
|
5
|
-
import { hasProperty as p } from "./vue-components.es38.js";
|
|
6
|
-
import { YieldableProto as _, PipeInspectableProto as f, exitFail as g, NoSuchElementError as b, exitSucceed as O } from "./vue-components.es36.js";
|
|
7
|
-
const s = "~effect/data/Option", a = {
|
|
8
|
-
[s]: {
|
|
9
|
-
_A: (t) => t
|
|
10
|
-
},
|
|
11
|
-
...f,
|
|
12
|
-
..._
|
|
13
|
-
}, S = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(a), {
|
|
14
|
-
_tag: "Some",
|
|
15
|
-
_op: "Some",
|
|
16
|
-
[r](t) {
|
|
17
|
-
return i(t) && P(t) && c(this.value, t.value);
|
|
18
|
-
},
|
|
19
|
-
[n]() {
|
|
20
|
-
return u(o(this._tag))(o(this.value));
|
|
21
|
-
},
|
|
22
|
-
toString() {
|
|
23
|
-
return `some(${m(this.value)})`;
|
|
24
|
-
},
|
|
25
|
-
toJSON() {
|
|
26
|
-
return {
|
|
27
|
-
_id: "Option",
|
|
28
|
-
_tag: this._tag,
|
|
29
|
-
value: l(this.value)
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
asEffect() {
|
|
33
|
-
return O(this.value);
|
|
34
|
-
}
|
|
35
|
-
}), h = /* @__PURE__ */ o("None"), N = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(a), {
|
|
36
|
-
_tag: "None",
|
|
37
|
-
_op: "None",
|
|
38
|
-
[r](t) {
|
|
39
|
-
return i(t) && v(t);
|
|
40
|
-
},
|
|
41
|
-
[n]() {
|
|
42
|
-
return h;
|
|
43
|
-
},
|
|
44
|
-
toString() {
|
|
45
|
-
return "none()";
|
|
46
|
-
},
|
|
47
|
-
toJSON() {
|
|
48
|
-
return {
|
|
49
|
-
_id: "Option",
|
|
50
|
-
_tag: this._tag
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
asEffect() {
|
|
54
|
-
return g(new b());
|
|
55
|
-
}
|
|
56
|
-
}), i = (t) => p(t, s), v = (t) => t._tag === "None", P = (t) => t._tag === "Some", I = /* @__PURE__ */ Object.create(N), $ = (t) => {
|
|
57
|
-
const e = Object.create(S);
|
|
58
|
-
return e.value = t, e;
|
|
59
|
-
};
|
|
1
|
+
import { causePretty as r, findError as o } from "./vue-components.es43.js";
|
|
2
|
+
const n = o, e = r;
|
|
60
3
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
P as isSome,
|
|
64
|
-
I as none,
|
|
65
|
-
$ as some
|
|
4
|
+
n as findError,
|
|
5
|
+
e as pretty
|
|
66
6
|
};
|
|
@@ -1,6 +1,85 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { hasProperty as b } from "./vue-components.es45.js";
|
|
2
|
+
import { symbolRedactable as h, getRedacted as l, redact as j } from "./vue-components.es66.js";
|
|
3
|
+
function w(n, i) {
|
|
4
|
+
const c = i?.space ?? 0, s = /* @__PURE__ */ new WeakSet(), a = c ? typeof c == "number" ? " ".repeat(c) : c : "", o = (t) => a.repeat(t), g = (t, r) => {
|
|
5
|
+
const e = t?.constructor;
|
|
6
|
+
return e && e !== Object.prototype.constructor && e.name ? `${e.name}(${r})` : r;
|
|
7
|
+
}, $ = (t) => {
|
|
8
|
+
try {
|
|
9
|
+
return Reflect.ownKeys(t);
|
|
10
|
+
} catch {
|
|
11
|
+
return ["[ownKeys threw]"];
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function f(t, r = 0) {
|
|
15
|
+
if (Array.isArray(t)) {
|
|
16
|
+
if (s.has(t)) return m;
|
|
17
|
+
if (s.add(t), !a || t.length <= 1) return `[${t.map((u) => f(u, r)).join(",")}]`;
|
|
18
|
+
const e = t.map((u) => f(u, r + 1)).join(`,
|
|
19
|
+
` + o(r + 1));
|
|
20
|
+
return `[
|
|
21
|
+
${o(r + 1)}${e}
|
|
22
|
+
${o(r)}]`;
|
|
23
|
+
}
|
|
24
|
+
if (t instanceof Date) return d(t);
|
|
25
|
+
if (!i?.ignoreToString && b(t, "toString") && typeof t.toString == "function" && t.toString !== Object.prototype.toString && t.toString !== Array.prototype.toString) {
|
|
26
|
+
const e = O(t);
|
|
27
|
+
return t instanceof Error && t.cause ? `${e} (cause: ${f(t.cause, r)})` : e;
|
|
28
|
+
}
|
|
29
|
+
if (typeof t == "string") return JSON.stringify(t);
|
|
30
|
+
if (typeof t == "number" || t == null || typeof t == "boolean" || typeof t == "symbol") return String(t);
|
|
31
|
+
if (typeof t == "bigint") return String(t) + "n";
|
|
32
|
+
if (typeof t == "object" || typeof t == "function") {
|
|
33
|
+
if (s.has(t)) return m;
|
|
34
|
+
if (s.add(t), h in t) return w(l(t));
|
|
35
|
+
if (Symbol.iterator in t)
|
|
36
|
+
return `${t.constructor.name}(${f(Array.from(t), r)})`;
|
|
37
|
+
const e = $(t);
|
|
38
|
+
if (!a || e.length <= 1) {
|
|
39
|
+
const y = `{${e.map((S) => `${p(S)}:${f(t[S], r)}`).join(",")}}`;
|
|
40
|
+
return g(t, y);
|
|
41
|
+
}
|
|
42
|
+
const u = `{
|
|
43
|
+
${e.map((y) => `${o(r + 1)}${p(y)}: ${f(t[y], r + 1)}`).join(`,
|
|
44
|
+
`)}
|
|
45
|
+
${o(r)}}`;
|
|
46
|
+
return g(t, u);
|
|
47
|
+
}
|
|
48
|
+
return String(t);
|
|
49
|
+
}
|
|
50
|
+
return f(n, 0);
|
|
51
|
+
}
|
|
52
|
+
const m = "[Circular]";
|
|
53
|
+
function p(n) {
|
|
54
|
+
return typeof n == "string" ? JSON.stringify(n) : String(n);
|
|
55
|
+
}
|
|
56
|
+
function J(n) {
|
|
57
|
+
return n.map((i) => `[${p(i)}]`).join("");
|
|
58
|
+
}
|
|
59
|
+
function d(n) {
|
|
60
|
+
try {
|
|
61
|
+
return n.toISOString();
|
|
62
|
+
} catch {
|
|
63
|
+
return "Invalid Date";
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function O(n) {
|
|
67
|
+
try {
|
|
68
|
+
const i = n.toString();
|
|
69
|
+
return typeof i == "string" ? i : String(i);
|
|
70
|
+
} catch {
|
|
71
|
+
return "[toString threw]";
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function K(n, i) {
|
|
75
|
+
let c = [];
|
|
76
|
+
const s = JSON.stringify(n, (a, o) => typeof o == "object" && o !== null ? c.includes(o) ? void 0 : c.push(o) && j(o) : o, i?.space);
|
|
77
|
+
return c = void 0, s;
|
|
78
|
+
}
|
|
3
79
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
80
|
+
w as format,
|
|
81
|
+
d as formatDate,
|
|
82
|
+
K as formatJson,
|
|
83
|
+
J as formatPath,
|
|
84
|
+
p as formatPropertyKey
|
|
6
85
|
};
|
|
@@ -1,6 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { pipeArguments as c } from "./vue-components.es44.js";
|
|
2
|
+
const a = function(e, n) {
|
|
3
|
+
if (typeof e == "function")
|
|
4
|
+
return function() {
|
|
5
|
+
return e(arguments) ? n.apply(this, arguments) : (t) => n(t, ...arguments);
|
|
6
|
+
};
|
|
7
|
+
switch (e) {
|
|
8
|
+
case 0:
|
|
9
|
+
case 1:
|
|
10
|
+
throw new RangeError(`Invalid arity ${e}`);
|
|
11
|
+
case 2:
|
|
12
|
+
return function(t, r) {
|
|
13
|
+
return arguments.length >= 2 ? n(t, r) : function(u) {
|
|
14
|
+
return n(u, t);
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
case 3:
|
|
18
|
+
return function(t, r, u) {
|
|
19
|
+
return arguments.length >= 3 ? n(t, r, u) : function(s) {
|
|
20
|
+
return n(s, t, r);
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
default:
|
|
24
|
+
return function() {
|
|
25
|
+
if (arguments.length >= e)
|
|
26
|
+
return n.apply(this, arguments);
|
|
27
|
+
const t = arguments;
|
|
28
|
+
return function(r) {
|
|
29
|
+
return n(r, ...t);
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}, g = (e) => e, i = (e) => () => e, o = /* @__PURE__ */ i(void 0), m = o;
|
|
34
|
+
function p(e, ...n) {
|
|
35
|
+
return c(e, n);
|
|
36
|
+
}
|
|
37
|
+
function h(e) {
|
|
38
|
+
const n = /* @__PURE__ */ new WeakMap();
|
|
39
|
+
return (t) => {
|
|
40
|
+
if (n.has(t))
|
|
41
|
+
return n.get(t);
|
|
42
|
+
const r = e(t);
|
|
43
|
+
return n.set(t, r), r;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
3
46
|
export {
|
|
4
|
-
o as
|
|
5
|
-
|
|
47
|
+
o as constUndefined,
|
|
48
|
+
m as constVoid,
|
|
49
|
+
i as constant,
|
|
50
|
+
a as dual,
|
|
51
|
+
g as identity,
|
|
52
|
+
h as memoize,
|
|
53
|
+
p as pipe
|
|
6
54
|
};
|