@grapadigital/shared-app-modules 0.0.95 → 0.0.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.
@@ -1,16 +1,3 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { LucideProps } from 'lucide-react';
3
-
4
- export declare const BUSINESS_UNIT_VALUES: {
5
- readonly enterprise: "Empresa";
6
- readonly artistic: "Artística";
7
- };
8
-
9
- export declare const CLIENT_TYPE_VALUES: {
10
- readonly agency: "Agência";
11
- readonly brand: "Marca";
12
- };
13
-
14
1
  /**
15
2
  * Mensagem de erro genérico.
16
3
  * @returns {string} A mensagem.
@@ -23,10 +10,6 @@ export declare const ERROR_MESSAGE = "N\u00E3o foi poss\u00EDvel concluir a oper
23
10
  */
24
11
  export declare const FILTER_ALREADY_APPLIED_MESSAGE = "O filtro selecionado j\u00E1 est\u00E1 ativo. Por favor, escolha outro filtro antes de tentar novamente.";
25
12
 
26
- declare function InstagramIcon({ size, color, ...props }: LucideProps): JSX.Element;
27
-
28
- declare function LinkedInIcon({ size, color, ...props }: LucideProps): JSX.Element;
29
-
30
13
  /**
31
14
  * @deprecated Utilizar `NO_DATA_TO_UPDATE_MESSAGE` no lugar.
32
15
  */
@@ -38,34 +21,4 @@ export declare const NO_DATA_TO_UPDATE = "N\u00E3o h\u00E1 dados para atualizar.
38
21
  */
39
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.";
40
23
 
41
- declare function PinterestIcon({ size, color, ...props }: LucideProps): JSX.Element;
42
-
43
- export declare const SOCIAL_NETWORK_COLOR_VALUES: {
44
- instagram: string;
45
- tiktok: string;
46
- youtube: string;
47
- linkedin: string;
48
- pinterest: string;
49
- };
50
-
51
- export declare const SOCIAL_NETWORK_ICON_COMPONENTS: {
52
- readonly instagram: typeof InstagramIcon;
53
- readonly tiktok: typeof TikTokIcon;
54
- readonly youtube: typeof YoutubeIcon;
55
- readonly linkedin: typeof LinkedInIcon;
56
- readonly pinterest: typeof PinterestIcon;
57
- };
58
-
59
- export declare const SOCIAL_NETWORK_VALUES: {
60
- readonly instagram: "Instagram";
61
- readonly tiktok: "TikTok";
62
- readonly youtube: "YouTube";
63
- readonly linkedin: "LinkedIn";
64
- readonly pinterest: "Pinterest";
65
- };
66
-
67
- declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
68
-
69
- declare function YoutubeIcon({ size, color, ...props }: LucideProps): JSX.Element;
70
-
71
24
  export { }
package/dist/constants.js CHANGED
@@ -1,25 +1,7 @@
1
- import { B as L, C as N, S as d, a as u } from "./chuncks/values.constant.DO4JqXro.js";
2
- import "./chuncks/scroll-area.CEAE-ZuD.js";
3
- import "./chuncks/_influencer-select-input.component.CbVEJ529.js";
4
- import "react/jsx-runtime";
5
- import "react";
6
- import "date-fns";
7
- import { P as o, L as a, Y as t, T as e, I as n } from "./chuncks/youtube-icon.component.R7s6jY4w.js";
8
- const A = "Não há dados para atualizar.", S = "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.", c = "Não foi possível concluir a operação. Tente novamente mais tarde ou entre em contato com o suporte.", I = {
9
- instagram: n,
10
- tiktok: e,
11
- youtube: t,
12
- linkedin: a,
13
- pinterest: o
14
- };
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.";
15
2
  export {
16
- L as BUSINESS_UNIT_VALUES,
17
- N as CLIENT_TYPE_VALUES,
18
- c as ERROR_MESSAGE,
19
- S as FILTER_ALREADY_APPLIED_MESSAGE,
20
- A as NO_DATA_TO_UPDATE,
21
- T 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
3
+ t as ERROR_MESSAGE,
4
+ a as FILTER_ALREADY_APPLIED_MESSAGE,
5
+ o as NO_DATA_TO_UPDATE,
6
+ e as NO_DATA_TO_UPDATE_MESSAGE
25
7
  };
package/dist/content.d.ts CHANGED
@@ -306,7 +306,7 @@ declare interface Participant {
306
306
  value: number;
307
307
  }
308
308
 
309
- declare type ParticipantRole = "origination" | "commercial";
309
+ declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
310
310
 
311
311
  declare interface Payment {
312
312
  hasPayment: boolean;
@@ -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";
@@ -506,7 +505,6 @@ declare interface UserInterface {
506
505
  };
507
506
  company?: {
508
507
  legalName?: string;
509
- email?: string;
510
508
  document?: string;
511
509
  bank?: string;
512
510
  agency?: string;
@@ -97,7 +97,6 @@ declare interface UserInterface {
97
97
  };
98
98
  company?: {
99
99
  legalName?: string;
100
- email?: string;
101
100
  document?: string;
102
101
  bank?: string;
103
102
  agency?: string;
package/dist/events.js CHANGED
@@ -1,13 +1,13 @@
1
- import { h as o } from "./chuncks/format.util.CM-_4aqn.js";
1
+ import { preFormatPercentage as s } from "./utils.js";
2
2
  const i = (t, a) => {
3
- const e = t.target.value, n = o(e);
3
+ const e = t.target.value, n = s(e);
4
4
  n !== !1 && a(n);
5
5
  }, f = (t, a) => {
6
6
  const e = t.target, n = e.value, c = e.selectionStart, r = e.selectionEnd;
7
7
  if (c === r && t.key === "Backspace") {
8
- const u = n.slice(0, -2), s = o(u);
9
- if (s === !1) return;
10
- a(s);
8
+ const u = n.slice(0, -2), o = s(u);
9
+ if (o === !1) return;
10
+ a(o);
11
11
  }
12
12
  };
13
13
  export {
@@ -49,7 +49,6 @@ declare interface UserInterface {
49
49
  };
50
50
  company?: {
51
51
  legalName?: string;
52
- email?: string;
53
52
  document?: string;
54
53
  bank?: string;
55
54
  agency?: string;
package/dist/invoice.d.ts CHANGED
@@ -306,7 +306,7 @@ declare interface Participant {
306
306
  value: number;
307
307
  }
308
308
 
309
- declare type ParticipantRole = "origination" | "commercial";
309
+ declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
310
310
 
311
311
  declare interface Payment {
312
312
  hasPayment: boolean;
@@ -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";
@@ -506,7 +505,6 @@ declare interface UserInterface {
506
505
  };
507
506
  company?: {
508
507
  legalName?: string;
509
- email?: string;
510
508
  document?: string;
511
509
  bank?: string;
512
510
  agency?: string;
package/dist/pages.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as i, c as a, B as m } from "./chuncks/scroll-area.CEAE-ZuD.js";
1
+ import { a as i, c as a, B as m } from "./chuncks/timeline.DfIC0519.js";
2
2
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
3
  import "react";
4
4
  import { useNavigate as d } from "react-router-dom";
package/dist/payment.d.ts CHANGED
@@ -306,7 +306,7 @@ declare interface Participant {
306
306
  value: number;
307
307
  }
308
308
 
309
- declare type ParticipantRole = "origination" | "commercial";
309
+ declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
310
310
 
311
311
  declare interface Payment {
312
312
  hasPayment: boolean;
@@ -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";
@@ -506,7 +505,6 @@ declare interface UserInterface {
506
505
  };
507
506
  company?: {
508
507
  legalName?: string;
509
- email?: string;
510
508
  document?: string;
511
509
  bank?: string;
512
510
  agency?: string;
package/dist/profile.d.ts CHANGED
@@ -49,7 +49,6 @@ declare interface UserInterface {
49
49
  };
50
50
  company?: {
51
51
  legalName?: string;
52
- email?: string;
53
52
  document?: string;
54
53
  bank?: string;
55
54
  agency?: string;
@@ -306,7 +306,7 @@ declare interface Participant {
306
306
  value: number;
307
307
  }
308
308
 
309
- declare type ParticipantRole = "origination" | "commercial";
309
+ declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
310
310
 
311
311
  export declare interface Payment {
312
312
  hasPayment: boolean;
@@ -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";
@@ -506,7 +505,6 @@ declare interface UserInterface {
506
505
  };
507
506
  company?: {
508
507
  legalName?: string;
509
- email?: string;
510
508
  document?: string;
511
509
  bank?: string;
512
510
  agency?: string;
package/dist/sale.d.ts CHANGED
@@ -306,7 +306,7 @@ export declare interface Participant {
306
306
  value: number;
307
307
  }
308
308
 
309
- export declare type ParticipantRole = "origination" | "commercial";
309
+ export declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
310
310
 
311
311
  declare interface Payment {
312
312
  hasPayment: boolean;
@@ -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";
@@ -506,7 +505,6 @@ declare interface UserInterface {
506
505
  };
507
506
  company?: {
508
507
  legalName?: string;
509
- email?: string;
510
508
  document?: string;
511
509
  bank?: string;
512
510
  agency?: string;
package/dist/shadcn.d.ts CHANGED
@@ -19,7 +19,6 @@ import { DialogProps } from '@radix-ui/react-dialog';
19
19
  import { DialogTitleProps } from '@radix-ui/react-dialog';
20
20
  import { DialogTriggerProps } from '@radix-ui/react-dialog';
21
21
  import { Drawer as Drawer_2 } from 'vaul';
22
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
23
22
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
24
23
  import { JSX } from 'react/jsx-runtime';
25
24
  import * as LabelPrimitive from '@radix-ui/react-label';
@@ -30,7 +29,6 @@ import { Portal } from 'vaul';
30
29
  import * as ProgressPrimitive from '@radix-ui/react-progress';
31
30
  import * as React_2 from 'react';
32
31
  import * as RechartsPrimitive from 'recharts';
33
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
34
32
  import * as SelectPrimitive from '@radix-ui/react-select';
35
33
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
36
34
  import * as TabsPrimitive from '@radix-ui/react-tabs';
@@ -303,45 +301,6 @@ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogT
303
301
 
304
302
  export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
305
303
 
306
- export declare const DropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
307
-
308
- export declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
309
-
310
- export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
311
-
312
- export declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
313
-
314
- export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
315
- inset?: boolean;
316
- } & React_2.RefAttributes<HTMLDivElement>>;
317
-
318
- export declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
319
- inset?: boolean;
320
- } & React_2.RefAttributes<HTMLDivElement>>;
321
-
322
- export declare const DropdownMenuPortal: React_2.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
323
-
324
- export declare const DropdownMenuRadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
325
-
326
- export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
327
-
328
- export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
329
-
330
- export declare const DropdownMenuShortcut: {
331
- ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
332
- displayName: string;
333
- };
334
-
335
- export declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
336
-
337
- export declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
338
-
339
- export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
340
- inset?: boolean;
341
- } & React_2.RefAttributes<HTMLDivElement>>;
342
-
343
- export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
344
-
345
304
  export declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): JSX.Element;
346
305
 
347
306
  export declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
@@ -418,10 +377,6 @@ declare interface ProgressPrimitiveIndicatorProps {
418
377
  indicatorsClassName?: string;
419
378
  }
420
379
 
421
- export declare const ScrollArea: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
422
-
423
- export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
424
-
425
380
  export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
426
381
 
427
382
  export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;