ngx-loading-fork 17.0.0
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/LICENSE +23 -0
- package/README.md +180 -0
- package/esm2022/lib/ngx-loading-config.mjs +25 -0
- package/esm2022/lib/ngx-loading.component.mjs +427 -0
- package/esm2022/lib/ngx-loading.module.mjs +24 -0
- package/esm2022/lib/ngx-loading.service.mjs +23 -0
- package/esm2022/ngx-loading-fork.mjs +5 -0
- package/esm2022/public-api.mjs +8 -0
- package/fesm2022/ngx-loading-fork.mjs +502 -0
- package/fesm2022/ngx-loading-fork.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/ngx-loading-config.d.ts +34 -0
- package/lib/ngx-loading.component.d.ts +29 -0
- package/lib/ngx-loading.module.d.ts +11 -0
- package/lib/ngx-loading.service.d.ts +9 -0
- package/package.json +64 -0
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface INgxLoadingConfig {
|
|
2
|
+
backdropBorderRadius?: string;
|
|
3
|
+
backdropBackgroundColour?: string;
|
|
4
|
+
fullScreenBackdrop?: boolean;
|
|
5
|
+
animationType?: string;
|
|
6
|
+
primaryColour?: string;
|
|
7
|
+
secondaryColour?: string;
|
|
8
|
+
tertiaryColour?: string;
|
|
9
|
+
[key: string]: string | boolean | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare class NgxLoadingConfig implements INgxLoadingConfig {
|
|
12
|
+
backdropBorderRadius?: string;
|
|
13
|
+
backdropBackgroundColour?: string;
|
|
14
|
+
fullScreenBackdrop?: boolean;
|
|
15
|
+
animationType?: string;
|
|
16
|
+
primaryColour?: string;
|
|
17
|
+
secondaryColour?: string;
|
|
18
|
+
tertiaryColour?: string;
|
|
19
|
+
[key: string]: string | boolean | undefined;
|
|
20
|
+
constructor(config?: INgxLoadingConfig);
|
|
21
|
+
}
|
|
22
|
+
export declare const ngxLoadingAnimationTypes: {
|
|
23
|
+
chasingDots: string;
|
|
24
|
+
circle: string;
|
|
25
|
+
circleSwish: string;
|
|
26
|
+
cubeGrid: string;
|
|
27
|
+
doubleBounce: string;
|
|
28
|
+
none: string;
|
|
29
|
+
pulse: string;
|
|
30
|
+
rectangleBounce: string;
|
|
31
|
+
rotatingPlane: string;
|
|
32
|
+
threeBounce: string;
|
|
33
|
+
wanderingCubes: string;
|
|
34
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { INgxLoadingConfig } from './ngx-loading-config';
|
|
3
|
+
import { NgxLoadingService } from './ngx-loading.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NgxLoadingComponent implements OnInit {
|
|
6
|
+
private LoadingService;
|
|
7
|
+
show: boolean;
|
|
8
|
+
config: INgxLoadingConfig;
|
|
9
|
+
template: TemplateRef<Element>;
|
|
10
|
+
private defaultConfig;
|
|
11
|
+
ngxLoadingAnimationTypes: {
|
|
12
|
+
chasingDots: string;
|
|
13
|
+
circle: string;
|
|
14
|
+
circleSwish: string;
|
|
15
|
+
cubeGrid: string;
|
|
16
|
+
doubleBounce: string;
|
|
17
|
+
none: string;
|
|
18
|
+
pulse: string;
|
|
19
|
+
rectangleBounce: string;
|
|
20
|
+
rotatingPlane: string;
|
|
21
|
+
threeBounce: string;
|
|
22
|
+
wanderingCubes: string;
|
|
23
|
+
};
|
|
24
|
+
constructor(LoadingService: NgxLoadingService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private setupConfig;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxLoadingComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxLoadingComponent, "ngx-loading", never, { "show": { "alias": "show"; "required": false; }; "config": { "alias": "config"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import type { INgxLoadingConfig } from './ngx-loading-config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./ngx-loading.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
export declare class NgxLoadingModule {
|
|
7
|
+
static forRoot(loadingConfig: INgxLoadingConfig): ModuleWithProviders<NgxLoadingModule>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxLoadingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxLoadingModule, [typeof i1.NgxLoadingComponent], [typeof i2.CommonModule], [typeof i1.NgxLoadingComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxLoadingModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { INgxLoadingConfig } from './ngx-loading-config';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgxLoadingService {
|
|
4
|
+
private config;
|
|
5
|
+
loadingConfig: INgxLoadingConfig;
|
|
6
|
+
constructor(config: INgxLoadingConfig);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxLoadingService, [{ optional: true; }]>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NgxLoadingService>;
|
|
9
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ngx-loading-fork",
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"description": "A customisable loading spinner for Angular applications.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/JaaNantanach/ngx-loading.git"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"Angular",
|
|
11
|
+
"ng",
|
|
12
|
+
"ngx",
|
|
13
|
+
"load",
|
|
14
|
+
"loading",
|
|
15
|
+
"spinner",
|
|
16
|
+
"busy",
|
|
17
|
+
"wait",
|
|
18
|
+
"loading",
|
|
19
|
+
"loading-animations",
|
|
20
|
+
"loading-indicator",
|
|
21
|
+
"loading-screen",
|
|
22
|
+
"loadingview",
|
|
23
|
+
"loading-page",
|
|
24
|
+
"ngx",
|
|
25
|
+
"loadingscreen",
|
|
26
|
+
"progress",
|
|
27
|
+
"progress-loader",
|
|
28
|
+
"progress-indicators",
|
|
29
|
+
"progress-circle",
|
|
30
|
+
"loaders",
|
|
31
|
+
"ivy",
|
|
32
|
+
"ngx-loading",
|
|
33
|
+
"Angular loading",
|
|
34
|
+
"Angular spinner",
|
|
35
|
+
"Angular loading spinner"
|
|
36
|
+
],
|
|
37
|
+
"author": "Zak Cox",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/JaaNantanach/ngx-loading/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/JaaNantanach/ngx-loading#readme",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@angular/common": "^17.0.0",
|
|
45
|
+
"@angular/core": "^17.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"tslib": "^2.3.0"
|
|
49
|
+
},
|
|
50
|
+
"module": "fesm2022/ngx-loading-fork.mjs",
|
|
51
|
+
"typings": "index.d.ts",
|
|
52
|
+
"exports": {
|
|
53
|
+
"./package.json": {
|
|
54
|
+
"default": "./package.json"
|
|
55
|
+
},
|
|
56
|
+
".": {
|
|
57
|
+
"types": "./index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/ngx-loading-fork.mjs",
|
|
59
|
+
"esm": "./esm2022/ngx-loading-fork.mjs",
|
|
60
|
+
"default": "./fesm2022/ngx-loading-fork.mjs"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"sideEffects": false
|
|
64
|
+
}
|
package/public-api.d.ts
ADDED