@cuemath/leap 2.9.1-j2 → 2.9.2-as1
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 +9 -3
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/lib/lib.js +7 -0
- package/dist/assets/lib/lib.js.map +1 -0
- package/dist/assets/line-icons/icons/alarm.js +41 -0
- package/dist/assets/line-icons/icons/alarm.js.map +1 -0
- package/dist/assets/line-icons/icons/bin2.js +7 -8
- package/dist/assets/line-icons/icons/bin2.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
- package/dist/assets/line-icons/icons/chevron-right.js.map +1 -1
- package/dist/assets/line-icons/icons/dart.js +23 -0
- package/dist/assets/line-icons/icons/dart.js.map +1 -0
- package/dist/assets/line-icons/icons/exclamation.js +26 -0
- package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
- package/dist/assets/line-icons/icons/home2.js +25 -0
- package/dist/assets/line-icons/icons/home2.js.map +1 -0
- package/dist/assets/line-icons/icons/important.js +23 -0
- package/dist/assets/line-icons/icons/important.js.map +1 -0
- package/dist/assets/line-icons/icons/puzzle.js +25 -0
- package/dist/assets/line-icons/icons/puzzle.js.map +1 -0
- package/dist/assets/line-icons/icons/recap.js +32 -0
- package/dist/assets/line-icons/icons/recap.js.map +1 -0
- package/dist/assets/line-icons/icons/skip-colored.js +43 -0
- package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
- package/dist/assets/line-icons/icons/status.js +41 -0
- package/dist/assets/line-icons/icons/status.js.map +1 -0
- package/dist/assets/line-icons/icons/testtube.js +33 -0
- package/dist/assets/line-icons/icons/testtube.js.map +1 -0
- package/dist/assets/lottie/lottie.js +8 -10
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/api.js +3 -2
- package/dist/constants/api.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
- package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
- package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
- package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
- package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js +45 -46
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js +25 -26
- package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/chapters-v2/api/chapter.js +10 -0
- package/dist/features/chapters-v2/api/chapter.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +26 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +73 -0
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +97 -0
- package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +52 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +103 -0
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +13 -0
- package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +153 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
- package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +31 -0
- package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +171 -0
- package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +192 -0
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
- package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
- package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
- package/dist/features/chapters-v2/constants/block-constants.js +20 -0
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
- package/dist/features/chapters-v2/constants/node-constants.js +14 -0
- package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
- package/dist/features/chapters-v2/utils/index.js +41 -0
- package/dist/features/chapters-v2/utils/index.js.map +1 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js +144 -0
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
- package/dist/features/communication/pub-sub/constants.js +5 -2
- package/dist/features/communication/pub-sub/constants.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas-provider.js.map +1 -1
- package/dist/features/homework/card-menu-options.js +38 -0
- package/dist/features/homework/card-menu-options.js.map +1 -0
- package/dist/features/homework/card-title.js +21 -0
- package/dist/features/homework/card-title.js.map +1 -0
- package/dist/features/homework/homework-card-view.js +133 -0
- package/dist/features/homework/homework-card-view.js.map +1 -0
- package/dist/features/homework/homework-card.js +206 -0
- package/dist/features/homework/homework-card.js.map +1 -0
- package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
- package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js +71 -0
- package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
- package/dist/features/homework/hw-card-list/hw-card-list.js +182 -0
- package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
- package/dist/features/homework/node-progress.js +29 -0
- package/dist/features/homework/node-progress.js.map +1 -0
- package/dist/features/homework/styles.js +130 -0
- package/dist/features/homework/styles.js.map +1 -0
- package/dist/features/milestone/create/api/goal-submit.js +1 -1
- package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
- package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
- package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +49 -43
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/create/utils/index.js +33 -38
- package/dist/features/milestone/create/utils/index.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
- package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
- package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-container.js +64 -62
- package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
- package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
- package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
- package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
- package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
- package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
- package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +136 -104
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +155 -175
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +19 -23
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js +96 -100
- package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +114 -112
- package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +85 -0
- package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +16 -18
- package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +6 -34
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -1
- package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
- package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
- package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
- package/dist/features/recent-chapters/recent-chapters.js +34 -0
- package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
- package/dist/features/sheet-v2/resource-list/resource-list.js +39 -0
- package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js +59 -60
- package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/resource-item.js +89 -90
- package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
- package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js +60 -61
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js +63 -64
- package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js +4 -14
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
- package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +1 -1
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
- package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js +32 -19
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/image/image.js +12 -12
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/lottie-animation/helper.js +5 -6
- package/dist/features/ui/lottie-animation/helper.js.map +1 -1
- package/dist/features/ui/lottie-animation/lottie-animation.js +28 -37
- package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
- package/dist/features/ui/text/text.js +27 -29
- package/dist/features/ui/text/text.js.map +1 -1
- package/dist/features/ui/theme/button.js +22 -107
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/features/worksheet/constants/events.js +3 -0
- package/dist/features/worksheet/constants/events.js.map +1 -1
- package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js +69 -50
- package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js.map +1 -1
- package/dist/index.d.ts +290 -213
- package/dist/index.js +500 -507
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/differenceInDays.js +17 -0
- package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
- package/dist/static/competitive-arena.b9c40801.json +1 -0
- package/dist/static/learn.71b13323.json +1 -0
- package/dist/static/lib/polypad.js +34463 -0
- package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
- package/dist/static/node-learn-bg.b61f815c.svg +1 -0
- package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
- package/dist/static/node-project-bg.e6a33e28.svg +1 -0
- package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
- package/dist/static/node-recap-bg.546154e4.svg +1 -0
- package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
- package/dist/static/node-video-bg.3df3f73a.svg +1 -0
- package/dist/static/practice.158dd488.json +1 -0
- package/dist/static/project.eb665827.json +1 -0
- package/dist/static/puzzle.b298c7e4.json +1 -0
- package/dist/static/recap.0dd2c1e2.json +1 -0
- package/dist/static/test.803d6036.json +1 -0
- package/dist/static/video.b41451e2.json +1 -0
- package/package.json +2 -3
- 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-styled.js +0 -26
- package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
- package/dist/features/auth/account-selector/account-selector.js +0 -75
- 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 -11
- 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 -24
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.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 -8
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -26
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
- package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -41
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -48
- 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 -115
- 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-styled.js +0 -16
- package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -71
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
- package/dist/features/auth/signup/custom-input/custom-input-styled.js +0 -38
- package/dist/features/auth/signup/custom-input/custom-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js +0 -79
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js +0 -54
- package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input/email-input/email-input.js +0 -30
- package/dist/features/auth/signup/custom-input/email-input/email-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js +0 -31
- package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input/grade-input/grade-input.js +0 -30
- package/dist/features/auth/signup/custom-input/grade-input/grade-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js +0 -19
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +0 -33
- package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +0 -1
- package/dist/features/auth/signup/custom-input/otp-input/otp-input.js +0 -41
- package/dist/features/auth/signup/custom-input/otp-input/otp-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js +0 -33
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js.map +0 -1
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js +0 -28
- package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map +0 -1
- package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js +0 -29
- package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js.map +0 -1
- package/dist/features/auth/signup/custom-input/phone-input/phone-input.js +0 -64
- package/dist/features/auth/signup/custom-input/phone-input/phone-input.js.map +0 -1
- package/dist/features/auth/signup/custom-input/student-password/student-password.js +0 -53
- package/dist/features/auth/signup/custom-input/student-password/student-password.js.map +0 -1
- package/dist/features/auth/signup/custom-input/student-username/student-username.js +0 -38
- package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +0 -1
- package/dist/features/auth/signup/signup-constants.js +0 -1022
- package/dist/features/auth/signup/signup-constants.js.map +0 -1
- package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -58
- 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 -61
- 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 -87
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
- package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
- package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
- package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
- package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
- package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
- package/dist/features/milestone/milestone-tests/tests-list/tests-list.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/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.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.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/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,54 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
2
|
-
import d from "../../../../../node_modules/react-datepicker/dist/index.es.js";
|
3
|
-
import f from "../../../../../assets/line-icons/icons/left.js";
|
4
|
-
import h from "../../../../../assets/line-icons/icons/right.js";
|
5
|
-
import o from "../../../../ui/buttons/clickable/clickable.js";
|
6
|
-
import u from "../../../../ui/layout/flex-view.js";
|
7
|
-
import b from "../../../../ui/text/text.js";
|
8
|
-
import { InputWrapper as x } from "../input-wrapper/input-wrapper.js";
|
9
|
-
import { StyledDatePickerWrapper as D } from "./date-picker-input-styled.js";
|
10
|
-
import { subYears as t } from "../../../../../node_modules/date-fns/subYears.js";
|
11
|
-
const I = ({ value: i, onChange: a, error: l }) => /* @__PURE__ */ e(x, { helperText: l, children: /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(
|
12
|
-
d,
|
13
|
-
{
|
14
|
-
selected: i,
|
15
|
-
showMonthYearPicker: !0,
|
16
|
-
showPopperArrow: !1,
|
17
|
-
dateFormat: "MM/yyyy",
|
18
|
-
placeholderText: "MM / YYYY",
|
19
|
-
onChange: (r) => a(r),
|
20
|
-
minDate: t(/* @__PURE__ */ new Date(), 22),
|
21
|
-
maxDate: t(/* @__PURE__ */ new Date(), 2),
|
22
|
-
renderCustomHeader: ({
|
23
|
-
date: r,
|
24
|
-
decreaseYear: n,
|
25
|
-
increaseYear: c,
|
26
|
-
prevYearButtonDisabled: m,
|
27
|
-
nextYearButtonDisabled: p
|
28
|
-
}) => /* @__PURE__ */ s(u, { $alignItems: "center", $flexDirection: "row", $justifyContent: "space-between", children: [
|
29
|
-
/* @__PURE__ */ e(
|
30
|
-
o,
|
31
|
-
{
|
32
|
-
onClick: n,
|
33
|
-
label: "increase-year",
|
34
|
-
disabled: m,
|
35
|
-
children: /* @__PURE__ */ e(f, { color: "WHITE" })
|
36
|
-
}
|
37
|
-
),
|
38
|
-
/* @__PURE__ */ e(b, { $renderAs: "ub2-bold", $color: "WHITE", children: r.getFullYear() }),
|
39
|
-
/* @__PURE__ */ e(
|
40
|
-
o,
|
41
|
-
{
|
42
|
-
onClick: c,
|
43
|
-
label: "decrease-year",
|
44
|
-
disabled: p,
|
45
|
-
children: /* @__PURE__ */ e(h, { color: "WHITE" })
|
46
|
-
}
|
47
|
-
)
|
48
|
-
] })
|
49
|
-
}
|
50
|
-
) }) }), g = I;
|
51
|
-
export {
|
52
|
-
g as default
|
53
|
-
};
|
54
|
-
//# sourceMappingURL=date-picker-input.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"date-picker-input.js","sources":["../../../../../../src/features/auth/signup/custom-input/date-picker-input/date-picker-input.tsx"],"sourcesContent":["import type { IDatePickerInputProps } from './date-picker-input-types';\n\nimport { subYears } from 'date-fns';\nimport { type FC } from 'react';\nimport DatePicker from 'react-datepicker';\n\nimport LeftIcon from '../../../../../assets/line-icons/icons/left';\nimport RightIcon from '../../../../../assets/line-icons/icons/right';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\nimport * as Styled from './date-picker-input-styled';\n\nconst DatePickerInput: FC<IDatePickerInputProps> = ({ value, onChange, error }) => {\n return (\n <InputWrapper helperText={error}>\n <Styled.StyledDatePickerWrapper>\n <DatePicker\n selected={value}\n showMonthYearPicker\n showPopperArrow={false}\n dateFormat=\"MM/yyyy\"\n placeholderText=\"MM / YYYY\"\n onChange={date => onChange(date)}\n minDate={subYears(new Date(), 22)}\n maxDate={subYears(new Date(), 2)}\n renderCustomHeader={({\n date,\n decreaseYear,\n increaseYear,\n prevYearButtonDisabled,\n nextYearButtonDisabled,\n }) => (\n <FlexView $alignItems=\"center\" $flexDirection=\"row\" $justifyContent=\"space-between\">\n <Clickable\n onClick={decreaseYear}\n label=\"increase-year\"\n disabled={prevYearButtonDisabled}\n >\n <LeftIcon color=\"WHITE\" />\n </Clickable>\n <Text $renderAs=\"ub2-bold\" $color=\"WHITE\">\n {date.getFullYear()}\n </Text>\n <Clickable\n onClick={increaseYear}\n label=\"decrease-year\"\n disabled={nextYearButtonDisabled}\n >\n <RightIcon color=\"WHITE\" />\n </Clickable>\n </FlexView>\n )}\n />\n </Styled.StyledDatePickerWrapper>\n </InputWrapper>\n );\n};\n\nexport default DatePickerInput;\n"],"names":["DatePickerInput","value","onChange","error","InputWrapper","jsx","Styled.StyledDatePickerWrapper","DatePicker","date","subYears","decreaseYear","increaseYear","prevYearButtonDisabled","nextYearButtonDisabled","FlexView","Clickable","LeftIcon","Text","RightIcon","DatePickerInput$1"],"mappings":";;;;;;;;;;AAcA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,UAAAC,GAAU,OAAAC,0BAElEC,GAAa,EAAA,YAAYD,GACxB,UAAC,gBAAAE,EAAAC,GAAA,EACC,UAAA,gBAAAD;AAAA,EAACE;AAAA,EAAA;AAAA,IACC,UAAUN;AAAA,IACV,qBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,YAAW;AAAA,IACX,iBAAgB;AAAA,IAChB,UAAU,CAAQO,MAAAN,EAASM,CAAI;AAAA,IAC/B,SAASC,EAAa,oBAAA,KAAA,GAAQ,EAAE;AAAA,IAChC,SAASA,EAAa,oBAAA,KAAA,GAAQ,CAAC;AAAA,IAC/B,oBAAoB,CAAC;AAAA,MACnB,MAAAD;AAAA,MACA,cAAAE;AAAA,MACA,cAAAC;AAAA,MACA,wBAAAC;AAAA,MACA,wBAAAC;AAAA,IAAA,wBAECC,GAAS,EAAA,aAAY,UAAS,gBAAe,OAAM,iBAAgB,iBAClE,UAAA;AAAA,MAAA,gBAAAT;AAAA,QAACU;AAAA,QAAA;AAAA,UACC,SAASL;AAAA,UACT,OAAM;AAAA,UACN,UAAUE;AAAA,UAEV,UAAA,gBAAAP,EAACW,GAAS,EAAA,OAAM,QAAQ,CAAA;AAAA,QAAA;AAAA,MAC1B;AAAA,MACA,gBAAAX,EAACY,KAAK,WAAU,YAAW,QAAO,SAC/B,UAAAT,EAAK,eACR;AAAA,MACA,gBAAAH;AAAA,QAACU;AAAA,QAAA;AAAA,UACC,SAASJ;AAAA,UACT,OAAM;AAAA,UACN,UAAUE;AAAA,UAEV,UAAA,gBAAAR,EAACa,GAAU,EAAA,OAAM,QAAQ,CAAA;AAAA,QAAA;AAAA,MAC3B;AAAA,IAAA,GACF;AAAA,EAAA;AAAA,EAGN,CAAA,EACF,CAAA,GAIJC,IAAenB;"}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
2
|
-
import { useCallback as i } from "react";
|
3
|
-
import { useTheme as c } from "styled-components";
|
4
|
-
import { CustomInput as s } from "../custom-input-styled.js";
|
5
|
-
import { InputWrapper as n } from "../input-wrapper/input-wrapper.js";
|
6
|
-
const f = ({ value: l, onChange: r, error: t, onEnter: o }) => {
|
7
|
-
var a;
|
8
|
-
const p = c(), u = i(
|
9
|
-
(e) => {
|
10
|
-
e.key === "Enter" && (o == null || o());
|
11
|
-
},
|
12
|
-
[o]
|
13
|
-
);
|
14
|
-
return /* @__PURE__ */ m(n, { helperText: t, children: /* @__PURE__ */ m(
|
15
|
-
s,
|
16
|
-
{
|
17
|
-
value: l,
|
18
|
-
onChange: (e) => r(e.target.value),
|
19
|
-
autoFocus: !0,
|
20
|
-
placeholder: "your-email@gmail.com",
|
21
|
-
color: (a = p.colors) == null ? void 0 : a[t ? "RED" : "WHITE"],
|
22
|
-
autoCapitalize: "none",
|
23
|
-
onKeyDown: u
|
24
|
-
}
|
25
|
-
) });
|
26
|
-
}, g = f;
|
27
|
-
export {
|
28
|
-
g as default
|
29
|
-
};
|
30
|
-
//# sourceMappingURL=email-input.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"email-input.js","sources":["../../../../../../src/features/auth/signup/custom-input/email-input/email-input.tsx"],"sourcesContent":["import type { ICustomInputProps } from '../custom-input-types';\n\nimport { useCallback, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport * as Styled from '../custom-input-styled';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\n\nconst EmailInput: FC<ICustomInputProps> = ({ value, onChange, error, onEnter }) => {\n const theme = useTheme();\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n return (\n <InputWrapper helperText={error}>\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n autoFocus\n placeholder=\"your-email@gmail.com\"\n color={theme.colors?.[error ? 'RED' : 'WHITE']}\n autoCapitalize=\"none\"\n onKeyDown={handleKeyDown}\n />\n </InputWrapper>\n );\n};\n\nexport default EmailInput;\n"],"names":["EmailInput","value","onChange","error","onEnter","theme","useTheme","handleKeyDown","useCallback","event","jsx","InputWrapper","Styled.CustomInput","_a","EmailInput$1"],"mappings":";;;;;AAQA,MAAMA,IAAoC,CAAC,EAAE,OAAAC,GAAO,UAAAC,GAAU,OAAAC,GAAO,SAAAC,QAAc;;AACjF,QAAMC,IAAQC,KAERC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNL,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAIR,SAAA,gBAAAM,EAACC,GAAa,EAAA,YAAYR,GACxB,UAAA,gBAAAO;AAAA,IAACE;AAAAA,IAAA;AAAA,MACC,OAAAX;AAAA,MACA,UAAU,CAAAQ,MAASP,EAASO,EAAM,OAAO,KAAK;AAAA,MAC9C,WAAS;AAAA,MACT,aAAY;AAAA,MACZ,QAAOI,IAAAR,EAAM,WAAN,gBAAAQ,EAAeV,IAAQ,QAAQ;AAAA,MACtC,gBAAe;AAAA,MACf,WAAWI;AAAA,IAAA;AAAA,EAEf,EAAA,CAAA;AAEJ,GAEAO,IAAed;"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import c from "styled-components";
|
2
|
-
import s from "../../../../ui/layout/flex-view.js";
|
3
|
-
const p = c(s)`
|
4
|
-
max-width: 264px;
|
5
|
-
`, x = c(s)(({ selected: r, theme: o }) => {
|
6
|
-
const t = o.colors[r ? "WHITE" : "REAL_BLACK"], l = o.colors[r ? "REAL_BLACK" : "WHITE_T_38"], n = o.colors.WHITE, d = o.colors.REAL_BLACK, i = o.colors.WHITE;
|
7
|
-
return `
|
8
|
-
cursor: pointer;
|
9
|
-
transition: all 0.3s ease;
|
10
|
-
background-color: ${t};
|
11
|
-
border-width: 2px;
|
12
|
-
|
13
|
-
> div {
|
14
|
-
color: ${l};
|
15
|
-
}
|
16
|
-
|
17
|
-
&:hover {
|
18
|
-
background-color: ${n};
|
19
|
-
border-color: ${i};
|
20
|
-
|
21
|
-
> div {
|
22
|
-
color: ${d};
|
23
|
-
}
|
24
|
-
}
|
25
|
-
`;
|
26
|
-
});
|
27
|
-
export {
|
28
|
-
x as GradeItem,
|
29
|
-
p as GradeListWrapper
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=grade-input-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"grade-input-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input/grade-input/grade-input-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const GradeListWrapper = styled(FlexView)`\n max-width: 264px;\n`;\n\nexport const GradeItem = styled(FlexView)<{ selected: boolean }>(({ selected, theme }) => {\n const bgColor = theme.colors[selected ? 'WHITE' : 'REAL_BLACK'];\n const textColor = theme.colors[selected ? 'REAL_BLACK' : 'WHITE_T_38'];\n const hoverBg = theme.colors.WHITE;\n const hoverText = theme.colors.REAL_BLACK;\n const hoverBorder = theme.colors.WHITE;\n\n return `\n cursor: pointer;\n transition: all 0.3s ease;\n background-color: ${bgColor};\n border-width: 2px;\n\n > div {\n color: ${textColor};\n }\n\n &:hover {\n background-color: ${hoverBg};\n border-color: ${hoverBorder};\n\n > div {\n color: ${hoverText};\n }\n }\n `;\n});\n"],"names":["GradeListWrapper","styled","FlexView","GradeItem","selected","theme","bgColor","textColor","hoverBg","hoverText","hoverBorder"],"mappings":";;AAIa,MAAAA,IAAmBC,EAAOC,CAAQ;AAAA;AAAA,GAIlCC,IAAYF,EAAOC,CAAQ,EAAyB,CAAC,EAAE,UAAAE,GAAU,OAAAC,QAAY;AACxF,QAAMC,IAAUD,EAAM,OAAOD,IAAW,UAAU,YAAY,GACxDG,IAAYF,EAAM,OAAOD,IAAW,eAAe,YAAY,GAC/DI,IAAUH,EAAM,OAAO,OACvBI,IAAYJ,EAAM,OAAO,YACzBK,IAAcL,EAAM,OAAO;AAE1B,SAAA;AAAA;AAAA;AAAA,0BAGiBC,CAAO;AAAA;AAAA;AAAA;AAAA,iBAIhBC,CAAS;AAAA;AAAA;AAAA;AAAA,4BAIEC,CAAO;AAAA,wBACXE,CAAW;AAAA;AAAA;AAAA,mBAGhBD,CAAS;AAAA;AAAA;AAAA;AAI5B,CAAC;"}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
2
|
-
import p from "../../../../ui/text/text.js";
|
3
|
-
import { STUDENT_GRADE_OPTIONS as a } from "../../signup-constants.js";
|
4
|
-
import { InputWrapper as c } from "../input-wrapper/input-wrapper.js";
|
5
|
-
import { GradeListWrapper as $, GradeItem as l } from "./grade-input-styled.js";
|
6
|
-
const m = ({ value: n, onChange: d, error: i }) => /* @__PURE__ */ r(c, { helperText: i, children: /* @__PURE__ */ r($, { $flexDirection: "row", $flexWrap: !0, $flexGapX: 1, children: [...a].map(({ label: o, value: e }) => {
|
7
|
-
const t = e === n;
|
8
|
-
return /* @__PURE__ */ r(
|
9
|
-
l,
|
10
|
-
{
|
11
|
-
selected: t,
|
12
|
-
onClick: () => d(e),
|
13
|
-
$borderRadius: 48,
|
14
|
-
$gutter: 13,
|
15
|
-
$gap: 6,
|
16
|
-
$alignItems: "center",
|
17
|
-
$justifyContent: "center",
|
18
|
-
$background: t ? "WHITE" : "REAL_BLACK",
|
19
|
-
$borderColor: t ? "WHITE" : "BLACK_5",
|
20
|
-
$width: e === "pre" ? 96 : 40,
|
21
|
-
$height: 40,
|
22
|
-
children: /* @__PURE__ */ r(p, { $align: "center", $renderAs: "ab1", children: o })
|
23
|
-
},
|
24
|
-
e
|
25
|
-
);
|
26
|
-
}) }) }), x = m;
|
27
|
-
export {
|
28
|
-
x as default
|
29
|
-
};
|
30
|
-
//# sourceMappingURL=grade-input.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"grade-input.js","sources":["../../../../../../src/features/auth/signup/custom-input/grade-input/grade-input.tsx"],"sourcesContent":["import type { ICustomInputProps } from '../custom-input-types';\nimport type { FC } from 'react';\n\nimport Text from '../../../../ui/text/text';\nimport { STUDENT_GRADE_OPTIONS } from '../../signup-constants';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\nimport * as Styled from './grade-input-styled';\n\nconst GradeInput: FC<ICustomInputProps> = ({ value, onChange, error }) => {\n return (\n <InputWrapper helperText={error}>\n <Styled.GradeListWrapper $flexDirection=\"row\" $flexWrap $flexGapX={1}>\n {[...STUDENT_GRADE_OPTIONS].map(({ label, value: optionVal }) => {\n const isSelected = optionVal === value;\n\n return (\n <Styled.GradeItem\n key={optionVal}\n selected={isSelected}\n onClick={() => onChange(optionVal)}\n $borderRadius={48}\n $gutter={13}\n $gap={6}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background={isSelected ? 'WHITE' : 'REAL_BLACK'}\n $borderColor={isSelected ? 'WHITE' : 'BLACK_5'}\n $width={optionVal === 'pre' ? 96 : 40}\n $height={40}\n >\n <Text $align=\"center\" $renderAs=\"ab1\">\n {label}\n </Text>\n </Styled.GradeItem>\n );\n })}\n </Styled.GradeListWrapper>\n </InputWrapper>\n );\n};\n\nexport default GradeInput;\n"],"names":["GradeInput","value","onChange","error","jsx","InputWrapper","Styled.GradeListWrapper","STUDENT_GRADE_OPTIONS","label","optionVal","isSelected","Styled.GradeItem","Text","GradeInput$1"],"mappings":";;;;;AAQA,MAAMA,IAAoC,CAAC,EAAE,OAAAC,GAAO,UAAAC,GAAU,OAAAC,QAE1D,gBAAAC,EAACC,GAAa,EAAA,YAAYF,GACxB,UAAA,gBAAAC,EAACE,GAAA,EAAwB,gBAAe,OAAM,WAAS,IAAC,WAAW,GAChE,UAAA,CAAC,GAAGC,CAAqB,EAAE,IAAI,CAAC,EAAE,OAAAC,GAAO,OAAOC,EAAA,MAAgB;AAC/D,QAAMC,IAAaD,MAAcR;AAG/B,SAAA,gBAAAG;AAAA,IAACO;AAAAA,IAAA;AAAA,MAEC,UAAUD;AAAA,MACV,SAAS,MAAMR,EAASO,CAAS;AAAA,MACjC,eAAe;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,MACN,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAaC,IAAa,UAAU;AAAA,MACpC,cAAcA,IAAa,UAAU;AAAA,MACrC,QAAQD,MAAc,QAAQ,KAAK;AAAA,MACnC,SAAS;AAAA,MAET,4BAACG,GAAK,EAAA,QAAO,UAAS,WAAU,OAC7B,UACHJ,GAAA;AAAA,IAAA;AAAA,IAfKC;AAAA,EAAA;AAgBP,CAEH,GACH,EACF,CAAA,GAIJI,IAAeb;"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import t from "styled-components";
|
2
|
-
import e from "../../../../ui/layout/flex-view.js";
|
3
|
-
const n = t.div`
|
4
|
-
flex: 1;
|
5
|
-
display: flex;
|
6
|
-
flex-direction: column;
|
7
|
-
justify-content: center;
|
8
|
-
align-items: center;
|
9
|
-
width: 100%;
|
10
|
-
`, p = t(e)`
|
11
|
-
position: absolute;
|
12
|
-
top: 56px;
|
13
|
-
max-width: 100%;
|
14
|
-
`;
|
15
|
-
export {
|
16
|
-
p as ContentWrapper,
|
17
|
-
n as InputWrapper
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=input-wrapper-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input-wrapper-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const InputWrapper = styled.div`\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n position: absolute;\n top: 56px;\n max-width: 100%;\n`;\n"],"names":["InputWrapper","styled","ContentWrapper","FlexView"],"mappings":";;AAIO,MAAMA,IAAeC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAStBC,IAAiBD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { LOTTIE as c } from "../../../../../assets/lottie/lottie.js";
|
3
|
-
import o from "../../../../ui/layout/flex-view.js";
|
4
|
-
import a from "../../../../ui/lottie-animation/lottie-animation.js";
|
5
|
-
import t from "../../../../ui/separator/separator.js";
|
6
|
-
import s from "../../../../ui/text/text.js";
|
7
|
-
import { InputWrapper as l, ContentWrapper as f } from "./input-wrapper-styled.js";
|
8
|
-
const j = ({
|
9
|
-
children: p,
|
10
|
-
helperText: i,
|
11
|
-
actionElement: n,
|
12
|
-
showLoading: m
|
13
|
-
}) => /* @__PURE__ */ r(l, { children: [
|
14
|
-
p,
|
15
|
-
/* @__PURE__ */ r(f, { $alignItems: "center", $justifyContent: "center", children: [
|
16
|
-
i && /* @__PURE__ */ r(h, { children: [
|
17
|
-
/* @__PURE__ */ e(s, { $renderAs: "ub3", $color: "WHITE_T_60", $align: "center", $whiteSpace: "pre-line", children: i }),
|
18
|
-
/* @__PURE__ */ e(t, { heightX: 0.5 })
|
19
|
-
] }),
|
20
|
-
n && /* @__PURE__ */ r(o, { $justifyContent: "center", $alignItems: "center", children: [
|
21
|
-
n,
|
22
|
-
/* @__PURE__ */ e(t, { heightX: 1 })
|
23
|
-
] }),
|
24
|
-
m && /* @__PURE__ */ r(o, { children: [
|
25
|
-
/* @__PURE__ */ e(t, { heightX: 2 }),
|
26
|
-
/* @__PURE__ */ e(a, { src: c.SPINNER_WHITE, height: 20, width: 40 })
|
27
|
-
] })
|
28
|
-
] })
|
29
|
-
] });
|
30
|
-
export {
|
31
|
-
j as InputWrapper
|
32
|
-
};
|
33
|
-
//# sourceMappingURL=input-wrapper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"input-wrapper.js","sources":["../../../../../../src/features/auth/signup/custom-input/input-wrapper/input-wrapper.tsx"],"sourcesContent":["import type { IInputWrapperProps } from './input-wrapper-types';\n\nimport { LOTTIE } from '../../../../../assets/lottie/lottie';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport LottieAnimation from '../../../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport * as Styled from './input-wrapper-styled';\n\nexport const InputWrapper = ({\n children,\n helperText,\n actionElement,\n showLoading,\n}: IInputWrapperProps) => {\n return (\n <Styled.InputWrapper>\n {children}\n <Styled.ContentWrapper $alignItems=\"center\" $justifyContent=\"center\">\n {helperText && (\n <>\n <Text $renderAs=\"ub3\" $color=\"WHITE_T_60\" $align=\"center\" $whiteSpace=\"pre-line\">\n {helperText}\n </Text>\n <Separator heightX={0.5} />\n </>\n )}\n {actionElement && (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\">\n {actionElement}\n <Separator heightX={1} />\n </FlexView>\n )}\n {showLoading && (\n <FlexView>\n <Separator heightX={2} />\n <LottieAnimation src={LOTTIE.SPINNER_WHITE} height={20} width={40} />\n </FlexView>\n )}\n </Styled.ContentWrapper>\n </Styled.InputWrapper>\n );\n};\n"],"names":["InputWrapper","children","helperText","actionElement","showLoading","jsxs","Styled.InputWrapper","Styled.ContentWrapper","Fragment","jsx","Text","Separator","FlexView","LottieAnimation","LOTTIE"],"mappings":";;;;;;;AASO,MAAMA,IAAe,CAAC;AAAA,EAC3B,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,aAAAC;AACF,MAEI,gBAAAC,EAACC,GAAA,EACE,UAAA;AAAA,EAAAL;AAAA,oBACAM,GAAA,EAAsB,aAAY,UAAS,iBAAgB,UACzD,UAAA;AAAA,IAAAL,KAEG,gBAAAG,EAAAG,GAAA,EAAA,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,aAAY,YACnE,UACHR,EAAA,CAAA;AAAA,MACA,gBAAAO,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,IAAA,GAC3B;AAAA,IAEDR,KACE,gBAAAE,EAAAO,GAAA,EAAS,iBAAgB,UAAS,aAAY,UAC5C,UAAA;AAAA,MAAAT;AAAA,MACD,gBAAAM,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,IAAA,GACzB;AAAA,IAEDP,uBACEQ,GACC,EAAA,UAAA;AAAA,MAAC,gBAAAH,EAAAE,GAAA,EAAU,SAAS,EAAG,CAAA;AAAA,MACvB,gBAAAF,EAACI,KAAgB,KAAKC,EAAO,eAAe,QAAQ,IAAI,OAAO,IAAI;AAAA,IAAA,GACrE;AAAA,EAAA,GAEJ;AACF,EAAA,CAAA;"}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
2
|
-
import { useCallback as c } from "react";
|
3
|
-
import { useTheme as s } from "styled-components";
|
4
|
-
import f from "../../../../ui/layout/flex-view.js";
|
5
|
-
import h from "../../../comps/resend-otp/resend-otp.js";
|
6
|
-
import { CustomInput as d } from "../custom-input-styled.js";
|
7
|
-
import { InputWrapper as I } from "../input-wrapper/input-wrapper.js";
|
8
|
-
const T = ({
|
9
|
-
value: m,
|
10
|
-
onChange: p,
|
11
|
-
error: a,
|
12
|
-
helperText: i,
|
13
|
-
onEnter: e,
|
14
|
-
onResendOTP: n
|
15
|
-
}) => {
|
16
|
-
var r;
|
17
|
-
const u = s(), l = c(
|
18
|
-
(t) => {
|
19
|
-
t.key === "Enter" && (e == null || e());
|
20
|
-
},
|
21
|
-
[e]
|
22
|
-
);
|
23
|
-
return /* @__PURE__ */ o(I, { helperText: i, actionElement: /* @__PURE__ */ o(h, { onResendOTP: n }), children: /* @__PURE__ */ o(f, { $width: 112, children: /* @__PURE__ */ o(
|
24
|
-
d,
|
25
|
-
{
|
26
|
-
value: m,
|
27
|
-
onChange: (t) => p(t.target.value),
|
28
|
-
autoFocus: !0,
|
29
|
-
placeholder: "0000",
|
30
|
-
color: (r = u.colors) == null ? void 0 : r[a ? "RED" : "WHITE"],
|
31
|
-
autoCapitalize: "none",
|
32
|
-
type: "number",
|
33
|
-
maxLength: 4,
|
34
|
-
onKeyDown: l
|
35
|
-
}
|
36
|
-
) }) });
|
37
|
-
}, P = T;
|
38
|
-
export {
|
39
|
-
P as default
|
40
|
-
};
|
41
|
-
//# sourceMappingURL=otp-input.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"otp-input.js","sources":["../../../../../../src/features/auth/signup/custom-input/otp-input/otp-input.tsx"],"sourcesContent":["import type { IOTPInputProps } from './otp-input-types';\n\nimport { useCallback, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\nimport ResendOTP from '../../../comps/resend-otp/resend-otp';\nimport * as Styled from '../custom-input-styled';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\n\nconst OTPInput: FC<IOTPInputProps> = ({\n value,\n onChange,\n error,\n helperText,\n onEnter,\n onResendOTP,\n}) => {\n const theme = useTheme();\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n return (\n <InputWrapper helperText={helperText} actionElement={<ResendOTP onResendOTP={onResendOTP} />}>\n <FlexView $width={112}>\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n autoFocus\n placeholder=\"0000\"\n color={theme.colors?.[error ? 'RED' : 'WHITE']}\n autoCapitalize=\"none\"\n type=\"number\"\n maxLength={4}\n onKeyDown={handleKeyDown}\n />\n </FlexView>\n </InputWrapper>\n );\n};\n\nexport default OTPInput;\n"],"names":["OTPInput","value","onChange","error","helperText","onEnter","onResendOTP","theme","useTheme","handleKeyDown","useCallback","event","jsx","InputWrapper","ResendOTP","FlexView","Styled.CustomInput","_a","OTPInput$1"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,SAAAC;AAAA,EACA,aAAAC;AACF,MAAM;;AACJ,QAAMC,IAAQC,KAERC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNN,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAIR,SAAA,gBAAAO,EAACC,GAAa,EAAA,YAAAT,GAAwB,eAAe,gBAAAQ,EAACE,GAAU,EAAA,aAAAR,EAA0B,CAAA,GACxF,UAAA,gBAAAM,EAACG,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAH;AAAA,IAACI;AAAAA,IAAA;AAAA,MACC,OAAAf;AAAA,MACA,UAAU,CAAAU,MAAST,EAASS,EAAM,OAAO,KAAK;AAAA,MAC9C,WAAS;AAAA,MACT,aAAY;AAAA,MACZ,QAAOM,IAAAV,EAAM,WAAN,gBAAAU,EAAed,IAAQ,QAAQ;AAAA,MACtC,gBAAe;AAAA,MACf,MAAK;AAAA,MACL,WAAW;AAAA,MACX,WAAWM;AAAA,IAAA;AAAA,EAAA,EAEf,CAAA,EACF,CAAA;AAEJ,GAEAS,IAAelB;"}
|
package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
2
|
-
import n from "../../../../../../assets/line-icons/icons/chevron-down.js";
|
3
|
-
import i from "../../../../../ui/layout/flex-view.js";
|
4
|
-
import d from "../../../../../ui/text/text.js";
|
5
|
-
import { CountryCodeButton as $ } from "../phone-input-styled.js";
|
6
|
-
const C = ({
|
7
|
-
value: t,
|
8
|
-
menuVisible: e
|
9
|
-
}) => /* @__PURE__ */ o(
|
10
|
-
$,
|
11
|
-
{
|
12
|
-
$background: "BLACK_5",
|
13
|
-
$borderRadius: 4,
|
14
|
-
$gutterX: 0.5,
|
15
|
-
$gap: 5,
|
16
|
-
$alignItems: "center",
|
17
|
-
$justifyContent: "space-between",
|
18
|
-
$borderColor: e ? "WHITE_T_38" : "BLACK_5",
|
19
|
-
$flexDirection: "row",
|
20
|
-
$flexGap: 2,
|
21
|
-
children: [
|
22
|
-
/* @__PURE__ */ o(d, { $renderAs: "ab1", $color: "WHITE", children: [
|
23
|
-
"+",
|
24
|
-
t
|
25
|
-
] }),
|
26
|
-
/* @__PURE__ */ r(i, { $width: 20, children: /* @__PURE__ */ r(n, { width: 20, height: 20, color: "WHITE" }) })
|
27
|
-
]
|
28
|
-
}
|
29
|
-
);
|
30
|
-
export {
|
31
|
-
C as default
|
32
|
-
};
|
33
|
-
//# sourceMappingURL=country-code-button.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"country-code-button.js","sources":["../../../../../../../src/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.tsx"],"sourcesContent":["import type { FC } from 'react';\n\nimport ChevronDownIcon from '../../../../../../assets/line-icons/icons/chevron-down';\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Text from '../../../../../ui/text/text';\nimport * as Styled from '../phone-input-styled';\n\nconst CountryCodeButton: FC<{ value?: string; menuVisible?: boolean }> = ({\n value,\n menuVisible,\n}) => {\n return (\n <Styled.CountryCodeButton\n $background=\"BLACK_5\"\n $borderRadius={4}\n $gutterX={0.5}\n $gap={5}\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n $borderColor={menuVisible ? 'WHITE_T_38' : 'BLACK_5'}\n $flexDirection=\"row\"\n $flexGap={2}\n >\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n +{value}\n </Text>\n <FlexView $width={20}>\n <ChevronDownIcon width={20} height={20} color=\"WHITE\" />\n </FlexView>\n </Styled.CountryCodeButton>\n );\n};\n\nexport default CountryCodeButton;\n"],"names":["CountryCodeButton","value","menuVisible","jsxs","Styled.CountryCodeButton","Text","jsx","FlexView","ChevronDownIcon"],"mappings":";;;;;AAOA,MAAMA,IAAmE,CAAC;AAAA,EACxE,OAAAC;AAAA,EACA,aAAAC;AACF,MAEI,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,aAAY;AAAA,IACZ,eAAe;AAAA,IACf,UAAU;AAAA,IACV,MAAM;AAAA,IACN,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,cAAcF,IAAc,eAAe;AAAA,IAC3C,gBAAe;AAAA,IACf,UAAU;AAAA,IAEV,UAAA;AAAA,MAAA,gBAAAC,EAACE,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAAA;AAAA,QAAA;AAAA,QACjCJ;AAAA,MAAA,GACJ;AAAA,MACC,gBAAAK,EAAAC,GAAA,EAAS,QAAQ,IAChB,UAAC,gBAAAD,EAAAE,GAAA,EAAgB,OAAO,IAAI,QAAQ,IAAI,OAAM,QAAQ,CAAA,GACxD;AAAA,IAAA;AAAA,EAAA;AAAA;"}
|
package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
2
|
-
import a from "../../../../../ui/text/text.js";
|
3
|
-
import { MenuWrapper as s, MenuItem as p, Icon as u } from "../phone-input-styled.js";
|
4
|
-
const g = ({ options: o, selectedCountry: t, onChange: n }) => /* @__PURE__ */ e(s, { $widthX: 10, $gapX: 0.5, $background: "BLACK_2", $borderColor: "BLACK_5", children: o.map((i) => {
|
5
|
-
const { id: r, value: c, icon: d, code: $ } = i;
|
6
|
-
return /* @__PURE__ */ l(
|
7
|
-
p,
|
8
|
-
{
|
9
|
-
$gutterX: 0.5,
|
10
|
-
$gapX: 0.75,
|
11
|
-
onClick: () => n({ code: $, id: r }),
|
12
|
-
$width: "100%",
|
13
|
-
$flexDirection: "row",
|
14
|
-
$alignItems: "center",
|
15
|
-
$flexGap: 8,
|
16
|
-
$isSelected: t.id === r,
|
17
|
-
children: [
|
18
|
-
/* @__PURE__ */ e(u, { src: d }),
|
19
|
-
/* @__PURE__ */ e(a, { $renderAs: "ab3", $color: "WHITE", children: c })
|
20
|
-
]
|
21
|
-
},
|
22
|
-
r
|
23
|
-
);
|
24
|
-
}) });
|
25
|
-
export {
|
26
|
-
g as default
|
27
|
-
};
|
28
|
-
//# sourceMappingURL=country-list-menu.js.map
|
package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"country-list-menu.js","sources":["../../../../../../../src/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.tsx"],"sourcesContent":["import type { ICountryListMenuProps } from '../phone-input-types';\nimport type { FC } from 'react';\n\nimport Text from '../../../../../ui/text/text';\nimport * as Styled from '../phone-input-styled';\n\nconst CountryListMenu: FC<ICountryListMenuProps> = ({ options, selectedCountry, onChange }) => {\n return (\n <Styled.MenuWrapper $widthX={10} $gapX={0.5} $background={'BLACK_2'} $borderColor={'BLACK_5'}>\n {options.map(option => {\n const { id, value, icon, code } = option;\n\n return (\n <Styled.MenuItem\n key={id}\n $gutterX={0.5}\n $gapX={0.75}\n onClick={() => onChange({ code, id })}\n $width=\"100%\"\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $flexGap={8}\n $isSelected={selectedCountry.id === id}\n >\n <Styled.Icon src={icon} />\n <Text $renderAs=\"ab3\" $color={'WHITE'}>\n {value}\n </Text>\n </Styled.MenuItem>\n );\n })}\n </Styled.MenuWrapper>\n );\n};\n\nexport default CountryListMenu;\n"],"names":["CountryListMenu","options","selectedCountry","onChange","jsx","Styled.MenuWrapper","option","id","value","icon","code","jsxs","Styled.MenuItem","Styled.Icon","Text"],"mappings":";;;AAMA,MAAMA,IAA6C,CAAC,EAAE,SAAAC,GAAS,iBAAAC,GAAiB,UAAAC,QAE3E,gBAAAC,EAAAC,GAAA,EAAmB,SAAS,IAAI,OAAO,KAAK,aAAa,WAAW,cAAc,WAChF,UAAAJ,EAAQ,IAAI,CAAUK,MAAA;AACrB,QAAM,EAAE,IAAAC,GAAI,OAAAC,GAAO,MAAAC,GAAM,MAAAC,MAASJ;AAGhC,SAAA,gBAAAK;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,SAAS,MAAMT,EAAS,EAAE,MAAAO,GAAM,IAAAH,GAAI;AAAA,MACpC,QAAO;AAAA,MACP,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,UAAU;AAAA,MACV,aAAaL,EAAgB,OAAOK;AAAA,MAEpC,UAAA;AAAA,QAAA,gBAAAH,EAACS,GAAA,EAAY,KAAKJ,EAAM,CAAA;AAAA,0BACvBK,GAAK,EAAA,WAAU,OAAM,QAAQ,SAC3B,UACHN,GAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAbKD;AAAA,EAAA;AAgBV,CAAA,EACH,CAAA;"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import r from "styled-components";
|
2
|
-
import o from "../../../../ui/layout/flex-view.js";
|
3
|
-
const i = r(o)`
|
4
|
-
border-radius: 2px;
|
5
|
-
max-height: 220px;
|
6
|
-
overflow-y: scroll;
|
7
|
-
width: 271px;
|
8
|
-
`, c = r(o)(({ theme: t, $isSelected: n }) => `
|
9
|
-
cursor: pointer;
|
10
|
-
background: ${n ? t.colors.BLACK_5 : "transparent"};
|
11
|
-
&:hover {
|
12
|
-
background: ${t.colors.BLACK_5};
|
13
|
-
}
|
14
|
-
`), d = r.img`
|
15
|
-
width: 20px;
|
16
|
-
height: 20px;
|
17
|
-
`, s = r(o)`
|
18
|
-
cursor: pointer;
|
19
|
-
padding-right: 4px;
|
20
|
-
max-width: 100px;
|
21
|
-
min-width: 80px;
|
22
|
-
`;
|
23
|
-
export {
|
24
|
-
s as CountryCodeButton,
|
25
|
-
d as Icon,
|
26
|
-
c as MenuItem,
|
27
|
-
i as MenuWrapper
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=phone-input-styled.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"phone-input-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input/phone-input/phone-input-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const MenuWrapper = styled(FlexView)`\n border-radius: 2px;\n max-height: 220px;\n overflow-y: scroll;\n width: 271px;\n`;\n\nexport const MenuItem = styled(FlexView)<{ $isSelected: boolean }>(({ theme, $isSelected }) => {\n return `\n cursor: pointer;\n background: ${$isSelected ? theme.colors.BLACK_5 : 'transparent'};\n &:hover {\n background: ${theme.colors.BLACK_5};\n }\n `;\n});\n\nexport const Icon = styled.img`\n width: 20px;\n height: 20px;\n`;\n\nexport const CountryCodeButton = styled(FlexView)`\n cursor: pointer;\n padding-right: 4px;\n max-width: 100px;\n min-width: 80px;\n`;\n"],"names":["MenuWrapper","styled","FlexView","MenuItem","theme","$isSelected","Icon","CountryCodeButton"],"mappings":";;AAIa,MAAAA,IAAcC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,GAO7BC,IAAWF,EAAOC,CAAQ,EAA4B,CAAC,EAAE,OAAAE,GAAO,aAAAC,QACpE;AAAA;AAAA,oBAEWA,IAAcD,EAAM,OAAO,UAAU,aAAa;AAAA;AAAA,0BAE5CA,EAAM,OAAO,OAAO;AAAA;AAAA,IAG7C,GAEYE,IAAOL,EAAO;AAAA;AAAA;AAAA,GAKdM,IAAoBN,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
2
|
-
import { useCallback as s } from "react";
|
3
|
-
import { useTheme as c } from "styled-components";
|
4
|
-
import { InputWrapper as d } from "../../../../circle-games/sign-up/comp/input-wrapper/input-wrapper.js";
|
5
|
-
import C from "../../../../ui/context-menu/context-menu.js";
|
6
|
-
import r from "../../../../ui/layout/flex-view.js";
|
7
|
-
import x from "../../../../ui/separator/separator.js";
|
8
|
-
import { COUNTRY_CODE_MAP as w } from "../../signup-constants.js";
|
9
|
-
import { CustomInput as I } from "../custom-input-styled.js";
|
10
|
-
import g from "./country-selector/country-code-button.js";
|
11
|
-
import y from "./country-selector/country-list-menu.js";
|
12
|
-
const D = ({
|
13
|
-
error: m,
|
14
|
-
value: p,
|
15
|
-
onChange: l,
|
16
|
-
selectedCountry: n,
|
17
|
-
onCountryChange: u,
|
18
|
-
onEnter: o
|
19
|
-
}) => {
|
20
|
-
var i;
|
21
|
-
const a = c(), f = s(
|
22
|
-
(t) => {
|
23
|
-
t.key === "Enter" && (o == null || o());
|
24
|
-
},
|
25
|
-
[o]
|
26
|
-
);
|
27
|
-
return /* @__PURE__ */ e(d, { helperText: m, children: /* @__PURE__ */ h(r, { $flexDirection: "row", children: [
|
28
|
-
/* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(
|
29
|
-
C,
|
30
|
-
{
|
31
|
-
startLeft: !0,
|
32
|
-
targetElement: /* @__PURE__ */ e(g, { value: n.code }),
|
33
|
-
menuElement: /* @__PURE__ */ e(
|
34
|
-
y,
|
35
|
-
{
|
36
|
-
options: w,
|
37
|
-
onChange: u,
|
38
|
-
selectedCountry: n
|
39
|
-
}
|
40
|
-
),
|
41
|
-
menuOffset: 5,
|
42
|
-
menuZIndex: 1
|
43
|
-
}
|
44
|
-
) }),
|
45
|
-
/* @__PURE__ */ e(x, { width: 8 }),
|
46
|
-
/* @__PURE__ */ e(r, { $width: 224, children: /* @__PURE__ */ e(
|
47
|
-
I,
|
48
|
-
{
|
49
|
-
value: p,
|
50
|
-
onChange: (t) => l(t.target.value),
|
51
|
-
placeholder: "00000 00000",
|
52
|
-
type: "number",
|
53
|
-
align: "left",
|
54
|
-
autoCapitalize: "none",
|
55
|
-
color: (i = a.colors) == null ? void 0 : i[m ? "RED" : "WHITE"],
|
56
|
-
onKeyDown: f
|
57
|
-
}
|
58
|
-
) })
|
59
|
-
] }) });
|
60
|
-
}, R = D;
|
61
|
-
export {
|
62
|
-
R as default
|
63
|
-
};
|
64
|
-
//# sourceMappingURL=phone-input.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"phone-input.js","sources":["../../../../../../src/features/auth/signup/custom-input/phone-input/phone-input.tsx"],"sourcesContent":["import type { IPhoneInputProps } from './phone-input-types';\n\nimport { useCallback, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { InputWrapper } from '../../../../circle-games/sign-up/comp/input-wrapper/input-wrapper';\nimport ContextMenu from '../../../../ui/context-menu/context-menu';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Separator from '../../../../ui/separator/separator';\nimport { COUNTRY_CODE_MAP } from '../../signup-constants';\nimport * as Styled from '../custom-input-styled';\nimport CountryCodeButton from './country-selector/country-code-button';\nimport CountryListMenu from './country-selector/country-list-menu';\n\nconst PhoneInput: FC<IPhoneInputProps> = ({\n error,\n value,\n onChange,\n selectedCountry,\n onCountryChange,\n onEnter,\n}) => {\n const theme = useTheme();\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n return (\n <InputWrapper helperText={error}>\n <FlexView $flexDirection=\"row\">\n <FlexView>\n <ContextMenu\n startLeft\n targetElement={<CountryCodeButton value={selectedCountry.code} />}\n menuElement={\n <CountryListMenu\n options={COUNTRY_CODE_MAP}\n onChange={onCountryChange}\n selectedCountry={selectedCountry}\n />\n }\n menuOffset={5}\n menuZIndex={1}\n />\n </FlexView>\n <Separator width={8} />\n <FlexView $width={224}>\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n placeholder=\"00000 00000\"\n type=\"number\"\n align=\"left\"\n autoCapitalize=\"none\"\n color={theme.colors?.[error ? 'RED' : 'WHITE']}\n onKeyDown={handleKeyDown}\n />\n </FlexView>\n </FlexView>\n </InputWrapper>\n );\n};\n\nexport default PhoneInput;\n"],"names":["PhoneInput","error","value","onChange","selectedCountry","onCountryChange","onEnter","theme","useTheme","handleKeyDown","useCallback","event","InputWrapper","jsxs","FlexView","jsx","ContextMenu","CountryCodeButton","CountryListMenu","COUNTRY_CODE_MAP","Separator","Styled.CustomInput","_a","PhoneInput$1"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAmC,CAAC;AAAA,EACxC,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,SAAAC;AACF,MAAM;;AACJ,QAAMC,IAAQC,KAERC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNL,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAGV,2BACGM,GAAa,EAAA,YAAYX,GACxB,UAAC,gBAAAY,EAAAC,GAAA,EAAS,gBAAe,OACvB,UAAA;AAAA,IAAA,gBAAAC,EAACD,GACC,EAAA,UAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,WAAS;AAAA,QACT,eAAe,gBAAAD,EAACE,GAAkB,EAAA,OAAOb,EAAgB,MAAM;AAAA,QAC/D,aACE,gBAAAW;AAAA,UAACG;AAAA,UAAA;AAAA,YACC,SAASC;AAAA,YACT,UAAUd;AAAA,YACV,iBAAAD;AAAA,UAAA;AAAA,QACF;AAAA,QAEF,YAAY;AAAA,QACZ,YAAY;AAAA,MAAA;AAAA,IAAA,GAEhB;AAAA,IACA,gBAAAW,EAACK,GAAU,EAAA,OAAO,EAAG,CAAA;AAAA,IACrB,gBAAAL,EAACD,GAAS,EAAA,QAAQ,KAChB,UAAA,gBAAAC;AAAA,MAACM;AAAAA,MAAA;AAAA,QACC,OAAAnB;AAAA,QACA,UAAU,CAAAS,MAASR,EAASQ,EAAM,OAAO,KAAK;AAAA,QAC9C,aAAY;AAAA,QACZ,MAAK;AAAA,QACL,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,QAAOW,IAAAf,EAAM,WAAN,gBAAAe,EAAerB,IAAQ,QAAQ;AAAA,QACtC,WAAWQ;AAAA,MAAA;AAAA,IAAA,GAEf;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEAc,IAAevB;"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
2
|
-
import { useState as u, useCallback as h } from "react";
|
3
|
-
import { useTheme as f } from "styled-components";
|
4
|
-
import w from "../../../../../assets/line-icons/icons/eye.js";
|
5
|
-
import I from "../../../../../assets/line-icons/icons/striked-eye.js";
|
6
|
-
import g from "../../../../ui/buttons/clickable/clickable.js";
|
7
|
-
import { PasswordInputWrapper as x, CustomInput as y } from "../custom-input-styled.js";
|
8
|
-
import { InputWrapper as C } from "../input-wrapper/input-wrapper.js";
|
9
|
-
const b = ({
|
10
|
-
onEnter: o,
|
11
|
-
value: l,
|
12
|
-
onChange: a,
|
13
|
-
error: r,
|
14
|
-
helperText: p
|
15
|
-
}) => {
|
16
|
-
var i;
|
17
|
-
const n = f(), [s, c] = u(!1), m = h(
|
18
|
-
(e) => {
|
19
|
-
e.key === "Enter" && (o == null || o());
|
20
|
-
},
|
21
|
-
[o]
|
22
|
-
);
|
23
|
-
return /* @__PURE__ */ t(C, { helperText: r || p, children: /* @__PURE__ */ d(
|
24
|
-
x,
|
25
|
-
{
|
26
|
-
$width: 220,
|
27
|
-
$alignItems: "center",
|
28
|
-
$flexDirection: "row",
|
29
|
-
$flexGapX: 0.5,
|
30
|
-
children: [
|
31
|
-
/* @__PURE__ */ t(
|
32
|
-
y,
|
33
|
-
{
|
34
|
-
value: l,
|
35
|
-
onChange: (e) => a(e.target.value),
|
36
|
-
autoFocus: !0,
|
37
|
-
placeholder: "password",
|
38
|
-
align: "left",
|
39
|
-
color: (i = n.colors) == null ? void 0 : i[r ? "RED" : "WHITE"],
|
40
|
-
autoCapitalize: "none",
|
41
|
-
type: s ? "text" : "password",
|
42
|
-
onKeyDown: m
|
43
|
-
}
|
44
|
-
),
|
45
|
-
/* @__PURE__ */ t(g, { label: "password-toggle", onClick: () => c((e) => !e), children: s ? /* @__PURE__ */ t(I, { color: "WHITE", width: 24, height: 24 }) : /* @__PURE__ */ t(w, { color: "WHITE", width: 24, height: 24 }) })
|
46
|
-
]
|
47
|
-
}
|
48
|
-
) });
|
49
|
-
}, j = b;
|
50
|
-
export {
|
51
|
-
j as default
|
52
|
-
};
|
53
|
-
//# sourceMappingURL=student-password.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"student-password.js","sources":["../../../../../../src/features/auth/signup/custom-input/student-password/student-password.tsx"],"sourcesContent":["import type { ICustomInputProps } from '../custom-input-types';\n\nimport { useCallback, useState, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport EyeIcon from '../../../../../assets/line-icons/icons/eye';\nimport StrikedEyeIcon from '../../../../../assets/line-icons/icons/striked-eye';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport * as Styled from '../custom-input-styled';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\n\nconst StudentPasswordInput: FC<ICustomInputProps> = ({\n onEnter,\n value,\n onChange,\n error,\n helperText,\n}) => {\n const theme = useTheme();\n const [isVisible, setIsVisible] = useState(false);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n return (\n <InputWrapper helperText={error || helperText}>\n <Styled.PasswordInputWrapper\n $width={220}\n $alignItems=\"center\"\n $flexDirection=\"row\"\n $flexGapX={0.5}\n >\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n autoFocus\n placeholder=\"password\"\n align=\"left\"\n color={theme.colors?.[error ? 'RED' : 'WHITE']}\n autoCapitalize=\"none\"\n type={isVisible ? 'text' : 'password'}\n onKeyDown={handleKeyDown}\n />\n <Clickable label=\"password-toggle\" onClick={() => setIsVisible(prev => !prev)}>\n {isVisible ? (\n <StrikedEyeIcon color=\"WHITE\" width={24} height={24} />\n ) : (\n <EyeIcon color=\"WHITE\" width={24} height={24} />\n )}\n </Clickable>\n </Styled.PasswordInputWrapper>\n </InputWrapper>\n );\n};\n\nexport default StudentPasswordInput;\n"],"names":["StudentPasswordInput","onEnter","value","onChange","error","helperText","theme","useTheme","isVisible","setIsVisible","useState","handleKeyDown","useCallback","event","jsx","InputWrapper","jsxs","Styled.PasswordInputWrapper","Styled.CustomInput","_a","Clickable","prev","StrikedEyeIcon","EyeIcon","StudentPasswordInput$1"],"mappings":";;;;;;;;AAWA,MAAMA,IAA8C,CAAC;AAAA,EACnD,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AACF,MAAM;;AACJ,QAAMC,IAAQC,KACR,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK,GAE1CC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNZ,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAGV,SACG,gBAAAa,EAAAC,GAAA,EAAa,YAAYX,KAASC,GACjC,UAAA,gBAAAW;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,QAAQ;AAAA,MACR,aAAY;AAAA,MACZ,gBAAe;AAAA,MACf,WAAW;AAAA,MAEX,UAAA;AAAA,QAAA,gBAAAH;AAAA,UAACI;AAAAA,UAAA;AAAA,YACC,OAAAhB;AAAA,YACA,UAAU,CAAAW,MAASV,EAASU,EAAM,OAAO,KAAK;AAAA,YAC9C,WAAS;AAAA,YACT,aAAY;AAAA,YACZ,OAAM;AAAA,YACN,QAAOM,IAAAb,EAAM,WAAN,gBAAAa,EAAef,IAAQ,QAAQ;AAAA,YACtC,gBAAe;AAAA,YACf,MAAMI,IAAY,SAAS;AAAA,YAC3B,WAAWG;AAAA,UAAA;AAAA,QACb;AAAA,QACC,gBAAAG,EAAAM,GAAA,EAAU,OAAM,mBAAkB,SAAS,MAAMX,EAAa,CAAAY,MAAQ,CAACA,CAAI,GACzE,UAAAb,IACE,gBAAAM,EAAAQ,GAAA,EAAe,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,IAErD,gBAAAR,EAACS,GAAQ,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GAElD;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ,GAEAC,IAAexB;"}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
2
|
-
import { useCallback as c } from "react";
|
3
|
-
import { useTheme as i } from "styled-components";
|
4
|
-
import { CustomInput as f } from "../custom-input-styled.js";
|
5
|
-
import { InputWrapper as h } from "../input-wrapper/input-wrapper.js";
|
6
|
-
const d = ({
|
7
|
-
value: m,
|
8
|
-
onChange: u,
|
9
|
-
error: o,
|
10
|
-
helperText: s,
|
11
|
-
showLoading: n,
|
12
|
-
onEnter: e
|
13
|
-
}) => {
|
14
|
-
var r;
|
15
|
-
const p = i(), l = c(
|
16
|
-
(t) => {
|
17
|
-
t.key === "Enter" && (e == null || e());
|
18
|
-
},
|
19
|
-
[e]
|
20
|
-
);
|
21
|
-
return /* @__PURE__ */ a(h, { helperText: o || s, showLoading: n, children: /* @__PURE__ */ a(
|
22
|
-
f,
|
23
|
-
{
|
24
|
-
value: m,
|
25
|
-
onChange: (t) => u(t.target.value),
|
26
|
-
autoFocus: !0,
|
27
|
-
placeholder: "username_1412",
|
28
|
-
color: (r = p.colors) == null ? void 0 : r[o ? "RED" : "WHITE"],
|
29
|
-
autoCapitalize: "none",
|
30
|
-
textTransform: "lowercase",
|
31
|
-
onKeyDown: l
|
32
|
-
}
|
33
|
-
) });
|
34
|
-
}, y = d;
|
35
|
-
export {
|
36
|
-
y as default
|
37
|
-
};
|
38
|
-
//# sourceMappingURL=student-username.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"student-username.js","sources":["../../../../../../src/features/auth/signup/custom-input/student-username/student-username.tsx"],"sourcesContent":["import type { ICustomInputProps } from '../custom-input-types';\n\nimport { useCallback, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport * as Styled from '../custom-input-styled';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\n\nconst StudentUsernameInput: FC<ICustomInputProps> = ({\n value,\n onChange,\n error,\n helperText,\n showLoading,\n onEnter,\n}) => {\n const theme = useTheme();\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n return (\n <InputWrapper helperText={error || helperText} showLoading={showLoading}>\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n autoFocus\n placeholder=\"username_1412\"\n color={theme.colors?.[error ? 'RED' : 'WHITE']}\n autoCapitalize=\"none\"\n textTransform=\"lowercase\"\n onKeyDown={handleKeyDown}\n />\n </InputWrapper>\n );\n};\n\nexport default StudentUsernameInput;\n"],"names":["StudentUsernameInput","value","onChange","error","helperText","showLoading","onEnter","theme","useTheme","handleKeyDown","useCallback","event","jsx","InputWrapper","Styled.CustomInput","_a","StudentUsernameInput$1"],"mappings":";;;;;AAQA,MAAMA,IAA8C,CAAC;AAAA,EACnD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,aAAAC;AAAA,EACA,SAAAC;AACF,MAAM;;AACJ,QAAMC,IAAQC,KAERC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNL,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAGV,SACG,gBAAAM,EAAAC,GAAA,EAAa,YAAYV,KAASC,GAAY,aAAAC,GAC7C,UAAA,gBAAAO;AAAA,IAACE;AAAAA,IAAA;AAAA,MACC,OAAAb;AAAA,MACA,UAAU,CAAAU,MAAST,EAASS,EAAM,OAAO,KAAK;AAAA,MAC9C,WAAS;AAAA,MACT,aAAY;AAAA,MACZ,QAAOI,IAAAR,EAAM,WAAN,gBAAAQ,EAAeZ,IAAQ,QAAQ;AAAA,MACtC,gBAAe;AAAA,MACf,eAAc;AAAA,MACd,WAAWM;AAAA,IAAA;AAAA,EAEf,EAAA,CAAA;AAEJ,GAEAO,IAAehB;"}
|