@enki-tek/fms-web-components 0.0.40 → 0.0.42

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.
@@ -0,0 +1,626 @@
1
+ <script>
2
+ import {
3
+ NavItem,
4
+ NavLink,
5
+ Icon
6
+ } from 'sveltestrap';
7
+ export let iconName ='gear';
8
+ export let link = "#";
9
+ </script>
10
+
11
+ <NavItem class='me-3'>
12
+ <NavLink href={link} class='headerIcons'><Icon name={iconName}></Icon></NavLink>
13
+ </NavItem>
14
+
15
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
16
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
17
+ @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
18
+ @import url(https://fonts.googleapis.com/icon?family=Material+Icons);
19
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
20
+ @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
21
+ :global(.headerLogo) {
22
+ display: flex;
23
+ flex-direction: column;
24
+ color: #000000;
25
+ }
26
+ :global(.headerLogo img) {
27
+ width: 144px;
28
+ height: 34px;
29
+ }
30
+ :global(.headerIcons) {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ border: 1px solid #3AC82E;
35
+ border-radius: 50%;
36
+ color: #3AC82E;
37
+ padding: 8px 9px;
38
+ }
39
+ :global(.headerIcons i) {
40
+ padding: 0 4px;
41
+ font-size: 18px;
42
+ }
43
+ :global(.userProfile) {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: 15px;
47
+ }
48
+ :global(.userProfileBox) {
49
+ display: flex;
50
+ flex-direction: column;
51
+ align-items: flex-end;
52
+ color: #6C757D;
53
+ }
54
+ :global(.userProfile img) {
55
+ width: 45px;
56
+ height: 45px;
57
+ border-radius: 50%;
58
+ }
59
+ :global(.nav-link:focus, .nav-link:hover) {
60
+ color: #3AC82E;
61
+ }
62
+ :global(a:hover) {
63
+ color: #000000;
64
+ }
65
+ :global(.ebg-none) {
66
+ background-color: #ffffff !important;
67
+ }
68
+ :global(.ebg-white) {
69
+ background-color: #ffffff;
70
+ }
71
+ :global(.ebg-secondary, .eactive-secondary:active, .ehover-secondary:hover) {
72
+ background-color: #3AC82E;
73
+ }
74
+ :global(.ebg-secondaryDark, .eactive-secondaryDark:active, .ehover-secondaryDark:hover) {
75
+ background-color: #00A855;
76
+ }
77
+ :global(.ebg-secondaryLight, .eactive-secondaryLight:active, .ehover-secondaryLight:hover) {
78
+ background-color: #CBFFC7;
79
+ }
80
+ :global(.ebg-primary) {
81
+ background-color: #00AEE5;
82
+ }
83
+ :global(.ebg-primaryDark) {
84
+ background-color: #007FD8;
85
+ }
86
+ :global(.ebg-primaryLight) {
87
+ background-color: #CEF3FF;
88
+ }
89
+ :global(.ebg-danger) {
90
+ background-color: #FE4747;
91
+ }
92
+ :global(.ebg-dangerDark) {
93
+ background-color: #B02A37;
94
+ }
95
+ :global(.ebg-dangerLight) {
96
+ background-color: #FE4747;
97
+ }
98
+ :global(.ebg-warning) {
99
+ background-color: #FFBA3A;
100
+ }
101
+ :global(.ebg-warningDark) {
102
+ background-color: #997404;
103
+ color: #ffffff !important;
104
+ }
105
+ :global(.ebg-warningLight) {
106
+ background-color: #FFF3CD;
107
+ }
108
+ :global(.ebg-info) {
109
+ background-color: #0DCAF0;
110
+ }
111
+ :global(.ebg-infoDark) {
112
+ background-color: #087990;
113
+ }
114
+ :global(.ebg-infoLight) {
115
+ background-color: #9EEAF9;
116
+ }
117
+ :global(.ebg-success) {
118
+ background-color: #00A96B;
119
+ }
120
+ :global(.ebg-successDark) {
121
+ background-color: #146C43;
122
+ }
123
+ :global(.ebg-successLight) {
124
+ background-color: #D1E7DD;
125
+ }
126
+ :global(.ebg-gray100) {
127
+ background-color: #F8F9FA;
128
+ }
129
+ :global(.ebg-gray200) {
130
+ background-color: #E9ECEF;
131
+ }
132
+ :global(.ebg-gray300) {
133
+ background-color: #DEE2E6;
134
+ }
135
+ :global(.ebg-gray400) {
136
+ background-color: #CED4DA;
137
+ }
138
+ :global(.ebg-gray500) {
139
+ background-color: #adb5bd;
140
+ }
141
+ :global(.ebg-gray600) {
142
+ background-color: #6C757D;
143
+ }
144
+ :global(.ebg-gray700) {
145
+ background-color: #495057;
146
+ }
147
+ :global(.ebg-gray800) {
148
+ background-color: #343A40;
149
+ }
150
+ :global(.ebg-gray900) {
151
+ background-color: #212529;
152
+ }
153
+ :global(.ebg-green100) {
154
+ background-color: #D1E7DD;
155
+ }
156
+ :global(.ebg-green200) {
157
+ background-color: #A3CFBB;
158
+ }
159
+ :global(.ebg-green300) {
160
+ background-color: #75B798;
161
+ }
162
+ :global(.ebg-green400) {
163
+ background-color: #479F76;
164
+ }
165
+ :global(.ebg-green500) {
166
+ background-color: #198754;
167
+ }
168
+ :global(.ebg-green600) {
169
+ background-color: #146C43;
170
+ }
171
+ :global(.ebg-green700) {
172
+ background-color: #0F5132;
173
+ }
174
+ :global(.ebg-green800) {
175
+ background-color: #0A3622;
176
+ }
177
+ :global(.ebg-green900) {
178
+ background-color: #051B11;
179
+ }
180
+ :global(.ebg-red100) {
181
+ background-color: #F8D7DA;
182
+ }
183
+ :global(.ebg-red200) {
184
+ background-color: #F1AEB5;
185
+ }
186
+ :global(.ebg-red300) {
187
+ background-color: #EA868F;
188
+ }
189
+ :global(.ebg-red400) {
190
+ background-color: #E35D6A;
191
+ }
192
+ :global(.ebg-red500) {
193
+ background-color: #DC3545;
194
+ }
195
+ :global(.ebg-red600) {
196
+ background-color: #B02A37;
197
+ }
198
+ :global(.ebg-red700) {
199
+ background-color: #842029;
200
+ }
201
+ :global(.ebg-red800) {
202
+ background-color: #58151C;
203
+ }
204
+ :global(.ebg-red900) {
205
+ background-color: #2C0B0E;
206
+ }
207
+ :global(.ebg-yellow100) {
208
+ background-color: #FFF3CD;
209
+ }
210
+ :global(.ebg-yellow200) {
211
+ background-color: #FFE69C;
212
+ }
213
+ :global(.ebg-yellow300) {
214
+ background-color: #FFDA6A;
215
+ }
216
+ :global(.ebg-yellow400) {
217
+ background-color: #FFCD39;
218
+ }
219
+ :global(.ebg-yellow500) {
220
+ background-color: #FFC107;
221
+ }
222
+ :global(.ebg-yellow600) {
223
+ background-color: #CC9A06;
224
+ }
225
+ :global(.ebg-yellow700) {
226
+ background-color: #997404;
227
+ }
228
+ :global(.ebg-yellow800) {
229
+ background-color: #664D03;
230
+ }
231
+ :global(.ebg-yellow900) {
232
+ background-color: #332701;
233
+ }
234
+ :global(.ebg-cyan100) {
235
+ background-color: #CFF4FC;
236
+ }
237
+ :global(.ebg-cyan200) {
238
+ background-color: #9EEAF9;
239
+ }
240
+ :global(.ebg-cyan300) {
241
+ background-color: #6EDFF6;
242
+ }
243
+ :global(.ebg-cyan400) {
244
+ background-color: #3DD5F3;
245
+ }
246
+ :global(.ebg-cyan500) {
247
+ background-color: #0DCAF0;
248
+ }
249
+ :global(.ebg-cyan600) {
250
+ background-color: #0AA2C0;
251
+ }
252
+ :global(.ebg-cyan700) {
253
+ background-color: #087990;
254
+ }
255
+ :global(.ebg-cyan800) {
256
+ background-color: #055160;
257
+ }
258
+ :global(.ebg-cyan900) {
259
+ background-color: #032830;
260
+ }
261
+ .etext-white {
262
+ color: #ffffff;
263
+ }
264
+ :global(.etext-dark) {
265
+ color: #000000;
266
+ }
267
+ :global(.etext-secondary) {
268
+ color: #3AC82E;
269
+ }
270
+ :global(.etext-secondaryDark) {
271
+ color: #00A855;
272
+ }
273
+ :global(.etext-secondaryLight) {
274
+ color: #CBFFC7;
275
+ }
276
+ :global(.etext-primary) {
277
+ color: #00AEE5;
278
+ }
279
+ :global(.etext-primaryDark) {
280
+ color: #007FD8;
281
+ }
282
+ :global(.etext-primaryLight) {
283
+ color: #CEF3FF;
284
+ }
285
+ :global(.etext-danger) {
286
+ color: #FE4747;
287
+ }
288
+ :global(.etext-dangerDark) {
289
+ color: #B02A37;
290
+ }
291
+ :global(.etext-dangerLight) {
292
+ color: #FE4747;
293
+ }
294
+ :global(.etext-info) {
295
+ color: #0DCAF0;
296
+ }
297
+ :global(.etext-infoDark) {
298
+ color: #087990;
299
+ }
300
+ :global(.etext-infoLight) {
301
+ color: #9EEAF9;
302
+ }
303
+ :global(.etext-success) {
304
+ color: #00A96B;
305
+ }
306
+ :global(.etext-successDark) {
307
+ color: #146C43;
308
+ }
309
+ :global(.etext-successLight) {
310
+ color: #D1E7DD;
311
+ }
312
+ :global(.etext-warning) {
313
+ color: #FFBA3A;
314
+ }
315
+ :global(.etext-warningDark) {
316
+ color: #997404;
317
+ }
318
+ :global(.etext-warningLight) {
319
+ color: #FFF3CD;
320
+ }
321
+ :global(.etext-gray100) {
322
+ color: #F8F9FA;
323
+ }
324
+ :global(.etext-gray200) {
325
+ color: #E9ECEF;
326
+ }
327
+ :global(.etext-gray300) {
328
+ color: #DEE2E6;
329
+ }
330
+ :global(.etext-gray400) {
331
+ color: #CED4DA;
332
+ }
333
+ :global(.etext-gray500) {
334
+ color: #adb5bd;
335
+ }
336
+ :global(.etext-gray600) {
337
+ color: #6C757D;
338
+ }
339
+ :global(.etext-gray700) {
340
+ color: #495057;
341
+ }
342
+ :global(.etext-gray800) {
343
+ color: #343A40;
344
+ }
345
+ :global(.etext-gray900) {
346
+ color: #212529;
347
+ }
348
+ :global(.etext-green100) {
349
+ color: #D1E7DD;
350
+ }
351
+ :global(.etext-green200) {
352
+ color: #A3CFBB;
353
+ }
354
+ :global(.etext-green300) {
355
+ color: #75B798;
356
+ }
357
+ :global(.etext-green400) {
358
+ color: #479F76;
359
+ }
360
+ :global(.etext-green500) {
361
+ color: #198754;
362
+ }
363
+ :global(.etext-green600) {
364
+ color: #146C43;
365
+ }
366
+ :global(.etext-green700) {
367
+ color: #0F5132;
368
+ }
369
+ :global(.etext-green800) {
370
+ color: #0A3622;
371
+ }
372
+ :global(.etext-green900) {
373
+ color: #051B11;
374
+ }
375
+ :global(.etext-red100) {
376
+ color: #F8D7DA;
377
+ }
378
+ :global(.etext-red200) {
379
+ color: #F1AEB5;
380
+ }
381
+ :global(.etext-red300) {
382
+ color: #EA868F;
383
+ }
384
+ :global(.etext-red400) {
385
+ color: #E35D6A;
386
+ }
387
+ :global(.etext-red500) {
388
+ color: #DC3545;
389
+ }
390
+ :global(.etext-red600) {
391
+ color: #B02A37;
392
+ }
393
+ :global(.etext-red700) {
394
+ color: #842029;
395
+ }
396
+ :global(.etext-red800) {
397
+ color: #58151C;
398
+ }
399
+ :global(.etext-red900) {
400
+ color: #2C0B0E;
401
+ }
402
+ :global(.etext-yellow100) {
403
+ color: #FFF3CD;
404
+ }
405
+ :global(.etext-yellow200) {
406
+ color: #FFE69C;
407
+ }
408
+ :global(.etext-yellow300) {
409
+ color: #FFDA6A;
410
+ }
411
+ :global(.etext-yellow400) {
412
+ color: #FFCD39;
413
+ }
414
+ :global(.etext-yellow500) {
415
+ color: #FFC107;
416
+ }
417
+ :global(.etext-yellow600) {
418
+ color: #CC9A06;
419
+ }
420
+ :global(.etext-yellow700) {
421
+ color: #997404;
422
+ }
423
+ :global(.etext-yellow800) {
424
+ color: #664D03;
425
+ }
426
+ :global(.etext-yellow900) {
427
+ color: #332701;
428
+ }
429
+ :global(.etext-cyan100) {
430
+ color: #CFF4FC;
431
+ }
432
+ :global(.etext-cyan200) {
433
+ color: #9EEAF9;
434
+ }
435
+ :global(.etext-cyan300) {
436
+ color: #6EDFF6;
437
+ }
438
+ :global(.etext-cyan400) {
439
+ color: #3DD5F3;
440
+ }
441
+ :global(.etext-cyan500) {
442
+ color: #0DCAF0;
443
+ }
444
+ :global(.etext-cyan600) {
445
+ color: #0AA2C0;
446
+ }
447
+ :global(.etext-cyan700) {
448
+ color: #087990;
449
+ }
450
+ :global(.etext-cyan800) {
451
+ color: #055160;
452
+ }
453
+ :global(.etext-cyan900) {
454
+ color: #032830;
455
+ }
456
+ :global(.eoutline-secondary) {
457
+ outline: 1px solid #3AC82E;
458
+ }
459
+ :global(.eoutline-secondaryDark) {
460
+ outline: 1px solid #00A855;
461
+ }
462
+ :global(.eoutline-secondaryLight) {
463
+ outline: 1px solid #CBFFC7;
464
+ }
465
+ :global(.eoutline-primary) {
466
+ outline: 1px solid #00AEE5;
467
+ }
468
+ :global(.eoutline-primaryDark) {
469
+ outline: 1px solid #007FD8;
470
+ }
471
+ :global(.eoutline-primaryLight) {
472
+ outline: 1px solid #CEF3FF;
473
+ }
474
+ :global(.eoutline-danger) {
475
+ outline: 1px solid #FE4747;
476
+ }
477
+ :global(.eoutline-dangerDark) {
478
+ outline: 1px solid #B02A37;
479
+ }
480
+ :global(.eoutline-dangerLight) {
481
+ outline: 1px solid #FE4747;
482
+ }
483
+ :global(.eoutline-success) {
484
+ outline: 1px solid #00A96B;
485
+ }
486
+ :global(.eoutline-successDark) {
487
+ outline: 1px solid #146C43;
488
+ }
489
+ :global(.eoutline-successLight) {
490
+ outline: 1px solid #D1E7DD;
491
+ }
492
+ :global(.eoutline-info) {
493
+ outline: 1px solid #0DCAF0;
494
+ }
495
+ :global(.eoutline-infoDark) {
496
+ outline: 1px solid #087990;
497
+ }
498
+ :global(.eoutline-infoLight) {
499
+ outline: 1px solid #9EEAF9;
500
+ }
501
+ :global(.eoutline-warning) {
502
+ outline: 1px solid #FFBA3A;
503
+ }
504
+ :global(.eoutline-warningDark) {
505
+ outline: 1px solid #997404;
506
+ }
507
+ :global(.eoutline-warningLight) {
508
+ outline: 1px solid #FFF3CD;
509
+ }
510
+ :global(.eradius) {
511
+ border-radius: 4px;
512
+ }
513
+ :global(.eradius-low) {
514
+ border-radius: 8px;
515
+ }
516
+ :global(.eradius-medium) {
517
+ border-radius: 16px;
518
+ }
519
+ :global(.eradius-full) {
520
+ border-radius: 50%;
521
+ }
522
+ .eshadow-non {
523
+ box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
524
+ }
525
+ .eshadow-low {
526
+ box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
527
+ }
528
+ .eshadow-medium {
529
+ box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.1);
530
+ }
531
+ .eshadow-high {
532
+ box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.1);
533
+ }
534
+ :global(.efs-small) {
535
+ font-family: Roboto;
536
+ font-size: 12px;
537
+ font-style: normal;
538
+ font-weight: 400;
539
+ line-height: normal;
540
+ }
541
+ :global(.efs-normal) {
542
+ font-family: Roboto;
543
+ font-size: 16px;
544
+ font-style: normal;
545
+ font-weight: 400;
546
+ line-height: 28px;
547
+ }
548
+ :global(.efs-strong) {
549
+ font-family: Roboto;
550
+ font-size: 17px;
551
+ font-style: normal;
552
+ font-weight: 700;
553
+ line-height: 28px;
554
+ }
555
+ :global(.efs-h6) {
556
+ font-family: Roboto;
557
+ font-size: 16px;
558
+ font-style: normal;
559
+ font-weight: 700;
560
+ line-height: normal;
561
+ }
562
+ :global(.efs-h5) {
563
+ font-family: Roboto;
564
+ font-size: 20px;
565
+ font-style: normal;
566
+ font-weight: 700;
567
+ line-height: normal;
568
+ }
569
+ :global(.efs-h4) {
570
+ font-family: Roboto;
571
+ font-size: 24px;
572
+ font-style: normal;
573
+ font-weight: 700;
574
+ line-height: normal;
575
+ }
576
+ :global(.efs-h3) {
577
+ font-family: Roboto;
578
+ font-size: 28px;
579
+ font-style: normal;
580
+ font-weight: 700;
581
+ line-height: normal;
582
+ }
583
+ :global(.efs-h2) {
584
+ font-family: Roboto;
585
+ font-size: 32px;
586
+ font-style: normal;
587
+ font-weight: 700;
588
+ line-height: normal;
589
+ }
590
+ :global(.efs-h1) {
591
+ font-family: Roboto;
592
+ font-size: 40px;
593
+ font-style: normal;
594
+ font-weight: 700;
595
+ line-height: normal;
596
+ letter-spacing: -0.8px;
597
+ }
598
+ :global(.efs-h4D) {
599
+ font-family: Merriweather;
600
+ font-size: 52px;
601
+ font-style: normal;
602
+ font-weight: 400;
603
+ line-height: normal;
604
+ }
605
+ :global(.efs-h3D) {
606
+ font-family: Merriweather;
607
+ font-size: 58px;
608
+ font-style: normal;
609
+ font-weight: 400;
610
+ line-height: normal;
611
+ }
612
+ :global(.efs-h2D) {
613
+ font-family: Merriweather;
614
+ font-size: 64px;
615
+ font-style: normal;
616
+ font-weight: 400;
617
+ line-height: normal;
618
+ letter-spacing: -1.28px;
619
+ }
620
+ :global(.efs-h1D) {
621
+ font-family: Merriweather;
622
+ font-size: 72px;
623
+ font-style: normal;
624
+ font-weight: 400;
625
+ line-height: normal;
626
+ }</style>
@@ -0,0 +1,25 @@
1
+ /** @typedef {typeof __propDef.props} HeaderItemProps */
2
+ /** @typedef {typeof __propDef.events} HeaderItemEvents */
3
+ /** @typedef {typeof __propDef.slots} HeaderItemSlots */
4
+ export default class HeaderItem extends SvelteComponentTyped<{
5
+ link?: string | undefined;
6
+ iconName?: string | undefined;
7
+ }, {
8
+ [evt: string]: CustomEvent<any>;
9
+ }, {}> {
10
+ }
11
+ export type HeaderItemProps = typeof __propDef.props;
12
+ export type HeaderItemEvents = typeof __propDef.events;
13
+ export type HeaderItemSlots = typeof __propDef.slots;
14
+ import { SvelteComponentTyped } from "svelte";
15
+ declare const __propDef: {
16
+ props: {
17
+ link?: string | undefined;
18
+ iconName?: string | undefined;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {};
24
+ };
25
+ export {};