@pubinfo-nightly/module-auth 2025.12.9 → 2025.12.25

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.
@@ -1,15 +1,15 @@
1
- export declare const LoginWithFourA: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ExtractPropTypes<{
1
+ export declare const LoginWithFourA: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  color: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- }>, () => import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').VNode<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').RendererNode, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').RendererElement, {
6
+ }>, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
7
  [key: string]: any;
8
- }>, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ExtractPropTypes<{
8
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
9
  color: {
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
13
  }>> & Readonly<{}>, {
14
14
  color: string;
15
- }, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {}, any>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,11 +1,11 @@
1
- export declare const RedirectLogin: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ExtractPropTypes<{
1
+ export declare const RedirectLogin: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  id: StringConstructor;
3
3
  src: StringConstructor;
4
4
  color: StringConstructor;
5
- }>, () => import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').VNode<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').RendererNode, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').RendererElement, {
5
+ }>, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
6
  [key: string]: any;
7
- }>, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ExtractPropTypes<{
7
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
8
  id: StringConstructor;
9
9
  src: StringConstructor;
10
10
  color: StringConstructor;
11
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {}, any>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/dist/context.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { InternalContext } from './interface';
2
- export declare const ctx: import('unctx').UseContext<InternalContext>;
1
+ import type { InternalContext } from './interface';
2
+ export declare const ctx: import("unctx").UseContext<InternalContext>;
package/dist/core.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Recordable, ThirdParty } from './interface';
1
+ import type { Recordable, ThirdParty } from './interface';
2
2
  /**
3
3
  * 前往登录
4
4
  * @param id 唯一值
package/dist/helper.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { ProviderUserOptions, Recordable, ThirdParty } from './interface';
1
+ import type { ProviderUserOptions, Recordable, ThirdParty } from './interface';
2
2
  /**
3
3
  * 获取指定的 `Provider`
4
4
  * @param id
5
5
  */
6
- export declare function getProvider(id?: ThirdParty): import('./interface').ProviderOptions;
6
+ export declare function getProvider(id?: ThirdParty): import("./interface").ProviderOptions;
7
7
  /**
8
8
  * 构建第三方授权登录地址
9
9
  * @param provider
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ModuleOptions } from 'pubinfo-nightly';
2
- import { AuthOptions } from './interface';
1
+ import type { ModuleOptions } from 'pubinfo-nightly';
2
+ import type { AuthOptions } from './interface';
3
3
  export declare function auth(options: AuthOptions): ModuleOptions;
4
4
  export { LoginWithFourA } from './components/LoginWithFourA';
5
5
  export { authenticate, redirect, renderQRCode, signIn, } from './core';