scope360-core 0.0.42 → 0.0.43
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/dist/scope360-core.js
CHANGED
|
@@ -1217,8 +1217,17 @@ const Sc = {
|
|
|
1217
1217
|
}),
|
|
1218
1218
|
emits: ["update:modelValue"],
|
|
1219
1219
|
setup(n) {
|
|
1220
|
-
const e = Tn(n, "modelValue"
|
|
1221
|
-
|
|
1220
|
+
const e = Tn(n, "modelValue", {
|
|
1221
|
+
get(l) {
|
|
1222
|
+
return typeof l == "object" ? l.name : l;
|
|
1223
|
+
},
|
|
1224
|
+
set(l) {
|
|
1225
|
+
return l;
|
|
1226
|
+
}
|
|
1227
|
+
}), t = n, a = U(() => t.width ? { width: t.width } : null), r = te(null), i = U(() => r.value && r.value.isOpen), s = U(() => !!e.value.length), o = U(
|
|
1228
|
+
() => options.every((l) => typeof l == "object" && l !== null) ? options.map((l) => l.name) : options
|
|
1229
|
+
);
|
|
1230
|
+
return (l, c) => (A(), V("div", {
|
|
1222
1231
|
class: "scope-multiselect-container",
|
|
1223
1232
|
style: yt(a.value)
|
|
1224
1233
|
}, [
|
|
@@ -1232,8 +1241,8 @@ const Sc = {
|
|
|
1232
1241
|
{ "-with-search": n.searchable, "-invalid": n.invalid }
|
|
1233
1242
|
]),
|
|
1234
1243
|
modelValue: e.value,
|
|
1235
|
-
"onUpdate:modelValue":
|
|
1236
|
-
options:
|
|
1244
|
+
"onUpdate:modelValue": c[0] || (c[0] = (u) => e.value = u),
|
|
1245
|
+
options: o.value,
|
|
1237
1246
|
searchable: n.searchable,
|
|
1238
1247
|
disabled: n.disabled,
|
|
1239
1248
|
"close-on-select": "",
|
|
@@ -1262,7 +1271,7 @@ const Sc = {
|
|
|
1262
1271
|
], 2)
|
|
1263
1272
|
], 4));
|
|
1264
1273
|
}
|
|
1265
|
-
}, ly = /* @__PURE__ */ Ft(Oc, [["__scopeId", "data-v-
|
|
1274
|
+
}, ly = /* @__PURE__ */ Ft(Oc, [["__scopeId", "data-v-f3a6ad93"]]), Ac = {
|
|
1266
1275
|
key: 0,
|
|
1267
1276
|
class: "scope-input__label"
|
|
1268
1277
|
}, Cc = ["disabled", "placeholder"], Rc = {
|