@grapadigital/shared-app-modules 0.0.129 → 0.0.130

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.
@@ -1,10 +1,9 @@
1
- import { a as b, c, B as M, ap as k, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as A, X as P } from "./chuncks/switch.BgkPsd63.js";
2
- import { j as de, k as ge, o as xe, p as be, t as me, F as he, q as fe, r as pe, u as ue, s as ye, v as we, I as Ne, l as ke, P as ve, e as Ce, f as Ie, g as ze, h as Se, m as Fe, n as Me } from "./chuncks/field-textarea.component.BW5BUAih.js";
3
- import { jsx as e, jsxs as o, Fragment as j } from "react/jsx-runtime";
1
+ import { a as b, c, B as M, ap as k, aq as v, ar as C, P as T, Q as H, W as y, V as _, R as A, X as j } from "./chuncks/switch.BgkPsd63.js";
2
+ import { k as de, l as ge, p as xe, q as be, u as me, F as he, r as fe, s as pe, v as ue, t as ye, w as we, I as Ne, m as ke, x as ve, L as Ce, P as Ie, f as ze, g as Se, h as Fe, j as Me, y as Te, n as He, o as _e, T as Ae, Y as je } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
3
+ import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import { C as I, f as z, S as f } from "./chuncks/card.C4GIVN6P.js";
6
- import { parseISO as w, differenceInCalendarDays as L, format as $ } from "date-fns";
7
- import { I as He, L as _e, P as Ae, T as Pe, Y as je } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
6
+ import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
8
7
  const D = [
9
8
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
9
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
@@ -75,7 +74,7 @@ function ae({
75
74
  disabled: d = !1,
76
75
  ...x
77
76
  }) {
78
- return /* @__PURE__ */ e(j, { children: d === !0 ? s : /* @__PURE__ */ o(k, { openDelay: n, closeDelay: r, ...x, children: [
77
+ return /* @__PURE__ */ e(L, { children: d === !0 ? s : /* @__PURE__ */ o(k, { openDelay: n, closeDelay: r, ...x, children: [
79
78
  /* @__PURE__ */ e(v, { asChild: i, children: s }),
80
79
  /* @__PURE__ */ e(C, { align: t, className: l, children: a })
81
80
  ] }) });
@@ -164,7 +163,7 @@ function ne({
164
163
  }) {
165
164
  let g = "";
166
165
  if (d && typeof t == "string" && !p && l) {
167
- const F = w(t), h = L(F, /* @__PURE__ */ new Date());
166
+ const F = w(t), h = P(F, /* @__PURE__ */ new Date());
168
167
  h > 15 ? g = "bg-yellow-100 font-bold" : h > 7 ? g = "bg-yellow-300 font-bold" : h >= 0 ? g = "bg-red-300 font-bold" : g = "bg-red-500 text-white font-bold";
169
168
  } else l && (g = "bg-[#ffe0b2] font-bold");
170
169
  return /* @__PURE__ */ e("div", { className: c("px-2 py-1 text-sm", g), children: /* @__PURE__ */ o(k, { openDelay: 0, closeDelay: 0, children: [
@@ -256,7 +255,7 @@ function se({
256
255
  }) }) }),
257
256
  /* @__PURE__ */ e(A, { children: Array.from({ length: t }).map((n, r) => /* @__PURE__ */ e(y, { className: "h-[3.05rem]", children: Array.from({ length: a }).map((s, d) => {
258
257
  const x = i && d === a - 1;
259
- return /* @__PURE__ */ e(P, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: l }).map((p, m) => /* @__PURE__ */ e(f, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(f, { className: "h-4 w-full" }) }, d);
258
+ return /* @__PURE__ */ e(j, { children: x ? /* @__PURE__ */ e("div", { className: "flex gap-2", children: Array.from({ length: l }).map((p, m) => /* @__PURE__ */ e(f, { className: "ml-auto size-8" }, m)) }) : /* @__PURE__ */ e(f, { className: "h-4 w-full" }) }, d);
260
259
  }) }, r)) })
261
260
  ] });
262
261
  }
@@ -277,20 +276,20 @@ export {
277
276
  re as IconBadge,
278
277
  Ne as Image,
279
278
  ke as InfluencerSelectInput,
280
- He as InstagramIcon,
281
- _e as LinkedInIcon,
279
+ ve as InstagramIcon,
280
+ Ce as LinkedInIcon,
282
281
  le as List,
283
282
  ne as ListRow,
284
283
  ie as NotFoundCard,
285
- ve as PageHeader,
286
- Ce as PageHeaderActions,
287
- Ie as PageHeaderContent,
288
- ze as PageHeaderDescription,
289
- Se as PageHeaderTitle,
290
- Ae as PinterestIcon,
291
- Fe as ProfileSelectInput,
292
- Me as SaleSelectInput,
284
+ Ie as PageHeader,
285
+ ze as PageHeaderActions,
286
+ Se as PageHeaderContent,
287
+ Fe as PageHeaderDescription,
288
+ Me as PageHeaderTitle,
289
+ Te as PinterestIcon,
290
+ He as ProfileSelectInput,
291
+ _e as SaleSelectInput,
293
292
  se as TableSkeleton,
294
- Pe as TikTokIcon,
293
+ Ae as TikTokIcon,
295
294
  je as YoutubeIcon
296
295
  };
package/dist/constants.js CHANGED
@@ -1,25 +1,14 @@
1
- import { A as p, B as L, C as N, S as d, d as u } from "./chuncks/field-textarea.component.BW5BUAih.js";
2
- import "./chuncks/switch.BgkPsd63.js";
3
- import "react/jsx-runtime";
4
- import "react";
5
- import "date-fns";
6
- import { P as o, L as a, Y as t, T as e, I as n } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
7
- const A = "Não há dados para atualizar.", T = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", S = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", m = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", I = {
8
- instagram: n,
9
- tiktok: e,
10
- youtube: t,
11
- linkedin: a,
12
- pinterest: o
13
- };
1
+ import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
2
+ const o = "Não há dados para atualizar.", a = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", e = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", t = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.";
14
3
  export {
15
- p as ACTION_TYPE_VALUES,
16
- L as BUSINESS_UNIT_VALUES,
17
- N as CLIENT_TYPE_VALUES,
18
- m as ERROR_MESSAGE,
19
- T as FILTER_ALREADY_APPLIED_MESSAGE,
20
- A as NO_DATA_TO_UPDATE,
21
- S as NO_DATA_TO_UPDATE_MESSAGE,
22
- d as SOCIAL_NETWORK_COLOR_VALUES,
23
- I as SOCIAL_NETWORK_ICON_COMPONENTS,
24
- u as SOCIAL_NETWORK_VALUES
4
+ r as ACTION_TYPE_VALUES,
5
+ n as BUSINESS_UNIT_VALUES,
6
+ s as CLIENT_TYPE_VALUES,
7
+ t as ERROR_MESSAGE,
8
+ a as FILTER_ALREADY_APPLIED_MESSAGE,
9
+ o as NO_DATA_TO_UPDATE,
10
+ e as NO_DATA_TO_UPDATE_MESSAGE,
11
+ A as SOCIAL_NETWORK_COLOR_VALUES,
12
+ S as SOCIAL_NETWORK_ICON_COMPONENTS,
13
+ O as SOCIAL_NETWORK_VALUES
25
14
  };
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as o } from "./chuncks/format.util.0m7GYVKG.js";
1
+ import { h as o } from "./chuncks/format.util.DUEefj5C.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
package/dist/utils.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.0m7GYVKG.js";
2
- import { i as k, a as P, b, c as N } from "./chuncks/field-textarea.component.BW5BUAih.js";
1
+ import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.DUEefj5C.js";
2
+ import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.BpgjzXcR.js";
3
3
  export {
4
4
  e as formatCompactNumber,
5
5
  r as formatCompactPercent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.129",
4
+ "version": "0.0.130",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -1,145 +0,0 @@
1
- import { jsxs as r, jsx as n } from "react/jsx-runtime";
2
- function a({
3
- size: t = 24,
4
- color: o = "currentColor",
5
- ...e
6
- }) {
7
- return /* @__PURE__ */ r(
8
- "svg",
9
- {
10
- xmlns: "http://www.w3.org/2000/svg",
11
- width: t,
12
- height: t,
13
- viewBox: "0 0 24 24",
14
- fill: "none",
15
- stroke: o,
16
- strokeWidth: "2",
17
- strokeLinecap: "round",
18
- strokeLinejoin: "round",
19
- className: "lucide lucide-instagram-icon lucide-instagram",
20
- ...e,
21
- children: [
22
- /* @__PURE__ */ n("rect", { width: "20", height: "20", x: "2", y: "2", rx: "5", ry: "5" }),
23
- /* @__PURE__ */ n("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }),
24
- /* @__PURE__ */ n("line", { x1: "17.5", x2: "17.51", y1: "6.5", y2: "6.5" })
25
- ]
26
- }
27
- );
28
- }
29
- function s({
30
- size: t = 24,
31
- color: o = "currentColor",
32
- ...e
33
- }) {
34
- return /* @__PURE__ */ r(
35
- "svg",
36
- {
37
- xmlns: "http://www.w3.org/2000/svg",
38
- width: t,
39
- height: t,
40
- viewBox: "0 0 24 24",
41
- fill: "none",
42
- stroke: o,
43
- strokeWidth: "2",
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round",
46
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-linkedin",
47
- ...e,
48
- children: [
49
- /* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
50
- /* @__PURE__ */ n("path", { d: "M8 11v5" }),
51
- /* @__PURE__ */ n("path", { d: "M8 8v.01" }),
52
- /* @__PURE__ */ n("path", { d: "M12 16v-5" }),
53
- /* @__PURE__ */ n("path", { d: "M16 16v-3a2 2 0 1 0 -4 0" }),
54
- /* @__PURE__ */ n("path", { d: "M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4l0 -10" })
55
- ]
56
- }
57
- );
58
- }
59
- function l({
60
- size: t = 24,
61
- color: o = "currentColor",
62
- ...e
63
- }) {
64
- return /* @__PURE__ */ r(
65
- "svg",
66
- {
67
- xmlns: "http://www.w3.org/2000/svg",
68
- width: t,
69
- height: t,
70
- viewBox: "0 0 24 24",
71
- fill: "none",
72
- stroke: o,
73
- strokeWidth: "2",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round",
76
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-pinterest",
77
- ...e,
78
- children: [
79
- /* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
80
- /* @__PURE__ */ n("path", { d: "M8 20l4 -9" }),
81
- /* @__PURE__ */ n("path", { d: "M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7" }),
82
- /* @__PURE__ */ n("path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" })
83
- ]
84
- }
85
- );
86
- }
87
- function h({
88
- size: t = 24,
89
- color: o = "transparent",
90
- ...e
91
- }) {
92
- return /* @__PURE__ */ r(
93
- "svg",
94
- {
95
- xmlns: "http://www.w3.org/2000/svg",
96
- width: t,
97
- height: t,
98
- viewBox: "0 0 24 24",
99
- fill: o,
100
- stroke: "currentColor",
101
- strokeWidth: "2",
102
- strokeLinecap: "round",
103
- strokeLinejoin: "round",
104
- className: "icon icon-tabler icons-tabler-outline icon-tabler-brand-tiktok",
105
- ...e,
106
- children: [
107
- /* @__PURE__ */ n("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
108
- /* @__PURE__ */ n("path", { d: "M21 7.917v4.034a9.948 9.948 0 0 1 -5 -1.951v4.5a6.5 6.5 0 1 1 -8 -6.326v4.326a2.5 2.5 0 1 0 4 2v-11.5h4.083a6.005 6.005 0 0 0 4.917 4.917" })
109
- ]
110
- }
111
- );
112
- }
113
- function c({
114
- size: t = 24,
115
- color: o = "currentColor",
116
- ...e
117
- }) {
118
- return /* @__PURE__ */ r(
119
- "svg",
120
- {
121
- xmlns: "http://www.w3.org/2000/svg",
122
- width: t,
123
- height: t,
124
- viewBox: "0 0 24 24",
125
- fill: "none",
126
- stroke: o,
127
- strokeWidth: "2",
128
- strokeLinecap: "round",
129
- strokeLinejoin: "round",
130
- className: "lucide lucide-youtube-icon lucide-youtube",
131
- ...e,
132
- children: [
133
- /* @__PURE__ */ n("path", { d: "M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17" }),
134
- /* @__PURE__ */ n("path", { d: "m10 15 5-3-5-3z" })
135
- ]
136
- }
137
- );
138
- }
139
- export {
140
- a as I,
141
- s as L,
142
- l as P,
143
- h as T,
144
- c as Y
145
- };