@grapadigital/shared-app-modules 0.0.79 → 0.0.80

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.
Files changed (58) hide show
  1. package/package.json +9 -9
  2. package/dist/action.d.ts +0 -526
  3. package/dist/action.js +0 -1
  4. package/dist/assets/timeline.css +0 -1
  5. package/dist/chuncks/card.Bockr0Tv.js +0 -91
  6. package/dist/chuncks/shared-app-modules.provider.DRJ7n4Cj.js +0 -13
  7. package/dist/chuncks/timeline.DfIC0519.js +0 -10963
  8. package/dist/chuncks/use-shared-app-modules.hook.BneFRNyA.js +0 -25
  9. package/dist/client.d.ts +0 -73
  10. package/dist/client.js +0 -1
  11. package/dist/commission.d.ts +0 -18
  12. package/dist/commission.js +0 -1
  13. package/dist/components.d.ts +0 -661
  14. package/dist/components.js +0 -1089
  15. package/dist/constants.d.ts +0 -24
  16. package/dist/constants.js +0 -7
  17. package/dist/content.d.ts +0 -526
  18. package/dist/content.js +0 -1
  19. package/dist/contract.d.ts +0 -19
  20. package/dist/contract.js +0 -1
  21. package/dist/curation.d.ts +0 -117
  22. package/dist/curation.js +0 -1
  23. package/dist/dataservices.d.ts +0 -5
  24. package/dist/dataservices.js +0 -1
  25. package/dist/events.d.ts +0 -52
  26. package/dist/events.js +0 -16
  27. package/dist/hooks.d.ts +0 -15
  28. package/dist/hooks.js +0 -5
  29. package/dist/influencer.d.ts +0 -69
  30. package/dist/influencer.js +0 -1
  31. package/dist/invoice.d.ts +0 -526
  32. package/dist/invoice.js +0 -1
  33. package/dist/lib.d.ts +0 -1
  34. package/dist/lib.js +0 -1
  35. package/dist/log.d.ts +0 -20
  36. package/dist/log.js +0 -1
  37. package/dist/pages.d.ts +0 -14
  38. package/dist/pages.js +0 -53
  39. package/dist/payment.d.ts +0 -526
  40. package/dist/payment.js +0 -1
  41. package/dist/profile.d.ts +0 -69
  42. package/dist/profile.js +0 -1
  43. package/dist/project.d.ts +0 -42
  44. package/dist/project.js +0 -1
  45. package/dist/providers.d.ts +0 -16
  46. package/dist/providers.js +0 -4
  47. package/dist/recruitment.d.ts +0 -526
  48. package/dist/recruitment.js +0 -1
  49. package/dist/sale.d.ts +0 -526
  50. package/dist/sale.js +0 -1
  51. package/dist/shadcn.d.ts +0 -497
  52. package/dist/shadcn.js +0 -2489
  53. package/dist/supplier.d.ts +0 -38
  54. package/dist/supplier.js +0 -1
  55. package/dist/user.d.ts +0 -35
  56. package/dist/user.js +0 -1
  57. package/dist/utils.d.ts +0 -95
  58. package/dist/utils.js +0 -52
@@ -1,25 +0,0 @@
1
- import { useState as n, useEffect as s, useContext as d } from "react";
2
- import { a } from "./shared-app-modules.provider.DRJ7n4Cj.js";
3
- function i(e, o) {
4
- const [t, r] = n(e);
5
- return s(() => {
6
- const u = setTimeout(() => {
7
- r(e);
8
- }, o);
9
- return () => {
10
- clearTimeout(u);
11
- };
12
- }, [e, o]), t;
13
- }
14
- function m() {
15
- const e = d(a);
16
- if (!e)
17
- throw new Error(
18
- "useSharedAppModules deve ser usando detro de um componente SharedAppModulesProvider"
19
- );
20
- return e;
21
- }
22
- export {
23
- m as a,
24
- i as u
25
- };
package/dist/client.d.ts DELETED
@@ -1,73 +0,0 @@
1
- export declare interface AgencyCommission {
2
- ranges: Range_2[];
3
- startDate: string;
4
- endDate: string;
5
- }
6
-
7
- export declare interface ClientInterface extends UserInterface {
8
- clusters?: ClusterInterface[];
9
- companies?: CompanyInterface[];
10
- agencyCommission?: AgencyCommission[];
11
- hasAgencyCommission?: boolean;
12
- type?: "agency" | "brand";
13
- niches: Niche[];
14
- }
15
-
16
- export declare interface ClusterInterface {
17
- key: string;
18
- label: string;
19
- }
20
-
21
- export declare interface CompanyInterface {
22
- legalName: string;
23
- document: string;
24
- }
25
-
26
- export declare interface Niche {
27
- id: string;
28
- name: string;
29
- parentId?: null | string;
30
- }
31
-
32
- declare interface Range_2 {
33
- startValue: number;
34
- endValue: number;
35
- percent: number;
36
- }
37
- export { Range_2 as Range }
38
-
39
- declare interface UserInterface {
40
- _id?: string;
41
- name?: string;
42
- document?: string;
43
- email?: string;
44
- phone?: string;
45
- picture?: string;
46
- address?: {
47
- zipcode?: string;
48
- city?: string;
49
- state?: string;
50
- street?: string;
51
- number?: string;
52
- complement?: string;
53
- };
54
- company?: {
55
- legalName?: string;
56
- document?: string;
57
- bank?: string;
58
- agency?: string;
59
- account?: string;
60
- digit?: string;
61
- pix?: string;
62
- };
63
- individual?: {
64
- rg?: string;
65
- cpf?: string;
66
- birthday?: string;
67
- maritalStatus?: string;
68
- nationality?: string;
69
- profession?: string;
70
- };
71
- }
72
-
73
- export { }
package/dist/client.js DELETED
@@ -1 +0,0 @@
1
-
@@ -1,18 +0,0 @@
1
- export declare interface CommissionInterface {
2
- _id: string;
3
- email: string;
4
- role: string;
5
- value: number;
6
- installmentNumber: number;
7
- percentage: number;
8
- status: StatusInterface;
9
- type: string;
10
- title: string;
11
- sale: string;
12
- createdAt: string;
13
- updatedAt: string;
14
- }
15
-
16
- export declare type StatusInterface = "pending" | "approved" | "rejected";
17
-
18
- export { }
@@ -1 +0,0 @@
1
-