@effect-app/vue-components 4.0.0-beta.5 → 4.0.0-beta.6
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/vue-components.es16.js +11 -11
- package/dist/vue-components.es17.js +8 -8
- package/dist/vue-components.es19.js +2 -2
- package/dist/vue-components.es20.js +1 -1
- package/dist/vue-components.es21.js +2 -2
- package/dist/vue-components.es22.js +2 -2
- package/dist/vue-components.es23.js +2 -2
- package/dist/vue-components.es25.js +2 -2
- package/dist/vue-components.es26.js +2 -2
- package/dist/vue-components.es27.js +2 -2
- package/dist/vue-components.es28.js +1 -1
- package/dist/vue-components.es29.js +1 -1
- package/dist/vue-components.es36.js +190 -36
- package/dist/vue-components.es38.js +310 -75
- package/dist/vue-components.es39.js +557 -48
- package/dist/vue-components.es40.js +25 -559
- package/dist/vue-components.es41.js +47 -36
- package/dist/vue-components.es42.js +64 -27
- package/dist/vue-components.es43.js +4 -5
- package/dist/vue-components.es44.js +4 -40
- package/dist/vue-components.es45.js +22 -312
- package/dist/vue-components.es46.js +71 -27
- package/dist/vue-components.es47.js +40 -4
- package/dist/vue-components.es48.js +312 -22
- package/dist/vue-components.es49.js +95 -71
- package/dist/vue-components.es50.js +27 -95
- package/dist/vue-components.es52.js +2 -318
- package/dist/vue-components.es53.js +2 -64
- package/dist/vue-components.es54.js +111 -2
- package/dist/vue-components.es56.js +7 -111
- package/dist/vue-components.es57.js +34 -0
- package/dist/vue-components.es59.js +36 -30
- package/dist/vue-components.es60.js +85 -0
- package/dist/vue-components.es61.js +40 -191
- package/dist/vue-components.es62.js +7 -0
- package/dist/vue-components.es63.js +4 -23
- package/dist/vue-components.es64.js +23 -5
- package/dist/vue-components.es65.js +5 -21
- package/dist/vue-components.es66.js +16 -25
- package/dist/vue-components.es67.js +23 -15
- package/dist/vue-components.es68.js +17 -7
- package/dist/vue-components.es69.js +12 -5
- package/dist/vue-components.es7.js +1 -1
- package/dist/vue-components.es70.js +5 -19
- package/dist/vue-components.es71.js +19 -9
- package/dist/vue-components.es72.js +9 -31
- package/dist/vue-components.es73.js +25 -42
- package/dist/vue-components.es74.js +38 -16
- package/dist/vue-components.es75.js +25 -100
- package/dist/vue-components.es76.js +99 -80
- package/dist/vue-components.es77.js +81 -14
- package/dist/vue-components.es78.js +20 -31
- package/dist/vue-components.es79.js +12 -21
- package/dist/vue-components.es80.js +113 -12
- package/dist/vue-components.es81.js +3 -113
- package/dist/vue-components.es82.js +32 -3
- package/dist/vue-components.es85.js +15 -2
- package/dist/vue-components.es86.js +16 -15
- package/dist/vue-components.es87.js +6 -6
- package/dist/vue-components.es88.js +8 -16
- package/dist/vue-components.es89.js +2 -8
- package/dist/vue-components.es90.js +15 -4
- package/dist/vue-components.es92.js +1 -1
- package/dist/vue-components.es94.js +1 -1
- package/dist/vue-components.es96.js +3 -3
- package/dist/vue-components.es97.js +1 -1
- package/package.json +3 -3
- package/dist/vue-components.es37.js +0 -6
- package/dist/vue-components.es55.js +0 -4
- package/dist/vue-components.es58.js +0 -9
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { append as xe } from "./vue-components.
|
|
2
|
-
import { findError as P } from "./vue-components.
|
|
1
|
+
import { append as xe } from "./vue-components.es59.js";
|
|
2
|
+
import { findError as P } from "./vue-components.es43.js";
|
|
3
3
|
import { fnUntracedEager as le, succeedSome as Se, succeedNone as fe, fail as p, exit as M, succeed as ke } from "./vue-components.es21.js";
|
|
4
|
-
import { format as Oe, formatPropertyKey as Te } from "./vue-components.
|
|
5
|
-
import { memoize as Q } from "./vue-components.
|
|
6
|
-
import { effectIsExit as L } from "./vue-components.
|
|
4
|
+
import { format as Oe, formatPropertyKey as Te } from "./vue-components.es60.js";
|
|
5
|
+
import { memoize as Q } from "./vue-components.es41.js";
|
|
6
|
+
import { effectIsExit as L } from "./vue-components.es39.js";
|
|
7
7
|
import { some as I, none as Ne } from "./vue-components.es23.js";
|
|
8
|
-
import { Class as de } from "./vue-components.
|
|
9
|
-
import { isUnknown as _e, isBoolean as Ae, isNumber as Ee, isString as ve } from "./vue-components.
|
|
10
|
-
import { isFailure as R } from "./vue-components.
|
|
11
|
-
import { transform as C, Number as Fe } from "./vue-components.
|
|
12
|
-
import { make as $e, InvalidType as X, OneOf as je, AnyOf as Ue, Pointer as N, Composite as k, MissingKey as W, UnexpectedKey as Ce, Filter as Ie } from "./vue-components.
|
|
13
|
-
import { Transformation as Z, numberFromString as he } from "./vue-components.
|
|
8
|
+
import { Class as de } from "./vue-components.es61.js";
|
|
9
|
+
import { isUnknown as _e, isBoolean as Ae, isNumber as Ee, isString as ve } from "./vue-components.es40.js";
|
|
10
|
+
import { isFailure as R } from "./vue-components.es62.js";
|
|
11
|
+
import { transform as C, Number as Fe } from "./vue-components.es47.js";
|
|
12
|
+
import { make as $e, InvalidType as X, OneOf as je, AnyOf as Ue, Pointer as N, Composite as k, MissingKey as W, UnexpectedKey as Ce, Filter as Ie } from "./vue-components.es48.js";
|
|
13
|
+
import { Transformation as Z, numberFromString as he } from "./vue-components.es50.js";
|
|
14
14
|
function w(e) {
|
|
15
15
|
return (t) => t._tag === e;
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { pretty as b } from "./vue-components.
|
|
1
|
+
import { pretty as b } from "./vue-components.es43.js";
|
|
2
2
|
import { mapErrorEager as E, runFork as w, match as U } from "./vue-components.es21.js";
|
|
3
|
-
import { isSuccess as v } from "./vue-components.
|
|
4
|
-
import { make as $ } from "./vue-components.
|
|
5
|
-
import { MixedScheduler as y } from "./vue-components.
|
|
3
|
+
import { isSuccess as v } from "./vue-components.es44.js";
|
|
4
|
+
import { make as $ } from "./vue-components.es45.js";
|
|
5
|
+
import { MixedScheduler as y } from "./vue-components.es46.js";
|
|
6
6
|
import { makeFilter as F, Arrays as I, Literal as O, union as h, null as T, decodeTo as _, string as A, unknown as L, boolean as N, number as j, undefined as x } from "./vue-components.es16.js";
|
|
7
|
-
import { transform as f } from "./vue-components.
|
|
8
|
-
import { makeFormatterStandardSchemaV1 as C } from "./vue-components.
|
|
9
|
-
import { decodeUnknownEffect as k } from "./vue-components.
|
|
10
|
-
import { make as M, passthrough as P } from "./vue-components.
|
|
7
|
+
import { transform as f } from "./vue-components.es47.js";
|
|
8
|
+
import { makeFormatterStandardSchemaV1 as C } from "./vue-components.es48.js";
|
|
9
|
+
import { decodeUnknownEffect as k } from "./vue-components.es49.js";
|
|
10
|
+
import { make as M, passthrough as P } from "./vue-components.es50.js";
|
|
11
11
|
import { lambda as V } from "./vue-components.es51.js";
|
|
12
12
|
const p = "~effect/Schema/SchemaError";
|
|
13
13
|
class B {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Exit as c } from "effect";
|
|
2
|
-
import { dual as i } from "./vue-components.
|
|
3
|
-
import { isFunction as m } from "./vue-components.
|
|
2
|
+
import { dual as i } from "./vue-components.es41.js";
|
|
3
|
+
import { isFunction as m } from "./vue-components.es40.js";
|
|
4
4
|
const n = /* @__PURE__ */ Symbol.for("clone-trait"), u = i(2, (o, t) => n in o ? o[n](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(o)));
|
|
5
5
|
i(2, (o, t) => u(o, { ...o, ...m(t) ? t(o) : t }));
|
|
6
6
|
const b = (o, t) => new Promise((e, s) => o.addObserver((r) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EffectTypeId as c } from "./vue-components.
|
|
2
|
-
import { currentSpan as n, mapErrorEager as e, runPromise as r, flatMap as t, fnUntraced as s, option as o, promise as p, runFork as u, match as E, fnUntracedEager as f, runSync as i, runSyncExit as m, flatMapEager as $, fail as d, succeed as g, succeedSome as S, succeedNone as l, exit as y, mapEager as x, catchEager as h } from "./vue-components.
|
|
1
|
+
import { EffectTypeId as c } from "./vue-components.es38.js";
|
|
2
|
+
import { currentSpan as n, mapErrorEager as e, runPromise as r, flatMap as t, fnUntraced as s, option as o, promise as p, runFork as u, match as E, fnUntracedEager as f, runSync as i, runSyncExit as m, flatMapEager as $, fail as d, succeed as g, succeedSome as S, succeedNone as l, exit as y, mapEager as x, catchEager as h } from "./vue-components.es39.js";
|
|
3
3
|
const M = c, F = (a) => typeof a == "object" && a !== null && M in a, N = p, P = g, I = l, T = S, b = d, j = t, q = o, v = y, w = E, z = n, A = u, B = r, C = i, D = m, G = s, H = x, J = e, K = $, L = h, O = f;
|
|
4
4
|
export {
|
|
5
5
|
L as catchEager,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FiberTypeId as o } from "./vue-components.
|
|
2
|
-
import { hasProperty as e } from "./vue-components.
|
|
1
|
+
import { FiberTypeId as o } from "./vue-components.es39.js";
|
|
2
|
+
import { hasProperty as e } from "./vue-components.es40.js";
|
|
3
3
|
const t = (r) => e(r, o);
|
|
4
4
|
export {
|
|
5
5
|
t as isFiber
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dual as n } from "./vue-components.
|
|
2
|
-
import { some as e, none as m, isNone as i, isSome as t } from "./vue-components.
|
|
1
|
+
import { dual as n } from "./vue-components.es41.js";
|
|
2
|
+
import { some as e, none as m, isNone as i, isSome as t } from "./vue-components.es42.js";
|
|
3
3
|
const a = () => m, c = e, r = i, N = t, S = /* @__PURE__ */ n(2, (o, s) => r(o) ? a() : c(s(o.value)));
|
|
4
4
|
export {
|
|
5
5
|
r as isNone,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, computed as b, createElementBlock as O, openBlock as j, Fragment as M, renderList as _, renderSlot as E, createVNode as N, unref as F, mergeProps as g } from "vue";
|
|
2
|
-
import { pipe as h } from "./vue-components.
|
|
3
|
-
import { mapInput as k, Number as v } from "./vue-components.
|
|
2
|
+
import { pipe as h } from "./vue-components.es41.js";
|
|
3
|
+
import { mapInput as k, Number as v } from "./vue-components.es88.js";
|
|
4
4
|
const I = /* @__PURE__ */ d({
|
|
5
5
|
__name: "OmegaAutoGen",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");if(a.appendChild(document.createTextNode('.v-enter-from[data-v-4d6b105c],.v-leave-to[data-v-4d6b105c]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-4d6b105c],.v-leave-active[data-v-4d6b105c]{display:grid;transition:all .15s}.v-enter-to[data-v-4d6b105c],.v-leave-from[data-v-4d6b105c]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-4d6b105c]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-4d6b105c]{min-height:0}.error-list[data-v-4d6b105c]{list-style-position:inside}.error-list [data-v-4d6b105c]::marker{margin:0;padding:0}.error-alert-content[data-v-4d6b105c]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-4d6b105c]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-4d6b105c]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-4d6b105c]{font-weight:700;font-size:1.25em}.error-message[data-v-4d6b105c]{font-style:italic}.error-item[data-v-4d6b105c]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-4d6b105c]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-4d6b105c]{display:flex;gap:1.5em}.container svg[data-v-4d6b105c]{width:3em}.container .single-error[data-v-4d6b105c]{display:inline-block}')),document.head.appendChild(a),window.customElements){const t=window.customElements.define;window.customElements.define=function(d,e){const r=e.prototype.connectedCallback;return e.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode('.v-enter-from[data-v-4d6b105c],.v-leave-to[data-v-4d6b105c]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-4d6b105c],.v-leave-active[data-v-4d6b105c]{display:grid;transition:all .15s}.v-enter-to[data-v-4d6b105c],.v-leave-from[data-v-4d6b105c]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-4d6b105c]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-4d6b105c]{min-height:0}.error-list[data-v-4d6b105c]{list-style-position:inside}.error-list [data-v-4d6b105c]::marker{margin:0;padding:0}.error-alert-content[data-v-4d6b105c]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-4d6b105c]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-4d6b105c]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-4d6b105c]{font-weight:700;font-size:1.25em}.error-message[data-v-4d6b105c]{font-style:italic}.error-item[data-v-4d6b105c]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-4d6b105c]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-4d6b105c]{display:flex;gap:1.5em}.container svg[data-v-4d6b105c]{width:3em}.container .single-error[data-v-4d6b105c]{display:inline-block}')),this.shadowRoot.appendChild(o)}},t.call(window.customElements,d,e)}}}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import r from "./vue-components.
|
|
2
|
+
import r from "./vue-components.es54.js";
|
|
3
3
|
|
|
4
|
-
import o from "./vue-components.
|
|
4
|
+
import o from "./vue-components.es56.js";
|
|
5
5
|
const e = /* @__PURE__ */ o(r, [["__scopeId", "data-v-4d6b105c"]]);
|
|
6
6
|
export {
|
|
7
7
|
e as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(o,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const c=document.createElement("style");c.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),this.shadowRoot.appendChild(c)}},e.call(window.customElements,o,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import o from "./vue-components.
|
|
2
|
+
import o from "./vue-components.es57.js";
|
|
3
3
|
|
|
4
|
-
import m from "./vue-components.
|
|
4
|
+
import m from "./vue-components.es56.js";
|
|
5
5
|
const a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
@@ -1,40 +1,194 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { defineComponent as k, resolveComponent as b, createElementBlock as v, openBlock as a, createBlock as n, createCommentVNode as u, resolveDynamicComponent as g, mergeProps as o, createSlots as d, withCtx as r, renderSlot as m, normalizeProps as s, guardReactiveProps as P, unref as C, Fragment as V, renderList as U } from "vue";
|
|
2
|
+
import { getInputType as c } from "./vue-components.es12.js";
|
|
3
|
+
const w = /* @__PURE__ */ k({
|
|
4
|
+
inheritAttrs: !1,
|
|
5
|
+
__name: "OmegaInputVuetify",
|
|
6
|
+
props: {
|
|
7
|
+
inputProps: {},
|
|
8
|
+
field: {},
|
|
9
|
+
state: {}
|
|
10
|
+
},
|
|
11
|
+
emits: ["focus", "blur"],
|
|
12
|
+
setup(e) {
|
|
13
|
+
return (l, i) => {
|
|
14
|
+
const y = b("v-text-field"), p = b("v-textarea"), f = b("v-radio"), h = b("v-radio-group"), q = b("v-select"), $ = b("v-autocomplete");
|
|
15
|
+
return a(), v("div", {
|
|
16
|
+
class: "omega-input",
|
|
17
|
+
onFocusout: i[4] || (i[4] = (t) => l.$emit("blur", t)),
|
|
18
|
+
onFocusin: i[5] || (i[5] = (t) => l.$emit("focus", t))
|
|
19
|
+
}, [
|
|
20
|
+
e.inputProps.type === "boolean" || e.inputProps.type === "switch" ? (a(), n(g(e.inputProps.type === "boolean" ? "v-checkbox" : "v-switch"), o({
|
|
21
|
+
key: 0,
|
|
22
|
+
id: e.inputProps.id,
|
|
23
|
+
name: e.field.name,
|
|
24
|
+
label: e.inputProps.label,
|
|
25
|
+
"error-messages": e.inputProps.errorMessages,
|
|
26
|
+
error: e.inputProps.error,
|
|
27
|
+
ripple: ""
|
|
28
|
+
}, l.$attrs, {
|
|
29
|
+
"model-value": e.state.value,
|
|
30
|
+
onChange: i[0] || (i[0] = (t) => e.field.handleChange(t.target.checked))
|
|
31
|
+
}), d({ _: 2 }, [
|
|
32
|
+
l.$slots.label ? {
|
|
33
|
+
name: "label",
|
|
34
|
+
fn: r(() => [
|
|
35
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
36
|
+
]),
|
|
37
|
+
key: "0"
|
|
38
|
+
} : void 0
|
|
39
|
+
]), 1040, ["id", "name", "label", "error-messages", "error", "model-value"])) : u("", !0),
|
|
40
|
+
e.inputProps.type === "email" || e.inputProps.type === "string" || e.inputProps.type === "password" || e.inputProps.type === "date" ? (a(), n(y, o({
|
|
41
|
+
key: 1,
|
|
42
|
+
id: e.inputProps.id,
|
|
43
|
+
required: e.inputProps.required,
|
|
44
|
+
"min-length": e.inputProps.minLength,
|
|
45
|
+
"max-length": e.inputProps.maxLength,
|
|
46
|
+
type: C(c)(e.inputProps.type),
|
|
47
|
+
name: e.field.name,
|
|
48
|
+
label: e.inputProps.label,
|
|
49
|
+
"error-messages": e.inputProps.errorMessages,
|
|
50
|
+
error: e.inputProps.error
|
|
51
|
+
}, l.$attrs, {
|
|
52
|
+
"model-value": e.state.value,
|
|
53
|
+
"onUpdate:modelValue": e.field.handleChange
|
|
54
|
+
}), d({ _: 2 }, [
|
|
55
|
+
l.$slots.label ? {
|
|
56
|
+
name: "label",
|
|
57
|
+
fn: r(() => [
|
|
58
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
59
|
+
]),
|
|
60
|
+
key: "0"
|
|
61
|
+
} : void 0
|
|
62
|
+
]), 1040, ["id", "required", "min-length", "max-length", "type", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
63
|
+
e.inputProps.type === "text" ? (a(), n(p, o({
|
|
64
|
+
key: 2,
|
|
65
|
+
id: e.inputProps.id,
|
|
66
|
+
required: e.inputProps.required,
|
|
67
|
+
"min-length": e.inputProps.minLength,
|
|
68
|
+
"max-length": e.inputProps.maxLength,
|
|
69
|
+
name: e.field.name,
|
|
70
|
+
label: e.inputProps.label,
|
|
71
|
+
"error-messages": e.inputProps.errorMessages,
|
|
72
|
+
error: e.inputProps.error
|
|
73
|
+
}, l.$attrs, {
|
|
74
|
+
"model-value": e.state.value,
|
|
75
|
+
"onUpdate:modelValue": e.field.handleChange
|
|
76
|
+
}), d({ _: 2 }, [
|
|
77
|
+
l.$slots.label ? {
|
|
78
|
+
name: "label",
|
|
79
|
+
fn: r(() => [
|
|
80
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
81
|
+
]),
|
|
82
|
+
key: "0"
|
|
83
|
+
} : void 0
|
|
84
|
+
]), 1040, ["id", "required", "min-length", "max-length", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
85
|
+
e.inputProps.type === "number" || e.inputProps.type === "range" ? (a(), n(g(e.inputProps.type === "range" ? "v-slider" : "v-text-field"), o({
|
|
86
|
+
key: 3,
|
|
87
|
+
id: e.inputProps.id,
|
|
88
|
+
required: e.inputProps.required,
|
|
89
|
+
min: e.inputProps.min,
|
|
90
|
+
max: e.inputProps.max,
|
|
91
|
+
type: e.inputProps.type,
|
|
92
|
+
name: e.field.name,
|
|
93
|
+
label: e.inputProps.label,
|
|
94
|
+
"error-messages": e.inputProps.errorMessages,
|
|
95
|
+
error: e.inputProps.error
|
|
96
|
+
}, l.$attrs, {
|
|
97
|
+
"model-value": e.state.value,
|
|
98
|
+
"onUpdate:modelValue": i[1] || (i[1] = (t) => {
|
|
99
|
+
t || t === 0 ? e.field.handleChange(Number(t)) : e.field.handleChange(void 0);
|
|
100
|
+
})
|
|
101
|
+
}), d({ _: 2 }, [
|
|
102
|
+
l.$slots.label ? {
|
|
103
|
+
name: "label",
|
|
104
|
+
fn: r(() => [
|
|
105
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
106
|
+
]),
|
|
107
|
+
key: "0"
|
|
108
|
+
} : void 0
|
|
109
|
+
]), 1040, ["id", "required", "min", "max", "type", "name", "label", "error-messages", "error", "model-value"])) : u("", !0),
|
|
110
|
+
e.inputProps.type === "radio" ? (a(), n(h, o({
|
|
111
|
+
key: 4,
|
|
112
|
+
id: e.inputProps.id,
|
|
113
|
+
name: e.field.name,
|
|
114
|
+
label: e.inputProps.label,
|
|
115
|
+
"error-messages": e.inputProps.errorMessages,
|
|
116
|
+
error: e.inputProps.error
|
|
117
|
+
}, l.$attrs, {
|
|
118
|
+
"model-value": e.state.value,
|
|
119
|
+
"onUpdate:modelValue": e.field.handleChange
|
|
120
|
+
}), d({
|
|
121
|
+
default: r(() => [
|
|
122
|
+
(a(!0), v(V, null, U(e.inputProps.options, (t) => (a(), n(f, {
|
|
123
|
+
key: t.value,
|
|
124
|
+
label: t.title,
|
|
125
|
+
value: t.value
|
|
126
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
127
|
+
]),
|
|
128
|
+
_: 2
|
|
129
|
+
}, [
|
|
130
|
+
l.$slots.label ? {
|
|
131
|
+
name: "label",
|
|
132
|
+
fn: r(() => [
|
|
133
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
134
|
+
]),
|
|
135
|
+
key: "0"
|
|
136
|
+
} : void 0
|
|
137
|
+
]), 1040, ["id", "name", "label", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
138
|
+
e.inputProps.type === "select" || e.inputProps.type === "multiple" ? (a(), n(q, o({
|
|
139
|
+
key: 5,
|
|
140
|
+
id: e.inputProps.id,
|
|
141
|
+
clearable: e.inputProps.type === "select",
|
|
142
|
+
required: e.inputProps.required,
|
|
143
|
+
multiple: e.inputProps.type === "multiple",
|
|
144
|
+
chips: e.inputProps.type === "multiple",
|
|
145
|
+
name: e.field.name,
|
|
146
|
+
label: e.inputProps.label,
|
|
147
|
+
items: e.inputProps.options,
|
|
148
|
+
"error-messages": e.inputProps.errorMessages,
|
|
149
|
+
error: e.inputProps.error
|
|
150
|
+
}, l.$attrs, {
|
|
151
|
+
"model-value": e.state.value,
|
|
152
|
+
onClear: i[2] || (i[2] = (t) => e.field.handleChange(void 0)),
|
|
153
|
+
"onUpdate:modelValue": e.field.handleChange
|
|
154
|
+
}), d({ _: 2 }, [
|
|
155
|
+
l.$slots.label ? {
|
|
156
|
+
name: "label",
|
|
157
|
+
fn: r(() => [
|
|
158
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
159
|
+
]),
|
|
160
|
+
key: "0"
|
|
161
|
+
} : void 0
|
|
162
|
+
]), 1040, ["id", "clearable", "required", "multiple", "chips", "name", "label", "items", "error-messages", "error", "model-value", "onUpdate:modelValue"])) : u("", !0),
|
|
163
|
+
e.inputProps.type === "autocomplete" || e.inputProps.type === "autocompletemultiple" ? (a(), n($, o({
|
|
164
|
+
key: 6,
|
|
165
|
+
id: e.inputProps.id,
|
|
166
|
+
clearable: e.inputProps.type === "autocomplete",
|
|
167
|
+
multiple: e.inputProps.type === "autocompletemultiple",
|
|
168
|
+
required: e.inputProps.required,
|
|
169
|
+
name: e.field.name,
|
|
170
|
+
label: e.inputProps.label,
|
|
171
|
+
items: e.inputProps.options,
|
|
172
|
+
"error-messages": e.inputProps.errorMessages,
|
|
173
|
+
error: e.inputProps.error,
|
|
174
|
+
chips: e.inputProps.type === "autocompletemultiple"
|
|
175
|
+
}, l.$attrs, {
|
|
176
|
+
"model-value": e.state.value,
|
|
177
|
+
onClear: i[3] || (i[3] = (t) => e.field.handleChange(void 0)),
|
|
178
|
+
"onUpdate:modelValue": e.field.handleChange
|
|
179
|
+
}), d({ _: 2 }, [
|
|
180
|
+
l.$slots.label ? {
|
|
181
|
+
name: "label",
|
|
182
|
+
fn: r(() => [
|
|
183
|
+
m(l.$slots, "label", s(P({ required: e.inputProps.required, id: e.inputProps.id, label: e.inputProps.label })))
|
|
184
|
+
]),
|
|
185
|
+
key: "0"
|
|
186
|
+
} : void 0
|
|
187
|
+
]), 1040, ["id", "clearable", "multiple", "required", "name", "label", "items", "error-messages", "error", "chips", "model-value", "onUpdate:modelValue"])) : u("", !0)
|
|
188
|
+
], 32);
|
|
189
|
+
};
|
|
23
190
|
}
|
|
24
|
-
return [];
|
|
25
191
|
});
|
|
26
192
|
export {
|
|
27
|
-
|
|
28
|
-
w as append,
|
|
29
|
-
d as appendAll,
|
|
30
|
-
N as dedupeWith,
|
|
31
|
-
a as fromIterable,
|
|
32
|
-
h as getUnsafe,
|
|
33
|
-
A as headNonEmpty,
|
|
34
|
-
x as isArrayNonEmpty,
|
|
35
|
-
m as isOutOfBounds,
|
|
36
|
-
u as isReadonlyArrayNonEmpty,
|
|
37
|
-
E as tailNonEmpty,
|
|
38
|
-
I as union,
|
|
39
|
-
l as unionWith
|
|
193
|
+
w as default
|
|
40
194
|
};
|