@effect-app/vue-components 4.0.0-beta.221 → 4.0.0-beta.222

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 (130) hide show
  1. package/dist/vue-components.es.js +15 -15
  2. package/dist/vue-components12.es.js +47 -25
  3. package/dist/vue-components13.es.js +120 -62
  4. package/dist/vue-components14.es.js +63 -13
  5. package/dist/vue-components15.es.js +60 -27
  6. package/dist/vue-components16.es.js +21 -52
  7. package/dist/vue-components17.es.js +4 -86
  8. package/dist/vue-components18.es.js +79 -3
  9. package/dist/vue-components19.es.js +92 -3
  10. package/dist/vue-components2.es.js +6 -15
  11. package/dist/vue-components20.es.js +71 -17
  12. package/dist/vue-components21.es.js +11 -72
  13. package/dist/vue-components22.es.js +54 -12
  14. package/dist/vue-components23.es.js +4 -25
  15. package/dist/vue-components24.es.js +41 -249
  16. package/dist/vue-components25.es.js +4 -64
  17. package/dist/vue-components26.es.js +81 -65
  18. package/dist/vue-components28.es.js +7 -11
  19. package/dist/vue-components29.es.js +8 -5
  20. package/dist/vue-components30.es.js +266 -25
  21. package/dist/vue-components32.es.js +7 -108
  22. package/dist/vue-components33.es.js +71 -55
  23. package/dist/vue-components34.es.js +4 -6
  24. package/dist/vue-components35.es.js +51 -3
  25. package/dist/vue-components36.es.js +4 -5
  26. package/dist/vue-components37.es.js +21 -685
  27. package/dist/vue-components38.es.js +4 -6
  28. package/dist/vue-components39.es.js +58 -4
  29. package/dist/vue-components40.es.js +4 -5
  30. package/dist/vue-components41.es.js +11 -26
  31. package/dist/vue-components42.es.js +21 -4
  32. package/dist/vue-components44.es.js +8 -69
  33. package/dist/vue-components45.es.js +3 -8
  34. package/dist/vue-components46.es.js +37 -9
  35. package/dist/vue-components47.es.js +26 -7
  36. package/dist/vue-components48.es.js +24 -169
  37. package/dist/vue-components49.es.js +6 -13
  38. package/dist/vue-components50.es.js +16 -9
  39. package/dist/vue-components51.es.js +35 -3
  40. package/dist/vue-components52.es.js +17 -6
  41. package/dist/vue-components53.es.js +19 -27
  42. package/dist/vue-components54.es.js +21 -212
  43. package/dist/vue-components55.es.js +6 -84
  44. package/dist/vue-components56.es.js +7 -72
  45. package/dist/vue-components57.es.js +26 -807
  46. package/dist/vue-components58.es.js +24 -3
  47. package/dist/vue-components59.es.js +122 -103
  48. package/dist/vue-components60.es.js +19 -49
  49. package/dist/vue-components61.es.js +15 -514
  50. package/dist/vue-components62.es.js +7 -438
  51. package/dist/vue-components63.es.js +18 -9
  52. package/dist/vue-components64.es.js +4 -12
  53. package/dist/vue-components65.es.js +26 -16
  54. package/dist/vue-components66.es.js +4 -28
  55. package/dist/vue-components67.es.js +42 -21
  56. package/dist/vue-components68.es.js +78 -26
  57. package/dist/vue-components69.es.js +32 -28
  58. package/dist/vue-components70.es.js +18 -72
  59. package/dist/vue-components71.es.js +47 -5
  60. package/package.json +3 -3
  61. package/dist/vue-components100.es.js +0 -269
  62. package/dist/vue-components102.es.js +0 -8
  63. package/dist/vue-components103.es.js +0 -73
  64. package/dist/vue-components104.es.js +0 -5
  65. package/dist/vue-components105.es.js +0 -52
  66. package/dist/vue-components106.es.js +0 -5
  67. package/dist/vue-components107.es.js +0 -24
  68. package/dist/vue-components108.es.js +0 -5
  69. package/dist/vue-components109.es.js +0 -59
  70. package/dist/vue-components110.es.js +0 -5
  71. package/dist/vue-components111.es.js +0 -12
  72. package/dist/vue-components112.es.js +0 -22
  73. package/dist/vue-components114.es.js +0 -9
  74. package/dist/vue-components115.es.js +0 -4
  75. package/dist/vue-components116.es.js +0 -38
  76. package/dist/vue-components117.es.js +0 -27
  77. package/dist/vue-components118.es.js +0 -28
  78. package/dist/vue-components119.es.js +0 -7
  79. package/dist/vue-components120.es.js +0 -18
  80. package/dist/vue-components121.es.js +0 -36
  81. package/dist/vue-components122.es.js +0 -18
  82. package/dist/vue-components123.es.js +0 -21
  83. package/dist/vue-components124.es.js +0 -30
  84. package/dist/vue-components125.es.js +0 -7
  85. package/dist/vue-components126.es.js +0 -9
  86. package/dist/vue-components127.es.js +0 -38
  87. package/dist/vue-components128.es.js +0 -25
  88. package/dist/vue-components129.es.js +0 -128
  89. package/dist/vue-components130.es.js +0 -24
  90. package/dist/vue-components131.es.js +0 -21
  91. package/dist/vue-components132.es.js +0 -9
  92. package/dist/vue-components133.es.js +0 -19
  93. package/dist/vue-components134.es.js +0 -5
  94. package/dist/vue-components135.es.js +0 -29
  95. package/dist/vue-components136.es.js +0 -5
  96. package/dist/vue-components137.es.js +0 -43
  97. package/dist/vue-components138.es.js +0 -82
  98. package/dist/vue-components139.es.js +0 -33
  99. package/dist/vue-components140.es.js +0 -19
  100. package/dist/vue-components141.es.js +0 -48
  101. package/dist/vue-components27.es.js +0 -8
  102. package/dist/vue-components31.es.js +0 -75
  103. package/dist/vue-components43.es.js +0 -48
  104. package/dist/vue-components72.es.js +0 -18
  105. package/dist/vue-components73.es.js +0 -5
  106. package/dist/vue-components74.es.js +0 -70
  107. package/dist/vue-components75.es.js +0 -140
  108. package/dist/vue-components76.es.js +0 -4
  109. package/dist/vue-components77.es.js +0 -21
  110. package/dist/vue-components78.es.js +0 -55
  111. package/dist/vue-components79.es.js +0 -9
  112. package/dist/vue-components80.es.js +0 -16
  113. package/dist/vue-components81.es.js +0 -39
  114. package/dist/vue-components82.es.js +0 -49
  115. package/dist/vue-components83.es.js +0 -128
  116. package/dist/vue-components84.es.js +0 -65
  117. package/dist/vue-components85.es.js +0 -63
  118. package/dist/vue-components86.es.js +0 -25
  119. package/dist/vue-components87.es.js +0 -5
  120. package/dist/vue-components88.es.js +0 -80
  121. package/dist/vue-components89.es.js +0 -95
  122. package/dist/vue-components90.es.js +0 -73
  123. package/dist/vue-components91.es.js +0 -12
  124. package/dist/vue-components92.es.js +0 -56
  125. package/dist/vue-components93.es.js +0 -5
  126. package/dist/vue-components94.es.js +0 -44
  127. package/dist/vue-components95.es.js +0 -5
  128. package/dist/vue-components96.es.js +0 -84
  129. package/dist/vue-components98.es.js +0 -8
  130. package/dist/vue-components99.es.js +0 -9
@@ -1,440 +1,9 @@
1
- import { identity as e } from "./vue-components13.es.js";
2
- import { hasProperty as t, isFunction as n } from "./vue-components15.es.js";
3
- import { format as r } from "./vue-components21.es.js";
4
- import { isGreaterThan as i, isGreaterThanOrEqualTo as a, isLessThan as o, isLessThanOrEqualTo as ee } from "./vue-components27.es.js";
5
- import { isSome as s, some as c } from "./vue-components28.es.js";
6
- import { match as l } from "./vue-components29.es.js";
7
- import "./vue-components31.es.js";
8
- import { MixedScheduler as te } from "./vue-components33.es.js";
9
- import { pretty as ne } from "./vue-components38.es.js";
10
- import { isSuccess as re } from "./vue-components40.es.js";
11
- import { fail as u, flatMapEager as ie, mapBothEager as ae, mapErrorEager as d, match as oe, runFork as se, succeed as f, tryPromise as ce, void_ as le } from "./vue-components46.es.js";
12
- import { Equivalence as ue, fromDateUnsafe as de, isDateTime as fe, isUtc as pe } from "./vue-components47.es.js";
13
- import { decodeBase64 as me, encodeBase64 as he } from "./vue-components48.es.js";
14
- import { isRedacted as ge, make as p, makeEquivalence as _e, value as ve } from "./vue-components53.es.js";
15
- import { Composite as ye, InvalidType as be, InvalidValue as m, Pointer as h, makeFormatterStandardSchemaV1 as xe, redact as Se } from "./vue-components54.es.js";
16
- import { String as Ce, forbidden as g, omit as we, passthrough as _, split as Te, transform as v, withDefault as Ee } from "./vue-components55.es.js";
17
- import { Middleware as y, Transformation as b, dateFromString as De, dateTimeUtcFromString as Oe, make as x, passthrough as ke, transformOrFail as Ae } from "./vue-components56.es.js";
18
- import { Declaration as je, Link as S, Literal as C, STRUCTURAL_ANNOTATION_KEY as w, Union as T, appendChecks as Me, boolean as Ne, decodeTo as Pe, getAST as Fe, isArrays as Ie, isDeclaration as Le, isOptional as E, isPattern as Re, isUnion as ze, makeFilter as Be, makeFilterByGuard as Ve, middlewareDecoding as He, middlewareEncoding as Ue, null_ as We, number as Ge, optionalKey as Ke, optionalKeyLastLink as qe, replaceEncoding as D, string as Je, struct as Ye, toCodec as O, toEncoded as Xe, toType as Ze, tuple as k, undefined_ as A, union as j, unknownToStringTree as Qe, withConstructorDefault as $e } from "./vue-components57.es.js";
19
- import { lambda as M } from "./vue-components58.es.js";
20
- import { decodeSync as et, decodeUnknownEffect as N } from "./vue-components59.es.js";
21
- import { SchemaError as tt, SchemaErrorTypeId as nt, make as rt, makeReorder as it } from "./vue-components60.es.js";
22
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Schema.js
23
- function P() {
24
- return (e, t, n) => R(new je(e.map(Fe), (e) => t(e.map((e) => R(e))), n));
25
- }
26
- function F(e, t) {
27
- return P()([], () => (t, n) => e(t) ? f(t) : u(new be(n, c(t))), t);
28
- }
29
- function at(e) {
30
- return (t) => t.annotate(e);
31
- }
32
- function ot(e) {
33
- return t(e, nt);
34
- }
35
- function I(e) {
36
- return re(e) ? e.value : { issues: [{ message: ne(e.cause) }] };
37
- }
38
- function st(e, t) {
39
- let n = N(e), r = {
40
- errors: "all",
41
- ...t?.parseOptions
42
- }, i = xe(t), a = (e) => {
43
- let t = new te(), a = se(oe(n(e, r), {
44
- onFailure: i,
45
- onSuccess: (e) => ({ value: e })
46
- }), { scheduler: t });
47
- a.currentDispatcher?.flush();
48
- let o = a.pollUnsafe();
49
- return o ? I(o) : new Promise((e) => {
50
- a.addObserver((t) => {
51
- e(I(t));
52
- });
53
- });
54
- };
55
- if ("~standard" in e) {
56
- let t = e;
57
- return "validate" in t["~standard"] || Object.assign(t["~standard"], { validate: a }), t;
58
- } else return Object.assign(e, { "~standard": {
59
- version: 1,
60
- vendor: "effect",
61
- validate: a
62
- } });
63
- }
64
- function L(e) {
65
- let t = N(e);
66
- return (e, n) => d(t(e, n), (e) => new tt(e));
67
- }
68
- var ct = L, lt = et, R = rt, z = /* @__PURE__ */ M((e) => R(Ke(e.ast), { schema: e })), B = /* @__PURE__ */ M((e) => z(vt(e))), V = /* @__PURE__ */ M((e) => R(Ze(e.ast), { schema: e })), ut = /* @__PURE__ */ M((e) => R(Xe(e.ast), { schema: e }));
69
- function H(e) {
70
- let t = R(new C(e), {
71
- literal: e,
72
- transform(n) {
73
- return t.pipe(J(H(n), {
74
- decode: v(() => n),
75
- encode: v(() => e)
76
- }));
77
- }
78
- });
79
- return t;
80
- }
81
- var U = /* @__PURE__ */ R(We), W = /* @__PURE__ */ R(A), G = /* @__PURE__ */ R(Je), K = /* @__PURE__ */ R(Ge), dt = /* @__PURE__ */ R(Ne);
82
- function ft(e, t) {
83
- return R(e, {
84
- fields: t,
85
- mapFields(e, t) {
86
- let n = e(this.fields);
87
- return ft(Ye(n, t?.unsafePreserveChecks ? this.ast.checks : void 0), n);
88
- }
89
- });
90
- }
91
- function pt(e) {
92
- return ft(Ye(e, void 0), e);
93
- }
94
- function mt(e, t) {
95
- return R(e, {
96
- elements: t,
97
- mapElements(e, t) {
98
- let n = e(this.elements);
99
- return mt(k(n, t?.unsafePreserveChecks ? this.ast.checks : void 0), n);
100
- }
101
- });
102
- }
103
- function ht(e) {
104
- return mt(k(e), e);
105
- }
106
- function gt(e, t) {
107
- return R(e, {
108
- members: t,
109
- mapMembers(e, t) {
110
- let n = e(this.members);
111
- return gt(j(n, this.ast.mode, t?.unsafePreserveChecks ? this.ast.checks : void 0), n);
112
- }
113
- });
114
- }
115
- function q(e, t) {
116
- return gt(j(e, t?.mode ?? "anyOf", void 0), e);
117
- }
118
- var _t = /* @__PURE__ */ M((e) => q([e, U])), vt = /* @__PURE__ */ M((e) => q([e, W])), yt = /* @__PURE__ */ M((e) => q([
119
- e,
120
- U,
121
- W
122
- ]));
123
- function bt(...e) {
124
- return (t) => t.check(...e);
125
- }
126
- function xt(e, t) {
127
- return (n) => R(Me(n.ast, [Ve(e, t)]), { schema: n });
128
- }
129
- function St(t) {
130
- return (n) => R(He(n.ast, new y(t, e)), { schema: n });
131
- }
132
- function Ct(t) {
133
- return (n) => R(Ue(n.ast, new y(e, t)), { schema: n });
134
- }
135
- function J(e, t) {
136
- return (n) => R(Pe(n.ast, e.ast, t ? x(t) : ke()), {
137
- from: n,
138
- to: e
139
- });
140
- }
141
- function wt(e, t) {
142
- return (n) => t ? e.pipe(J(n, t)) : e.pipe(J(n));
143
- }
144
- function Tt(e) {
145
- return (t) => R($e(t.ast, e), { schema: t });
146
- }
147
- function Et(e, t) {
148
- let n = t?.encodingStrategy === "omit" ? we() : _();
149
- return (t) => B(ut(t)).pipe(J(t, {
150
- decode: Ee(e),
151
- encode: n
152
- }));
153
- }
154
- function Dt(e, t) {
155
- return (n) => V(n).pipe(Et(e, t), wt(B(n)));
156
- }
157
- function Ot(e) {
158
- return H(e).pipe(Tt(f(e)));
159
- }
160
- function Y(e, t) {
161
- return F((t) => t instanceof e, t);
162
- }
163
- function X() {
164
- return (e, t) => new S(e.ast, x(t));
165
- }
166
- var Z = Be, kt = Re;
167
- function At(e) {
168
- let t = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;
169
- return kt(t, {
170
- expected: "a base64 encoded string",
171
- meta: {
172
- _tag: "isBase64",
173
- regExp: t
174
- },
175
- ...e
176
- });
177
- }
178
- function jt(e) {
179
- return Z((e) => globalThis.Number.isFinite(e), {
180
- expected: "a finite number",
181
- meta: { _tag: "isFinite" },
182
- toArbitraryConstraint: { number: {
183
- noDefaultInfinity: !0,
184
- noNaN: !0
185
- } },
186
- ...e
187
- });
188
- }
189
- function Mt(e) {
190
- let t = i(e.order), n = e.formatter ?? r;
191
- return (r, i) => Z((e) => t(e, r), {
192
- expected: `a value greater than ${n(r)}`,
193
- ...e.annotate?.(r),
194
- ...i
195
- });
196
- }
197
- function Nt(e) {
198
- let t = a(e.order), n = e.formatter ?? r;
199
- return (r, i) => Z((e) => t(e, r), {
200
- expected: `a value greater than or equal to ${n(r)}`,
201
- ...e.annotate?.(r),
202
- ...i
203
- });
204
- }
205
- function Pt(e) {
206
- let t = o(e.order), n = e.formatter ?? r;
207
- return (r, i) => Z((e) => t(e, r), {
208
- expected: `a value less than ${n(r)}`,
209
- ...e.annotate?.(r),
210
- ...i
211
- });
212
- }
213
- function Ft(e) {
214
- let t = ee(e.order), n = e.formatter ?? r;
215
- return (r, i) => Z((e) => t(e, r), {
216
- expected: `a value less than or equal to ${n(r)}`,
217
- ...e.annotate?.(r),
218
- ...i
219
- });
220
- }
221
- function It(e) {
222
- let t = a(e.order), n = i(e.order), s = ee(e.order), c = o(e.order), l = e.formatter ?? r;
223
- return (r, i) => {
224
- let a = r.exclusiveMinimum ? n : t, o = r.exclusiveMaximum ? c : s;
225
- return Z((e) => a(e, r.minimum) && o(e, r.maximum), {
226
- expected: `a value between ${l(r.minimum)}${r.exclusiveMinimum ? " (excluded)" : ""} and ${l(r.maximum)}${r.exclusiveMaximum ? " (excluded)" : ""}`,
227
- ...e.annotate?.(r),
228
- ...i
229
- });
230
- };
231
- }
232
- function Lt(e) {
233
- return Z((e) => !isNaN(e.getTime()), {
234
- expected: "a valid date",
235
- meta: { _tag: "isDateValid" },
236
- toArbitraryConstraint: { date: { noInvalidDate: !0 } },
237
- ...e
238
- });
239
- }
240
- function Rt(e, t) {
241
- return e = Math.max(0, Math.floor(e)), Z((t) => t.length >= e, {
242
- expected: `a value with a length of at least ${e}`,
243
- meta: {
244
- _tag: "isMinLength",
245
- minLength: e
246
- },
247
- [w]: !0,
248
- toArbitraryConstraint: {
249
- string: { minLength: e },
250
- array: { minLength: e }
251
- },
252
- ...t
253
- });
254
- }
255
- function zt(e, t) {
256
- return e = Math.max(0, Math.floor(e)), Z((t) => t.length <= e, {
257
- expected: `a value with a length of at most ${e}`,
258
- meta: {
259
- _tag: "isMaxLength",
260
- maxLength: e
261
- },
262
- [w]: !0,
263
- toArbitraryConstraint: {
264
- string: { maxLength: e },
265
- array: { maxLength: e }
266
- },
267
- ...t
268
- });
269
- }
270
- function Bt(e, t) {
271
- let n = typeof t?.label == "string" ? N(H(t.label)) : void 0;
272
- return R(P()([e], ([e]) => (t, r, i) => ge(t) ? ie(n === void 0 ? le : d(n(t.label, i), (e) => new h(["label"], e)), () => ae(N(e)(ve(t), i), {
273
- onSuccess: () => t,
274
- onFailure: () => {
275
- let e = c(t);
276
- return new ye(r, e, [new h(["value"], new m(e))]);
277
- }
278
- })) : u(new be(r, c(t))), {
279
- typeConstructor: { _tag: "effect/Redacted" },
280
- generation: {
281
- runtime: "Schema.Redacted(?)",
282
- Type: "Redacted.Redacted<?>",
283
- importDeclaration: "import * as Redacted from \"effect/Redacted\""
284
- },
285
- expected: "Redacted",
286
- toCodecJson: ([e]) => X()(Q(e), {
287
- decode: v((e) => p(e, { label: t?.label })),
288
- encode: g((e) => "Cannot serialize Redacted" + (s(e) && typeof e.value.label == "string" ? ` with label: "${e.value.label}"` : ""))
289
- }),
290
- toArbitrary: ([e]) => () => e.map((e) => p(e, { label: t?.label })),
291
- toFormatter: () => globalThis.String,
292
- toEquivalence: ([e]) => _e(e)
293
- }).ast, { value: e });
294
- }
295
- function Q(e) {
296
- return e.pipe(St(d(Se)));
297
- }
298
- function Vt(e, t) {
299
- return Q(e).pipe(J(Bt(V(e), t), {
300
- decode: v((e) => p(e, { label: t?.label })),
301
- encode: g((e) => "Cannot encode Redacted" + (s(e) && typeof e.value.label == "string" ? ` with label: "${e.value.label}"` : ""))
302
- }));
303
- }
304
- globalThis.Error, globalThis.Error, globalThis.RegExp, globalThis.URL;
305
- var Ht = /* @__PURE__ */ G.annotate({ expected: "a string in ISO 8601 format that will be decoded as a Date" }), Ut = /* @__PURE__ */ Y(globalThis.Date, {
306
- typeConstructor: { _tag: "Date" },
307
- generation: {
308
- runtime: "Schema.Date",
309
- Type: "globalThis.Date"
310
- },
311
- expected: "Date",
312
- toCodecJson: () => X()(Ht, De),
313
- toArbitrary: () => (e, t) => e.date(t?.constraints?.date)
314
- }), Wt = /* @__PURE__ */ Ut.check(/* @__PURE__ */ Lt()), Gt = /* @__PURE__ */ Y(globalThis.File, {
315
- typeConstructor: { _tag: "File" },
316
- generation: {
317
- runtime: "Schema.File",
318
- Type: "globalThis.File"
319
- },
320
- expected: "File",
321
- toCodecJson: () => X()(pt({
322
- data: G.check(At()),
323
- type: G,
324
- name: G,
325
- lastModified: K
326
- }), Ae({
327
- decode: (e) => l(me(e.data), {
328
- onFailure: (t) => u(new m(c(e.data), { message: t.message })),
329
- onSuccess: (t) => {
330
- let n = new globalThis.Uint8Array(t);
331
- return f(new globalThis.File([n], e.name, {
332
- type: e.type,
333
- lastModified: e.lastModified
334
- }));
335
- }
336
- }),
337
- encode: (e) => ce({
338
- try: async () => ({
339
- data: he(new globalThis.Uint8Array(await e.arrayBuffer())),
340
- type: e.type,
341
- name: e.name,
342
- lastModified: e.lastModified
343
- }),
344
- catch: (t) => new m(c(e), { message: globalThis.String(t) })
345
- })
346
- }))
347
- });
348
- globalThis.FormData, globalThis.URLSearchParams;
349
- var Kt = /* @__PURE__ */ K.check(/* @__PURE__ */ jt());
350
- globalThis.Uint8Array;
351
- var qt = /* @__PURE__ */ F((e) => fe(e) && pe(e), {
352
- typeConstructor: { _tag: "effect/DateTime.Utc" },
353
- generation: {
354
- runtime: "Schema.DateTimeUtc",
355
- Type: "DateTime.Utc",
356
- importDeclaration: "import * as DateTime from \"effect/DateTime\""
357
- },
358
- expected: "DateTime.Utc",
359
- toCodecJson: () => X()(G, Oe),
360
- toArbitrary: () => (e, t) => e.date({
361
- noInvalidDate: !0,
362
- ...t?.constraints?.date
363
- }).map((e) => de(e)),
364
- toFormatter: () => (e) => e.toString(),
365
- toEquivalence: () => ue
366
- });
367
- function Jt(e, t) {
368
- return R($(t?.keepDeclarations === !0 ? nn(e.ast) : en(e.ast)));
369
- }
370
- function Yt(e) {
371
- switch (e._tag) {
372
- case "Null":
373
- case "Boolean":
374
- case "Number":
375
- case "BigInt":
376
- case "Symbol":
377
- case "UniqueSymbol": return 0;
378
- default: return 1;
1
+ import { NoopTracer as e } from "./vue-components60.es.js";
2
+ //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js
3
+ var t = class {
4
+ getTracer(t, n, r) {
5
+ return new e();
379
6
  }
380
- }
381
- var Xt = /* @__PURE__ */ it(Yt);
382
- function Zt(e, t, r) {
383
- switch (e._tag) {
384
- case "Declaration": {
385
- let i = e.annotations?.toCodecJson ?? e.annotations?.toCodec;
386
- if (n(i)) {
387
- let n = i(Le(e) ? e.typeParameters.map((e) => R(t(Xe(e)))) : []), r = t(n.to);
388
- return D(e, r === n.to ? [n] : [new S(r, n.transformation)]);
389
- }
390
- return r(e);
391
- }
392
- case "Null": return D(e, [Qt]);
393
- case "Boolean": return D(e, [$t]);
394
- case "Unknown":
395
- case "ObjectKeyword": return D(e, [Qe]);
396
- case "Enum":
397
- case "Number":
398
- case "Literal":
399
- case "UniqueSymbol":
400
- case "Symbol":
401
- case "BigInt": return e.toCodecStringTree();
402
- case "Objects":
403
- if (e.propertySignatures.some((e) => typeof e.name != "string")) throw new globalThis.Error("Objects property names must be strings", { cause: e });
404
- return e.recur(t);
405
- case "Union": {
406
- let n = Xt(e.types);
407
- return n === e.types ? e.recur(t) : new T(n, e.mode, e.annotations, e.checks, e.encoding, e.context).recur(t);
408
- }
409
- case "Arrays":
410
- case "Suspend": return e.recur(t);
411
- }
412
- return e;
413
- }
414
- var Qt = /* @__PURE__ */ new S(/* @__PURE__ */ new C("null"), /* @__PURE__ */ new b(/* @__PURE__ */ v(() => null), /* @__PURE__ */ v(() => "null"))), $t = /* @__PURE__ */ new S(/* @__PURE__ */ new T([/* @__PURE__ */ new C("true"), /* @__PURE__ */ new C("false")], "anyOf"), /* @__PURE__ */ new b(/* @__PURE__ */ v((e) => e === "true"), /* @__PURE__ */ Ce())), en = /* @__PURE__ */ O((e) => {
415
- let t = Zt(e, en, (e) => D(e, [tn]));
416
- return t !== e && E(e) ? qe(t) : t;
417
- }), tn = /* @__PURE__ */ new S(A, /* @__PURE__ */ new b(/* @__PURE__ */ _(), /* @__PURE__ */ v(() => void 0))), nn = /* @__PURE__ */ O((t) => {
418
- let n = Zt(t, nn, e);
419
- return n !== t && E(t) ? qe(n) : n;
420
- }), rn = "~effect/Schema/SERIALIZER_ENSURE_ARRAY", $ = /* @__PURE__ */ O((e) => {
421
- if (ze(e) && e.annotations?.[rn]) return e;
422
- let t = an(e);
423
- if (Ie(t)) {
424
- let n = new T([t, Pe(Je, t, new b(Te(), _()))], "anyOf", { [rn]: !0 });
425
- return E(e) ? Ke(n) : n;
426
- }
427
- return t;
428
- });
429
- function an(e) {
430
- switch (e._tag) {
431
- default: return e;
432
- case "Declaration":
433
- case "Arrays":
434
- case "Objects":
435
- case "Union":
436
- case "Suspend": return e.recur($);
437
- }
438
- }
7
+ };
439
8
  //#endregion
440
- export { dt as Boolean, Ut as Date, qt as DateTimeUtc, Wt as DateValid, Gt as File, Kt as Finite, H as Literal, U as Null, _t as NullOr, yt as NullishOr, K as Number, Bt as Redacted, Vt as RedactedFromValue, G as String, pt as Struct, ht as Tuple, W as Undefined, vt as UndefinedOr, q as Union, at as annotate, bt as check, F as declare, P as declareConstructor, ct as decodeEffect, lt as decodeSync, J as decodeTo, L as decodeUnknownEffect, wt as encodeTo, Y as instanceOf, At as isBase64, Lt as isDateValid, jt as isFinite, zt as isMaxLength, Rt as isMinLength, kt as isPattern, ot as isSchemaError, X as link, R as make, Z as makeFilter, It as makeIsBetween, Mt as makeIsGreaterThan, Nt as makeIsGreaterThanOrEqualTo, Pt as makeIsLessThan, Ft as makeIsLessThanOrEqualTo, St as middlewareDecoding, Ct as middlewareEncoding, B as optional, z as optionalKey, Q as redact, xt as refine, Ot as tag, Jt as toCodecStringTree, ut as toEncoded, st as toStandardSchemaV1, V as toType, Tt as withConstructorDefault, Et as withDecodingDefault, Dt as withDecodingDefaultType };
9
+ export { t as NoopTracerProvider };
@@ -1,10 +1,19 @@
1
- import { noBias as e, noShrink as t } from "./vue-components61.es.js";
2
- //#region ../effect-app/dist/faker.js
3
- var n = void 0;
4
- function r() {
5
- if (!n) throw Error("You forgot to load faker library");
6
- return n;
7
- }
8
- var i = (r) => (i) => e(t(i.integer().map((e) => (n.seed(e), r())))), a = (e) => i(() => e(r())());
1
+ import { ProxyTracer as e } from "./vue-components61.es.js";
2
+ import { NoopTracerProvider as t } from "./vue-components62.es.js";
3
+ //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js
4
+ var n = new t(), r = class {
5
+ getTracer(t, n, r) {
6
+ return this.getDelegateTracer(t, n, r) ?? new e(this, t, n, r);
7
+ }
8
+ getDelegate() {
9
+ return this._delegate ?? n;
10
+ }
11
+ setDelegate(e) {
12
+ this._delegate = e;
13
+ }
14
+ getDelegateTracer(e, t, n) {
15
+ return this._delegate?.getTracer(e, t, n);
16
+ }
17
+ };
9
18
  //#endregion
10
- export { a as fakerArb };
19
+ export { r as ProxyTracerProvider };
@@ -1,13 +1,5 @@
1
- import { __commonJSMin as e } from "./vue-components2.es.js";
2
- //#region ../../node_modules/.pnpm/validator@13.15.35/node_modules/validator/lib/util/assertString.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = n;
5
- function n(e) {
6
- if (e == null) throw TypeError(`Expected a string but received a ${e}`);
7
- if (e.constructor.name !== "String") throw TypeError(`Expected a string but received a ${e.constructor.name}`);
8
- }
9
- t.exports = e.default, t.exports.default = e.default;
10
- }));
1
+ import { ContextAPI as e } from "./vue-components54.es.js";
2
+ //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js
3
+ var t = e.getInstance();
11
4
  //#endregion
12
- export default t();
13
- export { t as require_assertString };
5
+ export { t as context };
@@ -1,19 +1,29 @@
1
- import { __commonJSMin as e } from "./vue-components2.es.js";
2
- //#region ../../node_modules/.pnpm/validator@13.15.35/node_modules/validator/lib/util/checkHost.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = r;
5
- function n(e) {
6
- return Object.prototype.toString.call(e) === "[object RegExp]";
1
+ import { getGlobal as e, registerGlobal as t, unregisterGlobal as n } from "./vue-components47.es.js";
2
+ import { DiagAPI as r } from "./vue-components51.es.js";
3
+ import { deleteSpan as i, getActiveSpan as a, getSpan as o, getSpanContext as s, setSpan as c, setSpanContext as l } from "./vue-components58.es.js";
4
+ import { isSpanContextValid as u, wrapSpanContext as d } from "./vue-components59.es.js";
5
+ import { ProxyTracerProvider as f } from "./vue-components63.es.js";
6
+ //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/trace.js
7
+ var p = "trace", m = class m {
8
+ constructor() {
9
+ this._proxyTracerProvider = new f(), this.wrapSpanContext = d, this.isSpanContextValid = u, this.deleteSpan = i, this.getSpan = o, this.getActiveSpan = a, this.getSpanContext = s, this.setSpan = c, this.setSpanContext = l;
7
10
  }
8
- function r(e, t) {
9
- for (var r = 0; r < t.length; r++) {
10
- var i = t[r];
11
- if (e === i || n(i) && i.test(e)) return !0;
12
- }
13
- return !1;
11
+ static getInstance() {
12
+ return this._instance ||= new m(), this._instance;
14
13
  }
15
- t.exports = e.default, t.exports.default = e.default;
16
- }));
14
+ setGlobalTracerProvider(e) {
15
+ let n = t(p, this._proxyTracerProvider, r.instance());
16
+ return n && this._proxyTracerProvider.setDelegate(e), n;
17
+ }
18
+ getTracerProvider() {
19
+ return e(p) || this._proxyTracerProvider;
20
+ }
21
+ getTracer(e, t) {
22
+ return this.getTracerProvider().getTracer(e, t);
23
+ }
24
+ disable() {
25
+ n(p, r.instance()), this._proxyTracerProvider = new f();
26
+ }
27
+ };
17
28
  //#endregion
18
- export default t();
19
- export { t as require_checkHost };
29
+ export { m as TraceAPI };
@@ -1,29 +1,5 @@
1
- import { __commonJSMin as e } from "./vue-components2.es.js";
2
- import { require_assertString as t } from "./vue-components64.es.js";
3
- //#region ../../node_modules/.pnpm/validator@13.15.35/node_modules/validator/lib/isByteLength.js
4
- var n = /* @__PURE__ */ e(((e, n) => {
5
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = o;
6
- var r = i(t());
7
- function i(e) {
8
- return e && e.__esModule ? e : { default: e };
9
- }
10
- function a(e) {
11
- "@babel/helpers - typeof";
12
- return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
13
- return typeof e;
14
- } : function(e) {
15
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
16
- }, a(e);
17
- }
18
- function o(e, t) {
19
- (0, r.default)(e);
20
- var n, i;
21
- a(t) === "object" ? (n = t.min || 0, i = t.max) : (n = arguments[1], i = arguments[2]);
22
- var o = encodeURI(e).split(/%..|./).length - 1;
23
- return o >= n && (i === void 0 || o <= i);
24
- }
25
- n.exports = e.default, n.exports.default = e.default;
26
- }));
1
+ import { TraceAPI as e } from "./vue-components65.es.js";
2
+ //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace-api.js
3
+ var t = e.getInstance();
27
4
  //#endregion
28
- export default n();
29
- export { n as require_isByteLength };
5
+ export { t as trace };
@@ -1,22 +1,43 @@
1
- import { __commonJSMin as e } from "./vue-components2.es.js";
2
- //#region ../../node_modules/.pnpm/validator@13.15.35/node_modules/validator/lib/util/merge.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = r;
5
- function n(e) {
6
- "@babel/helpers - typeof";
7
- return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
8
- return typeof e;
9
- } : function(e) {
10
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
11
- }, n(e);
12
- }
13
- function r() {
14
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
15
- for (var r in (n(e) !== "object" || e === null) && (e = {}), t) e[r] === void 0 && (e[r] = t[r]);
16
- return e;
17
- }
18
- t.exports = e.default, t.exports.default = e.default;
19
- }));
1
+ import { context as e } from "./vue-components64.es.js";
2
+ import { trace as t } from "./vue-components66.es.js";
3
+ import * as n from "effect-app/Effect";
4
+ import * as r from "effect-app/Option";
5
+ import { runtimeFiberAsPromise as i } from "effect-app/utils";
6
+ import * as a from "effect/Data";
7
+ import * as o from "effect/Fiber";
8
+ //#region src/components/OmegaForm/submit.ts
9
+ var s = class extends a.TaggedError("FormErrors") {}, c = (n, r) => n ? e.with(t.setSpan(e.active(), n), r) : r(), l = (e, t, r) => {
10
+ if (e) return ({ formApi: a, meta: s, value: l }) => c(s?.currentSpan, async () => {
11
+ let c = e({
12
+ formApi: a,
13
+ meta: s,
14
+ value: await r(t(l))
15
+ });
16
+ if (o.isFiber(c)) return await i(c);
17
+ if (n.isEffect(c)) {
18
+ let e = await r(c);
19
+ return o.isFiber(e) ? await i(e) : e;
20
+ }
21
+ return c;
22
+ });
23
+ }, u = (i) => {
24
+ let a = i.handleSubmit.bind(i), o = async (e) => await a(e), c = (n) => o({
25
+ currentSpan: t.getSpan(e.active()),
26
+ ...n
27
+ }), l = (e) => n.currentSpan.pipe(n.option, n.flatMap((t) => n.promise(() => o(r.isSome(t) ? {
28
+ currentSpan: t.value,
29
+ ...e
30
+ } : e))));
31
+ return {
32
+ handleSubmit: c,
33
+ handleSubmitEffect: (e) => e?.checkErrors ? l(e?.meta).pipe(n.flatMap(n.fnUntraced(function* () {
34
+ let e = i.getAllErrors();
35
+ if (Object.keys(e.fields).length || e.form.errors.length) return yield* n.fail(new s({
36
+ form: e.form,
37
+ fields: e.fields
38
+ }));
39
+ }))) : l(e?.meta)
40
+ };
41
+ };
20
42
  //#endregion
21
- export default t();
22
- export { t as require_merge };
43
+ export { s as FormErrors, u as makeSubmitHandlers, l as wrapOnSubmit };