@aplus-frontend/ui 0.5.28 → 0.5.29
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/index.mjs +84 -82
- package/es/src/ap-grid/index.vue.mjs +87 -80
- package/es/src/ap-grid/interface.d.ts +4 -0
- package/es/src/ap-grid/utils/col.mjs +48 -48
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +52 -52
- package/es/src/business/hooks/index.d.ts +1 -0
- package/es/src/business/hooks/index.mjs +6 -4
- package/es/src/business/hooks/useGridRefresh.d.ts +17 -0
- package/es/src/business/hooks/useGridRefresh.mjs +17 -0
- package/es/src/full-screen/index.vue.mjs +17 -16
- package/es/src/full-screen/interface.d.ts +2 -1
- package/es/src/index.mjs +73 -71
- package/lib/index.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +4 -0
- package/lib/src/ap-grid/utils/col.js +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/business/hooks/index.d.ts +1 -0
- package/lib/src/business/hooks/index.js +1 -1
- package/lib/src/business/hooks/useGridRefresh.d.ts +17 -0
- package/lib/src/business/hooks/useGridRefresh.js +1 -0
- package/lib/src/full-screen/index.vue.js +1 -1
- package/lib/src/full-screen/interface.d.ts +2 -1
- package/lib/src/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as ae, reactive as j, unref as
|
|
1
|
+
import { ref as ae, reactive as j, unref as m, nextTick as se, onMounted as ie, watch as ce, computed as A, createVNode as x } from "vue";
|
|
2
2
|
import { useTableSortedAndFiltered as ue } from "./use-sorted-filtered.mjs";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { parseFieldValue as le, dataIndexToStr as fe, isEqualCustom as ge } from "../utils.mjs";
|
|
@@ -6,8 +6,8 @@ import { isArray as q, isEqualWith as de, isUndefined as pe } from "lodash-unifi
|
|
|
6
6
|
import { isDef as N } from "../../utils/index.mjs";
|
|
7
7
|
import { useLocale as me } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { useNamespace as he } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
-
const
|
|
10
|
-
defaultCurrent:
|
|
9
|
+
const h = 1, D = 10, B = {
|
|
10
|
+
defaultCurrent: h,
|
|
11
11
|
defaultPageSize: D,
|
|
12
12
|
showLessItems: !1,
|
|
13
13
|
showTotal: !0
|
|
@@ -20,7 +20,7 @@ function Se(s) {
|
|
|
20
20
|
}
|
|
21
21
|
function ze(s) {
|
|
22
22
|
const f = {};
|
|
23
|
-
return s === !1 || (s === !0 || s == null ? (f.current =
|
|
23
|
+
return s === !1 || (s === !0 || s == null ? (f.current = h, f.pageSize = D) : (f.current = s.defaultCurrent || h, f.pageSize = s.defaultPageSize || D)), f;
|
|
24
24
|
}
|
|
25
25
|
const Ae = ({
|
|
26
26
|
manual: s = !1,
|
|
@@ -33,10 +33,10 @@ const Ae = ({
|
|
|
33
33
|
filterFields: J,
|
|
34
34
|
sortFields: K,
|
|
35
35
|
namespace: M = "ap-table",
|
|
36
|
-
pagination:
|
|
36
|
+
pagination: S
|
|
37
37
|
}) => {
|
|
38
38
|
let b = 0, i = {};
|
|
39
|
-
const Q = Se(
|
|
39
|
+
const Q = Se(S), $ = (e) => y ? y(e) : e, z = ae(), c = j(ze(S)), {
|
|
40
40
|
getColumnSFConfig: G,
|
|
41
41
|
setSF: W,
|
|
42
42
|
clearAll: Z,
|
|
@@ -54,34 +54,34 @@ const Ae = ({
|
|
|
54
54
|
var e, t;
|
|
55
55
|
return ((t = (e = z.value) == null ? void 0 : e.apForm) == null ? void 0 : t.getFieldsValueTransformed(!0)) || {};
|
|
56
56
|
}, I = async (e) => {
|
|
57
|
-
var
|
|
58
|
-
const t = $(e),
|
|
59
|
-
b =
|
|
57
|
+
var r;
|
|
58
|
+
const t = $(e), n = Date.now();
|
|
59
|
+
b = n, a.loading = !0;
|
|
60
60
|
try {
|
|
61
61
|
const o = await f({
|
|
62
|
-
...
|
|
62
|
+
...m(L),
|
|
63
63
|
...t
|
|
64
64
|
});
|
|
65
|
-
b ===
|
|
65
|
+
b === n && (a.total = o.total || ((r = o.data) == null ? void 0 : r.length) || 0, a.records = [...o.data || []]);
|
|
66
66
|
} catch {
|
|
67
|
-
b ===
|
|
67
|
+
b === n && (a.records = [], a.total = 0);
|
|
68
68
|
} finally {
|
|
69
69
|
a.loading = !1;
|
|
70
70
|
}
|
|
71
71
|
}, V = (e) => {
|
|
72
72
|
const t = {};
|
|
73
|
-
return Object.entries(e).forEach(([
|
|
74
|
-
if (t[
|
|
75
|
-
const o = O[
|
|
76
|
-
o && (t[
|
|
73
|
+
return Object.entries(e).forEach(([n, r]) => {
|
|
74
|
+
if (t[n] = r, O && r) {
|
|
75
|
+
const o = O[n];
|
|
76
|
+
o && (t[n] = le(o, r));
|
|
77
77
|
}
|
|
78
78
|
}), t;
|
|
79
79
|
}, Y = async (e) => {
|
|
80
|
-
var
|
|
81
|
-
const t = w(),
|
|
82
|
-
Object.entries(t).forEach(([
|
|
83
|
-
R && R.indexOf(
|
|
84
|
-
}), await ((o = (
|
|
80
|
+
var r, o, l, g, d;
|
|
81
|
+
const t = w(), n = {};
|
|
82
|
+
Object.entries(t).forEach(([p, F]) => {
|
|
83
|
+
R && R.indexOf(p) > -1 && (n[p] = F);
|
|
84
|
+
}), await ((o = (r = z.value) == null ? void 0 : r.apForm) == null ? void 0 : o.resetFields()), (d = (g = (l = z.value) == null ? void 0 : l.apForm) == null ? void 0 : g.setFieldsValue) == null || d.call(g, n), se(() => {
|
|
85
85
|
e == null || e();
|
|
86
86
|
});
|
|
87
87
|
}, C = (e) => {
|
|
@@ -94,70 +94,70 @@ const Ae = ({
|
|
|
94
94
|
...e
|
|
95
95
|
});
|
|
96
96
|
}, E = () => {
|
|
97
|
-
const e = w();
|
|
98
|
-
|
|
97
|
+
const e = w(), t = S !== !1;
|
|
98
|
+
t && (c.current = h), C({
|
|
99
99
|
...e,
|
|
100
100
|
filter: i.filter,
|
|
101
101
|
sort: i.sort,
|
|
102
|
-
current:
|
|
103
|
-
pageSize:
|
|
102
|
+
current: t ? h : void 0,
|
|
103
|
+
pageSize: t ? i.pageSize || c.pageSize : void 0
|
|
104
104
|
});
|
|
105
105
|
}, ee = () => {
|
|
106
106
|
Z(), i.sort = {}, i.filter = {}, Y(E);
|
|
107
107
|
}, U = () => {
|
|
108
108
|
C(i);
|
|
109
109
|
}, te = (e) => {
|
|
110
|
-
if (!
|
|
110
|
+
if (S === !1)
|
|
111
111
|
U();
|
|
112
112
|
else {
|
|
113
113
|
const {
|
|
114
114
|
current: t,
|
|
115
|
-
pageSize:
|
|
116
|
-
} = c,
|
|
115
|
+
pageSize: n
|
|
116
|
+
} = c, r = a.total - e, o = Math.ceil(r / n), l = t > o ? o : t;
|
|
117
117
|
k({
|
|
118
118
|
current: l > 0 ? l : 1
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
}, _ = (e, t,
|
|
122
|
-
var
|
|
123
|
-
const
|
|
124
|
-
c.current = e.current, c.pageSize = e.pageSize, W(t,
|
|
125
|
-
const o = q(
|
|
121
|
+
}, _ = (e, t, n) => {
|
|
122
|
+
var p, F;
|
|
123
|
+
const r = w();
|
|
124
|
+
c.current = e.current, c.pageSize = e.pageSize, W(t, n);
|
|
125
|
+
const o = q(n) ? [...n] : [n], l = {};
|
|
126
126
|
for (const u of o)
|
|
127
|
-
(
|
|
127
|
+
(p = m(K)) != null && p.includes(u.columnKey || u.field) && u.order && (l[fe(u.columnKey || u.field)] = u.order);
|
|
128
128
|
const g = {};
|
|
129
129
|
for (const u of Object.keys(t))
|
|
130
|
-
(F =
|
|
131
|
-
const
|
|
132
|
-
...
|
|
130
|
+
(F = m(J)) != null && F.includes(u) && t[u] && (g[u] = t[u]);
|
|
131
|
+
const d = {
|
|
132
|
+
...r,
|
|
133
133
|
filter: g,
|
|
134
134
|
sort: l,
|
|
135
135
|
current: e.current,
|
|
136
136
|
pageSize: e.pageSize
|
|
137
137
|
};
|
|
138
|
-
de(i,
|
|
138
|
+
de(i, d, ge) || C(d);
|
|
139
139
|
};
|
|
140
140
|
ie(() => {
|
|
141
141
|
const e = w(), {
|
|
142
142
|
current: t,
|
|
143
|
-
pageSize:
|
|
143
|
+
pageSize: n
|
|
144
144
|
} = c;
|
|
145
145
|
if (i = {
|
|
146
146
|
current: t,
|
|
147
|
-
pageSize:
|
|
147
|
+
pageSize: n,
|
|
148
148
|
filter: {},
|
|
149
149
|
sort: {},
|
|
150
150
|
...e
|
|
151
151
|
}, !s) {
|
|
152
|
-
const
|
|
153
|
-
I(
|
|
152
|
+
const r = V(i);
|
|
153
|
+
I(r);
|
|
154
154
|
}
|
|
155
|
-
}), ce(() =>
|
|
155
|
+
}), ce(() => m(L), () => {
|
|
156
156
|
E();
|
|
157
157
|
}, {
|
|
158
158
|
deep: !0
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const ne = A(() => {
|
|
161
161
|
if (a.total === 0)
|
|
162
162
|
return "-";
|
|
163
163
|
const {
|
|
@@ -166,15 +166,15 @@ const Ae = ({
|
|
|
166
166
|
} = c;
|
|
167
167
|
return `${e}/${Math.ceil(a.total / t)}`;
|
|
168
168
|
});
|
|
169
|
-
function
|
|
169
|
+
function re(e) {
|
|
170
170
|
q(e) && (a.records = e, a.total = e.length);
|
|
171
171
|
}
|
|
172
172
|
const oe = A(() => {
|
|
173
173
|
const {
|
|
174
174
|
showLessItems: e,
|
|
175
175
|
showTotal: t,
|
|
176
|
-
showQuickJumper:
|
|
177
|
-
showSizeChanger:
|
|
176
|
+
showQuickJumper: n,
|
|
177
|
+
showSizeChanger: r,
|
|
178
178
|
pageSizeOptions: o
|
|
179
179
|
} = Q;
|
|
180
180
|
return {
|
|
@@ -183,8 +183,8 @@ const Ae = ({
|
|
|
183
183
|
current: c.current,
|
|
184
184
|
pageSize: c.pageSize,
|
|
185
185
|
total: a.total,
|
|
186
|
-
showSizeChanger: N(
|
|
187
|
-
showQuickJumper: N(
|
|
186
|
+
showSizeChanger: N(r) ? r : !e,
|
|
187
|
+
showQuickJumper: N(n) ? n : !e,
|
|
188
188
|
showLessItems: e,
|
|
189
189
|
size: "default",
|
|
190
190
|
pageSizeOptions: pe(o) ? ["10", "20", "50", "100"] : o,
|
|
@@ -196,7 +196,7 @@ const Ae = ({
|
|
|
196
196
|
class: P("pagination--total-right")
|
|
197
197
|
}, [T("ap.apTable.pagination.totalRightPrefix"), " ", x("span", {
|
|
198
198
|
class: P("pagination-count-text")
|
|
199
|
-
}, [
|
|
199
|
+
}, [m(ne)]), " ", T("ap.apTable.pagination.totalRightSuffix")])]) : void 0
|
|
200
200
|
},
|
|
201
201
|
onChange: _,
|
|
202
202
|
dataSource: a.records
|
|
@@ -214,14 +214,14 @@ const Ae = ({
|
|
|
214
214
|
handleTableChange: _,
|
|
215
215
|
tableProps: oe,
|
|
216
216
|
dataSource: A(() => a.records),
|
|
217
|
-
setDataSource:
|
|
217
|
+
setDataSource: re,
|
|
218
218
|
getColumnSFConfig: G,
|
|
219
219
|
sortedInfo: H,
|
|
220
220
|
filteredInfo: X
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
223
|
export {
|
|
224
|
-
|
|
224
|
+
h as DEFAULT_CURRENT,
|
|
225
225
|
D as DEFAULT_PAGE_SIZE,
|
|
226
226
|
Ae as useTablePaging
|
|
227
227
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { usePageListApTable as o } from "./usePageListApTable.mjs";
|
|
2
|
-
import { useTableRefresh as
|
|
3
|
-
import { usePageListApGrid as
|
|
2
|
+
import { useTableRefresh as f } from "./useTableRefresh.mjs";
|
|
3
|
+
import { usePageListApGrid as t } from "./usePageListApGrid.mjs";
|
|
4
|
+
import { useGridRefresh as i } from "./useGridRefresh.mjs";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
i as useGridRefresh,
|
|
7
|
+
t as usePageListApGrid,
|
|
6
8
|
o as usePageListApTable,
|
|
7
|
-
|
|
9
|
+
f as useTableRefresh
|
|
8
10
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ApGridExpose } from '../../ap-grid';
|
|
3
|
+
export interface UseGridRefreshOption {
|
|
4
|
+
/**
|
|
5
|
+
* apTable实例
|
|
6
|
+
*/
|
|
7
|
+
apTableRef?: Ref<ApGridExpose | undefined | null>;
|
|
8
|
+
/**
|
|
9
|
+
* 刷新类型,reset:重置,submit:提交
|
|
10
|
+
*/
|
|
11
|
+
refreshType?: 'reset' | 'submit';
|
|
12
|
+
/**
|
|
13
|
+
* 刷新前执行,返回false则不执行
|
|
14
|
+
*/
|
|
15
|
+
refreshBefore?: () => boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare function useGridRefresh(option?: UseGridRefreshOption): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { onMounted as m, onActivated as b } from "vue";
|
|
2
|
+
function l(e) {
|
|
3
|
+
const a = (["reset", "submit", void 0].includes(e == null ? void 0 : e.refreshType) ? e == null ? void 0 : e.refreshType : "submit") ?? "submit", r = (e == null ? void 0 : e.refreshBefore) ?? (() => !0);
|
|
4
|
+
let s = !0;
|
|
5
|
+
m(() => {
|
|
6
|
+
s = !1;
|
|
7
|
+
}), b(() => {
|
|
8
|
+
const c = r == null ? void 0 : r();
|
|
9
|
+
s || c && setTimeout(() => {
|
|
10
|
+
var u, f;
|
|
11
|
+
(f = (u = e == null ? void 0 : e.apTableRef) == null ? void 0 : u.value) == null || f[a]();
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
l as useGridRefresh
|
|
17
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, createBlock as
|
|
1
|
+
import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, createBlock as d, openBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
|
|
2
2
|
import "../hooks/index.mjs";
|
|
3
3
|
import "../portal/index.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -11,7 +11,8 @@ const H = /* @__PURE__ */ R({
|
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
13
13
|
wrapperElementName: { default: "div" },
|
|
14
|
-
zIndex: { default: 2147483647 }
|
|
14
|
+
zIndex: { default: 2147483647 },
|
|
15
|
+
to: { default: "body" }
|
|
15
16
|
},
|
|
16
17
|
setup(L, { expose: w }) {
|
|
17
18
|
const {
|
|
@@ -19,49 +20,49 @@ const H = /* @__PURE__ */ R({
|
|
|
19
20
|
full: b,
|
|
20
21
|
enter: y,
|
|
21
22
|
exit: _
|
|
22
|
-
} = I(), { b:
|
|
23
|
+
} = I(), { b: g, bm: k, be: x } = $("full-screen"), t = i(!1), l = i(), p = h(document.body), u = i();
|
|
23
24
|
E(
|
|
24
25
|
() => a(b),
|
|
25
26
|
(e) => {
|
|
26
27
|
e || (t.value = !1, l.value = void 0);
|
|
27
28
|
}
|
|
28
29
|
);
|
|
29
|
-
async function
|
|
30
|
-
await s(), t.value = !0, l.value = e, e === "browser" ? y(
|
|
30
|
+
async function r(e, o = !1) {
|
|
31
|
+
await s(), t.value = !0, l.value = e, e === "browser" ? y(o) : p.value = !0;
|
|
31
32
|
}
|
|
32
33
|
async function s(e = !1) {
|
|
33
34
|
t.value = !1, l.value === "browser" ? await _(e) : p.value = !1, l.value = void 0;
|
|
34
35
|
}
|
|
35
|
-
async function c(e,
|
|
36
|
-
t.value ? l.value !== e ? await
|
|
36
|
+
async function c(e, o = !1) {
|
|
37
|
+
t.value ? l.value !== e ? await r(e, o) : await s(o) : await r(e, o);
|
|
37
38
|
}
|
|
38
39
|
return w({
|
|
39
40
|
target: n(() => a(f)),
|
|
40
41
|
portalRoot: n(() => a(u)),
|
|
41
42
|
full: n(() => a(t)),
|
|
42
43
|
mode: n(() => a(l)),
|
|
43
|
-
enter:
|
|
44
|
+
enter: r,
|
|
44
45
|
exit: s,
|
|
45
46
|
toggle: c
|
|
46
|
-
}), (e,
|
|
47
|
-
to:
|
|
47
|
+
}), (e, o) => (m(), d(a(B), {
|
|
48
|
+
to: e.to,
|
|
48
49
|
disabled: l.value !== "window"
|
|
49
50
|
}, {
|
|
50
51
|
default: v(() => [
|
|
51
|
-
(
|
|
52
|
+
(m(), d(z(e.wrapperElementName), C({
|
|
52
53
|
ref_key: "target",
|
|
53
54
|
ref: f
|
|
54
55
|
}, e.$attrs, {
|
|
55
56
|
class: [
|
|
56
|
-
a(
|
|
57
|
-
t.value && l.value === "window" ? a(
|
|
57
|
+
a(g)("wrapper"),
|
|
58
|
+
t.value && l.value === "window" ? a(k)("wrapper", "full") : null
|
|
58
59
|
],
|
|
59
60
|
style: { zIndex: t.value && l.value === "window" ? e.zIndex : "unset" }
|
|
60
61
|
}), {
|
|
61
62
|
default: v(() => [
|
|
62
63
|
F(e.$slots, "default", {
|
|
63
64
|
full: t.value,
|
|
64
|
-
enter:
|
|
65
|
+
enter: r,
|
|
65
66
|
exit: s,
|
|
66
67
|
toggle: c,
|
|
67
68
|
mode: l.value,
|
|
@@ -70,14 +71,14 @@ const H = /* @__PURE__ */ R({
|
|
|
70
71
|
N("div", {
|
|
71
72
|
ref_key: "portalRootRef",
|
|
72
73
|
ref: u,
|
|
73
|
-
class: S(a(
|
|
74
|
+
class: S(a(x)("wrapper", "portal-root"))
|
|
74
75
|
}, null, 2)
|
|
75
76
|
]),
|
|
76
77
|
_: 3
|
|
77
78
|
}, 16, ["class", "style"]))
|
|
78
79
|
]),
|
|
79
80
|
_: 3
|
|
80
|
-
}, 8, ["disabled"]));
|
|
81
|
+
}, 8, ["to", "disabled"]));
|
|
81
82
|
}
|
|
82
83
|
});
|
|
83
84
|
export {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
+
import { PortalProps } from '../portal';
|
|
2
3
|
export type FullScreenMode = 'browser' | 'window';
|
|
3
4
|
export type FullScreenProps = {
|
|
4
5
|
/**
|
|
@@ -9,7 +10,7 @@ export type FullScreenProps = {
|
|
|
9
10
|
* 全屏状态下的css zIndex 默认为2^31 - 1
|
|
10
11
|
*/
|
|
11
12
|
zIndex?: number;
|
|
12
|
-
}
|
|
13
|
+
} & Pick<PortalProps, 'to'>;
|
|
13
14
|
export type FullScreenExpose = {
|
|
14
15
|
/**
|
|
15
16
|
* 全屏的目标元素
|
package/es/src/index.mjs
CHANGED
|
@@ -8,8 +8,8 @@ import "./ap-tag/index.mjs";
|
|
|
8
8
|
import "./ap-info-layout/index.mjs";
|
|
9
9
|
import "./ap-upload/index.mjs";
|
|
10
10
|
import "./ap-download/index.mjs";
|
|
11
|
-
import { CheckCard as
|
|
12
|
-
import { ApModal as
|
|
11
|
+
import { CheckCard as R } from "./check-card/index.mjs";
|
|
12
|
+
import { ApModal as M } from "./ap-modal/index.mjs";
|
|
13
13
|
import "./ap-list/index.mjs";
|
|
14
14
|
import "./ap-button/index.mjs";
|
|
15
15
|
import { ApDrawer as k } from "./ap-drawer/index.mjs";
|
|
@@ -42,8 +42,8 @@ import { default as De } from "./ap-form/items/switch/index.vue.mjs";
|
|
|
42
42
|
import { default as Ge } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
43
43
|
import { default as Pe } from "./ap-form/items/text/password.vue.mjs";
|
|
44
44
|
import { default as Le } from "./ap-form/items/tree-select/index.vue.mjs";
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
45
|
+
import { default as Re } from "./ap-form/item/index.vue.mjs";
|
|
46
|
+
import { default as Me } from "./ap-form/item-group/index.vue.mjs";
|
|
47
47
|
import { default as ke } from "./ap-form/list/index.vue.mjs";
|
|
48
48
|
import { default as Be } from "./ap-form/search-form/index.vue.mjs";
|
|
49
49
|
import { default as Oe } from "./ap-form/modal-form/index.vue.mjs";
|
|
@@ -69,7 +69,7 @@ import { default as go } from "./ap-field/rate/index.vue.mjs";
|
|
|
69
69
|
import { default as ho } from "./ap-field/tree-select/index.vue.mjs";
|
|
70
70
|
import { default as Eo } from "./ap-action/item-modal/index.vue.mjs";
|
|
71
71
|
import { default as No } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
72
|
-
import { default as
|
|
72
|
+
import { default as yo } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
73
73
|
import { default as wo } from "./ap-action/group/index.vue.mjs";
|
|
74
74
|
import { DictCode as vo, langMap as Bo } from "./work-order-modal/interfaces.mjs";
|
|
75
75
|
import { createWorkOrderModal as Oo } from "./work-order-modal/createWorkOrder.mjs";
|
|
@@ -95,8 +95,8 @@ import { ApBatchAction as Dr } from "./business/ap-batch-action/index.mjs";
|
|
|
95
95
|
import { ApBatchActionGroup as Gr } from "./business/ap-batch-action-group/index.mjs";
|
|
96
96
|
import { ApButtonGroup as Pr } from "./business/ap-button-group/index.mjs";
|
|
97
97
|
import { ApCard as Lr } from "./business/ap-card/index.mjs";
|
|
98
|
-
import { ApExpandAlert as
|
|
99
|
-
import { ApExportGroupActionType as
|
|
98
|
+
import { ApExpandAlert as Rr } from "./business/ap-expand-alert/index.mjs";
|
|
99
|
+
import { ApExportGroupActionType as Mr } from "./business/ap-export-group/interface.mjs";
|
|
100
100
|
import { ApExportGroup as kr } from "./business/ap-export-group/index.mjs";
|
|
101
101
|
import { handleExportDownload as Br } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
102
102
|
import { convertExportField as Or } from "./business/ap-export-group/convertExportField.mjs";
|
|
@@ -111,41 +111,42 @@ import { ApTitle as tt } from "./business/ap-title/index.mjs";
|
|
|
111
111
|
import { usePageListApTable as at } from "./business/hooks/usePageListApTable.mjs";
|
|
112
112
|
import { useTableRefresh as ft } from "./business/hooks/useTableRefresh.mjs";
|
|
113
113
|
import { usePageListApGrid as dt } from "./business/hooks/usePageListApGrid.mjs";
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import { default as Et } from "./business/
|
|
121
|
-
import { default as Nt } from "./business/batch-input-group/
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import { default as Kt } from "./editable-table/
|
|
126
|
-
import { default as Ut } from "./
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import { default as jt } from "./scroll-bar/
|
|
130
|
-
import { default as Jt } from "./scroll-
|
|
131
|
-
import { default as Xt } from "./
|
|
132
|
-
import { default as Zt } from "./
|
|
133
|
-
import { default as ep } from "./
|
|
134
|
-
import { default as rp } from "./
|
|
135
|
-
import { default as pp } from "./ap-grid/
|
|
136
|
-
import { default as mp } from "./ap-grid/editable/
|
|
137
|
-
import { default as lp } from "./
|
|
138
|
-
import { default as xp } from "./text/
|
|
139
|
-
import { default as sp } from "./
|
|
114
|
+
import { useGridRefresh as ut } from "./business/hooks/useGridRefresh.mjs";
|
|
115
|
+
import { computedRecords as At, flattenColumns as it, formatDataIndex as nt, formatNumber as ct } from "./business/ap-summary/utils.mjs";
|
|
116
|
+
import { ApSummary as It } from "./business/ap-summary/index.mjs";
|
|
117
|
+
import { ApNeedNameKeyDefault as bt } from "./business/ap-appendix/interface.mjs";
|
|
118
|
+
import { ApAppendix as Ct } from "./business/ap-appendix/index.mjs";
|
|
119
|
+
import { ApExtensionSelect as gt, ApGroupSearch as Gt, ApPopoverSelect as ht } from "./business/ap-group-search/index.mjs";
|
|
120
|
+
import { default as Et } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
121
|
+
import { default as Nt } from "./business/batch-input-group/index.vue.mjs";
|
|
122
|
+
import { default as yt } from "./business/batch-input-group/form-item.vue.mjs";
|
|
123
|
+
import { ApSizeInput as wt } from "./business/ap-size-input/index.mjs";
|
|
124
|
+
import { useTablePaging as vt } from "./ap-table/hooks/use-table-paging.mjs";
|
|
125
|
+
import { default as Kt } from "./editable-table/index.vue.mjs";
|
|
126
|
+
import { default as Ut } from "./editable-table/form-item.vue.mjs";
|
|
127
|
+
import { default as Vt } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
128
|
+
import { ensureRangeValue as _t } from "./scroll-bar/utils/index.mjs";
|
|
129
|
+
import { default as jt } from "./scroll-bar/index.vue.mjs";
|
|
130
|
+
import { default as Jt } from "./scroll-bar/internal.vue.mjs";
|
|
131
|
+
import { default as Xt } from "./scroll-view/index.vue.mjs";
|
|
132
|
+
import { default as Zt } from "./portal/index.vue.mjs";
|
|
133
|
+
import { default as ep } from "./full-screen/index.vue.mjs";
|
|
134
|
+
import { default as rp } from "./resize-observer/index.vue.mjs";
|
|
135
|
+
import { default as pp } from "./ap-grid/index.vue.mjs";
|
|
136
|
+
import { default as mp } from "./ap-grid/editable/index.vue.mjs";
|
|
137
|
+
import { default as lp } from "./ap-grid/editable/form-item.vue.mjs";
|
|
138
|
+
import { default as xp } from "./text/index.vue.mjs";
|
|
139
|
+
import { default as sp } from "./text/group.vue.mjs";
|
|
140
|
+
import { default as ip } from "./mask/index.vue.mjs";
|
|
140
141
|
export {
|
|
141
142
|
b as APConfigProvider,
|
|
142
143
|
dr as ApActionButton,
|
|
143
144
|
wo as ApActionGroup,
|
|
144
145
|
L as ApActionItem,
|
|
145
|
-
|
|
146
|
+
yo as ApActionItemDropdown,
|
|
146
147
|
Eo as ApActionItemModal,
|
|
147
148
|
No as ApActionItemPopconfirm,
|
|
148
|
-
|
|
149
|
+
Ct as ApAppendix,
|
|
149
150
|
Sr as ApAttachment,
|
|
150
151
|
Dr as ApBatchAction,
|
|
151
152
|
Gr as ApBatchActionGroup,
|
|
@@ -153,14 +154,14 @@ export {
|
|
|
153
154
|
Pr as ApButtonGroup,
|
|
154
155
|
Lr as ApCard,
|
|
155
156
|
ur as ApConfirmButton,
|
|
156
|
-
|
|
157
|
+
Vt as ApDescriptions,
|
|
157
158
|
$o as ApDownLoadNeedNameKeyDefault,
|
|
158
159
|
or as ApDownload,
|
|
159
160
|
k as ApDrawer,
|
|
160
|
-
|
|
161
|
+
Rr as ApExpandAlert,
|
|
161
162
|
kr as ApExportGroup,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
Mr as ApExportGroupActionType,
|
|
164
|
+
gt as ApExtensionSelect,
|
|
164
165
|
g as ApField,
|
|
165
166
|
oo as ApFieldCheckbox,
|
|
166
167
|
to as ApFieldDate,
|
|
@@ -180,12 +181,12 @@ export {
|
|
|
180
181
|
qe as ApFormControlRender,
|
|
181
182
|
ze as ApFormDependency,
|
|
182
183
|
He as ApFormDrawerForm,
|
|
183
|
-
|
|
184
|
-
|
|
184
|
+
Re as ApFormItem,
|
|
185
|
+
yt as ApFormItemBatchInput,
|
|
185
186
|
Ge as ApFormItemCheckbox,
|
|
186
187
|
ne as ApFormItemDate,
|
|
187
188
|
Fe as ApFormItemDateRange,
|
|
188
|
-
|
|
189
|
+
Me as ApFormItemGroup,
|
|
189
190
|
Ae as ApFormItemNumber,
|
|
190
191
|
Te as ApFormItemRadio,
|
|
191
192
|
Qe as ApFormItemRender,
|
|
@@ -200,8 +201,8 @@ export {
|
|
|
200
201
|
Ye as ApFormProvider,
|
|
201
202
|
Be as ApFormSearchForm,
|
|
202
203
|
We as ApFormSet,
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
pp as ApGrid,
|
|
205
|
+
Gt as ApGroupSearch,
|
|
205
206
|
zr as ApImage,
|
|
206
207
|
qo as ApInfoLayout,
|
|
207
208
|
Wr as ApInputRadio,
|
|
@@ -209,58 +210,58 @@ export {
|
|
|
209
210
|
jr as ApLabelGroup,
|
|
210
211
|
Xr as ApLadder,
|
|
211
212
|
ar as ApList,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
M as ApModal,
|
|
214
|
+
bt as ApNeedNameKeyDefault,
|
|
215
|
+
ht as ApPopoverSelect,
|
|
215
216
|
Zr as ApSelectLayout,
|
|
216
|
-
|
|
217
|
+
wt as ApSizeInput,
|
|
217
218
|
et as ApStatus,
|
|
218
219
|
ot as ApStatusGroup,
|
|
219
|
-
|
|
220
|
+
It as ApSummary,
|
|
220
221
|
B as ApTable,
|
|
221
222
|
nr as ApTableModal,
|
|
222
223
|
Wo as ApTag,
|
|
223
224
|
Ho as ApTagGroup,
|
|
224
|
-
|
|
225
|
-
|
|
225
|
+
xp as ApText,
|
|
226
|
+
sp as ApTextGroup,
|
|
226
227
|
tt as ApTitle,
|
|
227
228
|
Ar as ApTransformDataHelper,
|
|
228
229
|
Yo as ApUpload,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
Et as ApUploadSingle,
|
|
231
|
+
Nt as BatchInputGroup,
|
|
232
|
+
R as CheckCard,
|
|
232
233
|
tr as CheckCardGroup,
|
|
233
234
|
me as ConfigProvider,
|
|
234
235
|
z as DEFAULT_NAMESPACE,
|
|
235
236
|
V as DEFAULT_UIMODE,
|
|
236
237
|
vo as DictCode,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
238
|
+
mp as EditableGrid,
|
|
239
|
+
lp as EditableGridFormItem,
|
|
240
|
+
Kt as EditableTable,
|
|
241
|
+
Ut as EditableTableFormItem,
|
|
242
|
+
ep as FullScreen,
|
|
243
|
+
Jt as InternalScrollBar,
|
|
244
|
+
ip as Mask,
|
|
244
245
|
Qo as NeedNameKeyDefault,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
Zt as Portal,
|
|
247
|
+
rp as ResizeObserver,
|
|
248
|
+
jt as ScrollBar,
|
|
249
|
+
Xt as ScrollView,
|
|
249
250
|
zo as WorkOrderModal,
|
|
250
251
|
h as adminToken,
|
|
251
252
|
P as aplusToken,
|
|
252
253
|
Q as buildLocaleContext,
|
|
253
254
|
X as buildTranslator,
|
|
254
|
-
|
|
255
|
+
At as computedRecords,
|
|
255
256
|
W as configProviderContextKey,
|
|
256
257
|
O as configProviderProps,
|
|
257
258
|
Or as convertExportField,
|
|
258
259
|
Oo as createWorkOrderModal,
|
|
259
260
|
oe as defaultNamespace,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
_t as ensureRangeValue,
|
|
262
|
+
it as flattenColumns,
|
|
263
|
+
nt as formatDataIndex,
|
|
264
|
+
ct as formatNumber,
|
|
264
265
|
fe as globalConfigCached,
|
|
265
266
|
Br as handleExportDownload,
|
|
266
267
|
H as keysOf,
|
|
@@ -272,12 +273,13 @@ export {
|
|
|
272
273
|
Z as translate,
|
|
273
274
|
te as useGetDerivedNamespace,
|
|
274
275
|
q as useGlobalConfig,
|
|
276
|
+
ut as useGridRefresh,
|
|
275
277
|
$ as useLocale,
|
|
276
278
|
pe as useNamespace,
|
|
277
279
|
dt as usePageListApGrid,
|
|
278
280
|
at as usePageListApTable,
|
|
279
281
|
Fr as useTableModal,
|
|
280
|
-
|
|
282
|
+
vt as useTablePaging,
|
|
281
283
|
ft as useTableRefresh,
|
|
282
284
|
Tr as useTableSelectModal
|
|
283
285
|
};
|