@gustavo-valsechi/client 1.3.29 → 1.3.30
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/components/index.js +14 -3070
- package/dist/components/index.mjs +12 -3082
- package/dist/components/styles.js +3 -4
- package/dist/components/styles.mjs +3 -4
- package/dist/components/types/avatar/index.js +4 -62
- package/dist/components/types/avatar/index.mjs +3 -61
- package/dist/components/types/avatar/styles.js +2 -3
- package/dist/components/types/avatar/styles.mjs +2 -3
- package/dist/components/types/badge/index.js +5 -304
- package/dist/components/types/badge/index.mjs +5 -308
- package/dist/components/types/badge/styles.js +2 -3
- package/dist/components/types/badge/styles.mjs +2 -3
- package/dist/components/types/block/index.js +9 -3046
- package/dist/components/types/block/index.mjs +9 -3066
- package/dist/components/types/block/styles.js +3 -4
- package/dist/components/types/block/styles.mjs +3 -4
- package/dist/components/types/chart/index.js +13 -284
- package/dist/components/types/chart/index.mjs +13 -288
- package/dist/components/types/chart/styles.js +2 -3
- package/dist/components/types/chart/styles.mjs +2 -2
- package/dist/components/types/credit-card/assets/index.js +2 -3
- package/dist/components/types/credit-card/assets/index.mjs +2 -2
- package/dist/components/types/credit-card/card/index.js +9 -681
- package/dist/components/types/credit-card/card/index.mjs +7 -701
- package/dist/components/types/credit-card/card/styles.js +2 -3
- package/dist/components/types/credit-card/card/styles.mjs +2 -3
- package/dist/components/types/credit-card/functions/index.js +4 -44
- package/dist/components/types/credit-card/functions/index.mjs +3 -41
- package/dist/components/types/credit-card/functions/styles.js +2 -3
- package/dist/components/types/credit-card/functions/styles.mjs +2 -3
- package/dist/components/types/credit-card/index.js +7 -803
- package/dist/components/types/credit-card/index.mjs +7 -823
- package/dist/components/types/credit-card/styles.js +2 -3
- package/dist/components/types/credit-card/styles.mjs +2 -3
- package/dist/components/types/credit-card/tools/index.js +7 -527
- package/dist/components/types/credit-card/tools/index.mjs +8 -550
- package/dist/components/types/form/index.js +24 -659
- package/dist/components/types/form/index.mjs +20 -655
- package/dist/components/types/form/styles.js +2 -3
- package/dist/components/types/form/styles.mjs +2 -3
- package/dist/components/types/form/types/button/index.js +7 -149
- package/dist/components/types/form/types/button/index.mjs +6 -146
- package/dist/components/types/form/types/button/loading/index.js +3 -104
- package/dist/components/types/form/types/button/loading/index.mjs +2 -91
- package/dist/components/types/form/types/button/loading/styles.js +2 -3
- package/dist/components/types/form/types/button/loading/styles.mjs +2 -3
- package/dist/components/types/form/types/button/styles.js +2 -3
- package/dist/components/types/form/types/button/styles.mjs +2 -3
- package/dist/components/types/form/types/datetime/index.js +7 -63
- package/dist/components/types/form/types/datetime/index.mjs +6 -60
- package/dist/components/types/form/types/datetime/styles.js +2 -3
- package/dist/components/types/form/types/datetime/styles.mjs +2 -3
- package/dist/components/types/form/types/file/index.js +9 -62
- package/dist/components/types/form/types/file/index.mjs +7 -50
- package/dist/components/types/form/types/file/styles.js +2 -3
- package/dist/components/types/form/types/file/styles.mjs +2 -3
- package/dist/components/types/form/types/index.js +16 -625
- package/dist/components/types/form/types/index.mjs +8 -601
- package/dist/components/types/form/types/input/index.js +10 -72
- package/dist/components/types/form/types/input/index.mjs +7 -69
- package/dist/components/types/form/types/input/styles.js +2 -3
- package/dist/components/types/form/types/input/styles.mjs +2 -3
- package/dist/components/types/form/types/label/index.js +3 -23
- package/dist/components/types/form/types/label/index.mjs +2 -10
- package/dist/components/types/form/types/label/styles.js +2 -3
- package/dist/components/types/form/types/label/styles.mjs +2 -3
- package/dist/components/types/form/types/select/index.js +11 -79
- package/dist/components/types/form/types/select/index.mjs +8 -76
- package/dist/components/types/form/types/select/styles.js +2 -3
- package/dist/components/types/form/types/select/styles.mjs +2 -3
- package/dist/components/types/form/types/textarea/index.js +7 -62
- package/dist/components/types/form/types/textarea/index.mjs +6 -59
- package/dist/components/types/form/types/textarea/styles.js +2 -3
- package/dist/components/types/form/types/textarea/styles.mjs +2 -3
- package/dist/components/types/index.js +24 -3072
- package/dist/components/types/index.mjs +12 -3093
- package/dist/components/types/loading/app/index.js +4 -132
- package/dist/components/types/loading/app/index.mjs +5 -121
- package/dist/components/types/loading/app/styles.js +2 -3
- package/dist/components/types/loading/app/styles.mjs +2 -3
- package/dist/components/types/loading/bar/index.js +3 -37
- package/dist/components/types/loading/bar/index.mjs +2 -24
- package/dist/components/types/loading/bar/styles.js +2 -3
- package/dist/components/types/loading/bar/styles.mjs +2 -3
- package/dist/components/types/loading/index.js +6 -173
- package/dist/components/types/loading/index.mjs +3 -154
- package/dist/components/types/logo/index.js +3 -35
- package/dist/components/types/logo/index.mjs +2 -22
- package/dist/components/types/logo/styles.js +2 -3
- package/dist/components/types/logo/styles.mjs +2 -3
- package/dist/components/types/lottie/animations/index.js +13 -8
- package/dist/components/types/lottie/animations/index.mjs +3 -5
- package/dist/components/types/lottie/index.js +7 -39
- package/dist/components/types/lottie/index.mjs +6 -36
- package/dist/components/types/lottie/styles.js +2 -3
- package/dist/components/types/lottie/styles.mjs +2 -3
- package/dist/components/types/modal/index.js +18 -2283
- package/dist/components/types/modal/index.mjs +18 -2309
- package/dist/components/types/modal/styles.js +2 -3
- package/dist/components/types/modal/styles.mjs +2 -3
- package/dist/components/types/table/index.js +45 -2955
- package/dist/components/types/table/index.mjs +40 -2983
- package/dist/components/types/table/modal/actions.js +4 -82
- package/dist/components/types/table/modal/actions.mjs +3 -78
- package/dist/components/types/table/modal/index.js +22 -3006
- package/dist/components/types/table/modal/index.mjs +19 -3033
- package/dist/components/types/table/modal/styles.js +2 -3
- package/dist/components/types/table/modal/styles.mjs +2 -3
- package/dist/components/types/table/paginate/index.js +4 -43
- package/dist/components/types/table/paginate/index.mjs +3 -40
- package/dist/components/types/table/paginate/styles.js +2 -3
- package/dist/components/types/table/paginate/styles.mjs +2 -3
- package/dist/components/types/table/styles.js +2 -3
- package/dist/components/types/table/styles.mjs +2 -3
- package/dist/contexts/icon/assets/brands/index.js +3 -4
- package/dist/contexts/icon/assets/brands/index.mjs +3 -10
- package/dist/contexts/icon/assets/index.js +17 -34
- package/dist/contexts/icon/assets/index.mjs +7 -38
- package/dist/contexts/icon/assets/regular/index.js +3 -4
- package/dist/contexts/icon/assets/regular/index.mjs +3 -10
- package/dist/contexts/icon/assets/solid/index.js +3 -4
- package/dist/contexts/icon/assets/solid/index.mjs +3 -10
- package/dist/contexts/icon/index.js +15 -217
- package/dist/contexts/icon/index.mjs +15 -223
- package/dist/contexts/icon/styles.js +2 -3
- package/dist/contexts/icon/styles.mjs +2 -2
- package/dist/contexts/index.js +10 -504
- package/dist/contexts/index.mjs +5 -486
- package/dist/contexts/modal/index.js +8 -16
- package/dist/contexts/modal/index.mjs +7 -15
- package/dist/contexts/modal/styles.js +2 -3
- package/dist/contexts/modal/styles.mjs +2 -2
- package/dist/contexts/theme/content.js +3 -4
- package/dist/contexts/theme/content.mjs +3 -3
- package/dist/contexts/theme/index.js +11 -178
- package/dist/contexts/theme/index.mjs +7 -164
- package/dist/contexts/theme/styles.js +2 -3
- package/dist/contexts/theme/styles.mjs +2 -2
- package/dist/contexts/tooltip/index.js +7 -51
- package/dist/contexts/tooltip/index.mjs +6 -50
- package/dist/contexts/tooltip/styles.js +2 -3
- package/dist/contexts/tooltip/styles.mjs +2 -2
- package/dist/index.js +9 -3325
- package/dist/index.mjs +5 -3312
- package/dist/interfaces/components/avatar/index.js +1 -2
- package/dist/interfaces/components/avatar/index.mjs +1 -0
- package/dist/interfaces/components/badge/index.js +1 -2
- package/dist/interfaces/components/badge/index.mjs +1 -0
- package/dist/interfaces/components/block/index.js +1 -2
- package/dist/interfaces/components/block/index.mjs +1 -0
- package/dist/interfaces/components/chart/index.js +1 -2
- package/dist/interfaces/components/chart/index.mjs +1 -0
- package/dist/interfaces/components/credit-card/index.js +1 -2
- package/dist/interfaces/components/credit-card/index.mjs +1 -0
- package/dist/interfaces/components/form/button/index.js +1 -2
- package/dist/interfaces/components/form/button/index.mjs +1 -0
- package/dist/interfaces/components/form/datetime/index.js +1 -2
- package/dist/interfaces/components/form/datetime/index.mjs +1 -0
- package/dist/interfaces/components/form/file/index.js +1 -2
- package/dist/interfaces/components/form/file/index.mjs +1 -0
- package/dist/interfaces/components/form/index.js +19 -2
- package/dist/interfaces/components/form/index.mjs +8 -0
- package/dist/interfaces/components/form/input/index.js +1 -2
- package/dist/interfaces/components/form/input/index.mjs +1 -0
- package/dist/interfaces/components/form/label/index.js +1 -2
- package/dist/interfaces/components/form/label/index.mjs +1 -0
- package/dist/interfaces/components/form/select/index.js +1 -2
- package/dist/interfaces/components/form/select/index.mjs +1 -0
- package/dist/interfaces/components/form/textarea/index.js +1 -2
- package/dist/interfaces/components/form/textarea/index.mjs +1 -0
- package/dist/interfaces/components/index.js +27 -2
- package/dist/interfaces/components/index.mjs +12 -0
- package/dist/interfaces/components/loading/app/index.js +1 -2
- package/dist/interfaces/components/loading/app/index.mjs +1 -0
- package/dist/interfaces/components/loading/bar/index.js +1 -2
- package/dist/interfaces/components/loading/bar/index.mjs +1 -0
- package/dist/interfaces/components/loading/index.js +9 -2
- package/dist/interfaces/components/loading/index.mjs +3 -0
- package/dist/interfaces/components/logo/index.js +1 -2
- package/dist/interfaces/components/logo/index.mjs +1 -0
- package/dist/interfaces/components/lottie/index.js +1 -2
- package/dist/interfaces/components/lottie/index.mjs +1 -0
- package/dist/interfaces/components/modal/index.js +1 -2
- package/dist/interfaces/components/modal/index.mjs +1 -0
- package/dist/interfaces/components/table/index.js +7 -2
- package/dist/interfaces/components/table/index.mjs +2 -0
- package/dist/interfaces/components/table/paginate/index.js +1 -2
- package/dist/interfaces/components/table/paginate/index.mjs +1 -0
- package/dist/interfaces/contexts/icon/index.js +1 -2
- package/dist/interfaces/contexts/icon/index.mjs +1 -0
- package/dist/interfaces/contexts/index.js +13 -2
- package/dist/interfaces/contexts/index.mjs +5 -0
- package/dist/interfaces/contexts/modal/index.js +1 -2
- package/dist/interfaces/contexts/modal/index.mjs +1 -0
- package/dist/interfaces/contexts/theme/index.js +1 -2
- package/dist/interfaces/contexts/theme/index.mjs +1 -0
- package/dist/interfaces/contexts/tooltip/index.js +1 -2
- package/dist/interfaces/contexts/tooltip/index.mjs +1 -0
- package/dist/interfaces/index.js +9 -2
- package/dist/interfaces/index.mjs +3 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
"use strict";
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -16,93 +17,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
17
|
return to;
|
|
17
18
|
};
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// components/types/table/modal/actions.tsx
|
|
21
20
|
var actions_exports = {};
|
|
22
21
|
__export(actions_exports, {
|
|
23
22
|
default: () => actions_default
|
|
24
23
|
});
|
|
25
24
|
module.exports = __toCommonJS(actions_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var CommonTheme = {
|
|
29
|
-
secondary: "#5869da",
|
|
30
|
-
tertiary: "#629dfd33",
|
|
31
|
-
positive: "#65c965",
|
|
32
|
-
negative: "#FF334E",
|
|
33
|
-
mobileMaxWidth: "650px",
|
|
34
|
-
mobileMinWidth: "315px"
|
|
35
|
-
};
|
|
36
|
-
var Themes = {
|
|
37
|
-
light: {
|
|
38
|
-
primary: "#ffffff",
|
|
39
|
-
reverse: "#353535",
|
|
40
|
-
tooltip: "#f2f2f2",
|
|
41
|
-
t8: "#000000cc",
|
|
42
|
-
t7: "#000000b3",
|
|
43
|
-
t6: "#00000099",
|
|
44
|
-
t5: "#00000080",
|
|
45
|
-
t4: "#00000066",
|
|
46
|
-
t3: "#0000004d",
|
|
47
|
-
t2: "#00000033",
|
|
48
|
-
t1: "#0000001a",
|
|
49
|
-
t08: "#00000014",
|
|
50
|
-
t05: "#0000000d",
|
|
51
|
-
t03: "#00000007",
|
|
52
|
-
t02: "#00000005",
|
|
53
|
-
t01: "#00000002",
|
|
54
|
-
lgrad: `linear-gradient(
|
|
55
|
-
to right,
|
|
56
|
-
#dadef7 0%,
|
|
57
|
-
#dee2f8 5%,
|
|
58
|
-
#e2e5f9 10%,
|
|
59
|
-
#e6e9fa 20%,
|
|
60
|
-
#eaedfb 30%,
|
|
61
|
-
#eff0fb 60%,
|
|
62
|
-
#f3f4fc 80%,
|
|
63
|
-
#f7f8fd 90%,
|
|
64
|
-
#fbfbfe 100%
|
|
65
|
-
)`,
|
|
66
|
-
maingrad: "linear-gradient(330deg, #b9c0ff7a 0%, #ffffff 100%)",
|
|
67
|
-
...CommonTheme
|
|
68
|
-
},
|
|
69
|
-
dark: {
|
|
70
|
-
primary: "#333333",
|
|
71
|
-
reverse: "#b45252",
|
|
72
|
-
tooltip: "#3d3d3d",
|
|
73
|
-
t8: "#ffffffcc",
|
|
74
|
-
t7: "#ffffffb3",
|
|
75
|
-
t6: "#ffffff99",
|
|
76
|
-
t5: "#ffffff80",
|
|
77
|
-
t4: "#ffffff66",
|
|
78
|
-
t3: "#ffffff4d",
|
|
79
|
-
t2: "#ffffff33",
|
|
80
|
-
t1: "#ffffff1a",
|
|
81
|
-
t08: "#ffffff14",
|
|
82
|
-
t05: "#ffffff0d",
|
|
83
|
-
t03: "#ffffff07",
|
|
84
|
-
t02: "#ffffff05",
|
|
85
|
-
t01: "#ffffff02",
|
|
86
|
-
lgrad: `linear-gradient(
|
|
87
|
-
to right,
|
|
88
|
-
#3d485c 0%,
|
|
89
|
-
#3c4657 5%,
|
|
90
|
-
#3b4353 10%,
|
|
91
|
-
#3a414e 20%,
|
|
92
|
-
#393f4a 30%,
|
|
93
|
-
#373c45 60%,
|
|
94
|
-
#363a41 80%,
|
|
95
|
-
#35383c 90%,
|
|
96
|
-
#343538 100%
|
|
97
|
-
)`,
|
|
98
|
-
maingrad: "linear-gradient(330deg, #1d1e27 0%, #333333 100%)",
|
|
99
|
-
...CommonTheme
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
// components/types/table/modal/actions.tsx
|
|
104
|
-
var actionConfig = {
|
|
25
|
+
var import_content = require("@contexts/theme/content");
|
|
26
|
+
const actionConfig = {
|
|
105
27
|
"fa-solid fa-pen-to-square": { label: "editar" },
|
|
106
|
-
"fa-solid fa-trash-can": { label: "remover", color: CommonTheme.negative }
|
|
28
|
+
"fa-solid fa-trash-can": { label: "remover", color: import_content.CommonTheme.negative }
|
|
107
29
|
};
|
|
108
30
|
var actions_default = actionConfig;
|
|
@@ -1,81 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
tertiary: "#629dfd33",
|
|
5
|
-
positive: "#65c965",
|
|
6
|
-
negative: "#FF334E",
|
|
7
|
-
mobileMaxWidth: "650px",
|
|
8
|
-
mobileMinWidth: "315px"
|
|
9
|
-
};
|
|
10
|
-
var Themes = {
|
|
11
|
-
light: {
|
|
12
|
-
primary: "#ffffff",
|
|
13
|
-
reverse: "#353535",
|
|
14
|
-
tooltip: "#f2f2f2",
|
|
15
|
-
t8: "#000000cc",
|
|
16
|
-
t7: "#000000b3",
|
|
17
|
-
t6: "#00000099",
|
|
18
|
-
t5: "#00000080",
|
|
19
|
-
t4: "#00000066",
|
|
20
|
-
t3: "#0000004d",
|
|
21
|
-
t2: "#00000033",
|
|
22
|
-
t1: "#0000001a",
|
|
23
|
-
t08: "#00000014",
|
|
24
|
-
t05: "#0000000d",
|
|
25
|
-
t03: "#00000007",
|
|
26
|
-
t02: "#00000005",
|
|
27
|
-
t01: "#00000002",
|
|
28
|
-
lgrad: `linear-gradient(
|
|
29
|
-
to right,
|
|
30
|
-
#dadef7 0%,
|
|
31
|
-
#dee2f8 5%,
|
|
32
|
-
#e2e5f9 10%,
|
|
33
|
-
#e6e9fa 20%,
|
|
34
|
-
#eaedfb 30%,
|
|
35
|
-
#eff0fb 60%,
|
|
36
|
-
#f3f4fc 80%,
|
|
37
|
-
#f7f8fd 90%,
|
|
38
|
-
#fbfbfe 100%
|
|
39
|
-
)`,
|
|
40
|
-
maingrad: "linear-gradient(330deg, #b9c0ff7a 0%, #ffffff 100%)",
|
|
41
|
-
...CommonTheme
|
|
42
|
-
},
|
|
43
|
-
dark: {
|
|
44
|
-
primary: "#333333",
|
|
45
|
-
reverse: "#b45252",
|
|
46
|
-
tooltip: "#3d3d3d",
|
|
47
|
-
t8: "#ffffffcc",
|
|
48
|
-
t7: "#ffffffb3",
|
|
49
|
-
t6: "#ffffff99",
|
|
50
|
-
t5: "#ffffff80",
|
|
51
|
-
t4: "#ffffff66",
|
|
52
|
-
t3: "#ffffff4d",
|
|
53
|
-
t2: "#ffffff33",
|
|
54
|
-
t1: "#ffffff1a",
|
|
55
|
-
t08: "#ffffff14",
|
|
56
|
-
t05: "#ffffff0d",
|
|
57
|
-
t03: "#ffffff07",
|
|
58
|
-
t02: "#ffffff05",
|
|
59
|
-
t01: "#ffffff02",
|
|
60
|
-
lgrad: `linear-gradient(
|
|
61
|
-
to right,
|
|
62
|
-
#3d485c 0%,
|
|
63
|
-
#3c4657 5%,
|
|
64
|
-
#3b4353 10%,
|
|
65
|
-
#3a414e 20%,
|
|
66
|
-
#393f4a 30%,
|
|
67
|
-
#373c45 60%,
|
|
68
|
-
#363a41 80%,
|
|
69
|
-
#35383c 90%,
|
|
70
|
-
#343538 100%
|
|
71
|
-
)`,
|
|
72
|
-
maingrad: "linear-gradient(330deg, #1d1e27 0%, #333333 100%)",
|
|
73
|
-
...CommonTheme
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
// components/types/table/modal/actions.tsx
|
|
78
|
-
var actionConfig = {
|
|
1
|
+
"use client";
|
|
2
|
+
import { CommonTheme } from "@contexts/theme/content";
|
|
3
|
+
const actionConfig = {
|
|
79
4
|
"fa-solid fa-pen-to-square": { label: "editar" },
|
|
80
5
|
"fa-solid fa-trash-can": { label: "remover", color: CommonTheme.negative }
|
|
81
6
|
};
|