@qikdev/vue-ui 0.2.245 → 0.2.246
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/lib.es.js +21 -2
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +21 -2
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +3594 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
vModelDynamic as Yn,
|
|
45
45
|
} from "vue";
|
|
46
46
|
import { EventDispatcher as Ll } from "@qikdev/sdk";
|
|
47
|
-
const iu = "0.2.
|
|
47
|
+
const iu = "0.2.246";
|
|
48
48
|
class Rt extends Error {}
|
|
49
49
|
class ru extends Rt {
|
|
50
50
|
constructor(t) {
|
|
@@ -16289,6 +16289,23 @@ const X1 = {
|
|
|
16289
16289
|
);
|
|
16290
16290
|
n = i;
|
|
16291
16291
|
}
|
|
16292
|
+
switch (n) {
|
|
16293
|
+
case "scope":
|
|
16294
|
+
const r = e.multiValue ? e.value : [e.value].filter(Boolean);
|
|
16295
|
+
return e.$sdk
|
|
16296
|
+
.selectScopes({
|
|
16297
|
+
action: "view",
|
|
16298
|
+
type: n,
|
|
16299
|
+
model: r,
|
|
16300
|
+
maximum: e.field.maximum,
|
|
16301
|
+
})
|
|
16302
|
+
.then(function (s) {
|
|
16303
|
+
e.model = e.multiValue ? s : s[0];
|
|
16304
|
+
})
|
|
16305
|
+
.catch(function (s) {
|
|
16306
|
+
s && e.$sdk.error(s);
|
|
16307
|
+
});
|
|
16308
|
+
}
|
|
16292
16309
|
e.$sdk
|
|
16293
16310
|
.browse(n, t)
|
|
16294
16311
|
.then(function (r) {
|
|
@@ -16324,6 +16341,8 @@ const X1 = {
|
|
|
16324
16341
|
},
|
|
16325
16342
|
canCreate() {
|
|
16326
16343
|
var r;
|
|
16344
|
+
var e = this.field.referenceType;
|
|
16345
|
+
if (e === "scope") return !1;
|
|
16327
16346
|
if (
|
|
16328
16347
|
this.field.create !== !1 &&
|
|
16329
16348
|
(r = this.$sdk.global) != null &&
|
|
@@ -16692,7 +16711,7 @@ function ib(e, t, n, r, s, i) {
|
|
|
16692
16711
|
}
|
|
16693
16712
|
const ba = /* @__PURE__ */ O(X1, [
|
|
16694
16713
|
["render", ib],
|
|
16695
|
-
["__scopeId", "data-v-
|
|
16714
|
+
["__scopeId", "data-v-a5980d18"],
|
|
16696
16715
|
]);
|
|
16697
16716
|
function rb(e) {
|
|
16698
16717
|
return (
|