@authup/client-web-kit 1.0.0-beta.30 → 1.0.0-beta.32
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/entities/identity-provider/AIdentityProviderIcon.d.ts +1 -3
- package/dist/components/entities/identity-provider/AIdentityProviderIcon.d.ts.map +1 -1
- package/dist/components/entities/identity-provider-role/AIdentityProviderRoleAssignment.d.ts.map +1 -1
- package/dist/components/entities/index.d.ts +1 -0
- package/dist/components/entities/index.d.ts.map +1 -1
- package/dist/components/entities/permission/APermissionCheck.d.ts +3 -3
- package/dist/components/entities/permission/APermissionCheck.d.ts.map +1 -1
- package/dist/components/entities/permission/APermissionForm.d.ts.map +1 -1
- package/dist/components/entities/permission-policy/APermissionPolicyAssignment.d.ts +29 -0
- package/dist/components/entities/permission-policy/APermissionPolicyAssignment.d.ts.map +1 -0
- package/dist/components/entities/permission-policy/APermissionPolicyAssignments.d.ts +15 -0
- package/dist/components/entities/permission-policy/APermissionPolicyAssignments.d.ts.map +1 -0
- package/dist/components/entities/permission-policy/index.d.ts +3 -0
- package/dist/components/entities/permission-policy/index.d.ts.map +1 -0
- package/dist/components/entities/policy/APolicyBasicForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/APolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/attribute-names/AAttributeNamesPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/date/ADatePolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/identity/AIdentityPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts +16 -16
- package/dist/components/entities/policy/realm-match/ARealmMatchPolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts +12 -12
- package/dist/components/entities/policy/time/ATimePolicyForm.vue.d.ts.map +1 -1
- package/dist/components/entities/user/AUserForm.d.ts +4 -4
- package/dist/components/entities/user/AUserForm.d.ts.map +1 -1
- package/dist/components/entities/user/AUserPasswordForm.d.ts +8 -5
- package/dist/components/entities/user/AUserPasswordForm.d.ts.map +1 -1
- package/dist/components/utility/entity/collection/utils/handlers.d.ts.map +1 -1
- package/dist/components/utility/entity/picker/types.d.ts.map +1 -1
- package/dist/components/utility/entity/record/types.d.ts +1 -1
- package/dist/components/utility/entity/record/types.d.ts.map +1 -1
- package/dist/components/utility/form-input-list/AFormInputList.vue.d.ts.map +1 -1
- package/dist/components/utility/form-input-list/AFormInputListItem.vue.d.ts.map +1 -1
- package/dist/components/utility/pagination/APagination.d.ts +0 -2
- package/dist/components/utility/pagination/APagination.d.ts.map +1 -1
- package/dist/components/utility/pagination/type.d.ts +1 -1
- package/dist/components/utility/pagination/type.d.ts.map +1 -1
- package/dist/components/utility/search/ASearch.d.ts +2 -2
- package/dist/components/utility/search/ASearch.d.ts.map +1 -1
- package/dist/components/workflows/Login.vue.d.ts +1 -5
- package/dist/components/workflows/Login.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/Authorize.vue.d.ts +38 -6
- package/dist/components/workflows/authorize/Authorize.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts +37 -1
- package/dist/components/workflows/authorize/AuthorizeForm.vue.d.ts.map +1 -1
- package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts +37 -1
- package/dist/components/workflows/authorize/AuthorizeScopes.vue.d.ts.map +1 -1
- package/dist/composables/updated-at.d.ts +1 -1
- package/dist/composables/updated-at.d.ts.map +1 -1
- package/dist/composables/use-permission-check.d.ts +2 -2
- package/dist/composables/use-permission-check.d.ts.map +1 -1
- package/dist/core/permission-check/types.d.ts +2 -2
- package/dist/core/permission-check/types.d.ts.map +1 -1
- package/dist/core/socket-manager/install.d.ts.map +1 -1
- package/dist/core/store/create.d.ts +3 -2
- package/dist/core/store/create.d.ts.map +1 -1
- package/dist/core/store/types.d.ts.map +1 -1
- package/dist/index.css +12 -12
- package/dist/index.mjs +1234 -1573
- package/dist/index.mjs.map +1 -1
- package/package.json +27 -27
|
@@ -99,7 +99,43 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
99
99
|
};
|
|
100
100
|
}>, {
|
|
101
101
|
scopesRequestedNormalized: import("vue").ComputedRef<string[]>;
|
|
102
|
-
scopesAvailableNormalized: import("vue").Ref<
|
|
102
|
+
scopesAvailableNormalized: import("vue").Ref<{
|
|
103
|
+
id: string;
|
|
104
|
+
built_in: boolean;
|
|
105
|
+
name: string;
|
|
106
|
+
display_name: string | null;
|
|
107
|
+
description: string | null;
|
|
108
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
109
|
+
realm: {
|
|
110
|
+
id: string;
|
|
111
|
+
name: string;
|
|
112
|
+
display_name: string | null;
|
|
113
|
+
description: string | null;
|
|
114
|
+
built_in: boolean;
|
|
115
|
+
created_at: string;
|
|
116
|
+
updated_at: string;
|
|
117
|
+
};
|
|
118
|
+
created_at: string;
|
|
119
|
+
updated_at: string;
|
|
120
|
+
}[], Scope[] | {
|
|
121
|
+
id: string;
|
|
122
|
+
built_in: boolean;
|
|
123
|
+
name: string;
|
|
124
|
+
display_name: string | null;
|
|
125
|
+
description: string | null;
|
|
126
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
127
|
+
realm: {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
display_name: string | null;
|
|
131
|
+
description: string | null;
|
|
132
|
+
built_in: boolean;
|
|
133
|
+
created_at: string;
|
|
134
|
+
updated_at: string;
|
|
135
|
+
};
|
|
136
|
+
created_at: string;
|
|
137
|
+
updated_at: string;
|
|
138
|
+
}[]>;
|
|
103
139
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
104
140
|
client: {
|
|
105
141
|
type: PropType<Client>;
|
|
@@ -325,7 +361,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
325
361
|
};
|
|
326
362
|
load: {
|
|
327
363
|
type: PropType<import("../../utility/pagination/type.ts").PaginationLoadFn>;
|
|
328
|
-
required: true;
|
|
329
364
|
};
|
|
330
365
|
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
331
366
|
total: {
|
|
@@ -339,7 +374,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
339
374
|
};
|
|
340
375
|
load: {
|
|
341
376
|
type: PropType<import("../../utility/pagination/type.ts").PaginationLoadFn>;
|
|
342
|
-
required: true;
|
|
343
377
|
};
|
|
344
378
|
}>> & Readonly<{}>, {
|
|
345
379
|
busy: boolean;
|
|
@@ -476,9 +510,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
476
510
|
type: PropType<import("@authup/core-kit").IdentityProvider>;
|
|
477
511
|
required: true;
|
|
478
512
|
};
|
|
479
|
-
}>, () => import("vue").
|
|
480
|
-
[key: string]: any;
|
|
481
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
513
|
+
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
482
514
|
entity: {
|
|
483
515
|
type: PropType<import("@authup/core-kit").IdentityProvider>;
|
|
484
516
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authorize.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/Authorize.vue"],"names":[],"mappings":"AAqJA,OAAO,KAAK,EACR,MAAM,EAAE,8BAA8B,EAAE,KAAK,EAChD,MAAM,k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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEA2EzC,CAAC"}
|
|
@@ -43,7 +43,43 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
43
43
|
};
|
|
44
44
|
}>, {
|
|
45
45
|
scopesRequestedNormalized: import("vue").ComputedRef<string[]>;
|
|
46
|
-
scopesAvailableNormalized: import("vue").Ref<
|
|
46
|
+
scopesAvailableNormalized: import("vue").Ref<{
|
|
47
|
+
id: string;
|
|
48
|
+
built_in: boolean;
|
|
49
|
+
name: string;
|
|
50
|
+
display_name: string | null;
|
|
51
|
+
description: string | null;
|
|
52
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
53
|
+
realm: {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
display_name: string | null;
|
|
57
|
+
description: string | null;
|
|
58
|
+
built_in: boolean;
|
|
59
|
+
created_at: string;
|
|
60
|
+
updated_at: string;
|
|
61
|
+
};
|
|
62
|
+
created_at: string;
|
|
63
|
+
updated_at: string;
|
|
64
|
+
}[], Scope[] | {
|
|
65
|
+
id: string;
|
|
66
|
+
built_in: boolean;
|
|
67
|
+
name: string;
|
|
68
|
+
display_name: string | null;
|
|
69
|
+
description: string | null;
|
|
70
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
71
|
+
realm: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
display_name: string | null;
|
|
75
|
+
description: string | null;
|
|
76
|
+
built_in: boolean;
|
|
77
|
+
created_at: string;
|
|
78
|
+
updated_at: string;
|
|
79
|
+
};
|
|
80
|
+
created_at: string;
|
|
81
|
+
updated_at: string;
|
|
82
|
+
}[]>;
|
|
47
83
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
84
|
client: {
|
|
49
85
|
type: PropType<Client>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizeForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthorizeForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeForm.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,MAAM,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAKf,OAAO,YAAY;AAAxC,wBAAyC;AA8IzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAGhB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;cAPxC,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAGhB,QAAQ,CAAC,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEAoDlE,CAAC"}
|
|
@@ -15,7 +15,43 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
15
15
|
};
|
|
16
16
|
}>, {
|
|
17
17
|
scopesRequestedNormalized: import("vue").ComputedRef<string[]>;
|
|
18
|
-
scopesAvailableNormalized: import("vue").Ref<
|
|
18
|
+
scopesAvailableNormalized: import("vue").Ref<{
|
|
19
|
+
id: string;
|
|
20
|
+
built_in: boolean;
|
|
21
|
+
name: string;
|
|
22
|
+
display_name: string | null;
|
|
23
|
+
description: string | null;
|
|
24
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
25
|
+
realm: {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
display_name: string | null;
|
|
29
|
+
description: string | null;
|
|
30
|
+
built_in: boolean;
|
|
31
|
+
created_at: string;
|
|
32
|
+
updated_at: string;
|
|
33
|
+
};
|
|
34
|
+
created_at: string;
|
|
35
|
+
updated_at: string;
|
|
36
|
+
}[], Scope[] | {
|
|
37
|
+
id: string;
|
|
38
|
+
built_in: boolean;
|
|
39
|
+
name: string;
|
|
40
|
+
display_name: string | null;
|
|
41
|
+
description: string | null;
|
|
42
|
+
realm_id: import("@authup/core-kit").Realm["id"] | null;
|
|
43
|
+
realm: {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
display_name: string | null;
|
|
47
|
+
description: string | null;
|
|
48
|
+
built_in: boolean;
|
|
49
|
+
created_at: string;
|
|
50
|
+
updated_at: string;
|
|
51
|
+
};
|
|
52
|
+
created_at: string;
|
|
53
|
+
updated_at: string;
|
|
54
|
+
}[]>;
|
|
19
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
56
|
client: {
|
|
21
57
|
type: PropType<Client>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeScopes.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAKf,OAAO,YAAY;AAAxC,wBAAyC;AAiDzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAGP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"AuthorizeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/workflows/authorize/AuthorizeScopes.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;wBAKf,OAAO,YAAY;AAAxC,wBAAyC;AAiDzC,QAAA,MAAM,YAAY;;cAIU,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAGP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAPpC,QAAQ,CAAC,MAAM,CAAC;;;;cAIjB,QAAQ,CAAC,KAAK,EAAE,CAAC;;;cAGP,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oEA4C9D,CAAC"}
|
|
@@ -2,6 +2,6 @@ import type { ComputedRef, MaybeRef } from 'vue';
|
|
|
2
2
|
type ObjectLiteral = {
|
|
3
3
|
updated_at: string | Date | undefined;
|
|
4
4
|
};
|
|
5
|
-
export declare function useUpdatedAt<T extends ObjectLiteral>(input?: MaybeRef<T | undefined>): ComputedRef<string | Date | undefined>;
|
|
5
|
+
export declare function useUpdatedAt<T extends ObjectLiteral>(input?: MaybeRef<T | null | undefined>): ComputedRef<string | Date | undefined>;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=updated-at.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updated-at.d.ts","sourceRoot":"","sources":["../../src/composables/updated-at.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAGjD,KAAK,aAAa,GAAG;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACxC,CAAC;AACF,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,GAAG,SAAS,CAAC,GAAI,WAAW,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"updated-at.d.ts","sourceRoot":"","sources":["../../src/composables/updated-at.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAGjD,KAAK,aAAa,GAAG;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACxC,CAAC;AACF,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,GAAI,WAAW,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAQrI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PermissionEvaluationContext } from '@authup/access';
|
|
2
2
|
import type { Ref } from 'vue';
|
|
3
|
-
export declare function usePermissionCheck(ctx:
|
|
3
|
+
export declare function usePermissionCheck(ctx: PermissionEvaluationContext): Ref<boolean>;
|
|
4
4
|
//# sourceMappingURL=use-permission-check.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-permission-check.d.ts","sourceRoot":"","sources":["../../src/composables/use-permission-check.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"use-permission-check.d.ts","sourceRoot":"","sources":["../../src/composables/use-permission-check.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,2BAA2B,GAAI,GAAG,CAAC,OAAO,CAAC,CAIlF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PermissionEvaluationContext } from '@authup/access';
|
|
2
2
|
import type { Pinia } from 'pinia';
|
|
3
3
|
import type { App, Ref } from 'vue';
|
|
4
4
|
import type { Store } from '../store';
|
|
@@ -7,5 +7,5 @@ export type PermissionCheckerReactiveFnCreateContext = {
|
|
|
7
7
|
pinia?: Pinia;
|
|
8
8
|
app?: App;
|
|
9
9
|
};
|
|
10
|
-
export type PermissionCheckerReactiveFn = (ctx:
|
|
10
|
+
export type PermissionCheckerReactiveFn = (ctx: PermissionEvaluationContext) => Ref<boolean>;
|
|
11
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/permission-check/types.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/permission-check/types.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,wCAAwC,GAAG;IACnD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,GAAG,EAAE,2BAA2B,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/socket-manager/install.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAG,2BAA2B,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/core/socket-manager/install.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAG,2BAA2B,QA0BnF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PermissionEvaluator } from '@authup/access';
|
|
2
2
|
import type { OAuth2TokenGrantResponse } from '@authup/specs';
|
|
3
3
|
import type { Realm, User } from '@authup/core-kit';
|
|
4
4
|
import type { StoreCreateContext, StoreLoginContext } from './types';
|
|
@@ -8,11 +8,12 @@ type RealmMinimal = Pick<Realm, 'id' | 'name'>;
|
|
|
8
8
|
export declare function createStore(context: StoreCreateContext): {
|
|
9
9
|
cookiesRead: import("vue").Ref<boolean, boolean>;
|
|
10
10
|
setCookiesRead: (value: boolean) => void;
|
|
11
|
-
|
|
11
|
+
permissionEvaluator: PermissionEvaluator;
|
|
12
12
|
login: (ctx: StoreLoginContext) => Promise<void>;
|
|
13
13
|
logout: () => Promise<void>;
|
|
14
14
|
loggedIn: import("vue").ComputedRef<boolean>;
|
|
15
15
|
resolve: OutputFn<() => Promise<void>>;
|
|
16
|
+
exchangeAuthorizationCode: (code: string) => Promise<void>;
|
|
16
17
|
applyTokenGrantResponse: (response: OAuth2TokenGrantResponse) => void;
|
|
17
18
|
accessToken: import("vue").Ref<string, string>;
|
|
18
19
|
setAccessToken: (input: string | null) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/core/store/create.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/core/store/create.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,mBAAmB,EAGtB,MAAM,gBAAgB,CAAC;AAKxB,OAAO,KAAK,EACR,wBAAwB,EAE3B,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EACR,KAAK,EACL,IAAI,EACP,MAAM,kBAAkB,CAAC;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAErE,KAAK,OAAO,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAChD,KAAK,QAAQ,CAAC,CAAC,SAAS,OAAO,IAAI,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AA8B/F,KAAK,YAAY,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;AAE/C,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB;;4BAMpB,OAAO;;iBAoRZ,iBAAiB;;;4BAlCR,OAAO,CAAC,IAAI,CAAC;sCAmDD,MAAM;wCA7FvC,wBAAwB;;4BAjMP,MAAM,GAAG,IAAI;;sCAYH,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;;6BAgBtC,MAAM,GAAG,IAAI;;;;;;;;;;;sBAiCpB,YAAY,GAAG,IAAI;;;;;;;;;;gCAUT,YAAY,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA7B9B,IAAI,GAAG,IAAI;EA4StC"}
|
|
@@ -1 +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,EAAE,6BAA6B,EAAE,2BAA2B,EAC5F,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;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAChD,MAAM,MAAM,KAAK,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/store/types.ts"],"names":[],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 -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
.identity-provider-picker-item[data-v-
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
min-width: 120px;
|
|
6
|
-
color: #5b646c;
|
|
7
|
-
background-color: #ececec;
|
|
2
|
+
.identity-provider-picker-item[data-v-eb096917] {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
border-radius: 4px;
|
|
5
|
+
min-width: 120px;
|
|
6
|
+
color: #5b646c;
|
|
7
|
+
background-color: #ececec;
|
|
8
8
|
padding: 0.5rem;
|
|
9
9
|
}
|
|
10
|
-
.identity-provider-picker-item.active[data-v-
|
|
11
|
-
.identity-provider-picker-item[data-v-
|
|
12
|
-
.identity-provider-picker-item[data-v-
|
|
13
|
-
background-color: #6d7fcc;
|
|
10
|
+
.identity-provider-picker-item.active[data-v-eb096917],
|
|
11
|
+
.identity-provider-picker-item[data-v-eb096917]:hover,
|
|
12
|
+
.identity-provider-picker-item[data-v-eb096917]:active {
|
|
13
|
+
background-color: #6d7fcc;
|
|
14
14
|
color: #fff;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
.a-picker-item[data-v-3fa3964f] {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
.identity-provider-box[data-v-
|
|
34
|
+
.identity-provider-box[data-v-aa7b46ad] {
|
|
35
35
|
min-width: 150px;
|
|
36
36
|
}
|
|
37
37
|
|