keevo-components 2.0.78 → 2.0.79
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/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +3 -3
- package/esm2022/lib/components/kv-tags/kv-tags.component.mjs +35 -0
- package/esm2022/lib/components/kv-tags/kv-tags.module.mjs +27 -0
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/keevo-components.mjs +58 -3
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-button/kv-button.component.d.ts +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
- package/lib/components/kv-tags/kv-tags.component.d.ts +31 -0
- package/lib/components/kv-tags/kv-tags.module.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -9,7 +9,7 @@ export declare class KvButtonComponent {
|
|
|
9
9
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
11
|
icon: import("@angular/core").ModelSignal<string>;
|
|
12
|
-
iconPosition: import("@angular/core").InputSignal<"
|
|
12
|
+
iconPosition: import("@angular/core").InputSignal<"right" | "left">;
|
|
13
13
|
label: import("@angular/core").InputSignal<string>;
|
|
14
14
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
onClick: import("@angular/core").OutputEmitterRef<any>;
|
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvTagComponent {
|
|
3
|
-
severity: import("@angular/core").InputSignal<"
|
|
3
|
+
severity: import("@angular/core").InputSignal<"warn" | "info" | "danger" | "success" | "system" | "contrast">;
|
|
4
4
|
border: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvTagComponent, "kv-tag", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { KvSeverity } from '../kv-filter-cards/kv-filter-cards.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvTagsComponent {
|
|
4
|
+
tags: import("@angular/core").InputSignal<KvTagConfig[] | undefined>;
|
|
5
|
+
hover: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
color: import("@angular/core").Signal<(tag: {
|
|
7
|
+
label: string;
|
|
8
|
+
severity?: KvSeverity;
|
|
9
|
+
icon?: string;
|
|
10
|
+
}) => string>;
|
|
11
|
+
background: import("@angular/core").Signal<(tag: {
|
|
12
|
+
label: string;
|
|
13
|
+
severity?: KvSeverity;
|
|
14
|
+
icon?: string;
|
|
15
|
+
}) => string>;
|
|
16
|
+
borderColor: import("@angular/core").Signal<(tag: {
|
|
17
|
+
label: string;
|
|
18
|
+
severity?: KvSeverity;
|
|
19
|
+
icon?: string;
|
|
20
|
+
}) => string>;
|
|
21
|
+
onClickTag: import("@angular/core").OutputEmitterRef<KvTagConfig>;
|
|
22
|
+
clickTag(event: KvTagConfig): void;
|
|
23
|
+
private getTransparentMix;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagsComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTagsComponent, "kv-tags", never, { "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; }, { "onClickTag": "onClickTag"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
27
|
+
export type KvTagConfig = {
|
|
28
|
+
label: string;
|
|
29
|
+
severity?: KvSeverity;
|
|
30
|
+
icon?: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-tags.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class KvTagsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvTagsModule, [typeof i1.KvTagsComponent], [typeof i2.CommonModule], [typeof i1.KvTagsComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvTagsModule>;
|
|
8
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -272,3 +272,8 @@ export * from './lib/components/kv-tag/kv-tag.module';
|
|
|
272
272
|
*/
|
|
273
273
|
export * from './lib/components/kv-filter-cards/kv-filter-cards.module';
|
|
274
274
|
export { KvFilterCardsComponent, KvFilterCardConfig, mapaSeverityColors, KvSeverity } from './lib/components/kv-filter-cards/kv-filter-cards.component';
|
|
275
|
+
/**
|
|
276
|
+
* Tags
|
|
277
|
+
*/
|
|
278
|
+
export * from './lib/components/kv-tags/kv-tags.module';
|
|
279
|
+
export { KvTagConfig, KvTagsComponent } from './lib/components/kv-tags/kv-tags.component';
|