@grapadigital/shared-app-modules 0.0.112 → 0.0.113
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 +15 -7
- package/dist/chuncks/{field-textarea.component.j5MsRUzc.js → field-textarea.component.CVt4caPC.js} +362 -352
- package/dist/chuncks/{format.util.CxZ87QTi.js → format.util.6YTmX_Zn.js} +1 -1
- package/dist/components.d.ts +17 -8
- package/dist/components.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/content.d.ts +15 -7
- package/dist/events.js +1 -1
- package/dist/hooks.d.ts +3 -3
- package/dist/invoice.d.ts +15 -7
- package/dist/payment.d.ts +15 -7
- package/dist/providers.d.ts +3 -3
- package/dist/recruitment.d.ts +15 -7
- package/dist/sale.d.ts +15 -7
- package/dist/utils.js +2 -2
- package/package.json +1 -1
package/dist/components.d.ts
CHANGED
|
@@ -49,12 +49,26 @@ declare interface ActionInterface {
|
|
|
49
49
|
shopping?: string;
|
|
50
50
|
project?: string;
|
|
51
51
|
type?: "partner" | "exclusive";
|
|
52
|
-
notes?:
|
|
52
|
+
notes?: {
|
|
53
|
+
text: string;
|
|
54
|
+
owner: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
}[];
|
|
53
57
|
hashtags?: string[];
|
|
54
58
|
mentions?: string[];
|
|
55
59
|
keywords?: string[];
|
|
56
60
|
description?: string;
|
|
57
61
|
objective?: string;
|
|
62
|
+
kpis?: {
|
|
63
|
+
budget: number;
|
|
64
|
+
revenue: number;
|
|
65
|
+
transferProvision: number;
|
|
66
|
+
costProvision: number;
|
|
67
|
+
transferActual: number;
|
|
68
|
+
costActual: number;
|
|
69
|
+
freeValueProvision: number;
|
|
70
|
+
freeValueActual: number;
|
|
71
|
+
};
|
|
58
72
|
}
|
|
59
73
|
|
|
60
74
|
declare interface AgencyCommission {
|
|
@@ -115,6 +129,7 @@ export declare const ClientSelectInput: default_2.ForwardRefExoticComponent<Omit
|
|
|
115
129
|
declare interface ClientSelectInputProps extends Omit<default_2.ComponentProps<typeof CommandInput>, "onValueChange"> {
|
|
116
130
|
queryKey?: string[];
|
|
117
131
|
onValueChange: (client: ClientInterface) => void;
|
|
132
|
+
clientType?: ClientInterface["type"];
|
|
118
133
|
}
|
|
119
134
|
|
|
120
135
|
declare interface ClusterInterface {
|
|
@@ -250,7 +265,7 @@ declare interface FieldCalendarProps extends ControllerFieldState {
|
|
|
250
265
|
|
|
251
266
|
export declare const FieldClientSelectInput: ForwardRefExoticComponent<Omit<FieldClientSelectInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
252
267
|
|
|
253
|
-
declare type FieldClientSelectInputProps = React.ComponentProps<
|
|
268
|
+
declare type FieldClientSelectInputProps = React.ComponentProps<typeof ClientSelectInput> & ControllerFieldState & {
|
|
254
269
|
label?: string;
|
|
255
270
|
description?: string;
|
|
256
271
|
asterisk?: boolean;
|
|
@@ -495,12 +510,6 @@ declare interface Note_3 {
|
|
|
495
510
|
createdAt: string;
|
|
496
511
|
}
|
|
497
512
|
|
|
498
|
-
declare interface NoteInterface {
|
|
499
|
-
text: string;
|
|
500
|
-
owner: string;
|
|
501
|
-
createdAt: string;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
513
|
export declare function NotFoundCard({ icon: Icon, title, description, tip, className, ...props }: NotFoundCardProps): JSX.Element;
|
|
505
514
|
|
|
506
515
|
declare interface NotFoundCardProps extends React.ComponentProps<typeof Card> {
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as b, c, B as F, as as k, at as v, au as C, O as T, P as H, V as y, U as _, Q as A, W as j } from "./chuncks/switch.CRijOkty.js";
|
|
2
|
-
import { j as de, k as ge, o as xe, p as be, s as me, F as he, q as fe, t as pe, r as ue, u as ye, I as we, l as Ne, P as ke, e as ve, f as Ce, g as Ie, h as ze, m as Me, n as Se } from "./chuncks/field-textarea.component.
|
|
2
|
+
import { j as de, k as ge, o as xe, p as be, s as me, F as he, q as fe, t as pe, r as ue, u as ye, I as we, l as Ne, P as ke, e as ve, f as Ce, g as Ie, h as ze, m as Me, n as Se } from "./chuncks/field-textarea.component.CVt4caPC.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import { C as I, f as z, S as f } from "./chuncks/card.D5PkIOr_.js";
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as p, B as L, C as N, S as d, d as u } from "./chuncks/field-textarea.component.
|
|
1
|
+
import { A as p, B as L, C as N, S as d, d as u } from "./chuncks/field-textarea.component.CVt4caPC.js";
|
|
2
2
|
import "./chuncks/switch.CRijOkty.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
package/dist/content.d.ts
CHANGED
|
@@ -35,12 +35,26 @@ declare interface ActionInterface {
|
|
|
35
35
|
shopping?: string;
|
|
36
36
|
project?: string;
|
|
37
37
|
type?: "partner" | "exclusive";
|
|
38
|
-
notes?:
|
|
38
|
+
notes?: {
|
|
39
|
+
text: string;
|
|
40
|
+
owner: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
}[];
|
|
39
43
|
hashtags?: string[];
|
|
40
44
|
mentions?: string[];
|
|
41
45
|
keywords?: string[];
|
|
42
46
|
description?: string;
|
|
43
47
|
objective?: string;
|
|
48
|
+
kpis?: {
|
|
49
|
+
budget: number;
|
|
50
|
+
revenue: number;
|
|
51
|
+
transferProvision: number;
|
|
52
|
+
costProvision: number;
|
|
53
|
+
transferActual: number;
|
|
54
|
+
costActual: number;
|
|
55
|
+
freeValueProvision: number;
|
|
56
|
+
freeValueActual: number;
|
|
57
|
+
};
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
declare interface AgencyCommission {
|
|
@@ -303,12 +317,6 @@ declare interface Note_3 {
|
|
|
303
317
|
createdAt: string;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
declare interface NoteInterface {
|
|
307
|
-
text: string;
|
|
308
|
-
owner: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
320
|
declare interface Paid {
|
|
313
321
|
date: string;
|
|
314
322
|
}
|
package/dist/events.js
CHANGED
package/dist/hooks.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare interface Environments {
|
|
2
|
-
readonly VITE_BACKEND_API_DATASERVICES_URL?: string;
|
|
3
2
|
readonly VITE_BACKEND_API_CAMPAIGNS_URL?: string;
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
3
|
+
readonly VITE_BACKEND_API_INFLUENCERS_URL?: string;
|
|
4
|
+
readonly VITE_BACKEND_API_PROFILES_URL?: string;
|
|
6
5
|
readonly VITE_BACKEND_API_SALES_URL?: string;
|
|
6
|
+
readonly VITE_BACKEND_API_CLIENTS_URL?: string;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
declare interface SharedAppModulesContextData {
|
package/dist/invoice.d.ts
CHANGED
|
@@ -35,12 +35,26 @@ declare interface ActionInterface {
|
|
|
35
35
|
shopping?: string;
|
|
36
36
|
project?: string;
|
|
37
37
|
type?: "partner" | "exclusive";
|
|
38
|
-
notes?:
|
|
38
|
+
notes?: {
|
|
39
|
+
text: string;
|
|
40
|
+
owner: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
}[];
|
|
39
43
|
hashtags?: string[];
|
|
40
44
|
mentions?: string[];
|
|
41
45
|
keywords?: string[];
|
|
42
46
|
description?: string;
|
|
43
47
|
objective?: string;
|
|
48
|
+
kpis?: {
|
|
49
|
+
budget: number;
|
|
50
|
+
revenue: number;
|
|
51
|
+
transferProvision: number;
|
|
52
|
+
costProvision: number;
|
|
53
|
+
transferActual: number;
|
|
54
|
+
costActual: number;
|
|
55
|
+
freeValueProvision: number;
|
|
56
|
+
freeValueActual: number;
|
|
57
|
+
};
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
declare interface AgencyCommission {
|
|
@@ -303,12 +317,6 @@ declare interface Note_3 {
|
|
|
303
317
|
createdAt: string;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
declare interface NoteInterface {
|
|
307
|
-
text: string;
|
|
308
|
-
owner: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
320
|
declare interface Paid {
|
|
313
321
|
date: string;
|
|
314
322
|
}
|
package/dist/payment.d.ts
CHANGED
|
@@ -35,12 +35,26 @@ declare interface ActionInterface {
|
|
|
35
35
|
shopping?: string;
|
|
36
36
|
project?: string;
|
|
37
37
|
type?: "partner" | "exclusive";
|
|
38
|
-
notes?:
|
|
38
|
+
notes?: {
|
|
39
|
+
text: string;
|
|
40
|
+
owner: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
}[];
|
|
39
43
|
hashtags?: string[];
|
|
40
44
|
mentions?: string[];
|
|
41
45
|
keywords?: string[];
|
|
42
46
|
description?: string;
|
|
43
47
|
objective?: string;
|
|
48
|
+
kpis?: {
|
|
49
|
+
budget: number;
|
|
50
|
+
revenue: number;
|
|
51
|
+
transferProvision: number;
|
|
52
|
+
costProvision: number;
|
|
53
|
+
transferActual: number;
|
|
54
|
+
costActual: number;
|
|
55
|
+
freeValueProvision: number;
|
|
56
|
+
freeValueActual: number;
|
|
57
|
+
};
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
declare interface AgencyCommission {
|
|
@@ -303,12 +317,6 @@ declare interface Note_3 {
|
|
|
303
317
|
createdAt: string;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
declare interface NoteInterface {
|
|
307
|
-
text: string;
|
|
308
|
-
owner: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
320
|
export declare interface Paid {
|
|
313
321
|
date: string;
|
|
314
322
|
}
|
package/dist/providers.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
declare interface Environments {
|
|
4
|
-
readonly VITE_BACKEND_API_DATASERVICES_URL?: string;
|
|
5
4
|
readonly VITE_BACKEND_API_CAMPAIGNS_URL?: string;
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
5
|
+
readonly VITE_BACKEND_API_INFLUENCERS_URL?: string;
|
|
6
|
+
readonly VITE_BACKEND_API_PROFILES_URL?: string;
|
|
8
7
|
readonly VITE_BACKEND_API_SALES_URL?: string;
|
|
8
|
+
readonly VITE_BACKEND_API_CLIENTS_URL?: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
declare interface SharedAppModulesContextProps {
|
package/dist/recruitment.d.ts
CHANGED
|
@@ -35,12 +35,26 @@ declare interface ActionInterface {
|
|
|
35
35
|
shopping?: string;
|
|
36
36
|
project?: string;
|
|
37
37
|
type?: "partner" | "exclusive";
|
|
38
|
-
notes?:
|
|
38
|
+
notes?: {
|
|
39
|
+
text: string;
|
|
40
|
+
owner: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
}[];
|
|
39
43
|
hashtags?: string[];
|
|
40
44
|
mentions?: string[];
|
|
41
45
|
keywords?: string[];
|
|
42
46
|
description?: string;
|
|
43
47
|
objective?: string;
|
|
48
|
+
kpis?: {
|
|
49
|
+
budget: number;
|
|
50
|
+
revenue: number;
|
|
51
|
+
transferProvision: number;
|
|
52
|
+
costProvision: number;
|
|
53
|
+
transferActual: number;
|
|
54
|
+
costActual: number;
|
|
55
|
+
freeValueProvision: number;
|
|
56
|
+
freeValueActual: number;
|
|
57
|
+
};
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
declare interface AgencyCommission {
|
|
@@ -303,12 +317,6 @@ declare interface Note_3 {
|
|
|
303
317
|
createdAt: string;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
declare interface NoteInterface {
|
|
307
|
-
text: string;
|
|
308
|
-
owner: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
320
|
declare interface Paid {
|
|
313
321
|
date: string;
|
|
314
322
|
}
|
package/dist/sale.d.ts
CHANGED
|
@@ -35,12 +35,26 @@ declare interface ActionInterface {
|
|
|
35
35
|
shopping?: string;
|
|
36
36
|
project?: string;
|
|
37
37
|
type?: "partner" | "exclusive";
|
|
38
|
-
notes?:
|
|
38
|
+
notes?: {
|
|
39
|
+
text: string;
|
|
40
|
+
owner: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
}[];
|
|
39
43
|
hashtags?: string[];
|
|
40
44
|
mentions?: string[];
|
|
41
45
|
keywords?: string[];
|
|
42
46
|
description?: string;
|
|
43
47
|
objective?: string;
|
|
48
|
+
kpis?: {
|
|
49
|
+
budget: number;
|
|
50
|
+
revenue: number;
|
|
51
|
+
transferProvision: number;
|
|
52
|
+
costProvision: number;
|
|
53
|
+
transferActual: number;
|
|
54
|
+
costActual: number;
|
|
55
|
+
freeValueProvision: number;
|
|
56
|
+
freeValueActual: number;
|
|
57
|
+
};
|
|
44
58
|
}
|
|
45
59
|
|
|
46
60
|
declare interface AgencyCommission {
|
|
@@ -303,12 +317,6 @@ declare interface Note_3 {
|
|
|
303
317
|
createdAt: string;
|
|
304
318
|
}
|
|
305
319
|
|
|
306
|
-
declare interface NoteInterface {
|
|
307
|
-
text: string;
|
|
308
|
-
owner: string;
|
|
309
|
-
createdAt: string;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
320
|
declare interface Paid {
|
|
313
321
|
date: string;
|
|
314
322
|
}
|
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/field-textarea.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.6YTmX_Zn.js";
|
|
2
|
+
import { i as k, a as P, b, c as N } from "./chuncks/field-textarea.component.CVt4caPC.js";
|
|
3
3
|
export {
|
|
4
4
|
e as formatCompactNumber,
|
|
5
5
|
r as formatCompactPercent,
|