raise-common-lib-new 0.0.2
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 -0
- 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 +461 -0
- package/esm2022/lib/constant/index.mjs +11 -0
- package/esm2022/lib/dialog/common-delete-dialog/index.component.mjs +46 -0
- package/esm2022/lib/dialog/common-dialog/index.component.mjs +85 -0
- package/esm2022/lib/dialog/new-action-notification/new-action-notification.component.mjs +51 -0
- package/esm2022/lib/float-box/index.component.mjs +217 -0
- package/esm2022/lib/form/checkbox-group/index.component.mjs +57 -0
- 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 +42 -0
- package/esm2022/lib/form/switch-input/index.component.mjs +42 -0
- package/esm2022/lib/form/tag-input/index.component.mjs +82 -0
- 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 +67 -0
- package/esm2022/lib/layout/main-container/index.component.mjs +60 -0
- package/esm2022/lib/layout/multi-tab/index.component.mjs +263 -0
- 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 +73 -0
- package/esm2022/lib/layout/page-tab/index.component.mjs +56 -0
- package/esm2022/lib/layout/rs-aside/index.component.mjs +76 -0
- package/esm2022/lib/layout/rs-footer/index.component.mjs +16 -0
- package/esm2022/lib/layout/rs-header/index.component.mjs +56 -0
- 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 +505 -0
- package/esm2022/lib/service/common-function.service.mjs +141 -0
- package/esm2022/lib/service/dialog.service.mjs +132 -0
- package/esm2022/lib/service/drawer.service.mjs +111 -0
- package/esm2022/lib/service/icon-loader.service.mjs +23 -0
- package/esm2022/lib/service/keep-alive.service.mjs +83 -0
- package/esm2022/lib/service/translation.service.mjs +98 -0
- package/esm2022/lib/utils/decorator.mjs +14 -0
- package/esm2022/public-api.mjs +35 -0
- package/esm2022/raise-common-lib-new.mjs +5 -0
- package/fesm2022/raise-common-lib-new.mjs +20114 -0
- package/fesm2022/raise-common-lib-new.mjs.map +1 -0
- package/index.d.ts +5 -0
- 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 +122 -0
- package/lib/constant/index.d.ts +54 -0
- package/lib/dialog/common-delete-dialog/index.component.d.ts +29 -0
- package/lib/dialog/common-dialog/index.component.d.ts +29 -0
- package/lib/dialog/new-action-notification/new-action-notification.component.d.ts +33 -0
- package/lib/float-box/index.component.d.ts +33 -0
- package/lib/form/checkbox-group/index.component.d.ts +22 -0
- 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/radio-group/index.component.d.ts +19 -0
- package/lib/form/switch-input/index.component.d.ts +15 -0
- package/lib/form/tag-input/index.component.d.ts +25 -0
- 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 +19 -0
- package/lib/layout/main-container/index.component.d.ts +18 -0
- package/lib/layout/multi-tab/index.component.d.ts +52 -0
- 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 +21 -0
- package/lib/layout/page-tab/index.component.d.ts +18 -0
- package/lib/layout/rs-aside/index.component.d.ts +19 -0
- package/lib/layout/rs-footer/index.component.d.ts +8 -0
- package/lib/layout/rs-header/index.component.d.ts +21 -0
- 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 +54 -0
- package/lib/service/common-function.service.d.ts +18 -0
- package/lib/service/dialog.service.d.ts +55 -0
- package/lib/service/drawer.service.d.ts +46 -0
- package/lib/service/icon-loader.service.d.ts +11 -0
- package/lib/service/keep-alive.service.d.ts +15 -0
- package/lib/service/translation.service.d.ts +12 -0
- package/lib/utils/decorator.d.ts +1 -0
- package/package.json +25 -0
- package/public-api.d.ts +31 -0
- package/src/assets/img/arrow_right.svg +4 -0
- package/src/assets/img/calendar-disabled.svg +6 -0
- package/src/assets/img/calendar.svg +6 -0
- package/src/assets/img/calendar_arrow_left.svg +3 -0
- package/src/assets/img/calendar_arrow_right.svg +3 -0
- package/src/assets/img/checked-vector.svg +3 -0
- package/src/assets/img/close-url.svg +10 -0
- package/src/assets/img/close.svg +10 -0
- package/src/assets/img/comment-cancel.svg +4 -0
- package/src/assets/img/comment-check.svg +5 -0
- package/src/assets/img/delete.svg +14 -0
- package/src/assets/img/desktop-refresh-btn.svg +6 -0
- package/src/assets/img/down-arrow.svg +3 -0
- package/src/assets/img/drawer-back.svg +4 -0
- package/src/assets/img/dropdown-arrow-disabled.svg +3 -0
- package/src/assets/img/dropdown-arrow.svg +3 -0
- package/src/assets/img/export.svg +5 -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/icon-more-active.svg +7 -0
- package/src/assets/img/icon-more.svg +7 -0
- package/src/assets/img/more.svg +5 -0
- package/src/assets/img/notification-close.svg +4 -0
- package/src/assets/img/notification-collapse.svg +14 -0
- package/src/assets/img/notification-status-error.svg +5 -0
- package/src/assets/img/notification-status-loading.svg +9 -0
- package/src/assets/img/notification-status-success.svg +4 -0
- package/src/assets/img/notification-status-warning.svg +5 -0
- package/src/assets/img/plus.svg +4 -0
- package/src/assets/img/raise_loading.gif +0 -0
- package/src/assets/img/raise_logo_main.svg +13 -0
- package/src/assets/img/search.svg +4 -0
- package/src/assets/img/split-button-arrow.svg +3 -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/tag-remove.svg +4 -0
- package/src/assets/img/toggle-menu-icon.svg +3 -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 +187 -0
- package/src/assets/style/reset/checkbox.scss +33 -0
- package/src/assets/style/reset/dropdown.scss +564 -0
- package/src/assets/style/reset/grid.scss +845 -0
- package/src/assets/style/reset/input.scss +97 -0
- package/src/assets/style/reset/mat-dialog.scss +7 -0
- package/src/assets/style/reset/radio.scss +37 -0
- package/src/assets/style/reset/switch.scss +32 -0
- package/src/assets/style/style.scss +63 -0
- package/src/assets/style/syncfusion.min.css +1 -0
- package/src/assets/style/variables.scss +60 -0
package/index.d.ts
ADDED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
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
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CommonGridComponent implements OnInit, OnChanges {
|
|
7
|
+
private ref;
|
|
8
|
+
grid: GridComponent;
|
|
9
|
+
showCheckBox: boolean;
|
|
10
|
+
loaded: boolean;
|
|
11
|
+
hiddenLoaded: boolean;
|
|
12
|
+
authorized: boolean;
|
|
13
|
+
selectedDiffKey: string;
|
|
14
|
+
gridHeight: string;
|
|
15
|
+
gridId: string;
|
|
16
|
+
resizeSettings: {
|
|
17
|
+
mode: string;
|
|
18
|
+
};
|
|
19
|
+
filterSettings: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
template: any;
|
|
23
|
+
fields: IColumnField[];
|
|
24
|
+
dataSource: any[];
|
|
25
|
+
editSettings: any;
|
|
26
|
+
columnTemplate: TemplateRef<any>;
|
|
27
|
+
pageSettings: any;
|
|
28
|
+
allowPaging: boolean;
|
|
29
|
+
clipMode: string;
|
|
30
|
+
checkBoxWidth: number;
|
|
31
|
+
childGrid: any;
|
|
32
|
+
frozenColumns: any;
|
|
33
|
+
columnChooserSettings: any;
|
|
34
|
+
/**
|
|
35
|
+
* Sample: [
|
|
36
|
+
{
|
|
37
|
+
text: "Preview",
|
|
38
|
+
target: ".e-content",
|
|
39
|
+
id: "preview-icon",
|
|
40
|
+
iconCss: "preview",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
text: "Download",
|
|
44
|
+
target: ".e-content",
|
|
45
|
+
id: "download-icon",
|
|
46
|
+
iconCss: "download",
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
用于定义row中 点击事件
|
|
50
|
+
*/
|
|
51
|
+
contextMenuItems: IActionMenuItem[];
|
|
52
|
+
selectionSettings: {
|
|
53
|
+
type: string;
|
|
54
|
+
checkboxOnly: boolean;
|
|
55
|
+
};
|
|
56
|
+
alwaysShowCheckbox: boolean;
|
|
57
|
+
defaultRecord: any;
|
|
58
|
+
disableSystemRow: boolean;
|
|
59
|
+
recordDoubleClick: EventEmitter<any>;
|
|
60
|
+
actionComplete: EventEmitter<any>;
|
|
61
|
+
rowSelected: EventEmitter<any>;
|
|
62
|
+
rowDeselected: EventEmitter<any>;
|
|
63
|
+
onContextMenu: EventEmitter<any>;
|
|
64
|
+
actionHandler: EventEmitter<any>;
|
|
65
|
+
queryCellInfo: EventEmitter<any>;
|
|
66
|
+
recordClick: EventEmitter<any>;
|
|
67
|
+
actionBegin: EventEmitter<any>;
|
|
68
|
+
rowDataBound: EventEmitter<any>;
|
|
69
|
+
dataBound: EventEmitter<any>;
|
|
70
|
+
exportQueryCellInfo: EventEmitter<any>;
|
|
71
|
+
rowSelecting: EventEmitter<any>;
|
|
72
|
+
selectId: any[];
|
|
73
|
+
startPaging: boolean;
|
|
74
|
+
indexList: any[];
|
|
75
|
+
className: string;
|
|
76
|
+
translation: any;
|
|
77
|
+
constructor(ref: ChangeDetectorRef);
|
|
78
|
+
ngOnInit(): void;
|
|
79
|
+
trackByFn(index: any, item: any): any;
|
|
80
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
81
|
+
_load(): void;
|
|
82
|
+
_dataBound(args: any): void;
|
|
83
|
+
_exportQueryCellInfo(args: any): void;
|
|
84
|
+
_recordDoubleClick($event: any): void;
|
|
85
|
+
/**
|
|
86
|
+
* [selectionSettings]="{ checkboxOnly: true }"
|
|
87
|
+
[showCheckBox]="true"
|
|
88
|
+
控件使用时,必须配置上面两个属性,否则,全选会失效
|
|
89
|
+
*/
|
|
90
|
+
_rowSelected($event: any): void;
|
|
91
|
+
_rowDeselected($event: any): void;
|
|
92
|
+
_onContextMenu(args: any): void;
|
|
93
|
+
_actionBegin(args: any): void;
|
|
94
|
+
search(keywords: any): void;
|
|
95
|
+
selectRows(indexList: number[]): void;
|
|
96
|
+
selectRow(index: any): void;
|
|
97
|
+
getCurrentViewRecords(): Object[];
|
|
98
|
+
customiseCell($event: any): void;
|
|
99
|
+
contextMenuOpen(args?: BeforeOpenCloseEventArgs): void;
|
|
100
|
+
_actionHandler($event: any): void;
|
|
101
|
+
private chooseRecords;
|
|
102
|
+
_recordClick($event: any): void;
|
|
103
|
+
refresh(): void;
|
|
104
|
+
_rowSelecting(e: any): void;
|
|
105
|
+
refreshColumns(): void;
|
|
106
|
+
refreshHeader(): void;
|
|
107
|
+
export(excelExportProperties?: any): void;
|
|
108
|
+
getSelectedRecords(): Object[];
|
|
109
|
+
_rowDataBound($event: any): void;
|
|
110
|
+
clearSelection(): void;
|
|
111
|
+
excelExport(): void;
|
|
112
|
+
addItem(): void;
|
|
113
|
+
saveItem(): void;
|
|
114
|
+
editItem(index: any): void;
|
|
115
|
+
deleteItem(index: any): void;
|
|
116
|
+
cancelItem(index: any): void;
|
|
117
|
+
initList: (num?: number, key?: string) => any[];
|
|
118
|
+
showLoading(): void;
|
|
119
|
+
hideLoading(): void;
|
|
120
|
+
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>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ContextMenuItemModel } from "@syncfusion/ej2-angular-grids";
|
|
2
|
+
export interface IColumnField {
|
|
3
|
+
columnName: string;
|
|
4
|
+
columnDisplayName: string;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* sample: { class: 'hideColumnFilterClass' }
|
|
8
|
+
* 可以考虑在部分情况下给column增加class等attribute
|
|
9
|
+
*/
|
|
10
|
+
customAttributes?: string;
|
|
11
|
+
textAlign?: "Left" | "Right" | "Center";
|
|
12
|
+
width?: number;
|
|
13
|
+
dataType?: string;
|
|
14
|
+
format?: string;
|
|
15
|
+
translationCode?: string;
|
|
16
|
+
showColumnMenu?: boolean;
|
|
17
|
+
showTemplate?: boolean;
|
|
18
|
+
allowFiltering?: boolean;
|
|
19
|
+
allowSorting?: boolean;
|
|
20
|
+
allowEditing?: boolean;
|
|
21
|
+
minWidth?: number | string;
|
|
22
|
+
editType?: string;
|
|
23
|
+
dropdownParams?: any;
|
|
24
|
+
dateComparer?: any;
|
|
25
|
+
sortComparer?: any;
|
|
26
|
+
clipMode?: string;
|
|
27
|
+
filter?: any;
|
|
28
|
+
colName?: string;
|
|
29
|
+
validationRules?: any;
|
|
30
|
+
}
|
|
31
|
+
export interface IActionMenuItem extends ContextMenuItemModel {
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
isHide?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export declare enum ButtonColorType {
|
|
36
|
+
PRIMARY = "primary",
|
|
37
|
+
CANCEL = "cancel"
|
|
38
|
+
}
|
|
39
|
+
declare enum IconPosition {
|
|
40
|
+
FRONT = "front",
|
|
41
|
+
BEHIND = "behind"
|
|
42
|
+
}
|
|
43
|
+
export interface BaseButton {
|
|
44
|
+
label: string;
|
|
45
|
+
type?: ButtonColorType;
|
|
46
|
+
icon?: string;
|
|
47
|
+
iconPosition?: IconPosition;
|
|
48
|
+
callMethod?: string;
|
|
49
|
+
translationCode?: string;
|
|
50
|
+
value?: any;
|
|
51
|
+
}
|
|
52
|
+
export interface DrawerButton extends BaseButton {
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface DialogConfig {
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
saveBtnLabel?: string;
|
|
8
|
+
cancelBtnLabel?: string;
|
|
9
|
+
showErrorIcon?: boolean;
|
|
10
|
+
hideCloseIcon?: boolean;
|
|
11
|
+
size?: string;
|
|
12
|
+
hideSaveBtn?: boolean;
|
|
13
|
+
hideCloseBtn?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class CommonDeleteComponent implements OnInit {
|
|
16
|
+
data: DialogConfig;
|
|
17
|
+
dialogRef: MatDialogRef<CommonDeleteComponent>;
|
|
18
|
+
translation: any;
|
|
19
|
+
title: string;
|
|
20
|
+
saveBtnLabel: string;
|
|
21
|
+
cancelBtnLabel: string;
|
|
22
|
+
description: string;
|
|
23
|
+
size: string;
|
|
24
|
+
constructor(data: DialogConfig, dialogRef: MatDialogRef<CommonDeleteComponent>);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
onSave(e: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDeleteComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDeleteComponent, "kt-common-delete-dialog", never, {}, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CommonDialogComponent implements OnInit {
|
|
5
|
+
dialogRef: MatDialogRef<CommonDialogComponent>;
|
|
6
|
+
translation: any;
|
|
7
|
+
hideHeader: boolean;
|
|
8
|
+
hideCloseIcon: boolean;
|
|
9
|
+
hideCloseBtn: boolean;
|
|
10
|
+
hideSaveBtn: boolean;
|
|
11
|
+
saveBtnLabel: string;
|
|
12
|
+
cancelBtnLabel: string;
|
|
13
|
+
showErrorIcon: boolean;
|
|
14
|
+
size: string;
|
|
15
|
+
title: string;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
saveEmit: EventEmitter<Function>;
|
|
18
|
+
closeEmit: EventEmitter<Function>;
|
|
19
|
+
constructor(dialogRef: MatDialogRef<CommonDialogComponent>);
|
|
20
|
+
footerContent: any;
|
|
21
|
+
customFooter: boolean;
|
|
22
|
+
ngAfterContentInit(): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onClose(res?: any): void;
|
|
25
|
+
onSave(): void;
|
|
26
|
+
private getInfo;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "kt-common-dialog", never, { "hideHeader": { "alias": "hideHeader"; "required": false; }; "hideCloseIcon": { "alias": "hideCloseIcon"; "required": false; }; "hideCloseBtn": { "alias": "hideCloseBtn"; "required": false; }; "hideSaveBtn": { "alias": "hideSaveBtn"; "required": false; }; "saveBtnLabel": { "alias": "saveBtnLabel"; "required": false; }; "cancelBtnLabel": { "alias": "cancelBtnLabel"; "required": false; }; "showErrorIcon": { "alias": "showErrorIcon"; "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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { MatSnackBar } from "@angular/material/snack-bar";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type LoadingProgress = {
|
|
5
|
+
done: boolean;
|
|
6
|
+
percent?: number;
|
|
7
|
+
};
|
|
8
|
+
export interface NotificationConfig {
|
|
9
|
+
message: string;
|
|
10
|
+
snackBar: MatSnackBar;
|
|
11
|
+
loadingCallback: (callback: (progress: LoadingProgress) => void) => void;
|
|
12
|
+
status?: "Success" | "Warning" | "Error";
|
|
13
|
+
type?: "Text" | "Detail" | "Loading" | "Progress";
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class NewActionNotificationComponent implements AfterViewInit {
|
|
17
|
+
data: NotificationConfig;
|
|
18
|
+
collapsed: boolean;
|
|
19
|
+
constructor(data: NotificationConfig);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
closeNotification(): void;
|
|
22
|
+
expandNotification(): void;
|
|
23
|
+
get config(): {
|
|
24
|
+
message: string;
|
|
25
|
+
snackBar: MatSnackBar;
|
|
26
|
+
loadingCallback: (callback: (progress: LoadingProgress) => void) => void;
|
|
27
|
+
status: string;
|
|
28
|
+
type: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
};
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewActionNotificationComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewActionNotificationComponent, "kt-new-action-notification", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FloatBoxComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
private ref;
|
|
5
|
+
_placement: "top" | "left" | "right" | "bottom";
|
|
6
|
+
_position: "start" | "center" | "end";
|
|
7
|
+
_trigger: "hover" | "click";
|
|
8
|
+
_animation: "yes" | "no";
|
|
9
|
+
_fixed: "yes" | "no";
|
|
10
|
+
get placement(): "top" | "bottom" | "right" | "left";
|
|
11
|
+
get position(): "center" | "start" | "end";
|
|
12
|
+
get trigger(): "click" | "hover";
|
|
13
|
+
get animation(): "yes" | "no";
|
|
14
|
+
get fixed(): "yes" | "no";
|
|
15
|
+
openChange: EventEmitter<boolean>;
|
|
16
|
+
rootElement: ElementRef<HTMLDivElement>;
|
|
17
|
+
contentElement: ElementRef<HTMLDivElement>;
|
|
18
|
+
constructor(ref: ChangeDetectorRef);
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
FIXED_CONTAINER_ID: string;
|
|
22
|
+
fixedContainerEl: HTMLElement;
|
|
23
|
+
getFixedContainer(): HTMLElement;
|
|
24
|
+
setFixedContentPosition(): void;
|
|
25
|
+
opened: "yes" | "no";
|
|
26
|
+
onClickContainer(): void;
|
|
27
|
+
onClickOutside: (event: MouseEvent) => void;
|
|
28
|
+
onMouseEnter(): void;
|
|
29
|
+
onMoveOutside: (event: MouseEvent) => void;
|
|
30
|
+
close(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloatBoxComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatBoxComponent, "rs-float-box", never, { "_placement": { "alias": "placement"; "required": false; }; "_position": { "alias": "position"; "required": false; }; "_trigger": { "alias": "trigger"; "required": false; }; "_animation": { "alias": "animation"; "required": false; }; "_fixed": { "alias": "fixed"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*", "[float-content]"], false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CheckboxGroupComponent implements OnInit {
|
|
4
|
+
private ref;
|
|
5
|
+
constructor(ref: ChangeDetectorRef);
|
|
6
|
+
name: any;
|
|
7
|
+
value: any[];
|
|
8
|
+
dataSource: any[];
|
|
9
|
+
orientation: "horizontal" | "vertical";
|
|
10
|
+
fields: {
|
|
11
|
+
text: string;
|
|
12
|
+
value: string;
|
|
13
|
+
disabled: string;
|
|
14
|
+
};
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
error: boolean;
|
|
17
|
+
valueChange: EventEmitter<any>;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
onChange(event: any, option: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "rs-checkbox-group", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RadioGroupComponent implements OnInit {
|
|
4
|
+
value: any;
|
|
5
|
+
dataSource: any[];
|
|
6
|
+
orientation: 'horizontal' | 'vertical';
|
|
7
|
+
fields: {
|
|
8
|
+
text: string;
|
|
9
|
+
value: string;
|
|
10
|
+
disabled: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
error: boolean;
|
|
14
|
+
valueChange: EventEmitter<any>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onChange(event: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "rs-radio-group", never, { "value": { "alias": "value"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SwitchInputComponent implements OnInit {
|
|
4
|
+
value: any;
|
|
5
|
+
text: any;
|
|
6
|
+
orientation: 'front' | 'behind';
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
error: boolean;
|
|
9
|
+
valueChange: EventEmitter<any>;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onChange(event: any): void;
|
|
12
|
+
onClick(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchInputComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchInputComponent, "rs-switch-input", never, { "value": { "alias": "value"; "required": false; }; "text": { "alias": "text"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TagInputComponent implements OnInit {
|
|
4
|
+
value: any[];
|
|
5
|
+
fields: any;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
error: boolean;
|
|
8
|
+
minlength: number;
|
|
9
|
+
maxlength: number;
|
|
10
|
+
get inputMinlength(): number;
|
|
11
|
+
get inputMaxlength(): number;
|
|
12
|
+
valueChange: EventEmitter<any>;
|
|
13
|
+
focus: EventEmitter<any>;
|
|
14
|
+
blur: EventEmitter<any>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onRemoveTag(tag: any): void;
|
|
17
|
+
onAddTag(event: any): void;
|
|
18
|
+
inputError: boolean;
|
|
19
|
+
verifyInputValue(inputValue: any): boolean;
|
|
20
|
+
onInput(): void;
|
|
21
|
+
onFocus(): void;
|
|
22
|
+
onBlur(event: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagInputComponent, never>;
|
|
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>;
|
|
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
|
+
}
|