@effect-app/vue-components 4.0.0-beta.2 → 4.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/vue-components.es10.js +12 -12
  2. package/dist/vue-components.es11.js +2 -2
  3. package/dist/vue-components.es12.js +3 -3
  4. package/dist/vue-components.es16.js +9 -721
  5. package/dist/vue-components.es17.js +701 -119
  6. package/dist/vue-components.es18.js +141 -4
  7. package/dist/vue-components.es19.js +4 -11
  8. package/dist/vue-components.es20.js +11 -3
  9. package/dist/vue-components.es21.js +3 -24
  10. package/dist/vue-components.es22.js +24 -4
  11. package/dist/vue-components.es23.js +4 -8
  12. package/dist/vue-components.es24.js +8 -55
  13. package/dist/vue-components.es25.js +50 -64
  14. package/dist/vue-components.es26.js +69 -6
  15. package/dist/vue-components.es27.js +5 -5
  16. package/dist/vue-components.es28.js +6 -3
  17. package/dist/vue-components.es29.js +3 -3
  18. package/dist/vue-components.es30.js +3 -2
  19. package/dist/vue-components.es31.js +1 -1
  20. package/dist/vue-components.es32.js +1 -1
  21. package/dist/vue-components.es33.js +1 -1
  22. package/dist/vue-components.es34.js +2 -17
  23. package/dist/vue-components.es35.js +16 -10
  24. package/dist/vue-components.es36.js +189 -315
  25. package/dist/vue-components.es38.js +4 -27
  26. package/dist/vue-components.es39.js +37 -51
  27. package/dist/vue-components.es40.js +4 -64
  28. package/dist/vue-components.es41.js +83 -4
  29. package/dist/vue-components.es42.js +52 -4
  30. package/dist/vue-components.es43.js +556 -19
  31. package/dist/vue-components.es44.js +37 -71
  32. package/dist/vue-components.es45.js +21 -34
  33. package/dist/vue-components.es46.js +5 -314
  34. package/dist/vue-components.es47.js +34 -93
  35. package/dist/vue-components.es48.js +308 -25
  36. package/dist/vue-components.es49.js +31 -2
  37. package/dist/vue-components.es5.js +1 -1
  38. package/dist/vue-components.es50.js +4 -2
  39. package/dist/vue-components.es51.js +24 -2
  40. package/dist/vue-components.es52.js +73 -109
  41. package/dist/vue-components.es53.js +101 -0
  42. package/dist/vue-components.es54.js +2 -7
  43. package/dist/vue-components.es55.js +317 -31
  44. package/dist/vue-components.es56.js +66 -0
  45. package/dist/vue-components.es57.js +2 -192
  46. package/dist/vue-components.es58.js +4 -0
  47. package/dist/vue-components.es59.js +109 -36
  48. package/dist/vue-components.es61.js +7 -41
  49. package/dist/vue-components.es62.js +32 -5
  50. package/dist/vue-components.es64.js +100 -22
  51. package/dist/vue-components.es65.js +2 -5
  52. package/dist/vue-components.es66.js +21 -21
  53. package/dist/vue-components.es67.js +80 -28
  54. package/dist/vue-components.es68.js +12 -22
  55. package/dist/vue-components.es69.js +112 -11
  56. package/dist/vue-components.es7.js +1 -1
  57. package/dist/vue-components.es70.js +3 -5
  58. package/dist/vue-components.es71.js +31 -18
  59. package/dist/vue-components.es72.js +2 -9
  60. package/dist/vue-components.es73.js +2 -31
  61. package/dist/vue-components.es74.js +15 -48
  62. package/dist/vue-components.es75.js +70 -26
  63. package/dist/vue-components.es76.js +22 -100
  64. package/dist/vue-components.es77.js +5 -82
  65. package/dist/vue-components.es78.js +21 -21
  66. package/dist/vue-components.es79.js +30 -12
  67. package/dist/vue-components.es80.js +21 -112
  68. package/dist/vue-components.es81.js +12 -3
  69. package/dist/vue-components.es82.js +5 -32
  70. package/dist/vue-components.es83.js +19 -2
  71. package/dist/vue-components.es84.js +9 -2
  72. package/dist/vue-components.es85.js +31 -16
  73. package/dist/vue-components.es86.js +46 -13
  74. package/dist/vue-components.es87.js +26 -70
  75. package/dist/vue-components.es88.js +15 -8
  76. package/dist/vue-components.es89.js +16 -2
  77. package/dist/vue-components.es90.js +7 -14
  78. package/dist/vue-components.es92.js +1 -1
  79. package/dist/vue-components.es94.js +1 -1
  80. package/dist/vue-components.es96.js +3 -3
  81. package/dist/vue-components.es97.js +1 -1
  82. package/package.json +3 -3
  83. package/dist/vue-components.es37.js +0 -563
  84. package/dist/vue-components.es60.js +0 -85
  85. package/dist/vue-components.es63.js +0 -6
@@ -1,13 +1,19 @@
1
- import { onMounted as e, onUnmounted as u } from "vue";
2
- function p(t) {
3
- let n;
4
- e(() => {
5
- const o = t();
6
- o && (n = o);
7
- }), u(() => {
8
- n && n();
9
- });
1
+ function c(t) {
2
+ return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, f) {
3
+ var i = t.get(e);
4
+ i ? i.push(f) : t.set(e, [f]);
5
+ }, off: function(e, f) {
6
+ var i = t.get(e);
7
+ i && (f ? i.splice(i.indexOf(f) >>> 0, 1) : t.set(e, []));
8
+ }, emit: function(e, f) {
9
+ var i = t.get(e);
10
+ i && i.slice().map(function(a) {
11
+ a(f);
12
+ }), (i = t.get("*")) && i.slice().map(function(a) {
13
+ a(e, f);
14
+ });
15
+ } };
10
16
  }
11
17
  export {
12
- p as onMountedWithCleanup
18
+ c as default
13
19
  };
@@ -1,320 +1,194 @@
1
- import { symbol as d, equals as i } from "./vue-components.es76.js";
2
- import { format as a } from "./vue-components.es60.js";
3
- import { identity as E, dual as R } from "./vue-components.es39.js";
4
- import { symbol as g, array as M, combine as f, string as b, hash as l } from "./vue-components.es77.js";
5
- import { NodeInspectSymbol as O } from "./vue-components.es86.js";
6
- import { pipeArguments as S } from "./vue-components.es61.js";
7
- import { hasProperty as I } from "./vue-components.es38.js";
8
- import { SingleShotGen as T } from "./vue-components.es82.js";
9
- const o = "~effect/Effect", _ = "~effect/Exit", Y = {
10
- _A: E,
11
- _E: E,
12
- _R: E
13
- }, $ = `${o}/identifier`, n = `${o}/args`, h = `${o}/evaluate`, m = `${o}/successCont`, u = `${o}/failureCont`, F = `${o}/ensureCont`, dt = /* @__PURE__ */ Symbol.for("effect/Effect/Yield"), U = {
14
- pipe() {
15
- return S(this, arguments);
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: {}
16
10
  },
17
- toJSON() {
18
- return {
19
- ...this
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);
20
189
  };
21
- },
22
- toString() {
23
- return a(this.toJSON(), {
24
- ignoreToString: !0,
25
- space: 2
26
- });
27
- },
28
- [O]() {
29
- return this.toJSON();
30
- }
31
- }, W = {
32
- [Symbol.iterator]() {
33
- return new T(this);
34
- }
35
- }, z = {
36
- ...W,
37
- pipe() {
38
- return S(this, arguments);
39
- }
40
- }, B = {
41
- [o]: Y,
42
- ...U,
43
- [Symbol.iterator]() {
44
- return new T(this);
45
- },
46
- asEffect() {
47
- return this;
48
- },
49
- toJSON() {
50
- return {
51
- _id: "Effect",
52
- op: this[$],
53
- ...n in this ? {
54
- args: this[n]
55
- } : void 0
56
- };
57
- }
58
- }, q = (t) => I(t, _), p = "~effect/Cause", y = "~effect/Cause/Reason", v = (t) => I(t, p);
59
- class C {
60
- [p];
61
- reasons;
62
- constructor(e) {
63
- this[p] = p, this.reasons = e;
64
- }
65
- pipe() {
66
- return S(this, arguments);
67
- }
68
- toJSON() {
69
- return {
70
- _id: "Cause",
71
- failures: this.reasons.map((e) => e.toJSON())
72
- };
73
- }
74
- toString() {
75
- return `Cause(${a(this.reasons)})`;
76
- }
77
- [O]() {
78
- return this.toJSON();
79
- }
80
- [d](e) {
81
- return v(e) && this.reasons.length === e.reasons.length && this.reasons.every((r, s) => i(r, e.reasons[s]));
82
- }
83
- [g]() {
84
- return M(this.reasons);
85
- }
86
- }
87
- const P = /* @__PURE__ */ new WeakMap();
88
- class J {
89
- [y];
90
- annotations;
91
- _tag;
92
- constructor(e, r, s) {
93
- if (this[y] = y, this._tag = e, r !== N && typeof s == "object" && s !== null && r.size > 0) {
94
- const c = P.get(s);
95
- c && (r = new Map([...c, ...r])), P.set(s, r);
96
- }
97
- this.annotations = r;
98
- }
99
- annotate(e, r) {
100
- if (e.mapUnsafe.size === 0) return this;
101
- const s = new Map(this.annotations);
102
- e.mapUnsafe.forEach((D, x) => {
103
- r?.overwrite !== !0 && s.has(x) || s.set(x, D);
104
- });
105
- const c = Object.assign(Object.create(Object.getPrototypeOf(this)), this);
106
- return c.annotations = s, c;
107
- }
108
- pipe() {
109
- return S(this, arguments);
110
- }
111
- toString() {
112
- return a(this);
113
- }
114
- [O]() {
115
- return this.toString();
116
- }
117
- }
118
- const N = /* @__PURE__ */ new Map();
119
- class G extends J {
120
- error;
121
- constructor(e, r = N) {
122
- super("Fail", r, e), this.error = e;
123
- }
124
- toString() {
125
- return `Fail(${a(this.error)})`;
126
- }
127
- toJSON() {
128
- return {
129
- _tag: "Fail",
130
- error: this.error
131
- };
132
- }
133
- [d](e) {
134
- return Q(e) && i(this.error, e.error) && i(this.annotations, e.annotations);
135
- }
136
- [g]() {
137
- return f(b(this._tag))(f(l(this.error))(l(this.annotations)));
138
- }
139
- }
140
- const K = (t) => new C([new G(t)]);
141
- class V extends J {
142
- defect;
143
- constructor(e, r = N) {
144
- super("Die", r, e), this.defect = e;
145
- }
146
- toString() {
147
- return `Die(${a(this.defect)})`;
148
- }
149
- toJSON() {
150
- return {
151
- _tag: "Die",
152
- defect: this.defect
153
- };
154
- }
155
- [d](e) {
156
- return X(e) && i(this.defect, e.defect) && i(this.annotations, e.annotations);
157
- }
158
- [g]() {
159
- return f(b(this._tag))(f(l(this.defect))(l(this.annotations)));
160
- }
161
- }
162
- const H = (t) => new C([new V(t)]), L = /* @__PURE__ */ R((t) => v(t[0]), (t, e, r) => e.mapUnsafe.size === 0 ? t : new C(t.reasons.map((s) => s.annotate(e, r)))), Q = (t) => t._tag === "Fail", X = (t) => t._tag === "Die", gt = (t) => t._tag === "Interrupt";
163
- function Z(t) {
164
- return st("Effect.evaluate: Not implemented");
165
- }
166
- const A = (t) => ({
167
- ...B,
168
- [$]: t.op,
169
- [h]: t[h] ?? Z,
170
- [m]: t[m],
171
- [u]: t[u],
172
- [F]: t[F]
173
- }), tt = (t) => {
174
- const e = A(t);
175
- return function() {
176
- const r = Object.create(e);
177
- return r[n] = t.single === !1 ? arguments : arguments[0], r;
178
- };
179
- }, j = (t) => {
180
- const e = {
181
- ...A(t),
182
- [_]: _,
183
- _tag: t.op,
184
- get [t.prop]() {
185
- return this[n];
186
- },
187
- toString() {
188
- return `${t.op}(${a(this[n])})`;
189
- },
190
- toJSON() {
191
- return {
192
- _id: "Exit",
193
- _tag: t.op,
194
- [t.prop]: this[n]
195
- };
196
- },
197
- [d](r) {
198
- return q(r) && r._tag === this._tag && i(this[n], r[n]);
199
- },
200
- [g]() {
201
- return f(b(t.op), l(this[n]));
202
- }
203
- };
204
- return function(r) {
205
- const s = Object.create(e);
206
- return s[n] = r, s;
207
- };
208
- }, St = /* @__PURE__ */ j({
209
- op: "Success",
210
- prop: "value",
211
- [h](t) {
212
- const e = t.getCont(m);
213
- return e ? e[m](this[n], t, this) : t.yieldWith(this);
214
- }
215
- }), et = {
216
- key: "effect/Cause/StackTrace"
217
- }, Et = {
218
- key: "effect/Cause/InterruptorStackTrace"
219
- }, w = /* @__PURE__ */ j({
220
- op: "Failure",
221
- prop: "cause",
222
- [h](t) {
223
- let e = this[n], r = !1;
224
- t.currentStackFrame && (e = L(e, {
225
- mapUnsafe: /* @__PURE__ */ new Map([[et.key, t.currentStackFrame]])
226
- }), r = !0);
227
- let s = t.getCont(u);
228
- for (; t.interruptible && t._interruptedCause && s; )
229
- s = t.getCont(u);
230
- return s ? s[u](e, t, r ? void 0 : this) : t.yieldWith(r ? this : w(e));
231
- }
232
- }), rt = (t) => w(K(t)), st = (t) => w(H(t)), yt = /* @__PURE__ */ tt({
233
- op: "WithFiber",
234
- [h](t) {
235
- return this[n](t);
236
- }
237
- }), nt = /* @__PURE__ */ (function() {
238
- class t extends globalThis.Error {
239
- asEffect() {
240
- return rt(this);
241
- }
242
- }
243
- return Object.assign(t.prototype, z), t;
244
- })(), ot = /* @__PURE__ */ (function() {
245
- const t = /* @__PURE__ */ Symbol.for("effect/Data/Error/plainArgs");
246
- return class extends nt {
247
- constructor(r) {
248
- super(r?.message, r?.cause ? {
249
- cause: r.cause
250
- } : void 0), r && (Object.assign(this, r), Object.defineProperty(this, t, {
251
- value: r,
252
- enumerable: !1
253
- }));
254
- }
255
- toJSON() {
256
- return {
257
- ...this[t],
258
- ...this
259
- };
260
- }
261
- };
262
- })(), it = (t) => {
263
- class e extends ot {
264
- _tag = t;
265
- }
266
- return e.prototype.name = t, e;
267
- }, k = "~effect/Cause/NoSuchElementError";
268
- class bt extends (/* @__PURE__ */ it("NoSuchElementError")) {
269
- [k] = k;
270
- constructor(e) {
271
- super({
272
- message: e
273
- });
274
190
  }
275
- }
191
+ });
276
192
  export {
277
- C as CauseImpl,
278
- y as CauseReasonTypeId,
279
- p as CauseTypeId,
280
- V as Die,
281
- B as EffectProto,
282
- o as EffectTypeId,
283
- ot as Error,
284
- _ as ExitTypeId,
285
- G as Fail,
286
- Et as InterruptorStackTrace,
287
- bt as NoSuchElementError,
288
- k as NoSuchElementErrorTypeId,
289
- U as PipeInspectableProto,
290
- J as ReasonBase,
291
- et as StackTraceKey,
292
- it as TaggedError,
293
- dt as Yield,
294
- nt as YieldableError,
295
- z as YieldableErrorProto,
296
- W as YieldableProto,
297
- n as args,
298
- L as causeAnnotate,
299
- H as causeDie,
300
- K as causeFail,
301
- N as constEmptyAnnotations,
302
- m as contA,
303
- F as contAll,
304
- u as contE,
305
- h as evaluate,
306
- st as exitDie,
307
- rt as exitFail,
308
- w as exitFailCause,
309
- St as exitSucceed,
310
- $ as identifier,
311
- v as isCause,
312
- X as isDieReason,
313
- q as isExit,
314
- Q as isFailReason,
315
- gt as isInterruptReason,
316
- j as makeExit,
317
- tt as makePrimitive,
318
- A as makePrimitiveProto,
319
- yt as withFiber
193
+ w as default
320
194
  };
@@ -1,29 +1,6 @@
1
- import { dual as o } from "./vue-components.es39.js";
2
- function i(n) {
3
- return typeof n == "string";
4
- }
5
- function f(n) {
6
- return typeof n == "number";
7
- }
8
- function c(n) {
9
- return typeof n == "boolean";
10
- }
11
- function r(n) {
12
- return typeof n == "function";
13
- }
14
- function s(n) {
15
- return !0;
16
- }
17
- function e(n) {
18
- return typeof n == "object" && n !== null || r(n);
19
- }
20
- const y = /* @__PURE__ */ o(2, (n, t) => e(n) && t in n);
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
+
21
4
  export {
22
- y as hasProperty,
23
- c as isBoolean,
24
- r as isFunction,
25
- f as isNumber,
26
- e as isObjectKeyword,
27
- i as isString,
28
- s as isUnknown
5
+ o as default
29
6
  };
@@ -1,54 +1,40 @@
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
- };
32
- }
33
- }, g = (e) => e, i = (e) => () => e, o = /* @__PURE__ */ i(void 0), m = o;
34
- function p(e, ...n) {
35
- return c(e, n);
36
- }
37
- function h(e) {
38
- const n = /* @__PURE__ */ new WeakMap();
39
- return (t) => {
40
- if (n.has(t))
41
- return n.get(t);
42
- const r = e(t);
43
- return n.set(t, r), r;
44
- };
1
+ import { asEquivalence as y } from "./vue-components.es64.js";
2
+ import { dual as s } from "./vue-components.es42.js";
3
+ import { isArrayNonEmpty as p } from "./vue-components.es65.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;
45
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;
23
+ }
24
+ return [];
25
+ });
46
26
  export {
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
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
54
40
  };