atr-components 3.0.17 → 3.0.18

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/index.d.ts CHANGED
@@ -75,7 +75,6 @@ import { ControlValueAccessor, UntypedFormGroup, UntypedFormBuilder, ValidatorFn
75
75
  import * as i65 from 'ng-zorro-antd/image';
76
76
  import { NzImageService } from 'ng-zorro-antd/image';
77
77
  import * as i1$1 from '@tinymce/tinymce-angular';
78
- import { EditorComponent as EditorComponent$1 } from '@tinymce/tinymce-angular';
79
78
  import * as _angular_platform_browser from '@angular/platform-browser';
80
79
  import { DomSanitizer } from '@angular/platform-browser';
81
80
  import * as i17$1 from '@angular/router';
@@ -1371,20 +1370,24 @@ declare class ViewFormComponent implements OnInit {
1371
1370
  static ɵcmp: i0.ɵɵComponentDeclaration<ViewFormComponent, "atr-view-form", never, { "formOpts": { "alias": "formOpts"; "required": false; }; "atrForm": { "alias": "atrForm"; "required": false; }; "dicts": { "alias": "dicts"; "required": false; }; "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
1372
1371
  }
1373
1372
 
1374
- declare class EditorComponent implements ControlValueAccessor {
1373
+ declare class EditorComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
1375
1374
  apiKey_editor: string;
1376
- value: string;
1377
- editor: EditorComponent$1;
1375
+ value: any;
1378
1376
  editorConfig: any;
1377
+ editor: any;
1379
1378
  onChangeListener: any;
1380
1379
  onTouchedListener: any;
1380
+ initialized: boolean;
1381
+ constructor();
1382
+ ngAfterViewInit(): void;
1381
1383
  writeValue(value: string): void;
1382
1384
  registerOnChange(fn: any): void;
1383
1385
  registerOnTouched(fn: any): void;
1384
1386
  setDisabledState?(isDisabled: boolean): void;
1385
- onEditorChange(event: any): void;
1387
+ onEditorChange(content: any): void;
1388
+ ngOnDestroy(): void;
1386
1389
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
1387
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "app-editor", never, { "apiKey_editor": { "alias": "apiKey_editor"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
1390
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "app-editor", never, { "apiKey_editor": { "alias": "apiKey_editor"; "required": false; }; "value": { "alias": "value"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; }, {}, never, never, false, never>;
1388
1391
  }
1389
1392
 
1390
1393
  declare class AtrSharedModule {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atr-components",
3
- "version": "3.0.17",
3
+ "version": "3.0.18",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^20.3.15",
6
6
  "echarts": "^5.4.3"