@grapadigital/shared-app-modules 0.0.153 → 0.0.155

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
@@ -182,6 +182,7 @@ declare interface DeliveryScope {
182
182
  dayAllocation?: number | null;
183
183
  pinterest?: number | null;
184
184
  linkedin?: number | null;
185
+ twitter?: number | null;
185
186
  }
186
187
 
187
188
  declare interface Exchange {
@@ -250,6 +251,11 @@ declare interface InstallmentInfo {
250
251
 
251
252
  declare type InstallmentInfoArray = Array<InstallmentInfo>;
252
253
 
254
+ declare interface Installments {
255
+ installmentNumber: number;
256
+ value: number;
257
+ }
258
+
253
259
  declare interface Invoiced {
254
260
  code: string;
255
261
  issueDate: string;
@@ -357,6 +363,7 @@ declare interface Payment {
357
363
  declare interface PaymentInterface {
358
364
  _id: string;
359
365
  title: string;
366
+ totalInstallments: number;
360
367
  attachments: Attachments[];
361
368
  pending?: Pending;
362
369
  review?: Review_2;
@@ -368,6 +375,7 @@ declare interface PaymentInterface {
368
375
  notes?: Note_3[];
369
376
  tags?: string[];
370
377
  phase: PaymentPhase;
378
+ installments: Installments[];
371
379
  }
372
380
 
373
381
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
@@ -415,6 +423,7 @@ declare interface ProposalInterface {
415
423
  contact: string;
416
424
  initialScope: string;
417
425
  profile: ProfileInterface;
426
+ influencer: InfluencerInterface;
418
427
  responsable: {
419
428
  team: string;
420
429
  name: string;
@@ -444,6 +453,10 @@ declare interface RecruitmentInterface {
444
453
  status: string;
445
454
  actionId: string;
446
455
  profileId: string;
456
+ impressions: number;
457
+ reach: number;
458
+ engagementRate: number;
459
+ totalContents: number;
447
460
  profile: ProfileInterface;
448
461
  reel: ContentInterface[];
449
462
  story: ContentInterface[];
@@ -453,6 +466,7 @@ declare interface RecruitmentInterface {
453
466
  youtube: ContentInterface[];
454
467
  linkedin: ContentInterface[];
455
468
  pinterest: ContentInterface[];
469
+ twitter: ContentInterface[];
456
470
  scope: ContractedScopeInterface;
457
471
  }
458
472
 
@@ -1,9 +1,9 @@
1
- import { b as n } from "./youtube-icon.component.DOppFAbR.js";
2
- function m(e) {
1
+ import { i as n } from "./youtube-icon.component.BQUJXvPb.js";
2
+ function a(e) {
3
3
  const r = e.replace(/[^0-9]/g, "");
4
4
  return Number(r) / 100;
5
5
  }
6
- function u(e) {
6
+ function c(e) {
7
7
  return e.toLocaleString("pt-BR", {
8
8
  style: "currency",
9
9
  currency: "BRL"
@@ -12,53 +12,67 @@ function u(e) {
12
12
  const o = (e) => {
13
13
  const r = n(e) ? e : Number(e);
14
14
  return `${parseInt(String(r * 100))}%`;
15
- }, i = (e) => {
15
+ }, u = (e) => {
16
16
  const r = +String(e).replace("%", "");
17
17
  if (!n(r)) return !1;
18
18
  const t = r / 100;
19
19
  return +String(t).split(".")[0] >= 1 ? 1 : t;
20
20
  };
21
- function s(e) {
21
+ function m(e) {
22
22
  return e.replace(/\D/g, "").replace(/^(\d{3})(\d{3})(\d{3})(\d{2})$/, "$1.$2.$3-$4");
23
23
  }
24
- function l(e) {
24
+ function i(e) {
25
25
  return e.replace(/\D/g, "").replace(/^(\d{2})(\d{3})(\d{3})(\d{1})$/, "$1.$2.$3-$4");
26
26
  }
27
- function p(e) {
27
+ function s(e) {
28
28
  return e.replace(/\D/g, "").replace(
29
29
  /^(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})$/,
30
30
  "$1.$2.$3/$4-$5"
31
31
  );
32
32
  }
33
- function d(e) {
33
+ function l(e) {
34
34
  return e.replace(/\D/g, "").replace(/^(\d{5})(\d{3})$/, "$1-$2");
35
35
  }
36
- function f(e) {
36
+ function p(e) {
37
37
  return e.replace(/\D/g, "");
38
38
  }
39
- const $ = (e) => new Intl.NumberFormat("pt-BR", {
39
+ const d = (e) => new Intl.NumberFormat("pt-BR", {
40
40
  style: "decimal",
41
41
  notation: "compact",
42
42
  compactDisplay: "short",
43
43
  minimumFractionDigits: 0,
44
44
  maximumFractionDigits: 3
45
- }).format(e), g = (e) => new Intl.NumberFormat("pt-BR", {
45
+ }).format(e), f = (e) => new Intl.NumberFormat("pt-BR", {
46
46
  style: "percent",
47
47
  notation: "compact",
48
48
  compactDisplay: "short",
49
49
  minimumFractionDigits: 0,
50
50
  maximumFractionDigits: 2
51
- }).format(e);
51
+ }).format(e), D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52
+ __proto__: null,
53
+ formatCompactNumber: d,
54
+ formatCompactPercent: f,
55
+ formatCurrency: c,
56
+ formatPercentage: o,
57
+ maskCNPJ: s,
58
+ maskCPF: m,
59
+ maskRG: i,
60
+ maskZipCode: l,
61
+ preFormatCurrency: a,
62
+ preFormatPercentage: u,
63
+ unmask: p
64
+ }, Symbol.toStringTag, { value: "Module" }));
52
65
  export {
53
- g as a,
66
+ D as U,
67
+ o as a,
54
68
  u as b,
55
- o as c,
69
+ i as c,
56
70
  s as d,
57
71
  l as e,
58
- $ as f,
72
+ c as f,
59
73
  d as g,
60
- i as h,
61
- p as m,
62
- m as p,
63
- f as u
74
+ f as h,
75
+ m,
76
+ a as p,
77
+ p as u
64
78
  };