valtech-components 2.0.346 → 2.0.348
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/molecules/title-block/title-block.component.mjs +12 -5
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +12 -6
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +12 -13
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +12 -6
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +2 -6
- package/fesm2022/valtech-components.mjs +42 -28
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/title-block/title-block.component.d.ts +5 -3
- package/lib/components/organisms/article/article.component.d.ts +2 -2
- package/lib/components/organisms/banner/banner.component.d.ts +5 -3
- package/lib/components/organisms/no-content/no-content.component.d.ts +5 -13
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TitleBlockMetada } from './types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TitleBlockComponent implements OnInit {
|
|
4
|
+
export declare class TitleBlockComponent implements OnInit, OnChanges {
|
|
5
|
+
private cdr;
|
|
5
6
|
props: TitleBlockMetada;
|
|
6
|
-
constructor();
|
|
7
|
+
constructor(cdr: ChangeDetectorRef);
|
|
7
8
|
ngOnInit(): void;
|
|
9
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TitleBlockComponent, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TitleBlockComponent, "val-title-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
12
|
}
|
|
@@ -31,7 +31,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
31
31
|
getVideoElement(element: ArticleElement): ArticleVideoElement;
|
|
32
32
|
getCustomElement(element: ArticleElement): ArticleCustomElement;
|
|
33
33
|
getQuoteTextProps(element: ArticleElement): {
|
|
34
|
-
size: "
|
|
34
|
+
size: "medium" | "small" | "large" | "xlarge";
|
|
35
35
|
color: import("@ionic/core").Color;
|
|
36
36
|
content?: string;
|
|
37
37
|
bold: boolean;
|
|
@@ -44,7 +44,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
44
44
|
allowPartialBold?: boolean;
|
|
45
45
|
};
|
|
46
46
|
getHighlightTextProps(element: ArticleElement): {
|
|
47
|
-
size: "
|
|
47
|
+
size: "medium" | "small" | "large" | "xlarge";
|
|
48
48
|
color: import("@ionic/core").Color;
|
|
49
49
|
content?: string;
|
|
50
50
|
bold: boolean;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BannerMetadata } from './types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BannerComponent implements OnInit {
|
|
4
|
+
export declare class BannerComponent implements OnInit, OnChanges {
|
|
5
|
+
private cdr;
|
|
5
6
|
props: BannerMetadata;
|
|
6
7
|
onClick: EventEmitter<string>;
|
|
7
8
|
onClose: EventEmitter<any>;
|
|
8
|
-
constructor();
|
|
9
|
+
constructor(cdr: ChangeDetectorRef);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
10
12
|
clickHandler(token?: string): void;
|
|
11
13
|
closeHandler(): void;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
|
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NoContentMetadata } from './types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NoContentComponent implements OnInit {
|
|
5
|
-
|
|
6
|
-
* Metadatos de la imagen y banners a mostrar.
|
|
7
|
-
*/
|
|
4
|
+
export declare class NoContentComponent implements OnInit, OnChanges {
|
|
5
|
+
private cdr;
|
|
8
6
|
props: NoContentMetadata;
|
|
9
|
-
/**
|
|
10
|
-
* Evento emitido al hacer click en un banner.
|
|
11
|
-
*/
|
|
12
7
|
onClick: EventEmitter<string>;
|
|
13
|
-
constructor();
|
|
8
|
+
constructor(cdr: ChangeDetectorRef);
|
|
14
9
|
ngOnInit(): void;
|
|
15
|
-
|
|
16
|
-
* Emite el token de acción del banner clicado.
|
|
17
|
-
* @param token Token de la acción
|
|
18
|
-
*/
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
11
|
onClickHandler(token: string): void;
|
|
20
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoContentComponent, never>;
|
|
21
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<NoContentComponent, "val-no-content", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ButtonMetadata } from '../../../types';
|
|
3
3
|
import { MOTION, Step, WizardMetadata } from '../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WizardFooterComponent implements OnInit {
|
|
5
|
+
export declare class WizardFooterComponent implements OnInit, OnChanges {
|
|
6
|
+
private cdr;
|
|
6
7
|
props: WizardMetadata;
|
|
7
8
|
onClick: EventEmitter<{
|
|
8
9
|
current: number;
|
|
9
10
|
motion: MOTION;
|
|
10
11
|
}>;
|
|
11
12
|
wrapperId: string;
|
|
12
|
-
constructor();
|
|
13
|
+
constructor(cdr: ChangeDetectorRef);
|
|
13
14
|
ngOnInit(): void;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
16
|
clickHandler(token?: string): void;
|
|
15
17
|
get Current(): Step;
|
|
16
18
|
get Progress(): number;
|