@grapadigital/shared-app-modules 0.0.204 → 0.0.206

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
@@ -393,7 +393,7 @@ declare interface PaymentInterface {
393
393
 
394
394
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  declare interface Pending {
399
399
  requester: Requester;
@@ -1,4 +1,4 @@
1
- import { i as n } from "./youtube-icon.component.DgmjX6Bz.js";
1
+ import { i as n } from "./youtube-icon.component.BrliOl2F.js";
2
2
  function a(e) {
3
3
  const r = e.replace(/[^0-9]/g, "");
4
4
  return Number(r) / 100;
@@ -245,6 +245,7 @@ function eo(e) {
245
245
  function to(e) {
246
246
  return Object.values(e);
247
247
  }
248
+ const qA = (e) => e !== 0 && !e ? null : new Date(e);
248
249
  function ve(e) {
249
250
  function t(a) {
250
251
  return !a || !(a in e) ? null : e[a];
@@ -254,28 +255,25 @@ function ve(e) {
254
255
  values: $a(e),
255
256
  labels: to(e),
256
257
  getLabel: t,
257
- options: eo(e).map(([a, r]) => ({
258
- value: a,
259
- label: r
260
- })),
258
+ options: eo(e).map(([a, r]) => ({ value: a, label: r })),
261
259
  is(a) {
262
260
  return a !== 0 && !a ? !1 : a in e;
263
261
  }
264
262
  };
265
263
  }
266
- const qA = ve({
264
+ const LA = ve({
267
265
  partner: "Parceiros",
268
266
  exclusive: "Exclusivos"
269
- }), LA = ve({
267
+ }), zA = ve({
270
268
  config: "Configuração",
271
269
  inProgress: "Em Andamento",
272
270
  finished: "Concluído",
273
271
  archived: "Arquivada",
274
272
  cancelled: "Cancelado"
275
- }), zA = ve({
273
+ }), HA = ve({
276
274
  agency: "Agência",
277
275
  brand: "Marca"
278
- }), HA = ve({
276
+ }), UA = ve({
279
277
  influencer: "Veículação de Influenciador",
280
278
  advisor: "Pagamento de Assessor",
281
279
  supplier: "Pagamento de Fornecedor",
@@ -289,8 +287,10 @@ const qA = ve({
289
287
  correios: "Correios",
290
288
  conta_simples: "Conta Simples",
291
289
  motoboy_bruno: "Motoboy Bruno",
292
- motoboy_others: "Motoboy Outros"
293
- }), UA = ve({
290
+ motoboy_others: "Motoboy Outros",
291
+ logistics_control: "Controle de Logística",
292
+ transfer_between_accounts: "Transferência entre Contas"
293
+ }), YA = ve({
294
294
  pending: "Revisão Atendimento",
295
295
  review: "Revisão Financeiro",
296
296
  awaiting: "Aguardando",
@@ -300,14 +300,14 @@ const qA = ve({
300
300
  paid: "Pago",
301
301
  client: "Pagamento via Cliente",
302
302
  canceled: "Cancelado"
303
- }), YA = ve({
303
+ }), VA = ve({
304
304
  new: "Aquisição",
305
305
  organic_expansion: "Expansão Orgânica de Base",
306
306
  strategic_expansion: "Expansão Estratégica de Base",
307
307
  renewal: "Renovação",
308
308
  comercial_winback: "Reativação Comercial",
309
309
  organic_winback: "Reativação Orgânica"
310
- }), VA = ve({
310
+ }), WA = ve({
311
311
  instagram: "Instagram",
312
312
  tiktok: "TikTok",
313
313
  youtube: "YouTube",
@@ -315,14 +315,14 @@ const qA = ve({
315
315
  pinterest: "Pinterest",
316
316
  twitter: "Twitter (X)",
317
317
  facebook: "Facebook"
318
- }), WA = ve({
318
+ }), QA = ve({
319
319
  instagram: "bg-gradient-to-br from-[#f09433] via-[#e6683c] via-[#dc2743] via-[#cc2366] to-[#bc1888]",
320
320
  tiktok: "bg-black",
321
321
  youtube: "bg-[#ff0033]",
322
322
  linkedin: "bg-[#0a66c2]",
323
323
  pinterest: "bg-[#e60023]",
324
324
  twitter: "bg-black"
325
- }), QA = ve({
325
+ }), GA = ve({
326
326
  service: "Atendimento",
327
327
  comercial: "Comercial",
328
328
  squad_a: "Squad A",
@@ -912,7 +912,7 @@ function Co() {
912
912
  }
913
913
  );
914
914
  }
915
- function GA({
915
+ function JA({
916
916
  module: e,
917
917
  moduleId: t,
918
918
  organizationId: n,
@@ -989,7 +989,7 @@ function To() {
989
989
  ] })
990
990
  ] });
991
991
  }
992
- function JA({
992
+ function XA({
993
993
  module: e,
994
994
  organizationId: t
995
995
  }) {
@@ -1000,7 +1000,7 @@ function JA({
1000
1000
  }
1001
1001
  }).data;
1002
1002
  }
1003
- function XA({
1003
+ function ZA({
1004
1004
  module: e,
1005
1005
  tags: t = [],
1006
1006
  organizationId: n
@@ -4668,7 +4668,7 @@ var kt = function(t, n) {
4668
4668
  "&singleLine": t,
4669
4669
  "&multiLine": !t
4670
4670
  };
4671
- }), ZA = bi(on), Ei = {
4671
+ }), KA = bi(on), Ei = {
4672
4672
  fontWeight: "inherit"
4673
4673
  }, Or = function(t) {
4674
4674
  var n = t.display, a = t.style, r = t.className, o = t.classNames, s = rn(Ei, {
@@ -5648,51 +5648,51 @@ function pA({
5648
5648
  );
5649
5649
  }
5650
5650
  export {
5651
- aA as $,
5651
+ rA as $,
5652
5652
  NA as A,
5653
5653
  za as B,
5654
5654
  qa as C,
5655
5655
  jA as D,
5656
5656
  Oe as E,
5657
5657
  FA as F,
5658
- ye as G,
5659
- Xo as H,
5658
+ nr as G,
5659
+ ye as H,
5660
5660
  Ua as I,
5661
- $o as J,
5662
- lr as K,
5663
- as as L,
5664
- ZA as M,
5661
+ Xo as J,
5662
+ $o as K,
5663
+ lr as L,
5664
+ KA as M,
5665
5665
  DA as N,
5666
- cr as O,
5666
+ as as O,
5667
5667
  Ha as P,
5668
- Dr as Q,
5668
+ cr as Q,
5669
5669
  BA as R,
5670
5670
  tr as S,
5671
5671
  kA as T,
5672
- Fr as U,
5672
+ Dr as U,
5673
5673
  RA as V,
5674
- eA as W,
5675
- tA as X,
5676
- ar as Y,
5677
- nA as Z,
5678
- rA as _,
5674
+ Fr as W,
5675
+ eA as X,
5676
+ tA as Y,
5677
+ ar as Z,
5678
+ nA as _,
5679
5679
  IA as a,
5680
- oA as a0,
5681
- sA as a1,
5682
- iA as a2,
5683
- AA as a3,
5684
- uA as a4,
5685
- lA as a5,
5686
- cA as a6,
5687
- dA as a7,
5688
- fA as a8,
5689
- pA as a9,
5690
- GA as aa,
5680
+ aA as a0,
5681
+ oA as a1,
5682
+ sA as a2,
5683
+ iA as a3,
5684
+ AA as a4,
5685
+ uA as a5,
5686
+ lA as a6,
5687
+ cA as a7,
5688
+ dA as a8,
5689
+ fA as a9,
5690
+ pA as aa,
5691
5691
  JA as ab,
5692
5692
  XA as ac,
5693
- QA as ad,
5694
- Xe as ae,
5695
- qA as af,
5693
+ ZA as ad,
5694
+ GA as ae,
5695
+ Xe as af,
5696
5696
  LA as ag,
5697
5697
  zA as ah,
5698
5698
  HA as ai,
@@ -5700,6 +5700,7 @@ export {
5700
5700
  YA as ak,
5701
5701
  VA as al,
5702
5702
  WA as am,
5703
+ QA as an,
5703
5704
  La as b,
5704
5705
  MA as c,
5705
5706
  Ya as d,
@@ -5715,14 +5716,14 @@ export {
5715
5716
  Ka as n,
5716
5717
  $a as o,
5717
5718
  eo as p,
5718
- ve as q,
5719
- Or as r,
5720
- ho as s,
5721
- Lo as t,
5722
- zo as u,
5719
+ qA as q,
5720
+ ve as r,
5721
+ Or as s,
5722
+ ho as t,
5723
+ Lo as u,
5723
5724
  to as v,
5724
- Ho as w,
5725
- Uo as x,
5726
- Yo as y,
5727
- nr as z
5725
+ zo as w,
5726
+ Ho as x,
5727
+ Uo as y,
5728
+ Yo as z
5728
5729
  };
@@ -726,7 +726,7 @@ declare interface PaymentInterface {
726
726
 
727
727
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
728
728
 
729
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
729
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
730
730
 
731
731
  declare interface Pending {
732
732
  requester: Requester;
@@ -1,6 +1,6 @@
1
1
  import { aZ as v, c as u, B as N, a_ as z, aq as M, ar as T, as as R, w as O, F as $, W as j, X as q, $ as C, _ as B, Y as P, a0 as U } from "./chuncks/switch.D_38xWg-.js";
2
- import { M as K, r as W } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
3
- import { s as We, J as Xe, K as Ge, z as Qe, W as Ve, a2 as Ye, X as Ze, Y as Je, G as et, Z as tt, a3 as nt, _ as at, $ as rt, a0 as st, a1 as it, H as ot, L as lt, a4 as dt, a5 as ct, aa as gt, t as ut, u as pt, w as xt, x as mt, y as bt, a6 as ht, O as ft, U as yt, Q as wt, a7 as vt, a8 as kt, a9 as Nt, ac as Ct, ab as St } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
2
+ import { M as K, s as W } from "./chuncks/youtube-icon.component.BrliOl2F.js";
3
+ import { t as We, K as Xe, L as Ge, G as Qe, X as Ve, a3 as Ye, Y as Ze, Z as Je, H as et, _ as tt, a4 as nt, $ as at, a0 as rt, a1 as st, a2 as it, J as ot, O as lt, a5 as dt, a6 as ct, ab as gt, u as ut, w as pt, x as xt, y as mt, z as bt, a7 as ht, Q as ft, W as yt, U as wt, a8 as vt, a9 as kt, aa as Nt, ad as Ct, ac as St } from "./chuncks/youtube-icon.component.BrliOl2F.js";
4
4
  import { jsxs as g, jsx as e, Fragment as A } from "react/jsx-runtime";
5
5
  import S, { useState as F, useRef as D, useEffect as H, useMemo as X } from "react";
6
6
  import { B as L, m as G, T as Q, k as V, l as Y, S as k } from "./chuncks/badge.tZcF7uIJ.js";
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
1
+ import { b as n, A as m, B as S, C as A, D as c, E as N, F as E, I as g, N as l, a as _, d as p, P as B, R as r, c as s, e as i, S as t, T, V as I } from "./chuncks/youtube-icon.component.BrliOl2F.js";
2
2
  const o = [
3
3
  {
4
4
  compe: "001",
package/dist/content.d.ts CHANGED
@@ -393,7 +393,7 @@ declare interface PaymentInterface {
393
393
 
394
394
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  declare interface Pending {
399
399
  requester: Requester;
@@ -143,11 +143,13 @@ export declare const paymentTypeDict: {
143
143
  readonly conta_simples: "Conta Simples";
144
144
  readonly motoboy_bruno: "Motoboy Bruno";
145
145
  readonly motoboy_others: "Motoboy Outros";
146
+ readonly logistics_control: "Controle de Logística";
147
+ readonly transfer_between_accounts: "Transferência entre Contas";
146
148
  };
147
- values: ("influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others")[];
148
- labels: ("Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros")[];
149
+ values: ("influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts")[];
150
+ labels: ("Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros" | "Controle de Logística" | "Transferência entre Contas")[];
149
151
  getLabel: {
150
- <K extends "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others">(value: K): {
152
+ <K extends "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts">(value: K): {
151
153
  readonly influencer: "Veículação de Influenciador";
152
154
  readonly advisor: "Pagamento de Assessor";
153
155
  readonly supplier: "Pagamento de Fornecedor";
@@ -162,14 +164,16 @@ export declare const paymentTypeDict: {
162
164
  readonly conta_simples: "Conta Simples";
163
165
  readonly motoboy_bruno: "Motoboy Bruno";
164
166
  readonly motoboy_others: "Motoboy Outros";
167
+ readonly logistics_control: "Controle de Logística";
168
+ readonly transfer_between_accounts: "Transferência entre Contas";
165
169
  }[K];
166
- (value?: string | number | symbol | null): "Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros" | null;
170
+ (value?: string | number | symbol | null): "Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros" | "Controle de Logística" | "Transferência entre Contas" | null;
167
171
  };
168
172
  options: {
169
- value: "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others";
170
- label: "Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros";
173
+ value: "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
174
+ label: "Veículação de Influenciador" | "Pagamento de Assessor" | "Pagamento de Fornecedor" | "Reembolso de Colaborador" | "Reembolso de Influenciador" | "Extra de Influenciador" | "Kit pela Partlog" | "Passagem Aérea para Influenciador" | "Hospedagem para Influenciador" | "Rumo Certo" | "Correios" | "Conta Simples" | "Motoboy Bruno" | "Motoboy Outros" | "Controle de Logística" | "Transferência entre Contas";
171
175
  }[];
172
- is(value?: string | number | symbol | null): value is "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others";
176
+ is(value?: string | number | symbol | null): value is "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "partlog" | "airplane_ticket" | "hotel_ticket" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
173
177
  };
174
178
 
175
179
  export declare const socialNetworkColorDict: {
@@ -1,5 +1,5 @@
1
1
  import "./chuncks/switch.D_38xWg-.js";
2
- import { ag as m, af as D, ad as l, ah as n, aj as y, ai as k, am as T, al as f, ae as g, ak as h } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
2
+ import { ah as m, ag as D, ae as n, ai as l, ak as y, aj as k, an as T, am as f, af as g, al as h } from "./chuncks/youtube-icon.component.BrliOl2F.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@tanstack/react-query";
@@ -9,8 +9,8 @@ import "axios";
9
9
  export {
10
10
  m as actionStatusDict,
11
11
  D as actionTypeDict,
12
- l as businessUnitDict,
13
- n as clientTypeDict,
12
+ n as businessUnitDict,
13
+ l as clientTypeDict,
14
14
  y as paymentPhaseDict,
15
15
  k as paymentTypeDict,
16
16
  T as socialNetworkColorDict,
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as o } from "./chuncks/format.util.CxhILG2b.js";
1
+ import { b as o } from "./chuncks/format.util.C8JNQHuz.js";
2
2
  const i = (t, a) => {
3
3
  const e = t.target.value, n = o(e);
4
4
  n !== !1 && a(n);
package/dist/invoice.d.ts CHANGED
@@ -393,7 +393,7 @@ declare interface PaymentInterface {
393
393
 
394
394
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  declare interface Pending {
399
399
  requester: Requester;
package/dist/payment.d.ts CHANGED
@@ -393,7 +393,7 @@ export declare interface PaymentInterface {
393
393
 
394
394
  export declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- export declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ export declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  export declare interface Pending {
399
399
  requester: Requester;
@@ -393,7 +393,7 @@ declare interface PaymentInterface {
393
393
 
394
394
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  declare interface Pending {
399
399
  requester: Requester;
package/dist/sale.d.ts CHANGED
@@ -393,7 +393,7 @@ declare interface PaymentInterface {
393
393
 
394
394
  declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
395
395
 
396
- declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
396
+ declare type PaymentType = "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others" | "logistics_control" | "transfer_between_accounts";
397
397
 
398
398
  declare interface Pending {
399
399
  requester: Requester;
package/dist/utils.d.ts CHANGED
@@ -258,6 +258,8 @@ export declare const minLengthMessage: (min: number, field?: string) => string;
258
258
  */
259
259
  export declare const minValueMessage: (min: number, field?: string) => string;
260
260
 
261
+ export declare const newDate: (value?: string | number | null) => Date | null;
262
+
261
263
  declare const PAYMENT_PHASE_VALUES: {
262
264
  readonly pending: "Revisão Atendimento";
263
265
  readonly review: "Revisão Financeiro";
package/dist/utils.js CHANGED
@@ -1,16 +1,16 @@
1
- import { U as s } from "./chuncks/format.util.CxhILG2b.js";
2
- import { g as l, h as v, f as y, a as C, d as E, m as L, c as P, e as _, p as b, b as k, u as D } from "./chuncks/format.util.CxhILG2b.js";
3
- import { f as a } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
4
- import { q as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, v as V } from "./chuncks/youtube-icon.component.DgmjX6Bz.js";
5
- const o = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", t = (e, r) => r ? `${r} deve ter no mínimo ${e} caracteres.` : `Deve ter no mínimo ${e} caracteres.`, n = (e, r) => r ? `${r} deve ter no máximo ${e} caracteres.` : `Deve ter no máximo ${e} caracteres.`, i = (e, r) => r ? `${r} não pode ser menor que ${e}.` : `Não pode ser menor que ${e}.`, m = (e, r) => r ? `${r} não pode ser maior que ${e}.` : `Não pode ser maior que ${e}.`, c = (e) => e ? `${e} inválido.` : "Valor inválido.", u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1
+ import { U as a } from "./chuncks/format.util.C8JNQHuz.js";
2
+ import { g as l, h as v, f as y, a as C, d as D, m as E, c as L, e as P, p as _, b, u as k } from "./chuncks/format.util.C8JNQHuz.js";
3
+ import { f as s } from "./chuncks/youtube-icon.component.BrliOl2F.js";
4
+ import { r as U, p as h, n as q, j as N, h as x, l as F, i as O, m as T, k as j, g as A, o as G, q as V, v as w } from "./chuncks/youtube-icon.component.BrliOl2F.js";
5
+ const t = (e) => e ? `${e} é obrigatório.` : "Campo obrigatório.", o = (e, r) => r ? `${r} deve ter no mínimo ${e} caracteres.` : `Deve ter no mínimo ${e} caracteres.`, n = (e, r) => r ? `${r} deve ter no máximo ${e} caracteres.` : `Deve ter no máximo ${e} caracteres.`, i = (e, r) => r ? `${r} não pode ser menor que ${e}.` : `Não pode ser menor que ${e}.`, m = (e, r) => r ? `${r} não pode ser maior que ${e}.` : `Não pode ser maior que ${e}.`, c = (e) => e ? `${e} inválido.` : "Valor inválido.", u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6
6
  __proto__: null,
7
7
  invalidMessage: c,
8
8
  maxLengthMessage: n,
9
9
  maxValueMessage: m,
10
- minLengthMessage: t,
10
+ minLengthMessage: o,
11
11
  minValueMessage: i,
12
- requiredMessage: o
13
- }, Symbol.toStringTag, { value: "Module" })), $ = s, f = a, M = u;
12
+ requiredMessage: t
13
+ }, Symbol.toStringTag, { value: "Module" })), $ = a, f = s, M = u;
14
14
  export {
15
15
  M as FIELD_MESSAGE,
16
16
  f as IS,
@@ -31,17 +31,18 @@ export {
31
31
  j as isPaymentType,
32
32
  A as isSocialNetwork,
33
33
  G as keys,
34
- E as maskCNPJ,
35
- L as maskCPF,
36
- P as maskRG,
37
- _ as maskZipCode,
34
+ D as maskCNPJ,
35
+ E as maskCPF,
36
+ L as maskRG,
37
+ P as maskZipCode,
38
38
  n as maxLengthMessage,
39
39
  m as maxValueMessage,
40
- t as minLengthMessage,
40
+ o as minLengthMessage,
41
41
  i as minValueMessage,
42
- b as preFormatCurrency,
43
- k as preFormatPercentage,
44
- o as requiredMessage,
45
- D as unmask,
46
- V as values
42
+ V as newDate,
43
+ _ as preFormatCurrency,
44
+ b as preFormatPercentage,
45
+ t as requiredMessage,
46
+ k as unmask,
47
+ w as values
47
48
  };
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.204",
4
+ "version": "0.0.206",
5
5
  "files": [
6
6
  "dist"
7
7
  ],