@aplus-frontend/ui 6.15.0 → 6.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/index.mjs +83 -81
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +35 -31
- package/es/src/business/ap-batch-action/index.d.ts +9 -3
- package/es/src/business/ap-batch-action/interface.d.ts +4 -0
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +124 -0
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.mjs +4 -0
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +194 -0
- package/es/src/business/ap-draggable-grid/constans.d.ts +40 -0
- package/es/src/business/ap-draggable-grid/constans.mjs +41 -0
- package/es/src/business/ap-draggable-grid/index.d.ts +197 -0
- package/es/src/business/ap-draggable-grid/index.mjs +8 -0
- package/es/src/business/ap-draggable-grid/interface.d.ts +14 -0
- package/es/src/business/ap-draggable-grid/interface.mjs +1 -0
- package/es/src/business/ap-draggable-grid/style/css.d.ts +0 -0
- package/es/src/business/ap-draggable-grid/style/css.js +1 -0
- package/es/src/business/ap-draggable-grid/style/index.d.ts +0 -0
- package/es/src/business/ap-draggable-grid/style/index.js +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +82 -82
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +20 -18
- package/es/src/index.mjs +59 -57
- package/es/src/path-map.mjs +2 -1
- package/es/src/text/index.vue.d.ts +1 -1
- package/es/src/text/index.vue.mjs +49 -43
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/test/setup.d.ts +1 -5
- package/lib/index.js +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
- package/lib/src/business/ap-batch-action/index.d.ts +9 -3
- package/lib/src/business/ap-batch-action/interface.d.ts +4 -0
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +124 -0
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.js +1 -0
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -0
- package/lib/src/business/ap-draggable-grid/constans.d.ts +40 -0
- package/lib/src/business/ap-draggable-grid/constans.js +1 -0
- package/lib/src/business/ap-draggable-grid/index.d.ts +197 -0
- package/lib/src/business/ap-draggable-grid/index.js +1 -0
- package/lib/src/business/ap-draggable-grid/interface.d.ts +14 -0
- package/lib/src/business/ap-draggable-grid/interface.js +1 -0
- package/lib/src/business/ap-draggable-grid/style/css.cjs +1 -0
- package/lib/src/business/ap-draggable-grid/style/css.d.ts +0 -0
- package/lib/src/business/ap-draggable-grid/style/index.cjs +1 -0
- package/lib/src/business/ap-draggable-grid/style/index.d.ts +0 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/text/index.vue.d.ts +1 -1
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/test/setup.d.ts +1 -5
- package/package.json +2 -28
- package/theme/ap-draggable-grid/ap-draggable-grid.css +82 -0
- package/theme/ap-draggable-grid/ap-draggable-grid.less +38 -0
- package/theme/index.css +39 -0
- package/theme/index.less +1 -0
- package/theme/text/index.css +3 -0
- package/theme/text/index.less +3 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as z, ref as
|
|
1
|
+
import { defineComponent as z, ref as M, computed as v, watch as U, createElementBlock as H, openBlock as c, Fragment as J, createBlock as m, createCommentVNode as S, unref as o, mergeProps as A, withCtx as u, createTextVNode as h, toDisplayString as E, normalizeClass as Q, createVNode as F } from "vue";
|
|
2
2
|
import { DownOutlined as W } from "@ant-design/icons-vue";
|
|
3
|
-
import { message as X, Dropdown as Y, Menu as Z, MenuItem as
|
|
3
|
+
import { message as X, Dropdown as Y, Menu as Z, MenuItem as T } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { ApExportGroupActionType as
|
|
5
|
+
import { ApExportGroupActionType as s } from "./interface.mjs";
|
|
6
6
|
import { usePermission as _ } from "@aplus-frontend/hooks";
|
|
7
7
|
import { handleExportDownload as ee } from "./handleExportDownload.mjs";
|
|
8
8
|
import { useInjectApTable as te } from "../../ap-table/context.mjs";
|
|
@@ -11,9 +11,9 @@ import "../../ap-button/index.mjs";
|
|
|
11
11
|
import { ApBatchActionGroup as le } from "../ap-batch-action-group/index.mjs";
|
|
12
12
|
import { useNamespace as oe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import { useLocale as re } from "../../config-provider/hooks/use-locale.mjs";
|
|
14
|
-
import { useGlobalConfig as
|
|
15
|
-
import
|
|
16
|
-
const
|
|
14
|
+
import { useGlobalConfig as se } from "../../config-provider/hooks/use-global-config.mjs";
|
|
15
|
+
import K from "../../ap-button/ap-button.vue.mjs";
|
|
16
|
+
const Ee = /* @__PURE__ */ z({
|
|
17
17
|
__name: "ApExportGroup",
|
|
18
18
|
props: {
|
|
19
19
|
type: { default: "button" },
|
|
@@ -32,128 +32,128 @@ const we = /* @__PURE__ */ z({
|
|
|
32
32
|
successMessage: { type: [Boolean, String], default: !1 },
|
|
33
33
|
exportField: { type: [Boolean, Object], default: void 0 }
|
|
34
34
|
},
|
|
35
|
-
setup(
|
|
36
|
-
const { hasPermission:
|
|
35
|
+
setup(D) {
|
|
36
|
+
const { hasPermission: R } = _(), e = D, { columns: g, dataSource: b } = te(), { b: j } = oe("ap-export-group"), { t: n } = re(), P = se("exportField"), d = M(!1), w = M(!1), f = v(
|
|
37
37
|
() => {
|
|
38
38
|
var l;
|
|
39
|
-
return !!(e != null && e.disabled) || (b !== void 0 ? !((l = b == null ? void 0 : b.value) != null && l.length) : !1) ||
|
|
39
|
+
return !!(e != null && e.disabled) || (b !== void 0 ? !((l = b == null ? void 0 : b.value) != null && l.length) : !1) || d.value;
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
U(
|
|
43
|
-
() =>
|
|
43
|
+
() => f.value,
|
|
44
44
|
() => {
|
|
45
|
-
|
|
45
|
+
f.value && (w.value = !1);
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
immediate: !0
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
-
const
|
|
52
|
-
const
|
|
51
|
+
const I = v(() => (e == null ? void 0 : e.successMessage) === !0 ? n("ap.apExportGroup.exportSuccess") : e != null && e.successMessage ? e.successMessage : ""), N = (l = e == null ? void 0 : e.exportField) => {
|
|
52
|
+
const a = "exportFieldList", t = l ?? (P.value === "" ? !0 : P.value) ?? !1;
|
|
53
53
|
return t === !0 ? {
|
|
54
|
-
key:
|
|
54
|
+
key: a
|
|
55
55
|
} : typeof t == "object" ? {
|
|
56
56
|
...t,
|
|
57
|
-
key: t.key ??
|
|
57
|
+
key: t.key ?? a
|
|
58
58
|
} : t;
|
|
59
|
-
}
|
|
59
|
+
}, $ = {
|
|
60
60
|
textAlign: "center"
|
|
61
|
-
},
|
|
61
|
+
}, x = v(() => (e == null ? void 0 : e.selectedRowKeys) || []), L = v(() => {
|
|
62
62
|
let l = e == null ? void 0 : e.ifShow;
|
|
63
|
-
return !(e != null && e.ifShow) && (e != null && e.auth) && (l = () =>
|
|
63
|
+
return !(e != null && e.ifShow) && (e != null && e.auth) && (l = () => R(e.auth)), (l == null ? void 0 : l()) ?? !0;
|
|
64
64
|
});
|
|
65
65
|
async function O() {
|
|
66
|
-
|
|
66
|
+
x.value.length > 0 ? p({ key: s.SELECT }) : p({ key: s.ALL });
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
69
|
-
var G, B
|
|
70
|
-
const
|
|
68
|
+
async function p({ key: l, option: a }) {
|
|
69
|
+
var G, B;
|
|
70
|
+
const t = a || e, { getRequestParams: i, request: r } = t || {}, y = N(t == null ? void 0 : t.exportField);
|
|
71
71
|
let C = {};
|
|
72
|
-
l ===
|
|
73
|
-
[(
|
|
74
|
-
} : l ===
|
|
75
|
-
const q = ((G =
|
|
72
|
+
l === s.SELECT ? C = {
|
|
73
|
+
[(t == null ? void 0 : t.idKey) || "ids"]: x.value
|
|
74
|
+
} : l === s.ALL && (C = (i == null ? void 0 : i()) || {});
|
|
75
|
+
const q = ((G = t == null ? void 0 : t.getInitialParams) == null ? void 0 : G.call(t)) || {};
|
|
76
76
|
try {
|
|
77
|
-
|
|
78
|
-
let
|
|
77
|
+
d.value = !0;
|
|
78
|
+
let k = Object.assign(
|
|
79
79
|
{
|
|
80
80
|
...C,
|
|
81
81
|
...q
|
|
82
82
|
},
|
|
83
|
-
|
|
84
|
-
[
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
y && (g != null && g.value) ? {
|
|
84
|
+
[y.key]: ae(
|
|
85
|
+
g.value,
|
|
86
|
+
y == null ? void 0 : y.convertField
|
|
87
87
|
)
|
|
88
88
|
} : {}
|
|
89
89
|
);
|
|
90
|
-
|
|
90
|
+
k = ((B = t == null ? void 0 : t.beforeRequest) == null ? void 0 : B.call(t, k)) || k, await ee(async () => await (r == null ? void 0 : r(k))), t != null && t.successMessage && X.success(I.value);
|
|
91
91
|
} finally {
|
|
92
|
-
|
|
92
|
+
d.value = !1;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
const V =
|
|
95
|
+
const V = v(() => {
|
|
96
96
|
var l;
|
|
97
|
-
return ((l = e == null ? void 0 : e.groupList) == null ? void 0 : l.map((
|
|
98
|
-
key:
|
|
99
|
-
content:
|
|
100
|
-
auth:
|
|
101
|
-
ifShow:
|
|
102
|
-
disabled:
|
|
97
|
+
return ((l = e == null ? void 0 : e.groupList) == null ? void 0 : l.map((a, t) => ({
|
|
98
|
+
key: t,
|
|
99
|
+
content: a == null ? void 0 : a.text,
|
|
100
|
+
auth: a == null ? void 0 : a.auth,
|
|
101
|
+
ifShow: a == null ? void 0 : a.ifShow,
|
|
102
|
+
disabled: a == null ? void 0 : a.disabled,
|
|
103
103
|
onClick: () => {
|
|
104
|
-
|
|
105
|
-
key:
|
|
106
|
-
option:
|
|
107
|
-
}) :
|
|
108
|
-
key:
|
|
109
|
-
option:
|
|
104
|
+
x.value.length > 0 ? p({
|
|
105
|
+
key: s.SELECT,
|
|
106
|
+
option: a
|
|
107
|
+
}) : p({
|
|
108
|
+
key: s.ALL,
|
|
109
|
+
option: a
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
}))) || [];
|
|
113
113
|
});
|
|
114
|
-
return (l,
|
|
115
|
-
var
|
|
116
|
-
return
|
|
117
|
-
L.value && e.type === "button" ? (
|
|
114
|
+
return (l, a) => {
|
|
115
|
+
var t, i;
|
|
116
|
+
return c(), H(J, null, [
|
|
117
|
+
L.value && e.type === "button" ? (c(), m(o(K), A({ key: 0 }, {
|
|
118
118
|
...l.$attrs
|
|
119
119
|
}, {
|
|
120
|
-
disabled:
|
|
121
|
-
loading:
|
|
120
|
+
disabled: f.value,
|
|
121
|
+
loading: d.value,
|
|
122
122
|
"min-width": "",
|
|
123
123
|
onClick: O
|
|
124
124
|
}), {
|
|
125
|
-
default:
|
|
126
|
-
|
|
125
|
+
default: u(() => [
|
|
126
|
+
h(E((e == null ? void 0 : e.text) ?? o(n)("ap.apExportGroup.export")), 1)
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
129
|
}, 16, ["disabled", "loading"])) : S("", !0),
|
|
130
|
-
L.value && e.type === "dropdown" ? (
|
|
130
|
+
L.value && e.type === "dropdown" ? (c(), m(o(Y), {
|
|
131
131
|
key: 1,
|
|
132
132
|
open: w.value,
|
|
133
|
-
"onUpdate:open":
|
|
134
|
-
class: Q([o(
|
|
133
|
+
"onUpdate:open": a[0] || (a[0] = (r) => w.value = r),
|
|
134
|
+
class: Q([o(j)()]),
|
|
135
135
|
"overlay-style": $,
|
|
136
|
-
disabled:
|
|
136
|
+
disabled: f.value
|
|
137
137
|
}, {
|
|
138
|
-
overlay:
|
|
139
|
-
F(o(Z), { onClick:
|
|
140
|
-
default:
|
|
138
|
+
overlay: u(() => [
|
|
139
|
+
F(o(Z), { onClick: p }, {
|
|
140
|
+
default: u(() => {
|
|
141
141
|
var r;
|
|
142
142
|
return [
|
|
143
|
-
(
|
|
144
|
-
key: o(
|
|
145
|
-
disabled: ((r =
|
|
143
|
+
(c(), m(o(T), {
|
|
144
|
+
key: o(s).SELECT,
|
|
145
|
+
disabled: ((r = x.value) == null ? void 0 : r.length) === 0
|
|
146
146
|
}, {
|
|
147
|
-
default:
|
|
148
|
-
|
|
147
|
+
default: u(() => [
|
|
148
|
+
h(E(o(n)("ap.apExportGroup.exportSelected")), 1)
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["disabled"])),
|
|
152
|
-
(
|
|
153
|
-
key: o(
|
|
152
|
+
(c(), m(o(T), {
|
|
153
|
+
key: o(s).ALL
|
|
154
154
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
155
|
+
default: u(() => [
|
|
156
|
+
h(E(o(n)("ap.apExportGroup.exportAll")), 1)
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
}))
|
|
@@ -162,12 +162,12 @@ const we = /* @__PURE__ */ z({
|
|
|
162
162
|
_: 1
|
|
163
163
|
})
|
|
164
164
|
]),
|
|
165
|
-
default:
|
|
166
|
-
F(o(
|
|
165
|
+
default: u(() => [
|
|
166
|
+
F(o(K), A({
|
|
167
167
|
...l.$attrs
|
|
168
|
-
}, { loading:
|
|
169
|
-
default:
|
|
170
|
-
|
|
168
|
+
}, { loading: d.value }), {
|
|
169
|
+
default: u(() => [
|
|
170
|
+
h(E((e == null ? void 0 : e.text) ?? o(n)("ap.apExportGroup.export")) + " ", 1),
|
|
171
171
|
F(o(W))
|
|
172
172
|
]),
|
|
173
173
|
_: 1
|
|
@@ -175,15 +175,15 @@ const we = /* @__PURE__ */ z({
|
|
|
175
175
|
]),
|
|
176
176
|
_: 1
|
|
177
177
|
}, 8, ["open", "class", "disabled"])) : S("", !0),
|
|
178
|
-
L.value && e.type === "group" ? (
|
|
178
|
+
L.value && e.type === "group" ? (c(), m(o(le), A({ key: 2 }, {
|
|
179
179
|
...l.$attrs
|
|
180
180
|
}, {
|
|
181
|
-
disabled:
|
|
182
|
-
loading:
|
|
181
|
+
disabled: f.value,
|
|
182
|
+
loading: d.value,
|
|
183
183
|
"button-props": {
|
|
184
184
|
...e.buttonProps,
|
|
185
|
-
content: ((
|
|
186
|
-
type: ((
|
|
185
|
+
content: ((t = e == null ? void 0 : e.buttonProps) == null ? void 0 : t.content) ?? o(n)("ap.apExportGroup.export"),
|
|
186
|
+
type: ((i = e == null ? void 0 : e.buttonProps) == null ? void 0 : i.type) ?? "default"
|
|
187
187
|
},
|
|
188
188
|
"menu-list": V.value
|
|
189
189
|
}), null, 16, ["disabled", "loading", "button-props", "menu-list"])) : S("", !0)
|
|
@@ -192,5 +192,5 @@ const we = /* @__PURE__ */ z({
|
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
export {
|
|
195
|
-
|
|
195
|
+
Ee as default
|
|
196
196
|
};
|
|
@@ -5,13 +5,13 @@ import { ApBatchActionGroup as i } from "./ap-batch-action-group/index.mjs";
|
|
|
5
5
|
import { ApButtonGroup as l } from "./ap-button-group/index.mjs";
|
|
6
6
|
import { ApCard as c } from "./ap-card/index.mjs";
|
|
7
7
|
import { ApExpandAlert as S } from "./ap-expand-alert/index.mjs";
|
|
8
|
-
import { ApExportGroup as
|
|
9
|
-
import { ApImage as
|
|
10
|
-
import { ApInputRadio as
|
|
11
|
-
import { ApLabel as
|
|
12
|
-
import { ApLadder as
|
|
13
|
-
import { ApSelectLayout as
|
|
14
|
-
import { ApStatus as
|
|
8
|
+
import { ApExportGroup as s } from "./ap-export-group/index.mjs";
|
|
9
|
+
import { ApImage as L } from "./ap-image/index.mjs";
|
|
10
|
+
import { ApInputRadio as h } from "./ap-input-radio/index.mjs";
|
|
11
|
+
import { ApLabel as B, ApLabelGroup as T } from "./ap-label/index.mjs";
|
|
12
|
+
import { ApLadder as D } from "./ap-ladder/index.mjs";
|
|
13
|
+
import { ApSelectLayout as R } from "./ap-select-layout/index.mjs";
|
|
14
|
+
import { ApStatus as w, ApStatusGroup as z } from "./ap-status/index.mjs";
|
|
15
15
|
import { ApTitle as K } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
17
|
import { ApSummary as P } from "./ap-summary/index.mjs";
|
|
@@ -24,7 +24,8 @@ import { ApCopy as O } from "./ap-copy/index.mjs";
|
|
|
24
24
|
import { ApView as U } from "./ap-view/index.mjs";
|
|
25
25
|
import { ApRadioGroup as X } from "./ap-radio-group/index.mjs";
|
|
26
26
|
import { ApKeepAlive as Z } from "./ap-keep-alive/index.mjs";
|
|
27
|
-
import {
|
|
27
|
+
import { ApDraggableGrid as $ } from "./ap-draggable-grid/index.mjs";
|
|
28
|
+
import { ApTransformDataHelper as po } from "../utils/ap-trans-data/index.mjs";
|
|
28
29
|
export {
|
|
29
30
|
j as ApAppendix,
|
|
30
31
|
f as ApAttachment,
|
|
@@ -33,23 +34,24 @@ export {
|
|
|
33
34
|
l as ApButtonGroup,
|
|
34
35
|
c as ApCard,
|
|
35
36
|
O as ApCopy,
|
|
37
|
+
$ as ApDraggableGrid,
|
|
36
38
|
S as ApExpandAlert,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
s as ApExportGroup,
|
|
40
|
+
L as ApImage,
|
|
41
|
+
h as ApInputRadio,
|
|
40
42
|
Z as ApKeepAlive,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
B as ApLabel,
|
|
44
|
+
T as ApLabelGroup,
|
|
45
|
+
D as ApLadder,
|
|
44
46
|
J as ApProductInfo,
|
|
45
47
|
X as ApRadioGroup,
|
|
46
|
-
|
|
48
|
+
R as ApSelectLayout,
|
|
47
49
|
q as ApSizeInput,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
w as ApStatus,
|
|
51
|
+
z as ApStatusGroup,
|
|
50
52
|
P as ApSummary,
|
|
51
53
|
m as ApTableModal,
|
|
52
54
|
K as ApTitle,
|
|
53
|
-
|
|
55
|
+
po as ApTransformDataHelper,
|
|
54
56
|
U as ApView
|
|
55
57
|
};
|
package/es/src/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APConfigProvider as T } from "./config-provider/index.mjs";
|
|
2
2
|
import { ApForm as C } from "./ap-form/index.mjs";
|
|
3
|
-
import { ApField as
|
|
3
|
+
import { ApField as g } from "./ap-field/index.mjs";
|
|
4
4
|
import { adminToken as G, aplusToken as h } from "./design-token/index.mjs";
|
|
5
5
|
import { ApActionItem as P } from "./ap-action/index.mjs";
|
|
6
6
|
import "./work-order-modal/index.mjs";
|
|
@@ -32,13 +32,13 @@ import { buildLocaleContext as X, buildTranslator as Y, localeContextKey as Z, t
|
|
|
32
32
|
import { defaultNamespace as re, namespaceContextKey as te, useGetDerivedNamespace as pe, useNamespace as ae } from "./config-provider/hooks/use-namespace.mjs";
|
|
33
33
|
import { ConfigProvider as fe, globalConfigCached as le } from "./config-provider/config-provider.mjs";
|
|
34
34
|
import { ApFormItemText as de } from "./ap-form/items/text/index.mjs";
|
|
35
|
-
import { default as
|
|
35
|
+
import { default as Ae } from "./ap-form/items/text-area/index.vue.mjs";
|
|
36
36
|
import { default as ie } from "./ap-form/items/number/index.vue.mjs";
|
|
37
37
|
import { default as ce } from "./ap-form/items/date/index.vue.mjs";
|
|
38
38
|
import { default as Ie } from "./ap-form/items/date-range/index.vue.mjs";
|
|
39
39
|
import { default as be } from "./ap-form/items/radio/index.vue.mjs";
|
|
40
40
|
import { default as Se } from "./ap-form/items/select/index.vue.mjs";
|
|
41
|
-
import { default as
|
|
41
|
+
import { default as De } from "./ap-form/items/switch/index.vue.mjs";
|
|
42
42
|
import { default as he } 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 Ne } from "./ap-form/items/tree-select/index.vue.mjs";
|
|
@@ -59,12 +59,12 @@ import { default as po } from "./ap-field/date/index.vue.mjs";
|
|
|
59
59
|
import { default as mo } from "./ap-field/number/index.vue.mjs";
|
|
60
60
|
import { default as lo } from "./ap-field/radio/index.vue.mjs";
|
|
61
61
|
import { default as uo } from "./ap-field/switch/index.vue.mjs";
|
|
62
|
-
import { default as
|
|
62
|
+
import { default as so } from "./ap-field/text-area/index.vue.mjs";
|
|
63
63
|
import { default as no } from "./ap-field/date-range/index.vue.mjs";
|
|
64
64
|
import { default as Fo } from "./ap-field/select/index.vue.mjs";
|
|
65
65
|
import { default as To } from "./ap-field/text/password.vue.mjs";
|
|
66
66
|
import { default as Co } from "./ap-field/slider/index.vue.mjs";
|
|
67
|
-
import { default as
|
|
67
|
+
import { default as go } from "./ap-field/segmented/index.vue.mjs";
|
|
68
68
|
import { default as Go } from "./ap-field/rate/index.vue.mjs";
|
|
69
69
|
import { default as Eo } from "./ap-field/tree-select/index.vue.mjs";
|
|
70
70
|
import { default as Lo } from "./ap-action/item-modal/index.vue.mjs";
|
|
@@ -85,13 +85,13 @@ import { default as pr } from "./ap-list/index.vue.mjs";
|
|
|
85
85
|
import { default as mr } from "./ap-button/ap-button.vue.mjs";
|
|
86
86
|
import { default as lr } from "./ap-button/ap-action-button.vue.mjs";
|
|
87
87
|
import { default as dr } from "./ap-button/ap-confirm-button.vue.mjs";
|
|
88
|
-
import { ApTransformDataHelper as
|
|
88
|
+
import { ApTransformDataHelper as Ar } from "./utils/ap-trans-data/index.mjs";
|
|
89
89
|
import { default as ir } from "./business/ap-table-modal/index.mjs";
|
|
90
90
|
import { useTableModal as cr } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
91
91
|
import { useTableSelectModal as Ir } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
92
92
|
import { ApAttachment as br } from "./business/ap-attachment/index.mjs";
|
|
93
93
|
import { ApBatchAction as Sr } from "./business/ap-batch-action/index.mjs";
|
|
94
|
-
import { ApBatchActionGroup as
|
|
94
|
+
import { ApBatchActionGroup as Dr } from "./business/ap-batch-action-group/index.mjs";
|
|
95
95
|
import { ApButtonGroup as hr } from "./business/ap-button-group/index.mjs";
|
|
96
96
|
import { ApCard as Pr } from "./business/ap-card/index.mjs";
|
|
97
97
|
import { ApExpandAlert as Nr } from "./business/ap-expand-alert/index.mjs";
|
|
@@ -111,11 +111,11 @@ import { usePageListApTable as pt } from "./business/hooks/usePageListApTable.mj
|
|
|
111
111
|
import { useTableRefresh as mt } from "./business/hooks/useTableRefresh.mjs";
|
|
112
112
|
import { usePageListApGrid as lt } from "./business/hooks/usePageListApGrid.mjs";
|
|
113
113
|
import { useGridRefresh as dt } from "./business/hooks/useGridRefresh.mjs";
|
|
114
|
-
import { computedRecords as
|
|
114
|
+
import { computedRecords as At, flattenColumns as st, formatDataIndex as it, formatNumber as nt } from "./business/ap-summary/utils.mjs";
|
|
115
115
|
import { ApSummary as Ft } from "./business/ap-summary/index.mjs";
|
|
116
116
|
import { ApNeedNameKeyDefault as Tt } from "./business/ap-appendix/interface.mjs";
|
|
117
117
|
import { ApAppendix as Ct } from "./business/ap-appendix/index.mjs";
|
|
118
|
-
import { default as
|
|
118
|
+
import { default as gt } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
119
119
|
import { default as Gt } from "./business/batch-input-group/index.vue.mjs";
|
|
120
120
|
import { default as Et } from "./business/batch-input-group/form-item.vue.mjs";
|
|
121
121
|
import { ApSizeInput as Lt } from "./business/ap-size-input/index.mjs";
|
|
@@ -128,25 +128,26 @@ import { ApKeepAlive as Vt } from "./business/ap-keep-alive/index.mjs";
|
|
|
128
128
|
import { LruCacher as zt } from "./business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
129
129
|
import { useApKeepAliveInject as Ht } from "./business/ap-keep-alive/hook.mjs";
|
|
130
130
|
import { matches as Jt } from "./business/ap-keep-alive/utils.mjs";
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import { default as ep } from "./editable-table/
|
|
134
|
-
import { default as rp } from "./
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import { default as lp } from "./scroll-bar/
|
|
138
|
-
import { default as dp } from "./scroll-
|
|
139
|
-
import { default as
|
|
140
|
-
import { default as ip } from "./
|
|
141
|
-
import { default as cp } from "./
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import { default as
|
|
146
|
-
import { default as hp } from "./ap-grid/editable/
|
|
147
|
-
import { default as Pp } from "./
|
|
148
|
-
import { default as Np } from "./text/
|
|
149
|
-
import { default as yp } from "./
|
|
131
|
+
import { ApDraggableGrid as Xt } from "./business/ap-draggable-grid/index.mjs";
|
|
132
|
+
import { useTablePaging as Zt } from "./ap-table/hooks/use-table-paging.mjs";
|
|
133
|
+
import { default as ep } from "./editable-table/index.vue.mjs";
|
|
134
|
+
import { default as rp } from "./editable-table/form-item.vue.mjs";
|
|
135
|
+
import { default as pp } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
136
|
+
import { ensureRangeValue as mp } from "./scroll-bar/utils/index.mjs";
|
|
137
|
+
import { default as lp } from "./scroll-bar/index.vue.mjs";
|
|
138
|
+
import { default as dp } from "./scroll-bar/internal.vue.mjs";
|
|
139
|
+
import { default as Ap } from "./scroll-view/index.vue.mjs";
|
|
140
|
+
import { default as ip } from "./portal/index.vue.mjs";
|
|
141
|
+
import { default as cp } from "./full-screen/index.vue.mjs";
|
|
142
|
+
import { default as Ip } from "./resize-observer/index.vue.mjs";
|
|
143
|
+
import { ROW_SELECTION_FIELD as bp } from "./ap-grid/constants.mjs";
|
|
144
|
+
import { toTreeArray as Sp } from "./ap-grid/utils/to-tree-array.mjs";
|
|
145
|
+
import { default as Dp } from "./ap-grid/index.vue.mjs";
|
|
146
|
+
import { default as hp } from "./ap-grid/editable/index.vue.mjs";
|
|
147
|
+
import { default as Pp } from "./ap-grid/editable/form-item.vue.mjs";
|
|
148
|
+
import { default as Np } from "./text/index.vue.mjs";
|
|
149
|
+
import { default as yp } from "./text/group.vue.mjs";
|
|
150
|
+
import { default as vp } from "./mask/index.vue.mjs";
|
|
150
151
|
export {
|
|
151
152
|
T as APConfigProvider,
|
|
152
153
|
lr as ApActionButton,
|
|
@@ -158,20 +159,21 @@ export {
|
|
|
158
159
|
Ct as ApAppendix,
|
|
159
160
|
br as ApAttachment,
|
|
160
161
|
Sr as ApBatchAction,
|
|
161
|
-
|
|
162
|
+
Dr as ApBatchActionGroup,
|
|
162
163
|
mr as ApButton,
|
|
163
164
|
hr as ApButtonGroup,
|
|
164
165
|
Pr as ApCard,
|
|
165
166
|
dr as ApConfirmButton,
|
|
166
167
|
Mt as ApCopy,
|
|
167
|
-
|
|
168
|
+
pp as ApDescriptions,
|
|
168
169
|
Zo as ApDownLoadNeedNameKeyDefault,
|
|
169
170
|
er as ApDownload,
|
|
171
|
+
Xt as ApDraggableGrid,
|
|
170
172
|
v as ApDrawer,
|
|
171
173
|
Nr as ApExpandAlert,
|
|
172
174
|
vr as ApExportGroup,
|
|
173
175
|
yr as ApExportGroupActionType,
|
|
174
|
-
|
|
176
|
+
g as ApField,
|
|
175
177
|
ro as ApFieldCheckbox,
|
|
176
178
|
po as ApFieldDate,
|
|
177
179
|
no as ApFieldDateRange,
|
|
@@ -179,12 +181,12 @@ export {
|
|
|
179
181
|
To as ApFieldPassword,
|
|
180
182
|
lo as ApFieldRadio,
|
|
181
183
|
Go as ApFieldRate,
|
|
182
|
-
|
|
184
|
+
go as ApFieldSegmented,
|
|
183
185
|
Fo as ApFieldSelect,
|
|
184
186
|
Co as ApFieldSlider,
|
|
185
187
|
uo as ApFieldSwitch,
|
|
186
188
|
eo as ApFieldText,
|
|
187
|
-
|
|
189
|
+
so as ApFieldTextArea,
|
|
188
190
|
Eo as ApFieldTreeSelect,
|
|
189
191
|
C as ApForm,
|
|
190
192
|
Je as ApFormControlRender,
|
|
@@ -200,9 +202,9 @@ export {
|
|
|
200
202
|
be as ApFormItemRadio,
|
|
201
203
|
Xe as ApFormItemRender,
|
|
202
204
|
Se as ApFormItemSelect,
|
|
203
|
-
|
|
205
|
+
De as ApFormItemSwitch,
|
|
204
206
|
de as ApFormItemText,
|
|
205
|
-
|
|
207
|
+
Ae as ApFormItemTextArea,
|
|
206
208
|
Pe as ApFormItemTextPassword,
|
|
207
209
|
Ne as ApFormItemTreeSelect,
|
|
208
210
|
ke as ApFormList,
|
|
@@ -210,7 +212,7 @@ export {
|
|
|
210
212
|
Ze as ApFormProvider,
|
|
211
213
|
Ke as ApFormSearchForm,
|
|
212
214
|
ze as ApFormSet,
|
|
213
|
-
|
|
215
|
+
Dp as ApGrid,
|
|
214
216
|
Ur as ApImage,
|
|
215
217
|
Vr as ApInputRadio,
|
|
216
218
|
Vt as ApKeepAlive,
|
|
@@ -232,12 +234,12 @@ export {
|
|
|
232
234
|
ir as ApTableModal,
|
|
233
235
|
zo as ApTag,
|
|
234
236
|
Ho as ApTagGroup,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
+
Np as ApText,
|
|
238
|
+
yp as ApTextGroup,
|
|
237
239
|
rt as ApTitle,
|
|
238
|
-
|
|
240
|
+
Ar as ApTransformDataHelper,
|
|
239
241
|
Xo as ApUpload,
|
|
240
|
-
|
|
242
|
+
gt as ApUploadSingle,
|
|
241
243
|
wt as ApView,
|
|
242
244
|
Gt as BatchInputGroup,
|
|
243
245
|
N as CheckCard,
|
|
@@ -246,34 +248,34 @@ export {
|
|
|
246
248
|
V as DEFAULT_NAMESPACE,
|
|
247
249
|
W as DEFAULT_UIMODE,
|
|
248
250
|
Bo as DictCode,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
hp as EditableGrid,
|
|
252
|
+
Pp as EditableGridFormItem,
|
|
253
|
+
ep as EditableTable,
|
|
254
|
+
rp as EditableTableFormItem,
|
|
255
|
+
cp as FullScreen,
|
|
256
|
+
dp as InternalScrollBar,
|
|
255
257
|
zt as LruCacher,
|
|
256
|
-
|
|
258
|
+
vp as Mask,
|
|
257
259
|
Jo as NeedNameKeyDefault,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
260
|
+
ip as Portal,
|
|
261
|
+
bp as ROW_SELECTION_FIELD,
|
|
262
|
+
Ip as ResizeObserver,
|
|
263
|
+
lp as ScrollBar,
|
|
264
|
+
Ap as ScrollView,
|
|
263
265
|
K as Splitter,
|
|
264
266
|
Vo as WorkOrderModal,
|
|
265
267
|
G as adminToken,
|
|
266
268
|
h as aplusToken,
|
|
267
269
|
X as buildLocaleContext,
|
|
268
270
|
Y as buildTranslator,
|
|
269
|
-
|
|
271
|
+
At as computedRecords,
|
|
270
272
|
z as configProviderContextKey,
|
|
271
273
|
U as configProviderProps,
|
|
272
274
|
Kr as convertExportField,
|
|
273
275
|
Uo as createWorkOrderModal,
|
|
274
276
|
re as defaultNamespace,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
+
mp as ensureRangeValue,
|
|
278
|
+
st as flattenColumns,
|
|
277
279
|
Ut as forceStopTags,
|
|
278
280
|
it as formatDataIndex,
|
|
279
281
|
nt as formatNumber,
|
|
@@ -286,7 +288,7 @@ export {
|
|
|
286
288
|
qr as locales,
|
|
287
289
|
te as namespaceContextKey,
|
|
288
290
|
q as provideGlobalConfig,
|
|
289
|
-
|
|
291
|
+
Sp as toTreeArray,
|
|
290
292
|
$ as translate,
|
|
291
293
|
Ht as useApKeepAliveInject,
|
|
292
294
|
pe as useGetDerivedNamespace,
|
|
@@ -297,7 +299,7 @@ export {
|
|
|
297
299
|
lt as usePageListApGrid,
|
|
298
300
|
pt as usePageListApTable,
|
|
299
301
|
cr as useTableModal,
|
|
300
|
-
|
|
302
|
+
Zt as useTablePaging,
|
|
301
303
|
mt as useTableRefresh,
|
|
302
304
|
Ir as useTableSelectModal
|
|
303
305
|
};
|
package/es/src/path-map.mjs
CHANGED
|
@@ -99,7 +99,8 @@ const e = {
|
|
|
99
99
|
Mask: ["mask"],
|
|
100
100
|
Splitter: ["splitter"],
|
|
101
101
|
ApView: ["business", "ap-view"],
|
|
102
|
-
ApRadioGroup: ["business", "ap-radio-group"]
|
|
102
|
+
ApRadioGroup: ["business", "ap-radio-group"],
|
|
103
|
+
ApDraggableGrid: ["business", "ap-draggable-grid"]
|
|
103
104
|
};
|
|
104
105
|
export {
|
|
105
106
|
e as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApTextProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
2
|
import { LinkProps } from '@aplus-frontend/antdv/es/typography/Link';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
4
4
|
type ApTextSlots = {
|
|
5
5
|
default: any;
|
|
6
6
|
ellipsisSymbol: any;
|