@effect-app/vue-components 4.0.0-beta.220 → 4.0.0-beta.221
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/CommandButton.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +1 -1
- package/dist/types/components/OmegaForm/index.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/checks.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/createMeta.d.ts +2 -1
- package/dist/types/components/OmegaForm/meta/defaults.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/redacted.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/types.d.ts +1 -1
- package/dist/types/components/OmegaForm/meta/walker.d.ts +1 -1
- package/dist/types/components/OmegaForm/submit.d.ts +1 -1
- package/dist/types/components/OmegaForm/types.d.ts +3 -1
- package/dist/types/components/OmegaForm/useOmegaForm.d.ts +1 -1
- package/dist/types/components/OmegaForm/validation/localized.d.ts +1 -1
- package/dist/types/utils/index.d.ts +3 -3
- package/dist/vue-components.es.js +15 -15
- package/dist/vue-components100.es.js +269 -0
- package/dist/vue-components102.es.js +8 -0
- package/dist/vue-components103.es.js +73 -0
- package/dist/vue-components104.es.js +5 -0
- package/dist/vue-components105.es.js +52 -0
- package/dist/vue-components106.es.js +5 -0
- package/dist/vue-components107.es.js +24 -0
- package/dist/vue-components108.es.js +5 -0
- package/dist/vue-components109.es.js +59 -0
- package/dist/vue-components110.es.js +5 -0
- package/dist/vue-components111.es.js +12 -0
- package/dist/vue-components112.es.js +22 -0
- package/dist/vue-components114.es.js +9 -0
- package/dist/vue-components115.es.js +4 -0
- package/dist/vue-components116.es.js +38 -0
- package/dist/vue-components117.es.js +27 -0
- package/dist/vue-components118.es.js +28 -0
- package/dist/vue-components119.es.js +7 -0
- package/dist/vue-components12.es.js +25 -47
- package/dist/vue-components120.es.js +18 -0
- package/dist/vue-components121.es.js +36 -0
- package/dist/vue-components122.es.js +18 -0
- package/dist/vue-components123.es.js +21 -0
- package/dist/vue-components124.es.js +30 -0
- package/dist/vue-components125.es.js +7 -0
- package/dist/vue-components126.es.js +9 -0
- package/dist/vue-components127.es.js +38 -0
- package/dist/vue-components128.es.js +25 -0
- package/dist/vue-components129.es.js +128 -0
- package/dist/vue-components13.es.js +62 -120
- package/dist/vue-components130.es.js +24 -0
- package/dist/vue-components131.es.js +21 -0
- package/dist/vue-components132.es.js +9 -0
- package/dist/vue-components133.es.js +19 -0
- package/dist/vue-components134.es.js +5 -0
- package/dist/vue-components135.es.js +29 -0
- package/dist/vue-components136.es.js +5 -0
- package/dist/vue-components137.es.js +43 -0
- package/dist/vue-components138.es.js +82 -0
- package/dist/vue-components139.es.js +33 -0
- package/dist/vue-components14.es.js +13 -63
- package/dist/vue-components140.es.js +19 -0
- package/dist/vue-components141.es.js +48 -0
- package/dist/vue-components15.es.js +27 -58
- package/dist/vue-components16.es.js +52 -21
- package/dist/vue-components17.es.js +86 -4
- package/dist/vue-components18.es.js +3 -79
- package/dist/vue-components19.es.js +3 -91
- package/dist/vue-components2.es.js +15 -6
- package/dist/vue-components20.es.js +17 -71
- package/dist/vue-components21.es.js +72 -11
- package/dist/vue-components22.es.js +12 -54
- package/dist/vue-components23.es.js +25 -4
- package/dist/vue-components24.es.js +249 -41
- package/dist/vue-components25.es.js +64 -4
- package/dist/vue-components26.es.js +65 -81
- package/dist/vue-components27.es.js +8 -0
- package/dist/vue-components28.es.js +11 -7
- package/dist/vue-components29.es.js +5 -8
- package/dist/vue-components30.es.js +25 -266
- package/dist/vue-components31.es.js +75 -0
- package/dist/vue-components32.es.js +108 -7
- package/dist/vue-components33.es.js +55 -71
- package/dist/vue-components34.es.js +6 -4
- package/dist/vue-components35.es.js +3 -51
- package/dist/vue-components36.es.js +5 -4
- package/dist/vue-components37.es.js +685 -21
- package/dist/vue-components38.es.js +6 -4
- package/dist/vue-components39.es.js +4 -58
- package/dist/vue-components40.es.js +5 -4
- package/dist/vue-components41.es.js +26 -11
- package/dist/vue-components42.es.js +4 -21
- package/dist/vue-components43.es.js +48 -0
- package/dist/vue-components44.es.js +69 -8
- package/dist/vue-components45.es.js +8 -3
- package/dist/vue-components46.es.js +9 -37
- package/dist/vue-components47.es.js +7 -26
- package/dist/vue-components48.es.js +169 -24
- package/dist/vue-components49.es.js +13 -6
- package/dist/vue-components50.es.js +9 -16
- package/dist/vue-components51.es.js +3 -35
- package/dist/vue-components52.es.js +6 -17
- package/dist/vue-components53.es.js +27 -19
- package/dist/vue-components54.es.js +212 -21
- package/dist/vue-components55.es.js +84 -6
- package/dist/vue-components56.es.js +72 -7
- package/dist/vue-components57.es.js +807 -26
- package/dist/vue-components58.es.js +3 -24
- package/dist/vue-components59.es.js +103 -122
- package/dist/vue-components60.es.js +49 -19
- package/dist/vue-components61.es.js +514 -15
- package/dist/vue-components62.es.js +438 -7
- package/dist/vue-components63.es.js +9 -18
- package/dist/vue-components64.es.js +12 -4
- package/dist/vue-components65.es.js +16 -26
- package/dist/vue-components66.es.js +28 -4
- package/dist/vue-components67.es.js +20 -27
- package/dist/vue-components68.es.js +29 -5
- package/dist/vue-components69.es.js +27 -16
- package/dist/vue-components70.es.js +71 -38
- package/dist/vue-components71.es.js +5 -80
- package/dist/vue-components72.es.js +17 -32
- package/dist/vue-components73.es.js +4 -18
- package/dist/vue-components74.es.js +69 -47
- package/dist/vue-components75.es.js +140 -0
- package/dist/vue-components76.es.js +4 -0
- package/dist/vue-components77.es.js +21 -0
- package/dist/vue-components78.es.js +55 -0
- package/dist/vue-components79.es.js +9 -0
- package/dist/vue-components80.es.js +16 -0
- package/dist/vue-components81.es.js +39 -0
- package/dist/vue-components82.es.js +49 -0
- package/dist/vue-components83.es.js +128 -0
- package/dist/vue-components84.es.js +65 -0
- package/dist/vue-components85.es.js +63 -0
- package/dist/vue-components86.es.js +25 -0
- package/dist/vue-components87.es.js +5 -0
- package/dist/vue-components88.es.js +80 -0
- package/dist/vue-components89.es.js +95 -0
- package/dist/vue-components90.es.js +73 -0
- package/dist/vue-components91.es.js +12 -0
- package/dist/vue-components92.es.js +56 -0
- package/dist/vue-components93.es.js +5 -0
- package/dist/vue-components94.es.js +44 -0
- package/dist/vue-components95.es.js +5 -0
- package/dist/vue-components96.es.js +84 -0
- package/dist/vue-components98.es.js +8 -0
- package/dist/vue-components99.es.js +9 -0
- package/package.json +3 -3
- package/src/components/CommandButton.vue +1 -1
- package/src/components/OmegaForm/OmegaAutoGen.vue +1 -1
- package/src/components/OmegaForm/index.ts +1 -1
- package/src/components/OmegaForm/meta/checks.ts +2 -1
- package/src/components/OmegaForm/meta/createMeta.ts +3 -1
- package/src/components/OmegaForm/meta/defaults.ts +3 -1
- package/src/components/OmegaForm/meta/redacted.ts +1 -1
- package/src/components/OmegaForm/meta/types.ts +1 -1
- package/src/components/OmegaForm/meta/walker.ts +1 -1
- package/src/components/OmegaForm/submit.ts +4 -1
- package/src/components/OmegaForm/types.ts +3 -1
- package/src/components/OmegaForm/useOmegaForm.ts +2 -1
- package/src/components/OmegaForm/useRegisterField.ts +1 -1
- package/src/components/OmegaForm/validation/localized.ts +2 -1
- package/src/utils/index.ts +2 -2
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import t from "./vue-components28.es.js";
|
|
6
|
-
//#region src/components/OmegaForm/OmegaErrorsInternal.vue
|
|
7
|
-
var n = /* @__PURE__ */ t(e, [["__scopeId", "data-v-5278f8d3"]]);
|
|
1
|
+
import { dual as e } from "./vue-components13.es.js";
|
|
2
|
+
import { fail as t, isFailure as n, succeed as r } from "./vue-components26.es.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Result.js
|
|
4
|
+
var i = r, a = t, o = n, s = /* @__PURE__ */ e(2, (e, t) => o(e) ? a(t(e.failure)) : i(e.success)), c = /* @__PURE__ */ e(2, (e, { onFailure: t, onSuccess: n }) => o(e) ? t(e.failure) : n(e.success));
|
|
8
5
|
//#endregion
|
|
9
|
-
export {
|
|
6
|
+
export { a as fail, o as isFailure, s as mapError, c as match, i as succeed };
|
|
@@ -1,269 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
key: 0,
|
|
25
|
-
id: o.inputProps.id,
|
|
26
|
-
name: o.field.name,
|
|
27
|
-
label: o.inputProps.label,
|
|
28
|
-
"error-messages": o.inputProps.errorMessages,
|
|
29
|
-
error: o.inputProps.error,
|
|
30
|
-
ripple: ""
|
|
31
|
-
}, _.$attrs, {
|
|
32
|
-
"model-value": o.state.value,
|
|
33
|
-
onChange: v[0] ||= (e) => o.field.handleChange(e.target.checked)
|
|
34
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
35
|
-
name: "label",
|
|
36
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
37
|
-
required: o.inputProps.required,
|
|
38
|
-
id: o.inputProps.id,
|
|
39
|
-
label: o.inputProps.label
|
|
40
|
-
})))]),
|
|
41
|
-
key: "0"
|
|
42
|
-
} : void 0]), 1040, [
|
|
43
|
-
"id",
|
|
44
|
-
"name",
|
|
45
|
-
"label",
|
|
46
|
-
"error-messages",
|
|
47
|
-
"error",
|
|
48
|
-
"model-value"
|
|
49
|
-
])) : r("", !0),
|
|
50
|
-
o.inputProps.type === "email" || o.inputProps.type === "string" || o.inputProps.type === "password" || o.inputProps.type === "date" ? (u(), n(y, c({
|
|
51
|
-
key: 1,
|
|
52
|
-
id: o.inputProps.id,
|
|
53
|
-
required: o.inputProps.required,
|
|
54
|
-
"min-length": o.inputProps.minLength,
|
|
55
|
-
"max-length": o.inputProps.maxLength,
|
|
56
|
-
type: h(e)(o.inputProps.type),
|
|
57
|
-
name: o.field.name,
|
|
58
|
-
label: o.inputProps.label,
|
|
59
|
-
"error-messages": o.inputProps.errorMessages,
|
|
60
|
-
error: o.inputProps.error
|
|
61
|
-
}, _.$attrs, {
|
|
62
|
-
"model-value": o.state.value,
|
|
63
|
-
"onUpdate:modelValue": o.field.handleChange
|
|
64
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
65
|
-
name: "label",
|
|
66
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
67
|
-
required: o.inputProps.required,
|
|
68
|
-
id: o.inputProps.id,
|
|
69
|
-
label: o.inputProps.label
|
|
70
|
-
})))]),
|
|
71
|
-
key: "0"
|
|
72
|
-
} : void 0]), 1040, [
|
|
73
|
-
"id",
|
|
74
|
-
"required",
|
|
75
|
-
"min-length",
|
|
76
|
-
"max-length",
|
|
77
|
-
"type",
|
|
78
|
-
"name",
|
|
79
|
-
"label",
|
|
80
|
-
"error-messages",
|
|
81
|
-
"error",
|
|
82
|
-
"model-value",
|
|
83
|
-
"onUpdate:modelValue"
|
|
84
|
-
])) : r("", !0),
|
|
85
|
-
o.inputProps.type === "text" ? (u(), n(b, c({
|
|
86
|
-
key: 2,
|
|
87
|
-
id: o.inputProps.id,
|
|
88
|
-
required: o.inputProps.required,
|
|
89
|
-
"min-length": o.inputProps.minLength,
|
|
90
|
-
"max-length": o.inputProps.maxLength,
|
|
91
|
-
name: o.field.name,
|
|
92
|
-
label: o.inputProps.label,
|
|
93
|
-
"error-messages": o.inputProps.errorMessages,
|
|
94
|
-
error: o.inputProps.error
|
|
95
|
-
}, _.$attrs, {
|
|
96
|
-
"model-value": o.state.value,
|
|
97
|
-
"onUpdate:modelValue": o.field.handleChange
|
|
98
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
99
|
-
name: "label",
|
|
100
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
101
|
-
required: o.inputProps.required,
|
|
102
|
-
id: o.inputProps.id,
|
|
103
|
-
label: o.inputProps.label
|
|
104
|
-
})))]),
|
|
105
|
-
key: "0"
|
|
106
|
-
} : void 0]), 1040, [
|
|
107
|
-
"id",
|
|
108
|
-
"required",
|
|
109
|
-
"min-length",
|
|
110
|
-
"max-length",
|
|
111
|
-
"name",
|
|
112
|
-
"label",
|
|
113
|
-
"error-messages",
|
|
114
|
-
"error",
|
|
115
|
-
"model-value",
|
|
116
|
-
"onUpdate:modelValue"
|
|
117
|
-
])) : r("", !0),
|
|
118
|
-
o.inputProps.type === "number" || o.inputProps.type === "range" ? (u(), n(m(o.inputProps.type === "range" ? "v-slider" : "v-text-field"), c({
|
|
119
|
-
key: 3,
|
|
120
|
-
id: o.inputProps.id,
|
|
121
|
-
required: o.inputProps.required,
|
|
122
|
-
min: o.inputProps.min,
|
|
123
|
-
max: o.inputProps.max,
|
|
124
|
-
type: o.inputProps.type,
|
|
125
|
-
name: o.field.name,
|
|
126
|
-
label: o.inputProps.label,
|
|
127
|
-
"error-messages": o.inputProps.errorMessages,
|
|
128
|
-
error: o.inputProps.error
|
|
129
|
-
}, _.$attrs, {
|
|
130
|
-
"model-value": o.state.value,
|
|
131
|
-
"onUpdate:modelValue": v[1] ||= (e) => {
|
|
132
|
-
e || e === 0 ? o.field.handleChange(Number(e)) : o.field.handleChange(void 0);
|
|
133
|
-
}
|
|
134
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
135
|
-
name: "label",
|
|
136
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
137
|
-
required: o.inputProps.required,
|
|
138
|
-
id: o.inputProps.id,
|
|
139
|
-
label: o.inputProps.label
|
|
140
|
-
})))]),
|
|
141
|
-
key: "0"
|
|
142
|
-
} : void 0]), 1040, [
|
|
143
|
-
"id",
|
|
144
|
-
"required",
|
|
145
|
-
"min",
|
|
146
|
-
"max",
|
|
147
|
-
"type",
|
|
148
|
-
"name",
|
|
149
|
-
"label",
|
|
150
|
-
"error-messages",
|
|
151
|
-
"error",
|
|
152
|
-
"model-value"
|
|
153
|
-
])) : r("", !0),
|
|
154
|
-
o.inputProps.type === "radio" ? (u(), n(S, c({
|
|
155
|
-
key: 4,
|
|
156
|
-
id: o.inputProps.id,
|
|
157
|
-
name: o.field.name,
|
|
158
|
-
label: o.inputProps.label,
|
|
159
|
-
"error-messages": o.inputProps.errorMessages,
|
|
160
|
-
error: o.inputProps.error
|
|
161
|
-
}, _.$attrs, {
|
|
162
|
-
"model-value": o.state.value,
|
|
163
|
-
"onUpdate:modelValue": o.field.handleChange
|
|
164
|
-
}), a({
|
|
165
|
-
default: g(() => [(u(!0), i(t, null, d(o.inputProps.options, (e) => (u(), n(x, {
|
|
166
|
-
key: e.value,
|
|
167
|
-
label: e.title,
|
|
168
|
-
value: e.value
|
|
169
|
-
}, null, 8, ["label", "value"]))), 128))]),
|
|
170
|
-
_: 2
|
|
171
|
-
}, [_.$slots.label ? {
|
|
172
|
-
name: "label",
|
|
173
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
174
|
-
required: o.inputProps.required,
|
|
175
|
-
id: o.inputProps.id,
|
|
176
|
-
label: o.inputProps.label
|
|
177
|
-
})))]),
|
|
178
|
-
key: "0"
|
|
179
|
-
} : void 0]), 1040, [
|
|
180
|
-
"id",
|
|
181
|
-
"name",
|
|
182
|
-
"label",
|
|
183
|
-
"error-messages",
|
|
184
|
-
"error",
|
|
185
|
-
"model-value",
|
|
186
|
-
"onUpdate:modelValue"
|
|
187
|
-
])) : r("", !0),
|
|
188
|
-
o.inputProps.type === "select" || o.inputProps.type === "multiple" ? (u(), n(C, c({
|
|
189
|
-
key: 5,
|
|
190
|
-
id: o.inputProps.id,
|
|
191
|
-
clearable: o.inputProps.type === "select",
|
|
192
|
-
required: o.inputProps.required,
|
|
193
|
-
multiple: o.inputProps.type === "multiple",
|
|
194
|
-
chips: o.inputProps.type === "multiple",
|
|
195
|
-
name: o.field.name,
|
|
196
|
-
label: o.inputProps.label,
|
|
197
|
-
items: o.inputProps.options,
|
|
198
|
-
"error-messages": o.inputProps.errorMessages,
|
|
199
|
-
error: o.inputProps.error
|
|
200
|
-
}, _.$attrs, {
|
|
201
|
-
"model-value": o.state.value,
|
|
202
|
-
onClear: v[2] ||= (e) => o.field.handleChange(void 0),
|
|
203
|
-
"onUpdate:modelValue": o.field.handleChange
|
|
204
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
205
|
-
name: "label",
|
|
206
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
207
|
-
required: o.inputProps.required,
|
|
208
|
-
id: o.inputProps.id,
|
|
209
|
-
label: o.inputProps.label
|
|
210
|
-
})))]),
|
|
211
|
-
key: "0"
|
|
212
|
-
} : void 0]), 1040, [
|
|
213
|
-
"id",
|
|
214
|
-
"clearable",
|
|
215
|
-
"required",
|
|
216
|
-
"multiple",
|
|
217
|
-
"chips",
|
|
218
|
-
"name",
|
|
219
|
-
"label",
|
|
220
|
-
"items",
|
|
221
|
-
"error-messages",
|
|
222
|
-
"error",
|
|
223
|
-
"model-value",
|
|
224
|
-
"onUpdate:modelValue"
|
|
225
|
-
])) : r("", !0),
|
|
226
|
-
o.inputProps.type === "autocomplete" || o.inputProps.type === "autocompletemultiple" ? (u(), n(w, c({
|
|
227
|
-
key: 6,
|
|
228
|
-
id: o.inputProps.id,
|
|
229
|
-
clearable: o.inputProps.type === "autocomplete",
|
|
230
|
-
multiple: o.inputProps.type === "autocompletemultiple",
|
|
231
|
-
required: o.inputProps.required,
|
|
232
|
-
name: o.field.name,
|
|
233
|
-
label: o.inputProps.label,
|
|
234
|
-
items: o.inputProps.options,
|
|
235
|
-
"error-messages": o.inputProps.errorMessages,
|
|
236
|
-
error: o.inputProps.error,
|
|
237
|
-
chips: o.inputProps.type === "autocompletemultiple"
|
|
238
|
-
}, _.$attrs, {
|
|
239
|
-
"model-value": o.state.value,
|
|
240
|
-
onClear: v[3] ||= (e) => o.field.handleChange(void 0),
|
|
241
|
-
"onUpdate:modelValue": o.field.handleChange
|
|
242
|
-
}), a({ _: 2 }, [_.$slots.label ? {
|
|
243
|
-
name: "label",
|
|
244
|
-
fn: g(() => [f(_.$slots, "label", l(s({
|
|
245
|
-
required: o.inputProps.required,
|
|
246
|
-
id: o.inputProps.id,
|
|
247
|
-
label: o.inputProps.label
|
|
248
|
-
})))]),
|
|
249
|
-
key: "0"
|
|
250
|
-
} : void 0]), 1040, [
|
|
251
|
-
"id",
|
|
252
|
-
"clearable",
|
|
253
|
-
"multiple",
|
|
254
|
-
"required",
|
|
255
|
-
"name",
|
|
256
|
-
"label",
|
|
257
|
-
"items",
|
|
258
|
-
"error-messages",
|
|
259
|
-
"error",
|
|
260
|
-
"chips",
|
|
261
|
-
"model-value",
|
|
262
|
-
"onUpdate:modelValue"
|
|
263
|
-
])) : r("", !0)
|
|
264
|
-
], 32);
|
|
265
|
-
};
|
|
1
|
+
import { dual as e } from "./vue-components13.es.js";
|
|
2
|
+
import { asEquivalence as t } from "./vue-components17.es.js";
|
|
3
|
+
import { isArrayNonEmpty as n } from "./vue-components19.es.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Array.js
|
|
5
|
+
var r = globalThis.Array, i = (e) => r.isArray(e) ? e : r.from(e), a = /* @__PURE__ */ e(2, (e, t) => [...e, t]), o = /* @__PURE__ */ e(2, (e, t) => i(e).concat(i(t)));
|
|
6
|
+
r.isArray;
|
|
7
|
+
var s = n, c = n;
|
|
8
|
+
function l(e, t) {
|
|
9
|
+
return e < 0 || e >= t.length;
|
|
10
|
+
}
|
|
11
|
+
var u = /* @__PURE__ */ (/* @__PURE__ */ e(2, (e, t) => {
|
|
12
|
+
let n = Math.floor(t);
|
|
13
|
+
if (l(n, e)) throw Error(`Index out of bounds: ${n}`);
|
|
14
|
+
return e[n];
|
|
15
|
+
}))(0), d = (e) => e.slice(1), f = /* @__PURE__ */ e(3, (e, t, n) => {
|
|
16
|
+
let r = i(e), a = i(t);
|
|
17
|
+
return c(r) ? c(a) ? g(n)(o(r, a)) : r : a;
|
|
18
|
+
}), p = /* @__PURE__ */ e(2, (e, n) => f(e, n, t())), m = () => [], h = /* @__PURE__ */ e(2, (e, t) => e.map(t)), g = /* @__PURE__ */ e(2, (e, t) => {
|
|
19
|
+
let n = i(e);
|
|
20
|
+
if (c(n)) {
|
|
21
|
+
let e = [u(n)], r = d(n);
|
|
22
|
+
for (let n of r) e.every((e) => !t(n, e)) && e.push(n);
|
|
23
|
+
return e;
|
|
266
24
|
}
|
|
25
|
+
return [];
|
|
267
26
|
});
|
|
268
27
|
//#endregion
|
|
269
|
-
export {
|
|
28
|
+
export { a as append, m as empty, i as fromIterable, s as isArrayNonEmpty, c as isReadonlyArrayNonEmpty, h as map, p as union };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { pipeArguments as e } from "./vue-components12.es.js";
|
|
2
|
+
import { dual as t } from "./vue-components13.es.js";
|
|
3
|
+
import { hasProperty as n } from "./vue-components15.es.js";
|
|
4
|
+
import { combine as r, hash as i, number as a, symbol as o } from "./vue-components16.es.js";
|
|
5
|
+
import { symbol as s } from "./vue-components17.es.js";
|
|
6
|
+
import { make as c } from "./vue-components18.es.js";
|
|
7
|
+
import { NodeInspectSymbol as l } from "./vue-components22.es.js";
|
|
8
|
+
import { BigInt as u, Number as d, make as f } from "./vue-components27.es.js";
|
|
9
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/BigDecimal.js
|
|
10
|
+
var p = "~effect/BigDecimal", m = {
|
|
11
|
+
[p]: p,
|
|
12
|
+
[o]() {
|
|
13
|
+
let e = x(this);
|
|
14
|
+
return r(i(e.value), a(e.scale));
|
|
15
|
+
},
|
|
16
|
+
[s](e) {
|
|
17
|
+
return h(e) && D(this, e);
|
|
18
|
+
},
|
|
19
|
+
toString() {
|
|
20
|
+
return `BigDecimal(${O(this)})`;
|
|
21
|
+
},
|
|
22
|
+
toJSON() {
|
|
23
|
+
return {
|
|
24
|
+
_id: "BigDecimal",
|
|
25
|
+
value: String(this.value),
|
|
26
|
+
scale: this.scale
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
[l]() {
|
|
30
|
+
return this.toJSON();
|
|
31
|
+
},
|
|
32
|
+
pipe() {
|
|
33
|
+
return e(this, arguments);
|
|
34
|
+
}
|
|
35
|
+
}, h = (e) => n(e, p), g = (e, t) => {
|
|
36
|
+
let n = Object.create(m);
|
|
37
|
+
return n.value = e, n.scale = t, n;
|
|
38
|
+
}, _ = (e, t) => {
|
|
39
|
+
if (e !== v && e % y === v) throw RangeError("Value must be normalized");
|
|
40
|
+
let n = g(e, t);
|
|
41
|
+
return n.normalized = n, n;
|
|
42
|
+
}, v = /* @__PURE__ */ BigInt(0), y = /* @__PURE__ */ BigInt(10), b = /* @__PURE__ */ _(v, 0), x = (e) => {
|
|
43
|
+
if (e.normalized === void 0) if (e.value === v) e.normalized = b;
|
|
44
|
+
else {
|
|
45
|
+
let t = `${e.value}`, n = 0;
|
|
46
|
+
for (let e = t.length - 1; e >= 0 && t[e] === "0"; e--) n++;
|
|
47
|
+
n === 0 && (e.normalized = e), e.normalized = _(BigInt(t.substring(0, t.length - n)), e.scale - n);
|
|
48
|
+
}
|
|
49
|
+
return e.normalized;
|
|
50
|
+
}, S = /* @__PURE__ */ t(2, (e, t) => t > e.scale ? g(e.value * y ** BigInt(t - e.scale), t) : t < e.scale ? g(e.value / y ** BigInt(e.scale - t), t) : e), C = /* @__PURE__ */ f((e, t) => {
|
|
51
|
+
let n = d(w(e), w(t));
|
|
52
|
+
return n === 0 ? e.scale > t.scale ? u(e.value, S(t, e.scale).value) : e.scale < t.scale ? u(S(e, t.scale).value, t.value) : u(e.value, t.value) : n;
|
|
53
|
+
}), w = (e) => e.value === v ? 0 : e.value < v ? -1 : 1, T = (e) => e.value < v ? g(-e.value, e.scale) : e, E = /* @__PURE__ */ c((e, t) => e.scale > t.scale ? S(t, e.scale).value === e.value : e.scale < t.scale ? S(e, t.scale).value === t.value : e.value === t.value), D = /* @__PURE__ */ t(2, (e, t) => E(e, t)), O = (e) => {
|
|
54
|
+
let t = x(e);
|
|
55
|
+
if (Math.abs(t.scale) >= 16) return k(t);
|
|
56
|
+
let n = t.value < v, r = n ? `${t.value}`.substring(1) : `${t.value}`, i, a;
|
|
57
|
+
if (t.scale >= r.length) i = "0", a = "0".repeat(t.scale - r.length) + r;
|
|
58
|
+
else {
|
|
59
|
+
let e = r.length - t.scale;
|
|
60
|
+
if (e > r.length) {
|
|
61
|
+
let t = e - r.length;
|
|
62
|
+
i = `${r}${"0".repeat(t)}`, a = "";
|
|
63
|
+
} else a = r.slice(e), i = r.slice(0, e);
|
|
64
|
+
}
|
|
65
|
+
let o = a === "" ? i : `${i}.${a}`;
|
|
66
|
+
return n ? `-${o}` : o;
|
|
67
|
+
}, k = (e) => {
|
|
68
|
+
if (A(e)) return "0e+0";
|
|
69
|
+
let t = x(e), n = `${T(t).value}`, r = n.slice(0, 1), i = n.slice(1), a = `${j(t) ? "-" : ""}${r}`;
|
|
70
|
+
i !== "" && (a += `.${i}`);
|
|
71
|
+
let o = i.length - t.scale;
|
|
72
|
+
return `${a}e${o >= 0 ? "+" : ""}${o}`;
|
|
73
|
+
}, A = (e) => e.value === v, j = (e) => e.value < v;
|
|
74
|
+
//#endregion
|
|
75
|
+
export { C as Order, O as format };
|
|
@@ -1,8 +1,109 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { constant as e, dual as t } from "./vue-components13.es.js";
|
|
2
|
+
import { hasProperty as n } from "./vue-components15.es.js";
|
|
3
|
+
import { number as r, symbol as i } from "./vue-components16.es.js";
|
|
4
|
+
import { equals as a, symbol as o } from "./vue-components17.es.js";
|
|
5
|
+
import { PipeInspectableProto as s, YieldableProto as c, exitSucceed as l, withFiber as u } from "./vue-components24.es.js";
|
|
6
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Context.js
|
|
7
|
+
var d = "~effect/Context/Service", f = function() {
|
|
8
|
+
let e = Error.stackTraceLimit;
|
|
9
|
+
Error.stackTraceLimit = 2;
|
|
10
|
+
let t = /* @__PURE__ */ Error();
|
|
11
|
+
Error.stackTraceLimit = e;
|
|
12
|
+
function n() {}
|
|
13
|
+
let r = n;
|
|
14
|
+
return Object.setPrototypeOf(r, p), Object.defineProperty(r, "stack", { get() {
|
|
15
|
+
return t.stack;
|
|
16
|
+
} }), arguments.length > 0 ? (r.key = arguments[0], arguments[1]?.defaultValue && (r[m] = m, r.defaultValue = arguments[1].defaultValue), r) : function(e, t) {
|
|
17
|
+
return r.key = e, t?.make && (r.make = t.make), r;
|
|
18
|
+
};
|
|
19
|
+
}, p = {
|
|
20
|
+
[d]: d,
|
|
21
|
+
...s,
|
|
22
|
+
...c,
|
|
23
|
+
toJSON() {
|
|
24
|
+
return {
|
|
25
|
+
_id: "Service",
|
|
26
|
+
key: this.key,
|
|
27
|
+
stack: this.stack
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
asEffect() {
|
|
31
|
+
return (this.asEffect = e(u((e) => l(T(e.context, this)))))();
|
|
32
|
+
},
|
|
33
|
+
of(e) {
|
|
34
|
+
return e;
|
|
35
|
+
},
|
|
36
|
+
context(e) {
|
|
37
|
+
return S(this, e);
|
|
38
|
+
},
|
|
39
|
+
use(e) {
|
|
40
|
+
return u((t) => e(T(t.context, this)));
|
|
41
|
+
},
|
|
42
|
+
useSync(e) {
|
|
43
|
+
return u((t) => l(e(T(t.context, this))));
|
|
44
|
+
}
|
|
45
|
+
}, m = "~effect/Context/Reference", h = "~effect/Context", g = (e) => {
|
|
46
|
+
let t = Object.create(_);
|
|
47
|
+
return t.mapUnsafe = e, t.mutable = !1, t;
|
|
48
|
+
}, _ = {
|
|
49
|
+
...s,
|
|
50
|
+
[h]: { _Services: (e) => e },
|
|
51
|
+
toJSON() {
|
|
52
|
+
return {
|
|
53
|
+
_id: "Context",
|
|
54
|
+
services: Array.from(this.mapUnsafe).map(([e, t]) => ({
|
|
55
|
+
key: e,
|
|
56
|
+
value: t
|
|
57
|
+
}))
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
[o](e) {
|
|
61
|
+
if (!v(e) || this.mapUnsafe.size !== e.mapUnsafe.size) return !1;
|
|
62
|
+
for (let t of this.mapUnsafe.keys()) if (!e.mapUnsafe.has(t) || !a(this.mapUnsafe.get(t), e.mapUnsafe.get(t))) return !1;
|
|
63
|
+
return !0;
|
|
64
|
+
},
|
|
65
|
+
[i]() {
|
|
66
|
+
return r(this.mapUnsafe.size);
|
|
67
|
+
}
|
|
68
|
+
}, v = (e) => n(e, h), y = (e) => n(e, m), b = () => x, x = /* @__PURE__ */ g(/* @__PURE__ */ new Map()), S = (e, t) => g(new Map([[e.key, t]])), C = /* @__PURE__ */ t(3, (e, t, n) => N(e, (e) => {
|
|
69
|
+
e.set(t.key, n);
|
|
70
|
+
})), w = /* @__PURE__ */ t(3, (e, t, n) => e.mapUnsafe.has(t.key) ? e.mapUnsafe.get(t.key) : y(t) ? O(t) : n()), T = /* @__PURE__ */ t(2, (e, t) => {
|
|
71
|
+
if (!e.mapUnsafe.has(t.key)) {
|
|
72
|
+
if (m in t) return O(t);
|
|
73
|
+
throw k(t);
|
|
74
|
+
}
|
|
75
|
+
return e.mapUnsafe.get(t.key);
|
|
76
|
+
}), E = (e, t) => e.mapUnsafe.has(t.key) ? e.mapUnsafe.get(t.key) : O(t), D = "~effect/Context/defaultValue", O = (e) => D in e ? e[D] : e[D] = e.defaultValue(), k = (e) => {
|
|
77
|
+
let t = /* @__PURE__ */ Error(`Service not found${e.key ? `: ${String(e.key)}` : ""}`);
|
|
78
|
+
if (e.stack) {
|
|
79
|
+
let n = e.stack.split("\n");
|
|
80
|
+
if (n.length > 2) {
|
|
81
|
+
let e = n[2].match(/at (.*)/);
|
|
82
|
+
e && (t.message += ` (defined at ${e[1]})`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (t.stack) {
|
|
86
|
+
let e = t.stack.split("\n");
|
|
87
|
+
e.splice(1, 3), t.stack = e.join("\n");
|
|
88
|
+
}
|
|
89
|
+
return t;
|
|
90
|
+
}, A = /* @__PURE__ */ t(2, (e, t) => e.mapUnsafe.size === 0 ? t : t.mapUnsafe.size === 0 ? e : N(e, (e) => {
|
|
91
|
+
t.mapUnsafe.forEach((t, n) => e.set(n, t));
|
|
92
|
+
})), j = (...e) => {
|
|
93
|
+
let t = /* @__PURE__ */ new Map();
|
|
94
|
+
for (let n = 0; n < e.length; n++) e[n].mapUnsafe.forEach((e, n) => {
|
|
95
|
+
t.set(n, e);
|
|
96
|
+
});
|
|
97
|
+
return g(t);
|
|
98
|
+
}, M = (...e) => (t) => N(t, (t) => {
|
|
99
|
+
let n = new Set(e.map((e) => e.key));
|
|
100
|
+
t.forEach((e, r) => {
|
|
101
|
+
n.has(r) || t.delete(r);
|
|
102
|
+
});
|
|
103
|
+
}), N = (e, t) => {
|
|
104
|
+
if (e.mutable) return t(e.mapUnsafe), e;
|
|
105
|
+
let n = new Map(e.mapUnsafe);
|
|
106
|
+
return t(n), g(n);
|
|
107
|
+
}, P = f;
|
|
7
108
|
//#endregion
|
|
8
|
-
export {
|
|
109
|
+
export { P as Reference, f as Service, C as add, b as empty, w as getOrElse, E as getReferenceUnsafe, v as isContext, S as make, g as makeUnsafe, A as merge, j as mergeAll, M as pick };
|
|
@@ -1,73 +1,57 @@
|
|
|
1
|
-
import e from "./vue-components32.es.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
required: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: void 0
|
|
18
|
-
},
|
|
19
|
-
inputClass: { default: void 0 },
|
|
20
|
-
register: {},
|
|
21
|
-
options: { default: void 0 }
|
|
22
|
-
},
|
|
23
|
-
setup(o) {
|
|
24
|
-
let b = o, x = t(() => b.required ?? b?.meta?.required), S = s()?.appContext.components.VTextField, C = h(), w = _(), T = t(() => {
|
|
25
|
-
let { class: e, ...t } = C;
|
|
26
|
-
return t;
|
|
27
|
-
}), E = t(() => C.class), D = g(), O = b.field;
|
|
28
|
-
y(O.store, (e) => e);
|
|
29
|
-
let k = y(O.form.store, (e) => e.fieldMeta), A = t(() => b.type ? b.type : b.meta?.type === "string" ? b.meta.format === "email" ? "email" : "string" : b.meta?.type || "unknown");
|
|
30
|
-
b.register(t(() => ({
|
|
31
|
-
name: b.field.name,
|
|
32
|
-
label: b.label,
|
|
33
|
-
id: D
|
|
34
|
-
})));
|
|
35
|
-
let j = t(() => k.value[b.field.name]?.errors ?? []), M = t(() => j.value.map((e) => e?.message).filter(Boolean)), N = (e) => e == null || e === !1 || e === "" || Number.isNaN(e), P = (e) => {
|
|
36
|
-
N(e) && b.meta?.type !== "boolean" ? b.meta?.nullableOrUndefined ? b.field.handleChange(b.meta.nullableOrUndefined === "undefined" ? void 0 : null) : b.meta?.isOptionalKey ? b.field.form.deleteField(b.field.name) : b.field.handleChange(e) : b.field.handleChange(e);
|
|
37
|
-
}, F = (e) => new Proxy(e, { get(e, t, n) {
|
|
38
|
-
return t === "handleChange" ? P : Reflect.get(...arguments);
|
|
39
|
-
} }), I = t(() => ({
|
|
40
|
-
inputProps: {
|
|
41
|
-
id: D,
|
|
42
|
-
required: x.value,
|
|
43
|
-
minLength: b.meta?.type === "string" && b.meta?.minLength,
|
|
44
|
-
maxLength: b.meta?.type === "string" && b.meta?.maxLength,
|
|
45
|
-
max: b.meta?.type === "number" ? b.meta?.maximum ?? (typeof b.meta?.exclusiveMaximum == "number" ? b.meta.exclusiveMaximum - 1 : void 0) : void 0,
|
|
46
|
-
min: b.meta?.type === "number" ? b.meta?.minimum ?? (typeof b.meta?.exclusiveMinimum == "number" ? b.meta.exclusiveMinimum + 1 : void 0) : void 0,
|
|
47
|
-
errorMessages: M.value,
|
|
48
|
-
error: !!M.value.length,
|
|
49
|
-
type: A.value,
|
|
50
|
-
label: w.label ? b.label : `${b.label}${x.value ? " *" : ""}`,
|
|
51
|
-
options: b.options,
|
|
52
|
-
inputClass: b.inputClass
|
|
53
|
-
},
|
|
54
|
-
state: b.state,
|
|
55
|
-
field: F(b.field)
|
|
56
|
-
}));
|
|
57
|
-
return (t, o) => p(t.$slots, "default", d(c({
|
|
58
|
-
...I.value.inputProps,
|
|
59
|
-
field: I.value.field,
|
|
60
|
-
state: I.value.state
|
|
61
|
-
})), () => [i("div", { class: u(E.value) }, [m(S) ? (f(), n(e, d(l({ key: 0 }, {
|
|
62
|
-
...T.value,
|
|
63
|
-
...I.value,
|
|
64
|
-
class: b.inputClass
|
|
65
|
-
})), a({ _: 2 }, [t.$slots.label ? {
|
|
66
|
-
name: "label",
|
|
67
|
-
fn: v((e) => [p(t.$slots, "label", d(c(e)))]),
|
|
68
|
-
key: "0"
|
|
69
|
-
} : void 0]), 1040)) : r("", !0)], 2)]);
|
|
1
|
+
import { Reference as e } from "./vue-components32.es.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Scheduler.js
|
|
3
|
+
var t = /* @__PURE__ */ e("effect/Scheduler", { defaultValue: () => new i() }), n = "setImmediate" in globalThis ? (e) => {
|
|
4
|
+
let t = globalThis.setImmediate(e);
|
|
5
|
+
return () => globalThis.clearImmediate(t);
|
|
6
|
+
} : (e) => {
|
|
7
|
+
let t = setTimeout(e, 0);
|
|
8
|
+
return () => clearTimeout(t);
|
|
9
|
+
}, r = class {
|
|
10
|
+
buckets = [];
|
|
11
|
+
scheduleTask(e, t) {
|
|
12
|
+
let n = this.buckets, r = n.length, i, a = 0;
|
|
13
|
+
for (; a < r && !(n[a][0] > t); a++) i = n[a];
|
|
14
|
+
i && i[0] === t ? i[1].push(e) : a === r ? n.push([t, [e]]) : n.splice(a, 0, [t, [e]]);
|
|
70
15
|
}
|
|
71
|
-
|
|
16
|
+
drain() {
|
|
17
|
+
let e = this.buckets;
|
|
18
|
+
return this.buckets = [], e;
|
|
19
|
+
}
|
|
20
|
+
}, i = class {
|
|
21
|
+
executionMode;
|
|
22
|
+
setImmediate;
|
|
23
|
+
constructor(e = "async", t = n) {
|
|
24
|
+
this.executionMode = e, this.setImmediate = t;
|
|
25
|
+
}
|
|
26
|
+
shouldYield(e) {
|
|
27
|
+
return e.currentOpCount >= e.maxOpsBeforeYield;
|
|
28
|
+
}
|
|
29
|
+
makeDispatcher() {
|
|
30
|
+
return new a(this.setImmediate);
|
|
31
|
+
}
|
|
32
|
+
}, a = class {
|
|
33
|
+
tasks = /* @__PURE__ */ new r();
|
|
34
|
+
running = void 0;
|
|
35
|
+
setImmediate;
|
|
36
|
+
constructor(e = n) {
|
|
37
|
+
this.setImmediate = e;
|
|
38
|
+
}
|
|
39
|
+
scheduleTask(e, t) {
|
|
40
|
+
this.tasks.scheduleTask(e, t), this.running === void 0 && (this.running = this.setImmediate(this.afterScheduled));
|
|
41
|
+
}
|
|
42
|
+
afterScheduled = () => {
|
|
43
|
+
this.running = void 0, this.runTasks();
|
|
44
|
+
};
|
|
45
|
+
runTasks() {
|
|
46
|
+
let e = this.tasks.drain();
|
|
47
|
+
for (let t = 0; t < e.length; t++) {
|
|
48
|
+
let n = e[t][1];
|
|
49
|
+
for (let e = 0; e < n.length; e++) n[e]();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
flush() {
|
|
53
|
+
for (; this.tasks.buckets.length > 0;) this.running !== void 0 && (this.running(), this.running = void 0), this.runTasks();
|
|
54
|
+
}
|
|
55
|
+
}, o = /* @__PURE__ */ e("effect/Scheduler/MaxOpsBeforeYield", { defaultValue: () => 2048 }), s = /* @__PURE__ */ e("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => !1 });
|
|
72
56
|
//#endregion
|
|
73
|
-
export {
|
|
57
|
+
export { o as MaxOpsBeforeYield, i as MixedScheduler, s as PreventSchedulerYield, t as Scheduler };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import e from "./vue-
|
|
2
|
-
//#region
|
|
3
|
-
var t =
|
|
1
|
+
import { Service as e } from "./vue-components32.es.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.62/node_modules/effect/dist/Tracer.js
|
|
3
|
+
var t = "effect/Tracer/ParentSpan";
|
|
4
|
+
e()(t);
|
|
5
|
+
var n = "effect/Tracer";
|
|
4
6
|
//#endregion
|
|
5
|
-
export { t as
|
|
7
|
+
export { t as ParentSpanKey, n as TracerKey };
|