valtech-components 2.0.899 → 2.0.900
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/content-reaction/content-reaction.component.mjs +14 -5
- package/esm2022/lib/components/molecules/content-reaction/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +14 -5
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/content-reaction/content-reaction.component.d.ts +4 -3
- package/lib/components/molecules/content-reaction/types.d.ts +9 -3
- package/lib/components/organisms/article/article.component.d.ts +1 -1
- package/lib/components/organisms/landing-steps/landing-steps.component.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,20 +27,21 @@ export declare class ContentReactionComponent implements OnInit, OnChanges {
|
|
|
27
27
|
state: import("@angular/core").WritableSignal<ContentReactionState>;
|
|
28
28
|
readonly defaultEmojis: [string, string, string];
|
|
29
29
|
readonly defaultLabels: [string, string, string];
|
|
30
|
-
readonly reactionValues: ReactionValue[];
|
|
31
30
|
resolvedProps: import("@angular/core").Signal<{
|
|
32
31
|
entityRef: import("../../../services/feedback/types").EntityRef;
|
|
33
32
|
question: string;
|
|
34
33
|
showComment: boolean;
|
|
34
|
+
commentOnValues: ReactionValue[];
|
|
35
35
|
commentPlaceholder: string;
|
|
36
36
|
maxCommentLength: number;
|
|
37
|
-
emojis: [string, string, string];
|
|
38
|
-
emojiLabels: [string, string, string];
|
|
37
|
+
emojis: [string, string, string] | [string, string];
|
|
38
|
+
emojiLabels: [string, string, string] | [string, string];
|
|
39
39
|
showThankYou: boolean;
|
|
40
40
|
thankYouMessage: string;
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
}>;
|
|
44
|
+
readonly activeReactionValues: import("@angular/core").Signal<ReactionValue[]>;
|
|
44
45
|
showCommentField: import("@angular/core").Signal<boolean>;
|
|
45
46
|
canSubmit: import("@angular/core").Signal<boolean>;
|
|
46
47
|
ngOnInit(): void;
|
|
@@ -13,10 +13,16 @@ export interface ContentReactionMetadata {
|
|
|
13
13
|
commentPlaceholder?: string;
|
|
14
14
|
/** Máximo de caracteres del comentario (default: 500) */
|
|
15
15
|
maxCommentLength?: number;
|
|
16
|
-
/** Emojis personalizados [negative, neutral, positive] */
|
|
17
|
-
emojis?: [string, string, string];
|
|
16
|
+
/** Emojis personalizados [negative, neutral, positive] | [negative, positive] */
|
|
17
|
+
emojis?: [string, string, string] | [string, string];
|
|
18
18
|
/** Labels para emojis (accesibilidad) */
|
|
19
|
-
emojiLabels?: [string, string, string];
|
|
19
|
+
emojiLabels?: [string, string, string] | [string, string];
|
|
20
|
+
/**
|
|
21
|
+
* Valores de reacción para los que mostrar el campo de comentario.
|
|
22
|
+
* Si se omite, se usa `showComment` como antes (default: todos).
|
|
23
|
+
* Ejemplo: `['negative']` muestra el comment solo cuando el usuario elige negativo.
|
|
24
|
+
*/
|
|
25
|
+
commentOnValues?: ReactionValue[];
|
|
20
26
|
/** Mostrar toast de agradecimiento (default: true) */
|
|
21
27
|
showThankYou?: boolean;
|
|
22
28
|
/** Mensaje de agradecimiento personalizado */
|
|
@@ -92,7 +92,7 @@ export declare class ArticleComponent implements OnInit {
|
|
|
92
92
|
shape?: "round";
|
|
93
93
|
size?: "small" | "large" | "default";
|
|
94
94
|
fill?: "default" | "clear" | "outline" | "solid";
|
|
95
|
-
type: "
|
|
95
|
+
type: "submit" | "button" | "reset";
|
|
96
96
|
token?: string;
|
|
97
97
|
ref?: any;
|
|
98
98
|
handler?: (value: any) => any;
|
|
@@ -4,7 +4,7 @@ export declare class LandingStepsComponent {
|
|
|
4
4
|
private readonly props_;
|
|
5
5
|
set props(v: LandingStepsMetadata);
|
|
6
6
|
readonly p: import("@angular/core").Signal<LandingStepsMetadata>;
|
|
7
|
-
readonly cols: import("@angular/core").Signal<
|
|
7
|
+
readonly cols: import("@angular/core").Signal<3 | 2 | 4>;
|
|
8
8
|
readonly accentColor: import("@angular/core").Signal<string>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LandingStepsComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<LandingStepsComponent, "val-landing-steps", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
|
package/lib/version.d.ts
CHANGED