@modelforms/fontawesome-vuetify 3.4.1 → 3.5.0
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.
- package/README.md +33 -32
- package/components/form/complete/Complete.vue +6 -3
- package/dist/index.amd.ts +2 -2
- package/dist/index.esm.ts +6 -5
- package/package.json +1 -1
package/dist/index.esm.ts
CHANGED
|
@@ -11213,18 +11213,20 @@ const Fy = /* @__PURE__ */ on(Wh, [["render", Ey]]), da = (e, t) => {
|
|
|
11213
11213
|
},
|
|
11214
11214
|
emits: [tt, ut],
|
|
11215
11215
|
mounted() {
|
|
11216
|
-
this.multiple
|
|
11216
|
+
this.multiple ? this.initAriaRows() : this.modelValue = this.itemValue;
|
|
11217
11217
|
},
|
|
11218
11218
|
setup(e) {
|
|
11219
11219
|
In(e, name);
|
|
11220
11220
|
},
|
|
11221
11221
|
data() {
|
|
11222
11222
|
return {
|
|
11223
|
+
modelValue: null,
|
|
11223
11224
|
selected: [],
|
|
11224
11225
|
unSelected: [],
|
|
11225
11226
|
rows: [],
|
|
11226
11227
|
rule: this.rule.rules,
|
|
11227
11228
|
value: this.value,
|
|
11229
|
+
itemValue: this.itemValue,
|
|
11228
11230
|
arrowDown: Em,
|
|
11229
11231
|
square: Ns,
|
|
11230
11232
|
check: Pm,
|
|
@@ -11238,7 +11240,7 @@ const Fy = /* @__PURE__ */ on(Wh, [["render", Ey]]), da = (e, t) => {
|
|
|
11238
11240
|
},
|
|
11239
11241
|
methods: {
|
|
11240
11242
|
select(e) {
|
|
11241
|
-
e.length && (this.value = e, this.selected = [
|
|
11243
|
+
e.length && (this.value = e, this.selected = [this.items.find((t) => t[this.title] == e)], this.$emit(tt, [this.selected]));
|
|
11242
11244
|
},
|
|
11243
11245
|
blur(e) {
|
|
11244
11246
|
this.isValid ? this.$emit(tt, this.selected) : this.$emit(ut, this.isValid);
|
|
@@ -15231,7 +15233,6 @@ function Rb(e, t, n, a, l, r) {
|
|
|
15231
15233
|
return xe(), _e(wt, { fluid: "" }, {
|
|
15232
15234
|
default: Ce(() => [
|
|
15233
15235
|
S(Lb, {
|
|
15234
|
-
"v-model": n.model,
|
|
15235
15236
|
items: l.items,
|
|
15236
15237
|
"item-title": l.title,
|
|
15237
15238
|
label: n.label,
|
|
@@ -15240,7 +15241,7 @@ function Rb(e, t, n, a, l, r) {
|
|
|
15240
15241
|
multiple: n.multiple,
|
|
15241
15242
|
"filter-keys": l.controlKeys,
|
|
15242
15243
|
"menu-icon": l.defaultIcon,
|
|
15243
|
-
"model-value": l.
|
|
15244
|
+
"model-value": l.modelValue,
|
|
15244
15245
|
"onUpdate:search": t[0] || (t[0] = (o) => r.select(o)),
|
|
15245
15246
|
isvalid: l.isValid,
|
|
15246
15247
|
onBlur: t[1] || (t[1] = (o) => r.blur(o)),
|
|
@@ -15294,7 +15295,7 @@ function Rb(e, t, n, a, l, r) {
|
|
|
15294
15295
|
]),
|
|
15295
15296
|
key: "2"
|
|
15296
15297
|
} : void 0
|
|
15297
|
-
]), 1032, ["
|
|
15298
|
+
]), 1032, ["items", "item-title", "label", "rules", "search", "multiple", "filter-keys", "menu-icon", "model-value", "isvalid"])
|
|
15298
15299
|
]),
|
|
15299
15300
|
_: 1
|
|
15300
15301
|
});
|