readytech-ui-library-v2 1.0.101 → 1.0.102
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.
@@ -18494,8 +18494,8 @@ const Ry = /* @__PURE__ */ fe(By, [["render", Ay], ["__scopeId", "data-v-51563f5
|
|
18494
18494
|
}), My = {
|
18495
18495
|
name: "RtSelectAutocomplete",
|
18496
18496
|
props: {
|
18497
|
-
|
18498
|
-
|
18497
|
+
itemTitle: { type: String, default: "text" },
|
18498
|
+
itemValue: { type: String, default: "value" },
|
18499
18499
|
chips: { type: Boolean, default: !1 },
|
18500
18500
|
density: {
|
18501
18501
|
type: String,
|
@@ -18538,7 +18538,7 @@ const Ry = /* @__PURE__ */ fe(By, [["render", Ay], ["__scopeId", "data-v-51563f5
|
|
18538
18538
|
},
|
18539
18539
|
methods: {
|
18540
18540
|
toggleSelectAll() {
|
18541
|
-
this.allSelected ?
|
18541
|
+
this.allSelected ? this.selectedItem = [] : this.selectedItem = this.items.map((e) => e[this.itemValue]);
|
18542
18542
|
},
|
18543
18543
|
onSearch(e) {
|
18544
18544
|
this.$emit("search", e);
|
@@ -18567,8 +18567,8 @@ function Oy(e, n, t, l, a, i) {
|
|
18567
18567
|
error: e.error,
|
18568
18568
|
"error-messages": e.errorMessages,
|
18569
18569
|
"menu-props": e.menuProps,
|
18570
|
-
"item-title": t.
|
18571
|
-
"item-value":
|
18570
|
+
"item-title": t.itemTitle,
|
18571
|
+
"item-value": t.itemValue,
|
18572
18572
|
clearable: t.clearable,
|
18573
18573
|
loading: t.loading,
|
18574
18574
|
"search-input": a.searchInput,
|