@effect-app/vue-components 4.0.0-beta.5 → 4.0.0-beta.7
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.es16.js +11 -11
- package/dist/vue-components.es17.js +9 -9
- package/dist/vue-components.es19.js +2 -2
- package/dist/vue-components.es20.js +1 -1
- package/dist/vue-components.es21.js +2 -2
- package/dist/vue-components.es22.js +2 -2
- package/dist/vue-components.es23.js +2 -2
- package/dist/vue-components.es25.js +2 -2
- package/dist/vue-components.es26.js +2 -2
- package/dist/vue-components.es27.js +2 -2
- package/dist/vue-components.es28.js +1 -1
- package/dist/vue-components.es29.js +1 -1
- package/dist/vue-components.es36.js +190 -36
- package/dist/vue-components.es38.js +36 -81
- package/dist/vue-components.es39.js +4 -52
- package/dist/vue-components.es40.js +71 -549
- package/dist/vue-components.es41.js +47 -36
- package/dist/vue-components.es42.js +559 -25
- package/dist/vue-components.es43.js +41 -5
- package/dist/vue-components.es44.js +21 -34
- package/dist/vue-components.es45.js +5 -314
- package/dist/vue-components.es46.js +33 -24
- package/dist/vue-components.es47.js +314 -4
- package/dist/vue-components.es48.js +29 -22
- package/dist/vue-components.es49.js +4 -75
- package/dist/vue-components.es50.js +22 -97
- package/dist/vue-components.es51.js +75 -2
- package/dist/vue-components.es52.js +91 -310
- package/dist/vue-components.es53.js +2 -64
- package/dist/vue-components.es54.js +318 -2
- package/dist/vue-components.es55.js +64 -2
- package/dist/vue-components.es56.js +2 -111
- package/dist/vue-components.es57.js +4 -0
- package/dist/vue-components.es58.js +111 -7
- package/dist/vue-components.es60.js +9 -0
- package/dist/vue-components.es61.js +27 -187
- package/dist/vue-components.es63.js +4 -23
- package/dist/vue-components.es64.js +101 -5
- package/dist/vue-components.es65.js +2 -21
- package/dist/vue-components.es66.js +20 -29
- package/dist/vue-components.es67.js +81 -21
- package/dist/vue-components.es68.js +12 -12
- package/dist/vue-components.es69.js +113 -5
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +3 -19
- package/dist/vue-components.es71.js +32 -9
- package/dist/vue-components.es72.js +2 -31
- package/dist/vue-components.es73.js +2 -48
- package/dist/vue-components.es74.js +15 -26
- package/dist/vue-components.es75.js +70 -101
- package/dist/vue-components.es76.js +14 -81
- package/dist/vue-components.es77.js +23 -15
- package/dist/vue-components.es78.js +5 -32
- package/dist/vue-components.es79.js +21 -21
- package/dist/vue-components.es80.js +30 -12
- package/dist/vue-components.es81.js +21 -112
- package/dist/vue-components.es82.js +12 -3
- package/dist/vue-components.es83.js +5 -2
- package/dist/vue-components.es84.js +19 -2
- package/dist/vue-components.es85.js +9 -2
- package/dist/vue-components.es86.js +31 -15
- package/dist/vue-components.es87.js +47 -69
- package/dist/vue-components.es88.js +26 -16
- package/dist/vue-components.es89.js +16 -8
- package/dist/vue-components.es90.js +8 -4
- 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 -6
- package/dist/vue-components.es59.js +0 -34
|
@@ -1,194 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as m, createElementBlock as d, openBlock as u, withModifiers as f, createElementVNode as l, unref as s, renderSlot as a } from "vue";
|
|
2
|
+
import { useStore as b } from "@tanstack/vue-form";
|
|
3
|
+
import { usePreventClose as p } from "./vue-components.es11.js";
|
|
4
|
+
import { getOmegaStore as c } from "./vue-components.es91.js";
|
|
5
|
+
const S = ["disabled"], V = /* @__PURE__ */ m({
|
|
6
|
+
__name: "OmegaWrapper",
|
|
6
7
|
props: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
form: {},
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
subscribe: {}
|
|
10
11
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
setup(o) {
|
|
13
|
+
const e = o, i = b(
|
|
14
|
+
e.form.store,
|
|
15
|
+
(t) => t.isSubmitting
|
|
16
|
+
), n = c(
|
|
17
|
+
e.form,
|
|
18
|
+
e.subscribe
|
|
19
|
+
);
|
|
20
|
+
return e.form.ignorePreventCloseEvents || p(() => e.form.useStore((t) => t.isDirty)), (t, r) => (u(), d("form", {
|
|
21
|
+
novalidate: "",
|
|
22
|
+
onSubmit: r[0] || (r[0] = f((v) => o.form.handleSubmit(), ["prevent", "stop"]))
|
|
23
|
+
}, [
|
|
24
|
+
l("fieldset", {
|
|
25
|
+
disabled: s(i) || o.disabled
|
|
19
26
|
}, [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
name: e.field.name,
|
|
24
|
-
label: e.inputProps.label,
|
|
25
|
-
"error-messages": e.inputProps.errorMessages,
|
|
26
|
-
error: e.inputProps.error,
|
|
27
|
-
ripple: ""
|
|
28
|
-
}, l.$attrs, {
|
|
29
|
-
"model-value": e.state.value,
|
|
30
|
-
onChange: i[0] || (i[0] = (t) => e.field.handleChange(t.target.checked))
|
|
31
|
-
}), d({ _: 2 }, [
|
|
32
|
-
l.$slots.label ? {
|
|
33
|
-
name: "label",
|
|
34
|
-
fn: r(() => [
|
|
35
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
36
|
-
]),
|
|
37
|
-
key: "0"
|
|
38
|
-
} : void 0
|
|
39
|
-
]), 1040, ["id", "name", "label", "error-messages", "error", "model-value"])) : u("", !0),
|
|
40
|
-
e.inputProps.type === "email" || e.inputProps.type === "string" || e.inputProps.type === "password" || e.inputProps.type === "date" ? (a(), n(y, o({
|
|
41
|
-
key: 1,
|
|
42
|
-
id: e.inputProps.id,
|
|
43
|
-
required: e.inputProps.required,
|
|
44
|
-
"min-length": e.inputProps.minLength,
|
|
45
|
-
"max-length": e.inputProps.maxLength,
|
|
46
|
-
type: C(c)(e.inputProps.type),
|
|
47
|
-
name: e.field.name,
|
|
48
|
-
label: e.inputProps.label,
|
|
49
|
-
"error-messages": e.inputProps.errorMessages,
|
|
50
|
-
error: e.inputProps.error
|
|
51
|
-
}, l.$attrs, {
|
|
52
|
-
"model-value": e.state.value,
|
|
53
|
-
"onUpdate:modelValue": e.field.handleChange
|
|
54
|
-
}), d({ _: 2 }, [
|
|
55
|
-
l.$slots.label ? {
|
|
56
|
-
name: "label",
|
|
57
|
-
fn: r(() => [
|
|
58
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
59
|
-
]),
|
|
60
|
-
key: "0"
|
|
61
|
-
} : void 0
|
|
62
|
-
]), 1040, ["id", "required", "min-length", "max-length", "type", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
63
|
-
e.inputProps.type === "text" ? (a(), n(p, o({
|
|
64
|
-
key: 2,
|
|
65
|
-
id: e.inputProps.id,
|
|
66
|
-
required: e.inputProps.required,
|
|
67
|
-
"min-length": e.inputProps.minLength,
|
|
68
|
-
"max-length": e.inputProps.maxLength,
|
|
69
|
-
name: e.field.name,
|
|
70
|
-
label: e.inputProps.label,
|
|
71
|
-
"error-messages": e.inputProps.errorMessages,
|
|
72
|
-
error: e.inputProps.error
|
|
73
|
-
}, l.$attrs, {
|
|
74
|
-
"model-value": e.state.value,
|
|
75
|
-
"onUpdate:modelValue": e.field.handleChange
|
|
76
|
-
}), d({ _: 2 }, [
|
|
77
|
-
l.$slots.label ? {
|
|
78
|
-
name: "label",
|
|
79
|
-
fn: r(() => [
|
|
80
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
81
|
-
]),
|
|
82
|
-
key: "0"
|
|
83
|
-
} : void 0
|
|
84
|
-
]), 1040, ["id", "required", "min-length", "max-length", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
85
|
-
e.inputProps.type === "number" || e.inputProps.type === "range" ? (a(), n(g(e.inputProps.type === "range" ? "v-slider" : "v-text-field"), o({
|
|
86
|
-
key: 3,
|
|
87
|
-
id: e.inputProps.id,
|
|
88
|
-
required: e.inputProps.required,
|
|
89
|
-
min: e.inputProps.min,
|
|
90
|
-
max: e.inputProps.max,
|
|
91
|
-
type: e.inputProps.type,
|
|
92
|
-
name: e.field.name,
|
|
93
|
-
label: e.inputProps.label,
|
|
94
|
-
"error-messages": e.inputProps.errorMessages,
|
|
95
|
-
error: e.inputProps.error
|
|
96
|
-
}, l.$attrs, {
|
|
97
|
-
"model-value": e.state.value,
|
|
98
|
-
"onUpdate:modelValue": i[1] || (i[1] = (t) => {
|
|
99
|
-
t || t === 0 ? e.field.handleChange(Number(t)) : e.field.handleChange(void 0);
|
|
100
|
-
})
|
|
101
|
-
}), d({ _: 2 }, [
|
|
102
|
-
l.$slots.label ? {
|
|
103
|
-
name: "label",
|
|
104
|
-
fn: r(() => [
|
|
105
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
106
|
-
]),
|
|
107
|
-
key: "0"
|
|
108
|
-
} : void 0
|
|
109
|
-
]), 1040, ["id", "required", "min", "max", "type", "name", "label", "error-messages", "error", "model-value"])) : u("", !0),
|
|
110
|
-
e.inputProps.type === "radio" ? (a(), n(h, o({
|
|
111
|
-
key: 4,
|
|
112
|
-
id: e.inputProps.id,
|
|
113
|
-
name: e.field.name,
|
|
114
|
-
label: e.inputProps.label,
|
|
115
|
-
"error-messages": e.inputProps.errorMessages,
|
|
116
|
-
error: e.inputProps.error
|
|
117
|
-
}, l.$attrs, {
|
|
118
|
-
"model-value": e.state.value,
|
|
119
|
-
"onUpdate:modelValue": e.field.handleChange
|
|
120
|
-
}), d({
|
|
121
|
-
default: r(() => [
|
|
122
|
-
(a(!0), v(V, null, U(e.inputProps.options, (t) => (a(), n(f, {
|
|
123
|
-
key: t.value,
|
|
124
|
-
label: t.title,
|
|
125
|
-
value: t.value
|
|
126
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
127
|
-
]),
|
|
128
|
-
_: 2
|
|
129
|
-
}, [
|
|
130
|
-
l.$slots.label ? {
|
|
131
|
-
name: "label",
|
|
132
|
-
fn: r(() => [
|
|
133
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
134
|
-
]),
|
|
135
|
-
key: "0"
|
|
136
|
-
} : void 0
|
|
137
|
-
]), 1040, ["id", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
138
|
-
e.inputProps.type === "select" || e.inputProps.type === "multiple" ? (a(), n(q, o({
|
|
139
|
-
key: 5,
|
|
140
|
-
id: e.inputProps.id,
|
|
141
|
-
clearable: e.inputProps.type === "select",
|
|
142
|
-
required: e.inputProps.required,
|
|
143
|
-
multiple: e.inputProps.type === "multiple",
|
|
144
|
-
chips: e.inputProps.type === "multiple",
|
|
145
|
-
name: e.field.name,
|
|
146
|
-
label: e.inputProps.label,
|
|
147
|
-
items: e.inputProps.options,
|
|
148
|
-
"error-messages": e.inputProps.errorMessages,
|
|
149
|
-
error: e.inputProps.error
|
|
150
|
-
}, l.$attrs, {
|
|
151
|
-
"model-value": e.state.value,
|
|
152
|
-
onClear: i[2] || (i[2] = (t) => e.field.handleChange(void 0)),
|
|
153
|
-
"onUpdate:modelValue": e.field.handleChange
|
|
154
|
-
}), d({ _: 2 }, [
|
|
155
|
-
l.$slots.label ? {
|
|
156
|
-
name: "label",
|
|
157
|
-
fn: r(() => [
|
|
158
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
159
|
-
]),
|
|
160
|
-
key: "0"
|
|
161
|
-
} : void 0
|
|
162
|
-
]), 1040, ["id", "clearable", "required", "multiple", "chips", "name", "label", "items", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
163
|
-
e.inputProps.type === "autocomplete" || e.inputProps.type === "autocompletemultiple" ? (a(), n($, o({
|
|
164
|
-
key: 6,
|
|
165
|
-
id: e.inputProps.id,
|
|
166
|
-
clearable: e.inputProps.type === "autocomplete",
|
|
167
|
-
multiple: e.inputProps.type === "autocompletemultiple",
|
|
168
|
-
required: e.inputProps.required,
|
|
169
|
-
name: e.field.name,
|
|
170
|
-
label: e.inputProps.label,
|
|
171
|
-
items: e.inputProps.options,
|
|
172
|
-
"error-messages": e.inputProps.errorMessages,
|
|
173
|
-
error: e.inputProps.error,
|
|
174
|
-
chips: e.inputProps.type === "autocompletemultiple"
|
|
175
|
-
}, l.$attrs, {
|
|
176
|
-
"model-value": e.state.value,
|
|
177
|
-
onClear: i[3] || (i[3] = (t) => e.field.handleChange(void 0)),
|
|
178
|
-
"onUpdate:modelValue": e.field.handleChange
|
|
179
|
-
}), d({ _: 2 }, [
|
|
180
|
-
l.$slots.label ? {
|
|
181
|
-
name: "label",
|
|
182
|
-
fn: r(() => [
|
|
183
|
-
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
184
|
-
]),
|
|
185
|
-
key: "0"
|
|
186
|
-
} : void 0
|
|
187
|
-
]), 1040, ["id", "clearable", "multiple", "required", "name", "label", "items", "error-messages", "error", "chips", "model-value", "onUpdate:modelValue"])) : u("", !0)
|
|
188
|
-
], 32);
|
|
189
|
-
};
|
|
27
|
+
a(t.$slots, "default", { subscribedValues: s(n) }, void 0, !0)
|
|
28
|
+
], 8, S)
|
|
29
|
+
], 32));
|
|
190
30
|
}
|
|
191
31
|
});
|
|
192
32
|
export {
|
|
193
|
-
|
|
33
|
+
V as default
|
|
194
34
|
};
|
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var c = (
|
|
5
|
-
/** @class */
|
|
6
|
-
/* @__PURE__ */ (function() {
|
|
7
|
-
function t(u) {
|
|
8
|
-
var e = this;
|
|
9
|
-
e._currentContext = u ? new Map(u) : /* @__PURE__ */ new Map(), e.getValue = function(n) {
|
|
10
|
-
return e._currentContext.get(n);
|
|
11
|
-
}, e.setValue = function(n, r) {
|
|
12
|
-
var o = new t(e._currentContext);
|
|
13
|
-
return o._currentContext.set(n, r), o;
|
|
14
|
-
}, e.deleteValue = function(n) {
|
|
15
|
-
var r = new t(e._currentContext);
|
|
16
|
-
return r._currentContext.delete(n), r;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
})()
|
|
21
|
-
), x = new c();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");if(i.appendChild(document.createTextNode(".omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){transition:all .2s;overflow:hidden;min-height:0;display:grid;grid-template-rows:1fr}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;width:auto;appearance:none;box-shadow:none;display:block;min-width:auto;height:auto;padding:.5em .5em .5em 1em}")),document.head.appendChild(i),window.customElements){const e=window.customElements.define;window.customElements.define=function(s,t){const n=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(n&&n.call(this),this.shadowRoot){const a=document.createElement("style");a.appendChild(document.createTextNode(".omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){transition:all .2s;overflow:hidden;min-height:0;display:grid;grid-template-rows:1fr}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;width:auto;appearance:none;box-shadow:none;display:block;min-width:auto;height:auto;padding:.5em .5em .5em 1em}")),this.shadowRoot.appendChild(a)}},e.call(window.customElements,s,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import o from "./vue-components.es36.js";
|
|
3
|
+
|
|
22
4
|
export {
|
|
23
|
-
|
|
24
|
-
a as createContextKey
|
|
5
|
+
o as default
|
|
25
6
|
};
|
|
@@ -1,7 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { hash as p } from "./vue-components.es67.js";
|
|
2
|
+
import { byReferenceInstances as m, getAllObjectKeys as g } from "./vue-components.es89.js";
|
|
3
|
+
import { hasProperty as M } from "./vue-components.es44.js";
|
|
4
|
+
const S = "~effect/interfaces/Equal";
|
|
5
|
+
function b() {
|
|
6
|
+
return arguments.length === 1 ? (e) => i(e, arguments[0]) : i(arguments[0], arguments[1]);
|
|
7
|
+
}
|
|
8
|
+
function i(e, r) {
|
|
9
|
+
if (e === r) return !0;
|
|
10
|
+
if (e == null || r == null) return !1;
|
|
11
|
+
const n = typeof e;
|
|
12
|
+
return n !== typeof r ? !1 : n === "number" && e !== e && r !== r ? !0 : n !== "object" && n !== "function" || m.has(e) || m.has(r) ? !1 : w(e, r, E);
|
|
13
|
+
}
|
|
14
|
+
function q(e, r, n) {
|
|
15
|
+
const t = a.has(e), o = c.has(r);
|
|
16
|
+
if (t && o)
|
|
17
|
+
return !0;
|
|
18
|
+
if (t || o)
|
|
19
|
+
return !1;
|
|
20
|
+
a.add(e), c.add(r);
|
|
21
|
+
const u = n();
|
|
22
|
+
return a.delete(e), c.delete(r), u;
|
|
23
|
+
}
|
|
24
|
+
const a = /* @__PURE__ */ new WeakSet(), c = /* @__PURE__ */ new WeakSet();
|
|
25
|
+
function E(e, r) {
|
|
26
|
+
if (p(e) !== p(r))
|
|
27
|
+
return !1;
|
|
28
|
+
if (e instanceof Date)
|
|
29
|
+
return r instanceof Date ? e.toISOString() === r.toISOString() : !1;
|
|
30
|
+
if (e instanceof RegExp)
|
|
31
|
+
return r instanceof RegExp ? e.toString() === r.toString() : !1;
|
|
32
|
+
const n = y(e), t = y(r);
|
|
33
|
+
if (n !== t) return !1;
|
|
34
|
+
const o = n && t;
|
|
35
|
+
return typeof e == "function" && !o ? !1 : q(e, r, () => o ? e[S](r) : Array.isArray(e) ? !Array.isArray(r) || e.length !== r.length ? !1 : z(e, r) : e instanceof Map ? !(r instanceof Map) || e.size !== r.size ? !1 : I(e, r) : e instanceof Set ? !(r instanceof Set) || e.size !== r.size ? !1 : V(e, r) : A(e, r));
|
|
36
|
+
}
|
|
37
|
+
function w(e, r, n) {
|
|
38
|
+
let t = s.get(e);
|
|
39
|
+
if (!t)
|
|
40
|
+
t = /* @__PURE__ */ new WeakMap(), s.set(e, t);
|
|
41
|
+
else if (t.has(r))
|
|
42
|
+
return t.get(r);
|
|
43
|
+
const o = n(e, r);
|
|
44
|
+
t.set(r, o);
|
|
45
|
+
let u = s.get(r);
|
|
46
|
+
return u || (u = /* @__PURE__ */ new WeakMap(), s.set(r, u)), u.set(e, o), o;
|
|
47
|
+
}
|
|
48
|
+
const s = /* @__PURE__ */ new WeakMap();
|
|
49
|
+
function z(e, r) {
|
|
50
|
+
for (let n = 0; n < e.length; n++)
|
|
51
|
+
if (!i(e[n], r[n]))
|
|
52
|
+
return !1;
|
|
53
|
+
return !0;
|
|
54
|
+
}
|
|
55
|
+
function A(e, r) {
|
|
56
|
+
const n = g(e), t = g(r);
|
|
57
|
+
if (n.size !== t.size)
|
|
58
|
+
return !1;
|
|
59
|
+
for (const o of n)
|
|
60
|
+
if (!t.has(o) || !i(e[o], r[o]))
|
|
61
|
+
return !1;
|
|
62
|
+
return !0;
|
|
63
|
+
}
|
|
64
|
+
function R(e, r) {
|
|
65
|
+
return function(t, o) {
|
|
66
|
+
for (const [u, f] of t) {
|
|
67
|
+
let l = !1;
|
|
68
|
+
for (const [d, k] of o)
|
|
69
|
+
if (e(u, d) && r(f, k)) {
|
|
70
|
+
l = !0;
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
if (!l)
|
|
74
|
+
return !1;
|
|
75
|
+
}
|
|
76
|
+
return !0;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
const I = /* @__PURE__ */ R(i, i);
|
|
80
|
+
function K(e) {
|
|
81
|
+
return function(n, t) {
|
|
82
|
+
for (const o of n) {
|
|
83
|
+
let u = !1;
|
|
84
|
+
for (const f of t)
|
|
85
|
+
if (e(o, f)) {
|
|
86
|
+
u = !0;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
if (!u)
|
|
90
|
+
return !1;
|
|
91
|
+
}
|
|
92
|
+
return !0;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
const V = /* @__PURE__ */ K(i), y = (e) => M(e, S), j = () => b;
|
|
5
96
|
export {
|
|
6
|
-
|
|
97
|
+
j as asEquivalence,
|
|
98
|
+
b as equals,
|
|
99
|
+
y as isEqual,
|
|
100
|
+
R as makeCompareMap,
|
|
101
|
+
K as makeCompareSet,
|
|
102
|
+
S as symbol
|
|
7
103
|
};
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var s = new o(), c = (
|
|
3
|
-
/** @class */
|
|
4
|
-
(function() {
|
|
5
|
-
function r(t, e, n, a) {
|
|
6
|
-
this._provider = t, this.name = e, this.version = n, this.options = a;
|
|
7
|
-
}
|
|
8
|
-
return r.prototype.startSpan = function(t, e, n) {
|
|
9
|
-
return this._getTracer().startSpan(t, e, n);
|
|
10
|
-
}, r.prototype.startActiveSpan = function(t, e, n, a) {
|
|
11
|
-
var i = this._getTracer();
|
|
12
|
-
return Reflect.apply(i.startActiveSpan, i, arguments);
|
|
13
|
-
}, r.prototype._getTracer = function() {
|
|
14
|
-
if (this._delegate)
|
|
15
|
-
return this._delegate;
|
|
16
|
-
var t = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
17
|
-
return t ? (this._delegate = t, this._delegate) : s;
|
|
18
|
-
}, r;
|
|
19
|
-
})()
|
|
20
|
-
);
|
|
1
|
+
const n = (t) => t.length > 0;
|
|
21
2
|
export {
|
|
22
|
-
|
|
3
|
+
n as isArrayNonEmpty
|
|
23
4
|
};
|
|
@@ -1,32 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/** @class */
|
|
7
|
-
(function() {
|
|
8
|
-
function t() {
|
|
9
|
-
}
|
|
10
|
-
return t.prototype.startSpan = function(u, e, r) {
|
|
11
|
-
r === void 0 && (r = f.active());
|
|
12
|
-
var i = !!e?.root;
|
|
13
|
-
if (i)
|
|
14
|
-
return new p();
|
|
15
|
-
var n = r && m(r);
|
|
16
|
-
return g(n) && S(n) ? new p(n) : new p();
|
|
17
|
-
}, t.prototype.startActiveSpan = function(u, e, r, i) {
|
|
18
|
-
var n, o, a;
|
|
19
|
-
if (!(arguments.length < 2)) {
|
|
20
|
-
arguments.length === 2 ? a = e : arguments.length === 3 ? (n = e, a = r) : (n = e, o = r, a = i);
|
|
21
|
-
var v = o ?? f.active(), s = this.startSpan(u, n, v), c = d(v, s);
|
|
22
|
-
return f.with(c, a, void 0, s);
|
|
23
|
-
}
|
|
24
|
-
}, t;
|
|
25
|
-
})()
|
|
26
|
-
);
|
|
27
|
-
function g(t) {
|
|
28
|
-
return typeof t == "object" && typeof t.spanId == "string" && typeof t.traceId == "string" && typeof t.traceFlags == "number";
|
|
1
|
+
import { pipeArguments as t } from "./vue-components.es43.js";
|
|
2
|
+
import { hasProperty as c } from "./vue-components.es44.js";
|
|
3
|
+
const r = /* @__PURE__ */ Symbol.for("~effect/Inspectable/redactable"), n = (e) => c(e, r);
|
|
4
|
+
function f(e) {
|
|
5
|
+
return n(e) ? a(e) : e;
|
|
29
6
|
}
|
|
7
|
+
function a(e) {
|
|
8
|
+
return e[r](globalThis[i]?.services ?? o);
|
|
9
|
+
}
|
|
10
|
+
const i = "~effect/Fiber/currentFiber", o = {
|
|
11
|
+
"~effect/ServiceMap": {},
|
|
12
|
+
mapUnsafe: /* @__PURE__ */ new Map(),
|
|
13
|
+
pipe() {
|
|
14
|
+
return t(this, arguments);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
30
17
|
export {
|
|
31
|
-
|
|
18
|
+
i as currentFiberTypeId,
|
|
19
|
+
a as getRedacted,
|
|
20
|
+
n as isRedactable,
|
|
21
|
+
f as redact,
|
|
22
|
+
r as symbolRedactable
|
|
32
23
|
};
|
|
@@ -1,24 +1,84 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
(
|
|
6
|
-
|
|
1
|
+
import { dual as g } from "./vue-components.es41.js";
|
|
2
|
+
import { byReferenceInstances as b, getAllObjectKeys as S } from "./vue-components.es89.js";
|
|
3
|
+
import { hasProperty as w } from "./vue-components.es44.js";
|
|
4
|
+
const p = "~effect/interfaces/Hash", i = (t) => {
|
|
5
|
+
switch (typeof t) {
|
|
6
|
+
case "number":
|
|
7
|
+
return y(t);
|
|
8
|
+
case "bigint":
|
|
9
|
+
return r(t.toString(10));
|
|
10
|
+
case "boolean":
|
|
11
|
+
return r(String(t));
|
|
12
|
+
case "symbol":
|
|
13
|
+
return r(String(t));
|
|
14
|
+
case "string":
|
|
15
|
+
return r(t);
|
|
16
|
+
case "undefined":
|
|
17
|
+
return r("undefined");
|
|
18
|
+
case "function":
|
|
19
|
+
case "object": {
|
|
20
|
+
if (t === null)
|
|
21
|
+
return r("null");
|
|
22
|
+
if (t instanceof Date)
|
|
23
|
+
return r(t.toISOString());
|
|
24
|
+
if (t instanceof RegExp)
|
|
25
|
+
return r(t.toString());
|
|
26
|
+
{
|
|
27
|
+
if (b.has(t))
|
|
28
|
+
return h(t);
|
|
29
|
+
if (f.has(t))
|
|
30
|
+
return f.get(t);
|
|
31
|
+
const e = C(t, () => M(t) ? t[p]() : typeof t == "function" ? h(t) : Array.isArray(t) ? A(t) : t instanceof Map ? E(t) : t instanceof Set ? k(t) : I(t));
|
|
32
|
+
return f.set(t, e), e;
|
|
33
|
+
}
|
|
7
34
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
);
|
|
35
|
+
default:
|
|
36
|
+
throw new Error(`BUG: unhandled typeof ${typeof t} - please report an issue at https://github.com/Effect-TS/effect/issues`);
|
|
37
|
+
}
|
|
38
|
+
}, h = (t) => (c.has(t) || c.set(t, y(Math.floor(Math.random() * Number.MAX_SAFE_INTEGER))), c.get(t)), m = /* @__PURE__ */ g(2, (t, e) => t * 53 ^ e), a = (t) => t & 3221225471 | t >>> 1 & 1073741824, M = (t) => w(t, p), y = (t) => {
|
|
39
|
+
if (t !== t)
|
|
40
|
+
return r("NaN");
|
|
41
|
+
if (t === 1 / 0)
|
|
42
|
+
return r("Infinity");
|
|
43
|
+
if (t === -1 / 0)
|
|
44
|
+
return r("-Infinity");
|
|
45
|
+
let e = t | 0;
|
|
46
|
+
for (e !== t && (e ^= t * 4294967295); t > 4294967295; )
|
|
47
|
+
e ^= t /= 4294967295;
|
|
48
|
+
return a(e);
|
|
49
|
+
}, r = (t) => {
|
|
50
|
+
let e = 5381, n = t.length;
|
|
51
|
+
for (; n; )
|
|
52
|
+
e = e * 33 ^ t.charCodeAt(--n);
|
|
53
|
+
return a(e);
|
|
54
|
+
}, x = (t, e) => {
|
|
55
|
+
let n = 12289;
|
|
56
|
+
for (const o of e)
|
|
57
|
+
n ^= m(i(o), i(t[o]));
|
|
58
|
+
return a(n);
|
|
59
|
+
}, I = (t) => x(t, S(t)), s = (t, e) => (n) => {
|
|
60
|
+
let o = t;
|
|
61
|
+
for (const d of n)
|
|
62
|
+
o ^= e(d);
|
|
63
|
+
return a(o);
|
|
64
|
+
}, A = /* @__PURE__ */ s(6151, i), E = /* @__PURE__ */ s(/* @__PURE__ */ r("Map"), ([t, e]) => m(i(t), i(e))), k = /* @__PURE__ */ s(/* @__PURE__ */ r("Set"), i), c = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakSet();
|
|
65
|
+
function C(t, e) {
|
|
66
|
+
if (u.has(t))
|
|
67
|
+
return r("[Circular]");
|
|
68
|
+
u.add(t);
|
|
69
|
+
const n = e();
|
|
70
|
+
return u.delete(t), n;
|
|
71
|
+
}
|
|
22
72
|
export {
|
|
23
|
-
|
|
73
|
+
A as array,
|
|
74
|
+
m as combine,
|
|
75
|
+
i as hash,
|
|
76
|
+
M as isHash,
|
|
77
|
+
y as number,
|
|
78
|
+
a as optimize,
|
|
79
|
+
h as random,
|
|
80
|
+
r as string,
|
|
81
|
+
I as structure,
|
|
82
|
+
x as structureKeys,
|
|
83
|
+
p as symbol
|
|
24
84
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})()
|
|
11
|
-
);
|
|
1
|
+
import { constUndefined as r } from "./vue-components.es41.js";
|
|
2
|
+
import { Reference as e } from "./vue-components.es69.js";
|
|
3
|
+
const n = /* @__PURE__ */ e("effect/References/CurrentStackFrame", {
|
|
4
|
+
defaultValue: r
|
|
5
|
+
}), o = /* @__PURE__ */ e("effect/References/CurrentLogLevel", {
|
|
6
|
+
defaultValue: () => "Info"
|
|
7
|
+
}), c = /* @__PURE__ */ e("effect/References/MinimumLogLevel", {
|
|
8
|
+
defaultValue: () => "Info"
|
|
9
|
+
});
|
|
12
10
|
export {
|
|
13
|
-
|
|
11
|
+
o as CurrentLogLevel,
|
|
12
|
+
n as CurrentStackFrame,
|
|
13
|
+
c as MinimumLogLevel
|
|
14
14
|
};
|