sccoreui 6.5.30 → 6.5.31
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/dist/App.js
CHANGED
|
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
4
4
|
require("./App.scss");
|
|
5
5
|
// import Home from "./pages/home";
|
|
6
6
|
const App = () => {
|
|
7
|
-
return (0, jsx_runtime_1.jsx)("div", { className: "m-6" });
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "m-6" }));
|
|
8
8
|
};
|
|
9
9
|
exports.default = App;
|
|
@@ -406,8 +406,8 @@ function ParentForGrid(props) {
|
|
|
406
406
|
// Options that grid should have
|
|
407
407
|
const gridOptions = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ columnDefs: (_d = gridData === null || gridData === void 0 ? void 0 : gridData.columnData) === null || _d === void 0 ? void 0 : _d.map((column) => {
|
|
408
408
|
var _a, _b;
|
|
409
|
-
if (
|
|
410
|
-
return Object.assign(Object.assign({}, column), { headerComponent: (params) => headerCheckBoxRenderer(params === null || params === void 0 ? void 0 : params.displayName, (column === null || column === void 0 ? void 0 : column.headerComponent) && ""), cellRenderer: (params) => (0, utilComponents_1.dataCellRenderer)(params, column, props), cellRendererParams: {
|
|
409
|
+
if (column === null || column === void 0 ? void 0 : column.enableChildCheckbox) {
|
|
410
|
+
return Object.assign(Object.assign(Object.assign({}, column), ((column === null || column === void 0 ? void 0 : column.enableHeaderCheckbox) ? { headerComponent: (params) => headerCheckBoxRenderer(params === null || params === void 0 ? void 0 : params.displayName, (column === null || column === void 0 ? void 0 : column.headerComponent) && "") } : {})), { cellRenderer: (params) => (0, utilComponents_1.dataCellRenderer)(params, column, props), cellRendererParams: {
|
|
411
411
|
initialRenderer: column === null || column === void 0 ? void 0 : column.body,
|
|
412
412
|
cellCheckBoxRenderer: cellCheckBoxRenderer,
|
|
413
413
|
}, headerName: (_a = column === null || column === void 0 ? void 0 : column.headerName) === null || _a === void 0 ? void 0 : _a.toUpperCase() });
|