@appmax_npm/ds-prime 1.0.0-alpha.126 → 1.0.0-alpha.128

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.
Files changed (45) hide show
  1. package/{AmChip.vue_vue_type_script_setup_true_lang-B785Ee5w.js → AmChip.vue_vue_type_script_setup_true_lang-DZW9gX7g.js} +3 -3
  2. package/{AmFieldWrapper.vue_vue_type_script_setup_true_lang-CHiIVXxd.js → AmFieldWrapper.vue_vue_type_script_setup_true_lang-D31AJx8I.js} +5 -5
  3. package/{AmFilterLevelDateSelect-D_Kopf7d.js → AmFilterLevelDateSelect-BbVyzCa5.js} +2 -2
  4. package/{AmFilterLevelMultiSelectFilter-C2a59rp0.js → AmFilterLevelMultiSelectFilter-CPxxHU90.js} +1 -1
  5. package/{AmFilterLevelSelectFilter-4xhey_Sb.js → AmFilterLevelSelectFilter-Be3LFJno.js} +2 -2
  6. package/{AmHelper.vue_vue_type_script_setup_true_lang-CWR0uEg8.js → AmHelper.vue_vue_type_script_setup_true_lang-2ReHtPw5.js} +5 -5
  7. package/{AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js → AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js} +22 -18
  8. package/{AmIconButton.vue_vue_type_script_setup_true_lang-DccZBZfm.js → AmIconButton.vue_vue_type_script_setup_true_lang-Cd1siBVe.js} +6 -6
  9. package/{AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js → AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js} +2 -2
  10. package/{AmToaster.vue_vue_type_style_index_0_global_true_lang-Bj-L1gcF.js → AmToaster.vue_vue_type_style_index_0_global_true_lang-BKT_03l_.js} +15 -15
  11. package/amalert/index.js +6 -6
  12. package/ambutton/index.d.ts +2 -1
  13. package/ambutton/index.js +14 -14
  14. package/amchip/index.js +1 -1
  15. package/amdatefilter/index.d.ts +1 -1
  16. package/amdatefilter/index.js +12 -12
  17. package/amfield/index.d.ts +1 -1
  18. package/amfield/index.js +1 -1
  19. package/amfieldwrapper/index.js +1 -1
  20. package/amfilterlevel/index.js +8 -8
  21. package/amhelper/index.js +1 -1
  22. package/amicon/index.d.ts +2 -2
  23. package/amicon/index.js +1 -1
  24. package/amiconbutton/index.js +1 -1
  25. package/amlink/index.d.ts +25 -0
  26. package/amlink/index.js +21 -0
  27. package/amnotification/index.js +15 -15
  28. package/amplugins/index.js +1 -1
  29. package/amradiooptions/index.js +11 -11
  30. package/amtabs/index.js +6 -6
  31. package/amtext/index.js +1 -1
  32. package/amtoaster/index.js +1 -1
  33. package/css/index.css +1 -0
  34. package/max_brand-Crj-SFUw.js +29 -0
  35. package/max_brand_active-BIkS5qkP.js +27 -0
  36. package/max_brand_negative-BxvdIegN.js +30 -0
  37. package/package.json +8 -9
  38. package/shield-DS-Xf4WH.js +15 -0
  39. package/{home-Dhq8AWYs.js → solid_home-BDUiJDVY.js} +5 -5
  40. package/{leaderboard--E-p1jdl.js → solid_leaderboard-DtqK7q9Y.js} +7 -7
  41. package/{store-CO0p87iW.js → solid_store-Cfv6o4b8.js} +2 -2
  42. package/tailwind/index.d.ts +3 -5
  43. package/tailwind/index.js +1 -3
  44. package/shield-DZZu5bbE.js +0 -18
  45. /package/{help-DNaqfgoc.js → solid_help-DNaqfgoc.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, openBlock as c, createBlock as a, withCtx as i, createElementVNode as e, renderSlot as m, createVNode as l } from "vue";
2
- import { _ as p } from "./AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
3
- import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
2
+ import { _ as p } from "./AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
3
+ import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
4
4
  const f = { class: "p-1" }, d = { name: "AmChip" }, b = /* @__PURE__ */ r({
5
5
  ...d,
6
6
  props: {
@@ -13,7 +13,7 @@ const f = { class: "p-1" }, d = { name: "AmChip" }, b = /* @__PURE__ */ r({
13
13
  const t = o, s = () => t("remove");
14
14
  return (n, v) => (c(), a(p, {
15
15
  variant: "caption",
16
- class: "inline-flex items-center px-1 bg-surface-200 rounded-sm"
16
+ class: "inline-flex items-center px-1 bg-surface-200 rounded"
17
17
  }, {
18
18
  default: i(() => [
19
19
  e("span", f, [
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as c, computed as h, openBlock as t, createElementBlock as p, normalizeClass as f, createElementVNode as u, createBlock as s, withCtx as r, toDisplayString as a, createCommentVNode as l, createTextVNode as n, renderSlot as b } from "vue";
2
- import { _ as o } from "./AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
3
- const y = ["data-test"], g = { class: "flex items-end gap-2 justify-between" }, k = ["data-test"], T = ["data-test"], $ = { name: "AmFieldWrapper" }, x = /* @__PURE__ */ c({
2
+ import { _ as o } from "./AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
3
+ const y = ["data-test"], g = { class: "flex items-end gap-2 justify-between" }, k = ["data-test"], T = ["data-test"], $ = { name: "AmFieldWrapper" }, v = /* @__PURE__ */ c({
4
4
  ...$,
5
5
  props: {
6
6
  dataTestPrefix: {},
@@ -27,7 +27,7 @@ const y = ["data-test"], g = { class: "flex items-end gap-2 justify-between" },
27
27
  e.labelHint ? (t(), p("span", {
28
28
  key: 0,
29
29
  "data-test": `${e.dataTestPrefix}-label-hint`,
30
- class: "text-xs text-[var(--p-text-muted-color)]"
30
+ class: "text-xs text-muted-color"
31
31
  }, " (" + a(e.labelHint) + ")", 9, T)) : l("", !0)
32
32
  ]),
33
33
  _: 1
@@ -58,7 +58,7 @@ const y = ["data-test"], g = { class: "flex items-end gap-2 justify-between" },
58
58
  }, 8, ["data-test"])) : e.help ? (t(), s(o, {
59
59
  key: 1,
60
60
  "data-test": `${e.dataTestPrefix}-help-text`,
61
- class: "text-[var(--p-text-muted-color)]",
61
+ class: "text-muted-color",
62
62
  size: "small"
63
63
  }, {
64
64
  default: r(() => [
@@ -70,5 +70,5 @@ const y = ["data-test"], g = { class: "flex items-end gap-2 justify-between" },
70
70
  }
71
71
  });
72
72
  export {
73
- x as _
73
+ v as _
74
74
  };
@@ -18,7 +18,7 @@ const V = { class: "flex w-full justify-center" }, x = { name: "AmFilterLevelDat
18
18
  setup(e) {
19
19
  const l = e, t = n(e, "modelValue"), o = {
20
20
  day: {
21
- class: "w-auto! h-auto! aspect-square! max-h-[2.5rem]!",
21
+ class: "!w-auto !h-auto !aspect-square !max-h-[2.5rem]",
22
22
  "data-test": `${l.dataTestPrefix}-day`
23
23
  }
24
24
  };
@@ -28,7 +28,7 @@ const V = { class: "flex w-full justify-center" }, x = { name: "AmFilterLevelDat
28
28
  modelValue: t.value,
29
29
  "onUpdate:modelValue": a[0] || (a[0] = (s) => t.value = s),
30
30
  pt: o,
31
- class: "w-full max-w-[37.5rem]!",
31
+ class: "w-full !max-w-[37.5rem]",
32
32
  selectionMode: "range",
33
33
  dataTest: d.dataTestPrefix
34
34
  }, null, 8, ["modelValue", "dataTest"])
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, mergeModels as u, useModel as p, openBlock as a, createElementBlock as l, Fragment as f, renderList as c, createVNode as d, unref as v, withCtx as V, createTextVNode as $, toDisplayString as _ } from "vue";
2
- import { _ as b } from "./AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
2
+ import { _ as b } from "./AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
3
3
  import g from "primevue/checkbox";
4
4
  const y = { class: "space-y-2 divide-y divide-gray-200" }, h = ["data-test", "for"], k = { name: "AmFilterLevelMultiSelectFilter" }, F = /* @__PURE__ */ i({
5
5
  ...k,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, mergeModels as f, ref as V, useModel as v, onMounted as _, openBlock as o, createElementBlock as n, Fragment as $, renderList as h, createVNode as u, unref as b, withCtx as g, createTextVNode as y, toDisplayString as M } from "vue";
2
- import { _ as k } from "./AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
2
+ import { _ as k } from "./AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
3
3
  import x from "primevue/checkbox";
4
4
  const C = { class: "space-y-2 divide-y divide-gray-200" }, P = ["data-test", "for"], T = { name: "AmFilterLevelSelectFilter" }, I = /* @__PURE__ */ p({
5
5
  ...T,
@@ -31,7 +31,7 @@ const C = { class: "space-y-2 divide-y divide-gray-200" }, P = ["data-test", "fo
31
31
  _(() => s(d.value));
32
32
  const c = {
33
33
  box: {
34
- class: "rounded-full!"
34
+ class: "!rounded-full"
35
35
  }
36
36
  };
37
37
  return (e, t) => (o(), n("div", C, [
@@ -1,10 +1,10 @@
1
- import { defineComponent as r, computed as s, openBlock as n, createElementBlock as p, createVNode as l, withCtx as c, createElementVNode as m, normalizeClass as d, unref as f } from "vue";
1
+ import { defineComponent as r, computed as s, openBlock as n, createElementBlock as c, createVNode as l, withCtx as p, createElementVNode as m, normalizeClass as d, unref as f } from "vue";
2
2
  import { _ as u } from "./AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v.js";
3
- import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
3
+ import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
4
4
  import { cva as x } from "class-variance-authority";
5
5
  import { twMerge as v } from "tailwind-merge";
6
6
  const h = x(
7
- "bg-surface-100 text-[var(--p-text-color)] rounded-full flex items-center justify-center",
7
+ "bg-surface-100 text-color rounded-full flex items-center justify-center",
8
8
  {
9
9
  variants: {
10
10
  size: {
@@ -29,13 +29,13 @@ const h = x(
29
29
  },
30
30
  setup(o) {
31
31
  const t = o, e = s(() => t.text || t.tooltipText), i = s(() => !!e.value);
32
- return (a, z) => (n(), p("div", T, [
32
+ return (a, z) => (n(), c("div", T, [
33
33
  l(u, {
34
34
  showTooltip: i.value,
35
35
  tooltipPosition: a.tooltipPosition,
36
36
  tooltipText: e.value
37
37
  }, {
38
- default: c(() => [
38
+ default: p(() => [
39
39
  m("div", {
40
40
  class: d(f(w)({ ...t, disabled: !i.value }, t.class))
41
41
  }, [
@@ -1,7 +1,7 @@
1
- import { defineComponent as n, computed as s, defineAsyncComponent as c, openBlock as M, createBlock as G, resolveDynamicComponent as S, normalizeClass as C, unref as l, withCtx as B, createTextVNode as A, toDisplayString as T } from "vue";
1
+ import { defineComponent as s, computed as c, defineAsyncComponent as M, openBlock as l, createBlock as G, resolveDynamicComponent as S, normalizeClass as C, unref as B, withCtx as A, createTextVNode as T, toDisplayString as d } from "vue";
2
2
  import { cva as N } from "class-variance-authority";
3
3
  import { twMerge as I } from "tailwind-merge";
4
- const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-xs overflow-hidden", {
4
+ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-sm overflow-hidden", {
5
5
  variants: {
6
6
  size: {
7
7
  none: "",
@@ -13,7 +13,7 @@ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-xs overflo
13
13
  "2xl": "text-[2rem]"
14
14
  }
15
15
  }
16
- }), d = (r, o) => I(E(r), o), m = {
16
+ }), f = (r, o) => I(E(r), o), m = {
17
17
  affiliate: () => import("./affiliate-Bgt9fadK.js"),
18
18
  amex: () => import("./amex-CvNwRHhS.js"),
19
19
  apple_pay: () => import("./apple_pay-DtsAzVjF.js"),
@@ -30,21 +30,21 @@ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-xs overflo
30
30
  elo: () => import("./elo-BaNbqhYS.js"),
31
31
  gear: () => import("./gear-BHOWpd7b.js"),
32
32
  grid: () => import("./grid-B7I0mWry.js"),
33
- help: () => import("./help-DNaqfgoc.js"),
34
33
  hipercard: () => import("./hipercard-DBsszwxC.js"),
35
- home: () => import("./home-Dhq8AWYs.js"),
36
34
  infos: () => import("./infos-8KGPLXoE.js"),
37
- leaderboard: () => import("./leaderboard--E-p1jdl.js"),
38
35
  logs: () => import("./logs-Ce3fZY0v.js"),
39
36
  maestro: () => import("./maestro-BMomgHxO.js"),
40
37
  mastercard: () => import("./mastercard-5I-dcOVV.js"),
41
38
  money: () => import("./money-DZpB5eTf.js"),
42
39
  notification: () => import("./notification-DMezLtAj.js"),
43
40
  paypal: () => import("./paypal-DMYjfEw0.js"),
44
- pix: () => import("./pix-DXdX91yj.js"),
45
41
  pix_outline: () => import("./pix_outline-D_xXXgCN.js"),
46
- shield: () => import("./shield-DZZu5bbE.js"),
47
- store: () => import("./store-CO0p87iW.js"),
42
+ pix: () => import("./pix-DXdX91yj.js"),
43
+ shield: () => import("./shield-DS-Xf4WH.js"),
44
+ solid_help: () => import("./solid_help-DNaqfgoc.js"),
45
+ solid_home: () => import("./solid_home-BDUiJDVY.js"),
46
+ solid_leaderboard: () => import("./solid_leaderboard-DtqK7q9Y.js"),
47
+ solid_store: () => import("./solid_store-Cfv6o4b8.js"),
48
48
  ticket_icon: () => import("./ticket_icon-DwvyLm7c.js"),
49
49
  user: () => import("./user-BRpwqYx8.js"),
50
50
  visa: () => import("./visa-tPjWcMbi.js")
@@ -304,7 +304,11 @@ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-xs overflo
304
304
  ZA: () => import("./ZA-BjQXS8mc.js"),
305
305
  ZM: () => import("./ZM-Dw0PmMTO.js"),
306
306
  ZW: () => import("./ZW-D0UStZMr.js")
307
- }, i = "i", R = /* @__PURE__ */ n({
307
+ }, e = {
308
+ max_brand_active: () => import("./max_brand_active-BIkS5qkP.js"),
309
+ max_brand_negative: () => import("./max_brand_negative-BxvdIegN.js"),
310
+ max_brand: () => import("./max_brand-Crj-SFUw.js")
311
+ }, i = "i", _ = /* @__PURE__ */ s({
308
312
  __name: "AmIcon",
309
313
  props: {
310
314
  icon: {},
@@ -314,20 +318,20 @@ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-xs overflo
314
318
  style: {}
315
319
  },
316
320
  setup(r) {
317
- const o = r, e = (t) => o.variant === "material" ? i : o.variant === "svg" ? m[t] : o.variant === "flag" ? p[t] : m[t] || p[t] || i, a = s(() => {
318
- const t = e(o.icon) || i;
319
- return typeof t != "function" ? t : c(t);
321
+ const o = r, a = (t) => o.variant === "material" ? i : o.variant === "svg" ? m[t] : o.variant === "flag" ? p[t] : o.variant === "logo" ? e[t] : m[t] || p[t] || e[t] || i, n = c(() => {
322
+ const t = a(o.icon) || i;
323
+ return typeof t != "function" ? t : M(t);
320
324
  });
321
- return (t, f) => (M(), G(S(a.value), {
322
- class: C(l(d)(o, o.class))
325
+ return (t, u) => (l(), G(S(n.value), {
326
+ class: C(B(f)(o, o.class))
323
327
  }, {
324
- default: B(() => [
325
- A(T(t.icon), 1)
328
+ default: A(() => [
329
+ T(d(t.icon), 1)
326
330
  ]),
327
331
  _: 1
328
332
  }, 8, ["class"]));
329
333
  }
330
334
  });
331
335
  export {
332
- R as _
336
+ _
333
337
  };
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as e, openBlock as t, createBlock as n, withCtx as r, createVNode as c } from "vue";
2
2
  import s from "./ambutton/index.js";
3
- import { _ as m } from "./AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
3
+ import { _ as a } from "./AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
4
4
  const _ = { name: "AmIconButton" }, f = /* @__PURE__ */ e({
5
5
  ..._,
6
6
  props: {
7
7
  icon: {}
8
8
  },
9
- setup(a) {
10
- return (o, i) => (t(), n(s, {
9
+ setup(i) {
10
+ return (o, m) => (t(), n(s, {
11
11
  severity: "secondary",
12
- "rounded-sm": "",
12
+ rounded: "",
13
13
  size: "small",
14
14
  text: "",
15
- class: "p-2!"
15
+ class: "!p-0 aspect-square"
16
16
  }, {
17
17
  default: r(() => [
18
- c(m, { icon: o.icon }, null, 8, ["icon"])
18
+ c(a, { icon: o.icon }, null, 8, ["icon"])
19
19
  ]),
20
20
  _: 1
21
21
  }));
@@ -2,11 +2,11 @@ import { defineComponent as e, openBlock as o, createBlock as l, resolveDynamicC
2
2
  import { cva as c } from "class-variance-authority";
3
3
  import { twMerge as f } from "tailwind-merge";
4
4
  const u = c(
5
- "am-text font-normal text-[var(--p-text-color)] text-base [&strong]:font-bold [&>strong]:font-bold",
5
+ "am-text font-normal text-color text-base [&strong]:font-bold [&>strong]:font-bold",
6
6
  {
7
7
  variants: {
8
8
  variant: {
9
- caption: "text-xs text-[var(--p-text-muted-color)] font-medium",
9
+ caption: "text-xs text-muted-color font-medium",
10
10
  body: "text-sm [&strong]:font-medium [&>strong]:font-medium [&p]text-base",
11
11
  subtitle: "",
12
12
  title: "text-2xl",
@@ -1,7 +1,7 @@
1
- import { defineComponent as v, computed as i, openBlock as n, createElementBlock as x, createElementVNode as l, createBlock as c, normalizeClass as m, createCommentVNode as u, withCtx as a, createTextVNode as p, toDisplayString as _, createVNode as y, unref as g } from "vue";
1
+ import { defineComponent as y, computed as i, openBlock as n, createElementBlock as g, createElementVNode as l, createBlock as c, normalizeClass as m, createCommentVNode as u, withCtx as s, createTextVNode as p, toDisplayString as _, createVNode as v, unref as x } from "vue";
2
2
  import w from "primevue/toast";
3
- import { _ as C } from "./AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
4
- import { _ as f } from "./AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
3
+ import { _ as C } from "./AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
4
+ import { _ as f } from "./AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
5
5
  const d = {
6
6
  info: {
7
7
  icon: "info",
@@ -19,7 +19,7 @@ const d = {
19
19
  icon: "error",
20
20
  color: "text-error-600"
21
21
  }
22
- }, k = { class: "flex gap-2 w-full" }, N = /* @__PURE__ */ v({
22
+ }, k = { class: "flex gap-2 w-full" }, N = /* @__PURE__ */ y({
23
23
  __name: "AmToasterContent",
24
24
  props: {
25
25
  message: {},
@@ -28,15 +28,15 @@ const d = {
28
28
  duration: {},
29
29
  type: {}
30
30
  },
31
- setup(s) {
32
- const o = s, r = i(() => {
31
+ setup(a) {
32
+ const o = a, r = i(() => {
33
33
  var e;
34
34
  return o.icon || ((e = d[o.type]) == null ? void 0 : e.icon) || "info";
35
35
  }), t = i(() => {
36
36
  var e;
37
37
  return (e = d[o.type]) == null ? void 0 : e.color;
38
38
  });
39
- return (e, h) => (n(), x("div", k, [
39
+ return (e, h) => (n(), g("div", k, [
40
40
  l("div", null, [
41
41
  r.value ? (n(), c(C, {
42
42
  key: 0,
@@ -50,13 +50,13 @@ const d = {
50
50
  class: m(t.value),
51
51
  variant: "subtitle"
52
52
  }, {
53
- default: a(() => [
53
+ default: s(() => [
54
54
  p(_(e.title), 1)
55
55
  ]),
56
56
  _: 1
57
57
  }, 8, ["class"])) : u("", !0),
58
- y(f, { class: "text-[var(--p-text-muted-color)]" }, {
59
- default: a(() => [
58
+ v(f, { class: "text-muted-color" }, {
59
+ default: s(() => [
60
60
  p(_(e.message), 1)
61
61
  ]),
62
62
  _: 1
@@ -64,12 +64,12 @@ const d = {
64
64
  ])
65
65
  ]));
66
66
  }
67
- }), A = /* @__PURE__ */ v({
67
+ }), A = /* @__PURE__ */ y({
68
68
  __name: "AmToaster",
69
- setup(s) {
70
- return (o, r) => (n(), c(g(w), null, {
71
- message: a(({ message: t }) => [
72
- y(N, {
69
+ setup(a) {
70
+ return (o, r) => (n(), c(x(w), null, {
71
+ message: s(({ message: t }) => [
72
+ v(N, {
73
73
  type: t.severity === "warn" ? "warning" : t.severity,
74
74
  title: t.summary,
75
75
  message: t.detail,
package/amalert/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as w, computed as _, openBlock as o, createElementBlock as l, normalizeClass as b, unref as y, createVNode as s, createElementVNode as h, renderSlot as n, withCtx as i, createTextVNode as c, toDisplayString as m, createBlock as k, createCommentVNode as d } from "vue";
2
2
  import { cva as z } from "class-variance-authority";
3
3
  import { twMerge as C } from "tailwind-merge";
4
- import { _ as f } from "../AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
5
- import { _ as u } from "../AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
6
- const V = z("w-fit bg-green-100 shadow-xs rounded-md p-3 flex flex-row gap-2", {
4
+ import { _ as f } from "../AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
5
+ import { _ as u } from "../AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
6
+ const V = z("w-fit bg-green-100 shadow-sm rounded-md p-3 flex flex-row gap-2", {
7
7
  variants: {
8
8
  variant: {
9
9
  error: "bg-red-100",
@@ -17,7 +17,7 @@ const V = z("w-fit bg-green-100 shadow-xs rounded-md p-3 flex flex-row gap-2", {
17
17
  closable: { true: "", false: "" }
18
18
  },
19
19
  compoundVariants: []
20
- }), x = (a, r) => C(V(a), r), S = {
20
+ }), S = (a, r) => C(V(a), r), x = {
21
21
  class: "flex flex-col gap-2 items-start",
22
22
  "data-test": "amalert-content"
23
23
  }, H = /* @__PURE__ */ w({
@@ -51,7 +51,7 @@ const V = z("w-fit bg-green-100 shadow-xs rounded-md p-3 flex flex-row gap-2", {
51
51
  p("close");
52
52
  };
53
53
  return (t, A) => (o(), l("div", {
54
- class: b([y(x)(e, e.class), "items-start"])
54
+ class: b([y(S)(e, e.class), "items-start"])
55
55
  }, [
56
56
  s(u, {
57
57
  variant: "material",
@@ -60,7 +60,7 @@ const V = z("w-fit bg-green-100 shadow-xs rounded-md p-3 flex flex-row gap-2", {
60
60
  size: "md",
61
61
  color: t.variant
62
62
  }, null, 8, ["icon", "color"]),
63
- h("div", S, [
63
+ h("div", x, [
64
64
  n(t.$slots, "titleSlot", {}, () => [
65
65
  s(f, {
66
66
  as: "div",
@@ -1,8 +1,9 @@
1
1
  import { AllowedComponentProps, Component, DefineComponent, VNode } from 'vue';
2
+ import { AmIconProps } from '../amicon';
2
3
 
3
4
  export interface AmButtonProps extends AllowedComponentProps {
4
5
  as?: string | Component;
5
- to?: string | Record<string, any>;
6
+ to?: string | { name: string; params?: Record<string, unknown> };
6
7
  label?: string;
7
8
  icon?: string;
8
9
  iconPos?: boolean;
package/ambutton/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, createPropsRestProxy as m, computed as n, openBlock as t, createBlock as a, unref as y, mergeProps as b, withCtx as B, createCommentVNode as i, createElementBlock as g, Fragment as v, createTextVNode as h, toDisplayString as z, renderSlot as k } from "vue";
1
+ import { defineComponent as f, createPropsRestProxy as m, computed as n, openBlock as t, createBlock as i, unref as y, mergeProps as b, withCtx as v, createCommentVNode as a, createElementBlock as B, Fragment as g, createTextVNode as h, toDisplayString as z, renderSlot as k } from "vue";
2
2
  import P from "primevue/button";
3
- import { _ as l } from "../AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
3
+ import { _ as l } from "../AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
4
4
  import { _ as I } from "../_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const C = /* @__PURE__ */ f({
6
6
  __name: "AmButton",
@@ -28,44 +28,44 @@ const C = /* @__PURE__ */ f({
28
28
  if (!e.disabled)
29
29
  return typeof e.to == "string" ? e.to : e.href;
30
30
  }), u = n(() => {
31
- if (!e.disabled)
31
+ if (!(e.disabled || e.href) && e.to)
32
32
  return e.to;
33
33
  }), c = n(() => e.as ? e.as : e.disabled ? "button" : e.to ? "router-link" : e.href ? "a" : "button"), p = n(() => e.disabled || e.loading), s = n(() => e.size === "small" ? "sm" : "md");
34
- return (o, S) => (t(), a(y(P), b(e, {
34
+ return (o, S) => (t(), i(y(P), b(e, {
35
35
  as: c.value,
36
36
  disabled: p.value,
37
37
  to: u.value,
38
38
  href: d.value,
39
39
  "data-loading": e.loading,
40
- class: { "px-3!": o.onlyIcon, "min-h-[39px]": o.size === "small", "min-h-[53px]": o.size === "large", "min-h-[46px]": o.size }
40
+ class: { "!px-3": o.onlyIcon, "min-h-[39px]": o.size === "small", "min-h-[53px]": o.size === "large", "min-h-[46px]": !o.size }
41
41
  }), {
42
- default: B(() => [
43
- e.loading ? (t(), a(l, {
42
+ default: v(() => [
43
+ e.loading ? (t(), i(l, {
44
44
  key: 0,
45
45
  "data-test": "button-loading",
46
46
  icon: "progress_activity",
47
47
  class: "animate-spin"
48
- })) : i("", !0),
49
- o.icon && !o.iconPos ? (t(), a(l, {
48
+ })) : a("", !0),
49
+ o.icon && !o.iconPos ? (t(), i(l, {
50
50
  key: 1,
51
51
  icon: o.icon,
52
52
  size: s.value,
53
53
  class: "inline-flex"
54
- }, null, 8, ["icon", "size"])) : i("", !0),
55
- o.label ? (t(), g(v, { key: 2 }, [
54
+ }, null, 8, ["icon", "size"])) : a("", !0),
55
+ o.label ? (t(), B(g, { key: 2 }, [
56
56
  h(z(o.label), 1)
57
57
  ], 64)) : k(o.$slots, "default", { key: 3 }, void 0, !0),
58
- o.icon && o.iconPos ? (t(), a(l, {
58
+ o.icon && o.iconPos ? (t(), i(l, {
59
59
  key: 4,
60
60
  icon: o.icon,
61
61
  size: s.value,
62
62
  class: "inline-flex"
63
- }, null, 8, ["icon", "size"])) : i("", !0)
63
+ }, null, 8, ["icon", "size"])) : a("", !0)
64
64
  ]),
65
65
  _: 3
66
66
  }, 16, ["as", "disabled", "to", "href", "data-loading", "class"]));
67
67
  }
68
- }), $ = /* @__PURE__ */ I(C, [["__scopeId", "data-v-30f543db"]]);
68
+ }), $ = /* @__PURE__ */ I(C, [["__scopeId", "data-v-03b5fa35"]]);
69
69
  export {
70
70
  $ as default
71
71
  };
package/amchip/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../AmChip.vue_vue_type_script_setup_true_lang-B785Ee5w.js";
1
+ import { _ as f } from "../AmChip.vue_vue_type_script_setup_true_lang-DZW9gX7g.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -11,4 +11,4 @@ export interface AmDateFilterEmits {}
11
11
 
12
12
  declare const AmDateFilter: DefineComponent<AmDateFilterProps, AmDateFilterEmits>;
13
13
 
14
- export default AmDateFilter;
14
+ export default AmDateFilter;
@@ -15,35 +15,35 @@ const P = /* @__PURE__ */ F({
15
15
  },
16
16
  emits: ["update:modelValue"],
17
17
  setup(p, { emit: f }) {
18
- const v = p, D = f, o = n(), r = n(), l = n(null), b = {
18
+ const v = p, b = f, o = n(), r = n(), l = n(null), D = {
19
19
  root: {
20
- class: "min-w-0! am-date-filter"
20
+ class: "!min-w-0 am-date-filter"
21
21
  },
22
22
  list: {
23
- class: "flex-row! p-0!"
23
+ class: "!flex-row !p-0"
24
24
  },
25
25
  item: {
26
26
  class: "w-full"
27
27
  },
28
28
  itemLink: {
29
- class: "px-[7px]! py-[5px]! hover:bg-[#EBE1FE] text-[#858585]! text-sm! min-h-[34px]! justify-center"
29
+ class: "!px-[7px] !py-[5px] hover:bg-[#EBE1FE] !text-[#858585] !text-sm !min-h-[34px] justify-center"
30
30
  },
31
31
  itemIcon: {
32
- class: "text-[#858585]! text-sm!"
32
+ class: "!text-[#858585] !text-sm"
33
33
  }
34
34
  }, E = {
35
35
  content: {
36
- class: "p-0!"
36
+ class: "!p-0"
37
37
  }
38
38
  }, k = {
39
39
  dayCell: {
40
- class: "p-0!"
40
+ class: "!p-0"
41
41
  },
42
42
  tableHeaderCell: {
43
- class: "p-0!"
43
+ class: "!p-0"
44
44
  },
45
45
  panel: {
46
- class: "p-0! border-none!"
46
+ class: "!p-0 !border-none"
47
47
  }
48
48
  }, y = B(() => [
49
49
  {
@@ -110,7 +110,7 @@ const P = /* @__PURE__ */ F({
110
110
  if (Array.isArray(e) && e.length === 2 && e[0] && e[1]) {
111
111
  (a = r.value) == null || a.hide();
112
112
  const c = e.map((x) => x.toISOString());
113
- D("update:modelValue", c);
113
+ b("update:modelValue", c);
114
114
  }
115
115
  }), u(
116
116
  () => v.defaultSelected,
@@ -122,7 +122,7 @@ const P = /* @__PURE__ */ F({
122
122
  i(d(V), {
123
123
  "data-test": "amdatefilter-toolbar",
124
124
  model: y.value,
125
- pt: b
125
+ pt: D
126
126
  }, null, 8, ["model"]),
127
127
  i(d(H), {
128
128
  "data-test": "amdatefilter-popover",
@@ -147,7 +147,7 @@ const P = /* @__PURE__ */ F({
147
147
  }, 512)
148
148
  ]));
149
149
  }
150
- }), M = /* @__PURE__ */ j(P, [["__scopeId", "data-v-4608e8f4"]]);
150
+ }), M = /* @__PURE__ */ j(P, [["__scopeId", "data-v-b02ffcb6"]]);
151
151
  export {
152
152
  M as default
153
153
  };
@@ -1,5 +1,5 @@
1
1
  import { Component, DefineComponent, VNode } from 'vue';
2
- import { AmFieldWrapperProps } from '../AmFieldWrapper';
2
+ import { AmFieldWrapperProps } from '../amfieldwrapper';
3
3
 
4
4
  export interface AmFieldProps extends AmFieldWrapperProps {
5
5
  as?: Component;
package/amfield/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, createPropsRestProxy as d, openBlock as t, createBlock as n, unref as m, withCtx as o, createVNode as p, resolveDynamicComponent as f, mergeProps as b } from "vue";
2
2
  import { _ as h } from "../AmInputText.vue_vue_type_script_setup_true_lang-DzkxGjuT.js";
3
- import { _ as u } from "../AmFieldWrapper.vue_vue_type_script_setup_true_lang-CHiIVXxd.js";
3
+ import { _ as u } from "../AmFieldWrapper.vue_vue_type_script_setup_true_lang-D31AJx8I.js";
4
4
  import { FormField as P } from "@primevue/forms";
5
5
  const c = { name: "AmField" }, B = /* @__PURE__ */ i({
6
6
  ...c,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../AmFieldWrapper.vue_vue_type_script_setup_true_lang-CHiIVXxd.js";
1
+ import { _ as f } from "../AmFieldWrapper.vue_vue_type_script_setup_true_lang-D31AJx8I.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as q, ref as E, computed as v, defineAsyncComponent as G, onMounted as H, watch as J, openBlock as f, createElementBlock as b, Fragment as x, createVNode as n, unref as F, withCtx as o, createElementVNode as d, createTextVNode as m, toDisplayString as _, renderList as K, createCommentVNode as I, createBlock as Q, resolveDynamicComponent as W, mergeProps as Z } from "vue";
2
2
  import N from "primevue/drawer";
3
- import { _ as ee } from "../AmChip.vue_vue_type_script_setup_true_lang-B785Ee5w.js";
4
- import { _ as L } from "../AmText.vue_vue_type_script_setup_true_lang-C4s-EMGe.js";
3
+ import { _ as ee } from "../AmChip.vue_vue_type_script_setup_true_lang-DZW9gX7g.js";
4
+ import { _ as L } from "../AmText.vue_vue_type_script_setup_true_lang-yjw50cPR.js";
5
5
  import C from "../ambutton/index.js";
6
- import { _ as te } from "../AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
7
- import { _ as B } from "../AmIconButton.vue_vue_type_script_setup_true_lang-DccZBZfm.js";
6
+ import { _ as te } from "../AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
7
+ import { _ as B } from "../AmIconButton.vue_vue_type_script_setup_true_lang-Cd1siBVe.js";
8
8
  import { _ as ae } from "../AmLoading.vue_vue_type_script_setup_true_lang-DjatXofa.js";
9
9
  const g = (t) => new Date(t), $ = (t) => g(t).toLocaleDateString("pt-BR"), se = ([t, a]) => g(t).getDate() === g(a).getDate(), oe = (t, a) => {
10
10
  if (!a || !Array.isArray(a)) return "";
@@ -24,15 +24,15 @@ const g = (t) => new Date(t), $ = (t) => g(t).toLocaleDateString("pt-BR"), se =
24
24
  return r;
25
25
  }, k = {
26
26
  date: {
27
- component: () => import("../AmFilterLevelDateSelect-D_Kopf7d.js"),
27
+ component: () => import("../AmFilterLevelDateSelect-BbVyzCa5.js"),
28
28
  formatChipLabel: oe
29
29
  },
30
30
  multiselect: {
31
- component: () => import("../AmFilterLevelMultiSelectFilter-C2a59rp0.js"),
31
+ component: () => import("../AmFilterLevelMultiSelectFilter-CPxxHU90.js"),
32
32
  formatChipLabel: le
33
33
  },
34
34
  select: {
35
- component: () => import("../AmFilterLevelSelectFilter-4xhey_Sb.js"),
35
+ component: () => import("../AmFilterLevelSelectFilter-Be3LFJno.js"),
36
36
  formatChipLabel: ne
37
37
  }
38
38
  }, re = () => "Selecionado", ie = ({ component: t }) => typeof t == "string" ? Object.keys(k).includes(t) ? k[t].component : null : t, ue = (t) => t.formatChipLabel ? t.formatChipLabel : typeof t.component != "string" ? re : k[t.component].formatChipLabel, ce = { class: "flex justify-between w-full" }, de = {
@@ -115,7 +115,7 @@ const g = (t) => new Date(t), $ = (t) => g(t).toLocaleDateString("pt-BR"), se =
115
115
  d("hr", null, null, -1)
116
116
  ]))) : I("", !0),
117
117
  n(C, {
118
- class: "flex rounded-none! w-full px-6!",
118
+ class: "flex !rounded-none w-full !px-6",
119
119
  severity: "secondary",
120
120
  text: "",
121
121
  onClick: (U) => R(A),
package/amhelper/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../AmHelper.vue_vue_type_script_setup_true_lang-CWR0uEg8.js";
1
+ import { _ as f } from "../AmHelper.vue_vue_type_script_setup_true_lang-2ReHtPw5.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/amicon/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { AllowedComponentProps, DefineComponent, VNode } from 'vue';
2
2
 
3
3
  export interface AmIconProps extends AllowedComponentProps {
4
4
  icon: string;
5
- size?: 'none' | 'xs'| 'sm' | 'md' | 'lg' | 'xl' | '2xl';
6
- variant?: 'material' | 'svg' | 'flag';
5
+ size?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
6
+ variant?: 'material' | 'svg' | 'flag' | 'logo';
7
7
  class?: string;
8
8
  }
9
9
 
package/amicon/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../AmIcon.vue_vue_type_script_setup_true_lang-Bpw7SkTq.js";
1
+ import { _ as f } from "../AmIcon.vue_vue_type_script_setup_true_lang-DFF6_qd4.js";
2
2
  export {
3
3
  f as default
4
4
  };