@teselagen/ui 0.3.74 → 0.3.75
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/index.cjs.js +4 -1
- package/index.es.js +4 -1
- package/package.json +1 -1
- package/src/utils/withSelectTableRecords.js +4 -1
package/index.cjs.js
CHANGED
|
@@ -76569,7 +76569,10 @@ function withSelectTableRecords(_tableFormName, propName = "selectTableRecords")
|
|
|
76569
76569
|
if (_records && !Array.isArray(_records))
|
|
76570
76570
|
records = [records];
|
|
76571
76571
|
records.forEach((record) => {
|
|
76572
|
-
selectedEntityIdMap[record.id] = {
|
|
76572
|
+
selectedEntityIdMap[record.id] = {
|
|
76573
|
+
entity: record,
|
|
76574
|
+
time: Date.now()
|
|
76575
|
+
};
|
|
76573
76576
|
});
|
|
76574
76577
|
props.changeFormValue(
|
|
76575
76578
|
tableFormName,
|
package/index.es.js
CHANGED
|
@@ -76551,7 +76551,10 @@ function withSelectTableRecords(_tableFormName, propName = "selectTableRecords")
|
|
|
76551
76551
|
if (_records && !Array.isArray(_records))
|
|
76552
76552
|
records = [records];
|
|
76553
76553
|
records.forEach((record) => {
|
|
76554
|
-
selectedEntityIdMap[record.id] = {
|
|
76554
|
+
selectedEntityIdMap[record.id] = {
|
|
76555
|
+
entity: record,
|
|
76556
|
+
time: Date.now()
|
|
76557
|
+
};
|
|
76555
76558
|
});
|
|
76556
76559
|
props.changeFormValue(
|
|
76557
76560
|
tableFormName,
|
package/package.json
CHANGED
|
@@ -27,7 +27,10 @@ export default function (_tableFormName, propName = "selectTableRecords") {
|
|
|
27
27
|
let records = _records;
|
|
28
28
|
if (_records && !Array.isArray(_records)) records = [records];
|
|
29
29
|
records.forEach(record => {
|
|
30
|
-
selectedEntityIdMap[record.id] = {
|
|
30
|
+
selectedEntityIdMap[record.id] = {
|
|
31
|
+
entity: record,
|
|
32
|
+
time: Date.now()
|
|
33
|
+
};
|
|
31
34
|
});
|
|
32
35
|
props.changeFormValue(
|
|
33
36
|
tableFormName,
|