@effect-app/vue-components 4.0.0-beta.4 → 4.0.0-beta.6
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 +721 -9
- package/dist/vue-components.es17.js +119 -701
- package/dist/vue-components.es18.js +4 -141
- package/dist/vue-components.es19.js +11 -4
- package/dist/vue-components.es20.js +3 -11
- package/dist/vue-components.es21.js +24 -3
- package/dist/vue-components.es22.js +4 -24
- package/dist/vue-components.es23.js +8 -4
- package/dist/vue-components.es24.js +55 -8
- package/dist/vue-components.es25.js +64 -50
- package/dist/vue-components.es26.js +6 -69
- package/dist/vue-components.es27.js +5 -5
- package/dist/vue-components.es28.js +3 -6
- package/dist/vue-components.es29.js +3 -3
- package/dist/vue-components.es30.js +2 -3
- 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 +17 -2
- package/dist/vue-components.es35.js +10 -16
- package/dist/vue-components.es38.js +318 -4
- package/dist/vue-components.es39.js +560 -37
- package/dist/vue-components.es40.js +27 -4
- package/dist/vue-components.es41.js +49 -80
- package/dist/vue-components.es42.js +62 -50
- package/dist/vue-components.es43.js +4 -561
- package/dist/vue-components.es44.js +4 -41
- package/dist/vue-components.es45.js +23 -26
- package/dist/vue-components.es46.js +75 -5
- package/dist/vue-components.es47.js +3 -3
- package/dist/vue-components.es48.js +4 -4
- package/dist/vue-components.es49.js +95 -27
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +31 -4
- package/dist/vue-components.es51.js +2 -24
- package/dist/vue-components.es52.js +2 -75
- package/dist/vue-components.es53.js +2 -99
- package/dist/vue-components.es54.js +111 -2
- package/dist/vue-components.es56.js +6 -63
- package/dist/vue-components.es57.js +32 -2
- package/dist/vue-components.es59.js +36 -109
- package/dist/vue-components.es60.js +85 -0
- package/dist/vue-components.es61.js +41 -7
- package/dist/vue-components.es62.js +5 -32
- package/dist/vue-components.es63.js +6 -0
- package/dist/vue-components.es64.js +22 -100
- package/dist/vue-components.es65.js +5 -2
- package/dist/vue-components.es66.js +21 -21
- package/dist/vue-components.es67.js +28 -80
- package/dist/vue-components.es68.js +22 -12
- package/dist/vue-components.es69.js +11 -112
- package/dist/vue-components.es70.js +5 -3
- package/dist/vue-components.es71.js +18 -31
- package/dist/vue-components.es72.js +9 -2
- package/dist/vue-components.es73.js +31 -2
- package/dist/vue-components.es74.js +48 -15
- package/dist/vue-components.es75.js +26 -70
- package/dist/vue-components.es76.js +100 -22
- package/dist/vue-components.es77.js +82 -5
- package/dist/vue-components.es78.js +21 -21
- package/dist/vue-components.es79.js +12 -30
- package/dist/vue-components.es80.js +112 -21
- package/dist/vue-components.es81.js +3 -12
- package/dist/vue-components.es82.js +32 -5
- package/dist/vue-components.es83.js +2 -19
- package/dist/vue-components.es84.js +2 -9
- package/dist/vue-components.es85.js +15 -31
- package/dist/vue-components.es86.js +15 -47
- package/dist/vue-components.es87.js +70 -26
- package/dist/vue-components.es88.js +8 -15
- package/dist/vue-components.es89.js +2 -16
- package/dist/vue-components.es90.js +14 -7
- 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.es55.js +0 -320
- package/dist/vue-components.es58.js +0 -4
|
@@ -1,85 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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]";
|
|
1
|
+
import { pipeArguments as c } from "./vue-components.es61.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
|
+
};
|
|
72
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);
|
|
73
36
|
}
|
|
74
|
-
function
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
+
};
|
|
78
45
|
}
|
|
79
46
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
85
54
|
};
|
|
@@ -1,54 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { symbol as r, equals as c } from "./vue-components.es76.js";
|
|
2
|
+
import { format as m } from "./vue-components.es60.js";
|
|
3
|
+
import { symbol as n, hash as o, combine as u } from "./vue-components.es77.js";
|
|
4
|
+
import { toJson as l } from "./vue-components.es85.js";
|
|
5
|
+
import { hasProperty as p } from "./vue-components.es40.js";
|
|
6
|
+
import { YieldableProto as _, PipeInspectableProto as f, exitFail as g, NoSuchElementError as b, exitSucceed as O } from "./vue-components.es38.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)
|
|
6
30
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
};
|
|
31
|
+
},
|
|
32
|
+
asEffect() {
|
|
33
|
+
return O(this.value);
|
|
32
34
|
}
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return
|
|
44
|
-
}
|
|
45
|
-
|
|
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
|
+
};
|
|
46
60
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
h as memoize,
|
|
53
|
-
p as pipe
|
|
61
|
+
v as isNone,
|
|
62
|
+
i as isOption,
|
|
63
|
+
P as isSome,
|
|
64
|
+
I as none,
|
|
65
|
+
$ as some
|
|
54
66
|
};
|