keevo-components 1.8.358 → 1.8.360

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 (51) hide show
  1. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  2. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  3. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
  4. package/esm2022/lib/api/services/image.cutter.service.mjs +2 -2
  5. package/esm2022/lib/api/services/notification.service.mjs +3 -3
  6. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
  7. package/esm2022/lib/components/kv-button/kv-button.component.mjs +19 -28
  8. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
  9. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +6 -3
  10. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
  11. package/esm2022/lib/components/kv-error/kv-error.component.mjs +2 -2
  12. package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +3 -3
  13. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +1 -1
  14. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
  15. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
  16. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
  17. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
  18. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
  19. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
  20. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
  21. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
  22. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
  23. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
  24. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
  25. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
  26. package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +3 -3
  27. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
  28. package/esm2022/lib/components/kv-label/kv-label.component.mjs +2 -2
  29. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +3 -3
  30. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +2 -2
  31. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
  32. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +1 -1
  33. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +2 -2
  34. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +2 -2
  35. package/esm2022/lib/components/kv-table/kv-table.component.mjs +32 -30
  36. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +2 -2
  37. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +9 -9
  38. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
  39. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +1 -1
  40. package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +1 -1
  41. package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +1 -1
  42. package/fesm2022/keevo-components.mjs +115 -118
  43. package/fesm2022/keevo-components.mjs.map +1 -1
  44. package/lib/api/base-components/base-component-dropdown.d.ts +1 -1
  45. package/lib/components/kv-button/kv-button.component.d.ts +10 -10
  46. package/lib/components/kv-carousel/kv-carousel.component.d.ts +2 -1
  47. package/lib/components/kv-table/kv-table.component.d.ts +15 -20
  48. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  49. package/package.json +2 -2
  50. package/esm2022/lib/api/types/severity.mjs +0 -2
  51. package/lib/api/types/severity.d.ts +0 -2
@@ -34,7 +34,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
34
34
  protected addClick(event: Event): void;
35
35
  carregarCombo(filtro?: filtroCombo): void;
36
36
  protected carregarComboObs(obs: Observable<any>): void;
37
- emptyMessage(): "Nenhum resultado encontrado" | "Digite para pesquisar";
37
+ emptyMessage(): "Digite para pesquisar" | "Nenhum resultado encontrado";
38
38
  filterOptions(field: string, value: any): void;
39
39
  protected listar(): any;
40
40
  protected listarCombo(value: any): any;
@@ -1,15 +1,15 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class KvButtonComponent {
4
- label: string;
5
- icon: string;
6
- loading: boolean;
7
- disabled: boolean;
8
- severity: 'primary' | 'secondary' | 'tertiary';
9
- size: 'small' | 'normal' | 'large';
10
- fullWidth: boolean;
11
- onClick: EventEmitter<any>;
3
+ fullWidth: import("@angular/core").InputSignal<boolean>;
4
+ type: import("@angular/core").InputSignal<"text" | "outline" | undefined>;
5
+ loading: import("@angular/core").InputSignal<boolean>;
6
+ severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
7
+ size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
8
+ icon: import("@angular/core").InputSignal<string>;
9
+ label: import("@angular/core").InputSignal<string>;
10
+ disabled: import("@angular/core").InputSignal<boolean>;
11
+ onClick: import("@angular/core").OutputEmitterRef<any>;
12
12
  constructor();
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
15
15
  }
@@ -7,10 +7,11 @@ export declare class KvCarouselComponent {
7
7
  heightCarousel: import("@angular/core").InputSignal<number | undefined>;
8
8
  heightComputed: import("@angular/core").Signal<any>;
9
9
  carouselData: any[];
10
+ autoplayInterval: number;
10
11
  widthCarousel: number;
11
12
  isCollapsed: boolean;
12
13
  constructor(cd: ChangeDetectorRef);
13
14
  navigateToLink(link: string): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<KvCarouselComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<KvCarouselComponent, "kv-carousel", never, { "heightCarousel": { "alias": "heightCarousel"; "required": false; "isSignal": true; }; "carouselData": { "alias": "carouselData"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvCarouselComponent, "kv-carousel", never, { "heightCarousel": { "alias": "heightCarousel"; "required": false; "isSignal": true; }; "carouselData": { "alias": "carouselData"; "required": false; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; }; }, {}, never, never, false, never>;
16
17
  }
@@ -26,24 +26,19 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
26
26
  prepositions: string[];
27
27
  menuFiltro: boolean;
28
28
  checkboxClicked: boolean;
29
- showFiltrosAvancados: boolean;
30
29
  collapsed: boolean;
31
30
  tableActions: MenuItem[][];
32
31
  currDataSource: any[];
33
- dataIndex: {
34
- [key: string]: any;
35
- };
36
32
  menuItems: MenuItem[];
37
33
  actionsOffset: number;
38
34
  templates: QueryList<any>;
39
35
  _templates: any;
40
36
  table: Table;
41
- deletedColumnsIndex: any[];
42
37
  ptable: Table;
43
38
  set setConfig(value: TableConfig);
44
39
  first: import("@angular/core").ModelSignal<number>;
45
40
  rows: import("@angular/core").ModelSignal<number>;
46
- defaultSortField: string;
41
+ defaultSortField: string | undefined;
47
42
  dataSource: any[];
48
43
  selectedItems: any[];
49
44
  totalRecords: number;
@@ -59,7 +54,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
59
54
  scrollHeight: string;
60
55
  isTableScrollable: boolean;
61
56
  tableCaptalized: boolean;
62
- rowTrackBy: Function;
57
+ rowTrackBy: (index: number, item: any) => any;
63
58
  responsiveLayout: boolean;
64
59
  disabledHeaderCheckbox: boolean;
65
60
  /**
@@ -103,7 +98,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
103
98
  isRowSelectable(event: any): boolean;
104
99
  isDisabledCheckbox(rowData: any): boolean;
105
100
  isDisabledRow(rowData: any): boolean;
106
- getStyleClass(rowData: any, col: TableConfigColumn, data: any): string;
101
+ private getStyleClass;
107
102
  verificaCursor(): void;
108
103
  loadImage(rowData: any, col: TableConfigColumn): string;
109
104
  onGlobalFilter(table: Table, event: Event): void;
@@ -111,36 +106,36 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
111
106
  selectionChange(value: any): void;
112
107
  activeItemLote(selectedItems: any): void;
113
108
  returnRowClass(rowData: any, col: TableConfigColumn): string;
114
- expiredFile(rowData: any, col: TableConfigColumn): boolean;
109
+ private expiredFile;
115
110
  transformValue(rowData: any, col: TableConfigColumn): any;
116
111
  transformCapitalize(value: string): string;
117
112
  formatarValor(valor: number): string;
118
113
  adjustTableSize(): void;
119
114
  doubleClick(e: any, rowData: any): void;
120
- retornarRow(rowData: any, col: any, field: string): string;
121
- exibirCampo(field: any, rowData: any): any;
122
- returnClassChip(rowData: any, col: any): string;
123
- returnClassIcon(rowData: any, col: any): string;
124
- returnTooltipIcon(rowData: any, col: any): string;
125
- returnTooltipRow(rowData: any, col: any): any;
115
+ retornarRow(rowData: any, col: TableConfigColumn, field: string): string;
116
+ private exibirCampo;
117
+ returnClassChip(rowData: any, col: TableConfigColumn): string;
118
+ returnClassIcon(rowData: any, col: TableConfigColumn): string;
119
+ returnTooltipIcon(rowData: any, col: TableConfigColumn): string;
120
+ returnTooltipRow(rowData: any, col: TableConfigColumn): any;
126
121
  deleteColumn(field: string): void;
127
122
  addColumn(field: string): void;
128
- dinamicColumnSet(e: any, col: any): void;
123
+ dinamicColumnSet(e: any, col: TableConfigColumn): void;
129
124
  abrirMenuFiltro(e: any): void;
130
125
  fecharMenuFiltro(): void;
131
126
  onEscapeKey(event: KeyboardEvent): void;
132
127
  onClickEvent(event: any): void;
133
128
  styleSetter(style: string, data: string): void;
134
- checkMenuFiltro(col: any): void;
135
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
129
+ checkMenuFiltro(col: TableConfigColumn): void;
130
+ sortByPosition(): (elem1: any, elem2: any) => 1 | -1 | 0;
136
131
  dinamicDisableColumn(col: TableConfigColumn): boolean;
137
132
  checkHideColumns(): void;
138
133
  getCustomTemplate(templatename: string): TemplateRef<any>;
139
- onSwitchChange(estado: any, rowData: any, col: any): void;
134
+ onSwitchChange(estado: any, rowData: any, col: TableConfigColumn): void;
140
135
  createTableActions(): void;
141
136
  onSort(e: any): void;
142
137
  get config(): TableConfig;
143
138
  columnsFilter: import("@angular/core").Signal<TableConfigColumn[]>;
144
139
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTableComponent, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], ["*"], false, never>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTableComponent, "kv-table", never, { "_templates": { "alias": "templates"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "defaultSortField": { "alias": "defaultSortField"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; "filterColumnsBtn": { "alias": "filterColumnsBtn"; "required": false; }; "replaceEmptyValues": { "alias": "replaceEmptyValues"; "required": false; }; "filtrosAvancados": { "alias": "filtrosAvancados"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "isTableScrollable": { "alias": "isTableScrollable"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "rowTrackBy": { "alias": "rowTrackBy"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "disabledHeaderCheckbox": { "alias": "disabledHeaderCheckbox"; "required": false; }; "applyStyle": { "alias": "applyStyle"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; }, { "first": "firstChange"; "rows": "rowsChange"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "onPaginate": "onPaginate"; "onSelectionChange": "onSelectionChange"; "doubleClickEvent": "doubleClickEvent"; "filterField": "filterField"; "onSwitchTableChange": "onSwitchTableChange"; }, ["templates"], never, false, never>;
146
141
  }
@@ -64,7 +64,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
64
64
  onGlobalFilter(table: Table, event: Event): void;
65
65
  executeCollapsed(): void;
66
66
  checkMenuFiltro(col: any): void;
67
- sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
67
+ sortByPosition(): (elem1: any, elem2: any) => 1 | -1 | 0;
68
68
  dinamicDisableColumn(col: TableConfigColumn): boolean;
69
69
  dinamicColumnSet(e: any, col: any): void;
70
70
  addColumn(field: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.358",
3
+ "version": "1.8.360",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -36,4 +36,4 @@
36
36
  "default": "./fesm2022/keevo-components.mjs"
37
37
  }
38
38
  }
39
- }
39
+ }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V2ZXJpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvYXBpL3R5cGVzL3NldmVyaXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJ0eXBlIFNldmVyaXR5ID0gXCJwcmltYXJ5XCIgfCBcInNlY29uZGFyeVwiIHwgXCJzdWNjZXNzXCIgfCBcImluZm9cIiB8IFwid2FybmluZ1wiIHwgXCJoZWxwXCIgfCBcImRhbmdlclwiO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgU2V2ZXJpdHk7XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- type Severity = "primary" | "secondary" | "success" | "info" | "warning" | "help" | "danger";
2
- export default Severity;