@evotor-dev/ui-kit 8.0.0-beta.19 → 8.0.0-beta.20
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/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +11 -18
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.component.mjs +80 -91
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.service.mjs +9 -15
- package/esm2022/lib/components/evo-sidebar/interfaces.mjs +1 -1
- package/fesm2022/evotor-dev-ui-kit.mjs +174 -198
- package/fesm2022/evotor-dev-ui-kit.mjs.map +1 -1
- package/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.d.ts +6 -6
- package/lib/components/evo-sidebar/evo-sidebar.component.d.ts +21 -23
- package/lib/components/evo-sidebar/evo-sidebar.service.d.ts +2 -5
- package/lib/components/evo-sidebar/interfaces.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class EvoSidebarHeaderComponent implements OnInit {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
backButton: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
readonly back: import("@angular/core").OutputEmitterRef<void>;
|
|
6
|
+
readonly computedBackButton: import("@angular/core").Signal<boolean>;
|
|
7
|
+
private readonly sidebar;
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
handleBackClick(): void;
|
|
10
10
|
closeSidebar(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSidebarHeaderComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSidebarHeaderComponent, "evo-sidebar-header, [evo-sidebar-header]", never, { "backButton": { "alias": "backButton"; "required": false; }; }, { "back": "back"; }, never, ["*"], true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSidebarHeaderComponent, "evo-sidebar-header, [evo-sidebar-header]", never, { "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; }, { "back": "back"; }, never, ["*"], true, never>;
|
|
13
13
|
}
|
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EvoSidebarService } from './evo-sidebar.service';
|
|
1
|
+
import { OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
3
2
|
import { AnimationEvent } from '@angular/animations';
|
|
4
|
-
import { Location } from '@angular/common';
|
|
5
3
|
import { EvoSidebarCloseTargets } from './enums/evo-sidebar-close-targets';
|
|
6
4
|
import { EvoSidebarSizes } from './enums/evo-sidebar-sizes';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class EvoSidebarComponent implements OnDestroy, OnInit {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
id: string;
|
|
17
|
-
header: string;
|
|
18
|
-
size: EvoSidebarSizes;
|
|
19
|
-
relativeFooter: boolean;
|
|
20
|
-
back: EventEmitter<void>;
|
|
21
|
-
isVisible: boolean;
|
|
22
|
-
isDynamicContent: boolean;
|
|
7
|
+
contentContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
8
|
+
backButton: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
id: import("@angular/core").InputSignal<string>;
|
|
10
|
+
header: import("@angular/core").InputSignal<string>;
|
|
11
|
+
size: import("@angular/core").InputSignal<EvoSidebarSizes>;
|
|
12
|
+
relativeFooter: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly back: import("@angular/core").OutputEmitterRef<void>;
|
|
23
14
|
readonly closeTargets: typeof EvoSidebarCloseTargets;
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
readonly computedSize: import("@angular/core").Signal<EvoSidebarSizes>;
|
|
16
|
+
readonly isDynamicContent: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
readonly isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
readonly localSize: import("@angular/core").WritableSignal<EvoSidebarSizes>;
|
|
19
|
+
readonly totalClasses: import("@angular/core").Signal<string[]>;
|
|
20
|
+
private readonly closeTarget;
|
|
26
21
|
private locationSubscription;
|
|
27
|
-
private readonly
|
|
28
|
-
|
|
22
|
+
private readonly cdr;
|
|
23
|
+
private readonly destroyRef;
|
|
24
|
+
private readonly environmentInjector;
|
|
25
|
+
private readonly location;
|
|
26
|
+
private readonly sidebarService;
|
|
27
|
+
private readonly zone;
|
|
29
28
|
ngOnDestroy(): void;
|
|
30
29
|
ngOnInit(): void;
|
|
31
30
|
get currentState(): string;
|
|
32
|
-
get totalClasses(): string[];
|
|
33
31
|
closeSidebar(source: EvoSidebarCloseTargets): void;
|
|
34
32
|
handleAnimationDone(event: AnimationEvent): void;
|
|
35
33
|
handleBackClick(): void;
|
|
@@ -38,5 +36,5 @@ export declare class EvoSidebarComponent implements OnDestroy, OnInit {
|
|
|
38
36
|
private clearView;
|
|
39
37
|
private closeOnLocationUpdates;
|
|
40
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSidebarComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSidebarComponent, "evo-sidebar", never, { "backButton": { "alias": "backButton"; "required": false; }; "id": { "alias": "id"; "required": false; }; "header": { "alias": "header"; "required": false; }; "size": { "alias": "size"; "required": false; }; "relativeFooter": { "alias": "relativeFooter"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[footer]"], true, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSidebarComponent, "evo-sidebar", never, { "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "relativeFooter": { "alias": "relativeFooter"; "required": false; "isSignal": true; }; }, { "back": "back"; }, never, ["[content]", "[footer]"], true, never>;
|
|
42
40
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
3
|
-
import { EvoOpenedSidebarActions, EvoSidebarConfig, EvoSidebarParams, EvoSidebarState } from './interfaces';
|
|
2
|
+
import { EvoOpenedSidebarActions, EvoSidebarParams, EvoSidebarState } from './interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class EvoSidebarService {
|
|
6
5
|
private readonly portal;
|
|
@@ -8,8 +7,6 @@ export declare class EvoSidebarService {
|
|
|
8
7
|
private readonly sidebarEvents$;
|
|
9
8
|
private registeredSidebars;
|
|
10
9
|
private readonly config;
|
|
11
|
-
constructor(portal: EvoAbstractPortal, // EvoSidebarPortal provided
|
|
12
|
-
_config: EvoSidebarConfig);
|
|
13
10
|
deregister(id: string): void;
|
|
14
11
|
register(id: string): void;
|
|
15
12
|
open(params: EvoSidebarParams): EvoOpenedSidebarActions;
|
|
@@ -21,6 +18,6 @@ export declare class EvoSidebarService {
|
|
|
21
18
|
getEventsSubscription(id: string, immediate?: boolean): Observable<EvoSidebarState>;
|
|
22
19
|
cleanupDefaultHost(): void;
|
|
23
20
|
getOpenedSidebarActions(id: string): EvoOpenedSidebarActions;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSidebarService,
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSidebarService, never>;
|
|
25
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<EvoSidebarService>;
|
|
26
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
1
|
+
import { Injector, Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EvoSidebarCloseTargets } from './enums/evo-sidebar-close-targets';
|
|
4
4
|
import { EvoSidebarSizes } from './enums/evo-sidebar-sizes';
|
|
@@ -16,6 +16,7 @@ export interface EvoSidebarParams {
|
|
|
16
16
|
closeOnNavigation?: boolean;
|
|
17
17
|
size?: EvoSidebarSizes;
|
|
18
18
|
data?: any;
|
|
19
|
+
injector?: Injector;
|
|
19
20
|
[property: string]: any;
|
|
20
21
|
}
|
|
21
22
|
export interface EvoOpenedSidebarActions {
|