@alfresco/adf-process-services-cloud 8.1.0-16346981764 → 8.1.0-16472253724
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/bundles/assets/adf-process-services-cloud/i18n/en.json +1 -2
- package/esm2022/lib/form/components/form-cloud.component.mjs +4 -22
- package/esm2022/lib/form/form-cloud.module.mjs +3 -7
- package/esm2022/lib/process/start-process/components/start-process-cloud.component.mjs +3 -18
- package/esm2022/lib/process-services-cloud.module.mjs +43 -36
- package/esm2022/lib/providers.mjs +45 -0
- package/esm2022/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.mjs +3 -18
- package/esm2022/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.mjs +4 -10
- package/esm2022/lib/task/task-list/task-list-cloud.module.mjs +3 -25
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/adf-process-services-cloud.mjs +271 -536
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/form/components/form-cloud.component.d.ts +1 -9
- package/lib/form/components/form-cloud.component.scss +0 -4
- package/lib/form/form-cloud.module.d.ts +16 -18
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +1 -9
- package/lib/process-services-cloud.module.d.ts +32 -22
- package/lib/providers.d.ts +36 -0
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +1 -9
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +1 -6
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.scss +0 -4
- package/package.json +8 -21
- package/public-api.d.ts +1 -1
- package/esm2022/lib/rich-text-editor/editorjs-config.mjs +0 -101
- package/esm2022/lib/rich-text-editor/index.mjs +0 -18
- package/esm2022/lib/rich-text-editor/public-api.mjs +0 -19
- package/esm2022/lib/rich-text-editor/rich-text-editor.component.mjs +0 -80
- package/esm2022/lib/rich-text-editor/rich-text-editor.module.mjs +0 -33
- package/lib/rich-text-editor/editorjs-config.d.ts +0 -78
- package/lib/rich-text-editor/index.d.ts +0 -17
- package/lib/rich-text-editor/public-api.d.ts +0 -18
- package/lib/rich-text-editor/rich-text-editor.component.d.ts +0 -36
- package/lib/rich-text-editor/rich-text-editor.component.scss +0 -32
- package/lib/rich-text-editor/rich-text-editor.module.d.ts +0 -8
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
|
18
|
-
import EditorJS from '@editorjs/editorjs';
|
|
19
|
-
import { Subject } from 'rxjs';
|
|
20
|
-
import { editorJsConfig } from './editorjs-config';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export class RichTextEditorComponent {
|
|
23
|
-
constructor() {
|
|
24
|
-
this.placeholder = '';
|
|
25
|
-
this.autoFocus = false;
|
|
26
|
-
this._outputData = new Subject();
|
|
27
|
-
this.outputData$ = this._outputData.asObservable();
|
|
28
|
-
this.isReady = false;
|
|
29
|
-
}
|
|
30
|
-
ngOnInit() {
|
|
31
|
-
this.dynamicId = `editorjs-${crypto.getRandomValues(new Uint32Array(1))}`;
|
|
32
|
-
}
|
|
33
|
-
ngAfterViewInit() {
|
|
34
|
-
this.editorInstance = new EditorJS({
|
|
35
|
-
holder: this.dynamicId,
|
|
36
|
-
placeholder: this.placeholder,
|
|
37
|
-
autofocus: this.autoFocus,
|
|
38
|
-
...editorJsConfig,
|
|
39
|
-
data: this.data,
|
|
40
|
-
onChange: () => {
|
|
41
|
-
this.sendEditorOutputData();
|
|
42
|
-
},
|
|
43
|
-
onReady: () => {
|
|
44
|
-
this.isReady = true;
|
|
45
|
-
this.sendEditorOutputData();
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
sendEditorOutputData() {
|
|
50
|
-
this.editorInstance
|
|
51
|
-
.save()
|
|
52
|
-
.then((outputData) => {
|
|
53
|
-
this._outputData.next(outputData);
|
|
54
|
-
})
|
|
55
|
-
.catch((error) => {
|
|
56
|
-
console.error('Saving failed: ', error);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
getEditorContent() {
|
|
60
|
-
return this.editorInstance.save();
|
|
61
|
-
}
|
|
62
|
-
ngOnDestroy() {
|
|
63
|
-
if (this.isReady) {
|
|
64
|
-
this.editorInstance.destroy();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RichTextEditorComponent, isStandalone: true, selector: "adf-cloud-rich-text-editor", inputs: { data: "data", placeholder: "placeholder", autoFocus: "autoFocus" }, ngImport: i0, template: "<div class=\"adf-rich-text-editor-container\">\n <div class=\"editorjs\" id=\"{{dynamicId}}\"></div>\n</div>\n", styles: [".adf-rich-text-editor-container{color:var(--theme-text-fg-color, rgba(0, 0, 0, .87))}.adf-rich-text-editor-container .editorjs.readonly .codex-editor__redactor{padding-bottom:0!important}.adf-rich-text-editor-container .ce-inline-toolbar{transform:scale(1)}.adf-rich-text-editor-container .ce-inline-toolbar .ce-popover__items{overflow:hidden}.adf-rich-text-editor-container .ce-inline-toolbar .ce-inline-tool .material-icons{font-size:20px}xy-color-picker{position:relative;background-color:transparent;margin:0;overflow:hidden}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
69
|
-
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorComponent, decorators: [{
|
|
71
|
-
type: Component,
|
|
72
|
-
args: [{ selector: 'adf-cloud-rich-text-editor', standalone: true, encapsulation: ViewEncapsulation.None, template: "<div class=\"adf-rich-text-editor-container\">\n <div class=\"editorjs\" id=\"{{dynamicId}}\"></div>\n</div>\n", styles: [".adf-rich-text-editor-container{color:var(--theme-text-fg-color, rgba(0, 0, 0, .87))}.adf-rich-text-editor-container .editorjs.readonly .codex-editor__redactor{padding-bottom:0!important}.adf-rich-text-editor-container .ce-inline-toolbar{transform:scale(1)}.adf-rich-text-editor-container .ce-inline-toolbar .ce-popover__items{overflow:hidden}.adf-rich-text-editor-container .ce-inline-toolbar .ce-inline-tool .material-icons{font-size:20px}xy-color-picker{position:relative;background-color:transparent;margin:0;overflow:hidden}\n"] }]
|
|
73
|
-
}], propDecorators: { data: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], placeholder: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], autoFocus: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}] } });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0LWVkaXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWIvcHJvY2Vzcy1zZXJ2aWNlcy1jbG91ZC9zcmMvbGliL3JpY2gtdGV4dC1lZGl0b3IvcmljaC10ZXh0LWVkaXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8u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XRvckpTO1xuICAgIGR5bmFtaWNJZDogc3RyaW5nO1xuICAgIGlzUmVhZHkgPSBmYWxzZTtcblxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmR5bmFtaWNJZCA9IGBlZGl0b3Jqcy0ke2NyeXB0by5nZXRSYW5kb21WYWx1ZXMobmV3IFVpbnQzMkFycmF5KDEpKX1gO1xuICAgIH1cblxuICAgIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5lZGl0b3JJbnN0YW5jZSA9IG5ldyBFZGl0b3JKUyh7XG4gICAgICAgICAgICBob2xkZXI6IHRoaXMuZHluYW1pY0lkLFxuICAgICAgICAgICAgcGxhY2Vob2xkZXI6IHRoaXMucGxhY2Vob2xkZXIsXG4gICAgICAgICAgICBhdXRvZm9jdXM6IHRoaXMuYXV0b0ZvY3VzLFxuICAgICAgICAgICAgLi4uZWRpdG9ySnNDb25maWcsXG4gICAgICAgICAgICBkYXRhOiB0aGlzLmRhdGEsXG4gICAgICAgICAgICBvbkNoYW5nZTogKCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuc2VuZEVkaXRvck91dHB1dERhdGEoKTtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBvblJlYWR5OiAoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5pc1JlYWR5ID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB0aGlzLnNlbmRFZGl0b3JPdXRwdXREYXRhKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gYXMgYW55KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIHNlbmRFZGl0b3JPdXRwdXREYXRhKCkge1xuICAgICAgICB0aGlzLmVkaXRvckluc3RhbmNlXG4gICAgICAgICAgICAuc2F2ZSgpXG4gICAgICAgICAgICAudGhlbigob3V0cHV0RGF0YSkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuX291dHB1dERhdGEubmV4dChvdXRwdXREYXRhKTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuY2F0Y2goKGVycm9yKSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc29sZS5lcnJvcignU2F2aW5nIGZhaWxlZDogJywgZXJyb3IpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgZ2V0RWRpdG9yQ29udGVudCgpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWRpdG9ySW5zdGFuY2Uuc2F2ZSgpO1xuICAgIH1cblxuICAgIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICBpZiAodGhpcy5pc1JlYWR5KSB7XG4gICAgICAgICAgICB0aGlzLmVkaXRvckluc3RhbmNlLmRlc3Ryb3koKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJhZGYtcmljaC10ZXh0LWVkaXRvci1jb250YWluZXJcIj5cbiAgICA8ZGl2IGNsYXNzPVwiZWRpdG9yanNcIiBpZD1cInt7ZHluYW1pY0lkfX1cIj48L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { NgModule } from '@angular/core';
|
|
18
|
-
import { RichTextEditorComponent } from './rich-text-editor.component';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
/** @deprecated use `RichTextEditorComponent` instead */
|
|
21
|
-
export class RichTextEditorModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorModule, imports: [RichTextEditorComponent], exports: [RichTextEditorComponent] }); }
|
|
24
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorModule }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RichTextEditorModule, decorators: [{
|
|
27
|
-
type: NgModule,
|
|
28
|
-
args: [{
|
|
29
|
-
imports: [RichTextEditorComponent],
|
|
30
|
-
exports: [RichTextEditorComponent]
|
|
31
|
-
}]
|
|
32
|
-
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmljaC10ZXh0LWVkaXRvci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWIvcHJvY2Vzcy1zZXJ2aWNlcy1jbG91ZC9zcmMvbGliL3JpY2gtdGV4dC1lZGl0b3IvcmljaC10ZXh0LWVkaXRvci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7OztHQWVHO0FBRUgsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsdUJBQXVC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T0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUmljaFRleHRFZGl0b3JDb21wb25lbnQgfSBmcm9tICcuL3JpY2gtdGV4dC1lZGl0b3IuY29tcG9uZW50JztcblxuLyoqIEBkZXByZWNhdGVkIHVzZSBgUmljaFRleHRFZGl0b3JDb21wb25lbnRgIGluc3RlYWQgKi9cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1JpY2hUZXh0RWRpdG9yQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbUmljaFRleHRFZGl0b3JDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFJpY2hUZXh0RWRpdG9yTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
/** Plugin import */
|
|
18
|
-
import CodeTool from '@editorjs/code';
|
|
19
|
-
import Header from '@editorjs/header';
|
|
20
|
-
import Paragraph from '@editorjs/paragraph';
|
|
21
|
-
import InlineCode from '@editorjs/inline-code';
|
|
22
|
-
import List from '@editorjs/list';
|
|
23
|
-
import Underline from '@editorjs/underline';
|
|
24
|
-
export declare const editorJsConfig: {
|
|
25
|
-
autofocus: boolean;
|
|
26
|
-
logLevel: string;
|
|
27
|
-
tools: {
|
|
28
|
-
underline: {
|
|
29
|
-
class: typeof Underline;
|
|
30
|
-
shortcut: string;
|
|
31
|
-
};
|
|
32
|
-
header: {
|
|
33
|
-
class: typeof Header;
|
|
34
|
-
inlineToolbar: boolean;
|
|
35
|
-
tunes: string[];
|
|
36
|
-
};
|
|
37
|
-
paragraph: {
|
|
38
|
-
class: typeof Paragraph;
|
|
39
|
-
inlineToolbar: boolean;
|
|
40
|
-
tunes: string[];
|
|
41
|
-
};
|
|
42
|
-
list: {
|
|
43
|
-
class: typeof List;
|
|
44
|
-
inlineToolbar: boolean;
|
|
45
|
-
config: {
|
|
46
|
-
defaultStyle: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
Color: {
|
|
50
|
-
class: any;
|
|
51
|
-
config: {
|
|
52
|
-
customPicker: boolean;
|
|
53
|
-
colorCollections: string[];
|
|
54
|
-
defaultColor: string;
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
Marker: {
|
|
59
|
-
class: any;
|
|
60
|
-
shortcut: string;
|
|
61
|
-
};
|
|
62
|
-
'Increase/Decrease font size': {
|
|
63
|
-
class: any;
|
|
64
|
-
config: {
|
|
65
|
-
cssClass: string;
|
|
66
|
-
buttonIcon: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
inlineCode: {
|
|
70
|
-
class: typeof InlineCode;
|
|
71
|
-
shortcut: string;
|
|
72
|
-
};
|
|
73
|
-
anyTuneName: {
|
|
74
|
-
class: any;
|
|
75
|
-
};
|
|
76
|
-
code: typeof CodeTool;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export * from './public-api';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export * from './rich-text-editor.component';
|
|
18
|
-
export * from './rich-text-editor.module';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
18
|
-
import EditorJS, { OutputData } from '@editorjs/editorjs';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class RichTextEditorComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
21
|
-
data: OutputData;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
autoFocus: boolean;
|
|
24
|
-
private _outputData;
|
|
25
|
-
outputData$: import("rxjs").Observable<OutputData>;
|
|
26
|
-
editorInstance: EditorJS;
|
|
27
|
-
dynamicId: string;
|
|
28
|
-
isReady: boolean;
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngAfterViewInit(): void;
|
|
31
|
-
private sendEditorOutputData;
|
|
32
|
-
getEditorContent(): Promise<OutputData>;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "adf-cloud-rich-text-editor", never, { "data": { "alias": "data"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
2
|
-
.adf-rich-text-editor-container {
|
|
3
|
-
color: var(--theme-text-fg-color, rgba(0, 0, 0, 0.87));
|
|
4
|
-
|
|
5
|
-
.editorjs {
|
|
6
|
-
&.readonly {
|
|
7
|
-
.codex-editor__redactor {
|
|
8
|
-
/* stylelint-disable declaration-no-important */
|
|
9
|
-
padding-bottom: 0 !important;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ce-inline-toolbar {
|
|
15
|
-
transform: scale(1);
|
|
16
|
-
|
|
17
|
-
.ce-popover__items {
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ce-inline-tool .material-icons {
|
|
22
|
-
font-size: 20px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
xy-color-picker {
|
|
28
|
-
position: relative;
|
|
29
|
-
background-color: transparent;
|
|
30
|
-
margin: 0;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./rich-text-editor.component";
|
|
3
|
-
/** @deprecated use `RichTextEditorComponent` instead */
|
|
4
|
-
export declare class RichTextEditorModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RichTextEditorModule, never, [typeof i1.RichTextEditorComponent], [typeof i1.RichTextEditorComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RichTextEditorModule>;
|
|
8
|
-
}
|