@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.es.js
CHANGED
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
vModelDynamic as Zn,
|
|
48
48
|
} from "vue";
|
|
49
49
|
import { EventDispatcher as jl } from "@qikdev/sdk";
|
|
50
|
-
const fu = "0.2.
|
|
50
|
+
const fu = "0.2.289";
|
|
51
51
|
class qt extends Error {}
|
|
52
52
|
class mu extends qt {
|
|
53
53
|
constructor(t) {
|
|
@@ -9378,9 +9378,9 @@ const te = {
|
|
|
9378
9378
|
_id: i,
|
|
9379
9379
|
};
|
|
9380
9380
|
});
|
|
9381
|
-
} else if (e.
|
|
9382
|
-
const
|
|
9383
|
-
|
|
9381
|
+
} else if (e.$sdk.auth.getCurrentToken()) {
|
|
9382
|
+
const n = e.field.referenceType,
|
|
9383
|
+
r = {
|
|
9384
9384
|
filter: e.field.lockFilter,
|
|
9385
9385
|
sort: {
|
|
9386
9386
|
key: "title",
|
|
@@ -9391,12 +9391,12 @@ const te = {
|
|
|
9391
9391
|
size: 1e3,
|
|
9392
9392
|
},
|
|
9393
9393
|
},
|
|
9394
|
-
{ items:
|
|
9395
|
-
e.dynamicOptions =
|
|
9394
|
+
{ items: s } = await e.$sdk.content.list(n, r);
|
|
9395
|
+
e.dynamicOptions = s.map(function ({ _id: i, title: l }) {
|
|
9396
9396
|
return {
|
|
9397
|
-
value:
|
|
9398
|
-
title:
|
|
9399
|
-
_id:
|
|
9397
|
+
value: i,
|
|
9398
|
+
title: l,
|
|
9399
|
+
_id: i,
|
|
9400
9400
|
};
|
|
9401
9401
|
});
|
|
9402
9402
|
}
|