@done-coding/admin-core 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/app-layout/AppBody.vue.mjs +1 -1
- package/es/components/app-layout/AppBody.vue2.mjs +43 -39
- package/es/components/app-layout/AppPage.vue.mjs +2 -2
- package/es/components/app-layout/AppPage.vue2.mjs +114 -105
- package/es/components/display/TabsHeader.vue.mjs +2 -2
- package/es/components/display/TabsHeader.vue2.mjs +31 -32
- package/es/components/display/TabsRefineFlow.vue.mjs +30 -32
- package/es/components/display/TabsTile.vue.mjs +2 -2
- package/es/components/display/WatchSize.vue.mjs +34 -31
- package/es/components/form/FormMain.vue.mjs +2 -2
- package/es/components/form/FormMain.vue2.mjs +80 -75
- package/es/components/form/FormSearch.vue.mjs +1 -1
- package/es/components/form/FormSearch.vue2.mjs +82 -80
- package/es/components/form/FormSubmitPanel.vue2.mjs +11 -10
- package/es/components/form/use-layout-by-container.mjs +20 -0
- package/es/components/list-page/ListPage.vue.mjs +2 -2
- package/es/components/list-page/ListPage.vue2.mjs +167 -137
- package/es/components/list-page/use-sticky.mjs +41 -0
- package/es/components/modal/ConfirmModal.vue.mjs +3 -2
- package/es/components/modal/ConfirmModal.vue2.mjs +104 -55
- package/es/components/modal/DetailModal.vue.mjs +40 -34
- package/es/components/modal/ModalPorter.vue.mjs +20 -23
- package/es/components/table/TableMain.vue.mjs +1 -1
- package/es/components/table/TableMain.vue2.mjs +27 -28
- package/es/hooks/activated.mjs +16 -24
- package/es/hooks/use-breakpoint.mjs +17 -21
- package/es/hooks/use-channel-viewport-height.mjs +26 -8
- package/es/hooks/use-observe-size.mjs +26 -0
- package/es/index.mjs +177 -173
- package/es/inject/key.mjs +18 -15
- package/es/style.css +1 -1
- package/es/utils/dom.mjs +11 -1
- package/package.json +2 -2
- package/types/components/app-layout/AppPage.vue.d.ts +8 -0
- package/types/components/display/TabsTile.vue.d.ts +2 -2
- package/types/components/display/WatchSize.vue.d.ts +4 -0
- package/types/components/display/types.d.ts +1 -5
- package/types/components/form/FormItem.vue.d.ts +8 -8
- package/types/components/form/FormMain.vue.d.ts +1 -12
- package/types/components/form/FormSubmitPanel.vue.d.ts +1 -1
- package/types/components/form/types.d.ts +1 -0
- package/types/components/form/use-layout-by-container.d.ts +11 -0
- package/types/components/list-page/ListPage.vue.d.ts +6 -1
- package/types/components/list-page/types.d.ts +5 -0
- package/types/components/list-page/use-sticky.d.ts +19 -0
- package/types/components/modal/ConfirmModal.vue.d.ts +15 -3
- package/types/components/modal/DetailModal.vue.d.ts +4 -1
- package/types/components/panel/PanelItemNestForm.vue.d.ts +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/use-channel-viewport-height.d.ts +2 -1
- package/types/hooks/use-observe-size.d.ts +7 -0
- package/types/inject/key.d.ts +8 -2
- package/types/injectInfo.json.d.ts +1 -1
- package/types/utils/dom.d.ts +1 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as H, ref as
|
|
2
|
-
import
|
|
3
|
-
import { useChannelViewportHeight as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as H, ref as u, computed as i, provide as f, watch as v, openBlock as w, createBlock as C, createSlots as S, withCtx as a, createElementVNode as V, normalizeStyle as _, renderSlot as r } from "vue";
|
|
2
|
+
import b from "./HeightProvider.vue.mjs";
|
|
3
|
+
import { useChannelViewportHeight as x } from "../../hooks/use-channel-viewport-height.mjs";
|
|
4
|
+
import { SCOPE_VIEWPORT_MAX_HEIGHT as $ } from "../../inject/key.mjs";
|
|
5
|
+
const k = /* @__PURE__ */ H({
|
|
5
6
|
__name: "TabsRefineFlow",
|
|
6
7
|
props: {
|
|
7
8
|
viewportHeight: {},
|
|
@@ -12,47 +13,44 @@ const F = /* @__PURE__ */ H({
|
|
|
12
13
|
refineReduceHeight: { default: 0 }
|
|
13
14
|
},
|
|
14
15
|
emits: ["viewportHeightChange"],
|
|
15
|
-
setup(n, { emit:
|
|
16
|
-
const
|
|
17
|
-
padding:
|
|
16
|
+
setup(n, { emit: p }) {
|
|
17
|
+
const t = n, h = p, { viewportHeightFinal: d, nearestScope: l } = x(t), o = u(0), s = i(() => t.padding[0] + t.padding[2]), c = i(() => ({
|
|
18
|
+
padding: t.padding.map((e) => `${e}px`).join(" "),
|
|
18
19
|
boxSizing: "border-box"
|
|
19
|
-
})),
|
|
20
|
+
})), g = i(
|
|
20
21
|
() => Math.max(
|
|
21
|
-
|
|
22
|
+
d.value - s.value - t.refineReduceHeight,
|
|
22
23
|
0
|
|
23
24
|
)
|
|
24
|
-
), m =
|
|
25
|
-
|
|
26
|
-
), u = i(() => m.value + 1), f = (t) => {
|
|
27
|
-
l.value = t, p("viewportHeightChange", t);
|
|
25
|
+
), m = (e) => {
|
|
26
|
+
o.value = e, h("viewportHeightChange", e);
|
|
28
27
|
};
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}), b(
|
|
28
|
+
return f($, {
|
|
29
|
+
scope: t.channel,
|
|
30
|
+
viewportMaxHeight: i(() => o.value),
|
|
31
|
+
parent: l
|
|
32
|
+
}), v(
|
|
35
33
|
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
36
|
-
() =>
|
|
34
|
+
() => t.channel,
|
|
37
35
|
() => console.error("[TabsMain] channel 不支持响应式变更,当前值已忽略。")
|
|
38
|
-
), (
|
|
39
|
-
viewportHeight:
|
|
36
|
+
), (e, y) => (w(), C(b, {
|
|
37
|
+
viewportHeight: g.value,
|
|
40
38
|
minHeight: n.minHeight,
|
|
41
|
-
onChildViewportHeightChange:
|
|
42
|
-
},
|
|
43
|
-
default:
|
|
44
|
-
|
|
45
|
-
style:
|
|
39
|
+
onChildViewportHeightChange: m
|
|
40
|
+
}, S({
|
|
41
|
+
default: a(() => [
|
|
42
|
+
V("div", {
|
|
43
|
+
style: _(c.value)
|
|
46
44
|
}, [
|
|
47
|
-
|
|
45
|
+
r(e.$slots, "default")
|
|
48
46
|
], 4)
|
|
49
47
|
]),
|
|
50
48
|
_: 2
|
|
51
49
|
}, [
|
|
52
|
-
|
|
50
|
+
e.$slots.header ? {
|
|
53
51
|
name: "header",
|
|
54
|
-
fn:
|
|
55
|
-
|
|
52
|
+
fn: a(() => [
|
|
53
|
+
r(e.$slots, "header")
|
|
56
54
|
]),
|
|
57
55
|
key: "0"
|
|
58
56
|
} : void 0
|
|
@@ -60,5 +58,5 @@ const F = /* @__PURE__ */ H({
|
|
|
60
58
|
}
|
|
61
59
|
});
|
|
62
60
|
export {
|
|
63
|
-
|
|
61
|
+
k as default
|
|
64
62
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TabsTile.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0843fa11"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { defineComponent as l, shallowRef as u, nextTick as m, onUpdated as f, openBlock as g, createElementBlock as v, renderSlot as p } from "vue";
|
|
2
|
+
import b from "lodash/debounce";
|
|
3
|
+
import { useObserveSize as w } from "../../hooks/use-observe-size.mjs";
|
|
4
|
+
import { useActivated as z } from "../../hooks/activated.mjs";
|
|
5
|
+
const x = /* @__PURE__ */ l({
|
|
5
6
|
__name: "WatchSize",
|
|
6
7
|
props: {
|
|
7
|
-
mode: { default: "height" }
|
|
8
|
+
mode: { default: "height" },
|
|
9
|
+
observeResize: { type: Boolean, default: !1 },
|
|
10
|
+
debounceTime: { default: 16 }
|
|
8
11
|
},
|
|
9
12
|
emits: ["heightChange", "widthChange"],
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
switch (
|
|
13
|
+
setup(c, { emit: d }) {
|
|
14
|
+
const o = c, n = d, i = u(), e = b(() => {
|
|
15
|
+
m(() => {
|
|
16
|
+
var t, a, s, r;
|
|
17
|
+
switch (o.mode) {
|
|
15
18
|
case "height":
|
|
16
|
-
|
|
19
|
+
n("heightChange", ((t = i.value) == null ? void 0 : t.clientHeight) || 0);
|
|
17
20
|
break;
|
|
18
21
|
case "width":
|
|
19
|
-
|
|
22
|
+
n("widthChange", ((a = i.value) == null ? void 0 : a.clientWidth) || 0);
|
|
20
23
|
break;
|
|
21
24
|
case "both":
|
|
22
|
-
|
|
25
|
+
n("heightChange", ((s = i.value) == null ? void 0 : s.clientHeight) || 0), n("widthChange", ((r = i.value) == null ? void 0 : r.clientWidth) || 0);
|
|
23
26
|
break;
|
|
24
27
|
}
|
|
25
28
|
});
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
() =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}), (
|
|
29
|
+
}, o.debounceTime);
|
|
30
|
+
w({
|
|
31
|
+
getTarget: () => i.value,
|
|
32
|
+
onResize: () => e(),
|
|
33
|
+
enabled: () => o.observeResize,
|
|
34
|
+
// 关 hook 内防抖:emitSizeChange 已是跨 RO / window.resize / 激活三源共享的单层防抖,
|
|
35
|
+
// 不宜在 hook 层再叠一层(否则 RO 路径双重防抖)。
|
|
36
|
+
debounce: 0
|
|
37
|
+
});
|
|
38
|
+
const { isActivated: h } = z((t) => {
|
|
39
|
+
t.isActivated ? (e(), window.addEventListener("resize", e)) : (window.removeEventListener("resize", e), t.triggerType === "unmounted" ? (e(), e.flush()) : e.cancel());
|
|
40
|
+
});
|
|
41
|
+
return f(() => {
|
|
42
|
+
h.value && e();
|
|
43
|
+
}), (t, a) => (g(), v("div", {
|
|
41
44
|
ref_key: "box",
|
|
42
|
-
ref:
|
|
45
|
+
ref: i
|
|
43
46
|
}, [
|
|
44
|
-
|
|
47
|
+
p(t.$slots, "default")
|
|
45
48
|
], 512));
|
|
46
49
|
}
|
|
47
50
|
});
|
|
48
51
|
export {
|
|
49
|
-
|
|
52
|
+
x as default
|
|
50
53
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormMain.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cc2ea388"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Y, shallowRef as
|
|
2
|
-
import {
|
|
3
|
-
import Z from "
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { defineComponent as Y, shallowRef as H, provide as h, computed as s, ref as _, watch as b, openBlock as F, createBlock as V, unref as E, withCtx as v, createVNode as j, createElementBlock as U, Fragment as q, renderList as z, withDirectives as J, mergeProps as x, renderSlot as B, vShow as Q } from "vue";
|
|
2
|
+
import { useFormLayoutByContainer as W } from "./use-layout-by-container.mjs";
|
|
3
|
+
import { ElForm as X, ElRow as Z, ElCol as ee } from "element-plus";
|
|
4
|
+
import te from "./FormItem.vue.mjs";
|
|
5
|
+
import { FORM_ITEM_CHANGE_LOADING as ae, stringifyFormData as le, parseFormData as oe, generateFormData as re, resolveFormLayout as R } from "./utils.mjs";
|
|
6
|
+
import { createNestFormExposeMap as se } from "./nest-registry.mjs";
|
|
7
|
+
import { FORM_NEST_REGISTRY_KEY as ne, NEST_LAYOUT_SCALE_KEY as ie } from "../../inject/key.mjs";
|
|
8
|
+
const Ee = /* @__PURE__ */ Y({
|
|
8
9
|
name: "FormMain",
|
|
9
10
|
inheritAttrs: !0,
|
|
10
11
|
__name: "FormMain",
|
|
@@ -13,104 +14,108 @@ const pe = /* @__PURE__ */ Y({
|
|
|
13
14
|
data: {},
|
|
14
15
|
layout: {},
|
|
15
16
|
rowGutter: { default: 8 },
|
|
16
|
-
layoutScale: { default: 1 }
|
|
17
|
+
layoutScale: { default: 1 },
|
|
18
|
+
layoutByContainer: { type: Boolean, default: !1 }
|
|
17
19
|
},
|
|
18
20
|
emits: ["loadingChange", "visibleChange", "submit"],
|
|
19
|
-
setup(d, { expose:
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
setup(d, { expose: M, emit: K }) {
|
|
22
|
+
const o = d, y = K, r = H(), { resolveLayoutByContainer: N } = W({
|
|
23
|
+
enabled: () => o.layoutByContainer,
|
|
24
|
+
getForm: () => r.value
|
|
25
|
+
}), f = se();
|
|
26
|
+
h(ne, f);
|
|
27
|
+
const A = s(() => o.layoutScale ?? 1);
|
|
28
|
+
h(ie, A);
|
|
29
|
+
const i = _([]), n = _({}), C = s(() => !!i.value.length), g = s(() => Object.keys(n.value).filter(
|
|
30
|
+
(e) => n.value[e]
|
|
31
|
+
)), D = s(() => o.list.filter((e) => !g.value.includes(e.key))), G = s(() => D.value.length > 0), I = (e) => e;
|
|
32
|
+
M({
|
|
28
33
|
validate: async () => {
|
|
29
|
-
if (!
|
|
30
|
-
const e = new Promise((
|
|
34
|
+
if (!r.value) return Promise.reject(new Error("实例化未完成"));
|
|
35
|
+
const e = new Promise((a, l) => {
|
|
31
36
|
var u;
|
|
32
|
-
(u =
|
|
37
|
+
(u = r.value) == null || u.validate((P, L) => {
|
|
33
38
|
if (P)
|
|
34
|
-
|
|
39
|
+
a();
|
|
35
40
|
else {
|
|
36
|
-
const m = { ...
|
|
41
|
+
const m = { ...L || {} };
|
|
37
42
|
Object.keys(m).forEach((c) => {
|
|
38
|
-
var
|
|
39
|
-
g.value.includes(c) && (console.log(`当前${c}被隐藏,移除校验`, m[c]), delete m[c], (
|
|
40
|
-
}), Object.keys(m).length === 0 ?
|
|
43
|
+
var O;
|
|
44
|
+
g.value.includes(c) && (console.log(`当前${c}被隐藏,移除校验`, m[c]), delete m[c], (O = r.value) == null || O.clearValidate(c));
|
|
45
|
+
}), Object.keys(m).length === 0 ? a() : l(L);
|
|
41
46
|
}
|
|
42
47
|
});
|
|
43
|
-
}), t = Object.entries(f).filter(([
|
|
48
|
+
}), t = Object.entries(f).filter(([a]) => !g.value.includes(a)).map(([, a]) => a.validate());
|
|
44
49
|
await Promise.all([e, ...t]);
|
|
45
50
|
},
|
|
46
51
|
resetFields: () => {
|
|
47
|
-
if (!
|
|
48
|
-
|
|
52
|
+
if (!r.value) return console.error("实例化未完成");
|
|
53
|
+
r.value.resetFields(), Object.values(f).forEach((e) => e.resetFields());
|
|
49
54
|
},
|
|
50
55
|
clearValidate: (e) => {
|
|
51
|
-
if (!
|
|
52
|
-
|
|
56
|
+
if (!r.value) return console.error("实例化未完成");
|
|
57
|
+
r.value.clearValidate(e), Object.values(f).forEach((t) => t.clearValidate());
|
|
53
58
|
},
|
|
54
|
-
generate: () =>
|
|
55
|
-
parse: (e) =>
|
|
56
|
-
stringify: () =>
|
|
59
|
+
generate: () => re(o.list),
|
|
60
|
+
parse: (e) => oe(e, o.list),
|
|
61
|
+
stringify: () => le(o.data, o.list)
|
|
57
62
|
});
|
|
58
|
-
const
|
|
59
|
-
data:
|
|
63
|
+
const p = s(() => o.list), w = s(() => p.value.reduce((e, t) => (t.rules && (typeof t.rules == "function" ? e[t.key] = t.rules({
|
|
64
|
+
data: o.data,
|
|
60
65
|
config: t
|
|
61
|
-
}) : e[t.key] = t.rules), e), {})),
|
|
66
|
+
}) : e[t.key] = t.rules), e), {})), S = s(() => i.value.reduce(
|
|
62
67
|
(e, t) => (e[t.key] = [
|
|
63
68
|
{
|
|
64
69
|
validator: () => [new Error(`${t.label}${t.message}`)]
|
|
65
70
|
}
|
|
66
71
|
], e),
|
|
67
72
|
{}
|
|
68
|
-
)), T =
|
|
69
|
-
const e = Object.keys(
|
|
70
|
-
return [...new Set(e.concat(t))].reduce((
|
|
71
|
-
...
|
|
72
|
-
...
|
|
73
|
-
],
|
|
73
|
+
)), T = s(() => {
|
|
74
|
+
const e = Object.keys(w.value), t = Object.keys(S.value);
|
|
75
|
+
return [...new Set(e.concat(t))].reduce((l, u) => (l[u] = [
|
|
76
|
+
...w.value[u] || [],
|
|
77
|
+
...S.value[u] || []
|
|
78
|
+
], l), {});
|
|
74
79
|
});
|
|
75
|
-
|
|
80
|
+
h(ae, ({ key: e, message: t }) => {
|
|
76
81
|
if (!e)
|
|
77
82
|
return console.error("更新状态未传入key, 此处忽略");
|
|
78
|
-
const
|
|
79
|
-
|
|
83
|
+
const a = i.value.findIndex((l) => l.key === e);
|
|
84
|
+
a === -1 ? t && i.value.push({
|
|
80
85
|
key: e,
|
|
81
86
|
message: t,
|
|
82
|
-
label:
|
|
83
|
-
}) : t ?
|
|
87
|
+
label: o.list.find((l) => l.key === e).label
|
|
88
|
+
}) : t ? i.value.splice(a, 1, {
|
|
84
89
|
key: e,
|
|
85
90
|
message: t,
|
|
86
|
-
label:
|
|
87
|
-
}) :
|
|
91
|
+
label: o.list.find((l) => l.key === e).label
|
|
92
|
+
}) : i.value.splice(a, 1);
|
|
88
93
|
});
|
|
89
94
|
const $ = ({
|
|
90
95
|
status: e,
|
|
91
96
|
config: { key: t }
|
|
92
97
|
}) => {
|
|
93
|
-
(
|
|
94
|
-
},
|
|
95
|
-
const t =
|
|
96
|
-
|
|
97
|
-
...
|
|
98
|
-
...M(e, t)
|
|
98
|
+
(n.value[t] || !1) !== e && (n.value[t] = e);
|
|
99
|
+
}, k = (e) => {
|
|
100
|
+
const t = o.layoutScale ?? 1, a = {
|
|
101
|
+
...R(o.layout, t),
|
|
102
|
+
...R(e, t)
|
|
99
103
|
};
|
|
104
|
+
return N(a);
|
|
100
105
|
};
|
|
101
106
|
return b(
|
|
102
|
-
|
|
107
|
+
p,
|
|
103
108
|
(e) => {
|
|
104
|
-
const t = e.map((
|
|
105
|
-
Object.keys(
|
|
106
|
-
t.includes(
|
|
109
|
+
const t = e.map((a) => a.key);
|
|
110
|
+
Object.keys(n.value).forEach((a) => {
|
|
111
|
+
t.includes(a) || delete n.value[a];
|
|
107
112
|
});
|
|
108
113
|
},
|
|
109
114
|
{
|
|
110
115
|
immediate: !0
|
|
111
116
|
}
|
|
112
|
-
), b(
|
|
113
|
-
y("loadingChange",
|
|
117
|
+
), b(C, () => {
|
|
118
|
+
y("loadingChange", C.value);
|
|
114
119
|
}), b(
|
|
115
120
|
G,
|
|
116
121
|
(e) => {
|
|
@@ -119,37 +124,37 @@ const pe = /* @__PURE__ */ Y({
|
|
|
119
124
|
{
|
|
120
125
|
immediate: !0
|
|
121
126
|
}
|
|
122
|
-
), (e, t) => (
|
|
127
|
+
), (e, t) => (F(), V(E(X), {
|
|
123
128
|
ref_key: "elForm",
|
|
124
|
-
ref:
|
|
129
|
+
ref: r,
|
|
125
130
|
class: "dc-form-main",
|
|
126
131
|
model: d.data,
|
|
127
132
|
rules: T.value
|
|
128
133
|
}, {
|
|
129
134
|
default: v(() => [
|
|
130
|
-
j(
|
|
135
|
+
j(E(Z), { gutter: d.rowGutter }, {
|
|
131
136
|
default: v(() => [
|
|
132
|
-
(
|
|
133
|
-
key:
|
|
134
|
-
}, { ref_for: !0 },
|
|
137
|
+
(F(!0), U(q, null, z(p.value, (a) => J((F(), V(E(ee), x({
|
|
138
|
+
key: a.key
|
|
139
|
+
}, { ref_for: !0 }, k(a.layout)), {
|
|
135
140
|
default: v(() => [
|
|
136
|
-
j(
|
|
141
|
+
j(te, {
|
|
137
142
|
data: d.data,
|
|
138
|
-
config: I(
|
|
143
|
+
config: I(a),
|
|
139
144
|
onViewHideChange: $,
|
|
140
|
-
onSubmit: t[0] || (t[0] = (
|
|
145
|
+
onSubmit: t[0] || (t[0] = (l) => y("submit", l))
|
|
141
146
|
}, {
|
|
142
|
-
default: v((
|
|
143
|
-
|
|
147
|
+
default: v((l) => [
|
|
148
|
+
B(e.$slots, a.key, x({ ref_for: !0 }, l), void 0, !0)
|
|
144
149
|
]),
|
|
145
150
|
_: 2
|
|
146
151
|
}, 1032, ["data", "config"])
|
|
147
152
|
]),
|
|
148
153
|
_: 2
|
|
149
154
|
}, 1040)), [
|
|
150
|
-
[
|
|
155
|
+
[Q, !(n.value[a.key] ?? !1)]
|
|
151
156
|
])), 128)),
|
|
152
|
-
|
|
157
|
+
B(e.$slots, "default", { mergeLayout: k }, void 0, !0)
|
|
153
158
|
]),
|
|
154
159
|
_: 3
|
|
155
160
|
}, 8, ["gutter"])
|
|
@@ -159,5 +164,5 @@ const pe = /* @__PURE__ */ Y({
|
|
|
159
164
|
}
|
|
160
165
|
});
|
|
161
166
|
export {
|
|
162
|
-
|
|
167
|
+
Ee as default
|
|
163
168
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormSearch.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b96e10f6"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|