ninegrid2 6.1241.0 → 6.1242.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.
@@ -118764,7 +118764,8 @@ class NineGridContainer extends HTMLElement
118764
118764
  this.body = this.shadowRoot.querySelector(".ng-body");
118765
118765
 
118766
118766
 
118767
- this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
118767
+ //this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
118768
+ this.querySelectorAll("nx-buttons *").forEach(v => {v.grid = this;});
118768
118769
  $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("buttons"));
118769
118770
 
118770
118771
 
@@ -118915,7 +118916,8 @@ class NineGridContainer extends HTMLElement
118915
118916
 
118916
118917
  const head = this.shadowRoot.querySelector("ng-head");
118917
118918
  if (head) {
118918
- head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
118919
+ //head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
118920
+ head.shadowRoot.querySelectorAll("nx-buttons button").forEach(el => {
118919
118921
  el.addEventListener("click", e => {
118920
118922
  const ce = new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { bubbles: true, detail: { target: el, } });
118921
118923
  //ce.target = e.target;
@@ -118760,7 +118760,8 @@ class NineGridContainer extends HTMLElement
118760
118760
  this.body = this.shadowRoot.querySelector(".ng-body");
118761
118761
 
118762
118762
 
118763
- this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
118763
+ //this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
118764
+ this.querySelectorAll("nx-buttons *").forEach(v => {v.grid = this;});
118764
118765
  $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("buttons"));
118765
118766
 
118766
118767
 
@@ -118911,7 +118912,8 @@ class NineGridContainer extends HTMLElement
118911
118912
 
118912
118913
  const head = this.shadowRoot.querySelector("ng-head");
118913
118914
  if (head) {
118914
- head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
118915
+ //head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
118916
+ head.shadowRoot.querySelectorAll("nx-buttons button").forEach(el => {
118915
118917
  el.addEventListener("click", e => {
118916
118918
  const ce = new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { bubbles: true, detail: { target: el, } });
118917
118919
  //ce.target = e.target;
@@ -649,7 +649,8 @@ export class NineGridContainer extends HTMLElement
649
649
  this.body = this.shadowRoot.querySelector(".ng-body");
650
650
 
651
651
 
652
- this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
652
+ //this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
653
+ this.querySelectorAll("nx-buttons *").forEach(v => {v.grid = this;});
653
654
  $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("buttons"));
654
655
 
655
656
 
@@ -803,7 +804,8 @@ export class NineGridContainer extends HTMLElement
803
804
 
804
805
  const head = this.shadowRoot.querySelector("ng-head");
805
806
  if (head) {
806
- head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
807
+ //head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
808
+ head.shadowRoot.querySelectorAll("nx-buttons button").forEach(el => {
807
809
  el.addEventListener("click", e => {
808
810
  const ce = new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { bubbles: true, detail: { target: el, } });
809
811
  //ce.target = e.target;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1241.0",
4
+ "version": "6.1242.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -649,7 +649,8 @@ export class NineGridContainer extends HTMLElement
649
649
  this.body = this.shadowRoot.querySelector(".ng-body");
650
650
 
651
651
 
652
- this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
652
+ //this.querySelectorAll("buttons *").forEach(v => {v.grid = this;});
653
+ this.querySelectorAll("nx-buttons *").forEach(v => {v.grid = this;});
653
654
  $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("buttons"));
654
655
 
655
656
 
@@ -803,7 +804,8 @@ export class NineGridContainer extends HTMLElement
803
804
 
804
805
  const head = this.shadowRoot.querySelector("ng-head");
805
806
  if (head) {
806
- head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
807
+ //head.shadowRoot.querySelectorAll("buttons button").forEach(el => {
808
+ head.shadowRoot.querySelectorAll("nx-buttons button").forEach(el => {
807
809
  el.addEventListener("click", e => {
808
810
  const ce = new CustomEvent(ninegrid.EVENT.BUTTON_CLICK, { bubbles: true, detail: { target: el, } });
809
811
  //ce.target = e.target;