raise-common-lib 0.0.98 → 0.0.100
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/bundles/raise-common-lib.umd.js +2490 -1980
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +2 -2
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/commentary/constants.js +38 -0
- package/esm2015/lib/commentary/index.component.js +265 -0
- package/esm2015/lib/common-grid/grid-action/grid-action.component.js +1 -1
- package/esm2015/lib/common-grid/index.component.js +2 -2
- package/esm2015/lib/constant/index.js +1 -3
- package/esm2015/lib/form/drawer-form/drawer-form.component.js +1 -1
- package/esm2015/lib/form/encrypted-input/index.component.js +58 -0
- package/esm2015/lib/raise-common-lib.module.js +8 -2
- package/esm2015/lib/service/common-function.service.js +98 -1
- package/esm2015/lib/utils/decorator.js +38 -0
- package/esm2015/public-api.js +3 -1
- package/esm2015/raise-common-lib.js +6 -5
- package/esm5/lib/commentary/constants.js +38 -0
- package/esm5/lib/commentary/index.component.js +298 -0
- package/esm5/lib/common-grid/grid-action/grid-action.component.js +1 -1
- package/esm5/lib/common-grid/index.component.js +2 -2
- package/esm5/lib/constant/index.js +1 -3
- package/esm5/lib/form/drawer-form/drawer-form.component.js +1 -1
- package/esm5/lib/form/encrypted-input/index.component.js +67 -0
- package/esm5/lib/raise-common-lib.module.js +8 -2
- package/esm5/lib/service/common-function.service.js +105 -1
- package/esm5/lib/utils/decorator.js +44 -0
- package/esm5/public-api.js +3 -1
- package/esm5/raise-common-lib.js +6 -5
- package/fesm2015/raise-common-lib.js +2853 -2398
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +2456 -1949
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/commentary/constants.d.ts +15 -0
- package/lib/commentary/index.component.d.ts +33 -0
- package/lib/constant/index.d.ts +0 -1
- package/lib/form/encrypted-input/index.component.d.ts +11 -0
- package/lib/service/common-function.service.d.ts +2 -0
- package/lib/utils/decorator.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/raise-common-lib.d.ts +4 -3
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/comment-cancel.svg +4 -0
- package/src/assets/img/comment-check.svg +5 -0
- package/src/assets/img/eye-close.svg +4 -0
- package/src/assets/img/eye-open.svg +4 -0
- package/src/assets/style/variables.scss +1 -1
|
@@ -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,33 @@
|
|
|
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
|
+
export declare class RsCommentaryComponent implements OnInit {
|
|
6
|
+
cf: CommonFunctionService;
|
|
7
|
+
private dialog;
|
|
8
|
+
private ref;
|
|
9
|
+
constructor(cf: CommonFunctionService, dialog: DialogService, ref: ChangeDetectorRef);
|
|
10
|
+
displayName: string;
|
|
11
|
+
commentData: MessageGroup[];
|
|
12
|
+
editPermission: boolean;
|
|
13
|
+
deletePermission: boolean;
|
|
14
|
+
isReadOnly: boolean;
|
|
15
|
+
actionComplete: EventEmitter<{
|
|
16
|
+
action: "addComment" | "updateComment" | "deleteComment" | "replyComment";
|
|
17
|
+
data: any;
|
|
18
|
+
callback: (result: any) => void;
|
|
19
|
+
}>;
|
|
20
|
+
commentVal: string;
|
|
21
|
+
replyVal: string;
|
|
22
|
+
editCommentVal: string;
|
|
23
|
+
dateTimePipeFormat: string;
|
|
24
|
+
translation: any;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
getInfo(): void;
|
|
27
|
+
addComment(): void;
|
|
28
|
+
editComment(item: any): void;
|
|
29
|
+
updateComment(item: any): Promise<void>;
|
|
30
|
+
deleteComment(item: any): void;
|
|
31
|
+
addReply(item: any): void;
|
|
32
|
+
adjustTextareaHeight(e: any): void;
|
|
33
|
+
}
|
package/lib/constant/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
export declare class EncryptedInputComponent implements OnInit {
|
|
3
|
+
value: any;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
error: boolean;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
valueChange: EventEmitter<any>;
|
|
8
|
+
encrypted: boolean;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onInput(event: any): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Debounce(delay?: number): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./lib/common-grid/index.component";
|
|
|
2
2
|
export * from "./lib/common-grid/grid-action/grid-action.component";
|
|
3
3
|
export * from "./lib/common-grid/grid-action/grid-action-item/grid-action-item.component";
|
|
4
4
|
export * from "./lib/float-box/index.component";
|
|
5
|
+
export * from "./lib/commentary/index.component";
|
|
5
6
|
export * from "./lib/layout/page-list/index.component";
|
|
6
7
|
export * from "./lib/layout/page-tab/index.component";
|
|
7
8
|
export * from "./lib/layout/grid-box/index.component";
|
|
@@ -15,6 +16,7 @@ export * from "./lib/form/tag-input/index.component";
|
|
|
15
16
|
export * from "./lib/form/radio-group/index.component";
|
|
16
17
|
export * from "./lib/form/checkbox-group/index.component";
|
|
17
18
|
export * from "./lib/form/switch-input/index.component";
|
|
19
|
+
export * from "./lib/form/encrypted-input/index.component";
|
|
18
20
|
export * from "./lib/form/drawer-form/drawer-form.component";
|
|
19
21
|
export * from "./lib/form/drawer-form/constants";
|
|
20
22
|
export * from "./lib/form/toolbar-item/index.component";
|
package/raise-common-lib.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
export { CommonDeleteComponent as
|
|
6
|
-
export { CommonDialogComponent as
|
|
7
|
-
export { NewActionNotificationComponent as
|
|
5
|
+
export { CommonDeleteComponent as ɵd } from './lib/dialog/common-delete-dialog/index.component';
|
|
6
|
+
export { CommonDialogComponent as ɵc } from './lib/dialog/common-dialog/index.component';
|
|
7
|
+
export { NewActionNotificationComponent as ɵb } from './lib/dialog/new-action-notification/new-action-notification.component';
|
|
8
|
+
export { Debounce as ɵa } from './lib/utils/decorator';
|