ngx-sfc-common 0.0.5 → 0.0.7
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/esm2020/lib/components/button/button.component.mjs +6 -6
- package/esm2020/lib/components/checkmark/checkmark.component.mjs +6 -6
- package/esm2020/lib/components/close/close.component.mjs +4 -4
- package/esm2020/lib/components/delimeter/delimeter.component.mjs +16 -7
- package/esm2020/lib/components/dots/dots.component.mjs +4 -4
- package/esm2020/lib/components/hamburger/default/hamburger.component.mjs +12 -0
- package/esm2020/lib/components/hamburger/hamburger-base.component.mjs +23 -0
- package/esm2020/lib/components/hamburger/menu/hamburger-menu.component.mjs +18 -0
- package/esm2020/lib/components/icon/icon.component.mjs +21 -0
- package/esm2020/lib/components/index.mjs +4 -2
- package/esm2020/lib/components/load-container/load-container.component.mjs +9 -9
- package/esm2020/lib/components/load-container/service/load-more.service.mjs +3 -3
- package/esm2020/lib/components/load-more-button/load-more-button.component.mjs +7 -7
- 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/click/modal-open-on-click.directive.mjs +3 -3
- package/esm2020/lib/components/modal/directive/open/modal-open.directive.mjs +3 -3
- package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +6 -6
- package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +6 -6
- package/esm2020/lib/components/modal/modal.component.mjs +4 -4
- package/esm2020/lib/components/modal/service/modal.service.mjs +3 -3
- package/esm2020/lib/components/pagination/pagination.component.mjs +7 -7
- package/esm2020/lib/components/pagination/service/pagination.service.mjs +3 -3
- package/esm2020/lib/components/sorting/service/sorting.service.mjs +3 -3
- package/esm2020/lib/components/sorting/sorting.component.mjs +6 -6
- package/esm2020/lib/components/template-content/template-content.component.mjs +5 -5
- package/esm2020/lib/components/toggle-switcher/toggle-switcher.component.mjs +5 -5
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +4 -4
- package/esm2020/lib/constants/ui.constants.mjs +2 -1
- package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +4 -4
- package/esm2020/lib/directives/component-size/component-size.directive.mjs +3 -3
- package/esm2020/lib/directives/destroy-parent/destroy-parent.directive.mjs +3 -3
- package/esm2020/lib/directives/dom-changes/dom-changes.directive.mjs +3 -3
- package/esm2020/lib/directives/mouse-down/mouse-down.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-into-view/scroll-into-view.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-tracker/scroll-tracker.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/media.enum.mjs +7 -4
- package/esm2020/lib/ngx-sfc-common.module.mjs +16 -10
- package/esm2020/lib/pipes/switch-multi-case/switch-multi-case.pipe.mjs +3 -3
- package/esm2020/lib/services/document-ref.service.mjs +3 -3
- package/esm2020/lib/services/resize.service.mjs +3 -3
- package/esm2020/lib/services/window-ref.service.mjs +3 -3
- package/fesm2015/ngx-sfc-common.mjs +204 -147
- package/fesm2015/ngx-sfc-common.mjs.map +1 -1
- package/fesm2020/ngx-sfc-common.mjs +204 -147
- package/fesm2020/ngx-sfc-common.mjs.map +1 -1
- package/{ngx-sfc-common.d.ts → index.d.ts} +0 -0
- package/lib/components/button/button.component.d.ts +1 -1
- package/lib/components/checkmark/checkmark.component.d.ts +1 -1
- package/lib/components/close/close.component.d.ts +1 -1
- package/lib/components/delimeter/delimeter.component.d.ts +3 -1
- package/lib/components/dots/dots.component.d.ts +1 -1
- package/lib/components/hamburger/default/hamburger.component.d.ts +6 -0
- package/lib/components/hamburger/hamburger-base.component.d.ts +7 -0
- package/lib/components/hamburger/menu/hamburger-menu.component.d.ts +7 -0
- package/lib/components/icon/icon.component.d.ts +9 -0
- package/lib/components/index.d.ts +3 -1
- package/lib/components/load-container/load-container.component.d.ts +1 -1
- package/lib/components/load-more-button/load-more-button.component.d.ts +1 -1
- package/lib/components/loader/bounce/bounce-loader.component.d.ts +1 -1
- package/lib/components/loader/circle/circle-loader.component.d.ts +1 -1
- package/lib/components/loader/loader-base.component.d.ts +1 -1
- package/lib/components/modal/directive/click/modal-open-on-click.directive.d.ts +1 -1
- package/lib/components/modal/directive/open/modal-open.directive.d.ts +1 -1
- package/lib/components/modal/footer/default/default-modal-footer.component.d.ts +1 -1
- package/lib/components/modal/header/default/default-modal-header.component.d.ts +1 -1
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/pagination/pagination.component.d.ts +1 -1
- package/lib/components/sorting/sorting.component.d.ts +1 -1
- package/lib/components/template-content/template-content.component.d.ts +1 -1
- package/lib/components/toggle-switcher/toggle-switcher.component.d.ts +1 -1
- package/lib/components/tooltip/tooltip.component.d.ts +1 -1
- package/lib/constants/ui.constants.d.ts +1 -0
- package/lib/directives/click-outside/click-outside.directive.d.ts +1 -1
- package/lib/directives/component-size/component-size.directive.d.ts +1 -1
- package/lib/directives/destroy-parent/destroy-parent.directive.d.ts +1 -1
- package/lib/directives/dom-changes/dom-changes.directive.d.ts +1 -1
- package/lib/directives/mouse-down/mouse-down.directive.d.ts +1 -1
- package/lib/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/lib/directives/scroll-tracker/scroll-tracker.directive.d.ts +1 -1
- package/lib/directives/show-hide-element/show-hide-element.directive.d.ts +1 -1
- package/lib/directives/template-reference/template-reference.directive.d.ts +1 -1
- package/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.d.ts +1 -1
- package/lib/enums/media.enum.d.ts +6 -3
- package/lib/ngx-sfc-common.module.d.ts +20 -18
- package/lib/pipes/switch-multi-case/switch-multi-case.pipe.d.ts +1 -1
- package/package.json +5 -5
- package/styles/_colors.scss +48 -0
- package/styles/_index.scss +2 -0
- package/styles/_mixins.scss +48 -0
- package/styles/_variables.scss +7 -0
- package/styles/themes/_dark.scss +17 -0
- package/styles/themes/_default.scss +18 -0
- package/styles/themes/_yellow.scss +3 -0
- package/_ngx-sfc-common.styles.scss +0 -121
- package/esm2020/lib/components/hamburger/hamburger.component.mjs +0 -24
- package/lib/components/hamburger/hamburger.component.d.ts +0 -7
|
File without changes
|
|
@@ -10,5 +10,5 @@ export declare class ButtonComponent {
|
|
|
10
10
|
types: Array<ButtonType>;
|
|
11
11
|
get classes(): any;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "sfc-button", never, { "text": "text"; "iconBefore": "iconBefore"; "iconAfter": "iconAfter"; "disabled": "disabled"; "types": "types"; }, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "sfc-button", never, { "text": "text"; "iconBefore": "iconBefore"; "iconAfter": "iconAfter"; "disabled": "disabled"; "types": "types"; }, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -8,5 +8,5 @@ export declare class CheckmarkComponent {
|
|
|
8
8
|
type: CheckmarkType;
|
|
9
9
|
showNotActive: boolean;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckmarkComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckmarkComponent, "sfc-checkmark", never, { "active": "active"; "disabled": "disabled"; "icon": "icon"; "type": "type"; "showNotActive": "showNotActive"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckmarkComponent, "sfc-checkmark", never, { "active": "active"; "disabled": "disabled"; "icon": "icon"; "type": "type"; "showNotActive": "showNotActive"; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class CloseComponent {
|
|
3
3
|
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<CloseComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CloseComponent, "sfc-close", never, {}, {}, never, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CloseComponent, "sfc-close", never, {}, {}, never, never, false, never>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Direction } from '../../enums';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DelimeterComponent {
|
|
4
|
+
direction: Direction;
|
|
3
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DelimeterComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DelimeterComponent, "sfc-delimeter", never, {}, {}, never, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DelimeterComponent, "sfc-delimeter", never, { "direction": "direction"; }, {}, never, never, false, never>;
|
|
5
7
|
}
|
|
@@ -5,5 +5,5 @@ export declare class DotsComponent {
|
|
|
5
5
|
direction: Direction;
|
|
6
6
|
onClick: () => boolean;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DotsComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DotsComponent, "sfc-dots", never, { "open": "open"; "direction": "direction"; }, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DotsComponent, "sfc-dots", never, { "open": "open"; "direction": "direction"; }, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HamburgerBaseComponent } from '../hamburger-base.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HamburgerComponent extends HamburgerBaseComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HamburgerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HamburgerComponent, "sfc-hamburger", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare abstract class HamburgerBaseComponent {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClick: () => boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HamburgerBaseComponent, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HamburgerBaseComponent, never, never, { "open": "open"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HamburgerBaseComponent } from '../hamburger-base.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HamburgerMenuComponent extends HamburgerBaseComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HamburgerMenuComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HamburgerMenuComponent, "sfc-hamburger-menu", never, { "label": "label"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IconComponent {
|
|
4
|
+
icon?: IconDefinition;
|
|
5
|
+
imageSrc?: string;
|
|
6
|
+
get showImage(): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "sfc-icon", never, { "icon": "icon"; "imageSrc": "imageSrc"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -17,7 +17,8 @@ export { DefaultModalFooterComponent } from './modal/footer/default/default-moda
|
|
|
17
17
|
export { IDefaultModalFooterModel } from './modal/footer/default/default-modal-footer.model';
|
|
18
18
|
export { IDefaultModalHeaderModel } from './modal/header/default/default-modal-header.model';
|
|
19
19
|
export { ModalTemplate } from './modal/modal-template.enum';
|
|
20
|
-
export { HamburgerComponent } from './hamburger/hamburger.component';
|
|
20
|
+
export { HamburgerComponent } from './hamburger/default/hamburger.component';
|
|
21
|
+
export { HamburgerMenuComponent } from './hamburger/menu/hamburger-menu.component';
|
|
21
22
|
export { DotsComponent } from './dots/dots.component';
|
|
22
23
|
export { ToggleSwitcherComponent } from './toggle-switcher/toggle-switcher.component';
|
|
23
24
|
export { IToggleSwitcherModel } from './toggle-switcher/toggle-switcher.model';
|
|
@@ -38,3 +39,4 @@ export { LoadContainerType } from './load-container/load-container.enum';
|
|
|
38
39
|
export { LoaderFunction, FilterFunction, ILoadContainerModel } from './load-container/models/load-container.model';
|
|
39
40
|
export { ILoadMoreParameters } from './load-container/models/load-more-parameters.model';
|
|
40
41
|
export { ILoadMoreModel } from './load-container/models/load-more.model';
|
|
42
|
+
export { IconComponent } from './icon/icon.component';
|
|
@@ -45,5 +45,5 @@ export declare class LoadContainerComponent implements OnDestroy {
|
|
|
45
45
|
private buildDynamic;
|
|
46
46
|
private buildStatic;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadContainerComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadContainerComponent, "sfc-load-container", never, { "id": "id"; "type": "type"; "open": "open"; "size": "size"; "loadMore": "loadMore"; "showEmpty": "showEmpty"; "showLoadMoreButton": "showLoadMoreButton"; "loadMoreLabel": "loadMoreLabel"; "notFoundLabel": "notFoundLabel"; "model": "model"; "scrollTarget": "scrollTarget"; }, { "handleError": "handleError"; "handleSuccess": "handleSuccess"; "handleLoading": "handleLoading"; }, never, ["*"]>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadContainerComponent, "sfc-load-container", never, { "id": "id"; "type": "type"; "open": "open"; "size": "size"; "loadMore": "loadMore"; "showEmpty": "showEmpty"; "showLoadMoreButton": "showLoadMoreButton"; "loadMoreLabel": "loadMoreLabel"; "notFoundLabel": "notFoundLabel"; "model": "model"; "scrollTarget": "scrollTarget"; }, { "handleError": "handleError"; "handleSuccess": "handleSuccess"; "handleLoading": "handleLoading"; }, never, ["*"], false, never>;
|
|
49
49
|
}
|
|
@@ -8,5 +8,5 @@ export declare class LoadMoreButtonComponent implements OnInit {
|
|
|
8
8
|
more: EventEmitter<MouseEvent>;
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadMoreButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadMoreButtonComponent, "sfc-load-more-button", never, { "label": "label"; "icon": "icon"; }, { "more": "more"; }, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadMoreButtonComponent, "sfc-load-more-button", never, { "label": "label"; "icon": "icon"; }, { "more": "more"; }, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -2,5 +2,5 @@ import { LoaderBaseComponent } from '../loader-base.component';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BounceLoaderComponent extends LoaderBaseComponent {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BounceLoaderComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BounceLoaderComponent, "sfc-bounce-loader", never, {}, {}, never, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BounceLoaderComponent, "sfc-bounce-loader", never, {}, {}, never, never, false, never>;
|
|
6
6
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class CircleLoaderComponent extends LoaderBaseComponent {
|
|
5
5
|
type: CircleLoaderType;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<CircleLoaderComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CircleLoaderComponent, "sfc-circle-loader", never, { "type": "type"; }, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircleLoaderComponent, "sfc-circle-loader", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -23,5 +23,5 @@ export declare abstract class LoaderBaseComponent implements OnInit {
|
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
get preLoaderClasses(): any;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderBaseComponent, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderBaseComponent, never, never, { "id": "id"; "start": "start"; "background": "background"; }, {}, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderBaseComponent, never, never, { "id": "id"; "start": "start"; "background": "background"; }, {}, never, never, false, never>;
|
|
27
27
|
}
|
|
@@ -13,5 +13,5 @@ export declare class ModalOpenOnClickDirective implements OnInit, OnDestroy {
|
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOpenOnClickDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenOnClickDirective, "[sfcModalOpenOnClick]", never, { "modalOpenOnClick": "sfcModalOpenOnClick"; }, {}, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenOnClickDirective, "[sfcModalOpenOnClick]", never, { "modalOpenOnClick": "sfcModalOpenOnClick"; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -10,5 +10,5 @@ export declare class ModalOpenDirective implements OnDestroy {
|
|
|
10
10
|
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, modalService: ModalService);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOpenDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenDirective, "[sfcModalOpen]", never, {}, {}, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenDirective, "[sfcModalOpen]", never, {}, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -15,5 +15,5 @@ export declare class DefaultModalFooterComponent implements OnInit {
|
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
onButtonClick(isCancelButton?: boolean): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultModalFooterComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalFooterComponent, "sfc-default-modal-footer", never, { "model": "model"; }, {}, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalFooterComponent, "sfc-default-modal-footer", never, { "model": "model"; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DefaultModalHeaderComponent implements OnInit {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
onClose(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultModalHeaderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalHeaderComponent, "sfc-default-modal-header", never, { "model": "model"; }, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalHeaderComponent, "sfc-default-modal-header", never, { "model": "model"; }, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -20,5 +20,5 @@ export declare class ModalComponent {
|
|
|
20
20
|
constructor(modalService: ModalService);
|
|
21
21
|
close(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "sfc-modal", never, { "body": "body"; "header": "header"; "footer": "footer"; "defaultHeaderModel": "defaultHeaderModel"; "defaultFooterModel": "defaultFooterModel"; "hideOnEsc": "hideOnEsc"; "hideOnClickOutside": "hideOnClickOutside"; }, {}, ["templates"], never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "sfc-modal", never, { "body": "body"; "header": "header"; "footer": "footer"; "defaultHeaderModel": "defaultHeaderModel"; "defaultFooterModel": "defaultFooterModel"; "hideOnEsc": "hideOnEsc"; "hideOnClickOutside": "hideOnClickOutside"; }, {}, ["templates"], never, false, never>;
|
|
24
24
|
}
|
|
@@ -27,5 +27,5 @@ export declare class PaginationComponent implements OnInit {
|
|
|
27
27
|
private initRange;
|
|
28
28
|
private range;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "sfc-pagination", never, { "count": "count"; "full": "full"; "limits": "limits"; "data$": "data$"; }, {}, never, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "sfc-pagination", never, { "count": "count"; "full": "full"; "limits": "limits"; "data$": "data$"; }, {}, never, never, false, never>;
|
|
31
31
|
}
|
|
@@ -18,5 +18,5 @@ export declare class SortingComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortingComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortingComponent, "sfc-sorting", never, { "id": "id"; "model": "model"; }, {}, never, ["*"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortingComponent, "sfc-sorting", never, { "id": "id"; "model": "model"; }, {}, never, ["*"], false, never>;
|
|
22
22
|
}
|
|
@@ -10,5 +10,5 @@ export declare class TemplateContentComponent {
|
|
|
10
10
|
get showDefault(): boolean;
|
|
11
11
|
get templateContent(): TemplateRef<any> | null;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContentComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentComponent, "sfc-template-content", never, { "contextData": "contextData"; "referenceContent": "referenceContent"; "templateType": "templateType"; "templatesContent": "templatesContent"; "defaultContent": "defaultContent"; }, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateContentComponent, "sfc-template-content", never, { "contextData": "contextData"; "referenceContent": "referenceContent"; "templateType": "templateType"; "templatesContent": "templatesContent"; "defaultContent": "defaultContent"; }, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ToggleSwitcherComponent {
|
|
|
8
8
|
onClick: () => boolean;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitcherComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitcherComponent, "sfc-toggle-switcher", never, { "active": "active"; "disabled": "disabled"; "leftModel": "leftModel"; "rightModel": "rightModel"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitcherComponent, "sfc-toggle-switcher", never, { "active": "active"; "disabled": "disabled"; "leftModel": "leftModel"; "rightModel": "rightModel"; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -18,5 +18,5 @@ export declare class TooltipComponent implements OnInit, OnDestroy, AfterContent
|
|
|
18
18
|
ngAfterContentInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "[sfc-tooltip]", never, { "value": "sfc-tooltip"; "tooltipType": "tooltipType"; "tooltipPosition": "tooltipPosition"; "tooltipShow": "tooltipShow"; }, {}, never, ["*"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "[sfc-tooltip]", never, { "value": "sfc-tooltip"; "tooltipType": "tooltipType"; "tooltipPosition": "tooltipPosition"; "tooltipShow": "tooltipShow"; }, {}, never, ["*"], false, never>;
|
|
22
22
|
}
|
|
@@ -19,5 +19,5 @@ export declare class ClickOutsideDirective implements OnInit, OnDestroy {
|
|
|
19
19
|
private onClick;
|
|
20
20
|
private isDescendant;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[sfcClickOutside]", never, { "listening": "sfcClickOutside"; }, { "action": "action"; }, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[sfcClickOutside]", never, { "listening": "sfcClickOutside"; }, { "action": "action"; }, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -14,5 +14,5 @@ export declare class ComponentSizeDirective {
|
|
|
14
14
|
constructor(el: ElementRef);
|
|
15
15
|
private getSizeProportion;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentSizeDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentSizeDirective, "[sfcComponentSize]", never, { "size": "sfcComponentSize"; "customSize": "customSize"; }, {}, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentSizeDirective, "[sfcComponentSize]", never, { "size": "sfcComponentSize"; "customSize": "customSize"; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -6,5 +6,5 @@ export declare class DestroyParentDirective {
|
|
|
6
6
|
delay: number;
|
|
7
7
|
constructor(el: ElementRef);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DestroyParentDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DestroyParentDirective, "[sfcDestroyParent]", never, { "destroyParent": "sfcDestroyParent"; "delay": "delay"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DestroyParentDirective, "[sfcDestroyParent]", never, { "destroyParent": "sfcDestroyParent"; "delay": "delay"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export declare class DomChangesDirective implements OnDestroy {
|
|
|
8
8
|
constructor(elementRef: ElementRef);
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DomChangesDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DomChangesDirective, "[sfcDomChanges]", never, { "options": "options"; }, { "sfcDomChanges": "sfcDomChanges"; }, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DomChangesDirective, "[sfcDomChanges]", never, { "options": "options"; }, { "sfcDomChanges": "sfcDomChanges"; }, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class MouseDownDirective {
|
|
|
8
8
|
action: EventEmitter<MouseEvent>;
|
|
9
9
|
onMouseDown($event: MouseEvent): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MouseDownDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseDownDirective, "[sfcMouseDown]", never, { "button": "button"; }, { "action": "sfcMouseDown"; }, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MouseDownDirective, "[sfcMouseDown]", never, { "button": "button"; }, { "action": "sfcMouseDown"; }, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -3,5 +3,5 @@ export declare class ScrollIntoViewDirective {
|
|
|
3
3
|
set sfcScrollIntoView(value: HTMLElement);
|
|
4
4
|
options: ScrollIntoViewOptions;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollIntoViewDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollIntoViewDirective, "[sfcScrollIntoView]", never, { "sfcScrollIntoView": "sfcScrollIntoView"; "options": "options"; }, {}, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollIntoViewDirective, "[sfcScrollIntoView]", never, { "sfcScrollIntoView": "sfcScrollIntoView"; "options": "options"; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
|
@@ -7,5 +7,5 @@ export declare class ScrollTrackerDirective {
|
|
|
7
7
|
private onScroll;
|
|
8
8
|
private getPosition;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollTrackerDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollTrackerDirective, "[sfcScrollTracker]", never, { "positions": "positions"; }, { "sfcScrollTracker": "sfcScrollTracker"; }, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollTrackerDirective, "[sfcScrollTracker]", never, { "positions": "positions"; }, { "sfcScrollTracker": "sfcScrollTracker"; }, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -9,5 +9,5 @@ export declare class ShowHideElementDirective {
|
|
|
9
9
|
constructor(el: ElementRef);
|
|
10
10
|
private getTransitionValue;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShowHideElementDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowHideElementDirective, "[sfcShowHideElement]", never, { "showHideElement": "sfcShowHideElement"; "delay": "delay"; }, {}, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowHideElementDirective, "[sfcShowHideElement]", never, { "showHideElement": "sfcShowHideElement"; "delay": "delay"; }, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -6,5 +6,5 @@ export declare class TemplateReferenceDirective {
|
|
|
6
6
|
data: any;
|
|
7
7
|
constructor(template: TemplateRef<any>);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateReferenceDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateReferenceDirective, "[sfcTemplateReference]", never, { "templateName": "sfcTemplateReference"; "data": "data"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateReferenceDirective, "[sfcTemplateReference]", never, { "templateName": "sfcTemplateReference"; "data": "data"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -9,5 +9,5 @@ export declare class ThrowElementOnHoverDirective {
|
|
|
9
9
|
constructor(el: ElementRef);
|
|
10
10
|
private throw;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThrowElementOnHoverDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThrowElementOnHoverDirective, "[sfcThrowElementOnHover]", never, { "throwValue": "sfcThrowElementOnHover"; }, {}, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThrowElementOnHoverDirective, "[sfcThrowElementOnHover]", never, { "throwValue": "sfcThrowElementOnHover"; }, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -16,25 +16,27 @@ import * as i14 from "./components/toggle-switcher/toggle-switcher.component";
|
|
|
16
16
|
import * as i15 from "./components/checkmark/checkmark.component";
|
|
17
17
|
import * as i16 from "./components/template-content/template-content.component";
|
|
18
18
|
import * as i17 from "./components/close/close.component";
|
|
19
|
-
import * as i18 from "./components/hamburger/hamburger.component";
|
|
20
|
-
import * as i19 from "./components/
|
|
21
|
-
import * as i20 from "./components/
|
|
22
|
-
import * as i21 from "./components/
|
|
23
|
-
import * as i22 from "./components/
|
|
24
|
-
import * as i23 from "./components/load-
|
|
25
|
-
import * as i24 from "./components/
|
|
26
|
-
import * as i25 from "./components/
|
|
27
|
-
import * as i26 from "./components/
|
|
28
|
-
import * as i27 from "./components/
|
|
29
|
-
import * as i28 from "./components/modal/
|
|
30
|
-
import * as i29 from "./components/modal/
|
|
31
|
-
import * as i30 from "./components/modal/
|
|
32
|
-
import * as i31 from "./
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "@
|
|
19
|
+
import * as i18 from "./components/hamburger/default/hamburger.component";
|
|
20
|
+
import * as i19 from "./components/hamburger/menu/hamburger-menu.component";
|
|
21
|
+
import * as i20 from "./components/dots/dots.component";
|
|
22
|
+
import * as i21 from "./components/pagination/pagination.component";
|
|
23
|
+
import * as i22 from "./components/sorting/sorting.component";
|
|
24
|
+
import * as i23 from "./components/load-more-button/load-more-button.component";
|
|
25
|
+
import * as i24 from "./components/load-container/load-container.component";
|
|
26
|
+
import * as i25 from "./components/icon/icon.component";
|
|
27
|
+
import * as i26 from "./components/loader/bounce/bounce-loader.component";
|
|
28
|
+
import * as i27 from "./components/loader/circle/circle-loader.component";
|
|
29
|
+
import * as i28 from "./components/modal/modal.component";
|
|
30
|
+
import * as i29 from "./components/modal/directive/open/modal-open.directive";
|
|
31
|
+
import * as i30 from "./components/modal/directive/click/modal-open-on-click.directive";
|
|
32
|
+
import * as i31 from "./components/modal/header/default/default-modal-header.component";
|
|
33
|
+
import * as i32 from "./components/modal/footer/default/default-modal-footer.component";
|
|
34
|
+
import * as i33 from "./pipes/switch-multi-case/switch-multi-case.pipe";
|
|
35
|
+
import * as i34 from "@angular/common";
|
|
36
|
+
import * as i35 from "@angular/platform-browser/animations";
|
|
37
|
+
import * as i36 from "@fortawesome/angular-fontawesome";
|
|
36
38
|
export declare class NgxSfcCommonModule {
|
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSfcCommonModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSfcCommonModule, [typeof i1.ClickOutsideDirective, typeof i2.ShowHideElementDirective, typeof i3.ThrowElementOnHoverDirective, typeof i4.TemplateReferenceDirective, typeof i5.MouseDownDirective, typeof i6.ComponentSizeDirective, typeof i7.DestroyParentDirective, typeof i8.DomChangesDirective, typeof i9.ScrollTrackerDirective, typeof i10.ScrollIntoViewDirective, typeof i11.ButtonComponent, typeof i12.TooltipComponent, typeof i13.DelimeterComponent, typeof i14.ToggleSwitcherComponent, typeof i15.CheckmarkComponent, typeof i16.TemplateContentComponent, typeof i17.CloseComponent, typeof i18.HamburgerComponent, typeof i19.
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSfcCommonModule, [typeof i1.ClickOutsideDirective, typeof i2.ShowHideElementDirective, typeof i3.ThrowElementOnHoverDirective, typeof i4.TemplateReferenceDirective, typeof i5.MouseDownDirective, typeof i6.ComponentSizeDirective, typeof i7.DestroyParentDirective, typeof i8.DomChangesDirective, typeof i9.ScrollTrackerDirective, typeof i10.ScrollIntoViewDirective, typeof i11.ButtonComponent, typeof i12.TooltipComponent, typeof i13.DelimeterComponent, typeof i14.ToggleSwitcherComponent, typeof i15.CheckmarkComponent, typeof i16.TemplateContentComponent, typeof i17.CloseComponent, typeof i18.HamburgerComponent, typeof i19.HamburgerMenuComponent, typeof i20.DotsComponent, typeof i21.PaginationComponent, typeof i22.SortingComponent, typeof i23.LoadMoreButtonComponent, typeof i24.LoadContainerComponent, typeof i25.IconComponent, typeof i26.BounceLoaderComponent, typeof i27.CircleLoaderComponent, typeof i28.ModalComponent, typeof i29.ModalOpenDirective, typeof i30.ModalOpenOnClickDirective, typeof i31.DefaultModalHeaderComponent, typeof i32.DefaultModalFooterComponent, typeof i33.SwitchMultiCasePipe], [typeof i34.CommonModule, typeof i35.BrowserAnimationsModule, typeof i36.FontAwesomeModule], [typeof i1.ClickOutsideDirective, typeof i2.ShowHideElementDirective, typeof i3.ThrowElementOnHoverDirective, typeof i4.TemplateReferenceDirective, typeof i5.MouseDownDirective, typeof i6.ComponentSizeDirective, typeof i7.DestroyParentDirective, typeof i8.DomChangesDirective, typeof i9.ScrollTrackerDirective, typeof i10.ScrollIntoViewDirective, typeof i11.ButtonComponent, typeof i12.TooltipComponent, typeof i13.DelimeterComponent, typeof i17.CloseComponent, typeof i15.CheckmarkComponent, typeof i16.TemplateContentComponent, typeof i14.ToggleSwitcherComponent, typeof i20.DotsComponent, typeof i18.HamburgerComponent, typeof i19.HamburgerMenuComponent, typeof i21.PaginationComponent, typeof i22.SortingComponent, typeof i23.LoadMoreButtonComponent, typeof i24.LoadContainerComponent, typeof i25.IconComponent, typeof i26.BounceLoaderComponent, typeof i27.CircleLoaderComponent, typeof i28.ModalComponent, typeof i29.ModalOpenDirective, typeof i30.ModalOpenOnClickDirective, typeof i31.DefaultModalHeaderComponent, typeof i32.DefaultModalFooterComponent, typeof i33.SwitchMultiCasePipe]>;
|
|
39
41
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSfcCommonModule>;
|
|
40
42
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SwitchMultiCasePipe implements PipeTransform {
|
|
4
4
|
transform(cases: any[], switchOption: any): any;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchMultiCasePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SwitchMultiCasePipe, "sfcSwitchMultiCase">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SwitchMultiCasePipe, "sfcSwitchMultiCase", false>;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-sfc-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Angular common(shared) library for SFC project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Street Football Club",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/common": "^
|
|
28
|
-
"@angular/core": "^
|
|
27
|
+
"@angular/common": "^15.0.4",
|
|
28
|
+
"@angular/core": "^15.0.4",
|
|
29
29
|
"@fortawesome/angular-fontawesome": "0.10.2",
|
|
30
30
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
31
31
|
"@fortawesome/free-solid-svg-icons": "^6.1.1"
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"esm2020": "esm2020/ngx-sfc-common.mjs",
|
|
39
39
|
"fesm2020": "fesm2020/ngx-sfc-common.mjs",
|
|
40
40
|
"fesm2015": "fesm2015/ngx-sfc-common.mjs",
|
|
41
|
-
"typings": "
|
|
41
|
+
"typings": "index.d.ts",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./package.json": {
|
|
44
44
|
"default": "./package.json"
|
|
45
45
|
},
|
|
46
46
|
".": {
|
|
47
|
-
"types": "./
|
|
47
|
+
"types": "./index.d.ts",
|
|
48
48
|
"esm2020": "./esm2020/ngx-sfc-common.mjs",
|
|
49
49
|
"es2020": "./fesm2020/ngx-sfc-common.mjs",
|
|
50
50
|
"es2015": "./fesm2015/ngx-sfc-common.mjs",
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// colors
|
|
2
|
+
$color-0: #fff !default;
|
|
3
|
+
$color-1: #f6f6f6 !default;
|
|
4
|
+
$color-2: #f5f7fa !default;
|
|
5
|
+
$color-3: #e6e9ed !default;
|
|
6
|
+
$color-4: #e9e9e9 !default;
|
|
7
|
+
$color-5: #d8d7d7 !default;
|
|
8
|
+
$color-6: #ccd1d9 !default;
|
|
9
|
+
$color-7: #aab2bd !default;
|
|
10
|
+
$color-8: #656d78 !default;
|
|
11
|
+
$color-9: #434a54 !default;
|
|
12
|
+
$color-10: #34323d !default;
|
|
13
|
+
$color-11: #1b1d1f !default;
|
|
14
|
+
|
|
15
|
+
// shades
|
|
16
|
+
$color-shadow-0: #00000005 !default;
|
|
17
|
+
$color-shadow-1: #0000001a !default;
|
|
18
|
+
$color-shadow-2: #00000030 !default;
|
|
19
|
+
$color-shadow-3: #0000003b !default;
|
|
20
|
+
$color-shadow-4: #0000004d !default;
|
|
21
|
+
$color-shadow-5: #0009 !default;
|
|
22
|
+
|
|
23
|
+
// result types
|
|
24
|
+
$color-info: #4fc1e9;
|
|
25
|
+
$color-success: #4ec07d;
|
|
26
|
+
$color-failed: #e96075;
|
|
27
|
+
|
|
28
|
+
// color types
|
|
29
|
+
$color-red-0: #ed5565 !default;
|
|
30
|
+
$color-red-1: #da4453 !default;
|
|
31
|
+
$color-orange-0: #fc6e51 !default;
|
|
32
|
+
$color-orange-1: #e9573f !default;
|
|
33
|
+
$color-yellow-0: #ffce54 !default;
|
|
34
|
+
$color-yellow-1: #fcbb42 !default;
|
|
35
|
+
$color-yellow-2: #f8e976 !default;
|
|
36
|
+
$color-green-0: #a0d468 !default;
|
|
37
|
+
$color-green-1: #8cc152 !default;
|
|
38
|
+
$color-green-2: #48cfad !default;
|
|
39
|
+
$color-green-3: #37bc9b !default;
|
|
40
|
+
$color-green-4: #2bbbad !default;
|
|
41
|
+
$color-blue-0: #4fc1e9 !default;
|
|
42
|
+
$color-blue-1: #3bafda !default;
|
|
43
|
+
$color-blue-2: #5d9cec !default;
|
|
44
|
+
$color-blue-3: #4a89dc !default;
|
|
45
|
+
$color-magenta-0: #ac92ec !default;
|
|
46
|
+
$color-magenta-1: #967adc !default;
|
|
47
|
+
$color-pink-0: #ec87c0 !default;
|
|
48
|
+
$color-pink-1: #d770ad !default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@mixin square-size($value, $multiplier: 1) {
|
|
2
|
+
width: $value * $multiplier;
|
|
3
|
+
height: $value * $multiplier;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin theme-value($property, $value-common, $value-dark, $selector: "&") {
|
|
7
|
+
#{$selector},
|
|
8
|
+
:host-context(.sfc-default-theme) #{$selector} {
|
|
9
|
+
#{$property}: $value-common;
|
|
10
|
+
}
|
|
11
|
+
:host-context(.sfc-dark-theme) #{$selector} {
|
|
12
|
+
#{$property}: $value-dark;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin visibility($show) {
|
|
17
|
+
@if $show {
|
|
18
|
+
visibility: visible;
|
|
19
|
+
opacity: 1;
|
|
20
|
+
} @else {
|
|
21
|
+
visibility: hidden;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin scroll {
|
|
27
|
+
::ng-deep ::-webkit-scrollbar {
|
|
28
|
+
@include square-size(0.375em);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::ng-deep ::-webkit-scrollbar-track {
|
|
32
|
+
border-radius: 0.625em;
|
|
33
|
+
background: rgb(0 0 0 / 10%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
::ng-deep ::-webkit-scrollbar-thumb {
|
|
37
|
+
border-radius: 0.625em;
|
|
38
|
+
background: rgb(0 0 0 / 20%);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
::ng-deep ::-webkit-scrollbar-thumb:hover {
|
|
42
|
+
background: rgb(0 0 0 / 40%);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
::ng-deep ::-webkit-scrollbar-thumb:active {
|
|
46
|
+
background: rgb(0 0 0 / 60%);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// default
|
|
2
|
+
$color-dark: #ccd1d9 !default;
|
|
3
|
+
$color-disabled-dark: #656d78 !default;
|
|
4
|
+
$background-gradient-dark: linear-gradient(
|
|
5
|
+
to right,
|
|
6
|
+
rgb(255 255 255 / 0%) 0%,
|
|
7
|
+
rgb(255 255 255 / 40%) 17%,
|
|
8
|
+
rgb(255 255 255 / 40%) 83%,
|
|
9
|
+
rgb(255 255 255 / 0%) 100%
|
|
10
|
+
);
|
|
11
|
+
$background-gradient-vertical-dark: linear-gradient(
|
|
12
|
+
to bottom,
|
|
13
|
+
rgb(255 255 255 / 0%) 0%,
|
|
14
|
+
rgb(255 255 255 / 40%) 17%,
|
|
15
|
+
rgb(255 255 255 / 40%) 83%,
|
|
16
|
+
rgb(255 255 255 / 0%) 100%
|
|
17
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
$background-gradient-vertical-default: linear-gradient(
|
|
13
|
+
to bottom,
|
|
14
|
+
rgb(0 0 0 / 0%) 0%,
|
|
15
|
+
rgb(0 0 0 / 30%) 17%,
|
|
16
|
+
rgb(0 0 0 / 30%) 83%,
|
|
17
|
+
rgb(0 0 0 / 0%) 100%
|
|
18
|
+
);
|