@zauru-sdk/components 1.0.12 → 1.0.13

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.
@@ -1,782 +0,0 @@
1
- import type { NavBarStateProps } from "../NavBar/NavBar.types";
2
- import {
3
- greenColorIcon,
4
- progressBarLightTextColor,
5
- progressBarSpinnerFillColor,
6
- } from "./StylesConstants";
7
-
8
- export const applicationDropDownIconColor = "text-slate-500";
9
-
10
- export const MenuAlt4Svg = (props: NavBarStateProps) => (
11
- <svg
12
- xmlns="http://www.w3.org/2000/svg"
13
- className={`transition duration-100 ease h-8 w-8 ${
14
- props.NavBarOpen ? "transform rotate-90" : ""
15
- }`}
16
- viewBox="0 0 20 20"
17
- fill="white"
18
- >
19
- <path
20
- fillRule="evenodd"
21
- d="M3 7a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 13a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
22
- clipRule="evenodd"
23
- />
24
- </svg>
25
- );
26
-
27
- export const ExitSvg = () => (
28
- <svg
29
- width="24"
30
- height="24"
31
- viewBox="0 0 24 24"
32
- xmlns="http://www.w3.org/2000/svg"
33
- fill="currentColor"
34
- >
35
- <path d="M17.6555 6.3331a.9.9 0 0 1 .001 1.2728l-4.1032 4.1085a.4.4 0 0 0 0 .5653l4.1031 4.1088a.9002.9002 0 0 1 .0797 1.1807l-.0806.092a.9.9 0 0 1-1.2728-.0009l-4.1006-4.1068a.4.4 0 0 0-.5662 0l-4.099 4.1068a.9.9 0 1 1-1.2738-1.2718l4.1027-4.1089a.4.4 0 0 0 0-.5652L6.343 7.6059a.9002.9002 0 0 1-.0796-1.1807l.0806-.092a.9.9 0 0 1 1.2728.0009l4.099 4.1055a.4.4 0 0 0 .5662 0l4.1006-4.1055a.9.9 0 0 1 1.2728-.001z"></path>
36
- </svg>
37
- );
38
-
39
- export const EyeSvg = () => (
40
- <svg
41
- className="h-6 w-6 text-blue-900 mt-2"
42
- width="24"
43
- height="24"
44
- viewBox="0 0 24 24"
45
- strokeWidth="2"
46
- stroke="currentColor"
47
- fill="none"
48
- strokeLinecap="round"
49
- strokeLinejoin="round"
50
- >
51
- <path stroke="none" d="M0 0h24v24H0z" />
52
- <circle cx="12" cy="12" r="2" />
53
- <path d="M2 12l1.5 2a11 11 0 0 0 17 0l1.5 -2" />
54
- <path d="M2 12l1.5 -2a11 11 0 0 1 17 0l1.5 2" />
55
- </svg>
56
- );
57
-
58
- export const PencilSvg = () => (
59
- <svg
60
- className="h-6 w-6 text-blue-900"
61
- width="24"
62
- height="24"
63
- viewBox="0 0 24 24"
64
- strokeWidth="2"
65
- stroke="currentColor"
66
- fill="none"
67
- strokeLinecap="round"
68
- strokeLinejoin="round"
69
- >
70
- <path stroke="none" d="M0 0h24v24H0z" />
71
- <path d="M4 20h4l10.5 -10.5a1.5 1.5 0 0 0 -4 -4l-10.5 10.5v4" />
72
- <line x1="13.5" y1="6.5" x2="17.5" y2="10.5" />
73
- </svg>
74
- );
75
-
76
- export const TrashSvg = () => (
77
- <svg
78
- className="h-6 w-6 text-blue-900"
79
- viewBox="0 0 24 24"
80
- fill="none"
81
- stroke="currentColor"
82
- strokeWidth="2"
83
- strokeLinecap="round"
84
- strokeLinejoin="round"
85
- >
86
- <polyline points="3 6 5 6 21 6" />
87
- <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
88
- <line x1="10" y1="11" x2="10" y2="17" />
89
- <line x1="14" y1="11" x2="14" y2="17" />
90
- </svg>
91
- );
92
-
93
- export const PdfDownloadSvg = () => (
94
- <svg
95
- className="h-6 w-6 text-blue-900"
96
- viewBox="0 0 24 24"
97
- fill="none"
98
- stroke="currentColor"
99
- strokeWidth="2"
100
- strokeLinecap="round"
101
- strokeLinejoin="round"
102
- >
103
- <path d="M14 2v7h3l-4 4-4-4h3V2" />
104
- </svg>
105
- );
106
-
107
- export const SearchSVG = () => (
108
- <svg
109
- className="h-4 w-4 text-blue-900"
110
- width="24"
111
- height="24"
112
- viewBox="0 0 24 24"
113
- strokeWidth="2"
114
- stroke="currentColor"
115
- fill="none"
116
- strokeLinecap="round"
117
- strokeLinejoin="round"
118
- >
119
- {" "}
120
- <path stroke="none" d="M0 0h24v24H0z" />
121
- <circle cx="10" cy="10" r="7" />
122
- <line x1="21" y1="21" x2="15" y2="15" />
123
- </svg>
124
- );
125
-
126
- export const PlusSvg = () => (
127
- <svg
128
- className="h-6 w-6 text-blue-900"
129
- viewBox="0 0 24 24"
130
- fill="none"
131
- stroke="currentColor"
132
- strokeWidth="2"
133
- strokeLinecap="round"
134
- strokeLinejoin="round"
135
- >
136
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
137
- <line x1="12" y1="8" x2="12" y2="16" />
138
- <line x1="8" y1="12" x2="16" y2="12" />
139
- </svg>
140
- );
141
-
142
- export const SpinnerSvg = () => (
143
- <svg
144
- role="status"
145
- className="inline w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-gray-600 dark:fill-gray-300"
146
- viewBox="0 0 100 101"
147
- fill="none"
148
- xmlns="http://www.w3.org/2000/svg"
149
- >
150
- <path
151
- d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
152
- fill="currentColor"
153
- />
154
- <path
155
- d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
156
- fill="currentFill"
157
- />
158
- </svg>
159
- );
160
-
161
- export const PlusSvgIcon = () => {
162
- <svg
163
- className="h-8 w-8 text-indigo-800"
164
- width="24"
165
- height="24"
166
- viewBox="0 0 24 24"
167
- strokeWidth="2"
168
- stroke="currentColor"
169
- fill="none"
170
- strokeLinecap="round"
171
- strokeLinejoin="round"
172
- >
173
- <path stroke="none" d="M0 0h24v24H0z" />
174
- <line x1="12" y1="5" x2="12" y2="19" />
175
- <line x1="5" y1="12" x2="19" y2="12" />
176
- </svg>;
177
- };
178
-
179
- // =============================| Button Icons | ==============================================
180
-
181
- export const WhitePencilSvg = () => (
182
- <svg
183
- className="h-6 w-6 text-white-900 inline mr-1 pb-1"
184
- width="24"
185
- height="24"
186
- viewBox="0 0 24 24"
187
- strokeWidth="2"
188
- stroke="currentColor"
189
- fill="none"
190
- strokeLinecap="round"
191
- strokeLinejoin="round"
192
- >
193
- <path stroke="none" d="M0 0h24v24H0z" />
194
- <path d="M4 20h4l10.5 -10.5a1.5 1.5 0 0 0 -4 -4l-10.5 10.5v4" />
195
- <line x1="13.5" y1="6.5" x2="17.5" y2="10.5" />
196
- </svg>
197
- );
198
-
199
- export const ButtonTrashSvg = () => (
200
- <svg
201
- className="h-6 w-6 text-white-900 inline mr-1 pb-1"
202
- viewBox="0 0 24 24"
203
- fill="none"
204
- stroke="currentColor"
205
- strokeWidth="2"
206
- strokeLinecap="round"
207
- strokeLinejoin="round"
208
- >
209
- <polyline points="3 6 5 6 21 6" />
210
- <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
211
- <line x1="10" y1="11" x2="10" y2="17" />
212
- <line x1="14" y1="11" x2="14" y2="17" />
213
- </svg>
214
- );
215
-
216
- export const PrinterButtonIcon = () => {
217
- return (
218
- <svg
219
- className="h-6 w-6 text-white-900 inline mr-1 pb-1"
220
- viewBox="0 0 24 24"
221
- fill="none"
222
- stroke="currentColor"
223
- strokeWidth="2"
224
- strokeLinecap="round"
225
- strokeLinejoin="round"
226
- >
227
- <polyline points="6 9 6 2 18 2 18 9" />
228
- <path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" />
229
- <rect x="6" y="14" width="12" height="8" />
230
- </svg>
231
- );
232
- };
233
-
234
- export const CloseSvgIcon = () => {
235
- return (
236
- <svg
237
- className="h-6 w-6 text-grey-800"
238
- fill="none"
239
- viewBox="0 0 24 24"
240
- stroke="currentColor"
241
- >
242
- <path
243
- strokeLinecap="round"
244
- strokeLinejoin="round"
245
- strokeWidth="2"
246
- d="M6 18L18 6M6 6l12 12"
247
- />
248
- </svg>
249
- );
250
- };
251
-
252
- export const ChangeSvgIcon = () => {
253
- return (
254
- <svg
255
- className="h-5 w-5 mr-1 pb-1 text-white-500 inline"
256
- width="24"
257
- height="24"
258
- viewBox="0 0 24 24"
259
- strokeWidth="2"
260
- stroke="currentColor"
261
- fill="none"
262
- strokeLinecap="round"
263
- strokeLinejoin="round"
264
- >
265
- <path stroke="none" d="M0 0h24v24H0z" />
266
- <circle cx="5" cy="18" r="2" />
267
- <circle cx="19" cy="6" r="2" />
268
- <path d="M19 8v5a5 5 0 0 1 -5 5h-3l3 -3m0 6l-3 -3" />
269
- <path d="M5 16v-5a5 5 0 0 1 5 -5h3l-3 -3m0 6l3 -3" />
270
- </svg>
271
- );
272
- };
273
-
274
- export const ReturnButtonSvgIcon = () => {
275
- return (
276
- <svg
277
- className="h-6 w-6 text-white-500 mr-1 pb-1 inline"
278
- width="24"
279
- height="24"
280
- viewBox="0 0 24 24"
281
- strokeWidth="2"
282
- stroke="currentColor"
283
- fill="none"
284
- strokeLinecap="round"
285
- strokeLinejoin="round"
286
- >
287
- <path stroke="none" d="M0 0h24v24H0z" />
288
- <path d="M15 11l4 4l-4 4m4 -4h-11a4 4 0 0 1 0 -8h1" />
289
- </svg>
290
- );
291
- };
292
-
293
- export const SpreadsheetSvgIcon = () => {
294
- return (
295
- <svg
296
- xmlns="http://www.w3.org/2000/svg"
297
- className="h-5 w-5 text-white-500 inline mr-1"
298
- fill="none"
299
- viewBox="0 0 24 24"
300
- stroke="currentColor"
301
- strokeWidth="2"
302
- >
303
- <path
304
- strokeLinecap="round"
305
- strokeLinejoin="round"
306
- d="M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"
307
- />
308
- </svg>
309
- );
310
- };
311
-
312
- export const ArrowToRigth = () => {
313
- return (
314
- <svg
315
- xmlns="http://www.w3.org/2000/svg"
316
- viewBox="0 0 50 50"
317
- width="25"
318
- height="50"
319
- >
320
- <line x1="10" y1="25" x2="40" y2="25" stroke="black" stroke-width="2" />
321
- <polygon points="40,25 30,35 30,15" fill="black" />
322
- </svg>
323
- );
324
- };
325
-
326
- export const DropDownArrowSvgIcon = () => {
327
- return (
328
- <svg
329
- className="w-5 h-5 mx-1"
330
- viewBox="0 0 24 24"
331
- fill="none"
332
- xmlns="http://www.w3.org/2000/svg"
333
- >
334
- <path
335
- d="M12 15.713L18.01 9.70299L16.597 8.28799L12 12.888L7.40399 8.28799L5.98999 9.70199L12 15.713Z"
336
- fill="currentColor"
337
- ></path>
338
- </svg>
339
- );
340
- };
341
-
342
- export const OpcionButtonSvgIcon = () => {
343
- return (
344
- <svg
345
- className="h-6 w-6 text-white-500 inline"
346
- width="24"
347
- height="24"
348
- viewBox="0 0 24 24"
349
- strokeWidth="2"
350
- stroke="currentColor"
351
- fill="none"
352
- strokeLinecap="round"
353
- strokeLinejoin="round"
354
- >
355
- <path stroke="none" d="M0 0h24v24H0z" />
356
- <path d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
357
- <circle cx="12" cy="12" r="3" />
358
- </svg>
359
- );
360
- };
361
-
362
- export const NewButtonSvgIcon = () => {
363
- return (
364
- <svg
365
- className="h-5 w-5 text-white-500 inline mr-1"
366
- width="24"
367
- height="24"
368
- viewBox="0 0 24 24"
369
- strokeWidth="2"
370
- stroke="currentColor"
371
- fill="none"
372
- strokeLinecap="round"
373
- strokeLinejoin="round"
374
- >
375
- <path stroke="none" d="M0 0h24v24H0z" />
376
- <line x1="12" y1="5" x2="12" y2="19" />
377
- <line x1="5" y1="12" x2="19" y2="12" />
378
- </svg>
379
- );
380
- };
381
-
382
- export const ReportButtonIcon = () => {
383
- return (
384
- <svg
385
- className="h-5 w-5 text-white-500 inline mx-1"
386
- viewBox="0 0 24 24"
387
- fill="none"
388
- stroke="currentColor"
389
- strokeWidth="2"
390
- strokeLinecap="round"
391
- strokeLinejoin="round"
392
- >
393
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
394
- <polyline points="14 2 14 8 20 8" />
395
- <line x1="16" y1="13" x2="8" y2="13" />
396
- <line x1="16" y1="17" x2="8" y2="17" />
397
- <polyline points="10 9 9 9 8 9" />
398
- </svg>
399
- );
400
- };
401
- // =============================| Nav Bar Icons | ==============================================
402
-
403
- export const NewNavbarButtonIcon = () => {
404
- return (
405
- <svg
406
- className={`h-5 w-5 text-white-500 inline pb-1`}
407
- width="24"
408
- height="24"
409
- viewBox="0 0 24 24"
410
- strokeWidth="2"
411
- stroke="currentColor"
412
- fill="none"
413
- strokeLinecap="round"
414
- strokeLinejoin="round"
415
- >
416
- <path stroke="none" d="M0 0h24v24H0z" />
417
- <line x1="12" y1="5" x2="12" y2="19" />
418
- <line x1="5" y1="12" x2="19" y2="12" />
419
- </svg>
420
- );
421
- };
422
- // =============================| Nav Bar dropdown Icons | ==============================================
423
-
424
- export const UserDropdownIcon = () => {
425
- return (
426
- <svg
427
- className={`h-8 w-8 mx-1 ${applicationDropDownIconColor}`}
428
- viewBox="0 0 24 24"
429
- fill="none"
430
- stroke="currentColor"
431
- strokeWidth="2"
432
- strokeLinecap="round"
433
- strokeLinejoin="round"
434
- >
435
- <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" />
436
- <circle cx="12" cy="7" r="4" />
437
- </svg>
438
- );
439
- };
440
-
441
- export const ReportDropDownIcon = () => {
442
- return (
443
- <svg
444
- className={`h-5 w-5 ${applicationDropDownIconColor} inline mr-1`}
445
- viewBox="0 0 24 24"
446
- fill="none"
447
- stroke="currentColor"
448
- strokeWidth="2"
449
- strokeLinecap="round"
450
- strokeLinejoin="round"
451
- >
452
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
453
- <polyline points="14 2 14 8 20 8" />
454
- <line x1="16" y1="13" x2="8" y2="13" />
455
- <line x1="16" y1="17" x2="8" y2="17" />
456
- <polyline points="10 9 9 9 8 9" />
457
- </svg>
458
- );
459
- };
460
-
461
- export const ChangeDropDownSvgIcon = () => {
462
- return (
463
- <svg
464
- className={`h-5 w-5 ${applicationDropDownIconColor} inline mr-1`}
465
- width="24"
466
- height="24"
467
- viewBox="0 0 24 24"
468
- strokeWidth="2"
469
- stroke="currentColor"
470
- fill="none"
471
- strokeLinecap="round"
472
- strokeLinejoin="round"
473
- >
474
- <path stroke="none" d="M0 0h24v24H0z" />
475
- <circle cx="5" cy="18" r="2" />
476
- <circle cx="19" cy="6" r="2" />
477
- <path d="M19 8v5a5 5 0 0 1 -5 5h-3l3 -3m0 6l-3 -3" />
478
- <path d="M5 16v-5a5 5 0 0 1 5 -5h3l-3 -3m0 6l3 -3" />
479
- </svg>
480
- );
481
- };
482
-
483
- export const LogoutDropDownSvgIcon = () => {
484
- return (
485
- <svg
486
- className={`h-5 w-5 mr-1 ${applicationDropDownIconColor} inline mr-1`}
487
- width="24"
488
- height="24"
489
- viewBox="0 0 24 24"
490
- strokeWidth="2"
491
- stroke="currentColor"
492
- fill="none"
493
- strokeLinecap="round"
494
- strokeLinejoin="round"
495
- >
496
- <path stroke="none" d="M0 0h24v24H0z" />
497
- <path d="M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2" />
498
- <path d="M7 12h14l-3 -3m0 6l3 -3" />
499
- </svg>
500
- );
501
- };
502
-
503
- export const NewDropdownSvgIcon = () => {
504
- return (
505
- <svg
506
- className={`h-5 w-5 mr-1 ${applicationDropDownIconColor} inline mr-1`}
507
- width="24"
508
- height="24"
509
- viewBox="0 0 24 24"
510
- strokeWidth="2"
511
- stroke="currentColor"
512
- fill="none"
513
- strokeLinecap="round"
514
- strokeLinejoin="round"
515
- >
516
- <path stroke="none" d="M0 0h24v24H0z" />
517
- <line x1="12" y1="5" x2="12" y2="19" />
518
- <line x1="5" y1="12" x2="19" y2="12" />
519
- </svg>
520
- );
521
- };
522
-
523
- // =============================| Info Page Icons | ==============================================
524
-
525
- export const BigChecklistIcon = () => {
526
- return (
527
- <svg
528
- className={`h-32 w-32 ${greenColorIcon}`}
529
- width="24"
530
- height="24"
531
- viewBox="0 0 24 24"
532
- strokeWidth="2"
533
- stroke="currentColor"
534
- fill="none"
535
- strokeLinecap="round"
536
- strokeLinejoin="round"
537
- >
538
- <path stroke="none" d="M0 0h24v24H0z" />
539
- <path d="M3.5 5.5l1.5 1.5l2.5 -2.5" />
540
- <path d="M3.5 11.5l1.5 1.5l2.5 -2.5" />
541
- <path d="M3.5 17.5l1.5 1.5l2.5 -2.5" />
542
- <line x1="11" y1="6" x2="20" y2="6" />
543
- <line x1="11" y1="12" x2="20" y2="12" />
544
- <line x1="11" y1="18" x2="20" y2="18" />
545
- </svg>
546
- );
547
- };
548
-
549
- // =============================| label Icons | ==============================================
550
- export const LoadingBarSpinnerSvg = () => (
551
- <svg
552
- role="status"
553
- className={`inline w-3 h-3 mr-1 mb-0.5 ${progressBarLightTextColor} animate-spin dark:text-gray-600 ${progressBarSpinnerFillColor} dark:fill-gray-300`}
554
- viewBox="0 0 100 101"
555
- fill="none"
556
- xmlns="http://www.w3.org/2000/svg"
557
- >
558
- <path
559
- d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
560
- fill="currentColor"
561
- />
562
- <path
563
- d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
564
- fill="currentFill"
565
- />
566
- </svg>
567
- );
568
-
569
- export const IdeaIconSVG = () => (
570
- <svg
571
- xmlns="http://www.w3.org/2000/svg"
572
- viewBox="0 0 32 32"
573
- width="32px"
574
- height="32px"
575
- >
576
- <path d="M 6.8125 2.40625 L 5.40625 3.8125 L 7.5 5.90625 L 8.90625 4.5 Z M 25.1875 2.40625 L 23.09375 4.5 L 24.5 5.90625 L 26.59375 3.8125 Z M 16 3.03125 C 15.671875 3.035156 15.335938 3.054688 15 3.09375 C 14.988281 3.09375 14.980469 3.09375 14.96875 3.09375 C 10.914063 3.558594 7.6875 6.835938 7.125 10.875 C 6.675781 14.125 8.015625 17.070313 10.25 18.96875 C 11.207031 19.789063 11.796875 20.882813 12 22 L 12 28 L 14.28125 28 C 14.628906 28.597656 15.261719 29 16 29 C 16.738281 29 17.371094 28.597656 17.71875 28 L 20 28 L 20 24 L 20.09375 24 L 20.09375 22.8125 C 20.09375 21.347656 20.855469 19.867188 22.09375 18.71875 C 23.75 17.0625 25 14.707031 25 12 C 25 7.058594 20.933594 2.984375 16 3.03125 Z M 16 5.03125 C 19.863281 4.976563 23 8.140625 23 12 C 23 14.09375 22.03125 15.9375 20.6875 17.28125 L 20.71875 17.3125 C 19.375 18.566406 18.515625 20.207031 18.28125 22 L 13.90625 22 C 13.6875 20.285156 12.949219 18.628906 11.5625 17.4375 C 9.796875 15.933594 8.742188 13.675781 9.09375 11.125 C 9.53125 7.972656 12.085938 5.441406 15.21875 5.09375 C 15.480469 5.0625 15.742188 5.035156 16 5.03125 Z M 2 12 L 2 14 L 5 14 L 5 12 Z M 27 12 L 27 14 L 30 14 L 30 12 Z M 7.5 20.09375 L 5.40625 22.1875 L 6.8125 23.59375 L 8.90625 21.5 Z M 24.5 20.09375 L 23.09375 21.5 L 25.1875 23.59375 L 26.59375 22.1875 Z M 14 24 L 18 24 L 18 26 L 14 26 Z" />
577
- </svg>
578
- );
579
-
580
- export const CalendarIconSVG = () => (
581
- <svg
582
- aria-hidden="true"
583
- className="w-5 h-5 text-gray-500"
584
- fill="currentColor"
585
- viewBox="0 0 20 20"
586
- xmlns="http://www.w3.org/2000/svg"
587
- >
588
- <path
589
- fillRule="evenodd"
590
- d="M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z"
591
- clipRule="evenodd"
592
- ></path>
593
- </svg>
594
- );
595
-
596
- export const ClockIconSVG = () => (
597
- <svg
598
- aria-hidden="true"
599
- className="w-5 h-5 text-gray-500"
600
- fill="currentColor"
601
- viewBox="0 0 20 20"
602
- xmlns="http://www.w3.org/2000/svg"
603
- >
604
- <path
605
- fillRule="evenodd"
606
- d="M10 2a8 8 0 100 16 8 8 0 000-16zm0 1a7 7 0 100 14 7 7 0 000-14zM9 5a1 1 0 012 0v4a1 1 0 01.293.707l1 1a1 1 0 11-1.414 1.414L10 11H9V5z"
607
- clipRule="evenodd"
608
- ></path>
609
- </svg>
610
- );
611
-
612
- export const FinishLabRemisionSVG = () => {
613
- return (
614
- <svg
615
- xmlns="http://www.w3.org/2000/svg"
616
- width="24"
617
- height="24"
618
- viewBox="0 0 24 24"
619
- fill="none"
620
- stroke="currentColor"
621
- strokeWidth="2"
622
- strokeLinecap="round"
623
- strokeLinejoin="round"
624
- >
625
- <rect x="2" y="2" width="14" height="20"></rect>
626
- <line x1="2" y1="6" x2="16" y2="6"></line>
627
-
628
- <path d="M19,2 L22,2 L22,16 C22,17.1046 21.1046,18 20,18 L18,18 C16.8954,18 16,17.1046 16,16 L16,2 L19,2 Z"></path>
629
-
630
- <polyline points="16 6 18 8 22 4"></polyline>
631
- </svg>
632
- );
633
- };
634
-
635
- export const SendMessageIcon = () => {
636
- return (
637
- <svg
638
- xmlns="http://www.w3.org/2000/svg"
639
- width="24"
640
- height="24"
641
- fill="none"
642
- viewBox="0 0 24 24"
643
- id="send"
644
- >
645
- <path
646
- fill="#000"
647
- fillRule="evenodd"
648
- d="M3.48935 7.06989C2.63559 4.93551 4.87248 2.8773 6.92858 3.90535L18.6458 9.76397C20.4884 10.6853 20.4884 13.3148 18.6458 14.2361L6.92857 20.0947C4.87247 21.1228 2.6356 19.0646 3.48935 16.9302L5.4614 12L3.48935 7.06989ZM6.48136 4.79977C5.2477 4.18294 3.90557 5.41788 4.41782 6.6985L6.46416 11.8143C6.51184 11.9335 6.51184 12.0665 6.46416 12.1857L4.41782 17.3016C3.90557 18.5822 5.2477 19.8171 6.48136 19.2003L18.1986 13.3417C19.3042 12.7889 19.3042 11.2112 18.1986 10.6584L6.48136 4.79977Z"
649
- clipRule="evenodd"
650
- ></path>
651
- <path
652
- fill="#000"
653
- fillRule="evenodd"
654
- d="M5.5 11.5H10V12.5H5.5V11.5Z"
655
- clipRule="evenodd"
656
- ></path>
657
- </svg>
658
- );
659
- };
660
-
661
- export const CheckIconSVG = () => {
662
- return (
663
- <svg
664
- width="24"
665
- height="24"
666
- viewBox="0 0 24 24"
667
- fill="none"
668
- stroke="currentColor"
669
- strokeWidth="2"
670
- strokeLinecap="round"
671
- strokeLinejoin="round"
672
- >
673
- <polyline points="20 6 9 17 4 12"></polyline>
674
- </svg>
675
- );
676
- };
677
-
678
- export const PrintIconSVG = () => {
679
- return (
680
- <svg
681
- className="h-6 w-6 text-blue-400"
682
- viewBox="0 0 24 24"
683
- stroke="currentColor"
684
- strokeWidth="0.5"
685
- strokeLinecap="round"
686
- strokeLinejoin="round"
687
- >
688
- <path d="M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zM8 5h8v3H8V5zm8 12v2H8v-4h8v2zm2-2v-2H6v2H4v-4c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v4h-2z"></path>
689
- <circle cx="18" cy="11.5" r="1"></circle>
690
- </svg>
691
- );
692
- };
693
-
694
- export const DownloadIconSVG = () => {
695
- return (
696
- <svg
697
- xmlns="http://www.w3.org/2000/svg"
698
- width="20"
699
- height="22"
700
- id="download"
701
- >
702
- <g
703
- fill="none"
704
- fill-rule="evenodd"
705
- stroke="#000"
706
- strokeLinecap="round"
707
- strokeLinejoin="round"
708
- strokeWidth="2"
709
- >
710
- <path d="M1 16v3a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-3M6 11l4 4 4-4M10 1v14"></path>
711
- </g>
712
- </svg>
713
- );
714
- };
715
-
716
- export const LoadingIconSVG = () => {
717
- return (
718
- <svg
719
- xmlns="http://www.w3.org/2000/svg"
720
- viewBox="0 0 64 64"
721
- id="loading"
722
- className="animate-spin"
723
- >
724
- <path
725
- fill="#88e2de"
726
- d="M50.287 32A18.287 18.287 0 1 1 32 13.713a1.5 1.5 0 1 1 0 3A15.287 15.287 0 1 0 47.287 32a1.5 1.5 0 0 1 3 0Z"
727
- name="Loading"
728
- ></path>
729
- </svg>
730
- );
731
- };
732
-
733
- export const AttachmentIconSVG = () => {
734
- return (
735
- <svg
736
- xmlns="http://www.w3.org/2000/svg"
737
- width="25"
738
- height="25"
739
- viewBox="0 0 100 100"
740
- id="attachment"
741
- >
742
- <g>
743
- <path d="M18.8 85.1c-7.8-7.8-7.8-20.5 0-28.3L63.1 13c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8L38.6 76.7c-3.1 3.1-8.2 3.1-11.3 0-3.1-3.1-3.1-8.2 0-11.3l22.3-21.8c.8-.8 2.1-.8 2.8 0 .8.8.8 2.1 0 2.8L30.2 68.2c-1.5 1.5-1.5 4.1 0 5.6 1.6 1.6 4.1 1.6 5.7 0L80.2 30c3.9-3.9 3.9-10.2 0-14.1-3.9-3.9-10.2-3.9-14.1 0L21.7 59.7c-6.2 6.2-6.2 16.4 0 22.6 6.3 6.2 16.4 6.2 22.6 0l38.3-37.8c.8-.8 2.1-.8 2.8 0 .8.8.8 2.1 0 2.8L47.1 85.2c-7.8 7.7-20.4 7.8-28.3-.1z"></path>
744
- </g>
745
- <g>
746
- <path
747
- fill="#00F"
748
- d="M664-510v1684h-1784V-510H664m8-8h-1800v1700H672V-518z"
749
- ></path>
750
- </g>
751
- </svg>
752
- );
753
- };
754
-
755
- export const CustomIconFromImage = ({
756
- imageName,
757
- height = 6,
758
- width = 6,
759
- }: {
760
- imageName: string;
761
- width?: number;
762
- height?: number;
763
- }) => {
764
- // Asegúrate de que el nombre de la imagen incluya la extensión adecuada (por ejemplo, .png)
765
- const imagePath = `/icons/${imageName}`;
766
-
767
- return (
768
- <img
769
- src={imagePath}
770
- alt={imageName}
771
- className={`h-${height} w-${width} inline mr-1 pb-1`}
772
- style={{
773
- stroke: "currentColor",
774
- strokeWidth: 2,
775
- strokeLinecap: "round",
776
- strokeLinejoin: "round",
777
- fill: "none",
778
- backgroundColor: "transparent",
779
- }}
780
- />
781
- );
782
- };