myrta-ui 17.0.0-beta.2 → 17.0.0-beta.4

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.
@@ -8,6 +8,7 @@ import 'jodit/esm/plugins/line-height/line-height.js';
8
8
  import 'jodit/esm/plugins/indent/indent.js';
9
9
  import 'jodit/esm/plugins/video/video.js';
10
10
  import 'jodit/esm/plugins/search/search.js';
11
+ import { InputEditorValueWithId } from './editor.enum';
11
12
  import * as i0 from "@angular/core";
12
13
  export interface CustomJoditConfig extends JoditConfig {
13
14
  getIcon: (a: any) => void;
@@ -42,6 +43,7 @@ export declare class EditorComponent implements ControlValueAccessor, OnChanges
42
43
  checkInvalid: true | false | null;
43
44
  editorElementRef: any;
44
45
  changed: EventEmitter<string>;
46
+ modelChange: EventEmitter<InputEditorValueWithId>;
45
47
  constructor(changeDetection: ChangeDetectorRef);
46
48
  ngOnChanges(changes: SimpleChanges): void;
47
49
  get isValid(): boolean;
@@ -59,5 +61,5 @@ export declare class EditorComponent implements ControlValueAccessor, OnChanges
59
61
  private _sanitizeValue;
60
62
  private _calculateChartsCount;
61
63
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "mrx-editor", never, { "fields": { "alias": "fields"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "iframe": { "alias": "iframe"; "required": false; }; "defaultInlineStyle": { "alias": "defaultInlineStyle"; "required": false; }; "config": { "alias": "config"; "required": false; }; "editHTMLDocumentMode": { "alias": "editHTMLDocumentMode"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "mrx-editor", never, { "fields": { "alias": "fields"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "iframe": { "alias": "iframe"; "required": false; }; "defaultInlineStyle": { "alias": "defaultInlineStyle"; "required": false; }; "config": { "alias": "config"; "required": false; }; "editHTMLDocumentMode": { "alias": "editHTMLDocumentMode"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
63
65
  }
@@ -0,0 +1,5 @@
1
+ export type InputEditorValueTypes = string;
2
+ export interface InputEditorValueWithId {
3
+ value: InputEditorValueTypes;
4
+ id: string;
5
+ }
@@ -4,3 +4,6 @@ export * from './mrx-form-validator/mrx-form-validator';
4
4
  export * from './save-store/save-store.module';
5
5
  export * from './save-store/store/selectors';
6
6
  export * from './save-store/store/actions';
7
+ export * from './modal-service/modal-service.module';
8
+ export * from './modal-service/models/modal-config.model';
9
+ export * from './modal-service/modal-service.service';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./components/alert-modal/alert-modal.component";
4
+ import * as i3 from "./components/confirm-modal/confirm-modal.component";
5
+ export declare class ModalServiceModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalServiceModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ModalServiceModule, never, [typeof i1.CommonModule, typeof i2.AlertModalComponent, typeof i3.ConfirmModalComponent], never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ModalServiceModule>;
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "17.0.0-beta.2",
3
+ "version": "17.0.0-beta.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",