@rosoftlab/rdict 1.0.4-alpha-11 → 1.0.4-alpha-14
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/fesm2022/rosoftlab-rdict.mjs +103 -275
- package/fesm2022/rosoftlab-rdict.mjs.map +1 -1
- package/lib/components/layouts/full/full.component.d.ts +1 -3
- package/lib/core.d.ts +0 -1
- package/lib/services/index.d.ts +0 -1
- package/package.json +2 -2
- package/lib/models/index.d.ts +0 -3
- package/lib/models/menu.d.ts +0 -15
- package/lib/models/right.d.ts +0 -14
- package/lib/models/user.d.ts +0 -8
- package/lib/services/user.service.d.ts +0 -15
|
@@ -4,11 +4,9 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
4
4
|
import { DrawerItemExpandedFn, DrawerSelectEvent } from '@progress/kendo-angular-layout';
|
|
5
5
|
import * as allIcons from '@progress/kendo-svg-icons';
|
|
6
6
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
-
import { AuthService } from '@rosoftlab/core';
|
|
7
|
+
import { AuthService, Menu, UserService } from '@rosoftlab/core';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
|
-
import { Menu } from '../../../models';
|
|
10
9
|
import { ReactiveDictionary } from '../../../reactive-dictionary';
|
|
11
|
-
import { UserService } from '../../../services';
|
|
12
10
|
import * as i0 from "@angular/core";
|
|
13
11
|
export declare class FullComponent implements OnInit {
|
|
14
12
|
private userService;
|
package/lib/core.d.ts
CHANGED
package/lib/services/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rosoftlab/rdict",
|
|
3
|
-
"version": "1.0.4-alpha-
|
|
3
|
+
"version": "1.0.4-alpha-14",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.8",
|
|
6
6
|
"@angular/core": "^19.2.8",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"socket.io-client": "^4.8.1",
|
|
38
38
|
"socket.io-msgpack-parser": "^3.0.2",
|
|
39
39
|
"socket.io-parser": "^3.3.4",
|
|
40
|
-
"@rosoftlab/core": "1.0.4-alpha-
|
|
40
|
+
"@rosoftlab/core": "1.0.4-alpha-14"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"author": "rosoftlab",
|
package/lib/models/index.d.ts
DELETED
package/lib/models/menu.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '@rosoftlab/core';
|
|
2
|
-
export declare class Menu extends BaseModel {
|
|
3
|
-
id: string;
|
|
4
|
-
header?: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
link?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
sublinks?: Menu[];
|
|
9
|
-
target?: string;
|
|
10
|
-
external?: boolean;
|
|
11
|
-
description?: string;
|
|
12
|
-
order?: number;
|
|
13
|
-
translationKey: string;
|
|
14
|
-
color?: string;
|
|
15
|
-
}
|
package/lib/models/right.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '@rosoftlab/core';
|
|
2
|
-
export declare class Right extends BaseModel {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
rightKey: string;
|
|
6
|
-
pagePath: string;
|
|
7
|
-
order: number;
|
|
8
|
-
isMenu: boolean;
|
|
9
|
-
resourceName: string;
|
|
10
|
-
parentId: string;
|
|
11
|
-
color: string;
|
|
12
|
-
defaultRoles: string;
|
|
13
|
-
icon?: string;
|
|
14
|
-
}
|
package/lib/models/user.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseQueryData, BaseService, DatastoreCore } from "@rosoftlab/core";
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Menu } from '../models/menu';
|
|
4
|
-
import { Right } from '../models/right';
|
|
5
|
-
import { User } from '../models/user';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserService extends BaseService<User> {
|
|
8
|
-
userRights: Right[];
|
|
9
|
-
constructor(datastore: DatastoreCore);
|
|
10
|
-
getRights(): Observable<BaseQueryData<Right>>;
|
|
11
|
-
hasRightForLink(link: string): boolean;
|
|
12
|
-
getMenus(): Observable<BaseQueryData<Menu>>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
15
|
-
}
|