valtech-components 4.0.951 → 4.0.952
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/member-card/member-card.component.mjs +59 -22
- package/esm2022/lib/components/molecules/member-card/types.mjs +1 -1
- package/esm2022/lib/components/organisms/organization-view/organization-view.component.mjs +2 -2
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +60 -23
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/member-card/member-card.component.d.ts +8 -1
- package/lib/components/molecules/member-card/types.d.ts +8 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ export declare class MemberCardComponent {
|
|
|
5
5
|
readonly props: import("@angular/core").InputSignal<MemberCardMetadata>;
|
|
6
6
|
/** Emitted when the trailing action button is clicked. */
|
|
7
7
|
onAction: EventEmitter<string>;
|
|
8
|
+
/** Emitted when the second trailing action button is clicked. */
|
|
9
|
+
onSecondaryAction: EventEmitter<string>;
|
|
8
10
|
protected config: import("@angular/core").Signal<{
|
|
9
11
|
id?: string;
|
|
10
12
|
name?: string;
|
|
@@ -15,11 +17,16 @@ export declare class MemberCardComponent {
|
|
|
15
17
|
showAction?: boolean;
|
|
16
18
|
actionIcon?: string;
|
|
17
19
|
actionAriaLabel?: string;
|
|
20
|
+
showSecondaryAction?: boolean;
|
|
21
|
+
secondaryActionIcon?: string;
|
|
22
|
+
secondaryActionAriaLabel?: string;
|
|
23
|
+
secondaryActionDanger?: boolean;
|
|
18
24
|
}>;
|
|
19
25
|
protected displayName: import("@angular/core").Signal<string>;
|
|
20
26
|
protected subtitle: import("@angular/core").Signal<string>;
|
|
21
27
|
constructor();
|
|
22
28
|
emitAction(): void;
|
|
29
|
+
emitSecondaryAction(): void;
|
|
23
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MemberCardComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MemberCardComponent, "val-member-card", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MemberCardComponent, "val-member-card", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; "onSecondaryAction": "onSecondaryAction"; }, never, never, true, never>;
|
|
25
32
|
}
|
|
@@ -15,5 +15,13 @@ export interface MemberCardMetadata {
|
|
|
15
15
|
actionIcon?: string;
|
|
16
16
|
/** Accessible label for the action button. */
|
|
17
17
|
actionAriaLabel?: string;
|
|
18
|
+
/** Show a second trailing action button (ej. quitar), a nivel del primario. */
|
|
19
|
+
showSecondaryAction?: boolean;
|
|
20
|
+
/** Ionicon name for the second action button. */
|
|
21
|
+
secondaryActionIcon?: string;
|
|
22
|
+
/** Accessible label for the second action button. */
|
|
23
|
+
secondaryActionAriaLabel?: string;
|
|
24
|
+
/** Pinta el segundo botón en color `danger` — para una acción destructiva. */
|
|
25
|
+
secondaryActionDanger?: boolean;
|
|
18
26
|
}
|
|
19
27
|
export declare const MEMBER_CARD_DEFAULTS: Partial<MemberCardMetadata>;
|
package/lib/version.d.ts
CHANGED