@pfct/purple 1.4.0-rc.7 → 1.4.0-rc.8
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/index.css +1 -1
- package/dist/chunks/bottomSheet.BLbiF_lD.js +31 -0
- package/dist/chunks/bottomSheet.DjtUIdos.js +232 -0
- package/dist/chunks/index.styled.Cy7HoTge.js +633 -0
- package/dist/chunks/{index.styled.ByGzJNsf.js → index.styled.Dggtp_3B.js} +453 -502
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +9 -8
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.styled.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.styled.es.js +3 -3
- package/dist/components/BottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/index.es.js +3 -3
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +7 -4
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +7 -3
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +39 -13
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +10 -10
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +4 -4
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.es.js +12 -11
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +4 -4
- package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.styled.es.js +5 -5
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +3 -3
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
- package/dist/components/Control/CheckBox/index.cjs.js +1 -1
- package/dist/components/Control/CheckBox/index.es.js +2 -2
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +2 -2
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +1 -1
- package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.styled.es.js +2 -2
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +2 -2
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +2 -2
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +11 -11
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +11 -11
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +2 -2
- package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.es.js +1 -1
- package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.util.es.js +2 -2
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +2 -2
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +1 -1
- package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.styled.es.js +4 -4
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +14 -5
- package/dist/components/Loading/index.cjs.js +1 -1
- package/dist/components/Loading/index.es.js +2 -2
- package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.es.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.es.js +7 -7
- package/dist/components/MiniButton/IconMiniButton/index.styled.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.styled.es.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.styled.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.styled.es.js +3 -3
- package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
- package/dist/components/MiniButton/common/ButtonTag.es.js +1 -1
- package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
- package/dist/components/MiniButton/common/index.styled.es.js +4 -4
- package/dist/components/MiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/index.es.js +1 -1
- package/dist/components/Modal/BaseModal/index.cjs.js +1 -1
- package/dist/components/Modal/BaseModal/index.es.js +1 -1
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +4 -2
- package/dist/components/Modal/index.styled.cjs.js +1 -1
- package/dist/components/Modal/index.styled.es.js +2 -2
- package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
- package/dist/components/Navigation/BaseNavigation/index.es.js +1 -1
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +1 -1
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +2 -2
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +11 -11
- package/dist/components/SelectBox/index.styled.cjs.js +1 -1
- package/dist/components/SelectBox/index.styled.es.js +9 -9
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +1 -1
- package/dist/components/Tabs/FillTabs/index.styled.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.styled.es.js +4 -4
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +1 -1
- package/dist/components/Tabs/TextTabs/index.styled.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.styled.es.js +4 -4
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +1 -1
- package/dist/components/Tag/index.styled.cjs.js +1 -1
- package/dist/components/Tag/index.styled.es.js +2 -2
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +7 -7
- package/dist/components/Title/index.styled.cjs.js +1 -1
- package/dist/components/Title/index.styled.es.js +6 -6
- package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +1 -1
- package/dist/components/ToastMessage/BaseToastMessage/index.es.js +8 -8
- package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +1 -1
- package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +118 -115
- package/dist/components/ui/bottomSheet.cjs.js +1 -31
- package/dist/components/ui/bottomSheet.es.js +19 -215
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.es.js +24 -22
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +1 -1
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +1 -1
- package/dist/core/Display/index.styled.cjs.js +1 -1
- package/dist/core/Display/index.styled.es.js +2 -2
- package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
- package/dist/core/Typography/BaseTypography/index.es.js +4 -4
- package/dist/core/Typography/Body1.cjs.js +1 -1
- package/dist/core/Typography/Body1.es.js +2 -2
- package/dist/core/Typography/Body2.cjs.js +1 -1
- package/dist/core/Typography/Body2.es.js +2 -2
- package/dist/core/Typography/Headline1.cjs.js +1 -1
- package/dist/core/Typography/Headline1.es.js +3 -3
- package/dist/core/Typography/Headline2.cjs.js +1 -1
- package/dist/core/Typography/Headline2.es.js +3 -3
- package/dist/core/Typography/Headline3.cjs.js +1 -1
- package/dist/core/Typography/Headline3.es.js +1 -1
- package/dist/core/Typography/Headline4.cjs.js +1 -1
- package/dist/core/Typography/Headline4.es.js +1 -1
- package/dist/core/Typography/Headline5.cjs.js +1 -1
- package/dist/core/Typography/Headline5.es.js +1 -1
- package/dist/core/Typography/Headline6.cjs.js +1 -1
- package/dist/core/Typography/Headline6.es.js +3 -3
- package/dist/core/Typography/Title1.cjs.js +1 -1
- package/dist/core/Typography/Title1.es.js +3 -3
- package/dist/core/Typography/Title2.cjs.js +1 -1
- package/dist/core/Typography/Title2.es.js +3 -3
- package/dist/core/Typography/Title3.cjs.js +1 -1
- package/dist/core/Typography/Title3.es.js +2 -2
- package/dist/core/Typography/Title4.cjs.js +1 -1
- package/dist/core/Typography/Title4.es.js +3 -3
- package/dist/core/Typography/index.cjs.js +1 -1
- package/dist/core/Typography/index.es.js +7 -7
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +8 -8
- package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
- package/dist/hooks/useLayoutIsMobile.es.js +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +282 -278
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.es.js +31 -29
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.es.js +2 -2
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.es.js +2 -2
- package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/chip.es.js +1 -1
- package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/index.es.js +3 -3
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +3 -3
- package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
- package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +2 -2
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +8 -8
- package/package.json +6 -6
- package/dist/chunks/index.styled.B3JLBK5h.js +0 -633
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { css as a, keyframes as
|
|
2
|
-
import
|
|
1
|
+
import { css as a, keyframes as wo } from "@emotion/react";
|
|
2
|
+
import r from "@emotion/styled";
|
|
3
3
|
import { zIndex as C } from "../constants/style.constants.es.js";
|
|
4
|
-
import { basicColors as i, semanticColors as K, generateHexWithAlphaInLightMode as
|
|
5
|
-
import { body2 as
|
|
6
|
-
import { Smaller as
|
|
4
|
+
import { basicColors as i, semanticColors as K, generateHexWithAlphaInLightMode as jo } from "../core/Colors/index.es.js";
|
|
5
|
+
import { body2 as Vo, body1 as Go, title4 as Q, title3 as X, title2 as vo, title1 as qo, headline6 as Y, headline5 as Zo, headline4 as Jo, headline3 as Ko, headline2 as Qo, headline1 as Xo, typography as L } from "../core/TextStyles/index.es.js";
|
|
6
|
+
import { Smaller as h, Larger as m } from "../utils/media.util.es.js";
|
|
7
7
|
import N from "../utils/GenerateColorStyle/mini-button.es.js";
|
|
8
|
-
import
|
|
8
|
+
import Yo from "../utils/GenerateColorStyle/datepicker.es.js";
|
|
9
9
|
import { j as e } from "./jsx-runtime.Drh4NO5G.js";
|
|
10
10
|
import "../components/Badge/IconBadge/index.styled.es.js";
|
|
11
11
|
import "../components/Badge/TextBadge/index.styled.es.js";
|
|
12
|
-
import
|
|
12
|
+
import "../components/Loading/Spinner/index.styled.es.js";
|
|
13
13
|
import "../components/Card/index.styled.es.js";
|
|
14
|
-
import _, { useState as
|
|
14
|
+
import _, { useState as k, useEffect as T, useCallback as B, useRef as Bo, useMemo as fo } from "react";
|
|
15
15
|
import "../components/Comment/index.es.js";
|
|
16
16
|
import D from "../utils/GenerateColorStyle/control/radio-button.es.js";
|
|
17
17
|
import "../components/Control/CheckBox/index.styled.es.js";
|
|
@@ -21,12 +21,12 @@ import "../components/DatePicker/BaseDatePicker/index.styled.es.js";
|
|
|
21
21
|
import "../components/DatePicker/BaseDatePicker/YearMonthController/index.styed.es.js";
|
|
22
22
|
import "../Icon/generated/AlarmFill.es.js";
|
|
23
23
|
import "../Icon/generated/Calendar.es.js";
|
|
24
|
-
import { Cancel as
|
|
24
|
+
import { Cancel as Ao } from "../Icon/generated/Cancel.es.js";
|
|
25
25
|
import "../Icon/generated/CancelCircle.es.js";
|
|
26
26
|
import "../Icon/generated/CartFill.es.js";
|
|
27
27
|
import "../Icon/generated/Check.es.js";
|
|
28
28
|
import "../Icon/generated/ChevronDown.es.js";
|
|
29
|
-
import { ChevronLeft as
|
|
29
|
+
import { ChevronLeft as ot } from "../Icon/generated/ChevronLeft.es.js";
|
|
30
30
|
import "../Icon/generated/ChevronRight.es.js";
|
|
31
31
|
import "../Icon/generated/ChevronUp.es.js";
|
|
32
32
|
import "../Icon/generated/DoubleChevronLeft.es.js";
|
|
@@ -58,42 +58,42 @@ import "../components/DatePicker/SingleDatePickerModal/index.styled.es.js";
|
|
|
58
58
|
import "../components/DatePicker/SingleDatePickerModal/useSingleDatePickerModal.es.js";
|
|
59
59
|
import "../components/DatePicker/RangeDatePickerModal/index.styled.es.js";
|
|
60
60
|
import { useOverlayPreventScroll as ko } from "../hooks/useOverlayPreventScroll.es.js";
|
|
61
|
-
import { Button as
|
|
62
|
-
import { c as nt } from "./utils.B9KdtH6G.js";
|
|
61
|
+
import { Button as H } from "../components/ui/button.es.js";
|
|
63
62
|
import "../components/DatePicker/RangeDatePickerModal/useRangeDatePickerModal.es.js";
|
|
64
63
|
import "../components/Divider/index.styled.es.js";
|
|
65
64
|
import "./index.styled.SOJ65tcg.js";
|
|
66
65
|
import "../components/Input/BaseInput/index.es.js";
|
|
67
|
-
import { D as
|
|
68
|
-
import { InputAndUnitWrapper as
|
|
69
|
-
import { InputFrame as
|
|
66
|
+
import { D as tt } from "./index.styled.Cw4AEFns.js";
|
|
67
|
+
import { InputAndUnitWrapper as et, InputSizer as rt, InputTag as nt, className as it, UnitWrapper as at, Unit as st } from "../components/Input/PostfixInput/index.styled.es.js";
|
|
68
|
+
import { InputFrame as lt } from "../components/Input/common/InputFrame/index.es.js";
|
|
70
69
|
import "../components/Input/ResidentNumberInput/index.styled.es.js";
|
|
71
70
|
import "../components/Loading/Skeleton/index.es.js";
|
|
72
|
-
import { IconWrapper as Z, TextWrapper as
|
|
73
|
-
import { Wrapper as
|
|
71
|
+
import { IconWrapper as Z, TextWrapper as dt } from "../components/Navigation/index.styled.es.js";
|
|
72
|
+
import { Wrapper as ct, LeftChildrenWrapper as pt, RightChildrenWrapper as xt } from "../components/Navigation/BaseNavigation/index.styled.es.js";
|
|
74
73
|
import { CONTENT_COLOR_MAP as P } from "../components/Navigation/constant.es.js";
|
|
75
74
|
import "../components/Segment/BaseSegment/index.styled.es.js";
|
|
76
75
|
import "../components/Segment/ExtendSegment/index.styled.es.js";
|
|
77
|
-
import { ContentWrapper as
|
|
76
|
+
import { ContentWrapper as ut, Content as mt, HeaderWrapper as gt, ChildrenWrapper as ht, FooterWrapper as To, ContentWrapperPadding as bt } from "../components/BottomSheet/BaseBottomSheet/index.styled.es.js";
|
|
78
77
|
import { scrollStyle as A } from "../style/common.es.js";
|
|
79
|
-
import { ModalContent as
|
|
80
|
-
import { Overlay as
|
|
78
|
+
import { ModalContent as ft } from "../components/Modal/BaseModal/index.styled.es.js";
|
|
79
|
+
import { Overlay as $t } from "../components/OverlayRoot/index.styled.es.js";
|
|
81
80
|
import "../components/ToastMessage/Toast/index.styled.es.js";
|
|
82
81
|
import "../components/Tooltip/TooltipBase/index.styled.es.js";
|
|
83
|
-
import "
|
|
82
|
+
import "./bottomSheet.DjtUIdos.js";
|
|
83
|
+
import { DoubleButton as Ct } from "../components/Button/DoubleButton/index.es.js";
|
|
84
84
|
import $o from "../utils/GenerateColorStyle/tag.es.js";
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import { NavigationWrapper as
|
|
88
|
-
const
|
|
89
|
-
const t = i[`${o}400`],
|
|
85
|
+
import yt from "../utils/GenerateColorStyle/progress-bar.es.js";
|
|
86
|
+
import wt from "../hooks/useResize.es.js";
|
|
87
|
+
import { NavigationWrapper as jt } from "../components/BottomSheet/NavBottomSheet/index.styled.es.js";
|
|
88
|
+
const vt = (o) => {
|
|
89
|
+
const t = i[`${o}400`], n = "transparent", s = i.white, d = i.white, c = i[`${o}100`], x = "transparent", g = i.white, p = i.white;
|
|
90
90
|
return {
|
|
91
91
|
default: {
|
|
92
92
|
on: {
|
|
93
93
|
containerColor: t,
|
|
94
|
-
borderColor:
|
|
94
|
+
borderColor: n,
|
|
95
95
|
textColor: s,
|
|
96
|
-
iconColor:
|
|
96
|
+
iconColor: d
|
|
97
97
|
},
|
|
98
98
|
off: {
|
|
99
99
|
containerColor: i.white,
|
|
@@ -104,9 +104,9 @@ const Tt = (o) => {
|
|
|
104
104
|
},
|
|
105
105
|
disabled: {
|
|
106
106
|
on: {
|
|
107
|
-
containerColor:
|
|
107
|
+
containerColor: c,
|
|
108
108
|
borderColor: x,
|
|
109
|
-
textColor:
|
|
109
|
+
textColor: g,
|
|
110
110
|
iconColor: p
|
|
111
111
|
},
|
|
112
112
|
off: {
|
|
@@ -117,8 +117,8 @@ const Tt = (o) => {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
},
|
|
121
|
-
const t = i.gray100,
|
|
120
|
+
}, b = (o) => {
|
|
121
|
+
const t = i.gray100, n = "none";
|
|
122
122
|
switch (o) {
|
|
123
123
|
case "gray":
|
|
124
124
|
return {
|
|
@@ -128,7 +128,7 @@ const Tt = (o) => {
|
|
|
128
128
|
},
|
|
129
129
|
off: {
|
|
130
130
|
textColor: t,
|
|
131
|
-
barColor:
|
|
131
|
+
barColor: n
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
default:
|
|
@@ -139,12 +139,12 @@ const Tt = (o) => {
|
|
|
139
139
|
},
|
|
140
140
|
off: {
|
|
141
141
|
textColor: t,
|
|
142
|
-
barColor:
|
|
142
|
+
barColor: n
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
},
|
|
147
|
-
const t = i.gray700,
|
|
146
|
+
}, Bt = (o) => {
|
|
147
|
+
const t = i.gray700, n = i.gray50;
|
|
148
148
|
switch (o) {
|
|
149
149
|
case "gray":
|
|
150
150
|
return {
|
|
@@ -154,7 +154,7 @@ const Tt = (o) => {
|
|
|
154
154
|
},
|
|
155
155
|
off: {
|
|
156
156
|
textColor: t,
|
|
157
|
-
containerColor:
|
|
157
|
+
containerColor: n
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
default:
|
|
@@ -165,157 +165,87 @@ const Tt = (o) => {
|
|
|
165
165
|
},
|
|
166
166
|
off: {
|
|
167
167
|
textColor: t,
|
|
168
|
-
containerColor:
|
|
168
|
+
containerColor: n
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
},
|
|
173
|
-
${
|
|
172
|
+
}, Qr = r.div`
|
|
173
|
+
${h(a`
|
|
174
174
|
display: none;
|
|
175
175
|
`)}
|
|
176
|
-
`,
|
|
177
|
-
${
|
|
176
|
+
`, Xr = r.div`
|
|
177
|
+
${m(a`
|
|
178
178
|
display: none;
|
|
179
179
|
`)}
|
|
180
180
|
`, J = {
|
|
181
|
-
Headline1:
|
|
182
|
-
Headline2:
|
|
183
|
-
Headline3:
|
|
184
|
-
Headline4:
|
|
185
|
-
Headline5:
|
|
181
|
+
Headline1: Xo,
|
|
182
|
+
Headline2: Qo,
|
|
183
|
+
Headline3: Ko,
|
|
184
|
+
Headline4: Jo,
|
|
185
|
+
Headline5: Zo,
|
|
186
186
|
Headline6: Y,
|
|
187
|
-
Title1:
|
|
187
|
+
Title1: qo,
|
|
188
188
|
Title2: vo,
|
|
189
189
|
Title3: X,
|
|
190
190
|
Title4: Q,
|
|
191
|
-
Body1:
|
|
192
|
-
Body2:
|
|
193
|
-
},
|
|
191
|
+
Body1: Go,
|
|
192
|
+
Body2: Vo
|
|
193
|
+
}, kt = r.div`
|
|
194
194
|
text-align: ${(o) => o.textAlign};
|
|
195
195
|
white-space: pre-wrap;
|
|
196
196
|
${(o) => J[o.md](o)}
|
|
197
197
|
|
|
198
|
-
${(o) => o.sm &&
|
|
198
|
+
${(o) => o.sm && h(a`
|
|
199
199
|
{
|
|
200
200
|
${J[o.sm](o)}
|
|
201
201
|
}
|
|
202
202
|
`)}
|
|
203
|
-
${(o) => o.lg &&
|
|
203
|
+
${(o) => o.lg && m(a`
|
|
204
204
|
{
|
|
205
205
|
${J[o.lg](o)}
|
|
206
206
|
}
|
|
207
207
|
`)}
|
|
208
|
-
`,
|
|
208
|
+
`, W = (o) => {
|
|
209
209
|
const { children: t } = o;
|
|
210
|
-
return /* @__PURE__ */ e.jsx(
|
|
211
|
-
},
|
|
212
|
-
const { children: t, ...
|
|
213
|
-
return /* @__PURE__ */ e.jsx(
|
|
210
|
+
return /* @__PURE__ */ e.jsx(kt, { ...o, children: t });
|
|
211
|
+
}, Tt = (o) => {
|
|
212
|
+
const { children: t, ...n } = o;
|
|
213
|
+
return /* @__PURE__ */ e.jsx(W, { ...n, md: "Headline3", children: t });
|
|
214
214
|
}, Wo = (o) => {
|
|
215
|
-
const { children: t, ...
|
|
216
|
-
return /* @__PURE__ */ e.jsx(
|
|
217
|
-
},
|
|
218
|
-
const { children: t, ...
|
|
219
|
-
return /* @__PURE__ */ e.jsx(
|
|
215
|
+
const { children: t, ...n } = o;
|
|
216
|
+
return /* @__PURE__ */ e.jsx(W, { ...n, md: "Headline4", children: t });
|
|
217
|
+
}, Wt = (o) => {
|
|
218
|
+
const { children: t, ...n } = o;
|
|
219
|
+
return /* @__PURE__ */ e.jsx(W, { ...n, md: "Headline5", children: t });
|
|
220
220
|
}, E = (o) => {
|
|
221
|
-
const { children: t, ...
|
|
222
|
-
return /* @__PURE__ */ e.jsx(
|
|
223
|
-
},
|
|
224
|
-
background-color: ${
|
|
225
|
-
`,
|
|
226
|
-
${
|
|
221
|
+
const { children: t, ...n } = o;
|
|
222
|
+
return /* @__PURE__ */ e.jsx(W, { ...n, md: "Title3", children: t });
|
|
223
|
+
}, It = i.red400, St = "16px", Io = a`
|
|
224
|
+
background-color: ${It};
|
|
225
|
+
`, Yr = r.div`
|
|
226
|
+
${Io};
|
|
227
227
|
|
|
228
228
|
width: 5px;
|
|
229
229
|
height: 5px;
|
|
230
230
|
border-radius: 50%;
|
|
231
|
-
`,
|
|
232
|
-
${
|
|
231
|
+
`, Ar = r.div`
|
|
232
|
+
${Io};
|
|
233
233
|
|
|
234
|
-
height: ${
|
|
234
|
+
height: ${St};
|
|
235
235
|
padding: 0 5px;
|
|
236
236
|
border-radius: 8px;
|
|
237
237
|
|
|
238
238
|
display: flex;
|
|
239
239
|
align-items: center;
|
|
240
240
|
justify-content: center;
|
|
241
|
-
`,
|
|
241
|
+
`, on = r.div`
|
|
242
242
|
line-height: initial;
|
|
243
243
|
|
|
244
244
|
font-size: 11px;
|
|
245
245
|
font-weight: 500;
|
|
246
246
|
color: ${i.white};
|
|
247
247
|
letter-spacing: -0.2px;
|
|
248
|
-
`,
|
|
249
|
-
const { colorType: t } = o;
|
|
250
|
-
let r = i.white;
|
|
251
|
-
switch (t) {
|
|
252
|
-
case "gray":
|
|
253
|
-
r = i.gray200;
|
|
254
|
-
}
|
|
255
|
-
return /* @__PURE__ */ e.jsx(ot, { color: r });
|
|
256
|
-
};
|
|
257
|
-
function Pt({ children: o, isLoading: t, disabled: r, ...s }) {
|
|
258
|
-
return /* @__PURE__ */ e.jsx(rt, { disabled: r || t, ...s, children: t ? /* @__PURE__ */ e.jsx("div", { className: "h-[25px] w-[25px]", children: /* @__PURE__ */ e.jsx(Dt, { colorType: "white" }) }) : o });
|
|
259
|
-
}
|
|
260
|
-
const L = ({
|
|
261
|
-
colorType: o,
|
|
262
|
-
children: t,
|
|
263
|
-
className: r,
|
|
264
|
-
type: s,
|
|
265
|
-
purpose: l = "main",
|
|
266
|
-
...d
|
|
267
|
-
}) => {
|
|
268
|
-
const x = s ?? (l === "main" ? "submit" : "button");
|
|
269
|
-
return /* @__PURE__ */ e.jsx(
|
|
270
|
-
Pt,
|
|
271
|
-
{
|
|
272
|
-
...d,
|
|
273
|
-
colorType: o,
|
|
274
|
-
type: x,
|
|
275
|
-
purpose: l,
|
|
276
|
-
className: nt("typo-h6 h-[50px] w-full", r),
|
|
277
|
-
children: t
|
|
278
|
-
}
|
|
279
|
-
);
|
|
280
|
-
}, Io = ({
|
|
281
|
-
purpose: o,
|
|
282
|
-
colorType: t,
|
|
283
|
-
left: { children: r, onClick: s, className: l, disabled: d },
|
|
284
|
-
right: {
|
|
285
|
-
children: x,
|
|
286
|
-
onClick: u,
|
|
287
|
-
className: p,
|
|
288
|
-
disabled: y,
|
|
289
|
-
type: h
|
|
290
|
-
}
|
|
291
|
-
}) => {
|
|
292
|
-
const b = o === "main" ? "gray" : t;
|
|
293
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "flex w-full gap-[10px]", children: [
|
|
294
|
-
/* @__PURE__ */ e.jsx(
|
|
295
|
-
L,
|
|
296
|
-
{
|
|
297
|
-
onClick: s,
|
|
298
|
-
colorType: b,
|
|
299
|
-
purpose: "sub",
|
|
300
|
-
disabled: d,
|
|
301
|
-
className: l,
|
|
302
|
-
children: r
|
|
303
|
-
}
|
|
304
|
-
),
|
|
305
|
-
/* @__PURE__ */ e.jsx(
|
|
306
|
-
L,
|
|
307
|
-
{
|
|
308
|
-
onClick: u,
|
|
309
|
-
colorType: t,
|
|
310
|
-
purpose: "main",
|
|
311
|
-
disabled: y,
|
|
312
|
-
className: p,
|
|
313
|
-
type: h || "submit",
|
|
314
|
-
children: x
|
|
315
|
-
}
|
|
316
|
-
)
|
|
317
|
-
] });
|
|
318
|
-
}, Oo = 5, Ht = n.button`
|
|
248
|
+
`, So = 5, Ot = r.button`
|
|
319
249
|
/* initialize button */
|
|
320
250
|
border: none;
|
|
321
251
|
outline: none;
|
|
@@ -349,7 +279,7 @@ const L = ({
|
|
|
349
279
|
color: ${N(o).disabledTextColor};
|
|
350
280
|
`}
|
|
351
281
|
}
|
|
352
|
-
${({ styleType: o, colorType: t, size:
|
|
282
|
+
${({ styleType: o, colorType: t, size: n }) => {
|
|
353
283
|
switch (o) {
|
|
354
284
|
case "icon":
|
|
355
285
|
return a`
|
|
@@ -364,7 +294,7 @@ const L = ({
|
|
|
364
294
|
case "underline":
|
|
365
295
|
return a`
|
|
366
296
|
${(() => {
|
|
367
|
-
switch (
|
|
297
|
+
switch (n) {
|
|
368
298
|
case "s":
|
|
369
299
|
return a`
|
|
370
300
|
height: 28px;
|
|
@@ -387,34 +317,34 @@ const L = ({
|
|
|
387
317
|
switch (o) {
|
|
388
318
|
case "s":
|
|
389
319
|
return a`
|
|
390
|
-
${
|
|
320
|
+
${L.title4};
|
|
391
321
|
`;
|
|
392
322
|
case "m":
|
|
393
323
|
return a`
|
|
394
|
-
${
|
|
324
|
+
${L.title3};
|
|
395
325
|
`;
|
|
396
326
|
}
|
|
397
327
|
}}
|
|
398
|
-
`,
|
|
399
|
-
padding-left: ${
|
|
328
|
+
`, tn = r.div`
|
|
329
|
+
padding-left: ${So}px;
|
|
400
330
|
|
|
401
331
|
display: flex;
|
|
402
332
|
align-items: center;
|
|
403
|
-
`, Co = (o) => /* @__PURE__ */ e.jsx(
|
|
404
|
-
padding: 0 ${
|
|
333
|
+
`, Co = (o) => /* @__PURE__ */ e.jsx(Ot, { ...o, type: "button" }), yo = r.div`
|
|
334
|
+
padding: 0 ${So}px;
|
|
405
335
|
|
|
406
336
|
text-decoration: underline;
|
|
407
337
|
text-underline-position: under;
|
|
408
|
-
`,
|
|
338
|
+
`, Mt = r.a`
|
|
409
339
|
text-decoration: none;
|
|
410
|
-
`,
|
|
340
|
+
`, Nt = ({
|
|
411
341
|
size: o,
|
|
412
342
|
colorType: t,
|
|
413
|
-
children:
|
|
343
|
+
children: n,
|
|
414
344
|
url: s,
|
|
415
|
-
onClick:
|
|
416
|
-
disabled:
|
|
417
|
-
}) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s ? /* @__PURE__ */ e.jsx(
|
|
345
|
+
onClick: d,
|
|
346
|
+
disabled: c = !1
|
|
347
|
+
}) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s ? /* @__PURE__ */ e.jsx(Mt, { href: s, target: "_blank", children: /* @__PURE__ */ e.jsx(Co, { styleType: "underline", disabled: c, colorType: t, size: o, children: /* @__PURE__ */ e.jsx(yo, { children: n }) }) }) : /* @__PURE__ */ e.jsx(Co, { styleType: "underline", onClick: d, disabled: c, colorType: t, size: o, children: /* @__PURE__ */ e.jsx(yo, { children: n }) }) }), en = r.input`
|
|
418
348
|
box-sizing: border-box;
|
|
419
349
|
-webkit-appearance: none;
|
|
420
350
|
appearance: none;
|
|
@@ -447,7 +377,7 @@ const L = ({
|
|
|
447
377
|
innerWrapper: "datepicker-inner-wrapper",
|
|
448
378
|
dot: "datepicker-dot",
|
|
449
379
|
rangeBackgroundWrapper: "datepicker-range-background-wrapper"
|
|
450
|
-
},
|
|
380
|
+
}, j = 100, rn = r.div`
|
|
451
381
|
width: 5px;
|
|
452
382
|
height: 5px;
|
|
453
383
|
border-radius: 50%;
|
|
@@ -456,14 +386,14 @@ const L = ({
|
|
|
456
386
|
left: 47%;
|
|
457
387
|
bottom: 5.86px;
|
|
458
388
|
`, R = a`
|
|
459
|
-
width: ${
|
|
460
|
-
height: ${
|
|
461
|
-
`, I =
|
|
389
|
+
width: ${j}%;
|
|
390
|
+
height: ${j}%;
|
|
391
|
+
`, I = r.div`
|
|
462
392
|
${R};
|
|
463
393
|
position: relative;
|
|
464
394
|
/* height가 안 정해진 상태에서 height = width 적용되는 방법 */
|
|
465
|
-
padding-bottom: ${
|
|
466
|
-
`,
|
|
395
|
+
padding-bottom: ${j}%;
|
|
396
|
+
`, nn = r.div`
|
|
467
397
|
${R};
|
|
468
398
|
|
|
469
399
|
position: absolute;
|
|
@@ -472,7 +402,7 @@ const L = ({
|
|
|
472
402
|
${({ rangeBackgroundColor: o }) => o && a`
|
|
473
403
|
background: ${o};
|
|
474
404
|
`}
|
|
475
|
-
`,
|
|
405
|
+
`, an = r.div`
|
|
476
406
|
${R};
|
|
477
407
|
|
|
478
408
|
position: absolute;
|
|
@@ -488,40 +418,40 @@ const L = ({
|
|
|
488
418
|
${({ circleBackgroundColor: o }) => o && a`
|
|
489
419
|
background-color: ${o};
|
|
490
420
|
`};
|
|
491
|
-
`,
|
|
421
|
+
`, sn = r(I)``, ln = r(I)`
|
|
492
422
|
cursor: pointer;
|
|
493
423
|
|
|
494
424
|
.${w.innerWrapper} {
|
|
495
425
|
:hover {
|
|
496
|
-
background-color: ${({ colorType: o }) =>
|
|
426
|
+
background-color: ${({ colorType: o }) => Yo(o).hoverContainerColor};
|
|
497
427
|
}
|
|
498
428
|
}
|
|
499
429
|
|
|
500
430
|
.${w.dot} {
|
|
501
431
|
background-color: ${i.gray200};
|
|
502
432
|
}
|
|
503
|
-
`,
|
|
433
|
+
`, dn = r(I)`
|
|
504
434
|
cursor: not-allowed;
|
|
505
435
|
|
|
506
436
|
.${w.dot} {
|
|
507
437
|
background-color: ${i.gray100};
|
|
508
438
|
}
|
|
509
|
-
`,
|
|
439
|
+
`, Oo = r(I)`
|
|
510
440
|
cursor: pointer;
|
|
511
441
|
|
|
512
442
|
.${w.dot} {
|
|
513
443
|
background-color: ${i.white};
|
|
514
444
|
}
|
|
515
|
-
`,
|
|
445
|
+
`, cn = r(Oo)`
|
|
516
446
|
.${w.rangeBackgroundWrapper} {
|
|
517
|
-
left: ${
|
|
518
|
-
width: ${
|
|
447
|
+
left: ${j / 2}%;
|
|
448
|
+
width: ${j / 2}%;
|
|
519
449
|
}
|
|
520
|
-
`,
|
|
450
|
+
`, pn = r(Oo)`
|
|
521
451
|
.${w.rangeBackgroundWrapper} {
|
|
522
|
-
width: ${
|
|
452
|
+
width: ${j / 2}%;
|
|
523
453
|
}
|
|
524
|
-
`,
|
|
454
|
+
`, xn = r(I)``, un = r.div`
|
|
525
455
|
${R};
|
|
526
456
|
|
|
527
457
|
position: absolute;
|
|
@@ -531,257 +461,282 @@ const L = ({
|
|
|
531
461
|
flex-direction: column;
|
|
532
462
|
justify-content: center;
|
|
533
463
|
align-items: center;
|
|
534
|
-
`,
|
|
535
|
-
({ className: o, visible: t, onClick:
|
|
536
|
-
const [
|
|
537
|
-
p.target === p.currentTarget && (
|
|
464
|
+
`, Mo = _.memo(
|
|
465
|
+
({ className: o, visible: t, onClick: n, zIndex: s = C.modal, children: d }) => {
|
|
466
|
+
const [c, x] = k(!1), g = (p) => {
|
|
467
|
+
p.target === p.currentTarget && (n == null || n());
|
|
538
468
|
};
|
|
539
|
-
return
|
|
469
|
+
return T(() => {
|
|
540
470
|
let p;
|
|
541
471
|
return t ? x(!0) : p = setTimeout(() => x(!1), 400), () => {
|
|
542
472
|
p !== void 0 && clearTimeout(p);
|
|
543
473
|
};
|
|
544
|
-
}, [t]), ko(t),
|
|
474
|
+
}, [t]), ko(t), c ? /* @__PURE__ */ e.jsx($t, { className: o, visible: t, zIndex: s, onClick: g, children: d }) : null;
|
|
545
475
|
}
|
|
546
|
-
), oo = (o) => /* @__PURE__ */ e.jsx(To, { children: /* @__PURE__ */ e.jsx(
|
|
547
|
-
|
|
548
|
-
|
|
476
|
+
), oo = (o) => /* @__PURE__ */ e.jsx(To, { children: /* @__PURE__ */ e.jsx(H, { ...o }) }), to = (o) => /* @__PURE__ */ e.jsx(To, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-full gap-[10px]", children: [
|
|
477
|
+
/* @__PURE__ */ e.jsx(
|
|
478
|
+
H,
|
|
479
|
+
{
|
|
480
|
+
...o.left,
|
|
481
|
+
onClick: o.left.onClick,
|
|
482
|
+
colorType: o.left.colorType,
|
|
483
|
+
purpose: "sub",
|
|
484
|
+
disabled: o.left.disabled,
|
|
485
|
+
className: o.left.className,
|
|
486
|
+
children: o.left.children
|
|
487
|
+
}
|
|
488
|
+
),
|
|
489
|
+
/* @__PURE__ */ e.jsx(
|
|
490
|
+
H,
|
|
491
|
+
{
|
|
492
|
+
onClick: o.right.onClick,
|
|
493
|
+
colorType: o.right.colorType,
|
|
494
|
+
purpose: "main",
|
|
495
|
+
disabled: o.right.disabled,
|
|
496
|
+
className: o.right.className,
|
|
497
|
+
type: o.right.type || "submit",
|
|
498
|
+
children: o.right.children
|
|
499
|
+
}
|
|
500
|
+
)
|
|
501
|
+
] }) }), eo = ({ children: o, ...t }) => {
|
|
502
|
+
const n = Bo(null);
|
|
503
|
+
return T(() => {
|
|
549
504
|
var s;
|
|
550
|
-
(s =
|
|
551
|
-
}, []), /* @__PURE__ */ e.jsx(
|
|
552
|
-
}, F = ({ children: o }) => /* @__PURE__ */ e.jsx(
|
|
505
|
+
(s = n.current) == null || s.scroll(0, 0);
|
|
506
|
+
}, []), /* @__PURE__ */ e.jsx(ht, { ref: n, ...t, children: o });
|
|
507
|
+
}, F = ({ children: o }) => /* @__PURE__ */ e.jsx(gt, { children: o }), ro = ({
|
|
553
508
|
visible: o,
|
|
554
509
|
onMaskClick: t,
|
|
555
|
-
className:
|
|
510
|
+
className: n,
|
|
556
511
|
zIndex: s = C.modal,
|
|
557
|
-
minHeight:
|
|
558
|
-
children:
|
|
512
|
+
minHeight: d,
|
|
513
|
+
children: c
|
|
559
514
|
}) => {
|
|
560
|
-
const [x,
|
|
561
|
-
|
|
515
|
+
const [x, g] = k(0), p = B(() => {
|
|
516
|
+
g(window == null ? void 0 : window.innerHeight);
|
|
562
517
|
}, []);
|
|
563
|
-
return
|
|
518
|
+
return T(() => {
|
|
564
519
|
p();
|
|
565
|
-
}, [p]),
|
|
566
|
-
},
|
|
520
|
+
}, [p]), wt(p), ko(o), o ? /* @__PURE__ */ e.jsx(Mo, { visible: o, className: n, onClick: t, zIndex: s, children: /* @__PURE__ */ e.jsx(ut, { children: /* @__PURE__ */ e.jsx(mt, { visible: o, zIndex: s, minHeight: d, vh: x, children: c }) }) }) : null;
|
|
521
|
+
}, mn = Object.assign(ro, {
|
|
567
522
|
SingleButton: oo,
|
|
568
523
|
DoubleButton: to,
|
|
569
524
|
Body: eo,
|
|
570
525
|
Header: F
|
|
571
|
-
}),
|
|
526
|
+
}), Dt = ({
|
|
572
527
|
title: o,
|
|
573
528
|
titleColor: t,
|
|
574
|
-
leftChildren:
|
|
529
|
+
leftChildren: n,
|
|
575
530
|
rightChildren: s,
|
|
576
|
-
zIndex:
|
|
577
|
-
backgroundColor:
|
|
578
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
579
|
-
|
|
580
|
-
o && /* @__PURE__ */ e.jsx(
|
|
581
|
-
s && /* @__PURE__ */ e.jsx(
|
|
582
|
-
] }),
|
|
531
|
+
zIndex: d = C.gnb,
|
|
532
|
+
backgroundColor: c
|
|
533
|
+
}) => /* @__PURE__ */ e.jsxs(ct, { backgroundColor: c, zIndex: d, children: [
|
|
534
|
+
n && /* @__PURE__ */ e.jsx(pt, { children: n }),
|
|
535
|
+
o && /* @__PURE__ */ e.jsx(Wt, { color: t, children: o }),
|
|
536
|
+
s && /* @__PURE__ */ e.jsx(xt, { children: s })
|
|
537
|
+
] }), Pt = ({
|
|
583
538
|
contentColor: o,
|
|
584
539
|
hasBackgroundColor: t,
|
|
585
|
-
leftArea:
|
|
540
|
+
leftArea: n,
|
|
586
541
|
rightArea: s,
|
|
587
|
-
...
|
|
542
|
+
...d
|
|
588
543
|
}) => {
|
|
589
|
-
const
|
|
590
|
-
const
|
|
591
|
-
|
|
544
|
+
const c = P[o].icon, x = P[o].title, g = P[o].rightText, p = P[o].backgroundColor, S = fo(() => {
|
|
545
|
+
const $ = () => {
|
|
546
|
+
n == null || n.handleClickButton();
|
|
592
547
|
};
|
|
593
|
-
switch (
|
|
548
|
+
switch (n == null ? void 0 : n.type) {
|
|
594
549
|
case "backIcon":
|
|
595
|
-
return /* @__PURE__ */ e.jsx(Z, { onClick:
|
|
550
|
+
return /* @__PURE__ */ e.jsx(Z, { onClick: $, children: /* @__PURE__ */ e.jsx(ot, { fillColor: x }) });
|
|
596
551
|
default:
|
|
597
552
|
return;
|
|
598
553
|
}
|
|
599
|
-
}, [
|
|
600
|
-
const
|
|
554
|
+
}, [n, x]), f = fo(() => {
|
|
555
|
+
const $ = () => {
|
|
601
556
|
s == null || s.handleClickButton();
|
|
602
557
|
};
|
|
603
558
|
switch (s == null ? void 0 : s.type) {
|
|
604
559
|
case "closeIcon":
|
|
605
|
-
return /* @__PURE__ */ e.jsx(Z, { onClick:
|
|
560
|
+
return /* @__PURE__ */ e.jsx(Z, { onClick: $, children: /* @__PURE__ */ e.jsx(Ao, { fillColor: c }) });
|
|
606
561
|
case "icon":
|
|
607
|
-
return /* @__PURE__ */ e.jsx(Z, { onClick:
|
|
562
|
+
return /* @__PURE__ */ e.jsx(Z, { onClick: $, children: /* @__PURE__ */ e.jsx(s.children, { fillColor: x }) });
|
|
608
563
|
case "text":
|
|
609
|
-
return /* @__PURE__ */ e.jsx(
|
|
564
|
+
return /* @__PURE__ */ e.jsx(dt, { onClick: $, children: /* @__PURE__ */ e.jsx(E, { color: g, children: s.children }) });
|
|
610
565
|
default:
|
|
611
566
|
return;
|
|
612
567
|
}
|
|
613
|
-
}, [
|
|
568
|
+
}, [c, x, g, s]);
|
|
614
569
|
return /* @__PURE__ */ e.jsx(
|
|
615
|
-
|
|
570
|
+
Dt,
|
|
616
571
|
{
|
|
617
572
|
backgroundColor: t ? p : "transparent",
|
|
618
|
-
leftChildren:
|
|
573
|
+
leftChildren: S,
|
|
619
574
|
titleColor: x,
|
|
620
|
-
rightChildren:
|
|
621
|
-
...
|
|
575
|
+
rightChildren: f,
|
|
576
|
+
...d
|
|
622
577
|
}
|
|
623
578
|
);
|
|
624
|
-
},
|
|
579
|
+
}, Lt = ({ children: o }) => /* @__PURE__ */ e.jsx(F, { children: /* @__PURE__ */ e.jsx(jt, { children: o }) }), Ht = (o) => /* @__PURE__ */ e.jsx(Lt, { children: /* @__PURE__ */ e.jsx(Pt, { ...o }) }), gn = Object.assign(ro, {
|
|
625
580
|
Header: F,
|
|
626
|
-
Navigation:
|
|
581
|
+
Navigation: Ht,
|
|
627
582
|
Body: eo,
|
|
628
583
|
SingleButton: oo,
|
|
629
584
|
DoubleButton: to
|
|
630
|
-
}),
|
|
585
|
+
}), hn = _.forwardRef((o, t) => {
|
|
631
586
|
const {
|
|
632
|
-
realValue:
|
|
587
|
+
realValue: n,
|
|
633
588
|
postfix: s,
|
|
634
|
-
onBlur:
|
|
635
|
-
onFocus:
|
|
589
|
+
onBlur: d,
|
|
590
|
+
onFocus: c,
|
|
636
591
|
onClick: x,
|
|
637
|
-
disabled:
|
|
592
|
+
disabled: g,
|
|
638
593
|
label: p,
|
|
639
|
-
placeholder:
|
|
640
|
-
errorValidation:
|
|
641
|
-
logRocketMasking:
|
|
594
|
+
placeholder: S,
|
|
595
|
+
errorValidation: f,
|
|
596
|
+
logRocketMasking: $,
|
|
642
597
|
focus: U = !1,
|
|
643
598
|
max: ao,
|
|
644
599
|
decoration: so,
|
|
645
600
|
updateRealValue: lo,
|
|
646
601
|
formatRealValue: O,
|
|
647
|
-
formatDisplayValue:
|
|
602
|
+
formatDisplayValue: y,
|
|
648
603
|
type: co,
|
|
649
|
-
pattern:
|
|
650
|
-
...
|
|
651
|
-
} = o, [M,
|
|
652
|
-
(
|
|
653
|
-
if (
|
|
604
|
+
pattern: _o,
|
|
605
|
+
...Eo
|
|
606
|
+
} = o, [M, Ro] = k(""), [Fo, V] = k(""), [G, po] = k(U), v = Bo(null), q = G || !!M, xo = !p && !q && !!S, uo = B(
|
|
607
|
+
(l) => {
|
|
608
|
+
if (l.length === 0 || l === "0") {
|
|
654
609
|
V("");
|
|
655
610
|
return;
|
|
656
611
|
}
|
|
657
|
-
if (
|
|
658
|
-
for (let
|
|
659
|
-
if (!
|
|
660
|
-
V(
|
|
612
|
+
if (f)
|
|
613
|
+
for (let u = 0; u < f.length; u++)
|
|
614
|
+
if (!f[u].condition(l) && l.length !== 0) {
|
|
615
|
+
V(f[u].errorText);
|
|
661
616
|
break;
|
|
662
617
|
} else
|
|
663
618
|
V("");
|
|
664
619
|
},
|
|
665
|
-
[
|
|
666
|
-
), mo =
|
|
667
|
-
const { type:
|
|
668
|
-
po(
|
|
669
|
-
}, []), go =
|
|
670
|
-
(
|
|
671
|
-
var
|
|
672
|
-
x == null || x(
|
|
620
|
+
[f]
|
|
621
|
+
), mo = B((l) => {
|
|
622
|
+
const { type: u } = l;
|
|
623
|
+
po(u === "focus");
|
|
624
|
+
}, []), go = B(
|
|
625
|
+
(l) => {
|
|
626
|
+
var u;
|
|
627
|
+
x == null || x(l), (u = v.current) == null || u.focus();
|
|
673
628
|
},
|
|
674
|
-
[x,
|
|
675
|
-
),
|
|
676
|
-
(
|
|
677
|
-
const
|
|
678
|
-
ho && !isNaN(bo) && bo > ho || lo(
|
|
629
|
+
[x, v]
|
|
630
|
+
), Uo = B(
|
|
631
|
+
(l) => {
|
|
632
|
+
const u = (O == null ? void 0 : O(l)) || l, ho = Number(ao), bo = Number(u);
|
|
633
|
+
ho && !isNaN(bo) && bo > ho || lo(u);
|
|
679
634
|
},
|
|
680
635
|
[ao, lo, O]
|
|
681
636
|
);
|
|
682
|
-
return
|
|
683
|
-
let
|
|
684
|
-
|
|
685
|
-
}, [
|
|
686
|
-
var
|
|
687
|
-
U && ((
|
|
688
|
-
}, [
|
|
689
|
-
|
|
637
|
+
return T(() => {
|
|
638
|
+
let l = n;
|
|
639
|
+
y && (l = (y == null ? void 0 : y(l)) || ""), Ro(l), uo(n);
|
|
640
|
+
}, [y, uo, n]), T(() => {
|
|
641
|
+
var l;
|
|
642
|
+
U && ((l = v.current) == null || l.focus());
|
|
643
|
+
}, [v, U]), /* @__PURE__ */ e.jsxs(
|
|
644
|
+
lt,
|
|
690
645
|
{
|
|
691
646
|
label: p,
|
|
692
647
|
active: q,
|
|
693
648
|
focused: G,
|
|
694
|
-
disabled: !!
|
|
695
|
-
errorText:
|
|
649
|
+
disabled: !!g,
|
|
650
|
+
errorText: Fo,
|
|
696
651
|
handleClickInput: go,
|
|
697
652
|
children: [
|
|
698
|
-
/* @__PURE__ */ e.jsxs(
|
|
699
|
-
/* @__PURE__ */ e.jsx(
|
|
700
|
-
|
|
653
|
+
/* @__PURE__ */ e.jsxs(et, { children: [
|
|
654
|
+
/* @__PURE__ */ e.jsx(rt, { focused: G, displayValue: M, children: /* @__PURE__ */ e.jsx(
|
|
655
|
+
nt,
|
|
701
656
|
{
|
|
702
|
-
...
|
|
703
|
-
className:
|
|
657
|
+
...Eo,
|
|
658
|
+
className: it.inputTag,
|
|
704
659
|
hasLabel: !!p,
|
|
705
|
-
placeholder: xo ?
|
|
706
|
-
"data-private":
|
|
707
|
-
ref: t ||
|
|
660
|
+
placeholder: xo ? S : "",
|
|
661
|
+
"data-private": $,
|
|
662
|
+
ref: t || v,
|
|
708
663
|
name: p,
|
|
709
|
-
disabled:
|
|
710
|
-
value:
|
|
711
|
-
onChange: (
|
|
712
|
-
const
|
|
713
|
-
|
|
664
|
+
disabled: g,
|
|
665
|
+
value: y ? M : n,
|
|
666
|
+
onChange: (l) => {
|
|
667
|
+
const u = l.currentTarget.value;
|
|
668
|
+
Uo(u);
|
|
714
669
|
},
|
|
715
|
-
onFocus: (
|
|
716
|
-
|
|
670
|
+
onFocus: (l) => {
|
|
671
|
+
c == null || c(l), mo(l);
|
|
717
672
|
},
|
|
718
|
-
onBlur: (
|
|
719
|
-
|
|
673
|
+
onBlur: (l) => {
|
|
674
|
+
d == null || d(l), mo(l);
|
|
720
675
|
},
|
|
721
676
|
decoration: !1,
|
|
722
|
-
pattern: co === "number" ? "\\d*" :
|
|
677
|
+
pattern: co === "number" ? "\\d*" : _o,
|
|
723
678
|
type: co,
|
|
724
679
|
onClick: go,
|
|
725
680
|
size: xo ? void 0 : 1
|
|
726
681
|
}
|
|
727
682
|
) }),
|
|
728
|
-
/* @__PURE__ */ e.jsx(
|
|
683
|
+
/* @__PURE__ */ e.jsx(at, { children: q && /* @__PURE__ */ e.jsx(st, { hasLabel: !!p, hasValue: !!M, children: /* @__PURE__ */ e.jsx(W, { md: "Title1", color: g ? i.gray200 : void 0, children: s }) }) })
|
|
729
684
|
] }),
|
|
730
|
-
so && /* @__PURE__ */ e.jsx(
|
|
685
|
+
so && /* @__PURE__ */ e.jsx(tt, { disabled: g, children: so })
|
|
731
686
|
]
|
|
732
687
|
}
|
|
733
688
|
);
|
|
734
|
-
}),
|
|
689
|
+
}), bn = r.div`
|
|
735
690
|
position: absolute;
|
|
736
691
|
width: 100%;
|
|
737
692
|
top: 0;
|
|
738
693
|
height: 3px;
|
|
739
694
|
background-color: ${i.gray50};
|
|
740
|
-
`,
|
|
695
|
+
`, fn = r.div`
|
|
741
696
|
width: ${({ progress: o }) => o}%;
|
|
742
|
-
background-color: ${({ colorType: o }) =>
|
|
697
|
+
background-color: ${({ colorType: o }) => yt(o).upperColor};
|
|
743
698
|
height: 100%;
|
|
744
699
|
transition: width 3s ease-in-out;
|
|
745
|
-
`,
|
|
700
|
+
`, No = {
|
|
746
701
|
subTitle: "title-bottom-sheet-sub-title"
|
|
747
|
-
},
|
|
702
|
+
}, zt = r(E)`
|
|
748
703
|
color: ${i.gray400};
|
|
749
|
-
`,
|
|
750
|
-
padding: 25px ${({ contentPadding: o }) => `${o ? 0 : `${
|
|
704
|
+
`, _t = r.div`
|
|
705
|
+
padding: 25px ${({ contentPadding: o }) => `${o ? 0 : `${bt}px`}`};
|
|
751
706
|
|
|
752
|
-
.${
|
|
707
|
+
.${No.subTitle} {
|
|
753
708
|
margin-top: 10px;
|
|
754
709
|
}
|
|
755
|
-
`,
|
|
710
|
+
`, Do = r.div`
|
|
756
711
|
margin-top: 25px;
|
|
757
|
-
`,
|
|
712
|
+
`, Et = ({ title: o, subTitle: t, hasContentPadding: n = !0 }) => /* @__PURE__ */ e.jsxs(_t, { contentPadding: n, children: [
|
|
758
713
|
o && /* @__PURE__ */ e.jsx(Wo, { children: o }),
|
|
759
|
-
t && /* @__PURE__ */ e.jsx(
|
|
760
|
-
] }),
|
|
714
|
+
t && /* @__PURE__ */ e.jsx(zt, { className: No.subTitle, children: t })
|
|
715
|
+
] }), Rt = (o) => /* @__PURE__ */ e.jsx(Do, { children: /* @__PURE__ */ e.jsx(oo, { ...o }) }), Ft = (o) => /* @__PURE__ */ e.jsx(Do, { children: /* @__PURE__ */ e.jsx(to, { ...o }) }), $n = Object.assign(ro, {
|
|
761
716
|
Header: F,
|
|
762
717
|
Body: eo,
|
|
763
|
-
Title:
|
|
764
|
-
SingleButton:
|
|
765
|
-
DoubleButton:
|
|
766
|
-
}),
|
|
718
|
+
Title: Et,
|
|
719
|
+
SingleButton: Rt,
|
|
720
|
+
DoubleButton: Ft
|
|
721
|
+
}), Ut = r.div`
|
|
767
722
|
& > div > .select-box {
|
|
768
723
|
cursor: pointer;
|
|
769
724
|
}
|
|
770
725
|
position: relative;
|
|
771
|
-
`,
|
|
726
|
+
`, Vt = r.div`
|
|
772
727
|
position: absolute;
|
|
773
728
|
z-index: ${C.basicLayer + 1};
|
|
774
729
|
width: 100%;
|
|
775
730
|
height: max-content;
|
|
776
731
|
|
|
777
|
-
${
|
|
732
|
+
${m(a`
|
|
778
733
|
top: 70px;
|
|
779
734
|
`)}
|
|
780
|
-
`,
|
|
735
|
+
`, Gt = r.div`
|
|
781
736
|
height: 80px;
|
|
782
737
|
pointer-events: none;
|
|
783
|
-
`,
|
|
784
|
-
box-shadow: 0 2px 10px ${
|
|
738
|
+
`, qt = r.div`
|
|
739
|
+
box-shadow: 0 2px 10px ${jo(i.black, "20%")};
|
|
785
740
|
background-color: ${i.white};
|
|
786
741
|
border-radius: 10px;
|
|
787
742
|
display: flex;
|
|
@@ -789,7 +744,7 @@ const L = ({
|
|
|
789
744
|
gap: 4px;
|
|
790
745
|
max-height: ${65 * 4.5}px;
|
|
791
746
|
overflow-y: scroll;
|
|
792
|
-
`,
|
|
747
|
+
`, Zt = r.div`
|
|
793
748
|
width: 100%;
|
|
794
749
|
height: 50px;
|
|
795
750
|
padding: 15px 25px;
|
|
@@ -814,7 +769,7 @@ const L = ({
|
|
|
814
769
|
&:active {
|
|
815
770
|
background-color: ${i.gray50};
|
|
816
771
|
}
|
|
817
|
-
`,
|
|
772
|
+
`, Jt = r.div`
|
|
818
773
|
position: absolute;
|
|
819
774
|
z-index: 10;
|
|
820
775
|
right: 20px;
|
|
@@ -822,30 +777,30 @@ const L = ({
|
|
|
822
777
|
cursor: pointer;
|
|
823
778
|
transform: ${({ rotateArrow: o }) => o ? "rotate(180deg)" : "rotate(0)"};
|
|
824
779
|
pointer-events: none;
|
|
825
|
-
`,
|
|
826
|
-
${
|
|
780
|
+
`, Kt = r.div`
|
|
781
|
+
${h(a`
|
|
827
782
|
display: none;
|
|
828
783
|
`)}
|
|
829
|
-
`,
|
|
830
|
-
${
|
|
784
|
+
`, Qt = r.div`
|
|
785
|
+
${m(a`
|
|
831
786
|
display: none;
|
|
832
787
|
`)}
|
|
833
|
-
`,
|
|
788
|
+
`, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
834
789
|
__proto__: null,
|
|
835
|
-
Desktop:
|
|
836
|
-
IconWrapper:
|
|
837
|
-
Item:
|
|
838
|
-
ItemList:
|
|
839
|
-
ItemListWrapper:
|
|
840
|
-
ListBottomMargin:
|
|
841
|
-
Mobile:
|
|
842
|
-
Wrapper:
|
|
843
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
790
|
+
Desktop: Kt,
|
|
791
|
+
IconWrapper: Jt,
|
|
792
|
+
Item: Zt,
|
|
793
|
+
ItemList: qt,
|
|
794
|
+
ItemListWrapper: Vt,
|
|
795
|
+
ListBottomMargin: Gt,
|
|
796
|
+
Mobile: Qt,
|
|
797
|
+
Wrapper: Ut
|
|
798
|
+
}, Symbol.toStringTag, { value: "Module" })), Xt = {
|
|
844
799
|
Text: "chip-item-text"
|
|
845
|
-
},
|
|
800
|
+
}, Po = 38, yn = r.span`
|
|
846
801
|
display: inline-flex;
|
|
847
802
|
min-width: max-content;
|
|
848
|
-
height: ${
|
|
803
|
+
height: ${Po}px;
|
|
849
804
|
gap: 2px;
|
|
850
805
|
padding: 8px 0 8px 12px;
|
|
851
806
|
padding-right: ${({ hasRightIcon: o }) => o ? "7px" : "12px"};
|
|
@@ -853,16 +808,16 @@ const L = ({
|
|
|
853
808
|
|
|
854
809
|
border-radius: 22px;
|
|
855
810
|
|
|
856
|
-
${({ disabled: o, selected: t, colorType:
|
|
857
|
-
const s =
|
|
811
|
+
${({ disabled: o, selected: t, colorType: n }) => {
|
|
812
|
+
const s = vt(n), d = o ? "disabled" : "default", c = t ? "on" : "off";
|
|
858
813
|
return a`
|
|
859
|
-
background-color: ${s[
|
|
860
|
-
border: 1px solid ${s[
|
|
861
|
-
.${
|
|
862
|
-
color: ${s[
|
|
814
|
+
background-color: ${s[d][c].containerColor};
|
|
815
|
+
border: 1px solid ${s[d][c].borderColor};
|
|
816
|
+
.${Xt.Text} {
|
|
817
|
+
color: ${s[d][c].textColor};
|
|
863
818
|
}
|
|
864
819
|
svg > path {
|
|
865
|
-
fill: ${s[
|
|
820
|
+
fill: ${s[d][c].iconColor};
|
|
866
821
|
}
|
|
867
822
|
`;
|
|
868
823
|
}}
|
|
@@ -870,19 +825,19 @@ const L = ({
|
|
|
870
825
|
${({ selected: o }) => !o && a`
|
|
871
826
|
cursor: pointer;
|
|
872
827
|
`}
|
|
873
|
-
`,
|
|
828
|
+
`, wn = r.span`
|
|
874
829
|
cursor: pointer;
|
|
875
830
|
display: flex;
|
|
876
831
|
`, Lo = {
|
|
877
832
|
ControlIconContainer: 2
|
|
878
|
-
}, z =
|
|
833
|
+
}, z = Po, Yt = 25, At = i.white, jn = r.div`
|
|
879
834
|
display: flex;
|
|
880
835
|
align-items: center;
|
|
881
836
|
position: relative;
|
|
882
837
|
overflow: hidden;
|
|
883
838
|
|
|
884
839
|
width: 100%;
|
|
885
|
-
`,
|
|
840
|
+
`, vn = r.div`
|
|
886
841
|
${A}
|
|
887
842
|
|
|
888
843
|
display: flex;
|
|
@@ -893,7 +848,7 @@ const L = ({
|
|
|
893
848
|
padding-left: ${z + 8}px;
|
|
894
849
|
`}
|
|
895
850
|
padding-right: 20px;
|
|
896
|
-
`,
|
|
851
|
+
`, Bn = r.div`
|
|
897
852
|
cursor: pointer;
|
|
898
853
|
position: absolute;
|
|
899
854
|
left: 0;
|
|
@@ -901,11 +856,11 @@ const L = ({
|
|
|
901
856
|
|
|
902
857
|
z-index: ${Lo.ControlIconContainer};
|
|
903
858
|
|
|
904
|
-
background-color: ${
|
|
859
|
+
background-color: ${At};
|
|
905
860
|
width: ${z}px;
|
|
906
861
|
height: ${z}px;
|
|
907
|
-
`,
|
|
908
|
-
width: ${
|
|
862
|
+
`, kn = r.div`
|
|
863
|
+
width: ${Yt}px;
|
|
909
864
|
height: 100%;
|
|
910
865
|
|
|
911
866
|
/* TODO: 컬러, 범위, 여백 수정 필요 */
|
|
@@ -914,7 +869,7 @@ const L = ({
|
|
|
914
869
|
position: absolute;
|
|
915
870
|
left: ${z}px;
|
|
916
871
|
top: 0;
|
|
917
|
-
`,
|
|
872
|
+
`, Tn = r.div`
|
|
918
873
|
width: 100%;
|
|
919
874
|
height: 100%;
|
|
920
875
|
border-radius: 50%;
|
|
@@ -927,8 +882,8 @@ const L = ({
|
|
|
927
882
|
position: absolute;
|
|
928
883
|
left: 0;
|
|
929
884
|
top: 0;
|
|
930
|
-
`,
|
|
931
|
-
Item:
|
|
885
|
+
`, Wn = {
|
|
886
|
+
Item: r.div`
|
|
932
887
|
display: inline-block;
|
|
933
888
|
padding-top: 15px;
|
|
934
889
|
padding-bottom: 11px;
|
|
@@ -939,14 +894,14 @@ const L = ({
|
|
|
939
894
|
|
|
940
895
|
position: relative;
|
|
941
896
|
${({ active: o, colorType: t }) => o ? a`
|
|
942
|
-
${Y({ color:
|
|
943
|
-
border-bottom: 2px solid ${
|
|
897
|
+
${Y({ color: b(t).on.textColor })};
|
|
898
|
+
border-bottom: 2px solid ${b(t).on.barColor};
|
|
944
899
|
` : a`
|
|
945
|
-
${X({ color:
|
|
946
|
-
border-bottom: 2px solid ${
|
|
900
|
+
${X({ color: b(t).off.textColor })};
|
|
901
|
+
border-bottom: 2px solid ${b(t).off.barColor};
|
|
947
902
|
`};
|
|
948
903
|
`,
|
|
949
|
-
Wrapper:
|
|
904
|
+
Wrapper: r.div`
|
|
950
905
|
display: flex;
|
|
951
906
|
gap: 0px;
|
|
952
907
|
|
|
@@ -957,8 +912,8 @@ const L = ({
|
|
|
957
912
|
|
|
958
913
|
border-bottom: 1px solid ${i.gray50};
|
|
959
914
|
`
|
|
960
|
-
},
|
|
961
|
-
Item:
|
|
915
|
+
}, In = {
|
|
916
|
+
Item: r.div`
|
|
962
917
|
display: inline-block;
|
|
963
918
|
padding: 16px 0;
|
|
964
919
|
cursor: pointer;
|
|
@@ -968,14 +923,14 @@ const L = ({
|
|
|
968
923
|
|
|
969
924
|
position: relative;
|
|
970
925
|
${({ active: o, colorType: t }) => o ? a`
|
|
971
|
-
${Y({ color:
|
|
972
|
-
border-bottom: 2px solid ${
|
|
926
|
+
${Y({ color: b(t).on.textColor })};
|
|
927
|
+
border-bottom: 2px solid ${b(t).on.barColor};
|
|
973
928
|
` : a`
|
|
974
|
-
${X({ color:
|
|
975
|
-
border-bottom: 2px solid ${
|
|
929
|
+
${X({ color: b(t).off.textColor })};
|
|
930
|
+
border-bottom: 2px solid ${b(t).off.barColor};
|
|
976
931
|
`};
|
|
977
932
|
`,
|
|
978
|
-
Wrapper:
|
|
933
|
+
Wrapper: r.div`
|
|
979
934
|
${A}
|
|
980
935
|
|
|
981
936
|
display: flex;
|
|
@@ -986,7 +941,7 @@ const L = ({
|
|
|
986
941
|
|
|
987
942
|
white-space: nowrap;
|
|
988
943
|
|
|
989
|
-
${
|
|
944
|
+
${h(a`
|
|
990
945
|
/* Mobile) 에만 좌우 여백 추가 */
|
|
991
946
|
padding-left: 20px;
|
|
992
947
|
padding-right: 20px;
|
|
@@ -994,19 +949,19 @@ const L = ({
|
|
|
994
949
|
|
|
995
950
|
border-bottom: 1px solid ${i.gray50};
|
|
996
951
|
`
|
|
997
|
-
},
|
|
952
|
+
}, Sn = r.div`
|
|
998
953
|
overflow: hidden;
|
|
999
|
-
`,
|
|
954
|
+
`, On = r.div`
|
|
1000
955
|
${A}
|
|
1001
956
|
|
|
1002
957
|
display: flex;
|
|
1003
958
|
gap: 7px;
|
|
1004
959
|
|
|
1005
960
|
padding: 0 20px;
|
|
1006
|
-
${
|
|
961
|
+
${m(a`
|
|
1007
962
|
padding: 0;
|
|
1008
963
|
`)}
|
|
1009
|
-
`,
|
|
964
|
+
`, Mn = r.div`
|
|
1010
965
|
cursor: pointer;
|
|
1011
966
|
padding: 8px 12px;
|
|
1012
967
|
min-width: fit-content;
|
|
@@ -1014,13 +969,13 @@ const L = ({
|
|
|
1014
969
|
${Q()}
|
|
1015
970
|
|
|
1016
971
|
${({ colorType: o, status: t }) => {
|
|
1017
|
-
const { textColor:
|
|
972
|
+
const { textColor: n, containerColor: s } = Bt(o)[t];
|
|
1018
973
|
return a`
|
|
1019
|
-
color: ${
|
|
974
|
+
color: ${n};
|
|
1020
975
|
background: ${s};
|
|
1021
976
|
`;
|
|
1022
977
|
}}
|
|
1023
|
-
`,
|
|
978
|
+
`, Nn = r.div`
|
|
1024
979
|
${({ type: o, colorType: t }) => Q({ color: $o({ type: o, colorType: t }).textColor })};
|
|
1025
980
|
background-color: ${({ type: o, colorType: t }) => $o({ type: o, colorType: t }).backgroundColor};
|
|
1026
981
|
|
|
@@ -1031,64 +986,64 @@ const L = ({
|
|
|
1031
986
|
align-items: center;
|
|
1032
987
|
justify-content: center;
|
|
1033
988
|
display: ${({ inline: o }) => o ? "inline-flex" : "flex"};
|
|
1034
|
-
`,
|
|
1035
|
-
${
|
|
989
|
+
`, Dn = r.div`
|
|
990
|
+
${h(a`
|
|
1036
991
|
padding: 25px 0;
|
|
1037
992
|
`)}
|
|
1038
993
|
|
|
1039
|
-
${
|
|
994
|
+
${m(a`
|
|
1040
995
|
padding: 80px 80px 25px;
|
|
1041
996
|
`)}
|
|
1042
997
|
|
|
1043
998
|
/** deletePaddingTop = true 이면, 사용처 BasicLayout 에서 padding-top 관리 */
|
|
1044
999
|
|
|
1045
|
-
${({ deletePaddingTop: o }) => o &&
|
|
1000
|
+
${({ deletePaddingTop: o }) => o && h(a`
|
|
1046
1001
|
padding-top: 0px;
|
|
1047
1002
|
`)}
|
|
1048
1003
|
|
|
1049
|
-
${({ deletePaddingTop: o }) => o &&
|
|
1004
|
+
${({ deletePaddingTop: o }) => o && m(a`
|
|
1050
1005
|
padding-top: 0px;
|
|
1051
1006
|
`)}
|
|
1052
|
-
`,
|
|
1007
|
+
`, Pn = r.div`
|
|
1053
1008
|
padding: 0 20px;
|
|
1054
1009
|
margin-bottom: 15px;
|
|
1055
|
-
${
|
|
1010
|
+
${m(a`
|
|
1056
1011
|
padding: 0;
|
|
1057
1012
|
`)}
|
|
1058
|
-
`,
|
|
1013
|
+
`, Ln = r(Tt)`
|
|
1059
1014
|
padding: 0 25px;
|
|
1060
1015
|
white-space: pre-wrap;
|
|
1061
|
-
${
|
|
1016
|
+
${m(a`
|
|
1062
1017
|
padding: 0;
|
|
1063
1018
|
`)}
|
|
1064
|
-
`,
|
|
1019
|
+
`, Hn = r(E)`
|
|
1065
1020
|
margin-top: 10px;
|
|
1066
1021
|
padding: 0 25px;
|
|
1067
1022
|
color: ${({ color: o }) => o};
|
|
1068
1023
|
white-space: pre-wrap;
|
|
1069
|
-
${
|
|
1024
|
+
${m(a`
|
|
1070
1025
|
padding: 0;
|
|
1071
1026
|
`)}
|
|
1072
|
-
`,
|
|
1073
|
-
({ zIndex: o = C.modal, visible: t, onMaskClick:
|
|
1074
|
-
),
|
|
1027
|
+
`, oe = _.memo(
|
|
1028
|
+
({ zIndex: o = C.modal, visible: t, onMaskClick: n, children: s, className: d }) => /* @__PURE__ */ e.jsx(Mo, { className: d, visible: t, onClick: n, zIndex: o, children: /* @__PURE__ */ e.jsx(ft, { visible: t, children: s }) })
|
|
1029
|
+
), te = r.div`
|
|
1075
1030
|
width: 320px;
|
|
1076
1031
|
background-color: ${i.white};
|
|
1077
1032
|
z-index: ${C.modal};
|
|
1078
1033
|
border-radius: 10px;
|
|
1079
1034
|
padding: 30px 0 15px;
|
|
1080
|
-
`,
|
|
1035
|
+
`, ee = r.div`
|
|
1081
1036
|
text-align: center;
|
|
1082
1037
|
white-space: pre-wrap;
|
|
1083
1038
|
padding: 0 15px;
|
|
1084
|
-
`,
|
|
1039
|
+
`, re = r(E)`
|
|
1085
1040
|
margin-top: 10px;
|
|
1086
1041
|
|
|
1087
1042
|
text-align: center;
|
|
1088
1043
|
white-space: pre-wrap;
|
|
1089
1044
|
color: ${i.gray400};
|
|
1090
1045
|
font-weight: 500;
|
|
1091
|
-
`,
|
|
1046
|
+
`, ne = r.div`
|
|
1092
1047
|
padding-left: ${(o) => o.contentPadding ? "20px" : "0"};
|
|
1093
1048
|
padding-right: ${(o) => o.contentPadding ? "20px" : "0"};
|
|
1094
1049
|
padding-bottom: 30px;
|
|
@@ -1096,8 +1051,8 @@ const L = ({
|
|
|
1096
1051
|
> * {
|
|
1097
1052
|
margin-top: 20px;
|
|
1098
1053
|
}
|
|
1099
|
-
`,
|
|
1100
|
-
${
|
|
1054
|
+
`, ie = r.div`
|
|
1055
|
+
${L.body1};
|
|
1101
1056
|
|
|
1102
1057
|
color: ${i.gray400};
|
|
1103
1058
|
background: ${i.gray25};
|
|
@@ -1105,66 +1060,66 @@ const L = ({
|
|
|
1105
1060
|
padding: 12px;
|
|
1106
1061
|
text-align: center;
|
|
1107
1062
|
white-space: pre-wrap;
|
|
1108
|
-
`,
|
|
1063
|
+
`, ae = r.div`
|
|
1109
1064
|
display: flex;
|
|
1110
1065
|
justify-content: center;
|
|
1111
1066
|
padding: 0 11px;
|
|
1112
|
-
`,
|
|
1067
|
+
`, Ho = r.div`
|
|
1113
1068
|
box-sizing: border-box;
|
|
1114
1069
|
padding: 0 15px;
|
|
1115
|
-
`,
|
|
1070
|
+
`, se = (o) => /* @__PURE__ */ e.jsx(Ho, { children: /* @__PURE__ */ e.jsx(H, { ...o }) }), le = (o) => /* @__PURE__ */ e.jsx(Ho, { children: /* @__PURE__ */ e.jsx(Ct, { ...o }) }), de = ({ title: o, subTitle: t }) => /* @__PURE__ */ e.jsxs(ee, { children: [
|
|
1116
1071
|
/* @__PURE__ */ e.jsx(Wo, { children: o }),
|
|
1117
|
-
t && /* @__PURE__ */ e.jsx(
|
|
1118
|
-
] }),
|
|
1072
|
+
t && /* @__PURE__ */ e.jsx(re, { children: t })
|
|
1073
|
+
] }), ce = ({ children: o }) => /* @__PURE__ */ e.jsx(ie, { children: o }), pe = ({
|
|
1119
1074
|
onClick: o,
|
|
1120
1075
|
disabled: t,
|
|
1121
|
-
text:
|
|
1122
|
-
}) => /* @__PURE__ */ e.jsx(
|
|
1123
|
-
SingleButton:
|
|
1124
|
-
DoubleButton:
|
|
1125
|
-
Title:
|
|
1126
|
-
Body:
|
|
1127
|
-
Comment:
|
|
1128
|
-
UnderLineMiniButton:
|
|
1129
|
-
}),
|
|
1076
|
+
text: n
|
|
1077
|
+
}) => /* @__PURE__ */ e.jsx(ae, { children: /* @__PURE__ */ e.jsx(Nt, { size: "m", colorType: "gray", onClick: o, disabled: t, children: n }) }), xe = ({ children: o, hasContentPadding: t = !0 }) => /* @__PURE__ */ e.jsx(ne, { contentPadding: t, children: o }), ue = _.memo(({ children: o, ...t }) => /* @__PURE__ */ e.jsx(oe, { ...t, children: /* @__PURE__ */ e.jsx(te, { children: o }) })), zn = Object.assign(ue, {
|
|
1078
|
+
SingleButton: se,
|
|
1079
|
+
DoubleButton: le,
|
|
1080
|
+
Title: de,
|
|
1081
|
+
Body: xe,
|
|
1082
|
+
Comment: ce,
|
|
1083
|
+
UnderLineMiniButton: pe
|
|
1084
|
+
}), zo = "-55px", no = "50px", io = "25px", me = wo`
|
|
1130
1085
|
0% {
|
|
1131
|
-
bottom: ${
|
|
1086
|
+
bottom: ${zo};
|
|
1132
1087
|
}
|
|
1133
1088
|
100% {
|
|
1134
|
-
${
|
|
1089
|
+
${h(a`
|
|
1135
1090
|
bottom: ${io};
|
|
1136
1091
|
`)};
|
|
1137
|
-
${
|
|
1092
|
+
${m(a`
|
|
1138
1093
|
bottom: ${no};
|
|
1139
1094
|
`)};
|
|
1140
1095
|
}
|
|
1141
|
-
`,
|
|
1096
|
+
`, ge = wo`
|
|
1142
1097
|
0% {
|
|
1143
|
-
${
|
|
1098
|
+
${h(a`
|
|
1144
1099
|
bottom: ${io};
|
|
1145
1100
|
`)};
|
|
1146
|
-
${
|
|
1101
|
+
${m(a`
|
|
1147
1102
|
bottom: ${no};
|
|
1148
1103
|
`)};
|
|
1149
1104
|
}
|
|
1150
1105
|
100% {
|
|
1151
|
-
bottom: ${
|
|
1106
|
+
bottom: ${zo};
|
|
1152
1107
|
}
|
|
1153
|
-
`,
|
|
1108
|
+
`, he = (o) => a`
|
|
1154
1109
|
visibility: ${o ? "visible" : "hidden"};
|
|
1155
1110
|
z-index: ${C.basicLayer + 11};
|
|
1156
|
-
animation: ${o ?
|
|
1111
|
+
animation: ${o ? me : ge} 0.4s ease-out;
|
|
1157
1112
|
transition: all 0.4s ease-out;
|
|
1158
|
-
`,
|
|
1113
|
+
`, _n = r.div`
|
|
1159
1114
|
min-width: 320px;
|
|
1160
1115
|
max-width: max-content;
|
|
1161
1116
|
|
|
1162
|
-
${
|
|
1117
|
+
${m(a`
|
|
1163
1118
|
min-width: 440px;
|
|
1164
1119
|
`)}
|
|
1165
1120
|
height: 55px;
|
|
1166
1121
|
box-sizing: border-box;
|
|
1167
|
-
background-color: ${
|
|
1122
|
+
background-color: ${jo(i.gray900, "80%")};
|
|
1168
1123
|
border-radius: 15px;
|
|
1169
1124
|
padding: 17px 15px;
|
|
1170
1125
|
display: flex;
|
|
@@ -1173,115 +1128,111 @@ const L = ({
|
|
|
1173
1128
|
position: fixed;
|
|
1174
1129
|
left: 50%;
|
|
1175
1130
|
transform: translate(-50%, 0);
|
|
1176
|
-
${
|
|
1131
|
+
${h(a`
|
|
1177
1132
|
bottom: ${io};
|
|
1178
1133
|
`)};
|
|
1179
|
-
${
|
|
1134
|
+
${m(a`
|
|
1180
1135
|
bottom: ${no};
|
|
1181
1136
|
`)};
|
|
1182
|
-
${({ visible: o }) =>
|
|
1183
|
-
`,
|
|
1184
|
-
${
|
|
1137
|
+
${({ visible: o }) => he(o)};
|
|
1138
|
+
`, En = r.div`
|
|
1139
|
+
${L.title3};
|
|
1185
1140
|
color: ${i.white};
|
|
1186
1141
|
width: 100%;
|
|
1187
1142
|
`;
|
|
1188
1143
|
export {
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1144
|
+
Hn as $,
|
|
1145
|
+
wn as A,
|
|
1146
|
+
mn as B,
|
|
1147
|
+
tn as C,
|
|
1148
|
+
Kt as D,
|
|
1149
|
+
Bn as E,
|
|
1150
|
+
kn as F,
|
|
1196
1151
|
Tn as G,
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1152
|
+
Tt as H,
|
|
1153
|
+
en as I,
|
|
1154
|
+
vn as J,
|
|
1155
|
+
Wn as K,
|
|
1156
|
+
Gt as L,
|
|
1157
|
+
zn as M,
|
|
1158
|
+
Pt as N,
|
|
1159
|
+
jn as O,
|
|
1160
|
+
hn as P,
|
|
1161
|
+
Sn as Q,
|
|
1162
|
+
On as R,
|
|
1163
|
+
In as S,
|
|
1164
|
+
$n as T,
|
|
1165
|
+
Nt as U,
|
|
1166
|
+
Mn as V,
|
|
1167
|
+
Ut as W,
|
|
1213
1168
|
Nn as X,
|
|
1214
|
-
|
|
1215
|
-
|
|
1169
|
+
Dn as Y,
|
|
1170
|
+
Pn as Z,
|
|
1216
1171
|
Ln as _,
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1172
|
+
ro as a,
|
|
1173
|
+
Qr as a0,
|
|
1174
|
+
Xr as a1,
|
|
1175
|
+
Yr as a2,
|
|
1176
|
+
Ar as a3,
|
|
1177
|
+
on as a4,
|
|
1178
|
+
ln as a5,
|
|
1179
|
+
nn as a6,
|
|
1180
|
+
w as a7,
|
|
1226
1181
|
an as a8,
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
$ as p,
|
|
1277
|
-
Wt as q,
|
|
1278
|
-
jn as r,
|
|
1279
|
-
wn as s,
|
|
1182
|
+
rn as a9,
|
|
1183
|
+
ne as aA,
|
|
1184
|
+
ie as aB,
|
|
1185
|
+
ae as aC,
|
|
1186
|
+
Ho as aD,
|
|
1187
|
+
dn as aa,
|
|
1188
|
+
Oo as ab,
|
|
1189
|
+
sn as ac,
|
|
1190
|
+
cn as ad,
|
|
1191
|
+
pn as ae,
|
|
1192
|
+
xn as af,
|
|
1193
|
+
un as ag,
|
|
1194
|
+
_n as ah,
|
|
1195
|
+
En as ai,
|
|
1196
|
+
Po as aj,
|
|
1197
|
+
So as ak,
|
|
1198
|
+
Ot as al,
|
|
1199
|
+
yo as am,
|
|
1200
|
+
Mt as an,
|
|
1201
|
+
R as ao,
|
|
1202
|
+
I as ap,
|
|
1203
|
+
Mo as aq,
|
|
1204
|
+
Dt as ar,
|
|
1205
|
+
No as as,
|
|
1206
|
+
zt as at,
|
|
1207
|
+
_t as au,
|
|
1208
|
+
Do as av,
|
|
1209
|
+
Qt as aw,
|
|
1210
|
+
te as ax,
|
|
1211
|
+
ee as ay,
|
|
1212
|
+
re as az,
|
|
1213
|
+
F as b,
|
|
1214
|
+
eo as c,
|
|
1215
|
+
oo as d,
|
|
1216
|
+
to as e,
|
|
1217
|
+
gn as f,
|
|
1218
|
+
Lt as g,
|
|
1219
|
+
oe as h,
|
|
1220
|
+
Cn as i,
|
|
1221
|
+
Wo as j,
|
|
1222
|
+
Wt as k,
|
|
1223
|
+
E as l,
|
|
1224
|
+
W as m,
|
|
1225
|
+
vt as n,
|
|
1226
|
+
b as o,
|
|
1227
|
+
Bt as p,
|
|
1228
|
+
bn as q,
|
|
1229
|
+
fn as r,
|
|
1230
|
+
Co as s,
|
|
1280
1231
|
J as t,
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1232
|
+
Jt as u,
|
|
1233
|
+
Vt as v,
|
|
1234
|
+
qt as w,
|
|
1235
|
+
Zt as x,
|
|
1236
|
+
yn as y,
|
|
1286
1237
|
Xt as z
|
|
1287
1238
|
};
|