@grapadigital/shared-app-modules 0.0.223 → 0.0.225

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,4 +1,4 @@
1
- import { i as s } from "./youtube-icon.component.BSdD-jlw.js";
1
+ import { i as s } from "./youtube-icon.component.CqZ8FUlu.js";
2
2
  const i = (t) => {
3
3
  const e = s(t) ? t : Number(t);
4
4
  return `${parseInt(String(e * 100))}%`;
@@ -1,4 +1,4 @@
1
- import { u as r, a as l } from "./masks.util.BRKIo9dr.js";
1
+ import { u as r, a as l } from "./masks.util.DSH4bjFp.js";
2
2
  const i = (t, n) => {
3
3
  const e = t.target.value, a = r(e);
4
4
  n(a);
@@ -1,4 +1,4 @@
1
- import { a as t } from "./use-debounce.hook.TyZMbuZv.js";
1
+ import { a as t } from "./use-debounce.hook.DjZcE4xa.js";
2
2
  const n = async ({
3
3
  organizationId: i,
4
4
  search: r,
@@ -13,14 +13,14 @@ const s = (e) => () => {
13
13
  }, i = (e) => {
14
14
  const n = r.environments ?? {}, o = r.axios?.timeout ?? 5e3;
15
15
  return { baseURL: n[e], timeout: o };
16
- }, E = s(
16
+ }, I = s(
17
17
  () => i("VITE_BACKEND_API_ORGANIZATION_URL")
18
18
  ), p = s(
19
19
  () => i("VITE_BACKEND_API_CAMPAIGNS_URL")
20
- ), I = s(
21
- () => i("VITE_BACKEND_API_SALES_URL")
22
20
  ), C = s(
23
21
  () => i("VITE_BACKEND_API_ENTITIES_URL")
22
+ ), E = s(
23
+ () => i("VITE_BACKEND_API_FINANCIAL_URL")
24
24
  );
25
25
  function f(e, t = 500) {
26
26
  const [n, o] = c(e);
@@ -34,9 +34,9 @@ function f(e, t = 500) {
34
34
  }, [e, t]), n;
35
35
  }
36
36
  export {
37
- E as a,
37
+ I as a,
38
38
  p as c,
39
39
  C as e,
40
- I as s,
40
+ E as f,
41
41
  f as u
42
42
  };
@@ -5,7 +5,7 @@ import M, { createContext as mt, Component as aa, createElement as un, Suspense
5
5
  import { S as jt, F as ae, b as ve, c as pe, m as ia, B as ht, u as Aa, P as Ce, o as Se, p as xe, d as ua, a as ln, T as la, k as ca, l as da, v as Ct, w as Ve, x as Ge, y as fa, C as pa, h as Zn } from "./badge.tZcF7uIJ.js";
6
6
  import { QueryErrorResetBoundary as ga, useSuspenseQuery as ma, useQueryClient as Gt, useMutation as Jt, useQuery as Ye } from "@tanstack/react-query";
7
7
  import "date-fns";
8
- import { a as vt, c as ha, u as We, e as yt, s as va } from "./use-debounce.hook.TyZMbuZv.js";
8
+ import { a as vt, c as ha, u as We, e as yt, f as va } from "./use-debounce.hook.DjZcE4xa.js";
9
9
  import "./shared-app-modules.provider.DRJ7n4Cj.js";
10
10
  import { isAxiosError as Xt } from "axios";
11
11
  import ya from "react-dom";
@@ -281,6 +281,8 @@ declare interface DeliveryScope {
281
281
  twitter?: number | null;
282
282
  }
283
283
 
284
+ export declare function ErrorBoundary({ errorFallback: ErrorFallback, children, }: ErrorBoundaryProps): JSX.Element;
285
+
284
286
  declare interface ErrorBoundaryProps extends React.PropsWithChildren {
285
287
  errorFallback?: React.ComponentType<{
286
288
  error?: Error | unknown;
@@ -288,8 +290,6 @@ declare interface ErrorBoundaryProps extends React.PropsWithChildren {
288
290
  }>;
289
291
  }
290
292
 
291
- export declare function ErrorBundary({ errorFallback: ErrorFallback, children, }: ErrorBoundaryProps): JSX.Element;
292
-
293
293
  export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip, className, ...props }: ErrorCardProps): JSX.Element;
294
294
 
295
295
  declare interface ErrorCardProps extends React.ComponentProps<typeof Card> {
@@ -1,17 +1,17 @@
1
1
  import { aZ as v, I as _, c as u, B as N, a_ as M, aq as T, ar as F, as as D, w as $, F as j, W as q, X as B, $ as I, _ as O, Y as K, a0 as U } from "./chuncks/switch.D_38xWg-.js";
2
2
  import { jsx as e, jsxs as g, Fragment as R } from "react/jsx-runtime";
3
- import { a as W, o as X, c as G, b as Q } from "./chuncks/on-key-down.event.jEzdzJis.js";
4
- import { m as Y, b as Z } from "./chuncks/masks.util.BRKIo9dr.js";
3
+ import { a as W, o as X, c as G, b as Q } from "./chuncks/on-key-down.event.DwaAUcvU.js";
4
+ import { m as Y, b as Z } from "./chuncks/masks.util.DSH4bjFp.js";
5
5
  import S, { useState as A, useRef as P, useEffect as H, useMemo as J } from "react";
6
- import { M as V, s as ee } from "./chuncks/youtube-icon.component.BSdD-jlw.js";
7
- import { t as nt, L as at, O as rt, u as st, H as it, Y as ot, a4 as lt, Z as dt, _ as ct, J as gt, $ as ut, a5 as pt, a0 as xt, a1 as mt, a2 as bt, a3 as ft, K as ht, Q as yt, a7 as wt, a8 as vt, ad as kt, w as Nt, x as It, y as St, z as Ct, G as zt, a9 as _t, U as Mt, X as Tt, W as Ft, a6 as Dt, aa as Rt, ab as At, ac as Pt, af as Ht, ae as Lt } from "./chuncks/youtube-icon.component.BSdD-jlw.js";
6
+ import { M as V, s as ee } from "./chuncks/youtube-icon.component.CqZ8FUlu.js";
7
+ import { t as nt, L as at, O as rt, u as st, H as it, Y as ot, a4 as lt, Z as dt, _ as ct, J as gt, $ as ut, a5 as pt, a0 as xt, a1 as mt, a2 as bt, a3 as ft, K as ht, Q as yt, a7 as wt, a8 as vt, ad as kt, w as Nt, x as It, y as St, z as Ct, G as zt, a9 as _t, U as Mt, X as Tt, W as Ft, a6 as Dt, aa as Rt, ab as At, ac as Pt, af as Ht, ae as Lt } from "./chuncks/youtube-icon.component.CqZ8FUlu.js";
8
8
  import { B as L, m as te, T as ne, k as ae, l as re, S as k } from "./chuncks/badge.tZcF7uIJ.js";
9
9
  import { parseISO as C, differenceInCalendarDays as se, format as ie } from "date-fns";
10
- import { u as oe } from "./chuncks/use-debounce.hook.TyZMbuZv.js";
10
+ import { u as oe } from "./chuncks/use-debounce.hook.DjZcE4xa.js";
11
11
  import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
12
12
  import { useQuery as le } from "@tanstack/react-query";
13
13
  import "axios";
14
- import { l as de } from "./chuncks/organization-users.service.B9edFs4F.js";
14
+ import { l as de } from "./chuncks/organization-users.service.COZvzM2P.js";
15
15
  const ce = [
16
16
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
17
17
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
@@ -612,7 +612,7 @@ export {
612
612
  Be as AttachmentInput,
613
613
  at as CampaignsSelectInput,
614
614
  rt as ClientSelectInput,
615
- st as ErrorBundary,
615
+ st as ErrorBoundary,
616
616
  it as ErrorCard,
617
617
  ot as FieldCalendar,
618
618
  lt as FieldCheckbox,
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.BSdD-jlw.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.CqZ8FUlu.js";
2
2
  const o = [
3
3
  {
4
4
  compe: "001",
@@ -1,7 +1,7 @@
1
1
  import "./chuncks/switch.D_38xWg-.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import { aj as D, ai as m, ag as n, ak as l, ap as y, am as h, al as k, ao as P, ar as T, aq as g, ah as u, an as w } from "./chuncks/youtube-icon.component.BSdD-jlw.js";
4
+ import { aj as D, ai as m, ag as n, ak as l, ap as y, am as h, al as k, ao as P, ar as T, aq as g, ah as u, an as w } from "./chuncks/youtube-icon.component.CqZ8FUlu.js";
5
5
  import "@tanstack/react-query";
6
6
  import "date-fns";
7
7
  import "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as a, o, c as t, a as g } from "./chuncks/on-key-down.event.jEzdzJis.js";
1
+ import { b as a, o, c as t, a as g } from "./chuncks/on-key-down.event.DwaAUcvU.js";
2
2
  export {
3
3
  a as onChangePercentageFloat,
4
4
  o as onChangePercentageInteger,
package/dist/hooks.js CHANGED
@@ -1,8 +1,8 @@
1
- import { u as b } from "./chuncks/use-debounce.hook.TyZMbuZv.js";
1
+ import { u as b } from "./chuncks/use-debounce.hook.DjZcE4xa.js";
2
2
  import { useContext as r } from "react";
3
3
  import { a as n } from "./chuncks/shared-app-modules.provider.DRJ7n4Cj.js";
4
4
  import { useQuery as s } from "@tanstack/react-query";
5
- import { l as t } from "./chuncks/organization-users.service.B9edFs4F.js";
5
+ import { l as t } from "./chuncks/organization-users.service.COZvzM2P.js";
6
6
  import { g as i } from "./chuncks/index.GkteP4bn.js";
7
7
  function l() {
8
8
  const e = r(n);
package/dist/utils.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as a, f as s } from "./chuncks/youtube-icon.component.BSdD-jlw.js";
2
- import { r as C, p as O, n as x, j as U, h as j, l as q, m as w, k as B, g as R, o as T, q as A, v as z } from "./chuncks/youtube-icon.component.BSdD-jlw.js";
3
- import { b as J, m as Z, a as H, u as K } from "./chuncks/masks.util.BRKIo9dr.js";
1
+ import { i as a, f as s } from "./chuncks/youtube-icon.component.CqZ8FUlu.js";
2
+ import { r as C, p as O, n as x, j as U, h as j, l as q, m as w, k as B, g as R, o as T, q as A, v as z } from "./chuncks/youtube-icon.component.CqZ8FUlu.js";
3
+ import { b as J, m as Z, a as H, u as K } from "./chuncks/masks.util.DSH4bjFp.js";
4
4
  function c(e) {
5
5
  const r = e.replace(/[^0-9]/g, "");
6
6
  return Number(r) / 100;
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.223",
4
+ "version": "0.0.225",
5
5
  "files": [
6
6
  "dist"
7
7
  ],