@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.umd.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
t((V["@qikdev/vue-ui"] = {}), V.Vue, V["@qikdev/sdk"]));
|
|
8
8
|
})(this, function (V, t, Or) {
|
|
9
9
|
"use strict";
|
|
10
|
-
const oc = "0.2.
|
|
10
|
+
const oc = "0.2.246";
|
|
11
11
|
class st extends Error {}
|
|
12
12
|
class rc extends st {
|
|
13
13
|
constructor(n) {
|
|
@@ -13694,6 +13694,23 @@
|
|
|
13694
13694
|
);
|
|
13695
13695
|
o = r;
|
|
13696
13696
|
}
|
|
13697
|
+
switch (o) {
|
|
13698
|
+
case "scope":
|
|
13699
|
+
const l = e.multiValue ? e.value : [e.value].filter(Boolean);
|
|
13700
|
+
return e.$sdk
|
|
13701
|
+
.selectScopes({
|
|
13702
|
+
action: "view",
|
|
13703
|
+
type: o,
|
|
13704
|
+
model: l,
|
|
13705
|
+
maximum: e.field.maximum,
|
|
13706
|
+
})
|
|
13707
|
+
.then(function (i) {
|
|
13708
|
+
e.model = e.multiValue ? i : i[0];
|
|
13709
|
+
})
|
|
13710
|
+
.catch(function (i) {
|
|
13711
|
+
i && e.$sdk.error(i);
|
|
13712
|
+
});
|
|
13713
|
+
}
|
|
13697
13714
|
e.$sdk
|
|
13698
13715
|
.browse(o, n)
|
|
13699
13716
|
.then(function (l) {
|
|
@@ -13729,6 +13746,8 @@
|
|
|
13729
13746
|
},
|
|
13730
13747
|
canCreate() {
|
|
13731
13748
|
var l;
|
|
13749
|
+
var e = this.field.referenceType;
|
|
13750
|
+
if (e === "scope") return !1;
|
|
13732
13751
|
if (
|
|
13733
13752
|
this.field.create !== !1 &&
|
|
13734
13753
|
(l = this.$sdk.global) != null &&
|
|
@@ -14102,7 +14121,7 @@
|
|
|
14102
14121
|
}
|
|
14103
14122
|
const Ha = g(g1, [
|
|
14104
14123
|
["render", w1],
|
|
14105
|
-
["__scopeId", "data-v-
|
|
14124
|
+
["__scopeId", "data-v-a5980d18"],
|
|
14106
14125
|
]),
|
|
14107
14126
|
FF = "";
|
|
14108
14127
|
function C1(e) {
|