raise-common-lib-new 0.0.36 → 0.0.38
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 +24 -24
- package/esm2022/lib/actions/toolbar/constants.mjs +2 -0
- package/esm2022/lib/{layout → actions}/toolbar/index.component.mjs +3 -3
- package/esm2022/lib/actions/toolbar-item/index.component.mjs +82 -0
- package/esm2022/lib/commentary/index.component.mjs +19 -10
- package/esm2022/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.mjs +42 -3
- package/esm2022/lib/common-grid/grid-action/grid-action.component.mjs +2 -2
- package/esm2022/lib/common-grid/index.component.mjs +30 -3
- package/esm2022/lib/dialog/common-delete-dialog/index.component.mjs +11 -7
- package/esm2022/lib/dialog/common-dialog/index.component.mjs +45 -12
- package/esm2022/lib/float-box/index.component.mjs +3 -1
- package/esm2022/lib/form/confirm-select/index.component.mjs +78 -0
- package/esm2022/lib/form/drawer-form/constants.mjs +1 -1
- package/esm2022/lib/form/drawer-form/drawer-form.component.mjs +52 -24
- package/esm2022/lib/form/richtexteditor/ai-config.mjs +35 -0
- package/esm2022/lib/form/richtexteditor/data-config.mjs +222 -0
- package/esm2022/lib/form/richtexteditor/index.component.mjs +425 -0
- package/esm2022/lib/form/richtexteditor/openapi.mjs +121 -0
- package/esm2022/lib/form/search-input/index.component.mjs +45 -0
- package/esm2022/lib/form/tag-input/index.component.mjs +1 -1
- package/esm2022/lib/layout/drawer/index.component.mjs +28 -18
- package/esm2022/lib/layout/grid-box/index.component.mjs +28 -19
- package/esm2022/lib/layout/main-container/index.component.mjs +3 -3
- package/esm2022/lib/layout/multi-tab/index.component.mjs +80 -41
- package/esm2022/lib/layout/page-list/index.component.mjs +28 -19
- package/esm2022/lib/layout/rs-aside/index.component.mjs +12 -9
- package/esm2022/lib/layout/rs-footer/index.component.mjs +2 -2
- package/esm2022/lib/layout/rs-header/index.component.mjs +6 -3
- package/esm2022/lib/raise-common-lib.module.mjs +43 -15
- package/esm2022/lib/service/dialog.service.mjs +9 -6
- package/esm2022/lib/service/drawer.service.mjs +8 -6
- package/esm2022/lib/truncated-text-toggle/index.component.mjs +41 -0
- package/esm2022/public-api.mjs +7 -4
- package/fesm2022/raise-common-lib-new.mjs +1433 -220
- package/fesm2022/raise-common-lib-new.mjs.map +1 -1
- package/lib/{form → actions}/toolbar-item/index.component.d.ts +2 -1
- package/lib/commentary/index.component.d.ts +2 -2
- package/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.d.ts +6 -1
- package/lib/common-grid/index.component.d.ts +10 -1
- package/lib/dialog/common-delete-dialog/index.component.d.ts +8 -2
- package/lib/dialog/common-dialog/index.component.d.ts +10 -2
- package/lib/float-box/index.component.d.ts +2 -2
- package/lib/form/confirm-select/index.component.d.ts +28 -0
- package/lib/form/drawer-form/constants.d.ts +2 -0
- package/lib/form/drawer-form/drawer-form.component.d.ts +8 -5
- package/lib/form/richtexteditor/ai-config.d.ts +10 -0
- package/lib/form/richtexteditor/data-config.d.ts +14 -0
- package/lib/form/richtexteditor/index.component.d.ts +83 -0
- package/lib/form/richtexteditor/openapi.d.ts +3 -0
- package/lib/form/search-input/index.component.d.ts +17 -0
- package/lib/layout/drawer/index.component.d.ts +8 -7
- package/lib/layout/grid-box/index.component.d.ts +9 -6
- package/lib/layout/multi-tab/index.component.d.ts +9 -3
- package/lib/layout/page-list/index.component.d.ts +9 -6
- package/lib/layout/rs-aside/index.component.d.ts +3 -1
- package/lib/layout/rs-header/index.component.d.ts +2 -1
- package/lib/raise-common-lib.module.d.ts +37 -32
- package/lib/service/dialog.service.d.ts +3 -1
- package/lib/service/drawer.service.d.ts +1 -1
- package/lib/truncated-text-toggle/index.component.d.ts +15 -0
- package/package.json +2 -2
- package/public-api.d.ts +6 -3
- package/src/assets/img/arrow_right.svg +4 -4
- 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/click_show_more_icon.svg +3 -0
- package/src/assets/img/dialog-close.svg +4 -0
- package/src/assets/img/dialog-grow.svg +6 -0
- package/src/assets/img/dialog-shrink.svg +6 -0
- package/src/assets/img/editor-copy.svg +5 -0
- package/src/assets/img/grid-action-detail.svg +4 -5
- package/src/assets/img/grid-action-duplicate.svg +6 -0
- package/src/assets/img/grid-action-export.svg +4 -11
- package/src/assets/img/grid-action-preview.svg +7 -0
- package/src/assets/img/grid-action-refresh.svg +4 -0
- package/src/assets/img/grid-action-verify.svg +7 -0
- package/src/assets/img/grid-action-viewStatus.svg +3 -0
- package/src/assets/img/grid-menu-arrow-up.svg +4 -0
- package/src/assets/img/grid-menu-filter.svg +6 -0
- package/src/assets/img/info.svg +5 -0
- package/src/assets/img/plus.svg +4 -4
- package/src/assets/img/search.svg +4 -4
- package/src/assets/img/shrink-icon.svg +6 -0
- 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 -0
- package/src/assets/img/toolbar-action-calculator.svg +11 -0
- package/src/assets/img/toolbar-action-collapse.svg +7 -0
- package/src/assets/img/toolbar-action-combine.svg +4 -0
- package/src/assets/img/toolbar-action-edit.svg +4 -0
- package/src/assets/img/toolbar-action-expand.svg +7 -0
- package/src/assets/img/toolbar-action-fetchData.svg +3 -0
- package/src/assets/img/toolbar-action-folderMove.svg +8 -0
- package/src/assets/img/toolbar-action-lock.svg +6 -0
- package/src/assets/img/toolbar-action-preview.svg +7 -0
- package/src/assets/img/toolbar-action-publish.svg +5 -0
- package/src/assets/img/toolbar-action-refresh.svg +3 -13
- package/src/assets/img/toolbar-action-reminders.svg +10 -0
- package/src/assets/img/toolbar-action-rename.svg +7 -0
- package/src/assets/img/toolbar-action-saveSequence.svg +5 -0
- package/src/assets/img/toolbar-action-send-file.svg +5 -0
- package/src/assets/img/toolbar-action-settle.svg +7 -0
- package/src/assets/img/toolbar-action-share.svg +5 -0
- package/src/assets/img/toolbar-action-submitForApproval.svg +4 -0
- package/src/assets/img/toolbar-action-sync.svg +4 -0
- package/src/assets/img/toolbar-action-template.svg +6 -0
- package/src/assets/img/toolbar-action-update.svg +11 -0
- package/src/assets/img/toolbar-action-workflow.svg +9 -0
- package/src/assets/style/reset/button.scss +3 -3
- package/src/assets/style/reset/checkbox.scss +15 -9
- package/src/assets/style/reset/dropdown.scss +56 -14
- package/src/assets/style/reset/grid.scss +134 -2
- package/src/assets/style/reset/mat-dialog.scss +1 -2
- package/src/assets/style/reset/radio.scss +33 -35
- package/src/assets/style/style.scss +0 -1
- package/esm2022/lib/form/toolbar-item/index.component.mjs +0 -56
- package/esm2022/lib/layout/toolbar/constants.mjs +0 -2
- /package/lib/{layout → actions}/toolbar/constants.d.ts +0 -0
- /package/lib/{layout → actions}/toolbar/index.component.d.ts +0 -0
|
@@ -5,6 +5,7 @@ export declare class ToolbarItemComponent {
|
|
|
5
5
|
text: string;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
children: any[];
|
|
8
|
+
hideArrow: boolean;
|
|
8
9
|
disabledOptions: {
|
|
9
10
|
[key: string]: any;
|
|
10
11
|
};
|
|
@@ -13,5 +14,5 @@ export declare class ToolbarItemComponent {
|
|
|
13
14
|
getWidth(): number;
|
|
14
15
|
ImageType: string[];
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarItemComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarItemComponent, "rs-toolbar-item", never, { "image": { "alias": "image"; "required": false; }; "text": { "alias": "text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "children": { "alias": "children"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarItemComponent, "rs-toolbar-item", never, { "image": { "alias": "image"; "required": false; }; "text": { "alias": "text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "children": { "alias": "children"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
18
|
}
|
|
@@ -20,6 +20,7 @@ export declare class RsCommentaryComponent implements OnInit {
|
|
|
20
20
|
lastModifiedOn: string;
|
|
21
21
|
messageBody: string;
|
|
22
22
|
};
|
|
23
|
+
dateTimePipeFormat: string;
|
|
23
24
|
actionComplete: EventEmitter<{
|
|
24
25
|
action: "addComment" | "updateComment" | "deleteComment" | "replyComment";
|
|
25
26
|
data: any;
|
|
@@ -30,7 +31,6 @@ export declare class RsCommentaryComponent implements OnInit {
|
|
|
30
31
|
commentVal: string;
|
|
31
32
|
replyVal: string;
|
|
32
33
|
editCommentVal: string;
|
|
33
|
-
dateTimePipeFormat: string;
|
|
34
34
|
translation: any;
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
getInfo(): void;
|
|
@@ -41,5 +41,5 @@ export declare class RsCommentaryComponent implements OnInit {
|
|
|
41
41
|
addReply(item: any): void;
|
|
42
42
|
adjustTextareaHeight(e: any): void;
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<RsCommentaryComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RsCommentaryComponent, "rs-commentary", never, { "displayName": { "alias": "displayName"; "required": false; }; "commentData": { "alias": "commentData"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "filedsKey": { "alias": "filedsKey"; "required": false; }; }, { "actionComplete": "actionComplete"; }, never, never, false, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RsCommentaryComponent, "rs-commentary", never, { "displayName": { "alias": "displayName"; "required": false; }; "commentData": { "alias": "commentData"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "filedsKey": { "alias": "filedsKey"; "required": false; }; "dateTimePipeFormat": { "alias": "dateTimePipeFormat"; "required": false; }; }, { "actionComplete": "actionComplete"; }, never, never, false, never>;
|
|
45
45
|
}
|
|
@@ -3,8 +3,13 @@ export declare class GridActionItemComponent {
|
|
|
3
3
|
image: string;
|
|
4
4
|
text: string;
|
|
5
5
|
disabled: boolean;
|
|
6
|
+
children: any[];
|
|
7
|
+
hideArrow: boolean;
|
|
8
|
+
disabledOptions: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
6
11
|
get hostDisabled(): boolean;
|
|
7
12
|
ImageType: string[];
|
|
8
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridActionItemComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridActionItemComponent, "rs-grid-action-item", never, { "image": { "alias": "image"; "required": false; }; "text": { "alias": "text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridActionItemComponent, "rs-grid-action-item", never, { "image": { "alias": "image"; "required": false; }; "text": { "alias": "text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "children": { "alias": "children"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
15
|
}
|
|
@@ -26,6 +26,7 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
26
26
|
columnTemplate: TemplateRef<any>;
|
|
27
27
|
pageSettings: any;
|
|
28
28
|
allowPaging: boolean;
|
|
29
|
+
allowRowDragAndDrop: boolean;
|
|
29
30
|
clipMode: string;
|
|
30
31
|
checkBoxWidth: number;
|
|
31
32
|
childGrid: any;
|
|
@@ -60,6 +61,7 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
60
61
|
actionComplete: EventEmitter<any>;
|
|
61
62
|
rowSelected: EventEmitter<any>;
|
|
62
63
|
rowDeselected: EventEmitter<any>;
|
|
64
|
+
rowDeselecting: EventEmitter<any>;
|
|
63
65
|
onContextMenu: EventEmitter<any>;
|
|
64
66
|
actionHandler: EventEmitter<any>;
|
|
65
67
|
queryCellInfo: EventEmitter<any>;
|
|
@@ -69,6 +71,9 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
69
71
|
dataBound: EventEmitter<any>;
|
|
70
72
|
exportQueryCellInfo: EventEmitter<any>;
|
|
71
73
|
rowSelecting: EventEmitter<any>;
|
|
74
|
+
rowDrop: EventEmitter<any>;
|
|
75
|
+
rowDrag: EventEmitter<any>;
|
|
76
|
+
rowDragStart: EventEmitter<any>;
|
|
72
77
|
selectId: any[];
|
|
73
78
|
startPaging: boolean;
|
|
74
79
|
indexList: any[];
|
|
@@ -81,7 +86,10 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
81
86
|
_load(): void;
|
|
82
87
|
_dataBound(args: any): void;
|
|
83
88
|
_exportQueryCellInfo(args: any): void;
|
|
89
|
+
_rowDrag(args: any): void;
|
|
90
|
+
_rowDragStart(args: any): void;
|
|
84
91
|
_recordDoubleClick($event: any): void;
|
|
92
|
+
_rowDeselecting($event: any): void;
|
|
85
93
|
/**
|
|
86
94
|
* [selectionSettings]="{ checkboxOnly: true }"
|
|
87
95
|
[showCheckBox]="true"
|
|
@@ -106,6 +114,7 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
106
114
|
refreshHeader(): void;
|
|
107
115
|
export(excelExportProperties?: any): void;
|
|
108
116
|
getSelectedRecords(): Object[];
|
|
117
|
+
onRowDrop(e: any): void;
|
|
109
118
|
_rowDataBound($event: any): void;
|
|
110
119
|
clearSelection(): void;
|
|
111
120
|
excelExport(): void;
|
|
@@ -118,5 +127,5 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
118
127
|
showLoading(): void;
|
|
119
128
|
hideLoading(): void;
|
|
120
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonGridComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommonGridComponent, "rs-common-grid", never, { "showCheckBox": { "alias": "showCheckBox"; "required": false; }; "loaded": { "alias": "loaded"; "required": false; }; "hiddenLoaded": { "alias": "hiddenLoaded"; "required": false; }; "authorized": { "alias": "authorized"; "required": false; }; "selectedDiffKey": { "alias": "selectedDiffKey"; "required": false; }; "gridHeight": { "alias": "gridHeight"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "resizeSettings": { "alias": "resizeSettings"; "required": false; }; "filterSettings": { "alias": "filterSettings"; "required": false; }; "template": { "alias": "template"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "editSettings": { "alias": "editSettings"; "required": false; }; "columnTemplate": { "alias": "columnTemplate"; "required": false; }; "pageSettings": { "alias": "pageSettings"; "required": false; }; "allowPaging": { "alias": "allowPaging"; "required": false; }; "clipMode": { "alias": "clipMode"; "required": false; }; "checkBoxWidth": { "alias": "checkBoxWidth"; "required": false; }; "childGrid": { "alias": "childGrid"; "required": false; }; "frozenColumns": { "alias": "frozenColumns"; "required": false; }; "columnChooserSettings": { "alias": "columnChooserSettings"; "required": false; }; "contextMenuItems": { "alias": "contextMenuItems"; "required": false; }; "selectionSettings": { "alias": "selectionSettings"; "required": false; }; "alwaysShowCheckbox": { "alias": "alwaysShowCheckbox"; "required": false; }; "defaultRecord": { "alias": "defaultRecord"; "required": false; }; "disableSystemRow": { "alias": "disableSystemRow"; "required": false; }; }, { "recordDoubleClick": "recordDoubleClick"; "actionComplete": "actionComplete"; "rowSelected": "rowSelected"; "rowDeselected": "rowDeselected"; "onContextMenu": "onContextMenu"; "actionHandler": "actionHandler"; "queryCellInfo": "queryCellInfo"; "recordClick": "recordClick"; "actionBegin": "actionBegin"; "rowDataBound": "rowDataBound"; "dataBound": "dataBound"; "exportQueryCellInfo": "exportQueryCellInfo"; "rowSelecting": "rowSelecting"; }, never, never, false, never>;
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonGridComponent, "rs-common-grid", never, { "showCheckBox": { "alias": "showCheckBox"; "required": false; }; "loaded": { "alias": "loaded"; "required": false; }; "hiddenLoaded": { "alias": "hiddenLoaded"; "required": false; }; "authorized": { "alias": "authorized"; "required": false; }; "selectedDiffKey": { "alias": "selectedDiffKey"; "required": false; }; "gridHeight": { "alias": "gridHeight"; "required": false; }; "gridId": { "alias": "gridId"; "required": false; }; "resizeSettings": { "alias": "resizeSettings"; "required": false; }; "filterSettings": { "alias": "filterSettings"; "required": false; }; "template": { "alias": "template"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "editSettings": { "alias": "editSettings"; "required": false; }; "columnTemplate": { "alias": "columnTemplate"; "required": false; }; "pageSettings": { "alias": "pageSettings"; "required": false; }; "allowPaging": { "alias": "allowPaging"; "required": false; }; "allowRowDragAndDrop": { "alias": "allowRowDragAndDrop"; "required": false; }; "clipMode": { "alias": "clipMode"; "required": false; }; "checkBoxWidth": { "alias": "checkBoxWidth"; "required": false; }; "childGrid": { "alias": "childGrid"; "required": false; }; "frozenColumns": { "alias": "frozenColumns"; "required": false; }; "columnChooserSettings": { "alias": "columnChooserSettings"; "required": false; }; "contextMenuItems": { "alias": "contextMenuItems"; "required": false; }; "selectionSettings": { "alias": "selectionSettings"; "required": false; }; "alwaysShowCheckbox": { "alias": "alwaysShowCheckbox"; "required": false; }; "defaultRecord": { "alias": "defaultRecord"; "required": false; }; "disableSystemRow": { "alias": "disableSystemRow"; "required": false; }; }, { "recordDoubleClick": "recordDoubleClick"; "actionComplete": "actionComplete"; "rowSelected": "rowSelected"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "onContextMenu": "onContextMenu"; "actionHandler": "actionHandler"; "queryCellInfo": "queryCellInfo"; "recordClick": "recordClick"; "actionBegin": "actionBegin"; "rowDataBound": "rowDataBound"; "dataBound": "dataBound"; "exportQueryCellInfo": "exportQueryCellInfo"; "rowSelecting": "rowSelecting"; "rowDrop": "rowDrop"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; }, never, never, false, never>;
|
|
122
131
|
}
|
|
@@ -3,14 +3,18 @@ import { MatDialogRef } from "@angular/material/dialog";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface DialogConfig {
|
|
5
5
|
title?: string;
|
|
6
|
-
description?: string;
|
|
6
|
+
description?: string | string[];
|
|
7
7
|
saveBtnLabel?: string;
|
|
8
8
|
cancelBtnLabel?: string;
|
|
9
|
+
discardBtnLabel?: string;
|
|
9
10
|
showErrorIcon?: boolean;
|
|
10
11
|
hideCloseIcon?: boolean;
|
|
11
12
|
size?: string;
|
|
12
13
|
hideSaveBtn?: boolean;
|
|
13
14
|
hideCloseBtn?: boolean;
|
|
15
|
+
hideDiscardBtn?: boolean;
|
|
16
|
+
showZoomBtn?: boolean;
|
|
17
|
+
onCloseRequest?: (e: any) => Promise<boolean>;
|
|
14
18
|
}
|
|
15
19
|
export declare class CommonDeleteComponent implements OnInit {
|
|
16
20
|
data: DialogConfig;
|
|
@@ -19,11 +23,13 @@ export declare class CommonDeleteComponent implements OnInit {
|
|
|
19
23
|
title: string;
|
|
20
24
|
saveBtnLabel: string;
|
|
21
25
|
cancelBtnLabel: string;
|
|
26
|
+
discardBtnLabel: string;
|
|
22
27
|
description: string;
|
|
23
28
|
size: string;
|
|
29
|
+
showZoomBtn: boolean;
|
|
30
|
+
isMultiLine: boolean;
|
|
24
31
|
constructor(data: DialogConfig, dialogRef: MatDialogRef<CommonDeleteComponent>);
|
|
25
32
|
ngOnInit(): void;
|
|
26
|
-
onSave(e: any): void;
|
|
27
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDeleteComponent, never>;
|
|
28
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDeleteComponent, "kt-common-delete-dialog", never, {}, {}, never, never, false, never>;
|
|
29
35
|
}
|
|
@@ -8,22 +8,30 @@ export declare class CommonDialogComponent implements OnInit {
|
|
|
8
8
|
hideCloseIcon: boolean;
|
|
9
9
|
hideCloseBtn: boolean;
|
|
10
10
|
hideSaveBtn: boolean;
|
|
11
|
+
hideDiscardBtn: boolean;
|
|
11
12
|
saveBtnLabel: string;
|
|
12
13
|
cancelBtnLabel: string;
|
|
14
|
+
discardBtnLabel: string;
|
|
13
15
|
showErrorIcon: boolean;
|
|
16
|
+
showZoomBtn: boolean;
|
|
17
|
+
onCloseRequest: Function;
|
|
18
|
+
dialogStyle: {};
|
|
14
19
|
size: string;
|
|
15
20
|
title: string;
|
|
16
21
|
loading: boolean;
|
|
17
22
|
saveEmit: EventEmitter<Function>;
|
|
18
23
|
closeEmit: EventEmitter<Function>;
|
|
24
|
+
defaultSize: string;
|
|
19
25
|
constructor(dialogRef: MatDialogRef<CommonDialogComponent>);
|
|
20
26
|
footerContent: any;
|
|
21
27
|
customFooter: boolean;
|
|
22
28
|
ngAfterContentInit(): void;
|
|
23
29
|
ngOnInit(): void;
|
|
24
|
-
onClose(
|
|
30
|
+
onClose(): void;
|
|
31
|
+
onZoom(): void;
|
|
25
32
|
onSave(): void;
|
|
33
|
+
onDiscard(): void;
|
|
26
34
|
private getInfo;
|
|
27
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "rs-common-dialog", never, { "hideHeader": { "alias": "hideHeader"; "required": false; }; "hideCloseIcon": { "alias": "hideCloseIcon"; "required": false; }; "hideCloseBtn": { "alias": "hideCloseBtn"; "required": false; }; "hideSaveBtn": { "alias": "hideSaveBtn"; "required": false; }; "hideDiscardBtn": { "alias": "hideDiscardBtn"; "required": false; }; "saveBtnLabel": { "alias": "saveBtnLabel"; "required": false; }; "cancelBtnLabel": { "alias": "cancelBtnLabel"; "required": false; }; "discardBtnLabel": { "alias": "discardBtnLabel"; "required": false; }; "showErrorIcon": { "alias": "showErrorIcon"; "required": false; }; "showZoomBtn": { "alias": "showZoomBtn"; "required": false; }; "onCloseRequest": { "alias": "onCloseRequest"; "required": false; }; "dialogStyle": { "alias": "dialogStyle"; "required": false; }; "size": { "alias": "size"; "required": false; }; "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "saveEmit": "saveEmit"; "closeEmit": "closeEmit"; }, ["footerContent"], ["*", "[footerSlot]"], false, never>;
|
|
29
37
|
}
|
|
@@ -7,9 +7,9 @@ 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(): "
|
|
10
|
+
get placement(): "bottom" | "left" | "right" | "top";
|
|
11
11
|
get position(): "center" | "start" | "end";
|
|
12
|
-
get trigger(): "
|
|
12
|
+
get trigger(): "click" | "hover";
|
|
13
13
|
get animation(): "yes" | "no";
|
|
14
14
|
get fixed(): "yes" | "no";
|
|
15
15
|
openChange: EventEmitter<boolean>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { MultiSelectComponent } from "@syncfusion/ej2-angular-dropdowns";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConfirmSelectComponent implements OnInit, OnChanges {
|
|
5
|
+
comfirmSelect: MultiSelectComponent;
|
|
6
|
+
value: any;
|
|
7
|
+
dataSource: any[];
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
fields: {
|
|
10
|
+
text: string;
|
|
11
|
+
value: string;
|
|
12
|
+
};
|
|
13
|
+
placeholder: any;
|
|
14
|
+
showSelectAll: boolean;
|
|
15
|
+
valueChange: EventEmitter<any>;
|
|
16
|
+
translation: any;
|
|
17
|
+
selectedItems: any[];
|
|
18
|
+
isInteracted: boolean;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
getInfo(): void;
|
|
22
|
+
resetSelectedItems(): void;
|
|
23
|
+
onCancel(): void;
|
|
24
|
+
onApply(): void;
|
|
25
|
+
onClose(e: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmSelectComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmSelectComponent, "rs-confirm-select", never, { "value": { "alias": "value"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { DatePipe } from "@angular/common";
|
|
3
2
|
import { FilteringEventArgs } from "@syncfusion/ej2-angular-dropdowns";
|
|
4
3
|
import { FieldItem, SectionItem } from "./constants";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class DrawerFormComponent implements OnInit, OnChanges, AfterViewInit {
|
|
7
|
-
private datePipe;
|
|
8
6
|
private ref;
|
|
9
|
-
|
|
7
|
+
_sections: SectionItem[];
|
|
10
8
|
optionsMap: Record<string, any[]>;
|
|
11
9
|
customTemplate: TemplateRef<any>;
|
|
12
10
|
customSectionTemplate: Record<string, TemplateRef<any>>;
|
|
@@ -28,9 +26,11 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
28
26
|
rootEl: ElementRef<HTMLDivElement>;
|
|
29
27
|
private containers;
|
|
30
28
|
private sectionContainers;
|
|
29
|
+
sections: SectionItem[];
|
|
31
30
|
filterOptionsMap: Record<string, any[]>;
|
|
32
31
|
fieldValidMap: Record<string, boolean>;
|
|
33
|
-
|
|
32
|
+
dateValidMap: Record<string, boolean>;
|
|
33
|
+
constructor(ref: ChangeDetectorRef);
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
36
|
ngAfterViewInit(): void;
|
|
@@ -45,10 +45,13 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
45
45
|
getField(formKey: string): FieldItem;
|
|
46
46
|
private callFunction;
|
|
47
47
|
onInput(value: string, field: FieldItem): void;
|
|
48
|
+
onComponentChange(event: any, field: FieldItem): void;
|
|
48
49
|
onChange(value: any, field: FieldItem): void;
|
|
50
|
+
onDatePickerBlur(event: any, field: FieldItem): void;
|
|
49
51
|
onFocus(field: FieldItem): void;
|
|
50
52
|
onBlur(field: FieldItem): void;
|
|
51
53
|
onFiltering(event: FilteringEventArgs, field: FieldItem): void;
|
|
54
|
+
getValue(field: FieldItem): any;
|
|
52
55
|
getDisabled(field: FieldItem): boolean;
|
|
53
56
|
getOptionFields(field: FieldItem): {
|
|
54
57
|
text: string;
|
|
@@ -63,5 +66,5 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
|
|
|
63
66
|
findScrollViewEl(el: HTMLElement): HTMLElement;
|
|
64
67
|
initAnchorScrollHandler(): void;
|
|
65
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerFormComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerFormComponent, "rs-drawer-form", never, { "
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerFormComponent, "rs-drawer-form", never, { "_sections": { "alias": "sections"; "required": false; }; "optionsMap": { "alias": "optionsMap"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "customSectionTemplate": { "alias": "customSectionTemplate"; "required": false; }; "formDisabled": { "alias": "disabled"; "required": false; }; "showAnchor": { "alias": "showAnchor"; "required": false; }; "optionFields": { "alias": "optionFields"; "required": false; }; "showFilterNumber": { "alias": "showFilterNumber"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "formChange": "formChange"; "fieldChange": "fieldChange"; }, never, never, false, never>;
|
|
67
70
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface AIConfig {
|
|
2
|
+
endpoint: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
deployment: string;
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function getAIConfig(): AIConfig;
|
|
9
|
+
export declare function isAIConfigValid(config: AIConfig): boolean;
|
|
10
|
+
export declare function getAIConfigFromBackend(): Promise<AIConfig>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ItemModel } from "@syncfusion/ej2-angular-splitbuttons";
|
|
2
|
+
export declare const fontFamily: Object;
|
|
3
|
+
export declare const lineHeight_items: ItemModel[];
|
|
4
|
+
export interface BulletStyle {
|
|
5
|
+
id: string;
|
|
6
|
+
text: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
iconCss: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const BULLET_STYLES: BulletStyle[];
|
|
12
|
+
export declare function getBulletStyle(id: string): BulletStyle | undefined;
|
|
13
|
+
export declare function getAllBulletStyles(): BulletStyle[];
|
|
14
|
+
export declare function applyBulletStyle(ul: HTMLElement, style: BulletStyle): void;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import { DropDownListComponent } from "@syncfusion/ej2-angular-dropdowns";
|
|
3
|
+
import { RichTextEditorComponent, ToolbarSettingsModel } from "@syncfusion/ej2-angular-richtexteditor";
|
|
4
|
+
import { ButtonComponent } from "@syncfusion/ej2-angular-buttons";
|
|
5
|
+
import { DialogComponent } from "@syncfusion/ej2-angular-popups";
|
|
6
|
+
import { DialogService } from "raise-common-lib";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class RichtexteditorComponent implements OnInit {
|
|
9
|
+
private dialog;
|
|
10
|
+
private ref;
|
|
11
|
+
rteObj: RichTextEditorComponent;
|
|
12
|
+
queryCategory: DropDownListComponent;
|
|
13
|
+
leftRte: RichTextEditorComponent;
|
|
14
|
+
rightRte: RichTextEditorComponent;
|
|
15
|
+
AIdialog: DialogComponent;
|
|
16
|
+
sentimentButton: ButtonComponent;
|
|
17
|
+
regenerateButton: ButtonComponent;
|
|
18
|
+
copyButton: ButtonComponent;
|
|
19
|
+
replaceButton: ButtonComponent;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
value: string;
|
|
22
|
+
height: number;
|
|
23
|
+
autoSaveOnIdle: boolean;
|
|
24
|
+
target: string;
|
|
25
|
+
toolbarClick: EventEmitter<any>;
|
|
26
|
+
change: EventEmitter<any>;
|
|
27
|
+
family: Object;
|
|
28
|
+
dialogWidth: string;
|
|
29
|
+
dialogHeight: string;
|
|
30
|
+
showZoomBtn: boolean;
|
|
31
|
+
showMsg: boolean;
|
|
32
|
+
insertImageSettings: {
|
|
33
|
+
saveFormat: string;
|
|
34
|
+
allowedTypes: string[];
|
|
35
|
+
display: string;
|
|
36
|
+
};
|
|
37
|
+
editorManager: any;
|
|
38
|
+
size: string;
|
|
39
|
+
selectedQuery: any;
|
|
40
|
+
dropValIndex: number;
|
|
41
|
+
queryList: {
|
|
42
|
+
id: string;
|
|
43
|
+
text: string;
|
|
44
|
+
}[];
|
|
45
|
+
rephraseTyleList: {
|
|
46
|
+
text: string;
|
|
47
|
+
id: string;
|
|
48
|
+
}[];
|
|
49
|
+
languageList: {
|
|
50
|
+
id: string;
|
|
51
|
+
text: string;
|
|
52
|
+
}[];
|
|
53
|
+
promptQuery: string;
|
|
54
|
+
isSentimentCheck: boolean;
|
|
55
|
+
subQuery: string;
|
|
56
|
+
translatelanguage: string;
|
|
57
|
+
chipValue: string;
|
|
58
|
+
apiResultData: any;
|
|
59
|
+
AIResult: string;
|
|
60
|
+
tools: ToolbarSettingsModel;
|
|
61
|
+
constructor(dialog: DialogService, ref: ChangeDetectorRef);
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
onContentChange(args: any): void;
|
|
64
|
+
onCreate(): void;
|
|
65
|
+
private onSelect;
|
|
66
|
+
private aiQuerySelectedMenu;
|
|
67
|
+
dialogueOpen(selectedQuery: string): void;
|
|
68
|
+
updateAISugesstionsData(selectedQuery: string): void;
|
|
69
|
+
updateAISugesstions(): void;
|
|
70
|
+
getResponseFromOpenAI(subQuery: string, promptQuery: string): Promise<string>;
|
|
71
|
+
dialogShow(): void;
|
|
72
|
+
closeDialog(): void;
|
|
73
|
+
copyTextToClipboard(text: string): void;
|
|
74
|
+
onOverlayClick(): void;
|
|
75
|
+
onQuerySelect(args: any): void;
|
|
76
|
+
onLanguageSelect(args: any): void;
|
|
77
|
+
onChipClick(args: any): void;
|
|
78
|
+
_toolbarClick(args: any): void;
|
|
79
|
+
hideToast(): void;
|
|
80
|
+
onZoom(): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RichtexteditorComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichtexteditorComponent, "rs-richtext-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "height": { "alias": "height"; "required": false; }; "autoSaveOnIdle": { "alias": "autoSaveOnIdle"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "toolbarClick": "toolbarClick"; "change": "change"; }, never, never, false, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchInputComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
placeholder: string;
|
|
6
|
+
hanleSearch: EventEmitter<any>;
|
|
7
|
+
handleInput: EventEmitter<any>;
|
|
8
|
+
private debouncedInput;
|
|
9
|
+
searchValue: string;
|
|
10
|
+
translation: any;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
getInfo(): void;
|
|
13
|
+
onInput(e: any): void;
|
|
14
|
+
onSeach(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "rs-search-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "hanleSearch": "hanleSearch"; "handleInput": "handleInput"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, ComponentRef, ElementRef } from "@angular/core";
|
|
2
|
-
import { BehaviorSubject } from "rxjs";
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef, ElementRef, ChangeDetectorRef } from "@angular/core";
|
|
3
2
|
import { DrawerConfig, DrawerService } from "../../service/drawer.service";
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
type DrawerComponentCache = {
|
|
@@ -12,6 +11,7 @@ type DrawerComponentCache = {
|
|
|
12
11
|
export declare class DrawerComponent {
|
|
13
12
|
private resolver;
|
|
14
13
|
private service;
|
|
14
|
+
private ref;
|
|
15
15
|
element: ElementRef<HTMLDivElement>;
|
|
16
16
|
drawer: ElementRef<HTMLDivElement>;
|
|
17
17
|
header: ElementRef<HTMLDivElement>;
|
|
@@ -21,24 +21,25 @@ export declare class DrawerComponent {
|
|
|
21
21
|
topSlot: ElementRef<HTMLDivElement>;
|
|
22
22
|
private container;
|
|
23
23
|
config: DrawerConfig;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
useAnimation: "yes" | "no";
|
|
25
|
+
isOpened: boolean;
|
|
26
26
|
hiddenDrawer: boolean;
|
|
27
27
|
private componentRefMap;
|
|
28
|
-
constructor(resolver: ComponentFactoryResolver, service: DrawerService);
|
|
28
|
+
constructor(resolver: ComponentFactoryResolver, service: DrawerService, ref: ChangeDetectorRef);
|
|
29
29
|
private createDynamicComponent;
|
|
30
30
|
private destroyDynamicComponent;
|
|
31
31
|
private setComponentData;
|
|
32
32
|
private getSlotElement;
|
|
33
33
|
private setSlotElement;
|
|
34
34
|
setCache(cache: DrawerComponentCache): void;
|
|
35
|
+
setConfig(config: Partial<DrawerConfig>): void;
|
|
35
36
|
show<T>(component: new (...args: any[]) => T, config: DrawerConfig, data: Record<string, any>): T;
|
|
36
37
|
hide(): void;
|
|
37
38
|
back(): void;
|
|
38
39
|
deleteCache(cacheKey: string): void;
|
|
39
40
|
onRouteChange(): void;
|
|
40
|
-
toggleOpenStatus(isOpen: boolean,
|
|
41
|
-
|
|
41
|
+
toggleOpenStatus(isOpen: boolean, useAnimation?: boolean): void;
|
|
42
|
+
onAnimationEnd(): void;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>;
|
|
43
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "rs-drawer", never, {}, {}, never, ["*"], false, never>;
|
|
44
45
|
}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { AfterContentInit, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { SearchInputComponent } from "../../form/search-input/index.component";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class GridBoxComponent implements OnInit, AfterContentInit {
|
|
4
5
|
gridContent: any;
|
|
5
6
|
orignGrid: any;
|
|
6
7
|
treeGrid: any;
|
|
7
8
|
wholeToolbarSlot: any;
|
|
9
|
+
searchInput: SearchInputComponent;
|
|
8
10
|
hideSearch: boolean;
|
|
9
11
|
isInner: boolean;
|
|
10
|
-
|
|
12
|
+
onGridSearch: EventEmitter<any>;
|
|
11
13
|
hasWholeToolbarSlot: boolean;
|
|
14
|
+
translation: any;
|
|
12
15
|
ngOnInit(): void;
|
|
16
|
+
getInfo(): void;
|
|
13
17
|
ngAfterContentInit(): void;
|
|
14
|
-
|
|
15
|
-
onSeach(): void;
|
|
16
|
-
onInput(): void;
|
|
18
|
+
setSearchValue(value: any): void;
|
|
19
|
+
onSeach(value: any): void;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridBoxComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridBoxComponent, "rs-grid-box", never, { "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, {}, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridBoxComponent, "rs-grid-box", never, { "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, { "onGridSearch": "onGridSearch"; }, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
|
|
19
22
|
}
|
|
@@ -4,6 +4,7 @@ import { RouteReuseStrategy } from "@angular/router";
|
|
|
4
4
|
import { CommonFunctionService } from "../../service/common-function.service";
|
|
5
5
|
import { DrawerService } from "../../service/drawer.service";
|
|
6
6
|
import { KeepAliveService } from "../../service/keep-alive.service";
|
|
7
|
+
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
9
10
|
router: Router;
|
|
@@ -16,7 +17,10 @@ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
16
17
|
keepAlive: KeepAliveService;
|
|
17
18
|
singleReuseUrls: string[];
|
|
18
19
|
noGenerateTabUrls: string[];
|
|
20
|
+
flattenMenu: any[];
|
|
21
|
+
defaultTabUrl: string;
|
|
19
22
|
onRefreshTab: EventEmitter<any>;
|
|
23
|
+
onCloseTab: EventEmitter<any>;
|
|
20
24
|
private subscriptions;
|
|
21
25
|
TAB_WIDTH: number;
|
|
22
26
|
GAP_NORMAL: number;
|
|
@@ -28,11 +32,12 @@ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
28
32
|
selectedTab: number;
|
|
29
33
|
maxTabs: number;
|
|
30
34
|
screenWidth: number;
|
|
35
|
+
translation: any;
|
|
31
36
|
onResize(event: any): void;
|
|
32
37
|
ngOnInit(): void;
|
|
33
38
|
ngAfterViewInit(): void;
|
|
34
39
|
ngOnDestroy(): void;
|
|
35
|
-
setEllipsisTitle(
|
|
40
|
+
setEllipsisTitle(): void;
|
|
36
41
|
calcTabWidth(): {
|
|
37
42
|
allWidth: any;
|
|
38
43
|
leftWidth: any;
|
|
@@ -42,12 +47,13 @@ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
42
47
|
closeTab(idx: any, noChange?: any): void;
|
|
43
48
|
changeTab(tab: any, idx: any): void;
|
|
44
49
|
addTab(url: any, title: any): void;
|
|
45
|
-
setTab(url: any, pureUrl: any, title: any
|
|
50
|
+
setTab(url: any, pureUrl: any, title: any): void;
|
|
51
|
+
onTabDrop(event: CdkDragDrop<string[]>): void;
|
|
46
52
|
timer: any;
|
|
47
53
|
refreshTab(): void;
|
|
48
54
|
clearCache(url: any): void;
|
|
49
55
|
cleanAllCache(): void;
|
|
50
56
|
private urlWithoutQuery;
|
|
51
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTabComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTabComponent, "rs-multi-tab", never, { "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; "noGenerateTabUrls": { "alias": "noGenerateTabUrls"; "required": false; }; }, { "onRefreshTab": "onRefreshTab"; }, never, never, false, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTabComponent, "rs-multi-tab", never, { "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; "noGenerateTabUrls": { "alias": "noGenerateTabUrls"; "required": false; }; "flattenMenu": { "alias": "flattenMenu"; "required": false; }; "defaultTabUrl": { "alias": "defaultTabUrl"; "required": false; }; }, { "onRefreshTab": "onRefreshTab"; "onCloseTab": "onCloseTab"; }, never, never, false, never>;
|
|
53
59
|
}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { AfterContentInit, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { SearchInputComponent } from "../../form/search-input/index.component";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class RsPageListComponent implements OnInit, AfterContentInit {
|
|
4
5
|
gridContent: any;
|
|
5
6
|
orignGrid: any;
|
|
6
7
|
treeGrid: any;
|
|
7
8
|
wholeToolbarSlot: any;
|
|
9
|
+
searchInput: SearchInputComponent;
|
|
8
10
|
pageTitle: any;
|
|
9
11
|
customPageTitle: boolean;
|
|
10
12
|
hideSearch: boolean;
|
|
11
13
|
isInner: boolean;
|
|
12
|
-
|
|
14
|
+
onGridSearch: EventEmitter<any>;
|
|
13
15
|
hasWholeToolbarSlot: boolean;
|
|
16
|
+
translation: any;
|
|
14
17
|
ngOnInit(): void;
|
|
18
|
+
getInfo(): void;
|
|
15
19
|
ngAfterContentInit(): void;
|
|
16
|
-
|
|
17
|
-
onSeach(): void;
|
|
18
|
-
onInput(): void;
|
|
20
|
+
setSearchValue(value: any): void;
|
|
21
|
+
onSeach(value: any): void;
|
|
19
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<RsPageListComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RsPageListComponent, "rs-page-list", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "customPageTitle": { "alias": "customPageTitle"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, {}, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[titleSlot]", "[subSectionSlot]", "[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RsPageListComponent, "rs-page-list", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "customPageTitle": { "alias": "customPageTitle"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, { "onGridSearch": "onGridSearch"; }, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[titleSlot]", "[subSectionSlot]", "[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
|
|
21
24
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { Router } from "@angular/router";
|
|
3
|
+
import { CommonFunctionService } from "../../service/common-function.service";
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class RSAsideComponent implements OnInit {
|
|
5
6
|
router: Router;
|
|
6
|
-
|
|
7
|
+
cf: CommonFunctionService;
|
|
8
|
+
constructor(router: Router, cf: CommonFunctionService);
|
|
7
9
|
toggleMenu: EventEmitter<any>;
|
|
8
10
|
navClick: EventEmitter<any>;
|
|
9
11
|
isCollapsed: boolean;
|
|
@@ -6,6 +6,7 @@ export declare class RSHeaderComponent implements OnInit {
|
|
|
6
6
|
constructor(translationService: TranslationService);
|
|
7
7
|
isCollapsed: boolean;
|
|
8
8
|
lastLoginTime: Date;
|
|
9
|
+
appName: string;
|
|
9
10
|
set langOptions(options: any[]);
|
|
10
11
|
get langOptions(): any[];
|
|
11
12
|
toggleMenu: EventEmitter<any>;
|
|
@@ -17,5 +18,5 @@ export declare class RSHeaderComponent implements OnInit {
|
|
|
17
18
|
onToggleMenu(isCollapsed?: boolean): void;
|
|
18
19
|
selectLanguage(event: any): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<RSHeaderComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RSHeaderComponent, "rs-header", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "lastLoginTime": { "alias": "lastLoginTime"; "required": false; }; "langOptions": { "alias": "langOptions"; "required": false; }; }, { "toggleMenu": "toggleMenu"; "changeLanguage": "changeLanguage"; }, never, ["[breadCrumbs]", "[toolbar]", "[userInfo]"], false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSHeaderComponent, "rs-header", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "lastLoginTime": { "alias": "lastLoginTime"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "langOptions": { "alias": "langOptions"; "required": false; }; }, { "toggleMenu": "toggleMenu"; "changeLanguage": "changeLanguage"; }, never, ["[breadCrumbs]", "[toolbar]", "[userInfo]"], false, never>;
|
|
21
22
|
}
|