es-grid-template 1.8.73 → 1.8.74
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.
- package/es/group-component/header/TableHeadCell.js +1 -1
- package/es/group-component/header/TableHeadCell2.js +1 -1
- package/es/group-component/hook/utils.d.ts +8 -8
- package/es/table-component/header/TableHeadCell.js +1 -1
- package/es/table-component/header/TableHeadCell2.js +1 -1
- package/es/table-virtuoso/header/TableHeadCell.js +1 -1
- package/lib/group-component/header/TableHeadCell.js +1 -1
- package/lib/group-component/header/TableHeadCell2.js +1 -1
- package/lib/table-component/header/TableHeadCell.js +1 -1
- package/lib/table-component/header/TableHeadCell2.js +1 -1
- package/lib/table-virtuoso/header/TableHeadCell.js +1 -1
- package/package.json +1 -1
|
@@ -137,7 +137,7 @@ const TableHeadCell = props => {
|
|
|
137
137
|
minWidth: 275,
|
|
138
138
|
padding: '8px'
|
|
139
139
|
}
|
|
140
|
-
}, /*#__PURE__*/React.createElement("div", null), column.meta?.hideOperator
|
|
140
|
+
}, /*#__PURE__*/React.createElement("div", null), column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/React.createElement("div", {
|
|
141
141
|
className: 'mb-1'
|
|
142
142
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
143
143
|
options: translateOption(operatorOptions, t),
|
|
@@ -136,7 +136,7 @@ const TableHeadCell2 = props => {
|
|
|
136
136
|
minWidth: 275,
|
|
137
137
|
padding: '8px'
|
|
138
138
|
}
|
|
139
|
-
}, /*#__PURE__*/React.createElement("div", null), column.columnDef?.meta?.hideOperator
|
|
139
|
+
}, /*#__PURE__*/React.createElement("div", null), column.columnDef?.meta?.hideOperator !== true && column.columnDef?.meta?.typeFilter !== 'DateRange' && column.columnDef?.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/React.createElement("div", {
|
|
140
140
|
className: 'mb-1'
|
|
141
141
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
142
142
|
options: translateOption(operatorOptions, t),
|
|
@@ -165,7 +165,7 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
165
165
|
type?: IColumnType;
|
|
166
166
|
haveSum?: boolean;
|
|
167
167
|
isSummary?: boolean;
|
|
168
|
-
summaryTemplate?: (data: number, key: string) => import("react").
|
|
168
|
+
summaryTemplate?: (data: number, key: string) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
169
169
|
format?: IFormat | ((rowData: any) => IFormat);
|
|
170
170
|
allowFiltering?: boolean;
|
|
171
171
|
sorter?: boolean;
|
|
@@ -180,18 +180,18 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
180
180
|
headerText?: string;
|
|
181
181
|
hidden?: boolean;
|
|
182
182
|
visible?: boolean;
|
|
183
|
-
headerTooltip?: string | boolean | (() => import("react").
|
|
183
|
+
headerTooltip?: string | boolean | (() => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
184
184
|
columnGroupText?: string;
|
|
185
185
|
align?: import("./../../grid-component/type").ITextAlign;
|
|
186
186
|
textAlign?: import("./../../grid-component/type").ITextAlign;
|
|
187
187
|
headerTextAlign?: import("./../../grid-component/type").ITextAlign;
|
|
188
|
-
template?: import("react").
|
|
188
|
+
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>>);
|
|
189
189
|
showTooltip?: boolean;
|
|
190
190
|
tooltipDescription?: string | ((args: {
|
|
191
191
|
value: any;
|
|
192
192
|
record: RecordType;
|
|
193
|
-
}) => import("react").
|
|
194
|
-
headerTemplate?: import("react").
|
|
193
|
+
}) => import("react").ReactNode | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>);
|
|
194
|
+
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>>);
|
|
195
195
|
commandItems?: import("./../../grid-component/type").CommandItem[];
|
|
196
196
|
children?: ColumnTable<RecordType>[];
|
|
197
197
|
editType?: EditType | ((rowData?: RecordType) => EditType);
|
|
@@ -211,9 +211,9 @@ export declare const fixColumnsLeft: <RecordType>(columns: ColumnTable<RecordTyp
|
|
|
211
211
|
ellipsis?: boolean;
|
|
212
212
|
allowResizing?: boolean;
|
|
213
213
|
allowSelection?: boolean | ((rowData: RecordType) => boolean);
|
|
214
|
-
onCellStyles?: Omit<CSSProperties, "
|
|
215
|
-
onCellHeaderStyles?: Omit<CSSProperties, "
|
|
216
|
-
onCellFooterStyles?: Omit<CSSProperties, "
|
|
214
|
+
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">);
|
|
215
|
+
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">);
|
|
216
|
+
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">);
|
|
217
217
|
sumGroup?: boolean;
|
|
218
218
|
onCell?: (rowData: RecordType, index: number) => import("react").TdHTMLAttributes<HTMLTableCellElement>;
|
|
219
219
|
}[];
|
|
@@ -137,7 +137,7 @@ const TableHeadCell = props => {
|
|
|
137
137
|
minWidth: 275,
|
|
138
138
|
padding: '8px'
|
|
139
139
|
}
|
|
140
|
-
}, /*#__PURE__*/React.createElement("div", null), column.meta?.hideOperator
|
|
140
|
+
}, /*#__PURE__*/React.createElement("div", null), column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/React.createElement("div", {
|
|
141
141
|
className: 'mb-1'
|
|
142
142
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
143
143
|
options: translateOption(operatorOptions, t),
|
|
@@ -146,7 +146,7 @@ const TableHeadCell2 = props => {
|
|
|
146
146
|
minWidth: 275,
|
|
147
147
|
padding: '8px'
|
|
148
148
|
}
|
|
149
|
-
}, /*#__PURE__*/React.createElement("div", null), column.columnDef?.meta?.hideOperator
|
|
149
|
+
}, /*#__PURE__*/React.createElement("div", null), column.columnDef?.meta?.hideOperator !== true && column.columnDef?.meta?.typeFilter !== 'DateRange' && column.columnDef?.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/React.createElement("div", {
|
|
150
150
|
className: 'mb-1'
|
|
151
151
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
152
152
|
options: translateOption(operatorOptions, t),
|
|
@@ -122,7 +122,7 @@ const TableHeadCell = props => {
|
|
|
122
122
|
minWidth: 275,
|
|
123
123
|
padding: '8px'
|
|
124
124
|
}
|
|
125
|
-
}, column.meta?.hideOperator
|
|
125
|
+
}, column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/React.createElement("div", {
|
|
126
126
|
className: 'mb-1'
|
|
127
127
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
128
128
|
options: translateOption(operatorOptions, t),
|
|
@@ -146,7 +146,7 @@ const TableHeadCell = props => {
|
|
|
146
146
|
minWidth: 275,
|
|
147
147
|
padding: '8px'
|
|
148
148
|
}
|
|
149
|
-
}, /*#__PURE__*/_react.default.createElement("div", null), column.meta?.hideOperator
|
|
149
|
+
}, /*#__PURE__*/_react.default.createElement("div", null), column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
|
|
150
150
|
className: 'mb-1'
|
|
151
151
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
|
|
152
152
|
options: (0, _hooks.translateOption)(operatorOptions, t),
|
|
@@ -145,7 +145,7 @@ const TableHeadCell2 = props => {
|
|
|
145
145
|
minWidth: 275,
|
|
146
146
|
padding: '8px'
|
|
147
147
|
}
|
|
148
|
-
}, /*#__PURE__*/_react.default.createElement("div", null), column.columnDef?.meta?.hideOperator
|
|
148
|
+
}, /*#__PURE__*/_react.default.createElement("div", null), column.columnDef?.meta?.hideOperator !== true && column.columnDef?.meta?.typeFilter !== 'DateRange' && column.columnDef?.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
|
|
149
149
|
className: 'mb-1'
|
|
150
150
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
|
|
151
151
|
options: (0, _hooks.translateOption)(operatorOptions, t),
|
|
@@ -146,7 +146,7 @@ const TableHeadCell = props => {
|
|
|
146
146
|
minWidth: 275,
|
|
147
147
|
padding: '8px'
|
|
148
148
|
}
|
|
149
|
-
}, /*#__PURE__*/_react.default.createElement("div", null), column.meta?.hideOperator
|
|
149
|
+
}, /*#__PURE__*/_react.default.createElement("div", null), column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
|
|
150
150
|
className: 'mb-1'
|
|
151
151
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
|
|
152
152
|
options: (0, _hooks.translateOption)(operatorOptions, t),
|
|
@@ -155,7 +155,7 @@ const TableHeadCell2 = props => {
|
|
|
155
155
|
minWidth: 275,
|
|
156
156
|
padding: '8px'
|
|
157
157
|
}
|
|
158
|
-
}, /*#__PURE__*/_react.default.createElement("div", null), column.columnDef?.meta?.hideOperator
|
|
158
|
+
}, /*#__PURE__*/_react.default.createElement("div", null), column.columnDef?.meta?.hideOperator !== true && column.columnDef?.meta?.typeFilter !== 'DateRange' && column.columnDef?.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
|
|
159
159
|
className: 'mb-1'
|
|
160
160
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
|
|
161
161
|
options: (0, _hooks.translateOption)(operatorOptions, t),
|
|
@@ -131,7 +131,7 @@ const TableHeadCell = props => {
|
|
|
131
131
|
minWidth: 275,
|
|
132
132
|
padding: '8px'
|
|
133
133
|
}
|
|
134
|
-
}, column.meta?.hideOperator
|
|
134
|
+
}, column.meta?.hideOperator !== true && column.meta?.typeFilter !== 'DateRange' && column.meta?.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
|
|
135
135
|
className: 'mb-1'
|
|
136
136
|
}, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
|
|
137
137
|
options: (0, _hooks.translateOption)(operatorOptions, t),
|