@unizhen/ui 0.1.25 → 0.1.26
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/lib/ui.js +3 -3
- package/package.json +1 -1
package/lib/ui.js
CHANGED
|
@@ -5006,7 +5006,7 @@ var pp = () => new Promise((e) => {
|
|
|
5006
5006
|
}, hp = (e, t, n) => {
|
|
5007
5007
|
let r = t.map((t) => {
|
|
5008
5008
|
let r = [], i = t.id;
|
|
5009
|
-
return e.input === "select" && e.params.labelKeys ? (e.params.labelKeys.split(",").forEach((e) => {
|
|
5009
|
+
return e.input === "select" && (e.params.labelKeys || e.search.labelKeys) ? ((e.params.labelKeys || e.search.labelKeys || "").split(",").forEach((e) => {
|
|
5010
5010
|
r.push(t[e]);
|
|
5011
5011
|
}), r = Ze(r).join("-")) : r = t[n[1]], e.input === "select" && e.params.valueKey && (i = t[e.params.valueKey]), {
|
|
5012
5012
|
label: r,
|
|
@@ -5454,7 +5454,7 @@ async function Dp(e, t = !1, n = 0, r = () => {}, i = {}) {
|
|
|
5454
5454
|
if (e.search.multiple && (e.params.multiple = !0, e.search.defaultValue && (e.search.defaultValue = fp(e.search.defaultValue))), e.search.show) {
|
|
5455
5455
|
let t = H(e);
|
|
5456
5456
|
t.params._async && (t.params._search = !0, t.params._asyncFn = async () => {
|
|
5457
|
-
let { sourceData: e, n } = await vp(t.source);
|
|
5457
|
+
let { sourceData: e, n } = await vp(t.source || t.search.source);
|
|
5458
5458
|
if (e && Array.isArray(e)) if (t.sourceFn) {
|
|
5459
5459
|
let n = t.sourceFn;
|
|
5460
5460
|
return Function("sourceData", n)(e);
|
|
@@ -7939,7 +7939,7 @@ function Qm(e, t, n) {
|
|
|
7939
7939
|
}
|
|
7940
7940
|
//#endregion
|
|
7941
7941
|
//#region package.json
|
|
7942
|
-
var $m = "0.1.
|
|
7942
|
+
var $m = "0.1.26", eh;
|
|
7943
7943
|
async function th() {
|
|
7944
7944
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
7945
7945
|
method: "HEAD",
|