@libs-ui/components-inputs-quill 0.2.337-0 → 0.2.338-0
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/blots-custom/index.d.ts +1 -0
- package/blots-custom/mention2x.component.d.ts +19 -0
- package/esm2022/blots-custom/index.mjs +2 -1
- package/esm2022/blots-custom/mention2x.component.mjs +35 -0
- package/esm2022/link/link.component.mjs +3 -3
- package/esm2022/quill2x.component.mjs +88 -33
- package/esm2022/utils/quill.define.mjs +20 -2
- package/esm2022/utils/quill2x.define.mjs +5 -5
- package/fesm2022/libs-ui-components-inputs-quill.mjs +146 -39
- package/fesm2022/libs-ui-components-inputs-quill.mjs.map +1 -1
- package/package.json +17 -17
- package/quill2x.component.d.ts +9 -3
- package/utils/quill2x.define.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-inputs-quill",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.338-0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -8,25 +8,25 @@
|
|
|
8
8
|
"quill2x": "npm:quill@2.0.3",
|
|
9
9
|
"@ssumo/quill-resize-module": "1.0.3",
|
|
10
10
|
"parchment": "1.1.4",
|
|
11
|
-
"@libs-ui/components-label": "0.2.
|
|
11
|
+
"@libs-ui/components-label": "0.2.338-0",
|
|
12
12
|
"quill-delta": "5.1.0",
|
|
13
|
-
"@libs-ui/components-inputs-valid": "0.2.
|
|
14
|
-
"@libs-ui/components-modal": "0.2.
|
|
15
|
-
"@libs-ui/utils": "0.2.
|
|
16
|
-
"@libs-ui/components-buttons-button": "0.2.
|
|
17
|
-
"@libs-ui/components-buttons-select-color": "0.2.
|
|
18
|
-
"@libs-ui/components-dropdown": "0.2.
|
|
19
|
-
"@libs-ui/components-inputs-emoji": "0.2.
|
|
20
|
-
"@libs-ui/components-inputs-mention": "0.2.
|
|
21
|
-
"@libs-ui/components-list": "0.2.
|
|
22
|
-
"@libs-ui/components-popover": "0.2.
|
|
23
|
-
"@libs-ui/interfaces-types": "0.2.
|
|
24
|
-
"@libs-ui/services-dynamic-component": "0.2.
|
|
13
|
+
"@libs-ui/components-inputs-valid": "0.2.338-0",
|
|
14
|
+
"@libs-ui/components-modal": "0.2.338-0",
|
|
15
|
+
"@libs-ui/utils": "0.2.338-0",
|
|
16
|
+
"@libs-ui/components-buttons-button": "0.2.338-0",
|
|
17
|
+
"@libs-ui/components-buttons-select-color": "0.2.338-0",
|
|
18
|
+
"@libs-ui/components-dropdown": "0.2.338-0",
|
|
19
|
+
"@libs-ui/components-inputs-emoji": "0.2.338-0",
|
|
20
|
+
"@libs-ui/components-inputs-mention": "0.2.338-0",
|
|
21
|
+
"@libs-ui/components-list": "0.2.338-0",
|
|
22
|
+
"@libs-ui/components-popover": "0.2.338-0",
|
|
23
|
+
"@libs-ui/interfaces-types": "0.2.338-0",
|
|
24
|
+
"@libs-ui/services-dynamic-component": "0.2.338-0",
|
|
25
25
|
"@ngx-translate/core": "^15.0.0",
|
|
26
26
|
"rxjs": "~7.8.0",
|
|
27
|
-
"@libs-ui/components-spinner": "0.2.
|
|
28
|
-
"@libs-ui/services-notification": "0.2.
|
|
29
|
-
"@libs-ui/services-http-request": "0.2.
|
|
27
|
+
"@libs-ui/components-spinner": "0.2.338-0",
|
|
28
|
+
"@libs-ui/services-notification": "0.2.338-0",
|
|
29
|
+
"@libs-ui/services-http-request": "0.2.338-0"
|
|
30
30
|
},
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"module": "fesm2022/libs-ui-components-inputs-quill.mjs",
|
package/quill2x.component.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
|
|
|
10
10
|
import { IQuill2xBlotRegister, IQuill2xCustomConfig, IQuill2xFunctionControlEvent, IQuill2xLink, IQuill2xSelectionChange, IQuill2xTextChange, IQuill2xToolbarConfig, IQuill2xUploadImageConfig } from './interfaces/quill2x.interface';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, OnDestroy {
|
|
13
|
+
private isPaste;
|
|
13
14
|
private quill?;
|
|
14
15
|
private addEditLinkComponentRef;
|
|
15
16
|
private uploadImageComponentRef;
|
|
@@ -36,6 +37,8 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
36
37
|
protected iconAlignSelectedComputed: import("@angular/core").Signal<any>;
|
|
37
38
|
protected colorSelected: WritableSignal<string | undefined>;
|
|
38
39
|
protected backgroundSelected: WritableSignal<string | undefined>;
|
|
40
|
+
protected listCheckboxSelected: WritableSignal<boolean>;
|
|
41
|
+
protected adjustSelected: WritableSignal<string | undefined>;
|
|
39
42
|
protected messageError: WritableSignal<string>;
|
|
40
43
|
protected fontSize: WritableSignal<{
|
|
41
44
|
value: number;
|
|
@@ -65,8 +68,9 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
65
68
|
readonly resizeImagePlugin: import("@angular/core").InputSignal<boolean | undefined>;
|
|
66
69
|
readonly fontSizeDefault: import("@angular/core").InputSignalWithTransform<number, number | undefined>;
|
|
67
70
|
readonly heightEditorContentDefault: import("@angular/core").InputSignal<number | undefined>;
|
|
68
|
-
readonly minHeightEditorContentDefault: import("@angular/core").InputSignal<
|
|
69
|
-
readonly maxHeightEditorContentDefault: import("@angular/core").InputSignal<
|
|
71
|
+
readonly minHeightEditorContentDefault: import("@angular/core").InputSignal<number | undefined>;
|
|
72
|
+
readonly maxHeightEditorContentDefault: import("@angular/core").InputSignal<number | undefined>;
|
|
73
|
+
readonly removeNearWhiteColorsOnPaste: import("@angular/core").InputSignal<boolean>;
|
|
70
74
|
readonly resize: import("@angular/core").InputSignalWithTransform<"vertical" | "none", "vertical" | "none" | undefined>;
|
|
71
75
|
readonly autoFocus: import("@angular/core").InputSignal<boolean | undefined>;
|
|
72
76
|
readonly focusBottom: import("@angular/core").InputSignal<boolean | undefined>;
|
|
@@ -75,6 +79,7 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
75
79
|
readonly validMaxLength: import("@angular/core").InputSignal<IValidLength | undefined>;
|
|
76
80
|
readonly showErrorLabel: import("@angular/core").InputSignalWithTransform<boolean, boolean | undefined>;
|
|
77
81
|
readonly showErrorBorder: import("@angular/core").InputSignal<boolean | undefined>;
|
|
82
|
+
readonly ignoreShowBorderErrorToolbar: import("@angular/core").InputSignal<boolean | undefined>;
|
|
78
83
|
readonly outShowPopupEditLink: import("@angular/core").OutputEmitterRef<{
|
|
79
84
|
dataLink: IQuill2xLink;
|
|
80
85
|
callback: (linkEdit: {
|
|
@@ -121,6 +126,7 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
121
126
|
private handlerSelectionChange;
|
|
122
127
|
private handlerPaste;
|
|
123
128
|
private handlerTextChange;
|
|
129
|
+
private updateStateToolbarByFormatInCursor;
|
|
124
130
|
private validate;
|
|
125
131
|
private updateHandlerFunction;
|
|
126
132
|
private noPreventEmbedDeletion;
|
|
@@ -145,5 +151,5 @@ export declare class LibsUiComponentsInputsQuill2xComponent implements OnInit, O
|
|
|
145
151
|
private focus;
|
|
146
152
|
ngOnDestroy(): void;
|
|
147
153
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsInputsQuill2xComponent, never>;
|
|
148
|
-
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; }; "dataConfigMention": { "alias": "dataConfigMention"; "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; }; "fontSizeDefault": { "alias": "fontSizeDefault"; "required": false; "isSignal": true; }; "heightEditorContentDefault": { "alias": "heightEditorContentDefault"; "required": false; "isSignal": true; }; "minHeightEditorContentDefault": { "alias": "minHeightEditorContentDefault"; "required": false; "isSignal": true; }; "maxHeightEditorContentDefault": { "alias": "maxHeightEditorContentDefault"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "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>;
|
|
154
|
+
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; }; "dataConfigMention": { "alias": "dataConfigMention"; "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; }; "fontSizeDefault": { "alias": "fontSizeDefault"; "required": false; "isSignal": true; }; "heightEditorContentDefault": { "alias": "heightEditorContentDefault"; "required": false; "isSignal": true; }; "minHeightEditorContentDefault": { "alias": "minHeightEditorContentDefault"; "required": false; "isSignal": true; }; "maxHeightEditorContentDefault": { "alias": "maxHeightEditorContentDefault"; "required": false; "isSignal": true; }; "removeNearWhiteColorsOnPaste": { "alias": "removeNearWhiteColorsOnPaste"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "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; }; "ignoreShowBorderErrorToolbar": { "alias": "ignoreShowBorderErrorToolbar"; "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>;
|
|
149
155
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Quill2x from 'quill2x';
|
|
2
1
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import Quill2x from 'quill2x';
|
|
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
5
|
export declare function enableTableSelection(container: HTMLElement): void;
|