ninegrid2 6.429.0 → 6.431.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 -3
- package/dist/bundle.esm.js +7 -3
- package/dist/etc/ngColumns.js +7 -3
- package/package.json +1 -1
- package/src/etc/ngColumns.js +7 -3
package/dist/bundle.cjs.js
CHANGED
|
@@ -14866,11 +14866,15 @@ class ngColumns
|
|
|
14866
14866
|
}
|
|
14867
14867
|
|
|
14868
14868
|
#element2Info = (el) => {
|
|
14869
|
-
|
|
14869
|
+
if (!el) return null;
|
|
14870
|
+
|
|
14871
|
+
const ths = this.#owner.body.querySelectorAll(`thead [data-col="${el.dataset.col}"]`);
|
|
14872
|
+
|
|
14873
|
+
return {
|
|
14870
14874
|
"name": el.dataset.bind,
|
|
14871
14875
|
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
14872
|
-
"desc":
|
|
14873
|
-
}
|
|
14876
|
+
"desc": ths.length > 0 ? ths[ths.length - 1].getAttribute("title") : null,
|
|
14877
|
+
};
|
|
14874
14878
|
};
|
|
14875
14879
|
|
|
14876
14880
|
info = (v) => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -14864,11 +14864,15 @@ class ngColumns
|
|
|
14864
14864
|
}
|
|
14865
14865
|
|
|
14866
14866
|
#element2Info = (el) => {
|
|
14867
|
-
|
|
14867
|
+
if (!el) return null;
|
|
14868
|
+
|
|
14869
|
+
const ths = this.#owner.body.querySelectorAll(`thead [data-col="${el.dataset.col}"]`);
|
|
14870
|
+
|
|
14871
|
+
return {
|
|
14868
14872
|
"name": el.dataset.bind,
|
|
14869
14873
|
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
14870
|
-
"desc":
|
|
14871
|
-
}
|
|
14874
|
+
"desc": ths.length > 0 ? ths[ths.length - 1].getAttribute("title") : null,
|
|
14875
|
+
};
|
|
14872
14876
|
};
|
|
14873
14877
|
|
|
14874
14878
|
info = (v) => {
|
package/dist/etc/ngColumns.js
CHANGED
|
@@ -13,11 +13,15 @@ export class ngColumns
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
#element2Info = (el) => {
|
|
16
|
-
|
|
16
|
+
if (!el) return null;
|
|
17
|
+
|
|
18
|
+
const ths = this.#owner.body.querySelectorAll(`thead [data-col="${el.dataset.col}"]`);
|
|
19
|
+
|
|
20
|
+
return {
|
|
17
21
|
"name": el.dataset.bind,
|
|
18
22
|
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
19
|
-
"desc":
|
|
20
|
-
}
|
|
23
|
+
"desc": ths.length > 0 ? ths[ths.length - 1].getAttribute("title") : null,
|
|
24
|
+
};
|
|
21
25
|
};
|
|
22
26
|
|
|
23
27
|
info = (v) => {
|
package/package.json
CHANGED
package/src/etc/ngColumns.js
CHANGED
|
@@ -13,11 +13,15 @@ export class ngColumns
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
#element2Info = (el) => {
|
|
16
|
-
|
|
16
|
+
if (!el) return null;
|
|
17
|
+
|
|
18
|
+
const ths = this.#owner.body.querySelectorAll(`thead [data-col="${el.dataset.col}"]`);
|
|
19
|
+
|
|
20
|
+
return {
|
|
17
21
|
"name": el.dataset.bind,
|
|
18
22
|
"type": (el.dataset.type || "string").toLocaleLowerCase(),
|
|
19
|
-
"desc":
|
|
20
|
-
}
|
|
23
|
+
"desc": ths.length > 0 ? ths[ths.length - 1].getAttribute("title") : null,
|
|
24
|
+
};
|
|
21
25
|
};
|
|
22
26
|
|
|
23
27
|
info = (v) => {
|