@effect-app/vue-components 3.2.0 → 4.0.0-beta.0

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 (99) hide show
  1. package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +1 -1
  2. package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +11 -13
  3. package/dist/types/components/OmegaForm/useOmegaForm.d.ts +6 -4
  4. package/dist/types/utils/index.d.ts +4 -3
  5. package/dist/vue-components.es.js +13 -14
  6. package/dist/vue-components.es10.js +109 -115
  7. package/dist/vue-components.es11.js +1 -1
  8. package/dist/vue-components.es12.js +290 -341
  9. package/dist/vue-components.es17.js +723 -4
  10. package/dist/vue-components.es18.js +140 -9
  11. package/dist/vue-components.es19.js +4 -55
  12. package/dist/vue-components.es2.js +17 -18
  13. package/dist/vue-components.es20.js +11 -68
  14. package/dist/vue-components.es21.js +3 -6
  15. package/dist/vue-components.es22.js +24 -6
  16. package/dist/vue-components.es23.js +4 -3
  17. package/dist/vue-components.es24.js +8 -3
  18. package/dist/vue-components.es25.js +55 -2
  19. package/dist/vue-components.es26.js +69 -2
  20. package/dist/vue-components.es27.js +6 -2
  21. package/dist/vue-components.es28.js +6 -2
  22. package/dist/vue-components.es29.js +3 -17
  23. package/dist/vue-components.es3.js +9 -9
  24. package/dist/vue-components.es30.js +3 -192
  25. package/dist/vue-components.es31.js +4 -0
  26. package/dist/vue-components.es32.js +2 -42
  27. package/dist/vue-components.es33.js +1 -1
  28. package/dist/vue-components.es34.js +1 -1
  29. package/dist/vue-components.es35.js +17 -111
  30. package/dist/vue-components.es36.js +40 -0
  31. package/dist/vue-components.es37.js +4 -7
  32. package/dist/vue-components.es38.js +82 -31
  33. package/dist/vue-components.es39.js +54 -0
  34. package/dist/vue-components.es40.js +561 -4
  35. package/dist/vue-components.es41.js +40 -22
  36. package/dist/vue-components.es42.js +27 -5
  37. package/dist/vue-components.es43.js +5 -21
  38. package/dist/vue-components.es44.js +39 -29
  39. package/dist/vue-components.es45.js +313 -21
  40. package/dist/vue-components.es46.js +31 -12
  41. package/dist/vue-components.es47.js +4 -5
  42. package/dist/vue-components.es48.js +23 -18
  43. package/dist/vue-components.es49.js +74 -8
  44. package/dist/vue-components.es50.js +98 -30
  45. package/dist/vue-components.es51.js +2 -48
  46. package/dist/vue-components.es52.js +317 -25
  47. package/dist/vue-components.es53.js +64 -11
  48. package/dist/vue-components.es54.js +2 -65
  49. package/dist/vue-components.es55.js +2 -56
  50. package/dist/vue-components.es56.js +110 -16
  51. package/dist/vue-components.es58.js +7 -29
  52. package/dist/vue-components.es59.js +31 -41
  53. package/dist/vue-components.es61.js +190 -42
  54. package/dist/vue-components.es63.js +6 -0
  55. package/dist/vue-components.es64.js +103 -0
  56. package/dist/vue-components.es65.js +4 -0
  57. package/dist/vue-components.es66.js +23 -0
  58. package/dist/vue-components.es67.js +84 -0
  59. package/dist/vue-components.es68.js +14 -0
  60. package/dist/vue-components.es69.js +115 -0
  61. package/dist/vue-components.es7.js +1 -1
  62. package/dist/vue-components.es70.js +5 -0
  63. package/dist/vue-components.es71.js +34 -0
  64. package/dist/vue-components.es72.js +4 -0
  65. package/dist/vue-components.es73.js +4 -0
  66. package/dist/vue-components.es74.js +17 -0
  67. package/dist/vue-components.es75.js +72 -0
  68. package/dist/vue-components.es76.js +25 -0
  69. package/dist/vue-components.es77.js +7 -0
  70. package/dist/vue-components.es78.js +23 -0
  71. package/dist/vue-components.es79.js +32 -0
  72. package/dist/vue-components.es80.js +24 -0
  73. package/dist/vue-components.es81.js +14 -0
  74. package/dist/vue-components.es82.js +7 -0
  75. package/dist/vue-components.es83.js +21 -0
  76. package/dist/vue-components.es84.js +11 -0
  77. package/dist/vue-components.es85.js +33 -0
  78. package/dist/vue-components.es86.js +50 -0
  79. package/dist/vue-components.es87.js +28 -0
  80. package/dist/vue-components.es88.js +17 -0
  81. package/dist/vue-components.es89.js +18 -0
  82. package/dist/vue-components.es90.js +10 -0
  83. package/dist/vue-components.es91.js +13 -0
  84. package/dist/vue-components.es92.js +67 -0
  85. package/dist/vue-components.es93.js +58 -0
  86. package/dist/vue-components.es94.js +19 -0
  87. package/dist/{vue-components.es57.js → vue-components.es95.js} +3 -3
  88. package/dist/vue-components.es96.js +31 -0
  89. package/dist/vue-components.es97.js +44 -0
  90. package/dist/vue-components.es99.js +46 -0
  91. package/package.json +25 -24
  92. package/src/components/OmegaForm/OmegaAutoGen.vue +11 -10
  93. package/src/components/OmegaForm/OmegaErrorsInternal.vue +3 -2
  94. package/src/components/OmegaForm/OmegaFormStuff.ts +249 -274
  95. package/src/components/OmegaForm/OmegaInternalInput.vue +1 -1
  96. package/src/components/OmegaForm/useOmegaForm.ts +27 -28
  97. package/src/utils/index.ts +7 -7
  98. /package/dist/{vue-components.es62.js → vue-components.es100.js} +0 -0
  99. /package/dist/{vue-components.es60.js → vue-components.es98.js} +0 -0
@@ -1,6 +1,563 @@
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.es30.js";
3
-
1
+ import { union as ie } from "./vue-components.es36.js";
2
+ import { equals as oe, symbol as ce } from "./vue-components.es64.js";
3
+ import { formatJson as Y } from "./vue-components.es38.js";
4
+ import { dual as u, identity as j, constVoid as ue } from "./vue-components.es39.js";
5
+ import { symbol as ae, combine as le, string as he, random as fe } from "./vue-components.es67.js";
6
+ import { some as w, none as L } from "./vue-components.es24.js";
7
+ import { pipeArguments as de } from "./vue-components.es41.js";
8
+ import { hasProperty as pe } from "./vue-components.es42.js";
9
+ import { currentFiberTypeId as I } from "./vue-components.es66.js";
10
+ import { CurrentLogLevel as me, MinimumLogLevel as ge, CurrentStackFrame as Se } from "./vue-components.es68.js";
11
+ import { isFailure as T, succeed as _e, fail as ye } from "./vue-components.es43.js";
12
+ import { Scheduler as C, MixedScheduler as N, MaxOpsBeforeYield as be } from "./vue-components.es49.js";
13
+ import { add as ke, getReferenceUnsafe as ve, make as Ee, empty as F } from "./vue-components.es69.js";
14
+ import { ParentSpanKey as Fe, TracerKey as xe } from "./vue-components.es70.js";
15
+ import { internalCall as g } from "./vue-components.es71.js";
16
+ import { withFiber as Ie, makePrimitive as h, exitSucceed as S, exitFail as D, NoSuchElementError as Ce, args as c, contA as d, makePrimitiveProto as O, exitDie as k, evaluate as a, Yield as f, ExitTypeId as B, isFailReason as $e, exitFailCause as K, contE as x, contAll as v, CauseImpl as V, causeAnnotate as U, StackTraceKey as q, isInterruptReason as z, InterruptorStackTrace as we, ReasonBase as Le, constEmptyAnnotations as Te } from "./vue-components.es52.js";
17
+ import { FiberRuntimeMetricsKey as Oe } from "./vue-components.es72.js";
18
+ import { version as Pe } from "./vue-components.es73.js";
19
+ class Ae extends Le {
20
+ fiberId;
21
+ constructor(t, r = Te) {
22
+ super("Interrupt", r, "Interrupted"), this.fiberId = t;
23
+ }
24
+ toString() {
25
+ return `Interrupt(${this.fiberId})`;
26
+ }
27
+ toJSON() {
28
+ return {
29
+ _tag: "Interrupt",
30
+ fiberId: this.fiberId
31
+ };
32
+ }
33
+ [ce](t) {
34
+ return z(t) && this.fiberId === t.fiberId && this.annotations === t.annotations;
35
+ }
36
+ [ae]() {
37
+ return le(he(`${this._tag}:${this.fiberId}`))(fe(this.annotations));
38
+ }
39
+ }
40
+ const je = (e) => new V([new Ae(e)]), P = (e) => {
41
+ for (let t = 0; t < e.reasons.length; t++) {
42
+ const r = e.reasons[t];
43
+ if (r._tag === "Fail")
44
+ return _e(r.error);
45
+ }
46
+ return ye(e);
47
+ }, Ue = (e) => e.reasons.some(z), Me = /* @__PURE__ */ u(2, (e, t) => {
48
+ if (e.reasons.length === 0)
49
+ return t;
50
+ if (t.reasons.length === 0)
51
+ return e;
52
+ const r = new V(ie(e.reasons, t.reasons));
53
+ return oe(e, r) ? e : r;
54
+ }), Re = (e) => {
55
+ const t = {
56
+ Fail: [],
57
+ Die: [],
58
+ Interrupt: []
59
+ };
60
+ for (let r = 0; r < e.reasons.length; r++)
61
+ t[e.reasons[r]._tag].push(e.reasons[r]);
62
+ return t;
63
+ }, G = (e) => {
64
+ const t = Re(e);
65
+ return t.Fail.length > 0 ? t.Fail[0].error : t.Die.length > 0 ? t.Die[0].defect : t.Interrupt.length > 0 ? new globalThis.Error("All fibers interrupted without error") : new globalThis.Error("Empty cause");
66
+ }, We = (e) => {
67
+ const t = [], r = [];
68
+ if (e.reasons.length === 0) return t;
69
+ const n = Error.stackTraceLimit;
70
+ Error.stackTraceLimit = 1;
71
+ for (const s of e.reasons) {
72
+ if (s._tag === "Interrupt") {
73
+ r.push(s);
74
+ continue;
75
+ }
76
+ t.push($(s._tag === "Die" ? s.defect : s.error, s.annotations));
77
+ }
78
+ if (t.length === 0) {
79
+ const s = new Error("The fiber was interrupted by:");
80
+ s.name = "InterruptCause", s.stack = Be(s, r);
81
+ const i = new globalThis.Error("All fibers interrupted without error", {
82
+ cause: s
83
+ });
84
+ i.name = "InterruptError", i.stack = `${i.name}: ${i.message}`, t.push($(i, r[0].annotations));
85
+ }
86
+ return Error.stackTraceLimit = n, t;
87
+ }, $ = (e, t) => {
88
+ const r = typeof e;
89
+ let n;
90
+ if (e && r === "object") {
91
+ if (n = new globalThis.Error(Ye(e), {
92
+ cause: e.cause ? $(e.cause) : void 0
93
+ }), typeof e.name == "string" && (n.name = e.name), typeof e.stack == "string")
94
+ n.stack = De(e.stack, n, t);
95
+ else {
96
+ const s = `${n.name}: ${n.message}`;
97
+ n.stack = t ? J(s, t) : s;
98
+ }
99
+ for (const s of Object.keys(e))
100
+ s in n || (n[s] = e[s]);
101
+ } else
102
+ n = new globalThis.Error(e ? r === "string" ? e : Y(e) : `Unknown error: ${e}`);
103
+ return n;
104
+ }, Ye = (e) => {
105
+ if (typeof e.message == "string")
106
+ return e.message;
107
+ if (typeof e.toString == "function" && e.toString !== Object.prototype.toString && e.toString !== Array.prototype.toString)
108
+ try {
109
+ return e.toString();
110
+ } catch {
111
+ }
112
+ return Y(e);
113
+ }, Ne = /\((.*)\)/g, De = (e, t, r) => {
114
+ const n = `${t.name}: ${t.message}`, s = (e.startsWith(n) ? e.slice(n.length) : e).split(`
115
+ `), i = [n];
116
+ for (let o = 1; o < s.length && !/(?:Generator\.next|~effect\/Effect)/.test(s[o]); o++)
117
+ i.push(s[o]);
118
+ return r ? J(i.join(`
119
+ `), r) : i.join(`
120
+ `);
121
+ }, J = (e, t) => {
122
+ const r = t?.get(q.key);
123
+ return r && (e = `${e}
124
+ ${H(r)}`), e;
125
+ }, Be = (e, t) => {
126
+ const r = [`${e.name}: ${e.message}`];
127
+ for (const n of t) {
128
+ const s = n.fiberId !== void 0 ? `#${n.fiberId}` : "unknown", i = n.annotations.get(we.key);
129
+ r.push(` at fiber (${s})`), i && r.push(H(i));
130
+ }
131
+ return r.join(`
132
+ `);
133
+ }, H = (e) => {
134
+ const t = [];
135
+ let r = e, n = 0;
136
+ for (; r && n < 10; ) {
137
+ const s = r.stack();
138
+ if (s) {
139
+ const i = s.matchAll(Ne);
140
+ let o = !1;
141
+ for (const [, b] of i)
142
+ o = !0, t.push(` at ${r.name} (${b})`);
143
+ o || t.push(` at ${r.name} (${s.replace(/^at /, "")})`);
144
+ } else
145
+ t.push(` at ${r.name}`);
146
+ r = r.parent, n++;
147
+ }
148
+ return t.join(`
149
+ `);
150
+ }, Ut = (e) => We(e).map((t) => t.cause ? `${t.stack} {
151
+ ${Q(t.cause, " ")}
152
+ }` : t.stack).join(`
153
+ `), Q = (e, t) => {
154
+ const r = e.stack.split(`
155
+ `);
156
+ let n = `${t}[cause]: ${r[0]}`;
157
+ for (let s = 1, i = r.length; s < i; s++)
158
+ n += `
159
+ ${t}${r[s]}`;
160
+ return e.cause && (n += ` {
161
+ ${Q(e.cause, `${t} `)}
162
+ ${t}}`), n;
163
+ }, M = `~effect/Fiber/${Pe}`, Ke = {
164
+ _A: j,
165
+ _E: j
166
+ }, Ve = {
167
+ id: 0
168
+ };
169
+ class qe {
170
+ constructor(t, r = !0) {
171
+ this[M] = Ke, this.setServices(t), this.id = ++Ve.id, this.currentOpCount = 0, this.currentLoopCount = 0, this.interruptible = r, this._stack = [], this._observers = [], this._exit = void 0, this._children = void 0, this._interruptedCause = void 0, this._yielded = void 0;
172
+ }
173
+ [M];
174
+ id;
175
+ interruptible;
176
+ currentOpCount;
177
+ currentLoopCount;
178
+ _stack;
179
+ _observers;
180
+ _exit;
181
+ _currentExit;
182
+ _children;
183
+ _interruptedCause;
184
+ _yielded;
185
+ // set in setServices
186
+ services;
187
+ currentScheduler;
188
+ currentTracerContext;
189
+ currentSpan;
190
+ currentLogLevel;
191
+ minimumLogLevel;
192
+ currentStackFrame;
193
+ runtimeMetrics;
194
+ maxOpsBeforeYield;
195
+ getRef(t) {
196
+ return ve(this.services, t);
197
+ }
198
+ addObserver(t) {
199
+ return this._exit ? (t(this._exit), ue) : (this._observers.push(t), () => {
200
+ const r = this._observers.indexOf(t);
201
+ r >= 0 && this._observers.splice(r, 1);
202
+ });
203
+ }
204
+ interruptUnsafe(t, r) {
205
+ if (this._exit)
206
+ return;
207
+ let n = je(t);
208
+ this.currentStackFrame && (n = U(n, Ee(q, this.currentStackFrame))), r && (n = U(n, r)), this._interruptedCause = this._interruptedCause ? Me(this._interruptedCause, n) : n, this.interruptible && this.evaluate(m(this._interruptedCause));
209
+ }
210
+ pollUnsafe() {
211
+ return this._exit;
212
+ }
213
+ evaluate(t) {
214
+ if (this.runtimeMetrics?.recordFiberStart(this.services), this._exit)
215
+ return;
216
+ if (this._yielded !== void 0) {
217
+ const n = this._yielded;
218
+ this._yielded = void 0, n();
219
+ }
220
+ const r = this.runLoop(t);
221
+ if (r !== f) {
222
+ this._exit = r, this.runtimeMetrics?.recordFiberEnd(this.services, this._exit);
223
+ for (let n = 0; n < this._observers.length; n++)
224
+ this._observers[n](r);
225
+ this._observers.length = 0;
226
+ }
227
+ }
228
+ runLoop(t) {
229
+ const r = globalThis[I];
230
+ globalThis[I] = this;
231
+ let n = !1, s = t;
232
+ this.currentOpCount = 0;
233
+ const i = ++this.currentLoopCount;
234
+ try {
235
+ for (; ; ) {
236
+ if (this.currentOpCount++, !n && this.currentScheduler.shouldYield(this)) {
237
+ n = !0;
238
+ const o = s;
239
+ s = y(Ge, () => o);
240
+ }
241
+ if (s = this.currentTracerContext ? this.currentTracerContext(s, this) : s[a](this), i !== this.currentLoopCount)
242
+ return f;
243
+ if (s === f) {
244
+ const o = this._yielded;
245
+ return B in o ? (this._yielded = void 0, o) : f;
246
+ }
247
+ }
248
+ } catch (o) {
249
+ return pe(s, a) ? this.runLoop(k(o)) : k(`Fiber.runLoop: Not a valid effect: ${String(s)}`);
250
+ } finally {
251
+ globalThis[I] = r;
252
+ }
253
+ }
254
+ getCont(t) {
255
+ for (; ; ) {
256
+ const r = this._stack.pop();
257
+ if (!r) return;
258
+ const n = r[v] && r[v](this);
259
+ if (n)
260
+ return n[t] = n, n;
261
+ if (r[t]) return r;
262
+ }
263
+ }
264
+ yieldWith(t) {
265
+ return this._yielded = t, f;
266
+ }
267
+ children() {
268
+ return this._children ??= /* @__PURE__ */ new Set();
269
+ }
270
+ pipe() {
271
+ return de(this, arguments);
272
+ }
273
+ setServices(t) {
274
+ this.services = t, this.currentScheduler = this.getRef(C), this.currentSpan = t.mapUnsafe.get(Fe), this.currentLogLevel = this.getRef(me), this.minimumLogLevel = this.getRef(ge), this.currentStackFrame = t.mapUnsafe.get(Se.key), this.maxOpsBeforeYield = this.getRef(be), this.runtimeMetrics = t.mapUnsafe.get(Oe);
275
+ const r = t.mapUnsafe.get(xe);
276
+ this.currentTracerContext = r ? r.context : void 0;
277
+ }
278
+ get currentSpanLocal() {
279
+ return this.currentSpan?._tag === "Span" ? this.currentSpan : void 0;
280
+ }
281
+ }
282
+ const l = S, m = K, X = D, R = /* @__PURE__ */ h({
283
+ op: "Sync",
284
+ [a](e) {
285
+ const t = this[c](), r = e.getCont(d);
286
+ return r ? r[d](t, e) : e.yieldWith(S(t));
287
+ }
288
+ }), _ = /* @__PURE__ */ h({
289
+ op: "Suspend",
290
+ [a](e) {
291
+ return this[c]();
292
+ }
293
+ }), ze = /* @__PURE__ */ h({
294
+ op: "Yield",
295
+ [a](e) {
296
+ let t = !1;
297
+ return e.currentScheduler.scheduleTask(() => {
298
+ t || e.evaluate(te);
299
+ }, this[c] ?? 0), e.yieldWith(() => {
300
+ t = !0;
301
+ });
302
+ }
303
+ }), Ge = /* @__PURE__ */ ze(0), Mt = (e) => l(w(e)), Rt = /* @__PURE__ */ l(/* @__PURE__ */ L()), Z = (e) => k(e), Je = (e) => _(() => X(g(e))), Wt = (e) => He(function(t, r) {
304
+ g(() => e(r)).then((n) => t(l(n)), (n) => t(Z(n)));
305
+ }, e.length !== 0), He = /* @__PURE__ */ h({
306
+ op: "Async",
307
+ single: !1,
308
+ [a](e) {
309
+ const t = g(() => this[c][0].bind(e.currentScheduler));
310
+ let r = !1, n = !1;
311
+ const s = this[c][1] ? new AbortController() : void 0, i = t((o) => {
312
+ r || (r = !0, n ? e.evaluate(o) : n = o);
313
+ }, s?.signal);
314
+ return n !== !1 ? n : (n = !0, e._yielded = () => {
315
+ r = !0;
316
+ }, s === void 0 && i === void 0 ? f : (e._stack.push(Qe(() => (r = !0, s?.abort(), i ?? te))), f));
317
+ }
318
+ }), Qe = /* @__PURE__ */ h({
319
+ op: "AsyncFinalizer",
320
+ [v](e) {
321
+ e.interruptible && (e.interruptible = !1, e._stack.push(dt));
322
+ },
323
+ [x](e, t) {
324
+ return Ue(e) ? y(this[c](), () => m(e)) : m(e);
325
+ }
326
+ }), Yt = (e, ...t) => {
327
+ const r = t.length === 0 ? function() {
328
+ return _(() => E(e.apply(this, arguments)));
329
+ } : function() {
330
+ let n = _(() => E(e.apply(this, arguments)));
331
+ for (let s = 0; s < t.length; s++)
332
+ n = t[s](n, ...arguments);
333
+ return n;
334
+ };
335
+ return ee(e.length, r);
336
+ }, ee = (e, t) => Object.defineProperty(t, "length", {
337
+ value: e,
338
+ configurable: !0
339
+ }), Nt = (e, ...t) => ee(e.length, t.length === 0 ? function() {
340
+ return W(() => e.apply(this, arguments));
341
+ } : function() {
342
+ let r = W(() => e.apply(this, arguments));
343
+ for (const n of t)
344
+ r = n(r);
345
+ return r;
346
+ }), W = (e) => {
347
+ try {
348
+ const t = e();
349
+ let r;
350
+ for (; ; ) {
351
+ const n = t.next(r);
352
+ if (n.done)
353
+ return l(n.value);
354
+ const i = n.value.asEffect(), o = i;
355
+ if (o && o._tag === "Success") {
356
+ r = o.value;
357
+ continue;
358
+ } else {
359
+ if (o && o._tag === "Failure")
360
+ return i;
361
+ {
362
+ let b = !0;
363
+ return _(() => b ? (b = !1, y(i, (se) => E(t, se))) : _(() => E(e())));
364
+ }
365
+ }
366
+ }
367
+ } catch (t) {
368
+ return Z(t);
369
+ }
370
+ }, E = /* @__PURE__ */ h({
371
+ op: "Iterator",
372
+ single: !1,
373
+ [d](e, t) {
374
+ const r = this[c][0];
375
+ for (; ; ) {
376
+ const n = r.next(e);
377
+ if (n.done) return l(n.value);
378
+ const s = n.value.asEffect();
379
+ if (p(s)) {
380
+ if (s._tag === "Failure")
381
+ return s;
382
+ } else return t._stack.push(this), s;
383
+ e = s.value;
384
+ }
385
+ },
386
+ [a](e) {
387
+ return this[d](this[c][1], e);
388
+ }
389
+ }), y = /* @__PURE__ */ u(2, (e, t) => {
390
+ const r = Object.create(Xe);
391
+ return r[c] = e, r[d] = t.length !== 1 ? (n) => t(n) : t, r;
392
+ }), Xe = /* @__PURE__ */ O({
393
+ op: "OnSuccess",
394
+ [a](e) {
395
+ return e._stack.push(this), this[c];
396
+ }
397
+ }), p = (e) => B in e, Dt = /* @__PURE__ */ u(2, (e, t) => p(e) ? e._tag === "Success" ? t(e.value) : e : y(e, t)), Ze = /* @__PURE__ */ u(2, (e, t) => y(e, (r) => l(g(() => t(r))))), Bt = /* @__PURE__ */ u(2, (e, t) => p(e) ? tt(e, t) : Ze(e, t)), Kt = /* @__PURE__ */ u(2, (e, t) => p(e) ? rt(e, t) : ot(e, t)), Vt = /* @__PURE__ */ u(2, (e, t) => {
398
+ if (p(e)) {
399
+ if (e._tag === "Success") return e;
400
+ const r = P(e.cause);
401
+ return T(r) ? e : t(r.success);
402
+ }
403
+ return re(e, t);
404
+ }), et = (e) => e._tag === "Success", te = /* @__PURE__ */ S(void 0), tt = /* @__PURE__ */ u(2, (e, t) => e._tag === "Success" ? S(t(e.value)) : e), rt = /* @__PURE__ */ u(2, (e, t) => {
405
+ if (e._tag === "Success") return e;
406
+ const r = P(e.cause);
407
+ return T(r) ? e : D(t(r.success));
408
+ }), qt = (e) => et(e) ? w(e.value) : L(), nt = /* @__PURE__ */ u(2, (e, t) => {
409
+ const r = Object.create(st);
410
+ return r[c] = e, r[x] = t.length !== 1 ? (n) => t(n) : t, r;
411
+ }), st = /* @__PURE__ */ O({
412
+ op: "OnFailure",
413
+ [a](e) {
414
+ return e._stack.push(this), this[c];
415
+ }
416
+ }), it = /* @__PURE__ */ u(3, (e, t, r) => nt(e, (n) => {
417
+ const s = t(n);
418
+ return T(s) ? m(s.failure) : g(() => r(s.success, n));
419
+ })), re = /* @__PURE__ */ u(2, (e, t) => it(e, P, (r) => t(r))), ot = /* @__PURE__ */ u(2, (e, t) => re(e, (r) => Je(() => t(r)))), zt = (e) => lt(e, {
420
+ onFailure: L,
421
+ onSuccess: w
422
+ }), ct = /* @__PURE__ */ u(2, (e, t) => {
423
+ const r = Object.create(ut);
424
+ return r[c] = e, r[d] = t.onSuccess.length !== 1 ? (n) => t.onSuccess(n) : t.onSuccess, r[x] = t.onFailure.length !== 1 ? (n) => t.onFailure(n) : t.onFailure, r;
425
+ }), ut = /* @__PURE__ */ O({
426
+ op: "OnSuccessAndFailure",
427
+ [a](e) {
428
+ return e._stack.push(this), this[c];
429
+ }
430
+ }), at = /* @__PURE__ */ u(2, (e, t) => ct(e, {
431
+ onFailure: (r) => {
432
+ const n = r.reasons.find($e);
433
+ return n ? g(() => t.onFailure(n.error)) : m(r);
434
+ },
435
+ onSuccess: t.onSuccess
436
+ })), lt = /* @__PURE__ */ u(2, (e, t) => at(e, {
437
+ onFailure: (r) => R(() => t.onFailure(r)),
438
+ onSuccess: (r) => R(() => t.onSuccess(r))
439
+ })), Gt = (e) => p(e) ? S(e) : ht(e), ht = /* @__PURE__ */ h({
440
+ op: "Exit",
441
+ [a](e) {
442
+ return e._stack.push(this), this[c];
443
+ },
444
+ [d](e, t, r) {
445
+ return l(r ?? S(e));
446
+ },
447
+ [x](e, t, r) {
448
+ return l(r ?? K(e));
449
+ }
450
+ }), ft = /* @__PURE__ */ h({
451
+ op: "SetInterruptible",
452
+ [v](e) {
453
+ if (e.interruptible = this[c], e._interruptedCause && e.interruptible)
454
+ return () => m(e._interruptedCause);
455
+ }
456
+ }), dt = /* @__PURE__ */ ft(!0), A = (e) => (t, r) => {
457
+ const n = r?.scheduler || !e.mapUnsafe.has(C.key) && new N(), s = new qe(n ? ke(e, C, n) : e, r?.uninterruptible !== !0);
458
+ if (s.evaluate(t), s._exit) return s;
459
+ if (r?.signal)
460
+ if (r.signal.aborted)
461
+ s.interruptUnsafe();
462
+ else {
463
+ const i = () => s.interruptUnsafe();
464
+ r.signal.addEventListener("abort", i, {
465
+ once: !0
466
+ }), s.addObserver(() => r.signal.removeEventListener("abort", i));
467
+ }
468
+ return s;
469
+ }, Jt = /* @__PURE__ */ A(/* @__PURE__ */ F()), pt = (e) => {
470
+ const t = A(e);
471
+ return (r, n) => {
472
+ const s = t(r, n);
473
+ return new Promise((i) => {
474
+ s.addObserver((o) => i(o));
475
+ });
476
+ };
477
+ }, mt = (e) => {
478
+ const t = pt(e);
479
+ return (r, n) => t(r, n).then((s) => {
480
+ if (s._tag === "Failure")
481
+ throw G(s.cause);
482
+ return s.value;
483
+ });
484
+ }, Ht = /* @__PURE__ */ mt(/* @__PURE__ */ F()), ne = (e) => {
485
+ const t = A(e);
486
+ return (r) => {
487
+ if (p(r)) return r;
488
+ const n = new N("sync"), s = t(r, {
489
+ scheduler: n
490
+ });
491
+ return n.flush(), s._exit ?? k(s);
492
+ };
493
+ }, Qt = /* @__PURE__ */ ne(/* @__PURE__ */ F()), gt = (e) => {
494
+ const t = ne(e);
495
+ return (r) => {
496
+ const n = t(r);
497
+ if (n._tag === "Failure") throw G(n.cause);
498
+ return n.value;
499
+ };
500
+ }, Xt = /* @__PURE__ */ gt(/* @__PURE__ */ F()), Zt = /* @__PURE__ */ Ie((e) => {
501
+ const t = e.currentSpanLocal;
502
+ return t ? l(t) : X(new Ce());
503
+ }), St = typeof process == "object" && process !== null && typeof process.stdout == "object" && process.stdout !== null;
504
+ St && process.stdout.isTTY;
4
505
  export {
5
- o as default
506
+ qe as FiberImpl,
507
+ M as FiberTypeId,
508
+ Ae as Interrupt,
509
+ nt as catchCause,
510
+ it as catchCauseFilter,
511
+ Vt as catchEager,
512
+ re as catch_,
513
+ Me as causeCombine,
514
+ je as causeInterrupt,
515
+ Re as causePartition,
516
+ Ut as causePretty,
517
+ $ as causePrettyError,
518
+ We as causePrettyErrors,
519
+ G as causeSquash,
520
+ Zt as currentSpan,
521
+ Z as die,
522
+ p as effectIsExit,
523
+ Gt as exit,
524
+ qt as exitGetSuccess,
525
+ et as exitIsSuccess,
526
+ tt as exitMap,
527
+ rt as exitMapError,
528
+ te as exitVoid,
529
+ X as fail,
530
+ m as failCause,
531
+ Je as failSync,
532
+ P as findError,
533
+ y as flatMap,
534
+ Dt as flatMapEager,
535
+ Yt as fnUntraced,
536
+ Nt as fnUntracedEager,
537
+ Ue as hasInterrupts,
538
+ Ze as map,
539
+ Bt as mapEager,
540
+ ot as mapError,
541
+ Kt as mapErrorEager,
542
+ lt as match,
543
+ ct as matchCauseEffect,
544
+ at as matchEffect,
545
+ zt as option,
546
+ Wt as promise,
547
+ Jt as runFork,
548
+ A as runForkWith,
549
+ Ht as runPromise,
550
+ pt as runPromiseExitWith,
551
+ mt as runPromiseWith,
552
+ Xt as runSync,
553
+ Qt as runSyncExit,
554
+ ne as runSyncExitWith,
555
+ gt as runSyncWith,
556
+ l as succeed,
557
+ Rt as succeedNone,
558
+ Mt as succeedSome,
559
+ _ as suspend,
560
+ R as sync,
561
+ Ge as yieldNow,
562
+ ze as yieldNowWith
6
563
  };
@@ -1,25 +1,43 @@
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
- };
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;
18
28
  }
19
- return t;
20
- })()
21
- ), x = new c();
29
+ }
30
+ }, p = {
31
+ pipe() {
32
+ return o(this, arguments);
33
+ }
34
+ }, i = /* @__PURE__ */ (function() {
35
+ function e() {
36
+ }
37
+ return e.prototype = p, e;
38
+ })();
22
39
  export {
23
- x as ROOT_CONTEXT,
24
- a as createContextKey
40
+ i as Class,
41
+ p as Prototype,
42
+ o as pipeArguments
25
43
  };
@@ -1,7 +1,29 @@
1
- var R;
2
- (function(E) {
3
- E[E.NONE = 0] = "NONE", E[E.ERROR = 30] = "ERROR", E[E.WARN = 50] = "WARN", E[E.INFO = 60] = "INFO", E[E.DEBUG = 70] = "DEBUG", E[E.VERBOSE = 80] = "VERBOSE", E[E.ALL = 9999] = "ALL";
4
- })(R || (R = {}));
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);
5
21
  export {
6
- R as DiagLogLevel
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
7
29
  };
@@ -1,23 +1,7 @@
1
- import { NoopTracer as o } from "./vue-components.es44.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
- );
1
+ import { isFailure as s, succeed as e, fail as i } from "./vue-components.es75.js";
2
+ const c = e, l = i, o = s;
21
3
  export {
22
- c as ProxyTracer
4
+ l as fail,
5
+ o as isFailure,
6
+ c as succeed
23
7
  };