@qikdev/vue-ui 0.2.283 → 0.2.285
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 +12 -5
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +17 -5
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +12 -12
- 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.285";
|
|
51
51
|
class qt extends Error {}
|
|
52
52
|
class mu extends qt {
|
|
53
53
|
constructor(t) {
|
|
@@ -9147,6 +9147,10 @@ const te = {
|
|
|
9147
9147
|
asyncOptionsURL() {
|
|
9148
9148
|
const e = this;
|
|
9149
9149
|
if (e.field.asyncOptions) return e.field.asyncOptions;
|
|
9150
|
+
if (e.field.dynamicOptions) {
|
|
9151
|
+
const t = e.$sdk.utils.id(e.field.dynamicOptions);
|
|
9152
|
+
return e.$sdk.api.generateEndpointURL(`/smartlist/${t}`);
|
|
9153
|
+
}
|
|
9150
9154
|
},
|
|
9151
9155
|
hasAsyncOptions() {
|
|
9152
9156
|
var e;
|
|
@@ -9620,6 +9624,9 @@ const Qg = {
|
|
|
9620
9624
|
},
|
|
9621
9625
|
},
|
|
9622
9626
|
computed: {
|
|
9627
|
+
noneTitle() {
|
|
9628
|
+
return this.field.placeholder || "None";
|
|
9629
|
+
},
|
|
9623
9630
|
usePills() {
|
|
9624
9631
|
return this.field.pills || this.pills;
|
|
9625
9632
|
},
|
|
@@ -9643,7 +9650,7 @@ const Qg = {
|
|
|
9643
9650
|
n = this.model;
|
|
9644
9651
|
return n || n === !1 || n === 0
|
|
9645
9652
|
? this.getLabel(this.optionLookup[this.model])
|
|
9646
|
-
: t || this.
|
|
9653
|
+
: t || this.noneTitle || this.title || "Click to select";
|
|
9647
9654
|
},
|
|
9648
9655
|
grouped() {
|
|
9649
9656
|
const e = this,
|
|
@@ -9707,7 +9714,7 @@ const Qg = {
|
|
|
9707
9714
|
},
|
|
9708
9715
|
},
|
|
9709
9716
|
},
|
|
9710
|
-
e_ = (e) => (Ze("data-v-
|
|
9717
|
+
e_ = (e) => (Ze("data-v-efa84717"), (e = e()), Je(), e),
|
|
9711
9718
|
t_ = {
|
|
9712
9719
|
key: 0,
|
|
9713
9720
|
class: "ux-field-title",
|
|
@@ -10017,7 +10024,7 @@ function v_(e, t, n, r, s, i) {
|
|
|
10017
10024
|
},
|
|
10018
10025
|
[
|
|
10019
10026
|
i.showNoneOption
|
|
10020
|
-
? (a(), d("option", p_,
|
|
10027
|
+
? (a(), d("option", p_, b(i.noneTitle), 1))
|
|
10021
10028
|
: g("", !0),
|
|
10022
10029
|
i.grouped
|
|
10023
10030
|
? (a(!0),
|
|
@@ -10102,7 +10109,7 @@ function v_(e, t, n, r, s, i) {
|
|
|
10102
10109
|
}
|
|
10103
10110
|
const gt = /* @__PURE__ */ V(Qg, [
|
|
10104
10111
|
["render", v_],
|
|
10105
|
-
["__scopeId", "data-v-
|
|
10112
|
+
["__scopeId", "data-v-efa84717"],
|
|
10106
10113
|
]);
|
|
10107
10114
|
const b_ = {
|
|
10108
10115
|
props: {
|