myrta-ui 17.0.0-beta.2 → 17.0.0-beta.3
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/esm2022/lib/components/form/editor/editor.component.mjs +6 -2
- package/esm2022/lib/components/form/editor/editor.enum.mjs +2 -0
- package/fesm2022/myrta-ui.mjs +5 -1
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/components/form/editor/editor.component.d.ts +3 -1
- package/lib/components/form/editor/editor.enum.d.ts +5 -0
- package/package.json +1 -1
|
@@ -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
|
}
|