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
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { DrawerComponent } from "../drawer/index.component";
|
|
3
|
+
import { DrawerService } from "../../service/drawer.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MainContainerComponent implements OnInit {
|
|
6
|
+
private globalDrawer;
|
|
7
|
+
headerRef: any;
|
|
8
|
+
drawer: DrawerComponent;
|
|
9
|
+
isCollapsed: boolean;
|
|
10
|
+
singleReuseUrls: string[];
|
|
11
|
+
constructor(globalDrawer: DrawerService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onResize(event: any): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
onRightAsideClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainContainerComponent, 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>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
private urlWithoutQuery;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTabComponent, never>;
|
|
51
|
+
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>;
|
|
52
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RSAsideComponent implements OnInit {
|
|
5
|
+
router: Router;
|
|
6
|
+
constructor(router: Router);
|
|
7
|
+
toggleMenu: EventEmitter<any>;
|
|
8
|
+
navClick: EventEmitter<any>;
|
|
9
|
+
isCollapsed: boolean;
|
|
10
|
+
customNavClick: boolean;
|
|
11
|
+
navList: any[];
|
|
12
|
+
relationStart: any[];
|
|
13
|
+
currentNav: string;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
initCurrentNav(): void;
|
|
16
|
+
onNavClick(item: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RSAsideComponent, 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>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RSFooterComponent implements OnInit {
|
|
4
|
+
today: Date;
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RSFooterComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSFooterComponent, "rs-footer", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { TranslationService } from "../../service/translation.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RSHeaderComponent implements OnInit {
|
|
5
|
+
translationService: TranslationService;
|
|
6
|
+
constructor(translationService: TranslationService);
|
|
7
|
+
isCollapsed: boolean;
|
|
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;
|
|
15
|
+
translation: any;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onToggleMenu(isCollapsed?: boolean): void;
|
|
18
|
+
selectLanguage(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RSHeaderComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RSHeaderComponent, "rs-header", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "lastLoginTime": { "alias": "lastLoginTime"; "required": false; }; "langOptions": { "alias": "langOptions"; "required": false; }; }, { "toggleMenu": "toggleMenu"; "changeLanguage": "changeLanguage"; }, never, ["[breadCrumbs]", "[toolbar]", "[userInfo]"], false, never>;
|
|
21
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./common-grid/index.component";
|
|
3
|
+
import * as i2 from "./common-grid/grid-action/grid-action.component";
|
|
4
|
+
import * as i3 from "./common-grid/grid-action/grid-action-item/grid-action-item.component";
|
|
5
|
+
import * as i4 from "./float-box/index.component";
|
|
6
|
+
import * as i5 from "./layout/page-list/index.component";
|
|
7
|
+
import * as i6 from "./layout/page-tab/index.component";
|
|
8
|
+
import * as i7 from "./layout/grid-box/index.component";
|
|
9
|
+
import * as i8 from "./layout/rs-header/index.component";
|
|
10
|
+
import * as i9 from "./layout/rs-footer/index.component";
|
|
11
|
+
import * as i10 from "./layout/rs-aside/index.component";
|
|
12
|
+
import * as i11 from "./layout/multi-tab/index.component";
|
|
13
|
+
import * as i12 from "./layout/main-container/index.component";
|
|
14
|
+
import * as i13 from "./form/tag-input/index.component";
|
|
15
|
+
import * as i14 from "./form/radio-group/index.component";
|
|
16
|
+
import * as i15 from "./form/checkbox-group/index.component";
|
|
17
|
+
import * as i16 from "./form/switch-input/index.component";
|
|
18
|
+
import * as i17 from "./form/encrypted-input/index.component";
|
|
19
|
+
import * as i18 from "./dialog/new-action-notification/new-action-notification.component";
|
|
20
|
+
import * as i19 from "./dialog/common-dialog/index.component";
|
|
21
|
+
import * as i20 from "./dialog/common-delete-dialog/index.component";
|
|
22
|
+
import * as i21 from "./layout/drawer/index.component";
|
|
23
|
+
import * as i22 from "./form/drawer-form/drawer-form.component";
|
|
24
|
+
import * as i23 from "./form/toolbar-item/index.component";
|
|
25
|
+
import * as i24 from "./commentary/index.component";
|
|
26
|
+
import * as i25 from "./layout/nav-card-group/index.component";
|
|
27
|
+
import * as i26 from "./layout/toolbar/index.component";
|
|
28
|
+
import * as i27 from "@angular/common";
|
|
29
|
+
import * as i28 from "@angular/common/http";
|
|
30
|
+
import * as i29 from "@angular/forms";
|
|
31
|
+
import * as i30 from "@angular/material/snack-bar";
|
|
32
|
+
import * as i31 from "@angular/material/menu";
|
|
33
|
+
import * as i32 from "@angular/material/tooltip";
|
|
34
|
+
import * as i33 from "@angular/material/dialog";
|
|
35
|
+
import * as i34 from "@angular/material/icon";
|
|
36
|
+
import * as i35 from "@syncfusion/ej2-angular-grids";
|
|
37
|
+
import * as i36 from "@syncfusion/ej2-angular-buttons";
|
|
38
|
+
import * as i37 from "@syncfusion/ej2-angular-diagrams";
|
|
39
|
+
import * as i38 from "@syncfusion/ej2-angular-popups";
|
|
40
|
+
import * as i39 from "@syncfusion/ej2-angular-calendars";
|
|
41
|
+
import * as i40 from "@syncfusion/ej2-angular-inputs";
|
|
42
|
+
import * as i41 from "@syncfusion/ej2-angular-dropdowns";
|
|
43
|
+
import * as i42 from "@syncfusion/ej2-angular-pivotview";
|
|
44
|
+
import * as i43 from "@syncfusion/ej2-angular-charts";
|
|
45
|
+
import * as i44 from "@syncfusion/ej2-angular-layouts";
|
|
46
|
+
import * as i45 from "@syncfusion/ej2-angular-navigations";
|
|
47
|
+
import * as i46 from "@syncfusion/ej2-angular-pdfviewer";
|
|
48
|
+
import * as i47 from "@syncfusion/ej2-angular-splitbuttons";
|
|
49
|
+
import * as i48 from "@syncfusion/ej2-angular-richtexteditor";
|
|
50
|
+
export declare class RaiseCommonLibModule {
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RaiseCommonLibModule, never>;
|
|
52
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RaiseCommonLibModule, [typeof i1.CommonGridComponent, typeof i2.GridActionComponent, typeof i3.GridActionItemComponent, typeof i4.FloatBoxComponent, typeof i5.RsPageListComponent, typeof i6.RsPageTabComponent, typeof i7.GridBoxComponent, typeof i8.RSHeaderComponent, typeof i9.RSFooterComponent, typeof i10.RSAsideComponent, typeof i11.MultiTabComponent, typeof i12.MainContainerComponent, typeof i13.TagInputComponent, typeof i14.RadioGroupComponent, typeof i15.CheckboxGroupComponent, typeof i16.SwitchInputComponent, typeof i17.EncryptedInputComponent, typeof i18.NewActionNotificationComponent, typeof i19.CommonDialogComponent, typeof i20.CommonDeleteComponent, typeof i21.DrawerComponent, typeof i22.DrawerFormComponent, typeof i23.ToolbarItemComponent, typeof i24.RsCommentaryComponent, typeof i25.RSNavCardGroupComponent, typeof i26.RSToolbarComponent], [typeof i27.CommonModule, typeof i28.HttpClientModule, typeof i29.ReactiveFormsModule, typeof i29.FormsModule, typeof i30.MatSnackBarModule, typeof i31.MatMenuModule, typeof i32.MatTooltipModule, typeof i33.MatDialogModule, typeof i34.MatIconModule, typeof i35.GridModule, typeof i35.PagerModule, typeof i35.GridAllModule, typeof i36.SwitchModule, typeof i36.CheckBoxModule, typeof i36.RadioButtonModule, typeof i36.ButtonModule, typeof i37.DiagramModule, typeof i38.TooltipModule, typeof i38.DialogModule, typeof i39.DatePickerModule, typeof i39.DateRangePickerModule, typeof i39.DateTimePickerModule, typeof i40.TextBoxModule, typeof i40.ColorPickerModule, typeof i40.UploaderModule, typeof i40.NumericTextBoxModule, typeof i41.DropDownListModule, typeof i41.DropDownTreeModule, typeof i41.MultiSelectAllModule, typeof i41.AutoCompleteModule, typeof i41.ListBoxModule, typeof i42.PivotViewAllModule, typeof i42.PivotFieldListAllModule, typeof i43.ChartAllModule, typeof i43.AccumulationChartAllModule, typeof i43.RangeNavigatorAllModule, typeof i43.AccumulationChartModule, typeof i44.DashboardLayoutModule, typeof i45.CarouselAllModule, typeof i45.ToolbarModule, typeof i45.TabModule, typeof i46.PdfViewerModule, typeof i47.DropDownButtonModule, typeof i47.SplitButtonModule, typeof i48.RichTextEditorAllModule], [typeof i27.CommonModule, typeof i28.HttpClientModule, typeof i29.ReactiveFormsModule, typeof i29.FormsModule, typeof i30.MatSnackBarModule, typeof i31.MatMenuModule, typeof i32.MatTooltipModule, typeof i33.MatDialogModule, typeof i34.MatIconModule, typeof i35.GridModule, typeof i35.PagerModule, typeof i35.GridAllModule, typeof i36.SwitchModule, typeof i36.CheckBoxModule, typeof i36.RadioButtonModule, typeof i36.ButtonModule, typeof i37.DiagramModule, typeof i38.TooltipModule, typeof i38.DialogModule, typeof i39.DatePickerModule, typeof i39.DateRangePickerModule, typeof i39.DateTimePickerModule, typeof i40.TextBoxModule, typeof i40.ColorPickerModule, typeof i40.UploaderModule, typeof i40.NumericTextBoxModule, typeof i41.DropDownListModule, typeof i41.DropDownTreeModule, typeof i41.MultiSelectAllModule, typeof i41.AutoCompleteModule, typeof i41.ListBoxModule, typeof i42.PivotViewAllModule, typeof i42.PivotFieldListAllModule, typeof i43.ChartAllModule, typeof i43.AccumulationChartAllModule, typeof i43.RangeNavigatorAllModule, typeof i43.AccumulationChartModule, typeof i44.DashboardLayoutModule, typeof i45.CarouselAllModule, typeof i45.ToolbarModule, typeof i45.TabModule, typeof i46.PdfViewerModule, typeof i47.DropDownButtonModule, typeof i47.SplitButtonModule, typeof i48.RichTextEditorAllModule, typeof i1.CommonGridComponent, typeof i2.GridActionComponent, typeof i3.GridActionItemComponent, typeof i4.FloatBoxComponent, typeof i5.RsPageListComponent, typeof i6.RsPageTabComponent, typeof i7.GridBoxComponent, typeof i8.RSHeaderComponent, typeof i9.RSFooterComponent, typeof i10.RSAsideComponent, typeof i11.MultiTabComponent, typeof i12.MainContainerComponent, typeof i13.TagInputComponent, typeof i14.RadioGroupComponent, typeof i15.CheckboxGroupComponent, typeof i16.SwitchInputComponent, typeof i17.EncryptedInputComponent, typeof i21.DrawerComponent, typeof i22.DrawerFormComponent, typeof i23.ToolbarItemComponent, typeof i24.RsCommentaryComponent, typeof i25.RSNavCardGroupComponent, typeof i26.RSToolbarComponent]>;
|
|
53
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RaiseCommonLibModule>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Observable, Subject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CommonFunctionService {
|
|
4
|
+
constructor();
|
|
5
|
+
private closeTabSubject;
|
|
6
|
+
closeTab$: Observable<number>;
|
|
7
|
+
pub: Subject<any>;
|
|
8
|
+
pub$: Observable<any>;
|
|
9
|
+
testMethod(): string;
|
|
10
|
+
setMiddleEllipsis(text: any, maxWidth?: number, fontSize?: number): any;
|
|
11
|
+
getPureUrl(url: string): string;
|
|
12
|
+
closeTab(tabIndex?: number): void;
|
|
13
|
+
publish(event: any): void;
|
|
14
|
+
rtn(str: any): string;
|
|
15
|
+
Guid(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonFunctionService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonFunctionService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MatSnackBar } from "@angular/material/snack-bar";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { NewActionNotificationComponent, NotificationConfig } from "../dialog/new-action-notification/new-action-notification.component";
|
|
4
|
+
import { CommonDeleteComponent } from "../dialog/common-delete-dialog/index.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare enum MessageType {
|
|
7
|
+
Create = 0,
|
|
8
|
+
Read = 1,
|
|
9
|
+
Update = 2,
|
|
10
|
+
Delete = 3
|
|
11
|
+
}
|
|
12
|
+
export declare class DialogService {
|
|
13
|
+
private snackBar;
|
|
14
|
+
private dialog;
|
|
15
|
+
/**
|
|
16
|
+
* Service constructor
|
|
17
|
+
*
|
|
18
|
+
* @param snackBar: MatSnackBar
|
|
19
|
+
* @param dialog: MatDialog
|
|
20
|
+
*/
|
|
21
|
+
translation: any;
|
|
22
|
+
constructor(snackBar: MatSnackBar, dialog: MatDialog);
|
|
23
|
+
showLoadingNotification(config: Omit<NotificationConfig, "message" | "snackBar" | "status" | "type"> & {
|
|
24
|
+
message?: string;
|
|
25
|
+
}): import("@angular/material/snack-bar").MatSnackBarRef<NewActionNotificationComponent>;
|
|
26
|
+
showNotification(message: string, config?: Omit<NotificationConfig, "message" | "snackBar" | "loadingCallback" | "type"> & {
|
|
27
|
+
duration?: number;
|
|
28
|
+
type?: Exclude<NotificationConfig["type"], "Loading">;
|
|
29
|
+
}): import("@angular/material/snack-bar").MatSnackBarRef<NewActionNotificationComponent>;
|
|
30
|
+
deleteElement(): import("@angular/material/dialog").MatDialogRef<CommonDeleteComponent, any>;
|
|
31
|
+
showCommonDilaog(data?: {
|
|
32
|
+
title?: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
saveBtnLabel?: string;
|
|
35
|
+
cancelBtnLabel?: string;
|
|
36
|
+
showErrorIcon?: boolean;
|
|
37
|
+
size?: string;
|
|
38
|
+
hideSaveBtn?: boolean;
|
|
39
|
+
}): import("@angular/material/dialog").MatDialogRef<CommonDeleteComponent, any>;
|
|
40
|
+
showUnsavedChanges(data?: {
|
|
41
|
+
title?: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
saveBtnLabel?: string;
|
|
44
|
+
cancelBtnLabel?: string;
|
|
45
|
+
showErrorIcon?: boolean;
|
|
46
|
+
size?: string;
|
|
47
|
+
hideSaveBtn?: boolean;
|
|
48
|
+
}): import("@angular/material/dialog").MatDialogRef<CommonDeleteComponent, any>;
|
|
49
|
+
showSucMsg(res: any): void;
|
|
50
|
+
showUpdateMsg(res: any): void;
|
|
51
|
+
showDelMsg(res: any): void;
|
|
52
|
+
private showMessage;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnDestroy } from "@angular/core";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
3
|
+
import { DrawerComponent } from "../layout/drawer/index.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type DrawerConfig = {
|
|
6
|
+
title: string;
|
|
7
|
+
subTitle?: string;
|
|
8
|
+
mode?: "outer" | "inner";
|
|
9
|
+
top?: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const DefaultDrawerConfig: Readonly<DrawerConfig>;
|
|
12
|
+
export type DrawerShowInstance<T> = {
|
|
13
|
+
instance: T;
|
|
14
|
+
result: Promise<{
|
|
15
|
+
type: "complete" | "hide";
|
|
16
|
+
data?: any;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
export type DrawerChangeEvent = {
|
|
20
|
+
type: "show" | "hide" | "complete";
|
|
21
|
+
cancel: () => void;
|
|
22
|
+
detail: Record<string, any>;
|
|
23
|
+
};
|
|
24
|
+
export type DrawerChangeListener = (event: DrawerChangeEvent) => void;
|
|
25
|
+
export declare class DrawerService implements OnDestroy {
|
|
26
|
+
private router;
|
|
27
|
+
private uniqueDrawerComponent;
|
|
28
|
+
private resultPromiseResolveMap;
|
|
29
|
+
private openedSubscription;
|
|
30
|
+
private routerSubscription;
|
|
31
|
+
private ListenChangeCbs;
|
|
32
|
+
constructor(router: Router);
|
|
33
|
+
get cacheKey(): string;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
listenRouterChange(): void;
|
|
36
|
+
setDrawer(component: DrawerComponent): void;
|
|
37
|
+
removeDrawer(): void;
|
|
38
|
+
show<T>(component: new (...args: any[]) => T, config: DrawerConfig, data?: {}): DrawerShowInstance<T>;
|
|
39
|
+
hide(): void;
|
|
40
|
+
complete(data?: any): void;
|
|
41
|
+
deleteCache(cacheKey: string): void;
|
|
42
|
+
onChange(callback: DrawerChangeListener): () => void;
|
|
43
|
+
private checkChange;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerService, never>;
|
|
45
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DrawerService>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MatIconRegistry } from "@angular/material/icon";
|
|
2
|
+
import { DomSanitizer } from "@angular/platform-browser";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IconLoaderService {
|
|
5
|
+
private registry;
|
|
6
|
+
private domSanitizer;
|
|
7
|
+
constructor(registry: MatIconRegistry, domSanitizer: DomSanitizer);
|
|
8
|
+
registerIcons(list: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconLoaderService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconLoaderService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RouteReuseStrategy, ActivatedRouteSnapshot, DetachedRouteHandle } from "@angular/router";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KeepAliveService implements RouteReuseStrategy {
|
|
4
|
+
setExcludeRoutes(routes: string[]): void;
|
|
5
|
+
shouldDetach(route: ActivatedRouteSnapshot): boolean;
|
|
6
|
+
store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle): void;
|
|
7
|
+
shouldAttach(route: ActivatedRouteSnapshot): boolean;
|
|
8
|
+
retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle;
|
|
9
|
+
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean;
|
|
10
|
+
getRoutePath(route: any): string;
|
|
11
|
+
clearCache(path: string): void;
|
|
12
|
+
clearAllCache(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeepAliveService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KeepAliveService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslationService {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
getTranslation(selectLang?: string): Promise<unknown>;
|
|
7
|
+
convertLangValue(code: any): number;
|
|
8
|
+
convertLangCode(value: any): string;
|
|
9
|
+
updateSyncfusionLanguage(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Debounce(delay?: number): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "raise-common-lib-new",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^16.0.0",
|
|
6
|
+
"@angular/core": "^16.0.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/raise-common-lib-new.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/raise-common-lib-new.mjs",
|
|
21
|
+
"esm": "./esm2022/raise-common-lib-new.mjs",
|
|
22
|
+
"default": "./fesm2022/raise-common-lib-new.mjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export * from "./lib/common-grid/index.component";
|
|
2
|
+
export * from "./lib/common-grid/grid-action/grid-action.component";
|
|
3
|
+
export * from "./lib/common-grid/grid-action/grid-action-item/grid-action-item.component";
|
|
4
|
+
export * from "./lib/float-box/index.component";
|
|
5
|
+
export * from "./lib/commentary/index.component";
|
|
6
|
+
export * from "./lib/layout/page-list/index.component";
|
|
7
|
+
export * from "./lib/layout/page-tab/index.component";
|
|
8
|
+
export * from "./lib/layout/grid-box/index.component";
|
|
9
|
+
export * from "./lib/layout/multi-tab/index.component";
|
|
10
|
+
export * from "./lib/layout/drawer/index.component";
|
|
11
|
+
export * from "./lib/layout/nav-card-group/index.component";
|
|
12
|
+
export * from "./lib/layout/toolbar/index.component";
|
|
13
|
+
export * from "./lib/layout/main-container/index.component";
|
|
14
|
+
export * from "./lib/layout/rs-header/index.component";
|
|
15
|
+
export * from "./lib/layout/rs-footer/index.component";
|
|
16
|
+
export * from "./lib/layout/rs-aside/index.component";
|
|
17
|
+
export * from "./lib/form/tag-input/index.component";
|
|
18
|
+
export * from "./lib/form/radio-group/index.component";
|
|
19
|
+
export * from "./lib/form/checkbox-group/index.component";
|
|
20
|
+
export * from "./lib/form/switch-input/index.component";
|
|
21
|
+
export * from "./lib/form/encrypted-input/index.component";
|
|
22
|
+
export * from "./lib/form/drawer-form/drawer-form.component";
|
|
23
|
+
export * from "./lib/form/drawer-form/constants";
|
|
24
|
+
export * from "./lib/form/toolbar-item/index.component";
|
|
25
|
+
export * from "./lib/service/common-function.service";
|
|
26
|
+
export * from "./lib/service/icon-loader.service";
|
|
27
|
+
export * from "./lib/service/dialog.service";
|
|
28
|
+
export * from "./lib/service/keep-alive.service";
|
|
29
|
+
export * from "./lib/service/drawer.service";
|
|
30
|
+
export * from "./lib/service/translation.service";
|
|
31
|
+
export * from "./lib/raise-common-lib.module";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.24264 3.75736L12.5 8L9.24264 12.2426" stroke="#6C7C90" stroke-linecap="round"/>
|
|
3
|
+
<path d="M3 7.5C2.72386 7.5 2.5 7.72386 2.5 8C2.5 8.27614 2.72386 8.5 3 8.5V7.5ZM12 7.5L3 7.5V8.5L12 8.5V7.5Z" fill="#6C7C90"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 6C2 4.61929 3.11929 3.5 4.5 3.5H11.5C12.8807 3.5 14 4.61929 14 6V13C14 13.8284 13.3284 14.5 12.5 14.5H3.5C2.67157 14.5 2 13.8284 2 13V6Z" stroke="#6B6B6B66"/>
|
|
3
|
+
<line x1="1.5" y1="6.5" x2="13.5" y2="6.5" stroke="#6B6B6B66"/>
|
|
4
|
+
<line x1="5" y1="2" x2="5" y2="5" stroke="#6B6B6B66"/>
|
|
5
|
+
<line x1="11" y1="2" x2="11" y2="5" stroke="#6B6B6B66"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2 6C2 4.61929 3.11929 3.5 4.5 3.5H11.5C12.8807 3.5 14 4.61929 14 6V13C14 13.8284 13.3284 14.5 12.5 14.5H3.5C2.67157 14.5 2 13.8284 2 13V6Z" stroke="#1F7BFF"/>
|
|
3
|
+
<line x1="1.5" y1="6.5" x2="13.5" y2="6.5" stroke="#1F7BFF"/>
|
|
4
|
+
<line x1="5" y1="2" x2="5" y2="5" stroke="#1F7BFF"/>
|
|
5
|
+
<line x1="11" y1="2" x2="11" y2="5" stroke="#1F7BFF"/>
|
|
6
|
+
</svg>
|