@indice/ng-components 0.2.160-beta.3 → 0.2.160-beta.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.
- package/_styles.css +5 -1
- package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +7 -3
- package/esm2020/lib/controls/stepper/lib-step.component.mjs +3 -3
- package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +32 -9
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +3 -3
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +1 -2
- package/fesm2015/indice-ng-components.mjs +45 -17
- package/fesm2015/indice-ng-components.mjs.map +1 -1
- package/fesm2020/indice-ng-components.mjs +41 -15
- package/fesm2020/indice-ng-components.mjs.map +1 -1
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +5 -2
- package/lib/controls/stepper/lib-stepper.component.d.ts +15 -4
- package/package.json +1 -1
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { NavLink } from '../../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavLinksListComponent implements OnInit {
|
|
5
|
+
export declare class NavLinksListComponent implements OnInit, OnDestroy {
|
|
6
6
|
links: Observable<NavLink[]> | undefined;
|
|
7
7
|
activeFragment: Observable<string> | undefined;
|
|
8
8
|
navLinkClass: string | string;
|
|
9
9
|
navLinkActiveClass: string | string[];
|
|
10
10
|
containerClass: string | string[] | undefined;
|
|
11
11
|
showIcons: boolean | undefined;
|
|
12
|
+
fragmentValue: string | undefined;
|
|
13
|
+
private fragmentSub$;
|
|
12
14
|
constructor();
|
|
15
|
+
ngOnDestroy(): void;
|
|
13
16
|
ngOnInit(): void;
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinksListComponent, never>;
|
|
15
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavLinksListComponent, "lib-nav-links-list", never, { "links": "links"; "activeFragment": "active-fragment"; "navLinkClass": "link-class"; "navLinkActiveClass": "link-active-class"; "containerClass": "container-class"; "showIcons": "show-icons"; }, {}, never, never, false>;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { LibStepComponent, StepState } from './lib-step.component';
|
|
3
3
|
import { StepperType } from './types/stepper-type';
|
|
4
4
|
import { StepSelectedEvent } from './types/step-selected-event';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LibStepperComponent implements OnInit {
|
|
6
|
+
export declare class LibStepperComponent implements OnInit, AfterViewChecked {
|
|
7
|
+
private _changeDetectorRef;
|
|
7
8
|
private _currentStepIndex;
|
|
8
|
-
|
|
9
|
+
private _isCompleted;
|
|
10
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
9
11
|
/** The inner steps of the wizard. */
|
|
10
12
|
steps: QueryList<LibStepComponent>;
|
|
11
13
|
/** Emmited when a step change occurs. */
|
|
12
14
|
readonly stepChanged: EventEmitter<StepSelectedEvent>;
|
|
15
|
+
/** Emmited when the stepper navigates away from the final step. Only emits once. */
|
|
16
|
+
readonly completed: EventEmitter<void>;
|
|
13
17
|
/** Indicates whether each step has to be validated before proceeding to the next. */
|
|
14
18
|
linear: boolean;
|
|
15
19
|
/** The type of the stepper. */
|
|
@@ -20,7 +24,14 @@ export declare class LibStepperComponent implements OnInit {
|
|
|
20
24
|
get currentStep(): LibStepComponent | undefined;
|
|
21
25
|
/** The index (starting from zero) of the current wizard step. */
|
|
22
26
|
get currentStepIndex(): number;
|
|
27
|
+
/** Indicates whether stepper can go a step back. */
|
|
28
|
+
get canGoBack(): boolean;
|
|
29
|
+
/** Indicates whether stepper can go a step forward. */
|
|
30
|
+
get canGoForward(): boolean;
|
|
31
|
+
/** Indicates whether */
|
|
32
|
+
get isCompleted(): boolean;
|
|
23
33
|
ngOnInit(): void;
|
|
34
|
+
ngAfterViewChecked(): void;
|
|
24
35
|
/** Proceeds to the next step, if any. */
|
|
25
36
|
goToNextStep(): void;
|
|
26
37
|
/** Proceeds to the previous step, if any. */
|
|
@@ -28,5 +39,5 @@ export declare class LibStepperComponent implements OnInit {
|
|
|
28
39
|
onSelectStep(selectedStep: LibStepComponent): void;
|
|
29
40
|
private updateCurrentStepIndex;
|
|
30
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepperComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepperComponent, "lib-stepper", never, { "linear": "linear"; "type": "type"; }, { "stepChanged": "stepChanged"; }, ["steps"], never, false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepperComponent, "lib-stepper", never, { "linear": "linear"; "type": "type"; }, { "stepChanged": "stepChanged"; "completed": "completed"; }, ["steps"], never, false>;
|
|
32
43
|
}
|