@grapadigital/shared-app-modules 0.0.204 → 0.0.205
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 +1 -1
- package/dist/chuncks/{format.util.CxhILG2b.js → format.util.ll8iA174.js} +1 -1
- package/dist/chuncks/{youtube-icon.component.DgmjX6Bz.js → youtube-icon.component.3AQVaosv.js} +4 -5
- package/dist/components.d.ts +1 -1
- package/dist/components.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/dictionaries.d.ts +11 -7
- package/dist/dictionaries.js +1 -1
- package/dist/events.js +1 -1
- package/dist/invoice.d.ts +1 -1
- package/dist/payment.d.ts +1 -1
- package/dist/recruitment.d.ts +1 -1
- package/dist/sale.d.ts +1 -1
- package/dist/utils.js +4 -4
- package/package.json +1 -1
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" | "
|
|
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/chuncks/{youtube-icon.component.DgmjX6Bz.js → youtube-icon.component.3AQVaosv.js}
RENAMED
|
@@ -254,10 +254,7 @@ function ve(e) {
|
|
|
254
254
|
values: $a(e),
|
|
255
255
|
labels: to(e),
|
|
256
256
|
getLabel: t,
|
|
257
|
-
options: eo(e).map(([a, r]) => ({
|
|
258
|
-
value: a,
|
|
259
|
-
label: r
|
|
260
|
-
})),
|
|
257
|
+
options: eo(e).map(([a, r]) => ({ value: a, label: r })),
|
|
261
258
|
is(a) {
|
|
262
259
|
return a !== 0 && !a ? !1 : a in e;
|
|
263
260
|
}
|
|
@@ -289,7 +286,9 @@ const qA = ve({
|
|
|
289
286
|
correios: "Correios",
|
|
290
287
|
conta_simples: "Conta Simples",
|
|
291
288
|
motoboy_bruno: "Motoboy Bruno",
|
|
292
|
-
motoboy_others: "Motoboy Outros"
|
|
289
|
+
motoboy_others: "Motoboy Outros",
|
|
290
|
+
logistics_control: "Controle de Logística",
|
|
291
|
+
transfer_between_accounts: "Transferência entre Contas"
|
|
293
292
|
}), UA = ve({
|
|
294
293
|
pending: "Revisão Atendimento",
|
|
295
294
|
review: "Revisão Financeiro",
|
package/dist/components.d.ts
CHANGED
|
@@ -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" | "
|
|
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;
|
package/dist/components.js
CHANGED
|
@@ -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.
|
|
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.
|
|
2
|
+
import { M as K, r as W } from "./chuncks/youtube-icon.component.3AQVaosv.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.3AQVaosv.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.
|
|
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.3AQVaosv.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" | "
|
|
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/dictionaries.d.ts
CHANGED
|
@@ -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: {
|
package/dist/dictionaries.js
CHANGED
|
@@ -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.
|
|
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.3AQVaosv.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@tanstack/react-query";
|
package/dist/events.js
CHANGED
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" | "
|
|
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" | "
|
|
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;
|
package/dist/recruitment.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" | "
|
|
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" | "
|
|
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.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as s } from "./chuncks/format.util.
|
|
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.
|
|
3
|
-
import { f as a } from "./chuncks/youtube-icon.component.
|
|
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.
|
|
1
|
+
import { U as s } from "./chuncks/format.util.ll8iA174.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.ll8iA174.js";
|
|
3
|
+
import { f as a } from "./chuncks/youtube-icon.component.3AQVaosv.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.3AQVaosv.js";
|
|
5
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({
|
|
6
6
|
__proto__: null,
|
|
7
7
|
invalidMessage: c,
|