chyz 1.2.4-rc.7 → 1.2.5-rc.3
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/BaseChyz.d.ts +62 -0
- package/BaseChyz.d.ts.map +1 -0
- package/BaseChyz.js +5 -5
- package/base/ActionFilter.d.ts +33 -0
- package/base/ActionFilter.d.ts.map +1 -0
- package/base/ActionFilter.js +18 -14
- package/base/BaseError.d.ts +11 -0
- package/base/BaseError.d.ts.map +1 -0
- package/base/BaseError.js +0 -1
- package/base/Behavior.d.ts +4 -0
- package/base/Behavior.d.ts.map +1 -0
- package/base/Behavior.js +2 -3
- package/base/CBaseObject.d.ts +5 -0
- package/base/CBaseObject.d.ts.map +1 -0
- package/base/CBaseObject.js +16 -0
- package/base/CWebController.d.ts +44 -0
- package/base/CWebController.d.ts.map +1 -0
- package/base/CWebController.js +0 -1
- package/base/Component.d.ts +21 -0
- package/base/Component.d.ts.map +1 -0
- package/base/Component.js +5 -6
- package/base/Configurable.d.ts +3 -0
- package/base/Configurable.d.ts.map +1 -0
- package/base/Configurable.js +0 -1
- package/base/DataErrorDbException.d.ts +6 -0
- package/base/DataErrorDbException.d.ts.map +1 -0
- package/base/DataErrorDbException.js +0 -1
- package/base/DbConnection.d.ts +13 -0
- package/base/DbConnection.d.ts.map +1 -0
- package/base/DbConnection.js +1 -2
- package/base/ForbiddenHttpException.d.ts +5 -0
- package/base/ForbiddenHttpException.d.ts.map +1 -0
- package/base/ForbiddenHttpException.js +0 -1
- package/base/InvalidArgumentException.d.ts +6 -0
- package/base/InvalidArgumentException.d.ts.map +1 -0
- package/base/InvalidArgumentException.js +0 -1
- package/base/InvalidConfigException.d.ts +6 -0
- package/base/InvalidConfigException.d.ts.map +1 -0
- package/base/InvalidConfigException.js +0 -1
- package/base/Logger.d.ts +18 -0
- package/base/Logger.d.ts.map +1 -0
- package/base/Logger.js +49 -0
- package/base/Model.d.ts +299 -0
- package/base/Model.d.ts.map +1 -0
- package/base/Model.js +0 -1
- package/base/ModelManager.d.ts +2 -0
- package/base/ModelManager.d.ts.map +1 -0
- package/base/ModelManager.js +11 -1
- package/base/NotFoundHttpException.d.ts +6 -0
- package/base/NotFoundHttpException.d.ts.map +1 -0
- package/base/NotFoundHttpException.js +0 -1
- package/base/RestClient.d.ts +9 -0
- package/base/RestClient.d.ts.map +1 -0
- package/base/RestClient.js +0 -1
- package/base/UnauthorizedHttpException.d.ts +6 -0
- package/base/UnauthorizedHttpException.d.ts.map +1 -0
- package/base/UnauthorizedHttpException.js +0 -1
- package/base/ValidationHttpException.d.ts +6 -0
- package/base/ValidationHttpException.d.ts.map +1 -0
- package/base/ValidationHttpException.js +0 -1
- package/base/db/Exception.d.ts +7 -0
- package/base/db/Exception.d.ts.map +1 -0
- package/base/db/Exception.js +0 -1
- package/base/index.d.ts +18 -0
- package/base/index.d.ts.map +1 -0
- package/base/index.js +35 -29
- package/decorator/Middleware.d.ts +4 -0
- package/decorator/Middleware.d.ts.map +1 -0
- package/decorator/Middleware.js +0 -1
- package/decorator/controller.d.ts +3 -0
- package/decorator/controller.d.ts.map +1 -0
- package/decorator/controller.js +0 -1
- package/decorator/enums/ControllerDecoratorParams.d.ts +6 -0
- package/decorator/enums/ControllerDecoratorParams.d.ts.map +1 -0
- package/decorator/enums/ControllerDecoratorParams.js +0 -1
- package/decorator/get.d.ts +3 -0
- package/decorator/get.d.ts.map +1 -0
- package/decorator/get.js +0 -1
- package/decorator/index.d.ts +4 -0
- package/decorator/index.d.ts.map +1 -0
- package/decorator/index.js +7 -14
- package/decorator/post.d.ts +3 -0
- package/decorator/post.d.ts.map +1 -0
- package/decorator/post.js +0 -1
- package/filters/AccessControl.d.ts +13 -0
- package/filters/AccessControl.d.ts.map +1 -0
- package/filters/AccessControl.js +4 -5
- package/filters/AccessRule.d.ts +83 -0
- package/filters/AccessRule.d.ts.map +1 -0
- package/filters/AccessRule.js +2 -2
- package/filters/auth/AuthInterface.d.ts +26 -0
- package/filters/auth/AuthInterface.d.ts.map +1 -0
- package/filters/auth/AuthInterface.js +0 -1
- package/filters/auth/AuthMethod.d.ts +38 -0
- package/filters/auth/AuthMethod.d.ts.map +1 -0
- package/filters/auth/AuthMethod.js +12 -1
- package/filters/auth/HttpBasicAuth.d.ts +23 -0
- package/filters/auth/HttpBasicAuth.d.ts.map +1 -0
- package/filters/auth/HttpBasicAuth.js +0 -1
- package/filters/auth/HttpBearerAuth.d.ts +18 -0
- package/filters/auth/HttpBearerAuth.d.ts.map +1 -0
- package/filters/auth/HttpBearerAuth.js +0 -1
- package/filters/auth/HttpHeaderAuth.d.ts +15 -0
- package/filters/auth/HttpHeaderAuth.d.ts.map +1 -0
- package/filters/auth/HttpHeaderAuth.js +0 -1
- package/filters/auth/JwtHttpBearerAuth.d.ts +21 -0
- package/filters/auth/JwtHttpBearerAuth.d.ts.map +1 -0
- package/filters/auth/JwtHttpBearerAuth.js +0 -1
- package/filters/auth/KeyCloakHttpBearerAuth.d.ts +23 -0
- package/filters/auth/KeyCloakHttpBearerAuth.d.ts.map +1 -0
- package/filters/auth/KeyCloakHttpBearerAuth.js +0 -1
- package/filters/auth/index.d.ts +5 -0
- package/filters/auth/index.d.ts.map +1 -0
- package/filters/auth/index.js +9 -15
- package/filters/index.d.ts +3 -0
- package/filters/index.d.ts.map +1 -0
- package/filters/index.js +5 -13
- package/index.d.ts +17 -0
- package/index.d.ts.map +1 -0
- package/index.js +50 -10
- package/model/RouteDefinition.d.ts +7 -0
- package/model/RouteDefinition.d.ts.map +1 -0
- package/model/RouteDefinition.js +0 -1
- package/package.json +12 -10
- package/rbac/AuthAssignment.d.ts +19 -0
- package/rbac/AuthAssignment.d.ts.map +1 -0
- package/rbac/AuthAssignment.js +0 -1
- package/rbac/AuthItem.d.ts +27 -0
- package/rbac/AuthItem.d.ts.map +1 -0
- package/rbac/AuthItem.js +0 -1
- package/rbac/AuthItemChild.d.ts +19 -0
- package/rbac/AuthItemChild.d.ts.map +1 -0
- package/rbac/AuthItemChild.js +0 -1
- package/rbac/AuthManager.d.ts +112 -0
- package/rbac/AuthManager.d.ts.map +1 -0
- package/rbac/AuthManager.js +0 -1
- package/requiments/Glob.d.ts +3 -0
- package/requiments/Glob.d.ts.map +1 -0
- package/requiments/Glob.js +0 -1
- package/requiments/ReflectUtil.d.ts +1 -0
- package/requiments/ReflectUtil.d.ts.map +1 -0
- package/requiments/ReflectUtil.js +0 -1
- package/requiments/Utils.d.ts +3 -0
- package/requiments/Utils.d.ts.map +1 -0
- package/requiments/Utils.js +68 -2
- package/validators/BooleanValidator.d.ts +1 -0
- package/validators/BooleanValidator.d.ts.map +1 -0
- package/validators/BooleanValidator.js +0 -1
- package/validators/CompareValidator.d.ts +1 -0
- package/validators/CompareValidator.d.ts.map +1 -0
- package/validators/CompareValidator.js +0 -1
- package/validators/DateValidator.d.ts +1 -0
- package/validators/DateValidator.d.ts.map +1 -0
- package/validators/DateValidator.js +0 -1
- package/validators/EmailValidator.d.ts +1 -0
- package/validators/EmailValidator.d.ts.map +1 -0
- package/validators/EmailValidator.js +0 -1
- package/validators/Validator.d.ts +18 -0
- package/validators/Validator.d.ts.map +1 -0
- package/validators/Validator.js +0 -1
- package/web/IdentityInterface.d.ts +55 -0
- package/web/IdentityInterface.d.ts.map +1 -0
- package/web/IdentityInterface.js +0 -1
- package/web/WebUser.d.ts +72 -0
- package/web/WebUser.d.ts.map +1 -0
- package/web/WebUser.js +0 -1
- package/BaseChyz.js.map +0 -1
- package/Chyz.js +0 -15
- package/Chyz.js.map +0 -1
- package/base/ActionFilter.js.map +0 -1
- package/base/BaseError.js.map +0 -1
- package/base/BaseObject.js +0 -20
- package/base/BaseObject.js.map +0 -1
- package/base/Behavior.js.map +0 -1
- package/base/CWebController.js.map +0 -1
- package/base/Component.js.map +0 -1
- package/base/Configurable.js.map +0 -1
- package/base/DataErrorDbException.js.map +0 -1
- package/base/DbConnection.js.map +0 -1
- package/base/ForbiddenHttpException.js.map +0 -1
- package/base/InvalidArgumentException.js.map +0 -1
- package/base/InvalidConfigException.js.map +0 -1
- package/base/Model.js.map +0 -1
- package/base/ModelManager.js.map +0 -1
- package/base/NotFoundHttpException.js.map +0 -1
- package/base/RestClient.js.map +0 -1
- package/base/UnauthorizedHttpException.js.map +0 -1
- package/base/ValidationHttpException.js.map +0 -1
- package/base/db/Exception.js.map +0 -1
- package/base/index.js.map +0 -1
- package/decorator/Middleware.js.map +0 -1
- package/decorator/controller.js.map +0 -1
- package/decorator/enums/ControllerDecoratorParams.js.map +0 -1
- package/decorator/get.js.map +0 -1
- package/decorator/index.js.map +0 -1
- package/decorator/post.js.map +0 -1
- package/filters/AccessControl.js.map +0 -1
- package/filters/AccessRule.js.map +0 -1
- package/filters/auth/AuthInterface.js.map +0 -1
- package/filters/auth/AuthMethod.js.map +0 -1
- package/filters/auth/HttpBasicAuth.js.map +0 -1
- package/filters/auth/HttpBearerAuth.js.map +0 -1
- package/filters/auth/HttpHeaderAuth.js.map +0 -1
- package/filters/auth/JwtHttpBearerAuth.js.map +0 -1
- package/filters/auth/KeyCloakHttpBearerAuth.js.map +0 -1
- package/filters/auth/index.js.map +0 -1
- package/filters/index.js.map +0 -1
- package/index.js.map +0 -1
- package/model/RouteDefinition.js.map +0 -1
- package/rbac/AuthAssignment.js.map +0 -1
- package/rbac/AuthItem.js.map +0 -1
- package/rbac/AuthItemChild.js.map +0 -1
- package/rbac/AuthManager.js.map +0 -1
- package/requiments/Glob.js.map +0 -1
- package/requiments/ReflectUtil.js.map +0 -1
- package/requiments/Utils.js.map +0 -1
- package/validators/BooleanValidator.js.map +0 -1
- package/validators/CompareValidator.js.map +0 -1
- package/validators/DateValidator.js.map +0 -1
- package/validators/EmailValidator.js.map +0 -1
- package/validators/Validator.js.map +0 -1
- package/web/IdentityInterface.js.map +0 -1
- package/web/WebUser.js.map +0 -1
package/model/RouteDefinition.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chyz",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.2.5-rc.3",
|
|
4
|
+
"main":"./index.js",
|
|
5
|
+
"type": "./index.d.ts",
|
|
5
6
|
"description": "Nodejs Micro service Framework",
|
|
6
7
|
"scripts": {
|
|
7
|
-
"dev": "nodemon -t --trace-warnings index.ts",
|
|
8
|
-
"debug": "ts-node index.ts",
|
|
9
|
-
"build": "rmdir /S /Q .\\dist && npx tsc && xcopy .\\log .\\dist\\log /e /i /h /Y && copy .\\package.json .\\dist\\package.json && copy .\\README.md .\\dist\\README.md",
|
|
10
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
9
|
"postversion": "git push && git push --tags"
|
|
12
10
|
},
|
|
@@ -20,6 +18,9 @@
|
|
|
20
18
|
"url": "https://github.com/cihan53/Chy-Nodejs-Framework/issues"
|
|
21
19
|
},
|
|
22
20
|
"homepage": "https://github.com/cihan53/Chy-Nodejs-Framework#readme",
|
|
21
|
+
"resolutions": {
|
|
22
|
+
"ts-node": "^10.2.0"
|
|
23
|
+
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"axios": "^0.23.0",
|
|
25
26
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
|
@@ -45,13 +46,14 @@
|
|
|
45
46
|
"validate.js": "^0.13.1"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@types/express": "^4.17.13",
|
|
49
|
-
"@types/node": "^16.6.1",
|
|
50
49
|
"@types/validator": "^13.6.3",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
50
|
+
"@types/express": "^4.17.13",
|
|
51
|
+
"@types/node": "^18.6.5",
|
|
52
|
+
"nodemon": "^2.0.19",
|
|
53
|
+
"ts-node": "^10.9.1",
|
|
54
|
+
"typescript": "^4.7.4"
|
|
54
55
|
},
|
|
56
|
+
|
|
55
57
|
"keywords": [
|
|
56
58
|
"Framework",
|
|
57
59
|
"RespAPI",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataTypes, Model, Relation } from "../base";
|
|
2
|
+
export declare class AuthAssignmentClass extends Model {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
tableName(): string;
|
|
5
|
+
attributes(): {
|
|
6
|
+
item_name: {
|
|
7
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
8
|
+
primaryKey: boolean;
|
|
9
|
+
allowNull: boolean;
|
|
10
|
+
};
|
|
11
|
+
user_id: {
|
|
12
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
13
|
+
allowNull: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
init(): void;
|
|
17
|
+
relations(): Relation[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=AuthAssignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthAssignment.d.ts","sourceRoot":"","sources":["../../src/rbac/AuthAssignment.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAgB,QAAQ,EAAC,MAAM,SAAS,CAAC;AAEjE,qBAAa,mBAAoB,SAAQ,KAAK;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAEjB,SAAS;IAGT,UAAU;;;;;;;;;;;IAiBV,IAAI;IAKJ,SAAS,IAAI,QAAQ,EAAE;CAW1B"}
|
package/rbac/AuthAssignment.js
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DataTypes, Model, Relation } from "../base";
|
|
2
|
+
export declare class AuthItemClass extends Model {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
tableName(): string;
|
|
5
|
+
attributes(): {
|
|
6
|
+
name: {
|
|
7
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
8
|
+
primaryKey: boolean;
|
|
9
|
+
allowNull: boolean;
|
|
10
|
+
};
|
|
11
|
+
type: {
|
|
12
|
+
type: DataTypes.IntegerDataTypeConstructor;
|
|
13
|
+
allowNull: boolean;
|
|
14
|
+
};
|
|
15
|
+
description: {
|
|
16
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
17
|
+
allowNull: boolean;
|
|
18
|
+
};
|
|
19
|
+
rule_name: {
|
|
20
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
21
|
+
allowNull: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
init(): void;
|
|
25
|
+
relations(): Relation[];
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=AuthItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthItem.d.ts","sourceRoot":"","sources":["../../src/rbac/AuthItem.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAgB,QAAQ,EAAC,MAAM,SAAS,CAAC;AAEjE,qBAAa,aAAc,SAAQ,KAAK;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAEjB,SAAS;IAIT,UAAU;;;;;;;;;;;;;;;;;;;IAwBV,IAAI;IAKJ,SAAS,IAAI,QAAQ,EAAE;CAU1B"}
|
package/rbac/AuthItem.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataTypes, Model, Relation } from "../base";
|
|
2
|
+
export declare class AuthItemChildClass extends Model {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
tableName(): string;
|
|
5
|
+
attributes(): {
|
|
6
|
+
parent: {
|
|
7
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
8
|
+
primaryKey: boolean;
|
|
9
|
+
allowNull: boolean;
|
|
10
|
+
};
|
|
11
|
+
child: {
|
|
12
|
+
type: DataTypes.StringDataTypeConstructor;
|
|
13
|
+
allowNull: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
init(): void;
|
|
17
|
+
relations(): Relation[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=AuthItemChild.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthItemChild.d.ts","sourceRoot":"","sources":["../../src/rbac/AuthItemChild.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAgB,QAAQ,EAAC,MAAM,SAAS,CAAC;AAEjE,qBAAa,kBAAmB,SAAQ,KAAK;IACzC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IAEjB,SAAS;IAIT,UAAU;;;;;;;;;;;IAeV,IAAI;IAKJ,SAAS,IAAI,QAAQ,EAAE;CAU1B"}
|
package/rbac/AuthItemChild.js
CHANGED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Component } from "../base";
|
|
2
|
+
interface Role {
|
|
3
|
+
type: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
ruleName: string;
|
|
7
|
+
data: string;
|
|
8
|
+
params: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class AuthManager extends Component {
|
|
11
|
+
static readonly TYPE_ROLE = 1;
|
|
12
|
+
static readonly TYPE_PERMISSION = 2;
|
|
13
|
+
init(): void;
|
|
14
|
+
/**
|
|
15
|
+
* @var Item[] all auth items (name => Item)
|
|
16
|
+
*/
|
|
17
|
+
protected items: any;
|
|
18
|
+
checkAccessAssignments: any;
|
|
19
|
+
defaultRoles: any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
checkAccess(userId: number, permissionName: string, params?: any[]): Promise<boolean>;
|
|
24
|
+
checkAccessFromCache(): Promise<void>;
|
|
25
|
+
checkAccessRecursive(user: string | number, itemname: string, params: any[], assignments: any): Promise<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @param name
|
|
29
|
+
*/
|
|
30
|
+
getItem(name: string): Promise<any>;
|
|
31
|
+
getItems(type: number): Promise<any>;
|
|
32
|
+
getRolesByUser(userId: number): Promise<any>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param roleName
|
|
36
|
+
*/
|
|
37
|
+
getChildRoles(roleName: string): Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param roleName
|
|
41
|
+
*/
|
|
42
|
+
getPermissionsByRole(roleName: string): Promise<any>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @param userId
|
|
46
|
+
*/
|
|
47
|
+
getPermissionsByUser(userId: number): Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Returns all permissions that are directly assigned to user.
|
|
50
|
+
* @return Permission[] all direct permissions that the user has. The array is indexed by the permission names.
|
|
51
|
+
*/
|
|
52
|
+
protected getDirectPermissionsByUser(userId: number): Promise<any>;
|
|
53
|
+
protected getInheritedPermissionsByUser(userId: number): Promise<any>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @param userId
|
|
57
|
+
*/
|
|
58
|
+
getItemsByUser(userId: number): Promise<any>;
|
|
59
|
+
/**
|
|
60
|
+
* Returns all role assignment information for the specified role.
|
|
61
|
+
* @param $roleName
|
|
62
|
+
*/
|
|
63
|
+
getUserIdsByRole(roleName: number): Promise<any>;
|
|
64
|
+
/**
|
|
65
|
+
* {@inheritdoc}
|
|
66
|
+
*/
|
|
67
|
+
getRole(name: string): Promise<Role | null>;
|
|
68
|
+
/**
|
|
69
|
+
* {@inheritdoc}
|
|
70
|
+
*/
|
|
71
|
+
getRoles(): Promise<any>;
|
|
72
|
+
/**
|
|
73
|
+
* Recursively finds all children and grand children of the specified item.
|
|
74
|
+
* @param string $name the name of the item whose children are to be looked for.
|
|
75
|
+
* @param array $childrenList the child list built via [[getChildrenList()]]
|
|
76
|
+
* @param array $result the children and grand children (in array keys)
|
|
77
|
+
*/
|
|
78
|
+
protected getChildrenRecursive(name: string, childrenList: any, model: any): void;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @param roleName
|
|
82
|
+
* @param userId
|
|
83
|
+
*/
|
|
84
|
+
getAssignment(roleName: string, userId: string): any;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
getAssignments(userId: number): Promise<any>;
|
|
89
|
+
/**
|
|
90
|
+
* Returns the children for every parent.
|
|
91
|
+
* @return array the children list. Each array key is a parent item name,
|
|
92
|
+
* and the corresponding array value is a list of child item names.
|
|
93
|
+
*/
|
|
94
|
+
protected getChildrenList(): Promise<any>;
|
|
95
|
+
/**
|
|
96
|
+
* Check whether $userId is empty.
|
|
97
|
+
* @param mixed $userId
|
|
98
|
+
* @return bool
|
|
99
|
+
* @since 2.0.26
|
|
100
|
+
*/
|
|
101
|
+
protected isEmptyUserId(userId: string): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Checks whether array of $assignments is empty and [[defaultRoles]] property is empty as well.
|
|
104
|
+
*
|
|
105
|
+
* @param Assignment[] $assignments array of user's assignments
|
|
106
|
+
* @return bool whether array of $assignments is empty and [[defaultRoles]] property is empty as well
|
|
107
|
+
* @since 2.0.11
|
|
108
|
+
*/
|
|
109
|
+
protected hasNoAssignments(assignments: any): any;
|
|
110
|
+
}
|
|
111
|
+
export {};
|
|
112
|
+
//# sourceMappingURL=AuthManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthManager.d.ts","sourceRoot":"","sources":["../../src/rbac/AuthManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAuC,MAAM,SAAS,CAAC;AAKxE,UAAU,IAAI;IACV,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAYD,qBAAa,WAAY,SAAQ,SAAS;IACtC,MAAM,CAAC,QAAQ,CAAC,SAAS,KAAK;IAC9B,MAAM,CAAC,QAAQ,CAAC,eAAe,KAAK;IAEpC,IAAI;IAIJ;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IACrB,sBAAsB,EAAE,GAAG,CAAK;IAChC,YAAY,EAAE,GAAG,CAAK;IAGtB;;OAEG;IAEU,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAE,GAAG,EAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAmBhG,oBAAoB;IAKb,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IA4B7H;;;OAGG;IACU,OAAO,CAAC,IAAI,EAAE,MAAM;IAOpB,QAAQ,CAAC,IAAI,EAAE,MAAM;IAYrB,cAAc,CAAC,MAAM,EAAE,MAAM;IAyB1C;;;OAGG;IACU,aAAa,CAAC,QAAQ,EAAE,MAAM;IAoB3C;;;OAGG;IACU,oBAAoB,CAAC,QAAQ,EAAE,MAAM;IAuBlD;;;OAGG;IACU,oBAAoB,CAAC,MAAM,EAAE,MAAM;IAYhD;;;OAGG;cACa,0BAA0B,CAAC,MAAM,EAAE,MAAM;cAuBzC,6BAA6B,CAAC,MAAM,EAAE,MAAM;IA4B5D;;;OAGG;IACU,cAAc,CAAC,MAAM,EAAE,MAAM;IAc1C;;;OAGG;IACU,gBAAgB,CAAC,QAAQ,EAAE,MAAM;IAO9C;;OAEG;IACU,OAAO,CAAC,IAAI,EAAE,MAAM;IAMjC;;OAEG;IACI,QAAQ;IAIf;;;;;OAKG;IACH,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;IAW1E;;;;OAIG;IACI,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAQrD;;OAEG;IACU,cAAc,CAAC,MAAM,EAAE,MAAM;IAkB1C;;;;OAIG;cACa,eAAe;IAU/B;;;;;OAKG;IACH,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM;IAItC;;;;;;OAMG;IACH,SAAS,CAAC,gBAAgB,CAAC,WAAW,EAAE,GAAG;CAG9C"}
|
package/rbac/AuthManager.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Glob.d.ts","sourceRoot":"","sources":["../../src/requiments/Glob.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,IAAI,KAAkB,CAAC;AAC7B,eAAe,IAAI,CAAC"}
|
package/requiments/Glob.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ReflectUtil.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReflectUtil.d.ts","sourceRoot":"","sources":["../../src/requiments/ReflectUtil.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../src/requiments/Utils.ts"],"names":[],"mappings":";AA2GA,wBAQC"}
|
package/requiments/Utils.js
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2021. Chy Bilgisayar Bilisim
|
|
4
|
+
* Author: Cihan Ozturk
|
|
5
|
+
* E-mail: cihan@chy.com.tr
|
|
6
|
+
* Github:https://github.com/cihan53/
|
|
7
|
+
*/
|
|
8
|
+
// import _ from "lodash";
|
|
2
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
10
|
const _ = require('lodash');
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param prefix
|
|
14
|
+
* @param val
|
|
15
|
+
* @param top
|
|
16
|
+
*/
|
|
17
|
+
var buildParams = function (prefix, val, top) {
|
|
18
|
+
if (_.isUndefined(top))
|
|
19
|
+
top = true;
|
|
20
|
+
if (_.isArray(val)) {
|
|
21
|
+
return _.map(val, function (value, key) {
|
|
22
|
+
return buildParams(top ? key : prefix + '[]', value, false);
|
|
23
|
+
}).join('&');
|
|
24
|
+
}
|
|
25
|
+
else if (_.isObject(val)) {
|
|
26
|
+
return _.map(val, function (value, key) {
|
|
27
|
+
return buildParams(top ? key : prefix + '[' + key + ']', value, false);
|
|
28
|
+
}).join('&');
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return encodeURIComponent(prefix) + '=' + encodeURIComponent(val);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*Creates a query string from a hash
|
|
36
|
+
* @param obj
|
|
37
|
+
*/
|
|
38
|
+
const toQuery = function (obj) {
|
|
39
|
+
return buildParams('', obj);
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param object
|
|
44
|
+
* @param params
|
|
45
|
+
*/
|
|
4
46
|
const createObject = (object, params) => {
|
|
5
47
|
let newParams = {};
|
|
6
48
|
Object.keys(params).forEach((param) => {
|
|
@@ -13,6 +55,11 @@ const createObject = (object, params) => {
|
|
|
13
55
|
});
|
|
14
56
|
return Object.create(object, newParams);
|
|
15
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param object
|
|
61
|
+
* @param findKey
|
|
62
|
+
*/
|
|
16
63
|
const findKeyValue = (object, findKey) => {
|
|
17
64
|
let key = Object.keys(object).find(key => key.toLowerCase() === findKey.toLowerCase());
|
|
18
65
|
if (key) {
|
|
@@ -20,19 +67,38 @@ const findKeyValue = (object, findKey) => {
|
|
|
20
67
|
}
|
|
21
68
|
return null;
|
|
22
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param seconds
|
|
73
|
+
*/
|
|
23
74
|
const sleep = (seconds = 1) => {
|
|
24
75
|
var waitTill = new Date(new Date().getTime() + seconds * 1000);
|
|
25
76
|
while (waitTill > new Date()) {
|
|
26
77
|
}
|
|
27
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @param wildcard
|
|
82
|
+
* @param str
|
|
83
|
+
*/
|
|
28
84
|
function wildTest(wildcard, str) {
|
|
29
85
|
let w = wildcard.replace(/[.+^${}()|[\]\\]/g, '\\$&'); // regexp escape
|
|
30
86
|
const re = new RegExp(`^${w.replace(/\*/g, '.*').replace(/\?/g, '.')}$`, 'i');
|
|
31
87
|
return re.test(str); // remove last 'i' above to have case sensitive
|
|
32
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @param pattern
|
|
92
|
+
* @param string
|
|
93
|
+
* @param options
|
|
94
|
+
*/
|
|
33
95
|
const matchWildcard = (pattern, string, options = {}) => {
|
|
34
96
|
return wildTest(pattern, string);
|
|
35
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @param text
|
|
101
|
+
*/
|
|
36
102
|
const t = function (text) {
|
|
37
103
|
return text;
|
|
38
104
|
};
|
|
@@ -40,5 +106,5 @@ exports.default = Object.assign({ t,
|
|
|
40
106
|
createObject,
|
|
41
107
|
findKeyValue,
|
|
42
108
|
sleep,
|
|
43
|
-
matchWildcard
|
|
44
|
-
|
|
109
|
+
matchWildcard,
|
|
110
|
+
toQuery }, _);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=BooleanValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanValidator.d.ts","sourceRoot":"","sources":["../../src/validators/BooleanValidator.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=CompareValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompareValidator.d.ts","sourceRoot":"","sources":["../../src/validators/CompareValidator.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=DateValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateValidator.d.ts","sourceRoot":"","sources":["../../src/validators/DateValidator.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=EmailValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailValidator.d.ts","sourceRoot":"","sources":["../../src/validators/EmailValidator.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component } from "../base";
|
|
2
|
+
export declare class Validator extends Component {
|
|
3
|
+
static builtInValidators: {
|
|
4
|
+
boolean: string;
|
|
5
|
+
email: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* @var array|string attributes to be validated by this validator. For multiple attributes,
|
|
9
|
+
* please specify them as an array; for single attribute, you may use either a string or an array.
|
|
10
|
+
*/
|
|
11
|
+
attributes: never[];
|
|
12
|
+
message: string;
|
|
13
|
+
except: never[];
|
|
14
|
+
isEmpty: never[];
|
|
15
|
+
init(): void;
|
|
16
|
+
static createValidator(type: any, model: any, attributes: any, params?: never[]): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Validator.d.ts","sourceRoot":"","sources":["../../src/validators/Validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,SAAS,CAAC;AAElC,qBAAa,SAAU,SAAQ,SAAS;IACpC,OAAc,iBAAiB;;;MAG9B;IAGD;;;OAGG;IACI,UAAU,UAAM;IAChB,OAAO,EAAE,MAAM,CAAM;IAErB,MAAM,UAAM;IACZ,OAAO,UAAM;IAEb,IAAI;WAIG,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAK;CAGpF"}
|
package/validators/Validator.js
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface IdentityInterface {
|
|
2
|
+
/**
|
|
3
|
+
* Finds an identity by the given ID.
|
|
4
|
+
* @param string|int $id the ID to be looked for
|
|
5
|
+
* @return IdentityInterface|null the identity object that matches the given ID.
|
|
6
|
+
* Null should be returned if such an identity cannot be found
|
|
7
|
+
* or the identity is not in an active state (disabled, deleted, etc.)
|
|
8
|
+
*/
|
|
9
|
+
findIdentity(id: number): any;
|
|
10
|
+
/**
|
|
11
|
+
* Finds an identity by the given token.
|
|
12
|
+
* For example, [[\yii\filters\auth\HttpBearerAuth]] will set this parameter to be `yii\filters\auth\HttpBearerAuth`.
|
|
13
|
+
* @return IdentityInterface|null the identity object that matches the given token.
|
|
14
|
+
* Null should be returned if such an identity cannot be found
|
|
15
|
+
* or the identity is not in an active state (disabled, deleted, etc.)
|
|
16
|
+
* @param token
|
|
17
|
+
* @param type
|
|
18
|
+
*/
|
|
19
|
+
findIdentityByAccessToken(token: any, type: string): any;
|
|
20
|
+
/**
|
|
21
|
+
* Returns an ID that can uniquely identify a user identity.
|
|
22
|
+
* @return string|int an ID that uniquely identifies a user identity.
|
|
23
|
+
*/
|
|
24
|
+
getId(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a key that can be used to check the validity of a given identity ID.
|
|
27
|
+
*
|
|
28
|
+
* The key should be unique for each individual user, and should be persistent
|
|
29
|
+
* so that it can be used to check the validity of the user identity.
|
|
30
|
+
*
|
|
31
|
+
* The space of such keys should be big enough to defeat potential identity attacks.
|
|
32
|
+
*
|
|
33
|
+
* The returned key is used to validate session and auto-login (if [[User::enableAutoLogin]] is enabled).
|
|
34
|
+
*
|
|
35
|
+
* Make sure to invalidate earlier issued authKeys when you implement force user logout, password change and
|
|
36
|
+
* other scenarios, that require forceful access revocation for old sessions.
|
|
37
|
+
*
|
|
38
|
+
* @return string|null a key that is used to check the validity of a given identity ID.
|
|
39
|
+
* @see validateAuthKey()
|
|
40
|
+
*/
|
|
41
|
+
getAuthKey(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Validates the given auth key.
|
|
44
|
+
*
|
|
45
|
+
* @param string $authKey the given auth key
|
|
46
|
+
* @return bool|null whether the given auth key is valid.
|
|
47
|
+
* @see getAuthKey()
|
|
48
|
+
*/
|
|
49
|
+
validateAuthKey(authKey: string): (boolean | null);
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
can(permissionName: string, params: any[], allowCaching: boolean): (boolean | null);
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=IdentityInterface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentityInterface.d.ts","sourceRoot":"","sources":["../../src/web/IdentityInterface.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAC9B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,CAAA;IAE7B;;;;;;;;OAQG;IACH,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;IAEzD;;;OAGG;IACH,KAAK,IAAI,MAAM,CAAC;IAEhB;;;;;;;;;;;;;;;OAeG;IACH,UAAU,IAAI,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAGnD;;OAEG;IACH,GAAG,CAAC,cAAc,EAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,EAAI,YAAY,EAAE,OAAO,GAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CAE1F"}
|
package/web/IdentityInterface.js
CHANGED
package/web/WebUser.d.ts
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Component } from "../base/Component";
|
|
2
|
+
import { IdentityInterface } from "./IdentityInterface";
|
|
3
|
+
import { AuthManager } from "../rbac/AuthManager";
|
|
4
|
+
export declare class WebUser extends Component {
|
|
5
|
+
/**
|
|
6
|
+
* @var string the class name of the [[identity]] object.
|
|
7
|
+
*/
|
|
8
|
+
identityClass: any;
|
|
9
|
+
private _identity;
|
|
10
|
+
/**
|
|
11
|
+
* @var CheckAccessInterface|string|array The access checker object to use for checking access or the application
|
|
12
|
+
* component ID of the access checker.
|
|
13
|
+
* If not set the application auth manager will be used.
|
|
14
|
+
* @since 2.0.9
|
|
15
|
+
*/
|
|
16
|
+
accessChecker: any;
|
|
17
|
+
get identity(): any;
|
|
18
|
+
set identity(value: any);
|
|
19
|
+
init(): void;
|
|
20
|
+
getIsGuest(): boolean;
|
|
21
|
+
getIdentity(autoRenew?: boolean): any;
|
|
22
|
+
loginRequired(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Regenerates CSRF token
|
|
25
|
+
*
|
|
26
|
+
* @since 2.0.14.2
|
|
27
|
+
*/
|
|
28
|
+
protected regenerateCsrfToken(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Logs in a user by the given access token.
|
|
31
|
+
* @param token
|
|
32
|
+
* @param type
|
|
33
|
+
*/
|
|
34
|
+
loginByAccessToken(token: any, type?: any): Promise<any>;
|
|
35
|
+
login(identity: IdentityInterface, duration?: number): boolean;
|
|
36
|
+
beforeLogin(identity: any, cookieBased: boolean, duration: number): boolean;
|
|
37
|
+
afterLogin(): void;
|
|
38
|
+
getId(): any;
|
|
39
|
+
/**
|
|
40
|
+
* Checks if the user can perform the operation as specified by the given permission.
|
|
41
|
+
*
|
|
42
|
+
* Note that you must configure "authManager" application component in order to use this method.
|
|
43
|
+
* Otherwise it will always return false.
|
|
44
|
+
*
|
|
45
|
+
* @param string $permissionName the name of the permission (e.g. "edit post") that needs access check.
|
|
46
|
+
* @param array $params name-value pairs that would be passed to the rules associated
|
|
47
|
+
* with the roles and permissions assigned to the user.
|
|
48
|
+
* @param bool $allowCaching whether to allow caching the result of access check.
|
|
49
|
+
* When this parameter is true (default), if the access check of an operation was performed
|
|
50
|
+
* before, its result will be directly returned when calling this method to check the same
|
|
51
|
+
* operation. If this parameter is false, this method will always call
|
|
52
|
+
* [[\yii\rbac\CheckAccessInterface::checkAccess()]] to obtain the up-to-date access result. Note that this
|
|
53
|
+
* caching is effective only within the same request and only works when `$params = []`.
|
|
54
|
+
* @return bool whether the user can perform the operation as specified by the given permission.
|
|
55
|
+
*/
|
|
56
|
+
can(permissionName: string, params?: never[], allowCaching?: boolean): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Returns auth manager associated with the user component.
|
|
59
|
+
*
|
|
60
|
+
* By default this is the `authManager` application component.
|
|
61
|
+
* You may override this method to return a different auth manager instance if needed.
|
|
62
|
+
* @return \yii\rbac\ManagerInterface
|
|
63
|
+
* @since 2.0.6
|
|
64
|
+
*/
|
|
65
|
+
protected getAuthManager(): AuthManager;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the access checker used for checking access.
|
|
68
|
+
* @return CheckAccessInterface
|
|
69
|
+
*/
|
|
70
|
+
protected getAccessChecker(): AuthManager;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=WebUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebUser.d.ts","sourceRoot":"","sources":["../../src/web/WebUser.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;AAEhD,qBAAa,OAAQ,SAAQ,SAAS;IAElC;;OAEG;IACI,aAAa,EAAE,GAAG,CAAC;IAC1B,OAAO,CAAC,SAAS,CAAM;IACvB;;;;;OAKG;IACI,aAAa,EAAE,GAAG,CAAQ;IAGjC,IAAI,QAAQ,QAEX;IAED,IAAI,QAAQ,CAAC,KAAK,KAAA,EAEjB;IAEM,IAAI;IAYJ,UAAU;IAIV,WAAW,CAAC,SAAS,UAAO;IAI5B,aAAa;IAMpB;;;;OAIG;IACH,SAAS,CAAC,mBAAmB;IAI7B;;;;OAIG;IACU,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,GAAE,GAAU;IAcrD,KAAK,CAAC,QAAQ,EAAE,iBAAiB,EAAE,QAAQ,SAAI,GAAG,OAAO;IAQzD,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM;IAKjE,UAAU;IAIV,KAAK;IAKZ;;;;;;;;;;;;;;;;OAgBG;IAiBU,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,UAAK,EAAE,YAAY,UAAO;IAkBzE;;;;;;;OAOG;IACH,SAAS,CAAC,cAAc,IAAI,WAAW;IAIvC;;;OAGG;IACH,SAAS,CAAC,gBAAgB,IAAG,WAAW;CAK3C"}
|
package/web/WebUser.js
CHANGED