keevo-components 1.8.208 → 1.8.210
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/kv-avatar/kv-avatar.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +26 -5
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +3 -3
- package/fesm2022/keevo-components.mjs +26 -7
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +7 -3
- package/package.json +2 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import Quill from 'quill';
|
|
3
3
|
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
|
4
4
|
import { ComponentService } from '../../../api/services/component.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class KvEditorComponent extends BaseComponentInput<string> {
|
|
6
|
+
export declare class KvEditorComponent extends BaseComponentInput<string> implements OnInit {
|
|
7
7
|
constructor(componentService: ComponentService);
|
|
8
8
|
readonly: boolean;
|
|
9
9
|
canvaHeigth: string;
|
|
@@ -12,10 +12,14 @@ export declare class KvEditorComponent extends BaseComponentInput<string> {
|
|
|
12
12
|
onSelectionChange: EventEmitter<any>;
|
|
13
13
|
private updatingEditor;
|
|
14
14
|
quill: Quill;
|
|
15
|
+
/**
|
|
16
|
+
* caso defina como "text" o texto ira ser enviado sem formatação
|
|
17
|
+
*/
|
|
18
|
+
contentType: 'html' | 'text';
|
|
15
19
|
ngOnInit(): void;
|
|
16
20
|
initializeQuillEditor(): void;
|
|
17
21
|
writeValue(value: any): void;
|
|
18
22
|
escrevaValor(value: any): void;
|
|
19
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvEditorComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "readonly": { "alias": "readonly"; "required": false; }; "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvEditorComponent, "kv-editor", never, { "readonly": { "alias": "readonly"; "required": false; }; "canvaHeigth": { "alias": "canvaHeigth"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; }, never, never, false, never>;
|
|
21
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keevo-components",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.210",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.8",
|
|
6
6
|
"@angular/core": "^17.3.8",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"primeicons": "^7.0.0",
|
|
15
15
|
"primeng": "^17.17.0",
|
|
16
16
|
"quill": "^2.0.2",
|
|
17
|
+
"quill-blot-formatter": "1.0.5",
|
|
17
18
|
"vkbeautify": "^0.99.3",
|
|
18
19
|
"@types/vkbeautify": "^0.99.4"
|
|
19
20
|
},
|