raise-common-lib 0.0.249 → 0.0.251
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/README.md +57 -57
- package/bundles/raise-common-lib.umd.js +197 -788
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/dialog/common-dialog/index.component.js +1 -1
- package/esm2015/lib/form/richtexteditor/data-config.js +68 -1
- package/esm2015/lib/form/richtexteditor/index.component.js +130 -470
- package/esm5/lib/dialog/common-dialog/index.component.js +1 -1
- package/esm5/lib/form/richtexteditor/data-config.js +68 -1
- package/esm5/lib/form/richtexteditor/index.component.js +132 -519
- package/fesm2015/raise-common-lib.js +196 -704
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +198 -789
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/richtexteditor/data-config.d.ts +8 -0
- package/lib/form/richtexteditor/index.component.d.ts +41 -64
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/arrow_right.svg +4 -4
- package/src/assets/img/bullet-dash.svg +3 -0
- package/src/assets/img/calendar-disabled.svg +6 -6
- package/src/assets/img/calendar.svg +6 -6
- package/src/assets/img/calendar_arrow_left.svg +3 -3
- package/src/assets/img/calendar_arrow_right.svg +3 -3
- package/src/assets/img/checked-vector.svg +3 -3
- package/src/assets/img/dialog-close.svg +4 -4
- package/src/assets/img/dialog-grow.svg +6 -6
- package/src/assets/img/dialog-shrink.svg +6 -6
- package/src/assets/img/plus.svg +4 -4
- package/src/assets/img/search.svg +4 -4
- package/src/assets/img/shrink-icon.svg +6 -6
- package/src/assets/img/time-disabled.svg +4 -4
- package/src/assets/img/time.svg +4 -4
- package/src/assets/img/toolbar-action-addFolder.svg +17 -17
- package/src/assets/img/toolbar-action-calculator.svg +11 -11
- package/src/assets/img/toolbar-action-collapse.svg +7 -7
- package/src/assets/img/toolbar-action-combine.svg +4 -4
- package/src/assets/img/toolbar-action-edit.svg +4 -4
- package/src/assets/img/toolbar-action-expand.svg +7 -7
- package/src/assets/img/toolbar-action-folderMove.svg +8 -8
- package/src/assets/img/toolbar-action-lock.svg +6 -6
- package/src/assets/img/toolbar-action-preview.svg +7 -7
- package/src/assets/img/toolbar-action-publish.svg +5 -5
- package/src/assets/img/toolbar-action-reminders.svg +10 -10
- package/src/assets/img/toolbar-action-rename.svg +7 -7
- package/src/assets/img/toolbar-action-saveSequence.svg +5 -5
- package/src/assets/img/toolbar-action-send-file.svg +5 -5
- package/src/assets/img/toolbar-action-settle.svg +7 -7
- package/src/assets/img/toolbar-action-share.svg +5 -5
- package/src/assets/img/toolbar-action-submitForApproval.svg +4 -4
- package/src/assets/img/toolbar-action-sync.svg +4 -4
- package/src/assets/img/toolbar-action-template.svg +6 -6
- package/src/assets/img/toolbar-action-workflow.svg +9 -9
- package/src/assets/style/reset/button.scss +5 -1
- package/esm2015/lib/form/richtexteditor/ai-config.js +0 -70
- package/esm2015/lib/form/richtexteditor/openapi.js +0 -175
- package/esm5/lib/form/richtexteditor/ai-config.js +0 -73
- package/esm5/lib/form/richtexteditor/openapi.js +0 -208
- package/lib/form/richtexteditor/ai-config.d.ts +0 -10
- package/lib/form/richtexteditor/openapi.d.ts +0 -3
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { ItemModel } from "@syncfusion/ej2-angular-splitbuttons";
|
|
2
2
|
export declare const fontFamily: Object;
|
|
3
|
+
export declare const size: {
|
|
4
|
+
default: string;
|
|
5
|
+
width: string;
|
|
6
|
+
items: {
|
|
7
|
+
text: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
3
11
|
export declare const lineHeight_items: ItemModel[];
|
|
4
12
|
export interface BulletStyle {
|
|
5
13
|
id: string;
|
|
@@ -1,78 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ButtonComponent } from "@syncfusion/ej2-angular-buttons";
|
|
5
|
-
import { DialogComponent } from "@syncfusion/ej2-angular-popups";
|
|
6
|
-
export declare class RichtexteditorComponent implements OnInit {
|
|
7
|
-
private ref;
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { RichTextEditorComponent, ToolbarSettingsModel, QuickToolbarSettingsModel } from "@syncfusion/ej2-angular-richtexteditor";
|
|
3
|
+
export declare class RichtexteditorComponent {
|
|
8
4
|
rteObj: RichTextEditorComponent;
|
|
9
|
-
queryCategory: DropDownListComponent;
|
|
10
|
-
leftRte: RichTextEditorComponent;
|
|
11
|
-
rightRte: RichTextEditorComponent;
|
|
12
|
-
AIdialog: DialogComponent;
|
|
13
|
-
sentimentButton: ButtonComponent;
|
|
14
|
-
regenerateButton: ButtonComponent;
|
|
15
|
-
copyButton: ButtonComponent;
|
|
16
|
-
replaceButton: ButtonComponent;
|
|
17
|
-
placeholder: string;
|
|
18
5
|
value: string;
|
|
6
|
+
editorId: string;
|
|
19
7
|
height: number;
|
|
20
8
|
autoSaveOnIdle: boolean;
|
|
21
|
-
|
|
22
|
-
toolbarClick: EventEmitter<any>;
|
|
23
|
-
change: EventEmitter<any>;
|
|
24
|
-
family: Object;
|
|
25
|
-
dialogWidth: string;
|
|
26
|
-
dialogHeight: string;
|
|
27
|
-
showZoomBtn: boolean;
|
|
28
|
-
showMsg: boolean;
|
|
9
|
+
disabled: boolean;
|
|
29
10
|
insertImageSettings: {
|
|
30
11
|
saveFormat: string;
|
|
31
12
|
allowedTypes: string[];
|
|
32
13
|
display: string;
|
|
33
14
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
isSentimentCheck: boolean;
|
|
52
|
-
subQuery: string;
|
|
53
|
-
translatelanguage: string;
|
|
54
|
-
chipValue: string;
|
|
55
|
-
apiResultData: any;
|
|
56
|
-
AIResult: string;
|
|
15
|
+
toolbarClick: EventEmitter<any>;
|
|
16
|
+
change: EventEmitter<any>;
|
|
17
|
+
created: EventEmitter<any>;
|
|
18
|
+
actionBegin: EventEmitter<any>;
|
|
19
|
+
input: EventEmitter<any>;
|
|
20
|
+
focus: EventEmitter<any>;
|
|
21
|
+
blur: EventEmitter<any>;
|
|
22
|
+
actionComplete: EventEmitter<any>;
|
|
23
|
+
family: Object;
|
|
24
|
+
fontSize: {
|
|
25
|
+
default: string;
|
|
26
|
+
width: string;
|
|
27
|
+
items: {
|
|
28
|
+
text: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
57
32
|
tools: ToolbarSettingsModel;
|
|
58
|
-
|
|
59
|
-
|
|
33
|
+
/** 表格快捷工具栏:含 TableCell(合并/拆分单元格) */
|
|
34
|
+
quickToolbarSettings: QuickToolbarSettingsModel;
|
|
35
|
+
bulletFormatList: {
|
|
36
|
+
types: {
|
|
37
|
+
text: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
numberFormatList: {
|
|
42
|
+
types: {
|
|
43
|
+
text: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
};
|
|
60
47
|
onContentChange(args: any): void;
|
|
61
48
|
onCreate(): void;
|
|
62
|
-
private onSelect;
|
|
63
|
-
private aiQuerySelectedMenu;
|
|
64
|
-
dialogueOpen(selectedQuery: string): void;
|
|
65
|
-
updateAISugesstionsData(selectedQuery: string): void;
|
|
66
|
-
updateAISugesstions(): void;
|
|
67
|
-
getResponseFromOpenAI(subQuery: string, promptQuery: string): Promise<string>;
|
|
68
|
-
dialogShow(): void;
|
|
69
|
-
closeDialog(): void;
|
|
70
|
-
copyTextToClipboard(text: string): void;
|
|
71
|
-
onOverlayClick(): void;
|
|
72
|
-
onQuerySelect(args: any): void;
|
|
73
|
-
onLanguageSelect(args: any): void;
|
|
74
|
-
onChipClick(args: any): void;
|
|
75
49
|
_toolbarClick(args: any): void;
|
|
76
|
-
|
|
77
|
-
|
|
50
|
+
_actionBegin(args: any): void;
|
|
51
|
+
_input(args: any): void;
|
|
52
|
+
_actionComplete(args: any): void;
|
|
53
|
+
_focus(args: any): void;
|
|
54
|
+
_blur(args: any): void;
|
|
78
55
|
}
|