pgo-ui 1.1.142 → 1.1.143

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-DKHnPoqs.js";
2
+ export {
3
+ f as default
4
+ };
@@ -10313,7 +10313,16 @@ const uC = ["dir"], fC = {
10313
10313
  }, VA = { class: "block truncate" }, YA = {
10314
10314
  key: 1,
10315
10315
  class: "px-2 py-2"
10316
- }, XA = { class: "flex items-center justify-end space-x-2" }, WA = { class: "" }, jA = { class: "" }, UA = { class: "order-last" }, GA = ["dir"], qA = {
10316
+ }, XA = { class: "flex items-center justify-end gap-2" }, WA = {
10317
+ key: 1,
10318
+ class: ""
10319
+ }, jA = {
10320
+ key: 2,
10321
+ class: ""
10322
+ }, UA = {
10323
+ key: 3,
10324
+ class: "order-last"
10325
+ }, GA = ["dir"], qA = {
10317
10326
  key: 0,
10318
10327
  class: "px-6 py-12 text-center"
10319
10328
  }, QA = { class: "flex flex-col items-center" }, KA = { class: "text-base text-gray-500" }, $A = ["onClick"], JA = {
@@ -11078,15 +11087,14 @@ const uC = ["dir"], fC = {
11078
11087
  variant: G?.variant || "text",
11079
11088
  icon: G?.icon || "",
11080
11089
  "icon-type": G?.iconType || "outline",
11081
- size: "md",
11090
+ size: "sm",
11082
11091
  onClick: (ie) => r(G?.event || "custom-action", { action: G, itm: W })
11083
11092
  }, null, 8, ["color", "variant", "icon", "icon-type", "onClick"])), [
11084
11093
  [we, G?.tooltip ?? ""]
11085
11094
  ]) : Q("", !0)
11086
11095
  ], 2))), 128)) : Q("", !0),
11087
- b("span", WA, [
11088
- n.showView && M(n.settings?.actions?.viewCondition, W) ? _e((A(), xe(Re, {
11089
- key: 0,
11096
+ n.showView && M(n.settings?.actions?.viewCondition, W) ? (A(), D("span", WA, [
11097
+ _e(R(Re, {
11090
11098
  onClick: Ye((G) => r("view", W), ["stop"]),
11091
11099
  size: "md",
11092
11100
  color: "info",
@@ -11094,36 +11102,34 @@ const uC = ["dir"], fC = {
11094
11102
  icon: "eye",
11095
11103
  "icon-type": "outline",
11096
11104
  label: ""
11097
- }, null, 8, ["onClick"])), [
11105
+ }, null, 8, ["onClick"]), [
11098
11106
  [we, { en: "View", dv: "ވިއު" }]
11099
- ]) : Q("", !0)
11100
- ]),
11101
- b("span", jA, [
11102
- n.showEdit && M(n.settings?.actions?.editCondition, W) ? _e((A(), xe(Re, {
11103
- key: 0,
11107
+ ])
11108
+ ])) : Q("", !0),
11109
+ n.showEdit && M(n.settings?.actions?.editCondition, W) ? (A(), D("span", jA, [
11110
+ _e(R(Re, {
11104
11111
  onClick: Ye((G) => r("edit", W), ["stop"]),
11105
11112
  size: "md",
11106
11113
  icon: "pencil-square",
11107
11114
  color: "warning",
11108
11115
  variant: "text",
11109
11116
  label: ""
11110
- }, null, 8, ["onClick"])), [
11117
+ }, null, 8, ["onClick"]), [
11111
11118
  [we, { en: "Edit", dv: "އެޑިޓް" }]
11112
- ]) : Q("", !0)
11113
- ]),
11114
- b("span", UA, [
11115
- n.showDelete && M(n.settings?.actions?.deleteCondition, W) ? _e((A(), xe(Re, {
11116
- key: 0,
11119
+ ])
11120
+ ])) : Q("", !0),
11121
+ n.showDelete && M(n.settings?.actions?.deleteCondition, W) ? (A(), D("span", UA, [
11122
+ _e(R(Re, {
11117
11123
  onClick: Ye((G) => r("delete", W), ["stop"]),
11118
11124
  size: "md",
11119
11125
  color: "danger",
11120
11126
  variant: "text",
11121
11127
  icon: "trash",
11122
11128
  label: ""
11123
- }, null, 8, ["onClick"])), [
11129
+ }, null, 8, ["onClick"]), [
11124
11130
  [we, { en: "Delete", dv: "ޑިލީޓް" }]
11125
- ]) : Q("", !0)
11126
- ])
11131
+ ])
11132
+ ])) : Q("", !0)
11127
11133
  ])
11128
11134
  ], !0)
11129
11135
  ])) : Q("", !0)
@@ -11378,7 +11384,7 @@ const uC = ["dir"], fC = {
11378
11384
  ], 2);
11379
11385
  };
11380
11386
  }
11381
- }, Hd = /* @__PURE__ */ xt(h2, [["__scopeId", "data-v-a75fcf0b"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11387
+ }, Hd = /* @__PURE__ */ xt(h2, [["__scopeId", "data-v-19850bd5"]]), Lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11382
11388
  __proto__: null,
11383
11389
  default: Hd
11384
11390
  }, Symbol.toStringTag, { value: "Module" })), jr = Math.min, Ga = Math.max, ul = Math.round, Do = Math.floor, Bn = (n) => ({
@@ -18700,7 +18706,7 @@ const wr = [
18700
18706
  return Array.isArray(Z) && Z.length > 0;
18701
18707
  })), we = I(() => {
18702
18708
  const z = {}, Z = new Set(p.form.fields.map(($) => $.inputType?.toLowerCase()));
18703
- return (Z.has("search") || Z.has("inputsearch")) && (z.search = Ze(() => Promise.resolve().then(() => ep)), z.inputsearch = Ze(() => Promise.resolve().then(() => ep))), Z.has("select") && (z.select = Ze(() => Promise.resolve().then(() => Zu))), Z.has("textarea") && (z.textarea = Ze(() => Promise.resolve().then(() => dv))), (Z.has("textfield") || Z.has("text") || Z.has("string")) && (z.textfield = Ze(() => Promise.resolve().then(() => Qa)), z.text = Ze(() => Promise.resolve().then(() => Qa)), z.string = Ze(() => Promise.resolve().then(() => Qa))), (Z.has("datepicker") || Z.has("date")) && (z.datepicker = Ze(() => Promise.resolve().then(() => Gr)), z.date = Ze(() => Promise.resolve().then(() => Gr))), Z.has("chipgroup") && (z.chipgroup = Ze(() => Promise.resolve().then(() => zm))), Z.has("checkbox") && (z.checkbox = Ze(() => Promise.resolve().then(() => SC))), Z.has("radio") && (z.radio = Ze(() => import("./Radio-UXYMfUiz.js"))), (Z.has("numberfield") || Z.has("number")) && (z.numberfield = Ze(() => Promise.resolve().then(() => qr)), z.number = Ze(() => Promise.resolve().then(() => qr))), (Z.has("file") || Z.has("filefield")) && (z.file = Ze(() => Promise.resolve().then(() => Qh)), z.filefield = Ze(() => Promise.resolve().then(() => Qh))), (Z.has("label") || Z.has("labelfield")) && (z.label = Ze(() => Promise.resolve().then(() => $h)), z.labelfield = Ze(() => Promise.resolve().then(() => $h))), z;
18709
+ return (Z.has("search") || Z.has("inputsearch")) && (z.search = Ze(() => Promise.resolve().then(() => ep)), z.inputsearch = Ze(() => Promise.resolve().then(() => ep))), Z.has("select") && (z.select = Ze(() => Promise.resolve().then(() => Zu))), Z.has("textarea") && (z.textarea = Ze(() => Promise.resolve().then(() => dv))), (Z.has("textfield") || Z.has("text") || Z.has("string")) && (z.textfield = Ze(() => Promise.resolve().then(() => Qa)), z.text = Ze(() => Promise.resolve().then(() => Qa)), z.string = Ze(() => Promise.resolve().then(() => Qa))), (Z.has("datepicker") || Z.has("date")) && (z.datepicker = Ze(() => Promise.resolve().then(() => Gr)), z.date = Ze(() => Promise.resolve().then(() => Gr))), Z.has("chipgroup") && (z.chipgroup = Ze(() => Promise.resolve().then(() => zm))), Z.has("checkbox") && (z.checkbox = Ze(() => Promise.resolve().then(() => SC))), Z.has("radio") && (z.radio = Ze(() => import("./Radio-RlPDrdSM.js"))), (Z.has("numberfield") || Z.has("number")) && (z.numberfield = Ze(() => Promise.resolve().then(() => qr)), z.number = Ze(() => Promise.resolve().then(() => qr))), (Z.has("file") || Z.has("filefield")) && (z.file = Ze(() => Promise.resolve().then(() => Qh)), z.filefield = Ze(() => Promise.resolve().then(() => Qh))), (Z.has("label") || Z.has("labelfield")) && (z.label = Ze(() => Promise.resolve().then(() => $h)), z.labelfield = Ze(() => Promise.resolve().then(() => $h))), z;
18704
18710
  }), W = (z) => {
18705
18711
  const Z = z?.toLowerCase() || "textfield";
18706
18712
  return we.value[Z] || we.value.textfield;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, A as t, B as i, b as r, c as n, d as l, e as c, f as p, g as d, C as m, h as u, i as S, j as h, k as C, l as F, m as T, D as g, n as b, o as w, p as D, q as x, r as B, s as M, t as P, E as R, u as v, v as f, w as y, x as z, y as I, z as A, F as E, L, G as V, H as k, I as N, M as G, J as O, N as Y, K as j, O as q, P as H, Q as K, R as U, S as _, T as J, U as Q, V as W, W as X, X as Z, Y as $, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ta, a3 as ia, a4 as ra, a5 as na, a6 as la, a7 as ca, a8 as pa, a9 as da, aa as ma, ab as ua, ac as Sa, ad as ha, ae as Ca, af as Fa, ag as Ta, ah as ga, ai as ba, aj as wa, ak as Da, al as xa, am as Ba, an as Ma, ao as Pa, ap as Ra, aq as va, ar as fa, as as ya, at as za, au as Ia, av as Aa, aw as Ea, ax as La, ay as Va, az as ka, aA as Na, aB as Ga, aC as Oa } from "./index-D58zg4KX.js";
1
+ import { a as o, A as t, B as i, b as r, c as n, d as l, e as c, f as p, g as d, C as m, h as u, i as S, j as h, k as C, l as F, m as T, D as g, n as b, o as w, p as D, q as x, r as B, s as M, t as P, E as R, u as v, v as f, w as y, x as z, y as I, z as A, F as E, L, G as V, H as k, I as N, M as G, J as O, N as Y, K as j, O as q, P as H, Q as K, R as U, S as _, T as J, U as Q, V as W, W as X, X as Z, Y as $, Z as aa, $ as sa, a0 as ea, a1 as oa, a2 as ta, a3 as ia, a4 as ra, a5 as na, a6 as la, a7 as ca, a8 as pa, a9 as da, aa as ma, ab as ua, ac as Sa, ad as ha, ae as Ca, af as Fa, ag as Ta, ah as ga, ai as ba, aj as wa, ak as Da, al as xa, am as Ba, an as Ma, ao as Pa, ap as Ra, aq as va, ar as fa, as as ya, at as za, au as Ia, av as Aa, aw as Ea, ax as La, ay as Va, az as ka, aA as Na, aB as Ga, aC as Oa } from "./index-DKHnPoqs.js";
2
2
  import "vue";
3
3
  export {
4
4
  o as AppBar,