ngx-sfc-common 0.0.2 → 0.0.3
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.
- package/README.md +191 -7
- package/_ngx-sfc-common.styles.scss +53 -14
- package/esm2020/lib/components/button/button.component.mjs +4 -4
- package/esm2020/lib/components/checkmark/checkmark.component.mjs +4 -4
- package/esm2020/lib/components/close/close.component.mjs +11 -0
- package/esm2020/lib/components/delimeter/delimeter.component.mjs +4 -4
- package/esm2020/lib/components/dots/dots.component.mjs +4 -4
- package/esm2020/lib/components/hamburger/hamburger.component.mjs +3 -3
- package/esm2020/lib/components/index.mjs +7 -1
- package/esm2020/lib/components/loader/bounce/bounce-loader.component.mjs +3 -3
- package/esm2020/lib/components/loader/circle/circle-loader.component.mjs +3 -3
- package/esm2020/lib/components/loader/loader-base.component.mjs +3 -3
- package/esm2020/lib/components/loader/service/loader.service.mjs +3 -3
- package/esm2020/lib/components/modal/directive/modal-open-on-click.directive.mjs +3 -3
- package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +3 -3
- package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +7 -6
- package/esm2020/lib/components/modal/modal.component.mjs +8 -21
- package/esm2020/lib/components/modal/service/modal.service.mjs +3 -3
- package/esm2020/lib/components/pagination/models/pagination-view.model.mjs +2 -0
- package/esm2020/lib/components/pagination/pagination.component.mjs +100 -0
- package/esm2020/lib/components/pagination/pagination.constants.mjs +6 -0
- package/esm2020/lib/components/pagination/service/pagination.event.mjs +2 -0
- package/esm2020/lib/components/pagination/service/pagination.service.mjs +47 -0
- package/esm2020/lib/components/sorting/service/sorting.event.mjs +2 -0
- package/esm2020/lib/components/sorting/service/sorting.service.mjs +21 -0
- package/esm2020/lib/components/sorting/sorting.component.mjs +70 -0
- package/esm2020/lib/components/sorting/sorting.constants.mjs +5 -0
- package/esm2020/lib/components/sorting/sorting.model.mjs +2 -0
- package/esm2020/lib/components/template-content/template-content.component.mjs +31 -0
- package/esm2020/lib/components/toggle-switcher/toggle-switcher.component.mjs +4 -4
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +4 -4
- package/esm2020/lib/constants/common.constants.mjs +2 -1
- package/esm2020/lib/constants/ui.constants.mjs +6 -3
- package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +3 -3
- package/esm2020/lib/directives/component-size/component-size.directive.mjs +3 -3
- package/esm2020/lib/directives/destroy-parent/destroy-parent.directive.mjs +27 -0
- package/esm2020/lib/directives/index.mjs +2 -1
- package/esm2020/lib/directives/mouse-down/mouse-down.directive.mjs +3 -3
- package/esm2020/lib/directives/show-hide-element/show-hide-element.directive.mjs +3 -3
- package/esm2020/lib/directives/template-reference/template-reference.directive.mjs +3 -3
- package/esm2020/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.mjs +3 -3
- package/esm2020/lib/enums/direction.enum.mjs +9 -0
- package/esm2020/lib/enums/index.mjs +8 -2
- package/esm2020/lib/enums/media.enum.mjs +10 -0
- package/esm2020/lib/enums/position.enum.mjs +12 -0
- package/esm2020/lib/enums/size.enum.mjs +11 -0
- package/esm2020/lib/enums/sorting-direction.enum.mjs +9 -0
- package/esm2020/lib/enums/theme.enum.mjs +9 -0
- package/esm2020/lib/enums/ui.enum.mjs +27 -0
- package/esm2020/lib/ngx-sfc-common.module.mjs +47 -39
- package/esm2020/lib/services/document-ref.service.mjs +6 -5
- package/esm2020/lib/services/resize.service.mjs +3 -3
- package/esm2020/lib/services/window-ref.service.mjs +3 -3
- package/esm2020/lib/utils/collections.utils.mjs +2 -2
- package/esm2020/lib/utils/common.utils.mjs +10 -2
- package/esm2020/lib/utils/index.mjs +3 -3
- package/esm2020/lib/utils/ui.utils.mjs +35 -1
- package/fesm2015/ngx-sfc-common.mjs +551 -206
- package/fesm2015/ngx-sfc-common.mjs.map +1 -1
- package/fesm2020/ngx-sfc-common.mjs +550 -205
- package/fesm2020/ngx-sfc-common.mjs.map +1 -1
- package/lib/components/close/close.component.d.ts +5 -0
- package/lib/components/index.d.ts +9 -0
- package/lib/components/modal/modal.component.d.ts +3 -4
- package/lib/components/pagination/models/pagination-view.model.d.ts +12 -0
- package/lib/components/pagination/pagination.component.d.ts +29 -0
- package/lib/components/pagination/pagination.constants.d.ts +5 -0
- package/lib/components/pagination/service/pagination.event.d.ts +6 -0
- package/lib/components/pagination/service/pagination.service.d.ts +25 -0
- package/lib/components/sorting/service/sorting.event.d.ts +5 -0
- package/lib/components/sorting/service/sorting.service.d.ts +9 -0
- package/lib/components/sorting/sorting.component.d.ts +21 -0
- package/lib/components/sorting/sorting.constants.d.ts +4 -0
- package/lib/components/sorting/sorting.model.d.ts +11 -0
- package/lib/components/template-content/template-content.component.d.ts +14 -0
- package/lib/constants/common.constants.d.ts +1 -0
- package/lib/constants/ui.constants.d.ts +5 -2
- package/lib/directives/destroy-parent/destroy-parent.directive.d.ts +10 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/enums/direction.enum.d.ts +7 -0
- package/lib/enums/index.d.ts +7 -1
- package/lib/enums/media.enum.d.ts +8 -0
- package/lib/enums/position.enum.d.ts +10 -0
- package/lib/enums/size.enum.d.ts +9 -0
- package/lib/enums/sorting-direction.enum.d.ts +7 -0
- package/lib/enums/theme.enum.d.ts +7 -0
- package/lib/enums/ui.enum.d.ts +24 -0
- package/lib/ngx-sfc-common.module.d.ts +21 -16
- package/lib/utils/common.utils.d.ts +6 -0
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/ui.utils.d.ts +21 -0
- package/package.json +14 -17
- package/esm2020/lib/enums/common.enums.mjs +0 -69
- 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).
|
|
@@ -210,6 +222,14 @@ 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,6 +387,84 @@ 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.
|
|
@@ -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
|
+
```
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
// default
|
|
1
2
|
$color-default: #545e61 !default;
|
|
2
3
|
$color-hover-default: #2bbbad !default;
|
|
3
4
|
$color-disabled-default: #bdbdbd !default;
|
|
4
|
-
$color-filled-default: #fff !default;
|
|
5
|
-
$color-filled-fade-default: #f5f7fa !default;
|
|
6
|
-
$color-filled-fade-1-default: #e6e9ed !default;
|
|
7
|
-
$color-filled-fade-2-default: #434a54 !default;
|
|
8
|
-
$color-filled-fade-3-default: #34323d !default;
|
|
9
|
-
$color-hover-filled-default: #aab2bd !default;
|
|
10
|
-
$color-shadow-default: #0003 !default;
|
|
11
5
|
$background-gradient-default: linear-gradient(
|
|
12
6
|
to right,
|
|
13
7
|
rgb(0 0 0 / 0%) 0%,
|
|
@@ -15,13 +9,10 @@ $background-gradient-default: linear-gradient(
|
|
|
15
9
|
rgb(0 0 0 / 30%) 83%,
|
|
16
10
|
rgb(0 0 0 / 0%) 100%
|
|
17
11
|
);
|
|
18
|
-
$color-background-default: #0009;
|
|
19
12
|
|
|
13
|
+
// default
|
|
20
14
|
$color-dark: #ccd1d9 !default;
|
|
21
15
|
$color-disabled-dark: #656d78 !default;
|
|
22
|
-
$color-filled-dark: #656d78 !default;
|
|
23
|
-
$color-hover-filled-dark: #aab2bd !default;
|
|
24
|
-
$color-disabled-filled-dark: #bdbdbd !default;
|
|
25
16
|
$background-gradient-dark: linear-gradient(
|
|
26
17
|
to right,
|
|
27
18
|
rgb(255 255 255 / 0%) 0%,
|
|
@@ -30,10 +21,57 @@ $background-gradient-dark: linear-gradient(
|
|
|
30
21
|
rgb(255 255 255 / 0%) 100%
|
|
31
22
|
);
|
|
32
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;
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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;
|
|
37
75
|
}
|
|
38
76
|
|
|
39
77
|
@mixin theme-value($property, $value-common, $value-dark, $selector: "&") {
|
|
@@ -54,3 +92,4 @@ $background-gradient-dark: linear-gradient(
|
|
|
54
92
|
opacity: 0;
|
|
55
93
|
}
|
|
56
94
|
}
|
|
95
|
+
|
|
@@ -19,11 +19,11 @@ export class ButtonComponent {
|
|
|
19
19
|
return classes;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
23
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
22
|
+
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
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 <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:.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}: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.7", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
25
25
|
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:.
|
|
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:.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}: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
27
|
}], propDecorators: { text: [{
|
|
28
28
|
type: Input
|
|
29
29
|
}], iconBefore: [{
|
|
@@ -8,11 +8,11 @@ export class CheckmarkComponent {
|
|
|
8
8
|
this.onClick = () => this.active = !this.active;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
CheckmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
12
|
-
CheckmarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
11
|
+
CheckmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CheckmarkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
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 <i class=\"{{icon}}\"></i>\r\n </span>\r\n</div>", styles: [":host{display:inline-block}: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 i{font-size:.8em;transition:opacity .3s ease}: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{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.7", ngImport: i0, type: CheckmarkComponent, decorators: [{
|
|
14
14
|
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
|
|
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-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 i{font-size:.8em;transition:opacity .3s ease}: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{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"] }]
|
|
16
16
|
}], propDecorators: { active: [{
|
|
17
17
|
type: Input
|
|
18
18
|
}, {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CloseComponent {
|
|
4
|
+
}
|
|
5
|
+
CloseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CloseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
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 <i class=\"fas fa-times\"></i>\r\n</div>", styles: [":host{color:#545e61;cursor:pointer}:host:hover{color:#2bbbad}\n"] });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CloseComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'sfc-close', template: "<div class=\"container\">\r\n <i class=\"fas fa-times\"></i>\r\n</div>", styles: [":host{color:#545e61;cursor:pointer}:host:hover{color:#2bbbad}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvc2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNmYy1jb21tb24vc3JjL2xpYi9jb21wb25lbnRzL2Nsb3NlL2Nsb3NlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9jbG9zZS9jbG9zZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8xQyxNQUFNLE9BQU8sY0FBYzs7MkdBQWQsY0FBYzsrRkFBZCxjQUFjLGlEQ1AzQiwyRUFFTTsyRkRLTyxjQUFjO2tCQUwxQixTQUFTOytCQUNFLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiAnc2ZjLWNsb3NlJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vY2xvc2UuY29tcG9uZW50Lmh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL2Nsb3NlLmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIENsb3NlQ29tcG9uZW50IHtcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiY29udGFpbmVyXCI+XHJcbiAgICA8aSBjbGFzcz1cImZhcyBmYS10aW1lc1wiPjwvaT5cclxuPC9kaXY+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
|
-
DelimeterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
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-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:.
|
|
9
|
+
args: [{ selector: 'sfc-delimeter', template: ``, styles: [":host{display:inline-block;width:100%;height:1px;margin:.3em 0}: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.
|
|
12
|
-
DotsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
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-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-context(.sfc-default-theme) :host:hover .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(
|
|
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-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-context(.sfc-default-theme) :host:hover .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,9 +7,9 @@ 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.
|
|
11
|
-
HamburgerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
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}: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
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"] }]
|
|
15
15
|
}], propDecorators: { open: [{
|
|
@@ -17,4 +17,10 @@ export { HamburgerComponent } from './hamburger/hamburger.component';
|
|
|
17
17
|
export { DotsComponent } from './dots/dots.component';
|
|
18
18
|
export { ToggleSwitcherComponent } from './toggle-switcher/toggle-switcher.component';
|
|
19
19
|
export { CheckmarkComponent } from './checkmark/checkmark.component';
|
|
20
|
-
|
|
20
|
+
export { TemplateContentComponent } from './template-content/template-content.component';
|
|
21
|
+
export { CloseComponent } from './close/close.component';
|
|
22
|
+
export { PaginationComponent } from './pagination/pagination.component';
|
|
23
|
+
export { PaginationService } from './pagination/service/pagination.service';
|
|
24
|
+
export { SortingComponent } from './sorting/sorting.component';
|
|
25
|
+
export { SortingService } from './sorting/service/sorting.service';
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtc2ZjLWNvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMvRC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
@@ -4,9 +4,9 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
export class BounceLoaderComponent extends LoaderBaseComponent {
|
|
6
6
|
}
|
|
7
|
-
BounceLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
8
|
-
BounceLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
7
|
+
BounceLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BounceLoaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
BounceLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: BounceLoaderComponent, selector: "sfc-bounce-loader", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"show$ | async\" class=\"preloader\" [ngClass]=\"preLoaderClasses\">\r\n <div class=\"spinner\">\r\n <div class=\"bounce\"></div>\r\n <div class=\"bounce\"></div>\r\n <div class=\"bounce\"></div>\r\n </div>\r\n</div>", styles: [".preloader{position:relative;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.preloader.background{opacity:.7}:host-context(.sfc-default-theme) .preloader.background{background-color:#fff}:host-context(.sfc-dark-theme) .preloader.background{background-color:#656d78}.preloader.global{z-index:9999;position:fixed}.preloader.local{z-index:9998;position:absolute}\n", ".spinner{text-align:center}.spinner .bounce{border-radius:100%;display:inline-block;animation:bounce-delay 1.4s infinite ease-in-out both;width:1em;height:1em}:host-context(.sfc-default-theme) .spinner .bounce{background-color:#545e61}:host-context(.sfc-dark-theme) .spinner .bounce{background-color:#fff}.spinner .bounce:nth-child(1){animation-delay:-.32s}.spinner .bounce:nth-child(2){animation-delay:-.16s}@keyframes bounce-delay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1.AsyncPipe } });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BounceLoaderComponent, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{ selector: 'sfc-bounce-loader', template: "<div *ngIf=\"show$ | async\" class=\"preloader\" [ngClass]=\"preLoaderClasses\">\r\n <div class=\"spinner\">\r\n <div class=\"bounce\"></div>\r\n <div class=\"bounce\"></div>\r\n <div class=\"bounce\"></div>\r\n </div>\r\n</div>", styles: [".preloader{position:relative;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.preloader.background{opacity:.7}:host-context(.sfc-default-theme) .preloader.background{background-color:#fff}:host-context(.sfc-dark-theme) .preloader.background{background-color:#656d78}.preloader.global{z-index:9999;position:fixed}.preloader.local{z-index:9998;position:absolute}\n", ".spinner{text-align:center}.spinner .bounce{border-radius:100%;display:inline-block;animation:bounce-delay 1.4s infinite ease-in-out both;width:1em;height:1em}:host-context(.sfc-default-theme) .spinner .bounce{background-color:#545e61}:host-context(.sfc-dark-theme) .spinner .bounce{background-color:#fff}.spinner .bounce:nth-child(1){animation-delay:-.32s}.spinner .bounce:nth-child(2){animation-delay:-.16s}@keyframes bounce-delay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}\n"] }]
|
|
12
12
|
}] });
|
|
@@ -9,9 +9,9 @@ export class CircleLoaderComponent extends LoaderBaseComponent {
|
|
|
9
9
|
this.type = CircleLoaderType.Default;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
CircleLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
13
|
-
CircleLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
12
|
+
CircleLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CircleLoaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
CircleLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CircleLoaderComponent, selector: "sfc-circle-loader", inputs: { type: "type" }, usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"show$ | async\" class=\"preloader\" [ngClass]=\"preLoaderClasses\">\r\n <div class=\"circles-container\" [ngClass]=\"type\">\r\n <div class=\"circle1\"></div>\r\n <div class=\"circle2\"></div>\r\n <div class=\"circle3\"></div>\r\n <div class=\"circle4\"></div>\r\n <div class=\"circle5\"></div>\r\n <div class=\"circle6\"></div>\r\n <div class=\"circle7\"></div>\r\n <div class=\"circle8\"></div>\r\n <div class=\"circle9\"></div>\r\n <div class=\"circle10\"></div>\r\n <div class=\"circle11\"></div>\r\n <div class=\"circle12\"></div>\r\n </div>\r\n</div>", styles: [".preloader{position:relative;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.preloader.background{opacity:.7}:host-context(.sfc-default-theme) .preloader.background{background-color:#fff}:host-context(.sfc-dark-theme) .preloader.background{background-color:#656d78}.preloader.global{z-index:9999;position:fixed}.preloader.local{z-index:9998;position:absolute}\n", ".circles-container{position:relative;width:2.5em;height:2.5em}.circles-container div{width:100%;height:100%;position:absolute;left:0;top:0}.circles-container div:before{content:\"\";display:block;margin:0 auto;width:15%;height:15%;border-radius:100%;animation:bounce-delay 1.2s infinite ease-in-out both}:host-context(.sfc-default-theme) .circles-container div:before{background-color:#545e61}:host-context(.sfc-dark-theme) .circles-container div:before{background-color:#fff}.circles-container.fading div:before{animation-name:circle-fade-delay}.circles-container .circle2{transform:rotate(30deg)}.circles-container .circle2:before{animation-delay:-1.1s}.circles-container .circle3{transform:rotate(60deg)}.circles-container .circle3:before{animation-delay:-1s}.circles-container .circle4{transform:rotate(90deg)}.circles-container .circle4:before{animation-delay:-.9s}.circles-container .circle5{transform:rotate(120deg)}.circles-container .circle5:before{animation-delay:-.8s}.circles-container .circle6{transform:rotate(150deg)}.circles-container .circle6:before{animation-delay:-.7s}.circles-container .circle7{transform:rotate(180deg)}.circles-container .circle7:before{animation-delay:-.6s}.circles-container .circle8{transform:rotate(210deg)}.circles-container .circle8:before{animation-delay:-.5s}.circles-container .circle9{transform:rotate(240deg)}.circles-container .circle9:before{animation-delay:-.4s}.circles-container .circle10{transform:rotate(270deg)}.circles-container .circle10:before{animation-delay:-.3s}.circles-container .circle11{transform:rotate(300deg)}.circles-container .circle11:before{animation-delay:-.2s}.circles-container .circle12{transform:rotate(330deg)}.circles-container .circle12:before{animation-delay:-.1s}@keyframes bounce-delay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes circle-fade-delay{0%,39%,to{opacity:0}40%{opacity:1}}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i1.AsyncPipe } });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CircleLoaderComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'sfc-circle-loader', template: "<div *ngIf=\"show$ | async\" class=\"preloader\" [ngClass]=\"preLoaderClasses\">\r\n <div class=\"circles-container\" [ngClass]=\"type\">\r\n <div class=\"circle1\"></div>\r\n <div class=\"circle2\"></div>\r\n <div class=\"circle3\"></div>\r\n <div class=\"circle4\"></div>\r\n <div class=\"circle5\"></div>\r\n <div class=\"circle6\"></div>\r\n <div class=\"circle7\"></div>\r\n <div class=\"circle8\"></div>\r\n <div class=\"circle9\"></div>\r\n <div class=\"circle10\"></div>\r\n <div class=\"circle11\"></div>\r\n <div class=\"circle12\"></div>\r\n </div>\r\n</div>", styles: [".preloader{position:relative;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.preloader.background{opacity:.7}:host-context(.sfc-default-theme) .preloader.background{background-color:#fff}:host-context(.sfc-dark-theme) .preloader.background{background-color:#656d78}.preloader.global{z-index:9999;position:fixed}.preloader.local{z-index:9998;position:absolute}\n", ".circles-container{position:relative;width:2.5em;height:2.5em}.circles-container div{width:100%;height:100%;position:absolute;left:0;top:0}.circles-container div:before{content:\"\";display:block;margin:0 auto;width:15%;height:15%;border-radius:100%;animation:bounce-delay 1.2s infinite ease-in-out both}:host-context(.sfc-default-theme) .circles-container div:before{background-color:#545e61}:host-context(.sfc-dark-theme) .circles-container div:before{background-color:#fff}.circles-container.fading div:before{animation-name:circle-fade-delay}.circles-container .circle2{transform:rotate(30deg)}.circles-container .circle2:before{animation-delay:-1.1s}.circles-container .circle3{transform:rotate(60deg)}.circles-container .circle3:before{animation-delay:-1s}.circles-container .circle4{transform:rotate(90deg)}.circles-container .circle4:before{animation-delay:-.9s}.circles-container .circle5{transform:rotate(120deg)}.circles-container .circle5:before{animation-delay:-.8s}.circles-container .circle6{transform:rotate(150deg)}.circles-container .circle6:before{animation-delay:-.7s}.circles-container .circle7{transform:rotate(180deg)}.circles-container .circle7:before{animation-delay:-.6s}.circles-container .circle8{transform:rotate(210deg)}.circles-container .circle8:before{animation-delay:-.5s}.circles-container .circle9{transform:rotate(240deg)}.circles-container .circle9:before{animation-delay:-.4s}.circles-container .circle10{transform:rotate(270deg)}.circles-container .circle10:before{animation-delay:-.3s}.circles-container .circle11{transform:rotate(300deg)}.circles-container .circle11:before{animation-delay:-.2s}.circles-container .circle12{transform:rotate(330deg)}.circles-container .circle12:before{animation-delay:-.1s}@keyframes bounce-delay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes circle-fade-delay{0%,39%,to{opacity:0}40%{opacity:1}}\n"] }]
|
|
17
17
|
}], propDecorators: { type: [{
|
|
@@ -37,9 +37,9 @@ export class LoaderBaseComponent {
|
|
|
37
37
|
return classes;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
LoaderBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
41
|
-
LoaderBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
40
|
+
LoaderBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderBaseComponent, deps: [{ token: i1.LoaderService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
LoaderBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: LoaderBaseComponent, inputs: { id: "id", start: "start", background: "background" }, ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderBaseComponent, decorators: [{
|
|
43
43
|
type: Directive
|
|
44
44
|
}], ctorParameters: function () { return [{ type: i1.LoaderService }]; }, propDecorators: { id: [{
|
|
45
45
|
type: Input
|