@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.
- package/dist/chuncks/{masks.util.BRKIo9dr.js → masks.util.DSH4bjFp.js} +1 -1
- package/dist/chuncks/{on-key-down.event.jEzdzJis.js → on-key-down.event.DwaAUcvU.js} +1 -1
- package/dist/chuncks/{organization-users.service.B9edFs4F.js → organization-users.service.COZvzM2P.js} +1 -1
- package/dist/chuncks/{use-debounce.hook.TyZMbuZv.js → use-debounce.hook.DjZcE4xa.js} +5 -5
- package/dist/chuncks/{youtube-icon.component.BSdD-jlw.js → youtube-icon.component.CqZ8FUlu.js} +1 -1
- package/dist/components.d.ts +2 -2
- package/dist/components.js +7 -7
- package/dist/constants.js +1 -1
- package/dist/dictionaries.js +1 -1
- package/dist/events.js +1 -1
- package/dist/hooks.js +2 -2
- package/dist/utils.js +3 -3
- package/package.json +1 -1
|
@@ -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
|
-
},
|
|
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
|
-
|
|
37
|
+
I as a,
|
|
38
38
|
p as c,
|
|
39
39
|
C as e,
|
|
40
|
-
|
|
40
|
+
E as f,
|
|
41
41
|
f as u
|
|
42
42
|
};
|
package/dist/chuncks/{youtube-icon.component.BSdD-jlw.js → youtube-icon.component.CqZ8FUlu.js}
RENAMED
|
@@ -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,
|
|
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";
|
package/dist/components.d.ts
CHANGED
|
@@ -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> {
|
package/dist/components.js
CHANGED
|
@@ -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.
|
|
4
|
-
import { m as Y, b as Z } from "./chuncks/masks.util.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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",
|
package/dist/dictionaries.js
CHANGED
|
@@ -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.
|
|
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
package/dist/hooks.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as b } from "./chuncks/use-debounce.hook.
|
|
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.
|
|
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.
|
|
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.
|
|
3
|
-
import { b as J, m as Z, a as H, u as K } from "./chuncks/masks.util.
|
|
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;
|