readytech-ui-library-v2 1.0.169 → 1.0.171
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.
@@ -21830,6 +21830,7 @@ const jie = J({
|
|
21830
21830
|
},
|
21831
21831
|
data() {
|
21832
21832
|
return {
|
21833
|
+
currentPage: 1,
|
21833
21834
|
liveAnnouncement: "",
|
21834
21835
|
search: "",
|
21835
21836
|
selected: []
|
@@ -21862,8 +21863,32 @@ const jie = J({
|
|
21862
21863
|
}
|
21863
21864
|
},
|
21864
21865
|
watch: {
|
21866
|
+
currentPage(e) {
|
21867
|
+
this.liveAnnouncement = `Page ${e} selected. Showing ${this.filteredItems.length} items.`;
|
21868
|
+
},
|
21865
21869
|
selected(e) {
|
21866
21870
|
this.$emit("update:selected", e);
|
21871
|
+
},
|
21872
|
+
search(e) {
|
21873
|
+
this.liveAnnouncement = `Search updated. ${this.filteredItems.length} result${this.filteredItems.length !== 1 ? "s" : ""} found.`;
|
21874
|
+
},
|
21875
|
+
sortBy: {
|
21876
|
+
handler(e) {
|
21877
|
+
const t = Array.isArray(e) ? e.join(", ") : e;
|
21878
|
+
this.liveAnnouncement = `Sorted by ${t}.`;
|
21879
|
+
},
|
21880
|
+
deep: !0
|
21881
|
+
},
|
21882
|
+
sortDesc: {
|
21883
|
+
handler(e) {
|
21884
|
+
if (typeof e == "boolean")
|
21885
|
+
this.liveAnnouncement = `Sort direction: ${e ? "descending" : "ascending"}.`;
|
21886
|
+
else if (Array.isArray(e)) {
|
21887
|
+
const t = e.map((n) => n ? "descending" : "ascending").join(", ");
|
21888
|
+
this.liveAnnouncement = `Sort directions: ${t}.`;
|
21889
|
+
}
|
21890
|
+
},
|
21891
|
+
deep: !0
|
21867
21892
|
}
|
21868
21893
|
}
|
21869
21894
|
}, Uie = { key: 2 }, Wie = { class: "v-data-table-caption" }, Gie = {
|
@@ -21965,13 +21990,15 @@ function qie(e, t, n, r, a, i) {
|
|
21965
21990
|
"show-select": n.enableSelect,
|
21966
21991
|
modelValue: a.selected,
|
21967
21992
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => a.selected = o),
|
21993
|
+
page: a.currentPage,
|
21994
|
+
"onUpdate:page": t[2] || (t[2] = (o) => a.currentPage = o),
|
21968
21995
|
"item-value": n.itemValue,
|
21969
21996
|
"sort-by": n.sortBy,
|
21970
21997
|
"sort-desc": n.sortDesc,
|
21971
21998
|
"multi-sort": n.multiSort,
|
21972
21999
|
density: n.density,
|
21973
22000
|
class: "elevation-1",
|
21974
|
-
"onUpdate:selected": t[
|
22001
|
+
"onUpdate:selected": t[3] || (t[3] = (o) => a.selected = o)
|
21975
22002
|
}), nX({
|
21976
22003
|
top: ae(() => [
|
21977
22004
|
Yt("caption", Wie, Ie(n.captionTitle || "Results"), 1)
|
@@ -21984,14 +22011,14 @@ function qie(e, t, n, r, a, i) {
|
|
21984
22011
|
wn(e.$slots, l, h3(g3(u)), void 0, !0)
|
21985
22012
|
])
|
21986
22013
|
}))
|
21987
|
-
]), 1040, ["headers", "items", "search", "items-per-page", "items-per-page-options", "loading", "hide-default-footer", "show-select", "modelValue", "item-value", "sort-by", "sort-desc", "multi-sort", "density"]),
|
22014
|
+
]), 1040, ["headers", "items", "search", "items-per-page", "items-per-page-options", "loading", "hide-default-footer", "show-select", "modelValue", "page", "item-value", "sort-by", "sort-desc", "multi-sort", "density"]),
|
21988
22015
|
Yt("div", Gie, Ie(a.liveAnnouncement), 1)
|
21989
22016
|
]))
|
21990
22017
|
]),
|
21991
22018
|
_: 3
|
21992
22019
|
});
|
21993
22020
|
}
|
21994
|
-
const Kie = /* @__PURE__ */ je(Hie, [["render", qie], ["__scopeId", "data-v-
|
22021
|
+
const Kie = /* @__PURE__ */ je(Hie, [["render", qie], ["__scopeId", "data-v-236a57e1"]]), o_ = Symbol.for("vuetify:v-tabs"), Yie = J({
|
21995
22022
|
fixed: Boolean,
|
21996
22023
|
sliderColor: String,
|
21997
22024
|
hideSlider: Boolean,
|