@drmhse/authos-vue 0.2.1 → 0.2.3
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/README.md +2 -0
- package/dist/{chokidar-KYB2GOYG.mjs → chokidar-B7NTEAA6.mjs} +1 -1
- package/dist/{chunk-C2J6NSID.mjs → chunk-CD2MZG7D.mjs} +1 -1
- package/dist/{chunk-VCTSSS2F.mjs → chunk-EI6D7ZL6.mjs} +2 -2
- package/dist/{chunk-F6BPUSH3.mjs → chunk-EO7XHAPG.mjs} +2 -2
- package/dist/{chunk-Z2UOP6GF.mjs → chunk-EX36KPG5.mjs} +2 -2
- package/dist/{chunk-SW2YRXFK.mjs → chunk-F4XRLJHQ.mjs} +2 -2
- package/dist/{chunk-XLWXQZHO.mjs → chunk-HVM6PT6I.mjs} +5 -5
- package/dist/{chunk-JLL4L3HM.mjs → chunk-N667TIER.mjs} +1 -1
- package/dist/{chunk-QGSFJDIC.mjs → chunk-XP4GDQVV.mjs} +3 -3
- package/dist/{chunk-T2K7EIWY.mjs → chunk-ZHH4WLMR.mjs} +2 -2
- package/dist/{dist-CX347IU5.mjs → dist-C3JS2B76.mjs} +14 -14
- package/dist/dist-N5W7B4HY.mjs +3 -0
- package/dist/index.d.mts +39 -5
- package/dist/index.d.ts +39 -5
- package/dist/index.js +231 -131
- package/dist/index.mjs +231 -131
- package/dist/{json5-WAUASGCX.mjs → json5-JAQYEGVI.mjs} +2 -2
- package/dist/jsonc-UUIPUC5H.mjs +3 -0
- package/dist/{multipart-parser-ZINPIK62.mjs → multipart-parser-SFUPTK6X.mjs} +5 -5
- package/dist/nuxt.js +122 -122
- package/dist/nuxt.mjs +113 -113
- package/dist/toml-VZVKMGHP.mjs +3 -0
- package/dist/{utils-ITGQWSRY.mjs → utils-YSWQHENC.mjs} +3 -3
- package/dist/yaml-G5PP6BGH.mjs +3 -0
- package/package.json +2 -2
- package/dist/dist-KTGFCHLE.mjs +0 -3
- package/dist/jsonc-BXVTKCPI.mjs +0 -3
- package/dist/toml-EIVFNDS7.mjs +0 -3
- package/dist/yaml-NCROZBG5.mjs +0 -3
- /package/dist/{prompt-LQK3IVQK.mjs → prompt-WWTBWNTY.mjs} +0 -0
package/README.md
CHANGED
|
@@ -442,6 +442,8 @@ If you prefer to completely style the components yourself, you can target the da
|
|
|
442
442
|
[data-authos-oauth] { /* OAuth button */ }
|
|
443
443
|
[data-authos-oauth][data-provider="github"] { /* GitHub button */ }
|
|
444
444
|
[data-authos-divider] { /* "or" divider */ }
|
|
445
|
+
[data-authos-magic-link] { /* Magic Link container */ }
|
|
446
|
+
[data-authos-passkey] { /* Passkey container */ }
|
|
445
447
|
```
|
|
446
448
|
|
|
447
449
|
## Migration from v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N, C } from './chunk-
|
|
1
|
+
import { N, C } from './chunk-N667TIER.mjs';
|
|
2
2
|
|
|
3
|
-
// node_modules/confbox/dist/json5.mjs
|
|
3
|
+
// ../../node_modules/confbox/dist/json5.mjs
|
|
4
4
|
function R(C2) {
|
|
5
5
|
return C2 && C2.__esModule && Object.prototype.hasOwnProperty.call(C2, "default") ? C2.default : C2;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N, C } from './chunk-
|
|
1
|
+
import { N, C } from './chunk-N667TIER.mjs';
|
|
2
2
|
|
|
3
|
-
// node_modules/confbox/dist/toml.mjs
|
|
3
|
+
// ../../node_modules/confbox/dist/toml.mjs
|
|
4
4
|
function v(e, n) {
|
|
5
5
|
let t = e.slice(0, n).split(/\r\n|\n|\r/g);
|
|
6
6
|
return [t.length, t.pop().length + 1];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N, C } from './chunk-
|
|
1
|
+
import { N, C } from './chunk-N667TIER.mjs';
|
|
2
2
|
|
|
3
|
-
// node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
3
|
+
// ../../node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs
|
|
4
4
|
function $(n, l = false) {
|
|
5
5
|
const g = n.length;
|
|
6
6
|
let e = 0, u = "", p = 0, k = 16, A = 0, o = 0, O = 0, B = 0, b = 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __commonJS, __require } from './chunk-6DZX6EAA.mjs';
|
|
2
2
|
|
|
3
|
-
// node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
|
|
3
|
+
// ../../node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
|
|
4
4
|
var require_node_fetch_native_DhEqb06g = __commonJS({
|
|
5
|
-
"node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs"(exports$1) {
|
|
5
|
+
"../../node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs"(exports$1) {
|
|
6
6
|
var l = Object.defineProperty;
|
|
7
7
|
var o = (e, t) => l(e, "name", { value: t, configurable: true });
|
|
8
8
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -13,9 +13,9 @@ var require_node_fetch_native_DhEqb06g = __commonJS({
|
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
// node_modules/node-fetch-native/dist/node.cjs
|
|
16
|
+
// ../../node_modules/node-fetch-native/dist/node.cjs
|
|
17
17
|
var require_node = __commonJS({
|
|
18
|
-
"node_modules/node-fetch-native/dist/node.cjs"(exports$1) {
|
|
18
|
+
"../../node_modules/node-fetch-native/dist/node.cjs"(exports$1) {
|
|
19
19
|
var ys = Object.defineProperty;
|
|
20
20
|
var Po = (c) => {
|
|
21
21
|
throw TypeError(c);
|
|
@@ -2736,7 +2736,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
|
|
|
2736
2736
|
for (const [R, w] of b) g.append(R, w);
|
|
2737
2737
|
return g;
|
|
2738
2738
|
}
|
|
2739
|
-
const { toFormData: d } = await import('./multipart-parser-
|
|
2739
|
+
const { toFormData: d } = await import('./multipart-parser-SFUPTK6X.mjs');
|
|
2740
2740
|
return d(this.body, l);
|
|
2741
2741
|
}
|
|
2742
2742
|
async blob() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x, h } from './chunk-
|
|
1
|
+
import { x, h } from './chunk-F4XRLJHQ.mjs';
|
|
2
2
|
import fs, { promises, lstatSync, realpathSync, statSync } from 'fs';
|
|
3
3
|
import { fileURLToPath, pathToFileURL, URL as URL$1 } from 'url';
|
|
4
4
|
import path, { isAbsolute as isAbsolute$1 } from 'path';
|
|
@@ -8,7 +8,7 @@ import v8 from 'v8';
|
|
|
8
8
|
import { format, inspect } from 'util';
|
|
9
9
|
import 'fs/promises';
|
|
10
10
|
|
|
11
|
-
// node_modules/defu/dist/defu.mjs
|
|
11
|
+
// ../../node_modules/defu/dist/defu.mjs
|
|
12
12
|
function isPlainObject(value) {
|
|
13
13
|
if (value === null || typeof value !== "object") {
|
|
14
14
|
return false;
|
|
@@ -64,7 +64,7 @@ function createDefu(merger) {
|
|
|
64
64
|
}
|
|
65
65
|
var defu = createDefu();
|
|
66
66
|
|
|
67
|
-
// node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
67
|
+
// ../../node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
|
|
68
68
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
69
69
|
function normalizeWindowsPath(input = "") {
|
|
70
70
|
if (!input) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { serialize } from './chunk-
|
|
1
|
+
import { serialize } from './chunk-CD2MZG7D.mjs';
|
|
2
2
|
import { createHash } from 'crypto';
|
|
3
3
|
|
|
4
4
|
var e = globalThis.process?.getBuiltinModule?.("crypto")?.hash;
|
|
@@ -10,7 +10,7 @@ function digest(t) {
|
|
|
10
10
|
return globalThis.process?.versions?.webcontainer ? o.digest().toString(s) : o.digest(s);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
// node_modules/ohash/dist/index.mjs
|
|
13
|
+
// ../../node_modules/ohash/dist/index.mjs
|
|
14
14
|
function hash(input) {
|
|
15
15
|
return digest(serialize(input));
|
|
16
16
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { resolve, relative, defu, dirname, basename, join, normalize } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { require_node, require_node_fetch_native_DhEqb06g } from './chunk-
|
|
1
|
+
import { resolve, relative, defu, dirname, basename, join, normalize } from './chunk-XP4GDQVV.mjs';
|
|
2
|
+
import './chunk-EI6D7ZL6.mjs';
|
|
3
|
+
import './chunk-EX36KPG5.mjs';
|
|
4
|
+
import './chunk-EO7XHAPG.mjs';
|
|
5
|
+
import './chunk-F4XRLJHQ.mjs';
|
|
6
|
+
import './chunk-N667TIER.mjs';
|
|
7
|
+
import { require_node, require_node_fetch_native_DhEqb06g } from './chunk-HVM6PT6I.mjs';
|
|
8
8
|
import { __commonJS, __require, __toESM } from './chunk-6DZX6EAA.mjs';
|
|
9
9
|
import { mkdir, rm, readFile, writeFile } from 'fs/promises';
|
|
10
10
|
import V2, { existsSync, readdirSync, renameSync, createWriteStream } from 'fs';
|
|
@@ -23,9 +23,9 @@ import { spawnSync, spawn } from 'child_process';
|
|
|
23
23
|
import c from 'readline';
|
|
24
24
|
import { homedir, tmpdir } from 'os';
|
|
25
25
|
|
|
26
|
-
// node_modules/node-fetch-native/dist/index.cjs
|
|
26
|
+
// ../../node_modules/node-fetch-native/dist/index.cjs
|
|
27
27
|
var require_dist = __commonJS({
|
|
28
|
-
"node_modules/node-fetch-native/dist/index.cjs"(exports$1) {
|
|
28
|
+
"../../node_modules/node-fetch-native/dist/index.cjs"(exports$1) {
|
|
29
29
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
30
30
|
var node = require_node();
|
|
31
31
|
__require("http"), __require("https"), __require("zlib"), __require("stream"), __require("buffer"), __require("util"), require_node_fetch_native_DhEqb06g(), __require("url"), __require("net"), __require("fs"), __require("path");
|
|
@@ -42,9 +42,9 @@ var require_dist = __commonJS({
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
// node_modules/node-fetch-native/lib/index.cjs
|
|
45
|
+
// ../../node_modules/node-fetch-native/lib/index.cjs
|
|
46
46
|
var require_lib = __commonJS({
|
|
47
|
-
"node_modules/node-fetch-native/lib/index.cjs"(exports$1, module) {
|
|
47
|
+
"../../node_modules/node-fetch-native/lib/index.cjs"(exports$1, module) {
|
|
48
48
|
var nodeFetch = require_dist();
|
|
49
49
|
function fetch2(input, options) {
|
|
50
50
|
return nodeFetch.fetch(input, options);
|
|
@@ -56,9 +56,9 @@ var require_lib = __commonJS({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
// node_modules/node-fetch-native/dist/proxy.cjs
|
|
59
|
+
// ../../node_modules/node-fetch-native/dist/proxy.cjs
|
|
60
60
|
var require_proxy = __commonJS({
|
|
61
|
-
"node_modules/node-fetch-native/dist/proxy.cjs"(exports$1) {
|
|
61
|
+
"../../node_modules/node-fetch-native/dist/proxy.cjs"(exports$1) {
|
|
62
62
|
var Ye = Object.defineProperty;
|
|
63
63
|
var Re = (A2) => {
|
|
64
64
|
throw TypeError(A2);
|
|
@@ -10006,7 +10006,7 @@ async function installDependencies(options = {}) {
|
|
|
10006
10006
|
};
|
|
10007
10007
|
}
|
|
10008
10008
|
|
|
10009
|
-
// node_modules/giget/dist/shared/giget.OCaTp9b-.mjs
|
|
10009
|
+
// ../../node_modules/giget/dist/shared/giget.OCaTp9b-.mjs
|
|
10010
10010
|
var import_proxy = __toESM(require_proxy(), 1);
|
|
10011
10011
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
10012
10012
|
function getDefaultExportFromCjs(x2) {
|
package/dist/index.d.mts
CHANGED
|
@@ -158,7 +158,7 @@ declare const AUTH_OS_INJECTION_KEY: unique symbol;
|
|
|
158
158
|
/**
|
|
159
159
|
* Supported OAuth providers
|
|
160
160
|
*/
|
|
161
|
-
type SupportedOAuthProvider = 'github' | 'google' | 'microsoft';
|
|
161
|
+
type SupportedOAuthProvider$1 = 'github' | 'google' | 'microsoft';
|
|
162
162
|
|
|
163
163
|
declare function createAuthOS(options: AuthOSPluginOptions): {
|
|
164
164
|
install(app: App): void;
|
|
@@ -383,6 +383,7 @@ declare const SignIn: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
383
383
|
onError: (error: Error) => void;
|
|
384
384
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
385
385
|
|
|
386
|
+
type SupportedOAuthProvider = 'github' | 'google' | 'microsoft';
|
|
386
387
|
interface SignUpSlotProps {
|
|
387
388
|
email: string;
|
|
388
389
|
password: string;
|
|
@@ -411,6 +412,21 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
411
412
|
type: StringConstructor;
|
|
412
413
|
default: undefined;
|
|
413
414
|
};
|
|
415
|
+
/** List of OAuth providers to display buttons for */
|
|
416
|
+
providers: {
|
|
417
|
+
type: PropType<SupportedOAuthProvider[] | false>;
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
420
|
+
/** Show divider between OAuth and email form */
|
|
421
|
+
showDivider: {
|
|
422
|
+
type: BooleanConstructor;
|
|
423
|
+
default: boolean;
|
|
424
|
+
};
|
|
425
|
+
/** Show sign in link */
|
|
426
|
+
showSignIn: {
|
|
427
|
+
type: BooleanConstructor;
|
|
428
|
+
default: boolean;
|
|
429
|
+
};
|
|
414
430
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
415
431
|
[key: string]: any;
|
|
416
432
|
}> | vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -434,6 +450,21 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
434
450
|
type: StringConstructor;
|
|
435
451
|
default: undefined;
|
|
436
452
|
};
|
|
453
|
+
/** List of OAuth providers to display buttons for */
|
|
454
|
+
providers: {
|
|
455
|
+
type: PropType<SupportedOAuthProvider[] | false>;
|
|
456
|
+
default: boolean;
|
|
457
|
+
};
|
|
458
|
+
/** Show divider between OAuth and email form */
|
|
459
|
+
showDivider: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
default: boolean;
|
|
462
|
+
};
|
|
463
|
+
/** Show sign in link */
|
|
464
|
+
showSignIn: {
|
|
465
|
+
type: BooleanConstructor;
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
437
468
|
}>> & Readonly<{
|
|
438
469
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
439
470
|
onError?: ((...args: any[]) => any) | undefined;
|
|
@@ -442,6 +473,9 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
442
473
|
onError: (error: Error) => void;
|
|
443
474
|
orgSlug: string;
|
|
444
475
|
serviceSlug: string;
|
|
476
|
+
providers: false | SupportedOAuthProvider[];
|
|
477
|
+
showDivider: boolean;
|
|
478
|
+
showSignIn: boolean;
|
|
445
479
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
446
480
|
|
|
447
481
|
interface OrganizationSwitcherSlotProps {
|
|
@@ -542,7 +576,7 @@ declare const Protect: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
542
576
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
543
577
|
|
|
544
578
|
interface OAuthButtonSlotProps {
|
|
545
|
-
provider: SupportedOAuthProvider;
|
|
579
|
+
provider: SupportedOAuthProvider$1;
|
|
546
580
|
providerName: string;
|
|
547
581
|
isConfigured: boolean;
|
|
548
582
|
disabled: boolean;
|
|
@@ -568,7 +602,7 @@ interface OAuthButtonSlotProps {
|
|
|
568
602
|
*/
|
|
569
603
|
declare const OAuthButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
570
604
|
provider: {
|
|
571
|
-
type: PropType<SupportedOAuthProvider>;
|
|
605
|
+
type: PropType<SupportedOAuthProvider$1>;
|
|
572
606
|
required: true;
|
|
573
607
|
};
|
|
574
608
|
disabled: {
|
|
@@ -581,7 +615,7 @@ declare const OAuthButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
581
615
|
[key: string]: any;
|
|
582
616
|
}>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "redirect"[], "redirect", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
583
617
|
provider: {
|
|
584
|
-
type: PropType<SupportedOAuthProvider>;
|
|
618
|
+
type: PropType<SupportedOAuthProvider$1>;
|
|
585
619
|
required: true;
|
|
586
620
|
};
|
|
587
621
|
disabled: {
|
|
@@ -721,4 +755,4 @@ declare const PasskeySignIn: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
721
755
|
showPasswordSignIn: boolean;
|
|
722
756
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
723
757
|
|
|
724
|
-
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, MagicLinkSignIn, OAuthButton, type OAuthButtonSlotProps, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, type SupportedOAuthProvider, UserButton, type UserButtonSlotProps, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|
|
758
|
+
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, MagicLinkSignIn, OAuthButton, type OAuthButtonSlotProps, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, type SupportedOAuthProvider$1 as SupportedOAuthProvider, UserButton, type UserButtonSlotProps, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ declare const AUTH_OS_INJECTION_KEY: unique symbol;
|
|
|
158
158
|
/**
|
|
159
159
|
* Supported OAuth providers
|
|
160
160
|
*/
|
|
161
|
-
type SupportedOAuthProvider = 'github' | 'google' | 'microsoft';
|
|
161
|
+
type SupportedOAuthProvider$1 = 'github' | 'google' | 'microsoft';
|
|
162
162
|
|
|
163
163
|
declare function createAuthOS(options: AuthOSPluginOptions): {
|
|
164
164
|
install(app: App): void;
|
|
@@ -383,6 +383,7 @@ declare const SignIn: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
383
383
|
onError: (error: Error) => void;
|
|
384
384
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
385
385
|
|
|
386
|
+
type SupportedOAuthProvider = 'github' | 'google' | 'microsoft';
|
|
386
387
|
interface SignUpSlotProps {
|
|
387
388
|
email: string;
|
|
388
389
|
password: string;
|
|
@@ -411,6 +412,21 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
411
412
|
type: StringConstructor;
|
|
412
413
|
default: undefined;
|
|
413
414
|
};
|
|
415
|
+
/** List of OAuth providers to display buttons for */
|
|
416
|
+
providers: {
|
|
417
|
+
type: PropType<SupportedOAuthProvider[] | false>;
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
420
|
+
/** Show divider between OAuth and email form */
|
|
421
|
+
showDivider: {
|
|
422
|
+
type: BooleanConstructor;
|
|
423
|
+
default: boolean;
|
|
424
|
+
};
|
|
425
|
+
/** Show sign in link */
|
|
426
|
+
showSignIn: {
|
|
427
|
+
type: BooleanConstructor;
|
|
428
|
+
default: boolean;
|
|
429
|
+
};
|
|
414
430
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
415
431
|
[key: string]: any;
|
|
416
432
|
}> | vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -434,6 +450,21 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
434
450
|
type: StringConstructor;
|
|
435
451
|
default: undefined;
|
|
436
452
|
};
|
|
453
|
+
/** List of OAuth providers to display buttons for */
|
|
454
|
+
providers: {
|
|
455
|
+
type: PropType<SupportedOAuthProvider[] | false>;
|
|
456
|
+
default: boolean;
|
|
457
|
+
};
|
|
458
|
+
/** Show divider between OAuth and email form */
|
|
459
|
+
showDivider: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
default: boolean;
|
|
462
|
+
};
|
|
463
|
+
/** Show sign in link */
|
|
464
|
+
showSignIn: {
|
|
465
|
+
type: BooleanConstructor;
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
437
468
|
}>> & Readonly<{
|
|
438
469
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
439
470
|
onError?: ((...args: any[]) => any) | undefined;
|
|
@@ -442,6 +473,9 @@ declare const SignUp: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
442
473
|
onError: (error: Error) => void;
|
|
443
474
|
orgSlug: string;
|
|
444
475
|
serviceSlug: string;
|
|
476
|
+
providers: false | SupportedOAuthProvider[];
|
|
477
|
+
showDivider: boolean;
|
|
478
|
+
showSignIn: boolean;
|
|
445
479
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
446
480
|
|
|
447
481
|
interface OrganizationSwitcherSlotProps {
|
|
@@ -542,7 +576,7 @@ declare const Protect: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
542
576
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
543
577
|
|
|
544
578
|
interface OAuthButtonSlotProps {
|
|
545
|
-
provider: SupportedOAuthProvider;
|
|
579
|
+
provider: SupportedOAuthProvider$1;
|
|
546
580
|
providerName: string;
|
|
547
581
|
isConfigured: boolean;
|
|
548
582
|
disabled: boolean;
|
|
@@ -568,7 +602,7 @@ interface OAuthButtonSlotProps {
|
|
|
568
602
|
*/
|
|
569
603
|
declare const OAuthButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
570
604
|
provider: {
|
|
571
|
-
type: PropType<SupportedOAuthProvider>;
|
|
605
|
+
type: PropType<SupportedOAuthProvider$1>;
|
|
572
606
|
required: true;
|
|
573
607
|
};
|
|
574
608
|
disabled: {
|
|
@@ -581,7 +615,7 @@ declare const OAuthButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
581
615
|
[key: string]: any;
|
|
582
616
|
}>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "redirect"[], "redirect", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
583
617
|
provider: {
|
|
584
|
-
type: PropType<SupportedOAuthProvider>;
|
|
618
|
+
type: PropType<SupportedOAuthProvider$1>;
|
|
585
619
|
required: true;
|
|
586
620
|
};
|
|
587
621
|
disabled: {
|
|
@@ -721,4 +755,4 @@ declare const PasskeySignIn: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
721
755
|
showPasswordSignIn: boolean;
|
|
722
756
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
723
757
|
|
|
724
|
-
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, MagicLinkSignIn, OAuthButton, type OAuthButtonSlotProps, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, type SupportedOAuthProvider, UserButton, type UserButtonSlotProps, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|
|
758
|
+
export { AUTH_OS_INJECTION_KEY, type AppearanceOptions, type AppearanceVariables, type AuthOSContext, type AuthOSPluginOptions, AuthOSProvider, type AuthOSState, MagicLinkSignIn, OAuthButton, type OAuthButtonSlotProps, OrganizationSwitcher, type OrganizationSwitcherSlotProps, PasskeySignIn, Protect, SignIn, type SignInSlotProps, SignUp, type SignUpSlotProps, SignedIn, SignedOut, type SupportedOAuthProvider$1 as SupportedOAuthProvider, UserButton, type UserButtonSlotProps, createAuthOS, useAllPermissions, useAnyPermission, useAuthOS, useOrganization, usePermission, useUser };
|