keevo-components 1.8.209 → 1.8.211

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.
@@ -26,6 +26,7 @@ export declare abstract class BasecomponentTable implements OnInit {
26
26
  tamanhoTela: number;
27
27
  collapsed: boolean;
28
28
  globalFilterFields: string[];
29
+ prepositions: string[];
29
30
  selectedItems: any[];
30
31
  totalRecords: number;
31
32
  paginator: boolean;
@@ -66,6 +67,7 @@ export declare abstract class BasecomponentTable implements OnInit {
66
67
  alignColunasHeader(col: any): string;
67
68
  formatarValor(valor: number): string;
68
69
  transformValue(rowData: any, col: TableConfigColumn): any;
70
+ transformCapitalize(value: string): string;
69
71
  onGlobalFilter(table: Table, event: Event): void;
70
72
  onSwitchChange(estado: any, rowData: boolean, col: any): void;
71
73
  isSwitchField(col: TableConfigColumn): boolean;
@@ -2,6 +2,7 @@ import { ValidatorFn } from '@angular/forms';
2
2
  export declare class KeevoValidators {
3
3
  static required(erroMessage?: string): ValidatorFn;
4
4
  static dateGreaterThan(startControlName: string, erroMessage?: string): ValidatorFn;
5
+ static dateLessThan(startControlName: string, erroMessage?: string): ValidatorFn;
5
6
  static min(min: number, erroMessage?: string): ValidatorFn;
6
7
  static max(min: number, erroMessage?: string): ValidatorFn;
7
8
  static email(erroMessage?: string): ValidatorFn;
@@ -1,9 +1,9 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import Quill from 'quill';
3
3
  import { BaseComponentInput } from '../../../api/base-components/base-component-input';
4
4
  import { ComponentService } from '../../../api/services/component.service';
5
5
  import * as i0 from "@angular/core";
6
- export declare class KvEditorComponent extends BaseComponentInput<string> {
6
+ export declare class KvEditorComponent extends BaseComponentInput<string> implements OnInit {
7
7
  constructor(componentService: ComponentService);
8
8
  readonly: boolean;
9
9
  canvaHeigth: string;
@@ -12,10 +12,14 @@ export declare class KvEditorComponent extends BaseComponentInput<string> {
12
12
  onSelectionChange: EventEmitter<any>;
13
13
  private updatingEditor;
14
14
  quill: Quill;
15
+ /**
16
+ * caso defina como "text" o texto ira ser enviado sem formatação
17
+ */
18
+ contentType: 'html' | 'text';
15
19
  ngOnInit(): void;
16
20
  initializeQuillEditor(): void;
17
21
  writeValue(value: any): void;
18
22
  escrevaValor(value: any): void;
19
23
  static ɵfac: i0.ɵɵFactoryDeclaration<KvEditorComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "readonly": { "alias": "readonly"; "required": false; }; "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "readonly": { "alias": "readonly"; "required": false; }; "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
21
25
  }
@@ -119,7 +119,7 @@ export declare class KvTableComponent implements OnInit, DoCheck {
119
119
  onClickEvent(event: any): void;
120
120
  styleSetter(style: string, data: string): void;
121
121
  checkMenuFiltro(col: any): void;
122
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
122
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
123
123
  dinamicDisableColumn(col: TableConfigColumn): boolean;
124
124
  checkHideColumns(): void;
125
125
  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.209",
3
+ "version": "1.8.211",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -14,6 +14,7 @@
14
14
  "primeicons": "^7.0.0",
15
15
  "primeng": "^17.17.0",
16
16
  "quill": "^2.0.2",
17
+ "quill-blot-formatter": "1.0.5",
17
18
  "vkbeautify": "^0.99.3",
18
19
  "@types/vkbeautify": "^0.99.4"
19
20
  },