es-grid-template 1.8.34 → 1.8.36

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.
@@ -596,7 +596,7 @@ const TableContainerEdit = props => {
596
596
  marginBottom: '.25rem',
597
597
  fontSize: 14
598
598
  }
599
- }, "D\u1EEF li\u1EC7u sao ch\xE9p v\u01B0\u1EE3t qu\xE1 s\u1ED1 d\xF2ng cho ph\xE9p (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng).Ph\u1EA7n m\u1EC1n s\u1EBD ch\u1EC9 l\u1EA5y 500 d\xF2ng \u0111\u1EA7u ti\xEAn."), /*#__PURE__*/React.createElement(Title, {
599
+ }, "D\u1EEF li\u1EC7u sao ch\xE9p v\u01B0\u1EE3t qu\xE1 s\u1ED1 d\xF2ng cho ph\xE9p (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng).Ph\u1EA7n m\u1EC1n s\u1EBD ch\u1EC9 l\u1EA5y (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng \u0111\u1EA7u ti\xEAn."), /*#__PURE__*/React.createElement(Title, {
600
600
  level: 5,
601
601
  style: {
602
602
  marginTop: '.75rem'
@@ -2,7 +2,8 @@ import type { Row, Table } from "@tanstack/react-table";
2
2
  import { type Column } from "@tanstack/react-table";
3
3
  import type { VirtualItem } from "@tanstack/react-virtual";
4
4
  import type { AnyObject, ColumnsTable, ColumnTable, EditType, FilterOperator, IColumnType, IFormat, RangeState, Sorter, TypeFilter } from "./../type";
5
- import { Key, type CSSProperties } from "react";
5
+ import type { Key } from "react";
6
+ import { type CSSProperties } from "react";
6
7
  import dayjs from "dayjs";
7
8
  import type { IPositionCell } from "../useContext";
8
9
  import type { ColumnDef } from "@tanstack/react-table";
@@ -1,9 +1,6 @@
1
1
  import { SELECTION_COLUMN } from "rc-master-ui/es/table/hooks/useSelection";
2
2
  import { v4 as uuidv4 } from 'uuid';
3
3
  import { presetPalettes } from "@ant-design/colors";
4
-
5
- // import type { AnyObject } from './type';
6
-
7
4
  // import moment from "moment/moment"
8
5
 
9
6
  import dayjs from "dayjs";
@@ -232,7 +232,7 @@ const Grid = props => {
232
232
  triggerSorter(rs);
233
233
  }
234
234
  }
235
- }, [onSorter, sorterChange, sorting, table, triggerSorter]);
235
+ }, [sorterChange, sorting, table]);
236
236
  React.useEffect(() => {
237
237
  if (filterChange) {
238
238
  // const filterState = table.getState().columnFilters
@@ -603,7 +603,7 @@ const TableContainerEdit = props => {
603
603
  marginBottom: '.25rem',
604
604
  fontSize: 14
605
605
  }
606
- }, "D\u1EEF li\u1EC7u sao ch\xE9p v\u01B0\u1EE3t qu\xE1 s\u1ED1 d\xF2ng cho ph\xE9p (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng).Ph\u1EA7n m\u1EC1n s\u1EBD ch\u1EC9 l\u1EA5y 500 d\xF2ng \u0111\u1EA7u ti\xEAn."), /*#__PURE__*/_react.default.createElement(Title, {
606
+ }, "D\u1EEF li\u1EC7u sao ch\xE9p v\u01B0\u1EE3t qu\xE1 s\u1ED1 d\xF2ng cho ph\xE9p (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng).Ph\u1EA7n m\u1EC1n s\u1EBD ch\u1EC9 l\u1EA5y (", onCellPaste?.maxRowsPaste ?? 200, " d\xF2ng \u0111\u1EA7u ti\xEAn."), /*#__PURE__*/_react.default.createElement(Title, {
607
607
  level: 5,
608
608
  style: {
609
609
  marginTop: '.75rem'
@@ -2,7 +2,8 @@ import type { Row, Table } from "@tanstack/react-table";
2
2
  import { type Column } from "@tanstack/react-table";
3
3
  import type { VirtualItem } from "@tanstack/react-virtual";
4
4
  import type { AnyObject, ColumnsTable, ColumnTable, EditType, FilterOperator, IColumnType, IFormat, RangeState, Sorter, TypeFilter } from "./../type";
5
- import { Key, type CSSProperties } from "react";
5
+ import type { Key } from "react";
6
+ import { type CSSProperties } from "react";
6
7
  import dayjs from "dayjs";
7
8
  import type { IPositionCell } from "../useContext";
8
9
  import type { ColumnDef } from "@tanstack/react-table";
@@ -68,8 +68,6 @@ var _uuid = require("uuid");
68
68
  var _colors = require("@ant-design/colors");
69
69
  var _dayjs = _interopRequireDefault(require("dayjs"));
70
70
  var _moment = _interopRequireDefault(require("moment"));
71
- // import type { AnyObject } from './type';
72
-
73
71
  // import moment from "moment/moment"
74
72
 
75
73
  const newGuid = () => {
@@ -234,7 +234,7 @@ const Grid = props => {
234
234
  triggerSorter(rs);
235
235
  }
236
236
  }
237
- }, [onSorter, sorterChange, sorting, table, triggerSorter]);
237
+ }, [sorterChange, sorting, table]);
238
238
  _react.default.useEffect(() => {
239
239
  if (filterChange) {
240
240
  // const filterState = table.getState().columnFilters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-grid-template",
3
- "version": "1.8.34",
3
+ "version": "1.8.36",
4
4
  "description": "es-grid-template",
5
5
  "keywords": [
6
6
  "react",