@aws-amplify/ui-vue 3.1.19 → 3.1.21
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/global-spec.d.ts +1 -0
- package/dist/global-spec.d.ts.map +1 -1
- package/dist/index.cjs +13 -13
- package/dist/index.js +563 -673
- package/dist/src/components/__tests__/confirm-reset-password.spec.d.ts +2 -0
- package/dist/src/components/__tests__/confirm-reset-password.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/confirm-sign-in.spec.d.ts +2 -0
- package/dist/src/components/__tests__/confirm-sign-in.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/confirm-sign-up.spec.d.ts +2 -0
- package/dist/src/components/__tests__/confirm-sign-up.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/confirm-verify-user.spec.d.ts +2 -0
- package/dist/src/components/__tests__/confirm-verify-user.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/federated-sign-in-button.spec.d.ts +2 -0
- package/dist/src/components/__tests__/federated-sign-in-button.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/federated-sign-in.spec.d.ts +2 -0
- package/dist/src/components/__tests__/federated-sign-in.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/force-new-password.spec.d.ts +2 -0
- package/dist/src/components/__tests__/force-new-password.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/reset-password.spec.d.ts +2 -0
- package/dist/src/components/__tests__/reset-password.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/setup-totp.spec.d.ts +2 -0
- package/dist/src/components/__tests__/setup-totp.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/sign-in.spec.d.ts +2 -0
- package/dist/src/components/__tests__/sign-in.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/sign-up.spec.d.ts +2 -0
- package/dist/src/components/__tests__/sign-up.spec.d.ts.map +1 -0
- package/dist/src/components/__tests__/verify-user.spec.d.ts +2 -0
- package/dist/src/components/__tests__/verify-user.spec.d.ts.map +1 -0
- package/dist/src/components/authenticator.vue.d.ts.map +1 -1
- package/dist/src/components/confirm-reset-password.vue.d.ts.map +1 -1
- package/dist/src/components/confirm-sign-in.vue.d.ts.map +1 -1
- package/dist/src/components/confirm-sign-up.vue.d.ts.map +1 -1
- package/dist/src/components/confirm-verify-user.vue.d.ts.map +1 -1
- package/dist/src/components/federated-sign-in-button.vue.d.ts +2 -2
- package/dist/src/components/federated-sign-in-button.vue.d.ts.map +1 -1
- package/dist/src/components/federated-sign-in.vue.d.ts.map +1 -1
- package/dist/src/components/force-new-password.vue.d.ts.map +1 -1
- package/dist/src/components/reset-password.vue.d.ts.map +1 -1
- package/dist/src/components/setup-totp.vue.d.ts.map +1 -1
- package/dist/src/components/sign-in.vue.d.ts.map +1 -1
- package/dist/src/components/verify-user.vue.d.ts.map +1 -1
- package/dist/src/composables/__mock__/useAuthenticatorMock.d.ts +3 -0
- package/dist/src/composables/__mock__/useAuthenticatorMock.d.ts.map +1 -0
- package/dist/src/composables/__tests__/getQRFields.spec.d.ts +2 -0
- package/dist/src/composables/__tests__/getQRFields.spec.d.ts.map +1 -0
- package/dist/src/composables/useAuth.d.ts +5 -0
- package/dist/src/composables/useAuth.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +8 -1
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -4
- package/dist/src/composables/useUtils.d.ts +0 -33
- package/dist/src/composables/useUtils.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-reset-password.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/confirm-reset-password.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-sign-in.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/confirm-sign-in.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-sign-up.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/confirm-sign-up.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-verify-user.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/confirm-verify-user.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"federated-sign-in-button.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/federated-sign-in-button.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"federated-sign-in.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/federated-sign-in.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"force-new-password.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/force-new-password.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-password.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/reset-password.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-totp.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/setup-totp.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-in.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/sign-in.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-up.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/sign-up.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-user.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/__tests__/verify-user.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/authenticator.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"authenticator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/authenticator.vue"],"names":[],"mappings":"AAiCA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuab,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-reset-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-reset-password.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-reset-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-reset-password.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MA6Hb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-sign-in.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-sign-in.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MA8Hb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-sign-up.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-sign-up.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;
|
|
1
|
+
{"version":3,"file":"confirm-sign-up.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-sign-up.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MA6Ib,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-verify-user.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-verify-user.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-verify-user.vue.d.ts","sourceRoot":"","sources":["../../../src/components/confirm-verify-user.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MA4Hb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
provider:
|
|
2
|
+
provider: null;
|
|
3
3
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
4
4
|
[key: string]: any;
|
|
5
5
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
-
provider:
|
|
6
|
+
provider: null;
|
|
7
7
|
}>>, {}>;
|
|
8
8
|
export default _sfc_main;
|
|
9
9
|
//# sourceMappingURL=federated-sign-in-button.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federated-sign-in-button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/federated-sign-in-button.vue"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS;;;;;;
|
|
1
|
+
{"version":3,"file":"federated-sign-in-button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/federated-sign-in-button.vue"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS;;;;;;QAkCb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federated-sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/federated-sign-in.vue"],"names":[],"mappings":"AAsEA,QAAA,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"federated-sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/federated-sign-in.vue"],"names":[],"mappings":"AAsEA,QAAA,MAAM,SAAS;;4PAmFb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"force-new-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/force-new-password.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"force-new-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/force-new-password.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MAwIb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reset-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/reset-password.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;
|
|
1
|
+
{"version":3,"file":"reset-password.vue.d.ts","sourceRoot":"","sources":["../../../src/components/reset-password.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MAqHb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-totp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/setup-totp.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"setup-totp.vue.d.ts","sourceRoot":"","sources":["../../../src/components/setup-totp.vue"],"names":[],"mappings":"AAwBA,QAAA,MAAM,SAAS;;;;;MAqLb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sign-in.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sign-in.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sign-in.vue"],"names":[],"mappings":"AAaA,QAAA,MAAM,SAAS;;;;;;MAiIb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-user.vue.d.ts","sourceRoot":"","sources":["../../../src/components/verify-user.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-user.vue.d.ts","sourceRoot":"","sources":["../../../src/components/verify-user.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;;;;MAoLb,CAAC;AACH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthenticatorMock.d.ts","sourceRoot":"","sources":["../../../../src/composables/__mock__/useAuthenticatorMock.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,eAAO,MAAM,qBAAqB,EAAE,gBAyBnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getQRFields.spec.d.ts","sourceRoot":"","sources":["../../../../src/composables/__tests__/getQRFields.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { AuthMachineState } from '@aws-amplify/ui';
|
|
1
2
|
import { UseAuth } from '../types';
|
|
3
|
+
export declare const getQRFields: (state: AuthMachineState) => {
|
|
4
|
+
totpIssuer?: string;
|
|
5
|
+
totpUsername?: string;
|
|
6
|
+
};
|
|
2
7
|
export declare const useAuth: () => UseAuth;
|
|
3
8
|
export declare const useAuthenticator: () => any;
|
|
4
9
|
//# sourceMappingURL=useAuth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../src/composables/useAuth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../src/composables/useAuth.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,gBAAgB,EAOjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,eAAO,MAAM,WAAW,+BAErB;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAE7C,CAAC;AAEH,eAAO,MAAM,OAAO,QAA8B,OAgChD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAoC3B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthContext, AuthEvent, AuthInterpreter, AuthMachineSend, AuthMachineState, AuthStatus, DefaultFormFieldOptions, SignInState, SignUpState } from '@aws-amplify/ui';
|
|
2
1
|
import { ComputedRef, InjectionKey, Ref, Slot } from 'vue';
|
|
3
2
|
import { Interpreter } from 'xstate';
|
|
3
|
+
import { AuthContext, AuthEvent, AuthInterpreter, AuthMachineSend, AuthMachineState, AuthStatus, AuthenticatorServiceFacade, DefaultFormFieldOptions, SignInState, SignUpState } from '@aws-amplify/ui';
|
|
4
4
|
export interface UseAuth {
|
|
5
5
|
authStatus: Ref<AuthStatus>;
|
|
6
6
|
send: AuthMachineSend;
|
|
@@ -43,4 +43,11 @@ export type InterpretService = Interpreter<AuthContext, any, AuthEvent, {
|
|
|
43
43
|
context: AuthContext;
|
|
44
44
|
}>;
|
|
45
45
|
export declare const InterpretServiceInjectionKeyTypes: InjectionKey<InterpretService>;
|
|
46
|
+
export type UseAuthenticator = AuthenticatorServiceFacade & {
|
|
47
|
+
/** @deprecated For internal use only */
|
|
48
|
+
QRFields: {
|
|
49
|
+
totpIssuer?: string;
|
|
50
|
+
totpUsername?: string;
|
|
51
|
+
} | null;
|
|
52
|
+
};
|
|
46
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.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