raise-common-lib-new 0.0.57 → 0.0.59

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.
@@ -7,8 +7,8 @@ export declare class FloatBoxComponent implements AfterViewInit, OnDestroy {
7
7
  _trigger: "hover" | "click";
8
8
  _animation: "yes" | "no";
9
9
  _fixed: "yes" | "no";
10
- get placement(): "top" | "left" | "right" | "bottom";
11
- get position(): "center" | "start" | "end";
10
+ get placement(): "top" | "bottom" | "right" | "left";
11
+ get position(): "start" | "center" | "end";
12
12
  get trigger(): "hover" | "click";
13
13
  get animation(): "yes" | "no";
14
14
  get fixed(): "yes" | "no";
@@ -5,11 +5,13 @@ import { RichTextEditorComponent, ToolbarSettingsModel } from "@syncfusion/ej2-a
5
5
  import { ButtonComponent } from "@syncfusion/ej2-angular-buttons";
6
6
  import { DialogComponent } from "@syncfusion/ej2-angular-popups";
7
7
  import { DialogService } from "../../service/dialog.service";
8
+ import { MatSnackBar } from "@angular/material/snack-bar";
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class RichtexteditorComponent implements OnInit {
10
11
  private ref;
11
12
  private http;
12
13
  private dialog;
14
+ private snackBar;
13
15
  rteObj: RichTextEditorComponent;
14
16
  queryCategory: DropDownListComponent;
15
17
  leftRte: RichTextEditorComponent;
@@ -41,6 +43,7 @@ export declare class RichtexteditorComponent implements OnInit {
41
43
  focus: EventEmitter<any>;
42
44
  blur: EventEmitter<any>;
43
45
  actionComplete: EventEmitter<any>;
46
+ afterPasteCleanup: EventEmitter<any>;
44
47
  family: Object;
45
48
  fontSize: {
46
49
  default: string;
@@ -62,10 +65,7 @@ export declare class RichtexteditorComponent implements OnInit {
62
65
  id: string;
63
66
  text: string;
64
67
  }[];
65
- rephraseTyleList: {
66
- text: string;
67
- id: string;
68
- }[];
68
+ rephraseTyleList: any[];
69
69
  languageList: {
70
70
  id: string;
71
71
  text: string;
@@ -78,6 +78,7 @@ export declare class RichtexteditorComponent implements OnInit {
78
78
  apiResultData: any;
79
79
  AIResult: string;
80
80
  tools: ToolbarSettingsModel;
81
+ isDialogVisible: boolean;
81
82
  bulletFormatList: {
82
83
  types: {
83
84
  text: string;
@@ -90,7 +91,8 @@ export declare class RichtexteditorComponent implements OnInit {
90
91
  value: string;
91
92
  }[];
92
93
  };
93
- constructor(ref: ChangeDetectorRef, http: HttpClient, dialog: DialogService);
94
+ translation: any;
95
+ constructor(ref: ChangeDetectorRef, http: HttpClient, dialog: DialogService, snackBar: MatSnackBar);
94
96
  ngOnInit(): void;
95
97
  onContentChange(args: any): void;
96
98
  onCreate(): void;
@@ -99,6 +101,7 @@ export declare class RichtexteditorComponent implements OnInit {
99
101
  dialogueOpen(selectedQuery: string): void;
100
102
  updateAISugesstionsData(selectedQuery: string): void;
101
103
  updateAISugesstions(): void;
104
+ fullResponse: string;
102
105
  getResponseFromOpenAI(subQuery: string, promptQuery: string): Promise<string>;
103
106
  dialogShow(): void;
104
107
  closeDialog(): void;
@@ -114,8 +117,17 @@ export declare class RichtexteditorComponent implements OnInit {
114
117
  _focus(args: any): void;
115
118
  _blur(args: any): void;
116
119
  _dialogOpen(args: any): void;
120
+ _afterPasteCleanup(args: any): void;
121
+ unescapeHtml(escapedHtml: string): string;
117
122
  hideToast(): void;
118
123
  onZoom(): void;
124
+ regenerateClick(): void;
125
+ copyClick(): void;
126
+ replaceClick(): void;
127
+ scrollToBottom(content: any): void;
128
+ onMinimize(): void;
129
+ showDialog(): void;
130
+ insertHtmlToEditor(html: string): void;
119
131
  static ɵfac: i0.ɵɵFactoryDeclaration<RichtexteditorComponent, never>;
120
- static ɵcmp: i0.ɵɵComponentDeclaration<RichtexteditorComponent, "rs-richtext-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "editorId": { "alias": "editorId"; "required": false; }; "saveInterval": { "alias": "saveInterval"; "required": false; }; "height": { "alias": "height"; "required": false; }; "autoSaveOnIdle": { "alias": "autoSaveOnIdle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "target": { "alias": "target"; "required": false; }; "insertImageSettings": { "alias": "insertImageSettings"; "required": false; }; "showTicketAttachment": { "alias": "showTicketAttachment"; "required": false; }; }, { "toolbarClick": "toolbarClick"; "change": "change"; "created": "created"; "actionBegin": "actionBegin"; "input": "input"; "focus": "focus"; "blur": "blur"; "actionComplete": "actionComplete"; }, never, never, false, never>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<RichtexteditorComponent, "rs-richtext-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "editorId": { "alias": "editorId"; "required": false; }; "saveInterval": { "alias": "saveInterval"; "required": false; }; "height": { "alias": "height"; "required": false; }; "autoSaveOnIdle": { "alias": "autoSaveOnIdle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "target": { "alias": "target"; "required": false; }; "insertImageSettings": { "alias": "insertImageSettings"; "required": false; }; "showTicketAttachment": { "alias": "showTicketAttachment"; "required": false; }; }, { "toolbarClick": "toolbarClick"; "change": "change"; "created": "created"; "actionBegin": "actionBegin"; "input": "input"; "focus": "focus"; "blur": "blur"; "actionComplete": "actionComplete"; "afterPasteCleanup": "afterPasteCleanup"; }, never, never, false, never>;
121
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib-new",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.0.0",
6
6
  "@angular/core": "^16.0.0"
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1722494012070" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5545" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><path d="M128 512m32 0l704 0q32 0 32 32l0 0q0 32-32 32l-704 0q-32 0-32-32l0 0q0-32 32-32Z" p-id="5546" fill="#515151"></path></svg>