readytech-ui-library-v2 1.0.170 → 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,20 +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);
|
21867
21871
|
},
|
21868
21872
|
search(e) {
|
21869
21873
|
this.liveAnnouncement = `Search updated. ${this.filteredItems.length} result${this.filteredItems.length !== 1 ? "s" : ""} found.`;
|
21870
21874
|
},
|
21871
|
-
sortBy
|
21872
|
-
|
21875
|
+
sortBy: {
|
21876
|
+
handler(e) {
|
21873
21877
|
const t = Array.isArray(e) ? e.join(", ") : e;
|
21874
21878
|
this.liveAnnouncement = `Sorted by ${t}.`;
|
21875
|
-
}
|
21879
|
+
},
|
21880
|
+
deep: !0
|
21876
21881
|
},
|
21877
|
-
sortDesc
|
21878
|
-
|
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
|
21879
21892
|
}
|
21880
21893
|
}
|
21881
21894
|
}, Uie = { key: 2 }, Wie = { class: "v-data-table-caption" }, Gie = {
|
@@ -21977,13 +21990,15 @@ function qie(e, t, n, r, a, i) {
|
|
21977
21990
|
"show-select": n.enableSelect,
|
21978
21991
|
modelValue: a.selected,
|
21979
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),
|
21980
21995
|
"item-value": n.itemValue,
|
21981
21996
|
"sort-by": n.sortBy,
|
21982
21997
|
"sort-desc": n.sortDesc,
|
21983
21998
|
"multi-sort": n.multiSort,
|
21984
21999
|
density: n.density,
|
21985
22000
|
class: "elevation-1",
|
21986
|
-
"onUpdate:selected": t[
|
22001
|
+
"onUpdate:selected": t[3] || (t[3] = (o) => a.selected = o)
|
21987
22002
|
}), nX({
|
21988
22003
|
top: ae(() => [
|
21989
22004
|
Yt("caption", Wie, Ie(n.captionTitle || "Results"), 1)
|
@@ -21996,14 +22011,14 @@ function qie(e, t, n, r, a, i) {
|
|
21996
22011
|
wn(e.$slots, l, h3(g3(u)), void 0, !0)
|
21997
22012
|
])
|
21998
22013
|
}))
|
21999
|
-
]), 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"]),
|
22000
22015
|
Yt("div", Gie, Ie(a.liveAnnouncement), 1)
|
22001
22016
|
]))
|
22002
22017
|
]),
|
22003
22018
|
_: 3
|
22004
22019
|
});
|
22005
22020
|
}
|
22006
|
-
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({
|
22007
22022
|
fixed: Boolean,
|
22008
22023
|
sliderColor: String,
|
22009
22024
|
hideSlider: Boolean,
|