@grapadigital/shared-app-modules 0.0.96 → 0.0.97
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 +4 -2
- package/dist/assets/scroll-area.css +1 -0
- package/dist/chuncks/_influencer-select-input.component.CbVEJ529.js +838 -0
- package/dist/chuncks/{card.Bockr0Tv.js → card.Cpx5Pxqx.js} +1 -1
- package/dist/chuncks/format.util.CM-_4aqn.js +85 -0
- package/dist/chuncks/scroll-area.CEAE-ZuD.js +12408 -0
- package/dist/chuncks/values.constant.DO4JqXro.js +25 -0
- package/dist/chuncks/youtube-icon.component.R7s6jY4w.js +145 -0
- package/dist/client.d.ts +1 -0
- package/dist/commission.d.ts +1 -0
- package/dist/components.d.ts +19 -3
- package/dist/components.js +135 -947
- package/dist/constants.d.ts +47 -0
- package/dist/constants.js +23 -5
- package/dist/content.d.ts +4 -2
- package/dist/curation.d.ts +1 -0
- package/dist/events.js +5 -5
- package/dist/influencer.d.ts +1 -0
- package/dist/invoice.d.ts +4 -2
- package/dist/pages.js +1 -1
- package/dist/payment.d.ts +4 -2
- package/dist/profile.d.ts +1 -0
- package/dist/recruitment.d.ts +4 -2
- package/dist/sale.d.ts +4 -2
- package/dist/shadcn.d.ts +45 -0
- package/dist/shadcn.js +538 -522
- package/dist/supplier.d.ts +1 -0
- package/dist/user.d.ts +1 -0
- package/dist/utils.d.ts +60 -0
- package/dist/utils.js +16 -50
- package/package.json +1 -1
- package/dist/assets/timeline.css +0 -1
- package/dist/chuncks/timeline.DfIC0519.js +0 -10963
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { B as a, C as c, a as i } from "./values.constant.DO4JqXro.js";
|
|
2
|
+
import "./scroll-area.CEAE-ZuD.js";
|
|
3
|
+
import "./_influencer-select-input.component.CbVEJ529.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
import "date-fns";
|
|
7
|
+
function n(r) {
|
|
8
|
+
return !isNaN(Number(r));
|
|
9
|
+
}
|
|
10
|
+
function d(r) {
|
|
11
|
+
return typeof r != "string" || !r ? !1 : r in i;
|
|
12
|
+
}
|
|
13
|
+
function g(r) {
|
|
14
|
+
return typeof r != "string" || !r ? !1 : r in c;
|
|
15
|
+
}
|
|
16
|
+
function $(r) {
|
|
17
|
+
return typeof r != "string" || !r ? !1 : r in a;
|
|
18
|
+
}
|
|
19
|
+
function V(r) {
|
|
20
|
+
const t = r.replace(/[^0-9]/g, "");
|
|
21
|
+
return Number(t) / 100;
|
|
22
|
+
}
|
|
23
|
+
function N(r) {
|
|
24
|
+
return r.toLocaleString("pt-BR", {
|
|
25
|
+
style: "currency",
|
|
26
|
+
currency: "BRL"
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const y = (r) => {
|
|
30
|
+
const t = n(r) ? r : Number(r);
|
|
31
|
+
return `${parseInt(String(t * 100))}%`;
|
|
32
|
+
}, D = (r) => {
|
|
33
|
+
const t = +String(r).replace("%", "");
|
|
34
|
+
if (!n(t)) return !1;
|
|
35
|
+
const e = t / 100;
|
|
36
|
+
return +String(e).split(".")[0] >= 1 ? 1 : e;
|
|
37
|
+
};
|
|
38
|
+
function S(r) {
|
|
39
|
+
return r.replace(/\D/g, "").replace(/^(\d{3})(\d{3})(\d{3})(\d{2})$/, "$1.$2.$3-$4");
|
|
40
|
+
}
|
|
41
|
+
function C(r) {
|
|
42
|
+
return r.replace(/\D/g, "").replace(/^(\d{2})(\d{3})(\d{3})(\d{1})$/, "$1.$2.$3-$4");
|
|
43
|
+
}
|
|
44
|
+
function b(r) {
|
|
45
|
+
return r.replace(/\D/g, "").replace(
|
|
46
|
+
/^(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})$/,
|
|
47
|
+
"$1.$2.$3/$4-$5"
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
function F(r) {
|
|
51
|
+
return r.replace(/\D/g, "").replace(/^(\d{5})(\d{3})$/, "$1-$2");
|
|
52
|
+
}
|
|
53
|
+
function P(r) {
|
|
54
|
+
return r.replace(/\D/g, "");
|
|
55
|
+
}
|
|
56
|
+
const k = (r) => new Intl.NumberFormat("pt-BR", {
|
|
57
|
+
style: "decimal",
|
|
58
|
+
notation: "compact",
|
|
59
|
+
compactDisplay: "short",
|
|
60
|
+
minimumFractionDigits: 0,
|
|
61
|
+
maximumFractionDigits: 3
|
|
62
|
+
}).format(r), B = (r) => new Intl.NumberFormat("pt-BR", {
|
|
63
|
+
style: "percent",
|
|
64
|
+
notation: "compact",
|
|
65
|
+
compactDisplay: "short",
|
|
66
|
+
minimumFractionDigits: 0,
|
|
67
|
+
maximumFractionDigits: 2
|
|
68
|
+
}).format(r);
|
|
69
|
+
export {
|
|
70
|
+
B as a,
|
|
71
|
+
N as b,
|
|
72
|
+
y as c,
|
|
73
|
+
S as d,
|
|
74
|
+
C as e,
|
|
75
|
+
k as f,
|
|
76
|
+
F as g,
|
|
77
|
+
D as h,
|
|
78
|
+
$ as i,
|
|
79
|
+
g as j,
|
|
80
|
+
n as k,
|
|
81
|
+
d as l,
|
|
82
|
+
b as m,
|
|
83
|
+
V as p,
|
|
84
|
+
P as u
|
|
85
|
+
};
|