keevo-components 1.8.243 → 1.8.245

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.
@@ -13,14 +13,31 @@ export declare class KvAvatarComponent {
13
13
  removerFotoEvent: EventEmitter<void>;
14
14
  existeLogo: boolean;
15
15
  btnAlterarFoto: boolean;
16
+ showCropModal: boolean;
17
+ imageLoaded: boolean;
18
+ imageX: number;
19
+ imageY: number;
20
+ startX: number;
21
+ startY: number;
22
+ valueZoom: number;
23
+ scaleFactor: number;
24
+ selectedImage: string;
25
+ cropCanvas: ElementRef<HTMLCanvasElement>;
26
+ fileInput: ElementRef;
16
27
  constructor(imageService: ImagensService, notificationService: NotificationService);
17
28
  getImageSrc(): string;
18
29
  openFile(): void;
19
30
  selectFotoSelecionada(event: any): void;
20
- fileInput: ElementRef;
21
31
  questionRemoverFoto(): void;
22
32
  removerFoto(): void;
23
33
  handleImageError(event: any): void;
34
+ openCropModal(): void;
35
+ drawCropArea(ctx: CanvasRenderingContext2D | null): void;
36
+ initializeImageMove(canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D | null, img: HTMLImageElement): void;
37
+ initializeMouseWheel(canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D | null, img: HTMLImageElement): void;
38
+ cropImage(): void;
39
+ onZoomChange(event: any): void;
40
+ closeCropModal(): void;
24
41
  static ɵfac: i0.ɵɵFactoryDeclaration<KvAvatarComponent, never>;
25
42
  static ɵcmp: i0.ɵɵComponentDeclaration<KvAvatarComponent, "kv-avatar", never, { "imageUrl": { "alias": "imageUrl"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "btnAlterarFoto": { "alias": "btnAlterarFoto"; "required": false; }; }, { "imageUrlChange": "imageUrlChange"; "removerFotoEvent": "removerFotoEvent"; }, never, never, false, never>;
26
43
  }
@@ -3,8 +3,12 @@ import * as i1 from "./kv-avatar.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "primeng/button";
5
5
  import * as i4 from "primeng/fileupload";
6
+ import * as i5 from "primeng/slider";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "../kv-button/kv-button.module";
9
+ import * as i8 from "../kv-label/kv-label.module";
6
10
  export declare class KvAvatarModule {
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<KvAvatarModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvAvatarModule, [typeof i1.KvAvatarComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.FileUploadModule], [typeof i1.KvAvatarComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvAvatarModule, [typeof i1.KvAvatarComponent], [typeof i2.CommonModule, typeof i3.ButtonModule, typeof i4.FileUploadModule, typeof i5.SliderModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.KvButtonModule, typeof i8.KvLabelModule], [typeof i1.KvAvatarComponent]>;
9
13
  static ɵinj: i0.ɵɵInjectorDeclaration<KvAvatarModule>;
10
14
  }
@@ -5,10 +5,11 @@ import { ComponentService } from '../../../api/services/component.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class KvDropdownComponent extends BaseComponentDropDown implements OnInit {
7
7
  constructor(componentService: ComponentService, dialogService: DialogService);
8
+ filterPlaceholder: string;
8
9
  dropDowValue: any;
9
10
  itemTemplate: TemplateRef<any>;
10
11
  selectedItemTemplate: TemplateRef<any>;
11
12
  ngOnInit(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<KvDropdownComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<KvDropdownComponent, "kv-dropdown", never, { "dropDowValue": { "alias": "dropDowValue"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; }, {}, never, ["*"], false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvDropdownComponent, "kv-dropdown", never, { "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "dropDowValue": { "alias": "dropDowValue"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; }, {}, never, ["*"], false, never>;
14
15
  }
@@ -103,7 +103,7 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
103
103
  toggleMenu(): void;
104
104
  verifySelectedPage(link: any, pai?: any): boolean;
105
105
  navigateToDefaultRoute(): void;
106
- getSidebarState(): "collapsed" | "expanded";
106
+ getSidebarState(): "expanded" | "collapsed";
107
107
  static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
108
108
  static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; }, { "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, never, ["*"], false, never>;
109
109
  }
@@ -124,7 +124,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
124
124
  onClickEvent(event: any): void;
125
125
  styleSetter(style: string, data: string): void;
126
126
  checkMenuFiltro(col: any): void;
127
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
127
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
128
128
  dinamicDisableColumn(col: TableConfigColumn): boolean;
129
129
  checkHideColumns(): void;
130
130
  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) => 0 | 1 | -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.243",
3
+ "version": "1.8.245",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",