ninegrid2 6.402.0 → 6.405.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 +15 -7
- package/dist/bundle.esm.js +15 -7
- package/dist/etc/ngScrollBar.js +11 -7
- package/dist/etc/ngView.js +4 -0
- package/package.json +1 -1
- package/src/etc/ngScrollBar.js +11 -7
- package/src/etc/ngView.js +4 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -21244,15 +21244,19 @@ class ngVScrollBar extends HTMLElement
|
|
|
21244
21244
|
var thumbHeight = $(this.#elements.thumb).height();
|
|
21245
21245
|
|
|
21246
21246
|
// visible
|
|
21247
|
-
|
|
21248
|
-
|
|
21247
|
+
/**
|
|
21248
|
+
* tr.nodata 길이가 0이 아니라 1인 경우 발생
|
|
21249
|
+
*/
|
|
21250
|
+
/**
|
|
21249
21251
|
console.log(
|
|
21250
21252
|
"refresh",
|
|
21251
|
-
this.#owner,
|
|
21252
|
-
|
|
21253
|
-
|
|
21254
|
-
|
|
21255
|
-
|
|
21253
|
+
this.#owner.getAttribute("display-row-count"),
|
|
21254
|
+
); */
|
|
21255
|
+
|
|
21256
|
+
(parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
|
|
21257
|
+
|
|
21258
|
+
|
|
21259
|
+
|
|
21256
21260
|
|
|
21257
21261
|
|
|
21258
21262
|
// height
|
|
@@ -23453,6 +23457,9 @@ class ngView
|
|
|
23453
23457
|
|
|
23454
23458
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23455
23459
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23460
|
+
|
|
23461
|
+
|
|
23462
|
+
console.log("#resetTR3", this.#owner, h);
|
|
23456
23463
|
|
|
23457
23464
|
/**
|
|
23458
23465
|
this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
|
|
@@ -23558,6 +23565,7 @@ class ngView
|
|
|
23558
23565
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23559
23566
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23560
23567
|
|
|
23568
|
+
console.log("#refreshData", this.#owner, h);
|
|
23561
23569
|
//this.isLastPage = h > 0 ? true : false;
|
|
23562
23570
|
|
|
23563
23571
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -21242,15 +21242,19 @@ class ngVScrollBar extends HTMLElement
|
|
|
21242
21242
|
var thumbHeight = $(this.#elements.thumb).height();
|
|
21243
21243
|
|
|
21244
21244
|
// visible
|
|
21245
|
-
|
|
21246
|
-
|
|
21245
|
+
/**
|
|
21246
|
+
* tr.nodata 길이가 0이 아니라 1인 경우 발생
|
|
21247
|
+
*/
|
|
21248
|
+
/**
|
|
21247
21249
|
console.log(
|
|
21248
21250
|
"refresh",
|
|
21249
|
-
this.#owner,
|
|
21250
|
-
|
|
21251
|
-
|
|
21252
|
-
|
|
21253
|
-
|
|
21251
|
+
this.#owner.getAttribute("display-row-count"),
|
|
21252
|
+
); */
|
|
21253
|
+
|
|
21254
|
+
(parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
|
|
21255
|
+
|
|
21256
|
+
|
|
21257
|
+
|
|
21254
21258
|
|
|
21255
21259
|
|
|
21256
21260
|
// height
|
|
@@ -23451,6 +23455,9 @@ class ngView
|
|
|
23451
23455
|
|
|
23452
23456
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23453
23457
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23458
|
+
|
|
23459
|
+
|
|
23460
|
+
console.log("#resetTR3", this.#owner, h);
|
|
23454
23461
|
|
|
23455
23462
|
/**
|
|
23456
23463
|
this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
|
|
@@ -23556,6 +23563,7 @@ class ngView
|
|
|
23556
23563
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23557
23564
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23558
23565
|
|
|
23566
|
+
console.log("#refreshData", this.#owner, h);
|
|
23559
23567
|
//this.isLastPage = h > 0 ? true : false;
|
|
23560
23568
|
|
|
23561
23569
|
|
package/dist/etc/ngScrollBar.js
CHANGED
|
@@ -61,15 +61,19 @@ class ngVScrollBar extends HTMLElement
|
|
|
61
61
|
var thumbHeight = $(this.#elements.thumb).height();
|
|
62
62
|
|
|
63
63
|
// visible
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
/**
|
|
65
|
+
* tr.nodata 길이가 0이 아니라 1인 경우 발생
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
66
68
|
console.log(
|
|
67
69
|
"refresh",
|
|
68
|
-
this.#owner,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
this.#owner.getAttribute("display-row-count"),
|
|
71
|
+
); */
|
|
72
|
+
|
|
73
|
+
(parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
73
77
|
|
|
74
78
|
|
|
75
79
|
// height
|
package/dist/etc/ngView.js
CHANGED
|
@@ -255,6 +255,9 @@ export class ngView
|
|
|
255
255
|
|
|
256
256
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
257
257
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
console.log("#resetTR3", this.#owner, h);
|
|
258
261
|
|
|
259
262
|
/**
|
|
260
263
|
this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
|
|
@@ -363,6 +366,7 @@ export class ngView
|
|
|
363
366
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
364
367
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
365
368
|
|
|
369
|
+
console.log("#refreshData", this.#owner, h);
|
|
366
370
|
//this.isLastPage = h > 0 ? true : false;
|
|
367
371
|
|
|
368
372
|
|
package/package.json
CHANGED
package/src/etc/ngScrollBar.js
CHANGED
|
@@ -61,15 +61,19 @@ class ngVScrollBar extends HTMLElement
|
|
|
61
61
|
var thumbHeight = $(this.#elements.thumb).height();
|
|
62
62
|
|
|
63
63
|
// visible
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
/**
|
|
65
|
+
* tr.nodata 길이가 0이 아니라 1인 경우 발생
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
66
68
|
console.log(
|
|
67
69
|
"refresh",
|
|
68
|
-
this.#owner,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
this.#owner.getAttribute("display-row-count"),
|
|
71
|
+
); */
|
|
72
|
+
|
|
73
|
+
(parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
73
77
|
|
|
74
78
|
|
|
75
79
|
// height
|
package/src/etc/ngView.js
CHANGED
|
@@ -255,6 +255,9 @@ export class ngView
|
|
|
255
255
|
|
|
256
256
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
257
257
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
console.log("#resetTR3", this.#owner, h);
|
|
258
261
|
|
|
259
262
|
/**
|
|
260
263
|
this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
|
|
@@ -363,6 +366,7 @@ export class ngView
|
|
|
363
366
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
364
367
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
365
368
|
|
|
369
|
+
console.log("#refreshData", this.#owner, h);
|
|
366
370
|
//this.isLastPage = h > 0 ? true : false;
|
|
367
371
|
|
|
368
372
|
|