@wishbone-media/spark 0.48.0 → 0.49.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/index.js +1 -1
- package/package.json +1 -1
- package/src/utils/sparkTable/header.js +1 -1
package/dist/index.js
CHANGED
|
@@ -7122,7 +7122,7 @@ const Rt = new wu(), Su = { class: "fixed inset-0 z-10 w-screen overflow-y-auto"
|
|
|
7122
7122
|
}, Mu = (e, t, n) => {
|
|
7123
7123
|
e.classList.add("spark-table-head"), n && n.columnSort && e.classList.add("can-sort"), n && n.columnFilter && e.classList.add("can-filter"), e.querySelector(".relative").classList.add("spark-table-head-title-wrapper");
|
|
7124
7124
|
const r = e.querySelector(".colHeader");
|
|
7125
|
-
r.classList.add("spark-table-head-title"), r.innerHTML = _u(t);
|
|
7125
|
+
r.classList.add("spark-table-head-title"), r.innerHTML = n?.title || _u(t);
|
|
7126
7126
|
}, Ou = (e, t, n) => {
|
|
7127
7127
|
if (typeof e != "number")
|
|
7128
7128
|
return e;
|
package/package.json
CHANGED
|
@@ -97,7 +97,7 @@ const initAppTableHeader = (th, prop, columnSettings) => {
|
|
|
97
97
|
|
|
98
98
|
const headTitle = th.querySelector('.colHeader')
|
|
99
99
|
headTitle.classList.add('spark-table-head-title')
|
|
100
|
-
headTitle.innerHTML = renderHeaderTitle(prop)
|
|
100
|
+
headTitle.innerHTML = columnSettings?.title || renderHeaderTitle(prop)
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
const customiseHeader = (col, th, sparkTable) => {
|