raise-common-lib-new 0.0.15 → 0.0.21

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.
Files changed (135) hide show
  1. package/assets/language/fr.d.ts +3377 -0
  2. package/assets/language/ja.d.ts +3351 -0
  3. package/assets/language/ko.d.ts +3351 -0
  4. package/assets/language/zh-CN.d.ts +3064 -0
  5. package/assets/language/zh-TW.d.ts +3354 -0
  6. package/esm2022/assets/language/fr.mjs +3378 -0
  7. package/esm2022/assets/language/ja.mjs +3352 -0
  8. package/esm2022/assets/language/ko.mjs +3352 -0
  9. package/esm2022/assets/language/zh-CN.mjs +3065 -0
  10. package/esm2022/assets/language/zh-TW.mjs +3355 -0
  11. package/esm2022/lib/commentary/constants.mjs +2 -0
  12. package/esm2022/lib/commentary/index.component.mjs +146 -0
  13. package/esm2022/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.mjs +44 -0
  14. package/esm2022/lib/common-grid/grid-action/grid-action.component.mjs +18 -0
  15. package/esm2022/lib/common-grid/index.component.mjs +52 -30
  16. package/esm2022/lib/dialog/common-delete-dialog/index.component.mjs +2 -2
  17. package/esm2022/lib/dialog/common-dialog/index.component.mjs +4 -4
  18. package/esm2022/lib/form/checkbox-group/index.component.mjs +2 -2
  19. package/esm2022/lib/form/drawer-form/constants.mjs +10 -0
  20. package/esm2022/lib/form/drawer-form/drawer-form.component.mjs +336 -0
  21. package/esm2022/lib/form/encrypted-input/index.component.mjs +35 -0
  22. package/esm2022/lib/form/radio-group/index.component.mjs +2 -2
  23. package/esm2022/lib/form/switch-input/index.component.mjs +2 -2
  24. package/esm2022/lib/form/tag-input/index.component.mjs +31 -11
  25. package/esm2022/lib/form/toolbar-item/index.component.mjs +56 -0
  26. package/esm2022/lib/layout/drawer/index.component.mjs +165 -0
  27. package/esm2022/lib/layout/grid-box/index.component.mjs +67 -0
  28. package/esm2022/lib/layout/main-container/index.component.mjs +50 -8
  29. package/esm2022/lib/layout/multi-tab/index.component.mjs +267 -0
  30. package/esm2022/lib/layout/nav-card-group/constants.mjs +2 -0
  31. package/esm2022/lib/layout/nav-card-group/index.component.mjs +37 -0
  32. package/esm2022/lib/layout/page-list/index.component.mjs +73 -0
  33. package/esm2022/lib/layout/page-tab/index.component.mjs +56 -0
  34. package/esm2022/lib/layout/rs-aside/index.component.mjs +55 -10
  35. package/esm2022/lib/layout/rs-footer/index.component.mjs +2 -2
  36. package/esm2022/lib/layout/rs-header/index.component.mjs +38 -29
  37. package/esm2022/lib/layout/toolbar/constants.mjs +2 -0
  38. package/esm2022/lib/layout/toolbar/index.component.mjs +79 -0
  39. package/esm2022/lib/raise-common-lib.module.mjs +116 -17
  40. package/esm2022/lib/service/common-function.service.mjs +125 -1
  41. package/esm2022/lib/service/dialog.service.mjs +5 -5
  42. package/esm2022/lib/service/drawer.service.mjs +111 -0
  43. package/esm2022/lib/service/icon-loader.service.mjs +12 -9
  44. package/esm2022/lib/service/keep-alive.service.mjs +83 -0
  45. package/esm2022/lib/service/translation.service.mjs +98 -0
  46. package/esm2022/lib/utils/decorator.mjs +14 -0
  47. package/esm2022/public-api.mjs +35 -16
  48. package/fesm2022/raise-common-lib-new.mjs +18952 -538
  49. package/fesm2022/raise-common-lib-new.mjs.map +1 -1
  50. package/lib/commentary/constants.d.ts +15 -0
  51. package/lib/commentary/index.component.d.ts +38 -0
  52. package/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.d.ts +10 -0
  53. package/lib/common-grid/grid-action/grid-action.component.d.ts +14 -0
  54. package/lib/common-grid/index.component.d.ts +8 -5
  55. package/lib/float-box/index.component.d.ts +2 -2
  56. package/lib/form/drawer-form/constants.d.ts +34 -0
  57. package/lib/form/drawer-form/drawer-form.component.d.ts +67 -0
  58. package/lib/form/encrypted-input/index.component.d.ts +14 -0
  59. package/lib/form/tag-input/index.component.d.ts +9 -3
  60. package/lib/form/toolbar-item/index.component.d.ts +17 -0
  61. package/lib/layout/drawer/index.component.d.ts +45 -0
  62. package/lib/layout/grid-box/index.component.d.ts +19 -0
  63. package/lib/layout/main-container/index.component.d.ts +11 -1
  64. package/lib/layout/multi-tab/index.component.d.ts +53 -0
  65. package/lib/layout/nav-card-group/constants.d.ts +14 -0
  66. package/lib/layout/nav-card-group/index.component.d.ts +16 -0
  67. package/lib/layout/page-list/index.component.d.ts +21 -0
  68. package/lib/layout/page-tab/index.component.d.ts +18 -0
  69. package/lib/layout/rs-aside/index.component.d.ts +8 -3
  70. package/lib/layout/rs-header/index.component.d.ts +12 -12
  71. package/lib/layout/toolbar/constants.d.ts +8 -0
  72. package/lib/layout/toolbar/index.component.d.ts +22 -0
  73. package/lib/raise-common-lib.module.d.ts +48 -34
  74. package/lib/service/common-function.service.d.ts +11 -0
  75. package/lib/service/drawer.service.d.ts +46 -0
  76. package/lib/service/icon-loader.service.d.ts +5 -3
  77. package/lib/service/keep-alive.service.d.ts +15 -0
  78. package/lib/service/translation.service.d.ts +12 -0
  79. package/lib/utils/decorator.d.ts +1 -0
  80. package/package.json +1 -1
  81. package/public-api.d.ts +34 -15
  82. package/src/assets/img/close-url.svg +10 -0
  83. package/src/assets/img/comment-cancel.svg +4 -0
  84. package/src/assets/img/comment-check.svg +5 -0
  85. package/src/assets/img/desktop-refresh-btn.svg +6 -0
  86. package/src/assets/img/down-arrow.svg +3 -0
  87. package/src/assets/img/drawer-back.svg +4 -0
  88. package/src/assets/img/eye-close.svg +4 -0
  89. package/src/assets/img/eye-open.svg +4 -0
  90. package/src/assets/img/grid-action-copy.svg +6 -0
  91. package/src/assets/img/grid-action-delete.svg +14 -0
  92. package/src/assets/img/grid-action-detail.svg +7 -0
  93. package/src/assets/img/grid-action-download.svg +7 -0
  94. package/src/assets/img/grid-action-edit.svg +4 -0
  95. package/src/assets/img/grid-action-export.svg +12 -0
  96. package/src/assets/img/grid-action-move.svg +8 -0
  97. package/src/assets/img/grid-action-note.svg +10 -0
  98. package/src/assets/img/grid-action-send.svg +5 -0
  99. package/src/assets/img/grid-action-settle.svg +13 -0
  100. package/src/assets/img/grid-menu-arrow-right.svg +3 -0
  101. package/src/assets/img/grid-pager-arrow-left.svg +3 -0
  102. package/src/assets/img/grid-pager-arrows-left.svg +4 -0
  103. package/src/assets/img/icon-more-active.svg +7 -0
  104. package/src/assets/img/icon-more.svg +7 -0
  105. package/src/assets/img/more.svg +5 -0
  106. package/src/assets/img/split-button-arrow.svg +3 -0
  107. package/src/assets/img/table-column-menu.svg +5 -0
  108. package/src/assets/img/table-sort-arrow.svg +6 -0
  109. package/src/assets/img/toolbar-action-add.svg +4 -0
  110. package/src/assets/img/toolbar-action-delete.svg +14 -0
  111. package/src/assets/img/toolbar-action-download.svg +5 -0
  112. package/src/assets/img/toolbar-action-duplicate.svg +6 -0
  113. package/src/assets/img/toolbar-action-export.svg +5 -0
  114. package/src/assets/img/toolbar-action-import.svg +5 -0
  115. package/src/assets/img/toolbar-action-refresh.svg +14 -0
  116. package/src/assets/img/toolbar-action-upload.svg +5 -0
  117. package/src/assets/img/tooltip-icon.svg +4 -0
  118. package/src/assets/language/fr.ts +3603 -0
  119. package/src/assets/language/ja.ts +3501 -0
  120. package/src/assets/language/ko.ts +3478 -0
  121. package/src/assets/language/zh-CN.ts +3115 -0
  122. package/src/assets/language/zh-TW.ts +3411 -0
  123. package/src/assets/style/reset/button.scss +78 -10
  124. package/src/assets/style/reset/checkbox.scss +33 -0
  125. package/src/assets/style/reset/dropdown.scss +42 -10
  126. package/src/assets/style/reset/grid.scss +733 -132
  127. package/src/assets/style/reset/input.scss +45 -12
  128. package/src/assets/style/reset/mat-dialog.scss +6 -2
  129. package/src/assets/style/reset/radio.scss +37 -0
  130. package/src/assets/style/reset/switch.scss +32 -0
  131. package/src/assets/style/style.scss +6 -0
  132. package/src/assets/style/syncfusion.min.css +1 -1
  133. package/src/assets/style/variables.scss +4 -4
  134. package/esm2022/lib/layout/common-list/index.component.mjs +0 -43
  135. package/lib/layout/common-list/index.component.d.ts +0 -15
@@ -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 '@angular/core';
2
- import { GridComponent } from '@syncfusion/ej2-angular-grids';
3
- import { BeforeOpenCloseEventArgs } from '@syncfusion/ej2-angular-inputs';
4
- import { IActionMenuItem, IColumnField } from '../constant';
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
  }
@@ -7,8 +7,8 @@ export declare class FloatBoxComponent implements AfterViewInit, OnDestroy {
7
7
  _trigger: "hover" | "click";
8
8
  _animation: "yes" | "no";
9
9
  _fixed: "yes" | "no";
10
- get placement(): "top" | "bottom" | "right" | "left";
11
- get position(): "start" | "center" | "end";
10
+ get placement(): "top" | "left" | "right" | "bottom";
11
+ get position(): "center" | "start" | "end";
12
12
  get trigger(): "hover" | "click";
13
13
  get animation(): "yes" | "no";
14
14
  get fixed(): "yes" | "no";
@@ -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
- inputMinlength: number;
9
- inputMaxlength: number;
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; }; "inputMinlength": { "alias": "inputMinlength"; "required": false; }; "inputMaxlength": { "alias": "inputMaxlength"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, 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>;
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 {};
@@ -0,0 +1,19 @@
1
+ import { AfterContentInit, OnInit } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class GridBoxComponent implements OnInit, AfterContentInit {
4
+ gridContent: any;
5
+ orignGrid: any;
6
+ treeGrid: any;
7
+ wholeToolbarSlot: any;
8
+ hideSearch: boolean;
9
+ isInner: boolean;
10
+ private debouncedInput;
11
+ hasWholeToolbarSlot: boolean;
12
+ ngOnInit(): void;
13
+ ngAfterContentInit(): void;
14
+ searchValue: any;
15
+ onSeach(): void;
16
+ onInput(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridBoxComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridBoxComponent, "rs-grid-box", never, { "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, {}, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
19
+ }
@@ -1,8 +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;
10
+ singleReuseUrls: string[];
11
+ constructor(globalDrawer: DrawerService);
5
12
  ngOnInit(): void;
13
+ onResize(event: any): void;
14
+ ngAfterViewInit(): void;
15
+ onRightAsideClick(): void;
6
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MainContainerComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<MainContainerComponent, "rs-main-container", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; }, {}, never, ["[headerSlot]", "[leftAsideSlot]", "[routerSlot]"], false, never>;
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>;
8
18
  }
@@ -0,0 +1,53 @@
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { ActivatedRoute, Router, RouterOutlet } from "@angular/router";
3
+ import { RouteReuseStrategy } from "@angular/router";
4
+ import { CommonFunctionService } from "../../service/common-function.service";
5
+ import { DrawerService } from "../../service/drawer.service";
6
+ import { KeepAliveService } from "../../service/keep-alive.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestroy {
9
+ router: Router;
10
+ cf: CommonFunctionService;
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);
16
+ keepAlive: KeepAliveService;
17
+ singleReuseUrls: string[];
18
+ noGenerateTabUrls: string[];
19
+ onRefreshTab: EventEmitter<any>;
20
+ private subscriptions;
21
+ TAB_WIDTH: number;
22
+ GAP_NORMAL: number;
23
+ GAP_SMALL: number;
24
+ textGap: any;
25
+ foo: RouterOutlet;
26
+ comRef: any;
27
+ tabList: any[];
28
+ selectedTab: number;
29
+ maxTabs: number;
30
+ screenWidth: number;
31
+ onResize(event: any): void;
32
+ ngOnInit(): void;
33
+ ngAfterViewInit(): void;
34
+ ngOnDestroy(): void;
35
+ setEllipsisTitle(title?: any): any;
36
+ calcTabWidth(): {
37
+ allWidth: any;
38
+ leftWidth: any;
39
+ rightWidth: any;
40
+ };
41
+ initTab(): void;
42
+ closeTab(idx: any, isExternal?: any): void;
43
+ changeTab(tab: any, idx: any): void;
44
+ addTab(url: any, title: any): void;
45
+ setTab(url: any, pureUrl: any, title: any, noReused: any): void;
46
+ timer: any;
47
+ refreshTab(): void;
48
+ clearCache(url: any): void;
49
+ cleanAllCache(): void;
50
+ private urlWithoutQuery;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiTabComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiTabComponent, "rs-multi-tab", never, { "singleReuseUrls": { "alias": "singleReuseUrls"; "required": false; }; "noGenerateTabUrls": { "alias": "noGenerateTabUrls"; "required": false; }; }, { "onRefreshTab": "onRefreshTab"; }, never, never, false, never>;
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
+ }
@@ -0,0 +1,21 @@
1
+ import { AfterContentInit, OnInit } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class RsPageListComponent implements OnInit, AfterContentInit {
4
+ gridContent: any;
5
+ orignGrid: any;
6
+ treeGrid: any;
7
+ wholeToolbarSlot: any;
8
+ pageTitle: any;
9
+ customPageTitle: boolean;
10
+ hideSearch: boolean;
11
+ isInner: boolean;
12
+ private debouncedInput;
13
+ hasWholeToolbarSlot: boolean;
14
+ ngOnInit(): void;
15
+ ngAfterContentInit(): void;
16
+ searchValue: any;
17
+ onSeach(): void;
18
+ onInput(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<RsPageListComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<RsPageListComponent, "rs-page-list", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "customPageTitle": { "alias": "customPageTitle"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "isInner": { "alias": "isInner"; "required": false; }; }, {}, ["gridContent", "orignGrid", "treeGrid", "wholeToolbarSlot"], ["[titleSlot]", "[subSectionSlot]", "[contentTabSlot]", "[wholeToolbarSlot]", "[leftToolbarBtnSlot]", "[rightToolbarBtnSlot]", "[gridSlot]"], false, never>;
21
+ }
@@ -0,0 +1,18 @@
1
+ import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
2
+ import { TabComponent } from "@syncfusion/ej2-angular-navigations";
3
+ import * as i0 from "@angular/core";
4
+ export declare class RsPageTabComponent implements OnInit, AfterViewInit {
5
+ tabObj: TabComponent;
6
+ pageTitle: any;
7
+ customPageTitle: boolean;
8
+ tabList: any[];
9
+ currentTab: any;
10
+ tabChange: EventEmitter<any>;
11
+ animation: object;
12
+ ngOnInit(): void;
13
+ ngAfterViewInit(): void;
14
+ onTabClick(e: any): void;
15
+ changeTab(idx: number): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<RsPageTabComponent, never>;
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>;
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
- currentNav: any;
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
- toggleMenu: EventEmitter<any>;
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: boolean;
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,8 @@
1
+ export interface ToolbarButton {
2
+ text: string;
3
+ image?: string;
4
+ action: () => void;
5
+ disabled?: boolean;
6
+ key?: string;
7
+ children?: ToolbarButton[];
8
+ }
@@ -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
+ }