cnhis-design-vue 3.1.35-beta.6 → 3.1.35-beta.7

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.
@@ -729,10 +729,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
729
729
  records: any;
730
730
  }) => void;
731
731
  radioOnChange: (rowData?: {}) => void;
732
- sortChange: ({ property, order }: {
733
- property: any;
734
- order: any;
735
- }) => false | undefined;
732
+ sortChange: (params: any) => false | undefined;
736
733
  showDrawer: () => void;
737
734
  handleCellMouseenter: ({ column, $event }: {
738
735
  column: any;
@@ -728,10 +728,7 @@ declare const _default: import("vue").DefineComponent<{
728
728
  records: any;
729
729
  }) => void;
730
730
  radioOnChange: (rowData?: {}) => void;
731
- sortChange: ({ property, order }: {
732
- property: any;
733
- order: any;
734
- }) => false | undefined;
731
+ sortChange: (params: any) => false | undefined;
735
732
  showDrawer: () => void;
736
733
  handleCellMouseenter: ({ column, $event }: {
737
734
  column: any;
@@ -1543,19 +1543,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1543
1543
  ...row
1544
1544
  }]);
1545
1545
  };
1546
- const sortChange = ({
1547
- property,
1548
- order
1549
- }) => {
1546
+ const sortChange = (params) => {
1550
1547
  if (props.isInlineOperating)
1551
1548
  return false;
1552
1549
  Object.values(state.filterFields).forEach((item) => item.filterSort = null);
1553
- const column = state.filterFields.find((item) => item.columnName === property);
1554
- emit("sortChange", {
1555
- prop: property,
1556
- order,
1557
- column
1558
- });
1550
+ emit("sortChange", params);
1559
1551
  };
1560
1552
  const showDrawer = () => {
1561
1553
  const theads = xGrid.value.$el.childNodes[0].childNodes[1].childNodes[0].getElementsByClassName("mycolumn");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.35-beta.6",
3
+ "version": "3.1.35-beta.7",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "b7faaed1da0e861ef407f904c0cad2bcba162918"
64
+ "gitHead": "729db00ab64f15badc393c12e590b98351d3ba6d"
65
65
  }