@aplus-frontend/ui 0.0.38 → 0.0.40
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 +149 -148
- package/es/src/ap-field/interface.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +9 -10
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +28 -27
- package/es/src/ap-form/search-form/index.vue.mjs +107 -102
- package/es/src/ap-form/style/ap-form-item.css +6 -6
- package/es/src/ap-table/ap-table.vue.d.ts +16 -4
- package/es/src/ap-table/ap-table.vue.mjs +68 -66
- package/es/src/ap-table/constants.d.ts +8 -14
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/es/src/ap-table/interface.d.ts +6 -2
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +14 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.mjs +4 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +117 -0
- package/es/src/business/ap-export-group/interface.d.ts +37 -0
- package/es/src/business/ap-export-group/interface.mjs +4 -0
- package/es/src/business/expandAlert/ApExpandAlert.vue2.mjs +1 -1
- package/es/src/business/expandAlert/interface.d.ts +1 -1
- package/es/src/business/index.d.ts +105 -0
- package/es/src/business/index.mjs +12 -9
- package/es/src/config-provider/config-provider.mjs +22 -17
- package/es/src/editable-table/form-item.vue.d.ts +4 -0
- package/es/src/editable-table/form-item.vue.mjs +83 -75
- package/es/src/editable-table/index.vue.d.ts +4 -0
- package/es/src/editable-table/index.vue.mjs +80 -72
- package/es/src/editable-table/interface.d.ts +8 -0
- package/es/src/editable-table/utils.d.ts +8 -0
- package/es/src/editable-table/utils.mjs +29 -18
- package/es/src/index.mjs +175 -174
- package/es/src/locale/lang/en.mjs +6 -0
- package/es/src/locale/lang/zh-cn.mjs +6 -0
- package/es/src/theme/ap-form/ap-form-item.css +6 -6
- package/es/src/theme/css-var/index.d.ts +7 -0
- package/es/src/theme/css-var/index.mjs +45 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/style/ap-form-item.css +6 -6
- package/lib/src/ap-table/ap-table.vue.d.ts +16 -4
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +8 -14
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
- package/lib/src/ap-table/interface.d.ts +6 -2
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +14 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.js +1 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -0
- package/lib/src/business/ap-export-group/interface.d.ts +37 -0
- package/lib/src/business/ap-export-group/interface.js +1 -0
- package/lib/src/business/expandAlert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/expandAlert/interface.d.ts +1 -1
- package/lib/src/business/index.d.ts +105 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +4 -0
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -0
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +8 -0
- package/lib/src/editable-table/utils.d.ts +8 -0
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/theme/ap-form/ap-form-item.css +6 -6
- package/lib/src/theme/css-var/index.d.ts +7 -0
- package/lib/src/theme/css-var/index.js +1 -0
- package/package.json +8 -7
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as
|
|
1
|
+
import { isVNode as ne, defineComponent as le, useSlots as re, ref as se, unref as o, shallowRef as V, computed as g, watch as j, cloneVNode as ie, createVNode as n, Fragment as _, openBlock as m, createBlock as y, mergeProps as ue, withCtx as B, resolveDynamicComponent as A, createElementBlock as ce, renderList as pe } from "vue";
|
|
2
|
+
import { Col as R, Flex as M, Space as de, Button as E, Row as fe } from "ant-design-vue";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../ap-form-item.vue2.mjs";
|
|
5
5
|
import "../../hooks/index.mjs";
|
|
6
|
-
import { genRealChildren as
|
|
7
|
-
import { DoubleRightOutlined as
|
|
6
|
+
import { genRealChildren as D } from "../ap-form-item-group/helper.mjs";
|
|
7
|
+
import { DoubleRightOutlined as me } from "@ant-design/icons-vue";
|
|
8
8
|
import "../../config-provider/index.mjs";
|
|
9
9
|
import "../style/search-form.css";
|
|
10
|
-
import { isArray as
|
|
11
|
-
import { isDef as
|
|
12
|
-
import { diffFormItem as
|
|
13
|
-
import { useControllableValue as
|
|
14
|
-
import { useNamespace as
|
|
15
|
-
import { useGlobalConfig as
|
|
16
|
-
import { useLocale as
|
|
17
|
-
import
|
|
10
|
+
import { isArray as he, isBoolean as xe, omit as ye } from "lodash-unified";
|
|
11
|
+
import { isDef as $ } from "../../utils/index.mjs";
|
|
12
|
+
import { diffFormItem as Ce } from "./utils.mjs";
|
|
13
|
+
import { useControllableValue as ge } from "../../hooks/useControllableValue.mjs";
|
|
14
|
+
import { useNamespace as _e } from "../../config-provider/hooks/use-namespace.mjs";
|
|
15
|
+
import { useGlobalConfig as Re } from "../../config-provider/hooks/use-global-config.mjs";
|
|
16
|
+
import { useLocale as Se } from "../../config-provider/hooks/use-locale.mjs";
|
|
17
|
+
import L from "../ap-form-item.vue.mjs";
|
|
18
18
|
import Fe from "../ap-form.vue2.mjs";
|
|
19
|
-
function
|
|
20
|
-
return typeof
|
|
19
|
+
function Be(h) {
|
|
20
|
+
return typeof h == "function" || Object.prototype.toString.call(h) === "[object Object]" && !ne(h);
|
|
21
21
|
}
|
|
22
|
-
const i = 24,
|
|
22
|
+
const i = 24, ze = /* @__PURE__ */ le({
|
|
23
23
|
name: "ApFormSearchForm",
|
|
24
24
|
__name: "index",
|
|
25
25
|
props: {
|
|
@@ -98,134 +98,139 @@ const i = 24, qe = /* @__PURE__ */ ae({
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
emits: ["update:collapse"],
|
|
101
|
-
setup(
|
|
102
|
-
expose:
|
|
101
|
+
setup(h, {
|
|
102
|
+
expose: W,
|
|
103
103
|
emit: q
|
|
104
104
|
}) {
|
|
105
|
-
var
|
|
106
|
-
const
|
|
107
|
-
value:
|
|
108
|
-
updateValue:
|
|
109
|
-
} =
|
|
105
|
+
var N;
|
|
106
|
+
const s = re(), a = h, z = q, {
|
|
107
|
+
value: u,
|
|
108
|
+
updateValue: H
|
|
109
|
+
} = ge(a, z, {
|
|
110
110
|
valuePropName: "collapse",
|
|
111
111
|
defaultValuePropName: "defaultCollapse"
|
|
112
112
|
}), {
|
|
113
|
-
b:
|
|
114
|
-
} =
|
|
115
|
-
t:
|
|
116
|
-
} =
|
|
117
|
-
function H() {
|
|
118
|
-
U(!t(f));
|
|
119
|
-
}
|
|
113
|
+
b: U
|
|
114
|
+
} = _e("ap-form-search-form"), G = Re("uiMode"), {
|
|
115
|
+
t: b
|
|
116
|
+
} = Se(), C = se();
|
|
120
117
|
function J() {
|
|
121
|
-
|
|
122
|
-
(a = (e = x.value) == null ? void 0 : e.validateFields()) == null || a.then(o.onSubmit);
|
|
118
|
+
H(!o(u));
|
|
123
119
|
}
|
|
124
120
|
function K() {
|
|
125
|
-
var e,
|
|
126
|
-
|
|
121
|
+
var e, t;
|
|
122
|
+
(t = (e = C.value) == null ? void 0 : e.validateFields()) == null || t.then(a.onSubmit);
|
|
123
|
+
}
|
|
124
|
+
function Q() {
|
|
125
|
+
var e, t, l;
|
|
126
|
+
a.customReset || (t = (e = C.value) == null ? void 0 : e.resetFields) == null || t.call(e), (l = a.onReset) == null || l.call(a);
|
|
127
127
|
}
|
|
128
|
-
let
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}),
|
|
128
|
+
let v = [];
|
|
129
|
+
const S = V(D(s.default())), p = V((N = s.extra) == null ? void 0 : N.call(s)), w = g(() => Math.floor(i / a.countPerRow));
|
|
130
|
+
j(() => s.default(), (e) => {
|
|
131
|
+
v = S.value, S.value = D(e);
|
|
132
|
+
}), j(() => {
|
|
133
133
|
var e;
|
|
134
|
-
return (e =
|
|
134
|
+
return (e = s.extra) == null ? void 0 : e.call(s);
|
|
135
135
|
}, (e) => {
|
|
136
|
-
|
|
136
|
+
p.value = e;
|
|
137
137
|
});
|
|
138
|
-
const
|
|
139
|
-
const e =
|
|
140
|
-
let
|
|
141
|
-
e.forEach((
|
|
142
|
-
const
|
|
143
|
-
|
|
138
|
+
const X = (e) => $(e) ? (he(e) ? e : [e]).join("") : Date.now(), F = g(() => {
|
|
139
|
+
const e = Ce(v, S.value), t = [], l = [], r = o(w);
|
|
140
|
+
let d = 0;
|
|
141
|
+
e.forEach((c) => {
|
|
142
|
+
const f = c.props;
|
|
143
|
+
(xe(f.hidden) ? !!f.hidden : $(f.hidden)) ? t.push(c) : (d += f.span || r, l.push(c));
|
|
144
144
|
});
|
|
145
|
-
const
|
|
146
|
-
let
|
|
147
|
-
const
|
|
148
|
-
const
|
|
149
|
-
if (
|
|
150
|
-
|
|
145
|
+
const k = i - (d + r) % i, Z = d % i < r, ee = k < r ? i : k, I = i - r * (o(p) && !a.extraInAction ? 2 : 1), te = !a.forceExpand && d > I;
|
|
146
|
+
let P = 0, T = 0;
|
|
147
|
+
const oe = l.map((c, f) => {
|
|
148
|
+
const x = c.props, O = x.span || r;
|
|
149
|
+
if (P += O, !a.forceExpand && o(u) && P > I) {
|
|
150
|
+
t.push(ie(c, {
|
|
151
151
|
hidden: !0
|
|
152
152
|
}));
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
|
-
return
|
|
156
|
-
node:
|
|
157
|
-
span:
|
|
158
|
-
key: `ApFormSearchFormItem-${
|
|
155
|
+
return T += O, {
|
|
156
|
+
node: c,
|
|
157
|
+
span: x.span || r,
|
|
158
|
+
key: `ApFormSearchFormItem-${f}-${X(x.name)}-${x._signal}`
|
|
159
159
|
};
|
|
160
|
-
}).filter(Boolean),
|
|
160
|
+
}).filter(Boolean), ae = i - T - r;
|
|
161
161
|
return {
|
|
162
|
-
hideNode:
|
|
163
|
-
nodes:
|
|
164
|
-
defaultExtraSpan:
|
|
165
|
-
actualExtraSpan:
|
|
166
|
-
showCollapse:
|
|
162
|
+
hideNode: n(_, null, [t]),
|
|
163
|
+
nodes: oe,
|
|
164
|
+
defaultExtraSpan: ee,
|
|
165
|
+
actualExtraSpan: ae,
|
|
166
|
+
showCollapse: te,
|
|
167
|
+
lastRowOnlyIncludeActionAndExtra: Z
|
|
167
168
|
};
|
|
168
|
-
}),
|
|
169
|
+
}), Y = g(() => {
|
|
169
170
|
let e;
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
const t = o(F), l = n(R, {
|
|
172
|
+
span: o(w),
|
|
173
|
+
key: "actionWrapper"
|
|
173
174
|
}, {
|
|
174
|
-
default: () => [
|
|
175
|
-
default: () => [
|
|
176
|
-
justify: "space-between"
|
|
175
|
+
default: () => [n(L, null, {
|
|
176
|
+
default: () => [n(M, {
|
|
177
|
+
justify: !o(u) && t.lastRowOnlyIncludeActionAndExtra && !(o(p) && a.extraInAction) ? "flex-end" : "space-between"
|
|
177
178
|
}, {
|
|
178
|
-
default: () => [
|
|
179
|
-
default: () => [
|
|
179
|
+
default: () => [n(de, null, {
|
|
180
|
+
default: () => [n(E, {
|
|
180
181
|
type: "primary",
|
|
181
|
-
onClick:
|
|
182
|
-
loading:
|
|
182
|
+
onClick: K,
|
|
183
|
+
loading: a.submitLoading,
|
|
183
184
|
htmlType: "submit"
|
|
184
185
|
}, {
|
|
185
|
-
default: () => [
|
|
186
|
-
}),
|
|
187
|
-
onClick:
|
|
186
|
+
default: () => [a.searchText || b("ap.apForm.search.search")]
|
|
187
|
+
}), n(E, {
|
|
188
|
+
onClick: Q
|
|
188
189
|
}, {
|
|
189
|
-
default: () => [
|
|
190
|
-
}),
|
|
191
|
-
onClick:
|
|
192
|
-
icon:
|
|
190
|
+
default: () => [a.resetText || b("ap.apForm.search.reset")]
|
|
191
|
+
}), t.showCollapse ? n(E, {
|
|
192
|
+
onClick: J,
|
|
193
|
+
icon: n(me, {
|
|
193
194
|
style: G.value === "aplus" ? "color:#B8C3D1" : "color:#BFBFBF",
|
|
194
|
-
rotate:
|
|
195
|
+
rotate: o(u) ? 90 : -90
|
|
195
196
|
}, null)
|
|
196
197
|
}, null) : null]
|
|
197
|
-
}),
|
|
198
|
+
}), a.extraInAction ? o(p) : null]
|
|
198
199
|
})]
|
|
199
200
|
})]
|
|
200
|
-
}), !
|
|
201
|
-
span:
|
|
201
|
+
}), r = !a.extraInAction && o(p) ? n(R, {
|
|
202
|
+
span: o(u) ? t.actualExtraSpan : t.defaultExtraSpan,
|
|
203
|
+
key: "extraNode"
|
|
202
204
|
}, {
|
|
203
|
-
default: () => [
|
|
204
|
-
default: () => [
|
|
205
|
-
justify: !
|
|
206
|
-
},
|
|
205
|
+
default: () => [n(L, null, {
|
|
206
|
+
default: () => [n(M, {
|
|
207
|
+
justify: !o(u) && (t.defaultExtraSpan === i || t.lastRowOnlyIncludeActionAndExtra) ? "start" : "flex-end"
|
|
208
|
+
}, Be(e = o(p)) ? e : {
|
|
207
209
|
default: () => [e]
|
|
208
210
|
})]
|
|
209
211
|
})]
|
|
210
|
-
}) : null
|
|
212
|
+
}) : null, d = n(R, {
|
|
213
|
+
span: t.defaultExtraSpan
|
|
214
|
+
}, null);
|
|
215
|
+
return !o(u) && t.lastRowOnlyIncludeActionAndExtra ? n(_, null, [r || d, l]) : n(_, null, [l, r]);
|
|
211
216
|
});
|
|
212
|
-
return
|
|
213
|
-
apForm: g(() =>
|
|
214
|
-
}), (e,
|
|
215
|
-
class:
|
|
217
|
+
return W({
|
|
218
|
+
apForm: g(() => o(C))
|
|
219
|
+
}), (e, t) => (m(), y(Fe, ue({
|
|
220
|
+
class: o(U)(),
|
|
216
221
|
ref_key: "apForm",
|
|
217
|
-
ref:
|
|
218
|
-
},
|
|
219
|
-
default: B(() => [(
|
|
222
|
+
ref: C
|
|
223
|
+
}, o(ye)(a, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
|
|
224
|
+
default: B(() => [(m(), y(A(F.value.hideNode))), n(o(fe), {
|
|
220
225
|
gutter: 16
|
|
221
226
|
}, {
|
|
222
|
-
default: B(() => [(
|
|
223
|
-
key:
|
|
224
|
-
span:
|
|
227
|
+
default: B(() => [(m(!0), ce(_, null, pe(F.value.nodes, (l) => (m(), y(o(R), {
|
|
228
|
+
key: l.key,
|
|
229
|
+
span: l.span
|
|
225
230
|
}, {
|
|
226
|
-
default: B(() => [(
|
|
231
|
+
default: B(() => [(m(), y(A(l.node)))]),
|
|
227
232
|
_: 2
|
|
228
|
-
}, 1032, ["span"]))), 128)), (
|
|
233
|
+
}, 1032, ["span"]))), 128)), (m(), y(A(Y.value)))]),
|
|
229
234
|
_: 1
|
|
230
235
|
})]),
|
|
231
236
|
_: 1
|
|
@@ -233,5 +238,5 @@ const i = 24, qe = /* @__PURE__ */ ae({
|
|
|
233
238
|
}
|
|
234
239
|
});
|
|
235
240
|
export {
|
|
236
|
-
|
|
241
|
+
ze as default
|
|
237
242
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.aplus-ap-form-item--bordered {
|
|
2
2
|
box-sizing: border-box;
|
|
3
|
-
border: 1px solid
|
|
3
|
+
border: 1px solid var(--ap-form-bordered-border-color-base);
|
|
4
4
|
border-radius: 4px;
|
|
5
5
|
padding-inline: 12px;
|
|
6
6
|
}
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
min-height: 30px;
|
|
39
39
|
}
|
|
40
40
|
.aplus-ap-form-item--bordered:hover {
|
|
41
|
-
border-color:
|
|
41
|
+
border-color: var(--ap-form-bordered-border-color-hover);
|
|
42
42
|
}
|
|
43
43
|
.aplus-ap-form-item--bordered:focus {
|
|
44
|
-
border-color:
|
|
45
|
-
box-shadow: 0 0 0 2px
|
|
44
|
+
border-color: var(--ap-form-bordered-border-color-active);
|
|
45
|
+
box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color);
|
|
46
46
|
}
|
|
47
47
|
.aplus-ap-form-item--focused {
|
|
48
|
-
border-color:
|
|
49
|
-
box-shadow: 0 0 0 2px
|
|
48
|
+
border-color: var(--ap-form-bordered-border-color-active);
|
|
49
|
+
box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color);
|
|
50
50
|
}
|
|
51
51
|
.aplus-ap-form-item .ant-form-show-help .ant-form-item-explain-error {
|
|
52
52
|
font-size: 12px;
|
|
@@ -4,7 +4,7 @@ import { ColumnType } from 'ant-design-vue/es/table';
|
|
|
4
4
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
5
5
|
import { SpinSize } from 'ant-design-vue/es/spin/Spin';
|
|
6
6
|
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
7
|
-
import { GetPopupContainer, FilterValue, SorterResult, TableCurrentDataSource, TableLocale, CompareFn, ColumnFilterItem, SortOrder } from 'ant-design-vue/es/table/interface';
|
|
7
|
+
import { GetPopupContainer, FilterValue, SorterResult, TableCurrentDataSource, TableLocale, CompareFn, ColumnFilterItem, SortOrder, TableRowSelection } from 'ant-design-vue/es/table/interface';
|
|
8
8
|
import { RenderExpandIcon, PanelRender, TableComponents, TransformCellText, TableLayout, GetRowKey, TableSticky, RowClassName, GetComponentProps, ColumnType, Key, ExpandedRowRender } from 'ant-design-vue/es/vc-table/interface';
|
|
9
9
|
import { TablePaginationConfig } from 'ant-design-vue';
|
|
10
10
|
import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
|
|
@@ -672,7 +672,9 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
672
672
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
673
673
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
674
674
|
}>> | undefined;
|
|
675
|
-
rowSelection?: true | ApTableRowSelection<RecordType> |
|
|
675
|
+
rowSelection?: true | ApTableRowSelection<RecordType> | ( TableRowSelection<RecordType> & {
|
|
676
|
+
mode?: "base" | undefined;
|
|
677
|
+
}) | undefined;
|
|
676
678
|
rowClassName?: string | RowClassName<RecordType> | undefined;
|
|
677
679
|
showHeader?: boolean | undefined;
|
|
678
680
|
customRow?: GetComponentProps<RecordType> | undefined;
|
|
@@ -715,6 +717,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
715
717
|
expandIcon?: any;
|
|
716
718
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
717
719
|
selectedRows: RecordType[];
|
|
720
|
+
selectedRowKeys: (string | number)[];
|
|
718
721
|
}) => any) | undefined;
|
|
719
722
|
footer?: any;
|
|
720
723
|
summary?: any;
|
|
@@ -733,6 +736,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
733
736
|
expandIcon?: any;
|
|
734
737
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
735
738
|
selectedRows: RecordType[];
|
|
739
|
+
selectedRowKeys: (string | number)[];
|
|
736
740
|
}) => any) | undefined;
|
|
737
741
|
footer?: any;
|
|
738
742
|
summary?: any;
|
|
@@ -1417,7 +1421,9 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
1417
1421
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
1418
1422
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
1419
1423
|
}>> | undefined;
|
|
1420
|
-
rowSelection?: true | ApTableRowSelection<RecordType> |
|
|
1424
|
+
rowSelection?: true | ApTableRowSelection<RecordType> | ( TableRowSelection<RecordType> & {
|
|
1425
|
+
mode?: "base" | undefined;
|
|
1426
|
+
}) | undefined;
|
|
1421
1427
|
rowClassName?: string | RowClassName<RecordType> | undefined;
|
|
1422
1428
|
showHeader?: boolean | undefined;
|
|
1423
1429
|
customRow?: GetComponentProps<RecordType> | undefined;
|
|
@@ -1477,6 +1483,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
1477
1483
|
expandIcon?: any;
|
|
1478
1484
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
1479
1485
|
selectedRows: RecordType[];
|
|
1486
|
+
selectedRowKeys: (string | number)[];
|
|
1480
1487
|
}) => any) | undefined;
|
|
1481
1488
|
footer?: any;
|
|
1482
1489
|
summary?: any;
|
|
@@ -1495,6 +1502,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
1495
1502
|
expandIcon?: any;
|
|
1496
1503
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
1497
1504
|
selectedRows: RecordType[];
|
|
1505
|
+
selectedRowKeys: (string | number)[];
|
|
1498
1506
|
}) => any) | undefined;
|
|
1499
1507
|
footer?: any;
|
|
1500
1508
|
summary?: any;
|
|
@@ -2166,7 +2174,9 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
2166
2174
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
2167
2175
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
2168
2176
|
}>> | undefined;
|
|
2169
|
-
rowSelection?: true | ApTableRowSelection<RecordType> |
|
|
2177
|
+
rowSelection?: true | ApTableRowSelection<RecordType> | ( TableRowSelection<RecordType> & {
|
|
2178
|
+
mode?: "base" | undefined;
|
|
2179
|
+
}) | undefined;
|
|
2170
2180
|
rowClassName?: string | RowClassName<RecordType> | undefined;
|
|
2171
2181
|
showHeader?: boolean | undefined;
|
|
2172
2182
|
customRow?: GetComponentProps<RecordType> | undefined;
|
|
@@ -2226,6 +2236,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
2226
2236
|
expandIcon?: any;
|
|
2227
2237
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
2228
2238
|
selectedRows: RecordType[];
|
|
2239
|
+
selectedRowKeys: (string | number)[];
|
|
2229
2240
|
}) => any) | undefined;
|
|
2230
2241
|
footer?: any;
|
|
2231
2242
|
summary?: any;
|
|
@@ -2244,6 +2255,7 @@ declare const _default: <RecordType>(__VLS_props: {
|
|
|
2244
2255
|
expandIcon?: any;
|
|
2245
2256
|
title?: ((params: Omit<RowSelectionReturnType<RecordType>, "rowSelection" | "selectedRows"> & {
|
|
2246
2257
|
selectedRows: RecordType[];
|
|
2258
|
+
selectedRowKeys: (string | number)[];
|
|
2247
2259
|
}) => any) | undefined;
|
|
2248
2260
|
footer?: any;
|
|
2249
2261
|
summary?: any;
|