@appmax_npm/ds-prime 1.0.0-alpha.95 → 1.0.0-alpha.96
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/{AmChip.vue_vue_type_script_setup_true_lang-DlW_YrX2.js → AmChip.vue_vue_type_script_setup_true_lang-BPqFN5gf.js} +1 -1
- package/{AmIcon.vue_vue_type_script_setup_true_lang-DkJ2sUVG.js → AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js} +6 -6
- package/{AmIconButton.vue_vue_type_script_setup_true_lang-Cberzybd.js → AmIconButton.vue_vue_type_script_setup_true_lang-aDLQIV2e.js} +1 -1
- package/{AmToaster.vue_vue_type_style_index_0_global_true_lang-CvLkShth.js → AmToaster.vue_vue_type_style_index_0_global_true_lang-BNejGF5E.js} +6 -6
- package/amalert/index.js +1 -1
- package/ambutton/index.js +1 -1
- package/amchip/index.js +1 -1
- package/amfilterlevel/index.js +3 -3
- package/amhelper/index.js +1 -1
- package/amicon/index.js +1 -1
- package/amiconbutton/index.js +1 -1
- package/amnotification/index.js +33 -31
- package/amplugins/index.js +1 -1
- package/amtoaster/index.js +1 -1
- package/css/index.css +1 -1
- package/package.json +1 -1
|
@@ -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
2
|
import { _ as p } from "./AmText.vue_vue_type_script_setup_true_lang-BMNozCVT.js";
|
|
3
|
-
import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
4
4
|
const f = { class: "p-1" }, d = { name: "AmChip" }, b = /* @__PURE__ */ r({
|
|
5
5
|
...d,
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 B, withCtx as l, createTextVNode as A, toDisplayString as T } 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-sm overflow-hidden", {
|
|
4
|
+
const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-sm overflow-hidden contents", {
|
|
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-sm overflo
|
|
|
13
13
|
"2xl": "text-[2rem]"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
}), f = (
|
|
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"),
|
|
@@ -311,13 +311,13 @@ const E = N("material-symbols-outlined am-icon h-auto w-[1em] rounded-sm overflo
|
|
|
311
311
|
class: {},
|
|
312
312
|
style: {}
|
|
313
313
|
},
|
|
314
|
-
setup(
|
|
315
|
-
const
|
|
316
|
-
const t = e(
|
|
314
|
+
setup(r) {
|
|
315
|
+
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(() => {
|
|
316
|
+
const t = e(o.icon) || i;
|
|
317
317
|
return typeof t != "function" ? t : c(t);
|
|
318
318
|
});
|
|
319
319
|
return (t, L) => (M(), G(S(a.value), {
|
|
320
|
-
class: C(B(f)(
|
|
320
|
+
class: C(B(f)(o, o.class))
|
|
321
321
|
}, {
|
|
322
322
|
default: l(() => [
|
|
323
323
|
A(T(t.icon), 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ } from "./AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
4
4
|
const a = { name: "AmIconButton" }, f = /* @__PURE__ */ e({
|
|
5
5
|
...a,
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as d, computed as i, openBlock as n, createElementBlock as v, createBlock as c, normalizeClass as l, createCommentVNode as m, createElementVNode as
|
|
1
|
+
import { defineComponent as d, computed as i, openBlock as n, createElementBlock as v, createBlock as c, normalizeClass as l, createCommentVNode as m, createElementVNode as g, withCtx as s, createTextVNode as u, toDisplayString as p, createVNode as y, 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-
|
|
3
|
+
import { _ as C } from "./AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
4
4
|
import { _ } from "./AmText.vue_vue_type_script_setup_true_lang-BMNozCVT.js";
|
|
5
5
|
const f = {
|
|
6
6
|
info: {
|
|
@@ -39,10 +39,10 @@ const f = {
|
|
|
39
39
|
return (e, h) => (n(), v("div", k, [
|
|
40
40
|
r.value ? (n(), c(C, {
|
|
41
41
|
key: 0,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
icon: r.value,
|
|
43
|
+
class: l(t.value)
|
|
44
44
|
}, null, 8, ["icon", "class"])) : m("", !0),
|
|
45
|
-
|
|
45
|
+
g("div", null, [
|
|
46
46
|
e.title ? (n(), c(_, {
|
|
47
47
|
key: 0,
|
|
48
48
|
class: l(t.value),
|
|
@@ -65,7 +65,7 @@ const f = {
|
|
|
65
65
|
}), A = /* @__PURE__ */ d({
|
|
66
66
|
__name: "AmToaster",
|
|
67
67
|
setup(a) {
|
|
68
|
-
return (o, r) => (n(), c(
|
|
68
|
+
return (o, r) => (n(), c(x(w), null, {
|
|
69
69
|
message: s(({ message: t }) => [
|
|
70
70
|
y(N, {
|
|
71
71
|
type: t.severity === "warn" ? "warning" : t.severity,
|
package/amalert/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent as w, computed as _, openBlock as o, createElementBlock
|
|
|
2
2
|
import { cva as z } from "class-variance-authority";
|
|
3
3
|
import { twMerge as C } from "tailwind-merge";
|
|
4
4
|
import { _ as f } from "../AmText.vue_vue_type_script_setup_true_lang-BMNozCVT.js";
|
|
5
|
-
import { _ as u } from "../AmIcon.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as u } from "../AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
6
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: {
|
package/ambutton/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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";
|
|
2
2
|
import P from "primevue/button";
|
|
3
|
-
import { _ as l } from "../AmIcon.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as l } from "../AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
4
4
|
import { _ as I } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const C = /* @__PURE__ */ f({
|
|
6
6
|
__name: "AmButton",
|
package/amchip/index.js
CHANGED
package/amfilterlevel/index.js
CHANGED
|
@@ -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 l, createElementVNode as d, createTextVNode as m, toDisplayString as C, 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-
|
|
3
|
+
import { _ as ee } from "../AmChip.vue_vue_type_script_setup_true_lang-BPqFN5gf.js";
|
|
4
4
|
import { _ as L } from "../AmText.vue_vue_type_script_setup_true_lang-BMNozCVT.js";
|
|
5
5
|
import _ from "../ambutton/index.js";
|
|
6
|
-
import { _ as te } from "../AmIcon.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as B } from "../AmIconButton.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as te } from "../AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
7
|
+
import { _ as B } from "../AmIconButton.vue_vue_type_script_setup_true_lang-aDLQIV2e.js";
|
|
8
8
|
const g = (t) => new Date(t), $ = (t) => g(t).toLocaleDateString("pt-BR"), ae = ([t, a]) => g(t).getDate() === g(a).getDate(), se = (t, a) => {
|
|
9
9
|
if (!a || !Array.isArray(a)) return "";
|
|
10
10
|
const [r, o] = a;
|
package/amhelper/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
+
import { _ } from "../AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.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(
|
package/amicon/index.js
CHANGED
package/amiconbutton/index.js
CHANGED
package/amnotification/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, computed as g, openBlock as n, createElementBlock as _, normalizeClass as v, unref as w, createElementVNode as o, createVNode as x, createBlock as i, withCtx as r, createTextVNode as c, toDisplayString as d, createCommentVNode as l, renderSlot as m } from "vue";
|
|
2
2
|
import { _ as f } from "../AmText.vue_vue_type_script_setup_true_lang-BMNozCVT.js";
|
|
3
|
-
import { _ as N } from "../AmIcon.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { cva as
|
|
5
|
-
import { twMerge as
|
|
6
|
-
const
|
|
3
|
+
import { _ as N } from "../AmIcon.vue_vue_type_script_setup_true_lang-Dk1QpKRp.js";
|
|
4
|
+
import { cva as y } from "class-variance-authority";
|
|
5
|
+
import { twMerge as $ } from "tailwind-merge";
|
|
6
|
+
const b = y("am-notification flex rounded items-center px-4 py-3 gap-4", {
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
9
|
-
warn: "bg-
|
|
9
|
+
warn: "bg-warning-100 text-warn-800",
|
|
10
10
|
danger: "bg-danger-100 text-danger-800",
|
|
11
11
|
info: "bg-primary-100 text-primary-800",
|
|
12
12
|
success: "bg-success-100 text-success-800"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
}),
|
|
16
|
-
...
|
|
15
|
+
}), h = (a, s) => $(b(a), s), k = { class: "pt-1.5 mb-auto" }, P = { class: "sm:flex flex-grow items-center space-y-4 gap-4" }, C = { class: "flex-grow" }, T = { name: "AmNotification" }, z = /* @__PURE__ */ u({
|
|
16
|
+
...T,
|
|
17
17
|
props: {
|
|
18
18
|
title: {},
|
|
19
19
|
message: {},
|
|
@@ -28,40 +28,42 @@ const k = b("am-notification flex items-start flex-col !sm:flex-row sm:items-cen
|
|
|
28
28
|
warn: "warning",
|
|
29
29
|
success: "check",
|
|
30
30
|
info: "info"
|
|
31
|
-
}, e = a,
|
|
32
|
-
return (t,
|
|
33
|
-
class: v(w(
|
|
31
|
+
}, e = a, p = g(() => e.icon || s[e.variant] || "warning");
|
|
32
|
+
return (t, V) => (n(), _("div", {
|
|
33
|
+
class: v(w(h)(e, e.class))
|
|
34
34
|
}, [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}, [
|
|
45
|
-
t.title ? (o(), n(f, {
|
|
35
|
+
o("div", k, [
|
|
36
|
+
x(N, {
|
|
37
|
+
icon: p.value,
|
|
38
|
+
"data-test": `${t.dataTestPrefix}-icon`
|
|
39
|
+
}, null, 8, ["icon", "data-test"])
|
|
40
|
+
]),
|
|
41
|
+
o("div", P, [
|
|
42
|
+
o("div", C, [
|
|
43
|
+
t.title ? (n(), i(f, {
|
|
46
44
|
key: 0,
|
|
47
45
|
variant: "subtitle",
|
|
46
|
+
"data-test": `${t.dataTestPrefix}-title`,
|
|
48
47
|
"is-strong": ""
|
|
49
48
|
}, {
|
|
50
49
|
default: r(() => [
|
|
51
|
-
c(
|
|
50
|
+
c(d(t.title), 1)
|
|
52
51
|
]),
|
|
53
52
|
_: 1
|
|
54
|
-
})) :
|
|
55
|
-
t.message ? (
|
|
53
|
+
}, 8, ["data-test"])) : l("", !0),
|
|
54
|
+
t.message ? (n(), i(f, {
|
|
55
|
+
key: 1,
|
|
56
|
+
"data-test": `${t.dataTestPrefix}-message`
|
|
57
|
+
}, {
|
|
56
58
|
default: r(() => [
|
|
57
|
-
c(
|
|
59
|
+
c(d(t.message), 1)
|
|
58
60
|
]),
|
|
59
61
|
_: 1
|
|
60
|
-
})) :
|
|
61
|
-
|
|
62
|
-
],
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
}, 8, ["data-test"])) : l("", !0),
|
|
63
|
+
m(t.$slots, "default")
|
|
64
|
+
]),
|
|
65
|
+
m(t.$slots, "action")
|
|
66
|
+
])
|
|
65
67
|
], 2));
|
|
66
68
|
}
|
|
67
69
|
});
|
package/amplugins/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as o, createBlock as n } from "vue";
|
|
2
|
-
import { _ as r } from "../AmToaster.vue_vue_type_style_index_0_global_true_lang-
|
|
2
|
+
import { _ as r } from "../AmToaster.vue_vue_type_style_index_0_global_true_lang-BNejGF5E.js";
|
|
3
3
|
const p = /* @__PURE__ */ e({
|
|
4
4
|
__name: "AmPlugins",
|
|
5
5
|
setup(t) {
|
package/amtoaster/index.js
CHANGED