appproject-framework 1.0.15 → 1.0.17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appproject-framework",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0",
@@ -6,8 +6,8 @@ import { Observable, BehaviorSubject, Subscription, Subject } from 'rxjs';
6
6
  import { HttpClient } from '@angular/common/http';
7
7
  import { Router, ActivatedRoute } from '@angular/router';
8
8
  import { IonSelect, AlertController } from '@ionic/angular';
9
- import { ClassicEditor, EditorConfig } from 'ckeditor5';
10
- import { BlurEvent } from '@ckeditor/ckeditor5-angular';
9
+ import { ClassicEditor, EditorConfig, Editor } from 'ckeditor5';
10
+ import { ChangeEvent, BlurEvent } from '@ckeditor/ckeditor5-angular';
11
11
 
12
12
  declare class AppprojectFramework {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AppprojectFramework, never>;
@@ -22,7 +22,7 @@ declare class LibService {
22
22
  static round(value: number, decimals: number): number;
23
23
  static stringToDecimal(strVal: string, parse?: boolean): any;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<LibService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<LibService>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
26
26
  }
27
27
 
28
28
  declare class PesquisaCampo {
@@ -457,7 +457,7 @@ declare class UtilsGeralService {
457
457
  extractError: (error: Response | any) => Promise<string>;
458
458
  handleObservableError(error: Response | any): Promise<string>;
459
459
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilsGeralService, never>;
460
- static ɵprov: i0.ɵɵInjectableDeclaration<UtilsGeralService>;
460
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
461
461
  }
462
462
 
463
463
  declare class UtilsService {
@@ -465,7 +465,7 @@ declare class UtilsService {
465
465
  setFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
466
466
  getFormValues(form: FormGroup, entity: any, ignoreFields?: string[]): void;
467
467
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
468
- static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
468
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
469
469
  }
470
470
 
471
471
  interface IBaseEntity<T extends BaseModel> {
@@ -571,7 +571,7 @@ declare class DataService {
571
571
  */
572
572
  deleteRequest(url: string, param?: any): Observable<Object>;
573
573
  static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
574
- static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
574
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
575
575
  }
576
576
 
577
577
  declare abstract class BasePage implements OnInit {
@@ -591,7 +591,7 @@ declare class CadastroService {
591
591
  novoRegistro: BehaviorSubject<EventoCadastro>;
592
592
  focoCampo: BehaviorSubject<EventoFoco>;
593
593
  static ɵfac: i0.ɵɵFactoryDeclaration<CadastroService, never>;
594
- static ɵprov: i0.ɵɵInjectableDeclaration<CadastroService>;
594
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
595
595
  }
596
596
 
597
597
  declare class BaseCadastro<T extends BaseModel> extends BasePage implements OnInit, OnDestroy {
@@ -1115,13 +1115,17 @@ declare class InputHtmlComponent extends BaseInputComponent implements OnInit, C
1115
1115
  config: EditorConfig;
1116
1116
  inputEmail: any;
1117
1117
  data: string;
1118
+ private editorInstance;
1119
+ private atualizandoPeloFormulario;
1118
1120
  private onChange;
1119
1121
  private onTouch;
1120
- private disabled;
1122
+ disabled: boolean;
1121
1123
  console: Console;
1122
1124
  constructor();
1123
1125
  ngOnInit(): void;
1124
- writeValue(data: string, atualizar?: boolean): void;
1126
+ writeValue(data: string | null | undefined): void;
1127
+ onEditorReady(editor: Editor): void;
1128
+ onEditorChange({ editor }: ChangeEvent): void;
1125
1129
  blurEditor({ editor }: BlurEvent): void;
1126
1130
  blurItem(): void;
1127
1131
  registerOnChange(fn: any): void;
@@ -1131,6 +1135,7 @@ declare class InputHtmlComponent extends BaseInputComponent implements OnInit, C
1131
1135
  onInputChange(event: any): void;
1132
1136
  onBlur(): void;
1133
1137
  entered(): void;
1138
+ private atualizarConteudoEditor;
1134
1139
  private configurarCKEditor;
1135
1140
  static ɵfac: i0.ɵɵFactoryDeclaration<InputHtmlComponent, never>;
1136
1141
  static ɵcmp: i0.ɵɵComponentDeclaration<InputHtmlComponent, "kb-input-html", never, {}, {}, never, never, true, never>;