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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.3 */
|
|
2
2
|
|
|
3
3
|
import { Modal, theme as theme$1, ConfigProvider, App, Button as Button$1, Tooltip, Popconfirm, Dropdown, Menu, Slider, Drawer, Input, InputNumber, Form as Form$1, Space, Textarea, Select, TreeSelect, Checkbox as Checkbox$1, CheckboxGroup, RadioGroup, Radio as Radio$1, Cascader, Switch, Rate, DatePicker, RangePicker, TimePicker, TimeRangePicker, Upload, FormItemRest, Spin, message, Row as Row$1, Col, FormItem as FormItem$1, Steps, Popover, MenuItem, SubMenu, Empty, Badge, Tag, Pagination, InputSearch, Tree, Card, Tabs, TabPane } from 'ant-design-vue';
|
|
4
4
|
import { inject, ref, getCurrentInstance, nextTick, h, reactive, defineComponent, createVNode, isVNode, Fragment, cloneVNode, provide, watch, computed, renderSlot, createPropsRestProxy, createBlock, openBlock, unref, mergeProps, withCtx, normalizeProps, guardReactiveProps, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, onMounted, hasInjectionContext, isRef, toRefs as toRefs$1, customRef, toRef as toRef$1, readonly, watchEffect, toRaw, createElementBlock, createCommentVNode, resolveDynamicComponent, createElementVNode, normalizeStyle, toDisplayString, normalizeClass, createSlots, createTextVNode, useAttrs, useTemplateRef, Teleport, onUnmounted, Comment as Comment$1, useSlots, useModel, withModifiers, mergeModels, renderList, camelize, isReactive, onActivated, onDeactivated, onBeforeUnmount, triggerRef, resolveDirective, withDirectives, vShow, render as render$1, resolveComponent, vModelText } from 'vue';
|
|
@@ -30,7 +30,7 @@ const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
|
|
30
30
|
const DEFAULT_NAMESPACE = "pro";
|
|
31
31
|
const DEFAULT_LOCALE = "zh-CN";
|
|
32
32
|
|
|
33
|
-
const version$1 = "1.3.
|
|
33
|
+
const version$1 = "1.3.3";
|
|
34
34
|
|
|
35
35
|
const makeInstaller = (components = []) => {
|
|
36
36
|
const install = (app) => {
|
|
@@ -24253,6 +24253,7 @@ const useFetchData = (getData, props) => {
|
|
|
24253
24253
|
const innerParams = ref({});
|
|
24254
24254
|
const sorters = ref();
|
|
24255
24255
|
const filter = ref();
|
|
24256
|
+
const searchParams = ref();
|
|
24256
24257
|
const keywordName = computed(() => {
|
|
24257
24258
|
if (props.options !== false && props.options.search !== false) {
|
|
24258
24259
|
return props.options.search === true || !props.options.search.name ? void 0 : props.options.search.name;
|
|
@@ -24347,6 +24348,11 @@ const useFetchData = (getData, props) => {
|
|
|
24347
24348
|
if (keyword.value) {
|
|
24348
24349
|
params[(_d = keywordName.value) != null ? _d : "keyword"] = keyword.value;
|
|
24349
24350
|
}
|
|
24351
|
+
searchParams.value = {
|
|
24352
|
+
params,
|
|
24353
|
+
sorters: toRaw(sorters.value),
|
|
24354
|
+
filter: toRaw(filter.value)
|
|
24355
|
+
};
|
|
24350
24356
|
try {
|
|
24351
24357
|
const {
|
|
24352
24358
|
data = [],
|
|
@@ -24578,6 +24584,7 @@ const useFetchData = (getData, props) => {
|
|
|
24578
24584
|
};
|
|
24579
24585
|
setPagination(initialPageInfo);
|
|
24580
24586
|
},
|
|
24587
|
+
searchParams,
|
|
24581
24588
|
setPagination,
|
|
24582
24589
|
setFormSearch,
|
|
24583
24590
|
onTableChange
|
|
@@ -24589,12 +24596,12 @@ const useContainer = (props) => {
|
|
|
24589
24596
|
var _a;
|
|
24590
24597
|
const rootDomRef = ref();
|
|
24591
24598
|
const hasFullScreen = ref(false);
|
|
24592
|
-
const { componentSize } = useProConfigInject();
|
|
24599
|
+
const { componentSize, table } = useProConfigInject();
|
|
24593
24600
|
const sortKeyColumns = ref([]);
|
|
24594
24601
|
const [tableSize, setTableSize] = useMergedState$1(
|
|
24595
24602
|
() => {
|
|
24596
|
-
var _a2, _b;
|
|
24597
|
-
return (
|
|
24603
|
+
var _a2, _b, _c, _d;
|
|
24604
|
+
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";
|
|
24598
24605
|
},
|
|
24599
24606
|
{
|
|
24600
24607
|
value: computed(() => props.size),
|
|
@@ -37193,7 +37200,8 @@ var _sfc_main$8 = defineComponent({
|
|
|
37193
37200
|
onFormSearchSubmit: {
|
|
37194
37201
|
type: Function,
|
|
37195
37202
|
default: void 0
|
|
37196
|
-
}
|
|
37203
|
+
},
|
|
37204
|
+
onCleanSelected: Function
|
|
37197
37205
|
},
|
|
37198
37206
|
setup(props) {
|
|
37199
37207
|
const intl = useIntl();
|
|
@@ -37295,6 +37303,7 @@ var _sfc_main$8 = defineComponent({
|
|
|
37295
37303
|
});
|
|
37296
37304
|
|
|
37297
37305
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37306
|
+
var _a, _b, _c, _d, _e, _f;
|
|
37298
37307
|
const _component_InfoCircleOutlined = resolveComponent("InfoCircleOutlined");
|
|
37299
37308
|
const _component_Tooltip = resolveComponent("Tooltip");
|
|
37300
37309
|
const _component_ProSearch = resolveComponent("ProSearch");
|
|
@@ -37316,7 +37325,13 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37316
37325
|
class: normalizeClass(`${_ctx.prefixCls}-toolbar-top`)
|
|
37317
37326
|
},
|
|
37318
37327
|
[
|
|
37319
|
-
renderSlot(_ctx.$slots, "top"
|
|
37328
|
+
renderSlot(_ctx.$slots, "top", {
|
|
37329
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37330
|
+
selectedRows: _ctx.selectedRows,
|
|
37331
|
+
actionsRef: _ctx.actionsRef,
|
|
37332
|
+
searchParams: (_b = (_a = _ctx.actionsRef) == null ? void 0 : _a.searchParams) == null ? void 0 : _b.value,
|
|
37333
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37334
|
+
})
|
|
37320
37335
|
],
|
|
37321
37336
|
2
|
|
37322
37337
|
/* CLASS */
|
|
@@ -37327,158 +37342,194 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37327
37342
|
class: normalizeClass(`${_ctx.prefixCls}-toolbar-container`)
|
|
37328
37343
|
},
|
|
37329
37344
|
[
|
|
37330
|
-
renderSlot(_ctx.$slots, "toolbar", {
|
|
37331
|
-
|
|
37332
|
-
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
|
|
37337
|
-
|
|
37338
|
-
|
|
37339
|
-
|
|
37340
|
-
|
|
37341
|
-
|
|
37342
|
-
}
|
|
37343
|
-
|
|
37344
|
-
|
|
37345
|
-
|
|
37346
|
-
|
|
37347
|
-
|
|
37348
|
-
/* TEXT */
|
|
37349
|
-
)
|
|
37350
|
-
]),
|
|
37351
|
-
createElementVNode(
|
|
37352
|
-
"div",
|
|
37353
|
-
{
|
|
37354
|
-
class: normalizeClass(`${_ctx.prefixCls}-toolbar-subtitle`)
|
|
37355
|
-
},
|
|
37356
|
-
toDisplayString(_ctx.subTitle),
|
|
37357
|
-
3
|
|
37358
|
-
/* TEXT, CLASS */
|
|
37359
|
-
),
|
|
37360
|
-
_ctx.tooltip ? (openBlock(), createBlock(_component_Tooltip, {
|
|
37345
|
+
renderSlot(_ctx.$slots, "toolbar", {
|
|
37346
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37347
|
+
selectedRows: _ctx.selectedRows,
|
|
37348
|
+
actionsRef: _ctx.actionsRef,
|
|
37349
|
+
searchParams: (_d = (_c = _ctx.actionsRef) == null ? void 0 : _c.searchParams) == null ? void 0 : _d.value,
|
|
37350
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37351
|
+
}, () => {
|
|
37352
|
+
var _a2, _b2;
|
|
37353
|
+
return [
|
|
37354
|
+
createElementVNode(
|
|
37355
|
+
"div",
|
|
37356
|
+
{
|
|
37357
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-left`)
|
|
37358
|
+
},
|
|
37359
|
+
[
|
|
37360
|
+
!!_ctx.title || !!_ctx.$slots.title ? (openBlock(), createElementBlock(
|
|
37361
|
+
"div",
|
|
37362
|
+
{
|
|
37361
37363
|
key: 0,
|
|
37362
|
-
|
|
37363
|
-
},
|
|
37364
|
-
|
|
37365
|
-
|
|
37364
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-title`)
|
|
37365
|
+
},
|
|
37366
|
+
[
|
|
37367
|
+
renderSlot(_ctx.$slots, "title", {
|
|
37368
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37369
|
+
selectedRows: _ctx.selectedRows,
|
|
37370
|
+
actionsRef: _ctx.actionsRef,
|
|
37371
|
+
searchParams: (_b2 = (_a2 = _ctx.actionsRef) == null ? void 0 : _a2.searchParams) == null ? void 0 : _b2.value,
|
|
37372
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37373
|
+
}, () => [
|
|
37374
|
+
createTextVNode(
|
|
37375
|
+
toDisplayString(_ctx.title),
|
|
37376
|
+
1
|
|
37377
|
+
/* TEXT */
|
|
37378
|
+
)
|
|
37366
37379
|
]),
|
|
37367
|
-
|
|
37368
|
-
|
|
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
|
-
setParams: _ctx.actionsRef.setParams
|
|
37416
|
-
})
|
|
37417
|
-
],
|
|
37418
|
-
64
|
|
37419
|
-
/* STABLE_FRAGMENT */
|
|
37420
|
-
)) : createCommentVNode("v-if", true),
|
|
37421
|
-
renderSlot(_ctx.$slots, "actions", {
|
|
37422
|
-
setParams: _ctx.actionsRef.setParams
|
|
37380
|
+
createElementVNode(
|
|
37381
|
+
"div",
|
|
37382
|
+
{
|
|
37383
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-subtitle`)
|
|
37384
|
+
},
|
|
37385
|
+
toDisplayString(_ctx.subTitle),
|
|
37386
|
+
3
|
|
37387
|
+
/* TEXT, CLASS */
|
|
37388
|
+
),
|
|
37389
|
+
_ctx.tooltip ? (openBlock(), createBlock(_component_Tooltip, {
|
|
37390
|
+
key: 0,
|
|
37391
|
+
title: _ctx.tooltip
|
|
37392
|
+
}, {
|
|
37393
|
+
default: withCtx(() => [
|
|
37394
|
+
createVNode(_component_InfoCircleOutlined, { style: { "margin-inline-start": "3px" } })
|
|
37395
|
+
]),
|
|
37396
|
+
_: 1
|
|
37397
|
+
/* STABLE */
|
|
37398
|
+
}, 8, ["title"])) : createCommentVNode("v-if", true)
|
|
37399
|
+
],
|
|
37400
|
+
2
|
|
37401
|
+
/* CLASS */
|
|
37402
|
+
)) : createCommentVNode("v-if", true),
|
|
37403
|
+
_ctx.options !== false ? (openBlock(), createBlock(_component_Space, {
|
|
37404
|
+
key: 1,
|
|
37405
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-options`)
|
|
37406
|
+
}, {
|
|
37407
|
+
default: withCtx(() => {
|
|
37408
|
+
var _a3, _b3;
|
|
37409
|
+
return [
|
|
37410
|
+
_ctx.mergeOptions.search !== false && !(!!_ctx.title || !!_ctx.$slots.title) ? (openBlock(), createElementBlock(
|
|
37411
|
+
Fragment,
|
|
37412
|
+
{ key: 0 },
|
|
37413
|
+
[
|
|
37414
|
+
createVNode(_component_ProSearch, mergeProps(_ctx.searchConfig, { onSearch: _ctx.onSearch }), null, 16, ["onSearch"]),
|
|
37415
|
+
renderSlot(_ctx.$slots, "searchExtra", {
|
|
37416
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37417
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37418
|
+
selectedRows: _ctx.selectedRows,
|
|
37419
|
+
actionsRef: _ctx.actionsRef,
|
|
37420
|
+
searchParams: (_b3 = (_a3 = _ctx.actionsRef) == null ? void 0 : _a3.searchParams) == null ? void 0 : _b3.value,
|
|
37421
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37422
|
+
})
|
|
37423
|
+
],
|
|
37424
|
+
64
|
|
37425
|
+
/* STABLE_FRAGMENT */
|
|
37426
|
+
)) : createCommentVNode("v-if", true)
|
|
37427
|
+
];
|
|
37423
37428
|
}),
|
|
37424
|
-
|
|
37425
|
-
|
|
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
|
-
|
|
37429
|
+
_: 3
|
|
37430
|
+
/* FORWARDED */
|
|
37431
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
37432
|
+
],
|
|
37433
|
+
2
|
|
37434
|
+
/* CLASS */
|
|
37435
|
+
),
|
|
37436
|
+
createElementVNode(
|
|
37437
|
+
"div",
|
|
37438
|
+
{
|
|
37439
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-right`)
|
|
37440
|
+
},
|
|
37441
|
+
[
|
|
37442
|
+
createVNode(_component_Space, {
|
|
37443
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-actions`)
|
|
37444
|
+
}, {
|
|
37445
|
+
default: withCtx(() => {
|
|
37446
|
+
var _a3, _b3, _c2, _d2;
|
|
37447
|
+
return [
|
|
37448
|
+
_ctx.mergeOptions.search !== false && (!!_ctx.title || !!_ctx.$slots.title) ? (openBlock(), createElementBlock(
|
|
37449
|
+
Fragment,
|
|
37450
|
+
{ key: 0 },
|
|
37451
|
+
[
|
|
37452
|
+
createVNode(_component_ProSearch, mergeProps(_ctx.searchConfig, { onSearch: _ctx.onSearch }), null, 16, ["onSearch"]),
|
|
37453
|
+
renderSlot(_ctx.$slots, "searchExtra", {
|
|
37454
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37455
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37456
|
+
selectedRows: _ctx.selectedRows,
|
|
37457
|
+
actionsRef: _ctx.actionsRef,
|
|
37458
|
+
searchParams: (_b3 = (_a3 = _ctx.actionsRef) == null ? void 0 : _a3.searchParams) == null ? void 0 : _b3.value,
|
|
37459
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37460
|
+
})
|
|
37461
|
+
],
|
|
37462
|
+
64
|
|
37463
|
+
/* STABLE_FRAGMENT */
|
|
37464
|
+
)) : createCommentVNode("v-if", true),
|
|
37465
|
+
renderSlot(_ctx.$slots, "actions", {
|
|
37466
|
+
setParams: _ctx.actionsRef.setParams,
|
|
37467
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37468
|
+
selectedRows: _ctx.selectedRows,
|
|
37469
|
+
actionsRef: _ctx.actionsRef,
|
|
37470
|
+
searchParams: (_d2 = (_c2 = _ctx.actionsRef) == null ? void 0 : _c2.searchParams) == null ? void 0 : _d2.value,
|
|
37471
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37472
|
+
}),
|
|
37473
|
+
_ctx.options !== false ? (openBlock(), createElementBlock(
|
|
37474
|
+
Fragment,
|
|
37475
|
+
{ key: 1 },
|
|
37476
|
+
[
|
|
37477
|
+
_ctx.mergeOptions.reload !== false ? (openBlock(), createBlock(_component_Tooltip, {
|
|
37478
|
+
key: 0,
|
|
37479
|
+
title: _ctx.intl.getMessage("tableToolBar.reload", "\u5237\u65B0")
|
|
37480
|
+
}, {
|
|
37481
|
+
default: withCtx(() => {
|
|
37482
|
+
var _a4;
|
|
37483
|
+
return [
|
|
37484
|
+
createElementVNode(
|
|
37485
|
+
"div",
|
|
37486
|
+
{
|
|
37487
|
+
class: normalizeClass(`${_ctx.prefixCls}-toolbar-actions-item`)
|
|
37488
|
+
},
|
|
37489
|
+
[
|
|
37490
|
+
createVNode(_component_ReloadOutlined, {
|
|
37491
|
+
spin: (_a4 = _ctx.actionsRef) == null ? void 0 : _a4.pollingLoading.value,
|
|
37492
|
+
onClick: _ctx.onReload
|
|
37493
|
+
}, null, 8, ["spin", "onClick"])
|
|
37494
|
+
],
|
|
37495
|
+
2
|
|
37496
|
+
/* CLASS */
|
|
37497
|
+
)
|
|
37498
|
+
];
|
|
37499
|
+
}),
|
|
37500
|
+
_: 1
|
|
37501
|
+
/* STABLE */
|
|
37502
|
+
}, 8, ["title"])) : createCommentVNode("v-if", true),
|
|
37503
|
+
_ctx.mergeOptions.density !== false ? (openBlock(), createBlock(_component_DensityIcon, {
|
|
37504
|
+
key: 1,
|
|
37505
|
+
prefixCls: _ctx.prefixCls
|
|
37506
|
+
}, null, 8, ["prefixCls"])) : createCommentVNode("v-if", true),
|
|
37507
|
+
_ctx.mergeOptions.setting !== false ? (openBlock(), createBlock(_component_ColumnSetting, {
|
|
37508
|
+
key: 2,
|
|
37509
|
+
"prefix-cls": _ctx.prefixCls,
|
|
37510
|
+
columns: _ctx.tableColumn
|
|
37511
|
+
}, null, 8, ["prefix-cls", "columns"])) : createCommentVNode("v-if", true),
|
|
37512
|
+
_ctx.mergeOptions.fullScreen !== false ? (openBlock(), createElementBlock("span", {
|
|
37513
|
+
key: 3,
|
|
37514
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onFullScreen && _ctx.onFullScreen(...args))
|
|
37515
|
+
}, [
|
|
37516
|
+
createVNode(_component_FullscreenIcon, { prefixCls: _ctx.prefixCls }, null, 8, ["prefixCls"])
|
|
37517
|
+
])) : createCommentVNode("v-if", true)
|
|
37518
|
+
],
|
|
37519
|
+
64
|
|
37520
|
+
/* STABLE_FRAGMENT */
|
|
37521
|
+
)) : createCommentVNode("v-if", true)
|
|
37522
|
+
];
|
|
37523
|
+
}),
|
|
37524
|
+
_: 3
|
|
37525
|
+
/* FORWARDED */
|
|
37526
|
+
}, 8, ["class"])
|
|
37527
|
+
],
|
|
37528
|
+
2
|
|
37529
|
+
/* CLASS */
|
|
37530
|
+
)
|
|
37531
|
+
];
|
|
37532
|
+
})
|
|
37482
37533
|
],
|
|
37483
37534
|
2
|
|
37484
37535
|
/* CLASS */
|
|
@@ -37490,7 +37541,13 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37490
37541
|
class: normalizeClass(`${_ctx.prefixCls}-toolbar-bottom`)
|
|
37491
37542
|
},
|
|
37492
37543
|
[
|
|
37493
|
-
renderSlot(_ctx.$slots, "bottom"
|
|
37544
|
+
renderSlot(_ctx.$slots, "bottom", {
|
|
37545
|
+
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37546
|
+
selectedRows: _ctx.selectedRows,
|
|
37547
|
+
actionsRef: _ctx.actionsRef,
|
|
37548
|
+
searchParams: (_f = (_e = _ctx.actionsRef) == null ? void 0 : _e.searchParams) == null ? void 0 : _f.value,
|
|
37549
|
+
onCleanSelected: _ctx.onCleanSelected
|
|
37550
|
+
})
|
|
37494
37551
|
],
|
|
37495
37552
|
2
|
|
37496
37553
|
/* CLASS */
|
|
@@ -37514,6 +37571,7 @@ var _sfc_main$7 = defineComponent({
|
|
|
37514
37571
|
type: Array,
|
|
37515
37572
|
default: () => []
|
|
37516
37573
|
},
|
|
37574
|
+
actionsRef: Object,
|
|
37517
37575
|
onCleanSelected: Function
|
|
37518
37576
|
},
|
|
37519
37577
|
inheritAttrs: false,
|
|
@@ -37535,6 +37593,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37535
37593
|
},
|
|
37536
37594
|
[
|
|
37537
37595
|
renderSlot(_ctx.$slots, "alert", {
|
|
37596
|
+
actionsRef: _ctx.actionsRef,
|
|
37538
37597
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37539
37598
|
selectedRows: _ctx.selectedRows,
|
|
37540
37599
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -37552,6 +37611,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37552
37611
|
},
|
|
37553
37612
|
[
|
|
37554
37613
|
renderSlot(_ctx.$slots, "info", {
|
|
37614
|
+
actionsRef: _ctx.actionsRef,
|
|
37555
37615
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37556
37616
|
selectedRows: _ctx.selectedRows,
|
|
37557
37617
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -37586,6 +37646,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37586
37646
|
createVNode(_component_Space, null, {
|
|
37587
37647
|
default: withCtx(() => [
|
|
37588
37648
|
renderSlot(_ctx.$slots, "actions", {
|
|
37649
|
+
actionsRef: _ctx.actionsRef,
|
|
37589
37650
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
37590
37651
|
selectedRows: _ctx.selectedRows,
|
|
37591
37652
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -38125,6 +38186,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38125
38186
|
"tableColumn": tableColumn.value,
|
|
38126
38187
|
"selectedRowKeys": selectedRowKeys.value,
|
|
38127
38188
|
"selectedRows": selectedRows.value,
|
|
38189
|
+
"onCleanSelected": onCleanSelected,
|
|
38128
38190
|
"onFormSearchSubmit": (newValues) => {
|
|
38129
38191
|
actions.setFormSearch({
|
|
38130
38192
|
...actions.formSearch.value,
|
|
@@ -38142,7 +38204,8 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
38142
38204
|
"prefixCls": mergedPrefixCls.value,
|
|
38143
38205
|
"selectedRowKeys": selectedRowKeys.value,
|
|
38144
38206
|
"selectedRows": selectedRows.value,
|
|
38145
|
-
"onCleanSelected": onCleanSelected
|
|
38207
|
+
"onCleanSelected": onCleanSelected,
|
|
38208
|
+
"actionsRef": actions
|
|
38146
38209
|
}, {
|
|
38147
38210
|
info: slots.alertInfo,
|
|
38148
38211
|
actions: slots.alertActions,
|
|
@@ -2,7 +2,7 @@ import type { AliasToken } from 'ant-design-vue/es/theme/interface';
|
|
|
2
2
|
import type { ColProps, ConfigProviderProps, NotificationPlacement } from 'ant-design-vue';
|
|
3
3
|
import type { IntlType } from './intl';
|
|
4
4
|
import type { ValidateMessages, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
5
|
-
import type { Bordered, OptionConfig, TablePaginationConfig } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
5
|
+
import type { Bordered, OptionConfig, TablePaginationConfig, DensitySize } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
6
6
|
interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
7
7
|
intl?: IntlType;
|
|
8
8
|
proPrefixCls?: string;
|
|
@@ -18,6 +18,7 @@ interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
|
18
18
|
childrenColumnName?: string;
|
|
19
19
|
expandRowByClick?: boolean;
|
|
20
20
|
rowKey?: string;
|
|
21
|
+
size?: DensitySize;
|
|
21
22
|
rowHover?: boolean;
|
|
22
23
|
summaryFixed?: boolean;
|
|
23
24
|
columnEmptyText?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { Key } from './interface';
|
|
3
|
+
import type { UseFetchDataAction } from '../hooks/useFetchData';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
5
|
prefixCls: StringConstructor;
|
|
5
6
|
selectedRowKeys: {
|
|
@@ -10,6 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
11
|
type: PropType<any[]>;
|
|
11
12
|
default: () => never[];
|
|
12
13
|
};
|
|
14
|
+
actionsRef: PropType<UseFetchDataAction<any>>;
|
|
13
15
|
onCleanSelected: PropType<(keys?: Key[]) => void>;
|
|
14
16
|
}>, {
|
|
15
17
|
slots: Readonly<{
|
|
@@ -25,6 +27,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
27
|
type: PropType<any[]>;
|
|
26
28
|
default: () => never[];
|
|
27
29
|
};
|
|
30
|
+
actionsRef: PropType<UseFetchDataAction<any>>;
|
|
28
31
|
onCleanSelected: PropType<(keys?: Key[]) => void>;
|
|
29
32
|
}>> & Readonly<{
|
|
30
33
|
onCleanSelected?: ((...args: any[]) => any) | undefined;
|
|
@@ -30,6 +30,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
type: PropType<(params: any) => void>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
+
onCleanSelected: PropType<(keys?: Key[]) => void>;
|
|
33
34
|
}>, {
|
|
34
35
|
h: typeof h;
|
|
35
36
|
intl: import("pro-design-vue").IntlType;
|
|
@@ -69,6 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
70
|
type: PropType<(params: any) => void>;
|
|
70
71
|
default: undefined;
|
|
71
72
|
};
|
|
73
|
+
onCleanSelected: PropType<(keys?: Key[]) => void>;
|
|
72
74
|
}>> & Readonly<{}>, {
|
|
73
75
|
selectedRowKeys: Key[];
|
|
74
76
|
options: false | OptionConfig;
|
|
@@ -16,6 +16,7 @@ export type UseFetchDataAction<T = any> = {
|
|
|
16
16
|
reset: () => void;
|
|
17
17
|
pollingLoading: Ref<boolean>;
|
|
18
18
|
pagination: Ref<PageInfo>;
|
|
19
|
+
searchParams: Ref<Record<string, any> | undefined>;
|
|
19
20
|
setFormSearch: (val: Record<string, any> | undefined) => void;
|
|
20
21
|
setPagination: (val: PageInfo) => void;
|
|
21
22
|
onTableChange: ProTableProps['onChange'];
|
package/es/index.d.ts
CHANGED
|
@@ -6362,6 +6362,7 @@ export declare interface ProConfigProviderProps extends Omit<ConfigProviderProps
|
|
|
6362
6362
|
childrenColumnName?: string;
|
|
6363
6363
|
expandRowByClick?: boolean;
|
|
6364
6364
|
rowKey?: string;
|
|
6365
|
+
size?: ProTableDensitySize;
|
|
6365
6366
|
rowHover?: boolean;
|
|
6366
6367
|
summaryFixed?: boolean;
|
|
6367
6368
|
columnEmptyText?: string;
|
|
@@ -10830,6 +10831,7 @@ declare type UseFetchDataAction<T = any> = {
|
|
|
10830
10831
|
reset: () => void;
|
|
10831
10832
|
pollingLoading: Ref<boolean>;
|
|
10832
10833
|
pagination: Ref<PageInfo>;
|
|
10834
|
+
searchParams: Ref<Record<string, any> | undefined>;
|
|
10833
10835
|
setFormSearch: (val: Record<string, any> | undefined) => void;
|
|
10834
10836
|
setPagination: (val: PageInfo) => void;
|
|
10835
10837
|
onTableChange: ProTableProps["onChange"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-provider.vue2.mjs","sources":["../../../../../../../packages/components/config-provider/src/config-provider.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-11-
|
|
1
|
+
{"version":3,"file":"config-provider.vue2.mjs","sources":["../../../../../../../packages/components/config-provider/src/config-provider.vue"],"sourcesContent":["<!--\n * @Author: shen\n * @Date: 2025-05-22 09:08:36\n * @LastEditors: shen\n * @LastEditTime: 2025-11-12 13:30:03\n * @Description:\n-->\n<script setup lang=\"ts\">\nimport type { ProConfigProviderProps } from './typing'\nimport { ConfigProvider, App, theme as antTheme } from 'ant-design-vue'\nimport { DEFAULT_LOCALE } from '@pro-design-vue/constants'\nimport { zhCNIntl } from './intl'\nimport { computed, nextTick, watch } from 'vue'\nimport { isArray, omit } from '@pro-design-vue/utils'\nimport dayjs from 'dayjs'\nimport ConfigProviderContainer from './config-provider-container.vue'\nimport antdDefaultLocale from 'ant-design-vue/es/locale/zh_CN.js'\nimport { defaultToken } from './defaultToken'\n\ninterface Props extends ProConfigProviderProps {}\n\ndefineOptions({\n name: 'ProConfigProvider',\n})\n\nconst {\n intl = {\n ...zhCNIntl,\n locale: 'default',\n },\n proPrefixCls = 'pro',\n dark = false,\n compact = false,\n token,\n locale = antdDefaultLocale,\n theme,\n table,\n drawer,\n modal,\n form,\n app,\n prefixCls = 'ant',\n componentSize,\n accessCodes,\n ...rest\n} = defineProps<Props>()\n// 默认国际化为zh-cn\nif (locale.locale === DEFAULT_LOCALE.toLocaleLowerCase()) {\n import('dayjs/locale/zh-cn.js').then((value) => {\n dayjs.locale(value)\n })\n}\n\nconst mergerTheme = computed(() => {\n const algorithm = dark ? [antTheme.darkAlgorithm] : [antTheme.defaultAlgorithm]\n if (compact) {\n algorithm.push(antTheme.compactAlgorithm)\n }\n\n if (theme?.algorithm) {\n if (isArray(theme?.algorithm)) {\n algorithm.push(...theme?.algorithm)\n } else {\n algorithm.push(theme?.algorithm)\n }\n }\n const mergeToken = {\n ...defaultToken,\n ...theme?.token,\n ...token,\n }\n return {\n ...theme,\n algorithm,\n token: {\n ...mergeToken,\n colorLink: mergeToken.colorPrimary,\n colorLinkActive: 'hsl(var(--pro-primary-600))',\n colorLinkHover: 'hsl(var(--pro-primary-400))',\n },\n }\n})\n\nwatch(\n () => dark,\n async () => {\n await nextTick()\n const root = document.documentElement\n root.classList.toggle('dark', dark)\n },\n {\n immediate: true,\n },\n)\nConfigProvider.config({\n prefixCls,\n})\n</script>\n\n<template>\n <ConfigProvider\n v-bind=\"rest\"\n :locale\n :prefixCls\n :theme=\"mergerTheme\"\n :componentSize\n :form=\"\n omit(form ?? {}, ['resetOnSubmit', 'labelWidth', 'resetText', 'searchText', 'labelWidth'])\n \"\n >\n <App v-bind=\"app\">\n <ConfigProviderContainer\n :contentOffsetTop\n :intl\n :dark\n :proPrefixCls\n :table\n :form\n :locale\n :drawer\n :modal\n :prefixCls\n :componentSize\n :accessCodes\n >\n <slot />\n </ConfigProviderContainer>\n </App>\n </ConfigProvider>\n</template>\n"],"names":["_createPropsRestProxy","antTheme","_createBlock","_unref","_mergeProps","locale","prefixCls","componentSize","form","_createVNode","app","ConfigProviderContainer","contentOffsetTop","intl","dark","proPrefixCls","table","drawer","modal","accessCodes","_renderSlot"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,IAAA,MAAM,OAoBFA,oBAAA,CAAA,OAAA,EAAA,CAAA,MAAA,EAAA,cAAA,EAAA,QAAA,SAAA,EAAA,OAAA,EAAA,UAAA,OAAA,EAAA,OAAA,EAAA,UAAA,OAAA,EAAA,MAAA,EAAA,OAAA,WAAA,EAAA,eAAA,EAAA,aAAA,CAAA,CAAA;AAEJ,IAAA,IAAI,OAAA,CAAA,MAAA,CAAO,MAAA,KAAW,cAAA,CAAe,mBAAkB,EAAG;AACxD,MAAA,OAAO,uBAAuB,CAAA,CAAE,IAAA,CAAK,CAAC,KAAA,KAAU;AAC9C,QAAA,KAAA,CAAM,OAAO,KAAK,CAAA;AAAA,MACpB,CAAC,CAAA;AAAA,IACH;AAEA,IAAA,MAAM,WAAA,GAAc,SAAS,MAAM;;AACjC,MAAA,MAAM,SAAA,GAAY,eAAO,CAACC,MAAS,aAAa,CAAA,GAAI,CAACA,KAAA,CAAS,gBAAgB,CAAA;AAC9E,MAAA,IAAI,QAAA,OAAA,EAAS;AACX,QAAA,SAAA,CAAU,IAAA,CAAKA,MAAS,gBAAgB,CAAA;AAAA,MAC1C;AAEA,MAAA,IAAA,CAAI,EAAA,GAAA,OAAA,CAAA,KAAA,KAAA,IAAA,GAAA,MAAA,GAAA,EAAA,CAAO,SAAA,EAAW;AACpB,QAAA,IAAI,OAAA,CAAA,CAAQ,EAAA,GAAA,OAAA,CAAA,KAAA,KAAA,IAAA,GAAA,MAAA,GAAA,EAAA,CAAO,SAAS,CAAA,EAAG;AAC7B,UAAA,SAAA,CAAU,IAAA,CAAK,GAAA,CAAG,EAAA,GAAA,OAAA,WAAA,mBAAO,SAAS,CAAA;AAAA,QACpC,CAAA,MAAO;AACL,UAAA,SAAA,CAAU,IAAA,CAAA,CAAK,EAAA,GAAA,OAAA,CAAA,KAAA,KAAA,IAAA,GAAA,MAAA,GAAA,EAAA,CAAO,SAAS,CAAA;AAAA,QACjC;AAAA,MACF;AACA,MAAA,MAAM,UAAA,GAAa;AAAA,QACjB,GAAG,YAAA;AAAA,QACH,GAAA,CAAG,EAAA,GAAA,OAAA,CAAA,KAAA,KAAA,IAAA,GAAA,MAAA,GAAA,EAAA,CAAO,KAAA;AAAA,QACV,GAAG,OAAA,CAAA;AAAA,OACL;AACA,MAAA,OAAO;AAAA,QACL,GAAG,OAAA,CAAA,KAAA;AAAA,QACH,SAAA;AAAA,QACA,KAAA,EAAO;AAAA,UACL,GAAG,UAAA;AAAA,UACH,WAAW,UAAA,CAAW,YAAA;AAAA,UACtB,eAAA,EAAiB,6BAAA;AAAA,UACjB,cAAA,EAAgB;AAAA;AAClB,OACF;AAAA,IACF,CAAC,CAAA;AAED,IAAA,KAAA;AAAA,MACE,MAAM,OAAA,CAAA,IAAA;AAAA,MACN,YAAY;AACV,QAAA,MAAM,QAAA,EAAS;AACf,QAAA,MAAM,OAAO,QAAA,CAAS,eAAA;AACtB,QAAA,IAAA,CAAK,SAAA,CAAU,MAAA,CAAO,MAAA,EAAQ,OAAA,CAAA,IAAI,CAAA;AAAA,MACpC,CAAA;AAAA,MACA;AAAA,QACE,SAAA,EAAW;AAAA;AACb,KACF;AACA,IAAA,cAAA,CAAe,MAAA,CAAO;AAAA,MACpB,WAAQ,OAAA,CAAA;AAAA,KACT,CAAA;;;0BAICC,WAAA,CA4BiBC,MAAA,cAAA,CAAA,EA5BjBC,WA4BiB,IAAA,EA3BH;AAAA,QACX,QAAAC,IAAAA,CAAAA,MAAAA;AAAAA,QACA,WAAAC,IAAAA,CAAAA,SAAAA;AAAAA,QACA,OAAO,WAAA,CAAA,KAAA;AAAA,QACP,eAAAC,IAAAA,CAAAA,aAAAA;AAAAA,QACA,IAAA,EAAaJ,KAAA,CAAA,IAAA,CAAA,CAAA,CAAKK,UAAAA,IAAAA,KAAAA,IAAAA,GAAAA,EAAAA,GAAI,EAAA,EAAA,CAAA,eAAA,EAAA,YAAA,EAAA,WAAA,EAAA,YAAA,EAAA,YAAA,CAAA;AAAA;yBAIvB,MAiBM;AAAA,UAjBNC,WAAA;AAAA,YAiBMN;8CAjBOO,IAAAA,CAAAA,GAAG,CAAA,CAAA;AAAA,YAAA;AAAA,+BACd,MAe0B;AAAA,gBAf1BD,YAe0BE,WAAA,EAAA;AAAA,kBAdvB,kBAAAC,IAAAA,CAAAA,gBAAAA;AAAAA,kBACA,MAAAC,IAAAA,CAAAA,IAAAA;AAAAA,kBACA,MAAAC,IAAAA,CAAAA,IAAAA;AAAAA,kBACA,cAAAC,IAAAA,CAAAA,YAAAA;AAAAA,kBACA,OAAAC,IAAAA,CAAAA,KAAAA;AAAAA,kBACA,MAAAR,IAAAA,CAAAA,IAAAA;AAAAA,kBACA,QAAAH,IAAAA,CAAAA,MAAAA;AAAAA,kBACA,QAAAY,IAAAA,CAAAA,MAAAA;AAAAA,kBACA,OAAAC,IAAAA,CAAAA,KAAAA;AAAAA,kBACA,WAAAZ,IAAAA,CAAAA,SAAAA;AAAAA,kBACA,eAAAC,IAAAA,CAAAA,aAAAA;AAAAA,kBACA,aAAAY,IAAAA,CAAAA;AAAAA;mCAED,MAAQ;AAAA,oBAARC,UAAA,CAAQ,IAAA,CAAA,MAAA,EAAA,SAAA;AAAA;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,6 +11,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11
11
|
},
|
|
12
12
|
[
|
|
13
13
|
renderSlot(_ctx.$slots, "alert", {
|
|
14
|
+
actionsRef: _ctx.actionsRef,
|
|
14
15
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
15
16
|
selectedRows: _ctx.selectedRows,
|
|
16
17
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -28,6 +29,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
29
|
},
|
|
29
30
|
[
|
|
30
31
|
renderSlot(_ctx.$slots, "info", {
|
|
32
|
+
actionsRef: _ctx.actionsRef,
|
|
31
33
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
32
34
|
selectedRows: _ctx.selectedRows,
|
|
33
35
|
onCleanSelected: _ctx.onCleanSelected
|
|
@@ -62,6 +64,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
62
64
|
createVNode(_component_Space, null, {
|
|
63
65
|
default: withCtx(() => [
|
|
64
66
|
renderSlot(_ctx.$slots, "actions", {
|
|
67
|
+
actionsRef: _ctx.actionsRef,
|
|
65
68
|
selectedRowKeys: _ctx.selectedRowKeys,
|
|
66
69
|
selectedRows: _ctx.selectedRows,
|
|
67
70
|
onCleanSelected: _ctx.onCleanSelected
|