ninegrid2 6.92.0 → 6.93.0

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.
@@ -11818,7 +11818,7 @@ class ngCellEx extends HTMLElement
11818
11818
 
11819
11819
  if (!rowData) return "";
11820
11820
 
11821
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11821
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11822
11822
 
11823
11823
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
11824
11824
 
@@ -12070,8 +12070,11 @@ class ngCellEx extends HTMLElement
12070
12070
  if (this.owner[fn]) {
12071
12071
  return this.owner[fn].call(this, data, row, this.cell);
12072
12072
  }
12073
+
12074
+
12073
12075
 
12074
- return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12076
+ //return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12077
+ return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
12075
12078
  } catch (e) {
12076
12079
  console.error(e, expr, data, row);
12077
12080
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -11816,7 +11816,7 @@ class ngCellEx extends HTMLElement
11816
11816
 
11817
11817
  if (!rowData) return "";
11818
11818
 
11819
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11819
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
11820
11820
 
11821
11821
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
11822
11822
 
@@ -12068,8 +12068,11 @@ class ngCellEx extends HTMLElement
12068
12068
  if (this.owner[fn]) {
12069
12069
  return this.owner[fn].call(this, data, row, this.cell);
12070
12070
  }
12071
+
12072
+
12071
12073
 
12072
- return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12074
+ //return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
12075
+ return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
12073
12076
  } catch (e) {
12074
12077
  console.error(e, expr, data, row);
12075
12078
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -277,7 +277,7 @@ export class ngCellEx extends HTMLElement
277
277
 
278
278
  if (!rowData) return "";
279
279
 
280
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
280
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
281
281
 
282
282
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
283
283
 
@@ -529,8 +529,11 @@ export class ngCellEx extends HTMLElement
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
531
531
  }
532
+
533
+
532
534
 
533
- return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
535
+ //return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
536
+ return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
534
537
  } catch (e) {
535
538
  console.error(e, expr, data, row);
536
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.92.0",
4
+ "version": "6.93.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -277,7 +277,7 @@ export class ngCellEx extends HTMLElement
277
277
 
278
278
  if (!rowData) return "";
279
279
 
280
- console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
280
+ //console.log(this.cell.dataset.expr, this.cell.dataset.bind, ninegrid.ROW.ORDER);
281
281
 
282
282
  if (!ninegrid.isNull(this.cell.dataset.expr)) {
283
283
 
@@ -529,8 +529,11 @@ export class ngCellEx extends HTMLElement
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
531
531
  }
532
+
533
+
532
534
 
533
- return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
535
+ //return this.owner.exprFunction(expr).call(this, data, row, this.owner.data);
536
+ return this.owner.exprFunction2(expr).call(this, data, row, this.owner.data);
534
537
  } catch (e) {
535
538
  console.error(e, expr, data, row);
536
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;