@omniaz/vue-component-library 0.2.6 → 0.2.7
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.
|
@@ -59884,7 +59884,7 @@ const gAe = ["innerHTML"], yAe = { class: "flex flex-wrap md:flex-nowrap items-s
|
|
|
59884
59884
|
r.ajaxUrl && (f.value = 0, _());
|
|
59885
59885
|
}, 500), D = (pe) => {
|
|
59886
59886
|
var ne;
|
|
59887
|
-
pe.ordering && (d.value = pe.field, h.value = pe.orderByScope ?? null, p.value = p.value === "asc" ? "desc" : "asc", r.ajaxUrl && !((ne = r.options) != null && ne.frontendPagination) && _());
|
|
59887
|
+
pe.ordering && (d.value = pe.field, h.value = pe.orderByScope ?? null, p.value = p.value === "asc" ? "desc" : "asc", r.ajaxUrl && !((ne = r.options) != null && ne.frontendPagination) && _()), pe.orderingCallBack && pe.orderingCallBack();
|
|
59888
59888
|
}, Y = () => {
|
|
59889
59889
|
var pe;
|
|
59890
59890
|
localStorage.setItem(`${r.ajaxUrl}_perPage`, String(c.value)), (pe = r.options) != null && pe.frontendPagination || _();
|
|
@@ -59967,7 +59967,7 @@ const gAe = ["innerHTML"], yAe = { class: "flex flex-wrap md:flex-nowrap items-s
|
|
|
59967
59967
|
}, [
|
|
59968
59968
|
ct(pe.$slots, "header", { column: Re }, () => [
|
|
59969
59969
|
Be("span", {
|
|
59970
|
-
class: it({ "cursor-pointer": Re == null ? void 0 : Re.ordering }),
|
|
59970
|
+
class: it({ "cursor-pointer": (Re == null ? void 0 : Re.ordering) || (Re == null ? void 0 : Re.orderingCallBack) }),
|
|
59971
59971
|
onClick: (K) => D(Re)
|
|
59972
59972
|
}, [
|
|
59973
59973
|
fi(Wt(Re.header) + " ", 1),
|