@aplus-frontend/ui 7.13.1 → 7.13.3
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/ag-grid/components/empty/index.vue.d.ts +4 -1
- package/es/src/ag-grid/components/empty/index.vue2.mjs +20 -10
- package/es/src/ag-grid/editable/form-item.vue.mjs +9 -8
- package/es/src/ag-grid/editable/index.vue.mjs +1 -0
- package/es/src/ag-grid/index.vue.mjs +54 -51
- package/es/src/ag-grid/interface.d.ts +4 -0
- package/es/src/ag-grid/style/index.mjs +5 -5
- package/es/src/ap-field/interface.d.ts +5 -0
- package/es/src/ap-field/select/index.vue.d.ts +2 -0
- package/es/src/ap-field/select/index.vue.mjs +150 -124
- package/es/src/ap-field/select/read.vue2.mjs +2 -1
- package/es/src/ap-field/select/use-select-options.mjs +12 -30
- package/es/src/ap-field/style/select.mjs +30 -19
- package/es/src/ap-form/items/select/index.vue.d.ts +12 -2
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +135 -128
- package/es/src/ap-table/constants.d.ts +6 -1
- package/es/src/business/ap-attachment/style/index.mjs +3 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +296 -161
- package/es/src/business/ap-export-group/index.d.ts +4 -1
- package/es/src/business/ap-export-group/interface.d.ts +31 -0
- package/es/src/business/ap-export-group/style/index.d.ts +5 -0
- package/es/src/business/ap-export-group/style/index.mjs +17 -0
- package/es/src/business/ap-file-preview/utils/create-file-preview-modal.mjs +3 -2
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +21 -21
- package/es/src/business/ap-view/style/index.mjs +3 -2
- package/es/src/config-provider/config-provider-props.d.ts +7 -6
- package/es/src/config-provider/config-provider-props.mjs +4 -4
- package/es/src/config-provider/config-provider.d.ts +35 -11
- package/es/src/config-provider/config-provider.mjs +24 -24
- package/es/src/config-provider/hooks/use-global-config.d.ts +14 -6
- package/es/src/config-provider/index.d.ts +65 -17
- package/es/src/locale/lang/en.mjs +7 -3
- package/es/src/locale/lang/zh-cn.mjs +6 -2
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/components/empty/index.vue.d.ts +4 -1
- package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -0
- package/lib/src/ag-grid/style/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +5 -0
- package/lib/src/ap-field/select/index.vue.d.ts +2 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/select/use-select-options.js +1 -1
- package/lib/src/ap-field/style/select.js +1 -1
- package/lib/src/ap-form/items/select/index.vue.d.ts +12 -2
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +6 -1
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +4 -1
- package/lib/src/business/ap-export-group/interface.d.ts +31 -0
- package/lib/src/business/ap-export-group/style/index.d.ts +5 -0
- package/lib/src/business/ap-export-group/style/index.js +1 -0
- package/lib/src/business/ap-file-preview/utils/create-file-preview-modal.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/style/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +7 -6
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +35 -11
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +14 -6
- package/lib/src/config-provider/index.d.ts +65 -17
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { SettingOutlined as
|
|
3
|
-
import { Button as
|
|
1
|
+
import { defineComponent as pe, ref as v, computed as ce, toRef as me, useSlots as de, createVNode as l, cloneVNode as fe, unref as e, watch as E, createElementBlock as P, openBlock as S, Fragment as ve, createBlock as x, createCommentVNode as j, resolveDynamicComponent as w, withCtx as o, withDirectives as ge, createElementVNode as c, normalizeClass as u, toDisplayString as g, createTextVNode as h, isRef as ye, vShow as Se } from "vue";
|
|
2
|
+
import { SettingOutlined as Te, SaveOutlined as be } from "@ant-design/icons-vue";
|
|
3
|
+
import { Button as F, Modal as Ce, Divider as A, RadioGroup as he, RadioButton as M, Flex as ke, Space as q, Popover as _e } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../../../ap-button/index.mjs";
|
|
5
|
-
import { randomStr as
|
|
5
|
+
import { randomStr as ze } from "../../../../utils/index.mjs";
|
|
6
6
|
import "../../../../config-provider/index.mjs";
|
|
7
|
-
import { getSingleVNode as
|
|
8
|
-
import { useInjectApTable as
|
|
9
|
-
import { useTableColumnState as
|
|
10
|
-
import { useTableTemplateStorage as
|
|
11
|
-
import
|
|
12
|
-
import { useProvideApColumnSetting as
|
|
7
|
+
import { getSingleVNode as xe } from "../../../../utils/slot.mjs";
|
|
8
|
+
import { useInjectApTable as we } from "../../../context.mjs";
|
|
9
|
+
import { useTableColumnState as Ae } from "../../../hooks/use-table-column-state.mjs";
|
|
10
|
+
import { useTableTemplateStorage as Be } from "../../../hooks/use-table-template-storage.mjs";
|
|
11
|
+
import Ne from "../../../style/setting.mjs";
|
|
12
|
+
import { useProvideApColumnSetting as Ke } from "../context.mjs";
|
|
13
13
|
import "../sorter/index.vue.mjs";
|
|
14
14
|
import "../template/edit-form.vue.mjs";
|
|
15
15
|
import "../template/index.vue.mjs";
|
|
16
16
|
import "../tree-select/index.vue.mjs";
|
|
17
|
-
import
|
|
18
|
-
import { useLocale as
|
|
19
|
-
import { useNamespace as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
const
|
|
17
|
+
import $e, { customCloneColumnStates as B, isEqualColumnStateIgnoreLabel as Ie } from "../utils.mjs";
|
|
18
|
+
import { useLocale as Le } from "../../../../config-provider/hooks/use-locale.mjs";
|
|
19
|
+
import { useNamespace as G } from "../../../../config-provider/hooks/use-namespace.mjs";
|
|
20
|
+
import Re from "../template/index.vue2.mjs";
|
|
21
|
+
import Ve from "../tree-select/index.vue2.mjs";
|
|
22
|
+
import De from "../sorter/index.vue2.mjs";
|
|
23
|
+
import Oe from "../../../../ap-button/ap-button.vue.mjs";
|
|
24
|
+
import Ue from "../template/edit-form.vue2.mjs";
|
|
25
|
+
const Ee = {
|
|
26
26
|
style: {
|
|
27
27
|
"padding-inline": "8px"
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, ct = /* @__PURE__ */ pe({
|
|
30
30
|
name: "ApTableSetting",
|
|
31
31
|
__name: "index",
|
|
32
32
|
props: {
|
|
@@ -36,232 +36,239 @@ const Oe = {
|
|
|
36
36
|
})
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
setup(
|
|
40
|
-
const T =
|
|
41
|
-
columnsBackup:
|
|
42
|
-
updateSize:
|
|
43
|
-
updateColumns:
|
|
44
|
-
} =
|
|
45
|
-
basicTemplate:
|
|
39
|
+
setup(H) {
|
|
40
|
+
const T = H, {
|
|
41
|
+
columnsBackup: J,
|
|
42
|
+
updateSize: Q,
|
|
43
|
+
updateColumns: W
|
|
44
|
+
} = we(), m = v(), k = ce(() => T.config.persistenceKey), b = v(!1), {
|
|
45
|
+
basicTemplate: X,
|
|
46
46
|
customizeTemplateList: d,
|
|
47
|
-
addTemplate:
|
|
48
|
-
deleteTemplate:
|
|
49
|
-
updateTemplate:
|
|
50
|
-
} =
|
|
51
|
-
columnState:
|
|
52
|
-
setColumnState:
|
|
53
|
-
isAllSelected:
|
|
54
|
-
toggleSelectAll:
|
|
55
|
-
} =
|
|
56
|
-
|
|
47
|
+
addTemplate: Y,
|
|
48
|
+
deleteTemplate: N,
|
|
49
|
+
updateTemplate: Z
|
|
50
|
+
} = Be(T.config, k), {
|
|
51
|
+
columnState: p,
|
|
52
|
+
setColumnState: K,
|
|
53
|
+
isAllSelected: ee,
|
|
54
|
+
toggleSelectAll: te
|
|
55
|
+
} = Ae([]), $ = `${k.value}__active_key`;
|
|
56
|
+
function I(a) {
|
|
57
|
+
localStorage.setItem($, a);
|
|
58
|
+
}
|
|
59
|
+
function L() {
|
|
60
|
+
return localStorage.getItem($);
|
|
61
|
+
}
|
|
62
|
+
const i = v(L() ?? d.value?.[0].key);
|
|
63
|
+
Ke({
|
|
57
64
|
activeKey: i,
|
|
58
|
-
cacheConfig:
|
|
59
|
-
deleteTemplate:
|
|
65
|
+
cacheConfig: me(T, "config"),
|
|
66
|
+
deleteTemplate: re
|
|
60
67
|
});
|
|
61
68
|
const {
|
|
62
|
-
t:
|
|
63
|
-
} =
|
|
69
|
+
t: r
|
|
70
|
+
} = Le(), {
|
|
64
71
|
b: f,
|
|
65
|
-
be:
|
|
66
|
-
} =
|
|
67
|
-
b:
|
|
68
|
-
} =
|
|
69
|
-
icon: l(
|
|
70
|
-
class:
|
|
71
|
-
}, null),
|
|
72
|
+
be: C
|
|
73
|
+
} = G("ap-column-setting"), {
|
|
74
|
+
b: ae
|
|
75
|
+
} = G("ap-table"), le = Ne("ap-column-setting"), y = v(!1), R = v(!1), ne = de(), V = xe(ne.trigger) || l(F, {
|
|
76
|
+
icon: l(Te, null, null),
|
|
77
|
+
class: ae("setting-trigger-button")
|
|
78
|
+
}, null), D = V ? fe(V, {
|
|
72
79
|
onClick: () => {
|
|
73
80
|
y.value = !0;
|
|
74
81
|
}
|
|
75
82
|
}) : null;
|
|
76
|
-
function
|
|
77
|
-
|
|
83
|
+
function oe() {
|
|
84
|
+
K(B(e(X).columnState));
|
|
78
85
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
86
|
+
function O(a, t) {
|
|
87
|
+
W?.($e(e(J), a)), Q?.(t);
|
|
81
88
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
84
|
-
const a =
|
|
89
|
+
function ie() {
|
|
90
|
+
O(e(p), e(m)), y.value = !1;
|
|
91
|
+
const a = B(p.value), t = Z(i.value, {
|
|
85
92
|
columnState: a,
|
|
86
93
|
size: m.value
|
|
87
94
|
});
|
|
88
|
-
|
|
95
|
+
I(i.value), T.config?.onChange?.(a, t);
|
|
89
96
|
}
|
|
90
|
-
function
|
|
91
|
-
const t =
|
|
92
|
-
|
|
97
|
+
function se(a) {
|
|
98
|
+
const t = ze();
|
|
99
|
+
Y({
|
|
93
100
|
key: t,
|
|
94
101
|
label: a,
|
|
95
|
-
columnState:
|
|
102
|
+
columnState: p.value,
|
|
96
103
|
size: m.value
|
|
97
104
|
}), b.value = !1, i.value = t;
|
|
98
105
|
}
|
|
99
|
-
function
|
|
106
|
+
function U(a) {
|
|
100
107
|
const t = [...d.value].find((n) => n?.key === a);
|
|
101
|
-
t && (
|
|
108
|
+
t && (K(B(t.columnState)), m.value = t.size);
|
|
102
109
|
}
|
|
103
|
-
function
|
|
110
|
+
function re(a) {
|
|
104
111
|
if (a !== i.value) {
|
|
105
|
-
|
|
112
|
+
N(a);
|
|
106
113
|
return;
|
|
107
114
|
}
|
|
108
|
-
const t = d.value, n = t.findIndex((
|
|
109
|
-
|
|
115
|
+
const t = d.value, n = t.findIndex((z) => z.key === a), s = t[n + 1]?.key ?? t[n - 1]?.key;
|
|
116
|
+
N(a), i.value = s, I(s);
|
|
110
117
|
}
|
|
111
|
-
function
|
|
112
|
-
if (
|
|
113
|
-
const t =
|
|
118
|
+
function ue(a) {
|
|
119
|
+
if (R.value = a, !a) {
|
|
120
|
+
const t = L();
|
|
114
121
|
t && t !== i.value && (i.value = t);
|
|
115
122
|
}
|
|
116
123
|
}
|
|
117
|
-
|
|
124
|
+
E(() => i.value, (a, t) => {
|
|
118
125
|
if (!t && a) {
|
|
119
|
-
const n = [...d.value].find((
|
|
126
|
+
const n = [...d.value].find((s) => s?.key === a);
|
|
120
127
|
if (!n)
|
|
121
128
|
return;
|
|
122
|
-
|
|
129
|
+
O(n.columnState, n.size);
|
|
123
130
|
}
|
|
124
|
-
|
|
131
|
+
U(a);
|
|
125
132
|
}, {
|
|
126
133
|
immediate: !0
|
|
127
134
|
});
|
|
128
|
-
const
|
|
129
|
-
return
|
|
135
|
+
const _ = v(!1);
|
|
136
|
+
return E([m, p, y], ([a, t, n]) => {
|
|
130
137
|
if (!n)
|
|
131
138
|
return;
|
|
132
|
-
const
|
|
133
|
-
|
|
139
|
+
const s = d.value.find((z) => z.key === i.value);
|
|
140
|
+
s && (s.size !== a || !Ie(t, s.columnState)) ? _.value = !0 : _.value = !1;
|
|
134
141
|
}, {
|
|
135
142
|
deep: !0
|
|
136
|
-
}), (a, t) => (S(),
|
|
143
|
+
}), (a, t) => (S(), P(ve, null, [e(D) ? (S(), x(w(e(D)), {
|
|
137
144
|
key: 0
|
|
138
|
-
})) :
|
|
145
|
+
})) : j("", !0), l(e(Ce), {
|
|
139
146
|
open: y.value,
|
|
140
147
|
"onUpdate:open": t[4] || (t[4] = (n) => y.value = n),
|
|
141
|
-
title: e(
|
|
148
|
+
title: e(r)("ap.apTable.setting.title"),
|
|
142
149
|
width: 1e3,
|
|
143
150
|
centered: !0,
|
|
144
151
|
"body-style": {
|
|
145
152
|
padding: "0px !important",
|
|
146
153
|
height: "516px"
|
|
147
154
|
},
|
|
148
|
-
"after-open-change":
|
|
149
|
-
"wrap-class-name": `${e(f)()} ${e(
|
|
150
|
-
"ok-text": e(
|
|
151
|
-
onOk:
|
|
155
|
+
"after-open-change": ue,
|
|
156
|
+
"wrap-class-name": `${e(f)()} ${e(le)}`,
|
|
157
|
+
"ok-text": e(r)("ap.apTable.setting.saveAndApply"),
|
|
158
|
+
onOk: ie
|
|
152
159
|
}, {
|
|
153
160
|
footer: o(({
|
|
154
161
|
extra: n
|
|
155
162
|
}) => [l(e(ke), {
|
|
156
163
|
justify: "space-between"
|
|
157
164
|
}, {
|
|
158
|
-
default: o(() => [l(e(
|
|
165
|
+
default: o(() => [l(e(q), {
|
|
159
166
|
size: 12
|
|
160
167
|
}, {
|
|
161
|
-
default: o(() => [l(e(
|
|
168
|
+
default: o(() => [l(e(_e), {
|
|
162
169
|
open: b.value,
|
|
163
|
-
"onUpdate:open": t[3] || (t[3] = (
|
|
170
|
+
"onUpdate:open": t[3] || (t[3] = (s) => b.value = s),
|
|
164
171
|
trigger: "click",
|
|
165
172
|
arrow: !1,
|
|
166
173
|
placement: "topLeft",
|
|
167
174
|
"destroy-tooltip-on-hide": ""
|
|
168
175
|
}, {
|
|
169
|
-
content: o(() => [l(
|
|
170
|
-
onConfirm:
|
|
176
|
+
content: o(() => [l(Ue, {
|
|
177
|
+
onConfirm: se,
|
|
171
178
|
onCancel: t[2] || (t[2] = () => b.value = !1)
|
|
172
179
|
})]),
|
|
173
|
-
default: o(() => [l(e(
|
|
180
|
+
default: o(() => [l(e(Oe), {
|
|
174
181
|
type: "borderLink",
|
|
175
182
|
disabled: !a.config.persistenceKey
|
|
176
183
|
}, {
|
|
177
|
-
icon: o(() => [l(e(
|
|
178
|
-
default: o(() => [
|
|
184
|
+
icon: o(() => [l(e(be))]),
|
|
185
|
+
default: o(() => [h(g(e(r)("ap.apTable.setting.saveAsTemplate")) + " ", 1)]),
|
|
179
186
|
_: 1
|
|
180
187
|
}, 8, ["disabled"])]),
|
|
181
188
|
_: 1
|
|
182
|
-
}, 8, ["open"]),
|
|
189
|
+
}, 8, ["open"]), _.value ? (S(), P("span", {
|
|
183
190
|
key: 0,
|
|
184
|
-
class:
|
|
185
|
-
}, g(e(
|
|
191
|
+
class: u(e(f)("modify-tip"))
|
|
192
|
+
}, g(e(r)("ap.apTable.setting.modifyNotification")), 3)) : j("", !0)]),
|
|
186
193
|
_: 1
|
|
187
|
-
}), l(e(
|
|
194
|
+
}), l(e(q), {
|
|
188
195
|
size: 10
|
|
189
196
|
}, {
|
|
190
|
-
default: o(() => [(S(), w(
|
|
197
|
+
default: o(() => [(S(), x(w(n.cancelBtn))), (S(), x(w(n.okBtn)))]),
|
|
191
198
|
_: 2
|
|
192
199
|
}, 1024)]),
|
|
193
200
|
_: 2
|
|
194
201
|
}, 1024)]),
|
|
195
|
-
default: o(() => [
|
|
196
|
-
class:
|
|
202
|
+
default: o(() => [ge(c("div", {
|
|
203
|
+
class: u(e(f)("wrapper"))
|
|
197
204
|
}, [c("div", {
|
|
198
|
-
class:
|
|
199
|
-
}, [l(
|
|
205
|
+
class: u(e(f)("left"))
|
|
206
|
+
}, [l(Re, {
|
|
200
207
|
"customize-template-list": e(d),
|
|
201
|
-
"persistence-key":
|
|
202
|
-
onActiveChange:
|
|
203
|
-
}, null, 8, ["customize-template-list", "persistence-key"])], 2), l(e(
|
|
208
|
+
"persistence-key": k.value,
|
|
209
|
+
onActiveChange: U
|
|
210
|
+
}, null, 8, ["customize-template-list", "persistence-key"])], 2), l(e(A), {
|
|
204
211
|
type: "vertical",
|
|
205
212
|
style: {
|
|
206
213
|
height: "100%",
|
|
207
214
|
margin: "0px"
|
|
208
215
|
}
|
|
209
216
|
}), c("div", {
|
|
210
|
-
class:
|
|
217
|
+
class: u(e(f)("center"))
|
|
211
218
|
}, [c("div", {
|
|
212
|
-
class:
|
|
219
|
+
class: u(e(C)("center", "header"))
|
|
213
220
|
}, [c("div", {
|
|
214
|
-
class:
|
|
221
|
+
class: u(e(C)("center", "tip-wrapper"))
|
|
215
222
|
}, [c("span", {
|
|
216
|
-
class:
|
|
217
|
-
}, g(e(
|
|
223
|
+
class: u(e(C)("center", "header-tips"))
|
|
224
|
+
}, g(e(r)("ap.apTable.setting.selectAllTip")), 3), l(e(F), {
|
|
218
225
|
type: "link",
|
|
219
226
|
size: "small",
|
|
220
|
-
onClick: e(
|
|
227
|
+
onClick: e(te)
|
|
221
228
|
}, {
|
|
222
|
-
default: o(() => [
|
|
229
|
+
default: o(() => [h(g(e(ee) ? e(r)("ap.apTable.setting.unSelectAll") : e(r)("ap.apTable.setting.selectAll")), 1)]),
|
|
223
230
|
_: 1
|
|
224
|
-
}, 8, ["onClick"])], 2), l(e(
|
|
231
|
+
}, 8, ["onClick"])], 2), l(e(he), {
|
|
225
232
|
value: m.value,
|
|
226
233
|
"onUpdate:value": t[0] || (t[0] = (n) => m.value = n)
|
|
227
234
|
}, {
|
|
228
|
-
default: o(() => [l(e(
|
|
235
|
+
default: o(() => [l(e(M), {
|
|
229
236
|
value: "small"
|
|
230
237
|
}, {
|
|
231
|
-
default: o(() => [
|
|
238
|
+
default: o(() => [h(g(e(r)("ap.apTable.setting.sizeSmall")), 1)]),
|
|
232
239
|
_: 1
|
|
233
|
-
}), l(e(
|
|
240
|
+
}), l(e(M), {
|
|
234
241
|
value: "middle"
|
|
235
242
|
}, {
|
|
236
|
-
default: o(() => [
|
|
243
|
+
default: o(() => [h(g(e(r)("ap.apTable.setting.sizeNormal")), 1)]),
|
|
237
244
|
_: 1
|
|
238
245
|
})]),
|
|
239
246
|
_: 1
|
|
240
|
-
}, 8, ["value"])], 2), c("div",
|
|
247
|
+
}, 8, ["value"])], 2), c("div", Ee, [l(e(A), {
|
|
241
248
|
dashed: "",
|
|
242
249
|
style: {
|
|
243
250
|
margin: "0px"
|
|
244
251
|
}
|
|
245
|
-
})]), l(
|
|
246
|
-
class:
|
|
247
|
-
value: e(
|
|
248
|
-
}, null, 8, ["class", "value"])], 2), l(e(
|
|
252
|
+
})]), l(Ve, {
|
|
253
|
+
class: u(e(C)("center", "content")),
|
|
254
|
+
value: e(p)
|
|
255
|
+
}, null, 8, ["class", "value"])], 2), l(e(A), {
|
|
249
256
|
type: "vertical",
|
|
250
257
|
style: {
|
|
251
258
|
height: "100%",
|
|
252
259
|
margin: "0px"
|
|
253
260
|
}
|
|
254
261
|
}), c("div", {
|
|
255
|
-
class:
|
|
256
|
-
}, [l(
|
|
257
|
-
value: e(
|
|
258
|
-
"onUpdate:value": t[1] || (t[1] = (n) =>
|
|
259
|
-
onReset:
|
|
260
|
-
}, null, 8, ["value"])], 2)], 2), [[
|
|
262
|
+
class: u(e(f)("right"))
|
|
263
|
+
}, [l(De, {
|
|
264
|
+
value: e(p),
|
|
265
|
+
"onUpdate:value": t[1] || (t[1] = (n) => ye(p) ? p.value = n : null),
|
|
266
|
+
onReset: oe
|
|
267
|
+
}, null, 8, ["value"])], 2)], 2), [[Se, R.value]])]),
|
|
261
268
|
_: 1
|
|
262
269
|
}, 8, ["open", "title", "wrap-class-name", "ok-text"])], 64));
|
|
263
270
|
}
|
|
264
271
|
});
|
|
265
272
|
export {
|
|
266
|
-
|
|
273
|
+
ct as default
|
|
267
274
|
};
|
|
@@ -1026,6 +1026,7 @@ export declare const apTableFormItemMap: {
|
|
|
1026
1026
|
readonly addAll?: boolean | number | undefined;
|
|
1027
1027
|
readonly params?: Recordable | undefined;
|
|
1028
1028
|
readonly searchDelay?: number | undefined;
|
|
1029
|
+
readonly allowOnlySelect?: boolean | undefined;
|
|
1029
1030
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1030
1031
|
$attrs: {
|
|
1031
1032
|
[x: string]: unknown;
|
|
@@ -1494,7 +1495,9 @@ export declare const apTableFormItemMap: {
|
|
|
1494
1495
|
emptyText: string;
|
|
1495
1496
|
searchMode: "filter" | "request";
|
|
1496
1497
|
refetchOnFocus: boolean;
|
|
1498
|
+
addAll: boolean | number;
|
|
1497
1499
|
searchDelay: number;
|
|
1500
|
+
allowOnlySelect: boolean;
|
|
1498
1501
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1499
1502
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1500
1503
|
created?: (() => void) | (() => void)[];
|
|
@@ -1535,10 +1538,12 @@ export declare const apTableFormItemMap: {
|
|
|
1535
1538
|
emptyText: string;
|
|
1536
1539
|
searchMode: "filter" | "request";
|
|
1537
1540
|
refetchOnFocus: boolean;
|
|
1541
|
+
addAll: boolean | number;
|
|
1538
1542
|
searchDelay: number;
|
|
1543
|
+
allowOnlySelect: boolean;
|
|
1539
1544
|
}> & Omit<Readonly< ApFieldSelectProps> & Readonly<{
|
|
1540
1545
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
1541
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "autofocus" | "lazy" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "searchMode" | "refetchOnFocus" | "searchDelay")> & ShallowUnwrapRef<{
|
|
1546
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "autofocus" | "lazy" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "defaultActiveFirstOption" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "searchMode" | "refetchOnFocus" | "addAll" | "searchDelay" | "allowOnlySelect")> & ShallowUnwrapRef<{
|
|
1542
1547
|
focus: () => void;
|
|
1543
1548
|
blur: () => void;
|
|
1544
1549
|
request: (clear?: boolean) => Promise<void>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ApExportGroupProps } from './interface';
|
|
1
|
+
import { ApExportGroupDateValidate, ApExportGroupProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApExportGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApExportGroupProps> & Readonly<{}>, {
|
|
4
4
|
type: "button" | "dropdown" | "group";
|
|
5
|
+
dateValidate: ApExportGroupDateValidate;
|
|
5
6
|
exportField: boolean | {
|
|
6
7
|
key?: string;
|
|
7
8
|
convertField?: {
|