pro-design-vue 1.3.1 → 1.3.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/dist/index.css +1 -1
- package/dist/index.full.js +221 -158
- package/dist/index.full.min.js +8 -8
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +221 -158
- package/es/components/config-provider/src/typing.d.ts +2 -1
- package/es/components/table/src/components/Alert.vue.d.ts +3 -0
- package/es/components/table/src/components/ToolBar/ToolBar.vue.d.ts +2 -0
- package/es/components/table/src/hooks/useFetchData.d.ts +1 -0
- package/es/index.d.ts +2 -0
- package/es/packages/components/config-provider/src/config-provider.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Alert.vue.mjs +3 -0
- package/es/packages/components/table/src/components/Alert.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Alert.vue2.mjs +1 -0
- package/es/packages/components/table/src/components/Alert.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +3 -1
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue.mjs +200 -151
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue2.mjs +2 -1
- package/es/packages/components/table/src/components/ToolBar/ToolBar.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useContainer.mjs +3 -3
- package/es/packages/components/table/src/hooks/useContainer.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useFetchData.mjs +7 -0
- package/es/packages/components/table/src/hooks/useFetchData.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/config-provider/src/typing.d.ts +2 -1
- package/lib/components/table/src/components/Alert.vue.d.ts +3 -0
- package/lib/components/table/src/components/ToolBar/ToolBar.vue.d.ts +2 -0
- package/lib/components/table/src/hooks/useFetchData.d.ts +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/packages/components/config-provider/src/config-provider.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Alert.vue.js +3 -0
- package/lib/packages/components/table/src/components/Alert.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Alert.vue2.js +1 -0
- package/lib/packages/components/table/src/components/Alert.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +3 -1
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue.js +200 -151
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue2.js +2 -1
- package/lib/packages/components/table/src/components/ToolBar/ToolBar.vue2.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useContainer.js +3 -3
- package/lib/packages/components/table/src/hooks/useContainer.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useFetchData.js +7 -0
- package/lib/packages/components/table/src/hooks/useFetchData.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/table/bordered.less +4 -0
- package/theme-chalk/src/table/size.less +1 -0
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.3 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
const DEFAULT_NAMESPACE = "pro";
|
|
33
33
|
const DEFAULT_LOCALE = "zh-CN";
|
|
34
34
|
|
|
35
|
-
const version$1 = "1.3.
|
|
35
|
+
const version$1 = "1.3.3";
|
|
36
36
|
|
|
37
37
|
const makeInstaller = (components = []) => {
|
|
38
38
|
const install = (app) => {
|
|
@@ -24255,6 +24255,7 @@
|
|
|
24255
24255
|
const innerParams = vue.ref({});
|
|
24256
24256
|
const sorters = vue.ref();
|
|
24257
24257
|
const filter = vue.ref();
|
|
24258
|
+
const searchParams = vue.ref();
|
|
24258
24259
|
const keywordName = vue.computed(() => {
|
|
24259
24260
|
if (props.options !== false && props.options.search !== false) {
|
|
24260
24261
|
return props.options.search === true || !props.options.search.name ? void 0 : props.options.search.name;
|
|
@@ -24349,6 +24350,11 @@
|
|
|
24349
24350
|
if (keyword.value) {
|
|
24350
24351
|
params[(_d = keywordName.value) != null ? _d : "keyword"] = keyword.value;
|
|
24351
24352
|
}
|
|
24353
|
+
searchParams.value = {
|
|
24354
|
+
params,
|
|
24355
|
+
sorters: vue.toRaw(sorters.value),
|
|
24356
|
+
filter: vue.toRaw(filter.value)
|
|
24357
|
+
};
|
|
24352
24358
|
try {
|
|
24353
24359
|
const {
|
|
24354
24360
|
data = [],
|
|
@@ -24580,6 +24586,7 @@
|
|
|
24580
24586
|
};
|
|
24581
24587
|
setPagination(initialPageInfo);
|
|
24582
24588
|
},
|
|
24589
|
+
searchParams,
|
|
24583
24590
|
setPagination,
|
|
24584
24591
|
setFormSearch,
|
|
24585
24592
|
onTableChange
|
|
@@ -24591,12 +24598,12 @@
|
|
|
24591
24598
|
var _a;
|
|
24592
24599
|
const rootDomRef = vue.ref();
|
|
24593
24600
|
const hasFullScreen = vue.ref(false);
|
|
24594
|
-
const { componentSize } = useProConfigInject();
|
|
24601
|
+
const { componentSize, table } = useProConfigInject();
|
|
24595
24602
|
const sortKeyColumns = vue.ref([]);
|
|
24596
24603
|
const [tableSize, setTableSize] = useMergedState$1(
|
|
24597
24604
|
() => {
|
|
24598
|
-
var _a2, _b;
|
|
24599
|
-
return (
|
|
24605
|
+
var _a2, _b, _c, _d;
|
|
24606
|
+
return (_d = (_c = (_b = props.size) != null ? _b : (_a2 = table == null ? void 0 : table.value) == null ? void 0 : _a2.size) != null ? _c : componentSize == null ? void 0 : componentSize.value) != null ? _d : "middle";
|
|
24600
24607
|
},
|
|
24601
24608
|
{
|
|
24602
24609
|
value: vue.computed(() => props.size),
|
|
@@ -37195,7 +37202,8 @@
|
|
|
37195
37202
|
onFormSearchSubmit: {
|
|
37196
37203
|
type: Function,
|
|
37197
37204
|
default: void 0
|
|
37198
|
-
}
|
|
37205
|
+
},
|
|
37206
|
+
onCleanSelected: Function
|
|
37199
37207
|
},
|
|
37200
37208
|
setup(props) {
|
|
37201
37209
|
const intl = useIntl();
|
|
@@ -37297,6 +37305,7 @@
|
|
|
37297
37305
|
});
|
|
37298
37306
|
|
|
37299
37307
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37308
|
+
var _a, _b, _c, _d, _e, _f;
|
|
37300
37309
|
const _component_InfoCircleOutlined = vue.resolveComponent("InfoCircleOutlined");
|
|
37301
37310
|
const _component_Tooltip = vue.resolveComponent("Tooltip");
|
|
37302
37311
|
const _component_ProSearch = vue.resolveComponent("ProSearch");
|
|
@@ -37318,7 +37327,13 @@
|
|
|
37318
37327
|
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-top`)
|
|
37319
37328
|
},
|
|
37320
37329
|
[
|
|
37321
|
-
vue.renderSlot(_ctx.$slots, "top"
|
|
37330
|
+
vue.renderSlot(_ctx.$slots, "top", {
|
|
37331
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37332
|
+
selectedRows: _ctx.selectedRows,
|
|
37333
|
+
actionsRef: _ctx.actionsRef,
|
|
37334
|
+
searchParams: (_b = (_a = _ctx.actionsRef) == null ? void 0 : _a.searchParams) == null ? void 0 : _b.value,
|
|
37335
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37336
|
+
})
|
|
37322
37337
|
],
|
|
37323
37338
|
2
|
|
37324
37339
|
/* CLASS */
|
|
@@ -37329,158 +37344,194 @@
|
|
|
37329
37344
|
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-container`)
|
|
37330
37345
|
},
|
|
37331
37346
|
[
|
|
37332
|
-
vue.renderSlot(_ctx.$slots, "toolbar", {
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
|
|
37337
|
-
|
|
37338
|
-
|
|
37339
|
-
|
|
37340
|
-
|
|
37341
|
-
|
|
37342
|
-
|
|
37343
|
-
|
|
37344
|
-
}
|
|
37345
|
-
|
|
37346
|
-
|
|
37347
|
-
|
|
37348
|
-
|
|
37349
|
-
|
|
37350
|
-
/* TEXT */
|
|
37351
|
-
)
|
|
37352
|
-
]),
|
|
37353
|
-
vue.createElementVNode(
|
|
37354
|
-
"div",
|
|
37355
|
-
{
|
|
37356
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-subtitle`)
|
|
37357
|
-
},
|
|
37358
|
-
vue.toDisplayString(_ctx.subTitle),
|
|
37359
|
-
3
|
|
37360
|
-
/* TEXT, CLASS */
|
|
37361
|
-
),
|
|
37362
|
-
_ctx.tooltip ? (vue.openBlock(), vue.createBlock(_component_Tooltip, {
|
|
37347
|
+
vue.renderSlot(_ctx.$slots, "toolbar", {
|
|
37348
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37349
|
+
selectedRows: _ctx.selectedRows,
|
|
37350
|
+
actionsRef: _ctx.actionsRef,
|
|
37351
|
+
searchParams: (_d = (_c = _ctx.actionsRef) == null ? void 0 : _c.searchParams) == null ? void 0 : _d.value,
|
|
37352
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37353
|
+
}, () => {
|
|
37354
|
+
var _a2, _b2;
|
|
37355
|
+
return [
|
|
37356
|
+
vue.createElementVNode(
|
|
37357
|
+
"div",
|
|
37358
|
+
{
|
|
37359
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-left`)
|
|
37360
|
+
},
|
|
37361
|
+
[
|
|
37362
|
+
!!_ctx.title || !!_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock(
|
|
37363
|
+
"div",
|
|
37364
|
+
{
|
|
37363
37365
|
key: 0,
|
|
37364
|
-
|
|
37365
|
-
},
|
|
37366
|
-
|
|
37367
|
-
|
|
37366
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-title`)
|
|
37367
|
+
},
|
|
37368
|
+
[
|
|
37369
|
+
vue.renderSlot(_ctx.$slots, "title", {
|
|
37370
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37371
|
+
selectedRows: _ctx.selectedRows,
|
|
37372
|
+
actionsRef: _ctx.actionsRef,
|
|
37373
|
+
searchParams: (_b2 = (_a2 = _ctx.actionsRef) == null ? void 0 : _a2.searchParams) == null ? void 0 : _b2.value,
|
|
37374
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37375
|
+
}, () => [
|
|
37376
|
+
vue.createTextVNode(
|
|
37377
|
+
vue.toDisplayString(_ctx.title),
|
|
37378
|
+
1
|
|
37379
|
+
/* TEXT */
|
|
37380
|
+
)
|
|
37368
37381
|
]),
|
|
37369
|
-
|
|
37370
|
-
|
|
37371
|
-
|
|
37372
|
-
|
|
37373
|
-
|
|
37374
|
-
|
|
37375
|
-
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37382
|
-
|
|
37383
|
-
|
|
37384
|
-
|
|
37385
|
-
|
|
37386
|
-
|
|
37387
|
-
|
|
37388
|
-
|
|
37389
|
-
|
|
37390
|
-
|
|
37391
|
-
|
|
37392
|
-
|
|
37393
|
-
|
|
37394
|
-
|
|
37395
|
-
|
|
37396
|
-
|
|
37397
|
-
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
|
|
37401
|
-
|
|
37402
|
-
|
|
37403
|
-
|
|
37404
|
-
|
|
37405
|
-
|
|
37406
|
-
|
|
37407
|
-
|
|
37408
|
-
|
|
37409
|
-
|
|
37410
|
-
|
|
37411
|
-
|
|
37412
|
-
|
|
37413
|
-
|
|
37414
|
-
|
|
37415
|
-
|
|
37416
|
-
|
|
37417
|
-
setParams: _ctx.actionsRef.setParams
|
|
37418
|
-
})
|
|
37419
|
-
],
|
|
37420
|
-
64
|
|
37421
|
-
/* STABLE_FRAGMENT */
|
|
37422
|
-
)) : vue.createCommentVNode("v-if", true),
|
|
37423
|
-
vue.renderSlot(_ctx.$slots, "actions", {
|
|
37424
|
-
setParams: _ctx.actionsRef.setParams
|
|
37382
|
+
vue.createElementVNode(
|
|
37383
|
+
"div",
|
|
37384
|
+
{
|
|
37385
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-subtitle`)
|
|
37386
|
+
},
|
|
37387
|
+
vue.toDisplayString(_ctx.subTitle),
|
|
37388
|
+
3
|
|
37389
|
+
/* TEXT, CLASS */
|
|
37390
|
+
),
|
|
37391
|
+
_ctx.tooltip ? (vue.openBlock(), vue.createBlock(_component_Tooltip, {
|
|
37392
|
+
key: 0,
|
|
37393
|
+
title: _ctx.tooltip
|
|
37394
|
+
}, {
|
|
37395
|
+
default: vue.withCtx(() => [
|
|
37396
|
+
vue.createVNode(_component_InfoCircleOutlined, { style: { "margin-inline-start": "3px" } })
|
|
37397
|
+
]),
|
|
37398
|
+
_: 1
|
|
37399
|
+
/* STABLE */
|
|
37400
|
+
}, 8, ["title"])) : vue.createCommentVNode("v-if", true)
|
|
37401
|
+
],
|
|
37402
|
+
2
|
|
37403
|
+
/* CLASS */
|
|
37404
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
37405
|
+
_ctx.options !== false ? (vue.openBlock(), vue.createBlock(_component_Space, {
|
|
37406
|
+
key: 1,
|
|
37407
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-options`)
|
|
37408
|
+
}, {
|
|
37409
|
+
default: vue.withCtx(() => {
|
|
37410
|
+
var _a3, _b3;
|
|
37411
|
+
return [
|
|
37412
|
+
_ctx.mergeOptions.search !== false && !(!!_ctx.title || !!_ctx.$slots.title) ? (vue.openBlock(), vue.createElementBlock(
|
|
37413
|
+
vue.Fragment,
|
|
37414
|
+
{ key: 0 },
|
|
37415
|
+
[
|
|
37416
|
+
vue.createVNode(_component_ProSearch, vue.mergeProps(_ctx.searchConfig, { onSearch: _ctx.onSearch }), null, 16, ["onSearch"]),
|
|
37417
|
+
vue.renderSlot(_ctx.$slots, "searchExtra", {
|
|
37418
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37419
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37420
|
+
selectedRows: _ctx.selectedRows,
|
|
37421
|
+
actionsRef: _ctx.actionsRef,
|
|
37422
|
+
searchParams: (_b3 = (_a3 = _ctx.actionsRef) == null ? void 0 : _a3.searchParams) == null ? void 0 : _b3.value,
|
|
37423
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37424
|
+
})
|
|
37425
|
+
],
|
|
37426
|
+
64
|
|
37427
|
+
/* STABLE_FRAGMENT */
|
|
37428
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
37429
|
+
];
|
|
37425
37430
|
}),
|
|
37426
|
-
|
|
37427
|
-
|
|
37428
|
-
|
|
37429
|
-
|
|
37430
|
-
|
|
37431
|
-
|
|
37432
|
-
|
|
37433
|
-
|
|
37434
|
-
|
|
37435
|
-
|
|
37436
|
-
|
|
37437
|
-
|
|
37438
|
-
|
|
37439
|
-
|
|
37440
|
-
|
|
37441
|
-
|
|
37442
|
-
|
|
37443
|
-
|
|
37444
|
-
|
|
37445
|
-
|
|
37446
|
-
|
|
37447
|
-
|
|
37448
|
-
|
|
37449
|
-
|
|
37450
|
-
|
|
37451
|
-
|
|
37452
|
-
|
|
37453
|
-
|
|
37454
|
-
|
|
37455
|
-
|
|
37456
|
-
|
|
37457
|
-
|
|
37458
|
-
|
|
37459
|
-
|
|
37460
|
-
|
|
37461
|
-
|
|
37462
|
-
|
|
37463
|
-
|
|
37464
|
-
|
|
37465
|
-
|
|
37466
|
-
|
|
37467
|
-
|
|
37468
|
-
|
|
37469
|
-
|
|
37470
|
-
|
|
37471
|
-
|
|
37472
|
-
|
|
37473
|
-
|
|
37474
|
-
|
|
37475
|
-
|
|
37476
|
-
|
|
37477
|
-
|
|
37478
|
-
|
|
37479
|
-
|
|
37480
|
-
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
|
|
37431
|
+
_: 3
|
|
37432
|
+
/* FORWARDED */
|
|
37433
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
37434
|
+
],
|
|
37435
|
+
2
|
|
37436
|
+
/* CLASS */
|
|
37437
|
+
),
|
|
37438
|
+
vue.createElementVNode(
|
|
37439
|
+
"div",
|
|
37440
|
+
{
|
|
37441
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-right`)
|
|
37442
|
+
},
|
|
37443
|
+
[
|
|
37444
|
+
vue.createVNode(_component_Space, {
|
|
37445
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-actions`)
|
|
37446
|
+
}, {
|
|
37447
|
+
default: vue.withCtx(() => {
|
|
37448
|
+
var _a3, _b3, _c2, _d2;
|
|
37449
|
+
return [
|
|
37450
|
+
_ctx.mergeOptions.search !== false && (!!_ctx.title || !!_ctx.$slots.title) ? (vue.openBlock(), vue.createElementBlock(
|
|
37451
|
+
vue.Fragment,
|
|
37452
|
+
{ key: 0 },
|
|
37453
|
+
[
|
|
37454
|
+
vue.createVNode(_component_ProSearch, vue.mergeProps(_ctx.searchConfig, { onSearch: _ctx.onSearch }), null, 16, ["onSearch"]),
|
|
37455
|
+
vue.renderSlot(_ctx.$slots, "searchExtra", {
|
|
37456
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37457
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37458
|
+
selectedRows: _ctx.selectedRows,
|
|
37459
|
+
actionsRef: _ctx.actionsRef,
|
|
37460
|
+
searchParams: (_b3 = (_a3 = _ctx.actionsRef) == null ? void 0 : _a3.searchParams) == null ? void 0 : _b3.value,
|
|
37461
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37462
|
+
})
|
|
37463
|
+
],
|
|
37464
|
+
64
|
|
37465
|
+
/* STABLE_FRAGMENT */
|
|
37466
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
37467
|
+
vue.renderSlot(_ctx.$slots, "actions", {
|
|
37468
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37469
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37470
|
+
selectedRows: _ctx.selectedRows,
|
|
37471
|
+
actionsRef: _ctx.actionsRef,
|
|
37472
|
+
searchParams: (_d2 = (_c2 = _ctx.actionsRef) == null ? void 0 : _c2.searchParams) == null ? void 0 : _d2.value,
|
|
37473
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37474
|
+
}),
|
|
37475
|
+
_ctx.options !== false ? (vue.openBlock(), vue.createElementBlock(
|
|
37476
|
+
vue.Fragment,
|
|
37477
|
+
{ key: 1 },
|
|
37478
|
+
[
|
|
37479
|
+
_ctx.mergeOptions.reload !== false ? (vue.openBlock(), vue.createBlock(_component_Tooltip, {
|
|
37480
|
+
key: 0,
|
|
37481
|
+
title: _ctx.intl.getMessage("tableToolBar.reload", "\u5237\u65B0")
|
|
37482
|
+
}, {
|
|
37483
|
+
default: vue.withCtx(() => {
|
|
37484
|
+
var _a4;
|
|
37485
|
+
return [
|
|
37486
|
+
vue.createElementVNode(
|
|
37487
|
+
"div",
|
|
37488
|
+
{
|
|
37489
|
+
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-actions-item`)
|
|
37490
|
+
},
|
|
37491
|
+
[
|
|
37492
|
+
vue.createVNode(_component_ReloadOutlined, {
|
|
37493
|
+
spin: (_a4 = _ctx.actionsRef) == null ? void 0 : _a4.pollingLoading.value,
|
|
37494
|
+
onClick: _ctx.onReload
|
|
37495
|
+
}, null, 8, ["spin", "onClick"])
|
|
37496
|
+
],
|
|
37497
|
+
2
|
|
37498
|
+
/* CLASS */
|
|
37499
|
+
)
|
|
37500
|
+
];
|
|
37501
|
+
}),
|
|
37502
|
+
_: 1
|
|
37503
|
+
/* STABLE */
|
|
37504
|
+
}, 8, ["title"])) : vue.createCommentVNode("v-if", true),
|
|
37505
|
+
_ctx.mergeOptions.density !== false ? (vue.openBlock(), vue.createBlock(_component_DensityIcon, {
|
|
37506
|
+
key: 1,
|
|
37507
|
+
prefixCls: _ctx.prefixCls
|
|
37508
|
+
}, null, 8, ["prefixCls"])) : vue.createCommentVNode("v-if", true),
|
|
37509
|
+
_ctx.mergeOptions.setting !== false ? (vue.openBlock(), vue.createBlock(_component_ColumnSetting, {
|
|
37510
|
+
key: 2,
|
|
37511
|
+
"prefix-cls": _ctx.prefixCls,
|
|
37512
|
+
columns: _ctx.tableColumn
|
|
37513
|
+
}, null, 8, ["prefix-cls", "columns"])) : vue.createCommentVNode("v-if", true),
|
|
37514
|
+
_ctx.mergeOptions.fullScreen !== false ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
37515
|
+
key: 3,
|
|
37516
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onFullScreen && _ctx.onFullScreen(...args))
|
|
37517
|
+
}, [
|
|
37518
|
+
vue.createVNode(_component_FullscreenIcon, { prefixCls: _ctx.prefixCls }, null, 8, ["prefixCls"])
|
|
37519
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
37520
|
+
],
|
|
37521
|
+
64
|
|
37522
|
+
/* STABLE_FRAGMENT */
|
|
37523
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
37524
|
+
];
|
|
37525
|
+
}),
|
|
37526
|
+
_: 3
|
|
37527
|
+
/* FORWARDED */
|
|
37528
|
+
}, 8, ["class"])
|
|
37529
|
+
],
|
|
37530
|
+
2
|
|
37531
|
+
/* CLASS */
|
|
37532
|
+
)
|
|
37533
|
+
];
|
|
37534
|
+
})
|
|
37484
37535
|
],
|
|
37485
37536
|
2
|
|
37486
37537
|
/* CLASS */
|
|
@@ -37492,7 +37543,13 @@
|
|
|
37492
37543
|
class: vue.normalizeClass(`${_ctx.prefixCls}-toolbar-bottom`)
|
|
37493
37544
|
},
|
|
37494
37545
|
[
|
|
37495
|
-
vue.renderSlot(_ctx.$slots, "bottom"
|
|
37546
|
+
vue.renderSlot(_ctx.$slots, "bottom", {
|
|
37547
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37548
|
+
selectedRows: _ctx.selectedRows,
|
|
37549
|
+
actionsRef: _ctx.actionsRef,
|
|
37550
|
+
searchParams: (_f = (_e = _ctx.actionsRef) == null ? void 0 : _e.searchParams) == null ? void 0 : _f.value,
|
|
37551
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37552
|
+
})
|
|
37496
37553
|
],
|
|
37497
37554
|
2
|
|
37498
37555
|
/* CLASS */
|
|
@@ -37516,6 +37573,7 @@
|
|
|
37516
37573
|
type: Array,
|
|
37517
37574
|
default: () => []
|
|
37518
37575
|
},
|
|
37576
|
+
actionsRef: Object,
|
|
37519
37577
|
onCleanSelected: Function
|
|
37520
37578
|
},
|
|
37521
37579
|
inheritAttrs: false,
|
|
@@ -37537,6 +37595,7 @@
|
|
|
37537
37595
|
},
|
|
37538
37596
|
[
|
|
37539
37597
|
vue.renderSlot(_ctx.$slots, "alert", {
|
|
37598
|
+
actionsRef: _ctx.actionsRef,
|
|
37540
37599
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37541
37600
|
selectedRows: _ctx.selectedRows,
|
|
37542
37601
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -37554,6 +37613,7 @@
|
|
|
37554
37613
|
},
|
|
37555
37614
|
[
|
|
37556
37615
|
vue.renderSlot(_ctx.$slots, "info", {
|
|
37616
|
+
actionsRef: _ctx.actionsRef,
|
|
37557
37617
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37558
37618
|
selectedRows: _ctx.selectedRows,
|
|
37559
37619
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -37588,6 +37648,7 @@
|
|
|
37588
37648
|
vue.createVNode(_component_Space, null, {
|
|
37589
37649
|
default: vue.withCtx(() => [
|
|
37590
37650
|
vue.renderSlot(_ctx.$slots, "actions", {
|
|
37651
|
+
actionsRef: _ctx.actionsRef,
|
|
37591
37652
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37592
37653
|
selectedRows: _ctx.selectedRows,
|
|
37593
37654
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -38127,6 +38188,7 @@
|
|
|
38127
38188
|
"tableColumn": tableColumn.value,
|
|
38128
38189
|
"selectedRowKeys": selectedRowKeys.value,
|
|
38129
38190
|
"selectedRows": selectedRows.value,
|
|
38191
|
+
"onCleanSelected": onCleanSelected,
|
|
38130
38192
|
"onFormSearchSubmit": (newValues) => {
|
|
38131
38193
|
actions.setFormSearch({
|
|
38132
38194
|
...actions.formSearch.value,
|
|
@@ -38144,7 +38206,8 @@
|
|
|
38144
38206
|
"prefixCls": mergedPrefixCls.value,
|
|
38145
38207
|
"selectedRowKeys": selectedRowKeys.value,
|
|
38146
38208
|
"selectedRows": selectedRows.value,
|
|
38147
|
-
"onCleanSelected": onCleanSelected
|
|
38209
|
+
"onCleanSelected": onCleanSelected,
|
|
38210
|
+
"actionsRef": actions
|
|
38148
38211
|
}, {
|
|
38149
38212
|
info: slots.alertInfo,
|
|
38150
38213
|
actions: slots.alertActions,
|