@enki-tek/fms-web-components 0.0.21 → 0.0.23

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