@grapadigital/shared-app-modules 0.0.83 → 0.0.85

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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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,12 +228,10 @@ declare interface FormalizationInterface {
228
228
  totalInstallments: number;
229
229
  }
230
230
 
231
- export declare function HoverContent({ content, align, asChild, className, openDelay, closeDelay, children, ...props }: HoverContentProps): JSX.Element;
231
+ export declare function HoverContent({ content, 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;
237
235
  className?: string;
238
236
  openDelay?: number;
239
237
  closeDelay?: number;
@@ -499,7 +497,7 @@ declare interface ProfileMetric {
499
497
 
500
498
  declare interface ProposalInterface {
501
499
  businessUnit: "enterprise" | "artistic";
502
- origin: "inbound" | "outbound";
500
+ type: "inbound" | "outbound";
503
501
  contact: string;
504
502
  initialScope: string;
505
503
  profile: ProfileInterface;
@@ -600,7 +598,6 @@ declare interface SaleInterface {
600
598
  };
601
599
  closedAt?: string;
602
600
  isDollarNegotiation: boolean;
603
- type: "new" | "renewal" | "upsell";
604
601
  }
605
602
 
606
603
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
@@ -1,4 +1,4 @@
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";
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";
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: b(
57
+ className: m(
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: b("flex gap-2 items-center", A),
69
+ className: m("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: b("space-y-1", A), ...e }));
74
+ const IA = R(({ className: A, ...e }, a) => /* @__PURE__ */ t("div", { ref: a, className: m("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: b("text-muted-foreground", A),
80
+ className: m("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: b("text-2xl md:text-3xl font-bold", A),
89
+ className: m("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
- ...g
101
+ ...b
102
102
  }) {
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: [
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: [
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: b(
128
+ className: m(
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,17 +137,15 @@ function ae({
137
137
  }
138
138
  function ne({
139
139
  content: A,
140
- align: e,
141
- asChild: a,
142
- className: n,
143
- openDelay: i = 0,
144
- closeDelay: r = 0,
145
- children: g,
146
- ...h
140
+ className: e,
141
+ openDelay: a = 0,
142
+ closeDelay: n = 0,
143
+ children: i,
144
+ ...r
147
145
  }) {
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 })
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 })
151
149
  ] });
152
150
  }
153
151
  var H = {}, Q = {}, v = { exports: {} }, K;
@@ -173,7 +171,7 @@ function HA() {
173
171
  }
174
172
  e(A, {
175
173
  dim: function() {
176
- return g;
174
+ return b;
177
175
  },
178
176
  default: function() {
179
177
  return h;
@@ -189,7 +187,7 @@ function HA() {
189
187
  function r(c, d, f) {
190
188
  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)));
191
189
  }
192
- function g(c) {
190
+ function b(c) {
193
191
  return a.default.dim(c);
194
192
  }
195
193
  const h = {
@@ -237,9 +235,9 @@ function QA() {
237
235
  default: r
238
236
  };
239
237
  }
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}\`.`,
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}\`.`,
243
241
  "Update your configuration file to silence this warning."
244
242
  ]);
245
243
  }
@@ -642,12 +640,12 @@ function re({
642
640
  icon: n,
643
641
  filled: i
644
642
  }) {
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) }) });
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) }) });
647
645
  }
648
646
  const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqAAgAAAADAA4BAgBDAAAAMgAAABoBBQABAAAAdQAAABsBBQABAAAAfQAAAAAAAABObyBQaWN0dXJlIEF2YWlsYWJsZSBQbGFjZWhvbGRlciBUaHVtYm5haWwgSWNvbiBJbGx1c3RyYXRpb24gRGVzaWduLAEAAAEAAAAsAQAAAQAAAP/hBb9odHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iPgoJPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KCQk8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5j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zn/sl//9k=", JA = R(
649
647
  ({ alternativeSrc: A, src: e, className: a, ...n }, i) => {
650
- const [r, g] = C(!1), h = SA;
648
+ const [r, b] = C(!1), h = SA;
651
649
  return /* @__PURE__ */ t(
652
650
  "img",
653
651
  {
@@ -656,8 +654,8 @@ const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqA
656
654
  onError: (c) => {
657
655
  c.currentTarget.src = A ?? h;
658
656
  },
659
- onLoad: () => g(!0),
660
- className: b(
657
+ onLoad: () => b(!0),
658
+ className: m(
661
659
  "duration-500 ease-in-out",
662
660
  r ? "opacity-100" : "opacity-0",
663
661
  a
@@ -669,7 +667,7 @@ const SA = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCNRXhpZgAASUkqA
669
667
  );
670
668
  JA.displayName = "Image";
671
669
  function ce({ className: A, ...e }) {
672
- return /* @__PURE__ */ t("div", { className: b("divide-y", A), ...e });
670
+ return /* @__PURE__ */ t("div", { className: m("divide-y", A), ...e });
673
671
  }
674
672
  function se({
675
673
  label: A,
@@ -678,7 +676,7 @@ function se({
678
676
  highlight: n = !1,
679
677
  negative: i = !1,
680
678
  positive: r = !1,
681
- isPercentage: g = !1,
679
+ isPercentage: b = !1,
682
680
  isDate: h = !1,
683
681
  isText: c = !1,
684
682
  isInvoiced: d = !1,
@@ -691,12 +689,12 @@ function se({
691
689
  const y = W(e), P = dA(y, /* @__PURE__ */ new Date());
692
690
  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";
693
691
  } else n && (p = "bg-[#ffe0b2] font-bold");
694
- return /* @__PURE__ */ t("div", { className: b("px-2 py-1 text-sm", p), children: /* @__PURE__ */ s(tA, { openDelay: 0, closeDelay: 0, children: [
692
+ return /* @__PURE__ */ t("div", { className: m("px-2 py-1 text-sm", p), children: /* @__PURE__ */ s(tA, { openDelay: 0, closeDelay: 0, children: [
695
693
  /* @__PURE__ */ t(aA, { children: /* @__PURE__ */ s("div", { className: "flex justify-between", children: [
696
694
  /* @__PURE__ */ s(
697
695
  "span",
698
696
  {
699
- className: b(
697
+ className: m(
700
698
  "flex flex-row gap-1",
701
699
  i ? "text-red-600" : r ? "text-green-600" : ""
702
700
  ),
@@ -710,12 +708,12 @@ function se({
710
708
  /* @__PURE__ */ s(
711
709
  "span",
712
710
  {
713
- className: b(
711
+ className: m(
714
712
  "flex flex-row justify-end gap-2 text-right",
715
713
  i ? "text-red-600" : r ? "text-green-600" : ""
716
714
  ),
717
715
  children: [
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 })}`,
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 })}`,
719
717
  f && x && /* @__PURE__ */ t(pA, { size: 15, onClick: () => x(e) })
720
718
  ]
721
719
  }
@@ -725,7 +723,7 @@ function se({
725
723
  nA,
726
724
  {
727
725
  align: "start",
728
- className: b(!o && "pointer-events-none"),
726
+ className: m(!o && "pointer-events-none"),
729
727
  children: /* @__PURE__ */ s("div", { className: "space-y-0.5", children: [
730
728
  /* @__PURE__ */ t("div", { className: "font-medium", children: A }),
731
729
  /* @__PURE__ */ t("div", { className: "font-normal opacity-80", children: a })
@@ -742,7 +740,7 @@ function le({
742
740
  className: i,
743
741
  ...r
744
742
  }) {
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: [
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: [
746
744
  /* @__PURE__ */ t("div", { className: "relative mb-4", children: /* @__PURE__ */ t(
747
745
  A,
748
746
  {
@@ -783,21 +781,21 @@ function UA({ filter: A, queryKey: e }) {
783
781
  });
784
782
  }
785
783
  const LA = R(
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({
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({
788
786
  filter: {
789
787
  page: 1,
790
788
  limit: 5,
791
789
  title: P
792
790
  },
793
791
  queryKey: A
794
- }), B = u.data?.data;
792
+ }), B = g.data?.data;
795
793
  k(() => {
796
794
  !e && o && (x(void 0), y(""));
797
795
  }, [o, e]);
798
796
  const I = (l) => {
799
- const m = B?.find((D) => D._id === l);
800
- f(!1), m && (x(m), n(m));
797
+ const u = B?.find((D) => D._id === l);
798
+ f(!1), u && (x(u), n(u));
801
799
  };
802
800
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
803
801
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -819,7 +817,7 @@ const LA = R(
819
817
  /* @__PURE__ */ t(
820
818
  z,
821
819
  {
822
- ...g,
820
+ ...b,
823
821
  disabled: r,
824
822
  value: p,
825
823
  onValueChange: (l) => y(l),
@@ -829,10 +827,10 @@ const LA = R(
829
827
  }
830
828
  ),
831
829
  /* @__PURE__ */ s(U, { 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: [
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: [
836
834
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
837
835
  "Buscando..."
838
836
  ] }),
@@ -840,9 +838,9 @@ const LA = R(
840
838
  Y,
841
839
  {
842
840
  value: l._id,
843
- onSelect: (m) => {
841
+ onSelect: (u) => {
844
842
  I(
845
- m === o?._id ? "" : m
843
+ u === o?._id ? "" : u
846
844
  ), f(!1);
847
845
  },
848
846
  children: [
@@ -850,7 +848,7 @@ const LA = R(
850
848
  /* @__PURE__ */ t(
851
849
  j,
852
850
  {
853
- className: b(
851
+ className: m(
854
852
  "ml-auto",
855
853
  o?._id === l._id ? "opacity-100" : "opacity-0"
856
854
  )
@@ -882,21 +880,21 @@ function YA({ filter: A, queryKey: e }) {
882
880
  });
883
881
  }
884
882
  const jA = R(
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({
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({
887
885
  filter: {
888
886
  page: 1,
889
887
  limit: 5,
890
888
  name: P
891
889
  },
892
890
  queryKey: A
893
- }), B = u.data?.data;
891
+ }), B = g.data?.data;
894
892
  k(() => {
895
893
  !e && o && (x(void 0), y(""));
896
894
  }, [o, e]);
897
895
  const I = (l) => {
898
- const m = B?.find((D) => D._id === l);
899
- f(!1), m && (x(m), n(m));
896
+ const u = B?.find((D) => D._id === l);
897
+ f(!1), u && (x(u), n(u));
900
898
  };
901
899
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
902
900
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -918,7 +916,7 @@ const jA = R(
918
916
  /* @__PURE__ */ t(
919
917
  z,
920
918
  {
921
- ...g,
919
+ ...b,
922
920
  disabled: r,
923
921
  value: p,
924
922
  onValueChange: (l) => y(l),
@@ -928,10 +926,10 @@ const jA = R(
928
926
  }
929
927
  ),
930
928
  /* @__PURE__ */ s(U, { 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: [
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: [
935
933
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
936
934
  "Buscando..."
937
935
  ] }),
@@ -939,9 +937,9 @@ const jA = R(
939
937
  Y,
940
938
  {
941
939
  value: l._id,
942
- onSelect: (m) => {
940
+ onSelect: (u) => {
943
941
  I(
944
- m === o?._id ? "" : m
942
+ u === o?._id ? "" : u
945
943
  ), f(!1);
946
944
  },
947
945
  children: [
@@ -949,7 +947,7 @@ const jA = R(
949
947
  /* @__PURE__ */ t(
950
948
  j,
951
949
  {
952
- className: b(
950
+ className: m(
953
951
  "ml-auto",
954
952
  o?._id === l._id ? "opacity-100" : "opacity-0"
955
953
  )
@@ -986,21 +984,21 @@ function TA({
986
984
  });
987
985
  }
988
986
  const ZA = R(
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({
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({
991
989
  filter: {
992
990
  page: 1,
993
991
  limit: 10,
994
992
  name: P
995
993
  },
996
994
  queryKey: A
997
- }), B = u.data?.data;
995
+ }), B = g.data?.data;
998
996
  k(() => {
999
997
  !e && o && (x(void 0), y(""));
1000
998
  }, [o, e]);
1001
999
  const I = (l) => {
1002
- const m = B?.find((D) => D._id === l);
1003
- f(!1), m && (x(m), n(m));
1000
+ const u = B?.find((D) => D._id === l);
1001
+ f(!1), u && (x(u), n(u));
1004
1002
  };
1005
1003
  return /* @__PURE__ */ s(q, { open: d, onOpenChange: f, children: [
1006
1004
  /* @__PURE__ */ t(M, { asChild: !0, children: /* @__PURE__ */ s(
@@ -1022,7 +1020,7 @@ const ZA = R(
1022
1020
  /* @__PURE__ */ t(
1023
1021
  z,
1024
1022
  {
1025
- ...g,
1023
+ ...b,
1026
1024
  disabled: r,
1027
1025
  value: p,
1028
1026
  onValueChange: (l) => y(l),
@@ -1032,10 +1030,10 @@ const ZA = R(
1032
1030
  }
1033
1031
  ),
1034
1032
  /* @__PURE__ */ s(U, { 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: [
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: [
1039
1037
  /* @__PURE__ */ t(L, { className: "size-4 animate-spin" }),
1040
1038
  "Buscando..."
1041
1039
  ] }),
@@ -1043,9 +1041,9 @@ const ZA = R(
1043
1041
  Y,
1044
1042
  {
1045
1043
  value: l._id,
1046
- onSelect: (m) => {
1044
+ onSelect: (u) => {
1047
1045
  I(
1048
- m === o?._id ? "" : m
1046
+ u === o?._id ? "" : u
1049
1047
  ), f(!1);
1050
1048
  },
1051
1049
  children: [
@@ -1053,7 +1051,7 @@ const ZA = R(
1053
1051
  /* @__PURE__ */ t(
1054
1052
  j,
1055
1053
  {
1056
- className: b(
1054
+ className: m(
1057
1055
  "ml-auto",
1058
1056
  o?._id === l._id ? "opacity-100" : "opacity-0"
1059
1057
  )
@@ -1,13 +1,3 @@
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
-
11
1
  /**
12
2
  * Mensagem de erro genérico.
13
3
  * @returns {string} A mensagem.
@@ -31,10 +21,4 @@ export declare const NO_DATA_TO_UPDATE = "N\u00E3o h\u00E1 dados para atualizar.
31
21
  */
32
22
  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.";
33
23
 
34
- export declare const SOCIAL_NETWORK_VALUES: {
35
- readonly tiktok: "TikTok";
36
- readonly instagram: "Instagram";
37
- readonly youtube: "YouTube";
38
- };
39
-
40
24
  export { }
package/dist/constants.js CHANGED
@@ -1,20 +1,7 @@
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
- };
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.";
12
2
  export {
13
- s as BUSINESS_UNIT_VALUES,
14
- r as CLIENT_TYPE_VALUES,
15
- e as ERROR_MESSAGE,
3
+ t as ERROR_MESSAGE,
16
4
  a as FILTER_ALREADY_APPLIED_MESSAGE,
17
5
  o as NO_DATA_TO_UPDATE,
18
- t as NO_DATA_TO_UPDATE_MESSAGE,
19
- n as SOCIAL_NETWORK_VALUES
6
+ e as NO_DATA_TO_UPDATE_MESSAGE
20
7
  };
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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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
- origin: "inbound" | "outbound";
375
+ type: "inbound" | "outbound";
376
376
  contact: string;
377
377
  initialScope: string;
378
378
  profile: ProfileInterface;
@@ -473,7 +473,6 @@ export declare interface SaleInterface {
473
473
  };
474
474
  closedAt?: string;
475
475
  isDollarNegotiation: boolean;
476
- type: "new" | "renewal" | "upsell";
477
476
  }
478
477
 
479
478
  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.83",
4
+ "version": "0.0.85",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -116,6 +116,13 @@
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
+ },
119
126
  "dependencies": {
120
127
  "@radix-ui/react-accordion": "^1.2.12",
121
128
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -165,12 +172,5 @@
165
172
  "vite": "^7.2.4",
166
173
  "vite-plugin-dts": "^4.5.4",
167
174
  "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
+ }