keevo-components 1.8.26 → 1.8.28

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.
@@ -1,5 +1,8 @@
1
1
  export interface ActionItem {
2
2
  label: string;
3
3
  icon?: string;
4
+ color?: string;
5
+ disabled?: boolean;
6
+ visible?: boolean;
4
7
  command?: (event?: any) => void;
5
8
  }
@@ -16,9 +16,10 @@ import * as i14 from "./avatar/kv-avatar.module";
16
16
  import * as i15 from "./carousel/kv-carousel.module";
17
17
  import * as i16 from "./treetable/treetable.module";
18
18
  import * as i17 from "./progress-bar/kv-progress-bar.module";
19
- import * as i18 from "./table-edit/table-edit.module";
19
+ import * as i18 from "./modal/kv-modal.module";
20
+ import * as i19 from "./table-edit/table-edit.module";
20
21
  export declare class KeevoComponentsModule {
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule, typeof i14.KvAvatarModule, typeof i15.KvCarouselModule, typeof i16.TreetableModule, typeof i17.KvProgressBarModule], [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule, typeof i14.KvAvatarModule, typeof i15.KvCarouselModule, typeof i16.TreetableModule, typeof i18.KvTableEditModule, typeof i17.KvProgressBarModule]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule, typeof i14.KvAvatarModule, typeof i15.KvCarouselModule, typeof i16.TreetableModule, typeof i17.KvProgressBarModule, typeof i18.KvModalModule], [typeof i1.KvInputsModule, typeof i2.KvButtonsModule, typeof i3.KvTableModule, typeof i4.KvtreeViewModule, typeof i5.KvChartModule, typeof i6.KvMenuModule, typeof i7.KvPickListModule, typeof i8.KVTreeTableModule, typeof i9.KvWorkspaceModule, typeof i10.OrgchartModule, typeof i11.KvLoginModule, typeof i12.KvPageFormModule, typeof i13.KvLoaderModule, typeof i14.KvAvatarModule, typeof i15.KvCarouselModule, typeof i16.TreetableModule, typeof i19.KvTableEditModule, typeof i17.KvProgressBarModule, typeof i18.KvModalModule]>;
23
24
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
24
25
  }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./modal.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../api/modules/primeng.module";
5
+ import * as i4 from "../buttons/kvbutton.module";
6
+ export declare class KvModalModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvModalModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvModalModule, [typeof i1.ModalComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonsModule], [typeof i1.ModalComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvModalModule>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { ActionItem } from '../../public-api';
2
+ import { DynamicDialogRef } from 'primeng/dynamicdialog';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ModalComponent {
5
+ protected dynamicDialogRef: DynamicDialogRef;
6
+ constructor(dynamicDialogRef: DynamicDialogRef);
7
+ ngOnInit(): void;
8
+ onWindowResize(): void;
9
+ /**
10
+ * Ações do Dialog
11
+ */
12
+ actions: ActionItem[];
13
+ actionsPosition: string;
14
+ justify_content: string;
15
+ defPositionButtons(): void;
16
+ setMarginBottom(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "kv-modal", never, { "actions": { "alias": "actions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
19
+ }
@@ -100,7 +100,7 @@ export declare class TableComponent implements OnInit {
100
100
  addColumn(field: string): void;
101
101
  dinamicColumnSet(e: any, col: any): void;
102
102
  checkMenuFiltro(col: any): void;
103
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
103
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
104
104
  callDisabled(action: KvMenuItem, data: any): boolean;
105
105
  dinamicDisableColumn(col: TableConfigColumn): boolean;
106
106
  checkHideColumns(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.26",
3
+ "version": "1.8.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.12",
6
6
  "@angular/core": "^16.2.12",
package/public-api.d.ts CHANGED
@@ -154,3 +154,8 @@ export * from './lib/carousel/kv-carousel.module';
154
154
  */
155
155
  export * from './lib/progress-bar/progress-bar.component';
156
156
  export * from './lib/progress-bar/kv-progress-bar.module';
157
+ /**
158
+ * Dialog
159
+ */
160
+ export * from './lib/modal/modal.component';
161
+ export * from './lib/modal/kv-modal.module';