@qikdev/vue-ui 0.3.36 → 0.3.40
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 +37 -18
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -4,7 +4,7 @@ var zh = (e, t, n) => t in e ? Bh(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
4
4
|
var ie = (e, t, n) => zh(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
import { reactive as Ht, defineComponent as Pl, ref as bt, toRefs as ff, onMounted as Ll, onBeforeUnmount as Wh, watch as hr, computed as An, createElementBlock as m, openBlock as o, createCommentVNode as v, renderSlot as z, normalizeClass as P, useSlots as Hh, provide as Fr, resolveComponent as y, createVNode as c, Fragment as D, createBlock as k, unref as vt, withCtx as f, renderList as A, toDisplayString as b, createTextVNode as O, withDirectives as te, vShow as fi, withModifiers as j, createElementVNode as x, h as ml, mergeProps as Qe, toHandlers as ot, normalizeStyle as $e, resolveDirective as mf, resolveDynamicComponent as Jt, vModelSelect as Dt, pushScopeId as Ue, popScopeId as je, getCurrentScope as Gh, onScopeDispose as Yh, getCurrentInstance as Jh, Teleport as hf, Transition as Kh, withKeys as ke, vModelText as Ve, TransitionGroup as Zh, nextTick as pf, vModelDynamic as On, normalizeProps as yf, guardReactiveProps as Xh } from "vue";
|
|
6
6
|
import { EventDispatcher as gf } from "@qikdev/sdk";
|
|
7
|
-
const Qh = "0.3.
|
|
7
|
+
const Qh = "0.3.40";
|
|
8
8
|
class vn extends Error {
|
|
9
9
|
}
|
|
10
10
|
class ep extends vn {
|
|
@@ -17591,7 +17591,8 @@ const w2 = {
|
|
|
17591
17591
|
type: n,
|
|
17592
17592
|
model: r,
|
|
17593
17593
|
maximum: e.field.maximum,
|
|
17594
|
-
include: "scope"
|
|
17594
|
+
include: e.field.scopeInclude || "scope",
|
|
17595
|
+
filter: e.field.lockFilter
|
|
17595
17596
|
}).then(function(s) {
|
|
17596
17597
|
e.model = e.multiValue ? s : s[0];
|
|
17597
17598
|
}).catch(function(s) {
|
|
@@ -17931,7 +17932,7 @@ function E2(e, t, n, r, s, i) {
|
|
|
17931
17932
|
})) : v("", !0)
|
|
17932
17933
|
], 64);
|
|
17933
17934
|
}
|
|
17934
|
-
const gh = /* @__PURE__ */ M(w2, [["render", E2], ["__scopeId", "data-v-
|
|
17935
|
+
const gh = /* @__PURE__ */ M(w2, [["render", E2], ["__scopeId", "data-v-1f5013cf"]]), C2 = {
|
|
17935
17936
|
components: {
|
|
17936
17937
|
Item: io,
|
|
17937
17938
|
ContentSearch: Jm,
|
|
@@ -18046,7 +18047,9 @@ const gh = /* @__PURE__ */ M(w2, [["render", E2], ["__scopeId", "data-v-9d53981e
|
|
|
18046
18047
|
action: "view",
|
|
18047
18048
|
type: n,
|
|
18048
18049
|
model: r,
|
|
18049
|
-
maximum: e.field.maximum
|
|
18050
|
+
maximum: e.field.maximum,
|
|
18051
|
+
include: e.field.scopeInclude || "scope",
|
|
18052
|
+
filter: e.field.lockFilter
|
|
18050
18053
|
}).then(function(s) {
|
|
18051
18054
|
console.log("GOT NEW SELECTION", s), e.model = e.multiValue ? s : s[0];
|
|
18052
18055
|
}).catch(function(s) {
|
|
@@ -18397,7 +18400,7 @@ function A2(e, t, n, r, s, i) {
|
|
|
18397
18400
|
], 64)) : v("", !0)
|
|
18398
18401
|
], 64);
|
|
18399
18402
|
}
|
|
18400
|
-
const N2 = /* @__PURE__ */ M(C2, [["render", A2], ["__scopeId", "data-v-
|
|
18403
|
+
const N2 = /* @__PURE__ */ M(C2, [["render", A2], ["__scopeId", "data-v-957e6ebe"]]), P2 = {
|
|
18401
18404
|
components: {
|
|
18402
18405
|
Search: Qt
|
|
18403
18406
|
},
|
|
@@ -19195,6 +19198,10 @@ const cO = {
|
|
|
19195
19198
|
single: {
|
|
19196
19199
|
type: Boolean,
|
|
19197
19200
|
default: !1
|
|
19201
|
+
},
|
|
19202
|
+
filter: {
|
|
19203
|
+
type: Object,
|
|
19204
|
+
default: null
|
|
19198
19205
|
}
|
|
19199
19206
|
},
|
|
19200
19207
|
data() {
|
|
@@ -19256,11 +19263,13 @@ const cO = {
|
|
|
19256
19263
|
},
|
|
19257
19264
|
async loadScopes() {
|
|
19258
19265
|
this.loading = !0;
|
|
19259
|
-
const
|
|
19266
|
+
const e = {
|
|
19260
19267
|
action: this.action,
|
|
19261
19268
|
type: this.type
|
|
19262
|
-
}
|
|
19263
|
-
|
|
19269
|
+
};
|
|
19270
|
+
this.filter && Object.keys(this.filter).length && (e.filter = this.filter);
|
|
19271
|
+
const { data: t } = await this.$sdk.api.post("/scope/actionable", e);
|
|
19272
|
+
return this.loading = !1, t;
|
|
19264
19273
|
},
|
|
19265
19274
|
async showModal() {
|
|
19266
19275
|
const e = this, t = {};
|
|
@@ -19337,6 +19346,12 @@ const cO = {
|
|
|
19337
19346
|
},
|
|
19338
19347
|
immediate: !0
|
|
19339
19348
|
},
|
|
19349
|
+
filter: {
|
|
19350
|
+
handler() {
|
|
19351
|
+
this.checkLoad();
|
|
19352
|
+
},
|
|
19353
|
+
deep: !0
|
|
19354
|
+
},
|
|
19340
19355
|
modelValue(e) {
|
|
19341
19356
|
this.model = e;
|
|
19342
19357
|
},
|
|
@@ -19432,7 +19447,7 @@ function pO(e, t, n, r, s, i) {
|
|
|
19432
19447
|
_: 1
|
|
19433
19448
|
}, 8, ["class"]);
|
|
19434
19449
|
}
|
|
19435
|
-
const yO = /* @__PURE__ */ M(cO, [["render", pO], ["__scopeId", "data-v-
|
|
19450
|
+
const yO = /* @__PURE__ */ M(cO, [["render", pO], ["__scopeId", "data-v-60ddba0f"]]), gO = {
|
|
19436
19451
|
components: {
|
|
19437
19452
|
UxCircle: Jl
|
|
19438
19453
|
},
|
|
@@ -36867,6 +36882,9 @@ const xR = /* @__PURE__ */ M(pR, [["render", wR], ["__scopeId", "data-v-aeaca77a
|
|
|
36867
36882
|
action() {
|
|
36868
36883
|
return this.options.action;
|
|
36869
36884
|
},
|
|
36885
|
+
filter() {
|
|
36886
|
+
return this.options.filter;
|
|
36887
|
+
},
|
|
36870
36888
|
// title() {
|
|
36871
36889
|
// return this.definition.title;
|
|
36872
36890
|
// },
|
|
@@ -36912,7 +36930,7 @@ const xR = /* @__PURE__ */ M(pR, [["render", wR], ["__scopeId", "data-v-aeaca77a
|
|
|
36912
36930
|
console.log("selection complete", e, this.model), this.close(this.model);
|
|
36913
36931
|
}
|
|
36914
36932
|
}
|
|
36915
|
-
}, SR = (e) => (Ue("data-v-
|
|
36933
|
+
}, SR = (e) => (Ue("data-v-7d114a2d"), e = e(), je(), e), OR = { class: "header" }, DR = /* @__PURE__ */ SR(() => /* @__PURE__ */ x("h3", null, "Select Scopes", -1));
|
|
36916
36934
|
function ER(e, t, n, r, s, i) {
|
|
36917
36935
|
const a = y("flex-cell"), l = y("ux-button"), u = y("flex-row"), d = y("flex-header"), h = y("scope-select"), p = y("flex-column");
|
|
36918
36936
|
return o(), k(p, { class: "wrapper" }, {
|
|
@@ -36958,13 +36976,14 @@ function ER(e, t, n, r, s, i) {
|
|
|
36958
36976
|
type: i.type,
|
|
36959
36977
|
modelValue: s.model,
|
|
36960
36978
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => s.model = g),
|
|
36961
|
-
include: i.include
|
|
36962
|
-
|
|
36979
|
+
include: i.include,
|
|
36980
|
+
filter: i.filter
|
|
36981
|
+
}, null, 8, ["action", "single", "type", "modelValue", "include", "filter"])
|
|
36963
36982
|
]),
|
|
36964
36983
|
_: 1
|
|
36965
36984
|
});
|
|
36966
36985
|
}
|
|
36967
|
-
const CR = /* @__PURE__ */ M(TR, [["render", ER], ["__scopeId", "data-v-
|
|
36986
|
+
const CR = /* @__PURE__ */ M(TR, [["render", ER], ["__scopeId", "data-v-7d114a2d"]]), MR = {
|
|
36968
36987
|
mixins: [en],
|
|
36969
36988
|
components: {
|
|
36970
36989
|
Tagger: jT
|
|
@@ -37529,12 +37548,12 @@ const GR = `qik vue ui ${Qh}`, cf = {
|
|
|
37529
37548
|
l,
|
|
37530
37549
|
u,
|
|
37531
37550
|
a
|
|
37532
|
-
);
|
|
37533
|
-
if (d.length === 1) {
|
|
37534
|
-
const
|
|
37551
|
+
), h = s.filter && Object.keys(s.filter).length;
|
|
37552
|
+
if (d.length === 1 && !h) {
|
|
37553
|
+
const p = await t.content.scopeGlossary({ hash: !0 });
|
|
37535
37554
|
return Promise.resolve(
|
|
37536
|
-
d.map(function(
|
|
37537
|
-
return
|
|
37555
|
+
d.map(function(g) {
|
|
37556
|
+
return p[g];
|
|
37538
37557
|
})
|
|
37539
37558
|
);
|
|
37540
37559
|
}
|