@enki-tek/fms-web-components 0.0.22 → 0.0.24

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