@acorex/components 21.0.0-next.20 → 21.0.0-next.21
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/conversation2/README.md +421 -0
- package/conversation2/index.d.ts +5602 -0
- package/editor/index.d.ts +5 -6
- package/fesm2022/acorex-components-conversation2.mjs +16789 -0
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -0
- package/fesm2022/acorex-components-editor.mjs +12 -9
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +134 -94
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +6 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/image-editor/index.d.ts +8 -5
- package/package.json +7 -3
package/editor/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
4
|
-
import { OutputData } from '@editorjs/editorjs';
|
|
4
|
+
import EditorJS, { OutputData } from '@editorjs/editorjs';
|
|
5
5
|
|
|
6
6
|
type EditorJsTool = 'header' | 'list' | 'raw' | 'image' | 'quote' | 'codeBox' | 'underline' | 'color';
|
|
7
7
|
type ImageToolConfig = {
|
|
@@ -54,20 +54,19 @@ declare const AXEditorComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
|
54
54
|
}, typeof MXLookComponent]>;
|
|
55
55
|
declare class AXEditorComponent extends AXEditorComponent_base {
|
|
56
56
|
#private;
|
|
57
|
-
toolLoaders
|
|
57
|
+
private toolLoaders;
|
|
58
58
|
private editorHolder;
|
|
59
59
|
private platform;
|
|
60
60
|
modules: i0.InputSignal<EditorJsTool[]>;
|
|
61
61
|
imageConfig: i0.InputSignal<ImageToolConfig>;
|
|
62
|
-
|
|
62
|
+
protected editorClass: EditorJS;
|
|
63
63
|
private colorConfig;
|
|
64
64
|
private markerConfig;
|
|
65
|
-
loadEditorJsTools
|
|
65
|
+
private loadEditorJsTools;
|
|
66
66
|
private get __hostClass();
|
|
67
67
|
private get __hostName();
|
|
68
|
-
save(): Promise<OutputData>;
|
|
69
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXEditorComponent, "ax-editor", never, { "look": { "alias": "look"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "modules": { "alias": "modules"; "required": false; "isSignal": true; }; "imageConfig": { "alias": "imageConfig"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"], true, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXEditorComponent, "ax-editor", never, { "look": { "alias": "look"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "modules": { "alias": "modules"; "required": false; "isSignal": true; }; "imageConfig": { "alias": "imageConfig"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"], true, never>;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
declare class EditorModule {
|