pro-design-vue 1.3.38 → 1.3.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.3.38 */
1
+ /*! Pro Design Vue v1.3.40 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
@@ -32,7 +32,7 @@
32
32
  const DEFAULT_NAMESPACE = "pro";
33
33
  const DEFAULT_LOCALE = "zh-CN";
34
34
 
35
- const version$1 = "1.3.38";
35
+ const version$1 = "1.3.40";
36
36
 
37
37
  const makeInstaller = (components = []) => {
38
38
  const install = (app) => {
@@ -24918,7 +24918,7 @@
24918
24918
  });
24919
24919
  const [columnsMap, setColumnsMap] = useMergedState$1(
24920
24920
  () => {
24921
- var _a2, _b;
24921
+ var _a2;
24922
24922
  const { persistenceType, persistenceKey } = props.columnsState || {};
24923
24923
  if (persistenceKey && persistenceType && typeof window !== "undefined") {
24924
24924
  const storage = window[persistenceType];
@@ -24931,7 +24931,7 @@
24931
24931
  console.warn(error);
24932
24932
  }
24933
24933
  }
24934
- return ((_a2 = props.columnsState) == null ? void 0 : _a2.value) || ((_b = props.columnsState) == null ? void 0 : _b.defaultValue) || defaultColumnKeyMap.value;
24934
+ return ((_a2 = props.columnsState) == null ? void 0 : _a2.value) || defaultColumnKeyMap.value;
24935
24935
  },
24936
24936
  {
24937
24937
  value: vue.computed(() => {
@@ -32388,6 +32388,7 @@
32388
32388
  const sorterInfo = { sorterOrder };
32389
32389
  const key = `${props.rowKey} ${columnKey}`;
32390
32390
  const value = column.dataIndex ? column.renderText ? column.renderText(get(item, column.dataIndex), item, rowIndex) : get(item, column.dataIndex) : void 0;
32391
+ let tooltipTitle = value;
32391
32392
  const valueStatus = runFunction(column == null ? void 0 : column.valueStatus, value, props.item, valueEnum == null ? void 0 : valueEnum[value]);
32392
32393
  const recordIndexs = tableContext.getIndexsByKey(rowKey);
32393
32394
  const cellInnerClass = { [`${prefixCls}-cell-inner`]: true };
@@ -32442,6 +32443,7 @@
32442
32443
  } else if (valueEnum) {
32443
32444
  const option = valueEnum[value];
32444
32445
  if (option && option.text) {
32446
+ tooltipTitle = option.text;
32445
32447
  if (option.status) {
32446
32448
  cellValue = vue.createVNode(antDesignVue.Badge, {
32447
32449
  status: option.status,
@@ -32509,7 +32511,7 @@
32509
32511
  tooltipProps.title = tooltipProps.title(cellRenderArgs);
32510
32512
  showTooltip = !(!tooltipProps.title && tooltipProps.title !== 0);
32511
32513
  } else {
32512
- tooltipProps.title = value;
32514
+ tooltipProps.title = tooltipTitle;
32513
32515
  showTooltip = !(!tooltipProps.title && tooltipProps.title !== 0);
32514
32516
  }
32515
32517
  renderCellVNode = vue.createVNode(