ninegrid2 6.1199.0 → 6.1201.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 +7 -10
- package/dist/bundle.esm.js +7 -10
- package/dist/etc/_ngCell.js +7 -4
- package/dist/nx/nxLayout2.js +0 -6
- package/package.json +1 -1
- package/src/etc/_ngCell.js +7 -4
- package/src/nx/nxLayout2.js +0 -6
package/dist/bundle.cjs.js
CHANGED
|
@@ -12299,14 +12299,17 @@ 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
|
-
|
|
12302
|
+
//this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12303
|
+
ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12304
|
+
|
|
12305
|
+
console.log(button);
|
|
12306
|
+
|
|
12304
12307
|
$(button).on("click", e => {
|
|
12305
12308
|
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12306
12309
|
console.log(fn);
|
|
12307
12310
|
if (fn) {
|
|
12308
12311
|
fn = fn.replace("()","");
|
|
12309
|
-
|
|
12312
|
+
|
|
12310
12313
|
if (this.owner[fn]) {
|
|
12311
12314
|
this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
|
|
12312
12315
|
}
|
|
@@ -12314,7 +12317,7 @@ class ngCellEx extends HTMLElement
|
|
|
12314
12317
|
this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
|
|
12315
12318
|
}
|
|
12316
12319
|
}
|
|
12317
|
-
|
|
12320
|
+
|
|
12318
12321
|
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
12322
|
//var row = parseInt(this.cell.dataset.row);
|
|
12320
12323
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
|
@@ -122152,8 +122155,6 @@ class NxLayout2 extends HTMLElement {
|
|
|
122152
122155
|
|
|
122153
122156
|
const allLabels = [];
|
|
122154
122157
|
|
|
122155
|
-
console.log(this.querySelectorAll(".row"));
|
|
122156
|
-
|
|
122157
122158
|
this.querySelectorAll(".row").forEach((el) => {
|
|
122158
122159
|
const labelsInRow = el.querySelectorAll(".label");
|
|
122159
122160
|
labelsInRow.forEach((label, index) => {
|
|
@@ -122164,12 +122165,8 @@ class NxLayout2 extends HTMLElement {
|
|
|
122164
122165
|
});
|
|
122165
122166
|
});
|
|
122166
122167
|
|
|
122167
|
-
|
|
122168
|
-
|
|
122169
122168
|
allLabels.forEach((labelGroup) => {
|
|
122170
122169
|
|
|
122171
|
-
console.log("::::::::", labelGroup);
|
|
122172
|
-
|
|
122173
122170
|
if (labelGroup && labelGroup.length > 0) {
|
|
122174
122171
|
const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
|
|
122175
122172
|
const maxWidth = Math.max(...renderedWidths);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -12295,14 +12295,17 @@ class ngCellEx extends HTMLElement
|
|
|
12295
12295
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
|
12296
12296
|
});
|
|
12297
12297
|
} */
|
|
12298
|
-
|
|
12299
|
-
|
|
12298
|
+
//this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12299
|
+
ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
12300
|
+
|
|
12301
|
+
console.log(button);
|
|
12302
|
+
|
|
12300
12303
|
$(button).on("click", e => {
|
|
12301
12304
|
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
12302
12305
|
console.log(fn);
|
|
12303
12306
|
if (fn) {
|
|
12304
12307
|
fn = fn.replace("()","");
|
|
12305
|
-
|
|
12308
|
+
|
|
12306
12309
|
if (this.owner[fn]) {
|
|
12307
12310
|
this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
|
|
12308
12311
|
}
|
|
@@ -12310,7 +12313,7 @@ class ngCellEx extends HTMLElement
|
|
|
12310
12313
|
this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
|
|
12311
12314
|
}
|
|
12312
12315
|
}
|
|
12313
|
-
|
|
12316
|
+
|
|
12314
12317
|
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 }));
|
|
12315
12318
|
//var row = parseInt(this.cell.dataset.row);
|
|
12316
12319
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
|
@@ -122148,8 +122151,6 @@ class NxLayout2 extends HTMLElement {
|
|
|
122148
122151
|
|
|
122149
122152
|
const allLabels = [];
|
|
122150
122153
|
|
|
122151
|
-
console.log(this.querySelectorAll(".row"));
|
|
122152
|
-
|
|
122153
122154
|
this.querySelectorAll(".row").forEach((el) => {
|
|
122154
122155
|
const labelsInRow = el.querySelectorAll(".label");
|
|
122155
122156
|
labelsInRow.forEach((label, index) => {
|
|
@@ -122160,12 +122161,8 @@ class NxLayout2 extends HTMLElement {
|
|
|
122160
122161
|
});
|
|
122161
122162
|
});
|
|
122162
122163
|
|
|
122163
|
-
|
|
122164
|
-
|
|
122165
122164
|
allLabels.forEach((labelGroup) => {
|
|
122166
122165
|
|
|
122167
|
-
console.log("::::::::", labelGroup);
|
|
122168
|
-
|
|
122169
122166
|
if (labelGroup && labelGroup.length > 0) {
|
|
122170
122167
|
const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
|
|
122171
122168
|
const maxWidth = Math.max(...renderedWidths);
|
package/dist/etc/_ngCell.js
CHANGED
|
@@ -182,14 +182,17 @@ export class ngCellEx extends HTMLElement
|
|
|
182
182
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
|
183
183
|
});
|
|
184
184
|
} */
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
//this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
186
|
+
ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
187
|
+
|
|
188
|
+
console.log(button);
|
|
189
|
+
|
|
187
190
|
$(button).on("click", e => {
|
|
188
191
|
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
189
192
|
console.log(fn);
|
|
190
193
|
if (fn) {
|
|
191
194
|
fn = fn.replace("()","");
|
|
192
|
-
|
|
195
|
+
|
|
193
196
|
if (this.owner[fn]) {
|
|
194
197
|
this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
|
|
195
198
|
}
|
|
@@ -197,7 +200,7 @@ export class ngCellEx extends HTMLElement
|
|
|
197
200
|
this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
|
|
198
201
|
}
|
|
199
202
|
}
|
|
200
|
-
|
|
203
|
+
|
|
201
204
|
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 }));
|
|
202
205
|
//var row = parseInt(this.cell.dataset.row);
|
|
203
206
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
package/dist/nx/nxLayout2.js
CHANGED
|
@@ -93,8 +93,6 @@ class NxLayout2 extends HTMLElement {
|
|
|
93
93
|
|
|
94
94
|
const allLabels = [];
|
|
95
95
|
|
|
96
|
-
console.log(this.querySelectorAll(".row"));
|
|
97
|
-
|
|
98
96
|
this.querySelectorAll(".row").forEach((el) => {
|
|
99
97
|
const labelsInRow = el.querySelectorAll(".label");
|
|
100
98
|
labelsInRow.forEach((label, index) => {
|
|
@@ -105,12 +103,8 @@ class NxLayout2 extends HTMLElement {
|
|
|
105
103
|
});
|
|
106
104
|
});
|
|
107
105
|
|
|
108
|
-
|
|
109
|
-
|
|
110
106
|
allLabels.forEach((labelGroup) => {
|
|
111
107
|
|
|
112
|
-
console.log("::::::::", labelGroup);
|
|
113
|
-
|
|
114
108
|
if (labelGroup && labelGroup.length > 0) {
|
|
115
109
|
const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
|
|
116
110
|
const maxWidth = Math.max(...renderedWidths);
|
package/package.json
CHANGED
package/src/etc/_ngCell.js
CHANGED
|
@@ -182,14 +182,17 @@ export class ngCellEx extends HTMLElement
|
|
|
182
182
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
|
183
183
|
});
|
|
184
184
|
} */
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
//this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
186
|
+
ninegrid.querySelectorAll("button,ng-expand-button").forEach(button => {
|
|
187
|
+
|
|
188
|
+
console.log(button);
|
|
189
|
+
|
|
187
190
|
$(button).on("click", e => {
|
|
188
191
|
let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
|
|
189
192
|
console.log(fn);
|
|
190
193
|
if (fn) {
|
|
191
194
|
fn = fn.replace("()","");
|
|
192
|
-
|
|
195
|
+
|
|
193
196
|
if (this.owner[fn]) {
|
|
194
197
|
this.owner[fn].call(this.owner, this.cell.closest("tr").data, parseInt(this.cell.dataset.row), this.cell);
|
|
195
198
|
}
|
|
@@ -197,7 +200,7 @@ export class ngCellEx extends HTMLElement
|
|
|
197
200
|
this.owner.exprFunction(fn).call(this, this.cell.closest("tr").data, parseInt(this.cell.dataset.row));
|
|
198
201
|
}
|
|
199
202
|
}
|
|
200
|
-
|
|
203
|
+
|
|
201
204
|
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 }));
|
|
202
205
|
//var row = parseInt(this.cell.dataset.row);
|
|
203
206
|
//this.owner.exprFunction(this.cell.getAttribute("onButtonClick") || this.getAttribute("onButtonClick")).call(this, this.cell.closest("tr").data, row);
|
package/src/nx/nxLayout2.js
CHANGED
|
@@ -93,8 +93,6 @@ class NxLayout2 extends HTMLElement {
|
|
|
93
93
|
|
|
94
94
|
const allLabels = [];
|
|
95
95
|
|
|
96
|
-
console.log(this.querySelectorAll(".row"));
|
|
97
|
-
|
|
98
96
|
this.querySelectorAll(".row").forEach((el) => {
|
|
99
97
|
const labelsInRow = el.querySelectorAll(".label");
|
|
100
98
|
labelsInRow.forEach((label, index) => {
|
|
@@ -105,12 +103,8 @@ class NxLayout2 extends HTMLElement {
|
|
|
105
103
|
});
|
|
106
104
|
});
|
|
107
105
|
|
|
108
|
-
|
|
109
|
-
|
|
110
106
|
allLabels.forEach((labelGroup) => {
|
|
111
107
|
|
|
112
|
-
console.log("::::::::", labelGroup);
|
|
113
|
-
|
|
114
108
|
if (labelGroup && labelGroup.length > 0) {
|
|
115
109
|
const renderedWidths = labelGroup.map(label => getRenderedWidthWithClone(label));
|
|
116
110
|
const maxWidth = Math.max(...renderedWidths);
|