@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
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, renderSlot, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, openBlock, createElementBlock, toRefs, ref, createVNode, withCtx, createCommentVNode, effectScope, getCurrentScope, onScopeDispose, isRef, shallowRef, watch, reactive, watchEffect, createBlock,
|
|
1
|
+
import { defineComponent, useSlots, renderSlot, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, openBlock, createElementBlock, toRefs, ref, createVNode, withCtx, createCommentVNode, effectScope, getCurrentScope, onScopeDispose, isRef, shallowRef, watch, reactive, watchEffect, createBlock, normalizeClass, createTextVNode, toDisplayString, Fragment, renderList, computed, onBeforeMount, useAttrs, withModifiers, h as h$2, onMounted, onUnmounted } from "vue";
|
|
2
2
|
import { I18n, Hub, Auth, Amplify, Logger } from "aws-amplify";
|
|
3
3
|
import { appendToCognitoUserAgent } from "@aws-amplify/auth";
|
|
4
4
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
@@ -99,17 +99,17 @@ var o$9, e$h;
|
|
|
99
99
|
}(o$9 || (o$9 = {})), function(o2) {
|
|
100
100
|
o2.Email = "email", o2.PhoneNumber = "phone_number";
|
|
101
101
|
}(e$h || (e$h = {}));
|
|
102
|
-
const e$g = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], a$4 = ["username", "email", "phone_number"], r$
|
|
102
|
+
const e$g = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], a$4 = ["username", "email", "phone_number"], r$5 = [...a$4, ...e$g, "confirmation_code", "password", "confirm_password"], i$5 = (e2) => r$5.includes(e2);
|
|
103
103
|
var e$f;
|
|
104
104
|
!function(e2) {
|
|
105
|
-
e2.Alert = "amplify-alert", e2.AlertIcon = "amplify-alert__icon", e2.AlertHeading = "amplify-alert__heading", e2.AlertBody = "amplify-alert__body", e2.AlertDismiss = "amplify-alert__dismiss", e2.Autocomplete = "amplify-autocomplete", e2.AutocompleteMenu = "amplify-autocomplete__menu", e2.AutocompleteMenuEmpty = "amplify-autocomplete__menu--empty", e2.AutocompleteMenuFooter = "amplify-autocomplete__menu__footer", e2.AutocompleteMenuHeader = "amplify-autocomplete__menu__header", e2.AutocompleteMenuLoading = "amplify-autocomplete__menu--loading", e2.AutocompleteMenuOption = "amplify-autocomplete__menu__option", e2.AutocompleteMenuOptions = "amplify-autocomplete__menu__options", e2.Badge = "amplify-badge", e2.Button = "amplify-button", e2.ButtonGroup = "amplify-buttongroup", e2.ButtonLoaderWrapper = "amplify-button__loader-wrapper", e2.Card = "amplify-card", e2.Checkbox = "amplify-checkbox", e2.CheckboxButton = "amplify-checkbox__button", e2.CheckboxIcon = "amplify-checkbox__icon", e2.CheckboxInput = "amplify-checkbox__input", e2.CheckboxLabel = "amplify-checkbox__label", e2.CheckboxField = "amplify-checkboxfield", e2.Collection = "amplify-collection", e2.CollectionItems = "amplify-collection-items", e2.CollectionSearch = "amplify-collection-search", e2.CollectionPagination = "amplify-collection-pagination", e2.CountryCodeSelect = "amplify-countrycodeselect", e2.DialCodeSelect = "amplify-dialcodeselect", e2.Divider = "amplify-divider", e2.DividerLabel = "amplify-divider--label", e2.Expander = "amplify-expander", e2.ExpanderContent = "amplify-expander__content", e2.ExpanderContentText = "amplify-expander__content__text", e2.ExpanderHeader = "amplify-expander__header", e2.ExpanderIcon = "amplify-expander__icon", e2.ExpanderItem = "amplify-expander__item", e2.ExpanderTrigger = "amplify-expander__trigger", e2.Field = "amplify-field", e2.FieldDescription = "amplify-field__description", e2.FieldErrorMessage = "amplify-field__error-message", e2.FieldGroup = "amplify-field-group", e2.FieldGroupControl = "amplify-field-group__control", e2.FieldGroupOuterEnd = "amplify-field-group__outer-end", e2.FieldGroupOuterStart = "amplify-field-group__outer-start", e2.FieldGroupInnerEnd = "amplify-field-group__inner-end", e2.FieldGroupInnerStart = "amplify-field-group__inner-start", e2.FieldGroupIcon = "amplify-field-group__icon", e2.FieldGroupIconButton = "amplify-field-group__icon-button", e2.FieldGroupHasInnerEnd = "amplify-field-group--has-inner-end", e2.FieldGroupHasInnerStart = "amplify-field-group--has-inner-start", e2.FieldShowPassword = "amplify-field__show-password", e2.FieldGroupFieldWrapper = "amplify-field-group__field-wrapper", e2.FileUploaderDropZone = "amplify-fileuploader__dropzone", e2.FileUploaderDropZoneIcon = "amplify-fileuploader__dropzone__icon", e2.FileUploaderDropZoneText = "amplify-fileuploader__dropzone__text", e2.FileUploaderDropZoneButton = "amplify-fileuploader__dropzone__button", e2.FileUploaderFile = "amplify-fileuploader__file", e2.FileUploaderFileWrapper = "amplify-fileuploader__file__wrapper", e2.FileUploaderFileName = "amplify-fileuploader__file__name", e2.FileUploaderFileSize = "amplify-fileuploader__file__size", e2.FileUploaderFileInfo = "amplify-fileuploader__file__info", e2.FileUploaderFileImage = "amplify-fileuploader__file__image", e2.FileUploaderFileMain = "amplify-fileuploader__file__main", e2.FileUploaderFileStatus = "amplify-fileuploader__file__status", e2.FileUploaderLoader = "amplify-fileuploader__loader", e2.FileUploaderPreviewer = "amplify-fileuploader__previewer", e2.FileUploaderPreviewerText = "amplify-fileuploader__previewer__text", e2.FileUploaderPreviewerBody = "amplify-fileuploader__previewer__body", e2.FileUploaderPreviewerFooter = "amplify-fileuploader__previewer__footer", e2.FileUploaderPreviewerFooterActions = "amplify-fileuploader__previewer__footer__actions", e2.Flex = "amplify-flex", e2.Grid = "amplify-grid", e2.Heading = "amplify-heading", e2.HighlightMatch = "amplify-highlightmatch", e2.HighlightMatchHighlighted = "amplify-highlightmatch__highlighted", e2.Icon = "amplify-icon", e2.Image = "amplify-image", e2.Input = "amplify-input", e2.Label = "amplify-label", e2.Link = "amplify-link", e2.Loader = "amplify-loader", e2.LoaderDeterminate = "amplify-loader--determinate", e2.LoaderPercentageText = "amplify-loader__percentage-text", e2.MenuContent = "amplify-menu-content", e2.MenuContentWrapper = "amplify-menu-content-wrapper", e2.MenuItem = "amplify-menu-content__item", e2.MenuTrigger = "amplify-menu-trigger", e2.Pagination = "amplify-pagination", e2.PaginationItemButton = "amplify-pagination__item-button", e2.PaginationItemCurrent = "amplify-pagination__item-current", e2.PaginationItemEllipsis = "amplify-pagination__item-ellipsis", e2.PasswordField = "amplify-passwordfield", e2.PhoneNumberField = "amplify-phonenumberfield", e2.Placeholder = "amplify-placeholder", e2.Radio = "amplify-radio", e2.RadioButton = "amplify-radio__button", e2.RadioInput = "amplify-radio__input", e2.RadioLabel = "amplify-radio__label", e2.RadioGroupField = "amplify-radiogroupfield", e2.RadioGroup = "amplify-radiogroup", e2.Rating = "amplify-rating", e2.ScrollView = "amplify-scrollview", e2.SearchField = "amplify-searchfield", e2.SearchFieldClear = "amplify-searchfield__clear", e2.SearchFieldSearch = "amplify-searchfield__search", e2.Select = "amplify-select", e2.SelectField = "amplify-selectfield", e2.SelectWrapper = "amplify-select__wrapper", e2.SelectIconWrapper = "amplify-select__icon-wrapper", e2.SliderField = "amplify-sliderfield", e2.SliderFieldGroup = "amplify-sliderfield__group", e2.SliderFieldLabel = "amplify-sliderfield__label", e2.SliderFieldRange = "amplify-sliderfield__range", e2.SliderFieldRoot = "amplify-sliderfield__root", e2.SliderFieldThumb = "amplify-sliderfield__thumb", e2.SliderFieldTrack = "amplify-sliderfield__track", e2.StepperField = "amplify-stepperfield", e2.StepperFieldButtonDecrease = "amplify-stepperfield__button--decrease", e2.StepperFieldButtonIncrease = "amplify-stepperfield__button--increase", e2.StepperFieldInput = "amplify-stepperfield__input", e2.StorageManager = "amplify-storagemanager", e2.StorageManagerDropZone = "amplify-storagemanager__dropzone", e2.StorageManagerDropZoneIcon = "amplify-storagemanager__dropzone__icon", e2.StorageManagerDropZoneText = "amplify-storagemanager__dropzone__text", e2.StorageManagerFilePicker = "amplify-storagemanager__file__picker", e2.StorageManagerFile = "amplify-storagemanager__file", e2.StorageManagerFileWrapper = "amplify-storagemanager__file__wrapper", e2.StorageManagerFileList = "amplify-storagemanager__file__list", e2.StorageManagerFileName = "amplify-storagemanager__file__name", e2.StorageManagerFileSize = "amplify-storagemanager__file__size", e2.StorageManagerFileInfo = "amplify-storagemanager__file__info", e2.StorageManagerFileImage = "amplify-storagemanager__file__image", e2.StorageManagerFileMain = "amplify-storagemanager__file__main", e2.StorageManagerFileStatus = "amplify-storagemanager__file__status", e2.StorageManagerLoader = "amplify-storagemanager__loader", e2.StorageManagerPreviewer = "amplify-storagemanager__previewer", e2.StorageManagerPreviewerText = "amplify-storagemanager__previewer__text", e2.SwitchField = "amplify-switchfield", e2.SwitchLabel = "amplify-switch-label", e2.SwitchThumb = "amplify-switch-thumb", e2.SwitchTrack = "amplify-switch-track", e2.SwitchWrapper = "amplify-switch__wrapper", e2.Table = "amplify-table", e2.TableCaption = "amplify-table__caption", e2.TableBody = "amplify-table__body", e2.TableTd = "amplify-table__td", e2.TableTh = "amplify-table__th", e2.TableFoot = "amplify-table__foot", e2.TableHead = "amplify-table__head", e2.TableRow = "amplify-table__row", e2.Tabs = "amplify-tabs", e2.TabItems = "amplify-tabs-item", e2.Text = "amplify-text", e2.Textarea = "amplify-textarea", e2.TextAreaField = "amplify-textareafield", e2.TextField = "amplify-textfield", e2.ToggleButton = "amplify-togglebutton", e2.ToggleButtonGroup = "amplify-togglebuttongroup", e2.VisuallyHidden = "amplify-visually-hidden";
|
|
105
|
+
e2.Alert = "amplify-alert", e2.AlertIcon = "amplify-alert__icon", e2.AlertHeading = "amplify-alert__heading", e2.AlertBody = "amplify-alert__body", e2.AlertDismiss = "amplify-alert__dismiss", e2.Autocomplete = "amplify-autocomplete", e2.AutocompleteMenu = "amplify-autocomplete__menu", e2.AutocompleteMenuEmpty = "amplify-autocomplete__menu--empty", e2.AutocompleteMenuFooter = "amplify-autocomplete__menu__footer", e2.AutocompleteMenuHeader = "amplify-autocomplete__menu__header", e2.AutocompleteMenuLoading = "amplify-autocomplete__menu--loading", e2.AutocompleteMenuOption = "amplify-autocomplete__menu__option", e2.AutocompleteMenuOptions = "amplify-autocomplete__menu__options", e2.Badge = "amplify-badge", e2.Button = "amplify-button", e2.ButtonGroup = "amplify-buttongroup", e2.ButtonLoaderWrapper = "amplify-button__loader-wrapper", e2.Card = "amplify-card", e2.Checkbox = "amplify-checkbox", e2.CheckboxButton = "amplify-checkbox__button", e2.CheckboxIcon = "amplify-checkbox__icon", e2.CheckboxInput = "amplify-checkbox__input", e2.CheckboxLabel = "amplify-checkbox__label", e2.CheckboxField = "amplify-checkboxfield", e2.Collection = "amplify-collection", e2.CollectionItems = "amplify-collection-items", e2.CollectionSearch = "amplify-collection-search", e2.CollectionPagination = "amplify-collection-pagination", e2.CountryCodeSelect = "amplify-countrycodeselect", e2.DialCodeSelect = "amplify-dialcodeselect", e2.Divider = "amplify-divider", e2.DividerLabel = "amplify-divider--label", e2.Expander = "amplify-expander", e2.ExpanderContent = "amplify-expander__content", e2.ExpanderContentText = "amplify-expander__content__text", e2.ExpanderHeader = "amplify-expander__header", e2.ExpanderIcon = "amplify-expander__icon", e2.ExpanderItem = "amplify-expander__item", e2.ExpanderTrigger = "amplify-expander__trigger", e2.Field = "amplify-field", e2.FieldDescription = "amplify-field__description", e2.FieldErrorMessage = "amplify-field__error-message", e2.FieldGroup = "amplify-field-group", e2.FieldGroupControl = "amplify-field-group__control", e2.FieldGroupOuterEnd = "amplify-field-group__outer-end", e2.FieldGroupOuterStart = "amplify-field-group__outer-start", e2.FieldGroupInnerEnd = "amplify-field-group__inner-end", e2.FieldGroupInnerStart = "amplify-field-group__inner-start", e2.FieldGroupIcon = "amplify-field-group__icon", e2.FieldGroupIconButton = "amplify-field-group__icon-button", e2.FieldGroupHasInnerEnd = "amplify-field-group--has-inner-end", e2.FieldGroupHasInnerStart = "amplify-field-group--has-inner-start", e2.FieldShowPassword = "amplify-field__show-password", e2.FieldGroupFieldWrapper = "amplify-field-group__field-wrapper", e2.FileUploaderDropZone = "amplify-fileuploader__dropzone", e2.FileUploaderDropZoneIcon = "amplify-fileuploader__dropzone__icon", e2.FileUploaderDropZoneText = "amplify-fileuploader__dropzone__text", e2.FileUploaderDropZoneButton = "amplify-fileuploader__dropzone__button", e2.FileUploaderFile = "amplify-fileuploader__file", e2.FileUploaderFileWrapper = "amplify-fileuploader__file__wrapper", e2.FileUploaderFileName = "amplify-fileuploader__file__name", e2.FileUploaderFileSize = "amplify-fileuploader__file__size", e2.FileUploaderFileInfo = "amplify-fileuploader__file__info", e2.FileUploaderFileImage = "amplify-fileuploader__file__image", e2.FileUploaderFileMain = "amplify-fileuploader__file__main", e2.FileUploaderFileStatus = "amplify-fileuploader__file__status", e2.FileUploaderLoader = "amplify-fileuploader__loader", e2.FileUploaderPreviewer = "amplify-fileuploader__previewer", e2.FileUploaderPreviewerText = "amplify-fileuploader__previewer__text", e2.FileUploaderPreviewerBody = "amplify-fileuploader__previewer__body", e2.FileUploaderPreviewerFooter = "amplify-fileuploader__previewer__footer", e2.FileUploaderPreviewerFooterActions = "amplify-fileuploader__previewer__footer__actions", e2.Flex = "amplify-flex", e2.Grid = "amplify-grid", e2.Heading = "amplify-heading", e2.HighlightMatch = "amplify-highlightmatch", e2.HighlightMatchHighlighted = "amplify-highlightmatch__highlighted", e2.Icon = "amplify-icon", e2.Image = "amplify-image", e2.Input = "amplify-input", e2.Label = "amplify-label", e2.Link = "amplify-link", e2.Loader = "amplify-loader", e2.LoaderDeterminate = "amplify-loader--determinate", e2.LoaderPercentageText = "amplify-loader__percentage-text", e2.MenuContent = "amplify-menu-content", e2.MenuContentWrapper = "amplify-menu-content-wrapper", e2.MenuItem = "amplify-menu-content__item", e2.MenuTrigger = "amplify-menu-trigger", e2.Pagination = "amplify-pagination", e2.PaginationItemButton = "amplify-pagination__item-button", e2.PaginationItemCurrent = "amplify-pagination__item-current", e2.PaginationItemEllipsis = "amplify-pagination__item-ellipsis", e2.PasswordField = "amplify-passwordfield", e2.PhoneNumberField = "amplify-phonenumberfield", e2.Placeholder = "amplify-placeholder", e2.Radio = "amplify-radio", e2.RadioButton = "amplify-radio__button", e2.RadioInput = "amplify-radio__input", e2.RadioLabel = "amplify-radio__label", e2.RadioGroupField = "amplify-radiogroupfield", e2.RadioGroup = "amplify-radiogroup", e2.Rating = "amplify-rating", e2.ScrollView = "amplify-scrollview", e2.SearchField = "amplify-searchfield", e2.SearchFieldClear = "amplify-searchfield__clear", e2.SearchFieldSearch = "amplify-searchfield__search", e2.Select = "amplify-select", e2.SelectField = "amplify-selectfield", e2.SelectWrapper = "amplify-select__wrapper", e2.SelectIconWrapper = "amplify-select__icon-wrapper", e2.SliderField = "amplify-sliderfield", e2.SliderFieldGroup = "amplify-sliderfield__group", e2.SliderFieldLabel = "amplify-sliderfield__label", e2.SliderFieldRange = "amplify-sliderfield__range", e2.SliderFieldRoot = "amplify-sliderfield__root", e2.SliderFieldThumb = "amplify-sliderfield__thumb", e2.SliderFieldTrack = "amplify-sliderfield__track", e2.StepperField = "amplify-stepperfield", e2.StepperFieldButtonDecrease = "amplify-stepperfield__button--decrease", e2.StepperFieldButtonIncrease = "amplify-stepperfield__button--increase", e2.StepperFieldInput = "amplify-stepperfield__input", e2.StorageImage = "amplify-storageimage", e2.StorageManager = "amplify-storagemanager", e2.StorageManagerDropZone = "amplify-storagemanager__dropzone", e2.StorageManagerDropZoneIcon = "amplify-storagemanager__dropzone__icon", e2.StorageManagerDropZoneText = "amplify-storagemanager__dropzone__text", e2.StorageManagerFilePicker = "amplify-storagemanager__file__picker", e2.StorageManagerFile = "amplify-storagemanager__file", e2.StorageManagerFileWrapper = "amplify-storagemanager__file__wrapper", e2.StorageManagerFileList = "amplify-storagemanager__file__list", e2.StorageManagerFileName = "amplify-storagemanager__file__name", e2.StorageManagerFileSize = "amplify-storagemanager__file__size", e2.StorageManagerFileInfo = "amplify-storagemanager__file__info", e2.StorageManagerFileImage = "amplify-storagemanager__file__image", e2.StorageManagerFileMain = "amplify-storagemanager__file__main", e2.StorageManagerFileStatus = "amplify-storagemanager__file__status", e2.StorageManagerLoader = "amplify-storagemanager__loader", e2.StorageManagerPreviewer = "amplify-storagemanager__previewer", e2.StorageManagerPreviewerText = "amplify-storagemanager__previewer__text", e2.SwitchField = "amplify-switchfield", e2.SwitchLabel = "amplify-switch-label", e2.SwitchThumb = "amplify-switch-thumb", e2.SwitchTrack = "amplify-switch-track", e2.SwitchWrapper = "amplify-switch__wrapper", e2.Table = "amplify-table", e2.TableCaption = "amplify-table__caption", e2.TableBody = "amplify-table__body", e2.TableTd = "amplify-table__td", e2.TableTh = "amplify-table__th", e2.TableFoot = "amplify-table__foot", e2.TableHead = "amplify-table__head", e2.TableRow = "amplify-table__row", e2.Tabs = "amplify-tabs", e2.TabItems = "amplify-tabs-item", e2.Text = "amplify-text", e2.Textarea = "amplify-textarea", e2.TextAreaField = "amplify-textareafield", e2.TextField = "amplify-textfield", e2.ToggleButton = "amplify-togglebutton", e2.ToggleButtonGroup = "amplify-togglebuttongroup", e2.VisuallyHidden = "amplify-visually-hidden";
|
|
106
106
|
}(e$f || (e$f = {}));
|
|
107
107
|
const i$4 = (t2) => {
|
|
108
108
|
var i2;
|
|
109
109
|
const s2 = null === (i2 = null == t2 ? void 0 : t2.context.config) || void 0 === i2 ? void 0 : i2.loginMechanisms, [n2] = null != s2 ? s2 : ["username"];
|
|
110
110
|
return n2;
|
|
111
111
|
};
|
|
112
|
-
const r$
|
|
112
|
+
const r$4 = (e2) => {
|
|
113
113
|
const t2 = (t3) => (r2) => e2({ type: t3, data: r2 });
|
|
114
114
|
return { initializeMachine: t2("INIT"), resendCode: t2("RESEND"), signOut: t2("SIGN_OUT"), submitForm: t2("SUBMIT"), updateForm: t2("CHANGE"), updateBlur: t2("BLUR"), toFederatedSignIn: t2("FEDERATED_SIGN_IN"), toResetPassword: t2("RESET_PASSWORD"), toSignIn: t2("SIGN_IN"), toSignUp: t2("SIGN_UP"), skipVerification: t2("SKIP") };
|
|
115
115
|
}, n$5 = (r2) => {
|
|
@@ -164,14 +164,14 @@ const r$5 = (e2) => {
|
|
|
164
164
|
})(I2);
|
|
165
165
|
return { authStatus: P2, codeDeliveryDetails: u2, error: d2, hasValidationErrors: f2, isPending: S, route: I2, socialProviders: v2, totpSecretCode: h2, unverifiedContactMethods: l2, user: g2, validationErrors: m2 };
|
|
166
166
|
}, s$3 = ({ send: e2, state: t2 }) => {
|
|
167
|
-
const s2 = r$
|
|
167
|
+
const s2 = r$4(e2), i2 = n$5(t2);
|
|
168
168
|
return Object.assign(Object.assign({}, s2), i2);
|
|
169
169
|
};
|
|
170
170
|
const o$8 = ["+1", "+7", "+20", "+27", "+30", "+31", "+32", "+33", "+34", "+36", "+39", "+40", "+41", "+43", "+44", "+45", "+46", "+47", "+48", "+49", "+51", "+52", "+53", "+54", "+55", "+56", "+57", "+58", "+60", "+61", "+62", "+63", "+64", "+65", "+66", "+81", "+82", "+84", "+86", "+90", "+91", "+92", "+93", "+94", "+95", "+98", "+212", "+213", "+216", "+218", "+220", "+221", "+222", "+223", "+224", "+225", "+226", "+227", "+228", "+229", "+230", "+231", "+232", "+233", "+234", "+235", "+236", "+237", "+238", "+239", "+240", "+241", "+242", "+243", "+244", "+245", "+246", "+248", "+249", "+250", "+251", "+252", "+253", "+254", "+255", "+256", "+257", "+258", "+260", "+261", "+262", "+263", "+264", "+265", "+266", "+267", "+268", "+269", "+290", "+291", "+297", "+298", "+299", "+345", "+350", "+351", "+352", "+353", "+354", "+355", "+356", "+357", "+358", "+359", "+370", "+371", "+372", "+373", "+374", "+375", "+376", "+377", "+378", "+379", "+380", "+381", "+382", "+385", "+386", "+387", "+389", "+420", "+421", "+423", "+500", "+501", "+502", "+503", "+504", "+505", "+506", "+507", "+508", "+509", "+537", "+590", "+591", "+593", "+594", "+595", "+596", "+597", "+598", "+599", "+670", "+672", "+673", "+674", "+675", "+676", "+677", "+678", "+679", "+680", "+681", "+682", "+683", "+685", "+686", "+687", "+688", "+689", "+690", "+691", "+692", "+850", "+852", "+853", "+855", "+856", "+872", "+880", "+886", "+960", "+961", "+962", "+963", "+964", "+965", "+966", "+967", "+968", "+970", "+971", "+972", "+973", "+974", "+975", "+976", "+977", "+992", "+993", "+994", "+995", "+996", "+998"];
|
|
171
171
|
const e$e = { "Account recovery requires verified contact information": "Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account", "Back to Sign In": "Zur\xFCck zur Anmeldung", "Change Password": "Passwort \xE4ndern", Changing: "\xC4ndern von", Code: "Code", "Confirm Password": "Passwort best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirm SMS Code": "SMS-Code best\xE4tigen", "Confirm TOTP Code": "TOTP-Code best\xE4tigen", Confirm: "Best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", Confirming: "Wird best\xE4tigt", "Create a new account": "Einen neuen Account erstellen", "Create Account": "Account erstellen", "Creating Account": "Account wird erstellt", "Dismiss alert": "Warnung verwerfen", Email: "Email", "Enter your code": "Geben Sie Ihren Code ein", "Enter your Email": "Geben Sie Ihre E-Mail", "Enter your phone number": "Geben Sie Ihre Telefonnummer ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Forgot your password?": "Passwort vergessen? ", "Hide password": "Passwort verbergen", "It may take a minute to arrive": "Es kann eine Minute dauern, bis er ankommt", Loading: "Wird geladen", "New password": "Neues Passwort", or: "oder", Password: "Passwort", "Phone Number": "Telefonnummer", "Resend Code": "Code erneut senden", "Reset your Password": "Zur\xFCcksetzen des Passwort", "Reset your password": "Zur\xFCcksetzen des passwort", "Send code": "Code senden", "Send Code": "Code senden", Sending: "Wird gesendet", "Setup TOTP": "TOTP einrichten", "Show password": "Passwort anzeigen", "Sign in to your account": "Melden Sie sich mit Ihrem Account an", "Sign In with Amazon": "Mit Amazon anmelden", "Sign In with Apple": "Mit Apple anmelden", "Sign In with Facebook": "Mit Facebook anmelden", "Sign In with Google": "Mit Google anmelden", "Sign in": "Anmelden", "Sign In": "Anmelden", "Signing in": "Wird angemeldet", Skip: "\xDCberspringen", Submit: "Abschicken", Submitting: "Wird gesendet", Username: "Benutzername", "Verify Contact": "Kontakt verifizieren", Verify: "Verifizieren", "We Sent A Code": "Wir haben einen Code gesendet", "We Texted You": "Wir haben Ihnen eine SMS-Textur", "Your code is on the way. To log in, enter the code we sent you": "Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben", "An account with the given email already exists.": "Ein Account mit dieser Email existiert bereits.", "Confirm a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Create account": "Hier registrieren", "Enter your password": "Geben Sie Ihr Passwort ein", "Enter your Password": "Geben Sie Ihre Passwort ein", "Sign Up with Facebook": "Mit Facebook registrieren", "Sign Up with Google": "Mit Google registrieren", "Forgot Password": "Passwort vergessen", "Have an account? ": "Schon registriert? ", "Incorrect username or password": "Falscher Benutzername oder falsches Passwort", "Invalid password format": "Ung\xFCltiges Passwort-Format", "Invalid phone number format": "Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900", "It may take a minute to arrive.": "Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.", "Lost your code? ": "Code verloren? ", "New Password": "Neues Passwort", "No account? ": "Kein Account? ", "Password attempts exceeded": "Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht", "Reset password": "Passwort zur\xFCcksetzen", "Sign Out": "Abmelden", "Sign Up": "Registrieren", "User already exists": "Dieser Benutzer existiert bereits", "User does not exist": "Dieser Benutzer existiert nicht", "Username cannot be empty": "Benutzername darf nicht leer sein", "We Emailed You": "Email wurde versendet", "Your code is on the way. To log in, enter the code we emailed to": "Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an", "Your code is on the way. To log in, enter the code we texted to": "Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an" };
|
|
172
172
|
const e$d = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Add your Profile": "Add your Profile", "Add your Website": "Add your Website", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", Confirm: "Confirm", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create a new account": "Create a new account", "Create Account": "Create Account", "Creating Account": "Creating Account", "Dismiss alert": "Dismiss alert", Email: "Email", "Enter your Birthdate": "Enter your Birthdate", "Enter your code": "Enter your code", "Enter your Confirmation Code": "Enter your Confirmation Code", "Enter your Email": "Enter your Email", "Enter your Family Name": "Enter your Family Name", "Enter your Given Name": "Enter your Given Name", "Enter your Middle Name": "Enter your Middle Name", "Enter your Name": "Enter your Name", "Enter your Nickname": "Enter your Nickname", "Enter your Password": "Enter your Password", "Enter your phone number": "Enter your phone number", "Enter your Preferred Username": "Enter your Preferred Username", "Enter your username": "Enter your username", "Forgot password?": "Forgot password?", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", "It may take a minute to arrive": "It may take a minute to arrive", Loading: "Loading", "New password": "New password", or: "or", Password: "Password", "Phone Number": "Phone Number", "Please confirm your Password": "Please confirm your Password", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send code": "Send code", "Send Code": "Send Code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in to your account": "Sign in to your account", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in": "Sign in", "Sign In": "Sign In", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", Username: "Username", "Verify Contact": "Verify Contact", Verify: "Verify", "We Emailed You": "We Emailed You", "We Sent A Code": "We Sent A Code", "We Texted You": "We Texted You", "Your code is on the way. To log in, enter the code we emailed to": "Your code is on the way. To log in, enter the code we emailed to", "Your code is on the way. To log in, enter the code we sent you": "Your code is on the way. To log in, enter the code we sent you", "Your code is on the way. To log in, enter the code we texted to": "Your code is on the way. To log in, enter the code we texted to" };
|
|
173
173
|
const e$c = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Changing: "Cambiando", Code: "C\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign Up": "Confirmar registro", "Confirm SMS Code": "Confirmar el c\xF3digo de SMS", "Confirm TOTP Code": "Confirmar c\xF3digo TOTP", Confirm: "Confirmar", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", Confirming: "Confirmando", "Create a new account": "Crear una cuenta nueva", "Create Account": "Crear cuenta", "Creating Account": "Creando cuenta", "Dismiss alert": "Descartar alerta", Email: "Email", "Enter your code": "Ingrese el c\xF3digo", "Enter your Email": "Escriba su Email", "Enter your Password": "Escriba su Contrase\xF1a", "Enter your phone number": "Ingrese el n\xFAmero de tel\xE9fono", "Enter your username": "Ingrese el nombre de usuario", "Forgot your password?": "\xBFOlvid\xF3 su contrase\xF1a?", "Hide password": "Ocultar contrase\xF1a", "It may take a minute to arrive": "Es posible que tarde un minuto en llegar", Loading: "Cargando", "New password": "Nueva contrase\xF1a", or: "o", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Restablecer su contrase\xF1a", "Reset your Password": "Restablecer su Contrase\xF1a", "Send code": "Enviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar contrase\xF1a", "Sign in to your account": "Iniciar sesi\xF3n en tu cuenta", "Sign In with Amazon": "Iniciar Sesi\xF3n con Amazon", "Sign In with Apple": "Iniciar Sesi\xF3n con Apple", "Sign In with Facebook": "Iniciar Sesi\xF3n con Facebook", "Sign In with Google": "Iniciar Sesi\xF3n con Google", "Sign in": "Iniciar sesi\xF3n", "Sign In": "Iniciar Sesi\xF3n", "Signing in": "Iniciando sesi\xF3n", Skip: "Omitir", Submit: "Enviar", Submitting: "Enviando", Username: "Nombre de usuario", "Verify Contact": "Verificar contacto", Verify: "Verificar", "We Emailed You": "Le hemos enviado un correo electr\xF3nico", "We Sent A Code": "Hemos enviado un c\xF3digo", "We Texted You": "Le hemos enviado un mensaje de texto", "Your code is on the way. To log in, enter the code we emailed to": "El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a", "Your code is on the way. To log in, enter the code we sent you": "El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado", "Your code is on the way. To log in, enter the code we texted to": "El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a", "An account with the given email already exists.": "Ya existe una cuenta con el correo ingresado.", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password.": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", "Resend a Code": "Reenviar un c\xF3digo", "Sign Out": "Cerrar sesi\xF3n", "Sign Up with Amazon": "Crear cuenta con Amazon", "Sign Up with Apple": "Crear cuenta con Apple", "Sign Up with Facebook": "Crear cuenta con Facebook", "Sign Up with Google": "Crear cuenta con Google", "Sign Up": "Crear cuenta", "User already exists": "El usuario ya existe", "User does not exist": "El usuario no existe", "Username cannot be empty": "El nombre de usuario no puede estar vac\xEDo", "Your passwords must match": "Las contrase\xF1as deben coincidir" };
|
|
174
|
-
const e$b = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "Back to Sign In": "Retour \xE0 la connexion", "Change Password": "Modifier le mot de passe", Changing: "Modification en cours", Code: "Code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", Confirm: "Confirmer", "Confirmation Code": "Code de confirmation", Confirming: "Confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create Account": "Cr\xE9er un compte", "Creating Account": "Cr\xE9ation d'un compte", "Dismiss alert": "Supprimer l'alerte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your Email": "Saisissez votre adresse email", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Hide password": "Masquer le mot de passe", "It may take a minute to arrive": "Cela peut prendre une minute", Loading: "Chargement en cours", "New password": "Nouveau mot de passe", or: "ou", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend Code": "Renvoyer le code", "Reset your Password": "R\xE9initialiser votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", "Send code": "Envoyer le code", "Send Code": "M'envoyer un code", Sending: "Envoi en cours", "Setup TOTP": "Configuration de TOTP", "Show password": "Afficher le mot de passe", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with Apple": "Se connecter avec Apple", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign in": "Se connecter", "Sign In": "Se connecter", "Signing in": "Connexion en cours", Skip: "Passer", Submit: "Soumettre", Submitting: "Envoi en cours", Username: "Nom d'utilisateur", "Verify Contact": "V\xE9rifier le contact", Verify: "V\xE9rifier", "We Sent A Code": "Nous avons envoy\xE9 un code", "We Texted You": "Nous vous avons envoy\xE9 un SMS", "Your code is on the way. To log in, enter the code we sent you": "Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", Change: "Modifier", "Confirm a Code": "Confirmer un code", "Confirm Sign In": "Confirmer la connexion", "Create account": "Cr\xE9er un compte", "Enter your password": "Saisissez votre mot de passe", "Forgot Password": "Mot de passe oubli\xE9", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", "Resend a Code": "Renvoyer un code", "Reset password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Sign In with AWS": "Se connecter avec AWS", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", SMS: "SMS", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas", "We Emailed You": "Nous vous avons envoy\xE9 un code", "Your code is on the way. To log in, enter the code we emailed to": "Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email", "Your code is on the way. To log in, enter the code we texted to": "Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone", "It may take a minute to arrive.": "Cela peut prendre quelques minutes." };
|
|
174
|
+
const e$b = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "Back to Sign In": "Retour \xE0 la connexion", "Change Password": "Modifier le mot de passe", Changing: "Modification en cours", Code: "Code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", Confirm: "Confirmer", "Confirmation Code": "Code de confirmation", Confirming: "Confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create Account": "Cr\xE9er un compte", "Creating Account": "Cr\xE9ation d'un compte", "Dismiss alert": "Supprimer l'alerte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your Email": "Saisissez votre adresse email", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Hide password": "Masquer le mot de passe", "It may take a minute to arrive": "Cela peut prendre une minute", Loading: "Chargement en cours", "New password": "Nouveau mot de passe", or: "ou", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend Code": "Renvoyer le code", "Reset your Password": "R\xE9initialiser votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", "Send code": "Envoyer le code", "Send Code": "M'envoyer un code", Sending: "Envoi en cours", "Setup TOTP": "Configuration de TOTP", "Show password": "Afficher le mot de passe", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with Apple": "Se connecter avec Apple", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign in": "Se connecter", "Sign In": "Se connecter", "Signing in": "Connexion en cours", Skip: "Passer", Submit: "Soumettre", Submitting: "Envoi en cours", Username: "Nom d'utilisateur", "Verify Contact": "V\xE9rifier le contact", Verify: "V\xE9rifier", "We Sent A Code": "Nous avons envoy\xE9 un code", "We Texted You": "Nous vous avons envoy\xE9 un SMS", "Your code is on the way. To log in, enter the code we sent you": "Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", Change: "Modifier", "Confirm a Code": "Confirmer un code", "Confirm Sign In": "Confirmer la connexion", "Create account": "Cr\xE9er un compte", "Enter your password": "Saisissez votre mot de passe", "Forgot Password": "Mot de passe oubli\xE9", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", "Resend a Code": "Renvoyer un code", "Reset password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Sign In with AWS": "Se connecter avec AWS", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", SMS: "SMS", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas", "We Emailed You": "Nous vous avons envoy\xE9 un code", "Your code is on the way. To log in, enter the code we emailed to": "Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email", "Your code is on the way. To log in, enter the code we texted to": "Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone", "Your passwords must match": "Vos mots de passe doivent \xEAtre identiques", "It may take a minute to arrive.": "Cela peut prendre quelques minutes." };
|
|
175
175
|
const o$7 = { "Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate", "Back to Sign In": "Torna alla schermata di accesso", "Change Password": "Cambia la password", Changing: "Modifica in corso", Code: "Codice", "Confirm Password": "Conferma la password", "Confirm Sign Up": "Conferma registrazione", "Confirm SMS Code": "Conferma codice SMS", "Confirm TOTP Code": "Conferma codice TOTP", Confirm: "Conferma", "Confirmation Code": "Codice di verifica", Confirming: "Conferma in corso", "Create a new account": "Crea un nuovo account", "Create Account": "Crea Account", "Creating Account": "Creazione account in corso", "Dismiss alert": "Ignora l'avviso", Email: "Email", "Enter your code": "Inserisci il tuo codice", "Enter your Email": "Inserisci la tua e-mail", "Enter your phone number": 'Inserisci il tuo numero di telefono"', "Enter your username": "Inserisci il tuo nome utente", "Forgot your password?": "Password dimenticata?", "Hide password": "Nascondi password", "It may take a minute to arrive": "L'arrivo potrebbe richiedere qualche minuto", Loading: "Caricamento in corso", "New password": "Nuova password", or: "oppure", Password: "Password", "Phone Number": "Numero di telefono", "Resend Code": "Invia nuovamente il codice", "Reset your Password": "Reimposta la tua Password", "Reset your password": "Reimposta la tua password", "Send code": "Invia codice", "Send Code": "Invia codice", Sending: "Invio in corso", "Setup TOTP": "Configura TOTP", "Show password": "Mostra password", "Sign in to your account": "Accedi al tuo account", "Sign In with Amazon": "Accedi con Amazon", "Sign In with Apple": "Accedi con Apple", "Sign In with Facebook": "Accedi con Facebook", "Sign In with Google": "Accedi con Google", "Sign in": "Accedi", "Sign In": "Accedi", "Signing in": "Accesso in corso", Skip: "Salta", Submit: "Invia", Submitting: "Invio in corso", Username: "Nome utente", "Verify Contact": "Verifica contatto", Verify: "Verifica", "We Emailed You": "Ti abbiamo inviato un'e-mail", "We Sent A Code": "Ti abbiamo inviato un codice", "We Texted You": "Ti abbiamo inviato un SMS", "Your code is on the way. To log in, enter the code we emailed to": "Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail", "Your code is on the way. To log in, enter the code we sent you": "Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato", "Your code is on the way. To log in, enter the code we texted to": "Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS", "An account with the given email already exists.": "Questa email \xE8 gi\xE0 utilizzata da un altro account.", "Confirm a Code": "Conferma un codice", "Confirm Sign In": "Conferma l'accesso", "Create account": "Crea account", "Enter your password": "Inserisci la tua password", "Forgot Password?": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Formato del numero di telefono non valido", "Lost your code?": "Codice smarrito?", "New Password": "Nuova password", "No account? ": "Non hai un account?", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Reset password": "Reimposta password", "Sign Out": "Esci", "Sign Up": "Registrati", "User already exists": "Utente gi\xE0 esistente", "User does not exist": "Utente inesistente", "Username cannot be empty": "Il nome utente non pu\xF2 essere vuoto" };
|
|
176
176
|
const e$a = { "Account recovery requires verified contact information": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059", "Back to Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B", "Change Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ", Changing: "\u5909\u66F4\u4E2D", Code: "\u30B3\u30FC\u30C9", "Confirm Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D", "Confirm Sign Up": "\u767B\u9332\u3059\u308B", "Confirm SMS Code": "SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", "Confirm TOTP Code": "TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", Confirm: "\u78BA\u5B9A", "Confirmation Code": "\u78BA\u8A8D\u30B3\u30FC\u30C9", Confirming: "\u78BA\u8A8D\u4E2D", "Create a new account": "\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", "Create Account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", "Creating Account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D", "Dismiss alert": "\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B", Email: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", "Enter your code": "\u30B3\u30FC\u30C9\u3092\u5165\u529B", "Enter your Email": "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B", "Enter your phone number": "\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B", "Enter your username": "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ", "Forgot your password?": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ", "Hide password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A", "It may take a minute to arrive": "\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002", Loading: "\u30ED\u30FC\u30C9\u4E2D", "New password": "\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9", or: "\u53C8\u306F", Password: "\u30D1\u30B9\u30EF\u30FC\u30C9 ", "Phone Number": "\u96FB\u8A71\u756A\u53F7", "Resend Code": "\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1", "Reset your Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8", "Reset your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B", "Send code": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1", "Send Code": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1", Sending: "\u9001\u4FE1\u4E2D", "Setup TOTP": "TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7", "Show password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A", "Sign in to your account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign In with Amazon": "Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Apple": "Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Facebook": "Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Google": "Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign in": "\u30B5\u30A4\u30F3\u30A4\u30F3", "Signing in": "\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D", Skip: "\u30B9\u30AD\u30C3\u30D7", Submit: "\u9001\u4FE1", Submitting: "\u9001\u4FE1\u4E2D", Username: "\u30E6\u30FC\u30B6\u30FC\u540D ", "Verify Contact": "\u9023\u7D61\u5148\u3092\u78BA\u8A8D", Verify: "\u78BA\u8A8D", "We Sent A Code": "\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F", "We Texted You": "\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F", "Your code is on the way. To log in, enter the code we sent you": "\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "An account with the given email already exists.": "\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059", "Confirm a Code": "\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", "Confirm Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B", "Create account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ", "Enter your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ", "Enter your Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B", "Please confirm your Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B", "Forgot Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ", "Have an account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F", "Incorrect username or password": "\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ", "Invalid password format": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ", "Invalid phone number format": "\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002\n+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044", "It may take a minute to arrive.": "\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002", "Lost your code? ": "\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F", "New Password": "\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9", "No account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ", "Password attempts exceeded": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F", "Reset password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ", "Reset Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8", "Sign Out": "\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ", "Sign Up": "\u767B\u9332 ", "User already exists": "\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ", "User does not exist": "\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ", "Username cannot be empty": "\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059", "We Emailed You": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F", "Your code is on the way. To log in, enter the code we emailed to": "\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:", "Your code is on the way. To log in, enter the code we texted to": "\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:" };
|
|
177
177
|
const e$9 = { "Account recovery requires verified contact information": "\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4", "Back to Sign In": "\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30", "Change Password": "\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30", Changing: "\uBCC0\uACBD\uC911", Code: "\uCF54\uB4DC", "Confirm Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778", "Confirm Sign Up": "\uD68C\uC6D0\uAC00\uC785 \uD655\uC778", "Confirm SMS Code": "\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778", "Confirm TOTP Code": "TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778", Confirm: "\uD655\uC778", "Confirmation Code": "\uC778\uC99D\uBC88\uD638", Confirming: "\uD655\uC778\uC911", "Create a new account": "\uD68C\uC6D0\uAC00\uC785", "Create Account": "\uD68C\uC6D0\uAC00\uC785", "Creating Account": "\uD68C\uC6D0\uAC00\uC785\uC911", "Dismiss alert": "\uC54C\uB9BC \uBB34\uC2DC", Email: "\uC774\uBA54\uC77C", "Enter your code": "\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Enter your Email": "\uC774\uBA54\uC77C \uC785\uB825", "Enter your phone number": "\uC804\uD654\uBC88\uD638 \uC785\uB825", "Enter your username": "\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Hide password": "\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30", "It may take a minute to arrive": "\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4", Loading: "\uB85C\uB529\uC911", "New password": "\uC0C8 \uBE44\uBC00\uBC88\uD638", or: "\uB610\uB294", Password: "\uBE44\uBC00\uBC88\uD638", "Phone Number": "\uC804\uD654\uBC88\uD638", "Resend Code": "\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1", "Reset your password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Reset your Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Send code": "\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30", "Send Code": "\uCF54\uB4DC \uC804\uC1A1", Sending: "\uC804\uC1A1\uC911", "Setup TOTP": "TOTP \uC124\uC815\uD558\uAE30", "Show password": "\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30", "Sign in to your account": "\uB85C\uADF8\uC778", "Sign In with Amazon": "Amazon \uB85C\uADF8\uC778", "Sign In with Apple": "Apple \uB85C\uADF8\uC778", "Sign In with Facebook": "Facebook \uB85C\uADF8\uC778", "Sign In with Google": "Google \uB85C\uADF8\uC778", "Sign in": "\uB85C\uADF8\uC778", "Sign In": "\uB85C\uADF8\uC778", "Signing in": "\uB85C\uADF8\uC778\uC911", Skip: "\uB2E4\uC74C\uC5D0 \uD558\uAE30", Submit: "\uD655\uC778", Submitting: "\uD655\uC778\uC911", Username: "\uC544\uC774\uB514", "Verify Contact": "\uC5F0\uB77D\uCC98 \uD655\uC778", Verify: "\uC778\uC99D", "We Emailed You": "\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4", "We Sent A Code": "\uCF54\uB4DC\uB97C \uBCF4\uB0C4", "We Texted You": "\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4", "Your code is on the way. To log in, enter the code we emailed to": "\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694", "Your code is on the way. To log in, enter the code we sent you": "\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694", "Your code is on the way. To log in, enter the code we texted to": "\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694", Birthdate: "\uC0DD\uB144\uC6D4\uC77C", "Family Name": "\uC131", "Forgot your password?": "\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?", "Given Name": "\uC774\uB984", Name: "\uC131\uD568", Nickname: "\uB2C9\uB124\uC784", "Preferred Username": "\uB2C9\uB124\uC784", Profile: "\uD504\uB85C\uD544", "Reset Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", Website: "\uC6F9\uC0AC\uC774\uD2B8" };
|
|
@@ -193,11 +193,11 @@ function v$2(n2) {
|
|
|
193
193
|
return I18n.get(n2);
|
|
194
194
|
}
|
|
195
195
|
const y$2 = { de: d$2, en: l$1, es: x$1, fr: k$1, id: E$1, it: v$3, ja: z, kr: T$1, ko: T$1, nb: q$1, nl: w$1, pl: y$3, pt: A$1, zh: B, sv: C$1, tr: F$1, ru: G, he: H, ua: I };
|
|
196
|
-
const
|
|
196
|
+
const a$2 = { birthdate: { label: "Birthdate", placeholder: "Enter your Birthdate", type: "date", autocomplete: "bday", isRequired: true }, confirmation_code: { label: "Confirmation Code", placeholder: "Enter your Confirmation Code", type: "number", autocomplete: "one-time-code", isRequired: true }, confirm_password: { label: "Confirm Password", placeholder: "Please confirm your Password", type: "password", autocomplete: "new-password", isRequired: true }, email: { label: "Email", placeholder: "Enter your Email", type: "email", autocomplete: "username", isRequired: true }, family_name: { label: "Family Name", placeholder: "Enter your Family Name", type: "text", autocomplete: "family-name", isRequired: true }, given_name: { label: "Given Name", placeholder: "Enter your Given Name", type: "text", autocomplete: "given-name", isRequired: true }, middle_name: { label: "Middle Name", placeholder: "Enter your Middle Name", type: "text", autocomplete: "additional-name", isRequired: true }, name: { label: "Name", placeholder: "Enter your Name", type: "text", autocomplete: "name", isRequired: true }, nickname: { label: "Nickname", placeholder: "Enter your Nickname", type: "text", autocomplete: "tel", isRequired: true }, password: { label: "Password", placeholder: "Enter your Password", type: "password", autocomplete: "new-password", isRequired: true }, phone_number: { label: "Phone Number", placeholder: "Enter your Phone Number", type: "tel", autocomplete: "tel", dialCode: "+1", dialCodeList: o$8, isRequired: true }, preferred_username: { label: "Preferred Username", placeholder: "Enter your Preferred Username", type: "text", isRequired: true }, profile: { label: "Profile", placeholder: "Add your Profile", type: "url", autocomplete: "url", isRequired: true }, website: { label: "Website", placeholder: "Add your Website", type: "url", autocomplete: "url", isRequired: true }, username: { label: "Username", placeholder: "Enter your Username", type: "text", autocomplete: "username", isRequired: true } }, r$3 = ["^", "$", "*", ".", "[", "]", "{", "}", "(", ")", "?", '"', "!", "@", "#", "%", "&", "/", "\\", ",", ">", "<", "'", ":", ";", "|", "_", "~", "`", "=", "+", "-", " "];
|
|
197
197
|
const t = (r2) => {
|
|
198
198
|
const t2 = new FormData(r2.target);
|
|
199
199
|
return Object.fromEntries(t2);
|
|
200
|
-
}, o$4 = (t2) => r$
|
|
200
|
+
}, o$4 = (t2) => r$5.includes(t2), s$2 = (r2) => {
|
|
201
201
|
return r2 ? (t2 = r2, Array.isArray(t2) ? r2 : [r2]) : null;
|
|
202
202
|
var t2;
|
|
203
203
|
};
|
|
@@ -374,24 +374,24 @@ function waitFor(actorRef, predicate, options) {
|
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
376
|
var waitFor_2 = waitFor$1.waitFor = waitFor;
|
|
377
|
-
function r$
|
|
377
|
+
function r$2(t2) {
|
|
378
378
|
return null != t2 && !Array.isArray(t2) && "object" == typeof t2;
|
|
379
379
|
}
|
|
380
380
|
function n$3(t2) {
|
|
381
381
|
return "string" == typeof t2 || "object" == typeof t2 && "[object String]" === Object.prototype.toString.call(t2);
|
|
382
382
|
}
|
|
383
383
|
function e$1(t2) {
|
|
384
|
-
return r$
|
|
384
|
+
return r$2(t2) && "[object Map]" === Object.prototype.toString.call(t2);
|
|
385
385
|
}
|
|
386
386
|
function o$3(t2) {
|
|
387
|
-
return r$
|
|
387
|
+
return r$2(t2) && "[object Set]" === Object.prototype.toString.call(t2);
|
|
388
388
|
}
|
|
389
389
|
function i$3(t2) {
|
|
390
390
|
if (null == t2)
|
|
391
391
|
return true;
|
|
392
|
-
if (r$
|
|
392
|
+
if (r$2(t2) && (e$1(t2) || o$3(t2)))
|
|
393
393
|
return !t2.size;
|
|
394
|
-
if (r$
|
|
394
|
+
if (r$2(t2) && (n$3(t2) || Array.isArray(t2)))
|
|
395
395
|
return !t2.length;
|
|
396
396
|
for (const r2 in t2)
|
|
397
397
|
if (s$1(t2, r2))
|
|
@@ -404,28 +404,28 @@ function s$1(t2, r2) {
|
|
|
404
404
|
function b$2(t2) {
|
|
405
405
|
return "function" == typeof t2;
|
|
406
406
|
}
|
|
407
|
-
const
|
|
407
|
+
const c$3 = ({ packageName: t2, version: e2 }) => {
|
|
408
408
|
appendToCognitoUserAgent(`${t2}/${e2}`);
|
|
409
|
-
},
|
|
409
|
+
}, m$2 = (e2) => __awaiter(void 0, void 0, void 0, function* () {
|
|
410
410
|
try {
|
|
411
411
|
yield waitFor_2(e2, (t2) => t$1(t2).matches("autoSignIn"));
|
|
412
412
|
} catch (t2) {
|
|
413
413
|
}
|
|
414
|
-
}),
|
|
415
|
-
const { send: t2 } = i2,
|
|
414
|
+
}), d$1 = ({ payload: { data: e2, event: n2 } }, i2, a2) => __awaiter(void 0, void 0, void 0, function* () {
|
|
415
|
+
const { send: t2 } = i2, o2 = i2.getSnapshot(), { onSignIn: c2, onSignOut: l2 } = null != a2 ? a2 : {};
|
|
416
416
|
switch (n2) {
|
|
417
417
|
case "tokenRefresh":
|
|
418
|
-
|
|
418
|
+
o2.matches("authenticated.idle") && t2("TOKEN_REFRESH");
|
|
419
419
|
break;
|
|
420
420
|
case "autoSignIn":
|
|
421
|
-
if (!
|
|
422
|
-
yield
|
|
421
|
+
if (!o2.matches("authenticated")) {
|
|
422
|
+
yield m$2(i2);
|
|
423
423
|
const n3 = t$1(i2.getSnapshot());
|
|
424
424
|
(null == n3 ? void 0 : n3.matches("autoSignIn")) && t2({ type: "AUTO_SIGN_IN", data: e2 });
|
|
425
425
|
}
|
|
426
426
|
break;
|
|
427
427
|
case "autoSignIn_failure": {
|
|
428
|
-
yield
|
|
428
|
+
yield m$2(i2);
|
|
429
429
|
const n3 = t$1(i2.getSnapshot());
|
|
430
430
|
(null == n3 ? void 0 : n3.matches("autoSignIn")) && t2({ type: "AUTO_SIGN_IN_FAILURE", data: e2 });
|
|
431
431
|
break;
|
|
@@ -435,17 +435,17 @@ const r$2 = ({ packageName: t2, version: e2 }) => {
|
|
|
435
435
|
break;
|
|
436
436
|
case "signOut":
|
|
437
437
|
case "tokenRefresh_failure":
|
|
438
|
-
b$2(l2) && l2(),
|
|
438
|
+
b$2(l2) && l2(), o2.matches("authenticated.idle") && t2("SIGN_OUT");
|
|
439
439
|
}
|
|
440
|
-
}),
|
|
440
|
+
}), h$1 = (t2, n2 = d$1) => Hub.listen("auth", ((t3, e2) => (n3) => {
|
|
441
441
|
e2(n3, t3);
|
|
442
|
-
})(t2, n2), "authenticator-hub-handler"),
|
|
443
|
-
function
|
|
442
|
+
})(t2, n2), "authenticator-hub-handler"), p$2 = (t2) => r$3.some((e2) => t2.includes(e2)), f$2 = (t2, e2, n2) => encodeURI(`otpauth://totp/${t2}:${e2}?secret=${n2}&issuer=${t2}`);
|
|
443
|
+
function g$2(t2, ...e2) {
|
|
444
444
|
return Object.entries(t2).reduce((t3, [n2, i2]) => Object.assign(Object.assign({}, t3), { [n2]: e2.includes(n2) ? i2 : null == i2 ? void 0 : i2.trim() }), {});
|
|
445
445
|
}
|
|
446
446
|
const n$2 = (s2, r2) => {
|
|
447
447
|
const { country_code: t2 } = o$a(s2);
|
|
448
|
-
let n2 =
|
|
448
|
+
let n2 = a$2[r2];
|
|
449
449
|
const { type: a2 } = n2;
|
|
450
450
|
return "tel" === a2 && (n2 = Object.assign(Object.assign({}, n2), { dialCode: t2 })), n2;
|
|
451
451
|
}, a$1 = (o2) => {
|
|
@@ -466,7 +466,7 @@ const n$2 = (s2, r2) => {
|
|
|
466
466
|
o$4(s2) ? c2[s2] = Object.assign({}, n$2(o2, s2)) : console.debug(`Authenticator does not have a default implementation for ${s2}. Customize ForceNewPassword FormFields to add your own.`);
|
|
467
467
|
return c2;
|
|
468
468
|
}, resetPassword: (o2) => {
|
|
469
|
-
const s2 = i$4(o2), { label: t2 } =
|
|
469
|
+
const s2 = i$4(o2), { label: t2 } = a$2[s2];
|
|
470
470
|
return { username: Object.assign(Object.assign({}, a$1(o2)), { label: `Enter your ${t2.toLowerCase()}`, placeholder: `Enter your ${t2.toLowerCase()}` }) };
|
|
471
471
|
}, confirmResetPassword: (o2) => Object.assign(Object.assign({}, c$2(o2)), { password: Object.assign(Object.assign({}, n$2(o2, "password")), { label: "New Password", placeholder: "New Password" }), confirm_password: Object.assign(Object.assign({}, n$2(o2, "confirm_password")), { label: "Confirm Password", placeholder: "Confirm Password" }) }), confirmVerifyUser: c$2, setupTOTP: c$2 };
|
|
472
472
|
const r$1 = (r2) => {
|
|
@@ -483,7 +483,7 @@ const a = (s2, t2) => (0, i$2[s2])(t2), c$1 = (r2, i2) => {
|
|
|
483
483
|
return c2 && 0 !== Object.keys(c2).length ? Object.entries(c2).reduce((t2, [o3, a3]) => {
|
|
484
484
|
if ("signIn" !== r2 && "resetPassword" !== r2 || "username" !== o3) {
|
|
485
485
|
if (i$5(o3)) {
|
|
486
|
-
const s2 =
|
|
486
|
+
const s2 = a$2[o3], r3 = Object.assign(Object.assign({}, s2), a3);
|
|
487
487
|
return Object.assign(Object.assign({}, t2), { [o3]: r3 });
|
|
488
488
|
}
|
|
489
489
|
return Object.assign(Object.assign({}, t2), { [o3]: a3 });
|
|
@@ -501,10 +501,10 @@ const a = (s2, t2) => (0, i$2[s2])(t2), c$1 = (r2, i2) => {
|
|
|
501
501
|
return j$2(o$2(e2));
|
|
502
502
|
};
|
|
503
503
|
const T = { amazon: "Amazon", apple: "Apple", facebook: "Facebook", google: "Google" }, n$1 = { getBackToSignInText: () => v$2(x.BACK_SIGN_IN), getChangePasswordText: () => v$2(x.CHANGE_PASSWORD), getChangingText: () => v$2(x.CHANGING_PASSWORD), getConfirmText: () => v$2(x.CONFIRM), getConfirmingText: () => v$2(x.CONFIRMING), getCopyText: () => v$2(x.UPPERCASE_COPY), getHidePasswordText: () => v$2(x.HIDE_PASSWORD), getLoadingText: () => v$2(x.LOADING), getOrText: () => v$2(x.OR), getResendCodeText: () => v$2(x.RESEND_CODE), getSendCodeText: () => v$2(x.SEND_CODE), getSendingText: () => v$2(x.SENDING), getShowPasswordText: () => v$2(x.SHOW_PASSWORD), getSubmitText: () => v$2(x.SUBMIT), getSubmittingText: () => v$2(x.SUBMITTING), getSignInTabText: () => v$2(x.SIGN_IN_TAB), getSignUpTabText: () => v$2(x.CREATE_ACCOUNT), getForgotPasswordText: (T2) => v$2(T2 ? x.FORGOT_PASSWORD : x.FORGOT_YOUR_PASSWORD), getSigningInText: () => v$2(x.SIGNING_IN_BUTTON), getSignInText: () => v$2(x.SIGN_IN_BUTTON), getCreatingAccountText: () => v$2(x.CREATING_ACCOUNT), getCreateAccountText: () => v$2(x.CREATE_ACCOUNT), getDeliveryMessageText: (T2) => {
|
|
504
|
-
const { DeliveryMedium: n2, Destination: g2 } = null != T2 ? T2 : {},
|
|
505
|
-
if (!
|
|
506
|
-
return `${v$2(x.CODE_SENT)}. ${
|
|
507
|
-
return `${v$2(
|
|
504
|
+
const { DeliveryMedium: n2, Destination: g2 } = null != T2 ? T2 : {}, i2 = "EMAIL" === n2, S = "SMS" === n2, o2 = v$2(x.CODE_ARRIVAL);
|
|
505
|
+
if (!i2 && !S)
|
|
506
|
+
return `${v$2(x.CODE_SENT)}. ${o2}.`;
|
|
507
|
+
return `${v$2(i2 ? x.CODE_EMAILED : x.CODE_TEXTED)} ${g2}. ${o2}.`;
|
|
508
508
|
}, getDeliveryMethodText: (T2) => {
|
|
509
509
|
const { DeliveryMedium: n2 } = null != T2 ? T2 : {}, g2 = "EMAIL" === n2;
|
|
510
510
|
return v$2(g2 || "SMS" !== n2 ? g2 ? x.WE_EMAILED : x.WE_TEXTED : x.WE_SENT_CODE);
|
|
@@ -517,7 +517,7 @@ const T = { amazon: "Amazon", apple: "Apple", facebook: "Facebook", google: "Goo
|
|
|
517
517
|
default:
|
|
518
518
|
throw new Error(`${v$2("Unexpected challengeName encountered in ConfirmSignIn:")} ${T2}`);
|
|
519
519
|
}
|
|
520
|
-
}, getResetYourPasswordText: () => v$2(x.RESET_PASSWORD), getSetupTOTPText: () => v$2(x.SETUP_TOTP), getSetupTOTPInstructionsText: () => v$2("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."), getCopiedText: () => v$2("COPIED"), getSignInWithFederationText: (t2, n2) => v$2(`Sign ${"signIn" === t2 ? "In" : "Up"} with ${T[n2]}`), getSkipText: () => v$2(x.SKIP), getVerifyText: () => v$2(x.VERIFY), getVerifyContactText: () => v$2(x.VERIFY_CONTACT), getAccountRecoveryInfoText: () => v$2(x.VERIFY_HEADING) };
|
|
520
|
+
}, getResetYourPasswordText: () => v$2(x.RESET_PASSWORD), getSetupTOTPText: () => v$2(x.SETUP_TOTP), getSetupTOTPInstructionsText: () => v$2("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."), getCopiedText: () => v$2("COPIED"), getSignInWithFederationText: (t2, n2) => v$2(`Sign ${"signIn" === t2 ? "In" : "Up"} with ${T[n2]}`), getSkipText: () => v$2(x.SKIP), getVerifyText: () => v$2(x.VERIFY), getVerifyContactText: () => v$2(x.VERIFY_CONTACT), getAccountRecoveryInfoText: () => v$2(x.VERIFY_HEADING), getInvalidEmailText: () => v$2("Please enter a valid email"), getRequiredFieldText: () => v$2("This field is required") };
|
|
521
521
|
/*! *****************************************************************************
|
|
522
522
|
Copyright (c) Microsoft Corporation.
|
|
523
523
|
|
|
@@ -4576,7 +4576,7 @@ const { assign: o$1, stop: s } = r, n = (e2) => s(e2), i$1 = o$1({ attributeToVe
|
|
|
4576
4576
|
return Object.assign(Object.assign({}, e2.formValues), { [t2]: a2 });
|
|
4577
4577
|
} }), D = o$1({ formValues: (e2, r2) => {
|
|
4578
4578
|
const t2 = Object.assign(Object.assign({}, e2.formValues), r2.data);
|
|
4579
|
-
return
|
|
4579
|
+
return g$2(t2, "password");
|
|
4580
4580
|
} }), M = o$1({ touched: (e2, r2) => {
|
|
4581
4581
|
const { name: t2 } = r2.data;
|
|
4582
4582
|
return Object.assign(Object.assign({}, e2.touched), { [`${t2}`]: true });
|
|
@@ -5669,7 +5669,7 @@ const o = { getAmplifyConfig() {
|
|
|
5669
5669
|
/[0-9]/.test(r2) || i2.push("Password must have numbers");
|
|
5670
5670
|
break;
|
|
5671
5671
|
case "REQUIRES_SYMBOLS":
|
|
5672
|
-
|
|
5672
|
+
p$2(r2) || i2.push("Password must have special characters");
|
|
5673
5673
|
}
|
|
5674
5674
|
}), 0 !== i2.length ? { password: i2 } : null;
|
|
5675
5675
|
});
|
|
@@ -6565,36 +6565,11 @@ function useActor(actorRef, getSnapshot) {
|
|
|
6565
6565
|
});
|
|
6566
6566
|
return { state, send: send2 };
|
|
6567
6567
|
}
|
|
6568
|
-
const
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
authStatus: "",
|
|
6574
|
-
user: "",
|
|
6575
|
-
validationErrors: [""],
|
|
6576
|
-
codeDeliveryDetails: {
|
|
6577
|
-
val: "",
|
|
6578
|
-
DeliveryMedium: ""
|
|
6579
|
-
},
|
|
6580
|
-
change: (data) => null,
|
|
6581
|
-
updateForm: (data) => null,
|
|
6582
|
-
updateBlur: (data) => null,
|
|
6583
|
-
resend: (data) => null,
|
|
6584
|
-
resendCode: (data) => null,
|
|
6585
|
-
signOut: (data) => null,
|
|
6586
|
-
federatedSignIn: (data) => null,
|
|
6587
|
-
toFederatedSignIn: (data) => null,
|
|
6588
|
-
resetPassword: (data) => null,
|
|
6589
|
-
toResetPassword: (data) => null,
|
|
6590
|
-
signIn: (data) => null,
|
|
6591
|
-
toSignIn: (data) => null,
|
|
6592
|
-
signUp: (data) => null,
|
|
6593
|
-
toSignUp: (data) => null,
|
|
6594
|
-
skip: (data) => null,
|
|
6595
|
-
skipVerification: (data) => null,
|
|
6596
|
-
submit: (data) => null,
|
|
6597
|
-
submitForm: (data) => null
|
|
6568
|
+
const getQRFields = (state) => {
|
|
6569
|
+
var _a2, _b, _c;
|
|
6570
|
+
return {
|
|
6571
|
+
...(_c = (_b = (_a2 = o$a(state)) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.setupTOTP) == null ? void 0 : _c.QR
|
|
6572
|
+
};
|
|
6598
6573
|
};
|
|
6599
6574
|
const useAuth = createSharedComposable(() => {
|
|
6600
6575
|
const machine = v();
|
|
@@ -6607,8 +6582,8 @@ const useAuth = createSharedComposable(() => {
|
|
|
6607
6582
|
const onSignOut = () => {
|
|
6608
6583
|
authStatus.value = "unauthenticated";
|
|
6609
6584
|
};
|
|
6610
|
-
const unsubscribeHub =
|
|
6611
|
-
await
|
|
6585
|
+
const unsubscribeHub = h$1(service, async (data, service2) => {
|
|
6586
|
+
await d$1(data, service2, { onSignIn, onSignOut });
|
|
6612
6587
|
});
|
|
6613
6588
|
Auth.currentAuthenticatedUser().then(() => {
|
|
6614
6589
|
authStatus.value = "authenticated";
|
|
@@ -6622,205 +6597,20 @@ const useAuth = createSharedComposable(() => {
|
|
|
6622
6597
|
});
|
|
6623
6598
|
const useAuthenticator = createSharedComposable(() => {
|
|
6624
6599
|
const { authStatus, state, send: send2 } = useAuth();
|
|
6625
|
-
const useAuthenticatorValue = reactive({
|
|
6626
|
-
...facade,
|
|
6627
|
-
send: send2,
|
|
6628
|
-
state
|
|
6629
|
-
});
|
|
6600
|
+
const useAuthenticatorValue = reactive({});
|
|
6630
6601
|
watchEffect(() => {
|
|
6631
|
-
const
|
|
6632
|
-
send: send2,
|
|
6633
|
-
state: state.value
|
|
6634
|
-
});
|
|
6602
|
+
const facade = s$3({ send: send2, state: state.value });
|
|
6635
6603
|
for (const key of Object.keys(facade)) {
|
|
6636
|
-
useAuthenticatorValue[key] =
|
|
6604
|
+
useAuthenticatorValue[key] = facade[key];
|
|
6637
6605
|
}
|
|
6606
|
+
const qrFields = facade.route === "setupTOTP" ? getQRFields(state.value) : null;
|
|
6607
|
+
useAuthenticatorValue.QRFields = qrFields;
|
|
6638
6608
|
useAuthenticatorValue.authStatus = authStatus.value;
|
|
6639
6609
|
useAuthenticatorValue.send = send2;
|
|
6640
6610
|
useAuthenticatorValue.state = state;
|
|
6641
6611
|
});
|
|
6642
6612
|
return useAuthenticatorValue;
|
|
6643
6613
|
});
|
|
6644
|
-
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
6645
|
-
__name: "federated-sign-in-button",
|
|
6646
|
-
props: {
|
|
6647
|
-
provider: String
|
|
6648
|
-
},
|
|
6649
|
-
setup(__props) {
|
|
6650
|
-
const props = __props;
|
|
6651
|
-
const { provider } = toRefs(props);
|
|
6652
|
-
const { send: send2 } = useAuth();
|
|
6653
|
-
const onClick = () => {
|
|
6654
|
-
send2({
|
|
6655
|
-
type: "FEDERATED_SIGN_IN",
|
|
6656
|
-
data: {
|
|
6657
|
-
provider: provider == null ? void 0 : provider.value
|
|
6658
|
-
}
|
|
6659
|
-
});
|
|
6660
|
-
};
|
|
6661
|
-
return (_ctx, _cache) => {
|
|
6662
|
-
const _component_base_wrapper = __unplugin_components_2;
|
|
6663
|
-
const _component_amplify_button = _sfc_main$v;
|
|
6664
|
-
return openBlock(), createBlock(_component_amplify_button, {
|
|
6665
|
-
class: "amplify-field-group__control federated-sign-in-button amplify-authenticator__font",
|
|
6666
|
-
fullwidth: false,
|
|
6667
|
-
style: { "font-weight": "normal" },
|
|
6668
|
-
type: "button",
|
|
6669
|
-
onClick
|
|
6670
|
-
}, {
|
|
6671
|
-
default: withCtx(() => [
|
|
6672
|
-
createVNode(_component_base_wrapper, { class: "amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper" }, {
|
|
6673
|
-
default: withCtx(() => [
|
|
6674
|
-
renderSlot(_ctx.$slots, "default")
|
|
6675
|
-
]),
|
|
6676
|
-
_: 3
|
|
6677
|
-
})
|
|
6678
|
-
]),
|
|
6679
|
-
_: 3
|
|
6680
|
-
});
|
|
6681
|
-
};
|
|
6682
|
-
}
|
|
6683
|
-
});
|
|
6684
|
-
const _hoisted_1$9 = /* @__PURE__ */ createElementVNode("svg", {
|
|
6685
|
-
"aria-label": "Amazon icon",
|
|
6686
|
-
class: "amplify-icon federated-sign-in-icon",
|
|
6687
|
-
viewBox: "0 0 248 268"
|
|
6688
|
-
}, [
|
|
6689
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6690
|
-
d: "M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",
|
|
6691
|
-
fill: "#FF9900"
|
|
6692
|
-
})
|
|
6693
|
-
], -1);
|
|
6694
|
-
const _hoisted_2$5 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
6695
|
-
const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("svg", {
|
|
6696
|
-
"aria-label": "Apple icon",
|
|
6697
|
-
class: "amplify-icon federated-sign-in-icon",
|
|
6698
|
-
fill: "#000",
|
|
6699
|
-
preserveAspectRatio: "xMidYMid",
|
|
6700
|
-
stroke: "#000",
|
|
6701
|
-
strokeWidth: "0",
|
|
6702
|
-
viewBox: "0 0 1024 1024",
|
|
6703
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
6704
|
-
}, [
|
|
6705
|
-
/* @__PURE__ */ createElementVNode("path", { d: "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" })
|
|
6706
|
-
], -1);
|
|
6707
|
-
const _hoisted_4$4 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
6708
|
-
const _hoisted_5$2 = /* @__PURE__ */ createElementVNode("svg", {
|
|
6709
|
-
"aria-label": "Facebook icon",
|
|
6710
|
-
class: "amplify-icon federated-sign-in-icon",
|
|
6711
|
-
viewBox: "0 0 279 538"
|
|
6712
|
-
}, [
|
|
6713
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6714
|
-
d: "M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",
|
|
6715
|
-
fill: "#1877F2"
|
|
6716
|
-
})
|
|
6717
|
-
], -1);
|
|
6718
|
-
const _hoisted_6$2 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
6719
|
-
const _hoisted_7$1 = /* @__PURE__ */ createElementVNode("svg", {
|
|
6720
|
-
"aria-label": "Google icon",
|
|
6721
|
-
class: "amplify-icon federated-sign-in-icon",
|
|
6722
|
-
viewBox: "0 0 256 262",
|
|
6723
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6724
|
-
preserveAspectRatio: "xMidYMid"
|
|
6725
|
-
}, [
|
|
6726
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6727
|
-
d: "M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",
|
|
6728
|
-
fill: "#4285F4"
|
|
6729
|
-
}),
|
|
6730
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6731
|
-
d: "M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",
|
|
6732
|
-
fill: "#34A853"
|
|
6733
|
-
}),
|
|
6734
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6735
|
-
d: "M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",
|
|
6736
|
-
fill: "#FBBC05"
|
|
6737
|
-
}),
|
|
6738
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
6739
|
-
d: "M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",
|
|
6740
|
-
fill: "#EB4335"
|
|
6741
|
-
})
|
|
6742
|
-
], -1);
|
|
6743
|
-
const _hoisted_8$1 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
6744
|
-
const _hoisted_9$1 = ["data-label"];
|
|
6745
|
-
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
6746
|
-
__name: "federated-sign-in",
|
|
6747
|
-
setup(__props) {
|
|
6748
|
-
var _a2;
|
|
6749
|
-
const { state } = useAuth();
|
|
6750
|
-
const { route } = useAuthenticator();
|
|
6751
|
-
const { value: { context } } = state;
|
|
6752
|
-
const socialProviders = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.socialProviders;
|
|
6753
|
-
const includeAmazon = socialProviders == null ? void 0 : socialProviders.includes("amazon");
|
|
6754
|
-
const includeApple = socialProviders == null ? void 0 : socialProviders.includes("apple");
|
|
6755
|
-
const includeFacebook = socialProviders == null ? void 0 : socialProviders.includes("facebook");
|
|
6756
|
-
const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
|
|
6757
|
-
const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
|
|
6758
|
-
const { getSignInWithFederationText, getOrText } = n$1;
|
|
6759
|
-
const fp = computed(() => o$9);
|
|
6760
|
-
const signInWithAmazon = computed(() => getSignInWithFederationText(route, "amazon"));
|
|
6761
|
-
const signInWithApple = computed(() => getSignInWithFederationText(route, "apple"));
|
|
6762
|
-
const signInWithFacebook = computed(() => getSignInWithFederationText(route, "facebook"));
|
|
6763
|
-
const signInWithGoogle = computed(() => getSignInWithFederationText(route, "google"));
|
|
6764
|
-
const orText = computed(() => getOrText());
|
|
6765
|
-
return (_ctx, _cache) => {
|
|
6766
|
-
const _component_base_wrapper = __unplugin_components_2;
|
|
6767
|
-
return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
|
|
6768
|
-
key: 0,
|
|
6769
|
-
class: "amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"
|
|
6770
|
-
}, {
|
|
6771
|
-
default: withCtx(() => [
|
|
6772
|
-
unref(includeAmazon) ? (openBlock(), createBlock(_sfc_main$s, {
|
|
6773
|
-
key: 0,
|
|
6774
|
-
provider: unref(fp).Amazon
|
|
6775
|
-
}, {
|
|
6776
|
-
default: withCtx(() => [
|
|
6777
|
-
_hoisted_1$9,
|
|
6778
|
-
createElementVNode("p", _hoisted_2$5, toDisplayString(unref(signInWithAmazon)), 1)
|
|
6779
|
-
]),
|
|
6780
|
-
_: 1
|
|
6781
|
-
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
6782
|
-
unref(includeApple) ? (openBlock(), createBlock(_sfc_main$s, {
|
|
6783
|
-
key: 1,
|
|
6784
|
-
provider: unref(fp).Apple
|
|
6785
|
-
}, {
|
|
6786
|
-
default: withCtx(() => [
|
|
6787
|
-
_hoisted_3$4,
|
|
6788
|
-
createElementVNode("p", _hoisted_4$4, toDisplayString(unref(signInWithApple)), 1)
|
|
6789
|
-
]),
|
|
6790
|
-
_: 1
|
|
6791
|
-
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
6792
|
-
unref(includeFacebook) ? (openBlock(), createBlock(_sfc_main$s, {
|
|
6793
|
-
key: 2,
|
|
6794
|
-
provider: unref(fp).Facebook
|
|
6795
|
-
}, {
|
|
6796
|
-
default: withCtx(() => [
|
|
6797
|
-
_hoisted_5$2,
|
|
6798
|
-
createElementVNode("p", _hoisted_6$2, toDisplayString(unref(signInWithFacebook)), 1)
|
|
6799
|
-
]),
|
|
6800
|
-
_: 1
|
|
6801
|
-
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
6802
|
-
unref(includeGoogle) ? (openBlock(), createBlock(_sfc_main$s, {
|
|
6803
|
-
key: 3,
|
|
6804
|
-
provider: unref(fp).Google
|
|
6805
|
-
}, {
|
|
6806
|
-
default: withCtx(() => [
|
|
6807
|
-
_hoisted_7$1,
|
|
6808
|
-
createElementVNode("p", _hoisted_8$1, toDisplayString(unref(signInWithGoogle)), 1)
|
|
6809
|
-
]),
|
|
6810
|
-
_: 1
|
|
6811
|
-
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
6812
|
-
createElementVNode("hr", {
|
|
6813
|
-
class: "amplify-divider amplify-divider--label amplify-divider--small",
|
|
6814
|
-
"aria-orientation": "horizontal",
|
|
6815
|
-
"data-size": "small",
|
|
6816
|
-
"data-label": unref(orText)
|
|
6817
|
-
}, null, 8, _hoisted_9$1)
|
|
6818
|
-
]),
|
|
6819
|
-
_: 1
|
|
6820
|
-
})) : createCommentVNode("", true);
|
|
6821
|
-
};
|
|
6822
|
-
}
|
|
6823
|
-
});
|
|
6824
6614
|
let nanoid = (size = 21) => {
|
|
6825
6615
|
let id = "";
|
|
6826
6616
|
let bytes = crypto.getRandomValues(new Uint8Array(size));
|
|
@@ -6838,7 +6628,7 @@ let nanoid = (size = 21) => {
|
|
|
6838
6628
|
}
|
|
6839
6629
|
return id;
|
|
6840
6630
|
};
|
|
6841
|
-
const _sfc_main$
|
|
6631
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
6842
6632
|
__name: "base-input",
|
|
6843
6633
|
emits: ["update:modelValue"],
|
|
6844
6634
|
setup(__props, { emit }) {
|
|
@@ -6853,32 +6643,32 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
6853
6643
|
};
|
|
6854
6644
|
}
|
|
6855
6645
|
});
|
|
6856
|
-
const _sfc_main$
|
|
6857
|
-
const _hoisted_1$
|
|
6646
|
+
const _sfc_main$r = {};
|
|
6647
|
+
const _hoisted_1$9 = { "data-amplify-label": "" };
|
|
6858
6648
|
function _sfc_render$2(_ctx, _cache) {
|
|
6859
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
6649
|
+
return openBlock(), createElementBlock("label", _hoisted_1$9, [
|
|
6860
6650
|
renderSlot(_ctx.$slots, "default")
|
|
6861
6651
|
]);
|
|
6862
6652
|
}
|
|
6863
|
-
var __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6864
|
-
const _hoisted_1$
|
|
6865
|
-
const _hoisted_2$
|
|
6866
|
-
const _hoisted_3$
|
|
6867
|
-
_hoisted_2$
|
|
6653
|
+
var __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2]]);
|
|
6654
|
+
const _hoisted_1$8 = ["aria-label", "aria-checked"];
|
|
6655
|
+
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("path", { d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" }, null, -1);
|
|
6656
|
+
const _hoisted_3$4 = [
|
|
6657
|
+
_hoisted_2$5
|
|
6868
6658
|
];
|
|
6869
|
-
const _hoisted_4$
|
|
6659
|
+
const _hoisted_4$4 = /* @__PURE__ */ createElementVNode("path", {
|
|
6870
6660
|
d: "M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",
|
|
6871
6661
|
fill: "none"
|
|
6872
6662
|
}, null, -1);
|
|
6873
|
-
const _hoisted_5$
|
|
6874
|
-
const _hoisted_6$
|
|
6875
|
-
_hoisted_4$
|
|
6876
|
-
_hoisted_5$
|
|
6663
|
+
const _hoisted_5$2 = /* @__PURE__ */ createElementVNode("path", { d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z" }, null, -1);
|
|
6664
|
+
const _hoisted_6$2 = [
|
|
6665
|
+
_hoisted_4$4,
|
|
6666
|
+
_hoisted_5$2
|
|
6877
6667
|
];
|
|
6878
6668
|
const __default__ = {
|
|
6879
6669
|
inheritAttrs: false
|
|
6880
6670
|
};
|
|
6881
|
-
const _sfc_main$
|
|
6671
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
6882
6672
|
...__default__,
|
|
6883
6673
|
__name: "password-control",
|
|
6884
6674
|
props: {
|
|
@@ -6909,7 +6699,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
6909
6699
|
const labelValue = v$2(label.value);
|
|
6910
6700
|
return (_ctx, _cache) => {
|
|
6911
6701
|
const _component_base_label = __unplugin_components_0;
|
|
6912
|
-
const _component_base_input = _sfc_main$
|
|
6702
|
+
const _component_base_input = _sfc_main$s;
|
|
6913
6703
|
const _component_base_wrapper = __unplugin_components_2;
|
|
6914
6704
|
return openBlock(), createBlock(_component_base_wrapper, {
|
|
6915
6705
|
class: normalizeClass([
|
|
@@ -6984,14 +6774,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
6984
6774
|
fill: "currentColor",
|
|
6985
6775
|
viewBox: "0 0 24 24",
|
|
6986
6776
|
class: normalizeClass(unref(e$f).Icon)
|
|
6987
|
-
}, _hoisted_3$
|
|
6777
|
+
}, _hoisted_3$4, 2)) : (openBlock(), createElementBlock("svg", {
|
|
6988
6778
|
key: 1,
|
|
6989
6779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6990
6780
|
fill: "currentColor",
|
|
6991
6781
|
viewBox: "0 0 24 24",
|
|
6992
6782
|
class: normalizeClass(unref(e$f).Icon)
|
|
6993
|
-
}, _hoisted_6$
|
|
6994
|
-
], 10, _hoisted_1$
|
|
6783
|
+
}, _hoisted_6$2, 2))
|
|
6784
|
+
], 10, _hoisted_1$8)
|
|
6995
6785
|
]),
|
|
6996
6786
|
_: 1
|
|
6997
6787
|
}, 8, ["class"])
|
|
@@ -7004,8 +6794,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
7004
6794
|
};
|
|
7005
6795
|
}
|
|
7006
6796
|
});
|
|
7007
|
-
const _hoisted_1$
|
|
7008
|
-
const _sfc_main$
|
|
6797
|
+
const _hoisted_1$7 = ["value", "selected"];
|
|
6798
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
7009
6799
|
__name: "base-select",
|
|
7010
6800
|
props: {
|
|
7011
6801
|
selectValue: { default: "" },
|
|
@@ -7027,13 +6817,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
7027
6817
|
key: idx,
|
|
7028
6818
|
value: option,
|
|
7029
6819
|
selected: option == unref(selectValue) ? true : void 0
|
|
7030
|
-
}, toDisplayString(option), 9, _hoisted_1$
|
|
6820
|
+
}, toDisplayString(option), 9, _hoisted_1$7);
|
|
7031
6821
|
}), 128))
|
|
7032
6822
|
], 32);
|
|
7033
6823
|
};
|
|
7034
6824
|
}
|
|
7035
6825
|
});
|
|
7036
|
-
const _hoisted_1$
|
|
6826
|
+
const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("svg", {
|
|
7037
6827
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7038
6828
|
"data-size": "large",
|
|
7039
6829
|
fill: "currentColor",
|
|
@@ -7042,7 +6832,7 @@ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
7042
6832
|
}, [
|
|
7043
6833
|
/* @__PURE__ */ createElementVNode("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" })
|
|
7044
6834
|
], -1);
|
|
7045
|
-
const _sfc_main$
|
|
6835
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
7046
6836
|
__name: "alias-control",
|
|
7047
6837
|
props: {
|
|
7048
6838
|
label: { default: "Username" },
|
|
@@ -7064,9 +6854,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
7064
6854
|
const randomPhone = Math.floor(Math.random() * 999999);
|
|
7065
6855
|
return (_ctx, _cache) => {
|
|
7066
6856
|
const _component_base_label = __unplugin_components_0;
|
|
7067
|
-
const _component_base_select = _sfc_main$
|
|
6857
|
+
const _component_base_select = _sfc_main$p;
|
|
7068
6858
|
const _component_base_wrapper = __unplugin_components_2;
|
|
7069
|
-
const _component_base_input = _sfc_main$
|
|
6859
|
+
const _component_base_input = _sfc_main$s;
|
|
7070
6860
|
return openBlock(), createBlock(_component_base_wrapper, { class: "amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column" }, {
|
|
7071
6861
|
default: withCtx(() => [
|
|
7072
6862
|
createVNode(_component_base_label, mergeProps({
|
|
@@ -7109,7 +6899,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
7109
6899
|
}, null, 8, ["id", "options", "select-value"]),
|
|
7110
6900
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper" }, {
|
|
7111
6901
|
default: withCtx(() => [
|
|
7112
|
-
_hoisted_1$
|
|
6902
|
+
_hoisted_1$6
|
|
7113
6903
|
]),
|
|
7114
6904
|
_: 1
|
|
7115
6905
|
})
|
|
@@ -7150,8 +6940,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
7150
6940
|
};
|
|
7151
6941
|
}
|
|
7152
6942
|
});
|
|
7153
|
-
const _hoisted_1$
|
|
7154
|
-
const _sfc_main$
|
|
6943
|
+
const _hoisted_1$5 = ["id"];
|
|
6944
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
7155
6945
|
__name: "base-form-field",
|
|
7156
6946
|
props: {
|
|
7157
6947
|
name: { default: "" },
|
|
@@ -7172,7 +6962,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
7172
6962
|
const ariaDescribedBy = computed(() => hasError.value ? errorId : void 0);
|
|
7173
6963
|
return (_ctx, _cache) => {
|
|
7174
6964
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
7175
|
-
isPasswordField ? (openBlock(), createBlock(_sfc_main$
|
|
6965
|
+
isPasswordField ? (openBlock(), createBlock(_sfc_main$q, {
|
|
7176
6966
|
key: 0,
|
|
7177
6967
|
name: unref(name),
|
|
7178
6968
|
label: unref(formField).label,
|
|
@@ -7182,7 +6972,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
7182
6972
|
autocomplete: unref(formField).autocomplete,
|
|
7183
6973
|
hasError: unref(hasError),
|
|
7184
6974
|
describedBy: unref(ariaDescribedBy)
|
|
7185
|
-
}, null, 8, ["name", "label", "placeholder", "required", "label-hidden", "autocomplete", "hasError", "describedBy"])) : (openBlock(), createBlock(_sfc_main$
|
|
6975
|
+
}, null, 8, ["name", "label", "placeholder", "required", "label-hidden", "autocomplete", "hasError", "describedBy"])) : (openBlock(), createBlock(_sfc_main$o, {
|
|
7186
6976
|
key: 1,
|
|
7187
6977
|
name: unref(name),
|
|
7188
6978
|
label: unref(formField).label,
|
|
@@ -7208,12 +6998,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
7208
6998
|
class: "amplify-text amplify-text--error"
|
|
7209
6999
|
}, toDisplayString(unref(v$2)(error2)), 1);
|
|
7210
7000
|
}), 128))
|
|
7211
|
-
], 8, _hoisted_1$
|
|
7001
|
+
], 8, _hoisted_1$5)) : createCommentVNode("", true)
|
|
7212
7002
|
], 64);
|
|
7213
7003
|
};
|
|
7214
7004
|
}
|
|
7215
7005
|
});
|
|
7216
|
-
const _sfc_main$
|
|
7006
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
7217
7007
|
__name: "base-form-fields",
|
|
7218
7008
|
props: {
|
|
7219
7009
|
route: null
|
|
@@ -7228,7 +7018,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
7228
7018
|
});
|
|
7229
7019
|
return (_ctx, _cache) => {
|
|
7230
7020
|
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(formFields), ([name, formField]) => {
|
|
7231
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7021
|
+
return openBlock(), createBlock(_sfc_main$n, {
|
|
7232
7022
|
name,
|
|
7233
7023
|
key: name,
|
|
7234
7024
|
formField
|
|
@@ -7237,6 +7027,178 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
7237
7027
|
};
|
|
7238
7028
|
}
|
|
7239
7029
|
});
|
|
7030
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
7031
|
+
__name: "federated-sign-in-button",
|
|
7032
|
+
props: {
|
|
7033
|
+
provider: null
|
|
7034
|
+
},
|
|
7035
|
+
setup(__props) {
|
|
7036
|
+
const props = __props;
|
|
7037
|
+
const { provider } = toRefs(props);
|
|
7038
|
+
const { toFederatedSignIn } = useAuthenticator();
|
|
7039
|
+
const onClick = () => {
|
|
7040
|
+
toFederatedSignIn({ provider: provider.value });
|
|
7041
|
+
};
|
|
7042
|
+
return (_ctx, _cache) => {
|
|
7043
|
+
const _component_base_wrapper = __unplugin_components_2;
|
|
7044
|
+
const _component_amplify_button = _sfc_main$v;
|
|
7045
|
+
return openBlock(), createBlock(_component_amplify_button, {
|
|
7046
|
+
class: "amplify-field-group__control federated-sign-in-button amplify-authenticator__font",
|
|
7047
|
+
fullwidth: false,
|
|
7048
|
+
style: { "font-weight": "normal" },
|
|
7049
|
+
type: "button",
|
|
7050
|
+
onClick
|
|
7051
|
+
}, {
|
|
7052
|
+
default: withCtx(() => [
|
|
7053
|
+
createVNode(_component_base_wrapper, { class: "amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper" }, {
|
|
7054
|
+
default: withCtx(() => [
|
|
7055
|
+
renderSlot(_ctx.$slots, "default")
|
|
7056
|
+
]),
|
|
7057
|
+
_: 3
|
|
7058
|
+
})
|
|
7059
|
+
]),
|
|
7060
|
+
_: 3
|
|
7061
|
+
});
|
|
7062
|
+
};
|
|
7063
|
+
}
|
|
7064
|
+
});
|
|
7065
|
+
const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("svg", {
|
|
7066
|
+
"aria-label": "Amazon icon",
|
|
7067
|
+
class: "amplify-icon federated-sign-in-icon",
|
|
7068
|
+
viewBox: "0 0 248 268"
|
|
7069
|
+
}, [
|
|
7070
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7071
|
+
d: "M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",
|
|
7072
|
+
fill: "#FF9900"
|
|
7073
|
+
})
|
|
7074
|
+
], -1);
|
|
7075
|
+
const _hoisted_2$4 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
7076
|
+
const _hoisted_3$3 = /* @__PURE__ */ createElementVNode("svg", {
|
|
7077
|
+
"aria-label": "Apple icon",
|
|
7078
|
+
class: "amplify-icon federated-sign-in-icon",
|
|
7079
|
+
fill: "#000",
|
|
7080
|
+
preserveAspectRatio: "xMidYMid",
|
|
7081
|
+
stroke: "#000",
|
|
7082
|
+
strokeWidth: "0",
|
|
7083
|
+
viewBox: "0 0 1024 1024",
|
|
7084
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7085
|
+
}, [
|
|
7086
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z" })
|
|
7087
|
+
], -1);
|
|
7088
|
+
const _hoisted_4$3 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
7089
|
+
const _hoisted_5$1 = /* @__PURE__ */ createElementVNode("svg", {
|
|
7090
|
+
"aria-label": "Facebook icon",
|
|
7091
|
+
class: "amplify-icon federated-sign-in-icon",
|
|
7092
|
+
viewBox: "0 0 279 538"
|
|
7093
|
+
}, [
|
|
7094
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7095
|
+
d: "M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",
|
|
7096
|
+
fill: "#1877F2"
|
|
7097
|
+
})
|
|
7098
|
+
], -1);
|
|
7099
|
+
const _hoisted_6$1 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
7100
|
+
const _hoisted_7$1 = /* @__PURE__ */ createElementVNode("svg", {
|
|
7101
|
+
"aria-label": "Google icon",
|
|
7102
|
+
class: "amplify-icon federated-sign-in-icon",
|
|
7103
|
+
viewBox: "0 0 256 262",
|
|
7104
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7105
|
+
preserveAspectRatio: "xMidYMid"
|
|
7106
|
+
}, [
|
|
7107
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7108
|
+
d: "M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",
|
|
7109
|
+
fill: "#4285F4"
|
|
7110
|
+
}),
|
|
7111
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7112
|
+
d: "M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",
|
|
7113
|
+
fill: "#34A853"
|
|
7114
|
+
}),
|
|
7115
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7116
|
+
d: "M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",
|
|
7117
|
+
fill: "#FBBC05"
|
|
7118
|
+
}),
|
|
7119
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
7120
|
+
d: "M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",
|
|
7121
|
+
fill: "#EB4335"
|
|
7122
|
+
})
|
|
7123
|
+
], -1);
|
|
7124
|
+
const _hoisted_8$1 = { class: "amplify-text amplify-authenticator__federated-text" };
|
|
7125
|
+
const _hoisted_9$1 = ["data-label"];
|
|
7126
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
7127
|
+
__name: "federated-sign-in",
|
|
7128
|
+
setup(__props) {
|
|
7129
|
+
const facade = useAuthenticator();
|
|
7130
|
+
const { route, socialProviders } = facade;
|
|
7131
|
+
const includeAmazon = socialProviders == null ? void 0 : socialProviders.includes("amazon");
|
|
7132
|
+
const includeApple = socialProviders == null ? void 0 : socialProviders.includes("apple");
|
|
7133
|
+
const includeFacebook = socialProviders == null ? void 0 : socialProviders.includes("facebook");
|
|
7134
|
+
const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
|
|
7135
|
+
const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
|
|
7136
|
+
const { getSignInWithFederationText, getOrText } = n$1;
|
|
7137
|
+
const fp = computed(() => o$9);
|
|
7138
|
+
const signInWithAmazon = computed(() => getSignInWithFederationText(route, "amazon"));
|
|
7139
|
+
const signInWithApple = computed(() => getSignInWithFederationText(route, "apple"));
|
|
7140
|
+
const signInWithFacebook = computed(() => getSignInWithFederationText(route, "facebook"));
|
|
7141
|
+
const signInWithGoogle = computed(() => getSignInWithFederationText(route, "google"));
|
|
7142
|
+
const orText = computed(() => getOrText());
|
|
7143
|
+
return (_ctx, _cache) => {
|
|
7144
|
+
const _component_base_wrapper = __unplugin_components_2;
|
|
7145
|
+
return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
|
|
7146
|
+
key: 0,
|
|
7147
|
+
class: "amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"
|
|
7148
|
+
}, {
|
|
7149
|
+
default: withCtx(() => [
|
|
7150
|
+
unref(includeAmazon) ? (openBlock(), createBlock(_sfc_main$l, {
|
|
7151
|
+
key: 0,
|
|
7152
|
+
provider: unref(fp).Amazon
|
|
7153
|
+
}, {
|
|
7154
|
+
default: withCtx(() => [
|
|
7155
|
+
_hoisted_1$4,
|
|
7156
|
+
createElementVNode("p", _hoisted_2$4, toDisplayString(unref(signInWithAmazon)), 1)
|
|
7157
|
+
]),
|
|
7158
|
+
_: 1
|
|
7159
|
+
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
7160
|
+
unref(includeApple) ? (openBlock(), createBlock(_sfc_main$l, {
|
|
7161
|
+
key: 1,
|
|
7162
|
+
provider: unref(fp).Apple
|
|
7163
|
+
}, {
|
|
7164
|
+
default: withCtx(() => [
|
|
7165
|
+
_hoisted_3$3,
|
|
7166
|
+
createElementVNode("p", _hoisted_4$3, toDisplayString(unref(signInWithApple)), 1)
|
|
7167
|
+
]),
|
|
7168
|
+
_: 1
|
|
7169
|
+
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
7170
|
+
unref(includeFacebook) ? (openBlock(), createBlock(_sfc_main$l, {
|
|
7171
|
+
key: 2,
|
|
7172
|
+
provider: unref(fp).Facebook
|
|
7173
|
+
}, {
|
|
7174
|
+
default: withCtx(() => [
|
|
7175
|
+
_hoisted_5$1,
|
|
7176
|
+
createElementVNode("p", _hoisted_6$1, toDisplayString(unref(signInWithFacebook)), 1)
|
|
7177
|
+
]),
|
|
7178
|
+
_: 1
|
|
7179
|
+
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
7180
|
+
unref(includeGoogle) ? (openBlock(), createBlock(_sfc_main$l, {
|
|
7181
|
+
key: 3,
|
|
7182
|
+
provider: unref(fp).Google
|
|
7183
|
+
}, {
|
|
7184
|
+
default: withCtx(() => [
|
|
7185
|
+
_hoisted_7$1,
|
|
7186
|
+
createElementVNode("p", _hoisted_8$1, toDisplayString(unref(signInWithGoogle)), 1)
|
|
7187
|
+
]),
|
|
7188
|
+
_: 1
|
|
7189
|
+
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
7190
|
+
createElementVNode("hr", {
|
|
7191
|
+
class: "amplify-divider amplify-divider--label amplify-divider--small",
|
|
7192
|
+
"aria-orientation": "horizontal",
|
|
7193
|
+
"data-size": "small",
|
|
7194
|
+
"data-label": unref(orText)
|
|
7195
|
+
}, null, 8, _hoisted_9$1)
|
|
7196
|
+
]),
|
|
7197
|
+
_: 1
|
|
7198
|
+
})) : createCommentVNode("", true);
|
|
7199
|
+
};
|
|
7200
|
+
}
|
|
7201
|
+
});
|
|
7240
7202
|
const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("legend", { class: "amplify-visually-hidden" }, "Sign in", -1);
|
|
7241
7203
|
const _hoisted_2$3 = { "data-amplify-footer": "" };
|
|
7242
7204
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
@@ -7247,36 +7209,30 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7247
7209
|
"createAccountClicked"
|
|
7248
7210
|
],
|
|
7249
7211
|
setup(__props, { emit }) {
|
|
7250
|
-
const
|
|
7212
|
+
const facade = useAuthenticator();
|
|
7213
|
+
const { submitForm, updateForm, toResetPassword } = facade;
|
|
7214
|
+
const { error: error2, isPending } = toRefs(facade);
|
|
7251
7215
|
const attrs = useAttrs();
|
|
7252
7216
|
const { getForgotPasswordText, getSignInText, getSigningInText } = n$1;
|
|
7253
7217
|
const forgotYourPasswordLink = computed(() => getForgotPasswordText());
|
|
7254
7218
|
const signInButtonText = computed(() => getSignInText());
|
|
7255
|
-
const
|
|
7256
|
-
const { state, send: send2 } = useAuth();
|
|
7257
|
-
const actorState = computed(() => t$1(state.value));
|
|
7219
|
+
const signingInButtonText = computed(() => getSigningInText());
|
|
7258
7220
|
const onInput = (e2) => {
|
|
7259
7221
|
const { name, value } = e2.target;
|
|
7260
|
-
|
|
7261
|
-
type: "CHANGE",
|
|
7262
|
-
data: { name, value }
|
|
7263
|
-
});
|
|
7222
|
+
updateForm({ name, value });
|
|
7264
7223
|
};
|
|
7265
7224
|
const onSignInSubmit = (e2) => {
|
|
7266
7225
|
if (attrs == null ? void 0 : attrs.onSignInSubmit) {
|
|
7267
7226
|
emit("signInSubmit", e2);
|
|
7268
7227
|
} else {
|
|
7269
|
-
|
|
7228
|
+
submitForm(t(e2));
|
|
7270
7229
|
}
|
|
7271
7230
|
};
|
|
7272
|
-
const submit = (e2) => {
|
|
7273
|
-
props.submitForm(t(e2));
|
|
7274
|
-
};
|
|
7275
7231
|
const onForgotPasswordClicked = () => {
|
|
7276
7232
|
if (attrs == null ? void 0 : attrs.onForgotPasswordClicked) {
|
|
7277
7233
|
emit("forgotPasswordClicked");
|
|
7278
7234
|
} else {
|
|
7279
|
-
|
|
7235
|
+
toResetPassword();
|
|
7280
7236
|
}
|
|
7281
7237
|
};
|
|
7282
7238
|
return (_ctx, _cache) => {
|
|
@@ -7305,11 +7261,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7305
7261
|
})
|
|
7306
7262
|
]),
|
|
7307
7263
|
default: withCtx(() => [
|
|
7308
|
-
createVNode(_sfc_main$
|
|
7264
|
+
createVNode(_sfc_main$k),
|
|
7309
7265
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
7310
7266
|
default: withCtx(() => [
|
|
7311
7267
|
createVNode(_component_base_field_set, {
|
|
7312
|
-
disabled: unref(
|
|
7268
|
+
disabled: unref(isPending),
|
|
7313
7269
|
class: "amplify-flex amplify-authenticator__column"
|
|
7314
7270
|
}, {
|
|
7315
7271
|
fieldSetI: withCtx(({ slotData }) => [
|
|
@@ -7317,25 +7273,25 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7317
7273
|
]),
|
|
7318
7274
|
default: withCtx(() => [
|
|
7319
7275
|
_hoisted_1$3,
|
|
7320
|
-
createVNode(_sfc_main$
|
|
7276
|
+
createVNode(_sfc_main$m, { route: "signIn" })
|
|
7321
7277
|
]),
|
|
7322
7278
|
_: 3
|
|
7323
7279
|
}, 8, ["disabled"]),
|
|
7324
|
-
unref(
|
|
7280
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
7325
7281
|
default: withCtx(() => [
|
|
7326
|
-
createTextVNode(toDisplayString(unref(v$2)(unref(
|
|
7282
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
7327
7283
|
]),
|
|
7328
7284
|
_: 1
|
|
7329
7285
|
})) : createCommentVNode("", true),
|
|
7330
7286
|
createVNode(_component_amplify_button, {
|
|
7331
|
-
disabled: unref(
|
|
7287
|
+
disabled: unref(isPending),
|
|
7332
7288
|
class: "amplify-field-group__control amplify-authenticator__font",
|
|
7333
7289
|
fullwidth: true,
|
|
7334
7290
|
loading: false,
|
|
7335
7291
|
variation: "primary"
|
|
7336
7292
|
}, {
|
|
7337
7293
|
default: withCtx(() => [
|
|
7338
|
-
createTextVNode(toDisplayString(unref(
|
|
7294
|
+
createTextVNode(toDisplayString(unref(isPending) ? unref(signingInButtonText) : unref(signInButtonText)), 1)
|
|
7339
7295
|
]),
|
|
7340
7296
|
_: 1
|
|
7341
7297
|
}, 8, ["disabled"])
|
|
@@ -7379,7 +7335,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
7379
7335
|
__name: "authenticator-sign-up-form-fields",
|
|
7380
7336
|
setup(__props) {
|
|
7381
7337
|
return (_ctx, _cache) => {
|
|
7382
|
-
return openBlock(), createBlock(_sfc_main$
|
|
7338
|
+
return openBlock(), createBlock(_sfc_main$m, { route: "signUp" });
|
|
7383
7339
|
};
|
|
7384
7340
|
}
|
|
7385
7341
|
});
|
|
@@ -7387,31 +7343,31 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
7387
7343
|
__name: "sign-up",
|
|
7388
7344
|
emits: ["signUpSubmit"],
|
|
7389
7345
|
setup(__props, { emit }) {
|
|
7390
|
-
const
|
|
7391
|
-
const {
|
|
7346
|
+
const facade = useAuthenticator();
|
|
7347
|
+
const { submitForm, updateBlur, updateForm } = facade;
|
|
7348
|
+
const { error: error2, hasValidationErrors, isPending } = toRefs(facade);
|
|
7392
7349
|
const attrs = useAttrs();
|
|
7393
7350
|
const { getCreateAccountText } = n$1;
|
|
7394
7351
|
const createAccountLabel = computed(() => getCreateAccountText());
|
|
7395
7352
|
const onInput = (e2) => {
|
|
7396
7353
|
let { checked, name, type, value } = e2.target;
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7354
|
+
const isUncheckedCheckbox = type === "checkbox" && !checked;
|
|
7355
|
+
updateForm({
|
|
7356
|
+
name,
|
|
7357
|
+
value: isUncheckedCheckbox ? void 0 : value
|
|
7358
|
+
});
|
|
7400
7359
|
};
|
|
7401
7360
|
function onBlur(e2) {
|
|
7402
7361
|
const { name } = e2.target;
|
|
7403
|
-
|
|
7362
|
+
updateBlur({ name });
|
|
7404
7363
|
}
|
|
7405
7364
|
const onSignUpSubmit = (e2) => {
|
|
7406
7365
|
if (attrs == null ? void 0 : attrs.onSignUpSubmit) {
|
|
7407
7366
|
emit("signUpSubmit", e2);
|
|
7408
7367
|
} else {
|
|
7409
|
-
|
|
7368
|
+
submitForm(t(e2));
|
|
7410
7369
|
}
|
|
7411
7370
|
};
|
|
7412
|
-
const submit = (e2) => {
|
|
7413
|
-
props.submitForm(t(e2));
|
|
7414
|
-
};
|
|
7415
7371
|
return (_ctx, _cache) => {
|
|
7416
7372
|
const _component_base_field_set = _sfc_main$t;
|
|
7417
7373
|
const _component_base_alert = _sfc_main$u;
|
|
@@ -7429,7 +7385,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
7429
7385
|
onSubmit: withModifiers(onSignUpSubmit, ["prevent"])
|
|
7430
7386
|
}, {
|
|
7431
7387
|
default: withCtx(() => [
|
|
7432
|
-
createVNode(_sfc_main$
|
|
7388
|
+
createVNode(_sfc_main$k),
|
|
7433
7389
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
7434
7390
|
default: withCtx(() => [
|
|
7435
7391
|
createVNode(_component_base_field_set, {
|
|
@@ -7539,6 +7495,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
7539
7495
|
};
|
|
7540
7496
|
}
|
|
7541
7497
|
});
|
|
7498
|
+
const VERSION = "3.1.21";
|
|
7542
7499
|
const _sfc_main$e = {};
|
|
7543
7500
|
function _sfc_render(_ctx, _cache) {
|
|
7544
7501
|
return renderSlot(_ctx.$slots, "textI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
|
|
@@ -7578,8 +7535,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
7578
7535
|
emits: ["confirmSignUpSubmit", "lostCodeClicked"],
|
|
7579
7536
|
setup(__props, { emit }) {
|
|
7580
7537
|
const attrs = useAttrs();
|
|
7581
|
-
const
|
|
7582
|
-
const {
|
|
7538
|
+
const facade = useAuthenticator();
|
|
7539
|
+
const { codeDeliveryDetails, error: error2, isPending } = toRefs(facade);
|
|
7540
|
+
const { resendCode, submitForm, updateForm } = facade;
|
|
7583
7541
|
const { getDeliveryMethodText, getDeliveryMessageText, getResendCodeText, getConfirmText } = n$1;
|
|
7584
7542
|
const confirmSignUpHeading = computed(() => getDeliveryMethodText(codeDeliveryDetails.value));
|
|
7585
7543
|
const resendCodeText = computed(() => getResendCodeText());
|
|
@@ -7647,7 +7605,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
7647
7605
|
disabled: unref(isPending)
|
|
7648
7606
|
}, {
|
|
7649
7607
|
default: withCtx(() => [
|
|
7650
|
-
createVNode(_sfc_main$
|
|
7608
|
+
createVNode(_sfc_main$m, { route: "confirmSignUp" })
|
|
7651
7609
|
]),
|
|
7652
7610
|
_: 1
|
|
7653
7611
|
}, 8, ["disabled"]),
|
|
@@ -7710,38 +7668,30 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
7710
7668
|
emits: ["confirmSignInSubmit", "backToSignInClicked"],
|
|
7711
7669
|
setup(__props, { emit }) {
|
|
7712
7670
|
const attrs = useAttrs();
|
|
7713
|
-
const
|
|
7714
|
-
const
|
|
7715
|
-
const
|
|
7716
|
-
const challengeName =
|
|
7671
|
+
const facade = useAuthenticator();
|
|
7672
|
+
const { submitForm, toSignIn, updateForm } = facade;
|
|
7673
|
+
const { user, error: error2, isPending } = toRefs(facade);
|
|
7674
|
+
const challengeName = computed(() => user.value.challengeName);
|
|
7717
7675
|
const { getBackToSignInText, getConfirmText, getChallengeText } = n$1;
|
|
7718
|
-
const confirmSignInHeading = computed(() => getChallengeText(challengeName));
|
|
7676
|
+
const confirmSignInHeading = computed(() => getChallengeText(challengeName.value));
|
|
7719
7677
|
const backSignInText = computed(() => getBackToSignInText());
|
|
7720
7678
|
const confirmText = computed(() => getConfirmText());
|
|
7721
7679
|
const onInput = (e2) => {
|
|
7722
7680
|
const { name, value } = e2.target;
|
|
7723
|
-
|
|
7724
|
-
type: "CHANGE",
|
|
7725
|
-
data: { name, value }
|
|
7726
|
-
});
|
|
7681
|
+
updateForm({ name, value });
|
|
7727
7682
|
};
|
|
7728
7683
|
const onConfirmSignInSubmit = (e2) => {
|
|
7729
7684
|
if (attrs == null ? void 0 : attrs.onConfirmSignInSubmit) {
|
|
7730
7685
|
emit("confirmSignInSubmit", e2);
|
|
7731
7686
|
} else {
|
|
7732
|
-
|
|
7687
|
+
submitForm(t(e2));
|
|
7733
7688
|
}
|
|
7734
7689
|
};
|
|
7735
|
-
const submit = (e2) => {
|
|
7736
|
-
props.submitForm(t(e2));
|
|
7737
|
-
};
|
|
7738
7690
|
const onBackToSignInClicked = () => {
|
|
7739
7691
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
7740
7692
|
emit("backToSignInClicked");
|
|
7741
7693
|
} else {
|
|
7742
|
-
|
|
7743
|
-
type: "SIGN_IN"
|
|
7744
|
-
});
|
|
7694
|
+
toSignIn();
|
|
7745
7695
|
}
|
|
7746
7696
|
};
|
|
7747
7697
|
return (_ctx, _cache) => {
|
|
@@ -7763,7 +7713,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
7763
7713
|
default: withCtx(() => [
|
|
7764
7714
|
createVNode(_component_base_field_set, {
|
|
7765
7715
|
class: "amplify-flex amplify-authenticator__column",
|
|
7766
|
-
disabled: unref(
|
|
7716
|
+
disabled: unref(isPending)
|
|
7767
7717
|
}, {
|
|
7768
7718
|
default: withCtx(() => [
|
|
7769
7719
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
@@ -7779,56 +7729,50 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
7779
7729
|
]),
|
|
7780
7730
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
7781
7731
|
default: withCtx(() => [
|
|
7782
|
-
createVNode(_sfc_main$
|
|
7732
|
+
createVNode(_sfc_main$m, { route: "confirmSignIn" })
|
|
7783
7733
|
]),
|
|
7784
7734
|
_: 1
|
|
7785
7735
|
}),
|
|
7786
7736
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
7787
|
-
default: withCtx(() =>
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
renderSlot(_ctx.$slots, "footer", {
|
|
7827
|
-
onBackToSignInClicked,
|
|
7828
|
-
onConfirmSignInSubmit
|
|
7829
|
-
})
|
|
7830
|
-
];
|
|
7831
|
-
}),
|
|
7737
|
+
default: withCtx(() => [
|
|
7738
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
7739
|
+
default: withCtx(() => [
|
|
7740
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
7741
|
+
]),
|
|
7742
|
+
_: 1
|
|
7743
|
+
})) : createCommentVNode("", true),
|
|
7744
|
+
createVNode(_component_amplify_button, {
|
|
7745
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
7746
|
+
fullwidth: false,
|
|
7747
|
+
loading: false,
|
|
7748
|
+
variation: "primary",
|
|
7749
|
+
style: { "font-weight": "normal" },
|
|
7750
|
+
disabled: unref(isPending)
|
|
7751
|
+
}, {
|
|
7752
|
+
default: withCtx(() => [
|
|
7753
|
+
createTextVNode(toDisplayString(unref(confirmText)), 1)
|
|
7754
|
+
]),
|
|
7755
|
+
_: 1
|
|
7756
|
+
}, 8, ["disabled"]),
|
|
7757
|
+
createVNode(_component_amplify_button, {
|
|
7758
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
7759
|
+
fullwidth: false,
|
|
7760
|
+
size: "small",
|
|
7761
|
+
variation: "link",
|
|
7762
|
+
style: { "font-weight": "normal" },
|
|
7763
|
+
type: "button",
|
|
7764
|
+
onClick: withModifiers(onBackToSignInClicked, ["prevent"])
|
|
7765
|
+
}, {
|
|
7766
|
+
default: withCtx(() => [
|
|
7767
|
+
createTextVNode(toDisplayString(unref(backSignInText)), 1)
|
|
7768
|
+
]),
|
|
7769
|
+
_: 1
|
|
7770
|
+
}, 8, ["onClick"]),
|
|
7771
|
+
renderSlot(_ctx.$slots, "footer", {
|
|
7772
|
+
onBackToSignInClicked,
|
|
7773
|
+
onConfirmSignInSubmit
|
|
7774
|
+
})
|
|
7775
|
+
]),
|
|
7832
7776
|
_: 3
|
|
7833
7777
|
})
|
|
7834
7778
|
]),
|
|
@@ -9862,17 +9806,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9862
9806
|
__name: "setup-totp",
|
|
9863
9807
|
emits: ["confirmSetupTOTPSubmit", "backToSignInClicked"],
|
|
9864
9808
|
setup(__props, { emit }) {
|
|
9865
|
-
var _a2
|
|
9809
|
+
var _a2;
|
|
9866
9810
|
const logger = new Logger("SetupTOTP-logger");
|
|
9867
|
-
const
|
|
9811
|
+
const facade = useAuthenticator();
|
|
9812
|
+
const { updateForm, submitForm, toSignIn } = facade;
|
|
9813
|
+
const { error: error2, isPending, QRFields, totpSecretCode, user } = toRefs(facade);
|
|
9868
9814
|
const attrs = useAttrs();
|
|
9869
|
-
const {
|
|
9870
|
-
const
|
|
9871
|
-
const actorState = computed(() => t$1(state.value));
|
|
9872
|
-
const { totpSecretCode, user } = actorState.value.context;
|
|
9873
|
-
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.setupTOTP;
|
|
9874
|
-
const { totpIssuer = "AWSCognito", totpUsername = user == null ? void 0 : user.username } = (_c = formOverrides == null ? void 0 : formOverrides["QR"]) != null ? _c : {};
|
|
9875
|
-
const totpCodeURL = typeof totpSecretCode === "string" && typeof totpUsername === "string" ? p$2(totpIssuer, totpUsername, totpSecretCode) : null;
|
|
9815
|
+
const { totpIssuer = "AWSCognito", totpUsername = user.value.username } = (_a2 = QRFields.value) != null ? _a2 : {};
|
|
9816
|
+
const totpCodeURL = totpSecretCode.value && totpUsername ? f$2(totpIssuer, totpUsername, totpSecretCode.value) : null;
|
|
9876
9817
|
const qrCode = reactive({
|
|
9877
9818
|
qrCodeImageSource: "",
|
|
9878
9819
|
isLoading: true
|
|
@@ -9880,19 +9821,19 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9880
9821
|
const { getCopyText, getCopiedText, getBackToSignInText, getConfirmText } = n$1;
|
|
9881
9822
|
const copyTextLabel = ref(getCopyText());
|
|
9882
9823
|
function copyText() {
|
|
9883
|
-
if (
|
|
9884
|
-
navigator.clipboard.writeText(totpSecretCode);
|
|
9824
|
+
if (totpSecretCode.value) {
|
|
9825
|
+
navigator.clipboard.writeText(totpSecretCode.value);
|
|
9885
9826
|
}
|
|
9886
9827
|
copyTextLabel.value = getCopiedText();
|
|
9887
9828
|
}
|
|
9888
9829
|
onMounted(async () => {
|
|
9889
|
-
if (!user || !totpCodeURL) {
|
|
9830
|
+
if (!user.value || !totpCodeURL) {
|
|
9890
9831
|
return;
|
|
9891
9832
|
}
|
|
9892
9833
|
try {
|
|
9893
9834
|
qrCode.qrCodeImageSource = await browser.toDataURL(totpCodeURL);
|
|
9894
|
-
} catch (
|
|
9895
|
-
logger.error(
|
|
9835
|
+
} catch (error22) {
|
|
9836
|
+
logger.error(error22);
|
|
9896
9837
|
} finally {
|
|
9897
9838
|
qrCode.isLoading = false;
|
|
9898
9839
|
}
|
|
@@ -9901,23 +9842,20 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9901
9842
|
const confirmText = computed(() => getConfirmText());
|
|
9902
9843
|
const onInput = (e2) => {
|
|
9903
9844
|
const { name, value } = e2.target;
|
|
9904
|
-
|
|
9845
|
+
updateForm({ name, value });
|
|
9905
9846
|
};
|
|
9906
9847
|
const onSetupTOTPSubmit = (e2) => {
|
|
9907
9848
|
if (attrs == null ? void 0 : attrs.onConfirmSetupTOTPSubmit) {
|
|
9908
9849
|
emit("confirmSetupTOTPSubmit", e2);
|
|
9909
9850
|
} else {
|
|
9910
|
-
|
|
9851
|
+
submitForm(t(e2));
|
|
9911
9852
|
}
|
|
9912
9853
|
};
|
|
9913
|
-
const submit = (e2) => {
|
|
9914
|
-
props.submitForm(t(e2));
|
|
9915
|
-
};
|
|
9916
9854
|
const onBackToSignInClicked = () => {
|
|
9917
9855
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
9918
9856
|
emit("backToSignInClicked");
|
|
9919
9857
|
} else {
|
|
9920
|
-
|
|
9858
|
+
toSignIn();
|
|
9921
9859
|
}
|
|
9922
9860
|
};
|
|
9923
9861
|
return (_ctx, _cache) => {
|
|
@@ -9939,7 +9877,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9939
9877
|
default: withCtx(() => [
|
|
9940
9878
|
createVNode(_component_base_field_set, {
|
|
9941
9879
|
class: "amplify-flex amplify-authenticator__column",
|
|
9942
|
-
disabled: unref(
|
|
9880
|
+
disabled: unref(isPending)
|
|
9943
9881
|
}, {
|
|
9944
9882
|
default: withCtx(() => [
|
|
9945
9883
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
@@ -9985,53 +9923,50 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9985
9923
|
]),
|
|
9986
9924
|
_: 1
|
|
9987
9925
|
}),
|
|
9988
|
-
createVNode(_sfc_main$
|
|
9926
|
+
createVNode(_sfc_main$m, { route: "setupTOTP" })
|
|
9989
9927
|
]),
|
|
9990
9928
|
_: 1
|
|
9991
9929
|
}),
|
|
9992
9930
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
9993
|
-
default: withCtx(() =>
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
})
|
|
10033
|
-
];
|
|
10034
|
-
}),
|
|
9931
|
+
default: withCtx(() => [
|
|
9932
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
9933
|
+
default: withCtx(() => [
|
|
9934
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
9935
|
+
]),
|
|
9936
|
+
_: 1
|
|
9937
|
+
})) : createCommentVNode("", true),
|
|
9938
|
+
createVNode(_component_amplify_button, {
|
|
9939
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
9940
|
+
fullwidth: false,
|
|
9941
|
+
loading: false,
|
|
9942
|
+
variation: "primary",
|
|
9943
|
+
type: "submit",
|
|
9944
|
+
disabled: unref(isPending)
|
|
9945
|
+
}, {
|
|
9946
|
+
default: withCtx(() => [
|
|
9947
|
+
createTextVNode(toDisplayString(unref(confirmText)), 1)
|
|
9948
|
+
]),
|
|
9949
|
+
_: 1
|
|
9950
|
+
}, 8, ["disabled"]),
|
|
9951
|
+
createVNode(_component_amplify_button, {
|
|
9952
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
9953
|
+
fullwidth: false,
|
|
9954
|
+
size: "small",
|
|
9955
|
+
variation: "link",
|
|
9956
|
+
style: { "font-weight": "normal" },
|
|
9957
|
+
type: "button",
|
|
9958
|
+
onClick: withModifiers(onBackToSignInClicked, ["prevent"])
|
|
9959
|
+
}, {
|
|
9960
|
+
default: withCtx(() => [
|
|
9961
|
+
createTextVNode(toDisplayString(unref(backSignInText)), 1)
|
|
9962
|
+
]),
|
|
9963
|
+
_: 1
|
|
9964
|
+
}, 8, ["onClick"]),
|
|
9965
|
+
renderSlot(_ctx.$slots, "footer", {
|
|
9966
|
+
onBackToSignInClicked,
|
|
9967
|
+
onSetupTOTPSubmit
|
|
9968
|
+
})
|
|
9969
|
+
]),
|
|
10035
9970
|
_: 3
|
|
10036
9971
|
})
|
|
10037
9972
|
]),
|
|
@@ -10054,7 +9989,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
10054
9989
|
__name: "authenticator-force-new-password-form-fields",
|
|
10055
9990
|
setup(__props) {
|
|
10056
9991
|
return (_ctx, _cache) => {
|
|
10057
|
-
return openBlock(), createBlock(_sfc_main$
|
|
9992
|
+
return openBlock(), createBlock(_sfc_main$m, { route: "forceNewPassword" });
|
|
10058
9993
|
};
|
|
10059
9994
|
}
|
|
10060
9995
|
});
|
|
@@ -10063,9 +9998,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10063
9998
|
emits: ["haveAccountClicked", "forceNewPasswordSubmit"],
|
|
10064
9999
|
setup(__props, { emit }) {
|
|
10065
10000
|
const attrs = useAttrs();
|
|
10066
|
-
const
|
|
10067
|
-
const
|
|
10068
|
-
const
|
|
10001
|
+
const facade = useAuthenticator();
|
|
10002
|
+
const { submitForm, toSignIn, updateBlur, updateForm } = facade;
|
|
10003
|
+
const { error: error2, isPending } = toRefs(facade);
|
|
10069
10004
|
const { getChangePasswordText, getChangingText, getBackToSignInText } = n$1;
|
|
10070
10005
|
const changePasswordLabel = computed(() => getChangePasswordText());
|
|
10071
10006
|
const changingPasswordLabel = computed(() => getChangingText());
|
|
@@ -10074,9 +10009,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10074
10009
|
if (attrs == null ? void 0 : attrs.onHaveAccountClicked) {
|
|
10075
10010
|
emit("haveAccountClicked");
|
|
10076
10011
|
} else {
|
|
10077
|
-
|
|
10078
|
-
type: "SIGN_IN"
|
|
10079
|
-
});
|
|
10012
|
+
toSignIn();
|
|
10080
10013
|
}
|
|
10081
10014
|
};
|
|
10082
10015
|
const onForceNewPasswordSubmit = (e2) => {
|
|
@@ -10087,18 +10020,15 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10087
10020
|
}
|
|
10088
10021
|
};
|
|
10089
10022
|
const submit = (e2) => {
|
|
10090
|
-
|
|
10023
|
+
submitForm(t(e2));
|
|
10091
10024
|
};
|
|
10092
10025
|
const onInput = (e2) => {
|
|
10093
10026
|
const { name, value } = e2.target;
|
|
10094
|
-
|
|
10095
|
-
type: "CHANGE",
|
|
10096
|
-
data: { name, value }
|
|
10097
|
-
});
|
|
10027
|
+
updateForm({ name, value });
|
|
10098
10028
|
};
|
|
10099
10029
|
function onBlur(e2) {
|
|
10100
10030
|
const { name } = e2.target;
|
|
10101
|
-
|
|
10031
|
+
updateBlur({ name });
|
|
10102
10032
|
}
|
|
10103
10033
|
return (_ctx, _cache) => {
|
|
10104
10034
|
const _component_base_heading = _sfc_main$d;
|
|
@@ -10120,7 +10050,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10120
10050
|
default: withCtx(() => [
|
|
10121
10051
|
createVNode(_component_base_field_set, {
|
|
10122
10052
|
class: "amplify-flex amplify-authenticator__column",
|
|
10123
|
-
disabled: unref(
|
|
10053
|
+
disabled: unref(isPending)
|
|
10124
10054
|
}, {
|
|
10125
10055
|
default: withCtx(() => [
|
|
10126
10056
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
@@ -10144,12 +10074,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10144
10074
|
}),
|
|
10145
10075
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10146
10076
|
default: withCtx(() => [
|
|
10147
|
-
unref(
|
|
10077
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, {
|
|
10148
10078
|
key: 0,
|
|
10149
10079
|
"data-ui-error": ""
|
|
10150
10080
|
}, {
|
|
10151
10081
|
default: withCtx(() => [
|
|
10152
|
-
createTextVNode(toDisplayString(unref(v$2)(unref(
|
|
10082
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
10153
10083
|
]),
|
|
10154
10084
|
_: 1
|
|
10155
10085
|
})) : createCommentVNode("", true),
|
|
@@ -10159,10 +10089,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10159
10089
|
loading: false,
|
|
10160
10090
|
variation: "primary",
|
|
10161
10091
|
style: { "font-weight": "normal" },
|
|
10162
|
-
disabled: unref(
|
|
10092
|
+
disabled: unref(isPending)
|
|
10163
10093
|
}, {
|
|
10164
10094
|
default: withCtx(() => [
|
|
10165
|
-
createTextVNode(toDisplayString(unref(
|
|
10095
|
+
createTextVNode(toDisplayString(unref(isPending) ? unref(changingPasswordLabel) + "\u2026" : unref(changePasswordLabel)), 1)
|
|
10166
10096
|
]),
|
|
10167
10097
|
_: 1
|
|
10168
10098
|
}, 8, ["disabled"]),
|
|
@@ -10205,8 +10135,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
10205
10135
|
emits: ["resetPasswordSubmit", "backToSignInClicked"],
|
|
10206
10136
|
setup(__props, { emit }) {
|
|
10207
10137
|
const attrs = useAttrs();
|
|
10208
|
-
const
|
|
10209
|
-
const {
|
|
10138
|
+
const facade = useAuthenticator();
|
|
10139
|
+
const { submitForm, toSignIn, updateForm } = facade;
|
|
10140
|
+
const { error: error2, isPending } = toRefs(facade);
|
|
10210
10141
|
const { getBackToSignInText, getResetYourPasswordText, getSendCodeText } = n$1;
|
|
10211
10142
|
const backSignInText = computed(() => getBackToSignInText());
|
|
10212
10143
|
const resetPasswordHeading = computed(() => getResetYourPasswordText());
|
|
@@ -10215,26 +10146,18 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
10215
10146
|
if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
|
|
10216
10147
|
emit("resetPasswordSubmit", e2);
|
|
10217
10148
|
} else {
|
|
10218
|
-
|
|
10149
|
+
submitForm(t(e2));
|
|
10219
10150
|
}
|
|
10220
10151
|
};
|
|
10221
|
-
const submit = (e2) => {
|
|
10222
|
-
submitForm(t(e2));
|
|
10223
|
-
};
|
|
10224
10152
|
const onInput = (e2) => {
|
|
10225
10153
|
const { name, value } = e2.target;
|
|
10226
|
-
|
|
10227
|
-
type: "CHANGE",
|
|
10228
|
-
data: { name, value }
|
|
10229
|
-
});
|
|
10154
|
+
updateForm({ name, value });
|
|
10230
10155
|
};
|
|
10231
10156
|
const onBackToSignInClicked = () => {
|
|
10232
10157
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
10233
10158
|
emit("backToSignInClicked");
|
|
10234
10159
|
} else {
|
|
10235
|
-
|
|
10236
|
-
type: "SIGN_IN"
|
|
10237
|
-
});
|
|
10160
|
+
toSignIn();
|
|
10238
10161
|
}
|
|
10239
10162
|
};
|
|
10240
10163
|
return (_ctx, _cache) => {
|
|
@@ -10270,7 +10193,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
10270
10193
|
disabled: unref(isPending)
|
|
10271
10194
|
}, {
|
|
10272
10195
|
default: withCtx(() => [
|
|
10273
|
-
createVNode(_sfc_main$
|
|
10196
|
+
createVNode(_sfc_main$m, { route: "resetPassword" })
|
|
10274
10197
|
]),
|
|
10275
10198
|
_: 1
|
|
10276
10199
|
}, 8, ["disabled"]),
|
|
@@ -10329,10 +10252,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
10329
10252
|
__name: "confirm-reset-password",
|
|
10330
10253
|
emits: ["confirmResetPasswordSubmit", "backToSignInClicked"],
|
|
10331
10254
|
setup(__props, { emit }) {
|
|
10332
|
-
const
|
|
10333
|
-
const
|
|
10255
|
+
const facade = useAuthenticator();
|
|
10256
|
+
const { resendCode, submitForm, updateBlur, updateForm } = facade;
|
|
10257
|
+
const { error: error2, isPending } = toRefs(facade);
|
|
10334
10258
|
const attrs = useAttrs();
|
|
10335
|
-
const actorState = computed(() => t$1(state.value));
|
|
10336
10259
|
const { getResendCodeText, getResetYourPasswordText, getSubmitText } = n$1;
|
|
10337
10260
|
const resendCodeText = computed(() => getResendCodeText());
|
|
10338
10261
|
const confirmResetPasswordHeading = computed(() => getResetYourPasswordText());
|
|
@@ -10345,23 +10268,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
10345
10268
|
}
|
|
10346
10269
|
};
|
|
10347
10270
|
const submit = (e2) => {
|
|
10348
|
-
|
|
10271
|
+
submitForm(t(e2));
|
|
10349
10272
|
};
|
|
10350
10273
|
const onLostYourCodeClicked = () => {
|
|
10351
|
-
|
|
10352
|
-
type: "RESEND"
|
|
10353
|
-
});
|
|
10274
|
+
resendCode();
|
|
10354
10275
|
};
|
|
10355
10276
|
const onInput = (e2) => {
|
|
10356
10277
|
const { name, value } = e2.target;
|
|
10357
|
-
|
|
10358
|
-
type: "CHANGE",
|
|
10359
|
-
data: { name, value }
|
|
10360
|
-
});
|
|
10278
|
+
updateForm({ name, value });
|
|
10361
10279
|
};
|
|
10362
10280
|
function onBlur(e2) {
|
|
10363
10281
|
const { name } = e2.target;
|
|
10364
|
-
|
|
10282
|
+
updateBlur({ name });
|
|
10365
10283
|
}
|
|
10366
10284
|
return (_ctx, _cache) => {
|
|
10367
10285
|
const _component_base_heading = _sfc_main$d;
|
|
@@ -10383,7 +10301,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
10383
10301
|
default: withCtx(() => [
|
|
10384
10302
|
createVNode(_component_base_field_set, {
|
|
10385
10303
|
class: "amplify-flex amplify-authenticator__column",
|
|
10386
|
-
disabled: unref(
|
|
10304
|
+
disabled: unref(isPending)
|
|
10387
10305
|
}, {
|
|
10388
10306
|
default: withCtx(() => [
|
|
10389
10307
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
@@ -10399,54 +10317,48 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
10399
10317
|
]),
|
|
10400
10318
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10401
10319
|
default: withCtx(() => [
|
|
10402
|
-
createVNode(_sfc_main$
|
|
10320
|
+
createVNode(_sfc_main$m, { route: "confirmResetPassword" })
|
|
10403
10321
|
]),
|
|
10404
10322
|
_: 1
|
|
10405
10323
|
}),
|
|
10406
10324
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10407
|
-
default: withCtx(() =>
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
renderSlot(_ctx.$slots, "footer", {
|
|
10445
|
-
onConfirmResetPasswordSubmit,
|
|
10446
|
-
onLostYourCodeClicked
|
|
10447
|
-
})
|
|
10448
|
-
];
|
|
10449
|
-
}),
|
|
10325
|
+
default: withCtx(() => [
|
|
10326
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
10327
|
+
default: withCtx(() => [
|
|
10328
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
10329
|
+
]),
|
|
10330
|
+
_: 1
|
|
10331
|
+
})) : createCommentVNode("", true),
|
|
10332
|
+
createVNode(_component_amplify_button, {
|
|
10333
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10334
|
+
variation: "primary",
|
|
10335
|
+
fullwidth: false,
|
|
10336
|
+
type: "submit",
|
|
10337
|
+
disabled: unref(isPending)
|
|
10338
|
+
}, {
|
|
10339
|
+
default: withCtx(() => [
|
|
10340
|
+
createTextVNode(toDisplayString(unref(confirmResetPasswordText)), 1)
|
|
10341
|
+
]),
|
|
10342
|
+
_: 1
|
|
10343
|
+
}, 8, ["disabled"]),
|
|
10344
|
+
createVNode(_component_amplify_button, {
|
|
10345
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10346
|
+
variation: "link",
|
|
10347
|
+
fullwidth: false,
|
|
10348
|
+
size: "small",
|
|
10349
|
+
type: "button",
|
|
10350
|
+
onClick: withModifiers(onLostYourCodeClicked, ["prevent"])
|
|
10351
|
+
}, {
|
|
10352
|
+
default: withCtx(() => [
|
|
10353
|
+
createTextVNode(toDisplayString(unref(resendCodeText)), 1)
|
|
10354
|
+
]),
|
|
10355
|
+
_: 1
|
|
10356
|
+
}, 8, ["onClick"]),
|
|
10357
|
+
renderSlot(_ctx.$slots, "footer", {
|
|
10358
|
+
onConfirmResetPasswordSubmit,
|
|
10359
|
+
onLostYourCodeClicked
|
|
10360
|
+
})
|
|
10361
|
+
]),
|
|
10450
10362
|
_: 3
|
|
10451
10363
|
})
|
|
10452
10364
|
]),
|
|
@@ -10466,11 +10378,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10466
10378
|
__name: "verify-user",
|
|
10467
10379
|
emits: ["verifyUserSubmit", "skipClicked"],
|
|
10468
10380
|
setup(__props, { emit }) {
|
|
10469
|
-
const
|
|
10381
|
+
const facade = useAuthenticator();
|
|
10382
|
+
const { isPending, unverifiedContactMethods, error: error2 } = toRefs(facade);
|
|
10383
|
+
const { skipVerification, submitForm, updateForm } = facade;
|
|
10470
10384
|
const attrs = useAttrs();
|
|
10471
|
-
const { state, send: send2 } = useAuth();
|
|
10472
|
-
const actorState = computed(() => t$1(state.value));
|
|
10473
|
-
const { unverifiedContactMethods } = actorState.value.context;
|
|
10474
10385
|
const { getAccountRecoveryInfoText, getSkipText, getVerifyText, getVerifyContactText } = n$1;
|
|
10475
10386
|
const verifyHeading = computed(() => getAccountRecoveryInfoText());
|
|
10476
10387
|
const skipText = computed(() => getSkipText());
|
|
@@ -10478,10 +10389,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10478
10389
|
const verifyContactText = computed(() => getVerifyContactText());
|
|
10479
10390
|
const onInput = (e2) => {
|
|
10480
10391
|
const { name, value } = e2.target;
|
|
10481
|
-
|
|
10482
|
-
type: "CHANGE",
|
|
10483
|
-
data: { name, value }
|
|
10484
|
-
});
|
|
10392
|
+
updateForm({ name, value });
|
|
10485
10393
|
};
|
|
10486
10394
|
const onVerifyUserSubmit = (e2) => {
|
|
10487
10395
|
if (attrs == null ? void 0 : attrs.onVerifyUserSubmit) {
|
|
@@ -10491,19 +10399,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10491
10399
|
}
|
|
10492
10400
|
};
|
|
10493
10401
|
const submit = (e2) => {
|
|
10494
|
-
|
|
10402
|
+
submitForm(t(e2));
|
|
10495
10403
|
};
|
|
10496
10404
|
const onSkipClicked = () => {
|
|
10497
10405
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
10498
10406
|
emit("skipClicked");
|
|
10499
10407
|
} else {
|
|
10500
|
-
|
|
10408
|
+
skipVerification();
|
|
10501
10409
|
}
|
|
10502
10410
|
};
|
|
10503
10411
|
return (_ctx, _cache) => {
|
|
10504
10412
|
const _component_base_heading = _sfc_main$d;
|
|
10505
10413
|
const _component_base_label = __unplugin_components_0;
|
|
10506
|
-
const _component_base_input = _sfc_main$
|
|
10414
|
+
const _component_base_input = _sfc_main$s;
|
|
10507
10415
|
const _component_base_text = __unplugin_components_3;
|
|
10508
10416
|
const _component_base_wrapper = __unplugin_components_2;
|
|
10509
10417
|
const _component_base_alert = _sfc_main$u;
|
|
@@ -10520,7 +10428,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10520
10428
|
}, {
|
|
10521
10429
|
default: withCtx(() => [
|
|
10522
10430
|
createVNode(_component_base_field_set, {
|
|
10523
|
-
disabled: unref(
|
|
10431
|
+
disabled: unref(isPending),
|
|
10524
10432
|
class: "amplify-flex amplify-authenticator__column"
|
|
10525
10433
|
}, {
|
|
10526
10434
|
default: withCtx(() => [
|
|
@@ -10574,7 +10482,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10574
10482
|
}),
|
|
10575
10483
|
createVNode(_component_base_text, { class: "amplify-text amplify-radio__label" }, {
|
|
10576
10484
|
default: withCtx(() => [
|
|
10577
|
-
createTextVNode(toDisplayString(unref(
|
|
10485
|
+
createTextVNode(toDisplayString(unref(a$2)[key].label), 1)
|
|
10578
10486
|
]),
|
|
10579
10487
|
_: 2
|
|
10580
10488
|
}, 1024)
|
|
@@ -10589,50 +10497,44 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10589
10497
|
_: 1
|
|
10590
10498
|
}),
|
|
10591
10499
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10592
|
-
default: withCtx(() =>
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
renderSlot(_ctx.$slots, "footer", {
|
|
10631
|
-
onSkipClicked,
|
|
10632
|
-
onVerifyUserSubmit
|
|
10633
|
-
})
|
|
10634
|
-
];
|
|
10635
|
-
}),
|
|
10500
|
+
default: withCtx(() => [
|
|
10501
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
10502
|
+
default: withCtx(() => [
|
|
10503
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
10504
|
+
]),
|
|
10505
|
+
_: 1
|
|
10506
|
+
})) : createCommentVNode("", true),
|
|
10507
|
+
createVNode(_component_amplify_button, {
|
|
10508
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10509
|
+
fullwidth: false,
|
|
10510
|
+
variation: "primary",
|
|
10511
|
+
type: "submit",
|
|
10512
|
+
disabled: unref(isPending)
|
|
10513
|
+
}, {
|
|
10514
|
+
default: withCtx(() => [
|
|
10515
|
+
createTextVNode(toDisplayString(unref(verifyText)), 1)
|
|
10516
|
+
]),
|
|
10517
|
+
_: 1
|
|
10518
|
+
}, 8, ["disabled"]),
|
|
10519
|
+
createVNode(_component_amplify_button, {
|
|
10520
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10521
|
+
fullwidth: false,
|
|
10522
|
+
size: "small",
|
|
10523
|
+
variation: "link",
|
|
10524
|
+
style: { "font-weight": "normal" },
|
|
10525
|
+
type: "button",
|
|
10526
|
+
onClick: withModifiers(onSkipClicked, ["prevent"])
|
|
10527
|
+
}, {
|
|
10528
|
+
default: withCtx(() => [
|
|
10529
|
+
createTextVNode(toDisplayString(unref(skipText)), 1)
|
|
10530
|
+
]),
|
|
10531
|
+
_: 1
|
|
10532
|
+
}, 8, ["onClick"]),
|
|
10533
|
+
renderSlot(_ctx.$slots, "footer", {
|
|
10534
|
+
onSkipClicked,
|
|
10535
|
+
onVerifyUserSubmit
|
|
10536
|
+
})
|
|
10537
|
+
]),
|
|
10636
10538
|
_: 3
|
|
10637
10539
|
})
|
|
10638
10540
|
]),
|
|
@@ -10652,20 +10554,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10652
10554
|
__name: "confirm-verify-user",
|
|
10653
10555
|
emits: ["confirmVerifyUserSubmit", "skipClicked"],
|
|
10654
10556
|
setup(__props, { emit }) {
|
|
10655
|
-
const
|
|
10557
|
+
const facade = useAuthenticator();
|
|
10558
|
+
const { error: error2, isPending } = toRefs(facade);
|
|
10559
|
+
const { skipVerification, submitForm, updateForm } = facade;
|
|
10656
10560
|
const attrs = useAttrs();
|
|
10657
|
-
const { state, send: send2 } = useAuth();
|
|
10658
|
-
const actorState = computed(() => t$1(state.value));
|
|
10659
10561
|
const { getAccountRecoveryInfoText, getSkipText, getSubmitText } = n$1;
|
|
10660
10562
|
const verifyHeading = computed(() => getAccountRecoveryInfoText());
|
|
10661
10563
|
const skipText = computed(() => getSkipText());
|
|
10662
10564
|
const submitText = computed(() => getSubmitText());
|
|
10663
10565
|
const onInput = (e2) => {
|
|
10664
10566
|
const { name, value } = e2.target;
|
|
10665
|
-
|
|
10666
|
-
type: "CHANGE",
|
|
10667
|
-
data: { name, value }
|
|
10668
|
-
});
|
|
10567
|
+
updateForm({ name, value });
|
|
10669
10568
|
};
|
|
10670
10569
|
const onConfirmVerifyUserSubmit = (e2) => {
|
|
10671
10570
|
if (attrs == null ? void 0 : attrs.onConfirmVerifyUserSubmit) {
|
|
@@ -10675,15 +10574,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10675
10574
|
}
|
|
10676
10575
|
};
|
|
10677
10576
|
const submit = (e2) => {
|
|
10678
|
-
|
|
10577
|
+
submitForm(t(e2));
|
|
10679
10578
|
};
|
|
10680
10579
|
const onSkipClicked = () => {
|
|
10681
10580
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
10682
10581
|
emit("skipClicked");
|
|
10683
10582
|
} else {
|
|
10684
|
-
|
|
10685
|
-
type: "SKIP"
|
|
10686
|
-
});
|
|
10583
|
+
skipVerification();
|
|
10687
10584
|
}
|
|
10688
10585
|
};
|
|
10689
10586
|
return (_ctx, _cache) => {
|
|
@@ -10704,7 +10601,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10704
10601
|
default: withCtx(() => [
|
|
10705
10602
|
createVNode(_component_base_field_set, {
|
|
10706
10603
|
class: "amplify-flex amplify-authenticator__column",
|
|
10707
|
-
disabled: unref(
|
|
10604
|
+
disabled: unref(isPending)
|
|
10708
10605
|
}, {
|
|
10709
10606
|
default: withCtx(() => [
|
|
10710
10607
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
@@ -10720,55 +10617,49 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10720
10617
|
]),
|
|
10721
10618
|
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10722
10619
|
default: withCtx(() => [
|
|
10723
|
-
createVNode(_sfc_main$
|
|
10620
|
+
createVNode(_sfc_main$m, { route: "confirmVerifyUser" })
|
|
10724
10621
|
]),
|
|
10725
10622
|
_: 1
|
|
10726
10623
|
}),
|
|
10727
10624
|
createVNode(_component_base_footer, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10728
|
-
default: withCtx(() =>
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
renderSlot(_ctx.$slots, "footer", {
|
|
10767
|
-
onSkipClicked,
|
|
10768
|
-
onConfirmVerifyUserSubmit
|
|
10769
|
-
})
|
|
10770
|
-
];
|
|
10771
|
-
}),
|
|
10625
|
+
default: withCtx(() => [
|
|
10626
|
+
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
10627
|
+
default: withCtx(() => [
|
|
10628
|
+
createTextVNode(toDisplayString(unref(v$2)(unref(error2))), 1)
|
|
10629
|
+
]),
|
|
10630
|
+
_: 1
|
|
10631
|
+
})) : createCommentVNode("", true),
|
|
10632
|
+
createVNode(_component_amplify_button, {
|
|
10633
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10634
|
+
fullwidth: false,
|
|
10635
|
+
variation: "primary",
|
|
10636
|
+
type: "submit",
|
|
10637
|
+
disabled: unref(isPending)
|
|
10638
|
+
}, {
|
|
10639
|
+
default: withCtx(() => [
|
|
10640
|
+
createTextVNode(toDisplayString(unref(submitText)), 1)
|
|
10641
|
+
]),
|
|
10642
|
+
_: 1
|
|
10643
|
+
}, 8, ["disabled"]),
|
|
10644
|
+
createVNode(_component_amplify_button, {
|
|
10645
|
+
class: "amplify-field-group__control amplify-authenticator__font",
|
|
10646
|
+
fullwidth: false,
|
|
10647
|
+
size: "small",
|
|
10648
|
+
variation: "link",
|
|
10649
|
+
style: { "font-weight": "normal" },
|
|
10650
|
+
type: "button",
|
|
10651
|
+
onClick: withModifiers(onSkipClicked, ["prevent"])
|
|
10652
|
+
}, {
|
|
10653
|
+
default: withCtx(() => [
|
|
10654
|
+
createTextVNode(toDisplayString(unref(skipText)), 1)
|
|
10655
|
+
]),
|
|
10656
|
+
_: 1
|
|
10657
|
+
}, 8, ["onClick"]),
|
|
10658
|
+
renderSlot(_ctx.$slots, "footer", {
|
|
10659
|
+
onSkipClicked,
|
|
10660
|
+
onConfirmVerifyUserSubmit
|
|
10661
|
+
})
|
|
10662
|
+
]),
|
|
10772
10663
|
_: 3
|
|
10773
10664
|
})
|
|
10774
10665
|
]),
|
|
@@ -10784,7 +10675,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10784
10675
|
};
|
|
10785
10676
|
}
|
|
10786
10677
|
});
|
|
10787
|
-
const VERSION = "3.1.19";
|
|
10788
10678
|
const _hoisted_1$1 = ["data-variation"];
|
|
10789
10679
|
const _hoisted_2$1 = { "data-amplify-container": "" };
|
|
10790
10680
|
const _hoisted_3$1 = ["data-amplify-router-content"];
|
|
@@ -10828,27 +10718,27 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
10828
10718
|
send2({
|
|
10829
10719
|
type: "INIT",
|
|
10830
10720
|
data: {
|
|
10831
|
-
initialState: initialState
|
|
10832
|
-
loginMechanisms: loginMechanisms
|
|
10833
|
-
socialProviders: socialProviders
|
|
10834
|
-
signUpAttributes: signUpAttributes
|
|
10835
|
-
services: services
|
|
10836
|
-
formFields: formFields
|
|
10721
|
+
initialState: initialState.value,
|
|
10722
|
+
loginMechanisms: loginMechanisms.value,
|
|
10723
|
+
socialProviders: socialProviders.value,
|
|
10724
|
+
signUpAttributes: signUpAttributes.value,
|
|
10725
|
+
services: services.value,
|
|
10726
|
+
formFields: formFields.value
|
|
10837
10727
|
}
|
|
10838
10728
|
});
|
|
10839
10729
|
hasInitialized.value = true;
|
|
10840
10730
|
}
|
|
10841
10731
|
}).unsubscribe;
|
|
10842
|
-
const
|
|
10732
|
+
const facade = useAuthenticator();
|
|
10733
|
+
const { route, signOut, toSignIn, toSignUp, user } = toRefs(facade);
|
|
10843
10734
|
onMounted(() => {
|
|
10844
|
-
|
|
10735
|
+
c$3({
|
|
10845
10736
|
packageName: "@aws-amplify/ui-vue",
|
|
10846
10737
|
version: VERSION
|
|
10847
10738
|
});
|
|
10848
10739
|
});
|
|
10849
10740
|
onUnmounted(() => {
|
|
10850
|
-
|
|
10851
|
-
unsubscribeMachine();
|
|
10741
|
+
unsubscribeMachine();
|
|
10852
10742
|
});
|
|
10853
10743
|
const signInComponent = ref();
|
|
10854
10744
|
const signUpComponent = ref();
|
|
@@ -11236,7 +11126,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
11236
11126
|
const { label, id, autocomplete, placeholder, required, name, type } = toRefs(props);
|
|
11237
11127
|
return (_ctx, _cache) => {
|
|
11238
11128
|
const _component_base_label = __unplugin_components_0;
|
|
11239
|
-
const _component_base_input = _sfc_main$
|
|
11129
|
+
const _component_base_input = _sfc_main$s;
|
|
11240
11130
|
const _component_base_wrapper = __unplugin_components_2;
|
|
11241
11131
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
11242
11132
|
createVNode(_component_base_label, {
|
|
@@ -11335,10 +11225,10 @@ var index = {
|
|
|
11335
11225
|
install: (app) => {
|
|
11336
11226
|
app.component("SignIn", _sfc_main$j);
|
|
11337
11227
|
app.component("SignUp", _sfc_main$h);
|
|
11338
|
-
app.component("FederatedSignIn", _sfc_main$
|
|
11228
|
+
app.component("FederatedSignIn", _sfc_main$k);
|
|
11339
11229
|
app.component("Authenticator", _sfc_main$3);
|
|
11340
11230
|
app.component("RenderInfo", _sfc_main$2);
|
|
11341
|
-
app.component("PasswordControl", _sfc_main$
|
|
11231
|
+
app.component("PasswordControl", _sfc_main$q);
|
|
11342
11232
|
app.component("ForceNewPassword", _sfc_main$8);
|
|
11343
11233
|
app.component("ResetPassword", _sfc_main$7);
|
|
11344
11234
|
app.component("ConfirmResetPassword", _sfc_main$6);
|
|
@@ -11349,8 +11239,8 @@ var index = {
|
|
|
11349
11239
|
app.component("AmplifyTextField", _sfc_main$1);
|
|
11350
11240
|
app.component("AmplifyCheckBox", _sfc_main);
|
|
11351
11241
|
app.component("AmplifyButton", _sfc_main$v);
|
|
11352
|
-
app.component("BaseFormField", _sfc_main$
|
|
11353
|
-
app.component("BaseFormFields", _sfc_main$
|
|
11242
|
+
app.component("BaseFormField", _sfc_main$n);
|
|
11243
|
+
app.component("BaseFormFields", _sfc_main$m);
|
|
11354
11244
|
app.component(
|
|
11355
11245
|
"AuthenticatorSignUpFormFields",
|
|
11356
11246
|
_sfc_main$i
|
|
@@ -11361,4 +11251,4 @@ var index = {
|
|
|
11361
11251
|
);
|
|
11362
11252
|
}
|
|
11363
11253
|
};
|
|
11364
|
-
export { _sfc_main$v as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$i as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$b as ConfirmSignIn, _sfc_main$c as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$
|
|
11254
|
+
export { _sfc_main$v as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$i as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$b as ConfirmSignIn, _sfc_main$c as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$k as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$j as SignIn, _sfc_main$h as SignUp, _sfc_main$5 as VerifyUser, index as default, y$2 as translations, useAuthenticator };
|