@libs-ui/components-inputs-quill 0.2.327-0 → 0.2.327-2
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/interfaces/quill2x.interface.mjs +1 -1
- package/esm2022/quill2x.component.mjs +23 -8
- package/esm2022/utils/quill2x.define.mjs +211 -8
- package/fesm2022/libs-ui-components-inputs-quill.mjs +231 -13
- package/fesm2022/libs-ui-components-inputs-quill.mjs.map +1 -1
- package/interfaces/quill2x.interface.d.ts +1 -0
- package/package.json +18 -17
- package/quill2x.component.d.ts +4 -2
- package/utils/quill2x.define.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-inputs-quill",
|
|
3
|
-
"version": "0.2.327-
|
|
3
|
+
"version": "0.2.327-2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"quill": "1.3.7",
|
|
8
8
|
"quill2x": "npm:quill@2.0.3",
|
|
9
|
+
"@ssumo/quill-resize-module": "1.0.3",
|
|
9
10
|
"parchment": "1.1.4",
|
|
10
|
-
"@libs-ui/components-label": "0.2.327-
|
|
11
|
+
"@libs-ui/components-label": "0.2.327-2",
|
|
11
12
|
"quill-delta": "5.1.0",
|
|
12
|
-
"@libs-ui/components-inputs-valid": "0.2.327-
|
|
13
|
-
"@libs-ui/components-modal": "0.2.327-
|
|
14
|
-
"@libs-ui/utils": "0.2.327-
|
|
15
|
-
"@libs-ui/components-buttons-button": "0.2.327-
|
|
16
|
-
"@libs-ui/components-buttons-select-color": "0.2.327-
|
|
17
|
-
"@libs-ui/components-dropdown": "0.2.327-
|
|
18
|
-
"@libs-ui/components-inputs-emoji": "0.2.327-
|
|
19
|
-
"@libs-ui/components-inputs-mention": "0.2.327-
|
|
20
|
-
"@libs-ui/components-list": "0.2.327-
|
|
21
|
-
"@libs-ui/components-popover": "0.2.327-
|
|
22
|
-
"@libs-ui/interfaces-types": "0.2.327-
|
|
23
|
-
"@libs-ui/services-dynamic-component": "0.2.327-
|
|
13
|
+
"@libs-ui/components-inputs-valid": "0.2.327-2",
|
|
14
|
+
"@libs-ui/components-modal": "0.2.327-2",
|
|
15
|
+
"@libs-ui/utils": "0.2.327-2",
|
|
16
|
+
"@libs-ui/components-buttons-button": "0.2.327-2",
|
|
17
|
+
"@libs-ui/components-buttons-select-color": "0.2.327-2",
|
|
18
|
+
"@libs-ui/components-dropdown": "0.2.327-2",
|
|
19
|
+
"@libs-ui/components-inputs-emoji": "0.2.327-2",
|
|
20
|
+
"@libs-ui/components-inputs-mention": "0.2.327-2",
|
|
21
|
+
"@libs-ui/components-list": "0.2.327-2",
|
|
22
|
+
"@libs-ui/components-popover": "0.2.327-2",
|
|
23
|
+
"@libs-ui/interfaces-types": "0.2.327-2",
|
|
24
|
+
"@libs-ui/services-dynamic-component": "0.2.327-2",
|
|
24
25
|
"@ngx-translate/core": "^15.0.0",
|
|
25
26
|
"rxjs": "~7.8.0",
|
|
26
|
-
"@libs-ui/components-spinner": "0.2.327-
|
|
27
|
-
"@libs-ui/services-notification": "0.2.327-
|
|
28
|
-
"@libs-ui/services-http-request": "0.2.327-
|
|
27
|
+
"@libs-ui/components-spinner": "0.2.327-2",
|
|
28
|
+
"@libs-ui/services-notification": "0.2.327-2",
|
|
29
|
+
"@libs-ui/services-http-request": "0.2.327-2"
|
|
29
30
|
},
|
|
30
31
|
"sideEffects": false,
|
|
31
32
|
"module": "fesm2022/libs-ui-components-inputs-quill.mjs",
|
package/quill2x.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { IValidLength, IValidRequired } from '@libs-ui/components-inputs-valid';
|
|
|
4
4
|
import { ILabel } from '@libs-ui/components-label';
|
|
5
5
|
import { IListConfigItem } from '@libs-ui/components-list';
|
|
6
6
|
import { TYPE_POPOVER_EVENT } from '@libs-ui/components-popover';
|
|
7
|
+
import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
|
|
7
8
|
import { IQuill2xToolbarConfig, IQuill2xBlotRegister, IQuill2xFunctionControlEvent, IQuill2xLink, IQuill2xSelectionChange, IQuill2xTextChange, IQuill2xUploadImageConfig, QUILL2X_TYPE_MODE_BAR_CONFIG_OPTION } from './interfaces/quill2x.interface';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, OnDestroy {
|
|
@@ -57,7 +58,7 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
57
58
|
};
|
|
58
59
|
} | undefined>;
|
|
59
60
|
readonly label: import("@angular/core").InputSignal<ILabel | undefined>;
|
|
60
|
-
readonly item: import("@angular/core").ModelSignal<
|
|
61
|
+
readonly item: import("@angular/core").ModelSignal<TYPE_OBJECT>;
|
|
61
62
|
readonly fieldBind: import("@angular/core").InputSignal<string>;
|
|
62
63
|
readonly autoUpdateValueWhenTextChange: import("@angular/core").InputSignalWithTransform<boolean, boolean | undefined>;
|
|
63
64
|
readonly templateToolBarPersonalize: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
@@ -68,6 +69,7 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
68
69
|
title: string;
|
|
69
70
|
action: () => void;
|
|
70
71
|
}[] | undefined>;
|
|
72
|
+
readonly resizeImagePlugin: import("@angular/core").InputSignal<boolean | undefined>;
|
|
71
73
|
readonly autoFocus: import("@angular/core").InputSignal<boolean | undefined>;
|
|
72
74
|
readonly focusBottom: import("@angular/core").InputSignal<boolean | undefined>;
|
|
73
75
|
readonly validRequired: import("@angular/core").InputSignal<IValidRequired | undefined>;
|
|
@@ -141,5 +143,5 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
141
143
|
private focus;
|
|
142
144
|
ngOnDestroy(): void;
|
|
143
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsInputsQuill2xComponent, never>;
|
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsInputsQuill2xComponent, "libs_ui-components-inputs-quill2x", never, { "uploadImageConfig": { "alias": "uploadImageConfig"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "blotsRegister": { "alias": "blotsRegister"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "quillCustomConfig": { "alias": "quillCustomConfig"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "fieldBind": { "alias": "fieldBind"; "required": true; "isSignal": true; }; "autoUpdateValueWhenTextChange": { "alias": "autoUpdateValueWhenTextChange"; "required": false; "isSignal": true; }; "templateToolBarPersonalize": { "alias": "templateToolBarPersonalize"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "ignoreShowPopupEditLink": { "alias": "ignoreShowPopupEditLink"; "required": false; "isSignal": true; }; "ignoreCommunicateMicroEventPopup": { "alias": "ignoreCommunicateMicroEventPopup"; "required": false; "isSignal": true; }; "handlersExpand": { "alias": "handlersExpand"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "focusBottom": { "alias": "focusBottom"; "required": false; "isSignal": true; }; "validRequired": { "alias": "validRequired"; "required": false; "isSignal": true; }; "validMinLength": { "alias": "validMinLength"; "required": false; "isSignal": true; }; "validMaxLength": { "alias": "validMaxLength"; "required": false; "isSignal": true; }; "showErrorLabel": { "alias": "showErrorLabel"; "required": false; "isSignal": true; }; "showErrorBorder": { "alias": "showErrorBorder"; "required": false; "isSignal": true; }; }, { "item": "itemChange"; "outShowPopupEditLink": "outShowPopupEditLink"; "outMessageError": "outMessageError"; "outBlur": "outBlur"; "outFocus": "outFocus"; "outChange": "outChange"; "outSelectionChange": "outSelectionChange"; "outTextChange": "outTextChange"; "outContextMenu": "outContextMenu"; "outFunctionsControl": "outFunctionsControl"; }, never, never, true, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsInputsQuill2xComponent, "libs_ui-components-inputs-quill2x", never, { "uploadImageConfig": { "alias": "uploadImageConfig"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "blotsRegister": { "alias": "blotsRegister"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "quillCustomConfig": { "alias": "quillCustomConfig"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "fieldBind": { "alias": "fieldBind"; "required": true; "isSignal": true; }; "autoUpdateValueWhenTextChange": { "alias": "autoUpdateValueWhenTextChange"; "required": false; "isSignal": true; }; "templateToolBarPersonalize": { "alias": "templateToolBarPersonalize"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "ignoreShowPopupEditLink": { "alias": "ignoreShowPopupEditLink"; "required": false; "isSignal": true; }; "ignoreCommunicateMicroEventPopup": { "alias": "ignoreCommunicateMicroEventPopup"; "required": false; "isSignal": true; }; "handlersExpand": { "alias": "handlersExpand"; "required": false; "isSignal": true; }; "resizeImagePlugin": { "alias": "resizeImagePlugin"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "focusBottom": { "alias": "focusBottom"; "required": false; "isSignal": true; }; "validRequired": { "alias": "validRequired"; "required": false; "isSignal": true; }; "validMinLength": { "alias": "validMinLength"; "required": false; "isSignal": true; }; "validMaxLength": { "alias": "validMaxLength"; "required": false; "isSignal": true; }; "showErrorLabel": { "alias": "showErrorLabel"; "required": false; "isSignal": true; }; "showErrorBorder": { "alias": "showErrorBorder"; "required": false; "isSignal": true; }; }, { "item": "itemChange"; "outShowPopupEditLink": "outShowPopupEditLink"; "outMessageError": "outMessageError"; "outBlur": "outBlur"; "outFocus": "outFocus"; "outChange": "outChange"; "outSelectionChange": "outSelectionChange"; "outTextChange": "outTextChange"; "outContextMenu": "outContextMenu"; "outFunctionsControl": "outFunctionsControl"; }, never, never, true, never>;
|
|
145
147
|
}
|
|
@@ -2,4 +2,8 @@ import Quill2x from 'quill2x';
|
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
export declare const createTableSelector: (quill: Quill2x, anchorEl: HTMLElement | null, translate: TranslateService) => void;
|
|
4
4
|
export declare const createContextMenuOptionTable: (quill: Quill2x, translate: TranslateService) => void;
|
|
5
|
+
export declare function enableTableSelection(container: HTMLElement, quill: any): void;
|
|
6
|
+
export declare const mergeCells: (startCell: HTMLElement, endCell: HTMLElement) => void;
|
|
7
|
+
export declare function splitCells(cellSplit: HTMLElement): void;
|
|
5
8
|
export declare const registerQuill2x: () => void;
|
|
9
|
+
export declare const getAllTablesWithSpan: (quill: any) => void;
|