ninegrid2 6.93.0 → 6.95.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.
@@ -12065,7 +12065,7 @@ class ngCellEx extends HTMLElement
12065
12065
  row = parseInt(row);
12066
12066
  const fn = expr.replace("()", "");
12067
12067
 
12068
- //console.log(fn, this.owner[fn]);
12068
+ console.log(fn, this.owner[fn]);
12069
12069
 
12070
12070
  if (this.owner[fn]) {
12071
12071
  return this.owner[fn].call(this, data, row, this.cell);
@@ -12073,8 +12073,8 @@ class ngCellEx extends HTMLElement
12073
12073
 
12074
12074
 
12075
12075
 
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);
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);
12078
12078
  } catch (e) {
12079
12079
  console.error(e, expr, data, row);
12080
12080
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -17103,6 +17103,8 @@ class ngDataManager
17103
17103
  let args = '...args';
17104
17104
  let body = 'let [data, currow, all] = args; currow = Number(currow); return ' + s + ';';
17105
17105
 
17106
+ console.log(s);
17107
+
17106
17108
  return new Function(args, body);
17107
17109
  //return new Function('data', 'currow', 'return ' + s + ';');
17108
17110
  };
@@ -12063,7 +12063,7 @@ class ngCellEx extends HTMLElement
12063
12063
  row = parseInt(row);
12064
12064
  const fn = expr.replace("()", "");
12065
12065
 
12066
- //console.log(fn, this.owner[fn]);
12066
+ console.log(fn, this.owner[fn]);
12067
12067
 
12068
12068
  if (this.owner[fn]) {
12069
12069
  return this.owner[fn].call(this, data, row, this.cell);
@@ -12071,8 +12071,8 @@ class ngCellEx extends HTMLElement
12071
12071
 
12072
12072
 
12073
12073
 
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);
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);
12076
12076
  } catch (e) {
12077
12077
  console.error(e, expr, data, row);
12078
12078
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -17101,6 +17101,8 @@ class ngDataManager
17101
17101
  let args = '...args';
17102
17102
  let body = 'let [data, currow, all] = args; currow = Number(currow); return ' + s + ';';
17103
17103
 
17104
+ console.log(s);
17105
+
17104
17106
  return new Function(args, body);
17105
17107
  //return new Function('data', 'currow', 'return ' + s + ';');
17106
17108
  };
@@ -524,7 +524,7 @@ export class ngCellEx extends HTMLElement
524
524
  row = parseInt(row);
525
525
  const fn = expr.replace("()", "");
526
526
 
527
- //console.log(fn, this.owner[fn]);
527
+ console.log(fn, this.owner[fn]);
528
528
 
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
@@ -532,8 +532,8 @@ export class ngCellEx extends HTMLElement
532
532
 
533
533
 
534
534
 
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);
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);
537
537
  } catch (e) {
538
538
  console.error(e, expr, data, row);
539
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -126,6 +126,8 @@ export class ngDataManager
126
126
  let args = '...args';
127
127
  let body = 'let [data, currow, all] = args; currow = Number(currow); return ' + s + ';';
128
128
 
129
+ console.log(s);
130
+
129
131
  return new Function(args, body);
130
132
  //return new Function('data', 'currow', 'return ' + s + ';');
131
133
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.93.0",
4
+ "version": "6.95.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -524,7 +524,7 @@ export class ngCellEx extends HTMLElement
524
524
  row = parseInt(row);
525
525
  const fn = expr.replace("()", "");
526
526
 
527
- //console.log(fn, this.owner[fn]);
527
+ console.log(fn, this.owner[fn]);
528
528
 
529
529
  if (this.owner[fn]) {
530
530
  return this.owner[fn].call(this, data, row, this.cell);
@@ -532,8 +532,8 @@ export class ngCellEx extends HTMLElement
532
532
 
533
533
 
534
534
 
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);
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);
537
537
  } catch (e) {
538
538
  console.error(e, expr, data, row);
539
539
  return ["NG-COMBO"].includes(this.tagName) ? "" : expr;
@@ -126,6 +126,8 @@ export class ngDataManager
126
126
  let args = '...args';
127
127
  let body = 'let [data, currow, all] = args; currow = Number(currow); return ' + s + ';';
128
128
 
129
+ console.log(s);
130
+
129
131
  return new Function(args, body);
130
132
  //return new Function('data', 'currow', 'return ' + s + ';');
131
133
  };