pgo-ui 1.0.33 → 1.0.34

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.
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-MwXJbW_a.js";
2
+ export {
3
+ f as default
4
+ };
@@ -17190,7 +17190,7 @@ return (${ge});`)();
17190
17190
  }
17191
17191
  }, W = D(() => {
17192
17192
  const O = {}, V = new Set(c.form.fields.map((K) => K.inputType?.toLowerCase()));
17193
- return (V.has("search") || V.has("inputsearch")) && (O.search = nt(() => Promise.resolve().then(() => yf)), O.searchbox = nt(() => Promise.resolve().then(() => yf))), V.has("select") && (O.select = nt(() => Promise.resolve().then(() => vc))), V.has("textarea") && (O.textarea = nt(() => Promise.resolve().then(() => lh))), (V.has("textfield") || V.has("text") || V.has("string")) && (O.textfield = nt(() => Promise.resolve().then(() => mo)), O.text = nt(() => Promise.resolve().then(() => mo)), O.string = nt(() => Promise.resolve().then(() => mo))), (V.has("datepicker") || V.has("date")) && (O.datepicker = nt(() => Promise.resolve().then(() => us)), O.date = nt(() => Promise.resolve().then(() => us))), V.has("chipgroup") && (O.chipgroup = nt(() => Promise.resolve().then(() => hm))), V.has("checkbox") && (O.checkbox = nt(() => Promise.resolve().then(() => W0))), V.has("radio") && (O.radio = nt(() => import("./Radio-CzJnNnar.js"))), (V.has("numberfield") || V.has("number")) && (O.numberfield = nt(() => Promise.resolve().then(() => mf)), O.number = nt(() => Promise.resolve().then(() => mf))), (V.has("file") || V.has("filefield")) && (O.file = nt(() => Promise.resolve().then(() => ff)), O.filefield = nt(() => Promise.resolve().then(() => ff))), O;
17193
+ return (V.has("search") || V.has("inputsearch")) && (O.search = nt(() => Promise.resolve().then(() => yf)), O.searchbox = nt(() => Promise.resolve().then(() => yf))), V.has("select") && (O.select = nt(() => Promise.resolve().then(() => vc))), V.has("textarea") && (O.textarea = nt(() => Promise.resolve().then(() => lh))), (V.has("textfield") || V.has("text") || V.has("string")) && (O.textfield = nt(() => Promise.resolve().then(() => mo)), O.text = nt(() => Promise.resolve().then(() => mo)), O.string = nt(() => Promise.resolve().then(() => mo))), (V.has("datepicker") || V.has("date")) && (O.datepicker = nt(() => Promise.resolve().then(() => us)), O.date = nt(() => Promise.resolve().then(() => us))), V.has("chipgroup") && (O.chipgroup = nt(() => Promise.resolve().then(() => hm))), V.has("checkbox") && (O.checkbox = nt(() => Promise.resolve().then(() => W0))), V.has("radio") && (O.radio = nt(() => import("./Radio-Dzsq9GUI.js"))), (V.has("numberfield") || V.has("number")) && (O.numberfield = nt(() => Promise.resolve().then(() => mf)), O.number = nt(() => Promise.resolve().then(() => mf))), (V.has("file") || V.has("filefield")) && (O.file = nt(() => Promise.resolve().then(() => ff)), O.filefield = nt(() => Promise.resolve().then(() => ff))), O;
17194
17194
  }), $ = (O) => {
17195
17195
  const V = O?.toLowerCase() || "textfield";
17196
17196
  return W.value[V] || W.value.textfield;
@@ -21324,15 +21324,15 @@ const vf = {
21324
21324
  }, te = (le) => {
21325
21325
  const B = w.value?.showLink;
21326
21326
  if (!B) {
21327
- console.warn("No viewLink defined in table actions");
21327
+ console.warn("No showLink defined in table settings");
21328
21328
  return;
21329
21329
  }
21330
- const j = B.replace(/\{(\w+)\}/g, (fe, H) => le[H] ?? H);
21330
+ const j = B.replace(/:(\w+)/g, (fe, H) => le[H] ?? H).replace(/\{(\w+)\}/g, (fe, H) => le[H] ?? H);
21331
21331
  if (/^https?:\/\//i.test(j)) {
21332
21332
  window.open(j, "_blank");
21333
21333
  return;
21334
21334
  }
21335
- a.push(j);
21335
+ a.push({ path: j });
21336
21336
  }, se = (le) => {
21337
21337
  ae(l.items?.componentSettings?.form), v.value = !0, b.value = le.id, g.value = "edit";
21338
21338
  }, ee = (le) => {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, A as r, B as t, b as i, c as n, d as l, e as m, C as p, f as d, g as T, h as c, i as u, j as x, D as C, k as b, l as h, m as w, n as D, o as B, E as F, p as P, q as g, r as I, s as S, t as v, L as A, u as N, v as R, M as f, w as k, N as y, x as M, y as E, z as L, F as V, G, S as H, H as O, I as U, J as j, T as q, K as z, O as J, P 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 ta, a4 as ia } from "./index-Dfucta-L.js";
1
+ import { a as o, A as r, B as t, b as i, c as n, d as l, e as m, C as p, f as d, g as T, h as c, i as u, j as x, D as C, k as b, l as h, m as w, n as D, o as B, E as F, p as P, q as g, r as I, s as S, t as v, L as A, u as N, v as R, M as f, w as k, N as y, x as M, y as E, z as L, F as V, G, S as H, H as O, I as U, J as j, T as q, K as z, O as J, P 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 ta, a4 as ia } from "./index-MwXJbW_a.js";
2
2
  import "vue";
3
3
  export {
4
4
  o as AppBar,