@cuemath/leap 3.0.12-j → 3.0.13-ass1
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/assets/illustrations/illustrations.js +0 -3
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lottie/lottie.js +0 -11
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +32 -68
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +95 -97
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +98 -102
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/index.d.ts +0 -284
- package/dist/index.js +321 -367
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
- package/dist/assets/illustrations/loader-1.svg.js +0 -6
- package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
- package/dist/assets/line-icons/icons/apple-icon.js +0 -48
- package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
- package/dist/assets/line-icons/icons/google-icon.js +0 -42
- package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
- package/dist/features/auth/account-selector/account-selector.js +0 -43
- package/dist/features/auth/account-selector/account-selector.js.map +0 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -12
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -18
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
- package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -21
- package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
- package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
- package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -9
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
- package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +0 -24
- package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +0 -1
- package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -65
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +0 -23
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +0 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
- package/dist/features/auth/comps/tabs/tabs.js +0 -9
- package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
- package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
- package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
- package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -66
- package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -101
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
- package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -68
- package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -100
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
- package/dist/features/auth/login/login-constants.js +0 -14
- package/dist/features/auth/login/login-constants.js.map +0 -1
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -32
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
- package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -47
- package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
- package/dist/features/auth/login/username-password-form/username-password-form.js +0 -98
- package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -53
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -34
- package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
- package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
- package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -100
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -43
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -31
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -29
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
- package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
- package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
- package/dist/features/auth/signup/signup-constants.js +0 -1031
- package/dist/features/auth/signup/signup-constants.js.map +0 -1
- package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -69
- package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
- package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
- package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -85
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
- package/dist/features/auth/user-list/user-item/user-item-styled.js +0 -21
- package/dist/features/auth/user-list/user-item/user-item-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-item/user-item.js +0 -48
- package/dist/features/auth/user-list/user-item/user-item.js.map +0 -1
- package/dist/features/auth/user-list/user-list-styled.js +0 -19
- package/dist/features/auth/user-list/user-list-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-list.js +0 -56
- package/dist/features/auth/user-list/user-list.js.map +0 -1
- package/dist/features/ui/border-path-animation/border-path-animation-styled.js +0 -51
- package/dist/features/ui/border-path-animation/border-path-animation-styled.js.map +0 -1
- package/dist/features/ui/border-path-animation/border-path-animation.js +0 -108
- package/dist/features/ui/border-path-animation/border-path-animation.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/date-fns/subYears.js +0 -9
- package/dist/node_modules/date-fns/subYears.js.map +0 -1
- package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
- package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
- package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
- package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
- package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
- package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
- package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
- package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
- package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
- package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
- package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
- package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
- package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
- package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
- package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
- package/dist/static/avatar-selected.860ee923.json +0 -1
- package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
- package/dist/static/cuemath-app-qr-code.4beefe48.svg +0 -1
- package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
- package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
- package/dist/static/dob.9ce3c15b.json +0 -1
- package/dist/static/error.cbe1ddde.json +0 -1
- package/dist/static/grade.b3730524.json +0 -1
- package/dist/static/key.d6846476.json +0 -1
- package/dist/static/mail.c30e8708.json +0 -1
- package/dist/static/otp.2d08f874.json +0 -1
- package/dist/static/otp.a3029760.json +0 -1
- package/dist/static/parent-avatar.772d53e0.json +0 -1
- package/dist/static/phone-number.0be312ea.json +0 -1
- package/dist/static/phone-number.84f55562.json +0 -1
- package/dist/static/student-avatar.524226bd.json +0 -1
- package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
- package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
- package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
- package/dist/static/username.9e034d51.json +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth-page-layout.js","sources":["../../../../../src/features/auth/comps/auth-page-layout/auth-page-layout.tsx"],"sourcesContent":["import type { IAuthPageLayoutProps } from './auth-page-layout-types';\n\nimport { memo, type FC } from 'react';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './auth-page-layout-styles';\n\nconst AuthPageLayout: FC<IAuthPageLayoutProps> = ({ leftBlock, rightBlock, isFullWidth }) => {\n return (\n <Styled.Container $width=\"100%\" $height=\"100%\" $flexDirection=\"row\">\n <Styled.ContentWrapper $width={isFullWidth ? '100%' : '50%'} $background=\"BLACK_1\">\n {leftBlock}\n </Styled.ContentWrapper>\n {!isFullWidth && rightBlock && (\n <FlexView $width=\"50%\" $background=\"BLACK_2\">\n {rightBlock}\n </FlexView>\n )}\n </Styled.Container>\n );\n};\n\nexport default memo(AuthPageLayout);\n"],"names":["AuthPageLayout","leftBlock","rightBlock","isFullWidth","jsxs","Styled.Container","jsx","Styled.ContentWrapper","FlexView","authPageLayout","memo"],"mappings":";;;;AAOA,MAAMA,IAA2C,CAAC,EAAE,WAAAC,GAAW,YAAAC,GAAY,aAAAC,QAEvE,gBAAAC,EAACC,GAAA,EAAiB,QAAO,QAAO,SAAQ,QAAO,gBAAe,OAC5D,UAAA;AAAA,EAAC,gBAAAC,EAAAC,GAAA,EAAsB,QAAQJ,IAAc,SAAS,OAAO,aAAY,WACtE,UACHF,EAAA,CAAA;AAAA,EACC,CAACE,KAAeD,KACf,gBAAAI,EAACE,KAAS,QAAO,OAAM,aAAY,WAChC,UACHN,EAAA,CAAA;AAEJ,EAAA,CAAA,GAIWO,IAAAC,EAAKV,CAAc;"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { memo as n } from "react";
|
3
|
-
import { ILLUSTRATIONS as m } from "../../../../assets/illustrations/illustrations.js";
|
4
|
-
import l from "../../../ui/image/image.js";
|
5
|
-
import c from "../../../ui/layout/flex-view.js";
|
6
|
-
import r from "../../../ui/separator/separator.js";
|
7
|
-
import t from "../../../ui/text/text.js";
|
8
|
-
const h = ({ title: o, description: i }) => /* @__PURE__ */ a(c, { $flex: 1, $alignItems: "center", $justifyContent: "center", $gutterX: 6, children: [
|
9
|
-
/* @__PURE__ */ e(l, { src: m.CIRCLE_CUEMATH_LOGO_WHITE, alt: "Cuemath Logo", withLoader: !1 }),
|
10
|
-
/* @__PURE__ */ e(r, { heightX: 1.5 }),
|
11
|
-
/* @__PURE__ */ e(t, { $whiteSpace: "pre-line", $renderAs: "ah2", $color: "WHITE", $align: "center", children: o }),
|
12
|
-
/* @__PURE__ */ e(r, { heightX: 1 }),
|
13
|
-
/* @__PURE__ */ e(t, { $whiteSpace: "pre-line", $renderAs: "ab1", $color: "WHITE_T_60", $align: "center", children: i })
|
14
|
-
] }), d = n(h);
|
15
|
-
export {
|
16
|
-
d as default
|
17
|
-
};
|
18
|
-
//# sourceMappingURL=auth-static-panel.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth-static-panel.js","sources":["../../../../../src/features/auth/comps/auth-static-panel/auth-static-panel.tsx"],"sourcesContent":["import type { IAuthStaticPanelProps } from './auth-static-panel-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\n\nconst AuthStaticPanel: FC<IAuthStaticPanelProps> = ({ title, description }) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $gutterX={6}>\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Cuemath Logo\" withLoader={false} />\n <Separator heightX={1.5} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ah2\" $color=\"WHITE\" $align=\"center\">\n {title}\n </Text>\n <Separator heightX={1} />\n <Text $whiteSpace=\"pre-line\" $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n {description}\n </Text>\n </FlexView>\n );\n};\n\nexport default memo(AuthStaticPanel);\n"],"names":["AuthStaticPanel","title","description","jsxs","FlexView","jsx","Image","ILLUSTRATIONS","Separator","Text","authStaticPanel","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,aAAAC,QAEzD,gBAAAC,EAACC,KAAS,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,UAAU,GAC1E,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAM,KAAKC,EAAc,2BAA2B,KAAI,gBAAe,YAAY,IAAO;AAAA,EAC3F,gBAAAF,EAACG,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,EACzB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,SAAQ,QAAO,UAChE,UACHR,EAAA,CAAA;AAAA,EACA,gBAAAI,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAH,EAACI,GAAK,EAAA,aAAY,YAAW,WAAU,OAAM,QAAO,cAAa,QAAO,UACrE,UACHP,EAAA,CAAA;AACF,EAAA,CAAA,GAIWQ,IAAAC,EAAKX,CAAe;"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
2
|
-
import { memo as h } from "react";
|
3
|
-
import { useTheme as u } from "styled-components";
|
4
|
-
import { ReactComponent as a } from "../../../../assets/illustrations/loader-1.svg.js";
|
5
|
-
import i from "../../../../assets/line-icons/icons/check2.js";
|
6
|
-
import p from "../../../../assets/line-icons/icons/cross.js";
|
7
|
-
const s = ({
|
8
|
-
isLoading: m = !1,
|
9
|
-
isValid: n = !1,
|
10
|
-
isError: e = !1,
|
11
|
-
size: o = 24,
|
12
|
-
successColor: f = "GREEN_4",
|
13
|
-
errorColor: c = "ORANGE_4"
|
14
|
-
}) => {
|
15
|
-
const { colors: r } = u();
|
16
|
-
return m ? /* @__PURE__ */ t(a, { width: o, height: o }) : e ? /* @__PURE__ */ t(p, { color: r[c], width: o, height: o }) : n ? /* @__PURE__ */ t(i, { color: r[f], width: o, height: o }) : null;
|
17
|
-
}, E = h(s);
|
18
|
-
export {
|
19
|
-
E as default
|
20
|
-
};
|
21
|
-
//# sourceMappingURL=input-status-icon.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input-status-icon.js","sources":["../../../../../src/features/auth/comps/input-status-icon/input-status-icon.tsx"],"sourcesContent":["import type { IInputStatusIconProps } from './input-status-icon-types';\n\nimport { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ReactComponent as LoaderSVG } from '../../../../assets/illustrations/loader-1.svg';\nimport Check2Icon from '../../../../assets/line-icons/icons/check2';\nimport CrossIcon from '../../../../assets/line-icons/icons/cross';\n\nconst InputStatusIcon: React.FC<IInputStatusIconProps> = ({\n isLoading = false,\n isValid = false,\n isError = false,\n size = 24,\n successColor = 'GREEN_4',\n errorColor = 'ORANGE_4',\n}) => {\n const { colors } = useTheme();\n\n if (isLoading) {\n return <LoaderSVG width={size} height={size} />;\n }\n\n if (isError) {\n return <CrossIcon color={colors[errorColor]} width={size} height={size} />;\n }\n\n if (isValid) {\n return <Check2Icon color={colors[successColor]} width={size} height={size} />;\n }\n\n return null;\n};\n\nexport default memo(InputStatusIcon);\n"],"names":["InputStatusIcon","isLoading","isValid","isError","size","successColor","errorColor","colors","useTheme","jsx","LoaderSVG","CrossIcon","Check2Icon","InputStatusIcon$1","memo"],"mappings":";;;;;;AASA,MAAMA,IAAmD,CAAC;AAAA,EACxD,WAAAC,IAAY;AAAA,EACZ,SAAAC,IAAU;AAAA,EACV,SAAAC,IAAU;AAAA,EACV,MAAAC,IAAO;AAAA,EACP,cAAAC,IAAe;AAAA,EACf,YAAAC,IAAa;AACf,MAAM;AACE,QAAA,EAAE,QAAAC,MAAWC;AAEnB,SAAIP,IACM,gBAAAQ,EAAAC,GAAA,EAAU,OAAON,GAAM,QAAQA,EAAM,CAAA,IAG3CD,IACK,gBAAAM,EAACE,KAAU,OAAOJ,EAAOD,CAAU,GAAG,OAAOF,GAAM,QAAQA,EAAM,CAAA,IAGtEF,IACK,gBAAAO,EAACG,KAAW,OAAOL,EAAOF,CAAY,GAAG,OAAOD,GAAM,QAAQA,EAAM,CAAA,IAGtE;AACT,GAEeS,IAAAC,EAAKd,CAAe;"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import o from "styled-components";
|
2
|
-
const e = o.div(({ theme: t }) => `
|
3
|
-
position: absolute;
|
4
|
-
left: 0;
|
5
|
-
right: 0;
|
6
|
-
top: 0;
|
7
|
-
bottom: 0;
|
8
|
-
background: rgba(204, 204, 204, 0.25);
|
9
|
-
backdrop-filter: blur(1.5px);
|
10
|
-
z-index: 2;
|
11
|
-
|
12
|
-
& * {
|
13
|
-
pointer-events: none;
|
14
|
-
}
|
15
|
-
|
16
|
-
& img {
|
17
|
-
top: 50%;
|
18
|
-
position: absolute;
|
19
|
-
left: 50%;
|
20
|
-
transform: translate(-50%, -50%);
|
21
|
-
width: ${t.layout.gutter * 5}px;
|
22
|
-
height: ${t.layout.gutter * 5}px;
|
23
|
-
filter: brightness(0);
|
24
|
-
}
|
25
|
-
`);
|
26
|
-
export {
|
27
|
-
e as LoaderWrapper
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=overlay-loader-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"overlay-loader-styled.js","sources":["../../../../../src/features/auth/comps/overlay-loader/overlay-loader-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const LoaderWrapper = styled.div(({ theme }) => {\n return `\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(204, 204, 204, 0.25);\n backdrop-filter: blur(1.5px);\n z-index: 2;\n\n & * {\n pointer-events: none;\n }\n\n & img {\n top: 50%;\n position: absolute;\n left: 50%;\n transform: translate(-50%, -50%);\n width: ${theme.layout.gutter * 5}px;\n height: ${theme.layout.gutter * 5}px;\n filter: brightness(0);\n }\n `;\n});\n"],"names":["LoaderWrapper","styled","theme"],"mappings":";AAEO,MAAMA,IAAgBC,EAAO,IAAI,CAAC,EAAE,OAAAC,QAClC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAmBYA,EAAM,OAAO,SAAS,CAAC;AAAA,sBACtBA,EAAM,OAAO,SAAS,CAAC;AAAA;AAAA;AAAA,KAI5C;"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
2
|
-
import { memo as e } from "react";
|
3
|
-
import { ILLUSTRATIONS as a } from "../../../../assets/illustrations/illustrations.js";
|
4
|
-
import { LoaderWrapper as m } from "./overlay-loader-styled.js";
|
5
|
-
const t = ({ isLoading: o = !1 }) => o ? /* @__PURE__ */ r(m, { children: /* @__PURE__ */ r("img", { src: a.LOADER_1, alt: "loader" }) }) : null, d = e(t);
|
6
|
-
export {
|
7
|
-
d as default
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=overlay-loader.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"overlay-loader.js","sources":["../../../../../src/features/auth/comps/overlay-loader/overlay-loader.tsx"],"sourcesContent":["import { memo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport * as Styled from './overlay-loader-styled';\n\nconst OverlayLoader = ({ isLoading = false }) => {\n if (isLoading) {\n return (\n <Styled.LoaderWrapper>\n <img src={ILLUSTRATIONS.LOADER_1} alt=\"loader\" />\n </Styled.LoaderWrapper>\n );\n }\n\n return null;\n};\n\nexport default memo(OverlayLoader);\n"],"names":["OverlayLoader","isLoading","jsx","Styled.LoaderWrapper","ILLUSTRATIONS","OverlayLoader$1","memo"],"mappings":";;;;AAKA,MAAMA,IAAgB,CAAC,EAAE,WAAAC,IAAY,SAC/BA,IAEA,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAAC,OAAI,EAAA,KAAKE,EAAc,UAAU,KAAI,SAAS,CAAA,EACjD,CAAA,IAIG,MAGMC,IAAAC,EAAKN,CAAa;"}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { useState as u, useEffect as f, useCallback as T, useMemo as d } from "react";
|
2
|
-
const l = ({ initialSeconds: t }) => {
|
3
|
-
const [e, r] = u(t), [n, s] = u(!1);
|
4
|
-
f(() => {
|
5
|
-
if (e <= 0) {
|
6
|
-
s(!0);
|
7
|
-
return;
|
8
|
-
}
|
9
|
-
const m = setTimeout(() => r((a) => a - 1), 1e3);
|
10
|
-
return () => clearTimeout(m);
|
11
|
-
}, [e]);
|
12
|
-
const o = T(() => {
|
13
|
-
r(t), s(!1);
|
14
|
-
}, [t]), c = d(() => `0:${String(e).padStart(2, "0")}`, [e]);
|
15
|
-
return {
|
16
|
-
canResend: n,
|
17
|
-
resetTimer: o,
|
18
|
-
timeLeft: c
|
19
|
-
};
|
20
|
-
};
|
21
|
-
export {
|
22
|
-
l as useResendTimer
|
23
|
-
};
|
24
|
-
//# sourceMappingURL=use-resend-timer.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"use-resend-timer.js","sources":["../../../../../../src/features/auth/comps/resend-otp/hooks/use-resend-timer.ts"],"sourcesContent":["import { useState, useEffect, useCallback, useMemo } from 'react';\n\ninterface IUseResendTimerProps {\n initialSeconds: number;\n}\n\ninterface IUseResendTimerReturn {\n canResend: boolean;\n resetTimer: () => void;\n timeLeft: string;\n}\n\nexport const useResendTimer = ({ initialSeconds }: IUseResendTimerProps): IUseResendTimerReturn => {\n const [count, setCount] = useState(initialSeconds);\n const [canResend, setCanResend] = useState(false);\n\n useEffect(() => {\n if (count <= 0) {\n setCanResend(true);\n\n return;\n }\n\n const timeoutId = setTimeout(() => setCount(c => c - 1), 1000);\n\n return () => clearTimeout(timeoutId);\n }, [count]);\n\n const resetTimer = useCallback(() => {\n setCount(initialSeconds);\n setCanResend(false);\n }, [initialSeconds]);\n\n const timeLeft = useMemo(() => {\n return `0:${String(count).padStart(2, '0')}`;\n }, [count]);\n\n return {\n canResend,\n resetTimer,\n timeLeft,\n };\n};\n"],"names":["useResendTimer","initialSeconds","count","setCount","useState","canResend","setCanResend","useEffect","timeoutId","c","resetTimer","useCallback","timeLeft","useMemo"],"mappings":";AAYO,MAAMA,IAAiB,CAAC,EAAE,gBAAAC,QAAkE;AACjG,QAAM,CAACC,GAAOC,CAAQ,IAAIC,EAASH,CAAc,GAC3C,CAACI,GAAWC,CAAY,IAAIF,EAAS,EAAK;AAEhD,EAAAG,EAAU,MAAM;AACd,QAAIL,KAAS,GAAG;AACd,MAAAI,EAAa,EAAI;AAEjB;AAAA,IACF;AAEM,UAAAE,IAAY,WAAW,MAAML,EAAS,OAAKM,IAAI,CAAC,GAAG,GAAI;AAEtD,WAAA,MAAM,aAAaD,CAAS;AAAA,EAAA,GAClC,CAACN,CAAK,CAAC;AAEJ,QAAAQ,IAAaC,EAAY,MAAM;AACnC,IAAAR,EAASF,CAAc,GACvBK,EAAa,EAAK;AAAA,EAAA,GACjB,CAACL,CAAc,CAAC,GAEbW,IAAWC,EAAQ,MAChB,KAAK,OAAOX,CAAK,EAAE,SAAS,GAAG,GAAG,CAAC,IACzC,CAACA,CAAK,CAAC;AAEH,SAAA;AAAA,IACL,WAAAG;AAAA,IACA,YAAAK;AAAA,IACA,UAAAE;AAAA,EAAA;AAEJ;"}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as n, Fragment as _ } from "react/jsx-runtime";
|
2
|
-
import { memo as x, useCallback as a } from "react";
|
3
|
-
import k from "../../../ui/buttons/button/button.js";
|
4
|
-
import u from "../../../ui/buttons/text-button/text-button.js";
|
5
|
-
import i from "../../../ui/layout/flex-view.js";
|
6
|
-
import c from "../../../ui/text/text.js";
|
7
|
-
import { useResendTimer as C } from "./hooks/use-resend-timer.js";
|
8
|
-
const I = ({
|
9
|
-
onResendOTP: r,
|
10
|
-
onResendVoiceOTP: l,
|
11
|
-
timerSeconds: f = 15,
|
12
|
-
showVoiceOTP: $ = !1,
|
13
|
-
disabled: m,
|
14
|
-
renderAs: h = "text",
|
15
|
-
width: p
|
16
|
-
}) => {
|
17
|
-
const { canResend: o, resetTimer: t, timeLeft: s } = C({
|
18
|
-
initialSeconds: f
|
19
|
-
}), d = a(() => {
|
20
|
-
r == null || r(), t();
|
21
|
-
}, [r, t]), b = a(() => {
|
22
|
-
l == null || l(), t();
|
23
|
-
}, [l, t]);
|
24
|
-
return h === "submit" ? /* @__PURE__ */ e(
|
25
|
-
k,
|
26
|
-
{
|
27
|
-
size: "small",
|
28
|
-
renderAs: "secondary-dark",
|
29
|
-
type: "submit",
|
30
|
-
label: o ? "Resend" : `Resend in ${s}`,
|
31
|
-
width: p,
|
32
|
-
onClick: d,
|
33
|
-
disabled: !o || m
|
34
|
-
}
|
35
|
-
) : /* @__PURE__ */ e(i, { children: o ? /* @__PURE__ */ n(i, { $flexDirection: "row", $alignItems: "center", $flexColumnGapX: 0.5, children: [
|
36
|
-
/* @__PURE__ */ e(
|
37
|
-
u,
|
38
|
-
{
|
39
|
-
disabled: m,
|
40
|
-
label: "Resend",
|
41
|
-
color: "WHITE_T_60",
|
42
|
-
onClick: d
|
43
|
-
}
|
44
|
-
),
|
45
|
-
$ && /* @__PURE__ */ n(_, { children: [
|
46
|
-
/* @__PURE__ */ e(c, { $renderAs: "ub2", $color: "WHITE_T_60", children: "or" }),
|
47
|
-
/* @__PURE__ */ e(i, { $width: 116, children: /* @__PURE__ */ e(
|
48
|
-
u,
|
49
|
-
{
|
50
|
-
label: "Get code via call",
|
51
|
-
color: "WHITE_T_60",
|
52
|
-
onClick: b
|
53
|
-
}
|
54
|
-
) })
|
55
|
-
] })
|
56
|
-
] }) : /* @__PURE__ */ e(i, { $width: 105, children: /* @__PURE__ */ n(c, { $renderAs: "ub2", $color: "WHITE_T_60", children: [
|
57
|
-
"Resend in",
|
58
|
-
" ",
|
59
|
-
/* @__PURE__ */ e(c, { $renderAs: "ub2-bold", $inline: !0, $color: "WHITE_T_60", children: s })
|
60
|
-
] }) }) });
|
61
|
-
}, j = x(I);
|
62
|
-
export {
|
63
|
-
j as default
|
64
|
-
};
|
65
|
-
//# sourceMappingURL=resend-otp.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resend-otp.js","sources":["../../../../../src/features/auth/comps/resend-otp/resend-otp.tsx"],"sourcesContent":["import type { IOTPResendProps } from './resend-otp-types';\n\nimport { useCallback, memo } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Text from '../../../ui/text/text';\nimport { useResendTimer } from './hooks/use-resend-timer';\n\nconst ResendOTP: React.FC<IOTPResendProps> = ({\n onResendOTP,\n onResendVoiceOTP,\n timerSeconds = 15,\n showVoiceOTP = false,\n disabled,\n renderAs = 'text',\n width,\n}) => {\n const { canResend, resetTimer, timeLeft } = useResendTimer({\n initialSeconds: timerSeconds,\n });\n\n const handleResendClick = useCallback(() => {\n onResendOTP?.();\n resetTimer();\n }, [onResendOTP, resetTimer]);\n\n const handleVoiceResendClick = useCallback(() => {\n onResendVoiceOTP?.();\n resetTimer();\n }, [onResendVoiceOTP, resetTimer]);\n\n if (renderAs === 'submit') {\n return (\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={canResend ? 'Resend' : `Resend in ${timeLeft}`}\n width={width}\n onClick={handleResendClick}\n disabled={!canResend || disabled}\n />\n );\n }\n\n return (\n <FlexView>\n {!canResend ? (\n <FlexView $width={105}>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n Resend in{' '}\n <Text $renderAs=\"ub2-bold\" $inline $color=\"WHITE_T_60\">\n {timeLeft}\n </Text>\n </Text>\n </FlexView>\n ) : (\n <FlexView $flexDirection=\"row\" $alignItems=\"center\" $flexColumnGapX={0.5}>\n <TextButton\n disabled={disabled}\n label=\"Resend\"\n color=\"WHITE_T_60\"\n onClick={handleResendClick}\n />\n {showVoiceOTP && (\n <>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\">\n or\n </Text>\n <FlexView $width={116}>\n <TextButton\n label=\"Get code via call\"\n color=\"WHITE_T_60\"\n onClick={handleVoiceResendClick}\n />\n </FlexView>\n </>\n )}\n </FlexView>\n )}\n </FlexView>\n );\n};\n\nexport default memo(ResendOTP);\n"],"names":["ResendOTP","onResendOTP","onResendVoiceOTP","timerSeconds","showVoiceOTP","disabled","renderAs","width","canResend","resetTimer","timeLeft","useResendTimer","handleResendClick","useCallback","handleVoiceResendClick","jsx","Button","FlexView","jsxs","TextButton","Fragment","Text","ResendOtp","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAuC,CAAC;AAAA,EAC5C,aAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,OAAAC;AACF,MAAM;AACJ,QAAM,EAAE,WAAAC,GAAW,YAAAC,GAAY,UAAAC,EAAA,IAAaC,EAAe;AAAA,IACzD,gBAAgBR;AAAA,EAAA,CACjB,GAEKS,IAAoBC,EAAY,MAAM;AAC5B,IAAAZ,KAAA,QAAAA,KACHQ;EAAA,GACV,CAACR,GAAaQ,CAAU,CAAC,GAEtBK,IAAyBD,EAAY,MAAM;AAC5B,IAAAX,KAAA,QAAAA,KACRO;EAAA,GACV,CAACP,GAAkBO,CAAU,CAAC;AAEjC,SAAIH,MAAa,WAEb,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,MAAK;AAAA,MACL,OAAOR,IAAY,WAAW,aAAaE,CAAQ;AAAA,MACnD,OAAAH;AAAA,MACA,SAASK;AAAA,MACT,UAAU,CAACJ,KAAaH;AAAA,IAAA;AAAA,EAAA,IAM3B,gBAAAU,EAAAE,GAAA,EACE,UAACT,IAUC,gBAAAU,EAAAD,GAAA,EAAS,gBAAe,OAAM,aAAY,UAAS,iBAAiB,KACnE,UAAA;AAAA,IAAA,gBAAAF;AAAA,MAACI;AAAA,MAAA;AAAA,QACC,UAAAd;AAAA,QACA,OAAM;AAAA,QACN,OAAM;AAAA,QACN,SAASO;AAAA,MAAA;AAAA,IACX;AAAA,IACCR,KAEG,gBAAAc,EAAAE,GAAA,EAAA,UAAA;AAAA,MAAA,gBAAAL,EAACM,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,UAE1C,MAAA;AAAA,MACA,gBAAAN,EAACE,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAF;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,OAAM;AAAA,UACN,SAASL;AAAA,QAAA;AAAA,MAAA,GAEb;AAAA,IAAA,GACF;AAAA,EAAA,EAEJ,CAAA,IA9BC,gBAAAC,EAAAE,GAAA,EAAS,QAAQ,KAChB,UAAC,gBAAAC,EAAAG,GAAA,EAAK,WAAU,OAAM,QAAO,cAAa,UAAA;AAAA,IAAA;AAAA,IAC9B;AAAA,IACV,gBAAAN,EAACM,KAAK,WAAU,YAAW,SAAO,IAAC,QAAO,cACvC,UACHX,EAAA,CAAA;AAAA,EACF,EAAA,CAAA,EACF,CAAA,EAyBJ,CAAA;AAEJ,GAEeY,IAAAC,EAAKvB,CAAS;"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
2
|
-
import { memo as m, useCallback as c } from "react";
|
3
|
-
import { TabsText as i } from "../tabs-styled.js";
|
4
|
-
const n = ({ tab: e, isSelected: o, onChange: r }) => {
|
5
|
-
const l = c(() => {
|
6
|
-
r(e.id);
|
7
|
-
}, [e.id, r]);
|
8
|
-
return /* @__PURE__ */ t(
|
9
|
-
i,
|
10
|
-
{
|
11
|
-
$renderAs: o ? "ub2-bold" : "ub2",
|
12
|
-
$align: "center",
|
13
|
-
$selected: o,
|
14
|
-
onClick: l,
|
15
|
-
$color: "WHITE",
|
16
|
-
children: e.label
|
17
|
-
}
|
18
|
-
);
|
19
|
-
}, b = m(n);
|
20
|
-
export {
|
21
|
-
b as default
|
22
|
-
};
|
23
|
-
//# sourceMappingURL=tab-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tab-item.js","sources":["../../../../../../src/features/auth/comps/tabs/tab-tem/tab-item.tsx"],"sourcesContent":["import type { ITabItemProps } from '../tabs-types';\n\nimport { memo, useCallback } from 'react';\n\nimport * as Styled from '../tabs-styled';\n\nconst TabItem = ({ tab, isSelected, onChange }: ITabItemProps) => {\n const handleClick = useCallback(() => {\n onChange(tab.id);\n }, [tab.id, onChange]);\n\n return (\n <Styled.TabsText\n $renderAs={isSelected ? 'ub2-bold' : 'ub2'}\n $align=\"center\"\n $selected={isSelected}\n onClick={handleClick}\n $color=\"WHITE\"\n >\n {tab.label}\n </Styled.TabsText>\n );\n};\n\nexport default memo(TabItem);\n"],"names":["TabItem","tab","isSelected","onChange","handleClick","useCallback","jsx","Styled.TabsText","TabItem$1","memo"],"mappings":";;;AAMA,MAAMA,IAAU,CAAC,EAAE,KAAAC,GAAK,YAAAC,GAAY,UAAAC,QAA8B;AAC1D,QAAAC,IAAcC,EAAY,MAAM;AACpC,IAAAF,EAASF,EAAI,EAAE;AAAA,EACd,GAAA,CAACA,EAAI,IAAIE,CAAQ,CAAC;AAGnB,SAAA,gBAAAG;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWL,IAAa,aAAa;AAAA,MACrC,QAAO;AAAA,MACP,WAAWA;AAAA,MACX,SAASE;AAAA,MACT,QAAO;AAAA,MAEN,UAAIH,EAAA;AAAA,IAAA;AAAA,EAAA;AAGX,GAEeO,IAAAC,EAAKT,CAAO;"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import s from "styled-components";
|
2
|
-
import p from "../../../ui/text/text.js";
|
3
|
-
const d = s.div(({ theme: r, tabsCount: o }) => {
|
4
|
-
const { colors: t } = r;
|
5
|
-
return `
|
6
|
-
display: grid;
|
7
|
-
background: ${t.BLACK_4};
|
8
|
-
grid-template-columns: repeat(${o}, 1fr);
|
9
|
-
`;
|
10
|
-
}), l = s(p)(({ theme: r, $selected: o }) => {
|
11
|
-
const { layout: t, colors: e } = r, { WHITE_T_15: n, WHITE: a } = e;
|
12
|
-
return `
|
13
|
-
cursor: pointer;
|
14
|
-
padding: ${t.gutter * 0.875}px 0;
|
15
|
-
border-bottom: 1.5px solid ${o ? a : n};
|
16
|
-
transition: all 0.3s ease;
|
17
|
-
`;
|
18
|
-
});
|
19
|
-
export {
|
20
|
-
l as TabsText,
|
21
|
-
d as TabsWrapper
|
22
|
-
};
|
23
|
-
//# sourceMappingURL=tabs-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Text from '../../../ui/text/text';\n\ninterface TabsWrapperProps {\n tabsCount: number;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, tabsCount }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors.BLACK_4};\n grid-template-columns: repeat(${tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabsText = styled(Text)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\nexport { TabsWrapper, TabsText };\n"],"names":["TabsWrapper","styled","theme","tabsCount","colors","TabsText","Text","$selected","layout","WHITE_T_15","WHITE"],"mappings":";;AAQA,MAAMA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,WAAAC,QAAgB;AACnE,QAAA,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA;AAAA,kBAESE,EAAO,OAAO;AAAA,oCACID,CAAS;AAAA;AAE7C,CAAC,GAMKE,IAAWJ,EAAOK,CAAI,EAAa,CAAC,EAAE,OAAAJ,GAAO,WAAAK,QAAgB;AAC3D,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAF,GACrB,EAAE,YAAAO,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC;"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
2
|
-
import { memo as i } from "react";
|
3
|
-
import p from "./tab-tem/tab-item.js";
|
4
|
-
import { TabsWrapper as s } from "./tabs-styled.js";
|
5
|
-
const a = ({ selectedTab: t, onChange: e, tabs: o }) => /* @__PURE__ */ m(s, { tabsCount: o.length, children: o.map((r) => /* @__PURE__ */ m(p, { tab: r, isSelected: r.id === t, onChange: e }, r.id)) }), l = i(a);
|
6
|
-
export {
|
7
|
-
l as default
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=tabs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabsProps } from './tabs-types';\n\nimport { memo } from 'react';\n\nimport TabItem from './tab-tem/tab-item';\nimport * as Styled from './tabs-styled';\n\nconst Tabs = ({ selectedTab, onChange, tabs }: ITabsProps) => {\n return (\n <Styled.TabsWrapper tabsCount={tabs.length}>\n {tabs.map(tab => (\n <TabItem key={tab.id} tab={tab} isSelected={tab.id === selectedTab} onChange={onChange} />\n ))}\n </Styled.TabsWrapper>\n );\n};\n\nexport default memo(Tabs);\n"],"names":["Tabs","selectedTab","onChange","tabs","jsx","Styled.TabsWrapper","tab","TabItem","memo"],"mappings":";;;;AAOA,MAAMA,IAAO,CAAC,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,QAEnC,gBAAAC,EAACC,GAAA,EAAmB,WAAWF,EAAK,QACjC,YAAK,IAAI,CAAAG,wBACPC,GAAqB,EAAA,KAAAD,GAAU,YAAYA,EAAI,OAAOL,GAAa,UAAAC,EAAtD,GAAAI,EAAI,EAAsE,CACzF,EACH,CAAA,GAIWH,IAAAK,EAAKR,CAAI;"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { styled as e } from "styled-components";
|
2
|
-
const t = e.form`
|
3
|
-
display: flex;
|
4
|
-
flex: 1;
|
5
|
-
margin-top: 8px;
|
6
|
-
flex-direction: column;
|
7
|
-
justify-content: space-between;
|
8
|
-
`;
|
9
|
-
export {
|
10
|
-
t as FormWrapper
|
11
|
-
};
|
12
|
-
//# sourceMappingURL=forgot-password-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 8px;\n flex-direction: column;\n justify-content: space-between;\n`;\n"],"names":["FormWrapper","styled"],"mappings":";AAEO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
2
|
-
import { memo as p, useCallback as l } from "react";
|
3
|
-
import f from "../../../ui/inputs/text-input/text-input.js";
|
4
|
-
import o from "../../../ui/layout/flex-view.js";
|
5
|
-
import g from "../../comps/input-status-icon/input-status-icon.js";
|
6
|
-
import b from "../../comps/resend-otp/resend-otp.js";
|
7
|
-
const h = ({
|
8
|
-
onSubmit: a,
|
9
|
-
onChange: r,
|
10
|
-
value: i,
|
11
|
-
error: t,
|
12
|
-
isProcessing: n,
|
13
|
-
isValid: s = !1,
|
14
|
-
helperText: m
|
15
|
-
}) => {
|
16
|
-
const u = l(
|
17
|
-
(d) => {
|
18
|
-
r("otp", d.target.value);
|
19
|
-
},
|
20
|
-
[r]
|
21
|
-
);
|
22
|
-
return /* @__PURE__ */ e(
|
23
|
-
o,
|
24
|
-
{
|
25
|
-
$gutterX: 2,
|
26
|
-
$gapX: 1.5,
|
27
|
-
$alignItems: "center",
|
28
|
-
$justifyContent: "center",
|
29
|
-
$background: "BLACK_2",
|
30
|
-
$height: 308,
|
31
|
-
children: /* @__PURE__ */ c(o, { $alignItems: "center", $justifyContent: "space-between", $flex: 1, children: [
|
32
|
-
/* @__PURE__ */ e(
|
33
|
-
f,
|
34
|
-
{
|
35
|
-
renderAs: t ? "error-dark" : s ? "success-dark" : "primary-dark",
|
36
|
-
autoFocus: !0,
|
37
|
-
label: "Verification code",
|
38
|
-
value: i,
|
39
|
-
onChange: u,
|
40
|
-
width: 330,
|
41
|
-
required: !0,
|
42
|
-
shape: "borderLess",
|
43
|
-
type: "number",
|
44
|
-
errorMessage: t,
|
45
|
-
siblingElement: /* @__PURE__ */ e(g, { isError: !!t, isValid: s, isLoading: n }),
|
46
|
-
helperText: m
|
47
|
-
}
|
48
|
-
),
|
49
|
-
/* @__PURE__ */ e(
|
50
|
-
b,
|
51
|
-
{
|
52
|
-
renderAs: "submit",
|
53
|
-
timerSeconds: 15,
|
54
|
-
onResendOTP: a,
|
55
|
-
width: 336,
|
56
|
-
disabled: n
|
57
|
-
}
|
58
|
-
)
|
59
|
-
] })
|
60
|
-
}
|
61
|
-
);
|
62
|
-
}, y = p(h);
|
63
|
-
export {
|
64
|
-
y as default
|
65
|
-
};
|
66
|
-
//# sourceMappingURL=otp-form.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"otp-form.js","sources":["../../../../../src/features/auth/forgot-password/otp-form/otp-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport ResendOtp from '../../comps/resend-otp/resend-otp';\n\nconst OTPForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isProcessing,\n isValid = false,\n helperText,\n}: ISingleFieldFormProps) => {\n const handleOTPChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('otp', e.target.value);\n },\n [onChange],\n );\n\n const statusVariant = isValid ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <FlexView $alignItems=\"center\" $justifyContent=\"space-between\" $flex={1}>\n <TextInput\n renderAs={error ? 'error-dark' : statusVariant}\n autoFocus\n label=\"Verification code\"\n value={value}\n onChange={handleOTPChange}\n width={330}\n required\n shape=\"borderLess\"\n type=\"number\"\n errorMessage={error}\n siblingElement={\n <InputStatusIcon isError={!!error} isValid={isValid} isLoading={isProcessing} />\n }\n helperText={helperText}\n />\n <ResendOtp\n renderAs=\"submit\"\n timerSeconds={15}\n onResendOTP={onSubmit}\n width={336}\n disabled={isProcessing}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(OTPForm);\n"],"names":["OTPForm","onSubmit","onChange","value","error","isProcessing","isValid","helperText","handleOTPChange","useCallback","e","jsx","FlexView","TextInput","InputStatusIcon","ResendOtp","otpForm","memo"],"mappings":";;;;;;AASA,MAAMA,IAAU,CAAC;AAAA,EACf,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,YAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAkBC;AAAA,IACtB,CAACC,MAAqC;AAC3B,MAAAR,EAAA,OAAOQ,EAAE,OAAO,KAAK;AAAA,IAChC;AAAA,IACA,CAACR,CAAQ;AAAA,EAAA;AAMT,SAAA,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,4BAACA,GAAS,EAAA,aAAY,UAAS,iBAAgB,iBAAgB,OAAO,GACpE,UAAA;AAAA,QAAA,gBAAAD;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,UAAUT,IAAQ,eAbJE,IAAU,iBAAiB;AAAA,YAczC,WAAS;AAAA,YACT,OAAM;AAAA,YACN,OAAAH;AAAA,YACA,UAAUK;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,MAAK;AAAA,YACL,cAAcJ;AAAA,YACd,kCACGU,GAAgB,EAAA,SAAS,CAAC,CAACV,GAAO,SAAAE,GAAkB,WAAWD,GAAc;AAAA,YAEhF,YAAAE;AAAA,UAAA;AAAA,QACF;AAAA,QACA,gBAAAI;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAS;AAAA,YACT,cAAc;AAAA,YACd,aAAad;AAAA,YACb,OAAO;AAAA,YACP,UAAUI;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeW,IAAAC,EAAKjB,CAAO;"}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
2
|
-
import { memo as h, useCallback as i } from "react";
|
3
|
-
import P from "../../../ui/buttons/button/button.js";
|
4
|
-
import n from "../../../ui/inputs/text-input/text-input.js";
|
5
|
-
import m from "../../../ui/layout/flex-view.js";
|
6
|
-
import b from "../../../ui/separator/separator.js";
|
7
|
-
import p from "../../comps/input-status-icon/input-status-icon.js";
|
8
|
-
import { FormWrapper as C } from "../forgot-password-styled.js";
|
9
|
-
const y = ({
|
10
|
-
onSubmit: l,
|
11
|
-
onChange: e,
|
12
|
-
formData: o,
|
13
|
-
errors: s,
|
14
|
-
isSubmitDisabled: w,
|
15
|
-
isProcessing: u,
|
16
|
-
isValid: t = !1
|
17
|
-
}) => {
|
18
|
-
const c = t && o.password === o.confirmPassword, f = i(
|
19
|
-
(a) => {
|
20
|
-
e("password", a.target.value);
|
21
|
-
},
|
22
|
-
[e]
|
23
|
-
), g = i(
|
24
|
-
(a) => {
|
25
|
-
e("confirmPassword", a.target.value);
|
26
|
-
},
|
27
|
-
[e]
|
28
|
-
);
|
29
|
-
return /* @__PURE__ */ r(
|
30
|
-
m,
|
31
|
-
{
|
32
|
-
$gutterX: 2,
|
33
|
-
$gapX: 1.5,
|
34
|
-
$alignItems: "center",
|
35
|
-
$justifyContent: "center",
|
36
|
-
$background: "BLACK_2",
|
37
|
-
$height: 308,
|
38
|
-
children: /* @__PURE__ */ d(C, { onSubmit: l, children: [
|
39
|
-
/* @__PURE__ */ d(m, { children: [
|
40
|
-
/* @__PURE__ */ r(
|
41
|
-
n,
|
42
|
-
{
|
43
|
-
type: "password",
|
44
|
-
renderAs: s.password ? "error-dark" : "primary-dark",
|
45
|
-
autoComplete: "new-password",
|
46
|
-
label: "New Password",
|
47
|
-
value: o.password,
|
48
|
-
onChange: f,
|
49
|
-
width: 330,
|
50
|
-
autoFocus: !0,
|
51
|
-
required: !0,
|
52
|
-
shape: "borderLess",
|
53
|
-
errorMessage: s.password,
|
54
|
-
siblingElement: /* @__PURE__ */ r(p, { isError: !!s.password, isValid: t, isLoading: !1 })
|
55
|
-
}
|
56
|
-
),
|
57
|
-
/* @__PURE__ */ r(b, { height: 36 }),
|
58
|
-
/* @__PURE__ */ r(
|
59
|
-
n,
|
60
|
-
{
|
61
|
-
type: "password",
|
62
|
-
renderAs: s.confirmPassword ? "error-dark" : "primary-dark",
|
63
|
-
autoComplete: "new-password",
|
64
|
-
label: "Re-enter Password",
|
65
|
-
value: o.confirmPassword,
|
66
|
-
onChange: g,
|
67
|
-
width: 330,
|
68
|
-
required: !0,
|
69
|
-
shape: "borderLess",
|
70
|
-
errorMessage: s.confirmPassword,
|
71
|
-
siblingElement: /* @__PURE__ */ r(
|
72
|
-
p,
|
73
|
-
{
|
74
|
-
isError: !!s.confirmPassword,
|
75
|
-
isValid: c,
|
76
|
-
isLoading: !1
|
77
|
-
}
|
78
|
-
)
|
79
|
-
}
|
80
|
-
)
|
81
|
-
] }),
|
82
|
-
/* @__PURE__ */ r(
|
83
|
-
P,
|
84
|
-
{
|
85
|
-
size: "small",
|
86
|
-
renderAs: "secondary-dark",
|
87
|
-
type: "submit",
|
88
|
-
label: "Continue",
|
89
|
-
width: 336,
|
90
|
-
busy: u,
|
91
|
-
disabled: w
|
92
|
-
}
|
93
|
-
)
|
94
|
-
] })
|
95
|
-
}
|
96
|
-
);
|
97
|
-
}, I = h(y);
|
98
|
-
export {
|
99
|
-
I as default
|
100
|
-
};
|
101
|
-
//# sourceMappingURL=reset-password-form.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"reset-password-form.js","sources":["../../../../../src/features/auth/forgot-password/reset-password-form/reset-password-form.tsx"],"sourcesContent":["import type { IResetPasswordFormProps } from './reset-password-form-types';\n\nimport { type ChangeEvent, memo, useCallback } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst ResetPasswordForm = ({\n onSubmit,\n onChange,\n formData,\n errors,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n}: IResetPasswordFormProps) => {\n const isConfirmPasswordValid = isValid && formData.password === formData.confirmPassword;\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\n\n const handleConfirmPasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('confirmPassword', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView>\n <TextInput\n type={'password'}\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"New Password\"\n value={formData.password}\n onChange={handlePasswordChange}\n width={330}\n autoFocus\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={\n <InputStatusIcon isError={!!errors.password} isValid={isValid} isLoading={false} />\n }\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.confirmPassword ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"Re-enter Password\"\n value={formData.confirmPassword}\n onChange={handleConfirmPasswordChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.confirmPassword}\n siblingElement={\n <InputStatusIcon\n isError={!!errors.confirmPassword}\n isValid={isConfirmPasswordValid}\n isLoading={false}\n />\n }\n />\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Continue\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(ResetPasswordForm);\n"],"names":["ResetPasswordForm","onSubmit","onChange","formData","errors","isSubmitDisabled","isProcessing","isValid","isConfirmPasswordValid","handlePasswordChange","useCallback","e","handleConfirmPasswordChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Separator","Button","resetPasswordForm","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAoB,CAAC;AAAA,EACzB,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA+B;AAC7B,QAAMC,IAAyBD,KAAWJ,EAAS,aAAaA,EAAS,iBAEnEM,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAT,EAAA,YAAYS,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA,GAGLU,IAA8BF;AAAA,IAClC,CAACC,MAAqC;AAC3B,MAAAT,EAAA,mBAAmBS,EAAE,OAAO,KAAK;AAAA,IAC5C;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAW;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAf,GAClB,UAAA;AAAA,QAAA,gBAAAc,EAACD,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,UAAUb,EAAO,WAAW,eAAe;AAAA,cAC3C,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUM;AAAA,cACV,OAAO;AAAA,cACP,WAAS;AAAA,cACT,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcL,EAAO;AAAA,cACrB,gBACG,gBAAAS,EAAAK,GAAA,EAAgB,SAAS,CAAC,CAACd,EAAO,UAAU,SAAAG,GAAkB,WAAW,GAAO,CAAA;AAAA,YAAA;AAAA,UAErF;AAAA,UACA,gBAAAM,EAACM,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,UACvB,gBAAAN;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAUb,EAAO,kBAAkB,eAAe;AAAA,cAClD,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUS;AAAA,cACV,OAAO;AAAA,cACP,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcR,EAAO;AAAA,cACrB,gBACE,gBAAAS;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,SAAS,CAAC,CAACd,EAAO;AAAA,kBAClB,SAASI;AAAA,kBACT,WAAW;AAAA,gBAAA;AAAA,cACb;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,QACA,gBAAAK;AAAA,UAACO;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMd;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEegB,IAAAC,EAAKtB,CAAiB;"}
|
@@ -1,68 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
2
|
-
import { memo as p, useCallback as f } from "react";
|
3
|
-
import c from "../../../ui/buttons/button/button.js";
|
4
|
-
import g from "../../../ui/inputs/text-input/text-input.js";
|
5
|
-
import h from "../../../ui/layout/flex-view.js";
|
6
|
-
import b from "../../comps/input-status-icon/input-status-icon.js";
|
7
|
-
import { FormWrapper as I } from "../forgot-password-styled.js";
|
8
|
-
const $ = ({
|
9
|
-
onSubmit: i,
|
10
|
-
onChange: t,
|
11
|
-
value: o,
|
12
|
-
error: r,
|
13
|
-
isSubmitDisabled: s,
|
14
|
-
isProcessing: n,
|
15
|
-
isValid: a = !1,
|
16
|
-
label: m
|
17
|
-
}) => {
|
18
|
-
const d = f(
|
19
|
-
(u) => {
|
20
|
-
t("identifier", u.target.value);
|
21
|
-
},
|
22
|
-
[t]
|
23
|
-
);
|
24
|
-
return /* @__PURE__ */ e(
|
25
|
-
h,
|
26
|
-
{
|
27
|
-
$gutterX: 2,
|
28
|
-
$gapX: 1.5,
|
29
|
-
$alignItems: "center",
|
30
|
-
$justifyContent: "center",
|
31
|
-
$background: "BLACK_2",
|
32
|
-
$height: 308,
|
33
|
-
children: /* @__PURE__ */ l(I, { onSubmit: i, children: [
|
34
|
-
/* @__PURE__ */ e(
|
35
|
-
g,
|
36
|
-
{
|
37
|
-
renderAs: r ? "error-dark" : "primary-dark",
|
38
|
-
autoFocus: !0,
|
39
|
-
label: m,
|
40
|
-
value: o,
|
41
|
-
onChange: d,
|
42
|
-
width: 330,
|
43
|
-
required: !0,
|
44
|
-
shape: "borderLess",
|
45
|
-
errorMessage: r,
|
46
|
-
siblingElement: /* @__PURE__ */ e(b, { isError: !!r, isValid: a, isLoading: !1 })
|
47
|
-
}
|
48
|
-
),
|
49
|
-
/* @__PURE__ */ e(
|
50
|
-
c,
|
51
|
-
{
|
52
|
-
size: "small",
|
53
|
-
renderAs: "secondary-dark",
|
54
|
-
type: "submit",
|
55
|
-
label: "Get Verification Code",
|
56
|
-
width: 336,
|
57
|
-
busy: n,
|
58
|
-
disabled: s
|
59
|
-
}
|
60
|
-
)
|
61
|
-
] })
|
62
|
-
}
|
63
|
-
);
|
64
|
-
}, A = p($);
|
65
|
-
export {
|
66
|
-
A as default
|
67
|
-
};
|
68
|
-
//# sourceMappingURL=user-identifier-form.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-identifier-form.js","sources":["../../../../../src/features/auth/forgot-password/user-identifier-form/user-identifier-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\n\nimport { memo, useCallback, type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst UserIdentifierForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n label,\n}: ISingleFieldFormProps) => {\n const handleInputChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <TextInput\n renderAs={error ? 'error-dark' : 'primary-dark'}\n autoFocus\n label={label}\n value={value}\n onChange={handleInputChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={error}\n siblingElement={<InputStatusIcon isError={!!error} isValid={isValid} isLoading={false} />}\n />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Get Verification Code\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(UserIdentifierForm);\n"],"names":["UserIdentifierForm","onSubmit","onChange","value","error","isSubmitDisabled","isProcessing","isValid","label","handleInputChange","useCallback","e","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Button","userIdentifierForm","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAAqB,CAAC;AAAA,EAC1B,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,OAAAC;AACF,MAA6B;AAC3B,QAAMC,IAAoBC;AAAA,IACxB,CAACC,MAAqC;AAC3B,MAAAT,EAAA,cAAcS,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAU;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAd,GAClB,UAAA;AAAA,QAAA,gBAAAW;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAUZ,IAAQ,eAAe;AAAA,YACjC,WAAS;AAAA,YACT,OAAAI;AAAA,YACA,OAAAL;AAAA,YACA,UAAUM;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcL;AAAA,YACd,kCAAiBa,GAAgB,EAAA,SAAS,CAAC,CAACb,GAAO,SAAAG,GAAkB,WAAW,IAAO;AAAA,UAAA;AAAA,QACzF;AAAA,QACA,gBAAAK;AAAA,UAACM;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMZ;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEec,IAAAC,EAAKpB,CAAkB;"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import e from "styled-components";
|
2
|
-
const t = e.form`
|
3
|
-
display: flex;
|
4
|
-
flex-direction: column;
|
5
|
-
justify-content: space-between;
|
6
|
-
margin-top: 8px;
|
7
|
-
flex: 1;
|
8
|
-
`;
|
9
|
-
export {
|
10
|
-
t as FormWrapper
|
11
|
-
};
|
12
|
-
//# sourceMappingURL=identifier-otp-form-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 8px;\n flex: 1;\n`;\n\nexport { FormWrapper };\n"],"names":["FormWrapper","styled"],"mappings":";AAEA,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|