oeos-components 0.2.25 → 0.2.26

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.
@@ -1,77 +0,0 @@
1
- import { defineComponent as N, withDirectives as z, h as E, inject as H, createElementBlock as m, unref as n, openBlock as a, Fragment as v, createElementVNode as x, renderList as B, createBlock as $, createVNode as O, useSlots as U, provide as X, computed as q, normalizeClass as C, createCommentVNode as Y, renderSlot as F, createTextVNode as L, toDisplayString as P, useCssVars as Z, mergeProps as ee, withCtx as j } from "vue";
2
- import { g as le, a as I, u as J, b as te, c as R, d as ae, e as K, f as se, h as ne, j as re, k as oe, l as ie, p as ce, _ as de, w as pe } from "./index-DkSTvVGB.js";
3
- import G from "./index-DqMKoDe8.js";
4
- const T = Symbol("elDescriptions");
5
- var A = N({ name: "ElDescriptionsCell", props: { cell: { type: Object }, tag: { type: String, default: "td" }, type: { type: String } }, setup: () => ({ descriptions: H(T, {}) }), render() {
6
- var g;
7
- const l = le(this.cell), s = (((g = this.cell) == null ? void 0 : g.dirs) || []).map((b) => {
8
- const { dir: i, arg: c, modifiers: V, value: S } = b;
9
- return [i, S, c, V];
10
- }), { border: k, direction: t } = this.descriptions, r = t === "vertical", o = () => {
11
- var b, i, c;
12
- return ((c = (i = (b = this.cell) == null ? void 0 : b.children) == null ? void 0 : i.label) == null ? void 0 : c.call(i)) || l.label;
13
- }, W = () => {
14
- var b, i, c;
15
- return (c = (i = (b = this.cell) == null ? void 0 : b.children) == null ? void 0 : i.default) == null ? void 0 : c.call(i);
16
- }, e = l.span, y = l.rowspan, d = l.align ? `is-${l.align}` : "", p = l.labelAlign ? `is-${l.labelAlign}` : d, D = l.className, h = l.labelClassName, f = this.type === "label" && (l.labelWidth || this.descriptions.labelWidth) || l.width, w = { width: I(f), minWidth: I(l.minWidth) }, u = J("descriptions");
17
- switch (this.type) {
18
- case "label":
19
- return z(E(this.tag, { style: w, class: [u.e("cell"), u.e("label"), u.is("bordered-label", k), u.is("vertical-label", r), p, h], colSpan: r ? e : 1, rowspan: r ? 1 : y }, o()), s);
20
- case "content":
21
- return z(E(this.tag, { style: w, class: [u.e("cell"), u.e("content"), u.is("bordered-content", k), u.is("vertical-content", r), d, D], colSpan: r ? e : 2 * e - 1, rowspan: r ? 2 * y - 1 : y }, W()), s);
22
- default: {
23
- const b = o(), i = {}, c = I(l.labelWidth || this.descriptions.labelWidth);
24
- return c && (i.width = c, i.display = "inline-block"), z(E("td", { style: w, class: [u.e("cell"), d], colSpan: e, rowspan: y }, [te(b) ? void 0 : E("span", { style: i, class: [u.e("label"), h] }, b), E("span", { class: [u.e("content"), D] }, W())]), s);
25
- }
26
- }
27
- } });
28
- const ue = R({ row: { type: ae(Array), default: () => [] } }), ye = N({ name: "ElDescriptionsRow" });
29
- var be = K(N({ ...ye, props: ue, setup(g) {
30
- const l = H(T, {});
31
- return (s, k) => n(l).direction === "vertical" ? (a(), m(v, { key: 0 }, [x("tr", null, [(a(!0), m(v, null, B(s.row, (t, r) => (a(), $(n(A), { key: `tr1-${r}`, cell: t, tag: "th", type: "label" }, null, 8, ["cell"]))), 128))]), x("tr", null, [(a(!0), m(v, null, B(s.row, (t, r) => (a(), $(n(A), { key: `tr2-${r}`, cell: t, tag: "td", type: "content" }, null, 8, ["cell"]))), 128))])], 64)) : (a(), m("tr", { key: 1 }, [(a(!0), m(v, null, B(s.row, (t, r) => (a(), m(v, { key: `tr3-${r}` }, [n(l).border ? (a(), m(v, { key: 0 }, [O(n(A), { cell: t, tag: "td", type: "label" }, null, 8, ["cell"]), O(n(A), { cell: t, tag: "td", type: "content" }, null, 8, ["cell"])], 64)) : (a(), $(n(A), { key: 1, cell: t, tag: "td", type: "both" }, null, 8, ["cell"]))], 64))), 128))]));
32
- } }), [["__file", "descriptions-row.vue"]]);
33
- const me = R({ border: Boolean, column: { type: Number, default: 3 }, direction: { type: String, values: ["horizontal", "vertical"], default: "horizontal" }, size: se, title: { type: String, default: "" }, extra: { type: String, default: "" }, labelWidth: { type: [String, Number], default: "" } }), M = "ElDescriptionsItem", he = N({ name: "ElDescriptions" });
34
- var fe = K(N({ ...he, props: me, setup(g) {
35
- const l = g, s = J("descriptions"), k = ne(), t = U();
36
- X(T, l);
37
- const r = q(() => [s.b(), s.m(k.value)]), o = (e, y, d, p = !1) => (e.props || (e.props = {}), y > d && (e.props.span = d), p && (e.props.span = y), e), W = () => {
38
- if (!t.default)
39
- return [];
40
- const e = re(t.default()).filter((f) => {
41
- var w;
42
- return ((w = f == null ? void 0 : f.type) == null ? void 0 : w.name) === M;
43
- }), y = [];
44
- let d = [], p = l.column, D = 0;
45
- const h = [];
46
- return e.forEach((f, w) => {
47
- var u, b, i;
48
- const c = ((u = f.props) == null ? void 0 : u.span) || 1, V = ((b = f.props) == null ? void 0 : b.rowspan) || 1, S = y.length;
49
- if (h[S] || (h[S] = 0), V > 1)
50
- for (let _ = 1; _ < V; _++)
51
- h[i = S + _] || (h[i] = 0), h[S + _]++, D++;
52
- if (h[S] > 0 && (p -= h[S], h[S] = 0), w < e.length - 1 && (D += c > p ? p : c), w === e.length - 1) {
53
- const _ = l.column - D % l.column;
54
- return d.push(o(f, _, p, !0)), void y.push(d);
55
- }
56
- c < p ? (p -= c, d.push(f)) : (d.push(o(f, c, p)), y.push(d), p = l.column, d = []);
57
- }), y;
58
- };
59
- return (e, y) => (a(), m("div", { class: C(n(r)) }, [e.title || e.extra || e.$slots.title || e.$slots.extra ? (a(), m("div", { key: 0, class: C(n(s).e("header")) }, [x("div", { class: C(n(s).e("title")) }, [F(e.$slots, "title", {}, () => [L(P(e.title), 1)])], 2), x("div", { class: C(n(s).e("extra")) }, [F(e.$slots, "extra", {}, () => [L(P(e.extra), 1)])], 2)], 2)) : Y("v-if", !0), x("div", { class: C(n(s).e("body")) }, [x("table", { class: C([n(s).e("table"), n(s).is("bordered", e.border)]) }, [x("tbody", null, [(a(!0), m(v, null, B(W(), (d, p) => (a(), $(be, { key: p, row: d }, null, 8, ["row"]))), 128))])], 2)], 2)], 2));
60
- } }), [["__file", "description.vue"]]);
61
- const ve = R({ label: { type: String, default: "" }, span: { type: Number, default: 1 }, rowspan: { type: Number, default: 1 }, width: { type: [String, Number], default: "" }, minWidth: { type: [String, Number], default: "" }, labelWidth: { type: [String, Number], default: "" }, align: { type: String, default: "left" }, labelAlign: { type: String, default: "" }, className: { type: String, default: "" }, labelClassName: { type: String, default: "" } }), Q = N({ name: M, props: ve }), ge = oe(fe, { DescriptionsItem: Q }), we = ie(Q), Se = N({ name: "ODescription" }), xe = pe(de(N({ ...Se, props: { options: { type: Array, required: !0 }, column: { type: Number, default: 3 }, labelWidth: { type: String, default: "" }, showAll: { type: Boolean, default: !1 } }, setup(g) {
62
- Z((t) => ({ f1d9efd0: s.value, "4e3d7188": k.value }));
63
- const l = g, s = q(() => {
64
- let t = 1;
65
- return (l.options ?? []).forEach((r) => {
66
- let o = r.label.length;
67
- o > t && (t = o);
68
- }), l.labelWidth ? ce(l.labelWidth, !0) : 12 * t + "px";
69
- }), k = q(() => l.column);
70
- return (t, r) => (a(), $(n(ge), ee({ border: !0, ...t.$attrs }, { column: k.value, class: "o-description" }), { default: j(() => [(a(!0), m(v, null, B(g.options, (o, W) => (a(), $(n(we), { key: W }, { label: j(() => [O(n(G), { content: o.label }, null, 8, ["content"])]), default: j(() => {
71
- return [o.slotName ? F(t.$slots, o.slotName, { key: 0, item: o, label: o.label, value: o.value, index: W }, void 0, !0) : (a(), m(v, { key: 1 }, [g.showAll ? (a(), m(v, { key: 0 }, [L(P(o.value), 1)], 64)) : (a(), $(n(G), { key: 1, class: "w-100%", content: (e = o.value, typeof e == "function" ? e() : e) }, null, 8, ["content"]))], 64))];
72
- var e;
73
- }), _: 2 }, 1024))), 128))]), _: 3 }, 16, ["column"]));
74
- } }), [["__scopeId", "data-v-eee7bd51"]]));
75
- export {
76
- xe as default
77
- };
@@ -1,9 +0,0 @@
1
- import { defineComponent as d, getCurrentInstance as y, createElementBlock as o, openBlock as a, createCommentVNode as r, createElementVNode as c, normalizeStyle as s, renderSlot as l } from "vue";
2
- import { _ as n, w as i } from "./index-DkSTvVGB.js";
3
- const f = { class: "basic-layout-box" }, m = d({ name: "OBasicLayout" }), b = i(n(d({ ...m, props: { headerStyle: { type: Object, default: () => ({}) }, mainStyle: { type: Object, default: () => ({}) }, footerStyle: { type: Object, default: () => ({}) } }, setup(t) {
4
- const { proxy: p } = y();
5
- return (e, u) => (a(), o("div", f, [e.$slots.header ? (a(), o("div", { key: 0, class: "header", style: s(t.headerStyle) }, [l(e.$slots, "header", {}, void 0, !0)], 4)) : r("", !0), c("div", { class: "main", style: s(t.mainStyle) }, [l(e.$slots, "default", {}, void 0, !0)], 4), e.$slots.footer ? (a(), o("div", { key: 1, class: "footer", style: s(t.footerStyle) }, [l(e.$slots, "footer", {}, void 0, !0)], 4)) : r("", !0)]));
6
- } }), [["__scopeId", "data-v-01f88f5c"]]));
7
- export {
8
- b as default
9
- };
@@ -1,52 +0,0 @@
1
- import { defineComponent as Y, useAttrs as yt, ref as z, computed as A, watch as Q, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as T, createCommentVNode as f, mergeProps as u, withCtx as d, renderSlot as $, createBlock as i, Fragment as c, renderList as E, normalizeProps as U, unref as W, resolveDynamicComponent as I, createTextVNode as j, toDisplayString as b, withModifiers as X, createElementVNode as h, pushScopeId as wt, popScopeId as ft } from "vue";
2
- import bt from "./index-IcBLFNZx.js";
3
- import ht from "./index-E4jh-RZ6.js";
4
- import { m as gt, _ as kt, w as vt } from "./index-DkSTvVGB.js";
5
- const V = (y) => (wt("data-v-a65d44b8"), y = y(), ft(), y), xt = { class: "o-table" }, Bt = V(() => h("span", null, "序号", -1)), St = ["onClick"], Ct = { key: 2 }, _t = { key: 3 }, zt = { key: 0, style: { height: "64px" } }, Tt = { class: "page-wrap" }, $t = { class: "page-left" }, Pt = V(() => h("span", null, "共", -1)), Nt = { class: "m-lr-5" }, Ot = V(() => h("span", null, "项数据", -1)), At = Y({ name: "OTable" }), Lt = vt(kt(Y({ ...At, props: { data: { type: Array, default: () => [] }, columns: { type: Array, default: () => [] }, showPage: { type: Boolean, default: !0 }, showIndex: { type: Boolean, default: !0 }, pageSize: { type: Number, default: 30 }, pageSizes: { type: Array, default: () => [10, 30, 50, 100] }, total: { type: Number }, columnEmptyText: { type: String, default: "-" }, isLoading: { type: Boolean } }, emits: ["update"], setup(y, { emit: Z }) {
6
- const C = yt(), m = y, tt = z(null), L = A(() => m.total || m.data.length), k = z(m.pageSize), et = Z, D = z([]);
7
- Q(() => m.columns, () => {
8
- D.value = m.columns.map((t) => {
9
- let n = [], o = [];
10
- t.btns && (t.maxBtns = t.maxBtns || 3, t.btns = t.btns.map((B) => (B.isShow === void 0 && (B.isShow = !0), B)), t.btns.length > t.maxBtns ? (n = t.btns.slice(0, t.maxBtns), o = t.btns.slice(t.maxBtns)) : n = t.btns);
11
- let x = { showOverflowTooltip: !0, baseBtns: n, hideBtns: o, maxBtns: t.maxBtns || 3 };
12
- return Object.assign({}, x, t);
13
- });
14
- }, { immediate: !0, deep: !0 }), Q(() => m.pageSize, (t) => {
15
- k.value = t;
16
- }, { immediate: !0 });
17
- const P = (t, n = "", o = "") => typeof t == "function" ? !n || t(n, o) : t === void 0 || t, g = (t, n = "", o = "") => typeof t == "function" ? !!n && t(n, o) : t !== void 0 && t, N = (t, n = "", o = "") => typeof t == "function" ? t(n, o) : t === void 0 || t, at = (t, n = "", o = "") => typeof t == "function" ? t(n, o) : t !== void 0 && t, lt = (t) => t + 1 + (v.value - 1) * k.value, H = (t, n) => {
18
- const o = gt(t.row[n.prop]) === "string" && t.row[n.prop].trim().length === 0;
19
- return t.row[n.prop] === null || t.row[n.prop] === void 0 || t.row[n.prop] === "" || o ? n.columnEmptyText || m.columnEmptyText : t.row[n.prop];
20
- }, v = z(1);
21
- function st(t) {
22
- k.value = t, v.value = 1, F();
23
- }
24
- function nt(t) {
25
- v.value = t, F();
26
- }
27
- function F() {
28
- et("update", v.value, k.value);
29
- }
30
- const ot = A(() => m.isLoading === !0 ? "" : "暂无数据"), rt = A(() => C.hasOwnProperty("empty-text") ? C["empty-text"] : C.hasOwnProperty("emptyText") ? C.emptyText : ot.value);
31
- return (t, n) => {
32
- const o = w("el-table-column"), x = w("el-button"), B = w("el-dropdown-item"), it = w("el-dropdown-menu"), dt = w("el-dropdown"), pt = w("el-table"), ut = w("el-pagination");
33
- return s(), r("div", xt, [T(pt, u({ data: m.data, ref_key: "tableRef", ref: tt, "header-cell-style": { background: "#f7f8fa", color: "rgba(39,48,75,0.85)", height: "50px", textAlign: "center", ...t.$attrs["header-cell-style"] || {} }, "empty-text": rt.value }, { stripe: !0, border: !0, ...t.$attrs }), { default: d(() => [$(t.$slots, "default", {}, void 0, !0), y.showIndex ? (s(), i(o, { key: 0, type: "index", width: "60", align: "center", index: lt }, { header: d(({ column: l }) => [Bt]), _: 1 })) : f("", !0), (s(!0), r(c, null, E(D.value, (l, G) => {
34
- return s(), r(c, { key: G }, [(S = l.isShowColumn, q = l, J = G, (typeof S == "function" ? S(q, J) : S === void 0 || S) ? (s(), r(c, { key: 0 }, [l.type ? (s(), i(o, u({ key: l.type }, { align: "center", ...l }), null, 16)) : l.baseBtns && l.baseBtns.length > 0 ? (s(), i(o, U(u({ key: 1 }, { fixed: "right", width: (M = l.baseBtns, R = l.hideBtns, 26 + 36 * (M.length + (R.length === 0 ? 0 : 1)) + "px"), ...l })), { default: d((e) => [N(l.isShow, e.row, e) ? (s(), r(c, { key: 0 }, [(s(!0), r(c, null, E(l.baseBtns, (a, O) => (s(), r(c, { key: O }, [N(a.isShow, e.row, e) ? (s(), r(c, { key: 0 }, [a.useSlot ? $(t.$slots, a.prop, { key: 0, row: e.row, scope: e, value: e.row[a.prop] }, void 0, !0) : at(a.reConfirm, e.row, e) ? (s(), i(W(bt), { key: 1, trigger: "click", title: a.title ?? "确定删除吗?", onConfirm: (_) => {
35
- var p;
36
- return (p = a.handler) == null ? void 0 : p.call(a, e.row, e);
37
- }, class: "f-st-ct" }, { default: d(() => [a.comp ? (s(), i(I(a.comp), u({ key: 0, class: "mlr cp" }, a.attrs, { disabled: g(a.disabled, e.row, e) }), null, 16, ["disabled"])) : (s(), i(x, u({ key: 1 }, { ...a }, { link: "", class: "hide-btns-button", disabled: g(a.disabled, e.row, e) }), { default: d(() => [j(b(P(a.content, e.row, e)), 1)]), _: 2 }, 1040, ["disabled"]))]), _: 2 }, 1032, ["title", "onConfirm"])) : a.comp ? (s(), i(I(a.comp), u({ key: 2, class: "mlr cp" }, a.attrs, { disabled: g(a.disabled, e.row, e), onClick: (_) => ((p, ct, mt, K) => {
38
- p && (K.stopPropagation(), p(ct, mt, K));
39
- })(a.handler, e.row, e, _) }), null, 16, ["disabled", "onClick"])) : (s(), i(x, u({ key: 3 }, { ...a }, { link: "", disabled: g(a.disabled, e.row, e), class: "hide-btns-button", onClick: X((_) => {
40
- var p;
41
- return (p = a.handler) == null ? void 0 : p.call(a, e.row, e);
42
- }, ["stop"]) }), { default: d(() => [j(b(P(a.content, e.row, e)), 1)]), _: 2 }, 1040, ["disabled", "onClick"]))], 64)) : f("", !0)], 64))), 128)), l.hideBtns.length > 0 ? (s(), i(dt, { key: 0, class: "", trigger: "click" }, { dropdown: d(() => [T(it, { "hide-on-click": !1 }, { default: d(() => [(s(!0), r(c, null, E(l.hideBtns, (a, O) => (s(), r(c, { key: O }, [N(a.isShow, e.row, e) ? (s(), i(B, { key: 0, "hide-on-click": !1, onClick: (_) => {
43
- var p;
44
- return (p = a.handler) == null ? void 0 : p.call(a, e.row, e);
45
- } }, { default: d(() => [a.useSlot ? $(t.$slots, a.prop, { key: 0, row: e.row, scope: e, value: e.row[a.prop] }, void 0, !0) : (s(), r(c, { key: 1 }, [a.comp ? (s(), i(I(a.comp), u({ key: 0 }, a.attrs, { disabled: g(a.disabled, e.row, e) }), null, 16, ["disabled"])) : (s(), i(x, u({ key: 1 }, { ...a }, { link: "", class: "hide-btns-button", disabled: g(a.disabled, e.row, e) }), { default: d(() => [j(b(P(a.content, e.row, e)), 1)]), _: 2 }, 1040, ["disabled"]))], 64))]), _: 2 }, 1032, ["onClick"])) : f("", !0)], 64))), 128))]), _: 2 }, 1024)]), default: d(() => [T(W(ht), { name: "more" })]), _: 2 }, 1024)) : f("", !0)], 64)) : f("", !0)]), _: 2 }, 1040)) : (s(), i(o, U(u({ key: 2 }, { ...l })), { default: d((e) => [l.useSlot ? $(t.$slots, l.prop, { key: 0, row: e.row, scope: e, value: e.row[l.prop] }, void 0, !0) : l.handler ? (s(), r("span", { key: 1, class: "hide-btns-button", onClick: X((a) => l.handler(e.row, e), ["stop"]) }, [h("span", null, b(l.filter ? l.filter(e.row[l.prop], e.row, e) : H(e, l)), 1)], 8, St)) : l.filter ? (s(), r("span", Ct, b(l.filter(e.row[l.prop], e.row, e)), 1)) : (s(), r("span", _t, b(H(e, l)), 1))]), _: 2 }, 1040))], 64)) : f("", !0))], 64);
46
- var M, R, S, q, J;
47
- }), 128))]), _: 3 }, 16, ["data", "header-cell-style", "empty-text"]), y.showPage ? (s(), r("div", zt, [h("div", Tt, [h("div", $t, [Pt, h("span", Nt, b(L.value), 1), Ot]), T(ut, { class: "tab_pagination", background: "", "current-page": v.value, "page-size": k.value, "page-sizes": y.pageSizes, layout: "prev, pager, next, sizes, jumper", total: L.value, onSizeChange: st, onCurrentChange: nt }, null, 8, ["current-page", "page-size", "page-sizes", "total"])])])) : f("", !0)]);
48
- };
49
- } }), [["__scopeId", "data-v-a65d44b8"]]));
50
- export {
51
- Lt as default
52
- };
@@ -1,39 +0,0 @@
1
- import { defineComponent as u, ref as j, resolveComponent as y, resolveDirective as w, createElementBlock as c, openBlock as r, createVNode as k, mergeProps as a, withCtx as p, Fragment as R, renderList as x, createBlock as i, renderSlot as h, withDirectives as B, resolveDynamicComponent as D, createCommentVNode as L, unref as A } from "vue";
2
- import { v as $, i as q, _ as N, w as S } from "./index-DkSTvVGB.js";
3
- import U from "./index-E4jh-RZ6.js";
4
- import E from "./index-DqMKoDe8.js";
5
- const I = u({ name: "RenderComp", props: { render: Function, item: Object }, render: (t) => t.render(t == null ? void 0 : t.item) }), P = ["src"], z = u({ name: "OForm" }), M = S(N(u({ ...z, props: { fieldList: { type: Object, required: !0 }, model: { type: Object, required: !0 } }, setup(t, { expose: F }) {
6
- const O = (l) => {
7
- if (l.comp && typeof l.comp == "string") {
8
- if (l.comp.includes("input"))
9
- return l.placeholder ?? "请输入" + l.label;
10
- if (l.comp.includes("select") || l.comp.includes("date"))
11
- return l.placeholder ?? "请选择" + l.label;
12
- }
13
- return l.placeholder ?? "";
14
- }, m = j();
15
- function f() {
16
- m.value.resetFields();
17
- }
18
- function _(l) {
19
- if (q(l))
20
- return "";
21
- let s = { trigger: ["blur", "change"] };
22
- return l.map((d) => {
23
- let o = Object.assign({}, s, d);
24
- return o.validator || o.message || (o.message = "请输入"), o;
25
- });
26
- }
27
- return F({ validate: async function(l = !1, s = {}) {
28
- await $(m, s), l && f();
29
- }, resetFields: f }), (l, s) => {
30
- const d = y("el-form-item"), o = y("el-form"), C = w("directives");
31
- return r(), c("div", null, [k(o, a({ ref_key: "oFormRef", ref: m, model: t.model }, { "label-width": "auto", ...l.$attrs }), { default: p(() => [(r(!0), c(R, null, x(t.fieldList, (e, V) => (r(), i(d, a({ key: V, prop: e.prop, label: e.label }, e.formAttrs, { rules: _(e.rules) }), { label: p(() => [e.labelRender ? (r(), i(I, { key: 0, render: e.labelRender, item: e }, null, 8, ["render", "item"])) : h(l.$slots, e.prop + "-label", { key: 1 }, () => {
32
- var n, b, g, v;
33
- return [(n = e.imgAttrs) != null && n.src ? (r(), c("img", a({ key: 0, src: (b = e.imgAttrs) == null ? void 0 : b.src, class: "h-16" }, e.imgAttrs), null, 16, P)) : (g = e.imgAttrs) != null && g.name ? (r(), i(A(U), a({ key: 1, name: (v = e.imgAttrs) == null ? void 0 : v.name, class: "m-r-4" }, e.imgAttrs), null, 16, ["name"])) : L("", !0), k(A(E), { content: e.label }, null, 8, ["content"])];
34
- }, !0)]), default: p(() => [e.useSlot ? h(l.$slots, e.prop, { key: 0 }, void 0, !0) : B((r(), i(D(e.comp || "o-input"), a({ key: 1, modelValue: t.model[e.prop], "onUpdate:modelValue": (n) => t.model[e.prop] = n, placeholder: O(e), rules: e.rules }, { clearable: !0, filterable: !0, ...e.attrs }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "rules"])), [[C, e.directives]])]), _: 2 }, 1040, ["prop", "label", "rules"]))), 128))]), _: 3 }, 16, ["model"])]);
35
- };
36
- } }), [["__scopeId", "data-v-2c4799ea"]]));
37
- export {
38
- M as default
39
- };