@webilix/ngx-helper-m3 0.0.25 → 0.0.29

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 (55) hide show
  1. package/fesm2022/webilix-ngx-helper-m3.mjs +117 -117
  2. package/fesm2022/webilix-ngx-helper-m3.mjs.map +1 -1
  3. package/index.d.ts +795 -5
  4. package/package.json +6 -6
  5. package/lib/components/box/ngx-helper-box.component.d.ts +0 -17
  6. package/lib/components/box/ngx-helper-box.interface.d.ts +0 -2
  7. package/lib/components/card/ngx-helper-card.component.d.ts +0 -55
  8. package/lib/components/card/ngx-helper-card.interface.d.ts +0 -25
  9. package/lib/components/component.service.d.ts +0 -33
  10. package/lib/components/loader/ngx-helper-loader.component.d.ts +0 -16
  11. package/lib/components/page-group/ngx-helper-page-group.component.d.ts +0 -33
  12. package/lib/components/page-group/ngx-helper-page-group.interface.d.ts +0 -25
  13. package/lib/components/progress/ngx-helper-progress.component.d.ts +0 -20
  14. package/lib/components/section/column/ngx-helper-section-column.component.d.ts +0 -26
  15. package/lib/components/section/ngx-helper-section.component.d.ts +0 -17
  16. package/lib/components/value/box/ngx-helper-value-box.component.d.ts +0 -35
  17. package/lib/components/value/list/ngx-helper-value-list.component.d.ts +0 -22
  18. package/lib/components/value/ngx-helper-value.interface.d.ts +0 -77
  19. package/lib/components/value/ngx-helper-value.pipe.d.ts +0 -10
  20. package/lib/confirm/bottom-sheet/confirm-bottom-sheet.component.d.ts +0 -12
  21. package/lib/confirm/confirm.interface.d.ts +0 -11
  22. package/lib/confirm/confirm.service.d.ts +0 -44
  23. package/lib/confirm/dialog/confirm-dialog.component.d.ts +0 -8
  24. package/lib/container/bottom-sheet/container-bottom-sheet.component.d.ts +0 -20
  25. package/lib/container/container.interface.d.ts +0 -10
  26. package/lib/container/container.service.d.ts +0 -36
  27. package/lib/container/dialog/container-dialog.component.d.ts +0 -20
  28. package/lib/coordinates/get/get.component.d.ts +0 -20
  29. package/lib/coordinates/ngx-helper-coordinates.interface.d.ts +0 -10
  30. package/lib/coordinates/ngx-helper-coordinates.service.d.ts +0 -16
  31. package/lib/coordinates/show/show.component.d.ts +0 -16
  32. package/lib/directives/ngx-helper-mobile-view.directive.d.ts +0 -15
  33. package/lib/directives/ngx-helper-sticky.directive.d.ts +0 -19
  34. package/lib/http/download/download.component.d.ts +0 -25
  35. package/lib/http/ngx-helper-http.interface.d.ts +0 -15
  36. package/lib/http/ngx-helper-http.service.d.ts +0 -27
  37. package/lib/http/upload/upload.component.d.ts +0 -21
  38. package/lib/ngx-helper.config.d.ts +0 -22
  39. package/lib/pipe.types.d.ts +0 -2
  40. package/lib/pipes/bank-card.pipe.d.ts +0 -10
  41. package/lib/pipes/date.pipe.d.ts +0 -15
  42. package/lib/pipes/duration.pipe.d.ts +0 -34
  43. package/lib/pipes/file-size.pipe.d.ts +0 -9
  44. package/lib/pipes/mobile.pipe.d.ts +0 -9
  45. package/lib/pipes/multi-line.pipe.d.ts +0 -12
  46. package/lib/pipes/number.pipe.d.ts +0 -10
  47. package/lib/pipes/period.pipe.d.ts +0 -25
  48. package/lib/pipes/price.pipe.d.ts +0 -11
  49. package/lib/pipes/safe.pipe.d.ts +0 -14
  50. package/lib/pipes/volume.pipe.d.ts +0 -10
  51. package/lib/pipes/weight.pipe.d.ts +0 -10
  52. package/lib/toast/ngx-helper-toast.interface.d.ts +0 -4
  53. package/lib/toast/ngx-helper-toast.service.d.ts +0 -41
  54. package/lib/toast/toast/toast.component.d.ts +0 -35
  55. package/public-api.d.ts +0 -39
@@ -1,20 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Coordinate } from 'ol/coordinate';
3
- import { INgxHelperCoordinates, INgxHelperCoordinatesConfig } from '../ngx-helper-coordinates.interface';
4
- import * as i0 from "@angular/core";
5
- export declare class GetComponent implements OnInit {
6
- private className;
7
- coordinates?: INgxHelperCoordinates;
8
- config?: Partial<INgxHelperCoordinatesConfig>;
9
- close: (coordinates?: INgxHelperCoordinates) => void;
10
- private map;
11
- coordinate: Coordinate;
12
- inputTransformFn: (value: any) => string;
13
- ngOnInit(): void;
14
- addLayer(): void;
15
- checkInputs(latitude: string, longitude: string): void;
16
- selectCoordinates(): void;
17
- setCoordinates(event: MouseEvent): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<GetComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<GetComponent, "ng-component", never, {}, {}, never, never, true, never>;
20
- }
@@ -1,10 +0,0 @@
1
- export interface INgxHelperCoordinates {
2
- latitude: number;
3
- longitude: number;
4
- }
5
- export interface INgxHelperCoordinatesConfig {
6
- zoom: number;
7
- size: number;
8
- color: string;
9
- view: INgxHelperCoordinates;
10
- }
@@ -1,16 +0,0 @@
1
- import { ApplicationRef, Injector } from '@angular/core';
2
- import { INgxHelperCoordinates, INgxHelperCoordinatesConfig } from './ngx-helper-coordinates.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperCoordinatesService {
5
- private readonly applicationRef;
6
- private readonly injector;
7
- constructor(applicationRef: ApplicationRef, injector: Injector);
8
- get(): Promise<INgxHelperCoordinates>;
9
- get(coordinates: INgxHelperCoordinates): Promise<INgxHelperCoordinates>;
10
- get(config: Partial<INgxHelperCoordinatesConfig>): Promise<INgxHelperCoordinates>;
11
- get(coordinates: INgxHelperCoordinates, config: Partial<INgxHelperCoordinatesConfig>): Promise<INgxHelperCoordinates>;
12
- show(coordinates: INgxHelperCoordinates): void;
13
- show(coordinates: INgxHelperCoordinates, config: Partial<Omit<INgxHelperCoordinatesConfig, 'view'>>): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperCoordinatesService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxHelperCoordinatesService>;
16
- }
@@ -1,16 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { INgxHelperCoordinates, INgxHelperCoordinatesConfig } from '../ngx-helper-coordinates.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class ShowComponent implements OnInit {
5
- private className;
6
- coordinates: INgxHelperCoordinates;
7
- config?: Partial<Omit<INgxHelperCoordinatesConfig, 'view'>>;
8
- close: () => void;
9
- private map;
10
- copied?: 'LATITUDE' | 'LONGITUDE';
11
- private copyTimeout;
12
- ngOnInit(): void;
13
- setCopy(type: 'LATITUDE' | 'LONGITUDE'): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ShowComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ShowComponent, "ng-component", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,15 +0,0 @@
1
- import { ElementRef, OnInit, RendererFactory2 } from '@angular/core';
2
- import { INgxHelperConfig } from '../ngx-helper.config';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperMobileViewDirective implements OnInit {
5
- private readonly elementRef;
6
- private readonly rendererFactory;
7
- private readonly config?;
8
- ngxHelperMobileView: string;
9
- private mobileWidth;
10
- constructor(elementRef: ElementRef, rendererFactory: RendererFactory2, config?: Partial<INgxHelperConfig> | undefined);
11
- ngOnInit(): void;
12
- onResize(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperMobileViewDirective, [null, null, { optional: true; }]>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxHelperMobileViewDirective, "[ngxHelperMobileView]", never, { "ngxHelperMobileView": { "alias": "ngxHelperMobileView"; "required": true; }; }, {}, never, never, true, never>;
15
- }
@@ -1,19 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { INgxHelperConfig } from '../ngx-helper.config';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperStickyDirective implements OnInit {
5
- private readonly elementRef;
6
- private readonly config?;
7
- ngxHelperSticky: 'TOP' | 'BOTTOM';
8
- stickyIn: 'ALWAYS' | 'DESKTOP' | 'MOBILE';
9
- zIndex?: number;
10
- private mobileWidth;
11
- private stickyView;
12
- private isMobile;
13
- constructor(elementRef: ElementRef, config?: Partial<INgxHelperConfig> | undefined);
14
- ngOnInit(): void;
15
- onResize(): void;
16
- setPosition(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperStickyDirective, [null, { optional: true; }]>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxHelperStickyDirective, "[ngxHelperSticky]", never, { "ngxHelperSticky": { "alias": "ngxHelperSticky"; "required": true; }; "stickyIn": { "alias": "stickyIn"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; }, {}, never, never, true, never>;
19
- }
@@ -1,25 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { HttpClient } from '@angular/common/http';
3
- import { NgxHelperToastService } from '../../toast/ngx-helper-toast.service';
4
- import { INgxHelperHttpDownloadConfig } from '../ngx-helper-http.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class DownloadComponent implements AfterViewInit {
7
- private readonly httpClient;
8
- private readonly ngxHelperToastService;
9
- private host;
10
- private className;
11
- bottom: string;
12
- id: string;
13
- path: string;
14
- title: string;
15
- config: Partial<INgxHelperHttpDownloadConfig>;
16
- onSuccess: (arrayBuffer: ArrayBuffer) => void;
17
- onError: () => void;
18
- close: () => void;
19
- progress: number;
20
- constructor(httpClient: HttpClient, ngxHelperToastService: NgxHelperToastService);
21
- ngAfterViewInit(): void;
22
- download(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DownloadComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DownloadComponent, "ng-component", never, {}, {}, never, never, true, never>;
25
- }
@@ -1,15 +0,0 @@
1
- export interface INgxHelperHttpDownloadConfig {
2
- readonly method: 'GET' | 'POST' | 'PUT' | 'PATCH';
3
- readonly header: {
4
- [key: string]: any;
5
- };
6
- }
7
- export interface INgxHelperHttpUploadConfig {
8
- readonly method: 'POST' | 'PUT' | 'PATCH';
9
- readonly header: {
10
- [key: string]: any;
11
- };
12
- readonly body: {
13
- [key: string]: any;
14
- };
15
- }
@@ -1,27 +0,0 @@
1
- import { ApplicationRef, Injector } from '@angular/core';
2
- import { HttpStatusCode } from '@angular/common/http';
3
- import { NgxHelperToastService } from '../toast/ngx-helper-toast.service';
4
- import { INgxHelperHttpDownloadConfig, INgxHelperHttpUploadConfig } from './ngx-helper-http.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class NgxHelperHttpService {
7
- private readonly applicationRef;
8
- private readonly injector;
9
- private readonly ngxHelperToastService;
10
- private components;
11
- constructor(applicationRef: ApplicationRef, injector: Injector, ngxHelperToastService: NgxHelperToastService);
12
- private getId;
13
- private updatePositions;
14
- private getBuffer;
15
- download(path: string, title: string): void;
16
- download(path: string, title: string, config: Partial<INgxHelperHttpDownloadConfig>): void;
17
- upload<R, E>(file: File, url: string, onSuccess: (response: R | undefined, status: HttpStatusCode) => void, onError: (error: E | undefined, status: HttpStatusCode) => void): void;
18
- upload<R, E>(file: File, url: string, config: Partial<INgxHelperHttpUploadConfig>, onSuccess: (response: R, status: HttpStatusCode) => void, onError: (error: E, status: HttpStatusCode) => void): void;
19
- printPDF(url: string): void;
20
- printPDF(url: string, config: Partial<INgxHelperHttpDownloadConfig>): void;
21
- printPDF(buffer: ArrayBuffer): void;
22
- printPDF(buffer: ArrayBuffer, config: Partial<INgxHelperHttpDownloadConfig>): void;
23
- printPDF(blob: Blob): void;
24
- printPDF(blob: Blob, config: Partial<INgxHelperHttpDownloadConfig>): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperHttpService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxHelperHttpService>;
27
- }
@@ -1,21 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { HttpClient, HttpStatusCode } from '@angular/common/http';
3
- import { INgxHelperHttpUploadConfig } from '../ngx-helper-http.interface';
4
- import * as i0 from "@angular/core";
5
- export declare class UploadComponent<R, E> implements AfterViewInit {
6
- private readonly httpClient;
7
- private host;
8
- private className;
9
- bottom: string;
10
- id: string;
11
- file: File;
12
- url: string;
13
- config: Partial<INgxHelperHttpUploadConfig>;
14
- close: (type: 'RESPONSE' | 'ERROR', result: any, status: HttpStatusCode) => void;
15
- progress: number;
16
- constructor(httpClient: HttpClient);
17
- ngAfterViewInit(): void;
18
- upload(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent<any, any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent<any, any>, "ng-component", never, {}, {}, never, never, true, never>;
21
- }
@@ -1,22 +0,0 @@
1
- import { EnvironmentProviders, InjectionToken } from '@angular/core';
2
- export interface INgxHelperConfig {
3
- readonly mobileWidth: number;
4
- readonly pageGroupSidebarWidth: string;
5
- readonly toastTimeout: number;
6
- readonly toastXPosition: 'LEFT' | 'CENTER' | 'RIGHT';
7
- readonly toastAllowDuplicates: boolean;
8
- readonly toastResetDuplicates: boolean;
9
- readonly toastProgressAnimation: 'DECREASE' | 'INCREASE';
10
- readonly stickyView: {
11
- readonly top?: string | {
12
- readonly desktopView: string;
13
- readonly mobileView: string;
14
- };
15
- readonly bottom?: string | {
16
- readonly desktopView: string;
17
- readonly mobileView: string;
18
- };
19
- };
20
- }
21
- export declare const NGX_HELPER_CONFIG: InjectionToken<Partial<INgxHelperConfig>>;
22
- export declare const provideNgxHelperConfig: (config: Partial<INgxHelperConfig>) => EnvironmentProviders;
@@ -1,2 +0,0 @@
1
- export type DateFormats = string | 'FULL' | 'SHORT' | 'DATE' | 'TIME' | 'WEEK' | 'MONTH' | 'YEAR';
2
- export type DurationFormats = 'TEXT' | 'FULL' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND';
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperBankCardPipe implements PipeTransform {
4
- transform(value?: string | null, options?: {
5
- view?: 'CARD' | 'BANK';
6
- join?: string;
7
- }): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperBankCardPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperBankCardPipe, "ngxHelperBankCard", true>;
10
- }
@@ -1,15 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DateFormats } from '../pipe.types';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperDatePipe implements PipeTransform {
5
- transform(value?: Date | null, options?: {
6
- format?: DateFormats;
7
- timezone?: string;
8
- }): string;
9
- transform(value?: number | null, options?: {
10
- format?: DateFormats;
11
- timezone?: string;
12
- }): string;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperDatePipe, never>;
14
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperDatePipe, "ngxHelperDate", true>;
15
- }
@@ -1,34 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DurationFormats } from '../pipe.types';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperDurationPipe implements PipeTransform {
5
- transform(value?: number | null, options?: {
6
- format?: DurationFormats;
7
- english?: boolean;
8
- }): string;
9
- transform(value?: Date | null, options?: {
10
- format?: DurationFormats;
11
- english?: boolean;
12
- }): string;
13
- transform(value?: {
14
- from: Date;
15
- } | null, options?: {
16
- format?: DurationFormats;
17
- english?: boolean;
18
- }): string;
19
- transform(value?: {
20
- to: Date;
21
- } | null, options?: {
22
- format?: DurationFormats;
23
- english?: boolean;
24
- }): string;
25
- transform(value?: {
26
- from: Date;
27
- to: Date;
28
- } | null, options?: {
29
- format?: DurationFormats;
30
- english?: boolean;
31
- }): string;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperDurationPipe, never>;
33
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperDurationPipe, "ngxHelperDuration", true>;
34
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperFileSizePipe implements PipeTransform {
4
- transform(value?: number | null, options?: {
5
- english?: boolean;
6
- }): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperFileSizePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperFileSizePipe, "ngxHelperFileSize", true>;
9
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperMobilePipe implements PipeTransform {
4
- transform(value?: string | null, options?: {
5
- join?: string;
6
- }): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperMobilePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperMobilePipe, "ngxHelperMobile", true>;
9
- }
@@ -1,12 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class NgxHelperMultiLinePipe implements PipeTransform {
5
- private readonly domSanitizer;
6
- constructor(domSanitizer: DomSanitizer);
7
- transform(value?: string | null, options?: {
8
- html?: boolean;
9
- }): string | SafeHtml;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperMultiLinePipe, never>;
11
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperMultiLinePipe, "ngxHelperMultiLine", true>;
12
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperNumberPipe implements PipeTransform {
4
- transform(value?: number | null, options?: {
5
- fractionDigits?: number;
6
- english?: boolean;
7
- }): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperNumberPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperNumberPipe, "ngxHelperNumber", true>;
10
- }
@@ -1,25 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperPeriodPipe implements PipeTransform {
4
- transform(value?: Date | null, options?: {
5
- timezone?: string;
6
- }): string;
7
- transform(value?: {
8
- from: Date;
9
- } | null, options?: {
10
- timezone?: string;
11
- }): string;
12
- transform(value?: {
13
- to: Date;
14
- } | null, options?: {
15
- timezone?: string;
16
- }): string;
17
- transform(value?: {
18
- from: Date;
19
- to: Date;
20
- } | null, options?: {
21
- timezone?: string;
22
- }): string;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperPeriodPipe, never>;
24
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperPeriodPipe, "ngxHelperPeriod", true>;
25
- }
@@ -1,11 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperPricePipe implements PipeTransform {
4
- transform(value?: number | null, options?: {
5
- currency?: string;
6
- short?: boolean;
7
- english?: boolean;
8
- }): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperPricePipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperPricePipe, "ngxHelperPrice", true>;
11
- }
@@ -1,14 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- type Types = 'HTML' | 'STYLE' | 'SCRIPT' | 'URL' | 'RESOURCE_URL';
5
- export declare class NgxHelperSafePipe implements PipeTransform {
6
- private readonly domSanitizer;
7
- constructor(domSanitizer: DomSanitizer);
8
- transform(value?: string | null, options?: {
9
- type?: Types;
10
- }): string | SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperSafePipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperSafePipe, "ngxHelperSafe", true>;
13
- }
14
- export {};
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperVolumePipe implements PipeTransform {
4
- transform(value?: number | null, options?: {
5
- short?: boolean;
6
- english?: boolean;
7
- }): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperVolumePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperVolumePipe, "ngxHelperVolume", true>;
10
- }
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NgxHelperWeightPipe implements PipeTransform {
4
- transform(value?: number | null, options?: {
5
- short?: boolean;
6
- english?: boolean;
7
- }): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperWeightPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<NgxHelperWeightPipe, "ngxHelperWeight", true>;
10
- }
@@ -1,4 +0,0 @@
1
- export interface INgxHelperToastConfig {
2
- readonly timeout: number;
3
- readonly showClose: boolean;
4
- }
@@ -1,41 +0,0 @@
1
- import { ApplicationRef, Injector } from '@angular/core';
2
- import { INgxHelperConfig } from '../ngx-helper.config';
3
- import { INgxHelperToastConfig } from './ngx-helper-toast.interface';
4
- import * as i0 from "@angular/core";
5
- interface IToast {
6
- readonly icon: string;
7
- readonly textColor: string;
8
- readonly backgroundColor: string;
9
- }
10
- export declare class NgxHelperToastService {
11
- private readonly applicationRef;
12
- private readonly injector;
13
- private readonly config?;
14
- private components;
15
- constructor(applicationRef: ApplicationRef, injector: Injector, config?: Partial<INgxHelperConfig> | undefined);
16
- private getId;
17
- private updatePositions;
18
- toast(toast: IToast, message: string | string[]): void;
19
- toast(toast: IToast, message: string | string[], config: Partial<INgxHelperToastConfig>): void;
20
- toast(toast: IToast, message: string | string[], onClose: () => void): void;
21
- toast(toast: IToast, message: string | string[], config: Partial<INgxHelperToastConfig>, onClose: () => void): void;
22
- info(message: string | string[]): void;
23
- info(message: string | string[], config: Partial<INgxHelperToastConfig>): void;
24
- info(message: string | string[], onClose: () => void): void;
25
- info(message: string | string[], config: Partial<INgxHelperToastConfig>, onClose: () => void): void;
26
- success(message: string | string[]): void;
27
- success(message: string | string[], config: Partial<INgxHelperToastConfig>): void;
28
- success(message: string | string[], onClose: () => void): void;
29
- success(message: string | string[], config: Partial<INgxHelperToastConfig>, onClose: () => void): void;
30
- warning(message: string | string[]): void;
31
- warning(message: string | string[], config: Partial<INgxHelperToastConfig>): void;
32
- warning(message: string | string[], onClose: () => void): void;
33
- warning(message: string | string[], config: Partial<INgxHelperToastConfig>, onClose: () => void): void;
34
- error(message: string | string[]): void;
35
- error(message: string | string[], config: Partial<INgxHelperToastConfig>): void;
36
- error(message: string | string[], onClose: () => void): void;
37
- error(message: string | string[], config: Partial<INgxHelperToastConfig>, onClose: () => void): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperToastService, [null, null, { optional: true; }]>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<NgxHelperToastService>;
40
- }
41
- export {};
@@ -1,35 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { INgxHelperConfig } from '../../ngx-helper.config';
3
- import { INgxHelperToastConfig } from '../ngx-helper-toast.interface';
4
- import * as i0 from "@angular/core";
5
- export declare class ToastComponent implements OnInit, OnDestroy, AfterViewInit {
6
- readonly elementRef: ElementRef;
7
- private onClick;
8
- private host;
9
- private className;
10
- top: string;
11
- textColor: string;
12
- borderColor: string;
13
- backgroundColor: string;
14
- id: string;
15
- icon: string;
16
- messages: string[];
17
- config: {
18
- helper?: Partial<INgxHelperConfig>;
19
- toast: Partial<INgxHelperToastConfig>;
20
- };
21
- init: () => void;
22
- close: () => void;
23
- timeout: number;
24
- showClose: boolean;
25
- animation: 'DECREASE' | 'INCREASE';
26
- progress: number;
27
- start: number;
28
- private interval?;
29
- constructor(elementRef: ElementRef);
30
- ngOnInit(): void;
31
- ngOnDestroy(): void;
32
- ngAfterViewInit(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ng-component", never, {}, {}, never, never, true, never>;
35
- }
package/public-api.d.ts DELETED
@@ -1,39 +0,0 @@
1
- export * from './lib/ngx-helper.config';
2
- export * from './lib/components/box/ngx-helper-box.component';
3
- export * from './lib/components/box/ngx-helper-box.interface';
4
- export * from './lib/components/card/ngx-helper-card.component';
5
- export * from './lib/components/card/ngx-helper-card.interface';
6
- export * from './lib/components/loader/ngx-helper-loader.component';
7
- export * from './lib/components/page-group/ngx-helper-page-group.component';
8
- export * from './lib/components/page-group/ngx-helper-page-group.interface';
9
- export * from './lib/components/progress/ngx-helper-progress.component';
10
- export * from './lib/components/section/ngx-helper-section.component';
11
- export * from './lib/components/section/column/ngx-helper-section-column.component';
12
- export * from './lib/components/value/box/ngx-helper-value-box.component';
13
- export * from './lib/components/value/list/ngx-helper-value-list.component';
14
- export * from './lib/components/value/ngx-helper-value.interface';
15
- export * from './lib/components/value/ngx-helper-value.pipe';
16
- export * from './lib/confirm/confirm.interface';
17
- export * from './lib/confirm/confirm.service';
18
- export * from './lib/container/container.interface';
19
- export * from './lib/container/container.service';
20
- export * from './lib/coordinates/ngx-helper-coordinates.interface';
21
- export * from './lib/coordinates/ngx-helper-coordinates.service';
22
- export * from './lib/http/ngx-helper-http.interface';
23
- export * from './lib/http/ngx-helper-http.service';
24
- export * from './lib/toast/ngx-helper-toast.interface';
25
- export * from './lib/toast/ngx-helper-toast.service';
26
- export * from './lib/directives/ngx-helper-mobile-view.directive';
27
- export * from './lib/directives/ngx-helper-sticky.directive';
28
- export * from './lib/pipes/bank-card.pipe';
29
- export * from './lib/pipes/date.pipe';
30
- export * from './lib/pipes/duration.pipe';
31
- export * from './lib/pipes/file-size.pipe';
32
- export * from './lib/pipes/mobile.pipe';
33
- export * from './lib/pipes/multi-line.pipe';
34
- export * from './lib/pipes/number.pipe';
35
- export * from './lib/pipes/period.pipe';
36
- export * from './lib/pipes/price.pipe';
37
- export * from './lib/pipes/safe.pipe';
38
- export * from './lib/pipes/volume.pipe';
39
- export * from './lib/pipes/weight.pipe';