keevo-components 1.8.197 → 1.8.198
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/components/table/action-item.mjs +1 -1
- package/esm2022/lib/components/keevo-components.module.mjs +15 -8
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +5 -5
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -2
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +23 -0
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +28 -0
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +11 -12
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +7 -4
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/keevo-components.mjs +108 -56
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/components/table/action-item.d.ts +4 -3
- package/lib/components/keevo-components.module.d.ts +3 -2
- package/lib/components/kv-button/kv-button.component.d.ts +2 -2
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +1 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +9 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +9 -0
- package/lib/components/kv-modal/kv-modal.component.d.ts +9 -10
- package/lib/components/kv-modal/kv-modal.module.d.ts +2 -1
- 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/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export interface ActionItem {
|
|
2
2
|
label: string;
|
|
3
3
|
icon?: string;
|
|
4
|
-
|
|
5
|
-
colorHover?: string;
|
|
6
|
-
textColor?: string;
|
|
4
|
+
loading?: boolean;
|
|
7
5
|
disabled?: boolean;
|
|
6
|
+
severity?: 'primary' | 'secondary' | 'tertiary';
|
|
7
|
+
size?: 'small' | 'normal' | 'large';
|
|
8
|
+
type?: 'primary' | 'secondary' | 'tertiary';
|
|
8
9
|
visible?: boolean;
|
|
9
10
|
closeAfterClick?: boolean;
|
|
10
11
|
command?: (event?: any) => void;
|
|
@@ -23,9 +23,10 @@ import * as i21 from "./kv-table-expandable/kv-table-expandable.module";
|
|
|
23
23
|
import * as i22 from "./kv-g-icon/kv-g-icon.module";
|
|
24
24
|
import * as i23 from "./kv-filter-card/kv-filter-card.module";
|
|
25
25
|
import * as i24 from "./kv-file-viewer/kv-file-viewer.module";
|
|
26
|
-
import * as i25 from "./kv-
|
|
26
|
+
import * as i25 from "./kv-filter-fieldset/kv-filter-fieldset.module";
|
|
27
|
+
import * as i26 from "./kv-table-edit/kv-table-edit.module";
|
|
27
28
|
export declare class KeevoComponentsModule {
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvMenuModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvMenuModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvMenuModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFilterFieldsetModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvMenuModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i26.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFilterFieldsetModule]>;
|
|
30
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
|
|
31
32
|
}
|
|
@@ -5,10 +5,10 @@ export declare class KvButtonComponent {
|
|
|
5
5
|
icon: string;
|
|
6
6
|
loading: boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
|
|
8
|
+
severity: 'primary' | 'secondary' | 'tertiary';
|
|
9
9
|
size: 'small' | 'normal' | 'large';
|
|
10
10
|
onClick: EventEmitter<any>;
|
|
11
11
|
constructor();
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
|
|
13
|
-
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; }; "
|
|
13
|
+
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; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -9,6 +9,7 @@ export declare class KvCarouselComponent implements AfterViewInit {
|
|
|
9
9
|
ngAfterViewInit(): void;
|
|
10
10
|
navigateToLink(link: string): void;
|
|
11
11
|
getCarouselHeight(): void;
|
|
12
|
+
isCollapsed: boolean;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvCarouselComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvCarouselComponent, "kv-carousel", never, { "carouselData": { "alias": "carouselData"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvFilterFieldsetComponent {
|
|
4
|
+
collapsedEvent: EventEmitter<boolean>;
|
|
5
|
+
isCollapsed: boolean;
|
|
6
|
+
toggleField(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterFieldsetComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterFieldsetComponent, "kv-filter-fieldset", never, {}, { "collapsedEvent": "collapsedEvent"; }, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-filter-fieldset.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../api/modules/primeng.module";
|
|
5
|
+
export declare class KvFilterFieldsetModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterFieldsetModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterFieldsetModule, [typeof i1.KvFilterFieldsetComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.KvFilterFieldsetComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvFilterFieldsetModule>;
|
|
9
|
+
}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
3
|
import { ActionItem } from '../../../public-api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KvModalComponent {
|
|
6
6
|
protected dynamicDialogRef: DynamicDialogRef;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
constructor(dynamicDialogRef: DynamicDialogRef);
|
|
8
|
+
/**
|
|
9
|
+
* Ações do Dialog
|
|
10
|
+
*/
|
|
11
|
+
actions: ActionItem[];
|
|
12
|
+
actionsPosition: string;
|
|
9
13
|
subHeader: ElementRef;
|
|
10
14
|
subtitle: string;
|
|
15
|
+
justify_content: string;
|
|
11
16
|
ngOnInit(): void;
|
|
12
17
|
onWindowResize(): void;
|
|
13
18
|
/**
|
|
14
19
|
* Adiciona sub-título à tela
|
|
15
20
|
*/
|
|
16
21
|
addSubTitle(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Ações do Dialog
|
|
19
|
-
*/
|
|
20
|
-
actions: ActionItem[];
|
|
21
|
-
actionsPosition: string;
|
|
22
|
-
justify_content: string;
|
|
23
22
|
defPositionButtons(): void;
|
|
24
23
|
setMarginBottom(): void;
|
|
25
24
|
clickExecute(action: ActionItem): void;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvModalComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvModalComponent, "kv-modal", never, { "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvModalComponent, "kv-modal", never, { "actions": { "alias": "actions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; "subHeader": { "alias": "subHeader"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
28
27
|
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./kv-modal.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../../api/modules/primeng.module";
|
|
5
5
|
import * as i4 from "../kv-buttons/kv-button.module";
|
|
6
|
+
import * as i5 from "../kv-button/kv-button.module";
|
|
6
7
|
export declare class KvModalModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvModalModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvModalModule, [typeof i1.KvModalComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonsModule], [typeof i1.KvModalComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvModalModule, [typeof i1.KvModalComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonsModule, typeof i5.KvButtonModule], [typeof i1.KvModalComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvModalModule>;
|
|
10
11
|
}
|
|
@@ -116,7 +116,7 @@ export declare class KvTableComponent implements OnInit, DoCheck {
|
|
|
116
116
|
onClickEvent(event: any): void;
|
|
117
117
|
styleSetter(style: string, data: string): void;
|
|
118
118
|
checkMenuFiltro(col: any): void;
|
|
119
|
-
sortByPosition(): (elem1: any, elem2: any) => 1 |
|
|
119
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
120
120
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
121
121
|
checkHideColumns(): void;
|
|
122
122
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -61,7 +61,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
61
61
|
onGlobalFilter(table: Table, event: Event): void;
|
|
62
62
|
adicionaAcoesTabela(): void;
|
|
63
63
|
checkMenuFiltro(col: any): void;
|
|
64
|
-
sortByPosition(): (elem1: any, elem2: any) => 1 |
|
|
64
|
+
sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
|
|
65
65
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
66
66
|
dinamicColumnSet(e: any, col: any): void;
|
|
67
67
|
addColumn(field: string): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -204,6 +204,11 @@ export * from './lib/components/kv-report/kv-report.module';
|
|
|
204
204
|
*/
|
|
205
205
|
export * from './lib/components/kv-filter-card/kv-filter-card.component';
|
|
206
206
|
export * from './lib/components/kv-filter-card/kv-filter-card.module';
|
|
207
|
+
/**
|
|
208
|
+
* Filter Fieldset
|
|
209
|
+
*/
|
|
210
|
+
export * from './lib/components/kv-filter-fieldset/kv-filter-fieldset.component';
|
|
211
|
+
export * from './lib/components/kv-filter-fieldset/kv-filter-fieldset.module';
|
|
207
212
|
/**
|
|
208
213
|
* G icon
|
|
209
214
|
*/
|