keevo-components 2.0.119 → 2.0.121

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.
@@ -9,7 +9,7 @@ export declare class KvButtonComponent {
9
9
  severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary" | "danger">;
10
10
  size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
11
11
  icon: import("@angular/core").ModelSignal<string>;
12
- iconPosition: import("@angular/core").InputSignal<"left" | "right">;
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<"normal" | "text" | "outline">;
11
+ type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
12
12
  icon: string;
13
13
  constructor();
14
14
  handleShow(): void;
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
16
16
  export declare class KvIconComponent {
17
17
  icon: import("@angular/core").InputSignal<string>;
18
18
  shape: import("@angular/core").InputSignal<"circle" | "square" | "hexagon">;
19
- severity: import("@angular/core").InputSignal<"success" | "info" | "danger" | "warning" | "system" | "contrast">;
19
+ severity: import("@angular/core").InputSignal<"info" | "success" | "danger" | "warning" | "system" | "contrast">;
20
20
  size: import("@angular/core").InputSignal<"small" | "large" | "medium">;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<KvIconComponent, never>;
22
22
  static ɵcmp: i0.ɵɵComponentDeclaration<KvIconComponent, "kv-icon", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "shape": { "alias": "shape"; "required": true; "isSignal": true; }; "severity": { "alias": "severity"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
@@ -0,0 +1,36 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface StackedBarDataModel {
3
+ value: number;
4
+ barColor: string;
5
+ }
6
+ /**
7
+ * Componente de gráfico de barras empilhadas.
8
+ *
9
+ * Este componente exibe dados em formato de barras empilhadas horizontalmente,
10
+ * permitindo visualizar proporções relativas entre diferentes valores.
11
+ *
12
+ * @example
13
+ * <kv-stacked-bar-chart [data]="minhaListaDeDados" [animation]="true"></kv-stacked-bar-chart>
14
+ *
15
+ * @standalone
16
+ */
17
+ export declare class KvStackedBarChartComponent {
18
+ /**
19
+ * Índice da barra atualmente em foco (hover).
20
+ */
21
+ hoveredIndex: number | null;
22
+ /**
23
+ * Dados a serem exibidos no gráfico de barras empilhadas.
24
+ * @required
25
+ */
26
+ data: import("@angular/core").InputSignal<StackedBarDataModel[]>;
27
+ /**
28
+ * Define se a animação de carregamento deve ser exibida.
29
+ * @default false
30
+ */
31
+ animation: import("@angular/core").InputSignal<boolean>;
32
+ getTotal(): number;
33
+ getPercent(value: number): number;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvStackedBarChartComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvStackedBarChartComponent, "kv-stacked-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
36
+ }
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class KvStepperComponent {
5
5
  panels: KvStepperPanel[];
6
6
  activeStep: number;
7
- orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
7
+ orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
8
8
  buttonsAlign: import("@angular/core").InputSignal<"center" | "start" | "end">;
9
9
  linear: import("@angular/core").InputSignal<boolean>;
10
10
  activeStepChange: EventEmitter<number>;
@@ -139,7 +139,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
139
139
  onClickEvent(event: any): void;
140
140
  styleSetter(style: string, data: string): void;
141
141
  checkMenuFiltro(col: TableConfigColumn): void;
142
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
142
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
143
143
  dinamicDisableColumn(col: TableConfigColumn): boolean;
144
144
  checkHideColumns(): void;
145
145
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
68
68
  onGlobalFilter(table: Table, event: Event): void;
69
69
  executeCollapsed(): void;
70
70
  checkMenuFiltro(col: any): void;
71
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
71
+ sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
72
72
  dinamicDisableColumn(col: TableConfigColumn): boolean;
73
73
  dinamicColumnSet(e: any, col: any): void;
74
74
  addColumn(field: string): 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<"success" | "info" | "warn" | "danger" | "system" | "contrast">;
3
+ severity: import("@angular/core").InputSignal<"info" | "success" | "warn" | "danger" | "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>;
@@ -19,7 +19,7 @@ export declare class KvWidgetCardComponent {
19
19
  * Define a cor do ícone do card.
20
20
  * @required
21
21
  */
22
- iconSeverity: import("@angular/core").InputSignal<"success" | "info" | "danger" | "warning" | "system" | "contrast">;
22
+ iconSeverity: import("@angular/core").InputSignal<"info" | "success" | "danger" | "warning" | "system" | "contrast">;
23
23
  /**
24
24
  * Título do card.
25
25
  * @required
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.119",
3
+ "version": "2.0.121",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -296,3 +296,7 @@ export * from './lib/components/kv-icon/kv-icon.model';
296
296
  * Widget Card
297
297
  */
298
298
  export * from './lib/components/kv-widget-card/kv-widget-card.component';
299
+ /**
300
+ * Stacked Bar Chart
301
+ */
302
+ export * from './lib/components/kv-stacked-bar-chart/kv-stacked-bar-chart.component';