@aplus-frontend/ui 0.6.4 → 0.6.5
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/src/ap-form/interface.d.ts +23 -3
- package/es/src/ap-form/item-group/index.vue.mjs +33 -27
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -2
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +70 -72
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +3 -2
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +16 -24
- package/es/src/ap-form/search-form/hooks/use-sorter.d.ts +7 -0
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +42 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +6 -3
- package/es/src/ap-form/search-form/index.vue.mjs +101 -91
- package/es/src/ap-grid/index.vue.mjs +219 -201
- package/es/src/ap-grid/interface.d.ts +17 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -0
- package/es/src/ap-table/ap-table.vue2.mjs +223 -205
- package/es/src/ap-table/constants.d.ts +2 -2
- package/es/src/ap-table/context.d.ts +4 -0
- package/es/src/ap-table/context.mjs +21 -21
- package/es/src/ap-table/interface.d.ts +17 -1
- package/es/src/ap-table/utils.d.ts +2 -2
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -0
- package/es/src/business/ap-table-modal/index.d.ts +13 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +7 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +107 -109
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +72 -71
- package/es/src/business/ap-view/interface.d.ts +4 -0
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/hooks/usePageListApTable.d.ts +4 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-form/interface.d.ts +23 -3
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -2
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +3 -2
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-sorter.d.ts +7 -0
- package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -3
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +17 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2 -2
- package/lib/src/ap-table/context.d.ts +4 -0
- package/lib/src/ap-table/context.js +1 -1
- package/lib/src/ap-table/interface.d.ts +17 -1
- package/lib/src/ap-table/utils.d.ts +2 -2
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -0
- package/lib/src/business/ap-table-modal/index.d.ts +13 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +7 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/interface.d.ts +4 -0
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +4 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ap-grid/index.css +15 -0
- package/theme/ap-grid/index.less +14 -0
- package/theme/index.css +15 -0
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Popover as
|
|
1
|
+
import { defineComponent as E, ref as K, computed as j, watch as q, createBlock as B, openBlock as L, unref as e, withCtx as o, createElementVNode as f, normalizeClass as r, createVNode as a, createSlots as M, toDisplayString as s, createTextVNode as w } from "vue";
|
|
2
|
+
import { Popover as O, Tooltip as A, Space as F, Checkbox as P } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import
|
|
4
|
+
import R from "../icons/line-eye.vue.mjs";
|
|
5
5
|
import "../../../ap-form/ap-form.vue.mjs";
|
|
6
|
-
import { ApField as
|
|
6
|
+
import { ApField as U } from "../../../ap-field/index.mjs";
|
|
7
7
|
import "../../../ap-button/index.mjs";
|
|
8
|
-
import
|
|
9
|
-
import { useViewInject as
|
|
10
|
-
import { generateUniqueKey as
|
|
11
|
-
import { cloneDeep as
|
|
12
|
-
import { useLocale as
|
|
13
|
-
import { useNamespace as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
const
|
|
8
|
+
import G from "dayjs";
|
|
9
|
+
import { useViewInject as H } from "../hooks/use-view-provide.mjs";
|
|
10
|
+
import { generateUniqueKey as J } from "../utils/uuid.mjs";
|
|
11
|
+
import { cloneDeep as b } from "lodash-unified";
|
|
12
|
+
import { useLocale as Q } from "../../../config-provider/hooks/use-locale.mjs";
|
|
13
|
+
import { useNamespace as W } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
14
|
+
import v from "../../../ap-form/ap-form.vue2.mjs";
|
|
15
|
+
import k from "../../../ap-button/ap-button.vue.mjs";
|
|
16
|
+
const ce = /* @__PURE__ */ E({
|
|
17
17
|
__name: "main-button-content",
|
|
18
18
|
props: {
|
|
19
19
|
maxViewNum: {}
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const d =
|
|
21
|
+
setup(C) {
|
|
22
|
+
const d = C, { t: i } = Q(), { b: l } = W("ap-view"), V = K(), { tableKey: I, popoverOpen: c, viewList: u, saveDataSource: t, viewListCRUD: _ } = H(), g = j({
|
|
23
23
|
get: () => c.value && u.value.length < d.maxViewNum + 1,
|
|
24
24
|
set: (p) => {
|
|
25
25
|
u.value.length < d.maxViewNum + 1 && (c.value = p);
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
p && ((
|
|
28
|
+
q(c, (p) => {
|
|
29
|
+
var n;
|
|
30
|
+
p && ((n = V.value) == null || n.resetFields(), setTimeout(() => {
|
|
31
31
|
var m;
|
|
32
32
|
(m = V.value) == null || m.setFieldsValue({
|
|
33
33
|
isDefault: !u.value.some((h) => h.isDefault)
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
var
|
|
39
|
-
const { viewName:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
!!(n != null && n.searchFormTransform)
|
|
44
|
-
)
|
|
37
|
+
const T = async (p) => {
|
|
38
|
+
var y, x, N;
|
|
39
|
+
const { viewName: n, isDefault: m } = p, h = J(), z = b(
|
|
40
|
+
(y = t == null ? void 0 : t.getSearchFormValues) == null ? void 0 : y.call(
|
|
41
|
+
t,
|
|
42
|
+
!!(t != null && t.searchFormTransform)
|
|
45
43
|
)
|
|
44
|
+
), $ = b((x = t == null ? void 0 : t.getSearchFormSorterItems) == null ? void 0 : x.call(t)), Y = {
|
|
45
|
+
searchForm: z,
|
|
46
|
+
sorterItems: $
|
|
46
47
|
};
|
|
47
|
-
await ((
|
|
48
|
-
tableKey:
|
|
48
|
+
await ((N = _.addView) == null ? void 0 : N.call(_, {
|
|
49
|
+
tableKey: I,
|
|
49
50
|
viewKey: h,
|
|
50
|
-
viewName:
|
|
51
|
+
viewName: n,
|
|
51
52
|
isDefault: m,
|
|
52
|
-
viewConfig:
|
|
53
|
+
viewConfig: Y
|
|
53
54
|
})), c.value = !1;
|
|
54
55
|
};
|
|
55
|
-
return (p,
|
|
56
|
-
open:
|
|
57
|
-
"onUpdate:open":
|
|
56
|
+
return (p, n) => (L(), B(e(O), {
|
|
57
|
+
open: g.value,
|
|
58
|
+
"onUpdate:open": n[1] || (n[1] = (m) => g.value = m),
|
|
58
59
|
placement: "bottom",
|
|
59
60
|
trigger: "click",
|
|
60
61
|
arrow: !1,
|
|
@@ -62,34 +63,34 @@ const re = /* @__PURE__ */ z({
|
|
|
62
63
|
padding: "12px 16px"
|
|
63
64
|
}
|
|
64
65
|
}, {
|
|
65
|
-
content:
|
|
66
|
+
content: o(() => [
|
|
66
67
|
f("div", {
|
|
67
68
|
class: r([e(l)("main-content-popover")])
|
|
68
69
|
}, [
|
|
69
|
-
a(
|
|
70
|
+
a(v, {
|
|
70
71
|
ref_key: "formRef",
|
|
71
72
|
ref: V,
|
|
72
73
|
layout: "vertical",
|
|
73
74
|
"initial-values": {
|
|
74
|
-
viewName: `${e(
|
|
75
|
+
viewName: `${e(i)("ap.apView.newView")} ${e(G)().format("YYYY-MM-DD").toString()}`
|
|
75
76
|
},
|
|
76
|
-
onFinish:
|
|
77
|
+
onFinish: T
|
|
77
78
|
}, {
|
|
78
|
-
default:
|
|
79
|
+
default: o(() => [
|
|
79
80
|
f("div", {
|
|
80
81
|
class: r([e(l)("main-content-popover-title-content")])
|
|
81
82
|
}, [
|
|
82
83
|
f("div", {
|
|
83
84
|
class: r([e(l)("main-content-popover-title-content-title")])
|
|
84
|
-
}, s(e(
|
|
85
|
-
a(
|
|
85
|
+
}, s(e(i)("ap.apView.saveNewView")), 3),
|
|
86
|
+
a(v.FormItem, {
|
|
86
87
|
name: "isDefault",
|
|
87
88
|
"value-prop-name": "checked"
|
|
88
89
|
}, {
|
|
89
|
-
default:
|
|
90
|
-
a(e(
|
|
91
|
-
default:
|
|
92
|
-
|
|
90
|
+
default: o(() => [
|
|
91
|
+
a(e(P), null, {
|
|
92
|
+
default: o(() => [
|
|
93
|
+
w(s(e(i)("ap.apView.setDefault")), 1)
|
|
93
94
|
]),
|
|
94
95
|
_: 1
|
|
95
96
|
})
|
|
@@ -97,42 +98,42 @@ const re = /* @__PURE__ */ z({
|
|
|
97
98
|
_: 1
|
|
98
99
|
})
|
|
99
100
|
], 2),
|
|
100
|
-
a(
|
|
101
|
-
label: e(
|
|
101
|
+
a(v.FormItem, {
|
|
102
|
+
label: e(i)("ap.apView.viewName"),
|
|
102
103
|
name: "viewName",
|
|
103
|
-
rules: [{ required: !0, message: e(
|
|
104
|
+
rules: [{ required: !0, message: e(i)("ap.apView.notEmpty") }]
|
|
104
105
|
}, {
|
|
105
|
-
default:
|
|
106
|
-
a(e(
|
|
107
|
-
placeholder: e(
|
|
106
|
+
default: o(() => [
|
|
107
|
+
a(e(U).Text, {
|
|
108
|
+
placeholder: e(i)("ap.apView.viewName"),
|
|
108
109
|
maxlength: 20,
|
|
109
110
|
"show-count": ""
|
|
110
111
|
}, null, 8, ["placeholder"])
|
|
111
112
|
]),
|
|
112
113
|
_: 1
|
|
113
114
|
}, 8, ["label", "rules"]),
|
|
114
|
-
a(
|
|
115
|
+
a(v.FormItem, {
|
|
115
116
|
class: r([e(l)("main-content-popover-btn")])
|
|
116
117
|
}, {
|
|
117
|
-
default:
|
|
118
|
-
a(e(
|
|
119
|
-
default:
|
|
120
|
-
a(e(
|
|
118
|
+
default: o(() => [
|
|
119
|
+
a(e(F), { size: 8 }, {
|
|
120
|
+
default: o(() => [
|
|
121
|
+
a(e(k), {
|
|
121
122
|
size: "small",
|
|
122
|
-
onClick:
|
|
123
|
+
onClick: n[0] || (n[0] = (m) => c.value = !1)
|
|
123
124
|
}, {
|
|
124
|
-
default:
|
|
125
|
-
|
|
125
|
+
default: o(() => [
|
|
126
|
+
w(s(e(i)("ap.apView.cancel")), 1)
|
|
126
127
|
]),
|
|
127
128
|
_: 1
|
|
128
129
|
}),
|
|
129
|
-
a(e(
|
|
130
|
+
a(e(k), {
|
|
130
131
|
type: "primary",
|
|
131
132
|
size: "small",
|
|
132
133
|
"html-type": "submit"
|
|
133
134
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
135
|
+
default: o(() => [
|
|
136
|
+
w(s(e(i)("ap.apView.save")), 1)
|
|
136
137
|
]),
|
|
137
138
|
_: 1
|
|
138
139
|
})
|
|
@@ -147,21 +148,21 @@ const re = /* @__PURE__ */ z({
|
|
|
147
148
|
}, 8, ["initial-values"])
|
|
148
149
|
], 2)
|
|
149
150
|
]),
|
|
150
|
-
default:
|
|
151
|
+
default: o(() => [
|
|
151
152
|
f("div", {
|
|
152
153
|
class: r({
|
|
153
154
|
[e(l)("main-content")]: !0,
|
|
154
155
|
[e(l)("main-content-disabled")]: e(u).length >= d.maxViewNum + 1
|
|
155
156
|
})
|
|
156
157
|
}, [
|
|
157
|
-
a(e(
|
|
158
|
-
default:
|
|
159
|
-
a(e(
|
|
160
|
-
default:
|
|
161
|
-
a(
|
|
158
|
+
a(e(A), { placement: "bottom" }, M({
|
|
159
|
+
default: o(() => [
|
|
160
|
+
a(e(F), { size: 4 }, {
|
|
161
|
+
default: o(() => [
|
|
162
|
+
a(R, {
|
|
162
163
|
class: r([e(l)("icon")])
|
|
163
164
|
}, null, 8, ["class"]),
|
|
164
|
-
f("div", null, s(e(
|
|
165
|
+
f("div", null, s(e(i)("ap.apView.saveView")), 1)
|
|
165
166
|
]),
|
|
166
167
|
_: 1
|
|
167
168
|
})
|
|
@@ -170,8 +171,8 @@ const re = /* @__PURE__ */ z({
|
|
|
170
171
|
}, [
|
|
171
172
|
e(u).length >= d.maxViewNum + 1 ? {
|
|
172
173
|
name: "title",
|
|
173
|
-
fn:
|
|
174
|
-
|
|
174
|
+
fn: o(() => [
|
|
175
|
+
w(s(e(i)("ap.apView.maxTip")), 1)
|
|
175
176
|
]),
|
|
176
177
|
key: "0"
|
|
177
178
|
} : void 0
|
|
@@ -183,5 +184,5 @@ const re = /* @__PURE__ */ z({
|
|
|
183
184
|
}
|
|
184
185
|
});
|
|
185
186
|
export {
|
|
186
|
-
|
|
187
|
+
ce as default
|
|
187
188
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { ApFormSearchFormPopoverSorterItem } from '../../ap-form';
|
|
1
2
|
import { Recordable } from '../../type';
|
|
2
3
|
export interface SaveDataSource {
|
|
3
4
|
getSearchFormValues?: (transform?: boolean) => (Partial<Recordable> & Recordable<any>) | undefined;
|
|
4
5
|
setSearchFormValues?: (values: Partial<Recordable>) => void;
|
|
5
6
|
submit?: () => void;
|
|
6
7
|
reset?: () => void;
|
|
8
|
+
getSearchFormSorterItems?: () => ApFormSearchFormPopoverSorterItem[];
|
|
9
|
+
setSearchFormSorterItems?: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
10
|
+
resetSearchFormSorterItems?: () => void;
|
|
7
11
|
/**
|
|
8
12
|
* 是否转换搜索表单,默认为 false
|
|
9
13
|
*/
|
|
@@ -51,8 +51,8 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
51
51
|
readonly bordered?: boolean | undefined;
|
|
52
52
|
readonly suffix?: any;
|
|
53
53
|
readonly focused?: boolean | undefined;
|
|
54
|
-
readonly placeholder?: string | number | undefined;
|
|
55
54
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
55
|
+
readonly placeholder?: string | number | undefined;
|
|
56
56
|
readonly defaultValue?: string | number | undefined;
|
|
57
57
|
readonly id?: string | undefined;
|
|
58
58
|
readonly autocomplete?: string | undefined;
|
|
@@ -3,6 +3,7 @@ import { UseTableRefreshOption } from './useTableRefresh';
|
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
4
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
5
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
6
|
+
import { ApFormSearchFormPopoverSorterItem } from '../../ap-form';
|
|
6
7
|
export interface UsePageListApTable extends ApTableProps {
|
|
7
8
|
/** 是否显示默认的行选择配置
|
|
8
9
|
* @default true
|
|
@@ -61,6 +62,9 @@ export declare function usePageListApTable(props?: UsePageListApTable): [ApTable
|
|
|
61
62
|
};
|
|
62
63
|
getPaging: () => InternalPagingType;
|
|
63
64
|
setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
|
|
65
|
+
getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
66
|
+
setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
67
|
+
resetSearchFormSorterItems: () => void;
|
|
64
68
|
} | null | undefined;
|
|
65
69
|
getSearchFormValuesAndSorted: (transform?: boolean) => any;
|
|
66
70
|
clearSelection: () => void;
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.6.
|
|
1
|
+
declare const _default: "0.6.5";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -176,17 +176,22 @@ export type ApFormSearchFormPopoverFilterProps = {
|
|
|
176
176
|
onSubmit: () => void;
|
|
177
177
|
submitLoading: boolean;
|
|
178
178
|
};
|
|
179
|
+
export type ApFormSearchFormPopoverSorterItem = {
|
|
180
|
+
name: string;
|
|
181
|
+
label: string;
|
|
182
|
+
isHidden?: boolean;
|
|
183
|
+
};
|
|
179
184
|
export type ApFormSearchFormPopoverSorterProps = {
|
|
180
185
|
/**
|
|
181
|
-
*
|
|
186
|
+
* 需要排序的节点对象
|
|
182
187
|
*/
|
|
183
|
-
|
|
188
|
+
items: ApFormSearchFormPopoverSorterItem[];
|
|
184
189
|
/**
|
|
185
190
|
* 点击确定
|
|
186
191
|
* @param sortedChildren
|
|
187
192
|
* @returns
|
|
188
193
|
*/
|
|
189
|
-
onClickConfirm: (sortedChildren:
|
|
194
|
+
onClickConfirm: (sortedChildren: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
190
195
|
/**
|
|
191
196
|
* 当前的children是否已经排序过了
|
|
192
197
|
*/
|
|
@@ -194,6 +199,21 @@ export type ApFormSearchFormPopoverSorterProps = {
|
|
|
194
199
|
};
|
|
195
200
|
export type ApFormSearchFormExpose = {
|
|
196
201
|
apForm: ApFormExpose;
|
|
202
|
+
/**
|
|
203
|
+
* 获取排序结果
|
|
204
|
+
* @returns
|
|
205
|
+
*/
|
|
206
|
+
getSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
207
|
+
/**
|
|
208
|
+
* 设置排序结果
|
|
209
|
+
* @param sortedItems
|
|
210
|
+
* @returns
|
|
211
|
+
*/
|
|
212
|
+
setSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
213
|
+
/**
|
|
214
|
+
* 重设查询表单排序
|
|
215
|
+
*/
|
|
216
|
+
resetSorterItems: () => void;
|
|
197
217
|
};
|
|
198
218
|
export type ApFormSubmitterConfig = {
|
|
199
219
|
submitText?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("@aplus-frontend/antdv"),a=require("lodash-unified"),_=require("../constant.js"),c=require("./helper.js");require("../../config-provider/index.js");const B=require("../../utils/index.js"),h=require("../../config-provider/hooks/use-namespace.js");function q(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!e.isVNode(o)}const v=e.defineComponent({name:"ApFormItemGroup",__name:"index",props:{align:{},justify:{},prefixCls:{},gutter:{default:24},wrap:{type:Boolean,default:void 0},countPerRow:{default:3}},setup(o){const i=o,l=e.useSlots(),{b:d}=h.useNamespace("ap-form-item-group"),u=e.ref([]);e.onBeforeUpdate(()=>{u.value=p(l.default())}),e.watch(()=>l.default(),r=>{u.value=p(r)},{immediate:!0});function p(r){const f=c.genRealChildren(r||[]);return e.unref(f).map((t,g)=>{const n=t.props,s=a.pick(n,_.apFormItemColPropKeys),k=s!=null&&s.span?{}:c.buildColSpan(i.countPerRow),y=a.isBoolean(n.hidden)?!!n.hidden:B.isDef(n.hidden);return{key:`${g}-${c.getStringName(n.name)}`,node:e.createVNode(m.Col,e.mergeProps(k,s,{class:y?d("col-hidden"):""}),q(t)?t:{default:()=>[t]})}})}return(r,f)=>(e.openBlock(),e.createBlock(e.unref(m.Row),e.mergeProps({class:e.unref(d)()},e.unref(a.omit)(i,["countPerRow"])),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,t=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.node),{key:t.key}))),128))]),_:1},16,["class"]))}});exports.default=v;
|
|
@@ -53,8 +53,8 @@ declare function __VLS_template(): {
|
|
|
53
53
|
readonly bordered?: boolean | undefined;
|
|
54
54
|
readonly suffix?: any;
|
|
55
55
|
readonly focused?: boolean | undefined;
|
|
56
|
-
readonly placeholder?: string | number | undefined;
|
|
57
56
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
57
|
+
readonly placeholder?: string | number | undefined;
|
|
58
58
|
readonly defaultValue?: string | number | undefined;
|
|
59
59
|
readonly id?: string | undefined;
|
|
60
60
|
readonly autocomplete?: string | undefined;
|
|
@@ -209,8 +209,8 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
209
209
|
readonly bordered?: boolean | undefined;
|
|
210
210
|
readonly suffix?: any;
|
|
211
211
|
readonly focused?: boolean | undefined;
|
|
212
|
-
readonly placeholder?: string | number | undefined;
|
|
213
212
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
213
|
+
readonly placeholder?: string | number | undefined;
|
|
214
214
|
readonly defaultValue?: string | number | undefined;
|
|
215
215
|
readonly id?: string | undefined;
|
|
216
216
|
readonly autocomplete?: string | undefined;
|
|
@@ -54,8 +54,8 @@ declare function __VLS_template(): {
|
|
|
54
54
|
readonly bordered?: boolean | undefined;
|
|
55
55
|
readonly suffix?: any;
|
|
56
56
|
readonly focused?: boolean | undefined;
|
|
57
|
-
readonly placeholder?: string | number | undefined;
|
|
58
57
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
58
|
+
readonly placeholder?: string | number | undefined;
|
|
59
59
|
readonly defaultValue?: string | number | undefined;
|
|
60
60
|
readonly id?: string | undefined;
|
|
61
61
|
readonly autocomplete?: string | undefined;
|
|
@@ -216,8 +216,8 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
216
216
|
readonly bordered?: boolean | undefined;
|
|
217
217
|
readonly suffix?: any;
|
|
218
218
|
readonly focused?: boolean | undefined;
|
|
219
|
-
readonly placeholder?: string | number | undefined;
|
|
220
219
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
220
|
+
readonly placeholder?: string | number | undefined;
|
|
221
221
|
readonly defaultValue?: string | number | undefined;
|
|
222
222
|
readonly id?: string | undefined;
|
|
223
223
|
readonly autocomplete?: string | undefined;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ApFormSearchFormPopoverSorterProps } from '../../../interface';
|
|
1
|
+
import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormPopoverSorterProps } from '../../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<ApFormSearchFormPopoverSorterProps, {
|
|
3
|
+
declare const _default: DefineComponent<ApFormSearchFormPopoverSorterProps, {
|
|
4
|
+
getCachedList: () => ApFormSearchFormPopoverSorterItem[];
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSearchFormPopoverSorterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
4
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv"),y=require("@aplus-frontend/icon");require("../../../../config-provider/index.js");const V=require("vuedraggable");require("./sortable-item.vue.js");const d=require("../../../../config-provider/hooks/use-namespace.js"),_=require("../../../../config-provider/hooks/use-locale.js"),b=require("./sortable-item.vue2.js"),x=e.defineComponent({name:"ApFormSearchFormPopoverSorter",__name:"index",props:{items:{},onClickConfirm:{type:Function},sorted:{type:Boolean}},setup(v,{expose:C}){const o=v,n=e.ref(o.items);let p=[...o.items],f=[...o.items];e.watch(()=>o.items,t=>{n.value=t,p=t,o.sorted||(f=t)});const{e:i,b:m}=d.useNamespace("ap-form-search-form"),{b:a}=d.useNamespace("search-form-sorter"),{t:s}=_.useLocale(),l=e.ref(!1);function h(t){return t.closest(".ant-form")||document.body}function g(){l.value=!1,p=[...e.unref(n)],o.onClickConfirm(e.unref(n))}function N(){n.value=[...f]}return e.watch(()=>l.value,t=>{t&&(n.value=[...p])}),C({getCachedList:()=>f}),(t,c)=>(e.openBlock(),e.createBlock(e.unref(r.Popover),{open:l.value,"onUpdate:open":c[1]||(c[1]=u=>l.value=u),"overlay-class-name":e.unref(i)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":h},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-title"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterTitle")),3),e.createVNode(e.unref(r.Flex),{justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-desc"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterDesc")),3),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("header-action-wrapper")),onClick:N},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-reset-btn"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterReset")),3)],2)]),_:1})],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(i)("popover-content"),e.unref(a)("content")])},[e.createVNode(e.unref(V),{list:n.value,class:e.normalizeClass(e.unref(a)("sorter-wrapper")),"item-key":"name"},{item:e.withCtx(({element:u})=>[e.createVNode(b.default,{item:u},null,8,["item"])]),_:1},8,["list","class"])],2),e.createVNode(e.unref(r.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i)("popover-footer"))},[e.createVNode(e.unref(r.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{onClick:c[0]||(c[0]=u=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(r.Button),{class:e.normalizeClass(e.unref(i)("popover-footer-confirm-btn")),type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apForm.search.sorterConfirmBtn")),1)]),_:1},8,["class"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Tooltip),{title:e.unref(s)("ap.apForm.search.sorterTitle"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{class:e.normalizeClass([e.unref(m)("trigger-btn"),{[e.unref(m)("trigger-btn-active")]:l.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(y.IconApLayoutOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=x;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApFormSearchFormPopoverSorterItem } from '../../../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
item:
|
|
4
|
+
item: ApFormSearchFormPopoverSorterItem;
|
|
4
5
|
};
|
|
5
6
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
7
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@ant-design/icons-vue");require("../../../../config-provider/index.js");const o=require("../../../../config-provider/hooks/use-namespace.js"),l=["title"],n=e.defineComponent({name:"ApFormSearchFormPopoverSorterItem",__name:"sortable-item",props:{item:{}},setup(a){const{b:r}=o.useNamespace("search-form-sorter");return(t,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(r)("sorter-item"),{[e.unref(r)("sorter-item--hidden")]:t.item.isHidden}])},[e.createElementVNode("div",null,[e.createVNode(e.unref(s.HolderOutlined),{class:e.normalizeClass(e.unref(r)("sorter-item-holder")),style:{"font-size":"16px",color:"#abb7cc"}},null,8,["class"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(r)("sorter-item-text")),title:t.item.label},e.toDisplayString(t.item.label),11,l)])],2))}});exports.default=n;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShallowRef, VNode, ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { ApFormSearchFormPopoverSorterItem } from '../../interface';
|
|
3
|
+
export declare const useSorter: (children: ShallowRef<VNode[]>) => {
|
|
4
|
+
items: ComputedRef<ApFormSearchFormPopoverSorterItem[]>;
|
|
5
|
+
handleClickConfirm: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
6
|
+
sorted: Ref<boolean, boolean>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("lodash-unified"),c=require("vue"),d=require("../../item-group/helper.js"),f=require("../../../utils/index.js");function p(s,r){var e;const u=new Set(s.map(n=>n.name)),a=new Map;for(const n of r){const o=String(d.getStringName((e=n.props)==null?void 0:e.name));o&&u.has(o)&&a.set(o,n)}const i=new Set,t=[];for(const n of s){const o=a.get(n.name);o&&(t.push(o),i.add(o))}for(const n of r)i.has(n)||t.push(n);return t}const m=s=>{const r=c.ref(!1),u=c.computed(()=>(s.value||[]).map(t=>{const e=t.props;return{label:e.description||e.label||e.placeholder,name:d.getStringName(e.name),isHidden:l.isBoolean(e.hidden)?!!e.hidden:f.isDef(e.hidden)}}));function a(i){const t=p(i,s.value);r.value=!0,s.value=t}return{items:u,handleClickConfirm:a,sorted:r}};exports.useSorter=m;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
2
|
-
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent
|
|
2
|
+
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
3
|
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
5
|
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
@@ -9,7 +9,7 @@ import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
|
9
9
|
import { Recordable } from '../../type';
|
|
10
10
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
|
-
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
|
|
12
|
+
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
|
|
13
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
14
14
|
declare function __VLS_template(): {
|
|
15
15
|
attrs: Partial<{}>;
|
|
@@ -839,7 +839,10 @@ declare function __VLS_template(): {
|
|
|
839
839
|
};
|
|
840
840
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
841
841
|
declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
842
|
-
apForm:
|
|
842
|
+
apForm: ApFormExpose;
|
|
843
|
+
getSorterItems: () => ApFormSearchFormPopoverSorterItem[];
|
|
844
|
+
setSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
845
|
+
resetSorterItems: () => void;
|
|
843
846
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormSearchFormProps> & Readonly<{}>, {
|
|
844
847
|
collapse: boolean;
|
|
845
848
|
layout: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../ap-form.vue.js");require("../item/index.vue2.js");const T=require("../item-group/helper.js");require("../../config-provider/index.js");const w=require("lodash-unified"),P=require("../../utils/index.js"),S=require("./utils.js");require("./components/popover-filter.vue.js");const J=require("./hooks/use-count-per-row.js");require("./components/popover-sorter/index.vue.js");const K=require("./hooks/use-sorter.js"),Q=require("../../config-provider/hooks/use-namespace.js"),X=require("../../config-provider/hooks/use-locale.js"),E=require("../item/index.vue.js"),Y=require("./components/popover-filter.vue2.js"),Z=require("./components/popover-sorter/index.vue2.js"),ee=require("../ap-form.vue2.js");function te(p){return typeof p=="function"||Object.prototype.toString.call(p)==="[object Object]"&&!e.isVNode(p)}const s=24,oe=e.defineComponent({name:"ApFormSearchForm",__name:"index",props:{layout:{default:"horizontal"},labelCol:{},wrapperCol:{},colon:{type:Boolean,default:!0},labelAlign:{default:"right"},labelWrap:{type:Boolean},prefixCls:{},requiredMark:{},hideRequiredMark:{type:Boolean,default:!1},rules:{},validateMessages:{},validateOnRuleChange:{type:Boolean,default:!0},scrollToFirstError:{},onSubmit:{},name:{},validateTrigger:{default:"change"},size:{},disabled:{type:Boolean},onFieldsChange:{},onFinish:{},onFinishFailed:{},onValidate:{},initialValues:{},onValuesChange:{},syncToUrl:{type:[Boolean,Function]},syncToUrlPriority:{type:Boolean},collapse:{type:Boolean,default:void 0},defaultCollapse:{type:Boolean,default:!0},"onUpdate:collapse":{},searchText:{},resetText:{},onReset:{},customReset:{type:Boolean,default:!1},extraInAction:{type:Boolean,default:!1},forceExpand:{type:Boolean,default:!1},countPerRow:{default:4},submitLoading:{type:Boolean},maxRows:{default:2},sortable:{type:Boolean,default:!0},resizeTarget:{}},setup(p,{expose:O}){var V;const u=e.useSlots(),o=p,{b:f}=Q.useNamespace("ap-form-search-form"),{t:B}=X.useLocale(),L=J.useCountPerRow(o),g=e.ref(),j=e.ref();function F(){var n;const t=(n=g.value)==null?void 0:n.getFieldsValueTransformed(!0);S.execFunc(o.onSubmit,t)}function D(){var t,n;o.customReset||(n=(t=g.value)==null?void 0:t.resetFields)==null||n.call(t),S.execFunc(o.onReset)}const M=t=>P.isDef(t)?(w.isArray(t)?t:[t]).join(""):Date.now();let R=[];const m=e.shallowRef(T.genRealChildren(u.default())),i=e.shallowRef((V=u.extra)==null?void 0:V.call(u)),b=e.computed(()=>Math.floor(s/e.unref(L))),{items:v,sorted:k,handleClickConfirm:y}=K.useSorter(m);e.watch(()=>u.default(),t=>{R=m.value,m.value=S.diffFormItem(R,T.genRealChildren(t)),k.value=!1}),e.watch(()=>{var t;return(t=u.extra)==null?void 0:t.call(u)},t=>{i.value=t});const a=e.computed(()=>{const t=m.value,n=[],l=[],h=[],c=e.unref(b);let x=0,C=0;const $=s*o.maxRows-c*(e.unref(i)&&!o.extraInAction?2:1);t.forEach((N,G)=>{const d=N.props;if(w.isBoolean(d.hidden)?!!d.hidden:P.isDef(d.hidden))n.push(N);else{let _=d.span||c;const A={node:N,span:_,key:`ApFormSearchFormItem-${G}-${M(d.name)}-${d._signal}`},I=s-x%s;I<_&&(_+=I),x+=_,x>$?l.push(A):(C=x,h.push(A))}});const q=s-(C+c)%s,z=C%s<c,H=q<c?s:q;return{hideNode:e.createVNode(e.Fragment,null,[n]),nodes:h,collapseNodes:l,extraSpan:H,lastRowOnlyIncludeActionAndExtra:z}}),U=e.computed(()=>{let t;const n=a.value.collapseNodes.length||o.sortable&&m.value.length,l=e.createVNode(r.Col,{span:e.unref(b),key:"actionWrapper"},{default:()=>[e.createVNode(E.default,null,{default:()=>[e.createVNode(r.Flex,{wrap:"wrap",justify:a.value.lastRowOnlyIncludeActionAndExtra&&!(e.unref(i)&&o.extraInAction)?"flex-end":"space-between"},{default:()=>[e.createVNode(r.Flex,{gap:8,wrap:"wrap"},{default:()=>[n?e.createVNode("div",{class:f("column-setting-trigger-wrapper")},[a.value.collapseNodes.length?e.createVNode(Y.default,{onSubmit:F,config:a.value.collapseNodes,submitLoading:o.submitLoading},null):null,o.sortable&&v.value.length?e.createVNode(Z.default,{ref:"sorterIns",items:v.value,onClickConfirm:y,sorted:k.value},null):null]):null,e.createVNode(r.Button,{type:"primary",onClick:F,loading:o.submitLoading,htmlType:"submit",class:f("action-btn")},{default:()=>[o.searchText||B("ap.apForm.search.search")]}),e.createVNode(r.Button,{onClick:D,type:"text",class:[f("action-btn"),f("action-btn-reset")]},{default:()=>[o.resetText||B("ap.apForm.search.reset")]})]}),o.extraInAction?e.unref(i):null]})]})]}),h=!o.extraInAction&&e.unref(i)?e.createVNode(r.Col,{span:a.value.extraSpan,key:"extraNode"},{default:()=>[e.createVNode(E.default,null,{default:()=>[e.createVNode(r.Flex,{justify:a.value.extraSpan===s||a.value.lastRowOnlyIncludeActionAndExtra?"start":"flex-end"},te(t=e.unref(i))?t:{default:()=>[t]})]})]}):null,c=e.createVNode(r.Col,{span:a.value.extraSpan},null);return a.value.lastRowOnlyIncludeActionAndExtra?e.createVNode(e.Fragment,null,[h||c,l]):e.createVNode(e.Fragment,null,[l,h])});function W(){var n;const t=(n=j.value)==null?void 0:n.getCachedList();y(t)}return O({apForm:e.computed(()=>e.unref(g)),getSorterItems:()=>v.value,setSorterItems:y,resetSorterItems:W}),(t,n)=>(e.openBlock(),e.createBlock(ee.default,e.mergeProps({ref_key:"apForm",ref:g,class:e.unref(f)()},e.unref(w.omit)(o,["collapse","defaultCollapse","onUpdate:collapse","searchText","resetText","onSubmit","onReset","extraInAction","forceExpand","countPerRow"])),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value.hideNode))),e.createVNode(e.unref(r.Row),{gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value.nodes,l=>(e.openBlock(),e.createBlock(e.unref(r.Col),{key:l.key,span:l.span},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.node)))]),_:2},1032,["span"]))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(U.value)))]),_:1})]),_:1},16,["class"]))}});exports.default=oe;
|