ninegrid2 6.425.0 → 6.427.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 +22 -0
- package/dist/bundle.esm.js +22 -0
- package/dist/etc/ngColumns.js +19 -0
- package/dist/etc/ninegridContainer.js +3 -0
- package/package.json +1 -1
- package/src/etc/ngColumns.js +19 -0
- package/src/etc/ninegridContainer.js +3 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -14861,6 +14861,25 @@ class ngColumns
|
|
|
14861
14861
|
this.#owner = owner;
|
|
14862
14862
|
}
|
|
14863
14863
|
|
|
14864
|
+
count = () => {
|
|
14865
|
+
return this.#owner.activeTmpl.querySelectorAll("[data-bind]").length;
|
|
14866
|
+
}
|
|
14867
|
+
|
|
14868
|
+
#element2Info = (el) => {
|
|
14869
|
+
return el ? {
|
|
14870
|
+
"name": el.dataset.bind,
|
|
14871
|
+
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
14872
|
+
} : null;
|
|
14873
|
+
};
|
|
14874
|
+
|
|
14875
|
+
info = (v) => {
|
|
14876
|
+
return this.#element2Info(this.#owner.activeTmpl.querySelector(`[data-bind="${v}"]`));
|
|
14877
|
+
}
|
|
14878
|
+
|
|
14879
|
+
infos = () => {
|
|
14880
|
+
return Array.from(this.#owner.activeTmpl.querySelectorAll("[data-bind]")).map(el => this.#element2Info(el));
|
|
14881
|
+
}
|
|
14882
|
+
|
|
14864
14883
|
|
|
14865
14884
|
#getCol = (tbl, col) => {
|
|
14866
14885
|
|
|
@@ -24742,6 +24761,9 @@ class ninegridContainer extends HTMLElement
|
|
|
24742
24761
|
if (el.dataset && el.dataset.expr) {
|
|
24743
24762
|
el.innerHTML = "<ng-renderer>";
|
|
24744
24763
|
}
|
|
24764
|
+
|
|
24765
|
+
console.log(el.getAttribute("title"));
|
|
24766
|
+
if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
|
|
24745
24767
|
});
|
|
24746
24768
|
|
|
24747
24769
|
/**
|
package/dist/bundle.esm.js
CHANGED
|
@@ -14859,6 +14859,25 @@ class ngColumns
|
|
|
14859
14859
|
this.#owner = owner;
|
|
14860
14860
|
}
|
|
14861
14861
|
|
|
14862
|
+
count = () => {
|
|
14863
|
+
return this.#owner.activeTmpl.querySelectorAll("[data-bind]").length;
|
|
14864
|
+
}
|
|
14865
|
+
|
|
14866
|
+
#element2Info = (el) => {
|
|
14867
|
+
return el ? {
|
|
14868
|
+
"name": el.dataset.bind,
|
|
14869
|
+
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
14870
|
+
} : null;
|
|
14871
|
+
};
|
|
14872
|
+
|
|
14873
|
+
info = (v) => {
|
|
14874
|
+
return this.#element2Info(this.#owner.activeTmpl.querySelector(`[data-bind="${v}"]`));
|
|
14875
|
+
}
|
|
14876
|
+
|
|
14877
|
+
infos = () => {
|
|
14878
|
+
return Array.from(this.#owner.activeTmpl.querySelectorAll("[data-bind]")).map(el => this.#element2Info(el));
|
|
14879
|
+
}
|
|
14880
|
+
|
|
14862
14881
|
|
|
14863
14882
|
#getCol = (tbl, col) => {
|
|
14864
14883
|
|
|
@@ -24740,6 +24759,9 @@ class ninegridContainer extends HTMLElement
|
|
|
24740
24759
|
if (el.dataset && el.dataset.expr) {
|
|
24741
24760
|
el.innerHTML = "<ng-renderer>";
|
|
24742
24761
|
}
|
|
24762
|
+
|
|
24763
|
+
console.log(el.getAttribute("title"));
|
|
24764
|
+
if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
|
|
24743
24765
|
});
|
|
24744
24766
|
|
|
24745
24767
|
/**
|
package/dist/etc/ngColumns.js
CHANGED
|
@@ -8,6 +8,25 @@ export class ngColumns
|
|
|
8
8
|
this.#owner = owner;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
count = () => {
|
|
12
|
+
return this.#owner.activeTmpl.querySelectorAll("[data-bind]").length;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
#element2Info = (el) => {
|
|
16
|
+
return el ? {
|
|
17
|
+
"name": el.dataset.bind,
|
|
18
|
+
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
19
|
+
} : null;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
info = (v) => {
|
|
23
|
+
return this.#element2Info(this.#owner.activeTmpl.querySelector(`[data-bind="${v}"]`));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
infos = () => {
|
|
27
|
+
return Array.from(this.#owner.activeTmpl.querySelectorAll("[data-bind]")).map(el => this.#element2Info(el));
|
|
28
|
+
}
|
|
29
|
+
|
|
11
30
|
|
|
12
31
|
#getCol = (tbl, col) => {
|
|
13
32
|
|
|
@@ -545,6 +545,9 @@ class ninegridContainer extends HTMLElement
|
|
|
545
545
|
if (el.dataset && el.dataset.expr) {
|
|
546
546
|
el.innerHTML = "<ng-renderer>";
|
|
547
547
|
}
|
|
548
|
+
|
|
549
|
+
console.log(el.getAttribute("title"));
|
|
550
|
+
if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
|
|
548
551
|
});
|
|
549
552
|
|
|
550
553
|
/**
|
package/package.json
CHANGED
package/src/etc/ngColumns.js
CHANGED
|
@@ -8,6 +8,25 @@ export class ngColumns
|
|
|
8
8
|
this.#owner = owner;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
count = () => {
|
|
12
|
+
return this.#owner.activeTmpl.querySelectorAll("[data-bind]").length;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
#element2Info = (el) => {
|
|
16
|
+
return el ? {
|
|
17
|
+
"name": el.dataset.bind,
|
|
18
|
+
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
19
|
+
} : null;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
info = (v) => {
|
|
23
|
+
return this.#element2Info(this.#owner.activeTmpl.querySelector(`[data-bind="${v}"]`));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
infos = () => {
|
|
27
|
+
return Array.from(this.#owner.activeTmpl.querySelectorAll("[data-bind]")).map(el => this.#element2Info(el));
|
|
28
|
+
}
|
|
29
|
+
|
|
11
30
|
|
|
12
31
|
#getCol = (tbl, col) => {
|
|
13
32
|
|
|
@@ -545,6 +545,9 @@ class ninegridContainer extends HTMLElement
|
|
|
545
545
|
if (el.dataset && el.dataset.expr) {
|
|
546
546
|
el.innerHTML = "<ng-renderer>";
|
|
547
547
|
}
|
|
548
|
+
|
|
549
|
+
console.log(el.getAttribute("title"));
|
|
550
|
+
if (!el.getAttribute("title")) el.setAttribute("title", el.innerHTML);
|
|
548
551
|
});
|
|
549
552
|
|
|
550
553
|
/**
|