@crystaldesign/grid 24.15.0-beta.7 → 24.15.0-beta.8
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/build/esm/index.js
CHANGED
|
@@ -1535,7 +1535,15 @@ function BooleanCell (_ref) {
|
|
|
1535
1535
|
var updatedData = _objectSpread$9({}, row.original);
|
|
1536
1536
|
column.id.split('.').reduce(function (acc, key, index, arr) {
|
|
1537
1537
|
if (index === arr.length - 1) {
|
|
1538
|
-
|
|
1538
|
+
if (column.dataType == 'organizationIdArray') {
|
|
1539
|
+
var _acc$key;
|
|
1540
|
+
acc[key] = (_acc$key = acc[key]) !== null && _acc$key !== void 0 ? _acc$key : [];
|
|
1541
|
+
acc[key] = acc[key].includes(organization === null || organization === void 0 ? void 0 : organization._id) ? acc[key].filter(function (id) {
|
|
1542
|
+
return id !== (organization === null || organization === void 0 ? void 0 : organization._id);
|
|
1543
|
+
}) : [].concat(_toConsumableArray(acc[key]), [organization === null || organization === void 0 ? void 0 : organization._id]);
|
|
1544
|
+
} else {
|
|
1545
|
+
acc[key] = !value;
|
|
1546
|
+
}
|
|
1539
1547
|
} else {
|
|
1540
1548
|
if (!acc[key]) acc[key] = {};
|
|
1541
1549
|
return acc[key];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanCell.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/cells/boolean/BooleanCell.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,MAAM,CAAC,OAAO,WAAW,CAAC,SAAS,MAAM,GAAG,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"BooleanCell.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/cells/boolean/BooleanCell.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,MAAM,CAAC,OAAO,WAAW,CAAC,SAAS,MAAM,GAAG,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,qBA2E5H"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/grid",
|
|
3
|
-
"version": "24.15.0-beta.
|
|
3
|
+
"version": "24.15.0-beta.8",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@mui/x-date-pickers": "^7.22.0",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"react-dom": "18.3.1"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@crystaldesign/content-box": "24.15.0-beta.
|
|
16
|
-
"@crystaldesign/rtf-editor": "24.15.0-beta.
|
|
17
|
-
"@crystaldesign/searchfield": "24.15.0-beta.
|
|
15
|
+
"@crystaldesign/content-box": "24.15.0-beta.8",
|
|
16
|
+
"@crystaldesign/rtf-editor": "24.15.0-beta.8",
|
|
17
|
+
"@crystaldesign/searchfield": "24.15.0-beta.8",
|
|
18
18
|
"@mui/icons-material": "^6.1.5",
|
|
19
19
|
"@mui/lab": "^6.0.0-beta.13",
|
|
20
20
|
"@mui/material": "^6.1.5",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
},
|
|
41
41
|
"module": "build/esm/index.js",
|
|
42
42
|
"types": "./build/types/grid/src/index.d.ts",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "9c490dfd6bb9c2b7b77a2db03321a5d810574ad6"
|
|
44
44
|
}
|