@webx-ui/module-auth 0.10.1 → 0.11.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/dist/AdminsPage.d.ts +16 -2
- package/dist/KeyDialog.d.ts +2 -0
- package/dist/KeyList.d.ts +7 -0
- package/dist/clipboard.d.ts +8 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1682 -1073
- package/dist/index.js.map +1 -1
- package/dist/keys.d.ts +12 -0
- package/dist/module.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/types.d.ts +47 -0
- package/package.json +2 -2
package/dist/AdminsPage.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ import { Admin } from './types';
|
|
|
9
9
|
* and a screen that takes over the page for that loses the list you were reading — which is
|
|
10
10
|
* where you decide who to open next.
|
|
11
11
|
*
|
|
12
|
-
* The calls and the
|
|
12
|
+
* The calls, the connections and the keys are further views of the same section rather than sections of
|
|
13
13
|
* their own: "who did what" is a question about these people, whether a hand or a program was
|
|
14
14
|
* at the other end. A route each rather than panels of one, because each has its own paging
|
|
15
15
|
* and filters, and a view that quietly resets both when you come back to it is worse than a
|
|
16
16
|
* second address. The calls are behind `admins.audit`, the permission the sign-in trail is
|
|
17
17
|
* behind; everybody's connections are behind `admins.manage`, the one that is about other
|
|
18
|
-
* people's accounts.
|
|
18
|
+
* people's accounts. Keys are behind it too: a key speaks for the administrator it names.
|
|
19
19
|
*
|
|
20
20
|
* The heading and `Add` used to live inside the card, which made this the one section of the
|
|
21
21
|
* panel with no line of its own at the top. They stand outside it now, where every other list
|
|
@@ -35,6 +35,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
35
35
|
resolveAvatar: (key: string) => Promise<string | null>;
|
|
36
36
|
current: AdminsView;
|
|
37
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
|
+
keys: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
39
|
+
reload: () => Promise<void>;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
41
|
+
root: HTMLDivElement;
|
|
42
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
43
|
+
P: {};
|
|
44
|
+
B: {};
|
|
45
|
+
D: {};
|
|
46
|
+
C: {};
|
|
47
|
+
M: {};
|
|
48
|
+
Defaults: {};
|
|
49
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
50
|
+
reload: () => Promise<void>;
|
|
51
|
+
}, {}, {}, {}, {}> | null;
|
|
38
52
|
list: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
39
53
|
picking?: boolean;
|
|
40
54
|
multiple?: boolean;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function load(): Promise<void>;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
3
|
+
reload: typeof load;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
5
|
+
root: HTMLDivElement;
|
|
6
|
+
}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copying, with the old way behind it.
|
|
3
|
+
*
|
|
4
|
+
* The clipboard API is missing outside a secure context and refused inside some frames, and the
|
|
5
|
+
* things this package copies — the address agents connect to, a key shown once — are exactly
|
|
6
|
+
* where "it did not work and said nothing" is worst. Resolves whether it worked.
|
|
7
|
+
*/
|
|
8
|
+
export declare function copyText(value: string): Promise<boolean>;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,13 +31,15 @@ export declare function auth(options?: AuthOptions): AdminPlugin;
|
|
|
31
31
|
export { admins, connect, type AdminsOptions, type AdminsView, type ConnectOptions } from './module';
|
|
32
32
|
export { createAdminsApi, type AdminsApi } from './admins';
|
|
33
33
|
export { createConnectionsApi, type ConnectionsApi } from './connections';
|
|
34
|
+
export { createKeysApi, type KeysApi } from './keys';
|
|
34
35
|
export { selectAdmin, selectAdmins, type AdminPickerOptions } from './selectAdmin';
|
|
35
36
|
export { default as WxAdminsPage } from './AdminsPage';
|
|
36
37
|
export { default as WxAdminList } from './AdminList';
|
|
37
38
|
export { default as WxAgentCallList } from './CallList';
|
|
38
39
|
export { default as WxConnectionList } from './ConnectionList';
|
|
39
40
|
export { default as WxConnectPage } from './ConnectPage';
|
|
40
|
-
export
|
|
41
|
+
export { default as WxKeyList } from './KeyList';
|
|
42
|
+
export type { Admin, AdminInput, AdminPage, AdminQuery, AdminRole, AgentCall, AgentCallFilters, AgentCallOutcome, AgentCallPage, AgentCallQuery, Connection, ConnectionScope, Connections, IssuedMcpKey, McpKey, McpKeyInput, McpKeys, Role, } from './types';
|
|
41
43
|
export { createAuthSession, provideAuth, useAuth, authKey, avatarFieldKey, avatarResolverKey, type ProfileInput, } from './session';
|
|
42
44
|
export { default as WxProfileDialog } from './ProfileDialog';
|
|
43
45
|
export type { AuthSession, AvatarResolver, Credentials } from './session';
|