imm-element-ui 1.4.1 → 1.4.2
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/esm2022/lib/am/am.component.mjs +80 -118
- package/esm2022/lib/grid/grid/grid.component.mjs +2 -2
- package/esm2022/lib/loading/loading.component.mjs +21 -0
- package/esm2022/lib/service/action.service.mjs +1 -2
- package/esm2022/lib/service/loading.service.mjs +32 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/imm-element-ui.mjs +131 -124
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/am/am.component.d.ts +2 -1
- package/lib/grid/grid/grid.component.d.ts +1 -1
- package/lib/loading/loading.component.d.ts +9 -0
- package/lib/service/loading.service.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/src/lib/loading/loading.component.scss +31 -0
package/lib/am/am.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { FormOptions } from '../form/form/form.component';
|
|
|
4
4
|
import { SearchOptions } from '../search/search/search.component';
|
|
5
5
|
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
|
+
import { LoadingService } from '../service/loading.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export interface Param {
|
|
9
10
|
id?: number;
|
|
@@ -146,10 +147,10 @@ export declare class AmComponent {
|
|
|
146
147
|
searchPrm: Search;
|
|
147
148
|
exportPrm: Search;
|
|
148
149
|
tamplate: Deal;
|
|
149
|
-
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
150
150
|
http: HttpClient;
|
|
151
151
|
messageService: MessageService;
|
|
152
152
|
confirmationService: ConfirmationService;
|
|
153
|
+
loadingService: LoadingService;
|
|
153
154
|
route: ActivatedRoute;
|
|
154
155
|
router: Router;
|
|
155
156
|
constructor();
|
|
@@ -256,7 +256,7 @@ export declare class GridComponent {
|
|
|
256
256
|
rawPrm?: Search;
|
|
257
257
|
deleteEmit: import("@angular/core").OutputEmitterRef<number[]>;
|
|
258
258
|
addEmit: import("@angular/core").OutputEmitterRef<void>;
|
|
259
|
-
addType: import("@angular/core").InputSignal<"none" | "
|
|
259
|
+
addType: import("@angular/core").InputSignal<"none" | "handle" | "select" | undefined>;
|
|
260
260
|
selectData: import("@angular/core").InputSignal<any[] | undefined>;
|
|
261
261
|
showAct: import("@angular/core").InputSignal<boolean>;
|
|
262
262
|
actPos: import("@angular/core").InputSignal<"bottom" | "top">;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LoadingService } from '../service/loading.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadingComponent {
|
|
4
|
+
private loadingService;
|
|
5
|
+
visible: import("@angular/core").Signal<boolean>;
|
|
6
|
+
constructor(loadingService: LoadingService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "custom-loading", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadingService {
|
|
4
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
5
|
+
loading$: Subject<boolean>;
|
|
6
|
+
constructor();
|
|
7
|
+
setLoading(loading: boolean): void;
|
|
8
|
+
getLoading(): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,11 +14,13 @@ export * from './lib/import/import.component';
|
|
|
14
14
|
export * from './lib/log/log.component';
|
|
15
15
|
export * from './lib/row-selector/row-selector.component';
|
|
16
16
|
export * from './lib/share/utils';
|
|
17
|
+
export * from './lib/service/loading.service';
|
|
17
18
|
export * from './lib/service/action.service';
|
|
18
19
|
export * from './lib/service/i18n.service';
|
|
19
20
|
export * from './lib/service/themeConfig.service';
|
|
20
21
|
export * from './lib/page-form/page-form.component';
|
|
21
22
|
export * from './lib/page-grid-list/page-grid-list.component';
|
|
23
|
+
export * from './lib/loading/loading.component';
|
|
22
24
|
export * from './lib/steps/steps.component';
|
|
23
25
|
export * from './lib/row-selector/row-selector.component';
|
|
24
26
|
export * from './lib/search/search/search.component';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.mask {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
height: 100vh;
|
|
6
|
+
width: 100vw;
|
|
7
|
+
z-index: 9998;
|
|
8
|
+
}
|
|
9
|
+
.progress {
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 35vh;
|
|
12
|
+
left: 50vw;
|
|
13
|
+
height: 5rem;
|
|
14
|
+
width: 5rem;
|
|
15
|
+
border-radius: 0.5rem;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
z-index: 9999;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host ::ng-deep .custom-spinner .p-progress-spinner-circle {
|
|
23
|
+
animation: custom-progress-spinner-dash 3s ease-in-out infinite, custom-progress-spinner-color 12s ease-in-out infinite;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@keyframes custom-progress-spinner-color {
|
|
27
|
+
100%,
|
|
28
|
+
0% {
|
|
29
|
+
stroke: #fff;
|
|
30
|
+
}
|
|
31
|
+
}
|