ninegrid2 6.1444.0 → 6.1446.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.
- package/dist/bundle.cjs.js +3 -4
- package/dist/bundle.esm.js +3 -4
- package/dist/etc/_ngCell.js +3 -4
- package/package.json +1 -1
- package/src/etc/_ngCell.js +3 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -12263,11 +12263,10 @@ class ngCellEx extends HTMLElement
|
|
|
12263
12263
|
this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12264
12264
|
|
|
12265
12265
|
$(button).on("click", e => {
|
|
12266
|
-
console.log(this);
|
|
12267
|
-
console.log(button);
|
|
12268
|
-
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12269
12266
|
|
|
12270
|
-
|
|
12267
|
+
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12268
|
+
|
|
12269
|
+
if (fn && this.owner) {
|
|
12271
12270
|
|
|
12272
12271
|
fn = fn.replace("()","");
|
|
12273
12272
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -12259,11 +12259,10 @@ class ngCellEx extends HTMLElement
|
|
|
12259
12259
|
this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12260
12260
|
|
|
12261
12261
|
$(button).on("click", e => {
|
|
12262
|
-
console.log(this);
|
|
12263
|
-
console.log(button);
|
|
12264
|
-
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12265
12262
|
|
|
12266
|
-
|
|
12263
|
+
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12264
|
+
|
|
12265
|
+
if (fn && this.owner) {
|
|
12267
12266
|
|
|
12268
12267
|
fn = fn.replace("()","");
|
|
12269
12268
|
|
package/dist/etc/_ngCell.js
CHANGED
|
@@ -186,11 +186,10 @@ export class ngCellEx extends HTMLElement
|
|
|
186
186
|
this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
187
187
|
|
|
188
188
|
$(button).on("click", e => {
|
|
189
|
-
console.log(this);
|
|
190
|
-
console.log(button);
|
|
191
|
-
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
192
189
|
|
|
193
|
-
|
|
190
|
+
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
191
|
+
|
|
192
|
+
if (fn && this.owner) {
|
|
194
193
|
|
|
195
194
|
fn = fn.replace("()","");
|
|
196
195
|
|
package/package.json
CHANGED
package/src/etc/_ngCell.js
CHANGED
|
@@ -186,11 +186,10 @@ export class ngCellEx extends HTMLElement
|
|
|
186
186
|
this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
187
187
|
|
|
188
188
|
$(button).on("click", e => {
|
|
189
|
-
console.log(this);
|
|
190
|
-
console.log(button);
|
|
191
|
-
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
192
189
|
|
|
193
|
-
|
|
190
|
+
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
191
|
+
|
|
192
|
+
if (fn && this.owner) {
|
|
194
193
|
|
|
195
194
|
fn = fn.replace("()","");
|
|
196
195
|
|