valtech-components 2.0.23 → 2.0.25
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/card/card.component.mjs +79 -79
- package/esm2022/lib/components/molecules/card/types.mjs +1 -1
- package/fesm2022/valtech-components.mjs +78 -78
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/card/card.component.d.ts +3 -3
- package/lib/components/molecules/card/types.d.ts +2 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ToolbarActionType } from '../../types';
|
|
3
|
-
import { CardClickEvent,
|
|
3
|
+
import { CardClickEvent, CardMetadata, CardSection, CardType } from './types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CardComponent implements OnInit {
|
|
6
|
-
|
|
6
|
+
props: CardMetadata;
|
|
7
7
|
onClick: EventEmitter<CardClickEvent>;
|
|
8
8
|
types: typeof CardType;
|
|
9
9
|
actionTypes: typeof ToolbarActionType;
|
|
@@ -12,5 +12,5 @@ export declare class CardComponent implements OnInit {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
clickHandler(section: CardSection, token?: string): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "val-card", never, { "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "val-card", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ButtonMetadata } from '../../types';
|
|
2
|
-
import { ToolbarAction } from '../../types';
|
|
1
|
+
import { ButtonMetadata, ToolbarAction } from '../../types';
|
|
3
2
|
export declare enum CardType {
|
|
4
3
|
native = "native",
|
|
5
4
|
checker = "checker",
|
|
@@ -17,7 +16,7 @@ export declare enum CardSection {
|
|
|
17
16
|
footer = 3,
|
|
18
17
|
footerExtra = 4
|
|
19
18
|
}
|
|
20
|
-
export interface
|
|
19
|
+
export interface CardMetadata {
|
|
21
20
|
token?: string;
|
|
22
21
|
type: CardType;
|
|
23
22
|
title?: string;
|