ods-component-lib 1.19.0 → 1.19.1
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/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -34966,10 +34966,12 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
34966
34966
|
}, [props.dataGridPageName]);
|
|
34967
34967
|
useEffect(function () {
|
|
34968
34968
|
if (props.columns !== undefined && props.columns.length > 0) {
|
|
34969
|
-
var newColumns = props.columns.map(function (colItem) {
|
|
34969
|
+
var newColumns = props.columns.map(function (colItem, i) {
|
|
34970
34970
|
if (colItem.tooltip !== undefined && colItem.tooltip.enable) {
|
|
34971
34971
|
var headerCellRenderr = function headerCellRenderr() {
|
|
34972
|
-
return React.createElement("div",
|
|
34972
|
+
return React.createElement("div", {
|
|
34973
|
+
key: i
|
|
34974
|
+
}, React.createElement("span", null, colItem.caption), React.createElement(Tooltip$1, {
|
|
34973
34975
|
title: colItem.tooltip.title
|
|
34974
34976
|
}, React.createElement(InfoCircleOutlined, {
|
|
34975
34977
|
style: {
|
|
@@ -35524,10 +35526,11 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
35524
35526
|
layout: "vertical",
|
|
35525
35527
|
onFinish: onFastUpdateFormFinish,
|
|
35526
35528
|
onFinishFailed: onFastUpdateFormFinishFailed
|
|
35527
|
-
}, constants$1.allowedDataTypesForMultiCellEditing.map(function (item) {
|
|
35529
|
+
}, constants$1.allowedDataTypesForMultiCellEditing.map(function (item, i) {
|
|
35528
35530
|
switch (item) {
|
|
35529
35531
|
case "number":
|
|
35530
35532
|
return React.createElement(Form.Item, {
|
|
35533
|
+
key: i,
|
|
35531
35534
|
name: "number",
|
|
35532
35535
|
label: "",
|
|
35533
35536
|
rules: [{
|