keevo-components 2.0.285 → 2.0.286

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.
Files changed (44) hide show
  1. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +6 -15
  2. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
  3. package/esm2022/lib/components/kv-button/kv-button.component.mjs +3 -3
  4. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
  5. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
  6. package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +2 -2
  7. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +2 -2
  8. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +2 -2
  9. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +6 -12
  10. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.mjs +3 -4
  11. package/esm2022/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.mjs +13 -18
  12. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
  13. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
  14. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
  15. package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +2 -2
  16. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
  17. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
  18. package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +2 -2
  19. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +2 -2
  20. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
  21. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
  22. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +4 -8
  23. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +2 -2
  24. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
  25. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +2 -2
  26. package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +2 -2
  27. package/esm2022/lib/components/kv-instruction-page/kv-instruction-page.component.mjs +3 -3
  28. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +2 -2
  29. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +2 -2
  30. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +2 -2
  31. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +2 -2
  32. package/esm2022/lib/components/kv-table/kv-table.component.mjs +2 -2
  33. package/esm2022/lib/components/kv-widget-card/kv-widget-card.component.mjs +3 -3
  34. package/fesm2022/keevo-components.mjs +80 -103
  35. package/fesm2022/keevo-components.mjs.map +1 -1
  36. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
  37. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +3 -4
  38. package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +3 -2
  39. package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +3 -3
  40. package/lib/components/kv-inputs/kv-inputs.module.d.ts +1 -2
  41. package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +1 -1
  42. package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/src/lib/components/keevo-components-styles.scss +0 -3
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
8
8
  items: MenuItem[];
9
9
  classBtn: string;
10
10
  size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
11
- type: import("@angular/core").InputSignal<"normal" | "text" | "outline">;
11
+ type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
12
12
  icon: string;
13
13
  constructor();
14
14
  handleShow(): void;
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import Quill from 'quill';
3
4
  import { OverlayPanel } from 'primeng/overlaypanel';
4
5
  import { BaseComponentInput } from '../../../api/base-components/base-component-input';
5
6
  import { ComponentService } from '../../../api/services/component.service';
@@ -33,9 +34,9 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
33
34
  private lastSelectionRange;
34
35
  private editorReadyResolver;
35
36
  private editorReadyPromise;
36
- quill: any;
37
+ quill: Quill;
37
38
  htmlDoEditor: string;
38
- quillDelta: any;
39
+ quillDelta: typeof import("quill-delta").default;
39
40
  htmlEspelho: import("@angular/core").WritableSignal<string>;
40
41
  previewContent: import("@angular/core").WritableSignal<SafeHtml>;
41
42
  initLoadComplete: import("@angular/core").WritableSignal<boolean>;
@@ -43,8 +44,6 @@ export declare class KvEditorComponent extends BaseComponentInput<string> implem
43
44
  editorToolbarHeight: import("@angular/core").WritableSignal<string>;
44
45
  filteredVariables: import("@angular/core").WritableSignal<KvEditorVariavel[]>;
45
46
  clearedTemplate: import("@angular/core").WritableSignal<boolean>;
46
- isFullscreen: import("@angular/core").WritableSignal<boolean>;
47
- toggleFullscreen(): void;
48
47
  enablePreviewMode: import("@angular/core").InputSignal<boolean>;
49
48
  showVariableValuesInPreview: import("@angular/core").InputSignal<boolean>;
50
49
  showVariableValueFirst: import("@angular/core").InputSignal<boolean>;
@@ -1,3 +1,4 @@
1
+ import Quill from 'quill';
1
2
  import { KvEditorVariavel } from '../types/kv-editor.types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class KvEditorMentionService {
@@ -7,7 +8,7 @@ export declare class KvEditorMentionService {
7
8
  /**
8
9
  * Processa o sistema de menções durante a digitação
9
10
  */
10
- handleMention(quill: any, variaveis: KvEditorVariavel[]): {
11
+ handleMention(quill: Quill, variaveis: KvEditorVariavel[]): {
11
12
  shouldShowPanel: boolean;
12
13
  filteredVariables: KvEditorVariavel[];
13
14
  mentionBounds?: {
@@ -22,7 +23,7 @@ export declare class KvEditorMentionService {
22
23
  /**
23
24
  * Insere uma variável selecionada no editor
24
25
  */
25
- insertVariable(quill: any, variable: KvEditorVariavel): void;
26
+ insertVariable(quill: Quill, variable: KvEditorVariavel): void;
26
27
  /**
27
28
  * Fecha o sistema de menções
28
29
  */
@@ -1,3 +1,4 @@
1
+ import Quill from 'quill';
1
2
  import { KvEditorQuillConfig } from '../types/kv-editor.types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class KvEditorQuillService {
@@ -6,7 +7,6 @@ export declare class KvEditorQuillService {
6
7
  * Carrega o CSS do Quill dinamicamente
7
8
  */
8
9
  loadCss(): Promise<void>;
9
- private getQuill;
10
10
  /**
11
11
  * Registra os formatos personalizados do Quill
12
12
  */
@@ -14,11 +14,11 @@ export declare class KvEditorQuillService {
14
14
  /**
15
15
  * Cria uma instância do Quill com a configuração fornecida
16
16
  */
17
- createQuillInstance(selector: string, config: KvEditorQuillConfig): any;
17
+ createQuillInstance(selector: string, config: KvEditorQuillConfig): Quill;
18
18
  /**
19
19
  * Obtém a instância atual do Quill
20
20
  */
21
- getQuillInstance(): any | null;
21
+ getQuillInstance(): Quill | null;
22
22
  /**
23
23
  * Limpa a instância do Quill
24
24
  */
@@ -31,9 +31,8 @@ import * as i29 from "primeng/progressspinner";
31
31
  import * as i30 from "ngx-loading";
32
32
  import * as i31 from "primeng/toast";
33
33
  import * as i32 from "primeng/progressbar";
34
- import * as i33 from "primeng/button";
35
34
  export declare class KvInputsModule {
36
35
  static ɵfac: i0.ɵɵFactoryDeclaration<KvInputsModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent, typeof i18.KvInputTextAddonComponent, typeof i19.KvInputNumberAddonComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.kvErrorModule, typeof i23.KvLabelModule, typeof i24.PrimeNgModule, typeof i21.ReactiveFormsModule, typeof i25.SelectButtonModule, typeof i26.TimesCircleIcon, typeof i27.KvButtonModule, typeof i28.KvTagsModule, typeof i29.ProgressSpinnerModule, typeof i30.NgxLoadingModule, typeof i31.ToastModule, typeof i32.ProgressBarModule, typeof i33.ButtonModule], [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent, typeof i18.KvInputTextAddonComponent, typeof i19.KvInputNumberAddonComponent]>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent, typeof i18.KvInputTextAddonComponent, typeof i19.KvInputNumberAddonComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.kvErrorModule, typeof i23.KvLabelModule, typeof i24.PrimeNgModule, typeof i21.ReactiveFormsModule, typeof i25.SelectButtonModule, typeof i26.TimesCircleIcon, typeof i27.KvButtonModule, typeof i28.KvTagsModule, typeof i29.ProgressSpinnerModule, typeof i30.NgxLoadingModule, typeof i31.ToastModule, typeof i32.ProgressBarModule], [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent, typeof i18.KvInputTextAddonComponent, typeof i19.KvInputNumberAddonComponent]>;
38
37
  static ɵinj: i0.ɵɵInjectorDeclaration<KvInputsModule>;
39
38
  }
@@ -32,7 +32,7 @@ export declare class KvTableViewerComponent implements OnDestroy {
32
32
  elementRef: ElementRef<any>;
33
33
  renderer: Renderer2;
34
34
  columns: import("@angular/core").InputSignal<ColumnTableViewer[]>;
35
- actionsRow: import("@angular/core").InputSignal<MenuItem[] | []>;
35
+ actionsRow: import("@angular/core").InputSignal<[] | MenuItem[]>;
36
36
  actionsHeader: import("@angular/core").InputSignal<MenuItem[] | undefined>;
37
37
  actionsLote: import("@angular/core").InputSignal<MenuItem[] | undefined>;
38
38
  data: import("@angular/core").InputSignal<any[]>;
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class KvTagComponent {
3
- severity: import("@angular/core").InputSignal<"info" | "success" | "warn" | "danger" | "system" | "contrast">;
3
+ severity: import("@angular/core").InputSignal<"warn" | "info" | "success" | "danger" | "system" | "contrast">;
4
4
  border: import("@angular/core").InputSignal<boolean>;
5
5
  color: import("@angular/core").InputSignal<string | null>;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.285",
3
+ "version": "2.0.286",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -7,9 +7,6 @@ $font-family-keevo: "Inter", "Inter var", sans-serif;
7
7
  // Importar outras fontes
8
8
  @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
9
9
 
10
- // Importar estilos do Quill
11
- @import "quill/dist/quill.snow";
12
-
13
10
  ::ng-deep :root {
14
11
  --kv-color-system: 10,58,120;
15
12
  --kv-color-system-cta: 76, 175, 80;