@grapadigital/shared-app-modules 0.0.96 → 0.0.97

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.
@@ -0,0 +1,25 @@
1
+ const t = {
2
+ instagram: "Instagram",
3
+ tiktok: "TikTok",
4
+ youtube: "YouTube",
5
+ linkedin: "LinkedIn",
6
+ pinterest: "Pinterest"
7
+ }, a = {
8
+ agency: "Agência",
9
+ brand: "Marca"
10
+ }, i = {
11
+ enterprise: "Empresa",
12
+ artistic: "Artística"
13
+ }, e = {
14
+ instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]",
15
+ tiktok: "bg-black",
16
+ youtube: "bg-[#ff0033]",
17
+ linkedin: "bg-[#0a66c2]",
18
+ pinterest: "bg-[#e60023]"
19
+ };
20
+ export {
21
+ i as B,
22
+ a as C,
23
+ e as S,
24
+ t as a
25
+ };
@@ -0,0 +1,145 @@
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
+ };
package/dist/client.d.ts CHANGED
@@ -53,6 +53,7 @@ declare interface UserInterface {
53
53
  };
54
54
  company?: {
55
55
  legalName?: string;
56
+ email?: string;
56
57
  document?: string;
57
58
  bank?: string;
58
59
  agency?: string;
@@ -9,6 +9,7 @@ export declare interface CommissionInterface {
9
9
  type: string;
10
10
  title: string;
11
11
  sale: string;
12
+ paymentDate?: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
15
  }
@@ -5,6 +5,7 @@ import { HoverCardProps } from '@radix-ui/react-hover-card';
5
5
  import { JSX } from 'react/jsx-runtime';
6
6
  import * as LabelPrimitive from '@radix-ui/react-label';
7
7
  import { LucideIcon } from 'lucide-react';
8
+ import { LucideProps } from 'lucide-react';
8
9
  import * as React_2 from 'react';
9
10
  import { RefAttributes } from 'react';
10
11
 
@@ -228,13 +229,16 @@ declare interface FormalizationInterface {
228
229
  totalInstallments: number;
229
230
  }
230
231
 
231
- export declare function HoverContent({ content, className, openDelay, closeDelay, children, ...props }: HoverContentProps): JSX.Element;
232
+ export declare function HoverContent({ content, align, asChild, className, openDelay, closeDelay, children, disabled, ...props }: HoverContentProps): JSX.Element;
232
233
 
233
234
  declare interface HoverContentProps extends HoverCardProps {
234
235
  content: string | React.ReactNode;
236
+ align?: "center" | "start" | "end" | undefined;
237
+ asChild?: boolean;
235
238
  className?: string;
236
239
  openDelay?: number;
237
240
  closeDelay?: number;
241
+ disabled?: boolean;
238
242
  children: React.ReactNode;
239
243
  }
240
244
 
@@ -285,6 +289,8 @@ declare interface InfluencerSelectInputProps extends Omit<default_2.ComponentPro
285
289
  onValueChange: (sale: InfluencerInterface) => void;
286
290
  }
287
291
 
292
+ export declare function InstagramIcon({ size, color, ...props }: LucideProps): JSX.Element;
293
+
288
294
  declare interface InstallmentInfo {
289
295
  number: number;
290
296
  value: number;
@@ -323,6 +329,8 @@ declare interface LabelWithAsteriskProps {
323
329
  asterisk?: boolean;
324
330
  }
325
331
 
332
+ export declare function LinkedInIcon({ size, color, ...props }: LucideProps): JSX.Element;
333
+
326
334
  export declare function List({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
327
335
 
328
336
  export declare function ListRow({ label, value, tooltip, highlight, negative, positive, isPercentage, isDate, isText, isInvoiced, hasCopyButton, enableHoverableContent, handleCopy }: ListRowProps): JSX.Element;
@@ -431,7 +439,7 @@ declare interface Participant {
431
439
  value: number;
432
440
  }
433
441
 
434
- declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
442
+ declare type ParticipantRole = "origination" | "commercial";
435
443
 
436
444
  declare interface Payment {
437
445
  hasPayment: boolean;
@@ -475,6 +483,8 @@ declare interface Pending {
475
483
  installmentNumber: number;
476
484
  }
477
485
 
486
+ export declare function PinterestIcon({ size, color, ...props }: LucideProps): JSX.Element;
487
+
478
488
  declare interface ProfileInterface {
479
489
  _id: string;
480
490
  username: string;
@@ -497,7 +507,7 @@ declare interface ProfileMetric {
497
507
 
498
508
  declare interface ProposalInterface {
499
509
  businessUnit: "enterprise" | "artistic";
500
- type: "inbound" | "outbound";
510
+ origin: "inbound" | "outbound";
501
511
  contact: string;
502
512
  initialScope: string;
503
513
  profile: ProfileInterface;
@@ -598,6 +608,7 @@ declare interface SaleInterface {
598
608
  };
599
609
  closedAt?: string;
600
610
  isDollarNegotiation: boolean;
611
+ type: "new" | "renewal" | "upsell";
601
612
  }
602
613
 
603
614
  declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
@@ -621,6 +632,8 @@ declare const sizeMap: {
621
632
  declare interface SupplierInterface extends UserInterface {
622
633
  }
623
634
 
635
+ export declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
636
+
624
637
  declare interface UserInterface {
625
638
  _id?: string;
626
639
  name?: string;
@@ -638,6 +651,7 @@ declare interface UserInterface {
638
651
  };
639
652
  company?: {
640
653
  legalName?: string;
654
+ email?: string;
641
655
  document?: string;
642
656
  bank?: string;
643
657
  agency?: string;
@@ -655,4 +669,6 @@ declare interface UserInterface {
655
669
  };
656
670
  }
657
671
 
672
+ export declare function YoutubeIcon({ size, color, ...props }: LucideProps): JSX.Element;
673
+
658
674
  export { }