raise-common-lib-new 0.0.20 → 0.0.22
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/assets/language/fr.d.ts +3377 -0
- package/assets/language/ja.d.ts +3351 -0
- package/assets/language/ko.d.ts +3351 -0
- package/assets/language/zh-CN.d.ts +3064 -0
- package/assets/language/zh-TW.d.ts +3354 -0
- package/esm2022/assets/language/fr.mjs +3378 -0
- package/esm2022/assets/language/ja.mjs +3352 -0
- package/esm2022/assets/language/ko.mjs +3352 -0
- package/esm2022/assets/language/zh-CN.mjs +3065 -0
- package/esm2022/assets/language/zh-TW.mjs +3355 -0
- package/esm2022/lib/commentary/constants.mjs +2 -0
- package/esm2022/lib/commentary/index.component.mjs +146 -0
- package/esm2022/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.mjs +44 -0
- package/esm2022/lib/common-grid/grid-action/grid-action.component.mjs +18 -0
- package/esm2022/lib/common-grid/index.component.mjs +52 -30
- package/esm2022/lib/dialog/common-delete-dialog/index.component.mjs +2 -2
- package/esm2022/lib/dialog/common-dialog/index.component.mjs +4 -4
- package/esm2022/lib/form/checkbox-group/index.component.mjs +2 -2
- package/esm2022/lib/form/drawer-form/constants.mjs +10 -0
- package/esm2022/lib/form/drawer-form/drawer-form.component.mjs +336 -0
- package/esm2022/lib/form/encrypted-input/index.component.mjs +35 -0
- package/esm2022/lib/form/radio-group/index.component.mjs +2 -2
- package/esm2022/lib/form/switch-input/index.component.mjs +2 -2
- package/esm2022/lib/form/tag-input/index.component.mjs +31 -11
- package/esm2022/lib/form/toolbar-item/index.component.mjs +56 -0
- package/esm2022/lib/layout/drawer/index.component.mjs +165 -0
- package/esm2022/lib/layout/grid-box/index.component.mjs +37 -12
- package/esm2022/lib/layout/main-container/index.component.mjs +47 -9
- package/esm2022/lib/layout/multi-tab/index.component.mjs +137 -30
- package/esm2022/lib/layout/nav-card-group/constants.mjs +2 -0
- package/esm2022/lib/layout/nav-card-group/index.component.mjs +37 -0
- package/esm2022/lib/layout/page-list/index.component.mjs +38 -8
- package/esm2022/lib/layout/page-tab/index.component.mjs +25 -6
- package/esm2022/lib/layout/rs-aside/index.component.mjs +54 -9
- package/esm2022/lib/layout/rs-footer/index.component.mjs +2 -2
- package/esm2022/lib/layout/rs-header/index.component.mjs +38 -29
- package/esm2022/lib/layout/toolbar/constants.mjs +2 -0
- package/esm2022/lib/layout/toolbar/index.component.mjs +79 -0
- package/esm2022/lib/raise-common-lib.module.mjs +76 -7
- package/esm2022/lib/service/common-function.service.mjs +87 -1
- package/esm2022/lib/service/dialog.service.mjs +5 -5
- package/esm2022/lib/service/drawer.service.mjs +111 -0
- package/esm2022/lib/service/keep-alive.service.mjs +51 -12
- package/esm2022/lib/service/translation.service.mjs +98 -0
- package/esm2022/lib/utils/decorator.mjs +14 -0
- package/esm2022/public-api.mjs +35 -20
- package/fesm2022/raise-common-lib-new.mjs +18751 -676
- package/fesm2022/raise-common-lib-new.mjs.map +1 -1
- package/lib/commentary/constants.d.ts +15 -0
- package/lib/commentary/index.component.d.ts +38 -0
- package/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.d.ts +10 -0
- package/lib/common-grid/grid-action/grid-action.component.d.ts +14 -0
- package/lib/common-grid/index.component.d.ts +8 -5
- package/lib/form/drawer-form/constants.d.ts +34 -0
- package/lib/form/drawer-form/drawer-form.component.d.ts +67 -0
- package/lib/form/encrypted-input/index.component.d.ts +14 -0
- package/lib/form/tag-input/index.component.d.ts +9 -3
- package/lib/form/toolbar-item/index.component.d.ts +17 -0
- package/lib/layout/drawer/index.component.d.ts +45 -0
- package/lib/layout/grid-box/index.component.d.ts +9 -5
- package/lib/layout/main-container/index.component.d.ts +10 -1
- package/lib/layout/multi-tab/index.component.d.ts +19 -6
- package/lib/layout/nav-card-group/constants.d.ts +14 -0
- package/lib/layout/nav-card-group/index.component.d.ts +16 -0
- package/lib/layout/page-list/index.component.d.ts +9 -3
- package/lib/layout/page-tab/index.component.d.ts +6 -2
- package/lib/layout/rs-aside/index.component.d.ts +8 -3
- package/lib/layout/rs-header/index.component.d.ts +12 -12
- package/lib/layout/toolbar/constants.d.ts +8 -0
- package/lib/layout/toolbar/index.component.d.ts +22 -0
- package/lib/raise-common-lib.module.d.ts +48 -37
- package/lib/service/common-function.service.d.ts +9 -0
- package/lib/service/drawer.service.d.ts +46 -0
- package/lib/service/keep-alive.service.d.ts +4 -0
- package/lib/service/translation.service.d.ts +12 -0
- package/lib/utils/decorator.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +34 -19
- package/src/assets/img/comment-cancel.svg +4 -0
- package/src/assets/img/comment-check.svg +5 -0
- package/src/assets/img/down-arrow.svg +3 -0
- package/src/assets/img/drawer-back.svg +4 -0
- package/src/assets/img/eye-close.svg +4 -0
- package/src/assets/img/eye-open.svg +4 -0
- package/src/assets/img/grid-action-copy.svg +6 -0
- package/src/assets/img/grid-action-delete.svg +14 -0
- package/src/assets/img/grid-action-detail.svg +7 -0
- package/src/assets/img/grid-action-download.svg +7 -0
- package/src/assets/img/grid-action-edit.svg +4 -0
- package/src/assets/img/grid-action-export.svg +12 -0
- package/src/assets/img/grid-action-move.svg +8 -0
- package/src/assets/img/grid-action-note.svg +10 -0
- package/src/assets/img/grid-action-send.svg +5 -0
- package/src/assets/img/grid-action-settle.svg +13 -0
- package/src/assets/img/grid-menu-arrow-right.svg +3 -0
- package/src/assets/img/grid-pager-arrow-left.svg +3 -0
- package/src/assets/img/grid-pager-arrows-left.svg +4 -0
- package/src/assets/img/more.svg +5 -0
- package/src/assets/img/table-column-menu.svg +5 -0
- package/src/assets/img/table-sort-arrow.svg +6 -0
- package/src/assets/img/toolbar-action-add.svg +4 -0
- package/src/assets/img/toolbar-action-delete.svg +14 -0
- package/src/assets/img/toolbar-action-download.svg +5 -0
- package/src/assets/img/toolbar-action-duplicate.svg +6 -0
- package/src/assets/img/toolbar-action-export.svg +5 -0
- package/src/assets/img/toolbar-action-import.svg +5 -0
- package/src/assets/img/toolbar-action-refresh.svg +14 -0
- package/src/assets/img/toolbar-action-upload.svg +5 -0
- package/src/assets/img/tooltip-icon.svg +4 -0
- package/src/assets/language/fr.ts +3603 -0
- package/src/assets/language/ja.ts +3501 -0
- package/src/assets/language/ko.ts +3478 -0
- package/src/assets/language/zh-CN.ts +3115 -0
- package/src/assets/language/zh-TW.ts +3411 -0
- package/src/assets/style/reset/button.scss +41 -8
- package/src/assets/style/reset/checkbox.scss +33 -0
- package/src/assets/style/reset/dropdown.scss +42 -10
- package/src/assets/style/reset/grid.scss +733 -132
- package/src/assets/style/reset/input.scss +45 -12
- package/src/assets/style/reset/mat-dialog.scss +6 -2
- package/src/assets/style/reset/radio.scss +37 -0
- package/src/assets/style/reset/switch.scss +32 -0
- package/src/assets/style/style.scss +6 -0
- package/src/assets/style/syncfusion.min.css +1 -1
- package/src/assets/style/variables.scss +4 -4
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface MessageItem {
|
|
2
|
+
messageId: string;
|
|
3
|
+
messageBody: string;
|
|
4
|
+
ownerName: string;
|
|
5
|
+
lastModifiedOn: any;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface MessageGroup {
|
|
9
|
+
messageId: string;
|
|
10
|
+
messageBody: string;
|
|
11
|
+
ownerName: string;
|
|
12
|
+
lastModifiedOn: any;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
commentaries: MessageItem[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { CommonFunctionService } from "../service/common-function.service";
|
|
3
|
+
import { DialogService } from "../service/dialog.service";
|
|
4
|
+
import { MessageGroup } from "./constants";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RsCommentaryComponent implements OnInit {
|
|
7
|
+
cf: CommonFunctionService;
|
|
8
|
+
private dialog;
|
|
9
|
+
private ref;
|
|
10
|
+
constructor(cf: CommonFunctionService, dialog: DialogService, ref: ChangeDetectorRef);
|
|
11
|
+
displayName: string;
|
|
12
|
+
commentData: MessageGroup[];
|
|
13
|
+
editPermission: boolean;
|
|
14
|
+
deletePermission: boolean;
|
|
15
|
+
isReadOnly: boolean;
|
|
16
|
+
actionComplete: EventEmitter<{
|
|
17
|
+
action: "addComment" | "updateComment" | "deleteComment" | "replyComment";
|
|
18
|
+
data: any;
|
|
19
|
+
callback: (result: {
|
|
20
|
+
messageId: string;
|
|
21
|
+
}) => void;
|
|
22
|
+
}>;
|
|
23
|
+
commentVal: string;
|
|
24
|
+
replyVal: string;
|
|
25
|
+
editCommentVal: string;
|
|
26
|
+
dateTimePipeFormat: string;
|
|
27
|
+
translation: any;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
getInfo(): void;
|
|
30
|
+
addComment(): void;
|
|
31
|
+
editComment(item: any): void;
|
|
32
|
+
updateComment(item: any): Promise<void>;
|
|
33
|
+
deleteComment(item: any): void;
|
|
34
|
+
addReply(item: any): void;
|
|
35
|
+
adjustTextareaHeight(e: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RsCommentaryComponent, never>;
|
|
37
|
+
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; }; }, { "actionComplete": "actionComplete"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GridActionItemComponent {
|
|
3
|
+
image: string;
|
|
4
|
+
text: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
get hostDisabled(): boolean;
|
|
7
|
+
ImageType: string[];
|
|
8
|
+
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>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type GridActionItem = {
|
|
3
|
+
textKey: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
disabled?: (data: any) => boolean;
|
|
6
|
+
show?: (data: any) => boolean;
|
|
7
|
+
onClick: (data: any) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare class GridActionComponent {
|
|
10
|
+
translation: Record<string, string>;
|
|
11
|
+
constructor();
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridActionComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridActionComponent, "rs-grid-action", never, {}, {}, never, ["*"], false, never>;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef, OnChanges, SimpleChanges, ChangeDetectorRef } from
|
|
2
|
-
import { GridComponent } from
|
|
3
|
-
import { BeforeOpenCloseEventArgs } from
|
|
4
|
-
import { IActionMenuItem, IColumnField } from
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef, OnChanges, SimpleChanges, ChangeDetectorRef } from "@angular/core";
|
|
2
|
+
import { GridComponent } from "@syncfusion/ej2-angular-grids";
|
|
3
|
+
import { BeforeOpenCloseEventArgs } from "@syncfusion/ej2-angular-inputs";
|
|
4
|
+
import { IActionMenuItem, IColumnField } from "../constant";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
7
7
|
private ref;
|
|
@@ -29,6 +29,8 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
29
29
|
clipMode: string;
|
|
30
30
|
checkBoxWidth: number;
|
|
31
31
|
childGrid: any;
|
|
32
|
+
frozenColumns: any;
|
|
33
|
+
columnChooserSettings: any;
|
|
32
34
|
/**
|
|
33
35
|
* Sample: [
|
|
34
36
|
{
|
|
@@ -112,8 +114,9 @@ export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
|
112
114
|
editItem(index: any): void;
|
|
113
115
|
deleteItem(index: any): void;
|
|
114
116
|
cancelItem(index: any): void;
|
|
117
|
+
initList: (num?: number, key?: string) => any[];
|
|
115
118
|
showLoading(): void;
|
|
116
119
|
hideLoading(): void;
|
|
117
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonGridComponent, never>;
|
|
118
|
-
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; }; "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>;
|
|
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>;
|
|
119
122
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type FieldItem = {
|
|
2
|
+
show?: (...args: any[]) => boolean;
|
|
3
|
+
label: string;
|
|
4
|
+
formKey: string;
|
|
5
|
+
fieldFormType: "Radio" | "Checkbox" | "Switch" | "Text" | "Email" | "Textarea" | "Number" | "Tags" | "AutoComplete" | "Dropdown" | "MultiSelect" | "Datepicker" | "Custom";
|
|
6
|
+
optionKey?: string;
|
|
7
|
+
groupKey?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
disabled?: boolean | ((...args: any[]) => boolean);
|
|
10
|
+
maxlength?: number;
|
|
11
|
+
minlength?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
min?: number;
|
|
14
|
+
format?: string | false;
|
|
15
|
+
tooltip?: string;
|
|
16
|
+
validator?: (value: any, field: FieldItem) => boolean;
|
|
17
|
+
onInput?: (value: any, field: FieldItem, ...args: any[]) => void;
|
|
18
|
+
onChange?: (value: any, field: FieldItem, ...args: any[]) => void;
|
|
19
|
+
onFocus?: (field: FieldItem, ...args: any[]) => void;
|
|
20
|
+
onBlur?: (field: FieldItem, ...args: any[]) => void;
|
|
21
|
+
};
|
|
22
|
+
export type SectionItem = {
|
|
23
|
+
show?: (...args: any[]) => boolean;
|
|
24
|
+
customKey?: string;
|
|
25
|
+
title: string;
|
|
26
|
+
fields: FieldItem[];
|
|
27
|
+
};
|
|
28
|
+
export declare function filterShowSection(sections: SectionItem[]): {
|
|
29
|
+
fields: FieldItem[];
|
|
30
|
+
show?: (...args: any[]) => boolean;
|
|
31
|
+
customKey?: string;
|
|
32
|
+
title: string;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const EmailPattern: RegExp;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { DatePipe } from "@angular/common";
|
|
3
|
+
import { FilteringEventArgs } from "@syncfusion/ej2-angular-dropdowns";
|
|
4
|
+
import { FieldItem, SectionItem } from "./constants";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DrawerFormComponent implements OnInit, OnChanges, AfterViewInit {
|
|
7
|
+
private datePipe;
|
|
8
|
+
private ref;
|
|
9
|
+
sections: SectionItem[];
|
|
10
|
+
optionsMap: Record<string, any[]>;
|
|
11
|
+
customTemplate: TemplateRef<any>;
|
|
12
|
+
customSectionTemplate: Record<string, TemplateRef<any>>;
|
|
13
|
+
formDisabled: boolean;
|
|
14
|
+
showAnchor: boolean;
|
|
15
|
+
optionFields: {
|
|
16
|
+
text: string;
|
|
17
|
+
value: string;
|
|
18
|
+
disabled: string;
|
|
19
|
+
groupBy: any;
|
|
20
|
+
};
|
|
21
|
+
showFilterNumber: number;
|
|
22
|
+
form: Record<string, any>;
|
|
23
|
+
formChange: EventEmitter<Record<string, any>>;
|
|
24
|
+
fieldChange: EventEmitter<{
|
|
25
|
+
field: FieldItem;
|
|
26
|
+
value: any;
|
|
27
|
+
}>;
|
|
28
|
+
rootEl: ElementRef<HTMLDivElement>;
|
|
29
|
+
private containers;
|
|
30
|
+
private sectionContainers;
|
|
31
|
+
filterOptionsMap: Record<string, any[]>;
|
|
32
|
+
fieldValidMap: Record<string, boolean>;
|
|
33
|
+
constructor(datePipe: DatePipe, ref: ChangeDetectorRef);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
customTemplateRender(containers: QueryList<ViewContainerRef>): void;
|
|
38
|
+
customSectionRender(containers: QueryList<ViewContainerRef>): void;
|
|
39
|
+
checkFormChange(previous: Record<string, any>, current: Record<string, any>): void;
|
|
40
|
+
formatForm(sections: SectionItem[]): void;
|
|
41
|
+
updateForm(value: any, field: FieldItem): void;
|
|
42
|
+
formItemValidator(field: FieldItem, isAuto?: boolean): boolean;
|
|
43
|
+
preCheckFormIsValid(): boolean;
|
|
44
|
+
get formIsValid(): boolean;
|
|
45
|
+
getField(formKey: string): FieldItem;
|
|
46
|
+
private callFunction;
|
|
47
|
+
onInput(value: string, field: FieldItem): void;
|
|
48
|
+
onChange(value: any, field: FieldItem): void;
|
|
49
|
+
onFocus(field: FieldItem): void;
|
|
50
|
+
onBlur(field: FieldItem): void;
|
|
51
|
+
onFiltering(event: FilteringEventArgs, field: FieldItem): void;
|
|
52
|
+
getDisabled(field: FieldItem): boolean;
|
|
53
|
+
getOptionFields(field: FieldItem): {
|
|
54
|
+
text: string;
|
|
55
|
+
value: string;
|
|
56
|
+
disabled: string;
|
|
57
|
+
groupBy: any;
|
|
58
|
+
};
|
|
59
|
+
sectionEls: QueryList<ElementRef<HTMLDivElement>>;
|
|
60
|
+
scrollIndex: number;
|
|
61
|
+
isClickAnchor: boolean;
|
|
62
|
+
onClickAnchor(index: number): void;
|
|
63
|
+
findScrollViewEl(el: HTMLElement): HTMLElement;
|
|
64
|
+
initAnchorScrollHandler(): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerFormComponent, never>;
|
|
66
|
+
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EncryptedInputComponent implements OnInit {
|
|
4
|
+
value: any;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
error: boolean;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
encrypted: boolean;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onInput(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EncryptedInputComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EncryptedInputComponent, "rs-encrypted-input", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -5,15 +5,21 @@ export declare class TagInputComponent implements OnInit {
|
|
|
5
5
|
fields: any;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
error: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
minlength: number;
|
|
9
|
+
maxlength: number;
|
|
10
|
+
get inputMinlength(): number;
|
|
11
|
+
get inputMaxlength(): number;
|
|
10
12
|
valueChange: EventEmitter<any>;
|
|
13
|
+
focus: EventEmitter<any>;
|
|
14
|
+
blur: EventEmitter<any>;
|
|
11
15
|
ngOnInit(): void;
|
|
12
16
|
onRemoveTag(tag: any): void;
|
|
13
17
|
onAddTag(event: any): void;
|
|
14
18
|
inputError: boolean;
|
|
15
19
|
verifyInputValue(inputValue: any): boolean;
|
|
16
20
|
onInput(): void;
|
|
21
|
+
onFocus(): void;
|
|
22
|
+
onBlur(event: any): void;
|
|
17
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagInputComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagInputComponent, "rs-tag-input", never, { "value": { "alias": "value"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagInputComponent, "rs-tag-input", never, { "value": { "alias": "value"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "minlength": { "alias": "inputMinlength"; "required": false; }; "maxlength": { "alias": "inputMaxlength"; "required": false; }; }, { "valueChange": "valueChange"; "focus": "focus"; "blur": "blur"; }, never, never, false, never>;
|
|
19
25
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolbarItemComponent {
|
|
4
|
+
image: string;
|
|
5
|
+
text: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
children: any[];
|
|
8
|
+
disabledOptions: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
buttonElement: ElementRef;
|
|
12
|
+
get hostDisabled(): boolean;
|
|
13
|
+
getWidth(): number;
|
|
14
|
+
ImageType: string[];
|
|
15
|
+
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
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef, ElementRef } from "@angular/core";
|
|
2
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
|
+
import { DrawerConfig, DrawerService } from "../../service/drawer.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type DrawerComponentCache = {
|
|
6
|
+
ref: ComponentRef<any>;
|
|
7
|
+
config: DrawerConfig;
|
|
8
|
+
toolbarEl: HTMLElement;
|
|
9
|
+
headerEl: HTMLElement;
|
|
10
|
+
topEl: HTMLElement;
|
|
11
|
+
};
|
|
12
|
+
export declare class DrawerComponent {
|
|
13
|
+
private resolver;
|
|
14
|
+
private service;
|
|
15
|
+
element: ElementRef<HTMLDivElement>;
|
|
16
|
+
drawer: ElementRef<HTMLDivElement>;
|
|
17
|
+
header: ElementRef<HTMLDivElement>;
|
|
18
|
+
content: ElementRef<HTMLDivElement>;
|
|
19
|
+
toolbarSlot: ElementRef<HTMLDivElement>;
|
|
20
|
+
headerSlot: ElementRef<HTMLDivElement>;
|
|
21
|
+
topSlot: ElementRef<HTMLDivElement>;
|
|
22
|
+
private container;
|
|
23
|
+
config: DrawerConfig;
|
|
24
|
+
useTransition: "yes" | "no";
|
|
25
|
+
$isOpened: BehaviorSubject<boolean>;
|
|
26
|
+
hiddenDrawer: boolean;
|
|
27
|
+
private componentRefMap;
|
|
28
|
+
constructor(resolver: ComponentFactoryResolver, service: DrawerService);
|
|
29
|
+
private createDynamicComponent;
|
|
30
|
+
private destroyDynamicComponent;
|
|
31
|
+
private setComponentData;
|
|
32
|
+
private getSlotElement;
|
|
33
|
+
private setSlotElement;
|
|
34
|
+
setCache(cache: DrawerComponentCache): void;
|
|
35
|
+
show<T>(component: new (...args: any[]) => T, config: DrawerConfig, data: Record<string, any>): T;
|
|
36
|
+
hide(): void;
|
|
37
|
+
back(): void;
|
|
38
|
+
deleteCache(cacheKey: string): void;
|
|
39
|
+
onRouteChange(): void;
|
|
40
|
+
toggleOpenStatus(isOpen: boolean, useTransition?: boolean): void;
|
|
41
|
+
onTransitionEnd(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "rs-drawer", never, {}, {}, never, ["*"], false, never>;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { OnInit } from
|
|
1
|
+
import { AfterContentInit, OnInit } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GridBoxComponent implements OnInit {
|
|
3
|
+
export declare class GridBoxComponent implements OnInit, AfterContentInit {
|
|
4
4
|
gridContent: any;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
orignGrid: any;
|
|
6
|
+
treeGrid: any;
|
|
7
|
+
wholeToolbarSlot: any;
|
|
8
|
+
hideSearch: boolean;
|
|
7
9
|
isInner: boolean;
|
|
8
10
|
private debouncedInput;
|
|
11
|
+
hasWholeToolbarSlot: boolean;
|
|
9
12
|
ngOnInit(): void;
|
|
13
|
+
ngAfterContentInit(): void;
|
|
10
14
|
searchValue: any;
|
|
11
15
|
onSeach(): void;
|
|
12
16
|
onInput(): void;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridBoxComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridBoxComponent, "rs-grid-box", 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>;
|
|
15
19
|
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
+
import { DrawerComponent } from "../drawer/index.component";
|
|
3
|
+
import { DrawerService } from "../../service/drawer.service";
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class MainContainerComponent implements OnInit {
|
|
6
|
+
private globalDrawer;
|
|
7
|
+
headerRef: any;
|
|
8
|
+
drawer: DrawerComponent;
|
|
4
9
|
isCollapsed: boolean;
|
|
5
10
|
singleReuseUrls: string[];
|
|
11
|
+
constructor(globalDrawer: DrawerService);
|
|
6
12
|
ngOnInit(): void;
|
|
13
|
+
onResize(event: any): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
onRightAsideClick(): void;
|
|
7
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainContainerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainContainerComponent, "rs-main-container", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; }, {},
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainContainerComponent, "rs-main-container", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; }, {}, ["headerRef"], ["[headerSlot]", "[leftAsideSlot]", "[multiTabSlot]", "[routerSlot]"], false, never>;
|
|
9
18
|
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { ActivatedRoute, Router, RouterOutlet } from "@angular/router";
|
|
3
|
+
import { RouteReuseStrategy } from "@angular/router";
|
|
3
4
|
import { CommonFunctionService } from "../../service/common-function.service";
|
|
5
|
+
import { DrawerService } from "../../service/drawer.service";
|
|
4
6
|
import { KeepAliveService } from "../../service/keep-alive.service";
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MultiTabComponent implements OnInit {
|
|
8
|
+
export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
7
9
|
router: Router;
|
|
8
10
|
cf: CommonFunctionService;
|
|
9
11
|
activatedRoute: ActivatedRoute;
|
|
12
|
+
private ref;
|
|
13
|
+
private drawer;
|
|
14
|
+
private routeReuseStrategy;
|
|
15
|
+
constructor(router: Router, cf: CommonFunctionService, activatedRoute: ActivatedRoute, ref: ChangeDetectorRef, drawer: DrawerService, routeReuseStrategy: RouteReuseStrategy);
|
|
10
16
|
keepAlive: KeepAliveService;
|
|
11
|
-
constructor(router: Router, cf: CommonFunctionService, activatedRoute: ActivatedRoute, keepAlive: KeepAliveService);
|
|
12
17
|
singleReuseUrls: string[];
|
|
18
|
+
noGenerateTabUrls: string[];
|
|
19
|
+
onRefreshTab: EventEmitter<any>;
|
|
20
|
+
private subscriptions;
|
|
13
21
|
TAB_WIDTH: number;
|
|
14
22
|
GAP_NORMAL: number;
|
|
15
23
|
GAP_SMALL: number;
|
|
@@ -22,6 +30,8 @@ export declare class MultiTabComponent implements OnInit {
|
|
|
22
30
|
screenWidth: number;
|
|
23
31
|
onResize(event: any): void;
|
|
24
32
|
ngOnInit(): void;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
25
35
|
setEllipsisTitle(title?: any): any;
|
|
26
36
|
calcTabWidth(): {
|
|
27
37
|
allWidth: any;
|
|
@@ -29,12 +39,15 @@ export declare class MultiTabComponent implements OnInit {
|
|
|
29
39
|
rightWidth: any;
|
|
30
40
|
};
|
|
31
41
|
initTab(): void;
|
|
32
|
-
closeTab(
|
|
42
|
+
closeTab(idx: any, isExternal?: any): void;
|
|
33
43
|
changeTab(tab: any, idx: any): void;
|
|
34
44
|
addTab(url: any, title: any): void;
|
|
35
|
-
setTab(url: any, pureUrl: any, title: any): void;
|
|
45
|
+
setTab(url: any, pureUrl: any, title: any, noReused: any): void;
|
|
46
|
+
timer: any;
|
|
36
47
|
refreshTab(): void;
|
|
37
48
|
clearCache(url: any): void;
|
|
49
|
+
cleanAllCache(): void;
|
|
50
|
+
private urlWithoutQuery;
|
|
38
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTabComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTabComponent, "rs-multi-tab", never, { "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; }, {}, never, never, false, 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>;
|
|
40
53
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface NavItem {
|
|
2
|
+
title: string;
|
|
3
|
+
url: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export interface NavGroup {
|
|
7
|
+
title: string;
|
|
8
|
+
subTitle?: string;
|
|
9
|
+
img?: string;
|
|
10
|
+
desc?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
subList?: NavItem[];
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { NavGroup } from "./constants";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RSNavCardGroupComponent implements OnInit {
|
|
6
|
+
router: Router;
|
|
7
|
+
constructor(router: Router);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
navClick: EventEmitter<any>;
|
|
10
|
+
navList: NavGroup[];
|
|
11
|
+
customNavClick: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
onNavClick(item: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RSNavCardGroupComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSNavCardGroupComponent, "nav-card-group", never, { "navList": { "alias": "navList"; "required": false; }; "customNavClick": { "alias": "customNavClick"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "navClick": "navClick"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import { OnInit } from
|
|
1
|
+
import { AfterContentInit, OnInit } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RsPageListComponent implements OnInit {
|
|
3
|
+
export declare class RsPageListComponent implements OnInit, AfterContentInit {
|
|
4
4
|
gridContent: any;
|
|
5
|
+
orignGrid: any;
|
|
6
|
+
treeGrid: any;
|
|
7
|
+
wholeToolbarSlot: any;
|
|
5
8
|
pageTitle: any;
|
|
6
9
|
customPageTitle: boolean;
|
|
10
|
+
hideSearch: boolean;
|
|
7
11
|
isInner: boolean;
|
|
8
12
|
private debouncedInput;
|
|
13
|
+
hasWholeToolbarSlot: boolean;
|
|
9
14
|
ngOnInit(): void;
|
|
15
|
+
ngAfterContentInit(): void;
|
|
10
16
|
searchValue: any;
|
|
11
17
|
onSeach(): void;
|
|
12
18
|
onInput(): void;
|
|
13
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<RsPageListComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RsPageListComponent, "rs-page-list", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "customPageTitle": { "alias": "customPageTitle"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, {}, ["gridContent"], ["[titleSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, 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>;
|
|
15
21
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { TabComponent } from "@syncfusion/ej2-angular-navigations";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RsPageTabComponent implements OnInit {
|
|
4
|
+
export declare class RsPageTabComponent implements OnInit, AfterViewInit {
|
|
5
|
+
tabObj: TabComponent;
|
|
4
6
|
pageTitle: any;
|
|
5
7
|
customPageTitle: boolean;
|
|
6
8
|
tabList: any[];
|
|
@@ -8,7 +10,9 @@ export declare class RsPageTabComponent implements OnInit {
|
|
|
8
10
|
tabChange: EventEmitter<any>;
|
|
9
11
|
animation: object;
|
|
10
12
|
ngOnInit(): void;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
11
14
|
onTabClick(e: any): void;
|
|
15
|
+
changeTab(idx: number): void;
|
|
12
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RsPageTabComponent, never>;
|
|
13
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<RsPageTabComponent, "rs-page-tab", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "customPageTitle": { "alias": "customPageTitle"; "required": false; }; "tabList": { "alias": "tabList"; "required": false; }; "currentTab": { "alias": "currentTab"; "required": false; }; }, { "tabChange": "tabChange"; }, never, ["[titleSlot]", "[tabContentSlot]"], false, never>;
|
|
14
18
|
}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { Router } from "@angular/router";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class RSAsideComponent implements OnInit {
|
|
5
5
|
router: Router;
|
|
6
6
|
constructor(router: Router);
|
|
7
|
+
toggleMenu: EventEmitter<any>;
|
|
8
|
+
navClick: EventEmitter<any>;
|
|
7
9
|
isCollapsed: boolean;
|
|
10
|
+
customNavClick: boolean;
|
|
8
11
|
navList: any[];
|
|
12
|
+
relationStart: any[];
|
|
13
|
+
currentNav: string;
|
|
9
14
|
ngOnInit(): void;
|
|
10
|
-
|
|
15
|
+
initCurrentNav(): void;
|
|
11
16
|
onNavClick(item: any): void;
|
|
12
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<RSAsideComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RSAsideComponent, "rs-aside", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "navList": { "alias": "navList"; "required": false; }; }, {}, never, ["[bottomIconBox]"], false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSAsideComponent, "rs-aside", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "customNavClick": { "alias": "customNavClick"; "required": false; }; "navList": { "alias": "navList"; "required": false; }; "relationStart": { "alias": "relationStart"; "required": false; }; }, { "toggleMenu": "toggleMenu"; "navClick": "navClick"; }, never, ["[bottomIconBox]"], false, never>;
|
|
14
19
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { TranslationService } from "../../service/translation.service";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class RSHeaderComponent implements OnInit {
|
|
4
|
-
|
|
5
|
+
translationService: TranslationService;
|
|
6
|
+
constructor(translationService: TranslationService);
|
|
7
|
+
isCollapsed: boolean;
|
|
5
8
|
lastLoginTime: Date;
|
|
9
|
+
set langOptions(options: any[]);
|
|
10
|
+
get langOptions(): any[];
|
|
11
|
+
toggleMenu: EventEmitter<any>;
|
|
12
|
+
changeLanguage: EventEmitter<any>;
|
|
13
|
+
private _langOptions;
|
|
14
|
+
currentLang: any;
|
|
6
15
|
translation: any;
|
|
7
16
|
ngOnInit(): void;
|
|
8
|
-
isCollapsed:
|
|
9
|
-
onToggleMenu(): void;
|
|
10
|
-
langOptions: {
|
|
11
|
-
value: number;
|
|
12
|
-
text: string;
|
|
13
|
-
}[];
|
|
14
|
-
currentLang: {
|
|
15
|
-
value: number;
|
|
16
|
-
text: string;
|
|
17
|
-
};
|
|
17
|
+
onToggleMenu(isCollapsed?: boolean): void;
|
|
18
18
|
selectLanguage(event: any): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<RSHeaderComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RSHeaderComponent, "rs-header", never, { "lastLoginTime": { "alias": "lastLoginTime"; "required": false; }; }, { "toggleMenu": "toggleMenu"; }, never, ["[breadCrumbs]", "[toolbar]", "[userInfo]"], false, 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
21
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, QueryList } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { ToolbarButton } from "./constants";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RSToolbarComponent implements AfterViewInit {
|
|
6
|
+
router: Router;
|
|
7
|
+
private ref;
|
|
8
|
+
buttons: ToolbarButton[];
|
|
9
|
+
disabledOptions: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
toolbarContainer: ElementRef;
|
|
13
|
+
buttonElements: QueryList<ElementRef>;
|
|
14
|
+
constructor(router: Router, ref: ChangeDetectorRef);
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
visibleButtons: ToolbarButton[];
|
|
17
|
+
hiddenButtons: ToolbarButton[];
|
|
18
|
+
updateButtonVisibility(): void;
|
|
19
|
+
onWindowResize(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RSToolbarComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSToolbarComponent, "rs-toolbar", never, { "buttons": { "alias": "buttons"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|