@qikdev/vue-ui 0.2.287 → 0.2.289
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 +9 -9
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +7 -7
- package/dist/lib.umd.js.map +1 -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.sdk));
|
|
8
8
|
})(this, function (V, t, $r) {
|
|
9
9
|
"use strict";
|
|
10
|
-
const sc = "0.2.
|
|
10
|
+
const sc = "0.2.289";
|
|
11
11
|
class ct extends Error {}
|
|
12
12
|
class cc extends ct {
|
|
13
13
|
constructor(n) {
|
|
@@ -7410,16 +7410,16 @@
|
|
|
7410
7410
|
r = e.$sdk.utils.id((o == null ? void 0 : o._id) || o);
|
|
7411
7411
|
return { title: l, value: i, _id: r };
|
|
7412
7412
|
});
|
|
7413
|
-
} else if (e.
|
|
7414
|
-
const
|
|
7415
|
-
|
|
7413
|
+
} else if (e.$sdk.auth.getCurrentToken()) {
|
|
7414
|
+
const o = e.field.referenceType,
|
|
7415
|
+
l = {
|
|
7416
7416
|
filter: e.field.lockFilter,
|
|
7417
7417
|
sort: { key: "title", direction: "asc", type: "string" },
|
|
7418
7418
|
page: { size: 1e3 },
|
|
7419
7419
|
},
|
|
7420
|
-
{ items:
|
|
7421
|
-
e.dynamicOptions =
|
|
7422
|
-
return { value:
|
|
7420
|
+
{ items: i } = await e.$sdk.content.list(o, l);
|
|
7421
|
+
e.dynamicOptions = i.map(function ({ _id: r, title: a }) {
|
|
7422
|
+
return { value: r, title: a, _id: r };
|
|
7423
7423
|
});
|
|
7424
7424
|
}
|
|
7425
7425
|
e.asyncOptionsAreLoading = !1;
|