pro-design-vue 1.3.31 → 1.3.33
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.full.js +37 -20
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +5 -5
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +37 -20
- package/es/components/button/index.d.ts +17 -8
- package/es/components/button/src/Button.d.ts +17 -8
- package/es/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +17 -8
- package/es/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +17 -8
- package/es/components/table/src/components/Filter/FilterDropdown.vue.d.ts +17 -8
- package/es/components/table/src/components/Header/Header.vue.d.ts +17 -8
- package/es/components/table/src/components/Header/HeaderCell.vue.d.ts +17 -8
- package/es/components/table/src/components/Header/HeaderRows.vue.d.ts +17 -8
- package/es/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +17 -8
- package/es/components/table/src/components/InteralTable.vue.d.ts +34 -16
- package/es/components/table/src/components/interface.d.ts +1 -1
- package/es/components/table/src/hooks/useFetchData.d.ts +1 -1
- package/es/index.d.ts +18 -9
- package/es/packages/components/button/src/Button.mjs +26 -12
- package/es/packages/components/button/src/Button.mjs.map +1 -1
- package/es/packages/components/table/src/components/Table.mjs +2 -2
- package/es/packages/components/table/src/components/Table.mjs.map +1 -1
- package/es/packages/components/table/src/components/interface.mjs.map +1 -1
- package/es/packages/components/table/src/hooks/useFetchData.mjs +7 -4
- 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/button/index.d.ts +17 -8
- package/lib/components/button/src/Button.d.ts +17 -8
- package/lib/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +17 -8
- package/lib/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +17 -8
- package/lib/components/table/src/components/Filter/FilterDropdown.vue.d.ts +17 -8
- package/lib/components/table/src/components/Header/Header.vue.d.ts +17 -8
- package/lib/components/table/src/components/Header/HeaderCell.vue.d.ts +17 -8
- package/lib/components/table/src/components/Header/HeaderRows.vue.d.ts +17 -8
- package/lib/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +17 -8
- package/lib/components/table/src/components/InteralTable.vue.d.ts +34 -16
- package/lib/components/table/src/components/interface.d.ts +1 -1
- package/lib/components/table/src/hooks/useFetchData.d.ts +1 -1
- package/lib/index.d.ts +18 -9
- package/lib/packages/components/button/src/Button.js +26 -12
- package/lib/packages/components/button/src/Button.js.map +1 -1
- package/lib/packages/components/table/src/components/Table.js +2 -2
- package/lib/packages/components/table/src/components/Table.js.map +1 -1
- package/lib/packages/components/table/src/components/interface.js.map +1 -1
- package/lib/packages/components/table/src/hooks/useFetchData.js +7 -4
- 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/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Pro Design Vue v1.3.
|
|
1
|
+
/*! Pro Design Vue v1.3.33 */
|
|
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, triggerRef, onBeforeUnmount, resolveDirective, withDirectives, vShow, render as render$1, resolveComponent } 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.33";
|
|
34
34
|
|
|
35
35
|
const makeInstaller = (components = []) => {
|
|
36
36
|
const install = (app) => {
|
|
@@ -10373,6 +10373,10 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10373
10373
|
type: String,
|
|
10374
10374
|
default: ""
|
|
10375
10375
|
},
|
|
10376
|
+
data: {
|
|
10377
|
+
type: [String, Boolean, Number, Array, Object],
|
|
10378
|
+
default: void 0
|
|
10379
|
+
},
|
|
10376
10380
|
items: {
|
|
10377
10381
|
type: Array,
|
|
10378
10382
|
default: () => []
|
|
@@ -10386,7 +10390,8 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10386
10390
|
emits: ["confirm", "click", "cancel", "menu-click"],
|
|
10387
10391
|
setup(props, {
|
|
10388
10392
|
attrs,
|
|
10389
|
-
slots
|
|
10393
|
+
slots,
|
|
10394
|
+
emit
|
|
10390
10395
|
}) {
|
|
10391
10396
|
const prefixCls = usePrefixCls("button");
|
|
10392
10397
|
const {
|
|
@@ -10402,27 +10407,27 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10402
10407
|
}
|
|
10403
10408
|
return void 0;
|
|
10404
10409
|
};
|
|
10405
|
-
const
|
|
10406
|
-
var _a, _b, _c, _d
|
|
10410
|
+
const handleClick = (e) => {
|
|
10411
|
+
var _a, _b, _c, _d;
|
|
10407
10412
|
if (props.stop) {
|
|
10408
10413
|
e.stopPropagation();
|
|
10409
10414
|
}
|
|
10410
10415
|
if (props.mode === "default") {
|
|
10411
|
-
(
|
|
10416
|
+
emit("click", e, props.data);
|
|
10412
10417
|
return;
|
|
10413
10418
|
}
|
|
10414
10419
|
if (props.mode === "confirm") {
|
|
10415
10420
|
confirm({
|
|
10416
10421
|
...props.confirmProps,
|
|
10417
|
-
content: renderConfirmContent((
|
|
10418
|
-
title: renderConfirmContent((
|
|
10422
|
+
content: renderConfirmContent((_a = props.confirmProps) == null ? void 0 : _a.content) || ((_b = props.confirmProps) == null ? void 0 : _b.content),
|
|
10423
|
+
title: renderConfirmContent((_c = props.confirmProps) == null ? void 0 : _c.title) || ((_d = props.confirmProps) == null ? void 0 : _d.title),
|
|
10419
10424
|
onCancel() {
|
|
10420
10425
|
var _a2;
|
|
10421
|
-
return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props);
|
|
10426
|
+
return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props, props.data);
|
|
10422
10427
|
},
|
|
10423
10428
|
onOk() {
|
|
10424
10429
|
var _a2;
|
|
10425
|
-
return (_a2 = props.onConfirm) == null ? void 0 : _a2.call(props);
|
|
10430
|
+
return (_a2 = props.onConfirm) == null ? void 0 : _a2.call(props, props.data);
|
|
10426
10431
|
}
|
|
10427
10432
|
});
|
|
10428
10433
|
}
|
|
@@ -10442,7 +10447,7 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10442
10447
|
}
|
|
10443
10448
|
const buttonProps = {
|
|
10444
10449
|
...omit(props, ["items", "permission", "iconStyle", "icon", "stop", "confirmProps", "popconfirmProps", "menuProps", "dropdownProps", "tooltipProps", "tooltip", "mode", "onConfirm", "onClick", "onCancel", "onMenuClick"]),
|
|
10445
|
-
onClick
|
|
10450
|
+
onClick: handleClick
|
|
10446
10451
|
};
|
|
10447
10452
|
let defaultDom = createVNode(Button$1, mergeProps(attrs, buttonProps, {
|
|
10448
10453
|
"class": prefixCls
|
|
@@ -10468,8 +10473,14 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10468
10473
|
}
|
|
10469
10474
|
if (props.mode === "popconfirm") {
|
|
10470
10475
|
return createVNode(Popconfirm, mergeProps(props.popconfirmProps, {
|
|
10471
|
-
"onConfirm":
|
|
10472
|
-
|
|
10476
|
+
"onConfirm": () => {
|
|
10477
|
+
var _a2;
|
|
10478
|
+
return (_a2 = props.onConfirm) == null ? void 0 : _a2.call(props, props.data);
|
|
10479
|
+
},
|
|
10480
|
+
"onCancel": () => {
|
|
10481
|
+
var _a2;
|
|
10482
|
+
return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props, props.data);
|
|
10483
|
+
}
|
|
10473
10484
|
}), _isSlot$8(defaultDom) ? defaultDom : {
|
|
10474
10485
|
default: () => [defaultDom]
|
|
10475
10486
|
});
|
|
@@ -10479,7 +10490,10 @@ var Button = /* @__PURE__ */ defineComponent({
|
|
|
10479
10490
|
default: () => [defaultDom],
|
|
10480
10491
|
overlay: () => createVNode(Menu, mergeProps(props.menuProps, {
|
|
10481
10492
|
"items": props.items,
|
|
10482
|
-
"onClick":
|
|
10493
|
+
"onClick": (...args) => {
|
|
10494
|
+
var _a2;
|
|
10495
|
+
return (_a2 = props.onMenuClick) == null ? void 0 : _a2.call(props, ...args, props.data);
|
|
10496
|
+
}
|
|
10483
10497
|
}), null)
|
|
10484
10498
|
});
|
|
10485
10499
|
}
|
|
@@ -24580,7 +24594,7 @@ const useFetchData = (getData, props) => {
|
|
|
24580
24594
|
setTableLoading(false);
|
|
24581
24595
|
pollingLoading.value = false;
|
|
24582
24596
|
};
|
|
24583
|
-
const fetchList = async (isPolling) => {
|
|
24597
|
+
const fetchList = async (isPolling, abort) => {
|
|
24584
24598
|
var _a2, _b, _c, _d, _e, _f, _g;
|
|
24585
24599
|
if (manualRequestRef.value) {
|
|
24586
24600
|
manualRequestRef.value = false;
|
|
@@ -24612,7 +24626,8 @@ const useFetchData = (getData, props) => {
|
|
|
24612
24626
|
success,
|
|
24613
24627
|
total = 0,
|
|
24614
24628
|
...rest
|
|
24615
|
-
} = await ((_e = getData.value) == null ? void 0 : _e.call(getData, params, toRaw(sorters.value), toRaw(filter.value))) || {};
|
|
24629
|
+
} = await ((_e = getData.value) == null ? void 0 : _e.call(getData, params, toRaw(sorters.value), toRaw(filter.value), abort)) || {};
|
|
24630
|
+
if (abort.signal.aborted) return;
|
|
24616
24631
|
if (success === false) return [];
|
|
24617
24632
|
setTableDataList(data);
|
|
24618
24633
|
if (((_f = pagination.value) == null ? void 0 : _f.total) !== total) {
|
|
@@ -24625,7 +24640,9 @@ const useFetchData = (getData, props) => {
|
|
|
24625
24640
|
if (tableDataList.value === void 0) setTableDataList([]);
|
|
24626
24641
|
props.onRequestError(e);
|
|
24627
24642
|
} finally {
|
|
24628
|
-
|
|
24643
|
+
if (!abort.signal.aborted) {
|
|
24644
|
+
requestFinally();
|
|
24645
|
+
}
|
|
24629
24646
|
}
|
|
24630
24647
|
};
|
|
24631
24648
|
const fetchListDebounce = useDebounceFn(async (isPolling) => {
|
|
@@ -24639,7 +24656,7 @@ const useFetchData = (getData, props) => {
|
|
|
24639
24656
|
abortRef.value = abort;
|
|
24640
24657
|
try {
|
|
24641
24658
|
const msg = await Promise.race([
|
|
24642
|
-
fetchList(isPolling),
|
|
24659
|
+
fetchList(isPolling, abort),
|
|
24643
24660
|
new Promise((_, reject) => {
|
|
24644
24661
|
var _a2;
|
|
24645
24662
|
(_a2 = abortRef.value) == null ? void 0 : _a2.signal.addEventListener("abort", () => {
|
|
@@ -37732,12 +37749,12 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
37732
37749
|
};
|
|
37733
37750
|
const fetchData = computed(() => {
|
|
37734
37751
|
if (!props.request) return void 0;
|
|
37735
|
-
return async (params, sorters, filter) => {
|
|
37752
|
+
return async (params, sorters, filter, abort) => {
|
|
37736
37753
|
const actionParams = {
|
|
37737
37754
|
...params || {},
|
|
37738
37755
|
...props.params || {}
|
|
37739
37756
|
};
|
|
37740
|
-
const response = await props.request(actionParams, sorters, filter);
|
|
37757
|
+
const response = await props.request(actionParams, sorters, filter, abort);
|
|
37741
37758
|
return response;
|
|
37742
37759
|
};
|
|
37743
37760
|
});
|
|
@@ -78,14 +78,18 @@ export declare const ProButton: import("pro-design-vue/es/utils").SFCWithInstall
|
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: string;
|
|
80
80
|
};
|
|
81
|
+
data: {
|
|
82
|
+
type: import("vue").PropType<any>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
81
85
|
items: {
|
|
82
86
|
type: import("vue").PropType<import("ant-design-vue").ItemType[]>;
|
|
83
87
|
default: () => never[];
|
|
84
88
|
};
|
|
85
|
-
onClick: import("vue").PropType<(e: MouseEvent) => void>;
|
|
86
|
-
onConfirm: import("vue").PropType<(
|
|
87
|
-
onCancel: import("vue").PropType<(
|
|
88
|
-
onMenuClick: import("vue").PropType<
|
|
89
|
+
onClick: import("vue").PropType<(e: MouseEvent, data?: any) => void>;
|
|
90
|
+
onConfirm: import("vue").PropType<(...args: any[]) => void>;
|
|
91
|
+
onCancel: import("vue").PropType<(...args: any[]) => void>;
|
|
92
|
+
onMenuClick: import("vue").PropType<(...args: any[]) => void>;
|
|
89
93
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
94
|
type: import("vue").PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
91
95
|
htmlType: {
|
|
@@ -166,14 +170,18 @@ export declare const ProButton: import("pro-design-vue/es/utils").SFCWithInstall
|
|
|
166
170
|
type: StringConstructor;
|
|
167
171
|
default: string;
|
|
168
172
|
};
|
|
173
|
+
data: {
|
|
174
|
+
type: import("vue").PropType<any>;
|
|
175
|
+
default: undefined;
|
|
176
|
+
};
|
|
169
177
|
items: {
|
|
170
178
|
type: import("vue").PropType<import("ant-design-vue").ItemType[]>;
|
|
171
179
|
default: () => never[];
|
|
172
180
|
};
|
|
173
|
-
onClick: import("vue").PropType<(e: MouseEvent) => void>;
|
|
174
|
-
onConfirm: import("vue").PropType<(
|
|
175
|
-
onCancel: import("vue").PropType<(
|
|
176
|
-
onMenuClick: import("vue").PropType<
|
|
181
|
+
onClick: import("vue").PropType<(e: MouseEvent, data?: any) => void>;
|
|
182
|
+
onConfirm: import("vue").PropType<(...args: any[]) => void>;
|
|
183
|
+
onCancel: import("vue").PropType<(...args: any[]) => void>;
|
|
184
|
+
onMenuClick: import("vue").PropType<(...args: any[]) => void>;
|
|
177
185
|
}>> & Readonly<{
|
|
178
186
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
179
187
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -190,6 +198,7 @@ export declare const ProButton: import("pro-design-vue/es/utils").SFCWithInstall
|
|
|
190
198
|
ghost: boolean;
|
|
191
199
|
block: boolean;
|
|
192
200
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
201
|
+
data: any;
|
|
193
202
|
items: import("ant-design-vue").ItemType[];
|
|
194
203
|
tooltip: string;
|
|
195
204
|
stop: boolean;
|
|
@@ -81,14 +81,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
81
|
type: StringConstructor;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
|
+
data: {
|
|
85
|
+
type: PropType<any>;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
84
88
|
items: {
|
|
85
89
|
type: PropType<ItemType[]>;
|
|
86
90
|
default: () => never[];
|
|
87
91
|
};
|
|
88
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
89
|
-
onConfirm: PropType<(
|
|
90
|
-
onCancel: PropType<(
|
|
91
|
-
onMenuClick: PropType<
|
|
92
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
93
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
94
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
95
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
92
96
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
97
|
type: PropType<ButtonProps["type"]>;
|
|
94
98
|
htmlType: {
|
|
@@ -169,14 +173,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
169
173
|
type: StringConstructor;
|
|
170
174
|
default: string;
|
|
171
175
|
};
|
|
176
|
+
data: {
|
|
177
|
+
type: PropType<any>;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
172
180
|
items: {
|
|
173
181
|
type: PropType<ItemType[]>;
|
|
174
182
|
default: () => never[];
|
|
175
183
|
};
|
|
176
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
177
|
-
onConfirm: PropType<(
|
|
178
|
-
onCancel: PropType<(
|
|
179
|
-
onMenuClick: PropType<
|
|
184
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
185
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
186
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
187
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
180
188
|
}>> & Readonly<{
|
|
181
189
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
182
190
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -193,6 +201,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
193
201
|
ghost: boolean;
|
|
194
202
|
block: boolean;
|
|
195
203
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
204
|
+
data: any;
|
|
196
205
|
items: ItemType[];
|
|
197
206
|
tooltip: string;
|
|
198
207
|
stop: boolean;
|
|
@@ -6146,14 +6146,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6146
6146
|
type: StringConstructor;
|
|
6147
6147
|
default: string;
|
|
6148
6148
|
};
|
|
6149
|
+
data: {
|
|
6150
|
+
type: PropType<any>;
|
|
6151
|
+
default: undefined;
|
|
6152
|
+
};
|
|
6149
6153
|
items: {
|
|
6150
6154
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
6151
6155
|
default: () => never[];
|
|
6152
6156
|
};
|
|
6153
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
6154
|
-
onConfirm: PropType<(
|
|
6155
|
-
onCancel: PropType<(
|
|
6156
|
-
onMenuClick: PropType<
|
|
6157
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
6158
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
6159
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
6160
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
6157
6161
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6158
6162
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
6159
6163
|
htmlType: {
|
|
@@ -6234,14 +6238,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6234
6238
|
type: StringConstructor;
|
|
6235
6239
|
default: string;
|
|
6236
6240
|
};
|
|
6241
|
+
data: {
|
|
6242
|
+
type: PropType<any>;
|
|
6243
|
+
default: undefined;
|
|
6244
|
+
};
|
|
6237
6245
|
items: {
|
|
6238
6246
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
6239
6247
|
default: () => never[];
|
|
6240
6248
|
};
|
|
6241
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
6242
|
-
onConfirm: PropType<(
|
|
6243
|
-
onCancel: PropType<(
|
|
6244
|
-
onMenuClick: PropType<
|
|
6249
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
6250
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
6251
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
6252
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
6245
6253
|
}>> & Readonly<{
|
|
6246
6254
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
6247
6255
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -6258,6 +6266,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6258
6266
|
ghost: boolean;
|
|
6259
6267
|
block: boolean;
|
|
6260
6268
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
6269
|
+
data: any;
|
|
6261
6270
|
items: import("ant-design-vue").ItemType[];
|
|
6262
6271
|
tooltip: string;
|
|
6263
6272
|
stop: boolean;
|
|
@@ -6076,14 +6076,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6076
6076
|
type: StringConstructor;
|
|
6077
6077
|
default: string;
|
|
6078
6078
|
};
|
|
6079
|
+
data: {
|
|
6080
|
+
type: PropType<any>;
|
|
6081
|
+
default: undefined;
|
|
6082
|
+
};
|
|
6079
6083
|
items: {
|
|
6080
6084
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
6081
6085
|
default: () => never[];
|
|
6082
6086
|
};
|
|
6083
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
6084
|
-
onConfirm: PropType<(
|
|
6085
|
-
onCancel: PropType<(
|
|
6086
|
-
onMenuClick: PropType<
|
|
6087
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
6088
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
6089
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
6090
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
6087
6091
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6088
6092
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
6089
6093
|
htmlType: {
|
|
@@ -6164,14 +6168,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6164
6168
|
type: StringConstructor;
|
|
6165
6169
|
default: string;
|
|
6166
6170
|
};
|
|
6171
|
+
data: {
|
|
6172
|
+
type: PropType<any>;
|
|
6173
|
+
default: undefined;
|
|
6174
|
+
};
|
|
6167
6175
|
items: {
|
|
6168
6176
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
6169
6177
|
default: () => never[];
|
|
6170
6178
|
};
|
|
6171
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
6172
|
-
onConfirm: PropType<(
|
|
6173
|
-
onCancel: PropType<(
|
|
6174
|
-
onMenuClick: PropType<
|
|
6179
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
6180
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
6181
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
6182
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
6175
6183
|
}>> & Readonly<{
|
|
6176
6184
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
6177
6185
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -6188,6 +6196,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6188
6196
|
ghost: boolean;
|
|
6189
6197
|
block: boolean;
|
|
6190
6198
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
6199
|
+
data: any;
|
|
6191
6200
|
items: import("ant-design-vue").ItemType[];
|
|
6192
6201
|
tooltip: string;
|
|
6193
6202
|
stop: boolean;
|
|
@@ -2233,14 +2233,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2233
2233
|
type: StringConstructor;
|
|
2234
2234
|
default: string;
|
|
2235
2235
|
};
|
|
2236
|
+
data: {
|
|
2237
|
+
type: PropType<any>;
|
|
2238
|
+
default: undefined;
|
|
2239
|
+
};
|
|
2236
2240
|
items: {
|
|
2237
2241
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
2238
2242
|
default: () => never[];
|
|
2239
2243
|
};
|
|
2240
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
2241
|
-
onConfirm: PropType<(
|
|
2242
|
-
onCancel: PropType<(
|
|
2243
|
-
onMenuClick: PropType<
|
|
2244
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
2245
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
2246
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
2247
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
2244
2248
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2245
2249
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
2246
2250
|
htmlType: {
|
|
@@ -2321,14 +2325,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2321
2325
|
type: StringConstructor;
|
|
2322
2326
|
default: string;
|
|
2323
2327
|
};
|
|
2328
|
+
data: {
|
|
2329
|
+
type: PropType<any>;
|
|
2330
|
+
default: undefined;
|
|
2331
|
+
};
|
|
2324
2332
|
items: {
|
|
2325
2333
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
2326
2334
|
default: () => never[];
|
|
2327
2335
|
};
|
|
2328
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
2329
|
-
onConfirm: PropType<(
|
|
2330
|
-
onCancel: PropType<(
|
|
2331
|
-
onMenuClick: PropType<
|
|
2336
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
2337
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
2338
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
2339
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
2332
2340
|
}>> & Readonly<{
|
|
2333
2341
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
2334
2342
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -2345,6 +2353,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2345
2353
|
ghost: boolean;
|
|
2346
2354
|
block: boolean;
|
|
2347
2355
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
2356
|
+
data: any;
|
|
2348
2357
|
items: import("ant-design-vue").ItemType[];
|
|
2349
2358
|
tooltip: string;
|
|
2350
2359
|
stop: boolean;
|
|
@@ -4999,14 +4999,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4999
4999
|
type: StringConstructor;
|
|
5000
5000
|
default: string;
|
|
5001
5001
|
};
|
|
5002
|
+
data: {
|
|
5003
|
+
type: PropType<any>;
|
|
5004
|
+
default: undefined;
|
|
5005
|
+
};
|
|
5002
5006
|
items: {
|
|
5003
5007
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
5004
5008
|
default: () => never[];
|
|
5005
5009
|
};
|
|
5006
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
5007
|
-
onConfirm: PropType<(
|
|
5008
|
-
onCancel: PropType<(
|
|
5009
|
-
onMenuClick: PropType<
|
|
5010
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
5011
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
5012
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
5013
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
5010
5014
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5011
5015
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
5012
5016
|
htmlType: {
|
|
@@ -5087,14 +5091,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5087
5091
|
type: StringConstructor;
|
|
5088
5092
|
default: string;
|
|
5089
5093
|
};
|
|
5094
|
+
data: {
|
|
5095
|
+
type: PropType<any>;
|
|
5096
|
+
default: undefined;
|
|
5097
|
+
};
|
|
5090
5098
|
items: {
|
|
5091
5099
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
5092
5100
|
default: () => never[];
|
|
5093
5101
|
};
|
|
5094
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
5095
|
-
onConfirm: PropType<(
|
|
5096
|
-
onCancel: PropType<(
|
|
5097
|
-
onMenuClick: PropType<
|
|
5102
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
5103
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
5104
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
5105
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
5098
5106
|
}>> & Readonly<{
|
|
5099
5107
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
5100
5108
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -5111,6 +5119,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5111
5119
|
ghost: boolean;
|
|
5112
5120
|
block: boolean;
|
|
5113
5121
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
5122
|
+
data: any;
|
|
5114
5123
|
items: import("ant-design-vue").ItemType[];
|
|
5115
5124
|
tooltip: string;
|
|
5116
5125
|
stop: boolean;
|
|
@@ -4131,14 +4131,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4131
4131
|
type: StringConstructor;
|
|
4132
4132
|
default: string;
|
|
4133
4133
|
};
|
|
4134
|
+
data: {
|
|
4135
|
+
type: PropType<any>;
|
|
4136
|
+
default: undefined;
|
|
4137
|
+
};
|
|
4134
4138
|
items: {
|
|
4135
4139
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
4136
4140
|
default: () => never[];
|
|
4137
4141
|
};
|
|
4138
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
4139
|
-
onConfirm: PropType<(
|
|
4140
|
-
onCancel: PropType<(
|
|
4141
|
-
onMenuClick: PropType<
|
|
4142
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
4143
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
4144
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
4145
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
4142
4146
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4143
4147
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
4144
4148
|
htmlType: {
|
|
@@ -4219,14 +4223,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4219
4223
|
type: StringConstructor;
|
|
4220
4224
|
default: string;
|
|
4221
4225
|
};
|
|
4226
|
+
data: {
|
|
4227
|
+
type: PropType<any>;
|
|
4228
|
+
default: undefined;
|
|
4229
|
+
};
|
|
4222
4230
|
items: {
|
|
4223
4231
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
4224
4232
|
default: () => never[];
|
|
4225
4233
|
};
|
|
4226
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
4227
|
-
onConfirm: PropType<(
|
|
4228
|
-
onCancel: PropType<(
|
|
4229
|
-
onMenuClick: PropType<
|
|
4234
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
4235
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
4236
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
4237
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
4230
4238
|
}>> & Readonly<{
|
|
4231
4239
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
4232
4240
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -4243,6 +4251,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4243
4251
|
ghost: boolean;
|
|
4244
4252
|
block: boolean;
|
|
4245
4253
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
4254
|
+
data: any;
|
|
4246
4255
|
items: import("ant-design-vue").ItemType[];
|
|
4247
4256
|
tooltip: string;
|
|
4248
4257
|
stop: boolean;
|
|
@@ -4886,14 +4886,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4886
4886
|
type: StringConstructor;
|
|
4887
4887
|
default: string;
|
|
4888
4888
|
};
|
|
4889
|
+
data: {
|
|
4890
|
+
type: PropType<any>;
|
|
4891
|
+
default: undefined;
|
|
4892
|
+
};
|
|
4889
4893
|
items: {
|
|
4890
4894
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
4891
4895
|
default: () => never[];
|
|
4892
4896
|
};
|
|
4893
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
4894
|
-
onConfirm: PropType<(
|
|
4895
|
-
onCancel: PropType<(
|
|
4896
|
-
onMenuClick: PropType<
|
|
4897
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
4898
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
4899
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
4900
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
4897
4901
|
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "click" | "confirm" | "menu-click")[], "cancel" | "click" | "confirm" | "menu-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4898
4902
|
type: PropType<import("ant-design-vue").ButtonProps["type"]>;
|
|
4899
4903
|
htmlType: {
|
|
@@ -4974,14 +4978,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4974
4978
|
type: StringConstructor;
|
|
4975
4979
|
default: string;
|
|
4976
4980
|
};
|
|
4981
|
+
data: {
|
|
4982
|
+
type: PropType<any>;
|
|
4983
|
+
default: undefined;
|
|
4984
|
+
};
|
|
4977
4985
|
items: {
|
|
4978
4986
|
type: PropType<import("ant-design-vue").ItemType[]>;
|
|
4979
4987
|
default: () => never[];
|
|
4980
4988
|
};
|
|
4981
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
4982
|
-
onConfirm: PropType<(
|
|
4983
|
-
onCancel: PropType<(
|
|
4984
|
-
onMenuClick: PropType<
|
|
4989
|
+
onClick: PropType<(e: MouseEvent, data?: any) => void>;
|
|
4990
|
+
onConfirm: PropType<(...args: any[]) => void>;
|
|
4991
|
+
onCancel: PropType<(...args: any[]) => void>;
|
|
4992
|
+
onMenuClick: PropType<(...args: any[]) => void>;
|
|
4985
4993
|
}>> & Readonly<{
|
|
4986
4994
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
4987
4995
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -4998,6 +5006,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4998
5006
|
ghost: boolean;
|
|
4999
5007
|
block: boolean;
|
|
5000
5008
|
mode: "default" | "popconfirm" | "confirm" | "dropdown";
|
|
5009
|
+
data: any;
|
|
5001
5010
|
items: import("ant-design-vue").ItemType[];
|
|
5002
5011
|
tooltip: string;
|
|
5003
5012
|
stop: boolean;
|