@gustavo-valsechi/client 1.3.30 → 1.3.32
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 +3070 -13
- package/dist/components/index.mjs +3082 -11
- package/dist/contexts/index.js +504 -9
- package/dist/contexts/index.mjs +486 -4
- package/dist/index.js +3325 -8
- package/dist/index.mjs +3312 -4
- package/dist/interfaces/index.js +2 -8
- package/dist/interfaces/index.mjs +0 -2
- package/package.json +7 -3
- package/dist/components/styles.js +0 -54
- package/dist/components/styles.mjs +0 -19
- package/dist/components/types/avatar/index.js +0 -63
- package/dist/components/types/avatar/index.mjs +0 -29
- package/dist/components/types/avatar/styles.js +0 -93
- package/dist/components/types/avatar/styles.mjs +0 -59
- package/dist/components/types/badge/index.js +0 -54
- package/dist/components/types/badge/index.mjs +0 -20
- package/dist/components/types/badge/styles.js +0 -71
- package/dist/components/types/badge/styles.mjs +0 -37
- package/dist/components/types/block/index.js +0 -44
- package/dist/components/types/block/index.mjs +0 -20
- package/dist/components/types/block/styles.js +0 -65
- package/dist/components/types/block/styles.mjs +0 -30
- package/dist/components/types/chart/index.js +0 -80
- package/dist/components/types/chart/index.mjs +0 -46
- package/dist/components/types/chart/styles.js +0 -42
- package/dist/components/types/chart/styles.mjs +0 -8
- package/dist/components/types/credit-card/assets/index.js +0 -41
- package/dist/components/types/credit-card/assets/index.mjs +0 -21
- package/dist/components/types/credit-card/card/index.js +0 -67
- package/dist/components/types/credit-card/card/index.mjs +0 -37
- package/dist/components/types/credit-card/card/styles.js +0 -170
- package/dist/components/types/credit-card/card/styles.mjs +0 -136
- package/dist/components/types/credit-card/functions/index.js +0 -52
- package/dist/components/types/credit-card/functions/index.mjs +0 -22
- package/dist/components/types/credit-card/functions/styles.js +0 -75
- package/dist/components/types/credit-card/functions/styles.mjs +0 -41
- package/dist/components/types/credit-card/index.js +0 -70
- package/dist/components/types/credit-card/index.mjs +0 -36
- package/dist/components/types/credit-card/styles.js +0 -72
- package/dist/components/types/credit-card/styles.mjs +0 -38
- package/dist/components/types/credit-card/tools/index.js +0 -58
- package/dist/components/types/credit-card/tools/index.mjs +0 -23
- package/dist/components/types/form/index.js +0 -111
- package/dist/components/types/form/index.mjs +0 -75
- package/dist/components/types/form/styles.js +0 -53
- package/dist/components/types/form/styles.mjs +0 -19
- package/dist/components/types/form/types/button/index.js +0 -58
- package/dist/components/types/form/types/button/index.mjs +0 -24
- package/dist/components/types/form/types/button/loading/index.js +0 -38
- package/dist/components/types/form/types/button/loading/index.mjs +0 -14
- package/dist/components/types/form/types/button/loading/styles.js +0 -126
- package/dist/components/types/form/types/button/loading/styles.mjs +0 -92
- package/dist/components/types/form/types/button/styles.js +0 -79
- package/dist/components/types/form/types/button/styles.mjs +0 -45
- package/dist/components/types/form/types/datetime/index.js +0 -72
- package/dist/components/types/form/types/datetime/index.mjs +0 -38
- package/dist/components/types/form/types/datetime/styles.js +0 -78
- package/dist/components/types/form/types/datetime/styles.mjs +0 -44
- package/dist/components/types/form/types/file/index.js +0 -71
- package/dist/components/types/form/types/file/index.mjs +0 -47
- package/dist/components/types/form/types/file/styles.js +0 -65
- package/dist/components/types/form/types/file/styles.mjs +0 -31
- package/dist/components/types/form/types/index.js +0 -35
- package/dist/components/types/form/types/index.mjs +0 -8
- package/dist/components/types/form/types/input/index.js +0 -84
- package/dist/components/types/form/types/input/index.mjs +0 -50
- package/dist/components/types/form/types/input/styles.js +0 -84
- package/dist/components/types/form/types/input/styles.mjs +0 -50
- package/dist/components/types/form/types/label/index.js +0 -34
- package/dist/components/types/form/types/label/index.mjs +0 -10
- package/dist/components/types/form/types/label/styles.js +0 -45
- package/dist/components/types/form/types/label/styles.mjs +0 -11
- package/dist/components/types/form/types/select/index.js +0 -90
- package/dist/components/types/form/types/select/index.mjs +0 -56
- package/dist/components/types/form/types/select/styles.js +0 -90
- package/dist/components/types/form/types/select/styles.mjs +0 -56
- package/dist/components/types/form/types/textarea/index.js +0 -72
- package/dist/components/types/form/types/textarea/index.mjs +0 -38
- package/dist/components/types/form/types/textarea/styles.js +0 -77
- package/dist/components/types/form/types/textarea/styles.mjs +0 -43
- package/dist/components/types/index.js +0 -43
- package/dist/components/types/index.mjs +0 -12
- package/dist/components/types/loading/app/index.js +0 -35
- package/dist/components/types/loading/app/index.mjs +0 -11
- package/dist/components/types/loading/app/styles.js +0 -125
- package/dist/components/types/loading/app/styles.mjs +0 -91
- package/dist/components/types/loading/bar/index.js +0 -34
- package/dist/components/types/loading/bar/index.mjs +0 -10
- package/dist/components/types/loading/bar/styles.js +0 -59
- package/dist/components/types/loading/bar/styles.mjs +0 -25
- package/dist/components/types/loading/index.js +0 -25
- package/dist/components/types/loading/index.mjs +0 -3
- package/dist/components/types/logo/index.js +0 -37
- package/dist/components/types/logo/index.mjs +0 -13
- package/dist/components/types/logo/styles.js +0 -57
- package/dist/components/types/logo/styles.mjs +0 -23
- package/dist/components/types/lottie/animations/index.js +0 -36
- package/dist/components/types/lottie/animations/index.mjs +0 -6
- package/dist/components/types/lottie/index.js +0 -72
- package/dist/components/types/lottie/index.mjs +0 -38
- package/dist/components/types/lottie/styles.js +0 -60
- package/dist/components/types/lottie/styles.mjs +0 -26
- package/dist/components/types/modal/index.js +0 -66
- package/dist/components/types/modal/index.mjs +0 -32
- package/dist/components/types/modal/styles.js +0 -167
- package/dist/components/types/modal/styles.mjs +0 -133
- package/dist/components/types/table/index.js +0 -171
- package/dist/components/types/table/index.mjs +0 -135
- package/dist/components/types/table/modal/actions.js +0 -30
- package/dist/components/types/table/modal/actions.mjs +0 -10
- package/dist/components/types/table/modal/index.js +0 -91
- package/dist/components/types/table/modal/index.mjs +0 -61
- package/dist/components/types/table/modal/styles.js +0 -90
- package/dist/components/types/table/modal/styles.mjs +0 -56
- package/dist/components/types/table/paginate/index.js +0 -92
- package/dist/components/types/table/paginate/index.mjs +0 -58
- package/dist/components/types/table/paginate/styles.js +0 -74
- package/dist/components/types/table/paginate/styles.mjs +0 -40
- package/dist/components/types/table/styles.js +0 -300
- package/dist/components/types/table/styles.mjs +0 -266
- package/dist/contexts/icon/assets/brands/index.js +0 -31
- package/dist/contexts/icon/assets/brands/index.mjs +0 -11
- package/dist/contexts/icon/assets/index.js +0 -42
- package/dist/contexts/icon/assets/index.mjs +0 -12
- package/dist/contexts/icon/assets/regular/index.js +0 -31
- package/dist/contexts/icon/assets/regular/index.mjs +0 -11
- package/dist/contexts/icon/assets/solid/index.js +0 -31
- package/dist/contexts/icon/assets/solid/index.mjs +0 -11
- package/dist/contexts/icon/index.js +0 -107
- package/dist/contexts/icon/index.mjs +0 -72
- package/dist/contexts/icon/styles.js +0 -42
- package/dist/contexts/icon/styles.mjs +0 -8
- package/dist/contexts/modal/index.js +0 -92
- package/dist/contexts/modal/index.mjs +0 -57
- package/dist/contexts/modal/styles.js +0 -42
- package/dist/contexts/modal/styles.mjs +0 -8
- package/dist/contexts/theme/content.js +0 -104
- package/dist/contexts/theme/content.mjs +0 -79
- package/dist/contexts/theme/index.js +0 -68
- package/dist/contexts/theme/index.mjs +0 -43
- package/dist/contexts/theme/styles.js +0 -116
- package/dist/contexts/theme/styles.mjs +0 -82
- package/dist/contexts/tooltip/index.js +0 -107
- package/dist/contexts/tooltip/index.mjs +0 -72
- package/dist/contexts/tooltip/styles.js +0 -78
- package/dist/contexts/tooltip/styles.mjs +0 -44
- package/dist/interfaces/components/avatar/index.js +0 -17
- package/dist/interfaces/components/avatar/index.mjs +0 -1
- package/dist/interfaces/components/badge/index.js +0 -17
- package/dist/interfaces/components/badge/index.mjs +0 -1
- package/dist/interfaces/components/block/index.js +0 -17
- package/dist/interfaces/components/block/index.mjs +0 -1
- package/dist/interfaces/components/chart/index.js +0 -17
- package/dist/interfaces/components/chart/index.mjs +0 -1
- package/dist/interfaces/components/credit-card/index.js +0 -17
- package/dist/interfaces/components/credit-card/index.mjs +0 -1
- package/dist/interfaces/components/form/button/index.js +0 -17
- package/dist/interfaces/components/form/button/index.mjs +0 -1
- package/dist/interfaces/components/form/datetime/index.js +0 -17
- package/dist/interfaces/components/form/datetime/index.mjs +0 -1
- package/dist/interfaces/components/form/file/index.js +0 -17
- package/dist/interfaces/components/form/file/index.mjs +0 -1
- package/dist/interfaces/components/form/index.js +0 -35
- package/dist/interfaces/components/form/index.mjs +0 -8
- package/dist/interfaces/components/form/input/index.js +0 -17
- package/dist/interfaces/components/form/input/index.mjs +0 -1
- package/dist/interfaces/components/form/label/index.js +0 -17
- package/dist/interfaces/components/form/label/index.mjs +0 -1
- package/dist/interfaces/components/form/select/index.js +0 -17
- package/dist/interfaces/components/form/select/index.mjs +0 -1
- package/dist/interfaces/components/form/textarea/index.js +0 -17
- package/dist/interfaces/components/form/textarea/index.mjs +0 -1
- package/dist/interfaces/components/index.js +0 -43
- package/dist/interfaces/components/index.mjs +0 -12
- package/dist/interfaces/components/loading/app/index.js +0 -17
- package/dist/interfaces/components/loading/app/index.mjs +0 -1
- package/dist/interfaces/components/loading/bar/index.js +0 -17
- package/dist/interfaces/components/loading/bar/index.mjs +0 -1
- package/dist/interfaces/components/loading/index.js +0 -25
- package/dist/interfaces/components/loading/index.mjs +0 -3
- package/dist/interfaces/components/logo/index.js +0 -17
- package/dist/interfaces/components/logo/index.mjs +0 -1
- package/dist/interfaces/components/lottie/index.js +0 -17
- package/dist/interfaces/components/lottie/index.mjs +0 -1
- package/dist/interfaces/components/modal/index.js +0 -17
- package/dist/interfaces/components/modal/index.mjs +0 -1
- package/dist/interfaces/components/table/index.js +0 -23
- package/dist/interfaces/components/table/index.mjs +0 -2
- package/dist/interfaces/components/table/paginate/index.js +0 -17
- package/dist/interfaces/components/table/paginate/index.mjs +0 -1
- package/dist/interfaces/contexts/icon/index.js +0 -17
- package/dist/interfaces/contexts/icon/index.mjs +0 -1
- package/dist/interfaces/contexts/index.js +0 -29
- package/dist/interfaces/contexts/index.mjs +0 -5
- package/dist/interfaces/contexts/modal/index.js +0 -18
- package/dist/interfaces/contexts/modal/index.mjs +0 -2
- package/dist/interfaces/contexts/theme/index.js +0 -17
- package/dist/interfaces/contexts/theme/index.mjs +0 -1
- package/dist/interfaces/contexts/tooltip/index.js +0 -17
- package/dist/interfaces/contexts/tooltip/index.mjs +0 -1
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
const Container = styled.div`
|
|
5
|
-
.iz-table-container {
|
|
6
|
-
overflow-x: auto;
|
|
7
|
-
|
|
8
|
-
&::-webkit-scrollbar {
|
|
9
|
-
width: 0;
|
|
10
|
-
height: ${(props) => props.notFound ? "0px" : "5px"};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&::-webkit-scrollbar-track {
|
|
14
|
-
background: transparent;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&::-webkit-scrollbar-thumb {
|
|
18
|
-
background-color: rgb(255, 255, 255, 0.1);
|
|
19
|
-
border-radius: 5px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
table {
|
|
23
|
-
font-size: .8rem;
|
|
24
|
-
border: 0;
|
|
25
|
-
color: ${({ theme }) => theme.t6};
|
|
26
|
-
overflow-x: ${(props) => props.notFound ? "auto" : "hidden"};
|
|
27
|
-
width: 100%;
|
|
28
|
-
border-spacing: 0;
|
|
29
|
-
|
|
30
|
-
.iz-table-content {
|
|
31
|
-
background: ${({ theme }) => theme.t05};
|
|
32
|
-
height: 2.7rem;
|
|
33
|
-
padding: 0.8rem 1.3rem;
|
|
34
|
-
margin-top: 0.5rem;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
position: relative;
|
|
39
|
-
transition: ease 0.3s;
|
|
40
|
-
|
|
41
|
-
&.iz-table-identifier {
|
|
42
|
-
padding: .8rem .5rem !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.iz-table-action {
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: flex-end;
|
|
48
|
-
padding: .8rem .5rem !important;
|
|
49
|
-
position: relative;
|
|
50
|
-
|
|
51
|
-
&.left {
|
|
52
|
-
justify-content: flex-start;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.center {
|
|
56
|
-
justify-content: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.iz-table-actions {
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
justify-content: flex-end;
|
|
63
|
-
gap: .5rem;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.iz-table-button {
|
|
67
|
-
min-width: 1.8rem;
|
|
68
|
-
height: 1.8rem;
|
|
69
|
-
border-radius: 5px;
|
|
70
|
-
border: 1px solid ${({ theme }) => theme.t05};
|
|
71
|
-
background: ${({ theme }) => theme.t05};
|
|
72
|
-
color: ${({ theme }) => theme.t6};
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
transition: ease 0.3s, width 1s, position 0s;
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
gap: .5rem;
|
|
79
|
-
font-weight: 500;
|
|
80
|
-
text-transform: lowercase;
|
|
81
|
-
padding: 0 .5rem;
|
|
82
|
-
position: relative;
|
|
83
|
-
|
|
84
|
-
&:disabled {
|
|
85
|
-
pointer-events: none;
|
|
86
|
-
opacity: .6;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&:hover {
|
|
90
|
-
opacity: .9;
|
|
91
|
-
|
|
92
|
-
&.negative {
|
|
93
|
-
color: ${({ theme }) => theme.primary};
|
|
94
|
-
background: ${({ theme }) => theme.negative};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
thead {
|
|
102
|
-
tr {
|
|
103
|
-
th {
|
|
104
|
-
border: none;
|
|
105
|
-
padding: 0;
|
|
106
|
-
text-transform: uppercase;
|
|
107
|
-
font-weight: 500;
|
|
108
|
-
letter-spacing: 2px;
|
|
109
|
-
position: relative;
|
|
110
|
-
height: 2.5rem;
|
|
111
|
-
|
|
112
|
-
@media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
113
|
-
.iz-table-content {
|
|
114
|
-
font-size: .7rem;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
119
|
-
display: none;
|
|
120
|
-
|
|
121
|
-
&:nth-child(1), &:nth-child(2), &:last-child {
|
|
122
|
-
display: table-cell;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&:first-child {
|
|
127
|
-
.iz-table-content {
|
|
128
|
-
border-top-left-radius: 5px;
|
|
129
|
-
border-bottom-left-radius: 5px;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:last-child {
|
|
134
|
-
.iz-table-content {
|
|
135
|
-
border-top-right-radius: 5px;
|
|
136
|
-
border-bottom-right-radius: 5px;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
tbody {
|
|
144
|
-
tr {
|
|
145
|
-
&:hover {
|
|
146
|
-
td {
|
|
147
|
-
.iz-table-content {
|
|
148
|
-
background: ${({ theme }) => theme.tertiary};
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
td {
|
|
154
|
-
border: none;
|
|
155
|
-
padding: 0;
|
|
156
|
-
font-weight: 400;
|
|
157
|
-
position: relative;
|
|
158
|
-
|
|
159
|
-
@media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
160
|
-
display: none;
|
|
161
|
-
|
|
162
|
-
&:nth-child(1), &:nth-child(2), &:last-child {
|
|
163
|
-
display: table-cell;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&:first-child {
|
|
168
|
-
.iz-table-content {
|
|
169
|
-
border-top-left-radius: 5px;
|
|
170
|
-
border-bottom-left-radius: 5px;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&:last-child {
|
|
175
|
-
.iz-table-content {
|
|
176
|
-
border-top-right-radius: 5px;
|
|
177
|
-
border-bottom-right-radius: 5px;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.iz-table-content-elipse {
|
|
182
|
-
position: absolute;
|
|
183
|
-
left: 0;
|
|
184
|
-
right: 0;
|
|
185
|
-
white-space: nowrap;
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
text-overflow: ellipsis;
|
|
188
|
-
padding: 0.8rem 1.3rem;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&:first-child {
|
|
193
|
-
td {
|
|
194
|
-
.iz-table-content {
|
|
195
|
-
margin-top: 1.5rem;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.iz-table-icon {
|
|
205
|
-
width: 1.8rem;
|
|
206
|
-
height: 1.8rem;
|
|
207
|
-
background: ${({ theme }) => theme.t08};
|
|
208
|
-
border-radius: 5px;
|
|
209
|
-
display: flex;
|
|
210
|
-
align-items: center;
|
|
211
|
-
justify-content: center;
|
|
212
|
-
overflow: hidden;
|
|
213
|
-
|
|
214
|
-
img {
|
|
215
|
-
width: 100%;
|
|
216
|
-
height: 100%;
|
|
217
|
-
object-fit: cover;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
i {
|
|
221
|
-
font-size: .9rem;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.iz-table-not-found {
|
|
226
|
-
border-radius: 5px;
|
|
227
|
-
background: ${({ theme }) => theme.t05};
|
|
228
|
-
display: flex;
|
|
229
|
-
flex-direction: column;
|
|
230
|
-
align-items: center;
|
|
231
|
-
justify-content: center;
|
|
232
|
-
margin: 1.5rem 0;
|
|
233
|
-
padding: 2.5rem;
|
|
234
|
-
width: 100%;
|
|
235
|
-
|
|
236
|
-
p {
|
|
237
|
-
color: ${({ theme }) => theme.t6};
|
|
238
|
-
text-align: center;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
p:first-child {
|
|
242
|
-
font-size: 1.3rem;
|
|
243
|
-
font-weight: 600;
|
|
244
|
-
margin-top: 0;
|
|
245
|
-
margin-bottom: 0.5rem;
|
|
246
|
-
|
|
247
|
-
@media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
248
|
-
font-size: 1rem;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
p:last-child {
|
|
253
|
-
font-size: 0.8rem;
|
|
254
|
-
max-width: 50rem;
|
|
255
|
-
margin-top: 0;
|
|
256
|
-
margin-bottom: 0;
|
|
257
|
-
|
|
258
|
-
@media (max-width: ${({ theme }) => theme.mobileMaxWidth}) {
|
|
259
|
-
font-size: 0.7rem;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
`;
|
|
264
|
-
export {
|
|
265
|
-
Container
|
|
266
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
var brands_exports = {};
|
|
21
|
-
__export(brands_exports, {
|
|
22
|
-
default: () => brands_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(brands_exports);
|
|
25
|
-
const req = require.context("./", false, /\.svg$/);
|
|
26
|
-
const brands = {};
|
|
27
|
-
req.keys().forEach((key) => {
|
|
28
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
29
|
-
brands[name] = req(key).default;
|
|
30
|
-
});
|
|
31
|
-
var brands_default = brands;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const req = require.context("./", false, /\.svg$/);
|
|
3
|
-
const brands = {};
|
|
4
|
-
req.keys().forEach((key) => {
|
|
5
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
6
|
-
brands[name] = req(key).default;
|
|
7
|
-
});
|
|
8
|
-
var brands_default = brands;
|
|
9
|
-
export {
|
|
10
|
-
brands_default as default
|
|
11
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
var assets_exports = {};
|
|
31
|
-
__export(assets_exports, {
|
|
32
|
-
default: () => assets_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(assets_exports);
|
|
35
|
-
var import_brands = __toESM(require("./brands"));
|
|
36
|
-
var import_regular = __toESM(require("./regular"));
|
|
37
|
-
var import_solid = __toESM(require("./solid"));
|
|
38
|
-
var assets_default = {
|
|
39
|
-
brands: import_brands.default,
|
|
40
|
-
regular: import_regular.default,
|
|
41
|
-
solid: import_solid.default
|
|
42
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
var regular_exports = {};
|
|
21
|
-
__export(regular_exports, {
|
|
22
|
-
default: () => regular_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(regular_exports);
|
|
25
|
-
const req = require.context("./", false, /\.svg$/);
|
|
26
|
-
const regular = {};
|
|
27
|
-
req.keys().forEach((key) => {
|
|
28
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
29
|
-
regular[name] = req(key).default;
|
|
30
|
-
});
|
|
31
|
-
var regular_default = regular;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const req = require.context("./", false, /\.svg$/);
|
|
3
|
-
const regular = {};
|
|
4
|
-
req.keys().forEach((key) => {
|
|
5
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
6
|
-
regular[name] = req(key).default;
|
|
7
|
-
});
|
|
8
|
-
var regular_default = regular;
|
|
9
|
-
export {
|
|
10
|
-
regular_default as default
|
|
11
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
var solid_exports = {};
|
|
21
|
-
__export(solid_exports, {
|
|
22
|
-
default: () => solid_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(solid_exports);
|
|
25
|
-
const req = require.context("./", false, /\.svg$/);
|
|
26
|
-
const solid = {};
|
|
27
|
-
req.keys().forEach((key) => {
|
|
28
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
29
|
-
solid[name] = req(key).default;
|
|
30
|
-
});
|
|
31
|
-
var solid_default = solid;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const req = require.context("./", false, /\.svg$/);
|
|
3
|
-
const solid = {};
|
|
4
|
-
req.keys().forEach((key) => {
|
|
5
|
-
const name = key.replace("./", "").replace(".svg", "");
|
|
6
|
-
solid[name] = req(key).default;
|
|
7
|
-
});
|
|
8
|
-
var solid_default = solid;
|
|
9
|
-
export {
|
|
10
|
-
solid_default as default
|
|
11
|
-
};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
"use client";
|
|
4
|
-
var __create = Object.create;
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __export = (target, all) => {
|
|
11
|
-
for (var name in all)
|
|
12
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
-
};
|
|
14
|
-
var __copyProps = (to, from, except, desc) => {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
-
for (let key of __getOwnPropNames(from))
|
|
17
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
28
|
-
mod
|
|
29
|
-
));
|
|
30
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
|
-
var icon_exports = {};
|
|
32
|
-
__export(icon_exports, {
|
|
33
|
-
IconProvider: () => IconProviderContainer,
|
|
34
|
-
useIcon: () => useIcon
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(icon_exports);
|
|
37
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
|
-
var import_react = require("react");
|
|
39
|
-
var import_theme = require("../theme");
|
|
40
|
-
var import_lodash = __toESM(require("lodash"));
|
|
41
|
-
var import_assets = __toESM(require("./assets"));
|
|
42
|
-
const IconContext = (0, import_react.createContext)({});
|
|
43
|
-
const IconProviderContainer = ({ children }) => {
|
|
44
|
-
const { content } = (0, import_theme.useTheme)();
|
|
45
|
-
const [isClient, setIsClient] = (0, import_react.useState)(false);
|
|
46
|
-
const [matches, setMatches] = (0, import_react.useState)(0);
|
|
47
|
-
(0, import_react.useEffect)(() => {
|
|
48
|
-
setIsClient(true);
|
|
49
|
-
}, []);
|
|
50
|
-
(0, import_react.useEffect)(() => {
|
|
51
|
-
const firstMediaQuery = window.matchMedia(`(max-width: ${content.mobileMaxWidth})`);
|
|
52
|
-
const secoundMediaQuery = window.matchMedia(`(max-width: ${content.mobileMinWidth})`);
|
|
53
|
-
const firstHandler = (event) => setMatches(event.matches ? 1 : 0);
|
|
54
|
-
const secoundHandler = (event) => setMatches(event.matches ? 2 : 1);
|
|
55
|
-
if (firstMediaQuery.matches) setMatches(1);
|
|
56
|
-
if (secoundMediaQuery.matches) setMatches(2);
|
|
57
|
-
firstMediaQuery.addEventListener("change", firstHandler);
|
|
58
|
-
secoundMediaQuery.addEventListener("change", secoundHandler);
|
|
59
|
-
return () => {
|
|
60
|
-
firstMediaQuery.removeEventListener("change", firstHandler);
|
|
61
|
-
secoundMediaQuery.removeEventListener("change", secoundHandler);
|
|
62
|
-
};
|
|
63
|
-
}, []);
|
|
64
|
-
(0, import_react.useEffect)(() => {
|
|
65
|
-
if (!isClient) return;
|
|
66
|
-
const processElement = (element) => {
|
|
67
|
-
var _a, _b, _c, _d, _e;
|
|
68
|
-
const name = element.getAttribute("class");
|
|
69
|
-
if (!name) return;
|
|
70
|
-
const icon = import_lodash.default.split(import_lodash.default.replace(name, /fa-/g, ""), " ");
|
|
71
|
-
if (!icon.length) return;
|
|
72
|
-
let svg = (_d = (_c = (_a = import_assets.default[icon[0]]) == null ? void 0 : _a[icon[1]]) != null ? _c : (_b = import_assets.default["solid"]) == null ? void 0 : _b[icon[0]]) != null ? _d : "";
|
|
73
|
-
if (!svg) return;
|
|
74
|
-
svg = svg.replace(/fill=".*?"/g, 'fill="currentColor"');
|
|
75
|
-
const styles = window.getComputedStyle(element);
|
|
76
|
-
const size = Number((_e = import_lodash.default.split(styles.fontSize, "px")) == null ? void 0 : _e[0]) + 2;
|
|
77
|
-
element.style.width = `${size}px`;
|
|
78
|
-
element.style.height = `${size}px`;
|
|
79
|
-
element.textContent = "";
|
|
80
|
-
element.innerHTML = svg;
|
|
81
|
-
};
|
|
82
|
-
document.querySelectorAll("i").forEach((el) => processElement(el));
|
|
83
|
-
const observer = new MutationObserver((mutations) => {
|
|
84
|
-
mutations.forEach((mutation) => {
|
|
85
|
-
mutation.addedNodes.forEach((node) => {
|
|
86
|
-
if (node.nodeType === 1) {
|
|
87
|
-
const el = node;
|
|
88
|
-
if (el.tagName.toLowerCase() === "i") processElement(el);
|
|
89
|
-
el.querySelectorAll("i").forEach((child) => processElement(child));
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
observer.observe(document.body, {
|
|
95
|
-
childList: true,
|
|
96
|
-
subtree: true
|
|
97
|
-
});
|
|
98
|
-
return () => observer.disconnect();
|
|
99
|
-
}, [isClient, matches]);
|
|
100
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconContext.Provider, { value: {}, children });
|
|
101
|
-
};
|
|
102
|
-
const useIcon = () => (0, import_react.useContext)(IconContext);
|
|
103
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
-
0 && (module.exports = {
|
|
105
|
-
IconProvider,
|
|
106
|
-
useIcon
|
|
107
|
-
});
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { createContext, useContext, useEffect, useState } from "react";
|
|
5
|
-
import { useTheme } from "../theme";
|
|
6
|
-
import _ from "lodash";
|
|
7
|
-
import assets from "./assets";
|
|
8
|
-
const IconContext = createContext({});
|
|
9
|
-
const IconProviderContainer = ({ children }) => {
|
|
10
|
-
const { content } = useTheme();
|
|
11
|
-
const [isClient, setIsClient] = useState(false);
|
|
12
|
-
const [matches, setMatches] = useState(0);
|
|
13
|
-
useEffect(() => {
|
|
14
|
-
setIsClient(true);
|
|
15
|
-
}, []);
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
const firstMediaQuery = window.matchMedia(`(max-width: ${content.mobileMaxWidth})`);
|
|
18
|
-
const secoundMediaQuery = window.matchMedia(`(max-width: ${content.mobileMinWidth})`);
|
|
19
|
-
const firstHandler = (event) => setMatches(event.matches ? 1 : 0);
|
|
20
|
-
const secoundHandler = (event) => setMatches(event.matches ? 2 : 1);
|
|
21
|
-
if (firstMediaQuery.matches) setMatches(1);
|
|
22
|
-
if (secoundMediaQuery.matches) setMatches(2);
|
|
23
|
-
firstMediaQuery.addEventListener("change", firstHandler);
|
|
24
|
-
secoundMediaQuery.addEventListener("change", secoundHandler);
|
|
25
|
-
return () => {
|
|
26
|
-
firstMediaQuery.removeEventListener("change", firstHandler);
|
|
27
|
-
secoundMediaQuery.removeEventListener("change", secoundHandler);
|
|
28
|
-
};
|
|
29
|
-
}, []);
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
if (!isClient) return;
|
|
32
|
-
const processElement = (element) => {
|
|
33
|
-
var _a, _b, _c, _d, _e;
|
|
34
|
-
const name = element.getAttribute("class");
|
|
35
|
-
if (!name) return;
|
|
36
|
-
const icon = _.split(_.replace(name, /fa-/g, ""), " ");
|
|
37
|
-
if (!icon.length) return;
|
|
38
|
-
let svg = (_d = (_c = (_a = assets[icon[0]]) == null ? void 0 : _a[icon[1]]) != null ? _c : (_b = assets["solid"]) == null ? void 0 : _b[icon[0]]) != null ? _d : "";
|
|
39
|
-
if (!svg) return;
|
|
40
|
-
svg = svg.replace(/fill=".*?"/g, 'fill="currentColor"');
|
|
41
|
-
const styles = window.getComputedStyle(element);
|
|
42
|
-
const size = Number((_e = _.split(styles.fontSize, "px")) == null ? void 0 : _e[0]) + 2;
|
|
43
|
-
element.style.width = `${size}px`;
|
|
44
|
-
element.style.height = `${size}px`;
|
|
45
|
-
element.textContent = "";
|
|
46
|
-
element.innerHTML = svg;
|
|
47
|
-
};
|
|
48
|
-
document.querySelectorAll("i").forEach((el) => processElement(el));
|
|
49
|
-
const observer = new MutationObserver((mutations) => {
|
|
50
|
-
mutations.forEach((mutation) => {
|
|
51
|
-
mutation.addedNodes.forEach((node) => {
|
|
52
|
-
if (node.nodeType === 1) {
|
|
53
|
-
const el = node;
|
|
54
|
-
if (el.tagName.toLowerCase() === "i") processElement(el);
|
|
55
|
-
el.querySelectorAll("i").forEach((child) => processElement(child));
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
observer.observe(document.body, {
|
|
61
|
-
childList: true,
|
|
62
|
-
subtree: true
|
|
63
|
-
});
|
|
64
|
-
return () => observer.disconnect();
|
|
65
|
-
}, [isClient, matches]);
|
|
66
|
-
return /* @__PURE__ */ jsx(IconContext.Provider, { value: {}, children });
|
|
67
|
-
};
|
|
68
|
-
const useIcon = () => useContext(IconContext);
|
|
69
|
-
export {
|
|
70
|
-
IconProviderContainer as IconProvider,
|
|
71
|
-
useIcon
|
|
72
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
var styles_exports = {};
|
|
31
|
-
__export(styles_exports, {
|
|
32
|
-
Container: () => Container
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(styles_exports);
|
|
35
|
-
var import_styled_components = __toESM(require("styled-components"));
|
|
36
|
-
const Container = import_styled_components.default.div`
|
|
37
|
-
|
|
38
|
-
`;
|
|
39
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
-
0 && (module.exports = {
|
|
41
|
-
Container
|
|
42
|
-
});
|