@aws-amplify/ui-vue 2.3.0 → 2.3.1

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.
Files changed (32) hide show
  1. package/dist/components/alias-control.vue.d.ts +6 -0
  2. package/dist/components/alias-control.vue.d.ts.map +1 -1
  3. package/dist/components/authenticator-force-new-password-form-fields.vue.d.ts.map +1 -1
  4. package/dist/components/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
  5. package/dist/components/confirm-reset-password.vue.d.ts.map +1 -1
  6. package/dist/components/confirm-sign-in.vue.d.ts.map +1 -1
  7. package/dist/components/confirm-sign-up.vue.d.ts.map +1 -1
  8. package/dist/components/confirm-verify-user.vue.d.ts.map +1 -1
  9. package/dist/components/force-new-password.vue.d.ts.map +1 -1
  10. package/dist/components/index.d.ts +2 -1
  11. package/dist/components/index.d.ts.map +1 -1
  12. package/dist/components/primitives/base-form-field.vue.d.ts +21 -0
  13. package/dist/components/primitives/base-form-field.vue.d.ts.map +1 -0
  14. package/dist/components/primitives/base-form-fields.vue.d.ts +11 -0
  15. package/dist/components/primitives/base-form-fields.vue.d.ts.map +1 -0
  16. package/dist/components/reset-password.vue.d.ts.map +1 -1
  17. package/dist/components/setup-totp.vue.d.ts.map +1 -1
  18. package/dist/components/sign-in.vue.d.ts.map +1 -1
  19. package/dist/components/sign-up.vue.d.ts.map +1 -1
  20. package/dist/composables/useUtils.d.ts +1 -15
  21. package/dist/composables/useUtils.d.ts.map +1 -1
  22. package/dist/index.cjs +29 -29
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +2389 -2849
  26. package/dist/types/index.d.ts +2 -3
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/package.json +7 -2
  29. package/dist/components/primitives/base-box.vue.d.ts +0 -3
  30. package/dist/components/primitives/base-box.vue.d.ts.map +0 -1
  31. package/dist/components/user-name-alias.vue.d.ts +0 -55
  32. package/dist/components/user-name-alias.vue.d.ts.map +0 -1
@@ -21,6 +21,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  };
22
22
  dialCode: null;
23
23
  dialCodeList: null;
24
+ type: {
25
+ default: string;
26
+ };
24
27
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
28
  [key: string]: any;
26
29
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
@@ -32,6 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
32
35
  required?: unknown;
33
36
  dialCode?: unknown;
34
37
  dialCodeList?: unknown;
38
+ type?: unknown;
35
39
  } & {
36
40
  label: string;
37
41
  name: string;
@@ -39,6 +43,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
39
43
  autocomplete: string;
40
44
  labelHidden: boolean;
41
45
  required: boolean;
46
+ type: string;
42
47
  } & {
43
48
  dialCode?: any;
44
49
  dialCodeList?: any;
@@ -49,6 +54,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
49
54
  autocomplete: string;
50
55
  labelHidden: boolean;
51
56
  required: boolean;
57
+ type: string;
52
58
  }>;
53
59
  export default _sfc_main;
54
60
  //# sourceMappingURL=alias-control.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alias-control.vue.d.ts","sourceRoot":"","sources":["../../src/components/alias-control.vue"],"names":[],"mappings":"AAmBA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkIb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"alias-control.vue.d.ts","sourceRoot":"","sources":["../../src/components/alias-control.vue"],"names":[],"mappings":"AAYA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmHb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"authenticator-force-new-password-form-fields.vue.d.ts","sourceRoot":"","sources":["../../src/components/authenticator-force-new-password-form-fields.vue"],"names":[],"mappings":"AAUA,QAAA,MAAM,SAAS;;8PAgCb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"authenticator-force-new-password-form-fields.vue.d.ts","sourceRoot":"","sources":["../../src/components/authenticator-force-new-password-form-fields.vue"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;8PAMb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"authenticator-sign-up-form-fields.vue.d.ts","sourceRoot":"","sources":["../../src/components/authenticator-sign-up-form-fields.vue"],"names":[],"mappings":"AAwBA,QAAA,MAAM,SAAS;;8PAsFb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"authenticator-sign-up-form-fields.vue.d.ts","sourceRoot":"","sources":["../../src/components/authenticator-sign-up-form-fields.vue"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;8PAMb,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":"AAaA,QAAA,MAAM,SAAS;;;;;MA+Mb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"confirm-reset-password.vue.d.ts","sourceRoot":"","sources":["../../src/components/confirm-reset-password.vue"],"names":[],"mappings":"AAYA,QAAA,MAAM,SAAS;;;;;MA2Ib,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":"AAWA,QAAA,MAAM,SAAS;;;;;MA0Lb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"confirm-sign-in.vue.d.ts","sourceRoot":"","sources":["../../src/components/confirm-sign-in.vue"],"names":[],"mappings":"AAYA,QAAA,MAAM,SAAS;;;;;MA8Ib,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":"AAMA,QAAA,MAAM,SAAS;;;;;MA8Lb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"confirm-sign-up.vue.d.ts","sourceRoot":"","sources":["../../src/components/confirm-sign-up.vue"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;MAoJb,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":"AAUA,QAAA,MAAM,SAAS;;;;;MAmLb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"confirm-verify-user.vue.d.ts","sourceRoot":"","sources":["../../src/components/confirm-verify-user.vue"],"names":[],"mappings":"AAWA,QAAA,MAAM,SAAS;;;;;MAwIb,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":"AAcA,QAAA,MAAM,SAAS;;;;;MAkLb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"force-new-password.vue.d.ts","sourceRoot":"","sources":["../../src/components/force-new-password.vue"],"names":[],"mappings":"AAWA,QAAA,MAAM,SAAS;;;;;MAmJb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -6,7 +6,6 @@ export { default as AuthenticatorSignUpFormFields } from './authenticator-sign-u
6
6
  export { default as AuthenticatorForceNewPasswordFormFields } from './authenticator-force-new-password-form-fields.vue';
7
7
  export { default as RenderInfo } from './primitives/render-info.vue';
8
8
  export { default as PasswordControl } from './password-control.vue';
9
- export { default as UserNameAlias } from './user-name-alias.vue';
10
9
  export { default as ForceNewPassword } from './force-new-password.vue';
11
10
  export { default as ResetPassword } from './reset-password.vue';
12
11
  export { default as ConfirmResetPassword } from './confirm-reset-password.vue';
@@ -17,5 +16,7 @@ export { default as ConfirmVerifyUser } from './confirm-verify-user.vue';
17
16
  export { default as AmplifyTextField } from './primitives/amplify-text-field.vue';
18
17
  export { default as AmplifyCheckBox } from './primitives/amplify-check-box.vue';
19
18
  export { default as AmplifyButton } from './primitives/amplify-button.vue';
19
+ export { default as BaseFormField } from './primitives/base-form-field.vue';
20
+ export { default as BaseFormFields } from './primitives/base-form-fields.vue';
20
21
  export * from '../types';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,uCAAuC,EAAE,MAAM,oDAAoD,CAAC;AACxH,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0B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,0BAA0B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC9E,cAAc,UAAU,CAAC"}
@@ -0,0 +1,21 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ name: {
3
+ default: string;
4
+ };
5
+ formField: {
6
+ default: () => {};
7
+ };
8
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
11
+ name?: unknown;
12
+ formField?: unknown;
13
+ } & {
14
+ name: string;
15
+ formField: {};
16
+ } & {}>, {
17
+ name: string;
18
+ formField: {};
19
+ }>;
20
+ export default _sfc_main;
21
+ //# sourceMappingURL=base-form-field.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-form-field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/base-form-field.vue"],"names":[],"mappings":"AASA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;EAiDb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ route: null;
3
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4
+ [key: string]: any;
5
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
6
+ route?: unknown;
7
+ } & {} & {
8
+ route?: any;
9
+ }>, {}>;
10
+ export default _sfc_main;
11
+ //# sourceMappingURL=base-form-fields.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-form-fields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/base-form-fields.vue"],"names":[],"mappings":"AAQA,QAAA,MAAM,SAAS;;;;;;;;OAsBb,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;;;;;MA2Kb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"reset-password.vue.d.ts","sourceRoot":"","sources":["../../src/components/reset-password.vue"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;MAmIb,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":"AAwBA,QAAA,MAAM,SAAS;;;;;MAmPb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"setup-totp.vue.d.ts","sourceRoot":"","sources":["../../src/components/setup-totp.vue"],"names":[],"mappings":"AAyBA,QAAA,MAAM,SAAS;;;;;MAkNb,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":"AAgBA,QAAA,MAAM,SAAS;;;;;;MAkKb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"sign-in.vue.d.ts","sourceRoot":"","sources":["../../src/components/sign-in.vue"],"names":[],"mappings":"AAeA,QAAA,MAAM,SAAS;;;;;;MA2Ib,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sign-up.vue.d.ts","sourceRoot":"","sources":["../../src/components/sign-up.vue"],"names":[],"mappings":"AAQA,QAAA,MAAM,SAAS;;;;MAiGb,CAAC;AACH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"sign-up.vue.d.ts","sourceRoot":"","sources":["../../src/components/sign-up.vue"],"names":[],"mappings":"AAQA,QAAA,MAAM,SAAS;;;;MAsGb,CAAC;AACH,eAAe,SAAS,CAAC"}
@@ -1,9 +1,4 @@
1
- import { AuthEventData, FormField, LoginMechanism } from '@aws-amplify/ui';
2
- /**
3
- * If 'username' is the only login mechanism, then we ask for a user's
4
- * email and phone number during sign up as well.
5
- */
6
- export declare const useAliases: (login_mechanisms: LoginMechanism[]) => LoginMechanism[];
1
+ import { AuthEventData } from '@aws-amplify/ui';
7
2
  export declare const facade: {
8
3
  error: string;
9
4
  hasValidationErrors: boolean;
@@ -35,13 +30,4 @@ export declare const facade: {
35
30
  submit: (data?: AuthEventData | undefined) => null;
36
31
  submitForm: (data?: AuthEventData | undefined) => null;
37
32
  };
38
- interface fieldProps {
39
- labelHidden: boolean;
40
- isRequired?: boolean;
41
- label: string;
42
- placeholder: string;
43
- required?: boolean;
44
- }
45
- export declare const propsCreator: (name: string, show: string, formOverrides: FormField, labelHiddenDefault?: boolean) => fieldProps;
46
- export {};
47
33
  //# sourceMappingURL=useUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUtils.d.ts","sourceRoot":"","sources":["../../src/composables/useUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,SAAS,EACT,cAAc,EAGf,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,eAAO,MAAM,UAAU,qBACH,cAAc,EAAE,KACjC,cAAc,EAGK,CAAC;AAEvB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC;AAEF,UAAU,UAAU;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,SACjB,MAAM,QACN,MAAM,iBACG,SAAS,uBACJ,OAAO,KAC1B,UAQF,CAAC"}
1
+ {"version":3,"file":"useUtils.d.ts","sourceRoot":"","sources":["../../src/composables/useUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC"}