ngx-sfc-common 0.0.1 → 0.0.4

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.
Files changed (103) hide show
  1. package/README.md +196 -12
  2. package/_ngx-sfc-common.styles.scss +96 -0
  3. package/esm2020/lib/components/button/button.component.mjs +7 -6
  4. package/esm2020/lib/components/checkmark/checkmark.component.mjs +8 -6
  5. package/esm2020/lib/components/close/close.component.mjs +16 -0
  6. package/esm2020/lib/components/delimeter/delimeter.component.mjs +4 -4
  7. package/esm2020/lib/components/dots/dots.component.mjs +4 -4
  8. package/esm2020/lib/components/hamburger/hamburger.component.mjs +4 -4
  9. package/esm2020/lib/components/index.mjs +7 -1
  10. package/esm2020/lib/components/loader/bounce/bounce-loader.component.mjs +4 -4
  11. package/esm2020/lib/components/loader/circle/circle-loader.component.mjs +4 -4
  12. package/esm2020/lib/components/loader/loader-base.component.mjs +3 -3
  13. package/esm2020/lib/components/loader/service/loader.service.mjs +3 -3
  14. package/esm2020/lib/components/modal/directive/modal-open-on-click.directive.mjs +3 -3
  15. package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +3 -3
  16. package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +13 -7
  17. package/esm2020/lib/components/modal/header/default/default-modal-header.model.mjs +1 -1
  18. package/esm2020/lib/components/modal/modal.component.mjs +8 -21
  19. package/esm2020/lib/components/modal/service/modal.service.mjs +3 -3
  20. package/esm2020/lib/components/pagination/models/pagination-view.model.mjs +2 -0
  21. package/esm2020/lib/components/pagination/pagination.component.mjs +104 -0
  22. package/esm2020/lib/components/pagination/pagination.constants.mjs +6 -0
  23. package/esm2020/lib/components/pagination/service/pagination.event.mjs +2 -0
  24. package/esm2020/lib/components/pagination/service/pagination.service.mjs +47 -0
  25. package/esm2020/lib/components/sorting/service/sorting.event.mjs +2 -0
  26. package/esm2020/lib/components/sorting/service/sorting.service.mjs +21 -0
  27. package/esm2020/lib/components/sorting/sorting.component.mjs +71 -0
  28. package/esm2020/lib/components/sorting/sorting.constants.mjs +6 -0
  29. package/esm2020/lib/components/sorting/sorting.model.mjs +2 -0
  30. package/esm2020/lib/components/template-content/template-content.component.mjs +31 -0
  31. package/esm2020/lib/components/toggle-switcher/toggle-switcher.component.mjs +7 -6
  32. package/esm2020/lib/components/toggle-switcher/toggle-switcher.model.mjs +1 -1
  33. package/esm2020/lib/components/tooltip/tooltip.component.mjs +4 -4
  34. package/esm2020/lib/constants/common.constants.mjs +2 -1
  35. package/esm2020/lib/constants/ui.constants.mjs +6 -3
  36. package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +3 -3
  37. package/esm2020/lib/directives/component-size/component-size.directive.mjs +3 -3
  38. package/esm2020/lib/directives/destroy-parent/destroy-parent.directive.mjs +27 -0
  39. package/esm2020/lib/directives/index.mjs +2 -1
  40. package/esm2020/lib/directives/mouse-down/mouse-down.directive.mjs +3 -3
  41. package/esm2020/lib/directives/show-hide-element/show-hide-element.directive.mjs +3 -3
  42. package/esm2020/lib/directives/template-reference/template-reference.directive.mjs +6 -4
  43. package/esm2020/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.mjs +3 -3
  44. package/esm2020/lib/enums/direction.enum.mjs +9 -0
  45. package/esm2020/lib/enums/index.mjs +8 -2
  46. package/esm2020/lib/enums/media.enum.mjs +10 -0
  47. package/esm2020/lib/enums/position.enum.mjs +12 -0
  48. package/esm2020/lib/enums/size.enum.mjs +11 -0
  49. package/esm2020/lib/enums/sorting-direction.enum.mjs +9 -0
  50. package/esm2020/lib/enums/theme.enum.mjs +9 -0
  51. package/esm2020/lib/enums/ui.enum.mjs +27 -0
  52. package/esm2020/lib/ngx-sfc-common.module.mjs +54 -42
  53. package/esm2020/lib/services/document-ref.service.mjs +6 -5
  54. package/esm2020/lib/services/resize.service.mjs +3 -3
  55. package/esm2020/lib/services/window-ref.service.mjs +3 -3
  56. package/esm2020/lib/utils/collections.utils.mjs +2 -2
  57. package/esm2020/lib/utils/common.utils.mjs +10 -2
  58. package/esm2020/lib/utils/index.mjs +3 -3
  59. package/esm2020/lib/utils/string.utils.mjs +2 -2
  60. package/esm2020/lib/utils/ui.utils.mjs +44 -1
  61. package/fesm2015/ngx-sfc-common.mjs +587 -216
  62. package/fesm2015/ngx-sfc-common.mjs.map +1 -1
  63. package/fesm2020/ngx-sfc-common.mjs +585 -215
  64. package/fesm2020/ngx-sfc-common.mjs.map +1 -1
  65. package/lib/components/button/button.component.d.ts +3 -2
  66. package/lib/components/checkmark/checkmark.component.d.ts +2 -1
  67. package/lib/components/close/close.component.d.ts +6 -0
  68. package/lib/components/index.d.ts +9 -0
  69. package/lib/components/modal/header/default/default-modal-header.component.d.ts +2 -0
  70. package/lib/components/modal/header/default/default-modal-header.model.d.ts +2 -1
  71. package/lib/components/modal/modal.component.d.ts +3 -4
  72. package/lib/components/pagination/models/pagination-view.model.d.ts +12 -0
  73. package/lib/components/pagination/pagination.component.d.ts +31 -0
  74. package/lib/components/pagination/pagination.constants.d.ts +5 -0
  75. package/lib/components/pagination/service/pagination.event.d.ts +6 -0
  76. package/lib/components/pagination/service/pagination.service.d.ts +25 -0
  77. package/lib/components/sorting/service/sorting.event.d.ts +5 -0
  78. package/lib/components/sorting/service/sorting.service.d.ts +9 -0
  79. package/lib/components/sorting/sorting.component.d.ts +22 -0
  80. package/lib/components/sorting/sorting.constants.d.ts +4 -0
  81. package/lib/components/sorting/sorting.model.d.ts +12 -0
  82. package/lib/components/template-content/template-content.component.d.ts +14 -0
  83. package/lib/components/toggle-switcher/toggle-switcher.model.d.ts +2 -1
  84. package/lib/constants/common.constants.d.ts +1 -0
  85. package/lib/constants/ui.constants.d.ts +5 -2
  86. package/lib/directives/destroy-parent/destroy-parent.directive.d.ts +10 -0
  87. package/lib/directives/index.d.ts +1 -0
  88. package/lib/directives/template-reference/template-reference.directive.d.ts +2 -1
  89. package/lib/enums/direction.enum.d.ts +7 -0
  90. package/lib/enums/index.d.ts +7 -1
  91. package/lib/enums/media.enum.d.ts +8 -0
  92. package/lib/enums/position.enum.d.ts +10 -0
  93. package/lib/enums/size.enum.d.ts +9 -0
  94. package/lib/enums/sorting-direction.enum.d.ts +7 -0
  95. package/lib/enums/theme.enum.d.ts +7 -0
  96. package/lib/enums/ui.enum.d.ts +24 -0
  97. package/lib/ngx-sfc-common.module.d.ts +22 -16
  98. package/lib/utils/common.utils.d.ts +6 -0
  99. package/lib/utils/index.d.ts +2 -2
  100. package/lib/utils/ui.utils.d.ts +28 -0
  101. package/package.json +5 -2
  102. package/esm2020/lib/enums/common.enums.mjs +0 -69
  103. package/lib/enums/common.enums.d.ts +0 -61
package/README.md CHANGED
@@ -1,12 +1,6 @@
1
1
  # ngx-sfc-common
2
2
 
3
- This is shared library for Street Football Club (SFC) project, that contains components, directives, utils, enums and constants that will be used in related libraries: [ngx-sfc-inputs](https://github.com/1kriva1/ngx-sfc/tree/master/projects/ngx-sfc-inputs) and [ngx-sfc-components](https://github.com/1kriva1/ngx-sfc/tree/master/projects/ngx-sfc-components)
4
-
5
- ## Compatibility
6
-
7
- ngx-sfc-common | Angular
8
- ------------------------|--------
9
- 0.x.x (latest `0.0.1`) | 13.x.x
3
+ This is shared library for Street Football Club (SFC) project, that contains components, directives, utils, enums and constants that will be used in related libraries: [ngx-sfc-inputs](https://github.com/1kriva1/ngx-sfc/tree/master/projects/ngx-sfc-inputs) and [ngx-sfc-components](https://github.com/1kriva1/ngx-sfc/tree/master/projects/ngx-sfc-components).
10
4
 
11
5
  ## Table of Contents
12
6
 
@@ -14,6 +8,7 @@ ngx-sfc-common | Angular
14
8
  - [Directives](#directives)
15
9
  - [Click out side](#click-out-side-sfcclickoutside)
16
10
  - [Component size](#component-size-sfccomponentsize)
11
+ - [Destroy parent](#destroy-parent-sfcdestroyparent)
17
12
  - [Mouse down](#mouse-down-sfcmousedown)
18
13
  - [Show/Hide element](#showhide-element-sfcshowhideelement)
19
14
  - [Template reference](#template-reference-sfctemplatereference)
@@ -21,11 +16,15 @@ ngx-sfc-common | Angular
21
16
  - [Components](#components)
22
17
  - [Button](#button-sfc-button)
23
18
  - [Checkmark](#checkmark-sfc-checkmark)
19
+ - [Close](#close-sfc-close)
24
20
  - [Delimeter](#delimeter-sfc-delimeter)
25
21
  - [Dots](#dots-sfc-dots)
26
22
  - [Hamburger](#hamburger-sfc-hamburger)
27
23
  - [Loader](#loader-sfc-bounce-loader-sfc-circle-loader)
28
24
  - [Modal](#modal-sfc-modal)
25
+ - [Pagination](#pagination-sfc-pagination)
26
+ - [Sorting](#sorting-sfc-sorting)
27
+ - [Template-content](#template-content-sfc-template-content)
29
28
  - [Toggle-switcher](#toggle-switcher-sfc-toggle-switcher)
30
29
  - [Tooltip](#tooltip-sfc-tooltip)
31
30
  - [Services](#services)
@@ -97,6 +96,19 @@ Large | 2em
97
96
 
98
97
  2. `customSize` - custom size as number (`em` unit will be added)
99
98
 
99
+ ## **Destroy parent `[sfcDestroyParent]`**
100
+
101
+ This directive allow to destroy parent element of directive owner.
102
+
103
+ Add `[sfcDestroyParent]` with value `destroy` and optionaly can define delay by `delay` value (e.g. after 10 ms will destroy):
104
+
105
+ ```html
106
+ <div class="container" [sfcDestroyParent]="destroy" [delay]="10">
107
+ ```
108
+ Parameters:
109
+ 1. `sfcDestroyParent` expect boolean value, if true - will destroy parent element
110
+ 2. `delay` - define delay before destroying, by default 0.
111
+
100
112
  ## **Mouse down `(sfcMouseDown)`**
101
113
 
102
114
  This directive allow clicking only by specific mouse button (by default allow left button click).
@@ -135,7 +147,7 @@ Add `ng-template` with directive `[sfcTemplateReference]="ModalTemplate.Header"`
135
147
  <ng-template [sfcTemplateReference]="ModalTemplate.Header">
136
148
  <div>
137
149
  <div>{{HEADER_MODEL.Title}}</div>
138
- <i class="{{HEADER_MODEL.Icon}}"></i>
150
+ <fa-icon [icon]="HEADER_MODEL.Icon"></fa-icon>
139
151
  <button (click)="FOOTER_MODEL.Click()">hide model</button>
140
152
  </div>
141
153
  </ng-template>
@@ -178,7 +190,7 @@ Parameters:
178
190
  Button component allow to define several visualization types, add text, icons before and after text and make button disabled.
179
191
 
180
192
  ```html
181
- <sfc-button iconBefore="fa fa-star" text="Button" iconAfter="fa fa-car" [disabled]="false" [types]="[ButtonType.Rounded,ButtonType.Filled]">
193
+ <sfc-button [iconBefore]="faStar" text="Button" [iconAfter]="faCar" [disabled]="false" [types]="[ButtonType.Rounded,ButtonType.Filled]">
182
194
  </sfc-button>
183
195
  ```
184
196
 
@@ -203,13 +215,21 @@ Types can be combinated.
203
215
  Check mark with possibility to change icon value. Can be used for checking rows in table rows.
204
216
 
205
217
  ```html
206
- <sfc-checkmark [active]="value" icon="fa fa-star"></sfc-checkmark>
218
+ <sfc-checkmark [active]="value" [icon]="faStar"></sfc-checkmark>
207
219
  ```
208
220
 
209
221
  Parameters:
210
222
  1. `[active]` - check value, if checked - will have true value
211
223
  2. `icon` - icon value inside checkmark (default value - `fa fa-check`)
212
224
 
225
+ ## **Close `<sfc-close>`**
226
+
227
+ Close icon. Used in notification and modal components.
228
+
229
+ ```html
230
+ <sfc-close *ngIf="show" (click)="onClose()"></sfc-close>
231
+ ```
232
+
213
233
  ## **Delimeter `<sfc-delimeter>`**
214
234
 
215
235
  Can be used for separate element on UI.
@@ -367,14 +387,92 @@ Additional parameters:
367
387
  1. `hideOnEsc` - if true, than modal can be removed on Escape button (by default true)
368
388
  2. `hideOnClickOutside` - if true, than modal can be removed on click outside of modal (by default true)
369
389
 
390
+ ## **Pagination `<sfc-pagination>`**
391
+
392
+ Component allow to paginate data for example for tables.
393
+
394
+ ```html
395
+ <sfc-pagination [count]="3" [limits]="false" [full]="false" [data$]="data$"></sfc-pagination>
396
+ ```
397
+
398
+ Parameters:
399
+ 1. `[count]` - max limit for pagination buttons
400
+ 2. `[full]` - show or not full range of data
401
+ 3. `[limits]` - show or not first/last pagination button
402
+ 4. `[data$]` - pagination data observable
403
+
404
+ ## **Sorting `<sfc-sorting>`**
405
+
406
+ Add posibility to emit sorting for specific data. Can add template for displaying UI, also component will add default or defined by model sorting icons. When click on component, sorting event will be emitted.
407
+
408
+ ```html
409
+ <sfc-sorting [id]="column.field" [model]="column.sorting">
410
+ <sfc-default-table-column [model]="column"></sfc-default-table-column>
411
+ </sfc-sorting>
412
+ ```
413
+
414
+ Parameters:
415
+ 1. `[id]` - sorting ID
416
+ 2. `[model]` - sorting model
417
+
418
+ Model contract:
419
+
420
+ ```typescript
421
+ export interface ISortingModel {
422
+ enabled: boolean; // enable sorting
423
+ active?: boolean; // is current sorting is active
424
+ direction: SortingDirection; // direction - asc or desc
425
+ icons?: ISortingIcon[]; // custom icons for sorting
426
+ }
427
+
428
+ export interface ISortingIcon {
429
+ direction: SortingDirection;
430
+ icon: string
431
+ }
432
+ ```
433
+
434
+ ## **Template-content `<sfc-template-content>`**
435
+
436
+ Component allow to insert template as template reference or as template content. Also can be defined default content.
437
+
438
+ ```html
439
+ <sfc-template-content [referenceContent]="header" [templatesContent]="templates"
440
+ [templateType]="ModalTemplate.Header" [defaultContent]="defaultHeader">
441
+ </sfc-template-content>
442
+
443
+ <ng-template #defaultHeader>
444
+ <sfc-default-modal-header [model]="defaultHeaderModel"></sfc-default-modal-header>
445
+ </ng-template>
446
+ ```
447
+
448
+ Parameters:
449
+ 1. `[referenceContent]` - reference template
450
+ 2. `[templatesContent]` - content templates
451
+
452
+ ```typescript
453
+ @ContentChildren(TemplateReferenceDirective, { read: TemplateReferenceDirective })
454
+ templates: QueryList<TemplateReferenceDirective> | undefined;
455
+ ```
456
+
457
+ 3. `[templateType]` - type for content templates
458
+
459
+ ```typescript
460
+ export enum ModalTemplate {
461
+ Body = 'body',
462
+ Header = 'header',
463
+ Footer = 'footer'
464
+ }
465
+ ```
466
+ 4. `[defaultContent]` - reference for default content
467
+
370
468
  ## **Toggle-switcher `<sfc-toggle-switcher>`**
371
469
 
372
470
  Component allow to add toggler with posibility to define text and icon for left and right part of component.
373
471
  Can be used for toggling dark and light themes on page, toggling table types (rows or cards).
374
472
 
375
473
  ```html
376
- <sfc-toggle-switcher [active]="false" [leftModel]="{label:'test1', icon:'fa fa-car'}"
377
- [rightModel]="{label:'test1', icon:'fa fa-star'}">
474
+ <sfc-toggle-switcher [active]="false" [leftModel]="{label:'test1', icon:faCar}"
475
+ [rightModel]="{label:'test1', icon:faStar}">
378
476
  </sfc-toggle-switcher>
379
477
  ```
380
478
 
@@ -443,18 +541,104 @@ this._resizeSubscription = this.resizeService.onResize$
443
541
  - `Collection` utils
444
542
 
445
543
  Methods for array(collection) opearations.
544
+
545
+ ```typescript
546
+ /**
547
+ * Return true if collection not empty
548
+ * @param collection Array of items
549
+ * @returns True if collection not empty
550
+ */
551
+ export function any<T>(collection: Array<T> | null | undefined): boolean {
552
+ return isDefined(collection) && (collection as Array<T>).length > 0;
553
+ }
554
+ ```
446
555
  - `Common` utils
447
556
 
448
557
  Methods for object checking, modification and operations.
558
+
559
+ ```typescript
560
+ /**
561
+ * Return true if value defined
562
+ * @param value Value to check
563
+ * @returns True if value is not null and defined
564
+ */
565
+ export function isDefined<T>(value: T | undefined | null): boolean {
566
+ return <T>value !== undefined && <T>value !== null;
567
+ }
568
+ ```
569
+
449
570
  - `DateTime` utils
450
571
 
451
572
  Method for DATETime objects.
573
+
574
+ ```typescript
575
+ /**
576
+ * Return first day of month as date from date value
577
+ * @param date Date value
578
+ * @returns First day of month as date
579
+ */
580
+ export function getFirstDayOfMonth(date: Date): Date {
581
+ if (isDefined(date) && date instanceof Date) {
582
+ const year = date.getFullYear(),
583
+ month = date.getMonth();
584
+ return new Date(year, month, 1);
585
+ }
586
+
587
+ return date;
588
+ }
589
+ ```
590
+
452
591
  - `File` utils
453
592
 
454
593
  Methods for IO and files.
594
+
595
+ ```typescript
596
+ /**
597
+ * Return parsed file size as string
598
+ * @param bytes Bytes count
599
+ * @param decimals Value after dot
600
+ * @returns Parsed file size
601
+ */
602
+ export function parseFileSize(bytes: number, decimals = 2): string {
603
+ if (bytes === 0)
604
+ return '0';
605
+
606
+ const k = 1024;
607
+ const dm = decimals < 0 ? 0 : decimals;
608
+ const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
609
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
610
+
611
+ return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];
612
+ }
613
+ ```
614
+
455
615
  - `String` utils
456
616
 
457
617
  Methods for strings modification and operations on them.
618
+
619
+ ```typescript
620
+ /**
621
+ * Return true if string has value(not empty string)
622
+ * @param value String value to check
623
+ * @returns True if string is not null and defined(not empty string)
624
+ */
625
+ export function isNullOrEmptyString(value: string | undefined | null) {
626
+ return !isDefined(value) || value === CommonConstants.EMPTY_STRING;
627
+ }
628
+ ```
629
+
458
630
  - `UI` utils
459
631
 
460
632
  Methods for UI operations.
633
+
634
+ ```typescript
635
+ /**
636
+ * Return CSS like value
637
+ * @param value Value as number
638
+ * @returns Value as '1px'
639
+ */
640
+ export function getCssLikeValue(value: number,
641
+ type: string = UIConstants.CSS_PIXELS): string {
642
+ return value + type;
643
+ }
644
+ ```
@@ -0,0 +1,96 @@
1
+ // default
2
+ $color-default: #545e61 !default;
3
+ $color-hover-default: #2bbbad !default;
4
+ $color-disabled-default: #bdbdbd !default;
5
+ $background-gradient-default: linear-gradient(
6
+ to right,
7
+ rgb(0 0 0 / 0%) 0%,
8
+ rgb(0 0 0 / 30%) 17%,
9
+ rgb(0 0 0 / 30%) 83%,
10
+ rgb(0 0 0 / 0%) 100%
11
+ );
12
+
13
+ // default
14
+ $color-dark: #ccd1d9 !default;
15
+ $color-disabled-dark: #656d78 !default;
16
+ $background-gradient-dark: linear-gradient(
17
+ to right,
18
+ rgb(255 255 255 / 0%) 0%,
19
+ rgb(255 255 255 / 40%) 17%,
20
+ rgb(255 255 255 / 40%) 83%,
21
+ rgb(255 255 255 / 0%) 100%
22
+ );
23
+
24
+ // colors
25
+ $color-0: #fff !default;
26
+ $color-1: #f6f6f6 !default;
27
+ $color-2: #f5f7fa !default;
28
+ $color-3: #e6e9ed !default;
29
+ $color-4: #e9e9e9 !default;
30
+ $color-5: #d8d7d7 !default;
31
+ $color-6: #ccd1d9 !default;
32
+ $color-7: #aab2bd !default;
33
+ $color-8: #656d78 !default;
34
+ $color-9: #434a54 !default;
35
+ $color-10: #34323d !default;
36
+ $color-11: #1b1d1f !default;
37
+
38
+ // shades
39
+ $color-shadow-0: #00000005 !default;
40
+ $color-shadow-1: #0000001a !default;
41
+ $color-shadow-2: #00000030 !default;
42
+ $color-shadow-3: #0000003b !default;
43
+ $color-shadow-4: #0000004d !default;
44
+ $color-shadow-5: #0009 !default;
45
+
46
+ // result types
47
+ $color-info: #4fc1e9;
48
+ $color-success: #4ec07d;
49
+ $color-failed: #e96075;
50
+
51
+ // color types
52
+ $color-red-0: #ed5565 !default;
53
+ $color-red-1: #da4453 !default;
54
+ $color-orange-0: #fc6e51 !default;
55
+ $color-orange-1: #e9573f !default;
56
+ $color-yellow-0: #ffce54 !default;
57
+ $color-yellow-1: #fcbb42 !default;
58
+ $color-green-0: #a0d468 !default;
59
+ $color-green-1: #8cc152 !default;
60
+ $color-green-2: #48cfad !default;
61
+ $color-green-3: #37bc9b !default;
62
+ $color-blue-0: #4fc1e9 !default;
63
+ $color-blue-1: #3bafda !default;
64
+ $color-blue-2: #5d9cec !default;
65
+ $color-blue-3: #4a89dc !default;
66
+ $color-magenta-0: #ac92ec !default;
67
+ $color-magenta-1: #967adc !default;
68
+ $color-pink-0: #ec87c0 !default;
69
+ $color-pink-1: #d770ad !default;
70
+
71
+
72
+ @mixin square-size($value, $multiplier: 1) {
73
+ width: $value * $multiplier;
74
+ height: $value * $multiplier;
75
+ }
76
+
77
+ @mixin theme-value($property, $value-common, $value-dark, $selector: "&") {
78
+ #{$selector},
79
+ :host-context(.sfc-default-theme) #{$selector} {
80
+ #{$property}: $value-common;
81
+ }
82
+ :host-context(.sfc-dark-theme) #{$selector} {
83
+ #{$property}: $value-dark;
84
+ }
85
+ }
86
+
87
+ @mixin visibility($show) {
88
+ @if $show {
89
+ visibility: visible;
90
+ opacity: 1;
91
+ } @else {
92
+ visibility: hidden;
93
+ opacity: 0;
94
+ }
95
+ }
96
+
@@ -3,7 +3,8 @@ import { UIClass } from '../../enums';
3
3
  import { distinct } from '../../utils';
4
4
  import { ButtonType } from './button-type.enum';
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
6
+ import * as i1 from "@fortawesome/angular-fontawesome";
7
+ import * as i2 from "@angular/common";
7
8
  export class ButtonComponent {
8
9
  constructor() {
9
10
  this.BUTTON_DEFAULT_TEXT = 'Button';
@@ -19,11 +20,11 @@ export class ButtonComponent {
19
20
  return classes;
20
21
  }
21
22
  }
22
- ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: ButtonComponent, selector: "sfc-button", inputs: { text: "text", iconBefore: "iconBefore", iconAfter: "iconAfter", disabled: "disabled", types: "types" }, ngImport: i0, template: "<a class=\"button\" [ngClass]=\"classes\">\r\n <i *ngIf=\"iconBefore\" class=\"icon before\" [ngClass]=\"iconBefore\"></i>\r\n <span class=\"text\">{{text}}</span>\r\n <i *ngIf=\"iconAfter\" class=\"icon after\" [ngClass]=\"iconAfter\"></i>\r\n</a>", styles: [":host-context(.sfc-default-theme) .button.texted:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.texted:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered{border:solid 2px}:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){border-color:#ccd1d9}.button.filled{color:#fff!important;border-color:#545e61;background:#545e61}.button.filled:hover{color:#fff!important;border-color:#aab2bd;background:#aab2bd}.button.filled.disabled{color:#fff!important;border-color:#bdbdbd;background:#bdbdbd}.button.rounded{border:solid 2px;border-radius:20px;padding:.4em 1.2em}:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled{border:solid 2px;width:5em;height:5em;border-radius:50%}:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled .text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host{display:inline-block;font-size:1em}.button{box-sizing:border-box;display:inline-flex;justify-content:center;flex-wrap:wrap;align-items:center;overflow:hidden;text-align:center;text-decoration:none;white-space:nowrap;font-size:.8em;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .5s ease,border-color .5s ease,background .5s ease}.button:hover{color:#2bbbad;border-color:#2bbbad}.button.disabled{pointer-events:none}:host-context(.sfc-default-theme) .button.disabled{color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{color:#656d78}:host-context(.sfc-default-theme) .button.disabled{border-color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{border-color:#656d78}.button .icon{padding:3px}.button .text{padding:3px;white-space:initial}.button .text:empty{display:none}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: ButtonComponent, decorators: [{
23
+ ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ButtonComponent, selector: "sfc-button", inputs: { text: "text", iconBefore: "iconBefore", iconAfter: "iconAfter", disabled: "disabled", types: "types" }, ngImport: i0, template: "<a class=\"button\" [ngClass]=\"classes\">\r\n <fa-icon *ngIf=\"iconBefore\" class=\"icon before\" [icon]=\"iconBefore\"></fa-icon>\r\n <span class=\"text\">{{text}}</span>\r\n <fa-icon *ngIf=\"iconAfter\" class=\"icon after\" [icon]=\"iconAfter\"></fa-icon>\r\n</a>", styles: [".button.texted:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.texted:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.texted:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered{border:solid 2px}.button.bordered:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){border-color:#ccd1d9}.button.filled{color:#fff!important;border-color:#545e61;background:#545e61}.button.filled:hover{color:#fff!important;border-color:#aab2bd;background:#aab2bd}.button.filled.disabled{color:#fff!important;border-color:#bdbdbd;background:#bdbdbd}.button.rounded{border:solid 2px;border-radius:20px;padding:.4em 1.2em}.button.rounded:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){color:#ccd1d9}.button.rounded:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled{border:solid 2px;width:5em;height:5em;border-radius:50%}.button.circled:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){color:#ccd1d9}.button.circled:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled .text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host{display:inline-block;font-size:1em}.button{box-sizing:border-box;display:inline-flex;justify-content:center;flex-wrap:wrap;align-items:center;overflow:hidden;text-align:center;text-decoration:none;white-space:nowrap;font-size:.9em;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .5s ease,border-color .5s ease,background .5s ease}.button:hover{color:#2bbbad;border-color:#2bbbad}.button.disabled{pointer-events:none}.button.disabled,:host-context(.sfc-default-theme) .button.disabled{color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{color:#656d78}.button.disabled,:host-context(.sfc-default-theme) .button.disabled{border-color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{border-color:#656d78}.button .icon{padding:3px}.button .text{padding:3px;white-space:initial}.button .text:empty{display:none}\n"], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ButtonComponent, decorators: [{
25
26
  type: Component,
26
- args: [{ selector: 'sfc-button', template: "<a class=\"button\" [ngClass]=\"classes\">\r\n <i *ngIf=\"iconBefore\" class=\"icon before\" [ngClass]=\"iconBefore\"></i>\r\n <span class=\"text\">{{text}}</span>\r\n <i *ngIf=\"iconAfter\" class=\"icon after\" [ngClass]=\"iconAfter\"></i>\r\n</a>", styles: [":host-context(.sfc-default-theme) .button.texted:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.texted:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered{border:solid 2px}:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){border-color:#ccd1d9}.button.filled{color:#fff!important;border-color:#545e61;background:#545e61}.button.filled:hover{color:#fff!important;border-color:#aab2bd;background:#aab2bd}.button.filled.disabled{color:#fff!important;border-color:#bdbdbd;background:#bdbdbd}.button.rounded{border:solid 2px;border-radius:20px;padding:.4em 1.2em}:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled{border:solid 2px;width:5em;height:5em;border-radius:50%}:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){color:#ccd1d9}:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled .text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host{display:inline-block;font-size:1em}.button{box-sizing:border-box;display:inline-flex;justify-content:center;flex-wrap:wrap;align-items:center;overflow:hidden;text-align:center;text-decoration:none;white-space:nowrap;font-size:.8em;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .5s ease,border-color .5s ease,background .5s ease}.button:hover{color:#2bbbad;border-color:#2bbbad}.button.disabled{pointer-events:none}:host-context(.sfc-default-theme) .button.disabled{color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{color:#656d78}:host-context(.sfc-default-theme) .button.disabled{border-color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{border-color:#656d78}.button .icon{padding:3px}.button .text{padding:3px;white-space:initial}.button .text:empty{display:none}\n"] }]
27
+ args: [{ selector: 'sfc-button', template: "<a class=\"button\" [ngClass]=\"classes\">\r\n <fa-icon *ngIf=\"iconBefore\" class=\"icon before\" [icon]=\"iconBefore\"></fa-icon>\r\n <span class=\"text\">{{text}}</span>\r\n <fa-icon *ngIf=\"iconAfter\" class=\"icon after\" [icon]=\"iconAfter\"></fa-icon>\r\n</a>", styles: [".button.texted:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.texted:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.texted:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered{border:solid 2px}.button.bordered:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){color:#ccd1d9}.button.bordered:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.bordered:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.bordered:not(:hover):not(.disabled){border-color:#ccd1d9}.button.filled{color:#fff!important;border-color:#545e61;background:#545e61}.button.filled:hover{color:#fff!important;border-color:#aab2bd;background:#aab2bd}.button.filled.disabled{color:#fff!important;border-color:#bdbdbd;background:#bdbdbd}.button.rounded{border:solid 2px;border-radius:20px;padding:.4em 1.2em}.button.rounded:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){color:#ccd1d9}.button.rounded:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.rounded:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.rounded:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled{border:solid 2px;width:5em;height:5em;border-radius:50%}.button.circled:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){color:#ccd1d9}.button.circled:not(:hover):not(.disabled),:host-context(.sfc-default-theme) .button.circled:not(:hover):not(.disabled){border-color:#545e61}:host-context(.sfc-dark-theme) .button.circled:not(:hover):not(.disabled){border-color:#ccd1d9}.button.circled .text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host{display:inline-block;font-size:1em}.button{box-sizing:border-box;display:inline-flex;justify-content:center;flex-wrap:wrap;align-items:center;overflow:hidden;text-align:center;text-decoration:none;white-space:nowrap;font-size:.9em;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .5s ease,border-color .5s ease,background .5s ease}.button:hover{color:#2bbbad;border-color:#2bbbad}.button.disabled{pointer-events:none}.button.disabled,:host-context(.sfc-default-theme) .button.disabled{color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{color:#656d78}.button.disabled,:host-context(.sfc-default-theme) .button.disabled{border-color:#bdbdbd}:host-context(.sfc-dark-theme) .button.disabled{border-color:#656d78}.button .icon{padding:3px}.button .text{padding:3px;white-space:initial}.button .text:empty{display:none}\n"] }]
27
28
  }], propDecorators: { text: [{
28
29
  type: Input
29
30
  }], iconBefore: [{
@@ -35,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
35
36
  }], types: [{
36
37
  type: Input
37
38
  }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN2QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7OztBQU9oRCxNQUFNLE9BQU8sZUFBZTtJQUw1QjtRQU9tQix3QkFBbUIsR0FBVyxRQUFRLENBQUM7UUFHeEQsU0FBSSxHQUFXLElBQUksQ0FBQyxtQkFBbUIsQ0FBQztRQVN4QyxhQUFRLEdBQVksS0FBSyxDQUFDO1FBRzFCLFVBQUssR0FBc0IsQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLENBQUM7S0FZbEQ7SUFWQyxJQUFJLE9BQU87UUFDVCxNQUFNLE9BQU8sR0FBUSxFQUFFLENBQUE7UUFFdkIsSUFBSSxJQUFJ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1
1
  import { Component, HostBinding, HostListener, Input } from '@angular/core';
2
2
  import { UIClass } from '../../enums';
3
+ import { faCheck } from '@fortawesome/free-solid-svg-icons';
3
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "@fortawesome/angular-fontawesome";
4
6
  export class CheckmarkComponent {
5
7
  constructor() {
6
8
  this.active = false;
7
- this.icon = 'fa fa-check';
9
+ this.icon = faCheck;
8
10
  this.onClick = () => this.active = !this.active;
9
11
  }
10
12
  }
11
- CheckmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: CheckmarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- CheckmarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: CheckmarkComponent, selector: "sfc-checkmark", inputs: { active: "active", icon: "icon" }, host: { listeners: { "click": "onClick()" }, properties: { "class.active": "this.active" } }, ngImport: i0, template: "<div class=\"container\">\r\n <span class=\"check\">\r\n <i class=\"{{icon}}\"></i>\r\n </span>\r\n</div>", styles: [":host{display:inline-block}:host .check{border-radius:50%;border:.18em solid;background:#fff;border-color:#ccd1d9;width:1em;height:1em;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .3s ease}:host .check i{font-size:.8em;transition:opacity .3s ease;color:transparent;-webkit-text-stroke:1px #0003}:host-context(.sfc-default-theme) :host .check i{opacity:.5}:host-context(.sfc-dark-theme) :host .check i{opacity:.8}:host .check:hover{border-color:#2bbbad}:host .check:hover i{-webkit-text-stroke:initial;color:#2bbbad}:host-context(.sfc-default-theme) :host .check:hover i{opacity:.8}:host-context(.sfc-dark-theme) :host .check:hover i{opacity:1}:host.active .check{border-color:#2bbbad;background:#2bbbad}:host.active .check i{opacity:1;transform:scale(0);color:#fff;-webkit-text-stroke:0;animation:icon .3s cubic-bezier(1,.008,.565,1.65) .1s 1 forwards}@keyframes icon{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}\n"] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: CheckmarkComponent, decorators: [{
13
+ CheckmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CheckmarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ CheckmarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CheckmarkComponent, selector: "sfc-checkmark", inputs: { active: "active", icon: "icon" }, host: { listeners: { "click": "onClick()" }, properties: { "class.active": "this.active" } }, ngImport: i0, template: "<div class=\"container\">\r\n <span class=\"check\">\r\n <fa-icon [icon]=\"icon\"></fa-icon>\r\n </span>\r\n</div>", styles: [":host{display:inline-block}:host,:host-context(.sfc-default-theme) :host{color:#545e61}:host-context(.sfc-dark-theme) :host{color:#ccd1d9}:host .check{border-radius:50%;border:.18em solid;background:#fff;border-color:#ccd1d9;width:1em;height:1em;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .3s ease}:host .check fa-icon{font-size:.8em;transition:opacity .3s ease}:host .check fa-icon,:host-context(.sfc-default-theme) :host .check fa-icon{opacity:.5}:host-context(.sfc-dark-theme) :host .check fa-icon{opacity:.8}:host .check:hover{border-color:#2bbbad}:host .check:hover fa-icon{color:#2bbbad}:host .check:hover fa-icon,:host-context(.sfc-default-theme) :host .check:hover fa-icon{opacity:.8}:host-context(.sfc-dark-theme) :host .check:hover fa-icon{opacity:1}:host.active .check{border-color:#2bbbad;background:#2bbbad}:host.active .check fa-icon{opacity:1;transform:scale(0);color:#fff;-webkit-text-stroke:0;animation:icon .3s cubic-bezier(1,.008,.565,1.65) .1s 1 forwards}@keyframes icon{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}\n"], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CheckmarkComponent, decorators: [{
14
16
  type: Component,
15
- args: [{ selector: 'sfc-checkmark', template: "<div class=\"container\">\r\n <span class=\"check\">\r\n <i class=\"{{icon}}\"></i>\r\n </span>\r\n</div>", styles: [":host{display:inline-block}:host .check{border-radius:50%;border:.18em solid;background:#fff;border-color:#ccd1d9;width:1em;height:1em;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .3s ease}:host .check i{font-size:.8em;transition:opacity .3s ease;color:transparent;-webkit-text-stroke:1px #0003}:host-context(.sfc-default-theme) :host .check i{opacity:.5}:host-context(.sfc-dark-theme) :host .check i{opacity:.8}:host .check:hover{border-color:#2bbbad}:host .check:hover i{-webkit-text-stroke:initial;color:#2bbbad}:host-context(.sfc-default-theme) :host .check:hover i{opacity:.8}:host-context(.sfc-dark-theme) :host .check:hover i{opacity:1}:host.active .check{border-color:#2bbbad;background:#2bbbad}:host.active .check i{opacity:1;transform:scale(0);color:#fff;-webkit-text-stroke:0;animation:icon .3s cubic-bezier(1,.008,.565,1.65) .1s 1 forwards}@keyframes icon{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}\n"] }]
17
+ args: [{ selector: 'sfc-checkmark', template: "<div class=\"container\">\r\n <span class=\"check\">\r\n <fa-icon [icon]=\"icon\"></fa-icon>\r\n </span>\r\n</div>", styles: [":host{display:inline-block}:host,:host-context(.sfc-default-theme) :host{color:#545e61}:host-context(.sfc-dark-theme) :host{color:#ccd1d9}:host .check{border-radius:50%;border:.18em solid;background:#fff;border-color:#ccd1d9;width:1em;height:1em;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .3s ease}:host .check fa-icon{font-size:.8em;transition:opacity .3s ease}:host .check fa-icon,:host-context(.sfc-default-theme) :host .check fa-icon{opacity:.5}:host-context(.sfc-dark-theme) :host .check fa-icon{opacity:.8}:host .check:hover{border-color:#2bbbad}:host .check:hover fa-icon{color:#2bbbad}:host .check:hover fa-icon,:host-context(.sfc-default-theme) :host .check:hover fa-icon{opacity:.8}:host-context(.sfc-dark-theme) :host .check:hover fa-icon{opacity:1}:host.active .check{border-color:#2bbbad;background:#2bbbad}:host.active .check fa-icon{opacity:1;transform:scale(0);color:#fff;-webkit-text-stroke:0;animation:icon .3s cubic-bezier(1,.008,.565,1.65) .1s 1 forwards}@keyframes icon{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}\n"] }]
16
18
  }], propDecorators: { active: [{
17
19
  type: Input
18
20
  }, {
@@ -24,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImpor
24
26
  type: HostListener,
25
27
  args: ['click']
26
28
  }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2ttYXJrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9jaGVja21hcmsvY2hlY2ttYXJrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9jaGVja21hcmsvY2hlY2ttYXJrLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUUsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGFBQWEsQ0FBQzs7QUFPdEMsTUFBTSxPQUFPLGtCQUFrQjtJQUwvQjtRQVNFLFdBQU0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VuZXIoJ2NsaWNrJylcclxuICBvbkNsaWNrID0gKCkgPT4gdGhpcy5hY3RpdmUgPSAhdGhpcy5hY3RpdmU7XHJcblxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cclxuICAgIDxzcGFuIGNsYXNzPVwiY2hlY2tcIj5cclxuICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJpY29uXCI+PC9mYS1pY29uPlxyXG4gICAgPC9zcGFuPlxyXG48L2Rpdj4iXX0=
@@ -0,0 +1,16 @@
1
+ import { Component } from '@angular/core';
2
+ import { faTimes } from '@fortawesome/free-solid-svg-icons';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@fortawesome/angular-fontawesome";
5
+ export class CloseComponent {
6
+ constructor() {
7
+ this.faTimes = faTimes;
8
+ }
9
+ }
10
+ CloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CloseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ CloseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CloseComponent, selector: "sfc-close", ngImport: i0, template: "<div class=\"container\">\r\n <fa-icon [icon]=\"faTimes\"></fa-icon>\r\n</div>", styles: [":host{color:#545e61;cursor:pointer}:host:hover{color:#2bbbad}\n"], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CloseComponent, decorators: [{
13
+ type: Component,
14
+ args: [{ selector: 'sfc-close', template: "<div class=\"container\">\r\n <fa-icon [icon]=\"faTimes\"></fa-icon>\r\n</div>", styles: [":host{color:#545e61;cursor:pointer}:host:hover{color:#2bbbad}\n"] }]
15
+ }] });
16
+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biAgZmFUaW1lcyA9IGZhVGltZXM7XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImNvbnRhaW5lclwiPlxyXG4gICAgPGZhLWljb24gW2ljb25dPVwiZmFUaW1lc1wiPjwvZmEtaWNvbj5cclxuPC9kaXY+Il19
@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class DelimeterComponent {
4
4
  }
5
- DelimeterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelimeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- DelimeterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: DelimeterComponent, selector: "sfc-delimeter", ngImport: i0, template: ``, isInline: true, styles: [":host{width:100%;height:.07em}:host :host-context(.sfc-default-theme){background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.3) 83%,rgba(0,0,0,0) 100%)}:host :host-context(.sfc-dark-theme){background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 17%,rgba(255,255,255,.4) 83%,rgba(255,255,255,0) 100%)}\n"] });
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DelimeterComponent, decorators: [{
5
+ DelimeterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DelimeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ DelimeterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DelimeterComponent, selector: "sfc-delimeter", ngImport: i0, template: ``, isInline: true, styles: [":host{display:inline-block;width:100%;height:1px;margin:.3em 0}:host,:host-context(.sfc-default-theme) :host{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.3) 83%,rgba(0,0,0,0) 100%)}:host-context(.sfc-dark-theme) :host{background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 17%,rgba(255,255,255,.4) 83%,rgba(255,255,255,0) 100%)}\n"] });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DelimeterComponent, decorators: [{
8
8
  type: Component,
9
- args: [{ selector: 'sfc-delimeter', template: ``, styles: [":host{width:100%;height:.07em}:host :host-context(.sfc-default-theme){background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.3) 83%,rgba(0,0,0,0) 100%)}:host :host-context(.sfc-dark-theme){background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 17%,rgba(255,255,255,.4) 83%,rgba(255,255,255,0) 100%)}\n"] }]
9
+ args: [{ selector: 'sfc-delimeter', template: ``, styles: [":host{display:inline-block;width:100%;height:1px;margin:.3em 0}:host,:host-context(.sfc-default-theme) :host{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.3) 83%,rgba(0,0,0,0) 100%)}:host-context(.sfc-dark-theme) :host{background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.4) 17%,rgba(255,255,255,.4) 83%,rgba(255,255,255,0) 100%)}\n"] }]
10
10
  }] });
11
11
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsaW1ldGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9kZWxpbWV0ZXIvZGVsaW1ldGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8xQyxNQUFNLE9BQU8sa0JBQWtCOzsrR0FBbEIsa0JBQWtCO21HQUFsQixrQkFBa0IscURBSG5CLEVBQUU7MkZBR0Qsa0JBQWtCO2tCQUw5QixTQUFTOytCQUNFLGVBQWUsWUFDZixFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ3NmYy1kZWxpbWV0ZXInLFxyXG4gIHRlbXBsYXRlOiBgYCxcclxuICBzdHlsZVVybHM6IFsnLi9kZWxpbWV0ZXIuY29tcG9uZW50LnNjc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRGVsaW1ldGVyQ29tcG9uZW50IHtcclxufVxyXG4iXX0=
@@ -8,11 +8,11 @@ export class DotsComponent {
8
8
  this.onClick = () => this.open = !this.open;
9
9
  }
10
10
  }
11
- DotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DotsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- DotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: DotsComponent, selector: "sfc-dots", inputs: { open: "open", direction: "direction" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open", "class": "this.direction" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(90deg);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(0)}:host.vertical{transform:rotate(0)}:host.vertical.open{transform:rotate(90deg)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:column,wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container .dot{width:.3125em;height:.3125em;transition:background .3s ease;margin:.06em;border-radius:50%;display:block}:host-context(.sfc-default-theme) :host .container .dots-container .dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container .dot{background:#ccd1d9}:host .container:hover,:host .container.open,:host .container:focus{outline:none}:host-context(.sfc-default-theme) :host .container:hover .dots-container .dot,:host-context(.sfc-default-theme) :host .container.open .dots-container .dot,:host-context(.sfc-default-theme) :host .container:focus .dots-container .dot{background:#2bbbad}:host-context(.sfc-dark-theme) :host .container:hover .dots-container .dot,:host-context(.sfc-dark-theme) :host .container.open .dots-container .dot,:host-context(.sfc-dark-theme) :host .container:focus .dots-container .dot{background:#2bbbad}\n"] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: DotsComponent, decorators: [{
11
+ DotsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DotsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ DotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DotsComponent, selector: "sfc-dots", inputs: { open: "open", direction: "direction" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open", "class": "this.direction" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(0);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(90deg)}:host.vertical{transform:rotate(90deg)}:host.vertical.open{transform:rotate(0)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container .dot{width:.3125em;height:.3125em;transition:background .3s ease;margin:.06em;border-radius:50%;display:block}:host .container .dots-container .dot,:host-context(.sfc-default-theme) :host .container .dots-container .dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container .dot{background:#ccd1d9}:host:hover .container,:host:focus .container{outline:none}:host:hover .container .dots-container .dot,:host-context(.sfc-default-theme) :host:hover .container .dots-container .dot,:host:focus .container .dots-container .dot,:host-context(.sfc-default-theme) :host:focus .container .dots-container .dot{background:#2bbbad}:host-context(.sfc-dark-theme) :host:hover .container .dots-container .dot,:host-context(.sfc-dark-theme) :host:focus .container .dots-container .dot{background:#2bbbad}\n"] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DotsComponent, decorators: [{
14
14
  type: Component,
15
- args: [{ selector: 'sfc-dots', template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(90deg);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(0)}:host.vertical{transform:rotate(0)}:host.vertical.open{transform:rotate(90deg)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:column,wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container .dot{width:.3125em;height:.3125em;transition:background .3s ease;margin:.06em;border-radius:50%;display:block}:host-context(.sfc-default-theme) :host .container .dots-container .dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container .dot{background:#ccd1d9}:host .container:hover,:host .container.open,:host .container:focus{outline:none}:host-context(.sfc-default-theme) :host .container:hover .dots-container .dot,:host-context(.sfc-default-theme) :host .container.open .dots-container .dot,:host-context(.sfc-default-theme) :host .container:focus .dots-container .dot{background:#2bbbad}:host-context(.sfc-dark-theme) :host .container:hover .dots-container .dot,:host-context(.sfc-dark-theme) :host .container.open .dots-container .dot,:host-context(.sfc-dark-theme) :host .container:focus .dots-container .dot{background:#2bbbad}\n"] }]
15
+ args: [{ selector: 'sfc-dots', template: "<div class=\"container\">\r\n <div class=\"dots-container\">\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n <div class=\"dot\"></div>\r\n </div>\r\n</div>", styles: [":host{display:inline-flex;transform:rotate(0);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}:host.open{transform:rotate(90deg)}:host.vertical{transform:rotate(90deg)}:host.vertical.open{transform:rotate(0)}:host .container{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex:1;margin:.25em}:host .container .dots-container{display:flex;flex-flow:row wrap;justify-content:center;align-items:center;position:relative}:host .container .dots-container .dot{width:.3125em;height:.3125em;transition:background .3s ease;margin:.06em;border-radius:50%;display:block}:host .container .dots-container .dot,:host-context(.sfc-default-theme) :host .container .dots-container .dot{background:#545e61}:host-context(.sfc-dark-theme) :host .container .dots-container .dot{background:#ccd1d9}:host:hover .container,:host:focus .container{outline:none}:host:hover .container .dots-container .dot,:host-context(.sfc-default-theme) :host:hover .container .dots-container .dot,:host:focus .container .dots-container .dot,:host-context(.sfc-default-theme) :host:focus .container .dots-container .dot{background:#2bbbad}:host-context(.sfc-dark-theme) :host:hover .container .dots-container .dot,:host-context(.sfc-dark-theme) :host:focus .container .dots-container .dot{background:#2bbbad}\n"] }]
16
16
  }], propDecorators: { open: [{
17
17
  type: Input
18
18
  }, {
@@ -7,11 +7,11 @@ export class HamburgerComponent {
7
7
  this.onClick = () => this.open = !this.open;
8
8
  }
9
9
  }
10
- HamburgerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HamburgerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- HamburgerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: HamburgerComponent, selector: "sfc-hamburger", inputs: { open: "open" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"line half start\"></div>\r\n <div class=\"line\"></div>\r\n <div class=\"line half end\"></div>\r\n</div>", styles: [".container{width:1em;height:1em;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .33s ease-out}:host(.open) .container{transform:rotate(-45deg)}.container .line{border-radius:.31em;width:100%;height:.25em}:host-context(.sfc-default-theme) .container .line{background-color:#545e61}:host-context(.sfc-dark-theme) .container .line{background-color:#ccd1d9}.container .line.half{width:50%}.container .line.start{transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:right}:host(.open) .container .line.start{transform:rotate(-90deg) translate(.1875em)}.container .line.end{align-self:flex-end;transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:left}:host(.open) .container .line.end{transform:rotate(-90deg) translate(-.1875em)}.container:hover .line{background-color:#2bbbad!important}\n"] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: HamburgerComponent, decorators: [{
10
+ HamburgerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HamburgerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ HamburgerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HamburgerComponent, selector: "sfc-hamburger", inputs: { open: "open" }, host: { listeners: { "click": "onClick()" }, properties: { "class.open": "this.open" } }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"line half start\"></div>\r\n <div class=\"line\"></div>\r\n <div class=\"line half end\"></div>\r\n</div>", styles: [".container{width:1em;height:1em;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .33s ease-out}:host(.open) .container{transform:rotate(-45deg)}.container .line{border-radius:.31em;width:100%;height:.25em}.container .line,:host-context(.sfc-default-theme) .container .line{background-color:#545e61}:host-context(.sfc-dark-theme) .container .line{background-color:#ccd1d9}.container .line.half{width:50%}.container .line.start{transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:right}:host(.open) .container .line.start{transform:rotate(-90deg) translate(.1875em)}.container .line.end{align-self:flex-end;transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:left}:host(.open) .container .line.end{transform:rotate(-90deg) translate(-.1875em)}.container:hover .line{background-color:#2bbbad!important}\n"] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HamburgerComponent, decorators: [{
13
13
  type: Component,
14
- args: [{ selector: 'sfc-hamburger', template: "<div class=\"container\">\r\n <div class=\"line half start\"></div>\r\n <div class=\"line\"></div>\r\n <div class=\"line half end\"></div>\r\n</div>", styles: [".container{width:1em;height:1em;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .33s ease-out}:host(.open) .container{transform:rotate(-45deg)}.container .line{border-radius:.31em;width:100%;height:.25em}:host-context(.sfc-default-theme) .container .line{background-color:#545e61}:host-context(.sfc-dark-theme) .container .line{background-color:#ccd1d9}.container .line.half{width:50%}.container .line.start{transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:right}:host(.open) .container .line.start{transform:rotate(-90deg) translate(.1875em)}.container .line.end{align-self:flex-end;transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:left}:host(.open) .container .line.end{transform:rotate(-90deg) translate(-.1875em)}.container:hover .line{background-color:#2bbbad!important}\n"] }]
14
+ args: [{ selector: 'sfc-hamburger', template: "<div class=\"container\">\r\n <div class=\"line half start\"></div>\r\n <div class=\"line\"></div>\r\n <div class=\"line half end\"></div>\r\n</div>", styles: [".container{width:1em;height:1em;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .33s ease-out}:host(.open) .container{transform:rotate(-45deg)}.container .line{border-radius:.31em;width:100%;height:.25em}.container .line,:host-context(.sfc-default-theme) .container .line{background-color:#545e61}:host-context(.sfc-dark-theme) .container .line{background-color:#ccd1d9}.container .line.half{width:50%}.container .line.start{transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:right}:host(.open) .container .line.start{transform:rotate(-90deg) translate(.1875em)}.container .line.end{align-self:flex-end;transition:transform .33s cubic-bezier(.54,-.81,.57,.57);transform-origin:left}:host(.open) .container .line.end{transform:rotate(-90deg) translate(-.1875em)}.container:hover .line{background-color:#2bbbad!important}\n"] }]
15
15
  }], propDecorators: { open: [{
16
16
  type: Input
17
17
  }, {