es-grid-template 1.3.3 → 1.3.4

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.
@@ -108,6 +108,7 @@ export type ColumnTable<RecordType = AnyObject> = Omit<RcColumnType<RecordType>,
108
108
  headerTooltip?: boolean | string | (() => ReactNode | ReactElement);
109
109
  columnGroupText?: string;
110
110
  textAlign?: ITextAlign;
111
+ headerTextAlign?: ITextAlign;
111
112
  template?: ReactNode | ReactElement | ((args: ColumnTemplate<RecordType>) => ReactNode | ReactElement);
112
113
  showTooltip?: boolean;
113
114
  tooltipDescription?: ReactNode | ReactElement | ((value: any, record: RecordType, index: number) => ReactNode | ReactElement);
@@ -149,6 +150,7 @@ export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<Re
149
150
  t?: any;
150
151
  lang?: string;
151
152
  contextMenuItems?: ContextMenuItem[];
153
+ showDefaultContext?: boolean;
152
154
  contextMenuHidden?: string[] | ((args?: Omit<ContextInfo<RecordType>, 'item' | 'event'>) => string[]);
153
155
  contextMenuOpen?: (args: Omit<ContextInfo<RecordType>, 'item'>) => void;
154
156
  contextMenuClick?: (args: ContextInfo<RecordType>) => void;
@@ -253,6 +255,7 @@ export interface ICellPasteModel<RecordType = AnyObject> {
253
255
  onPasted?: (args: IOnPastedProps, handleCallback: (callbackData: any[]) => void) => void;
254
256
  dataChange?: (data: RecordType[]) => void;
255
257
  getCallbackData?: (props: any) => void;
258
+ maxRowsPaste?: number;
256
259
  }
257
260
  export type SourceFilter = {
258
261
  key: string;
@@ -24,6 +24,8 @@ export type ContextCellChange<RecordType = AnyObject> = {
24
24
  record: any;
25
25
  field: string | undefined;
26
26
  option: any;
27
+ indexRow: number;
28
+ indexCol: number;
27
29
  newState?: any;
28
30
  prevState?: any;
29
31
  type: 'enter' | 'blur' | 'outClick';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-grid-template",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "es-grid-template",
5
5
  "keywords": [
6
6
  "react",