@huyooo/ui 2.0.11 → 2.0.13

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.
@@ -12,7 +12,7 @@ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  import { u as ie } from "./apiClients-Ctcq8NZs.js";
13
13
  import { f as re, u as le, g as ue, c as ce, s as de, P as pe } from "./PaySubscriptions-Bv6LQ_Pf.js";
14
14
  import { d as me } from "./useBillingStatusOptions-Br-iL77Z.js";
15
- import { A as fe } from "./AuthkitAppSetting-gE5wTmN1.js";
15
+ import { A as fe } from "./AuthkitAppSetting-BHISSsE3.js";
16
16
  import { c as _e, u as Q } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-hveEkBb4.js";
17
17
  import { M as ve } from "./MessageHandle-BUufez4S.js";
18
18
  import "./Menu-uCexrsKP.js";
@@ -12,7 +12,7 @@ import { useRouter as Z, useRoute as ee } from "vue-router";
12
12
  import { b as te, c as ne, f as oe, w as se, a as ae, d as re } from "./useRoutePermission-DYPZgvYv.js";
13
13
  import "@unhead/vue";
14
14
  import "./useUserMenu-ClPBlvaM.js";
15
- import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as we, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DnDKhQgo.js";
15
+ import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as we, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DZ2MePNN.js";
16
16
  import "./PaySubscriptions-Bv6LQ_Pf.js";
17
17
  /* empty css */
18
18
  /* empty css */
package/dist/authkit.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-gE5wTmN1.js";
2
- import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-B01O4nWg.js";
1
+ import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-BHISSsE3.js";
2
+ import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-uL1PnRNg.js";
3
3
  import { u as Y } from "./useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js";
4
4
  import { u as H } from "./useAuthkitAuth-cHrJMM8E.js";
5
5
  import { u as N } from "./apiClients-Ctcq8NZs.js";
package/dist/common.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-DP-vFuMF.js";
1
+ import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-BONpaF0g.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
3
  import { C as x, E as b } from "./CustomTable-HDwqEcmB.js";
4
4
  import { L } from "./Logo-B9DFBxDU.js";
@@ -1,21 +1,16 @@
1
1
  import { PropType } from 'vue';
2
2
  import { FormSizeType } from '../../../types/auth';
3
- import { SignInResult } from '../../../composables/Authkit/useAuthkitAuth';
4
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
4
  size: {
6
5
  type: PropType<FormSizeType>;
7
6
  default: () => string;
8
7
  };
9
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- passkeySubmit: (data: SignInResult) => any;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
9
  size: {
13
10
  type: PropType<FormSizeType>;
14
11
  default: () => string;
15
12
  };
16
- }>> & Readonly<{
17
- onPasskeySubmit?: ((data: SignInResult) => any) | undefined;
18
- }>, {
13
+ }>> & Readonly<{}>, {
19
14
  size: FormSizeType;
20
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
21
16
  export default _default;
@@ -1,5 +1,13 @@
1
1
  import { PropType } from 'vue';
2
2
  import { FormSizeType } from '../../../types/auth';
3
+ import { SignInResult } from '../../../composables/Authkit/useAuthkitAuth';
4
+ interface SignInData {
5
+ identifier?: string;
6
+ password?: string;
7
+ code?: string;
8
+ emailVerifyId?: string;
9
+ method?: 'password' | 'code';
10
+ }
3
11
  declare function __VLS_template(): {
4
12
  attrs: Partial<{}>;
5
13
  slots: {
@@ -20,9 +28,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
20
28
  default: () => boolean;
21
29
  };
22
30
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- submit: (...args: any[]) => void;
24
- switchSignUp: (...args: any[]) => void;
25
- switchResetPassword: (...args: any[]) => void;
31
+ submit: (data: SignInData) => any;
32
+ switchSignUp: () => any;
33
+ switchResetPassword: () => any;
34
+ passkeySubmit: (data: SignInResult) => any;
26
35
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
36
  size: {
28
37
  type: PropType<FormSizeType>;
@@ -34,9 +43,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
34
43
  default: () => boolean;
35
44
  };
36
45
  }>> & Readonly<{
37
- onSubmit?: ((...args: any[]) => any) | undefined;
38
- onSwitchSignUp?: ((...args: any[]) => any) | undefined;
39
- onSwitchResetPassword?: ((...args: any[]) => any) | undefined;
46
+ onSubmit?: ((data: SignInData) => any) | undefined;
47
+ onSwitchSignUp?: (() => any) | undefined;
48
+ onSwitchResetPassword?: (() => any) | undefined;
49
+ onPasskeySubmit?: ((data: SignInResult) => any) | undefined;
40
50
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
41
51
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
52
  export default _default;
@@ -3,7 +3,10 @@ import { getPasskeyEnvironmentIssue } from '../../utils/passkeySupport';
3
3
  export declare function useAuthkitPasskey(): {
4
4
  loading: import('vue').Ref<boolean, boolean>;
5
5
  supported: boolean;
6
- loginWithPasskey: (email?: string) => Promise<any>;
6
+ loginWithPasskey: (email?: string, loginOptions?: {
7
+ useBrowserAutofill?: boolean;
8
+ beforeVerify?: () => boolean;
9
+ }) => Promise<any>;
7
10
  registerPasskey: (name?: string) => Promise<boolean>;
8
11
  formatError: (error: unknown) => string;
9
12
  getPasskeyEnvironmentIssue: typeof getPasskeyEnvironmentIssue;
package/dist/main.js CHANGED
@@ -15,8 +15,8 @@ import { u as S3, a as A3, c as G3, d as D3 } from "./usePageSEO-Dl6_kBWP.js";
15
15
  import { u as b3 } from "./useUserMenu-ClPBlvaM.js";
16
16
  import { u as O3, a as T3 } from "./useSubscriptionCheckout-CYU2Ke0y.js";
17
17
  import { c as $3, u as N3, a as R3, b as j3 } from "./useBillingStatusOptions-Br-iL77Z.js";
18
- import { A as W3, B as Y3, a as q3, _ as Q3, b as K3, O as J3, P as X3, c as e4, d as t4, e as o4, f as a4, S as s4, g as i4, h as n4, u as r4, i as c4 } from "./AuthkitAppSetting-gE5wTmN1.js";
19
- import { A as l4, a as d4, b as p4, c as f4, d as u4, E as h4, e as g4, f as _4, g as L4, O as m4, h as F4, P as w4, i as y4, j as M4, _ as x4, R as v4, S as Z4, k as V4, l as H4, m as U4, n as E4, o as k4, p as S4, L as A4 } from "./LegalDocViewer-B01O4nWg.js";
18
+ import { A as W3, B as Y3, a as q3, _ as Q3, b as K3, O as J3, P as X3, c as e4, d as t4, e as o4, f as a4, S as s4, g as i4, h as n4, u as r4, i as c4 } from "./AuthkitAppSetting-BHISSsE3.js";
19
+ import { A as l4, a as d4, b as p4, c as f4, d as u4, E as h4, e as g4, f as _4, g as L4, O as m4, h as F4, P as w4, i as y4, j as M4, _ as x4, R as v4, S as Z4, k as V4, l as H4, m as U4, n as E4, o as k4, p as S4, L as A4 } from "./LegalDocViewer-uL1PnRNg.js";
20
20
  import { u as D4 } from "./useEnsureAuthenticated-C8qS8DLL.js";
21
21
  import { MessageMenu as b4, MessageMenuItem as B4, MessageNoticeNotificationsDetails as O4 } from "./message.js";
22
22
  import { B as I4, a as $4, F as N4, b as R4, _ as j4, c as z4, R as W4, V as Y4 } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-hveEkBb4.js";
@@ -27,7 +27,7 @@ import { L as P6, a as b6, b as B6 } from "./LandingPageSectionHeader-3hiuw6G0.j
27
27
  import { L as T6, a as I6, b as $6, c as N6, D as R6, d as j6, e as z6, f as W6, g as Y6, h as q6, i as Q6, j as K6, k as J6 } from "./LandingPageLinkGroup-C4iHX7Hz.js";
28
28
  import { D as e7 } from "./LandingPageDescription-BczWZHKy.js";
29
29
  import { L as o7, L as a7 } from "./Logo-B9DFBxDU.js";
30
- import { A as i7, a as n7, C as r7, D as c7, G as C7, H as l7, b as d7, S as p7, W as f7 } from "./WidthContainer-DP-vFuMF.js";
30
+ import { A as i7, a as n7, C as r7, D as c7, G as C7, H as l7, b as d7, S as p7, W as f7 } from "./WidthContainer-BONpaF0g.js";
31
31
  import { C as h7, a as g7 } from "./CollapseItem-DUzZA6tx.js";
32
32
  import { C as L7, E as m7 } from "./CustomTable-HDwqEcmB.js";
33
33
  import { M as w7, a as y7 } from "./Menu-uCexrsKP.js";
@@ -35,7 +35,7 @@ import { P as x7, u as v7, a as Z7, b as V7, v as H7 } from "./PaySubscriptions-
35
35
  import { P as E7, a as k7, b as S7, c as A7, p as G7, r as D7 } from "./PricingPlans-CQaXgOIR.js";
36
36
  import { R as b7 } from "./ReferrerReferees-CGrH-gYJ.js";
37
37
  import { _ as O7 } from "./Upload.vue_vue_type_script_setup_true_lang-CgZQOZYt.js";
38
- import { U as I7, a as $7, b as N7, c as R7, d as j7, _ as z7, e as W7, f as Y7, g as q7, h as Q7, i as K7, j as J7, k as X7, l as e5, m as t5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DnDKhQgo.js";
38
+ import { U as I7, a as $7, b as N7, c as R7, d as j7, _ as z7, e as W7, f as Y7, g as q7, h as Q7, i as K7, j as J7, k as X7, l as e5, m as t5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DZ2MePNN.js";
39
39
  import { defineComponent as x, computed as Z, openBlock as a, createElementBlock as n, normalizeStyle as X, normalizeClass as R, createElementVNode as t, toDisplayString as h, createCommentVNode as g, createVNode as L, unref as _, createTextVNode as j, withModifiers as z, renderSlot as e2, withCtx as P, Fragment as S, renderList as A, createBlock as U, onMounted as W, ref as D, watch as t2, onUnmounted as o2, withDirectives as a2, createStaticVNode as s2, vShow as i2 } from "vue";
40
40
  import { Icon as V } from "@iconify/vue";
41
41
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";