ngx-sfc-common 0.0.0-watch
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 +644 -0
- package/esm2020/lib/components/button/button-type.enum.mjs +9 -0
- package/esm2020/lib/components/button/button.component.mjs +44 -0
- package/esm2020/lib/components/checkmark/checkmark-type.enum.mjs +7 -0
- package/esm2020/lib/components/checkmark/checkmark.component.mjs +39 -0
- package/esm2020/lib/components/close/close.component.mjs +16 -0
- package/esm2020/lib/components/delimeter/delimeter.component.mjs +28 -0
- package/esm2020/lib/components/dots/dots.component.mjs +30 -0
- 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 +34 -0
- package/esm2020/lib/components/load-container/load-container.component.mjs +180 -0
- package/esm2020/lib/components/load-container/load-container.constants.mjs +5 -0
- package/esm2020/lib/components/load-container/load-container.enum.mjs +11 -0
- package/esm2020/lib/components/load-container/models/load-container.model.mjs +2 -0
- package/esm2020/lib/components/load-container/models/load-more-parameters.model.mjs +2 -0
- package/esm2020/lib/components/load-container/models/load-more-predicate-parameters.model.mjs +2 -0
- package/esm2020/lib/components/load-container/models/load-more.model.mjs +2 -0
- package/esm2020/lib/components/load-container/service/load-more.service.mjs +27 -0
- package/esm2020/lib/components/load-more-button/load-more-button.component.mjs +31 -0
- package/esm2020/lib/components/loader/bounce/bounce-loader.component.mjs +13 -0
- package/esm2020/lib/components/loader/circle/circle-loader-type.enum.mjs +6 -0
- package/esm2020/lib/components/loader/circle/circle-loader.component.mjs +20 -0
- package/esm2020/lib/components/loader/loader-base.component.mjs +51 -0
- package/esm2020/lib/components/loader/loader.constants.mjs +6 -0
- package/esm2020/lib/components/loader/loader.event.mjs +2 -0
- package/esm2020/lib/components/loader/service/loader.service.mjs +76 -0
- package/esm2020/lib/components/modal/directive/click/modal-open-on-click.directive.mjs +50 -0
- package/esm2020/lib/components/modal/directive/open/modal-open.directive.mjs +28 -0
- package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +60 -0
- package/esm2020/lib/components/modal/footer/default/default-modal-footer.model.mjs +2 -0
- package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +38 -0
- package/esm2020/lib/components/modal/header/default/default-modal-header.model.mjs +2 -0
- package/esm2020/lib/components/modal/modal-template.enum.mjs +7 -0
- package/esm2020/lib/components/modal/modal.component.mjs +103 -0
- package/esm2020/lib/components/modal/service/modal.event.mjs +2 -0
- package/esm2020/lib/components/modal/service/modal.service.mjs +31 -0
- package/esm2020/lib/components/pagination/models/pagination-view.model.mjs +2 -0
- package/esm2020/lib/components/pagination/pagination.component.mjs +104 -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 +71 -0
- package/esm2020/lib/components/sorting/sorting.constants.mjs +6 -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 +38 -0
- package/esm2020/lib/components/toggle-switcher/toggle-switcher.model.mjs +2 -0
- package/esm2020/lib/components/tooltip/tooltip-type.enum.mjs +6 -0
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +69 -0
- package/esm2020/lib/constants/common.constants.mjs +9 -0
- package/esm2020/lib/constants/date-time.constants.mjs +10 -0
- package/esm2020/lib/constants/file.constants.mjs +2 -0
- package/esm2020/lib/constants/index.mjs +4 -0
- package/esm2020/lib/constants/ui.constants.mjs +23 -0
- package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +63 -0
- package/esm2020/lib/directives/click-outside/click-outside.event.mjs +2 -0
- package/esm2020/lib/directives/component-size/component-size.directive.mjs +59 -0
- package/esm2020/lib/directives/destroy-parent/destroy-parent.directive.mjs +27 -0
- package/esm2020/lib/directives/dom-changes/dom-changes.directive.mjs +32 -0
- package/esm2020/lib/directives/if/if.directive.mjs +26 -0
- package/esm2020/lib/directives/image-size/image-load.directive.mjs +41 -0
- package/esm2020/lib/directives/image-size/services/image-load.event.mjs +2 -0
- package/esm2020/lib/directives/image-size/services/image-load.service.mjs +22 -0
- package/esm2020/lib/directives/image-size/services/image-size.model.mjs +2 -0
- package/esm2020/lib/directives/index.mjs +14 -0
- package/esm2020/lib/directives/mouse-down/mouse-down.directive.mjs +37 -0
- package/esm2020/lib/directives/scroll-into-view/scroll-into-view.directive.mjs +39 -0
- package/esm2020/lib/directives/scroll-tracker/scroll-tracker.directive.mjs +39 -0
- package/esm2020/lib/directives/show-hide-element/show-hide-element.directive.mjs +42 -0
- package/esm2020/lib/directives/template-reference/template-reference.directive.mjs +23 -0
- package/esm2020/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.mjs +38 -0
- package/esm2020/lib/enums/direction.enum.mjs +9 -0
- package/esm2020/lib/enums/index.mjs +9 -0
- package/esm2020/lib/enums/media.enum.mjs +13 -0
- package/esm2020/lib/enums/position.enum.mjs +12 -0
- package/esm2020/lib/enums/sequence.enum.mjs +9 -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 +30 -0
- package/esm2020/lib/models/class.model.mjs +2 -0
- package/esm2020/lib/models/index.mjs +2 -0
- package/esm2020/lib/ngx-sfc-common.module.mjs +190 -0
- package/esm2020/lib/pipes/index.mjs +2 -0
- package/esm2020/lib/pipes/switch-multi-case/switch-multi-case.pipe.mjs +16 -0
- package/esm2020/lib/services/document-ref.service.mjs +71 -0
- package/esm2020/lib/services/index.mjs +4 -0
- package/esm2020/lib/services/resize.service.mjs +42 -0
- package/esm2020/lib/services/window-ref.service.mjs +70 -0
- package/esm2020/lib/utils/collections.utils.mjs +280 -0
- package/esm2020/lib/utils/common.utils.mjs +184 -0
- package/esm2020/lib/utils/date-time.utils.mjs +265 -0
- package/esm2020/lib/utils/file.utils.mjs +53 -0
- package/esm2020/lib/utils/index.mjs +7 -0
- package/esm2020/lib/utils/string.utils.mjs +31 -0
- package/esm2020/lib/utils/ui.utils.mjs +90 -0
- package/esm2020/ngx-sfc-common.mjs +5 -0
- package/esm2020/public-api.mjs +12 -0
- package/fesm2015/ngx-sfc-common.mjs +3097 -0
- package/fesm2015/ngx-sfc-common.mjs.map +1 -0
- package/fesm2020/ngx-sfc-common.mjs +3088 -0
- package/fesm2020/ngx-sfc-common.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/button/button-type.enum.d.ts +7 -0
- package/lib/components/button/button.component.d.ts +16 -0
- package/lib/components/checkmark/checkmark-type.enum.d.ts +5 -0
- package/lib/components/checkmark/checkmark.component.d.ts +11 -0
- package/lib/components/close/close.component.d.ts +6 -0
- package/lib/components/delimeter/delimeter.component.d.ts +9 -0
- package/lib/components/dots/dots.component.d.ts +9 -0
- 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 +44 -0
- package/lib/components/load-container/load-container.component.d.ts +50 -0
- package/lib/components/load-container/load-container.constants.d.ts +4 -0
- package/lib/components/load-container/load-container.enum.d.ts +8 -0
- package/lib/components/load-container/models/load-container.model.d.ts +14 -0
- package/lib/components/load-container/models/load-more-parameters.model.d.ts +5 -0
- package/lib/components/load-container/models/load-more-predicate-parameters.model.d.ts +3 -0
- package/lib/components/load-container/models/load-more.model.d.ts +5 -0
- package/lib/components/load-container/service/load-more.service.d.ts +12 -0
- package/lib/components/load-more-button/load-more-button.component.d.ts +12 -0
- package/lib/components/loader/bounce/bounce-loader.component.d.ts +6 -0
- package/lib/components/loader/circle/circle-loader-type.enum.d.ts +4 -0
- package/lib/components/loader/circle/circle-loader.component.d.ts +8 -0
- package/lib/components/loader/loader-base.component.d.ts +27 -0
- package/lib/components/loader/loader.constants.d.ts +5 -0
- package/lib/components/loader/loader.event.d.ts +4 -0
- package/lib/components/loader/service/loader.service.d.ts +33 -0
- package/lib/components/modal/directive/click/modal-open-on-click.directive.d.ts +17 -0
- package/lib/components/modal/directive/open/modal-open.directive.d.ts +13 -0
- package/lib/components/modal/footer/default/default-modal-footer.component.d.ts +19 -0
- package/lib/components/modal/footer/default/default-modal-footer.model.d.ts +8 -0
- package/lib/components/modal/header/default/default-modal-header.component.d.ts +16 -0
- package/lib/components/modal/header/default/default-modal-header.model.d.ts +6 -0
- package/lib/components/modal/modal-template.enum.d.ts +5 -0
- package/lib/components/modal/modal.component.d.ts +26 -0
- package/lib/components/modal/service/modal.event.d.ts +4 -0
- package/lib/components/modal/service/modal.service.d.ts +13 -0
- package/lib/components/pagination/models/pagination-view.model.d.ts +12 -0
- package/lib/components/pagination/pagination.component.d.ts +31 -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 +22 -0
- package/lib/components/sorting/sorting.constants.d.ts +4 -0
- package/lib/components/sorting/sorting.model.d.ts +12 -0
- package/lib/components/template-content/template-content.component.d.ts +14 -0
- package/lib/components/toggle-switcher/toggle-switcher.component.d.ts +12 -0
- package/lib/components/toggle-switcher/toggle-switcher.model.d.ts +5 -0
- package/lib/components/tooltip/tooltip-type.enum.d.ts +4 -0
- package/lib/components/tooltip/tooltip.component.d.ts +22 -0
- package/lib/constants/common.constants.d.ts +8 -0
- package/lib/constants/date-time.constants.d.ts +9 -0
- package/lib/constants/file.constants.d.ts +1 -0
- package/lib/constants/index.d.ts +4 -0
- package/lib/constants/ui.constants.d.ts +22 -0
- package/lib/directives/click-outside/click-outside.directive.d.ts +23 -0
- package/lib/directives/click-outside/click-outside.event.d.ts +4 -0
- package/lib/directives/component-size/component-size.directive.d.ts +18 -0
- package/lib/directives/destroy-parent/destroy-parent.directive.d.ts +10 -0
- package/lib/directives/dom-changes/dom-changes.directive.d.ts +12 -0
- package/lib/directives/if/if.directive.d.ts +11 -0
- package/lib/directives/image-size/image-load.directive.d.ts +12 -0
- package/lib/directives/image-size/services/image-load.event.d.ts +5 -0
- package/lib/directives/image-size/services/image-load.service.d.ts +10 -0
- package/lib/directives/image-size/services/image-size.model.d.ts +4 -0
- package/lib/directives/index.d.ts +16 -0
- package/lib/directives/mouse-down/mouse-down.directive.d.ts +12 -0
- package/lib/directives/scroll-into-view/scroll-into-view.directive.d.ts +11 -0
- package/lib/directives/scroll-tracker/scroll-tracker.directive.d.ts +11 -0
- package/lib/directives/show-hide-element/show-hide-element.directive.d.ts +13 -0
- package/lib/directives/template-reference/template-reference.directive.d.ts +10 -0
- package/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.d.ts +13 -0
- package/lib/enums/direction.enum.d.ts +7 -0
- package/lib/enums/index.d.ts +8 -0
- package/lib/enums/media.enum.d.ts +11 -0
- package/lib/enums/position.enum.d.ts +10 -0
- package/lib/enums/sequence.enum.d.ts +7 -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 +27 -0
- package/lib/models/class.model.d.ts +3 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/ngx-sfc-common.module.d.ts +43 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/switch-multi-case/switch-multi-case.pipe.d.ts +7 -0
- package/lib/services/document-ref.service.d.ts +43 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/resize.service.d.ts +32 -0
- package/lib/services/window-ref.service.d.ts +43 -0
- package/lib/utils/collections.utils.d.ts +156 -0
- package/lib/utils/common.utils.d.ts +78 -0
- package/lib/utils/date-time.utils.d.ts +164 -0
- package/lib/utils/file.utils.d.ts +25 -0
- package/lib/utils/index.d.ts +6 -0
- package/lib/utils/string.utils.d.ts +19 -0
- package/lib/utils/ui.utils.d.ts +58 -0
- package/package.json +56 -0
- package/public-api.d.ts +8 -0
- package/styles/_colors.scss +48 -0
- package/styles/_index.scss +4 -0
- package/styles/_mixins-delimeter.scss +21 -0
- package/styles/_mixins-scroll.scss +38 -0
- package/styles/_mixins.scss +46 -0
- package/styles/_variables.scss +12 -0
- package/styles/themes/_dark.scss +17 -0
- package/styles/themes/_default.scss +18 -0
- package/styles/themes/_yellow.scss +3 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Direction } from '../../enums';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DelimeterComponent {
|
|
4
|
+
label: string;
|
|
5
|
+
direction: Direction;
|
|
6
|
+
private get _empty();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DelimeterComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DelimeterComponent, "sfc-delimeter", never, { "label": "label"; "direction": "direction"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Direction } from '../../enums';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DotsComponent {
|
|
4
|
+
open: boolean;
|
|
5
|
+
direction: Direction;
|
|
6
|
+
onClick: () => boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DotsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DotsComponent, "sfc-dots", never, { "open": "open"; "direction": "direction"; }, {}, never, never, false, never>;
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export { ButtonComponent } from './button/button.component';
|
|
2
|
+
export { ButtonType } from './button/button-type.enum';
|
|
3
|
+
export { TooltipComponent } from './tooltip/tooltip.component';
|
|
4
|
+
export { TooltipType } from './tooltip/tooltip-type.enum';
|
|
5
|
+
export { DelimeterComponent } from './delimeter/delimeter.component';
|
|
6
|
+
export { BounceLoaderComponent } from './loader/bounce/bounce-loader.component';
|
|
7
|
+
export { CircleLoaderComponent } from './loader/circle/circle-loader.component';
|
|
8
|
+
export { CircleLoaderType } from './loader/circle/circle-loader-type.enum';
|
|
9
|
+
export { LoaderService } from './loader/service/loader.service';
|
|
10
|
+
export { ILoaderEvent } from './loader/loader.event';
|
|
11
|
+
export { ModalComponent } from './modal/modal.component';
|
|
12
|
+
export { ModalOpenOnClickDirective } from './modal/directive/click/modal-open-on-click.directive';
|
|
13
|
+
export { ModalOpenDirective } from './modal/directive/open/modal-open.directive';
|
|
14
|
+
export { ModalService } from './modal/service/modal.service';
|
|
15
|
+
export { DefaultModalHeaderComponent } from './modal/header/default/default-modal-header.component';
|
|
16
|
+
export { DefaultModalFooterComponent } from './modal/footer/default/default-modal-footer.component';
|
|
17
|
+
export { IDefaultModalFooterModel } from './modal/footer/default/default-modal-footer.model';
|
|
18
|
+
export { IDefaultModalHeaderModel } from './modal/header/default/default-modal-header.model';
|
|
19
|
+
export { ModalTemplate } from './modal/modal-template.enum';
|
|
20
|
+
export { HamburgerComponent } from './hamburger/default/hamburger.component';
|
|
21
|
+
export { HamburgerMenuComponent } from './hamburger/menu/hamburger-menu.component';
|
|
22
|
+
export { DotsComponent } from './dots/dots.component';
|
|
23
|
+
export { ToggleSwitcherComponent } from './toggle-switcher/toggle-switcher.component';
|
|
24
|
+
export { IToggleSwitcherModel } from './toggle-switcher/toggle-switcher.model';
|
|
25
|
+
export { CheckmarkComponent } from './checkmark/checkmark.component';
|
|
26
|
+
export { CheckmarkType } from './checkmark/checkmark-type.enum';
|
|
27
|
+
export { TemplateContentComponent } from './template-content/template-content.component';
|
|
28
|
+
export { CloseComponent } from './close/close.component';
|
|
29
|
+
export { PaginationComponent } from './pagination/pagination.component';
|
|
30
|
+
export { PaginationService } from './pagination/service/pagination.service';
|
|
31
|
+
export { IPaginationEvent } from './pagination/service/pagination.event';
|
|
32
|
+
export { SortingComponent } from './sorting/sorting.component';
|
|
33
|
+
export { SortingService } from './sorting/service/sorting.service';
|
|
34
|
+
export { ISortingModel } from './sorting/sorting.model';
|
|
35
|
+
export { ISortingEvent } from './sorting/service/sorting.event';
|
|
36
|
+
export { LoadContainerComponent } from './load-container/load-container.component';
|
|
37
|
+
export { LoadMoreButtonComponent } from './load-more-button/load-more-button.component';
|
|
38
|
+
export { LoadContainerType } from './load-container/load-container.enum';
|
|
39
|
+
export { LoaderFunction, FilterFunction, ILoadContainerModel } from './load-container/models/load-container.model';
|
|
40
|
+
export { ILoadMoreParameters } from './load-container/models/load-more-parameters.model';
|
|
41
|
+
export { ILoadMorePredicateParameters } from './load-container/models/load-more-predicate-parameters.model';
|
|
42
|
+
export { ILoadMoreModel } from './load-container/models/load-more.model';
|
|
43
|
+
export { LoadChangesSource } from './load-container/load-container.enum';
|
|
44
|
+
export { IconComponent } from './icon/icon.component';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ComponentSize, Position } from '../../enums';
|
|
3
|
+
import { ILoadMoreModel } from './models/load-more.model';
|
|
4
|
+
import { LoaderService } from '../loader/service/loader.service';
|
|
5
|
+
import { LoadMoreService } from './service/load-more.service';
|
|
6
|
+
import { ILoadContainerModel } from './models/load-container.model';
|
|
7
|
+
import { LoadContainerType } from './load-container.enum';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class LoadContainerComponent implements OnDestroy {
|
|
10
|
+
private loaderService;
|
|
11
|
+
private loadMoreService;
|
|
12
|
+
ComponentSize: typeof ComponentSize;
|
|
13
|
+
Position: typeof Position;
|
|
14
|
+
id: string;
|
|
15
|
+
type: LoadContainerType;
|
|
16
|
+
open: boolean;
|
|
17
|
+
loadMore: boolean;
|
|
18
|
+
showEmpty: boolean;
|
|
19
|
+
showLoadMoreButton: boolean;
|
|
20
|
+
loadMoreLabel: string;
|
|
21
|
+
notFoundLabel: string;
|
|
22
|
+
set model(model: ILoadContainerModel);
|
|
23
|
+
scrollTarget: HTMLElement;
|
|
24
|
+
handleError: EventEmitter<any>;
|
|
25
|
+
handleSuccess: EventEmitter<ILoadMoreModel<any>>;
|
|
26
|
+
handleLoading: EventEmitter<boolean>;
|
|
27
|
+
private contentEl;
|
|
28
|
+
next: boolean;
|
|
29
|
+
get scrollPosition(): Position[];
|
|
30
|
+
get allowLoadMore(): boolean;
|
|
31
|
+
get hideLoadMoreButton(): boolean;
|
|
32
|
+
empty: boolean;
|
|
33
|
+
get isEmpty(): boolean;
|
|
34
|
+
private _loading;
|
|
35
|
+
private set loading(value);
|
|
36
|
+
private _subscription;
|
|
37
|
+
private source;
|
|
38
|
+
constructor(loaderService: LoaderService, loadMoreService: LoadMoreService);
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
more(event: MouseEvent): void;
|
|
41
|
+
onScroll(): void;
|
|
42
|
+
private success;
|
|
43
|
+
private error;
|
|
44
|
+
private buildParameters;
|
|
45
|
+
private buildDynamic;
|
|
46
|
+
private buildStatic;
|
|
47
|
+
private resetParameters;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadContainerComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadContainerComponent, "sfc-load-container", never, { "id": "id"; "type": "type"; "open": "open"; "loadMore": "loadMore"; "showEmpty": "showEmpty"; "showLoadMoreButton": "showLoadMoreButton"; "loadMoreLabel": "loadMoreLabel"; "notFoundLabel": "notFoundLabel"; "model": "model"; "scrollTarget": "scrollTarget"; }, { "handleError": "handleError"; "handleSuccess": "handleSuccess"; "handleLoading": "handleLoading"; }, never, ["*"], false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { ILoadMoreModel } from "./load-more.model";
|
|
3
|
+
import { ILoadMoreParameters } from "./load-more-parameters.model";
|
|
4
|
+
import { ILoadMorePredicateParameters } from "./load-more-predicate-parameters.model";
|
|
5
|
+
import { LoadChangesSource } from "../load-container.enum";
|
|
6
|
+
export declare type LoaderFunction = (parameters: ILoadMoreParameters, source: LoadChangesSource) => Observable<ILoadMoreModel<any>>;
|
|
7
|
+
export declare type FilterFunction = (data: any[], parameters: ILoadMoreParameters) => any[];
|
|
8
|
+
export interface ILoadContainerModel {
|
|
9
|
+
size?: number;
|
|
10
|
+
predicate$?: Observable<ILoadMorePredicateParameters | null>;
|
|
11
|
+
data$?: Observable<any[]>;
|
|
12
|
+
loader?: LoaderFunction;
|
|
13
|
+
filter?: FilterFunction;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadMoreService {
|
|
4
|
+
static readonly START_PAGE: number;
|
|
5
|
+
private _page;
|
|
6
|
+
private moreSubject;
|
|
7
|
+
more$: Observable<number>;
|
|
8
|
+
more(): void;
|
|
9
|
+
reset(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadMoreService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadMoreService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoadMoreButtonComponent implements OnInit {
|
|
5
|
+
private readonly DEFAULT_LABEL;
|
|
6
|
+
label: string;
|
|
7
|
+
icon: IconDefinition;
|
|
8
|
+
more: EventEmitter<MouseEvent>;
|
|
9
|
+
ngOnInit(): void;
|
|
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, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LoaderBaseComponent } from '../loader-base.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BounceLoaderComponent extends LoaderBaseComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BounceLoaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BounceLoaderComponent, "sfc-bounce-loader", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LoaderBaseComponent } from '../loader-base.component';
|
|
2
|
+
import { CircleLoaderType } from './circle-loader-type.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CircleLoaderComponent extends LoaderBaseComponent {
|
|
5
|
+
type: CircleLoaderType;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CircleLoaderComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CircleLoaderComponent, "sfc-circle-loader", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { UIClass } from "../../enums";
|
|
4
|
+
import { LoaderService } from "./service/loader.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class LoaderBaseComponent implements OnInit {
|
|
7
|
+
protected loaderService: LoaderService;
|
|
8
|
+
UIClass: typeof UIClass;
|
|
9
|
+
/**
|
|
10
|
+
* Loader identificator (global by default)
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Is start on init (loader register with show = True)
|
|
15
|
+
*/
|
|
16
|
+
start: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Loader when active(show) has background(low opacity)
|
|
19
|
+
*/
|
|
20
|
+
background: boolean;
|
|
21
|
+
constructor(loaderService: LoaderService);
|
|
22
|
+
show$: Observable<boolean>;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
get preLoaderClasses(): any;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderBaseComponent, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderBaseComponent, never, never, { "id": "id"; "start": "start"; "background": "background"; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ILoaderEvent } from '../loader.event';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoaderService {
|
|
5
|
+
private loaderSubject;
|
|
6
|
+
private loaders$;
|
|
7
|
+
/**
|
|
8
|
+
* Show loader by Id
|
|
9
|
+
* @param id Loader Id
|
|
10
|
+
* @param register If true register loader and show it
|
|
11
|
+
*/
|
|
12
|
+
show(id?: string, register?: boolean): Observable<ILoaderEvent> | null;
|
|
13
|
+
/**
|
|
14
|
+
* Hide loader
|
|
15
|
+
* @param id Loader Id
|
|
16
|
+
*/
|
|
17
|
+
hide(id?: string): void;
|
|
18
|
+
/**
|
|
19
|
+
* Register loader for next use
|
|
20
|
+
* @param event Loader event
|
|
21
|
+
* @returns Registred loade observable
|
|
22
|
+
*/
|
|
23
|
+
register(event: ILoaderEvent): Observable<ILoaderEvent>;
|
|
24
|
+
/**
|
|
25
|
+
* Remove loader
|
|
26
|
+
* @param id Loader Id
|
|
27
|
+
*/
|
|
28
|
+
remove(id?: string): void;
|
|
29
|
+
private selectLoaderById;
|
|
30
|
+
private setLoaderStatus;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ModalService } from '../../service/modal.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalOpenOnClickDirective implements OnInit, OnDestroy {
|
|
5
|
+
private templateRef;
|
|
6
|
+
private viewContainer;
|
|
7
|
+
private modalService;
|
|
8
|
+
set modalOpenOnClick(elements: HTMLElement | HTMLElement[]);
|
|
9
|
+
private clickHandler;
|
|
10
|
+
private elements;
|
|
11
|
+
private _closeSubscription?;
|
|
12
|
+
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, modalService: ModalService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOpenOnClickDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenOnClickDirective, "[sfcModalOpenOnClick]", never, { "modalOpenOnClick": "sfcModalOpenOnClick"; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ModalService } from '../../service/modal.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalOpenDirective implements OnDestroy {
|
|
5
|
+
private templateRef;
|
|
6
|
+
private viewContainer;
|
|
7
|
+
private modalService;
|
|
8
|
+
private _openSubscription;
|
|
9
|
+
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, modalService: ModalService);
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOpenDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenDirective, "[sfcModalOpen]", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IDefaultModalFooterModel } from './default-modal-footer.model';
|
|
3
|
+
import { ButtonType } from '../../../button/button-type.enum';
|
|
4
|
+
import { ComponentSize } from '../../../../enums';
|
|
5
|
+
import { ModalService } from '../../service/modal.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DefaultModalFooterComponent implements OnInit {
|
|
8
|
+
private modalService;
|
|
9
|
+
private readonly DEFAULT_MODAL_FOOTER_MODEL;
|
|
10
|
+
readonly BUTTON_CUSTOM_SIZE = 0.9;
|
|
11
|
+
ComponentSize: typeof ComponentSize;
|
|
12
|
+
ButtonType: typeof ButtonType;
|
|
13
|
+
model: IDefaultModalFooterModel;
|
|
14
|
+
constructor(modalService: ModalService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onButtonClick(isCancelButton?: boolean): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultModalFooterComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalFooterComponent, "sfc-default-modal-footer", never, { "model": "model"; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IDefaultModalHeaderModel } from './default-modal-header.model';
|
|
3
|
+
import { ModalService } from '../../service/modal.service';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DefaultModalHeaderComponent implements OnInit {
|
|
7
|
+
private modalService;
|
|
8
|
+
private readonly DEFAULT_MODAL_HEADER_MODEL;
|
|
9
|
+
model: IDefaultModalHeaderModel;
|
|
10
|
+
get icon(): IconDefinition;
|
|
11
|
+
constructor(modalService: ModalService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onClose(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultModalHeaderComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultModalHeaderComponent, "sfc-default-modal-header", never, { "model": "model"; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TemplateReferenceDirective } from '../../directives';
|
|
3
|
+
import { IDefaultModalFooterModel } from './footer/default/default-modal-footer.model';
|
|
4
|
+
import { IDefaultModalHeaderModel } from './header/default/default-modal-header.model';
|
|
5
|
+
import { ModalTemplate } from './modal-template.enum';
|
|
6
|
+
import { ModalService } from './service/modal.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ModalComponent {
|
|
9
|
+
private modalService;
|
|
10
|
+
ModalTemplate: typeof ModalTemplate;
|
|
11
|
+
body?: TemplateRef<any>;
|
|
12
|
+
header?: TemplateRef<any>;
|
|
13
|
+
footer?: TemplateRef<any>;
|
|
14
|
+
defaultHeaderModel: IDefaultModalHeaderModel;
|
|
15
|
+
defaultFooterModel: IDefaultModalFooterModel;
|
|
16
|
+
hideOnEsc: boolean;
|
|
17
|
+
hideOnClickOutside: boolean;
|
|
18
|
+
showHeader: boolean;
|
|
19
|
+
showFooter: boolean;
|
|
20
|
+
onEscapeKeyDownHandler(): void;
|
|
21
|
+
templates: QueryList<TemplateReferenceDirective> | undefined;
|
|
22
|
+
constructor(modalService: ModalService);
|
|
23
|
+
close(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "sfc-modal", never, { "body": "body"; "header": "header"; "footer": "footer"; "defaultHeaderModel": "defaultHeaderModel"; "defaultFooterModel": "defaultFooterModel"; "hideOnEsc": "hideOnEsc"; "hideOnClickOutside": "hideOnClickOutside"; "showHeader": "showHeader"; "showFooter": "showFooter"; }, {}, ["templates"], never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ModalService {
|
|
4
|
+
private subject;
|
|
5
|
+
modal$: Observable<any>;
|
|
6
|
+
get isOpen(): boolean;
|
|
7
|
+
args: any;
|
|
8
|
+
toggle(): void;
|
|
9
|
+
close(): void;
|
|
10
|
+
open(args?: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { IPaginationViewModel } from './models/pagination-view.model';
|
|
4
|
+
import { PaginationService } from './service/pagination.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PaginationComponent implements OnInit {
|
|
7
|
+
private service;
|
|
8
|
+
faChevronLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
+
faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
count: number;
|
|
11
|
+
/**
|
|
12
|
+
* show full range of data
|
|
13
|
+
*/
|
|
14
|
+
full: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* show first and last page's btn
|
|
17
|
+
*/
|
|
18
|
+
limits: boolean;
|
|
19
|
+
data$: Observable<any[]>;
|
|
20
|
+
vm$: Observable<IPaginationViewModel>;
|
|
21
|
+
constructor(service: PaginationService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
onPageClick(page: number): void;
|
|
24
|
+
private get showLimitPages();
|
|
25
|
+
private showStartLimit;
|
|
26
|
+
private showEndLimit;
|
|
27
|
+
private initRange;
|
|
28
|
+
private range;
|
|
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, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { IPaginationEvent } from './pagination.event';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaginationService {
|
|
5
|
+
/**
|
|
6
|
+
* Handle page changing
|
|
7
|
+
*/
|
|
8
|
+
private pageSubject;
|
|
9
|
+
private page$;
|
|
10
|
+
/** Total items */
|
|
11
|
+
total$: Observable<number>;
|
|
12
|
+
/** Total pages */
|
|
13
|
+
totalPages$: Observable<number>;
|
|
14
|
+
/** Pagination event data */
|
|
15
|
+
pagination$: Observable<IPaginationEvent>;
|
|
16
|
+
/** Need for init pagination observables */
|
|
17
|
+
init(data$: Observable<any[]>, page?: number, pageSize?: number): void;
|
|
18
|
+
/**
|
|
19
|
+
* Move to page
|
|
20
|
+
*/
|
|
21
|
+
page(page: number): void;
|
|
22
|
+
private initObservables;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ISortingEvent } from './sorting.event';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SortingService {
|
|
4
|
+
private sortingSubject;
|
|
5
|
+
sorting$: import("rxjs").Observable<ISortingEvent>;
|
|
6
|
+
sort(event: ISortingEvent): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortingService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortingService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
import { SortingDirection } from '../../enums';
|
|
4
|
+
import { SortingService } from './service/sorting.service';
|
|
5
|
+
import { ISortingModel } from './sorting.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SortingComponent implements OnInit, OnDestroy {
|
|
8
|
+
private service;
|
|
9
|
+
SortingDirection: typeof SortingDirection;
|
|
10
|
+
id: string;
|
|
11
|
+
model: ISortingModel;
|
|
12
|
+
get enabled(): boolean;
|
|
13
|
+
get active(): boolean;
|
|
14
|
+
sort(): void;
|
|
15
|
+
get icon(): IconDefinition;
|
|
16
|
+
private _subscription;
|
|
17
|
+
constructor(service: SortingService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortingComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortingComponent, "sfc-sorting", never, { "id": "id"; "model": "model"; }, {}, never, ["*"], false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SortingDirection } from "../../enums";
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
export interface ISortingModel {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
direction: SortingDirection;
|
|
7
|
+
icons?: ISortingIcon[];
|
|
8
|
+
}
|
|
9
|
+
export interface ISortingIcon {
|
|
10
|
+
direction: SortingDirection;
|
|
11
|
+
icon: IconDefinition;
|
|
12
|
+
}
|