keevo-components 2.0.155 → 2.0.157

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.
Files changed (22) hide show
  1. package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +4 -3
  2. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +6 -3
  3. package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +3 -3
  4. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +24 -3
  5. package/esm2022/lib/components/kv-table-draggable/kv-table-draggable.component.mjs +35 -35
  6. package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +3 -3
  7. package/fesm2022/keevo-components.mjs +69 -44
  8. package/fesm2022/keevo-components.mjs.map +1 -1
  9. package/lib/api/base-components/base-component-dropdown.d.ts +1 -1
  10. package/lib/components/kv-button/kv-button.component.d.ts +1 -1
  11. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
  12. package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +2 -1
  13. package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +2 -1
  14. package/lib/components/kv-icon/kv-icon.component.d.ts +1 -1
  15. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +3 -0
  16. package/lib/components/kv-stepper/kv-stepper.component.d.ts +2 -2
  17. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  18. package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +1 -1
  19. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  20. package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
  21. package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +2 -2
  22. package/package.json +1 -1
@@ -43,7 +43,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
43
43
  protected addClick(event: Event): void;
44
44
  carregarCombo(filtro?: filtroCombo): void;
45
45
  protected carregarComboObs(obs: Observable<any>): void;
46
- emptyMessage(): "Digite para pesquisar" | "Nenhum resultado encontrado";
46
+ emptyMessage(): "Nenhum resultado encontrado" | "Digite para pesquisar";
47
47
  filterOptions(field: string, value: any): void;
48
48
  protected listar(): any;
49
49
  protected listarCombo(value: any): any;
@@ -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<"text" | "normal" | "outline">;
11
+ type: import("@angular/core").InputSignal<"text" | "outline" | "normal">;
12
12
  icon: string;
13
13
  constructor();
14
14
  handleShow(): void;
@@ -13,6 +13,7 @@ export declare class KvContentViewerComponent {
13
13
  blob: InputSignal<Blob>;
14
14
  idarquivo: import("@angular/core").WritableSignal<number | undefined>;
15
15
  ekpContent: InputSignal<SafeHtml | undefined>;
16
+ showTotalRecords: InputSignal<boolean>;
16
17
  totalItensCarregado: import("@angular/core").Signal<number>;
17
18
  empresaSelecionada: any;
18
19
  idtipodocumento: number[];
@@ -52,5 +53,5 @@ export declare class KvContentViewerComponent {
52
53
  ngOnInit(): void;
53
54
  scrollHandler($event: Event): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<KvContentViewerComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "showTotalRecords": { "alias": "showTotalRecords"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
56
57
  }
@@ -2,9 +2,10 @@ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class KvFilterFieldsetComponent {
4
4
  isExpandable: boolean;
5
+ title: string;
5
6
  collapsedEvent: EventEmitter<boolean>;
6
7
  isCollapsed: boolean;
7
8
  toggleField(): void;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterFieldsetComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterFieldsetComponent, "kv-filter-fieldset", never, { "isExpandable": { "alias": "isExpandable"; "required": false; }; }, { "collapsedEvent": "collapsedEvent"; }, never, ["*"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterFieldsetComponent, "kv-filter-fieldset", never, { "isExpandable": { "alias": "isExpandable"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "collapsedEvent": "collapsedEvent"; }, never, ["*"], false, never>;
10
11
  }
@@ -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<"info" | "success" | "danger" | "warning" | "system" | "contrast">;
19
+ severity: import("@angular/core").InputSignal<"danger" | "info" | "warning" | "success" | "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>;
@@ -78,6 +78,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
78
78
  menus: import("@angular/core").ModelSignal<LayoutMenuItem[]>;
79
79
  menuVisivel: WritableSignal<number | undefined>;
80
80
  showMenuSistemas: WritableSignal<boolean>;
81
+ menuVisivelChild: WritableSignal<number | undefined>;
81
82
  expandMenu: import("@angular/core").ModelSignal<boolean>;
82
83
  logoMenuExpand: any;
83
84
  logoMenuHide: any;
@@ -143,12 +144,14 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
143
144
  isSelectedMenuPai(menu: any): boolean;
144
145
  selecionarMenu(): void;
145
146
  returnMenuChild(idmenu: number): LayoutMenuItem[];
147
+ temFilhos(menu: any): boolean;
146
148
  selectApp(idaplicativo: number): void;
147
149
  showLicencas(): boolean;
148
150
  toggleMenu(): void;
149
151
  navigateToDefaultRoute(): void;
150
152
  get exibirNomes(): string | false;
151
153
  exibirMenuChild(event: any, index: number): void;
154
+ exibirSubMenuChild(event: any, idmenu: number): void;
152
155
  downloadDoc(trilha: any): void;
153
156
  showVideoDoc(trilha: any): void;
154
157
  static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
@@ -4,8 +4,8 @@ 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<"vertical" | "horizontal">;
8
- buttonsAlign: import("@angular/core").InputSignal<"center" | "start" | "end">;
7
+ orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
8
+ buttonsAlign: import("@angular/core").InputSignal<"center" | "end" | "start">;
9
9
  linear: import("@angular/core").InputSignal<boolean>;
10
10
  activeStepChange: EventEmitter<number>;
11
11
  concluirCallback: EventEmitter<void>;
@@ -141,7 +141,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
141
141
  onClickEvent(event: any): void;
142
142
  styleSetter(style: string, data: string): void;
143
143
  checkMenuFiltro(col: TableConfigColumn): void;
144
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
144
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
145
145
  dinamicDisableColumn(col: TableConfigColumn): boolean;
146
146
  checkHideColumns(): void;
147
147
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -139,7 +139,7 @@ export declare class KvTableDraggableComponent implements OnInit, DoCheck, After
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) => 0 | 1 | -1;
142
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -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) => 0 | 1 | -1;
71
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -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<"info" | "success" | "warn" | "danger" | "system" | "contrast">;
3
+ severity: import("@angular/core").InputSignal<"danger" | "info" | "warn" | "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>;
@@ -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<"info" | "success" | "danger" | "warning" | "system" | "contrast">;
22
+ iconSeverity: import("@angular/core").InputSignal<"danger" | "info" | "warning" | "success" | "system" | "contrast">;
23
23
  /**
24
24
  * Título do card.
25
25
  * @required
@@ -39,7 +39,7 @@ export declare class KvWidgetCardComponent {
39
39
  * Define o background-color do card.
40
40
  * @default true
41
41
  */
42
- severity: import("@angular/core").InputSignal<"success" | "danger" | "warning" | "system" | undefined>;
42
+ severity: import("@angular/core").InputSignal<"danger" | "warning" | "success" | "system" | undefined>;
43
43
  /**
44
44
  * Valor do indicador principal do card.
45
45
  * @default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.155",
3
+ "version": "2.0.157",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",