keevo-components 1.8.311 → 1.8.313
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/api/base-components/base-component-dropdown.mjs +47 -7
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +46 -5
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +2 -1
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +2 -1
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +16 -11
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +7 -4
- package/fesm2022/keevo-components.mjs +115 -24
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-dropdown.d.ts +5 -1
- package/lib/api/base-components/base-component-multi-select.d.ts +5 -1
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +19 -12
- package/lib/components/kv-table/kv-table.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
|
|
|
12
12
|
optionLabel: string;
|
|
13
13
|
optionValue: string;
|
|
14
14
|
optionDisabled: string;
|
|
15
|
+
capitalize: boolean;
|
|
15
16
|
group: boolean;
|
|
16
17
|
optionGroupLabel: string;
|
|
17
18
|
optionGroupChildren: string;
|
|
@@ -27,6 +28,7 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
|
|
|
27
28
|
onSelectionChange: EventEmitter<any>;
|
|
28
29
|
onSelectionValue: EventEmitter<any>;
|
|
29
30
|
requestComplete: EventEmitter<any>;
|
|
31
|
+
prepositions: string[];
|
|
30
32
|
constructor(componentService: ComponentService, dialogService: DialogService);
|
|
31
33
|
ngOnInit(): void;
|
|
32
34
|
protected addClick(event: Event): void;
|
|
@@ -42,6 +44,8 @@ export declare abstract class BaseComponentDropDown extends BaseComponentInput<a
|
|
|
42
44
|
onInputClick(event: any): void;
|
|
43
45
|
onInputFilter(event: any): void;
|
|
44
46
|
writeValue(value: any): void;
|
|
47
|
+
transformCapitalize(value: string): string;
|
|
48
|
+
capitalizeOptions(options: any[]): any[];
|
|
45
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropDown, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDown, "ng-component", never, { "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "group": { "alias": "group"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "widthField": { "alias": "widthField"; "required": false; }; }, { "onAddClick": "onAddClick"; "onClick": "onClick"; "onLoadCombo": "onLoadCombo"; "onSelectionChange": "onSelectionChange"; "onSelectionValue": "onSelectionValue"; "requestComplete": "requestComplete"; }, never, never, false, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropDown, "ng-component", never, { "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "capitalize": { "alias": "capitalize"; "required": false; }; "group": { "alias": "group"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "widthField": { "alias": "widthField"; "required": false; }; }, { "onAddClick": "onAddClick"; "onClick": "onClick"; "onLoadCombo": "onLoadCombo"; "onSelectionChange": "onSelectionChange"; "onSelectionValue": "onSelectionValue"; "requestComplete": "requestComplete"; }, never, never, false, never>;
|
|
47
51
|
}
|
|
@@ -11,11 +11,13 @@ export declare abstract class BaseComponentMultiSelect extends BaseComponentInpu
|
|
|
11
11
|
showClear: boolean;
|
|
12
12
|
lazy: boolean;
|
|
13
13
|
filteredOptions: any;
|
|
14
|
+
capitalize: boolean;
|
|
14
15
|
onSelectionChange: EventEmitter<any>;
|
|
15
16
|
onPanelHide: EventEmitter<any>;
|
|
16
17
|
onSelectionValue: EventEmitter<any>;
|
|
17
18
|
onClick: EventEmitter<any>;
|
|
18
19
|
loadedCombo: boolean;
|
|
20
|
+
prepositions: string[];
|
|
19
21
|
constructor(componentService: ComponentService);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
carregarCombo(filtro?: filtroCombo): void;
|
|
@@ -30,6 +32,8 @@ export declare abstract class BaseComponentMultiSelect extends BaseComponentInpu
|
|
|
30
32
|
get baseInputClass(): string;
|
|
31
33
|
selectionChange(event: any): void;
|
|
32
34
|
requestCompleted(): boolean;
|
|
35
|
+
transformCapitalize(value: string): string;
|
|
36
|
+
capitalizeOptions(options: any[]): any[];
|
|
33
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentMultiSelect, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentMultiSelect, "ng-component", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; "onPanelHide": "onPanelHide"; "onSelectionValue": "onSelectionValue"; "onClick": "onClick"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentMultiSelect, "ng-component", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "capitalize": { "alias": "capitalize"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; "onPanelHide": "onPanelHide"; "onSelectionValue": "onSelectionValue"; "onClick": "onClick"; }, never, never, false, never>;
|
|
35
39
|
}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class KvSelectButtonsComponent implements OnInit {
|
|
4
|
-
options:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
defaultValue
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export declare class KvSelectButtonsComponent<T> implements OnInit {
|
|
4
|
+
options: import("@angular/core").InputSignal<SelectButtonsOption<T>[]>;
|
|
5
|
+
selection: import("@angular/core").ModelSignal<T | undefined>;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated a favor do selection
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: T;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated a favor do selection
|
|
12
|
+
*/
|
|
13
|
+
selectChange: EventEmitter<T>;
|
|
12
14
|
ngOnInit(): void;
|
|
13
|
-
select(value:
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvSelectButtonsComponent
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvSelectButtonsComponent
|
|
15
|
+
select(value: SelectButtonsOption<T>): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvSelectButtonsComponent<any>, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvSelectButtonsComponent<any>, "kv-select-buttons", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, { "selection": "selectionChange"; "selectChange": "selectChange"; }, never, never, false, never>;
|
|
16
18
|
}
|
|
19
|
+
export type SelectButtonsOption<T> = {
|
|
20
|
+
label: string;
|
|
21
|
+
action: () => void;
|
|
22
|
+
value: T;
|
|
23
|
+
};
|
|
@@ -126,7 +126,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
126
126
|
onClickEvent(event: any): void;
|
|
127
127
|
styleSetter(style: string, data: string): void;
|
|
128
128
|
checkMenuFiltro(col: any): void;
|
|
129
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
129
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
130
130
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
131
131
|
checkHideColumns(): void;
|
|
132
132
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -62,7 +62,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
62
62
|
onGlobalFilter(table: Table, event: Event): void;
|
|
63
63
|
adicionaAcoesTabela(): void;
|
|
64
64
|
checkMenuFiltro(col: any): void;
|
|
65
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
65
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
66
66
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
67
67
|
dinamicColumnSet(e: any, col: any): void;
|
|
68
68
|
addColumn(field: string): void;
|
|
@@ -10,6 +10,7 @@ export declare class KvTreetableComponent {
|
|
|
10
10
|
private elementRef;
|
|
11
11
|
menuItems: MenuItem[];
|
|
12
12
|
tamanhoTela: number;
|
|
13
|
+
disableRowNodeSticky: boolean;
|
|
13
14
|
config: TreeTableConfig;
|
|
14
15
|
dataSource: any;
|
|
15
16
|
gridLines: boolean;
|
|
@@ -73,5 +74,5 @@ export declare class KvTreetableComponent {
|
|
|
73
74
|
align(col: TableConfigColumn): string;
|
|
74
75
|
resetTreeTable(): void;
|
|
75
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTreetableComponent, "kv-tree-table", never, { "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "treeTableDraggable": { "alias": "treeTableDraggable"; "required": false; }; "transferArrayItem": { "alias": "transferArrayItem"; "required": false; }; "ordenacao": { "alias": "ordenacao"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "textoEmptyMessage": { "alias": "textoEmptyMessage"; "required": false; }; "childrenRecoil": { "alias": "childrenRecoil"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onDropItem": "onDropItem"; }, ["templates"], never, false, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTreetableComponent, "kv-tree-table", never, { "disableRowNodeSticky": { "alias": "disableRowNodeSticky"; "required": false; }; "config": { "alias": "config"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "treeTableDraggable": { "alias": "treeTableDraggable"; "required": false; }; "transferArrayItem": { "alias": "transferArrayItem"; "required": false; }; "ordenacao": { "alias": "ordenacao"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "textoEmptyMessage": { "alias": "textoEmptyMessage"; "required": false; }; "childrenRecoil": { "alias": "childrenRecoil"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "_templates": { "alias": "templates"; "required": false; }; }, { "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onDropItem": "onDropItem"; }, ["templates"], never, false, never>;
|
|
77
78
|
}
|