pro-design-vue 1.3.32 → 1.3.35

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.
Files changed (57) hide show
  1. package/dist/index.full.js +33 -16
  2. package/dist/index.full.min.js +4 -4
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +4 -4
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +33 -16
  7. package/es/components/button/index.d.ts +17 -8
  8. package/es/components/button/src/Button.d.ts +17 -8
  9. package/es/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +17 -8
  10. package/es/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +17 -8
  11. package/es/components/table/src/components/Filter/FilterDropdown.vue.d.ts +17 -8
  12. package/es/components/table/src/components/Header/Header.vue.d.ts +17 -8
  13. package/es/components/table/src/components/Header/HeaderCell.vue.d.ts +17 -8
  14. package/es/components/table/src/components/Header/HeaderRows.vue.d.ts +17 -8
  15. package/es/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +17 -8
  16. package/es/components/table/src/components/InteralTable.vue.d.ts +36 -18
  17. package/es/components/table/src/components/Table.d.ts +2 -2
  18. package/es/components/table/src/components/interface.d.ts +4 -4
  19. package/es/components/table/src/hooks/useFetchData.d.ts +1 -1
  20. package/es/index.d.ts +21 -12
  21. package/es/packages/components/button/src/Button.mjs +19 -6
  22. package/es/packages/components/button/src/Button.mjs.map +1 -1
  23. package/es/packages/components/table/src/components/Table.mjs +4 -3
  24. package/es/packages/components/table/src/components/Table.mjs.map +1 -1
  25. package/es/packages/components/table/src/components/interface.mjs +1 -1
  26. package/es/packages/components/table/src/components/interface.mjs.map +1 -1
  27. package/es/packages/components/table/src/hooks/useFetchData.mjs +7 -4
  28. package/es/packages/components/table/src/hooks/useFetchData.mjs.map +1 -1
  29. package/es/version.d.ts +1 -1
  30. package/es/version.mjs +1 -1
  31. package/es/version.mjs.map +1 -1
  32. package/lib/components/button/index.d.ts +17 -8
  33. package/lib/components/button/src/Button.d.ts +17 -8
  34. package/lib/components/table/src/components/AutoHeightHeader/Header.vue.d.ts +17 -8
  35. package/lib/components/table/src/components/AutoHeightHeader/HeaderRow.vue.d.ts +17 -8
  36. package/lib/components/table/src/components/Filter/FilterDropdown.vue.d.ts +17 -8
  37. package/lib/components/table/src/components/Header/Header.vue.d.ts +17 -8
  38. package/lib/components/table/src/components/Header/HeaderCell.vue.d.ts +17 -8
  39. package/lib/components/table/src/components/Header/HeaderRows.vue.d.ts +17 -8
  40. package/lib/components/table/src/components/Header/HeaderRowsWrap.vue.d.ts +17 -8
  41. package/lib/components/table/src/components/InteralTable.vue.d.ts +36 -18
  42. package/lib/components/table/src/components/Table.d.ts +2 -2
  43. package/lib/components/table/src/components/interface.d.ts +4 -4
  44. package/lib/components/table/src/hooks/useFetchData.d.ts +1 -1
  45. package/lib/index.d.ts +21 -12
  46. package/lib/packages/components/button/src/Button.js +19 -6
  47. package/lib/packages/components/button/src/Button.js.map +1 -1
  48. package/lib/packages/components/table/src/components/Table.js +4 -3
  49. package/lib/packages/components/table/src/components/Table.js.map +1 -1
  50. package/lib/packages/components/table/src/components/interface.js +1 -1
  51. package/lib/packages/components/table/src/components/interface.js.map +1 -1
  52. package/lib/packages/components/table/src/hooks/useFetchData.js +7 -4
  53. package/lib/packages/components/table/src/hooks/useFetchData.js.map +1 -1
  54. package/lib/version.d.ts +1 -1
  55. package/lib/version.js +1 -1
  56. package/lib/version.js.map +1 -1
  57. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.3.32 */
1
+ /*! Pro Design Vue v1.3.35 */
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.32";
33
+ const version$1 = "1.3.35";
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: () => []
@@ -10409,7 +10413,7 @@ var Button = /* @__PURE__ */ defineComponent({
10409
10413
  e.stopPropagation();
10410
10414
  }
10411
10415
  if (props.mode === "default") {
10412
- emit("click", e);
10416
+ emit("click", e, props.data);
10413
10417
  return;
10414
10418
  }
10415
10419
  if (props.mode === "confirm") {
@@ -10419,11 +10423,11 @@ var Button = /* @__PURE__ */ defineComponent({
10419
10423
  title: renderConfirmContent((_c = props.confirmProps) == null ? void 0 : _c.title) || ((_d = props.confirmProps) == null ? void 0 : _d.title),
10420
10424
  onCancel() {
10421
10425
  var _a2;
10422
- return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props);
10426
+ return (_a2 = props.onCancel) == null ? void 0 : _a2.call(props, props.data);
10423
10427
  },
10424
10428
  onOk() {
10425
10429
  var _a2;
10426
- return (_a2 = props.onConfirm) == null ? void 0 : _a2.call(props);
10430
+ return (_a2 = props.onConfirm) == null ? void 0 : _a2.call(props, props.data);
10427
10431
  }
10428
10432
  });
10429
10433
  }
@@ -10469,8 +10473,14 @@ var Button = /* @__PURE__ */ defineComponent({
10469
10473
  }
10470
10474
  if (props.mode === "popconfirm") {
10471
10475
  return createVNode(Popconfirm, mergeProps(props.popconfirmProps, {
10472
- "onConfirm": props.onConfirm,
10473
- "onCancel": props.onCancel
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
+ }
10474
10484
  }), _isSlot$8(defaultDom) ? defaultDom : {
10475
10485
  default: () => [defaultDom]
10476
10486
  });
@@ -10480,7 +10490,10 @@ var Button = /* @__PURE__ */ defineComponent({
10480
10490
  default: () => [defaultDom],
10481
10491
  overlay: () => createVNode(Menu, mergeProps(props.menuProps, {
10482
10492
  "items": props.items,
10483
- "onClick": props.onMenuClick
10493
+ "onClick": (...args) => {
10494
+ var _a2;
10495
+ return (_a2 = props.onMenuClick) == null ? void 0 : _a2.call(props, ...args, props.data);
10496
+ }
10484
10497
  }), null)
10485
10498
  });
10486
10499
  }
@@ -24077,7 +24090,7 @@ const baseTableProps = () => ({
24077
24090
  },
24078
24091
  virtual: {
24079
24092
  type: Boolean,
24080
- default: false
24093
+ default: void 0
24081
24094
  },
24082
24095
  xVirtual: {
24083
24096
  type: Boolean,
@@ -24581,7 +24594,7 @@ const useFetchData = (getData, props) => {
24581
24594
  setTableLoading(false);
24582
24595
  pollingLoading.value = false;
24583
24596
  };
24584
- const fetchList = async (isPolling) => {
24597
+ const fetchList = async (isPolling, abort) => {
24585
24598
  var _a2, _b, _c, _d, _e, _f, _g;
24586
24599
  if (manualRequestRef.value) {
24587
24600
  manualRequestRef.value = false;
@@ -24613,7 +24626,8 @@ const useFetchData = (getData, props) => {
24613
24626
  success,
24614
24627
  total = 0,
24615
24628
  ...rest
24616
- } = 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;
24617
24631
  if (success === false) return [];
24618
24632
  setTableDataList(data);
24619
24633
  if (((_f = pagination.value) == null ? void 0 : _f.total) !== total) {
@@ -24626,7 +24640,9 @@ const useFetchData = (getData, props) => {
24626
24640
  if (tableDataList.value === void 0) setTableDataList([]);
24627
24641
  props.onRequestError(e);
24628
24642
  } finally {
24629
- requestFinally();
24643
+ if (!abort.signal.aborted) {
24644
+ requestFinally();
24645
+ }
24630
24646
  }
24631
24647
  };
24632
24648
  const fetchListDebounce = useDebounceFn(async (isPolling) => {
@@ -24640,7 +24656,7 @@ const useFetchData = (getData, props) => {
24640
24656
  abortRef.value = abort;
24641
24657
  try {
24642
24658
  const msg = await Promise.race([
24643
- fetchList(isPolling),
24659
+ fetchList(isPolling, abort),
24644
24660
  new Promise((_, reject) => {
24645
24661
  var _a2;
24646
24662
  (_a2 = abortRef.value) == null ? void 0 : _a2.signal.addEventListener("abort", () => {
@@ -37733,12 +37749,12 @@ var Table = /* @__PURE__ */ defineComponent({
37733
37749
  };
37734
37750
  const fetchData = computed(() => {
37735
37751
  if (!props.request) return void 0;
37736
- return async (params, sorters, filter) => {
37752
+ return async (params, sorters, filter, abort) => {
37737
37753
  const actionParams = {
37738
37754
  ...params || {},
37739
37755
  ...props.params || {}
37740
37756
  };
37741
- const response = await props.request(actionParams, sorters, filter);
37757
+ const response = await props.request(actionParams, sorters, filter, abort);
37742
37758
  return response;
37743
37759
  };
37744
37760
  });
@@ -37940,6 +37956,7 @@ var Table = /* @__PURE__ */ defineComponent({
37940
37956
  setSelectedRowKeys(newKeys);
37941
37957
  }
37942
37958
  };
37959
+ const virtual = computed(() => props.virtual !== void 0 ? props.virtual : !!props.autoHeight || !!counter.hasFullScreen.value);
37943
37960
  const hideToolbar = computed(() => mergeOptions.value === false && !props.title && !slots.title && !slots.toolbar && !slots.searchExtra && !slots.toolbarActions);
37944
37961
  const notNeedCardDom = computed(() => {
37945
37962
  var _a2;
@@ -38129,7 +38146,7 @@ var Table = /* @__PURE__ */ defineComponent({
38129
38146
  "ref": tableRef
38130
38147
  }, omit(props, ["onChange", "onUpdate:pagination", "onUpdate:selectedRowKeys", "onUpdate:columns"]), {
38131
38148
  "height": tableHeight.value,
38132
- "virtual": !!props.autoHeight || !!counter.hasFullScreen.value || props.virtual,
38149
+ "virtual": virtual.value,
38133
38150
  "prefixCls": mergedPrefixCls.value,
38134
38151
  "columns": mergeColumns || [],
38135
38152
  "size": counter.tableSize.value,
@@ -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<(e: MouseEvent) => void>;
87
- onCancel: import("vue").PropType<(e: MouseEvent) => void>;
88
- onMenuClick: import("vue").PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
175
- onCancel: import("vue").PropType<(e: MouseEvent) => void>;
176
- onMenuClick: import("vue").PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
90
- onCancel: PropType<(e: MouseEvent) => void>;
91
- onMenuClick: PropType<MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
178
- onCancel: PropType<(e: MouseEvent) => void>;
179
- onMenuClick: PropType<MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
6155
- onCancel: PropType<(e: MouseEvent) => void>;
6156
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
6243
- onCancel: PropType<(e: MouseEvent) => void>;
6244
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
6085
- onCancel: PropType<(e: MouseEvent) => void>;
6086
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
6173
- onCancel: PropType<(e: MouseEvent) => void>;
6174
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
2242
- onCancel: PropType<(e: MouseEvent) => void>;
2243
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
2330
- onCancel: PropType<(e: MouseEvent) => void>;
2331
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
5008
- onCancel: PropType<(e: MouseEvent) => void>;
5009
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
5096
- onCancel: PropType<(e: MouseEvent) => void>;
5097
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
4140
- onCancel: PropType<(e: MouseEvent) => void>;
4141
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
4228
- onCancel: PropType<(e: MouseEvent) => void>;
4229
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
4895
- onCancel: PropType<(e: MouseEvent) => void>;
4896
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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<(e: MouseEvent) => void>;
4983
- onCancel: PropType<(e: MouseEvent) => void>;
4984
- onMenuClick: PropType<import("ant-design-vue").MenuProps["onClick"]>;
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;