es-grid-template 1.8.98 → 1.8.99
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.
|
@@ -162,7 +162,7 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
162
162
|
type?: IColumnType;
|
|
163
163
|
haveSum?: boolean;
|
|
164
164
|
isSummary?: boolean;
|
|
165
|
-
summaryTemplate?: (data: number, key: string) => import("react").
|
|
165
|
+
summaryTemplate?: (data: number, key: string) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
166
166
|
format?: IFormat | ((rowData: any) => IFormat);
|
|
167
167
|
allowFiltering?: boolean;
|
|
168
168
|
sorter?: boolean;
|
|
@@ -177,18 +177,18 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
177
177
|
headerText?: string;
|
|
178
178
|
hidden?: boolean;
|
|
179
179
|
visible?: boolean;
|
|
180
|
-
headerTooltip?: string | boolean | (() => import("react").
|
|
180
|
+
headerTooltip?: string | boolean | (() => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
181
181
|
columnGroupText?: string;
|
|
182
182
|
align?: import("./../../grid-component/type").ITextAlign;
|
|
183
183
|
textAlign?: import("./../../grid-component/type").ITextAlign;
|
|
184
184
|
headerTextAlign?: import("./../../grid-component/type").ITextAlign;
|
|
185
|
-
template?: import("react").
|
|
185
|
+
template?: import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | ((args: import("./../../grid-component/type").ColumnTemplate<RecordType>) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
186
186
|
showTooltip?: boolean;
|
|
187
187
|
tooltipDescription?: string | ((args: {
|
|
188
188
|
value: any;
|
|
189
189
|
rowData: RecordType;
|
|
190
|
-
}) => import("react").
|
|
191
|
-
headerTemplate?: import("react").
|
|
190
|
+
}) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
191
|
+
headerTemplate?: import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | ((column: ColumnTable<RecordType>) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
192
192
|
commandItems?: import("./../../grid-component/type").CommandItem[];
|
|
193
193
|
children?: ColumnTable<RecordType>[];
|
|
194
194
|
editType?: EditType | ((rowData?: RecordType) => EditType);
|
|
@@ -208,9 +208,9 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
208
208
|
ellipsis?: boolean;
|
|
209
209
|
allowResizing?: boolean;
|
|
210
210
|
allowSelection?: boolean | ((rowData: RecordType) => boolean);
|
|
211
|
-
onCellStyles?: Omit<CSSProperties, "
|
|
212
|
-
onCellHeaderStyles?: Omit<CSSProperties, "
|
|
213
|
-
onCellFooterStyles?: Omit<CSSProperties, "
|
|
211
|
+
onCellStyles?: Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width"> | ((cellValue: any, cell: import("@tanstack/react-table").Cell<RecordType, unknown>) => Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width">);
|
|
212
|
+
onCellHeaderStyles?: Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width"> | ((cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width">);
|
|
213
|
+
onCellFooterStyles?: Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width"> | ((cellValue: any, cell: import("@tanstack/react-table").Header<RecordType, unknown>) => Omit<CSSProperties, "left" | "right" | "display" | "minWidth" | "position" | "width">);
|
|
214
214
|
sumGroup?: boolean;
|
|
215
215
|
getValue?: (row: any, rowIndex: number) => any;
|
|
216
216
|
getCellProps?: (value: any, row: any, rowIndex: number) => import("./../../grid-component/type").CellProps;
|
|
@@ -1932,7 +1932,7 @@ const TableContainerEdit = props => {
|
|
|
1932
1932
|
overflow: 'hidden'
|
|
1933
1933
|
}
|
|
1934
1934
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1935
|
-
className: classNames('ui-rc-toolbar-bottom', {
|
|
1935
|
+
className: classNames('ui-rc-toolbar-bottom border-0', {
|
|
1936
1936
|
'ui-rc-toolbar-bottom_border-bottom': !pagination || infiniteScroll
|
|
1937
1937
|
})
|
|
1938
1938
|
}, /*#__PURE__*/React.createElement(Toolbar, {
|
|
@@ -522,6 +522,7 @@ const EditableCell = props => {
|
|
|
522
522
|
popupClassName: 'be-popup-container',
|
|
523
523
|
status: isInvalid ? 'error' : undefined,
|
|
524
524
|
filterOption: filterOption,
|
|
525
|
+
optionRender: column.editSelectSettings?.formatOptionLabel,
|
|
525
526
|
fieldNames: fieldNames ? fieldNames : {
|
|
526
527
|
value: keySelect,
|
|
527
528
|
label: inputKey ?? 'label'
|
|
@@ -676,6 +677,7 @@ const EditableCell = props => {
|
|
|
676
677
|
return /*#__PURE__*/React.createElement(React.Fragment, null, " ", menu);
|
|
677
678
|
}
|
|
678
679
|
},
|
|
680
|
+
optionRender: column.editSelectSettings?.formatOptionLabel,
|
|
679
681
|
filterOption: filterOption,
|
|
680
682
|
fieldNames: fieldNames ? fieldNames : {
|
|
681
683
|
value: keySelect,
|
|
@@ -1939,7 +1939,7 @@ const TableContainerEdit = props => {
|
|
|
1939
1939
|
overflow: 'hidden'
|
|
1940
1940
|
}
|
|
1941
1941
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
1942
|
-
className: (0, _classnames.default)('ui-rc-toolbar-bottom', {
|
|
1942
|
+
className: (0, _classnames.default)('ui-rc-toolbar-bottom border-0', {
|
|
1943
1943
|
'ui-rc-toolbar-bottom_border-bottom': !pagination || infiniteScroll
|
|
1944
1944
|
})
|
|
1945
1945
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
|
|
@@ -530,6 +530,7 @@ const EditableCell = props => {
|
|
|
530
530
|
popupClassName: 'be-popup-container',
|
|
531
531
|
status: isInvalid ? 'error' : undefined,
|
|
532
532
|
filterOption: filterOption,
|
|
533
|
+
optionRender: column.editSelectSettings?.formatOptionLabel,
|
|
533
534
|
fieldNames: fieldNames ? fieldNames : {
|
|
534
535
|
value: keySelect,
|
|
535
536
|
label: inputKey ?? 'label'
|
|
@@ -684,6 +685,7 @@ const EditableCell = props => {
|
|
|
684
685
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, " ", menu);
|
|
685
686
|
}
|
|
686
687
|
},
|
|
688
|
+
optionRender: column.editSelectSettings?.formatOptionLabel,
|
|
687
689
|
filterOption: filterOption,
|
|
688
690
|
fieldNames: fieldNames ? fieldNames : {
|
|
689
691
|
value: keySelect,
|