ngx-sfc-common 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/_ngx-sfc-common.styles.scss +25 -0
  2. package/esm2020/lib/components/button/button.component.mjs +11 -10
  3. package/esm2020/lib/components/checkmark/checkmark-type.enum.mjs +6 -0
  4. package/esm2020/lib/components/checkmark/checkmark.component.mjs +24 -11
  5. package/esm2020/lib/components/close/close.component.mjs +3 -3
  6. package/esm2020/lib/components/delimeter/delimeter.component.mjs +3 -3
  7. package/esm2020/lib/components/dots/dots.component.mjs +3 -3
  8. package/esm2020/lib/components/hamburger/hamburger.component.mjs +3 -3
  9. package/esm2020/lib/components/index.mjs +7 -2
  10. package/esm2020/lib/components/load-container/load-container.component.mjs +161 -0
  11. package/esm2020/lib/components/load-container/load-container.constants.mjs +5 -0
  12. package/esm2020/lib/components/load-container/load-container.enum.mjs +6 -0
  13. package/esm2020/lib/components/load-container/models/load-container.model.mjs +2 -0
  14. package/esm2020/lib/components/load-container/models/load-more-parameters.model.mjs +2 -0
  15. package/esm2020/lib/components/load-container/models/load-more.model.mjs +2 -0
  16. package/esm2020/lib/components/load-container/service/load-more.service.mjs +27 -0
  17. package/esm2020/lib/components/load-more-button/load-more-button.component.mjs +31 -0
  18. package/esm2020/lib/components/loader/bounce/bounce-loader.component.mjs +3 -3
  19. package/esm2020/lib/components/loader/circle/circle-loader.component.mjs +3 -3
  20. package/esm2020/lib/components/loader/loader-base.component.mjs +3 -3
  21. package/esm2020/lib/components/loader/service/loader.service.mjs +7 -7
  22. package/esm2020/lib/components/modal/directive/click/modal-open-on-click.directive.mjs +48 -0
  23. package/esm2020/lib/components/modal/directive/open/modal-open.directive.mjs +29 -0
  24. package/esm2020/lib/components/modal/footer/default/default-modal-footer.component.mjs +7 -7
  25. package/esm2020/lib/components/modal/header/default/default-modal-header.component.mjs +6 -6
  26. package/esm2020/lib/components/modal/modal.component.mjs +5 -5
  27. package/esm2020/lib/components/modal/service/modal.service.mjs +4 -4
  28. package/esm2020/lib/components/pagination/pagination.component.mjs +7 -7
  29. package/esm2020/lib/components/pagination/service/pagination.service.mjs +3 -3
  30. package/esm2020/lib/components/sorting/service/sorting.service.mjs +3 -3
  31. package/esm2020/lib/components/sorting/sorting.component.mjs +5 -5
  32. package/esm2020/lib/components/template-content/template-content.component.mjs +5 -5
  33. package/esm2020/lib/components/toggle-switcher/toggle-switcher.component.mjs +13 -7
  34. package/esm2020/lib/components/tooltip/tooltip.component.mjs +4 -4
  35. package/esm2020/lib/constants/common.constants.mjs +2 -1
  36. package/esm2020/lib/constants/date-time.constants.mjs +3 -1
  37. package/esm2020/lib/constants/file.constants.mjs +2 -0
  38. package/esm2020/lib/constants/index.mjs +1 -1
  39. package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +4 -4
  40. package/esm2020/lib/directives/component-size/component-size.directive.mjs +26 -13
  41. package/esm2020/lib/directives/destroy-parent/destroy-parent.directive.mjs +3 -3
  42. package/esm2020/lib/directives/dom-changes/dom-changes.directive.mjs +32 -0
  43. package/esm2020/lib/directives/index.mjs +4 -1
  44. package/esm2020/lib/directives/mouse-down/mouse-down.directive.mjs +3 -3
  45. package/esm2020/lib/directives/scroll-into-view/scroll-into-view.directive.mjs +29 -0
  46. package/esm2020/lib/directives/scroll-tracker/scroll-tracker.directive.mjs +39 -0
  47. package/esm2020/lib/directives/show-hide-element/show-hide-element.directive.mjs +3 -3
  48. package/esm2020/lib/directives/template-reference/template-reference.directive.mjs +3 -3
  49. package/esm2020/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.mjs +3 -3
  50. package/esm2020/lib/enums/index.mjs +2 -1
  51. package/esm2020/lib/enums/sequence.enum.mjs +9 -0
  52. package/esm2020/lib/enums/ui.enum.mjs +4 -1
  53. package/esm2020/lib/ngx-sfc-common.module.mjs +47 -16
  54. package/esm2020/lib/pipes/index.mjs +2 -0
  55. package/esm2020/lib/pipes/switch-multi-case/switch-multi-case.pipe.mjs +16 -0
  56. package/esm2020/lib/services/document-ref.service.mjs +3 -3
  57. package/esm2020/lib/services/resize.service.mjs +3 -3
  58. package/esm2020/lib/services/window-ref.service.mjs +3 -3
  59. package/esm2020/lib/utils/collections.utils.mjs +30 -3
  60. package/esm2020/lib/utils/common.utils.mjs +9 -2
  61. package/esm2020/lib/utils/date-time.utils.mjs +57 -10
  62. package/esm2020/lib/utils/file.utils.mjs +4 -3
  63. package/esm2020/lib/utils/index.mjs +5 -5
  64. package/esm2020/lib/utils/ui.utils.mjs +9 -1
  65. package/esm2020/public-api.mjs +2 -1
  66. package/fesm2015/ngx-sfc-common.mjs +661 -156
  67. package/fesm2015/ngx-sfc-common.mjs.map +1 -1
  68. package/fesm2020/ngx-sfc-common.mjs +661 -156
  69. package/fesm2020/ngx-sfc-common.mjs.map +1 -1
  70. package/{ngx-sfc-common.d.ts → index.d.ts} +0 -0
  71. package/lib/components/button/button.component.d.ts +1 -1
  72. package/lib/components/checkmark/checkmark-type.enum.d.ts +4 -0
  73. package/lib/components/checkmark/checkmark.component.d.ts +5 -2
  74. package/lib/components/close/close.component.d.ts +1 -1
  75. package/lib/components/delimeter/delimeter.component.d.ts +1 -1
  76. package/lib/components/dots/dots.component.d.ts +1 -1
  77. package/lib/components/hamburger/hamburger.component.d.ts +1 -1
  78. package/lib/components/index.d.ts +11 -1
  79. package/lib/components/load-container/load-container.component.d.ts +49 -0
  80. package/lib/components/load-container/load-container.constants.d.ts +4 -0
  81. package/lib/components/load-container/load-container.enum.d.ts +4 -0
  82. package/lib/components/load-container/models/load-container.model.d.ts +11 -0
  83. package/lib/components/load-container/models/load-more-parameters.model.d.ts +4 -0
  84. package/lib/components/load-container/models/load-more.model.d.ts +4 -0
  85. package/lib/components/load-container/service/load-more.service.d.ts +12 -0
  86. package/lib/components/load-more-button/load-more-button.component.d.ts +12 -0
  87. package/lib/components/loader/bounce/bounce-loader.component.d.ts +1 -1
  88. package/lib/components/loader/circle/circle-loader.component.d.ts +1 -1
  89. package/lib/components/loader/loader-base.component.d.ts +1 -1
  90. package/lib/components/modal/directive/{modal-open-on-click.directive.d.ts → click/modal-open-on-click.directive.d.ts} +2 -2
  91. package/lib/components/modal/directive/open/modal-open.directive.d.ts +14 -0
  92. package/lib/components/modal/footer/default/default-modal-footer.component.d.ts +1 -1
  93. package/lib/components/modal/header/default/default-modal-header.component.d.ts +1 -1
  94. package/lib/components/modal/modal.component.d.ts +1 -1
  95. package/lib/components/modal/service/modal.service.d.ts +1 -1
  96. package/lib/components/pagination/pagination.component.d.ts +1 -1
  97. package/lib/components/sorting/sorting.component.d.ts +1 -1
  98. package/lib/components/template-content/template-content.component.d.ts +1 -1
  99. package/lib/components/toggle-switcher/toggle-switcher.component.d.ts +2 -1
  100. package/lib/components/tooltip/tooltip.component.d.ts +1 -1
  101. package/lib/constants/common.constants.d.ts +1 -0
  102. package/lib/constants/date-time.constants.d.ts +2 -0
  103. package/lib/constants/file.constants.d.ts +1 -0
  104. package/lib/constants/index.d.ts +1 -0
  105. package/lib/directives/click-outside/click-outside.directive.d.ts +1 -1
  106. package/lib/directives/component-size/component-size.directive.d.ts +8 -3
  107. package/lib/directives/destroy-parent/destroy-parent.directive.d.ts +1 -1
  108. package/lib/directives/dom-changes/dom-changes.directive.d.ts +12 -0
  109. package/lib/directives/index.d.ts +3 -0
  110. package/lib/directives/mouse-down/mouse-down.directive.d.ts +1 -1
  111. package/lib/directives/scroll-into-view/scroll-into-view.directive.d.ts +7 -0
  112. package/lib/directives/scroll-tracker/scroll-tracker.directive.d.ts +11 -0
  113. package/lib/directives/show-hide-element/show-hide-element.directive.d.ts +1 -1
  114. package/lib/directives/template-reference/template-reference.directive.d.ts +1 -1
  115. package/lib/directives/throw-element-on-hover/throw-element-on-hover.directive.d.ts +1 -1
  116. package/lib/enums/index.d.ts +1 -0
  117. package/lib/enums/sequence.enum.d.ts +7 -0
  118. package/lib/enums/ui.enum.d.ts +4 -1
  119. package/lib/ngx-sfc-common.module.d.ts +28 -21
  120. package/lib/pipes/index.d.ts +1 -0
  121. package/lib/pipes/switch-multi-case/switch-multi-case.pipe.d.ts +7 -0
  122. package/lib/utils/collections.utils.d.ts +16 -2
  123. package/lib/utils/common.utils.d.ts +5 -0
  124. package/lib/utils/date-time.utils.d.ts +26 -0
  125. package/lib/utils/index.d.ts +4 -4
  126. package/lib/utils/ui.utils.d.ts +6 -0
  127. package/package.json +5 -5
  128. package/public-api.d.ts +1 -0
  129. package/esm2020/lib/components/modal/directive/modal-open-on-click.directive.mjs +0 -50
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
  }
@@ -0,0 +1,4 @@
1
+ export declare enum CheckmarkType {
2
+ Square = "square",
3
+ Rounded = "rounded"
4
+ }
@@ -1,9 +1,12 @@
1
1
  import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
2
+ import { CheckmarkType } from './checkmark-type.enum';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class CheckmarkComponent {
4
5
  active: boolean;
6
+ disabled: boolean;
5
7
  icon: IconDefinition;
6
- onClick: () => boolean;
8
+ type: CheckmarkType;
9
+ showNotActive: boolean;
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckmarkComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckmarkComponent, "sfc-checkmark", never, { "active": "active"; "icon": "icon"; }, {}, 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>;
9
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,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DelimeterComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<DelimeterComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<DelimeterComponent, "sfc-delimeter", never, {}, {}, never, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<DelimeterComponent, "sfc-delimeter", never, {}, {}, never, never, false, never>;
5
5
  }
@@ -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
  }
@@ -3,5 +3,5 @@ export declare class HamburgerComponent {
3
3
  open: boolean;
4
4
  onClick: () => boolean;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<HamburgerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<HamburgerComponent, "sfc-hamburger", never, { "open": "open"; }, {}, never, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HamburgerComponent, "sfc-hamburger", never, { "open": "open"; }, {}, never, never, false, never>;
7
7
  }
@@ -9,16 +9,20 @@ export { CircleLoaderType } from './loader/circle/circle-loader-type.enum';
9
9
  export { LoaderService } from './loader/service/loader.service';
10
10
  export { ILoaderEvent } from './loader/loader.event';
11
11
  export { ModalComponent } from './modal/modal.component';
12
- export { ModalOpenOnClickDirective } from './modal/directive/modal-open-on-click.directive';
12
+ export { ModalOpenOnClickDirective } from './modal/directive/click/modal-open-on-click.directive';
13
+ export { ModalOpenDirective } from './modal/directive/open/modal-open.directive';
13
14
  export { ModalService } from './modal/service/modal.service';
14
15
  export { DefaultModalHeaderComponent } from './modal/header/default/default-modal-header.component';
15
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';
16
19
  export { ModalTemplate } from './modal/modal-template.enum';
17
20
  export { HamburgerComponent } from './hamburger/hamburger.component';
18
21
  export { DotsComponent } from './dots/dots.component';
19
22
  export { ToggleSwitcherComponent } from './toggle-switcher/toggle-switcher.component';
20
23
  export { IToggleSwitcherModel } from './toggle-switcher/toggle-switcher.model';
21
24
  export { CheckmarkComponent } from './checkmark/checkmark.component';
25
+ export { CheckmarkType } from './checkmark/checkmark-type.enum';
22
26
  export { TemplateContentComponent } from './template-content/template-content.component';
23
27
  export { CloseComponent } from './close/close.component';
24
28
  export { PaginationComponent } from './pagination/pagination.component';
@@ -28,3 +32,9 @@ export { SortingComponent } from './sorting/sorting.component';
28
32
  export { SortingService } from './sorting/service/sorting.service';
29
33
  export { ISortingModel } from './sorting/sorting.model';
30
34
  export { ISortingEvent } from './sorting/service/sorting.event';
35
+ export { LoadContainerComponent } from './load-container/load-container.component';
36
+ export { LoadMoreButtonComponent } from './load-more-button/load-more-button.component';
37
+ export { LoadContainerType } from './load-container/load-container.enum';
38
+ export { LoaderFunction, FilterFunction, ILoadContainerModel } from './load-container/models/load-container.model';
39
+ export { ILoadMoreParameters } from './load-container/models/load-more-parameters.model';
40
+ export { ILoadMoreModel } from './load-container/models/load-more.model';
@@ -0,0 +1,49 @@
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
+ size: number;
18
+ loadMore: boolean;
19
+ showEmpty: boolean;
20
+ showLoadMoreButton: boolean;
21
+ loadMoreLabel: string;
22
+ notFoundLabel: string;
23
+ set model(model: ILoadContainerModel);
24
+ scrollTarget: HTMLElement;
25
+ handleError: EventEmitter<any>;
26
+ handleSuccess: EventEmitter<ILoadMoreModel<any>>;
27
+ handleLoading: EventEmitter<boolean>;
28
+ private contentEl;
29
+ next: boolean;
30
+ get scrollPosition(): Position[];
31
+ get allowLoadMore(): boolean;
32
+ get hideLoadMoreButton(): boolean;
33
+ empty: boolean;
34
+ get isEmpty(): boolean;
35
+ private _loading;
36
+ private set loading(value);
37
+ private _subscription;
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
+ 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, ["*"], false, never>;
49
+ }
@@ -0,0 +1,4 @@
1
+ export declare class LoadContainerConstants {
2
+ static DEFAULT_PAGE_SIZE: number;
3
+ static DEFAULT_NOT_FOUND_LABEL: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum LoadContainerType {
2
+ Dropdown = "dropdown",
3
+ Table = "table"
4
+ }
@@ -0,0 +1,11 @@
1
+ import { Observable } from "rxjs";
2
+ import { ILoadMoreModel } from "./load-more.model";
3
+ import { ILoadMoreParameters } from "./load-more-parameters.model";
4
+ export declare type LoaderFunction = (parameters: ILoadMoreParameters) => Observable<ILoadMoreModel<any>>;
5
+ export declare type FilterFunction = (data: any[], parameters: ILoadMoreParameters) => any[];
6
+ export interface ILoadContainerModel {
7
+ predicate$?: Observable<any>;
8
+ data$?: Observable<any[]>;
9
+ loader?: LoaderFunction;
10
+ filter?: FilterFunction;
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface ILoadMoreParameters {
2
+ params: any;
3
+ page: number;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface ILoadMoreModel<T> {
2
+ next: boolean;
3
+ items: T[];
4
+ }
@@ -0,0 +1,12 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadMoreService {
4
+ 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
+ }
@@ -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
  }
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { ModalService } from '../service/modal.service';
2
+ import { ModalService } from '../../service/modal.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ModalOpenOnClickDirective implements OnInit, OnDestroy {
5
5
  private templateRef;
@@ -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
  }
@@ -0,0 +1,14 @@
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 _closeSubscription;
9
+ private _openSubscription;
10
+ constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, modalService: ModalService);
11
+ ngOnDestroy(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalOpenDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalOpenDirective, "[sfcModalOpen]", never, {}, {}, never, never, false, never>;
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
  }
@@ -6,7 +6,7 @@ export declare class ModalService {
6
6
  close$: Observable<void>;
7
7
  open$: Observable<any>;
8
8
  close(): void;
9
- open(options: any): void;
9
+ open(options?: any): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
12
12
  }
@@ -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
  }
@@ -2,10 +2,11 @@ import { IToggleSwitcherModel } from './toggle-switcher.model';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ToggleSwitcherComponent {
4
4
  active: boolean;
5
+ disabled: boolean;
5
6
  leftModel: IToggleSwitcherModel;
6
7
  rightModel: IToggleSwitcherModel;
7
8
  onClick: () => boolean;
8
9
  constructor();
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitcherComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitcherComponent, "sfc-toggle-switcher", never, { "active": "active"; "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>;
11
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
  }
@@ -3,4 +3,5 @@ export declare class CommonConstants {
3
3
  static EMPTY_STRING: string;
4
4
  static MOUSE_BUTTON_LEFT: number;
5
5
  static FULL_PERCENTAGE: number;
6
+ static COMMON_TEXT_DELIMETER: string;
6
7
  }
@@ -1,6 +1,8 @@
1
1
  export declare class DateTimeConstants {
2
2
  static DAYS_IN_WEEK: number;
3
3
  static HOURS_IN_SHORT_TIME: number;
4
+ static HOURS_IN_TIME: number;
5
+ static MIDNIGHT_HOUR: number;
4
6
  static MINUTES_IN_HOUR: number;
5
7
  static DAYS_OF_WEEK: string[];
6
8
  static DAYS_OF_WEEK_3: string[];
@@ -0,0 +1 @@
1
+ export declare type ImageFormat = 'gif' | 'jpeg' | 'jpg' | 'tiff' | 'png' | 'webp' | 'bmp';
@@ -1,3 +1,4 @@
1
1
  export { CommonConstants } from './common.constants';
2
2
  export { DateTimeConstants } from './date-time.constants';
3
3
  export { UIConstants } from './ui.constants';
4
+ export { ImageFormat } from './file.constants';
@@ -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
  }
@@ -3,11 +3,16 @@ import { ComponentSize } from '../../enums';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ComponentSizeDirective {
5
5
  private el;
6
+ private _size;
6
7
  set size(value: ComponentSize | null | undefined);
7
- set customSize(value: number);
8
+ get size(): ComponentSize | null | undefined;
9
+ private _customSize;
10
+ set customSize(value: number | null);
11
+ get customSize(): number | null;
12
+ get proportion(): number;
8
13
  private get style();
9
14
  constructor(el: ElementRef);
10
- private getSizeValue;
15
+ private getSizeProportion;
11
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentSizeDirective, never>;
12
- 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>;
13
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
  }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DomChangesDirective implements OnDestroy {
4
+ private elementRef;
5
+ sfcDomChanges: EventEmitter<MutationRecord>;
6
+ options: MutationObserverInit;
7
+ private changes;
8
+ constructor(elementRef: ElementRef);
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomChangesDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DomChangesDirective, "[sfcDomChanges]", never, { "options": "options"; }, { "sfcDomChanges": "sfcDomChanges"; }, never, never, false, never>;
12
+ }
@@ -6,3 +6,6 @@ export { TemplateReferenceDirective } from './template-reference/template-refere
6
6
  export { MouseDownDirective } from './mouse-down/mouse-down.directive';
7
7
  export { ComponentSizeDirective } from './component-size/component-size.directive';
8
8
  export { DestroyParentDirective } from './destroy-parent/destroy-parent.directive';
9
+ export { DomChangesDirective } from './dom-changes/dom-changes.directive';
10
+ export { ScrollTrackerDirective } from './scroll-tracker/scroll-tracker.directive';
11
+ export { ScrollIntoViewDirective } from './scroll-into-view/scroll-into-view.directive';
@@ -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
  }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScrollIntoViewDirective {
3
+ set sfcScrollIntoView(value: HTMLElement);
4
+ options: ScrollIntoViewOptions;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollIntoViewDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollIntoViewDirective, "[sfcScrollIntoView]", never, { "sfcScrollIntoView": "sfcScrollIntoView"; "options": "options"; }, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Position } from '../../enums';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ScrollTrackerDirective {
5
+ positions: Position[];
6
+ sfcScrollTracker: EventEmitter<Position>;
7
+ private onScroll;
8
+ private getPosition;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollTrackerDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollTrackerDirective, "[sfcScrollTracker]", never, { "positions": "positions"; }, { "sfcScrollTracker": "sfcScrollTracker"; }, never, never, false, never>;
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
  }
@@ -5,3 +5,4 @@ export { Position } from './position.enum';
5
5
  export { SortingDirection } from './sorting-direction.enum';
6
6
  export { Theme } from './theme.enum';
7
7
  export { UIClass } from './ui.enum';
8
+ export { Sequence } from './sequence.enum';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Sequence types
3
+ */
4
+ export declare enum Sequence {
5
+ Previous = "previous",
6
+ Next = "next"
7
+ }
@@ -5,6 +5,7 @@ export declare enum UIClass {
5
5
  Active = "active",
6
6
  Valid = "valid",
7
7
  Invalid = "invalid",
8
+ InnerInvalid = "inner-invalid",
8
9
  Enabled = "enabled",
9
10
  Disabled = "disabled",
10
11
  Selected = "selected",
@@ -20,5 +21,7 @@ export declare enum UIClass {
20
21
  Fixed = "fixed",
21
22
  Bordered = "bordered",
22
23
  Even = "even",
23
- Pointer = "pointer"
24
+ Pointer = "pointer",
25
+ Default = "default",
26
+ Initialization = "initialization"
24
27
  }