@vuer-ai/vuer-uikit 0.0.103 → 0.0.104
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/auth/context/auth-context.d.cts +3 -5
- package/dist/auth/context/auth-context.d.ts +3 -5
- package/dist/auth/handler/get-session.cjs +11 -0
- package/dist/auth/handler/get-session.d.cts +19 -0
- package/dist/auth/handler/get-session.d.ts +19 -0
- package/dist/auth/handler/get-session.mjs +2 -0
- package/dist/auth/handler/sign-in-handler.cjs +3 -3
- package/dist/auth/handler/sign-in-handler.d.cts +0 -1
- package/dist/auth/handler/sign-in-handler.d.ts +0 -1
- package/dist/auth/handler/sign-in-handler.mjs +2 -2
- package/dist/auth/handler/sign-out-handler.cjs +11 -0
- package/dist/auth/handler/sign-out-handler.d.cts +5 -0
- package/dist/auth/handler/sign-out-handler.d.ts +5 -0
- package/dist/auth/handler/sign-out-handler.mjs +2 -0
- package/dist/auth/hooks/use-vuer-auth.d.cts +0 -1
- package/dist/auth/hooks/use-vuer-auth.d.ts +0 -1
- package/dist/auth/hooks/use-vuer-method.cjs +5 -4
- package/dist/auth/hooks/use-vuer-method.d.cts +2 -3
- package/dist/auth/hooks/use-vuer-method.d.ts +2 -3
- package/dist/auth/hooks/use-vuer-method.mjs +4 -3
- package/dist/auth/index.cjs +9 -13
- package/dist/auth/index.d.cts +1 -2
- package/dist/auth/index.d.ts +1 -2
- package/dist/auth/index.mjs +6 -6
- package/dist/auth/localstorage-key.cjs +2 -6
- package/dist/auth/localstorage-key.d.cts +1 -2
- package/dist/auth/localstorage-key.d.ts +1 -2
- package/dist/auth/localstorage-key.mjs +1 -1
- package/dist/auth/types.cjs +0 -12
- package/dist/auth/types.d.cts +10 -3466
- package/dist/auth/types.d.ts +10 -3466
- package/dist/auth/types.mjs +1 -1
- package/dist/auth/vuer-auth-provider.cjs +4 -5
- package/dist/auth/vuer-auth-provider.mjs +3 -4
- package/dist/{chunk-WGVKFNG6.mjs → chunk-276VJZCV.mjs} +1 -2
- package/dist/chunk-4CPB3XHE.cjs +18 -0
- package/dist/chunk-5HS4PMUR.mjs +45 -0
- package/dist/{chunk-SHHQDSSI.cjs → chunk-7WA7ZFVS.cjs} +2 -2
- package/dist/{chunk-FBAOEFDU.mjs → chunk-AKVHFPXH.mjs} +7 -5
- package/dist/chunk-CGODCUQ5.mjs +16 -0
- package/dist/{chunk-JWUIZX35.mjs → chunk-LDFGQSE4.mjs} +2 -2
- package/dist/{chunk-LSKJOUAE.cjs → chunk-PB4UO2NR.cjs} +3 -4
- package/dist/{chunk-6BD5MQ5R.cjs → chunk-SVWS4AL6.cjs} +0 -2
- package/dist/chunk-T2D6PSA6.cjs +47 -0
- package/dist/chunk-T57VFBIC.mjs +17 -0
- package/dist/chunk-WTYBTOLO.cjs +19 -0
- package/dist/{chunk-JLWAIMUZ.cjs → chunk-XFTKHT2M.cjs} +8 -6
- package/dist/{chunk-7KQXX7QB.mjs → chunk-XGM57WPN.mjs} +2 -3
- package/dist/dial/DialPanel.cjs +17 -17
- package/dist/dial/DialPanel.mjs +16 -16
- package/dist/dial/index.cjs +33 -33
- package/dist/dial/index.mjs +16 -16
- package/dist/dial/wrapped-inputs/ControlledInputs.cjs +21 -21
- package/dist/dial/wrapped-inputs/ControlledInputs.mjs +16 -16
- package/dist/dial/wrapped-inputs/DialInputs.cjs +30 -30
- package/dist/dial/wrapped-inputs/DialInputs.mjs +16 -16
- package/dist/dial/wrapped-inputs/DialPresetsInput.cjs +17 -17
- package/dist/dial/wrapped-inputs/DialPresetsInput.mjs +16 -16
- package/dist/dial/wrapped-inputs/DialVectorInput.cjs +17 -17
- package/dist/dial/wrapped-inputs/DialVectorInput.mjs +16 -16
- package/dist/dial/wrapped-inputs/index.cjs +37 -37
- package/dist/dial/wrapped-inputs/index.mjs +16 -16
- package/dist/index.cjs +88 -88
- package/dist/index.mjs +16 -16
- package/dist/ui/UIKitBadge.cjs +5 -5
- package/dist/ui/UIKitBadge.mjs +1 -1
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/index.cjs +61 -61
- package/dist/ui/index.mjs +14 -14
- package/dist/ui/inputs/index.cjs +10 -10
- package/dist/ui/inputs/index.mjs +2 -2
- package/dist/ui/inputs/input.d.cts +1 -1
- package/dist/ui/inputs/input.d.ts +1 -1
- package/dist/ui/inputs/number-inputs/index.cjs +5 -5
- package/dist/ui/inputs/number-inputs/index.mjs +1 -1
- package/dist/ui/layouts/index.cjs +7 -7
- package/dist/ui/layouts/index.mjs +3 -3
- package/dist/ui/select.d.cts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/textarea.d.cts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/tree-view/index.cjs +9 -9
- package/dist/ui/tree-view/index.mjs +1 -1
- package/dist/ui/waterfall/index.cjs +4 -4
- package/dist/ui/waterfall/index.mjs +3 -3
- package/package.json +1 -1
- package/src/auth/context/auth-context.ts +3 -4
- package/src/auth/handler/get-session.ts +17 -0
- package/src/auth/handler/sign-in-handler.ts +1 -2
- package/src/auth/handler/sign-out-handler.ts +13 -0
- package/src/auth/hooks/use-vuer-method.ts +8 -6
- package/src/auth/localstorage-key.ts +0 -2
- package/src/auth/types.ts +9 -27
- package/src/auth/vuer-auth-provider.tsx +25 -8
- package/dist/auth/handler/create-client.cjs +0 -12
- package/dist/auth/handler/create-client.d.cts +0 -7
- package/dist/auth/handler/create-client.d.ts +0 -7
- package/dist/auth/handler/create-client.mjs +0 -3
- package/dist/chunk-ACYOVCGH.mjs +0 -30
- package/dist/chunk-CHYXRETV.cjs +0 -23
- package/dist/chunk-G6U2K2GR.cjs +0 -32
- package/dist/chunk-HPK4YEVK.cjs +0 -27
- package/dist/chunk-PKSIXQJX.mjs +0 -20
- package/dist/chunk-PZMA33PL.mjs +0 -25
- package/src/auth/handler/create-client.ts +0 -23
- package/dist/{chunk-I2BVWNRP.cjs → chunk-5QDNFK4H.cjs} +3 -3
- package/dist/{chunk-YLDDI6SZ.mjs → chunk-77FMULFB.mjs} +3 -3
- package/dist/{chunk-5SP25SO3.cjs → chunk-7RHQ6DVU.cjs} +2 -2
- package/dist/{chunk-YHY6SXVJ.mjs → chunk-K2OC2HWQ.mjs} +2 -2
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { UserSession, Refetch } from '../types.cjs';
|
|
3
3
|
import 'better-auth';
|
|
4
|
-
import 'better-auth/react';
|
|
5
4
|
|
|
6
5
|
interface IAuthContext {
|
|
7
6
|
baseURL: string;
|
|
8
|
-
data:
|
|
7
|
+
data: UserSession | null;
|
|
9
8
|
isPending: boolean;
|
|
10
|
-
|
|
11
|
-
refetch: () => void;
|
|
9
|
+
refetch: Refetch;
|
|
12
10
|
}
|
|
13
11
|
declare const AuthContext: react.Context<IAuthContext>;
|
|
14
12
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { UserSession, Refetch } from '../types.js';
|
|
3
3
|
import 'better-auth';
|
|
4
|
-
import 'better-auth/react';
|
|
5
4
|
|
|
6
5
|
interface IAuthContext {
|
|
7
6
|
baseURL: string;
|
|
8
|
-
data:
|
|
7
|
+
data: UserSession | null;
|
|
9
8
|
isPending: boolean;
|
|
10
|
-
|
|
11
|
-
refetch: () => void;
|
|
9
|
+
refetch: Refetch;
|
|
12
10
|
}
|
|
13
11
|
declare const AuthContext: react.Context<IAuthContext>;
|
|
14
12
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkWTYBTOLO_cjs = require('../../chunk-WTYBTOLO.cjs');
|
|
4
|
+
require('../../chunk-SVWS4AL6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "getSession", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkWTYBTOLO_cjs.getSession; }
|
|
11
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as better_auth from 'better-auth';
|
|
2
|
+
|
|
3
|
+
declare const getSession: (baseURL: string) => Promise<{
|
|
4
|
+
session: {
|
|
5
|
+
jwt: string;
|
|
6
|
+
id: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
userId: string;
|
|
10
|
+
expiresAt: Date;
|
|
11
|
+
token: string;
|
|
12
|
+
ipAddress?: string | null | undefined;
|
|
13
|
+
userAgent?: string | null | undefined;
|
|
14
|
+
sessionToken: string;
|
|
15
|
+
};
|
|
16
|
+
user: better_auth.User;
|
|
17
|
+
}>;
|
|
18
|
+
|
|
19
|
+
export { getSession };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as better_auth from 'better-auth';
|
|
2
|
+
|
|
3
|
+
declare const getSession: (baseURL: string) => Promise<{
|
|
4
|
+
session: {
|
|
5
|
+
jwt: string;
|
|
6
|
+
id: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
userId: string;
|
|
10
|
+
expiresAt: Date;
|
|
11
|
+
token: string;
|
|
12
|
+
ipAddress?: string | null | undefined;
|
|
13
|
+
userAgent?: string | null | undefined;
|
|
14
|
+
sessionToken: string;
|
|
15
|
+
};
|
|
16
|
+
user: better_auth.User;
|
|
17
|
+
}>;
|
|
18
|
+
|
|
19
|
+
export { getSession };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkPB4UO2NR_cjs = require('../../chunk-PB4UO2NR.cjs');
|
|
4
|
+
require('../../chunk-SVWS4AL6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "signInHandler", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkPB4UO2NR_cjs.signInHandler; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { signInHandler } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { signInHandler } from '../../chunk-XGM57WPN.mjs';
|
|
2
|
+
import '../../chunk-276VJZCV.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4CPB3XHE_cjs = require('../../chunk-4CPB3XHE.cjs');
|
|
4
|
+
require('../../chunk-SVWS4AL6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "signOutHandler", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk4CPB3XHE_cjs.signOutHandler; }
|
|
11
|
+
});
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXFTKHT2M_cjs = require('../../chunk-XFTKHT2M.cjs');
|
|
4
|
+
require('../../chunk-PB4UO2NR.cjs');
|
|
5
|
+
require('../../chunk-4CPB3XHE.cjs');
|
|
4
6
|
require('../../chunk-4B44SRRP.cjs');
|
|
5
|
-
require('../../chunk-LSKJOUAE.cjs');
|
|
6
7
|
require('../../chunk-ZULCZ5L6.cjs');
|
|
7
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-SVWS4AL6.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
Object.defineProperty(exports, "useVuerMethod", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkXFTKHT2M_cjs.useVuerMethod; }
|
|
14
15
|
});
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { SignInWithOutBaseURLParams,
|
|
1
|
+
import { SignInWithOutBaseURLParams, SignOut } from '../types.cjs';
|
|
2
2
|
import 'better-auth';
|
|
3
|
-
import 'better-auth/react';
|
|
4
3
|
|
|
5
4
|
interface UseVuerAuth {
|
|
6
5
|
signIn: (p?: SignInWithOutBaseURLParams) => Promise<string> | void;
|
|
7
|
-
signOut:
|
|
6
|
+
signOut: SignOut;
|
|
8
7
|
}
|
|
9
8
|
declare const useVuerMethod: () => UseVuerAuth;
|
|
10
9
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { SignInWithOutBaseURLParams,
|
|
1
|
+
import { SignInWithOutBaseURLParams, SignOut } from '../types.js';
|
|
2
2
|
import 'better-auth';
|
|
3
|
-
import 'better-auth/react';
|
|
4
3
|
|
|
5
4
|
interface UseVuerAuth {
|
|
6
5
|
signIn: (p?: SignInWithOutBaseURLParams) => Promise<string> | void;
|
|
7
|
-
signOut:
|
|
6
|
+
signOut: SignOut;
|
|
8
7
|
}
|
|
9
8
|
declare const useVuerMethod: () => UseVuerAuth;
|
|
10
9
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { useVuerMethod } from '../../chunk-
|
|
1
|
+
export { useVuerMethod } from '../../chunk-AKVHFPXH.mjs';
|
|
2
|
+
import '../../chunk-XGM57WPN.mjs';
|
|
3
|
+
import '../../chunk-CGODCUQ5.mjs';
|
|
2
4
|
import '../../chunk-3IVDCAFM.mjs';
|
|
3
|
-
import '../../chunk-7KQXX7QB.mjs';
|
|
4
5
|
import '../../chunk-TC3W4VRO.mjs';
|
|
5
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-276VJZCV.mjs';
|
package/dist/auth/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXFTKHT2M_cjs = require('../chunk-XFTKHT2M.cjs');
|
|
4
|
+
require('../chunk-PB4UO2NR.cjs');
|
|
5
|
+
require('../chunk-4CPB3XHE.cjs');
|
|
4
6
|
var chunk4B44SRRP_cjs = require('../chunk-4B44SRRP.cjs');
|
|
5
|
-
require('../chunk-
|
|
6
|
-
|
|
7
|
-
require('../chunk-HPK4YEVK.cjs');
|
|
7
|
+
var chunkT2D6PSA6_cjs = require('../chunk-T2D6PSA6.cjs');
|
|
8
|
+
require('../chunk-WTYBTOLO.cjs');
|
|
8
9
|
require('../chunk-ZULCZ5L6.cjs');
|
|
9
|
-
var
|
|
10
|
-
require('../chunk-CHYXRETV.cjs');
|
|
10
|
+
var chunkSVWS4AL6_cjs = require('../chunk-SVWS4AL6.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "useVuerMethod", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkXFTKHT2M_cjs.useVuerMethod; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "useVuerAuth", {
|
|
19
19
|
enumerable: true,
|
|
@@ -21,13 +21,9 @@ Object.defineProperty(exports, "useVuerAuth", {
|
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "VuerAuthProvider", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkT2D6PSA6_cjs.VuerAuthProvider; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "bearerToken", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "jwtToken", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunk6BD5MQ5R_cjs.jwtToken; }
|
|
28
|
+
get: function () { return chunkSVWS4AL6_cjs.bearerToken; }
|
|
33
29
|
});
|
package/dist/auth/index.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { UseVuerAuth, useVuerMethod } from './hooks/use-vuer-method.cjs';
|
|
2
2
|
export { useVuerAuth } from './hooks/use-vuer-auth.cjs';
|
|
3
|
-
export { bearerToken
|
|
3
|
+
export { bearerToken } from './localstorage-key.cjs';
|
|
4
4
|
export { VuerAuthProvider } from './vuer-auth-provider.cjs';
|
|
5
5
|
import './types.cjs';
|
|
6
6
|
import 'better-auth';
|
|
7
|
-
import 'better-auth/react';
|
|
8
7
|
import './context/auth-context.cjs';
|
|
9
8
|
import 'react';
|
|
10
9
|
import 'react/jsx-runtime';
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { UseVuerAuth, useVuerMethod } from './hooks/use-vuer-method.js';
|
|
2
2
|
export { useVuerAuth } from './hooks/use-vuer-auth.js';
|
|
3
|
-
export { bearerToken
|
|
3
|
+
export { bearerToken } from './localstorage-key.js';
|
|
4
4
|
export { VuerAuthProvider } from './vuer-auth-provider.js';
|
|
5
5
|
import './types.js';
|
|
6
6
|
import 'better-auth';
|
|
7
|
-
import 'better-auth/react';
|
|
8
7
|
import './context/auth-context.js';
|
|
9
8
|
import 'react';
|
|
10
9
|
import 'react/jsx-runtime';
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { useVuerMethod } from '../chunk-
|
|
1
|
+
export { useVuerMethod } from '../chunk-AKVHFPXH.mjs';
|
|
2
|
+
import '../chunk-XGM57WPN.mjs';
|
|
3
|
+
import '../chunk-CGODCUQ5.mjs';
|
|
2
4
|
export { useVuerAuth } from '../chunk-3IVDCAFM.mjs';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import '../chunk-PZMA33PL.mjs';
|
|
5
|
+
export { VuerAuthProvider } from '../chunk-5HS4PMUR.mjs';
|
|
6
|
+
import '../chunk-T57VFBIC.mjs';
|
|
6
7
|
import '../chunk-TC3W4VRO.mjs';
|
|
7
|
-
export { bearerToken
|
|
8
|
-
import '../chunk-PKSIXQJX.mjs';
|
|
8
|
+
export { bearerToken } from '../chunk-276VJZCV.mjs';
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSVWS4AL6_cjs = require('../chunk-SVWS4AL6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "bearerToken", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "jwtToken", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunk6BD5MQ5R_cjs.jwtToken; }
|
|
9
|
+
get: function () { return chunkSVWS4AL6_cjs.bearerToken; }
|
|
14
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { bearerToken
|
|
1
|
+
export { bearerToken } from '../chunk-276VJZCV.mjs';
|
package/dist/auth/types.cjs
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkCHYXRETV_cjs = require('../chunk-CHYXRETV.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "auth", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkCHYXRETV_cjs.auth; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "options", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkCHYXRETV_cjs.options; }
|
|
14
|
-
});
|