elab_components 0.9.24 → 0.9.26
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const props: () => {
|
|
2
|
-
activeRangeEnd: "
|
|
2
|
+
activeRangeEnd: "start" | "end";
|
|
3
3
|
allowReverse: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
4
4
|
bottomView: "month" | "year" | "decade" | "century";
|
|
5
5
|
defaultActiveView: "month" | "year" | "decade" | "century";
|
package/dist/index.esm.js
CHANGED
|
@@ -33136,11 +33136,11 @@ var OkGrid = function (_a) {
|
|
|
33136
33136
|
if (((_b = col.function) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'status')
|
|
33137
33137
|
return gridStatusCell(props);
|
|
33138
33138
|
if (((_c = col.function) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === 'externalcell')
|
|
33139
|
-
return React__default.createElement(GridExternalCell, __assign({}, props));
|
|
33139
|
+
return React__default.createElement(GridExternalCell, __assign({}, props, { data: expandedData }));
|
|
33140
33140
|
if (((_d = col.function) === null || _d === void 0 ? void 0 : _d.toLowerCase()) === 'externalcelltwo')
|
|
33141
|
-
return React__default.createElement(GridExternalCellTwo, __assign({}, props));
|
|
33141
|
+
return React__default.createElement(GridExternalCellTwo, __assign({}, props, { data: expandedData }));
|
|
33142
33142
|
if (((_e = col.function) === null || _e === void 0 ? void 0 : _e.toLowerCase()) === 'externalcellthree')
|
|
33143
|
-
return React__default.createElement(GridExternalCellThree, __assign({}, props));
|
|
33143
|
+
return React__default.createElement(GridExternalCellThree, __assign({}, props, { data: expandedData }));
|
|
33144
33144
|
if (((_f = col.function) === null || _f === void 0 ? void 0 : _f.toLowerCase()) === 'chart')
|
|
33145
33145
|
return GridDataCellChart(props);
|
|
33146
33146
|
if (((_g = col.function) === null || _g === void 0 ? void 0 : _g.toLowerCase()) === 'input')
|
|
@@ -33166,7 +33166,7 @@ var OkGrid = function (_a) {
|
|
|
33166
33166
|
if (gridCopyPaste && col.function === 'selected')
|
|
33167
33167
|
return CustomCell(props);
|
|
33168
33168
|
return (React__default.createElement("td", __assign({}, props.tdProps, { colSpan: 1 }), props.dataItem[props.field]));
|
|
33169
|
-
}, [(_h = selectedFilterData === null || selectedFilterData === void 0 ? void 0 : selectedFilterData.selectedData) === null || _h === void 0 ? void 0 : _h.startDateToEndDate]);
|
|
33169
|
+
}, [(_h = selectedFilterData === null || selectedFilterData === void 0 ? void 0 : selectedFilterData.selectedData) === null || _h === void 0 ? void 0 : _h.startDateToEndDate, expandedData]);
|
|
33170
33170
|
var onFilterChange = function (e) {
|
|
33171
33171
|
setSearchKeyword(e.target.value);
|
|
33172
33172
|
};
|
package/dist/index.js
CHANGED
|
@@ -33164,11 +33164,11 @@ var OkGrid = function (_a) {
|
|
|
33164
33164
|
if (((_b = col.function) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'status')
|
|
33165
33165
|
return gridStatusCell(props);
|
|
33166
33166
|
if (((_c = col.function) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === 'externalcell')
|
|
33167
|
-
return React__default["default"].createElement(GridExternalCell, __assign({}, props));
|
|
33167
|
+
return React__default["default"].createElement(GridExternalCell, __assign({}, props, { data: expandedData }));
|
|
33168
33168
|
if (((_d = col.function) === null || _d === void 0 ? void 0 : _d.toLowerCase()) === 'externalcelltwo')
|
|
33169
|
-
return React__default["default"].createElement(GridExternalCellTwo, __assign({}, props));
|
|
33169
|
+
return React__default["default"].createElement(GridExternalCellTwo, __assign({}, props, { data: expandedData }));
|
|
33170
33170
|
if (((_e = col.function) === null || _e === void 0 ? void 0 : _e.toLowerCase()) === 'externalcellthree')
|
|
33171
|
-
return React__default["default"].createElement(GridExternalCellThree, __assign({}, props));
|
|
33171
|
+
return React__default["default"].createElement(GridExternalCellThree, __assign({}, props, { data: expandedData }));
|
|
33172
33172
|
if (((_f = col.function) === null || _f === void 0 ? void 0 : _f.toLowerCase()) === 'chart')
|
|
33173
33173
|
return GridDataCellChart(props);
|
|
33174
33174
|
if (((_g = col.function) === null || _g === void 0 ? void 0 : _g.toLowerCase()) === 'input')
|
|
@@ -33194,7 +33194,7 @@ var OkGrid = function (_a) {
|
|
|
33194
33194
|
if (gridCopyPaste && col.function === 'selected')
|
|
33195
33195
|
return CustomCell(props);
|
|
33196
33196
|
return (React__default["default"].createElement("td", __assign({}, props.tdProps, { colSpan: 1 }), props.dataItem[props.field]));
|
|
33197
|
-
}, [(_h = selectedFilterData === null || selectedFilterData === void 0 ? void 0 : selectedFilterData.selectedData) === null || _h === void 0 ? void 0 : _h.startDateToEndDate]);
|
|
33197
|
+
}, [(_h = selectedFilterData === null || selectedFilterData === void 0 ? void 0 : selectedFilterData.selectedData) === null || _h === void 0 ? void 0 : _h.startDateToEndDate, expandedData]);
|
|
33198
33198
|
var onFilterChange = function (e) {
|
|
33199
33199
|
setSearchKeyword(e.target.value);
|
|
33200
33200
|
};
|