@grapadigital/shared-app-modules 0.0.82 → 0.0.83

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/dist/action.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
package/dist/client.d.ts CHANGED
@@ -10,7 +10,7 @@ export declare interface ClientInterface extends UserInterface {
10
10
  agencyCommission?: AgencyCommission[];
11
11
  hasAgencyCommission?: boolean;
12
12
  type?: "agency" | "brand";
13
- niches?: Niche[];
13
+ niches: Niche[];
14
14
  }
15
15
 
16
16
  export declare interface ClusterInterface {
@@ -95,7 +95,7 @@ declare interface ClientInterface extends UserInterface {
95
95
  agencyCommission?: AgencyCommission[];
96
96
  hasAgencyCommission?: boolean;
97
97
  type?: "agency" | "brand";
98
- niches?: Niche[];
98
+ niches: Niche[];
99
99
  }
100
100
 
101
101
  export declare const ClientSelectInput: default_2.ForwardRefExoticComponent<Omit<ClientSelectInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
@@ -228,10 +228,12 @@ declare interface FormalizationInterface {
228
228
  totalInstallments: number;
229
229
  }
230
230
 
231
- export declare function HoverContent({ content, className, openDelay, closeDelay, children, ...props }: HoverContentProps): JSX.Element;
231
+ export declare function HoverContent({ content, align, asChild, className, openDelay, closeDelay, children, ...props }: HoverContentProps): JSX.Element;
232
232
 
233
233
  declare interface HoverContentProps extends HoverCardProps {
234
234
  content: string | React.ReactNode;
235
+ align?: "center" | "start" | "end" | undefined;
236
+ asChild?: boolean;
235
237
  className?: string;
236
238
  openDelay?: number;
237
239
  closeDelay?: number;
@@ -497,7 +499,7 @@ declare interface ProfileMetric {
497
499
 
498
500
  declare interface ProposalInterface {
499
501
  businessUnit: "enterprise" | "artistic";
500
- type: "inbound" | "outbound";
502
+ origin: "inbound" | "outbound";
501
503
  contact: string;
502
504
  initialScope: string;
503
505
  profile: ProfileInterface;
@@ -598,6 +600,7 @@ declare interface SaleInterface {
598
600
  };
599
601
  closedAt?: string;
600
602
  isDollarNegotiation: boolean;
603
+ type: "new" | "renewal" | "upsell";
601
604
  }
602
605
 
603
606
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
@@ -1,4 +1,4 @@
1
- import { a as N, c as m, B as E, L as lA, R as iA, H as tA, b as aA, d as nA, P as q, e as M, f as S, C as J, g as z, h as U, i as w, j as L, k as O, l as Y, m as j } from "./chuncks/timeline.DfIC0519.js";
1
+ import { a as N, c as b, B as E, L as lA, R as iA, H as tA, b as aA, d as nA, P as q, e as M, f as S, C as J, g as z, h as U, i as w, j as L, k as O, l as Y, m as j } from "./chuncks/timeline.DfIC0519.js";
2
2
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
3
3
  import * as oA from "react";
4
4
  import { forwardRef as R, useState as C, useEffect as k } from "react";
@@ -54,7 +54,7 @@ const CA = [
54
54
  "div",
55
55
  {
56
56
  ref: a,
57
- className: m(
57
+ className: b(
58
58
  "flex gap-3 justify-between sm:items-center flex-col sm:flex-row",
59
59
  A
60
60
  ),
@@ -66,18 +66,18 @@ const NA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t(
66
66
  "div",
67
67
  {
68
68
  ref: a,
69
- className: m("flex gap-2 items-center", A),
69
+ className: b("flex gap-2 items-center", A),
70
70
  ...e
71
71
  }
72
72
  ));
73
73
  NA.displayName = "PageHeaderActions";
74
- const IA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t("div", { ref: a, className: m("space-y-1", A), ...e }));
74
+ const IA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t("div", { ref: a, className: b("space-y-1", A), ...e }));
75
75
  IA.displayName = "PageHeaderContent";
76
76
  const DA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t(
77
77
  "div",
78
78
  {
79
79
  ref: a,
80
- className: m("text-muted-foreground", A),
80
+ className: b("text-muted-foreground", A),
81
81
  ...e
82
82
  }
83
83
  ));
@@ -86,7 +86,7 @@ const vA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t(
86
86
  "div",
87
87
  {
88
88
  ref: a,
89
- className: m("text-2xl md:text-3xl font-bold", A),
89
+ className: b("text-2xl md:text-3xl font-bold", A),
90
90
  ...e
91
91
  }
92
92
  ));
@@ -98,9 +98,9 @@ function te({
98
98
  onRetry: n,
99
99
  tip: i,
100
100
  className: r,
101
- ...b
101
+ ...g
102
102
  }) {
103
- return /* @__PURE__ */ t(rA, { className: m(r), ...b, children: /* @__PURE__ */ s(cA, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
103
+ return /* @__PURE__ */ t(rA, { className: b(r), ...g, children: /* @__PURE__ */ s(cA, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
104
104
  /* @__PURE__ */ t("div", { className: "relative mb-4", children: /* @__PURE__ */ t(A, { "aria-hidden": "true", className: "text-destructive/60 size-16" }) }),
105
105
  /* @__PURE__ */ t("h3", { className: "text-foreground mb-2 text-lg font-semibold", children: e }),
106
106
  /* @__PURE__ */ t("p", { className: "text-muted-foreground max-w-md text-sm leading-relaxed", children: a }),
@@ -125,7 +125,7 @@ function ae({
125
125
  sA,
126
126
  {
127
127
  "data-slot": "field-label",
128
- className: m(
128
+ className: b(
129
129
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
130
130
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>[data-slot=field]]:p-4",
131
131
  "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",
@@ -137,15 +137,17 @@ function ae({
137
137
  }
138
138
  function ne({
139
139
  content: A,
140
- className: e,
141
- openDelay: a = 0,
142
- closeDelay: n = 0,
143
- children: i,
144
- ...r
140
+ align: e,
141
+ asChild: a,
142
+ className: n,
143
+ openDelay: i = 0,
144
+ closeDelay: r = 0,
145
+ children: g,
146
+ ...h
145
147
  }) {
146
- return /* @__PURE__ */ s(tA, { openDelay: a, closeDelay: n, ...r, children: [
147
- /* @__PURE__ */ t(aA, { asChild: !0, children: i }),
148
- /* @__PURE__ */ t(nA, { className: e, children: A })
148
+ return /* @__PURE__ */ s(tA, { openDelay: i, closeDelay: r, ...h, children: [
149
+ /* @__PURE__ */ t(aA, { asChild: a, children: g }),
150
+ /* @__PURE__ */ t(nA, { align: e, className: n, children: A })
149
151
  ] });
150
152
  }
151
153
  var H = {}, Q = {}, v = { exports: {} }, K;
@@ -171,7 +173,7 @@ function HA() {
171
173
  }
172
174
  e(A, {
173
175
  dim: function() {
174
- return b;
176
+ return g;
175
177
  },
176
178
  default: function() {
177
179
  return h;
@@ -187,7 +189,7 @@ function HA() {
187
189
  function r(c, d, f) {
188
190
  typeof process < "u" && process.env.JEST_WORKER_ID || f && i.has(f) || (f && i.add(f), console.warn(""), d.forEach((o) => console.warn(c, "-", o)));
189
191
  }
190
- function b(c) {
192
+ function g(c) {
191
193
  return a.default.dim(c);
192
194
  }
193
195
  const h = {
@@ -235,9 +237,9 @@ function QA() {
235
237
  default: r
236
238
  };
237
239
  }
238
- function n({ version: r, from: b, to: h }) {
239
- e.default.warn(`${b}-color-renamed`, [
240
- `As of Tailwind CSS ${r}, \`${b}\` has been renamed to \`${h}\`.`,
240
+ function n({ version: r, from: g, to: h }) {
241
+ e.default.warn(`${g}-color-renamed`, [
242
+ `As of Tailwind CSS ${r}, \`${g}\` has been renamed to \`${h}\`.`,
241
243
  "Update your configuration file to silence this warning."
242
244
  ]);
243
245
  }
@@ -640,12 +642,12 @@ function re({
640
642
  icon: n,
641
643
  filled: i
642
644
  }) {
643
- const r = i ? MA[e] : qA[e], b = A ? eA[A] : eA.md;
644
- return /* @__PURE__ */ t("div", { className: m("w-fit p-2 rounded-lg", r?.bg, a), children: /* @__PURE__ */ t(n, { className: m(b, r?.text) }) });
645
+ const r = i ? MA[e] : qA[e], g = A ? eA[A] : eA.md;
646
+ return /* @__PURE__ */ t("div", { className: b("w-fit p-2 rounded-lg", r?.bg, a), children: /* @__PURE__ */ t(n, { className: b(g, r?.text) }) });
645
647
  }
646
648
  const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqAAgAAAADAA4BAgBDAAAAMgAAABoBBQABAAAAdQAAABsBBQABAAAAfQAAAAAAAABObyBQaWN0dXJlIEF2YWlsYWJsZSBQbGFjZWhvbGRlciBUaHVtYm5haWwgSWNvbiBJbGx1c3RyYXRpb24gRGVzaWduLAEAAAEAAAAsAQAAAQAAAP/hBb9odHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iPgoJPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KCQk8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG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YCYpJpzn/sl//9k=", JA = R(
647
649
  ({ alternativeSrc: A, src: e, className: a, ...n }, i) => {
648
- const [r, b] = C(!1), h = SA;
650
+ const [r, g] = C(!1), h = SA;
649
651
  return /* @__PURE__ */ t(
650
652
  "img",
651
653
  {
@@ -654,8 +656,8 @@ const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqA
654
656
  onError: (c) => {
655
657
  c.currentTarget.src = A ?? h;
656
658
  },
657
- onLoad: () => b(!0),
658
- className: m(
659
+ onLoad: () => g(!0),
660
+ className: b(
659
661
  "duration-500 ease-in-out",
660
662
  r ? "opacity-100" : "opacity-0",
661
663
  a
@@ -667,7 +669,7 @@ const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqA
667
669
  );
668
670
  JA.displayName = "Image";
669
671
  function ce({ className: A, ...e }) {
670
- return /* @__PURE__ */ t("div", { className: m("divide-y", A), ...e });
672
+ return /* @__PURE__ */ t("div", { className: b("divide-y", A), ...e });
671
673
  }
672
674
  function se({
673
675
  label: A,
@@ -676,7 +678,7 @@ function se({
676
678
  highlight: n = !1,
677
679
  negative: i = !1,
678
680
  positive: r = !1,
679
- isPercentage: b = !1,
681
+ isPercentage: g = !1,
680
682
  isDate: h = !1,
681
683
  isText: c = !1,
682
684
  isInvoiced: d = !1,
@@ -689,12 +691,12 @@ function se({
689
691
  const y = W(e), P = dA(y, /* @__PURE__ */ new Date());
690
692
  P > 15 ? p = "bg-yellow-100 font-bold" : P > 7 ? p = "bg-yellow-300 font-bold" : P >= 0 ? p = "bg-red-300 font-bold" : p = "bg-red-500 text-white font-bold";
691
693
  } else n && (p = "bg-[#ffe0b2] font-bold");
692
- return /* @__PURE__ */ t("div", { className: m("px-2 py-1 text-sm", p), children: /* @__PURE__ */ s(tA, { openDelay: 0, closeDelay: 0, children: [
694
+ return /* @__PURE__ */ t("div", { className: b("px-2 py-1 text-sm", p), children: /* @__PURE__ */ s(tA, { openDelay: 0, closeDelay: 0, children: [
693
695
  /* @__PURE__ */ t(aA, { children: /* @__PURE__ */ s("div", { className: "flex justify-between", children: [
694
696
  /* @__PURE__ */ s(
695
697
  "span",
696
698
  {
697
- className: m(
699
+ className: b(
698
700
  "flex flex-row gap-1",
699
701
  i ? "text-red-600" : r ? "text-green-600" : ""
700
702
  ),
@@ -708,12 +710,12 @@ function se({
708
710
  /* @__PURE__ */ s(
709
711
  "span",
710
712
  {
711
- className: m(
713
+ className: b(
712
714
  "flex flex-row justify-end gap-2 text-right",
713
715
  i ? "text-red-600" : r ? "text-green-600" : ""
714
716
  ),
715
717
  children: [
716
- b && typeof e == "number" ? `${e.toFixed(2)}%` : h && typeof e == "string" ? fA(W(e), "dd/MM/yyyy") : c && typeof e == "string" ? e : `R$ ${e.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`,
718
+ g && typeof e == "number" ? `${e.toFixed(2)}%` : h && typeof e == "string" ? fA(W(e), "dd/MM/yyyy") : c && typeof e == "string" ? e : `R$ ${e.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`,
717
719
  f && x && /* @__PURE__ */ t(pA, { size: 15, onClick: () => x(e) })
718
720
  ]
719
721
  }
@@ -723,7 +725,7 @@ function se({
723
725
  nA,
724
726
  {
725
727
  align: "start",
726
- className: m(!o && "pointer-events-none"),
728
+ className: b(!o && "pointer-events-none"),
727
729
  children: /* @__PURE__ */ s("div", { className: "space-y-0.5", children: [
728
730
  /* @__PURE__ */ t("div", { className: "font-medium", children: A }),
729
731
  /* @__PURE__ */ t("div", { className: "font-normal opacity-80", children: a })
@@ -740,7 +742,7 @@ function le({
740
742
  className: i,
741
743
  ...r
742
744
  }) {
743
- return /* @__PURE__ */ t(rA, { className: m(i), ...r, children: /* @__PURE__ */ s(cA, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
745
+ return /* @__PURE__ */ t(rA, { className: b(i), ...r, children: /* @__PURE__ */ s(cA, { className: "flex flex-col items-center justify-center px-6 py-12 text-center", children: [
744
746
  /* @__PURE__ */ t("div", { className: "relative mb-4", children: /* @__PURE__ */ t(
745
747
  A,
746
748
  {
@@ -781,21 +783,21 @@ function UA({ filter: A, queryKey: e }) {
781
783
  });
782
784
  }
783
785
  const LA = R(
784
- ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...b }, h) => {
785
- const c = a ? { title: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), g = UA({
786
+ ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...g }, h) => {
787
+ const c = a ? { title: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), u = UA({
786
788
  filter: {
787
789
  page: 1,
788
790
  limit: 5,
789
791
  title: P
790
792
  },
791
793
  queryKey: A
792
- }), B = g.data?.data;
794
+ }), B = u.data?.data;
793
795
  k(() => {
794
796
  !e && o && (x(void 0), y(""));
795
797
  }, [o, e]);
796
798
  const I = (l) => {
797
- const u = B?.find((D) => D._id === l);
798
- f(!1), u && (x(u), n(u));
799
+ const m = B?.find((D) => D._id === l);
800
+ f(!1), m && (x(m), n(m));
799
801
  };
800
802
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
801
803
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -817,7 +819,7 @@ const LA = R(
817
819
  /* @__PURE__ */ t(
818
820
  z,
819
821
  {
820
- ...b,
822
+ ...g,
821
823
  disabled: r,
822
824
  value: p,
823
825
  onValueChange: (l) => y(l),
@@ -827,10 +829,10 @@ const LA = R(
827
829
  }
828
830
  ),
829
831
  /* @__PURE__ */ s(U, { children: [
830
- g.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma ação encontrada." }),
831
- g.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar as ações." }),
832
- !g.isEnabled && /* @__PURE__ */ t(w, { children: "Busque uma Ação..." }),
833
- g.fetchStatus !== "idle" && g.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
832
+ u.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma ação encontrada." }),
833
+ u.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar as ações." }),
834
+ !u.isEnabled && /* @__PURE__ */ t(w, { children: "Busque uma Ação..." }),
835
+ u.fetchStatus !== "idle" && u.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
834
836
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
835
837
  "Buscando..."
836
838
  ] }),
@@ -838,9 +840,9 @@ const LA = R(
838
840
  Y,
839
841
  {
840
842
  value: l._id,
841
- onSelect: (u) => {
843
+ onSelect: (m) => {
842
844
  I(
843
- u === o?._id ? "" : u
845
+ m === o?._id ? "" : m
844
846
  ), f(!1);
845
847
  },
846
848
  children: [
@@ -848,7 +850,7 @@ const LA = R(
848
850
  /* @__PURE__ */ t(
849
851
  j,
850
852
  {
851
- className: m(
853
+ className: b(
852
854
  "ml-auto",
853
855
  o?._id === l._id ? "opacity-100" : "opacity-0"
854
856
  )
@@ -880,21 +882,21 @@ function YA({ filter: A, queryKey: e }) {
880
882
  });
881
883
  }
882
884
  const jA = R(
883
- ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...b }, h) => {
884
- const c = a ? { name: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), g = YA({
885
+ ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...g }, h) => {
886
+ const c = a ? { name: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), u = YA({
885
887
  filter: {
886
888
  page: 1,
887
889
  limit: 5,
888
890
  name: P
889
891
  },
890
892
  queryKey: A
891
- }), B = g.data?.data;
893
+ }), B = u.data?.data;
892
894
  k(() => {
893
895
  !e && o && (x(void 0), y(""));
894
896
  }, [o, e]);
895
897
  const I = (l) => {
896
- const u = B?.find((D) => D._id === l);
897
- f(!1), u && (x(u), n(u));
898
+ const m = B?.find((D) => D._id === l);
899
+ f(!1), m && (x(m), n(m));
898
900
  };
899
901
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
900
902
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -916,7 +918,7 @@ const jA = R(
916
918
  /* @__PURE__ */ t(
917
919
  z,
918
920
  {
919
- ...b,
921
+ ...g,
920
922
  disabled: r,
921
923
  value: p,
922
924
  onValueChange: (l) => y(l),
@@ -926,10 +928,10 @@ const jA = R(
926
928
  }
927
929
  ),
928
930
  /* @__PURE__ */ s(U, { children: [
929
- g.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma cliente encontrado." }),
930
- g.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar os clientes." }),
931
- !g.isEnabled && /* @__PURE__ */ t(w, { children: "Busque um cliente..." }),
932
- g.fetchStatus !== "idle" && g.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
931
+ u.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma cliente encontrado." }),
932
+ u.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar os clientes." }),
933
+ !u.isEnabled && /* @__PURE__ */ t(w, { children: "Busque um cliente..." }),
934
+ u.fetchStatus !== "idle" && u.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
933
935
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
934
936
  "Buscando..."
935
937
  ] }),
@@ -937,9 +939,9 @@ const jA = R(
937
939
  Y,
938
940
  {
939
941
  value: l._id,
940
- onSelect: (u) => {
942
+ onSelect: (m) => {
941
943
  I(
942
- u === o?._id ? "" : u
944
+ m === o?._id ? "" : m
943
945
  ), f(!1);
944
946
  },
945
947
  children: [
@@ -947,7 +949,7 @@ const jA = R(
947
949
  /* @__PURE__ */ t(
948
950
  j,
949
951
  {
950
- className: m(
952
+ className: b(
951
953
  "ml-auto",
952
954
  o?._id === l._id ? "opacity-100" : "opacity-0"
953
955
  )
@@ -984,21 +986,21 @@ function TA({
984
986
  });
985
987
  }
986
988
  const ZA = R(
987
- ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...b }, h) => {
988
- const c = a ? { name: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), g = TA({
989
+ ({ queryKey: A, value: e, defaultValue: a, onValueChange: n, id: i, disabled: r, ...g }, h) => {
990
+ const c = a ? { name: String(a) } : void 0, [d, f] = C(!1), [o, x] = C(c), [p, y] = C(""), P = Z(p, 200), u = TA({
989
991
  filter: {
990
992
  page: 1,
991
993
  limit: 10,
992
994
  name: P
993
995
  },
994
996
  queryKey: A
995
- }), B = g.data?.data;
997
+ }), B = u.data?.data;
996
998
  k(() => {
997
999
  !e && o && (x(void 0), y(""));
998
1000
  }, [o, e]);
999
1001
  const I = (l) => {
1000
- const u = B?.find((D) => D._id === l);
1001
- f(!1), u && (x(u), n(u));
1002
+ const m = B?.find((D) => D._id === l);
1003
+ f(!1), m && (x(m), n(m));
1002
1004
  };
1003
1005
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
1004
1006
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -1020,7 +1022,7 @@ const ZA = R(
1020
1022
  /* @__PURE__ */ t(
1021
1023
  z,
1022
1024
  {
1023
- ...b,
1025
+ ...g,
1024
1026
  disabled: r,
1025
1027
  value: p,
1026
1028
  onValueChange: (l) => y(l),
@@ -1030,10 +1032,10 @@ const ZA = R(
1030
1032
  }
1031
1033
  ),
1032
1034
  /* @__PURE__ */ s(U, { children: [
1033
- g.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma influenciador encontrado." }),
1034
- g.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar os influenciadores." }),
1035
- !g.isEnabled && /* @__PURE__ */ t(w, { children: "Busque um influenciador..." }),
1036
- g.fetchStatus !== "idle" && g.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
1035
+ u.isSuccess && B?.length === 0 && /* @__PURE__ */ t(w, { children: "Nenhuma influenciador encontrado." }),
1036
+ u.isError && /* @__PURE__ */ t(w, { children: "Ocorreu um erro ao buscar os influenciadores." }),
1037
+ !u.isEnabled && /* @__PURE__ */ t(w, { children: "Busque um influenciador..." }),
1038
+ u.fetchStatus !== "idle" && u.isPending && /* @__PURE__ */ s(w, { className: "flex items-center justify-center gap-2", children: [
1037
1039
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
1038
1040
  "Buscando..."
1039
1041
  ] }),
@@ -1041,9 +1043,9 @@ const ZA = R(
1041
1043
  Y,
1042
1044
  {
1043
1045
  value: l._id,
1044
- onSelect: (u) => {
1046
+ onSelect: (m) => {
1045
1047
  I(
1046
- u === o?._id ? "" : u
1048
+ m === o?._id ? "" : m
1047
1049
  ), f(!1);
1048
1050
  },
1049
1051
  children: [
@@ -1051,7 +1053,7 @@ const ZA = R(
1051
1053
  /* @__PURE__ */ t(
1052
1054
  j,
1053
1055
  {
1054
- className: m(
1056
+ className: b(
1055
1057
  "ml-auto",
1056
1058
  o?._id === l._id ? "opacity-100" : "opacity-0"
1057
1059
  )
@@ -1,3 +1,13 @@
1
+ export declare const BUSINESS_UNIT_VALUES: {
2
+ readonly enterprise: "Empresa";
3
+ readonly artistic: "Artística";
4
+ };
5
+
6
+ export declare const CLIENT_TYPE_VALUES: {
7
+ readonly agency: "Agência";
8
+ readonly brand: "Marca";
9
+ };
10
+
1
11
  /**
2
12
  * Mensagem de erro genérico.
3
13
  * @returns {string} A mensagem.
@@ -21,4 +31,10 @@ export declare const NO_DATA_TO_UPDATE = "N\u00E3o h\u00E1 dados para atualizar.
21
31
  */
22
32
  export declare const NO_DATA_TO_UPDATE_MESSAGE = "Nenhum dado novo foi informado para realizar a opera\u00E7\u00E3o. Por favor, atualize os campos antes de tentar novamente.";
23
33
 
34
+ export declare const SOCIAL_NETWORK_VALUES: {
35
+ readonly tiktok: "TikTok";
36
+ readonly instagram: "Instagram";
37
+ readonly youtube: "YouTube";
38
+ };
39
+
24
40
  export { }
package/dist/constants.js CHANGED
@@ -1,7 +1,20 @@
1
- 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.";
1
+ const o = "Não há dados para atualizar.", a = "O filtro selecionado já está ativo. Por favor, escolha outro filtro antes de tentar novamente.", t = "Nenhum dado novo foi informado para realizar a operação. Por favor, atualize os campos antes de tentar novamente.", e = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", n = {
2
+ tiktok: "TikTok",
3
+ instagram: "Instagram",
4
+ youtube: "YouTube"
5
+ }, r = {
6
+ agency: "Agência",
7
+ brand: "Marca"
8
+ }, s = {
9
+ enterprise: "Empresa",
10
+ artistic: "Artística"
11
+ };
2
12
  export {
3
- t as ERROR_MESSAGE,
13
+ s as BUSINESS_UNIT_VALUES,
14
+ r as CLIENT_TYPE_VALUES,
15
+ e as ERROR_MESSAGE,
4
16
  a as FILTER_ALREADY_APPLIED_MESSAGE,
5
17
  o as NO_DATA_TO_UPDATE,
6
- e as NO_DATA_TO_UPDATE_MESSAGE
18
+ t as NO_DATA_TO_UPDATE_MESSAGE,
19
+ n as SOCIAL_NETWORK_VALUES
7
20
  };
package/dist/content.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
@@ -15,7 +15,7 @@ declare interface ClientInterface extends UserInterface {
15
15
  agencyCommission?: AgencyCommission[];
16
16
  hasAgencyCommission?: boolean;
17
17
  type?: "agency" | "brand";
18
- niches?: Niche[];
18
+ niches: Niche[];
19
19
  }
20
20
 
21
21
  declare interface ClusterInterface {
package/dist/invoice.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
package/dist/payment.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
package/dist/sale.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface ClientInterface extends UserInterface {
69
69
  agencyCommission?: AgencyCommission[];
70
70
  hasAgencyCommission?: boolean;
71
71
  type?: "agency" | "brand";
72
- niches?: Niche[];
72
+ niches: Niche[];
73
73
  }
74
74
 
75
75
  declare interface ClusterInterface {
@@ -372,7 +372,7 @@ declare interface ProfileMetric {
372
372
 
373
373
  export declare interface ProposalInterface {
374
374
  businessUnit: "enterprise" | "artistic";
375
- type: "inbound" | "outbound";
375
+ origin: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,6 +473,7 @@ export declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
+ type: "new" | "renewal" | "upsell";
476
477
  }
477
478
 
478
479
  export declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
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.82",
4
+ "version": "0.0.83",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -116,13 +116,6 @@
116
116
  }
117
117
  },
118
118
  "type": "module",
119
- "scripts": {
120
- "dev": "vite",
121
- "build": "rm -rf dist && tsc -b && vite build",
122
- "lint": "eslint .",
123
- "preview": "vite preview",
124
- "lib:publish": "pnpm build && pnpm publish --no-git-checks"
125
- },
126
119
  "dependencies": {
127
120
  "@radix-ui/react-accordion": "^1.2.12",
128
121
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -172,5 +165,12 @@
172
165
  "vite": "^7.2.4",
173
166
  "vite-plugin-dts": "^4.5.4",
174
167
  "vite-plugin-lib-inject-css": "^2.2.2"
168
+ },
169
+ "scripts": {
170
+ "dev": "vite",
171
+ "build": "rm -rf dist && tsc -b && vite build",
172
+ "lint": "eslint .",
173
+ "preview": "vite preview",
174
+ "lib:publish": "pnpm build && pnpm publish --no-git-checks"
175
175
  }
176
- }
176
+ }