@spesia/ui 1.10.3 → 1.10.5
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/_virtual/index.js +5 -2
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/lottie.js +7 -0
- package/dist/_virtual/lottie2.js +4 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.js +14 -10
- package/dist/components/LogoAnimation/LogoAnimation.d.ts +10 -0
- package/dist/components/LogoAnimation/LogoAnimation.js +56 -0
- package/dist/components/LogoAnimation/logo-animation.json.d.ts +240 -0
- package/dist/components/LogoAnimation/logo-animation.json.js +27 -0
- package/dist/components/LogoSpinner/LogoSpinner.d.ts +8 -0
- package/dist/components/LogoSpinner/LogoSpinner.js +34 -0
- package/dist/components/LogoSpinner/logo-spinner-scale.json.d.ts +399 -0
- package/dist/components/LogoSpinner/logo-spinner-scale.json.js +27 -0
- package/dist/components/chip-list/ChipList.js +1 -2
- package/dist/components/date-picker/DatePicker/DatePicker.js +13 -14
- package/dist/components/date-picker/PeriodPicker/PeriodPicker.js +1 -2
- package/dist/components/date-picker/utils.js +16 -16
- package/dist/components/filters/FilterList.js +12 -13
- package/dist/components/trending-chip/TrendingChip.js +7 -8
- package/dist/helpers/suitCx.js +1 -1
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +33 -33
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/formatters.js +68 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +1 -2
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarDays.js +2 -3
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/format.js +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDayOfYear.js +3 -4
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeek.js +4 -5
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeekYear.js +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeek.js +5 -6
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeekYear.js +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isDate.js +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameDay.js +8 -9
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameMonth.js +5 -6
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameYear.js +6 -7
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isValid.js +4 -5
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +8 -9
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfDay.js +4 -5
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeek.js +2 -3
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeekYear.js +5 -6
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +7 -8
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeekYear.js +4 -5
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfYear.js +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +3 -4
- package/dist/node_modules/.pnpm/lottie-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/lottie-react/build/index.es.js +370 -0
- package/dist/node_modules/.pnpm/lottie-web@5.13.0/node_modules/lottie-web/build/player/lottie.js +7665 -0
- package/package.json +6 -5
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"nm": "Main Scene",
|
|
3
|
+
"ddd": 0,
|
|
4
|
+
"h": 256,
|
|
5
|
+
"w": 256,
|
|
6
|
+
"meta": { "g": "@lottiefiles/creator@1.89.0" },
|
|
7
|
+
"layers": [
|
|
8
|
+
{
|
|
9
|
+
"ty": 0,
|
|
10
|
+
"nm": "logo-icon",
|
|
11
|
+
"sr": 1,
|
|
12
|
+
"st": 0,
|
|
13
|
+
"op": 150,
|
|
14
|
+
"ip": 0,
|
|
15
|
+
"hd": false,
|
|
16
|
+
"ddd": 0,
|
|
17
|
+
"bm": 0,
|
|
18
|
+
"hasMask": false,
|
|
19
|
+
"ao": 0,
|
|
20
|
+
"ks": {
|
|
21
|
+
"a": { "a": 0, "k": [60.87501320817887, 62.910022843277886] },
|
|
22
|
+
"s": {
|
|
23
|
+
"a": 1,
|
|
24
|
+
"k": [
|
|
25
|
+
{
|
|
26
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
27
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
28
|
+
"s": [100, 100],
|
|
29
|
+
"t": 0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
33
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
34
|
+
"s": [100, 100],
|
|
35
|
+
"t": 15
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
39
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
40
|
+
"s": [80, 80],
|
|
41
|
+
"t": 68
|
|
42
|
+
},
|
|
43
|
+
{ "s": [100, 100], "t": 150 }
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"sk": { "a": 0, "k": 0 },
|
|
47
|
+
"p": { "a": 0, "k": [124, 128] },
|
|
48
|
+
"r": {
|
|
49
|
+
"a": 1,
|
|
50
|
+
"k": [
|
|
51
|
+
{
|
|
52
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
53
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
54
|
+
"s": [0],
|
|
55
|
+
"t": 0
|
|
56
|
+
},
|
|
57
|
+
{ "s": [360], "t": 150 }
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"sa": { "a": 0, "k": 0 },
|
|
61
|
+
"o": {
|
|
62
|
+
"a": 1,
|
|
63
|
+
"k": [
|
|
64
|
+
{
|
|
65
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
66
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
67
|
+
"s": [100],
|
|
68
|
+
"t": 15
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"o": { "x": 0.167, "y": 0.167 },
|
|
72
|
+
"i": { "x": 0.833, "y": 0.833 },
|
|
73
|
+
"s": [0],
|
|
74
|
+
"t": 68
|
|
75
|
+
},
|
|
76
|
+
{ "s": [100], "t": 150 }
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"w": 122,
|
|
81
|
+
"h": 126,
|
|
82
|
+
"refId": "precomp_Shape Layer - SVG_uiStrPqKOJ_b9ed155c-9899-4cbb-8be9-288b23be72a4",
|
|
83
|
+
"ind": 1
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"v": "5.7.0",
|
|
87
|
+
"fr": 30,
|
|
88
|
+
"op": 150,
|
|
89
|
+
"ip": 0,
|
|
90
|
+
"assets": [
|
|
91
|
+
{
|
|
92
|
+
"nm": "logo-icon",
|
|
93
|
+
"id": "precomp_Shape Layer - SVG_uiStrPqKOJ_b9ed155c-9899-4cbb-8be9-288b23be72a4",
|
|
94
|
+
"fr": 30,
|
|
95
|
+
"layers": [
|
|
96
|
+
{
|
|
97
|
+
"ty": 4,
|
|
98
|
+
"nm": "Shape Layer 1",
|
|
99
|
+
"sr": 1,
|
|
100
|
+
"st": -42,
|
|
101
|
+
"op": 152,
|
|
102
|
+
"ip": -42,
|
|
103
|
+
"hd": false,
|
|
104
|
+
"ddd": 0,
|
|
105
|
+
"bm": 0,
|
|
106
|
+
"hasMask": false,
|
|
107
|
+
"ao": 0,
|
|
108
|
+
"ks": {
|
|
109
|
+
"a": { "a": 0, "k": [60.875, 62.9099974593496] },
|
|
110
|
+
"s": { "a": 0, "k": [100, 100] },
|
|
111
|
+
"sk": { "a": 0, "k": 0 },
|
|
112
|
+
"p": { "a": 0, "k": [60.875, 62.9099974593496] },
|
|
113
|
+
"r": { "a": 0, "k": 0 },
|
|
114
|
+
"sa": { "a": 0, "k": 0 },
|
|
115
|
+
"o": { "a": 0, "k": 100 }
|
|
116
|
+
},
|
|
117
|
+
"shapes": [
|
|
118
|
+
{
|
|
119
|
+
"ty": "gr",
|
|
120
|
+
"bm": 0,
|
|
121
|
+
"hd": false,
|
|
122
|
+
"nm": "Group 1",
|
|
123
|
+
"np": 2,
|
|
124
|
+
"it": [
|
|
125
|
+
{
|
|
126
|
+
"ty": "sh",
|
|
127
|
+
"bm": 0,
|
|
128
|
+
"hd": false,
|
|
129
|
+
"nm": "Path 1",
|
|
130
|
+
"d": 1,
|
|
131
|
+
"ks": {
|
|
132
|
+
"a": 0,
|
|
133
|
+
"k": {
|
|
134
|
+
"c": true,
|
|
135
|
+
"i": [
|
|
136
|
+
[0, 0],
|
|
137
|
+
[0, -17.37],
|
|
138
|
+
[0, 0],
|
|
139
|
+
[0, -17.1],
|
|
140
|
+
[16.81, 0],
|
|
141
|
+
[-16.81, 0]
|
|
142
|
+
],
|
|
143
|
+
"o": [
|
|
144
|
+
[16.81, 0],
|
|
145
|
+
[0, 0],
|
|
146
|
+
[-16.45, 0.43],
|
|
147
|
+
[0, -17.37],
|
|
148
|
+
[0, -17.37],
|
|
149
|
+
[0, 0]
|
|
150
|
+
],
|
|
151
|
+
"v": [
|
|
152
|
+
[60.88, 0],
|
|
153
|
+
[91.32, 31.45],
|
|
154
|
+
[90.53, 31.47],
|
|
155
|
+
[60.88, 62.91],
|
|
156
|
+
[30.44, 31.45],
|
|
157
|
+
[60.88, 0]
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"ty": "fl",
|
|
164
|
+
"bm": 0,
|
|
165
|
+
"hd": false,
|
|
166
|
+
"nm": "Fill",
|
|
167
|
+
"c": { "a": 0, "k": [0.2118, 0.1294, 0.1098] },
|
|
168
|
+
"r": 1,
|
|
169
|
+
"o": { "a": 0, "k": 100 }
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"ty": "tr",
|
|
173
|
+
"a": { "a": 0, "k": [60.87999661246613, 31.4549987296748] },
|
|
174
|
+
"s": { "a": 0, "k": [100, 100] },
|
|
175
|
+
"sk": { "a": 0, "k": 0 },
|
|
176
|
+
"p": { "a": 0, "k": [60.87999661246613, 31.4549987296748] },
|
|
177
|
+
"r": { "a": 0, "k": 0 },
|
|
178
|
+
"sa": { "a": 0, "k": 0 },
|
|
179
|
+
"o": { "a": 0, "k": 100 }
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"ty": "gr",
|
|
185
|
+
"bm": 0,
|
|
186
|
+
"hd": false,
|
|
187
|
+
"nm": "Group 2",
|
|
188
|
+
"np": 2,
|
|
189
|
+
"it": [
|
|
190
|
+
{
|
|
191
|
+
"ty": "sh",
|
|
192
|
+
"bm": 0,
|
|
193
|
+
"hd": false,
|
|
194
|
+
"nm": "Path 2",
|
|
195
|
+
"d": 1,
|
|
196
|
+
"ks": {
|
|
197
|
+
"a": 0,
|
|
198
|
+
"k": {
|
|
199
|
+
"c": true,
|
|
200
|
+
"i": [
|
|
201
|
+
[0, 0],
|
|
202
|
+
[0, -17.37],
|
|
203
|
+
[16.81, 0],
|
|
204
|
+
[16.81, 0],
|
|
205
|
+
[-0.42, 17],
|
|
206
|
+
[0, 0]
|
|
207
|
+
],
|
|
208
|
+
"o": [
|
|
209
|
+
[16.81, 0],
|
|
210
|
+
[0, 17.37],
|
|
211
|
+
[0, -17.37],
|
|
212
|
+
[16.55, 0],
|
|
213
|
+
[0, 0],
|
|
214
|
+
[0, 0]
|
|
215
|
+
],
|
|
216
|
+
"v": [
|
|
217
|
+
[91.32, 31.45],
|
|
218
|
+
[121.75, 62.91],
|
|
219
|
+
[91.31, 94.36],
|
|
220
|
+
[60.88, 62.91],
|
|
221
|
+
[91.31, 32.27],
|
|
222
|
+
[91.32, 31.45]
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"ty": "fl",
|
|
229
|
+
"bm": 0,
|
|
230
|
+
"hd": false,
|
|
231
|
+
"nm": "Fill",
|
|
232
|
+
"c": { "a": 0, "k": [0.2118, 0.1294, 0.1098] },
|
|
233
|
+
"r": 1,
|
|
234
|
+
"o": { "a": 0, "k": 100 }
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"ty": "tr",
|
|
238
|
+
"a": { "a": 0, "k": [91.31499830623306, 62.90500084688347] },
|
|
239
|
+
"s": { "a": 0, "k": [100, 100] },
|
|
240
|
+
"sk": { "a": 0, "k": 0 },
|
|
241
|
+
"p": { "a": 0, "k": [91.31499830623306, 62.90500084688347] },
|
|
242
|
+
"r": { "a": 0, "k": 0 },
|
|
243
|
+
"sa": { "a": 0, "k": 0 },
|
|
244
|
+
"o": { "a": 0, "k": 100 }
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"ty": "gr",
|
|
250
|
+
"bm": 0,
|
|
251
|
+
"hd": false,
|
|
252
|
+
"nm": "Group 3",
|
|
253
|
+
"np": 2,
|
|
254
|
+
"it": [
|
|
255
|
+
{
|
|
256
|
+
"ty": "sh",
|
|
257
|
+
"bm": 0,
|
|
258
|
+
"hd": false,
|
|
259
|
+
"nm": "Path 3",
|
|
260
|
+
"d": 1,
|
|
261
|
+
"ks": {
|
|
262
|
+
"a": 0,
|
|
263
|
+
"k": {
|
|
264
|
+
"c": true,
|
|
265
|
+
"i": [
|
|
266
|
+
[0, 0],
|
|
267
|
+
[-16.45, -0.43],
|
|
268
|
+
[0, 0],
|
|
269
|
+
[0, 0],
|
|
270
|
+
[0, -17.1],
|
|
271
|
+
[0, 0],
|
|
272
|
+
[0, 17.1],
|
|
273
|
+
[-16.81, 0]
|
|
274
|
+
],
|
|
275
|
+
"o": [
|
|
276
|
+
[0, 17.1],
|
|
277
|
+
[0, 0],
|
|
278
|
+
[0, 0],
|
|
279
|
+
[-16.45, 0.43],
|
|
280
|
+
[0, 0],
|
|
281
|
+
[-16.45, -0.43],
|
|
282
|
+
[0, -17.37],
|
|
283
|
+
[0, 0]
|
|
284
|
+
],
|
|
285
|
+
"v": [
|
|
286
|
+
[30.44, 31.45],
|
|
287
|
+
[60.09, 62.9],
|
|
288
|
+
[60.88, 62.91],
|
|
289
|
+
[60.09, 62.92],
|
|
290
|
+
[30.44, 94.37],
|
|
291
|
+
[29.65, 94.36],
|
|
292
|
+
[0, 62.91],
|
|
293
|
+
[30.44, 31.45]
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"ty": "fl",
|
|
300
|
+
"bm": 0,
|
|
301
|
+
"hd": false,
|
|
302
|
+
"nm": "Fill",
|
|
303
|
+
"c": { "a": 0, "k": [0.2118, 0.1294, 0.1098] },
|
|
304
|
+
"r": 1,
|
|
305
|
+
"o": { "a": 0, "k": 100 }
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"ty": "tr",
|
|
309
|
+
"a": { "a": 0, "k": [30.439998306233065, 62.9099974593496] },
|
|
310
|
+
"s": { "a": 0, "k": [100, 100] },
|
|
311
|
+
"sk": { "a": 0, "k": 0 },
|
|
312
|
+
"p": { "a": 0, "k": [30.439998306233065, 62.9099974593496] },
|
|
313
|
+
"r": { "a": 0, "k": 0 },
|
|
314
|
+
"sa": { "a": 0, "k": 0 },
|
|
315
|
+
"o": { "a": 0, "k": 100 }
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"ty": "gr",
|
|
321
|
+
"bm": 0,
|
|
322
|
+
"hd": false,
|
|
323
|
+
"nm": "Group 4",
|
|
324
|
+
"np": 2,
|
|
325
|
+
"it": [
|
|
326
|
+
{
|
|
327
|
+
"ty": "sh",
|
|
328
|
+
"bm": 0,
|
|
329
|
+
"hd": false,
|
|
330
|
+
"nm": "Path 4",
|
|
331
|
+
"d": 1,
|
|
332
|
+
"ks": {
|
|
333
|
+
"a": 0,
|
|
334
|
+
"k": {
|
|
335
|
+
"c": true,
|
|
336
|
+
"i": [
|
|
337
|
+
[0, 0],
|
|
338
|
+
[-16.19, -0.42],
|
|
339
|
+
[0, 0],
|
|
340
|
+
[16.81, 0],
|
|
341
|
+
[0.42, 17],
|
|
342
|
+
[0, 0],
|
|
343
|
+
[0, 17.37],
|
|
344
|
+
[0, 0]
|
|
345
|
+
],
|
|
346
|
+
"o": [
|
|
347
|
+
[0.41, 16.73],
|
|
348
|
+
[0, 0],
|
|
349
|
+
[0, 17.37],
|
|
350
|
+
[-16.55, 0],
|
|
351
|
+
[0, 0],
|
|
352
|
+
[16.81, 0],
|
|
353
|
+
[0, 0],
|
|
354
|
+
[0, 0]
|
|
355
|
+
],
|
|
356
|
+
"v": [
|
|
357
|
+
[60.89, 63.72],
|
|
358
|
+
[90.53, 94.36],
|
|
359
|
+
[91.31, 94.36],
|
|
360
|
+
[60.88, 125.82],
|
|
361
|
+
[30.45, 95.18],
|
|
362
|
+
[30.44, 94.37],
|
|
363
|
+
[60.88, 62.91],
|
|
364
|
+
[60.89, 63.72]
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"ty": "fl",
|
|
371
|
+
"bm": 0,
|
|
372
|
+
"hd": false,
|
|
373
|
+
"nm": "Fill",
|
|
374
|
+
"c": { "a": 0, "k": [0.2118, 0.1294, 0.1098] },
|
|
375
|
+
"r": 1,
|
|
376
|
+
"o": { "a": 0, "k": 100 }
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"ty": "tr",
|
|
380
|
+
"a": { "a": 0, "k": [60.875, 94.3649961890244] },
|
|
381
|
+
"s": { "a": 0, "k": [100, 100] },
|
|
382
|
+
"sk": { "a": 0, "k": 0 },
|
|
383
|
+
"p": { "a": 0, "k": [60.875, 94.3649961890244] },
|
|
384
|
+
"r": { "a": 0, "k": 0 },
|
|
385
|
+
"sa": { "a": 0, "k": 0 },
|
|
386
|
+
"o": { "a": 0, "k": 100 }
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"ind": 1
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
;
|
|
398
|
+
|
|
399
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const a = "Main Scene", d = 0, l = 256, y = 256, s = { g: "@lottiefiles/creator@1.89.0" }, k = [{ ty: 0, nm: "logo-icon", sr: 1, st: 0, op: 150, ip: 0, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [60.87501320817887, 62.910022843277886] }, s: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [100, 100], t: 0 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [100, 100], t: 15 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [80, 80], t: 68 }, { s: [100, 100], t: 150 }] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [124, 128] }, r: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0], t: 0 }, { s: [360], t: 150 }] }, sa: { a: 0, k: 0 }, o: { a: 1, k: [{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [100], t: 15 }, { o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0], t: 68 }, { s: [100], t: 150 }] } }, w: 122, h: 126, refId: "precomp_Shape Layer - SVG_uiStrPqKOJ_b9ed155c-9899-4cbb-8be9-288b23be72a4", ind: 1 }], t = "5.7.0", o = 30, e = 150, r = 0, n = [{ nm: "logo-icon", id: "precomp_Shape Layer - SVG_uiStrPqKOJ_b9ed155c-9899-4cbb-8be9-288b23be72a4", fr: 30, layers: [{ ty: 4, nm: "Shape Layer 1", sr: 1, st: -42, op: 152, ip: -42, hd: !1, ddd: 0, bm: 0, hasMask: !1, ao: 0, ks: { a: { a: 0, k: [60.875, 62.9099974593496] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [60.875, 62.9099974593496] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, shapes: [{ ty: "gr", bm: 0, hd: !1, nm: "Group 1", np: 2, it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 1", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [0, -17.37], [0, 0], [0, -17.1], [16.81, 0], [-16.81, 0]], o: [[16.81, 0], [0, 0], [-16.45, 0.43], [0, -17.37], [0, -17.37], [0, 0]], v: [[60.88, 0], [91.32, 31.45], [90.53, 31.47], [60.88, 62.91], [30.44, 31.45], [60.88, 0]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.2118, 0.1294, 0.1098] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [60.87999661246613, 31.4549987296748] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [60.87999661246613, 31.4549987296748] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }, { ty: "gr", bm: 0, hd: !1, nm: "Group 2", np: 2, it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 2", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [0, -17.37], [16.81, 0], [16.81, 0], [-0.42, 17], [0, 0]], o: [[16.81, 0], [0, 17.37], [0, -17.37], [16.55, 0], [0, 0], [0, 0]], v: [[91.32, 31.45], [121.75, 62.91], [91.31, 94.36], [60.88, 62.91], [91.31, 32.27], [91.32, 31.45]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.2118, 0.1294, 0.1098] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [91.31499830623306, 62.90500084688347] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [91.31499830623306, 62.90500084688347] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }, { ty: "gr", bm: 0, hd: !1, nm: "Group 3", np: 2, it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 3", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [-16.45, -0.43], [0, 0], [0, 0], [0, -17.1], [0, 0], [0, 17.1], [-16.81, 0]], o: [[0, 17.1], [0, 0], [0, 0], [-16.45, 0.43], [0, 0], [-16.45, -0.43], [0, -17.37], [0, 0]], v: [[30.44, 31.45], [60.09, 62.9], [60.88, 62.91], [60.09, 62.92], [30.44, 94.37], [29.65, 94.36], [0, 62.91], [30.44, 31.45]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.2118, 0.1294, 0.1098] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [30.439998306233065, 62.9099974593496] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [30.439998306233065, 62.9099974593496] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }, { ty: "gr", bm: 0, hd: !1, nm: "Group 4", np: 2, it: [{ ty: "sh", bm: 0, hd: !1, nm: "Path 4", d: 1, ks: { a: 0, k: { c: !0, i: [[0, 0], [-16.19, -0.42], [0, 0], [16.81, 0], [0.42, 17], [0, 0], [0, 17.37], [0, 0]], o: [[0.41, 16.73], [0, 0], [0, 17.37], [-16.55, 0], [0, 0], [16.81, 0], [0, 0], [0, 0]], v: [[60.89, 63.72], [90.53, 94.36], [91.31, 94.36], [60.88, 125.82], [30.45, 95.18], [30.44, 94.37], [60.88, 62.91], [60.89, 63.72]] } } }, { ty: "fl", bm: 0, hd: !1, nm: "Fill", c: { a: 0, k: [0.2118, 0.1294, 0.1098] }, r: 1, o: { a: 0, k: 100 } }, { ty: "tr", a: { a: 0, k: [60.875, 94.3649961890244] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, p: { a: 0, k: [60.875, 94.3649961890244] }, r: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }], ind: 1 }] }], m = {
|
|
2
|
+
nm: a,
|
|
3
|
+
ddd: 0,
|
|
4
|
+
h: 256,
|
|
5
|
+
w: 256,
|
|
6
|
+
meta: s,
|
|
7
|
+
layers: k,
|
|
8
|
+
v: t,
|
|
9
|
+
fr: o,
|
|
10
|
+
op: e,
|
|
11
|
+
ip: r,
|
|
12
|
+
assets: n
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
n as assets,
|
|
16
|
+
d as ddd,
|
|
17
|
+
m as default,
|
|
18
|
+
o as fr,
|
|
19
|
+
l as h,
|
|
20
|
+
r as ip,
|
|
21
|
+
k as layers,
|
|
22
|
+
s as meta,
|
|
23
|
+
a as nm,
|
|
24
|
+
e as op,
|
|
25
|
+
t as v,
|
|
26
|
+
y as w
|
|
27
|
+
};
|
|
@@ -3,19 +3,19 @@ import { useState as k, useMemo as x } from "react";
|
|
|
3
3
|
import { suitCx as v } from "../../../helpers/suitCx.js";
|
|
4
4
|
import { DatePicker as h } from "@mui/x-date-pickers/DatePicker";
|
|
5
5
|
const w = ({
|
|
6
|
-
label:
|
|
6
|
+
label: s = void 0,
|
|
7
7
|
disabled: t = !1,
|
|
8
|
-
dataTestId:
|
|
8
|
+
dataTestId: a = "DatePicker",
|
|
9
9
|
className: o,
|
|
10
10
|
value: i,
|
|
11
11
|
minDateErrorText: n,
|
|
12
12
|
maxDateErrorText: c,
|
|
13
13
|
errorText: e = "Your date is not valid",
|
|
14
|
-
size:
|
|
15
|
-
sx:
|
|
14
|
+
size: m,
|
|
15
|
+
sx: l,
|
|
16
16
|
...u
|
|
17
17
|
}) => {
|
|
18
|
-
const [r, d] = k(null),
|
|
18
|
+
const [r, d] = k(null), D = x(() => {
|
|
19
19
|
switch (r) {
|
|
20
20
|
case "maxDate":
|
|
21
21
|
return c ?? e;
|
|
@@ -26,7 +26,7 @@ const w = ({
|
|
|
26
26
|
default:
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
|
-
}, [r]),
|
|
29
|
+
}, [r]), f = v(
|
|
30
30
|
{
|
|
31
31
|
name: "DatePicker",
|
|
32
32
|
modifiers: ["disabled"]
|
|
@@ -42,21 +42,20 @@ const w = ({
|
|
|
42
42
|
...u,
|
|
43
43
|
onError: (p) => d(p),
|
|
44
44
|
value: i,
|
|
45
|
-
label:
|
|
45
|
+
label: s,
|
|
46
46
|
slotProps: {
|
|
47
47
|
textField: {
|
|
48
|
-
helperText:
|
|
49
|
-
size:
|
|
48
|
+
helperText: D,
|
|
49
|
+
size: m
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
disabled: t,
|
|
53
|
-
className:
|
|
54
|
-
"data-testid":
|
|
55
|
-
sx:
|
|
53
|
+
className: f(),
|
|
54
|
+
"data-testid": a,
|
|
55
|
+
sx: l
|
|
56
56
|
}
|
|
57
57
|
);
|
|
58
58
|
};
|
|
59
59
|
export {
|
|
60
|
-
w as DatePicker
|
|
61
|
-
w as default
|
|
60
|
+
w as DatePicker
|
|
62
61
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { isSameDay as $ } from "../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameDay.js";
|
|
2
2
|
import { isSameMonth as S } from "../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameMonth.js";
|
|
3
|
-
import { isSameYear as
|
|
4
|
-
import {
|
|
5
|
-
const c = (e, t, n,
|
|
6
|
-
let
|
|
3
|
+
import { isSameYear as i } from "../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameYear.js";
|
|
4
|
+
import { format as s } from "../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/format.js";
|
|
5
|
+
const c = (e, t, n, a) => i(e, t) ? s(new Date(t), a) : s(new Date(t), n), Y = (e, t, n, a, l) => i(e, t) ? `${s(new Date(t), "dd")} - ${s(new Date(n), a)}` : `${s(new Date(t), "dd")} - ${s(new Date(n), l)}`, b = (e, t, n, a, l) => i(e, t) ? `${s(new Date(t), a)} - ${s(new Date(n), a)}` : `${s(new Date(t), a)} - ${s(new Date(n), l)}`, h = (e, t, n) => `${s(new Date(e), n)} - ${s(new Date(t), n)}`, x = (e, t, n, a, l) => {
|
|
6
|
+
let w = "";
|
|
7
7
|
if ((e == null ? void 0 : e.value) === "custom" && t && n) {
|
|
8
|
-
const
|
|
9
|
-
$(
|
|
10
|
-
|
|
8
|
+
const u = new Date(t), D = new Date(n), f = /* @__PURE__ */ new Date();
|
|
9
|
+
$(u, D) ? w = c(f, u, a, l) : S(u, D) ? w = Y(
|
|
10
|
+
f,
|
|
11
|
+
u,
|
|
11
12
|
D,
|
|
12
|
-
|
|
13
|
-
s,
|
|
13
|
+
a,
|
|
14
14
|
l
|
|
15
|
-
) :
|
|
16
|
-
|
|
15
|
+
) : i(u, D) ? w = b(
|
|
16
|
+
f,
|
|
17
|
+
u,
|
|
17
18
|
D,
|
|
18
|
-
|
|
19
|
-
s,
|
|
19
|
+
a,
|
|
20
20
|
l
|
|
21
|
-
) :
|
|
22
|
-
} else e != null && e.label && e.value !== "custom" && (
|
|
23
|
-
return
|
|
21
|
+
) : w = h(u, D, l);
|
|
22
|
+
} else e != null && e.label && e.value !== "custom" && (w = e.label);
|
|
23
|
+
return w;
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
26
|
x as setInitialValue
|
|
@@ -19,15 +19,15 @@ const D = ({
|
|
|
19
19
|
dataTestId: i = "FilterList",
|
|
20
20
|
className: m
|
|
21
21
|
}) => {
|
|
22
|
-
const
|
|
22
|
+
const p = n.map((e) => ({
|
|
23
23
|
...e,
|
|
24
24
|
label: e.label || e.value,
|
|
25
25
|
tooltip: e.tooltip
|
|
26
|
-
})) ?? [], [a,
|
|
26
|
+
})) ?? [], [a, h] = x(
|
|
27
27
|
new Set(
|
|
28
28
|
Array.isArray(t) ? t : t ? [t] : []
|
|
29
29
|
)
|
|
30
|
-
),
|
|
30
|
+
), f = C(
|
|
31
31
|
{
|
|
32
32
|
name: "FilterList",
|
|
33
33
|
states: ["disabled"]
|
|
@@ -37,7 +37,7 @@ const D = ({
|
|
|
37
37
|
},
|
|
38
38
|
m
|
|
39
39
|
), v = (e) => {
|
|
40
|
-
|
|
40
|
+
h((s) => {
|
|
41
41
|
const r = new Set(s);
|
|
42
42
|
return r.has(e) ? r.delete(e) : r.add(e), d(Array.from(r)), r;
|
|
43
43
|
});
|
|
@@ -49,14 +49,14 @@ const D = ({
|
|
|
49
49
|
Array.isArray(t) ? t : t ? [t] : []
|
|
50
50
|
);
|
|
51
51
|
z(e, a) || Promise.resolve().then(() => {
|
|
52
|
-
|
|
52
|
+
h(e);
|
|
53
53
|
});
|
|
54
54
|
}, []);
|
|
55
55
|
const k = /* @__PURE__ */ o(
|
|
56
56
|
b,
|
|
57
57
|
{
|
|
58
58
|
role: "group",
|
|
59
|
-
className:
|
|
59
|
+
className: f("filters"),
|
|
60
60
|
sx: {
|
|
61
61
|
display: "flex",
|
|
62
62
|
flexDirection: "row",
|
|
@@ -69,10 +69,10 @@ const D = ({
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"data-testid": i + "_Options",
|
|
72
|
-
children:
|
|
72
|
+
children: p == null ? void 0 : p.map((e, s) => /* @__PURE__ */ o(
|
|
73
73
|
"div",
|
|
74
74
|
{
|
|
75
|
-
className:
|
|
75
|
+
className: f("filters-item"),
|
|
76
76
|
"aria-checked": a.has(e.value),
|
|
77
77
|
children: /* @__PURE__ */ o(w, { arrow: !0, placement: "top", title: e.tooltip ?? "", children: /* @__PURE__ */ o(
|
|
78
78
|
g,
|
|
@@ -87,8 +87,8 @@ const D = ({
|
|
|
87
87
|
},
|
|
88
88
|
opacity: () => a.has(e.value) ? 1 : 0.5,
|
|
89
89
|
color: (r) => {
|
|
90
|
-
var c,
|
|
91
|
-
return a.has(e.value) ? (c = r.vars) == null ? void 0 : c.palette.primary.dark : (
|
|
90
|
+
var c, u;
|
|
91
|
+
return a.has(e.value) ? (c = r.vars) == null ? void 0 : c.palette.primary.dark : (u = r.vars) == null ? void 0 : u.palette.text.primary;
|
|
92
92
|
},
|
|
93
93
|
borderRadius: F.borderRadius.full,
|
|
94
94
|
width: "auto"
|
|
@@ -113,9 +113,8 @@ const D = ({
|
|
|
113
113
|
))
|
|
114
114
|
}
|
|
115
115
|
);
|
|
116
|
-
return /* @__PURE__ */ o("div", { "data-testid": i, className:
|
|
116
|
+
return /* @__PURE__ */ o("div", { "data-testid": i, className: f(), children: k });
|
|
117
117
|
};
|
|
118
118
|
export {
|
|
119
|
-
D as FilterList
|
|
120
|
-
D as default
|
|
119
|
+
D as FilterList
|
|
121
120
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { suitCx as
|
|
3
|
-
import { Box as i, Chip as
|
|
2
|
+
import { suitCx as c } from "../../helpers/suitCx.js";
|
|
3
|
+
import { Box as i, Chip as h } from "@mui/material";
|
|
4
4
|
import { ArrowDownward as n, ArrowUpward as s } from "@mui/icons-material";
|
|
5
|
-
import { formatPercentage as
|
|
5
|
+
import { formatPercentage as l } from "../../helpers/utils.js";
|
|
6
6
|
import { colors as t } from "../../styles/colors.js";
|
|
7
7
|
const C = ({
|
|
8
8
|
value: e,
|
|
@@ -10,7 +10,7 @@ const C = ({
|
|
|
10
10
|
iconOnly: d,
|
|
11
11
|
className: p
|
|
12
12
|
}) => {
|
|
13
|
-
const o =
|
|
13
|
+
const o = c(
|
|
14
14
|
{
|
|
15
15
|
name: "TrendingChip"
|
|
16
16
|
},
|
|
@@ -60,7 +60,7 @@ const C = ({
|
|
|
60
60
|
)
|
|
61
61
|
}
|
|
62
62
|
) : /* @__PURE__ */ r(
|
|
63
|
-
|
|
63
|
+
h,
|
|
64
64
|
{
|
|
65
65
|
className: o(),
|
|
66
66
|
variant: "outlined",
|
|
@@ -83,11 +83,10 @@ const C = ({
|
|
|
83
83
|
sx: { width: "18px", height: "18px", rotate: "45deg" }
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
label:
|
|
86
|
+
label: l(e, !1, 1)
|
|
87
87
|
}
|
|
88
88
|
);
|
|
89
89
|
};
|
|
90
90
|
export {
|
|
91
|
-
C as TrendingChip
|
|
92
|
-
C as default
|
|
91
|
+
C as TrendingChip
|
|
93
92
|
};
|