ninegrid2 6.1219.0 → 6.1221.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 +4 -6
- package/dist/bundle.esm.js +4 -6
- package/dist/etc/ngData.js +0 -6
- package/dist/etc/ngView.js +4 -0
- package/package.json +1 -1
- package/src/etc/ngData.js +0 -6
- package/src/etc/ngView.js +4 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -17135,8 +17135,6 @@ class ngData
|
|
|
17135
17135
|
|
|
17136
17136
|
const arr = this.#json2Array(dataSource);
|
|
17137
17137
|
|
|
17138
|
-
console.log(arr);
|
|
17139
|
-
|
|
17140
17138
|
this.#parent.rawRecords = this.#parent.rawRecords.concat(this.#defaultInsert(arr));
|
|
17141
17139
|
|
|
17142
17140
|
const arr2 = this.#parent.rawRecords.map(m => { return m.__ng._[ninegrid.ROW.ORIGIN_ORDER]; });
|
|
@@ -17154,15 +17152,11 @@ class ngData
|
|
|
17154
17152
|
|
|
17155
17153
|
this.resetRecords();
|
|
17156
17154
|
|
|
17157
|
-
console.log(this.#parent.rawRecords);
|
|
17158
|
-
|
|
17159
17155
|
const row = this.count() - 1;
|
|
17160
17156
|
if (!updateState) this.changeRowState(ninegrid.ROW_STATE.EMPTY, row - arr.length + 1, row);
|
|
17161
17157
|
//this.#parent.owner.refresh();
|
|
17162
17158
|
this.#parent.viewRecords.reset();
|
|
17163
17159
|
|
|
17164
|
-
console.log(row);
|
|
17165
|
-
|
|
17166
17160
|
return row;
|
|
17167
17161
|
}
|
|
17168
17162
|
|
|
@@ -117524,12 +117518,16 @@ class ngView
|
|
|
117524
117518
|
|
|
117525
117519
|
#r = () => {
|
|
117526
117520
|
|
|
117521
|
+
console.log("===============================");
|
|
117522
|
+
|
|
117527
117523
|
var rows = [];
|
|
117528
117524
|
this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
117529
117525
|
rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
|
|
117530
117526
|
});
|
|
117531
117527
|
|
|
117532
117528
|
rows = [...new Set(rows)];
|
|
117529
|
+
|
|
117530
|
+
console.log(rows);
|
|
117533
117531
|
|
|
117534
117532
|
this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
117535
117533
|
const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -17131,8 +17131,6 @@ class ngData
|
|
|
17131
17131
|
|
|
17132
17132
|
const arr = this.#json2Array(dataSource);
|
|
17133
17133
|
|
|
17134
|
-
console.log(arr);
|
|
17135
|
-
|
|
17136
17134
|
this.#parent.rawRecords = this.#parent.rawRecords.concat(this.#defaultInsert(arr));
|
|
17137
17135
|
|
|
17138
17136
|
const arr2 = this.#parent.rawRecords.map(m => { return m.__ng._[ninegrid.ROW.ORIGIN_ORDER]; });
|
|
@@ -17150,15 +17148,11 @@ class ngData
|
|
|
17150
17148
|
|
|
17151
17149
|
this.resetRecords();
|
|
17152
17150
|
|
|
17153
|
-
console.log(this.#parent.rawRecords);
|
|
17154
|
-
|
|
17155
17151
|
const row = this.count() - 1;
|
|
17156
17152
|
if (!updateState) this.changeRowState(ninegrid.ROW_STATE.EMPTY, row - arr.length + 1, row);
|
|
17157
17153
|
//this.#parent.owner.refresh();
|
|
17158
17154
|
this.#parent.viewRecords.reset();
|
|
17159
17155
|
|
|
17160
|
-
console.log(row);
|
|
17161
|
-
|
|
17162
17156
|
return row;
|
|
17163
17157
|
}
|
|
17164
17158
|
|
|
@@ -117520,12 +117514,16 @@ class ngView
|
|
|
117520
117514
|
|
|
117521
117515
|
#r = () => {
|
|
117522
117516
|
|
|
117517
|
+
console.log("===============================");
|
|
117518
|
+
|
|
117523
117519
|
var rows = [];
|
|
117524
117520
|
this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
117525
117521
|
rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
|
|
117526
117522
|
});
|
|
117527
117523
|
|
|
117528
117524
|
rows = [...new Set(rows)];
|
|
117525
|
+
|
|
117526
|
+
console.log(rows);
|
|
117529
117527
|
|
|
117530
117528
|
this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
117531
117529
|
const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
|
package/dist/etc/ngData.js
CHANGED
|
@@ -698,8 +698,6 @@ export class ngData
|
|
|
698
698
|
|
|
699
699
|
const arr = this.#json2Array(dataSource);
|
|
700
700
|
|
|
701
|
-
console.log(arr);
|
|
702
|
-
|
|
703
701
|
this.#parent.rawRecords = this.#parent.rawRecords.concat(this.#defaultInsert(arr));
|
|
704
702
|
|
|
705
703
|
const arr2 = this.#parent.rawRecords.map(m => { return m.__ng._[ninegrid.ROW.ORIGIN_ORDER]; });
|
|
@@ -717,15 +715,11 @@ export class ngData
|
|
|
717
715
|
|
|
718
716
|
this.resetRecords();
|
|
719
717
|
|
|
720
|
-
console.log(this.#parent.rawRecords);
|
|
721
|
-
|
|
722
718
|
const row = this.count() - 1;
|
|
723
719
|
if (!updateState) this.changeRowState(ninegrid.ROW_STATE.EMPTY, row - arr.length + 1, row);
|
|
724
720
|
//this.#parent.owner.refresh();
|
|
725
721
|
this.#parent.viewRecords.reset();
|
|
726
722
|
|
|
727
|
-
console.log(row);
|
|
728
|
-
|
|
729
723
|
return row;
|
|
730
724
|
}
|
|
731
725
|
|
package/dist/etc/ngView.js
CHANGED
|
@@ -424,12 +424,16 @@ export class ngView
|
|
|
424
424
|
|
|
425
425
|
#r = () => {
|
|
426
426
|
|
|
427
|
+
console.log("===============================");
|
|
428
|
+
|
|
427
429
|
var rows = [];
|
|
428
430
|
this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
429
431
|
rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
|
|
430
432
|
});
|
|
431
433
|
|
|
432
434
|
rows = [...new Set(rows)];
|
|
435
|
+
|
|
436
|
+
console.log(rows);
|
|
433
437
|
|
|
434
438
|
this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
435
439
|
const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
|
package/package.json
CHANGED
package/src/etc/ngData.js
CHANGED
|
@@ -698,8 +698,6 @@ export class ngData
|
|
|
698
698
|
|
|
699
699
|
const arr = this.#json2Array(dataSource);
|
|
700
700
|
|
|
701
|
-
console.log(arr);
|
|
702
|
-
|
|
703
701
|
this.#parent.rawRecords = this.#parent.rawRecords.concat(this.#defaultInsert(arr));
|
|
704
702
|
|
|
705
703
|
const arr2 = this.#parent.rawRecords.map(m => { return m.__ng._[ninegrid.ROW.ORIGIN_ORDER]; });
|
|
@@ -717,15 +715,11 @@ export class ngData
|
|
|
717
715
|
|
|
718
716
|
this.resetRecords();
|
|
719
717
|
|
|
720
|
-
console.log(this.#parent.rawRecords);
|
|
721
|
-
|
|
722
718
|
const row = this.count() - 1;
|
|
723
719
|
if (!updateState) this.changeRowState(ninegrid.ROW_STATE.EMPTY, row - arr.length + 1, row);
|
|
724
720
|
//this.#parent.owner.refresh();
|
|
725
721
|
this.#parent.viewRecords.reset();
|
|
726
722
|
|
|
727
|
-
console.log(row);
|
|
728
|
-
|
|
729
723
|
return row;
|
|
730
724
|
}
|
|
731
725
|
|
package/src/etc/ngView.js
CHANGED
|
@@ -424,12 +424,16 @@ export class ngView
|
|
|
424
424
|
|
|
425
425
|
#r = () => {
|
|
426
426
|
|
|
427
|
+
console.log("===============================");
|
|
428
|
+
|
|
427
429
|
var rows = [];
|
|
428
430
|
this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
429
431
|
rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
|
|
430
432
|
});
|
|
431
433
|
|
|
432
434
|
rows = [...new Set(rows)];
|
|
435
|
+
|
|
436
|
+
console.log(rows);
|
|
433
437
|
|
|
434
438
|
this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
|
|
435
439
|
const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
|