pgo-ui 1.0.65 → 1.0.67
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/Radio-BKY278GG.js +4 -0
- package/dist/{index-C8QitkFZ.js → index-DrEBBDN_.js} +6 -5
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/pgo/forms/DynamicForm copy.vue +1 -1
- package/src/components/pgo/forms/DynamicForm.vue +5 -4
- package/dist/Radio-VYPzRLpZ.js +0 -4
|
@@ -17531,7 +17531,8 @@ const Uo = [
|
|
|
17531
17531
|
formType: B.value,
|
|
17532
17532
|
isEdit: b.value === "edit",
|
|
17533
17533
|
isCreate: b.value === "create",
|
|
17534
|
-
...w
|
|
17534
|
+
...w,
|
|
17535
|
+
...v
|
|
17535
17536
|
}), B = P(() => c.mode), A = P(() => d.value ? Object.keys(f.value).some((I) => {
|
|
17536
17537
|
const Y = f.value[I], Z = v[I];
|
|
17537
17538
|
return Y == null ? Z != null && Z !== "" : typeof Y == "object" ? JSON.stringify(Y) !== JSON.stringify(Z) : Y !== Z;
|
|
@@ -17666,7 +17667,7 @@ return (${L});`)();
|
|
|
17666
17667
|
}
|
|
17667
17668
|
}, K = P(() => {
|
|
17668
17669
|
const I = {}, Y = new Set(c.form.fields.map((Z) => Z.inputType?.toLowerCase()));
|
|
17669
|
-
return (Y.has("search") || Y.has("inputsearch")) && (I.search = Ze(() => Promise.resolve().then(() => Cf)), I.searchbox = Ze(() => Promise.resolve().then(() => Cf))), Y.has("select") && (I.select = Ze(() => Promise.resolve().then(() => wd))), Y.has("textarea") && (I.textarea = Ze(() => Promise.resolve().then(() => ph))), (Y.has("textfield") || Y.has("text") || Y.has("string")) && (I.textfield = Ze(() => Promise.resolve().then(() => vo)), I.text = Ze(() => Promise.resolve().then(() => vo)), I.string = Ze(() => Promise.resolve().then(() => vo))), (Y.has("datepicker") || Y.has("date")) && (I.datepicker = Ze(() => Promise.resolve().then(() => ua)), I.date = Ze(() => Promise.resolve().then(() => ua))), Y.has("chipgroup") && (I.chipgroup = Ze(() => Promise.resolve().then(() => km))), Y.has("checkbox") && (I.checkbox = Ze(() => Promise.resolve().then(() => y1))), Y.has("radio") && (I.radio = Ze(() => import("./Radio-
|
|
17670
|
+
return (Y.has("search") || Y.has("inputsearch")) && (I.search = Ze(() => Promise.resolve().then(() => Cf)), I.searchbox = Ze(() => Promise.resolve().then(() => Cf))), Y.has("select") && (I.select = Ze(() => Promise.resolve().then(() => wd))), Y.has("textarea") && (I.textarea = Ze(() => Promise.resolve().then(() => ph))), (Y.has("textfield") || Y.has("text") || Y.has("string")) && (I.textfield = Ze(() => Promise.resolve().then(() => vo)), I.text = Ze(() => Promise.resolve().then(() => vo)), I.string = Ze(() => Promise.resolve().then(() => vo))), (Y.has("datepicker") || Y.has("date")) && (I.datepicker = Ze(() => Promise.resolve().then(() => ua)), I.date = Ze(() => Promise.resolve().then(() => ua))), Y.has("chipgroup") && (I.chipgroup = Ze(() => Promise.resolve().then(() => km))), Y.has("checkbox") && (I.checkbox = Ze(() => Promise.resolve().then(() => y1))), Y.has("radio") && (I.radio = Ze(() => import("./Radio-BKY278GG.js"))), (Y.has("numberfield") || Y.has("number")) && (I.numberfield = Ze(() => Promise.resolve().then(() => da)), I.number = Ze(() => Promise.resolve().then(() => da))), (Y.has("file") || Y.has("filefield")) && (I.file = Ze(() => Promise.resolve().then(() => yf)), I.filefield = Ze(() => Promise.resolve().then(() => yf))), (Y.has("label") || Y.has("labelfield")) && (I.label = Ze(() => Promise.resolve().then(() => bf)), I.labelfield = Ze(() => Promise.resolve().then(() => bf))), I;
|
|
17670
17671
|
}), U = (I) => {
|
|
17671
17672
|
const Y = I?.toLowerCase() || "textfield";
|
|
17672
17673
|
return K.value[Y] || K.value.textfield;
|
|
@@ -17856,7 +17857,7 @@ return (${L});`)();
|
|
|
17856
17857
|
label: "buttons.draft",
|
|
17857
17858
|
color: "primary",
|
|
17858
17859
|
loading: i.value && u.value === "draft",
|
|
17859
|
-
disabled: i.value,
|
|
17860
|
+
disabled: i.value || !o.value,
|
|
17860
17861
|
onClick: Y[2] || (Y[2] = (R) => fe("draft"))
|
|
17861
17862
|
}, null, 8, ["loading", "disabled"])) : F("", !0),
|
|
17862
17863
|
b.value === "edit" ? (x(), xe(Z, {
|
|
@@ -17864,7 +17865,7 @@ return (${L});`)();
|
|
|
17864
17865
|
label: "buttons.update",
|
|
17865
17866
|
color: "warning",
|
|
17866
17867
|
loading: i.value && u.value === "update",
|
|
17867
|
-
disabled: i.value || !A.value,
|
|
17868
|
+
disabled: i.value || !A.value || !o.value,
|
|
17868
17869
|
onClick: Y[3] || (Y[3] = (R) => fe("update"))
|
|
17869
17870
|
}, null, 8, ["loading", "disabled"])) : F("", !0),
|
|
17870
17871
|
b.value === "edit" ? (x(), xe(Z, {
|
|
@@ -17872,7 +17873,7 @@ return (${L});`)();
|
|
|
17872
17873
|
label: "buttons.submit",
|
|
17873
17874
|
color: "primary",
|
|
17874
17875
|
loading: i.value && u.value === "submit",
|
|
17875
|
-
disabled: i.value,
|
|
17876
|
+
disabled: i.value || !o.value,
|
|
17876
17877
|
onClick: Y[4] || (Y[4] = (R) => fe("submit"))
|
|
17877
17878
|
}, null, 8, ["loading", "disabled"])) : F("", !0),
|
|
17878
17879
|
D(Z, {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, A as r, B as i, b as t, c as n, d as l, e as p, C as m, f as d, g as T, h as c, i as w, j as C, k as b, D as u, l as x, m as D, n as F, o as h, p as B, E as P, q as g, r as I, s as R, t as S, u as v, v as y, w as A, L as N, x as V, y as f, M as k, z as L, N as M, F as E, G, H, I as O, J as U, S as j, K as q, O as z, P as J, T as K, Q, R as W, U as X, V as Y, W as Z, X as $, Y as _, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ra, a3 as ia, a4 as ta, a5 as na, a6 as la, a7 as pa, a8 as ma } from "./index-
|
|
1
|
+
import { a as o, A as r, B as i, b as t, c as n, d as l, e as p, C as m, f as d, g as T, h as c, i as w, j as C, k as b, D as u, l as x, m as D, n as F, o as h, p as B, E as P, q as g, r as I, s as R, t as S, u as v, v as y, w as A, L as N, x as V, y as f, M as k, z as L, N as M, F as E, G, H, I as O, J as U, S as j, K as q, O as z, P as J, T as K, Q, R as W, U as X, V as Y, W as Z, X as $, Y as _, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ra, a3 as ia, a4 as ta, a5 as na, a6 as la, a7 as pa, a8 as ma } from "./index-DrEBBDN_.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
o as AppBar,
|