@grapadigital/shared-app-modules 0.0.151 → 0.0.153
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 +0 -13
- package/dist/chuncks/{format.util.CdTC20V9.js → format.util.C9TAg1A-.js} +1 -1
- package/dist/chuncks/{youtube-icon.component.DeRX44i0.js → youtube-icon.component.DOppFAbR.js} +2 -2
- package/dist/components.d.ts +0 -13
- package/dist/components.js +1 -1
- package/dist/constants.d.ts +1 -13
- package/dist/constants.js +8 -10
- package/dist/content.d.ts +0 -13
- package/dist/events.js +1 -1
- package/dist/invoice.d.ts +0 -13
- package/dist/log.d.ts +1 -1
- package/dist/pages.d.ts +1 -3
- package/dist/pages.js +8 -18
- package/dist/payment.d.ts +0 -13
- package/dist/recruitment.d.ts +0 -13
- package/dist/sale.d.ts +0 -13
- package/dist/utils.js +2 -2
- package/package.json +9 -9
- package/dist/types.d.ts +0 -33
- package/dist/types.js +0 -1
package/dist/action.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ declare interface Payment {
|
|
|
363
357
|
declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review_2;
|
|
@@ -375,7 +368,6 @@ declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note_3[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/chuncks/{youtube-icon.component.DeRX44i0.js → youtube-icon.component.DOppFAbR.js}
RENAMED
|
@@ -1913,14 +1913,14 @@ export {
|
|
|
1913
1913
|
GA as I,
|
|
1914
1914
|
Ue as L,
|
|
1915
1915
|
MA as P,
|
|
1916
|
-
|
|
1916
|
+
oa as S,
|
|
1917
1917
|
Je as T,
|
|
1918
1918
|
We as X,
|
|
1919
1919
|
Ze as Y,
|
|
1920
1920
|
sa as a,
|
|
1921
1921
|
ia as b,
|
|
1922
1922
|
iA as c,
|
|
1923
|
-
|
|
1923
|
+
lA as d,
|
|
1924
1924
|
$A as e,
|
|
1925
1925
|
qA as f,
|
|
1926
1926
|
kA as g,
|
package/dist/components.d.ts
CHANGED
|
@@ -237,7 +237,6 @@ declare interface DeliveryScope {
|
|
|
237
237
|
dayAllocation?: number | null;
|
|
238
238
|
pinterest?: number | null;
|
|
239
239
|
linkedin?: number | null;
|
|
240
|
-
twitter?: number | null;
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip, className, ...props }: ErrorCardProps): JSX.Element;
|
|
@@ -457,11 +456,6 @@ declare interface InstallmentInfo {
|
|
|
457
456
|
|
|
458
457
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
459
458
|
|
|
460
|
-
declare interface Installments {
|
|
461
|
-
installmentNumber: number;
|
|
462
|
-
value: number;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
459
|
declare interface Invoiced {
|
|
466
460
|
code: string;
|
|
467
461
|
issueDate: string;
|
|
@@ -616,7 +610,6 @@ declare interface Payment {
|
|
|
616
610
|
declare interface PaymentInterface {
|
|
617
611
|
_id: string;
|
|
618
612
|
title: string;
|
|
619
|
-
totalInstallments: number;
|
|
620
613
|
attachments: Attachments[];
|
|
621
614
|
pending?: Pending;
|
|
622
615
|
review?: Review_2;
|
|
@@ -628,7 +621,6 @@ declare interface PaymentInterface {
|
|
|
628
621
|
notes?: Note_3[];
|
|
629
622
|
tags?: string[];
|
|
630
623
|
phase: PaymentPhase;
|
|
631
|
-
installments: Installments[];
|
|
632
624
|
}
|
|
633
625
|
|
|
634
626
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -714,10 +706,6 @@ declare interface RecruitmentInterface {
|
|
|
714
706
|
status: string;
|
|
715
707
|
actionId: string;
|
|
716
708
|
profileId: string;
|
|
717
|
-
impressions: number;
|
|
718
|
-
reach: number;
|
|
719
|
-
engagementRate: number;
|
|
720
|
-
totalContents: number;
|
|
721
709
|
profile: ProfileInterface;
|
|
722
710
|
reel: ContentInterface[];
|
|
723
711
|
story: ContentInterface[];
|
|
@@ -727,7 +715,6 @@ declare interface RecruitmentInterface {
|
|
|
727
715
|
youtube: ContentInterface[];
|
|
728
716
|
linkedin: ContentInterface[];
|
|
729
717
|
pinterest: ContentInterface[];
|
|
730
|
-
twitter: ContentInterface[];
|
|
731
718
|
scope: ContractedScopeInterface;
|
|
732
719
|
}
|
|
733
720
|
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as b, y as N, c, H as v, B as S, aw as C, ax as I, ay as z, Y as T, Z as H, a1 as y, a0 as _, _ as j, a2 as A } from "./chuncks/switch.q7qsNhmq.js";
|
|
2
|
-
import { k as ge, l as xe, p as be, x as me, q as he, r as fe, F as ue, s as pe, t as ye, u as we, v as ke, w as Ne, I as ve, m as Ce, y as Ie, L as ze, P as Fe, f as Me, g as Se, h as Te, j as He, z as _e, n as je, o as Ae, T as Le, X as Pe, Y as $e } from "./chuncks/youtube-icon.component.
|
|
2
|
+
import { k as ge, l as xe, p as be, x as me, q as he, r as fe, F as ue, s as pe, t as ye, u as we, v as ke, w as Ne, I as ve, m as Ce, y as Ie, L as ze, P as Fe, f as Me, g as Se, h as Te, j as He, z as _e, n as je, o as Ae, T as Le, X as Pe, Y as $e } from "./chuncks/youtube-icon.component.DOppFAbR.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import { parseISO as w, differenceInCalendarDays as P, format as $ } from "date-fns";
|
package/dist/constants.d.ts
CHANGED
|
@@ -38,19 +38,13 @@ declare function LinkedInIcon({ size, color, ...props }: LucideProps): JSX.Eleme
|
|
|
38
38
|
export declare const NO_DATA_TO_UPDATE = "N\u00E3o h\u00E1 dados para atualizar.";
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Mensagem para quando quando não há dados novos para realizar uma operação.
|
|
41
|
+
* Mensagem para quando quando não há dados novos para realizar uma operação.
|
|
42
42
|
* @returns {string} A mensagem.
|
|
43
43
|
*/
|
|
44
44
|
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.";
|
|
45
45
|
|
|
46
46
|
declare function PinterestIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
47
47
|
|
|
48
|
-
/**
|
|
49
|
-
* Mensagem para quando um campo obrigatório estiver vazio.
|
|
50
|
-
* @returns {string} A mensagem.
|
|
51
|
-
*/
|
|
52
|
-
export declare const REQUIRED_FIELD_MESSAGE = "Campo obrigat\u00F3rio.";
|
|
53
|
-
|
|
54
48
|
export declare const SOCIAL_NETWORK_COLOR_VALUES: {
|
|
55
49
|
instagram: string;
|
|
56
50
|
tiktok: string;
|
|
@@ -80,12 +74,6 @@ export declare const SOCIAL_NETWORK_VALUES: {
|
|
|
80
74
|
|
|
81
75
|
declare function TikTokIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
82
76
|
|
|
83
|
-
/**
|
|
84
|
-
* Mensagem para quando ocorrer um erro na validação dos dados enviados ao servidor.
|
|
85
|
-
* @returns {string} A mensagem.
|
|
86
|
-
*/
|
|
87
|
-
export declare const VALIDATION_ERROR_MESSAGE = "H\u00E1 um erro na valida\u00E7\u00E3o dos campos. Por favor, entre em contato com o suporte.";
|
|
88
|
-
|
|
89
77
|
declare function XIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
|
90
78
|
|
|
91
79
|
declare function YoutubeIcon({ size, color, ...props }: LucideProps): JSX.Element;
|
package/dist/constants.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
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
|
+
import { A as r, B as n, C as s, S as A, e as S, d as O } from "./chuncks/youtube-icon.component.DOppFAbR.js";
|
|
2
|
+
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.";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
r as ACTION_TYPE_VALUES,
|
|
5
|
+
n as BUSINESS_UNIT_VALUES,
|
|
6
|
+
s as CLIENT_TYPE_VALUES,
|
|
7
7
|
t as ERROR_MESSAGE,
|
|
8
8
|
a as FILTER_ALREADY_APPLIED_MESSAGE,
|
|
9
9
|
o as NO_DATA_TO_UPDATE,
|
|
10
10
|
e as NO_DATA_TO_UPDATE_MESSAGE,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
c as SOCIAL_NETWORK_VALUES,
|
|
15
|
-
E as VALIDATION_ERROR_MESSAGE
|
|
11
|
+
A as SOCIAL_NETWORK_COLOR_VALUES,
|
|
12
|
+
S as SOCIAL_NETWORK_ICON_COMPONENTS,
|
|
13
|
+
O as SOCIAL_NETWORK_VALUES
|
|
16
14
|
};
|
package/dist/content.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ declare interface Payment {
|
|
|
363
357
|
declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review_2;
|
|
@@ -375,7 +368,6 @@ declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note_3[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/events.js
CHANGED
package/dist/invoice.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
export declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ declare interface Payment {
|
|
|
363
357
|
declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review_2;
|
|
@@ -375,7 +368,6 @@ declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note_3[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/log.d.ts
CHANGED
package/dist/pages.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
|
-
export declare function LoaderPage(
|
|
5
|
-
|
|
6
|
-
declare type LoaderPageProps = React.ComponentProps<"div">;
|
|
4
|
+
export declare function LoaderPage(): JSX.Element;
|
|
7
5
|
|
|
8
6
|
export declare function NotFoundPage({ btnRedirect, btnLabel, hideBtn, className, ...props }: NotFoundPageProps): JSX.Element;
|
|
9
7
|
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as i, c as
|
|
1
|
+
import { a as i, c as a, B as m } from "./chuncks/switch.q7qsNhmq.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";
|
|
@@ -11,22 +11,12 @@ const x = [
|
|
|
11
11
|
}
|
|
12
12
|
]
|
|
13
13
|
], u = i("flag", x);
|
|
14
|
-
function N(
|
|
15
|
-
return /* @__PURE__ */ e(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: t(
|
|
19
|
-
"flex items-center justify-center h-screen w-screen",
|
|
20
|
-
a
|
|
21
|
-
),
|
|
22
|
-
...r,
|
|
23
|
-
children: /* @__PURE__ */ e("div", { className: "size-16 border-gray-500 border-t-gray-700 rounded-full animate-spin border-[0.375rem]" })
|
|
24
|
-
}
|
|
25
|
-
);
|
|
14
|
+
function N() {
|
|
15
|
+
return /* @__PURE__ */ e("div", { className: a("flex items-center justify-center h-screen w-screen"), children: /* @__PURE__ */ e("div", { className: "size-16 border-gray-500 border-t-gray-700 rounded-full animate-spin border-[0.375rem]" }) });
|
|
26
16
|
}
|
|
27
17
|
function b({
|
|
28
|
-
btnRedirect:
|
|
29
|
-
btnLabel:
|
|
18
|
+
btnRedirect: r = "/",
|
|
19
|
+
btnLabel: t = "Home",
|
|
30
20
|
hideBtn: s = !1,
|
|
31
21
|
className: n,
|
|
32
22
|
...o
|
|
@@ -35,7 +25,7 @@ function b({
|
|
|
35
25
|
return /* @__PURE__ */ e(
|
|
36
26
|
"div",
|
|
37
27
|
{
|
|
38
|
-
className:
|
|
28
|
+
className: a(
|
|
39
29
|
"h-screen mx-auto grid place-items-center text-center px-8",
|
|
40
30
|
n
|
|
41
31
|
),
|
|
@@ -49,8 +39,8 @@ function b({
|
|
|
49
39
|
{
|
|
50
40
|
size: "lg",
|
|
51
41
|
className: "px-4 md:w-[8rem]",
|
|
52
|
-
onClick: () => c(
|
|
53
|
-
children:
|
|
42
|
+
onClick: () => c(r),
|
|
43
|
+
children: t
|
|
54
44
|
}
|
|
55
45
|
)
|
|
56
46
|
] })
|
package/dist/payment.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ declare interface Payment {
|
|
|
363
357
|
export declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review;
|
|
@@ -375,7 +368,6 @@ export declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
export declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/recruitment.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ export declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
export declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ export declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
export declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ export declare interface Payment {
|
|
|
363
357
|
declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review_2;
|
|
@@ -375,7 +368,6 @@ declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note_3[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ export declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ export declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/sale.d.ts
CHANGED
|
@@ -182,7 +182,6 @@ declare interface DeliveryScope {
|
|
|
182
182
|
dayAllocation?: number | null;
|
|
183
183
|
pinterest?: number | null;
|
|
184
184
|
linkedin?: number | null;
|
|
185
|
-
twitter?: number | null;
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
declare interface Exchange {
|
|
@@ -251,11 +250,6 @@ declare interface InstallmentInfo {
|
|
|
251
250
|
|
|
252
251
|
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
253
252
|
|
|
254
|
-
declare interface Installments {
|
|
255
|
-
installmentNumber: number;
|
|
256
|
-
value: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
253
|
declare interface Invoiced {
|
|
260
254
|
code: string;
|
|
261
255
|
issueDate: string;
|
|
@@ -363,7 +357,6 @@ declare interface Payment {
|
|
|
363
357
|
declare interface PaymentInterface {
|
|
364
358
|
_id: string;
|
|
365
359
|
title: string;
|
|
366
|
-
totalInstallments: number;
|
|
367
360
|
attachments: Attachments[];
|
|
368
361
|
pending?: Pending;
|
|
369
362
|
review?: Review_2;
|
|
@@ -375,7 +368,6 @@ declare interface PaymentInterface {
|
|
|
375
368
|
notes?: Note_3[];
|
|
376
369
|
tags?: string[];
|
|
377
370
|
phase: PaymentPhase;
|
|
378
|
-
installments: Installments[];
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
@@ -452,10 +444,6 @@ declare interface RecruitmentInterface {
|
|
|
452
444
|
status: string;
|
|
453
445
|
actionId: string;
|
|
454
446
|
profileId: string;
|
|
455
|
-
impressions: number;
|
|
456
|
-
reach: number;
|
|
457
|
-
engagementRate: number;
|
|
458
|
-
totalContents: number;
|
|
459
447
|
profile: ProfileInterface;
|
|
460
448
|
reel: ContentInterface[];
|
|
461
449
|
story: ContentInterface[];
|
|
@@ -465,7 +453,6 @@ declare interface RecruitmentInterface {
|
|
|
465
453
|
youtube: ContentInterface[];
|
|
466
454
|
linkedin: ContentInterface[];
|
|
467
455
|
pinterest: ContentInterface[];
|
|
468
|
-
twitter: ContentInterface[];
|
|
469
456
|
scope: ContractedScopeInterface;
|
|
470
457
|
}
|
|
471
458
|
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.
|
|
2
|
-
import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.
|
|
1
|
+
import { f as e, a as r, b as m, c as t, m as o, d as c, e as i, g as n, p, h as C, u as f } from "./chuncks/format.util.C9TAg1A-.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/youtube-icon.component.DOppFAbR.js";
|
|
3
3
|
export {
|
|
4
4
|
e as formatCompactNumber,
|
|
5
5
|
r as formatCompactPercent,
|
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.
|
|
4
|
+
"version": "0.0.153",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -120,6 +120,13 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"type": "module",
|
|
123
|
+
"scripts": {
|
|
124
|
+
"dev": "vite",
|
|
125
|
+
"build": "rm -rf dist && tsc -b && vite build",
|
|
126
|
+
"lint": "eslint .",
|
|
127
|
+
"preview": "vite preview",
|
|
128
|
+
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
129
|
+
},
|
|
123
130
|
"peerDependencies": {
|
|
124
131
|
"react": "^18.3.1",
|
|
125
132
|
"react-dom": "^18.3.1"
|
|
@@ -175,12 +182,5 @@
|
|
|
175
182
|
"vite": "^7.2.4",
|
|
176
183
|
"vite-plugin-dts": "^4.5.4",
|
|
177
184
|
"vite-plugin-lib-inject-css": "^2.2.2"
|
|
178
|
-
},
|
|
179
|
-
"scripts": {
|
|
180
|
-
"dev": "vite",
|
|
181
|
-
"build": "rm -rf dist && tsc -b && vite build",
|
|
182
|
-
"lint": "eslint .",
|
|
183
|
-
"preview": "vite preview",
|
|
184
|
-
"lib:publish": "pnpm build && pnpm publish --no-git-checks"
|
|
185
185
|
}
|
|
186
|
-
}
|
|
186
|
+
}
|
package/dist/types.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Transforma todas as propriedades de um objeto em tipos que aceitam `null`.
|
|
3
|
-
* Útil para representar estados parciais ou dados vindos de formulários/APIs.
|
|
4
|
-
*
|
|
5
|
-
* @template T - O tipo do objeto original.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* interface User { id: number; name: string; }
|
|
9
|
-
* type NullableUser = Nullable<User>;
|
|
10
|
-
* // Resultado: { id: number | null; name: string | null; }
|
|
11
|
-
*/
|
|
12
|
-
export declare type Nullable<T> = {
|
|
13
|
-
[K in keyof T]: T[K] | null;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Torna um subconjunto específico de propriedades de um tipo opcional,
|
|
18
|
-
* mantendo o restante das propriedades obrigatórias.
|
|
19
|
-
*
|
|
20
|
-
* Útil quando apenas alguns campos de um objeto podem ser omitidos,
|
|
21
|
-
* como em atualizações parciais controladas.
|
|
22
|
-
*
|
|
23
|
-
* @template T - O tipo do objeto original.
|
|
24
|
-
* @template K - As chaves de T que devem se tornar opcionais.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* interface User { id: number; name: string; email: string; }
|
|
28
|
-
* type UserUpdate = PartialBy<User, 'name' | 'email'>;
|
|
29
|
-
* // Resultado: { id: number; name?: string; email?: string; }
|
|
30
|
-
*/
|
|
31
|
-
export declare type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
32
|
-
|
|
33
|
-
export { }
|
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|