@effect-app/vue-components 4.0.0-beta.2 → 4.0.0-beta.3
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 +10 -10
- package/dist/vue-components.es17.js +9 -9
- package/dist/vue-components.es19.js +1 -1
- 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 +1 -1
- package/dist/vue-components.es25.js +1 -1
- 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 +37 -317
- package/dist/vue-components.es37.js +4 -561
- package/dist/vue-components.es38.js +77 -21
- package/dist/vue-components.es39.js +1 -1
- package/dist/vue-components.es40.js +551 -54
- package/dist/vue-components.es41.js +41 -4
- package/dist/vue-components.es42.js +27 -4
- package/dist/vue-components.es43.js +5 -24
- package/dist/vue-components.es44.js +36 -71
- package/dist/vue-components.es45.js +304 -30
- package/dist/vue-components.es46.js +25 -308
- package/dist/vue-components.es47.js +4 -99
- package/dist/vue-components.es48.js +22 -29
- package/dist/vue-components.es49.js +75 -2
- package/dist/vue-components.es50.js +99 -2
- package/dist/vue-components.es51.js +2 -2
- package/dist/vue-components.es52.js +317 -110
- package/dist/vue-components.es53.js +66 -0
- package/dist/vue-components.es54.js +2 -7
- package/dist/vue-components.es55.js +2 -32
- package/dist/vue-components.es56.js +113 -0
- package/dist/vue-components.es58.js +9 -0
- package/dist/vue-components.es59.js +30 -36
- package/dist/vue-components.es61.js +191 -40
- package/dist/vue-components.es63.js +1 -1
- package/dist/vue-components.es64.js +100 -22
- package/dist/vue-components.es65.js +82 -5
- package/dist/vue-components.es66.js +15 -21
- package/dist/vue-components.es67.js +31 -29
- package/dist/vue-components.es68.js +2 -22
- package/dist/vue-components.es69.js +21 -12
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +12 -5
- package/dist/vue-components.es71.js +113 -19
- package/dist/vue-components.es72.js +3 -9
- package/dist/vue-components.es73.js +2 -31
- package/dist/vue-components.es74.js +2 -48
- package/dist/vue-components.es75.js +15 -26
- package/dist/vue-components.es76.js +70 -101
- package/dist/vue-components.es77.js +22 -81
- package/dist/vue-components.es78.js +5 -21
- package/dist/vue-components.es79.js +21 -12
- package/dist/vue-components.es80.js +29 -112
- package/dist/vue-components.es81.js +22 -3
- package/dist/vue-components.es82.js +12 -32
- package/dist/vue-components.es83.js +5 -2
- package/dist/vue-components.es84.js +19 -2
- package/dist/vue-components.es85.js +9 -16
- package/dist/vue-components.es86.js +31 -15
- package/dist/vue-components.es87.js +47 -69
- package/dist/vue-components.es88.js +26 -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.es57.js +0 -194
- package/dist/vue-components.es60.js +0 -85
- package/dist/vue-components.es62.js +0 -7
|
@@ -1,40 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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",
|
|
7
|
+
props: {
|
|
8
|
+
form: {},
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
subscribe: {}
|
|
11
|
+
},
|
|
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
|
|
26
|
+
}, [
|
|
27
|
+
a(t.$slots, "default", { subscribedValues: s(n) }, void 0, !0)
|
|
28
|
+
], 8, S)
|
|
29
|
+
], 32));
|
|
23
30
|
}
|
|
24
|
-
return [];
|
|
25
31
|
});
|
|
26
32
|
export {
|
|
27
|
-
|
|
28
|
-
w as append,
|
|
29
|
-
d as appendAll,
|
|
30
|
-
N as dedupeWith,
|
|
31
|
-
a as fromIterable,
|
|
32
|
-
h as getUnsafe,
|
|
33
|
-
A as headNonEmpty,
|
|
34
|
-
x as isArrayNonEmpty,
|
|
35
|
-
m as isOutOfBounds,
|
|
36
|
-
u as isReadonlyArrayNonEmpty,
|
|
37
|
-
E as tailNonEmpty,
|
|
38
|
-
I as union,
|
|
39
|
-
l as unionWith
|
|
33
|
+
V as default
|
|
40
34
|
};
|
|
@@ -1,43 +1,194 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
1
|
+
import { defineComponent as k, resolveComponent as b, createElementBlock as v, openBlock as a, createBlock as n, createCommentVNode as u, resolveDynamicComponent as g, mergeProps as o, createSlots as d, withCtx as r, renderSlot as m, normalizeProps as s, guardReactiveProps as P, unref as C, Fragment as V, renderList as U } from "vue";
|
|
2
|
+
import { getInputType as c } from "./vue-components.es12.js";
|
|
3
|
+
const w = /* @__PURE__ */ k({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "OmegaInputVuetify",
|
|
6
|
+
props: {
|
|
7
|
+
inputProps: {},
|
|
8
|
+
field: {},
|
|
9
|
+
state: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["focus", "blur"],
|
|
12
|
+
setup(e) {
|
|
13
|
+
return (l, i) => {
|
|
14
|
+
const y = b("v-text-field"), p = b("v-textarea"), f = b("v-radio"), h = b("v-radio-group"), q = b("v-select"), $ = b("v-autocomplete");
|
|
15
|
+
return a(), v("div", {
|
|
16
|
+
class: "omega-input",
|
|
17
|
+
onFocusout: i[4] || (i[4] = (t) => l.$emit("blur", t)),
|
|
18
|
+
onFocusin: i[5] || (i[5] = (t) => l.$emit("focus", t))
|
|
19
|
+
}, [
|
|
20
|
+
e.inputProps.type === "boolean" || e.inputProps.type === "switch" ? (a(), n(g(e.inputProps.type === "boolean" ? "v-checkbox" : "v-switch"), o({
|
|
21
|
+
key: 0,
|
|
22
|
+
id: e.inputProps.id,
|
|
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
|
+
};
|
|
29
190
|
}
|
|
30
|
-
}
|
|
31
|
-
pipe() {
|
|
32
|
-
return o(this, arguments);
|
|
33
|
-
}
|
|
34
|
-
}, i = /* @__PURE__ */ (function() {
|
|
35
|
-
function e() {
|
|
36
|
-
}
|
|
37
|
-
return e.prototype = p, e;
|
|
38
|
-
})();
|
|
191
|
+
});
|
|
39
192
|
export {
|
|
40
|
-
|
|
41
|
-
p as Prototype,
|
|
42
|
-
o as pipeArguments
|
|
193
|
+
w as default
|
|
43
194
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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.
|
|
2
|
+
import o from "./vue-components.es61.js";
|
|
3
3
|
|
|
4
4
|
export {
|
|
5
5
|
o as default
|
|
@@ -1,25 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { hash as p } from "./vue-components.es65.js";
|
|
2
|
+
import { byReferenceInstances as m, getAllObjectKeys as g } from "./vue-components.es89.js";
|
|
3
|
+
import { hasProperty as M } from "./vue-components.es42.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;
|
|
18
75
|
}
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
|
|
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;
|
|
22
96
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
97
|
+
j as asEquivalence,
|
|
98
|
+
b as equals,
|
|
99
|
+
y as isEqual,
|
|
100
|
+
R as makeCompareMap,
|
|
101
|
+
K as makeCompareSet,
|
|
102
|
+
S as symbol
|
|
25
103
|
};
|
|
@@ -1,7 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { dual as g } from "./vue-components.es39.js";
|
|
2
|
+
import { byReferenceInstances as b, getAllObjectKeys as S } from "./vue-components.es89.js";
|
|
3
|
+
import { hasProperty as w } from "./vue-components.es42.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
|
+
}
|
|
34
|
+
}
|
|
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
|
+
}
|
|
5
72
|
export {
|
|
6
|
-
|
|
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
|
|
7
84
|
};
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
import { hasProperty as o, isFunction as t } from "./vue-components.es42.js";
|
|
2
|
+
import { redact as e } from "./vue-components.es69.js";
|
|
3
|
+
const n = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), s = (r) => {
|
|
4
|
+
try {
|
|
5
|
+
if (o(r, "toJSON") && t(r.toJSON) && r.toJSON.length === 0)
|
|
6
|
+
return r.toJSON();
|
|
7
|
+
if (Array.isArray(r))
|
|
8
|
+
return r.map(s);
|
|
9
|
+
} catch {
|
|
10
|
+
return "[toJSON threw]";
|
|
11
|
+
}
|
|
12
|
+
return e(r);
|
|
13
|
+
};
|
|
21
14
|
export {
|
|
22
|
-
|
|
15
|
+
n as NodeInspectSymbol,
|
|
16
|
+
s as toJson
|
|
23
17
|
};
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
|
|
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
|
-
function g(t) {
|
|
28
|
-
return typeof t == "object" && typeof t.spanId == "string" && typeof t.traceId == "string" && typeof t.traceFlags == "number";
|
|
1
|
+
class l {
|
|
2
|
+
called = !1;
|
|
3
|
+
self;
|
|
4
|
+
constructor(r) {
|
|
5
|
+
this.self = r;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @since 2.0.0
|
|
9
|
+
*/
|
|
10
|
+
next(r) {
|
|
11
|
+
return this.called ? {
|
|
12
|
+
value: r,
|
|
13
|
+
done: !0
|
|
14
|
+
} : (this.called = !0, {
|
|
15
|
+
value: this.self,
|
|
16
|
+
done: !1
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @since 2.0.0
|
|
21
|
+
*/
|
|
22
|
+
[Symbol.iterator]() {
|
|
23
|
+
return new l(this.self);
|
|
24
|
+
}
|
|
29
25
|
}
|
|
26
|
+
const e = "~effect/Effect/internal", n = {
|
|
27
|
+
[e]: (t) => t()
|
|
28
|
+
}, s = {
|
|
29
|
+
[e]: (t) => t()
|
|
30
|
+
}, a = /* @__PURE__ */ n[e](() => new Error().stack)?.includes(e) === !0, c = a ? n[e] : s[e];
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
l as SingleShotGen,
|
|
33
|
+
c as internalCall
|
|
32
34
|
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { NoopTracerProvider as n } from "./vue-components.es69.js";
|
|
3
|
-
var c = new n(), g = (
|
|
4
|
-
/** @class */
|
|
5
|
-
(function() {
|
|
6
|
-
function t() {
|
|
7
|
-
}
|
|
8
|
-
return t.prototype.getTracer = function(e, o, a) {
|
|
9
|
-
var r;
|
|
10
|
-
return (r = this.getDelegateTracer(e, o, a)) !== null && r !== void 0 ? r : new i(this, e, o, a);
|
|
11
|
-
}, t.prototype.getDelegate = function() {
|
|
12
|
-
var e;
|
|
13
|
-
return (e = this._delegate) !== null && e !== void 0 ? e : c;
|
|
14
|
-
}, t.prototype.setDelegate = function(e) {
|
|
15
|
-
this._delegate = e;
|
|
16
|
-
}, t.prototype.getDelegateTracer = function(e, o, a) {
|
|
17
|
-
var r;
|
|
18
|
-
return (r = this._delegate) === null || r === void 0 ? void 0 : r.getTracer(e, o, a);
|
|
19
|
-
}, t;
|
|
20
|
-
})()
|
|
21
|
-
);
|
|
1
|
+
const n = (t) => t.length > 0;
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
n as isArrayNonEmpty
|
|
24
4
|
};
|