@churchillliving/se-ui-toolkit 6.53.219 → 6.53.220

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.
@@ -5752,21 +5752,18 @@
5752
5752
  // invoke multiSelection click event
5753
5753
  GridComponent.prototype.multiCheckBoxOnclick = function (rowInfo, event, singleSelection) {
5754
5754
  if (singleSelection === void 0) { singleSelection = false; }
5755
- var _a, _b, _c, _d, _e;
5756
- console.log('aa: ', event === null || event === void 0 ? void 0 : event.target);
5757
- console.log('bb: ', (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.ariaChecked);
5758
- console.log('cc: ', rowInfo);
5755
+ var _a, _b, _c, _d;
5759
5756
  if (!singleSelection) {
5760
- if (Array.isArray(rowInfo) && (rowInfo === null || rowInfo === void 0 ? void 0 : rowInfo.length) > 0 && ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.ariaChecked)) {
5757
+ if (Array.isArray(rowInfo) && (rowInfo === null || rowInfo === void 0 ? void 0 : rowInfo.length) > 0 && ((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.ariaChecked)) {
5761
5758
  this.checklist = __spreadArray([], __read(rowInfo));
5762
5759
  }
5763
- else if (Array.isArray(rowInfo) && ((_c = event === null || event === void 0 ? void 0 : event.target) === null || _c === void 0 ? void 0 : _c.ariaChecked) == null) {
5760
+ else if (Array.isArray(rowInfo) && ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.ariaChecked) == null) {
5764
5761
  this.checklist = [];
5765
5762
  }
5766
- if (!Array.isArray(rowInfo) && ((_d = event === null || event === void 0 ? void 0 : event.target) === null || _d === void 0 ? void 0 : _d.ariaChecked) && !this.checklist.some(function (row) { return row.id == rowInfo.id; })) {
5763
+ if (!Array.isArray(rowInfo) && ((_c = event === null || event === void 0 ? void 0 : event.target) === null || _c === void 0 ? void 0 : _c.ariaChecked) && !this.checklist.some(function (row) { return row.id == rowInfo.id; })) {
5767
5764
  this.checklist.push(rowInfo);
5768
5765
  }
5769
- else if (((_e = event === null || event === void 0 ? void 0 : event.target) === null || _e === void 0 ? void 0 : _e.ariaChecked) == null) {
5766
+ else if (((_d = event === null || event === void 0 ? void 0 : event.target) === null || _d === void 0 ? void 0 : _d.ariaChecked) == null) {
5770
5767
  if (this.checklist.some(function (row) { return (row === null || row === void 0 ? void 0 : row.id) == rowInfo.id; })) {
5771
5768
  var index = this.checklist.findIndex(function (row) { return (row === null || row === void 0 ? void 0 : row.id) == (rowInfo === null || rowInfo === void 0 ? void 0 : rowInfo.id); });
5772
5769
  this.checklist.splice(index, 1);