iptdevs-design-system 3.1.419 → 3.1.421

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.
@@ -1,15 +1,15 @@
1
1
  import { Observable } from "rxjs";
2
2
  import * as i0 from "@angular/core";
3
- export interface Control {
3
+ export interface ControlSteps {
4
4
  name: string;
5
5
  required: boolean;
6
6
  description: string;
7
7
  }
8
8
  export declare class CodSelfManagedControls {
9
- controls: Array<Control[]>;
9
+ controls: Array<ControlSteps[]>;
10
10
  private $controls;
11
11
  constructor();
12
- getControlValues(): Observable<Array<Control[]>>;
12
+ getControlValues(): Observable<Array<ControlSteps[]>>;
13
13
  changeValue(step: number, controlName: string, newValue: any): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfManagedControls, never>;
15
15
  static ɵprov: i0.ɵɵInjectableDeclaration<CodSelfManagedControls>;
@@ -1,15 +1,15 @@
1
1
  import { Observable } from "rxjs";
2
- import { Control } from "./cod-self-managed-controls";
2
+ import { ControlSteps } from "./cod-self-managed-controls";
3
3
  import { LocalStorageCodSelfMaganedService } from "./local-storage-cod.service";
4
- export interface localStorageValues {
4
+ export interface localStorageValuesTwo {
5
5
  control: string;
6
6
  value: any;
7
7
  }
8
8
  export declare abstract class CodSelfManagedSteps {
9
9
  localStorageCOD: LocalStorageCodSelfMaganedService;
10
10
  constructor();
11
- readAndWriteLS(step: number, control: string): localStorageValues;
11
+ readAndWriteLS(step: number, control: string): localStorageValuesTwo;
12
12
  setDataInLocalStorage(step: number, control: string, value: any): void;
13
13
  listenFormChanges(step: number, control: string, obs: Observable<any>): void;
14
- resetLocalStorage(controls: Control[]): void;
14
+ resetLocalStorage(controls: ControlSteps[]): void;
15
15
  }
@@ -20,7 +20,7 @@ export declare class CodSelfFormStepOneComponent extends CodSelfManagedSteps imp
20
20
  states: any;
21
21
  cities: any;
22
22
  errorMessage: string;
23
- controls: import("../../logic/cod-self-managed-controls").Control[];
23
+ controls: import("../../logic/cod-self-managed-controls").ControlSteps[];
24
24
  constructor(fb: FormBuilder, parameterService: ParameterService, cdRef: ChangeDetectorRef);
25
25
  ngOnChanges(changes: SimpleChanges): void;
26
26
  initForm(): void;
@@ -1,5 +1,7 @@
1
+ import { CodSelfManagedSteps } from '../../logic/cod-self-managed-steps';
1
2
  import * as i0 from "@angular/core";
2
- export declare class CodSelfFormStepThreeComponent {
3
+ export declare class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
4
+ constructor();
3
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfFormStepThreeComponent, never>;
4
6
  static ɵcmp: i0.ɵɵComponentDeclaration<CodSelfFormStepThreeComponent, "app-cod-self-form-step-three", never, {}, {}, never, never, false>;
5
7
  }
@@ -1,7 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { CodSelfManagedSteps } from '../../logic/cod-self-managed-steps';
2
3
  import * as i0 from "@angular/core";
3
- export declare class CodSelfFormStepTwoComponent {
4
+ export declare class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
4
5
  completed: EventEmitter<number>;
6
+ constructor();
5
7
  back(): void;
6
8
  sendForm(): void;
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<CodSelfFormStepTwoComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.1.419",
3
+ "version": "3.1.421",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",
package/public-api.d.ts CHANGED
@@ -83,7 +83,10 @@ export * from "./lib/cod/steps/cod-form-step-four/cod-form-step-four.component";
83
83
  export * from "./lib/cod/steps/cod-form-step-five/cod-form-step-five.component";
84
84
  export * from "./lib/cod-self-managed/cod-self-managed.module";
85
85
  export * from "./lib/cod-self-managed/cod-form-self-managed/cod-self-managed.component";
86
- export * from "./lib/cod-self-managed//steps/cod-form-step-one/cod-self-form-step-one.component";
87
- export * from "./lib/cod-self-managed//steps/cod-form-step-two/cod-self-form-step-two.component";
88
- export * from "./lib/cod-self-managed//steps/cod-form-step-three/cod-self-form-step-three.component";
89
- export * from "./lib/cod-self-managed//steps/cod-form-step-four/cod-self-form-step-four.component";
86
+ export * from "./lib/cod-self-managed/steps/cod-form-step-one/cod-self-form-step-one.component";
87
+ export * from "./lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component";
88
+ export * from "./lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component";
89
+ export * from "./lib/cod-self-managed/steps/cod-form-step-four/cod-self-form-step-four.component";
90
+ export * from "./lib/cod-self-managed/logic/cod-self-managed-controls";
91
+ export * from "./lib/cod-self-managed/logic/cod-self-managed-steps";
92
+ export * from "./lib/cod-self-managed/logic/local-storage-cod.service";