@datarailsshared/datarailsshared 1.6.105 → 1.6.107
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/datarailsshared-datarailsshared-1.6.107.tgz +0 -0
- package/esm2022/lib/stepper-wizard/directives/step-wizard.directive.mjs +17 -0
- package/esm2022/lib/stepper-wizard/stepper-wizard.component.mjs +108 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +120 -3
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/stepper-wizard/directives/step-wizard.directive.d.ts +6 -0
- package/lib/stepper-wizard/stepper-wizard.component.d.ts +27 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.6.105.tgz +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class StepWizardDirective {
|
|
3
|
+
drStepWizard: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepWizardDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StepWizardDirective, "[drStepWizard]", never, { "drStepWizard": { "alias": "drStepWizard"; "required": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { StepWizardDirective } from './directives/step-wizard.directive';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StepperWizardComponent<T extends string = string> implements AfterContentInit {
|
|
7
|
+
private readonly viewContainerRef;
|
|
8
|
+
private readonly destroy$;
|
|
9
|
+
private availableSteps;
|
|
10
|
+
private previousSteps;
|
|
11
|
+
private _currentStep;
|
|
12
|
+
get currentStep(): T;
|
|
13
|
+
set currentStep(value: T);
|
|
14
|
+
currentStepChange: EventEmitter<T>;
|
|
15
|
+
steps: QueryList<StepWizardDirective>;
|
|
16
|
+
stepTemplates: QueryList<TemplateRef<void>>;
|
|
17
|
+
outlet: CdkPortalOutlet;
|
|
18
|
+
readonly completing$: Subject<boolean>;
|
|
19
|
+
constructor();
|
|
20
|
+
ngAfterContentInit(): void;
|
|
21
|
+
next<R = unknown>(step: T, onComplete?: () => void | Observable<R>): Promise<R | void>;
|
|
22
|
+
back(): void;
|
|
23
|
+
private complete;
|
|
24
|
+
private renderStep;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperWizardComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperWizardComponent<any>, "dr-stepper-wizard", never, { "currentStep": { "alias": "currentStep"; "required": false; }; }, { "currentStepChange": "currentStepChange"; }, ["steps", "stepTemplates"], never, true, never>;
|
|
27
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -156,6 +156,8 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
|
|
|
156
156
|
export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
|
|
157
157
|
export { DrProgressBarComponent } from './lib/dr-progress-bar/dr-progress-bar.component';
|
|
158
158
|
export * from './lib/drawer/public-api';
|
|
159
|
+
export * from './lib/stepper-wizard/stepper-wizard.component';
|
|
160
|
+
export * from './lib/stepper-wizard/directives/step-wizard.directive';
|
|
159
161
|
export * from './lib/separate-table/separate-table.component';
|
|
160
162
|
export * from './lib/separate-table/separate-table-column.directive';
|
|
161
163
|
export * from './lib/text-overflow/element-overflow.directive';
|
|
Binary file
|