readytech-ui-library-v2 1.0.184 → 1.0.186
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.
|
@@ -21816,8 +21816,6 @@ const zie = J({
|
|
|
21816
21816
|
}), Uie = {
|
|
21817
21817
|
name: "RtTable",
|
|
21818
21818
|
props: {
|
|
21819
|
-
selectedMap: {},
|
|
21820
|
-
// Track selected items by key
|
|
21821
21819
|
showTitle: { type: Boolean, default: !0 },
|
|
21822
21820
|
captionTitle: { type: String, default: "Results" },
|
|
21823
21821
|
title: { type: String, default: "Data Table" },
|
|
@@ -21869,10 +21867,6 @@ const zie = J({
|
|
|
21869
21867
|
}
|
|
21870
21868
|
},
|
|
21871
21869
|
methods: {
|
|
21872
|
-
toggleItemSelection(e, t) {
|
|
21873
|
-
const n = this.getItemKey(e, t);
|
|
21874
|
-
!!this.selectedMap[n] ? (this.selected = this.selected.filter((a) => this.getItemKey(a) !== n), this.$delete(this.selectedMap, n)) : (this.selected.push(e), this.$set(this.selectedMap, n, !0));
|
|
21875
|
-
},
|
|
21876
21870
|
getColumnLabelByKey(e) {
|
|
21877
21871
|
const t = this.headers.find((n) => (n.key || n.value) === e);
|
|
21878
21872
|
return t && (t.title || t.text) || e;
|
|
@@ -21889,13 +21883,6 @@ const zie = J({
|
|
|
21889
21883
|
}
|
|
21890
21884
|
},
|
|
21891
21885
|
watch: {
|
|
21892
|
-
selected(e) {
|
|
21893
|
-
this.$emit("update:selected", e);
|
|
21894
|
-
const t = {};
|
|
21895
|
-
e.forEach((n) => {
|
|
21896
|
-
t[this.getItemKey(n)] = !0;
|
|
21897
|
-
}), this.selectedMap = t;
|
|
21898
|
-
},
|
|
21899
21886
|
currentPage(e) {
|
|
21900
21887
|
this.liveAnnouncement = `Page ${e} selected. Showing ${this.filteredItems.length} items.`;
|
|
21901
21888
|
},
|
|
@@ -22032,9 +22019,9 @@ function Zie(e, t, n, r, a, i) {
|
|
|
22032
22019
|
w(cd, { cols: "auto" }, {
|
|
22033
22020
|
default: te(() => [
|
|
22034
22021
|
w(bj, {
|
|
22035
|
-
modelValue:
|
|
22036
|
-
"onUpdate:modelValue": (u) =>
|
|
22037
|
-
onChange: (u) =>
|
|
22022
|
+
modelValue: e.selectedMap[i.getItemKey(o, l)],
|
|
22023
|
+
"onUpdate:modelValue": (u) => e.selectedMap[i.getItemKey(o, l)] = u,
|
|
22024
|
+
onChange: (u) => e.toggleItemSelection(o, l),
|
|
22038
22025
|
"aria-label": `Select row ${l + 1}`,
|
|
22039
22026
|
"hide-details": "",
|
|
22040
22027
|
density: "compact"
|
|
@@ -22152,7 +22139,7 @@ function Zie(e, t, n, r, a, i) {
|
|
|
22152
22139
|
_: 3
|
|
22153
22140
|
});
|
|
22154
22141
|
}
|
|
22155
|
-
const Qie = /* @__PURE__ */ ze(Uie, [["render", Zie], ["__scopeId", "data-v-
|
|
22142
|
+
const Qie = /* @__PURE__ */ ze(Uie, [["render", Zie], ["__scopeId", "data-v-9a2baddc"]]), s_ = Symbol.for("vuetify:v-tabs"), eoe = J({
|
|
22156
22143
|
fixed: Boolean,
|
|
22157
22144
|
sliderColor: String,
|
|
22158
22145
|
hideSlider: Boolean,
|