ide-assi 0.730.0 → 0.731.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.
@@ -12303,14 +12303,21 @@ class ngCellEx extends HTMLElement
12303
12303
  //this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
12304
12304
  });
12305
12305
  } */
12306
-
12307
- this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12306
+ //this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12307
+
12308
+ console.log("11111");
12309
+ console.log(ninegrid.querySelectorAll("button,ng-expand-button"));
12310
+
12311
+ ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
12312
+
12313
+ console.log(button);
12314
+
12308
12315
  $(button).on("click", e => {
12309
12316
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12310
12317
  console.log(fn);
12311
12318
  if (fn) {
12312
12319
  fn = fn.replace("()","");
12313
-
12320
+
12314
12321
  if (this.owner[fn]) {
12315
12322
  this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
12316
12323
  }
@@ -12318,7 +12325,7 @@ class ngCellEx extends HTMLElement
12318
12325
  this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
12319
12326
  }
12320
12327
  }
12321
-
12328
+
12322
12329
  this.owner.dispatchEvent(new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { detail: { target: this.cell, data: this.cell.closest("tr").data, currow: parseInt(this.cell.dataset.row) }, bubbles: true, composed: true }));
12323
12330
  //var row = parseInt(this.cell.dataset.row);
12324
12331
  //this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
@@ -122167,6 +122174,7 @@ class NxLayout2 extends HTMLElement {
122167
122174
  });
122168
122175
 
122169
122176
  allLabels.forEach((labelGroup) => {
122177
+
122170
122178
  if (labelGroup && labelGroup.length > 0) {
122171
122179
  const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
122172
122180
  const maxWidth = Math.max(...renderedWidths);
@@ -202860,7 +202868,7 @@ class IdeAi
202860
202868
  }
202861
202869
 
202862
202870
  if (apply.javascript) {
202863
- console.log("111111");
202871
+
202864
202872
  console.log(this.prompt);
202865
202873
 
202866
202874
  const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
@@ -12299,14 +12299,21 @@ class ngCellEx extends HTMLElement
12299
12299
  //this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
12300
12300
  });
12301
12301
  } */
12302
-
12303
- this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12302
+ //this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12303
+
12304
+ console.log("11111");
12305
+ console.log(ninegrid.querySelectorAll("button,ng-expand-button"));
12306
+
12307
+ ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
12308
+
12309
+ console.log(button);
12310
+
12304
12311
  $(button).on("click", e => {
12305
12312
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12306
12313
  console.log(fn);
12307
12314
  if (fn) {
12308
12315
  fn = fn.replace("()","");
12309
-
12316
+
12310
12317
  if (this.owner[fn]) {
12311
12318
  this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
12312
12319
  }
@@ -12314,7 +12321,7 @@ class ngCellEx extends HTMLElement
12314
12321
  this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
12315
12322
  }
12316
12323
  }
12317
-
12324
+
12318
12325
  this.owner.dispatchEvent(new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { detail: { target: this.cell, data: this.cell.closest("tr").data, currow: parseInt(this.cell.dataset.row) }, bubbles: true, composed: true }));
12319
12326
  //var row = parseInt(this.cell.dataset.row);
12320
12327
  //this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
@@ -122163,6 +122170,7 @@ class NxLayout2 extends HTMLElement {
122163
122170
  });
122164
122171
 
122165
122172
  allLabels.forEach((labelGroup) => {
122173
+
122166
122174
  if (labelGroup && labelGroup.length > 0) {
122167
122175
  const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
122168
122176
  const maxWidth = Math.max(...renderedWidths);
@@ -202856,7 +202864,7 @@ class IdeAi
202856
202864
  }
202857
202865
 
202858
202866
  if (apply.javascript) {
202859
- console.log("111111");
202867
+
202860
202868
  console.log(this.prompt);
202861
202869
 
202862
202870
  const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
@@ -331,7 +331,7 @@ export class IdeAi
331
331
  }
332
332
 
333
333
  if (apply.javascript) {
334
- console.log("111111");
334
+
335
335
  console.log(this.prompt);
336
336
 
337
337
  const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.730.0",
4
+ "version": "0.731.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -331,7 +331,7 @@ export class IdeAi
331
331
  }
332
332
 
333
333
  if (apply.javascript) {
334
- console.log("111111");
334
+
335
335
  console.log(this.prompt);
336
336
 
337
337
  const mainfiles = this.prompt.react.filter(item => item.includes(".main.") || item.includes(".all."));