@effect-app/vue-components 3.2.0 → 4.0.0-beta.1
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/OmegaForm/OmegaAutoGen.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +11 -13
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +6 -4
- package/dist/types/utils/index.d.ts +4 -3
- package/dist/vue-components.es.js +13 -14
- package/dist/vue-components.es10.js +109 -115
- package/dist/vue-components.es100.js +4 -0
- package/dist/vue-components.es11.js +2 -2
- package/dist/vue-components.es12.js +290 -341
- package/dist/vue-components.es16.js +721 -9
- package/dist/vue-components.es17.js +141 -4
- package/dist/vue-components.es18.js +4 -10
- package/dist/vue-components.es19.js +11 -55
- package/dist/vue-components.es2.js +17 -18
- package/dist/vue-components.es20.js +3 -68
- package/dist/vue-components.es21.js +24 -6
- package/dist/vue-components.es22.js +4 -6
- package/dist/vue-components.es23.js +8 -3
- package/dist/vue-components.es24.js +55 -3
- package/dist/vue-components.es25.js +69 -2
- package/dist/vue-components.es26.js +6 -2
- package/dist/vue-components.es27.js +6 -2
- package/dist/vue-components.es28.js +3 -2
- package/dist/vue-components.es29.js +3 -17
- package/dist/vue-components.es3.js +9 -9
- package/dist/vue-components.es30.js +2 -192
- package/dist/vue-components.es31.js +4 -0
- package/dist/vue-components.es32.js +2 -42
- package/dist/vue-components.es33.js +1 -1
- package/dist/vue-components.es34.js +17 -2
- package/dist/vue-components.es35.js +11 -111
- package/dist/vue-components.es36.js +320 -0
- package/dist/vue-components.es37.js +560 -6
- package/dist/vue-components.es38.js +27 -32
- package/dist/vue-components.es39.js +54 -0
- package/dist/vue-components.es40.js +64 -4
- package/dist/vue-components.es41.js +4 -23
- package/dist/vue-components.es42.js +4 -5
- package/dist/vue-components.es43.js +24 -21
- package/dist/vue-components.es44.js +73 -28
- package/dist/vue-components.es45.js +40 -22
- package/dist/vue-components.es46.js +313 -11
- package/dist/vue-components.es47.js +99 -5
- package/dist/vue-components.es48.js +28 -16
- package/dist/vue-components.es49.js +2 -9
- package/dist/vue-components.es5.js +1 -1
- package/dist/vue-components.es50.js +2 -31
- package/dist/vue-components.es51.js +2 -48
- package/dist/vue-components.es52.js +111 -26
- package/dist/vue-components.es54.js +7 -65
- package/dist/vue-components.es55.js +31 -55
- package/dist/vue-components.es57.js +191 -32
- package/dist/vue-components.es59.js +37 -41
- package/dist/vue-components.es60.js +83 -2
- package/dist/vue-components.es61.js +39 -42
- package/dist/vue-components.es62.js +5 -2
- package/dist/vue-components.es63.js +6 -0
- package/dist/vue-components.es64.js +25 -0
- package/dist/vue-components.es65.js +7 -0
- package/dist/vue-components.es66.js +23 -0
- package/dist/vue-components.es67.js +32 -0
- package/dist/vue-components.es68.js +24 -0
- package/dist/vue-components.es69.js +14 -0
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +7 -0
- package/dist/vue-components.es71.js +21 -0
- package/dist/vue-components.es72.js +11 -0
- package/dist/vue-components.es73.js +33 -0
- package/dist/vue-components.es74.js +50 -0
- package/dist/vue-components.es75.js +28 -0
- package/dist/vue-components.es76.js +103 -0
- package/dist/vue-components.es77.js +84 -0
- package/dist/vue-components.es78.js +17 -0
- package/dist/vue-components.es79.js +34 -0
- package/dist/vue-components.es80.js +23 -0
- package/dist/vue-components.es81.js +14 -0
- package/dist/vue-components.es82.js +115 -0
- package/dist/vue-components.es83.js +5 -0
- package/dist/vue-components.es84.js +4 -0
- package/dist/vue-components.es85.js +4 -0
- package/dist/vue-components.es86.js +18 -0
- package/dist/vue-components.es87.js +72 -0
- package/dist/vue-components.es88.js +10 -0
- package/dist/vue-components.es89.js +4 -0
- package/dist/vue-components.es90.js +17 -0
- package/dist/vue-components.es92.js +67 -0
- package/dist/vue-components.es93.js +58 -0
- package/dist/{vue-components.es56.js → vue-components.es94.js} +1 -1
- package/dist/vue-components.es95.js +35 -0
- package/dist/{vue-components.es58.js → vue-components.es96.js} +3 -3
- package/dist/vue-components.es97.js +44 -0
- package/dist/vue-components.es98.js +4 -0
- package/dist/vue-components.es99.js +46 -0
- package/package.json +25 -24
- package/src/components/OmegaForm/OmegaAutoGen.vue +11 -10
- package/src/components/OmegaForm/OmegaErrorsInternal.vue +3 -2
- package/src/components/OmegaForm/OmegaFormStuff.ts +249 -274
- package/src/components/OmegaForm/OmegaInternalInput.vue +1 -1
- package/src/components/OmegaForm/useOmegaForm.ts +27 -28
- package/src/utils/index.ts +7 -7
- /package/dist/{vue-components.es53.js → vue-components.es91.js} +0 -0
|
@@ -1,35 +1,194 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return
|
|
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
|
+
};
|
|
14
190
|
}
|
|
15
|
-
|
|
16
|
-
var a = new Error("@opentelemetry/api: Registration of version v" + s.version + " for " + r + " does not match previously registered API v" + t);
|
|
17
|
-
return e.error(a.stack || a.message), !1;
|
|
18
|
-
}
|
|
19
|
-
return s[r] = o, e.debug("@opentelemetry/api: Registered a global for " + r + " v" + t + "."), !0;
|
|
20
|
-
}
|
|
21
|
-
function E(r) {
|
|
22
|
-
var o, e, i = (o = l[n]) === null || o === void 0 ? void 0 : o.version;
|
|
23
|
-
if (!(!i || !f(i)))
|
|
24
|
-
return (e = l[n]) === null || e === void 0 ? void 0 : e[r];
|
|
25
|
-
}
|
|
26
|
-
function _(r, o) {
|
|
27
|
-
o.debug("@opentelemetry/api: Unregistering a global for " + r + " v" + t + ".");
|
|
28
|
-
var e = l[n];
|
|
29
|
-
e && delete e[r];
|
|
30
|
-
}
|
|
191
|
+
});
|
|
31
192
|
export {
|
|
32
|
-
|
|
33
|
-
d as registerGlobal,
|
|
34
|
-
_ as unregisterGlobal
|
|
193
|
+
w as default
|
|
35
194
|
};
|
|
@@ -1,44 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { asEquivalence as y } from "./vue-components.es76.js";
|
|
2
|
+
import { dual as s } from "./vue-components.es39.js";
|
|
3
|
+
import { isArrayNonEmpty as p } from "./vue-components.es89.js";
|
|
4
|
+
const c = globalThis.Array, a = (t) => c.isArray(t) ? t : c.from(t), w = /* @__PURE__ */ s(2, (t, n) => [...t, n]), d = /* @__PURE__ */ s(2, (t, n) => a(t).concat(a(n))), x = p, u = p;
|
|
5
|
+
function m(t, n) {
|
|
6
|
+
return t < 0 || t >= n.length;
|
|
7
|
+
}
|
|
8
|
+
const h = /* @__PURE__ */ s(2, (t, n) => {
|
|
9
|
+
const o = Math.floor(n);
|
|
10
|
+
if (m(o, t))
|
|
11
|
+
throw new Error(`Index out of bounds: ${o}`);
|
|
12
|
+
return t[o];
|
|
13
|
+
}), A = /* @__PURE__ */ h(0), E = (t) => t.slice(1), l = /* @__PURE__ */ s(3, (t, n, o) => {
|
|
14
|
+
const r = a(t), e = a(n);
|
|
15
|
+
return u(r) ? u(e) ? N(o)(d(r, e)) : r : e;
|
|
16
|
+
}), I = /* @__PURE__ */ s(2, (t, n) => l(t, n, y())), N = /* @__PURE__ */ s(2, (t, n) => {
|
|
17
|
+
const o = a(t);
|
|
18
|
+
if (u(o)) {
|
|
19
|
+
const r = [A(o)], e = E(o);
|
|
20
|
+
for (const i of e)
|
|
21
|
+
r.every((f) => !n(i, f)) && r.push(i);
|
|
22
|
+
return r;
|
|
16
23
|
}
|
|
17
|
-
return
|
|
18
|
-
}
|
|
19
|
-
if (n || arguments.length === 2) for (var e = 0, a = o.length, r; e < a; e++)
|
|
20
|
-
(r || !(e in o)) && (r || (r = Array.prototype.slice.call(o, 0, e)), r[e] = o[e]);
|
|
21
|
-
return t.concat(r || Array.prototype.slice.call(o));
|
|
22
|
-
}, y = (
|
|
23
|
-
/** @class */
|
|
24
|
-
(function() {
|
|
25
|
-
function t() {
|
|
26
|
-
}
|
|
27
|
-
return t.prototype.active = function() {
|
|
28
|
-
return l;
|
|
29
|
-
}, t.prototype.with = function(o, n, e) {
|
|
30
|
-
for (var a = [], r = 3; r < arguments.length; r++)
|
|
31
|
-
a[r - 3] = arguments[r];
|
|
32
|
-
return n.call.apply(n, p([e], c(a), !1));
|
|
33
|
-
}, t.prototype.bind = function(o, n) {
|
|
34
|
-
return n;
|
|
35
|
-
}, t.prototype.enable = function() {
|
|
36
|
-
return this;
|
|
37
|
-
}, t.prototype.disable = function() {
|
|
38
|
-
return this;
|
|
39
|
-
}, t;
|
|
40
|
-
})()
|
|
41
|
-
);
|
|
24
|
+
return [];
|
|
25
|
+
});
|
|
42
26
|
export {
|
|
43
|
-
|
|
27
|
+
c as Array,
|
|
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
|
|
44
40
|
};
|
|
@@ -1,4 +1,85 @@
|
|
|
1
|
-
|
|
1
|
+
import { hasProperty as b } from "./vue-components.es38.js";
|
|
2
|
+
import { symbolRedactable as h, getRedacted as l, redact as j } from "./vue-components.es80.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
|
+
}
|
|
2
79
|
export {
|
|
3
|
-
|
|
80
|
+
w as format,
|
|
81
|
+
d as formatDate,
|
|
82
|
+
K as formatJson,
|
|
83
|
+
J as formatPath,
|
|
84
|
+
p as formatPropertyKey
|
|
4
85
|
};
|
|
@@ -1,46 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
const o = (e, t) => {
|
|
2
|
+
switch (t.length) {
|
|
3
|
+
case 0:
|
|
4
|
+
return e;
|
|
5
|
+
case 1:
|
|
6
|
+
return t[0](e);
|
|
7
|
+
case 2:
|
|
8
|
+
return t[1](t[0](e));
|
|
9
|
+
case 3:
|
|
10
|
+
return t[2](t[1](t[0](e)));
|
|
11
|
+
case 4:
|
|
12
|
+
return t[3](t[2](t[1](t[0](e))));
|
|
13
|
+
case 5:
|
|
14
|
+
return t[4](t[3](t[2](t[1](t[0](e)))));
|
|
15
|
+
case 6:
|
|
16
|
+
return t[5](t[4](t[3](t[2](t[1](t[0](e))))));
|
|
17
|
+
case 7:
|
|
18
|
+
return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));
|
|
19
|
+
case 8:
|
|
20
|
+
return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));
|
|
21
|
+
case 9:
|
|
22
|
+
return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));
|
|
23
|
+
default: {
|
|
24
|
+
let n = e;
|
|
25
|
+
for (let u = 0, c = t.length; u < c; u++)
|
|
26
|
+
n = t[u](n);
|
|
27
|
+
return n;
|
|
28
|
+
}
|
|
21
29
|
}
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
}, p = {
|
|
31
|
+
pipe() {
|
|
32
|
+
return o(this, arguments);
|
|
24
33
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
var i = r.match(h);
|
|
31
|
-
if (!i)
|
|
32
|
-
return a(r);
|
|
33
|
-
var u = {
|
|
34
|
-
major: +i[1],
|
|
35
|
-
minor: +i[2],
|
|
36
|
-
patch: +i[3],
|
|
37
|
-
prerelease: i[4]
|
|
38
|
-
};
|
|
39
|
-
return u.prerelease != null || e.major !== u.major ? a(r) : e.major === 0 ? e.minor === u.minor && e.patch <= u.patch ? p(r) : a(r) : e.minor <= u.minor ? p(r) : a(r);
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
var v = s(d);
|
|
34
|
+
}, i = /* @__PURE__ */ (function() {
|
|
35
|
+
function e() {
|
|
36
|
+
}
|
|
37
|
+
return e.prototype = p, e;
|
|
38
|
+
})();
|
|
43
39
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
i as Class,
|
|
41
|
+
p as Prototype,
|
|
42
|
+
o as pipeArguments
|
|
46
43
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { isFailure as s, succeed as e, fail as i } from "./vue-components.es87.js";
|
|
2
|
+
const c = e, l = i, o = s;
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
l as fail,
|
|
5
|
+
o as isFailure,
|
|
6
|
+
c as succeed
|
|
4
7
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
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.es57.js";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
o as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function a(t) {
|
|
2
|
+
return Symbol.for(t);
|
|
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();
|
|
22
|
+
export {
|
|
23
|
+
x as ROOT_CONTEXT,
|
|
24
|
+
a as createContextKey
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NoopTracer as o } from "./vue-components.es67.js";
|
|
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
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
c as ProxyTracer
|
|
23
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ContextAPI as l } from "./vue-components.es74.js";
|
|
2
|
+
import { getSpanContext as m, setSpan as d } from "./vue-components.es96.js";
|
|
3
|
+
import { NonRecordingSpan as p } from "./vue-components.es73.js";
|
|
4
|
+
import { isSpanContextValid as S } from "./vue-components.es71.js";
|
|
5
|
+
var f = l.getInstance(), I = (
|
|
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";
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
I as NoopTracer
|
|
32
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ProxyTracer as i } from "./vue-components.es66.js";
|
|
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
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
g as ProxyTracerProvider
|
|
24
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NoopTracer as o } from "./vue-components.es67.js";
|
|
2
|
+
var p = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function() {
|
|
5
|
+
function r() {
|
|
6
|
+
}
|
|
7
|
+
return r.prototype.getTracer = function(e, n, t) {
|
|
8
|
+
return new o();
|
|
9
|
+
}, r;
|
|
10
|
+
})()
|
|
11
|
+
);
|
|
12
|
+
export {
|
|
13
|
+
p as NoopTracerProvider
|
|
14
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import { defineComponent as N, computed as n, getCurrentInstance as k, useAttrs as q, useSlots as B, useId as S, renderSlot as d, normalizeProps as s, guardReactiveProps as p, createElementVNode as w, normalizeClass as F, createBlock as I, createCommentVNode as L, unref as A, openBlock as O, mergeProps as R, createSlots as V, withCtx as z } from "vue";
|
|
3
3
|
import { useStore as f } from "@tanstack/vue-form";
|
|
4
|
-
import T from "./vue-components.
|
|
4
|
+
import T from "./vue-components.es57.js";
|
|
5
5
|
|
|
6
6
|
const H = /* @__PURE__ */ N({
|
|
7
7
|
inheritAttrs: !1,
|