@authup/client-web-kit 1.0.0-beta.12 → 1.0.0-beta.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/dist/components/AEntityDelete.d.ts +7 -7
- package/dist/components/client/AClient.d.ts +2 -2
- package/dist/components/client/AClientForm.d.ts +3 -3
- package/dist/components/client/AClientRedirectUrisItem.d.ts +2 -2
- package/dist/components/client/AClients.d.ts +6 -6
- package/dist/components/client-scope/AClientScope.d.ts +2 -2
- package/dist/components/client-scope/AClientScopeAssignment.d.ts +2 -2
- package/dist/components/client-scope/AClientScopes.d.ts +6 -6
- package/dist/components/identity-provider/AIdentityProvider.d.ts +2 -2
- package/dist/components/identity-provider/AIdentityProviderBasicFields.d.ts +3 -1
- package/dist/components/identity-provider/AIdentityProviderBasicFields.d.ts.map +1 -1
- package/dist/components/identity-provider/AIdentityProviderForm.d.ts +3 -3
- package/dist/components/identity-provider/AIdentityProviderLdapForm.d.ts +3 -3
- package/dist/components/identity-provider/AIdentityProviderOAuth2Discovery.d.ts +3 -2
- package/dist/components/identity-provider/AIdentityProviderOAuth2Discovery.d.ts.map +1 -1
- package/dist/components/identity-provider/AIdentityProviderOAuth2Form.d.ts +3 -3
- package/dist/components/identity-provider/AIdentityProviders.d.ts +6 -6
- package/dist/components/identity-provider-role/AIdentityProviderRoleAssignment.d.ts +2 -2
- package/dist/components/permission/APermission.d.ts +2 -2
- package/dist/components/permission/APermissionForm.d.ts +4 -8
- package/dist/components/permission/APermissionForm.d.ts.map +1 -1
- package/dist/components/permission/APermissions.d.ts +6 -6
- package/dist/components/realm/ARealm.d.ts +2 -2
- package/dist/components/realm/ARealmForm.d.ts +2 -2
- package/dist/components/realm/ARealms.d.ts +6 -6
- package/dist/components/realm/helpers/form-picker.d.ts +7 -0
- package/dist/components/realm/helpers/form-picker.d.ts.map +1 -0
- package/dist/components/realm/helpers/index.d.ts +2 -0
- package/dist/components/realm/helpers/index.d.ts.map +1 -0
- package/dist/components/robot/ARobot.d.ts +2 -2
- package/dist/components/robot/ARobotForm.d.ts +3 -3
- package/dist/components/robot/ARobots.d.ts +6 -6
- package/dist/components/robot-permission/ARobotPermissionAssignment.d.ts +2 -2
- package/dist/components/robot-role/ARobotRoleAssignment.d.ts +2 -2
- package/dist/components/role/ARole.d.ts +2 -2
- package/dist/components/role/ARoleForm.d.ts +2 -2
- package/dist/components/role/ARoleForm.d.ts.map +1 -1
- package/dist/components/role/ARoles.d.ts +6 -6
- package/dist/components/role-permission/ARolePermissionAssignment.d.ts +2 -2
- package/dist/components/scope/AScope.d.ts +2 -2
- package/dist/components/scope/AScopeForm.d.ts +2 -14
- package/dist/components/scope/AScopeForm.d.ts.map +1 -1
- package/dist/components/scope/AScopes.d.ts +6 -6
- package/dist/components/user/AUser.d.ts +2 -2
- package/dist/components/user/AUserForm.d.ts +3 -3
- package/dist/components/user/AUserPasswordForm.d.ts +3 -3
- package/dist/components/user/AUsers.d.ts +6 -6
- package/dist/components/user-permission/AUserPermissionAssignment.d.ts +2 -2
- package/dist/components/user-role/AUserRoleAssignment.d.ts +2 -2
- package/dist/components/utility/search/ASearch.d.ts +3 -1
- package/dist/components/utility/search/ASearch.d.ts.map +1 -1
- package/dist/components/utility/search/module.d.ts +3 -2
- package/dist/components/utility/search/module.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/use-ability-check.d.ts +3 -0
- package/dist/composables/use-ability-check.d.ts.map +1 -0
- package/dist/composables/use-realm-resource-writable-check.d.ts +3 -0
- package/dist/composables/use-realm-resource-writable-check.d.ts.map +1 -0
- package/dist/core/http-client/index.d.ts +4 -0
- package/dist/core/http-client/index.d.ts.map +1 -0
- package/dist/core/http-client/install.d.ts +4 -0
- package/dist/core/http-client/install.d.ts.map +1 -0
- package/dist/core/http-client/singleton.d.ts +7 -0
- package/dist/core/http-client/singleton.d.ts.map +1 -0
- package/dist/core/http-client/types.d.ts +6 -0
- package/dist/core/http-client/types.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/socket-client-manager/index.d.ts +1 -0
- package/dist/core/socket-client-manager/index.d.ts.map +1 -1
- package/dist/core/socket-client-manager/install.d.ts +6 -0
- package/dist/core/socket-client-manager/install.d.ts.map +1 -0
- package/dist/core/store/constants.d.ts +2 -0
- package/dist/core/store/constants.d.ts.map +1 -0
- package/dist/core/store/{module.d.ts → create.d.ts} +12 -7
- package/dist/core/store/create.d.ts.map +1 -0
- package/dist/core/store/index.d.ts +4 -2
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/install.d.ts +4 -0
- package/dist/core/store/install.d.ts.map +1 -0
- package/dist/core/store/singleton.d.ts +6 -7
- package/dist/core/store/singleton.d.ts.map +1 -1
- package/dist/core/store/types.d.ts +27 -0
- package/dist/core/store/types.d.ts.map +1 -0
- package/dist/core/vuelidate.d.ts +1 -1
- package/dist/core/vuelidate.d.ts.map +1 -1
- package/dist/index.cjs +1414 -550
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1411 -559
- package/dist/index.mjs.map +1 -1
- package/dist/module.d.ts +5 -0
- package/dist/module.d.ts.map +1 -0
- package/dist/types.d.ts +11 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +16 -13
- package/dist/core/api-client.d.ts +0 -6
- package/dist/core/api-client.d.ts.map +0 -1
- package/dist/core/store/module.d.ts.map +0 -1
- package/dist/core/store/type.d.ts +0 -13
- package/dist/core/store/type.d.ts.map +0 -1
|
@@ -34,10 +34,10 @@ export declare const AScope: import("vue").DefineComponent<{
|
|
|
34
34
|
type: import("vue").PropType<import("rapiq").BuildInput<Scope>>;
|
|
35
35
|
};
|
|
36
36
|
}>> & {
|
|
37
|
+
onFailed?: (item: Error) => any;
|
|
37
38
|
onCreated?: (item: Scope) => any;
|
|
38
|
-
onUpdated?: (item: Scope) => any;
|
|
39
39
|
onDeleted?: (item: Scope) => any;
|
|
40
|
-
|
|
40
|
+
onUpdated?: (item: Scope) => any;
|
|
41
41
|
onResolved?: (_item?: Scope) => any;
|
|
42
42
|
}, {}, SlotsType<EntityManagerSlotsType<Scope>>>;
|
|
43
43
|
//# sourceMappingURL=AScope.d.ts.map
|
|
@@ -7,11 +7,6 @@ export declare const AScopeForm: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
entity: {
|
|
9
9
|
type: PropType<Scope>;
|
|
10
|
-
default: any;
|
|
11
|
-
};
|
|
12
|
-
realmId: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: any;
|
|
15
10
|
};
|
|
16
11
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
12
|
[key: string]: any;
|
|
@@ -22,22 +17,15 @@ export declare const AScopeForm: import("vue").DefineComponent<{
|
|
|
22
17
|
};
|
|
23
18
|
entity: {
|
|
24
19
|
type: PropType<Scope>;
|
|
25
|
-
default: any;
|
|
26
|
-
};
|
|
27
|
-
realmId: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: any;
|
|
30
20
|
};
|
|
31
21
|
}>> & {
|
|
22
|
+
onFailed?: (item: Error) => any;
|
|
32
23
|
onCreated?: (item: Scope) => any;
|
|
33
|
-
onUpdated?: (item: Scope) => any;
|
|
34
24
|
onDeleted?: (item: Scope) => any;
|
|
35
|
-
|
|
25
|
+
onUpdated?: (item: Scope) => any;
|
|
36
26
|
onResolved?: (_item?: Scope) => any;
|
|
37
27
|
}, {
|
|
38
28
|
name: string;
|
|
39
|
-
realmId: string;
|
|
40
|
-
entity: Scope;
|
|
41
29
|
}, {}>;
|
|
42
30
|
export default AScopeForm;
|
|
43
31
|
//# sourceMappingURL=AScopeForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AScopeForm.d.ts","sourceRoot":"","sources":["../../../src/components/scope/AScopeForm.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACR,QAAQ,EAEX,MAAM,KAAK,CAAC;AAYb,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"AScopeForm.d.ts","sourceRoot":"","sources":["../../../src/components/scope/AScopeForm.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACR,QAAQ,EAEX,MAAM,KAAK,CAAC;AAYb,OAAO,KAAK,EACR,KAAK,EACR,MAAM,kBAAkB,CAAC;AAyB1B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;MAkKrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -67,16 +67,16 @@ export declare const AScopes: import("vue").DefineComponent<{
|
|
|
67
67
|
};
|
|
68
68
|
}>> & {
|
|
69
69
|
onCreated?: (item: Scope) => any;
|
|
70
|
-
onUpdated?: (item: Scope) => any;
|
|
71
70
|
onDeleted?: (item: Scope) => any;
|
|
71
|
+
onUpdated?: (item: Scope) => any;
|
|
72
72
|
}, {
|
|
73
|
-
footer: boolean;
|
|
74
|
-
header: boolean;
|
|
75
|
-
realmId: string;
|
|
76
|
-
noMore: boolean;
|
|
77
|
-
loading: boolean;
|
|
78
73
|
query: {};
|
|
74
|
+
realmId: string;
|
|
79
75
|
loadOnSetup: boolean;
|
|
76
|
+
loading: boolean;
|
|
77
|
+
noMore: boolean;
|
|
78
|
+
footer: boolean;
|
|
79
|
+
header: boolean;
|
|
80
80
|
}, SlotsType<ListSlotsType<Scope>>>;
|
|
81
81
|
export default AScopes;
|
|
82
82
|
//# sourceMappingURL=AScopes.d.ts.map
|
|
@@ -34,10 +34,10 @@ export declare const AUser: import("vue").DefineComponent<{
|
|
|
34
34
|
type: import("vue").PropType<import("rapiq").BuildInput<User>>;
|
|
35
35
|
};
|
|
36
36
|
}>> & {
|
|
37
|
+
onFailed?: (item: Error) => any;
|
|
37
38
|
onCreated?: (item: User) => any;
|
|
38
|
-
onUpdated?: (item: User) => any;
|
|
39
39
|
onDeleted?: (item: User) => any;
|
|
40
|
-
|
|
40
|
+
onUpdated?: (item: User) => any;
|
|
41
41
|
onResolved?: (_item?: User) => any;
|
|
42
42
|
}, {}, SlotsType<EntityManagerSlotsType<User>>>;
|
|
43
43
|
//# sourceMappingURL=AUser.d.ts.map
|
|
@@ -29,14 +29,14 @@ export declare const AUserForm: import("vue").DefineComponent<{
|
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
31
|
}>> & {
|
|
32
|
+
onFailed?: (item: Error) => any;
|
|
32
33
|
onCreated?: (item: User) => any;
|
|
33
|
-
onUpdated?: (item: User) => any;
|
|
34
34
|
onDeleted?: (item: User) => any;
|
|
35
|
-
|
|
35
|
+
onUpdated?: (item: User) => any;
|
|
36
36
|
onResolved?: (_item?: User) => any;
|
|
37
37
|
}, {
|
|
38
|
-
realmId: string;
|
|
39
38
|
entity: User;
|
|
39
|
+
realmId: string;
|
|
40
40
|
canManage: boolean;
|
|
41
41
|
}, {}>;
|
|
42
42
|
export default AUserForm;
|
|
@@ -5,16 +5,16 @@ export declare const AUserPasswordForm: import("vue").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("failed" | "created" | "deleted" | "updated")[], "failed" | "created" | "deleted" | "updated", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
id: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>> & {
|
|
14
|
+
onFailed?: (...args: any[]) => any;
|
|
14
15
|
onCreated?: (...args: any[]) => any;
|
|
15
|
-
onUpdated?: (...args: any[]) => any;
|
|
16
16
|
onDeleted?: (...args: any[]) => any;
|
|
17
|
-
|
|
17
|
+
onUpdated?: (...args: any[]) => any;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
export default AUserPasswordForm;
|
|
20
20
|
//# sourceMappingURL=AUserPasswordForm.d.ts.map
|
|
@@ -67,16 +67,16 @@ export declare const AUsers: import("vue").DefineComponent<{
|
|
|
67
67
|
};
|
|
68
68
|
}>> & {
|
|
69
69
|
onCreated?: (item: User) => any;
|
|
70
|
-
onUpdated?: (item: User) => any;
|
|
71
70
|
onDeleted?: (item: User) => any;
|
|
71
|
+
onUpdated?: (item: User) => any;
|
|
72
72
|
}, {
|
|
73
|
-
footer: boolean;
|
|
74
|
-
header: boolean;
|
|
75
|
-
realmId: string;
|
|
76
|
-
noMore: boolean;
|
|
77
|
-
loading: boolean;
|
|
78
73
|
query: {};
|
|
74
|
+
realmId: string;
|
|
79
75
|
loadOnSetup: boolean;
|
|
76
|
+
loading: boolean;
|
|
77
|
+
noMore: boolean;
|
|
78
|
+
footer: boolean;
|
|
79
|
+
header: boolean;
|
|
80
80
|
}, SlotsType<ListSlotsType<User>>>;
|
|
81
81
|
export default AUsers;
|
|
82
82
|
//# sourceMappingURL=AUsers.d.ts.map
|
|
@@ -8,10 +8,10 @@ export declare const AUserPermissionAssignment: import("vue").DefineComponent<{
|
|
|
8
8
|
userId: StringConstructor;
|
|
9
9
|
permissionId: StringConstructor;
|
|
10
10
|
}>> & {
|
|
11
|
+
onFailed?: (item: Error) => any;
|
|
11
12
|
onCreated?: (item: UserPermission) => any;
|
|
12
|
-
onUpdated?: (item: UserPermission) => any;
|
|
13
13
|
onDeleted?: (item: UserPermission) => any;
|
|
14
|
-
|
|
14
|
+
onUpdated?: (item: UserPermission) => any;
|
|
15
15
|
onResolved?: (_item?: UserPermission) => any;
|
|
16
16
|
}, {}, {}>;
|
|
17
17
|
//# sourceMappingURL=AUserPermissionAssignment.d.ts.map
|
|
@@ -8,10 +8,10 @@ export declare const AUserRoleAssignment: import("vue").DefineComponent<{
|
|
|
8
8
|
roleId: StringConstructor;
|
|
9
9
|
userId: StringConstructor;
|
|
10
10
|
}>> & {
|
|
11
|
+
onFailed?: (item: Error) => any;
|
|
11
12
|
onCreated?: (item: UserRole) => any;
|
|
12
|
-
onUpdated?: (item: UserRole) => any;
|
|
13
13
|
onDeleted?: (item: UserRole) => any;
|
|
14
|
-
|
|
14
|
+
onUpdated?: (item: UserRole) => any;
|
|
15
15
|
onResolved?: (_item?: UserRole) => any;
|
|
16
16
|
}, {}, {}>;
|
|
17
17
|
export default AUserRoleAssignment;
|
|
@@ -21,7 +21,9 @@ export declare const ASearch: import("vue").DefineComponent<{
|
|
|
21
21
|
meta: {
|
|
22
22
|
type: PropType<ListMeta<any>>;
|
|
23
23
|
};
|
|
24
|
-
}, () =>
|
|
24
|
+
}, () => string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}> | import("vue").VNodeArrayChildren, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
27
|
icon: {
|
|
26
28
|
type: BooleanConstructor;
|
|
27
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ASearch.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/search/ASearch.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"ASearch.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/search/ASearch.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAuBH,eAAe;GAY9B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { VNodeChild } from 'vue';
|
|
2
1
|
import type { SearchOptionsInput } from './type';
|
|
3
|
-
export declare function buildListSearch(ctx: SearchOptionsInput):
|
|
2
|
+
export declare function buildListSearch(ctx: SearchOptionsInput): string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}> | import("vue").VNodeArrayChildren;
|
|
4
5
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/search/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../src/components/utility/search/module.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAYjD,wBAAgB,eAAe,CAC3B,GAAG,EAAE,kBAAkB;;sCAoE1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAOA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAOA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-ability-check.d.ts","sourceRoot":"","sources":["../../src/composables/use-ability-check.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI/B,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAI,GAAG,CAAC,OAAO,CAAC,CAoB3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-realm-resource-writable-check.d.ts","sourceRoot":"","sources":["../../src/composables/use-realm-resource-writable-check.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAIzC,wBAAgB,6BAA6B,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAI,GAAG,CAAC,OAAO,CAAC,CASvF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/http-client/index.ts"],"names":[],"mappings":"AAOA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/http-client/install.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,wBAA6B,QAgEjF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '@authup/core-http-kit';
|
|
2
|
+
import type { App } from 'vue';
|
|
3
|
+
export declare const HTTPClientSymbol: unique symbol;
|
|
4
|
+
export declare function provideHTTPClient(client: Client, app?: App): void;
|
|
5
|
+
export declare function hasHTTPClient(app?: App): boolean;
|
|
6
|
+
export declare function injectHTTPClient(app?: App): Client;
|
|
7
|
+
//# sourceMappingURL=singleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/core/http-client/singleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI/B,eAAO,MAAM,gBAAgB,eAAiC,CAAC;AAE/D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,QAE1D;AAED,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,GAAG,GAAI,OAAO,CAEjD;AAED,wBAAgB,gBAAgB,CAAC,GAAG,CAAC,EAAE,GAAG,UAOzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/http-client/types.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAEnC,MAAM,MAAM,wBAAwB,GAAG;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAA;CAChB,CAAC"}
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAOA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAOA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/socket-client-manager/index.ts"],"names":[],"mappings":"AAOA,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/socket-client-manager/index.ts"],"names":[],"mappings":"AAOA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/socket-client-manager/install.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,MAAM,MAAM,iCAAiC,GAAG;IAC5C,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAG,iCAAiC,QAM/F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/core/store/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ,WAAW,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { OAuth2TokenGrantResponse, OAuth2TokenIntrospectionResponse } from '@authup/kit';
|
|
2
2
|
import type { Realm, User } from '@authup/core-kit';
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import { Abilities } from '@authup/kit';
|
|
4
|
+
import type { StoreCreateContext, StoreLoginContext, StoreResolveContext } from './types';
|
|
5
|
+
export declare function createStore(context?: StoreCreateContext): {
|
|
6
|
+
initialized: import("vue").Ref<boolean>;
|
|
7
|
+
setInitialized: (value: boolean) => void;
|
|
8
|
+
abilities: Abilities;
|
|
5
9
|
login: (ctx: StoreLoginContext) => Promise<void>;
|
|
6
10
|
logout: () => void;
|
|
7
11
|
loggedIn: import("vue").ComputedRef<boolean>;
|
|
@@ -85,7 +89,7 @@ export declare const createStore: (context: StoreCreateContext) => {
|
|
|
85
89
|
iat?: number;
|
|
86
90
|
jti?: string;
|
|
87
91
|
kind: "access_token" | "id_token" | "refresh_token";
|
|
88
|
-
sub_kind?: "
|
|
92
|
+
sub_kind?: "user" | "client" | "robot";
|
|
89
93
|
sub_name?: string;
|
|
90
94
|
scope?: string;
|
|
91
95
|
client_id?: string;
|
|
@@ -106,19 +110,21 @@ export declare const createStore: (context: StoreCreateContext) => {
|
|
|
106
110
|
fields?: string[];
|
|
107
111
|
target?: string;
|
|
108
112
|
power?: number;
|
|
113
|
+
realmId?: string;
|
|
109
114
|
}[];
|
|
110
115
|
}>;
|
|
111
116
|
setTokenInfo: (entity?: OAuth2TokenIntrospectionResponse) => void;
|
|
112
117
|
realm: import("vue").Ref<{
|
|
113
|
-
id: string;
|
|
114
118
|
name: string;
|
|
119
|
+
id: string;
|
|
115
120
|
}>;
|
|
116
121
|
realmId: import("vue").ComputedRef<string>;
|
|
122
|
+
realmIsRoot: import("vue").ComputedRef<boolean>;
|
|
117
123
|
realmName: import("vue").ComputedRef<string>;
|
|
118
124
|
setRealm: (entity?: Pick<Realm, 'id' | 'name'>) => void;
|
|
119
125
|
realmManagement: import("vue").Ref<{
|
|
120
|
-
id: string;
|
|
121
126
|
name: string;
|
|
127
|
+
id: string;
|
|
122
128
|
}>;
|
|
123
129
|
realmManagementId: import("vue").ComputedRef<string>;
|
|
124
130
|
realmManagementName: import("vue").ComputedRef<string>;
|
|
@@ -280,6 +286,5 @@ export declare const createStore: (context: StoreCreateContext) => {
|
|
|
280
286
|
}>;
|
|
281
287
|
userId: import("vue").ComputedRef<string>;
|
|
282
288
|
setUser: (entity?: User) => void;
|
|
283
|
-
has: (name: string) => boolean;
|
|
284
289
|
};
|
|
285
|
-
//# sourceMappingURL=
|
|
290
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/core/store/create.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACR,wBAAwB,EACxB,gCAAgC,EACnC,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACR,KAAK,EACL,IAAI,EACP,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EACH,SAAS,EACZ,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE1F,wBAAgB,WAAW,CAAC,OAAO,GAAE,kBAAuB;;4BAMzB,OAAO;;iBA2LZ,iBAAiB;;;oBAzCf,mBAAmB;yCAlHH,wBAAwB;;6BAzBpC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAOI,IAAI,GAAG,MAAM,GAAG,MAAM;;8BAY/B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAkFR,gCAAgC;;;;;;;;wBAhBpC,KAAK,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC;;;;;;;kCAQhB,KAAK,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA1BrC,IAAI;EAgLjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/store/index.ts"],"names":[],"mappings":"AAOA,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/store/index.ts"],"names":[],"mappings":"AAOA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/store/install.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,mBAAwB,QA4IvE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Pinia } from 'pinia';
|
|
2
2
|
import type { App } from 'vue';
|
|
3
|
-
import type {
|
|
4
|
-
type StoreData = ReturnType<typeof createStore>;
|
|
5
|
-
export type Store = BaseStore<string, _ExtractStateFromSetupStore<StoreData>, _ExtractGettersFromSetupStore<StoreData>, _ExtractActionsFromSetupStore<StoreData>>;
|
|
3
|
+
import type { Store, StoreDefinition } from './types';
|
|
6
4
|
export declare const StoreSymbol: unique symbol;
|
|
7
|
-
export declare function
|
|
8
|
-
export declare function
|
|
9
|
-
export
|
|
5
|
+
export declare function useStore(pinia?: Pinia, app?: App): Store;
|
|
6
|
+
export declare function injectStore(app?: App): StoreDefinition;
|
|
7
|
+
export declare function hasStore(app?: App): boolean;
|
|
8
|
+
export declare function provideStore(store: StoreDefinition, app?: App): void;
|
|
10
9
|
//# sourceMappingURL=singleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/core/store/singleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"singleton.d.ts","sourceRoot":"","sources":["../../../src/core/store/singleton.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,WAAW,eAA4B,CAAC;AAErD,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,GAAG,GAAI,KAAK,CAOzD;AAED,wBAAgB,WAAW,CAAC,GAAG,CAAC,EAAE,GAAG,GAAI,eAAe,CAOvD;AAED,wBAAgB,QAAQ,CAAC,GAAG,CAAC,EAAE,GAAG,GAAI,OAAO,CAE5C;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,GAAG,QAE7D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Store as BaseStore, StoreDefinition as BaseStoreDefinition, Pinia, _ExtractActionsFromSetupStore, _ExtractGettersFromSetupStore, _ExtractStateFromSetupStore } from 'pinia';
|
|
2
|
+
import type { CookieGetFn, CookieSetFn, CookieUnsetFn } from '../../types';
|
|
3
|
+
import type { createStore } from './create';
|
|
4
|
+
type StoreData = ReturnType<typeof createStore>;
|
|
5
|
+
export type Store = BaseStore<string, _ExtractStateFromSetupStore<StoreData>, _ExtractGettersFromSetupStore<StoreData>, _ExtractActionsFromSetupStore<StoreData>>;
|
|
6
|
+
export type StoreDefinition = BaseStoreDefinition<string, _ExtractStateFromSetupStore<StoreData>, _ExtractGettersFromSetupStore<StoreData>, _ExtractActionsFromSetupStore<StoreData>>;
|
|
7
|
+
export type StoreCreateContext = {
|
|
8
|
+
baseURL?: string;
|
|
9
|
+
};
|
|
10
|
+
export type StoreResolveContext = {
|
|
11
|
+
refresh?: boolean;
|
|
12
|
+
attempts?: number;
|
|
13
|
+
};
|
|
14
|
+
export type StoreLoginContext = {
|
|
15
|
+
name: string;
|
|
16
|
+
password: string;
|
|
17
|
+
realmId?: string;
|
|
18
|
+
};
|
|
19
|
+
export type StoreInstallOptions = {
|
|
20
|
+
baseURL?: string;
|
|
21
|
+
pinia?: Pinia;
|
|
22
|
+
cookieSet?: CookieSetFn;
|
|
23
|
+
cookieUnset?: CookieUnsetFn;
|
|
24
|
+
cookieGet?: CookieGetFn;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/store/types.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACR,KAAK,IAAI,SAAS,EAClB,eAAe,IAAI,mBAAmB,EACtC,KAAK,EACL,6BAA6B,EAC7B,6BAA6B,EAAE,2BAA2B,EAC7D,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAChD,MAAM,MAAM,KAAK,GAAG,SAAS,CAC7B,MAAM,EACN,2BAA2B,CAAC,SAAS,CAAC,EACtC,6BAA6B,CAAC,SAAS,CAAC,EACxC,6BAA6B,CAAC,SAAS,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,CACjD,MAAM,EACN,2BAA2B,CAAC,SAAS,CAAC,EACtC,6BAA6B,CAAC,SAAS,CAAC,EACxC,6BAA6B,CAAC,SAAS,CAAC,CACvC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAC"}
|
package/dist/core/vuelidate.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export declare const VuelidateCustomRule: {
|
|
|
8
8
|
alphaNumHyphenUnderscore: any;
|
|
9
9
|
alphaUpperNumHyphenUnderscore: any;
|
|
10
10
|
};
|
|
11
|
-
export declare function getVuelidateSeverity<T = unknown, V extends ValidationRuleCollection<T>
|
|
11
|
+
export declare function getVuelidateSeverity<T = unknown, V extends ValidationRuleCollection<T> = ValidationRuleCollection<T>>(vuelidate: BaseValidation<T, V>): "error" | "warning";
|
|
12
12
|
export declare function extractVuelidateResultsFromChild(vuelidate: Ref<Validation>, child: string, keys?: string[]): Record<string, any>;
|
|
13
13
|
//# sourceMappingURL=vuelidate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vuelidate.d.ts","sourceRoot":"","sources":["../../src/core/vuelidate.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,oBAAY,sBAAsB;IAC9B,2BAA2B,6BAA6B;IACxD,iCAAiC,kCAAkC;CACtE;AAED,eAAO,MAAM,mBAAmB;;;CAG/B,CAAC;AAEF,wBAAgB,oBAAoB,CAChC,CAAC,GAAG,OAAO,EACX,CAAC,SAAS,wBAAwB,CAAC,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"vuelidate.d.ts","sourceRoot":"","sources":["../../src/core/vuelidate.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,oBAAY,sBAAsB;IAC9B,2BAA2B,6BAA6B;IACxD,iCAAiC,kCAAkC;CACtE;AAED,eAAO,MAAM,mBAAmB;;;CAG/B,CAAC;AAEF,wBAAgB,oBAAoB,CAChC,CAAC,GAAG,OAAO,EACX,CAAC,SAAS,wBAAwB,CAAC,CAAC,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,EACrE,SAAS,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,uBAEhC;AAED,wBAAgB,gCAAgC,CAAC,SAAS,EAAE,GAAG,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,uBAiB1G"}
|