Components added. Build issues fixed

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 14:26:01 +03:00
parent 5b66ed1093
commit 18c3721848
344 changed files with 12446 additions and 8758 deletions

View file

@ -51,6 +51,13 @@ export interface EditorSelectionChangeEvent {
instance: any;
}
export interface EditorLoadEvent {
/**
* Text editor instance.
*/
instance: any;
}
export interface EditorProps {
/**
* Value of the content.
@ -72,6 +79,10 @@ export interface EditorProps {
* Inline style of the container.
*/
editorStyle?: any;
/**
* Modules configuration, see [here](https://quilljs.com/docs/modules/) for available options.
*/
modules?: any;
}
export interface EditorSlots {
@ -97,13 +108,18 @@ export declare type EditorEmits = {
* @param {EditorSelectionChangeEvent} event - Custom selection change event.
*/
'selection-change': (event: EditorSelectionChangeEvent) => void;
}
/**
* Callback to invoke when the quill modules are loaded.
* @param {EditorLoadEvent} event - Custom load event.
*/
load: (event: EditorLoadEvent) => void;
};
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> { }
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> {}
declare module '@vue/runtime-core' {
interface GlobalComponents {
Editor: GlobalComponentConstructor<Editor>
Editor: GlobalComponentConstructor<Editor>;
}
}
@ -113,7 +129,7 @@ declare module '@vue/runtime-core' {
*
* Demos:
*
* - [Editor](https://www.primefaces.org/primevue/showcase/#/editor)
* - [Editor](https://www.primefaces.org/primevue/editor)
*
*/
export default Editor;