@wssto2/vue-core 0.5.3 → 0.6.0
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/CHANGELOG.md +32 -0
- package/README.md +3 -1
- package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-Bv-APkGf.js → ActionRow.vue_vue_type_script_setup_true_lang-D8NCXX4p.js} +1 -1
- package/dist/{Activity-DUjDaPfP.js → Activity-DGodh6BU.js} +4 -4
- package/dist/{Changes-B0tZO6BZ.js → Changes-38u4xY6e.js} +3 -3
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-o_Pj-JcD.js → CollectionPage.vue_vue_type_script_setup_true_lang-DPcCnrjr.js} +3 -3
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-CDg31ZU7.js → DateField.vue_vue_type_script_setup_true_lang-BxUuUypB.js} +1 -1
- package/dist/{DeadLetters-IgVHao84.js → DeadLetters-CeHfhFHP.js} +6 -5
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-CSgT4ITL.js → FormGroup.vue_vue_type_script_setup_true_lang-CNb2CK01.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-D31Hk3pJ.js → FormView.vue_vue_type_script_setup_true_lang-nyz8EkzM.js} +1 -1
- package/dist/{General-C40HxupS.js → General-BNTjPvat.js} +6 -6
- package/dist/{NewRolePage-Bhy8KJO1.js → NewRolePage-Btg7gzzH.js} +7 -6
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-BdS7BxuS.js → NumberField.vue_vue_type_script_setup_true_lang-C8um4ARi.js} +1 -1
- package/dist/PersonAccess.vue_vue_type_script_setup_true_lang-ClmawvYm.js +600 -0
- package/dist/{ProfilePage-Bf7dFzGd.js → ProfilePage-CoZyG11N.js} +9 -9
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-C6oloGIh.js → RoleEditor.vue_vue_type_script_setup_true_lang-Bs9bo0Zb.js} +30 -29
- package/dist/{RolePage-BjbvciTg.js → RolePage-CPlwZA6X.js} +37 -35
- package/dist/{RolesPage-DzVOgF4z.js → RolesPage-CdYdIHR4.js} +29 -27
- package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-DXe_iOS8.js → SegmentedField.vue_vue_type_script_setup_true_lang-B_hBL5f4.js} +1 -1
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BN4vzvV9.js → SelectField.vue_vue_type_script_setup_true_lang-CBZhGNpm.js} +4 -4
- package/dist/ServiceAccountDialog.vue_vue_type_script_setup_true_lang-DuvSSBbX.js +126 -0
- package/dist/ServiceAccountRecord-BtaUZuWU.js +511 -0
- package/dist/ServiceAccountsList-CcRJvNaf.js +137 -0
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-PuWIK-Wa.js → SessionList.vue_vue_type_script_setup_true_lang-VvBB2EZz.js} +2 -2
- package/dist/{Sessions-CRUObe5G.js → Sessions-DkGNO1FO.js} +2 -2
- package/dist/{SettingsPage-C0qEC0uI.js → SettingsPage-D4G1HGbG.js} +8 -8
- package/dist/{SignIn-Uy0Jujzz.js → SignIn-DS1YymqD.js} +4 -4
- package/dist/{SignInPage-CpVZfrLZ.js → SignInPage-BrmL0PUw.js} +3 -3
- package/dist/{SignIns-Cp5Gx2dk.js → SignIns-C7l7IPHQ.js} +1 -1
- package/dist/{SwitchField.vue_vue_type_script_setup_true_lang-Dj5Aq8QT.js → SwitchField.vue_vue_type_script_setup_true_lang-DXZK89A3.js} +1 -1
- package/dist/{TextField.vue_vue_type_script_setup_true_lang-BwfNNQEz.js → TextField.vue_vue_type_script_setup_true_lang-CX3LdZLK.js} +2 -2
- package/dist/{TextareaField.vue_vue_type_script_setup_true_lang-aT1P8Xqr.js → TextareaField.vue_vue_type_script_setup_true_lang-BOtn_1GT.js} +1 -1
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-jPKPE1hc.js → TimeField.vue_vue_type_script_setup_true_lang-CbflIrq6.js} +1 -1
- package/dist/{UserRecord-DbSMnTbj.js → UserRecord-Du8M_kuk.js} +25 -25
- package/dist/{UsersList-9MicE2pG.js → UsersList-D3ydQice.js} +13 -13
- package/dist/access/api.d.ts +7 -8
- package/dist/access/context.d.ts +2 -7
- package/dist/access/feature.d.ts +0 -8
- package/dist/access/index.js +47 -15
- package/dist/client/client.d.ts +2 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/route.d.ts +22 -3
- package/dist/collection/http.d.ts +3 -2
- package/dist/collection/index.js +17 -16
- package/dist/form/index.js +586 -611
- package/dist/http-nz92KjdS.js +42 -0
- package/dist/i18n/index.js +32 -32
- package/dist/identity/index.d.ts +7 -0
- package/dist/identity/index.js +19 -15
- package/dist/identity/serviceaccounts/ApiKeysPanel.vue.d.ts +17 -0
- package/dist/identity/serviceaccounts/CreatedApiKeyDialog.vue.d.ts +53 -0
- package/dist/identity/serviceaccounts/NewApiKeyDialog.vue.d.ts +24 -0
- package/dist/identity/serviceaccounts/ServiceAccountDialog.vue.d.ts +22 -0
- package/dist/identity/serviceaccounts/ServiceAccountRecord.vue.d.ts +2 -0
- package/dist/identity/serviceaccounts/ServiceAccountsList.vue.d.ts +2 -0
- package/dist/identity/serviceaccounts/access.d.ts +4 -0
- package/dist/identity/serviceaccounts/api.d.ts +27 -0
- package/dist/identity/serviceaccounts/context.d.ts +14 -0
- package/dist/identity/serviceaccounts/feature.d.ts +23 -0
- package/dist/identity/serviceaccounts/form.d.ts +4 -0
- package/dist/identity/serviceaccounts/messages.d.ts +11 -0
- package/dist/identity/serviceaccounts/routes.d.ts +22 -0
- package/dist/{index-Ok29ucE3.js → index-Cmj9iZmT.js} +191 -168
- package/dist/{index-C-oM_Mnf.js → index-DH0MoFqg.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/copyText.d.ts +5 -0
- package/dist/modules/access/routes.d.ts +13 -13
- package/dist/modules/events/routes.d.ts +4 -4
- package/dist/modules/identity/routes.d.ts +31 -31
- package/dist/modules/notification/routes.d.ts +16 -16
- package/dist/modules/serviceaccount/entities.d.ts +127 -0
- package/dist/modules/serviceaccount/routes.d.ts +58 -0
- package/dist/modules/serviceaccount/schemas.d.ts +49 -0
- package/dist/{neighbors-Bv6vnWlW.js → neighbors-DNZuGlQH.js} +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{options-Bu0XbEpN.js → options-e_CAfvDQ.js} +3 -3
- package/dist/phone/index.js +1 -1
- package/dist/refusals-COPr15XZ.js +135 -0
- package/dist/routes-CVckt7Pj.js +19 -0
- package/dist/state-BC1Fc6U2.js +154 -0
- package/dist/{status-C78NpXyB.js → status-C8XtnK6m.js} +7 -6
- package/dist/styles.css +1 -1
- package/dist/{suggestions-ClyLexMO.js → suggestions-cPjs5gQz.js} +1 -1
- package/dist/{useCommand-DyuPTosF.js → useCommand-CfG727e8.js} +1 -1
- package/dist/{useGroupSheet-C2NyqWRp.js → useGroupSheet-BVcNDWbP.js} +2 -2
- package/dist/useRecordDialog-D65FF85F.js +30 -0
- package/package.json +2 -2
- package/dist/http-CdQowFlW.js +0 -194
- package/dist/index-BdGnA1Jh.js +0 -765
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The version of @wssto2/vue-core (kept equal to package.json by index.test.ts). */
|
|
2
|
-
export declare const version = "0.
|
|
2
|
+
export declare const version = "0.6.0";
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Puts `text` on the clipboard and says whether it got there. The async clipboard needs a secure page; on any other (a local
|
|
3
|
+
* address over plain HTTP) the old selection-and-copy still works, so a secret that cannot be shown again is not lost for want of a button.
|
|
4
|
+
*/
|
|
5
|
+
export declare function copyText(text: string): Promise<boolean>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { BindableRoles, Binding, Replaced, Role, RoleComparison, RoleHolders, RoleList, ScopeOptions, SubjectAccess } from "./entities";
|
|
2
2
|
export declare const accessRoutes: {
|
|
3
|
-
readonly rolesList: import("../../client").ApiRoute<void, RoleList>;
|
|
3
|
+
readonly rolesList: import("../../client").ApiRoute<void, RoleList, unknown>;
|
|
4
4
|
readonly rolesShow: import("../../client").ApiRoute<{
|
|
5
5
|
ref: string;
|
|
6
|
-
}, Role>;
|
|
6
|
+
}, Role, unknown>;
|
|
7
7
|
readonly rolesHolders: import("../../client").ApiRoute<{
|
|
8
8
|
ref: string;
|
|
9
|
-
}, RoleHolders>;
|
|
9
|
+
}, RoleHolders, unknown>;
|
|
10
10
|
readonly rolesCompare: import("../../client").ApiRoute<{
|
|
11
11
|
ref: string;
|
|
12
12
|
with: string;
|
|
13
|
-
}, RoleComparison>;
|
|
13
|
+
}, RoleComparison, unknown>;
|
|
14
14
|
readonly rolesCreate: import("../../client").ApiRoute<{
|
|
15
15
|
name: string;
|
|
16
16
|
description: string;
|
|
@@ -22,7 +22,7 @@ export declare const accessRoutes: {
|
|
|
22
22
|
attribute: string;
|
|
23
23
|
values: string[];
|
|
24
24
|
}[];
|
|
25
|
-
}, Role>;
|
|
25
|
+
}, Role, unknown>;
|
|
26
26
|
readonly rolesUpdate: import("../../client").ApiRoute<{
|
|
27
27
|
ref: string;
|
|
28
28
|
name: string;
|
|
@@ -35,33 +35,33 @@ export declare const accessRoutes: {
|
|
|
35
35
|
attribute: string;
|
|
36
36
|
values: string[];
|
|
37
37
|
}[];
|
|
38
|
-
}, Role>;
|
|
38
|
+
}, Role, unknown>;
|
|
39
39
|
readonly rolesDelete: import("../../client").ApiRoute<{
|
|
40
40
|
ref: string;
|
|
41
|
-
}, void>;
|
|
41
|
+
}, void, unknown>;
|
|
42
42
|
readonly rolesReplace: import("../../client").ApiRoute<{
|
|
43
43
|
ref: string;
|
|
44
44
|
with: string;
|
|
45
|
-
}, Replaced>;
|
|
45
|
+
}, Replaced, unknown>;
|
|
46
46
|
readonly bindable: import("../../client").ApiRoute<{
|
|
47
47
|
level: string;
|
|
48
48
|
scope_id: number;
|
|
49
|
-
}, BindableRoles>;
|
|
49
|
+
}, BindableRoles, unknown>;
|
|
50
50
|
readonly subjectsAccess: import("../../client").ApiRoute<{
|
|
51
51
|
id: number;
|
|
52
|
-
}, SubjectAccess>;
|
|
52
|
+
}, SubjectAccess, unknown>;
|
|
53
53
|
readonly subjectsScopes: import("../../client").ApiRoute<{
|
|
54
54
|
id: number;
|
|
55
|
-
}, ScopeOptions>;
|
|
55
|
+
}, ScopeOptions, unknown>;
|
|
56
56
|
readonly subjectsBind: import("../../client").ApiRoute<{
|
|
57
57
|
id: number;
|
|
58
58
|
role_ref: string;
|
|
59
59
|
level: string;
|
|
60
60
|
scope_id?: number | null | undefined;
|
|
61
|
-
}, Binding>;
|
|
61
|
+
}, Binding, unknown>;
|
|
62
62
|
readonly subjectsUnbind: import("../../client").ApiRoute<{
|
|
63
63
|
id: number;
|
|
64
64
|
binding_id: number;
|
|
65
|
-
}, void>;
|
|
65
|
+
}, void, unknown>;
|
|
66
66
|
readonly me: import("../../client").RawRoute;
|
|
67
67
|
};
|
|
@@ -5,13 +5,13 @@ export declare const eventsRoutes: {
|
|
|
5
5
|
consumer?: string | undefined;
|
|
6
6
|
page?: number | undefined;
|
|
7
7
|
per_page?: number | undefined;
|
|
8
|
-
}, ListResult<DeadLetterRow
|
|
8
|
+
}, ListResult<DeadLetterRow>, unknown>;
|
|
9
9
|
readonly deadLettersRetry: import("../../client").ApiRoute<{
|
|
10
10
|
event: number;
|
|
11
11
|
consumer: string;
|
|
12
|
-
}, Retried>;
|
|
12
|
+
}, Retried, unknown>;
|
|
13
13
|
readonly deadLettersRetryAll: import("../../client").ApiRoute<{
|
|
14
14
|
consumer: string;
|
|
15
|
-
}, Retried>;
|
|
16
|
-
readonly consumers: import("../../client").ApiRoute<void, ConsumerNames>;
|
|
15
|
+
}, Retried, unknown>;
|
|
16
|
+
readonly consumers: import("../../client").ApiRoute<void, ConsumerNames, unknown>;
|
|
17
17
|
};
|
|
@@ -4,19 +4,19 @@ export declare const identityRoutes: {
|
|
|
4
4
|
readonly login: import("../../client").ApiRoute<{
|
|
5
5
|
login: string;
|
|
6
6
|
password: string;
|
|
7
|
-
}, SessionResponse>;
|
|
7
|
+
}, SessionResponse, unknown>;
|
|
8
8
|
readonly refresh: import("../../client").ApiRoute<{
|
|
9
9
|
refresh_token: string;
|
|
10
|
-
}, SessionResponse>;
|
|
11
|
-
readonly logout: import("../../client").ApiRoute<void, void>;
|
|
12
|
-
readonly me: import("../../client").ApiRoute<void, SessionResponse>;
|
|
10
|
+
}, SessionResponse, unknown>;
|
|
11
|
+
readonly logout: import("../../client").ApiRoute<void, void, unknown>;
|
|
12
|
+
readonly me: import("../../client").ApiRoute<void, SessionResponse, unknown>;
|
|
13
13
|
readonly changeLocale: import("../../client").ApiRoute<{
|
|
14
14
|
locale: string;
|
|
15
|
-
}, void>;
|
|
15
|
+
}, void, unknown>;
|
|
16
16
|
readonly loginAs: import("../../client").ApiRoute<{
|
|
17
17
|
user_id: number;
|
|
18
|
-
}, SessionResponse>;
|
|
19
|
-
readonly loginAsReturn: import("../../client").ApiRoute<void, SessionResponse>;
|
|
18
|
+
}, SessionResponse, unknown>;
|
|
19
|
+
readonly loginAsReturn: import("../../client").ApiRoute<void, SessionResponse, unknown>;
|
|
20
20
|
readonly usersList: import("../../client").ApiRoute<{
|
|
21
21
|
view?: "inactive" | "all" | "locked" | "active" | undefined;
|
|
22
22
|
search?: string | undefined;
|
|
@@ -24,10 +24,10 @@ export declare const identityRoutes: {
|
|
|
24
24
|
order_dir?: string | undefined;
|
|
25
25
|
page?: number | undefined;
|
|
26
26
|
per_page?: number | undefined;
|
|
27
|
-
}, ListResult<UserRow
|
|
27
|
+
}, ListResult<UserRow>, unknown>;
|
|
28
28
|
readonly usersShow: import("../../client").ApiRoute<{
|
|
29
29
|
id: number;
|
|
30
|
-
}, UserDetail>;
|
|
30
|
+
}, UserDetail, unknown>;
|
|
31
31
|
readonly usersCreate: import("../../client").ApiRoute<{
|
|
32
32
|
login: string;
|
|
33
33
|
name: string;
|
|
@@ -35,7 +35,7 @@ export declare const identityRoutes: {
|
|
|
35
35
|
locale: string;
|
|
36
36
|
password: string;
|
|
37
37
|
phone?: string | undefined;
|
|
38
|
-
}, UserDetail>;
|
|
38
|
+
}, UserDetail, unknown>;
|
|
39
39
|
readonly usersUpdate: import("../../client").ApiRoute<{
|
|
40
40
|
id: number;
|
|
41
41
|
login: string;
|
|
@@ -43,32 +43,32 @@ export declare const identityRoutes: {
|
|
|
43
43
|
email: string;
|
|
44
44
|
locale: string;
|
|
45
45
|
phone?: string | undefined;
|
|
46
|
-
}, UserDetail>;
|
|
46
|
+
}, UserDetail, unknown>;
|
|
47
47
|
readonly usersSetPassword: import("../../client").ApiRoute<{
|
|
48
48
|
id: number;
|
|
49
49
|
password: string;
|
|
50
|
-
}, void>;
|
|
50
|
+
}, void, unknown>;
|
|
51
51
|
readonly usersDeactivate: import("../../client").ApiRoute<{
|
|
52
52
|
id: number;
|
|
53
|
-
}, void>;
|
|
53
|
+
}, void, unknown>;
|
|
54
54
|
readonly usersActivate: import("../../client").ApiRoute<{
|
|
55
55
|
id: number;
|
|
56
|
-
}, void>;
|
|
56
|
+
}, void, unknown>;
|
|
57
57
|
readonly usersUnlock: import("../../client").ApiRoute<{
|
|
58
58
|
id: number;
|
|
59
|
-
}, UnlockResult>;
|
|
59
|
+
}, UnlockResult, unknown>;
|
|
60
60
|
readonly usersSignins: import("../../client").ApiRoute<{
|
|
61
61
|
id: number;
|
|
62
62
|
view?: "all" | "failed" | undefined;
|
|
63
63
|
page?: number | undefined;
|
|
64
64
|
per_page?: number | undefined;
|
|
65
|
-
}, ListResult<SignInRow
|
|
65
|
+
}, ListResult<SignInRow>, unknown>;
|
|
66
66
|
readonly usersChanges: import("../../client").ApiRoute<{
|
|
67
67
|
id: number;
|
|
68
68
|
view?: "details" | "all" | "access" | undefined;
|
|
69
69
|
page?: number | undefined;
|
|
70
70
|
per_page?: number | undefined;
|
|
71
|
-
}, ListResult<ChangeRow
|
|
71
|
+
}, ListResult<ChangeRow>, unknown>;
|
|
72
72
|
readonly usersActivity: import("../../client").ApiRoute<{
|
|
73
73
|
id: number;
|
|
74
74
|
area?: string | undefined;
|
|
@@ -76,43 +76,43 @@ export declare const identityRoutes: {
|
|
|
76
76
|
to?: string | undefined;
|
|
77
77
|
page?: number | undefined;
|
|
78
78
|
per_page?: number | undefined;
|
|
79
|
-
}, ListResult<ActivityRow
|
|
79
|
+
}, ListResult<ActivityRow>, unknown>;
|
|
80
80
|
readonly usersSessions: import("../../client").ApiRoute<{
|
|
81
81
|
id: number;
|
|
82
|
-
}, SessionList>;
|
|
82
|
+
}, SessionList, unknown>;
|
|
83
83
|
readonly usersRevokeSession: import("../../client").ApiRoute<{
|
|
84
84
|
id: number;
|
|
85
85
|
session_id: number;
|
|
86
|
-
}, void>;
|
|
86
|
+
}, void, unknown>;
|
|
87
87
|
readonly usersRevokeSessions: import("../../client").ApiRoute<{
|
|
88
88
|
id: number;
|
|
89
|
-
}, void>;
|
|
90
|
-
readonly profileShow: import("../../client").ApiRoute<void, ProfileResponse>;
|
|
89
|
+
}, void, unknown>;
|
|
90
|
+
readonly profileShow: import("../../client").ApiRoute<void, ProfileResponse, unknown>;
|
|
91
91
|
readonly profileUpdate: import("../../client").ApiRoute<{
|
|
92
92
|
name: string;
|
|
93
93
|
phone?: string | undefined;
|
|
94
|
-
}, ProfileResponse>;
|
|
94
|
+
}, ProfileResponse, unknown>;
|
|
95
95
|
readonly profileChangePassword: import("../../client").ApiRoute<{
|
|
96
96
|
current_password: string;
|
|
97
97
|
new_password: string;
|
|
98
98
|
new_password_confirmation: string;
|
|
99
|
-
}, void>;
|
|
99
|
+
}, void, unknown>;
|
|
100
100
|
readonly profileRequestEmail: import("../../client").ApiRoute<{
|
|
101
101
|
email: string;
|
|
102
102
|
current_password: string;
|
|
103
|
-
}, PendingEmail>;
|
|
104
|
-
readonly profileResendEmail: import("../../client").ApiRoute<void, PendingEmail>;
|
|
103
|
+
}, PendingEmail, unknown>;
|
|
104
|
+
readonly profileResendEmail: import("../../client").ApiRoute<void, PendingEmail, unknown>;
|
|
105
105
|
readonly profileConfirmEmail: import("../../client").ApiRoute<{
|
|
106
106
|
code: string;
|
|
107
|
-
}, ProfileResponse>;
|
|
108
|
-
readonly profileCancelEmail: import("../../client").ApiRoute<void, void>;
|
|
107
|
+
}, ProfileResponse, unknown>;
|
|
108
|
+
readonly profileCancelEmail: import("../../client").ApiRoute<void, void, unknown>;
|
|
109
109
|
readonly profileSignins: import("../../client").ApiRoute<{
|
|
110
110
|
view?: "all" | "failed" | undefined;
|
|
111
111
|
page?: number | undefined;
|
|
112
112
|
per_page?: number | undefined;
|
|
113
|
-
}, ListResult<SignInRow
|
|
114
|
-
readonly profileSessions: import("../../client").ApiRoute<void, SessionList>;
|
|
113
|
+
}, ListResult<SignInRow>, unknown>;
|
|
114
|
+
readonly profileSessions: import("../../client").ApiRoute<void, SessionList, unknown>;
|
|
115
115
|
readonly profileRevokeSession: import("../../client").ApiRoute<{
|
|
116
116
|
session_id: number;
|
|
117
|
-
}, void>;
|
|
117
|
+
}, void, unknown>;
|
|
118
118
|
};
|
|
@@ -3,48 +3,48 @@ export declare const notificationRoutes: {
|
|
|
3
3
|
readonly list: import("../../client").ApiRoute<{
|
|
4
4
|
before_id?: number | undefined;
|
|
5
5
|
limit?: number | undefined;
|
|
6
|
-
}, Page>;
|
|
7
|
-
readonly unread: import("../../client").ApiRoute<void, UnreadCount>;
|
|
6
|
+
}, Page, unknown>;
|
|
7
|
+
readonly unread: import("../../client").ApiRoute<void, UnreadCount, unknown>;
|
|
8
8
|
readonly read: import("../../client").ApiRoute<{
|
|
9
9
|
id: number;
|
|
10
|
-
}, UnreadCount>;
|
|
10
|
+
}, UnreadCount, unknown>;
|
|
11
11
|
readonly readAll: import("../../client").ApiRoute<{
|
|
12
12
|
up_to_id: number;
|
|
13
|
-
}, UnreadCount>;
|
|
13
|
+
}, UnreadCount, unknown>;
|
|
14
14
|
readonly stream: import("../../client").RawRoute;
|
|
15
|
-
readonly test: import("../../client").ApiRoute<void, void>;
|
|
16
|
-
readonly preferences: import("../../client").ApiRoute<void, Preferences>;
|
|
15
|
+
readonly test: import("../../client").ApiRoute<void, void, unknown>;
|
|
16
|
+
readonly preferences: import("../../client").ApiRoute<void, Preferences, unknown>;
|
|
17
17
|
readonly preferencesSetEmail: import("../../client").ApiRoute<{
|
|
18
18
|
category: string;
|
|
19
19
|
email: boolean | null;
|
|
20
|
-
}, CategorySettings>;
|
|
20
|
+
}, CategorySettings, unknown>;
|
|
21
21
|
readonly quietHours: import("../../client").ApiRoute<{
|
|
22
22
|
enabled: boolean;
|
|
23
23
|
start: number;
|
|
24
24
|
end: number;
|
|
25
|
-
}, QuietHours>;
|
|
25
|
+
}, QuietHours, unknown>;
|
|
26
26
|
readonly preferencesSetPush: import("../../client").ApiRoute<{
|
|
27
27
|
category: string;
|
|
28
28
|
push: boolean | null;
|
|
29
|
-
}, CategorySettings>;
|
|
30
|
-
readonly push: import("../../client").ApiRoute<void, PushConfig>;
|
|
31
|
-
readonly devices: import("../../client").ApiRoute<void, DeviceList>;
|
|
29
|
+
}, CategorySettings, unknown>;
|
|
30
|
+
readonly push: import("../../client").ApiRoute<void, PushConfig, unknown>;
|
|
31
|
+
readonly devices: import("../../client").ApiRoute<void, DeviceList, unknown>;
|
|
32
32
|
readonly deviceSubscribe: import("../../client").ApiRoute<{
|
|
33
33
|
endpoint: string;
|
|
34
34
|
p256dh: string;
|
|
35
35
|
auth: string;
|
|
36
|
-
}, Device>;
|
|
36
|
+
}, Device, unknown>;
|
|
37
37
|
readonly deviceUnsubscribe: import("../../client").ApiRoute<{
|
|
38
38
|
endpoint: string;
|
|
39
|
-
}, DeviceList>;
|
|
39
|
+
}, DeviceList, unknown>;
|
|
40
40
|
readonly deviceRename: import("../../client").ApiRoute<{
|
|
41
41
|
id: number;
|
|
42
42
|
label: string;
|
|
43
|
-
}, Device>;
|
|
43
|
+
}, Device, unknown>;
|
|
44
44
|
readonly deviceRemove: import("../../client").ApiRoute<{
|
|
45
45
|
id: number;
|
|
46
|
-
}, DeviceList>;
|
|
46
|
+
}, DeviceList, unknown>;
|
|
47
47
|
readonly deviceTest: import("../../client").ApiRoute<{
|
|
48
48
|
id: number;
|
|
49
|
-
}, DeviceList>;
|
|
49
|
+
}, DeviceList, unknown>;
|
|
50
50
|
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
export type AccountTenant = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
export type ApiKey = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
prefix: string;
|
|
9
|
+
created_by: PersonRef;
|
|
10
|
+
created_at: string;
|
|
11
|
+
last_used_at: string | null;
|
|
12
|
+
expires_at: string | null;
|
|
13
|
+
revoked_at: string | null;
|
|
14
|
+
};
|
|
15
|
+
export type ApiKeyList = {
|
|
16
|
+
keys: ApiKey[];
|
|
17
|
+
};
|
|
18
|
+
export type BindableRoles = {
|
|
19
|
+
roles: Role[];
|
|
20
|
+
};
|
|
21
|
+
export type Binding = {
|
|
22
|
+
id: number;
|
|
23
|
+
role: RoleSummary;
|
|
24
|
+
scope: Scope;
|
|
25
|
+
created_by: BindingPersonRef | null;
|
|
26
|
+
created_at: string;
|
|
27
|
+
};
|
|
28
|
+
export type BindingPersonRef = {
|
|
29
|
+
id: number;
|
|
30
|
+
name: string;
|
|
31
|
+
};
|
|
32
|
+
export type Constraint = {
|
|
33
|
+
attribute: string;
|
|
34
|
+
values: string[];
|
|
35
|
+
};
|
|
36
|
+
export type CreatedApiKey = {
|
|
37
|
+
key: ApiKey;
|
|
38
|
+
secret: string;
|
|
39
|
+
};
|
|
40
|
+
export type EffectiveGrant = {
|
|
41
|
+
qualifier: string;
|
|
42
|
+
scope: Scope;
|
|
43
|
+
attrs: Constraint[];
|
|
44
|
+
binding_id: number;
|
|
45
|
+
role_key: string;
|
|
46
|
+
role_name: string;
|
|
47
|
+
};
|
|
48
|
+
export type EffectivePermission = {
|
|
49
|
+
permission: string;
|
|
50
|
+
grants: EffectiveGrant[];
|
|
51
|
+
unavailable: boolean;
|
|
52
|
+
};
|
|
53
|
+
export type Grant = {
|
|
54
|
+
permission: string;
|
|
55
|
+
qualifier: string;
|
|
56
|
+
};
|
|
57
|
+
export type PersonRef = {
|
|
58
|
+
id: number;
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
export type Role = {
|
|
62
|
+
ref: string;
|
|
63
|
+
id: number | null;
|
|
64
|
+
key: string | null;
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
predefined: boolean;
|
|
68
|
+
computed: boolean;
|
|
69
|
+
attrs: Constraint[];
|
|
70
|
+
holders: number;
|
|
71
|
+
permission_count: number;
|
|
72
|
+
grants: Grant[];
|
|
73
|
+
};
|
|
74
|
+
export type RoleSummary = {
|
|
75
|
+
ref: string;
|
|
76
|
+
id: number | null;
|
|
77
|
+
key: string | null;
|
|
78
|
+
name: string;
|
|
79
|
+
description: string;
|
|
80
|
+
predefined: boolean;
|
|
81
|
+
computed: boolean;
|
|
82
|
+
attrs: Constraint[];
|
|
83
|
+
holders: number;
|
|
84
|
+
permission_count: number;
|
|
85
|
+
};
|
|
86
|
+
export type Scope = {
|
|
87
|
+
level: string;
|
|
88
|
+
id: number | null;
|
|
89
|
+
name: string | null;
|
|
90
|
+
};
|
|
91
|
+
export type ScopeOption = {
|
|
92
|
+
level: string;
|
|
93
|
+
id: number;
|
|
94
|
+
name: string;
|
|
95
|
+
parent_level: string;
|
|
96
|
+
parent_id: number | null;
|
|
97
|
+
};
|
|
98
|
+
export type ScopeOptions = {
|
|
99
|
+
root_level: string;
|
|
100
|
+
root: boolean;
|
|
101
|
+
places: ScopeOption[];
|
|
102
|
+
};
|
|
103
|
+
export type ServiceAccount = {
|
|
104
|
+
id: number;
|
|
105
|
+
name: string;
|
|
106
|
+
description: string;
|
|
107
|
+
tenant: AccountTenant | null;
|
|
108
|
+
owner: PersonRef;
|
|
109
|
+
created_by: PersonRef;
|
|
110
|
+
created_at: string;
|
|
111
|
+
active_keys: number;
|
|
112
|
+
last_used_at: string | null;
|
|
113
|
+
deactivated_at: string | null;
|
|
114
|
+
};
|
|
115
|
+
export type ServiceAccountList = {
|
|
116
|
+
service_accounts: ServiceAccount[];
|
|
117
|
+
};
|
|
118
|
+
export type SubjectAccess = {
|
|
119
|
+
subject: SubjectRef;
|
|
120
|
+
bindings: Binding[];
|
|
121
|
+
effective: EffectivePermission[];
|
|
122
|
+
can_manage: boolean;
|
|
123
|
+
};
|
|
124
|
+
export type SubjectRef = {
|
|
125
|
+
kind: string;
|
|
126
|
+
id: number;
|
|
127
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ApiKeyList, BindableRoles, Binding, CreatedApiKey, ScopeOptions, ServiceAccount, ServiceAccountList, SubjectAccess } from "./entities";
|
|
2
|
+
export declare const serviceaccountRoutes: {
|
|
3
|
+
readonly index: import("../../client").ApiRoute<void, ServiceAccountList, unknown>;
|
|
4
|
+
readonly show: import("../../client").ApiRoute<{
|
|
5
|
+
id: number;
|
|
6
|
+
}, ServiceAccount, unknown>;
|
|
7
|
+
readonly create: import("../../client").ApiRoute<{
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
owner_id: number;
|
|
11
|
+
tenant_id?: number | null | undefined;
|
|
12
|
+
}, ServiceAccount, unknown>;
|
|
13
|
+
readonly update: import("../../client").ApiRoute<{
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
owner_id: number;
|
|
17
|
+
tenant_id?: number | null | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
id: number;
|
|
20
|
+
}, ServiceAccount, unknown>;
|
|
21
|
+
readonly deactivate: import("../../client").ApiRoute<{
|
|
22
|
+
id: number;
|
|
23
|
+
}, ServiceAccount, unknown>;
|
|
24
|
+
readonly keys: import("../../client").ApiRoute<{
|
|
25
|
+
id: number;
|
|
26
|
+
}, ApiKeyList, unknown>;
|
|
27
|
+
readonly createkey: import("../../client").ApiRoute<{
|
|
28
|
+
name: string;
|
|
29
|
+
expires_at?: string | null | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
id: number;
|
|
32
|
+
}, CreatedApiKey, unknown>;
|
|
33
|
+
readonly revokekey: import("../../client").ApiRoute<{
|
|
34
|
+
keyID: number;
|
|
35
|
+
} & {
|
|
36
|
+
id: number;
|
|
37
|
+
}, void, unknown>;
|
|
38
|
+
readonly bindableroles: import("../../client").ApiRoute<{
|
|
39
|
+
level: string;
|
|
40
|
+
scope_id: number;
|
|
41
|
+
}, BindableRoles, unknown>;
|
|
42
|
+
readonly access: import("../../client").ApiRoute<{
|
|
43
|
+
id: number;
|
|
44
|
+
}, SubjectAccess, unknown>;
|
|
45
|
+
readonly scopes: import("../../client").ApiRoute<{
|
|
46
|
+
id: number;
|
|
47
|
+
}, ScopeOptions, unknown>;
|
|
48
|
+
readonly bind: import("../../client").ApiRoute<{
|
|
49
|
+
id: number;
|
|
50
|
+
role_ref: string;
|
|
51
|
+
level: string;
|
|
52
|
+
scope_id?: number | null | undefined;
|
|
53
|
+
}, Binding, unknown>;
|
|
54
|
+
readonly unbind: import("../../client").ApiRoute<{
|
|
55
|
+
id: number;
|
|
56
|
+
binding_id: number;
|
|
57
|
+
}, void, unknown>;
|
|
58
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AccountPathSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type AccountPath = z.infer<typeof AccountPathSchema>;
|
|
6
|
+
export declare const BindInputSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodNumber;
|
|
8
|
+
role_ref: z.ZodString;
|
|
9
|
+
level: z.ZodString;
|
|
10
|
+
scope_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type BindInput = z.infer<typeof BindInputSchema>;
|
|
13
|
+
export declare const BindableInputSchema: z.ZodObject<{
|
|
14
|
+
level: z.ZodString;
|
|
15
|
+
scope_id: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type BindableInput = z.infer<typeof BindableInputSchema>;
|
|
18
|
+
export declare const KeyRequestSchema: z.ZodObject<{
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type KeyRequest = z.infer<typeof KeyRequestSchema>;
|
|
23
|
+
export declare const RevokeRequestSchema: z.ZodObject<{
|
|
24
|
+
keyID: z.ZodNumber;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type RevokeRequest = z.infer<typeof RevokeRequestSchema>;
|
|
27
|
+
export declare const SaveInputSchema: z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
description: z.ZodString;
|
|
30
|
+
tenant_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
owner_id: z.ZodNumber;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type SaveInput = z.infer<typeof SaveInputSchema>;
|
|
34
|
+
export declare const SubjectInputSchema: z.ZodObject<{
|
|
35
|
+
id: z.ZodNumber;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type SubjectInput = z.infer<typeof SubjectInputSchema>;
|
|
38
|
+
export declare const UnbindInputSchema: z.ZodObject<{
|
|
39
|
+
id: z.ZodNumber;
|
|
40
|
+
binding_id: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type UnbindInput = z.infer<typeof UnbindInputSchema>;
|
|
43
|
+
export declare const UpdateRequestSchema: z.ZodObject<{
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
description: z.ZodString;
|
|
46
|
+
tenant_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
owner_id: z.ZodNumber;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export type UpdateRequest = z.infer<typeof UpdateRequestSchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as j, ref as z, shallowRef as I, watch as F, getCurrentScope as J, onScopeDispose as Q } from "vue";
|
|
2
2
|
import { useRoute as O } from "vue-router";
|
|
3
3
|
import { a as N } from "./error-Bb_dr_Ay.js";
|
|
4
|
-
import { L as k, d as B, e as D, o as U, q as V } from "./
|
|
4
|
+
import { L as k, d as B, e as D, o as U, q as V } from "./state-BC1Fc6U2.js";
|
|
5
5
|
function K(l, t, n, g) {
|
|
6
6
|
return typeof t == "string" ? t : { ...t, query: { ...t.query, [n]: D(l, g) } };
|
|
7
7
|
}
|
package/dist/phone/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as fe, useModel as me, useTemplateRef as F, ref as E, computed as g, watch as ne, nextTick as A, openBlock as w, createElementBlock as $, createElementVNode as f, normalizeClass as P, unref as s, createVNode as M, toDisplayString as T, normalizeStyle as xe, Fragment as ee, renderList as le, createCommentVNode as J, withModifiers as we, withDirectives as _e, vModelText as ke, mergeModels as ae, inject as Ce, shallowRef as $e, onBeforeUnmount as De, createBlock as Me, mergeProps as Te, createSlots as Se, withCtx as ie, createTextVNode as Ne, renderSlot as Ie, mergeDefaults as Pe } from "vue";
|
|
2
2
|
import { useI18n as pe } from "vue-i18n";
|
|
3
3
|
import { b as Ve } from "../controlSurface-t7OEFESJ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as se, a as Oe, e as Re, _ as Be, f as Ee, b as ze } from "../options-e_CAfvDQ.js";
|
|
5
5
|
import { _ as q } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
6
6
|
import { _ as ue } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
|
|
7
7
|
import { u as Fe } from "../anchored-DpuUwf-9.js";
|