s4y-ui 2.4.2 → 2.5.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.
@@ -0,0 +1 @@
1
+ export declare const stepperAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1,17 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StepComponent {
4
+ root: ElementRef;
5
+ value: number;
6
+ title: string;
7
+ description?: string;
8
+ isLast: boolean;
9
+ selected: boolean;
10
+ disabled: boolean;
11
+ isCompleted: boolean;
12
+ stepClicked: EventEmitter<number>;
13
+ linear: boolean;
14
+ onClick(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "s4y-step", never, { "value": { "alias": "value"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isCompleted": { "alias": "isCompleted"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, TemplateRef } from '@angular/core';
2
+ import { StepperComponent } from '../../stepper.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class StepPanelComponent {
5
+ private stepperComponent;
6
+ root: ElementRef;
7
+ value: number;
8
+ visible: boolean;
9
+ constructor(stepperComponent: StepperComponent);
10
+ templatePanel: TemplateRef<any>;
11
+ animationState: 'left' | 'center' | 'right';
12
+ canNavigateTo(value: number): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepPanelComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepPanelComponent, "s4y-step-panel", never, { "value": { "alias": "value"; "required": true; }; "visible": { "alias": "visible"; "required": false; }; }, {}, ["templatePanel"], never, false, never>;
15
+ }
@@ -0,0 +1,4 @@
1
+ export * from './stepper.component';
2
+ export * from './components/step/step.component';
3
+ export * from './stepper.module';
4
+ export * from './components/step-panel/step-panel.component';
@@ -0,0 +1,23 @@
1
+ import { AfterContentInit, ChangeDetectorRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
+ import { StepComponent } from './components/step/step.component';
3
+ import { StepPanelComponent } from './components/step-panel/step-panel.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StepperComponent implements OnInit, AfterContentInit, OnDestroy {
6
+ private cdk;
7
+ private onDestroy$;
8
+ steps: QueryList<StepComponent>;
9
+ stepsPanel: QueryList<StepPanelComponent>;
10
+ linear: boolean;
11
+ isTabsNavigate: boolean;
12
+ selectedStepValue: number;
13
+ previousStepValue: number;
14
+ maxStepCompleted: number;
15
+ constructor(cdk: ChangeDetectorRef);
16
+ ngOnInit(): void;
17
+ ngAfterContentInit(): void;
18
+ private initializerStepSelected;
19
+ setSelected(value: number): void;
20
+ ngOnDestroy(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "s4y-stepper", never, { "linear": { "alias": "linear"; "required": false; }; "isTabsNavigate": { "alias": "isTabsNavigate"; "required": false; }; }, {}, ["steps", "stepsPanel"], ["s4y-step", "s4y-step-panel"], false, never>;
23
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./stepper.component";
3
+ import * as i2 from "./components/step/step.component";
4
+ import * as i3 from "./components/step-panel/step-panel.component";
5
+ import * as i4 from "@angular/common";
6
+ export declare class StepperModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperComponent, typeof i2.StepComponent, typeof i3.StepPanelComponent], [typeof i4.CommonModule], [typeof i1.StepperComponent, typeof i2.StepComponent, typeof i3.StepPanelComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s4y-ui",
3
- "version": "2.4.2",
3
+ "version": "2.5.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0"
package/public-api.d.ts CHANGED
@@ -19,3 +19,4 @@ export * from './lib/components/slider/slider.component';
19
19
  export * from './lib/components/radio/radio.component';
20
20
  export * from './lib/components/tooltip';
21
21
  export * from './lib/components/breadcrumb';
22
+ export * from './lib/components/stepper';