keevo-components 1.8.25 → 1.8.27

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
  }
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.25",
3
+ "version": "1.8.27",
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/dialog/modal.component';
161
+ export * from './lib/dialog/kv-modal.module';