@dotss/tictoccroc 0.4.2 → 0.5.0
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/Calendar-BOLCHnjh.js +97 -0
- package/dist/TimePicker-BwACyeBR.js +120 -0
- package/dist/convertMdToHtml-Bmk0brLK.js +1431 -0
- package/dist/index.mjs +105 -200
- package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +26 -29
- package/dist/parent/b2b/components/ActionButtons/index.mjs +5 -4
- package/dist/parent/b2b/components/BottomNotes/BottomNotes.mjs +37 -35
- package/dist/parent/b2b/components/BottomNotes/index.mjs +5 -4
- package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs +12 -15
- package/dist/parent/b2b/components/EmployeeNumberField/index.mjs +5 -4
- package/dist/parent/b2b/components/NameField/NameField.mjs +12 -7
- package/dist/parent/b2b/components/NameField/index.mjs +5 -4
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs +27 -30
- package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs +7 -8
- package/dist/parent/b2b/components/PhoneNumberField/index.mjs +6 -7
- package/dist/parent/b2b/components/Title/Title.mjs +22 -16
- package/dist/parent/b2b/components/Title/index.mjs +4 -3
- package/dist/parent/b2b/components/TopLogo/TopLogo.mjs +55 -93
- package/dist/parent/b2b/components/TopLogo/index.mjs +5 -4
- package/dist/parent/b2b/components/index.mjs +9 -19
- package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs +2 -1143
- package/dist/parent/b2b/utils/index.mjs +2 -4
- package/dist/parent/notification/components/NotificationCard/NotificationCard.mjs +90 -108
- package/dist/parent/notification/components/NotificationCard/index.mjs +5 -4
- package/dist/parent/notification/components/index.mjs +2 -4
- package/dist/parent/notification/utils/index.mjs +2 -4
- package/dist/parent/notification/utils/sanitize/sanitize.mjs +6 -6
- package/dist/purify.es-D3W4zDrg.js +549 -0
- package/dist/shared/components/Calendar/Calendar.mjs +2 -80
- package/dist/shared/components/Calendar/index.mjs +5 -4
- package/dist/shared/components/Carousel/Carousel.mjs +184 -210
- package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +10 -7
- package/dist/shared/components/Carousel/CarouselSlide/index.mjs +5 -4
- package/dist/shared/components/Carousel/index.mjs +6 -6
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.mjs +151 -183
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.utils.mjs +30 -50
- package/dist/shared/components/ChatKit/BotMessage/index.mjs +6 -8
- package/dist/shared/components/ChatKit/InputBar/InputBar.fallback.mjs +64 -84
- package/dist/shared/components/ChatKit/InputBar/InputBar.mjs +105 -130
- package/dist/shared/components/ChatKit/InputBar/index.mjs +6 -6
- package/dist/shared/components/ChatKit/Message/Message.fallback.mjs +50 -66
- package/dist/shared/components/ChatKit/Message/Message.mjs +178 -276
- package/dist/shared/components/ChatKit/Message/Message.utils.mjs +20 -31
- package/dist/shared/components/ChatKit/Message/index.mjs +7 -9
- package/dist/shared/components/ChatKit/Seperator/Seperator.mjs +31 -27
- package/dist/shared/components/ChatKit/Seperator/index.mjs +4 -3
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs +183 -153
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.mjs +83 -108
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs +5 -5
- package/dist/shared/components/ChatKit/SystemMessage/index.mjs +7 -8
- package/dist/shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.mjs +49 -54
- package/dist/shared/components/ChatKit/UnreadMessagePill/index.mjs +5 -4
- package/dist/shared/components/ChatKit/index.mjs +13 -29
- package/dist/shared/components/Image/Image.d.ts +2 -0
- package/dist/shared/components/Image/Image.error.mjs +34 -40
- package/dist/shared/components/Image/Image.mjs +247 -289
- package/dist/shared/components/Image/index.mjs +6 -6
- package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs +19 -18
- package/dist/shared/components/LoadingAnnouncer/index.mjs +5 -4
- package/dist/shared/components/Masonry/Masonry.mjs +240 -276
- package/dist/shared/components/Masonry/Masonry.utils.mjs +62 -81
- package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.mjs +111 -144
- package/dist/shared/components/Masonry/MasonryBlock/index.mjs +5 -4
- package/dist/shared/components/Masonry/index.mjs +6 -6
- package/dist/shared/components/MediaDialog/MediaBlock/MediaBlock.mjs +54 -69
- package/dist/shared/components/MediaDialog/MediaBlock/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialog.mjs +216 -330
- package/dist/shared/components/MediaDialog/MediaDialogContent/MediaDialogContent.mjs +18 -21
- package/dist/shared/components/MediaDialog/MediaDialogContent/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs +22 -27
- package/dist/shared/components/MediaDialog/MediaDialogFooter/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/MediaDialogToolbar/MediaDialogToolbar.mjs +15 -21
- package/dist/shared/components/MediaDialog/MediaDialogToolbar/index.mjs +5 -4
- package/dist/shared/components/MediaDialog/index.mjs +9 -12
- package/dist/shared/components/Roller/Roller.mjs +99 -132
- package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +9 -6
- package/dist/shared/components/Roller/RollerBlock/index.mjs +5 -4
- package/dist/shared/components/Roller/index.mjs +6 -6
- package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +22 -30
- package/dist/shared/components/Scheduler/ScheduleBlock/index.mjs +5 -4
- package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +25 -35
- package/dist/shared/components/Scheduler/ScheduleEvent/index.mjs +5 -4
- package/dist/shared/components/Scheduler/Scheduler.mjs +472 -567
- package/dist/shared/components/Scheduler/Scheduler.utils.mjs +78 -101
- package/dist/shared/components/Scheduler/index.mjs +8 -10
- package/dist/shared/components/Swiper/Swiper.mjs +238 -283
- package/dist/shared/components/Swiper/Swiper.utils.mjs +19 -24
- package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +14 -17
- package/dist/shared/components/Swiper/SwiperBlock/index.mjs +5 -4
- package/dist/shared/components/Swiper/index.mjs +6 -6
- package/dist/shared/components/TextField/TextField.mjs +44 -55
- package/dist/shared/components/TextField/index.mjs +5 -4
- package/dist/shared/components/TimePicker/TimePicker.mjs +2 -120
- package/dist/shared/components/TimePicker/index.mjs +5 -4
- package/dist/shared/components/index.mjs +36 -75
- package/dist/shared/hooks/index.mjs +4 -8
- package/dist/shared/hooks/useCombineRef/index.mjs +5 -4
- package/dist/shared/hooks/useCombineRef/useCombineRef.mjs +7 -7
- package/dist/shared/hooks/useInView/index.mjs +5 -4
- package/dist/shared/hooks/useInView/useInView.d.ts +2 -1
- package/dist/shared/hooks/useInView/useInView.mjs +37 -47
- package/dist/shared/hooks/useIsomorphicLayoutEffect/index.mjs +5 -4
- package/dist/shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs +6 -6
- package/dist/shared/typings/common.mjs +6 -4
- package/dist/shared/typings/index.mjs +2 -4
- package/dist/shared/utils/ageToBirthDate/ageToBirthDate.mjs +17 -9
- package/dist/shared/utils/ageToBirthDate/index.mjs +5 -4
- package/dist/shared/utils/birthDateToAge/birthDateToAge.mjs +9 -10
- package/dist/shared/utils/birthDateToAge/index.mjs +4 -3
- package/dist/shared/utils/combineRef/combineRef.mjs +20 -23
- package/dist/shared/utils/combineRef/index.mjs +5 -4
- package/dist/shared/utils/dayFlagToDay/dayFlagToDay.mjs +15 -23
- package/dist/shared/utils/dayFlagToDay/index.mjs +5 -4
- package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.mjs +13 -20
- package/dist/shared/utils/getCareTypeLabel/index.mjs +5 -4
- package/dist/shared/utils/getDateRange/getDateRange.mjs +15 -20
- package/dist/shared/utils/getDateRange/index.mjs +5 -4
- package/dist/shared/utils/getImageUrl/getImageUrl.mjs +7 -17
- package/dist/shared/utils/getImageUrl/index.mjs +5 -6
- package/dist/shared/utils/getTimeRange/getTimeRange.mjs +19 -21
- package/dist/shared/utils/getTimeRange/index.mjs +5 -4
- package/dist/shared/utils/getVimeoId/getVimeoId.mjs +11 -11
- package/dist/shared/utils/getVimeoId/index.mjs +5 -4
- package/dist/shared/utils/index.mjs +18 -36
- package/dist/shared/utils/isAndroid/index.mjs +5 -4
- package/dist/shared/utils/isAndroid/isAndroid.mjs +5 -5
- package/dist/shared/utils/isApp/index.mjs +5 -4
- package/dist/shared/utils/isApp/isApp.mjs +4 -4
- package/dist/shared/utils/isDesktop/index.mjs +5 -4
- package/dist/shared/utils/isDesktop/isDesktop.mjs +15 -15
- package/dist/shared/utils/isIos/index.mjs +5 -4
- package/dist/shared/utils/isIos/isIos.mjs +5 -5
- package/dist/shared/utils/isServer/index.mjs +4 -3
- package/dist/shared/utils/isServer/isServer.mjs +4 -4
- package/dist/shared/utils/objectToQueryString/index.mjs +5 -4
- package/dist/shared/utils/objectToQueryString/objectToQueryString.mjs +7 -8
- package/dist/shared/utils/parseQueryString/index.mjs +4 -3
- package/dist/shared/utils/parseQueryString/parseQueryString.mjs +5 -5
- package/dist/shared/utils/share/index.mjs +5 -4
- package/dist/shared/utils/share/share.mjs +12 -14
- package/dist/teacher/home/components/BannerAccount/BannerAccount.fallback.mjs +19 -11
- package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +83 -99
- package/dist/teacher/home/components/BannerAccount/index.mjs +6 -7
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs +127 -67
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +68 -82
- package/dist/teacher/home/components/Carousel1Account/index.mjs +6 -7
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs +112 -94
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +79 -85
- package/dist/teacher/home/components/Carousel2Account/index.mjs +6 -7
- package/dist/teacher/home/components/TextAccount/TextAccount.fallback.mjs +119 -108
- package/dist/teacher/home/components/TextAccount/TextAccount.mjs +91 -111
- package/dist/teacher/home/components/TextAccount/index.mjs +6 -7
- package/dist/teacher/home/components/index.mjs +9 -18
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs +345 -442
- package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs +5 -5
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +106 -109
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs +54 -58
- package/dist/teacher/profile/components/AbilityCollection/index.mjs +7 -8
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +73 -104
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +81 -95
- package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs +4 -3
- package/dist/teacher/profile/components/ActivityGallery/index.mjs +6 -6
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +148 -194
- package/dist/teacher/profile/components/AvailableScheduleSection/index.mjs +5 -4
- package/dist/teacher/profile/components/CareNoteSection/CareNote/CareNote.mjs +61 -53
- package/dist/teacher/profile/components/CareNoteSection/CareNote/index.mjs +5 -4
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.mjs +72 -81
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.utils.mjs +17 -12
- package/dist/teacher/profile/components/CareNoteSection/index.mjs +6 -6
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +108 -134
- package/dist/teacher/profile/components/CareerSection/CareerItem/index.mjs +5 -4
- package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +133 -176
- package/dist/teacher/profile/components/CareerSection/index.mjs +6 -6
- package/dist/teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs +82 -88
- package/dist/teacher/profile/components/CertificateSection/CertificateItem/index.mjs +4 -3
- package/dist/teacher/profile/components/CertificateSection/CertificateSection.mjs +112 -141
- package/dist/teacher/profile/components/CertificateSection/index.mjs +6 -6
- package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +96 -111
- package/dist/teacher/profile/components/EducationSection/EducationItem/index.mjs +5 -4
- package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +112 -141
- package/dist/teacher/profile/components/EducationSection/index.mjs +6 -6
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs +107 -102
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs +5 -4
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +85 -81
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs +17 -12
- package/dist/teacher/profile/components/ParentReviewSection/index.mjs +7 -8
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +43 -36
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.mjs +4 -3
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +44 -31
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +11 -12
- package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +5 -5
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +348 -433
- package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.utils.mjs +7 -7
- package/dist/teacher/profile/components/ProfileSummary/index.mjs +5 -4
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +80 -105
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +5 -4
- package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +34 -27
- package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -6
- package/dist/teacher/profile/components/index.mjs +24 -48
- package/dist/teacher/profile/utils/index.mjs +2 -4
- package/dist/teacher/profile/utils/sortItems/index.mjs +5 -4
- package/dist/teacher/profile/utils/sortItems/sortItems.mjs +48 -48
- package/package.json +1 -1
- package/dist/purify.es-BGaRrCfO.js +0 -553
|
@@ -1,154 +1,184 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
1
|
+
import { BottomSheet as e, BottomSheetAction as t, BottomSheetContent as n, BottomSheetTitle as r, Button as i, Flexbox as a, Icon as o, Typography as s } from "@dotss/ui";
|
|
2
|
+
import c from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
4
|
+
//#region shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.tsx
|
|
5
|
+
function d({ target: d, open: f, onClose: p, onInquire: m }) {
|
|
6
|
+
let { palette: { background: h }, spacing: g } = c();
|
|
7
|
+
return /* @__PURE__ */ u(e, {
|
|
8
|
+
id: "system-message-action",
|
|
9
|
+
open: f,
|
|
10
|
+
onClose: p,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ l(r, {
|
|
13
|
+
onClose: p,
|
|
14
|
+
children: "직거래는 왜 하면 안되나요?"
|
|
15
|
+
}),
|
|
16
|
+
/* @__PURE__ */ u(n, { children: [
|
|
17
|
+
d === "teacher" && /* @__PURE__ */ u(s, {
|
|
18
|
+
tag: "p",
|
|
19
|
+
variant: "h3R",
|
|
20
|
+
textAlign: "center",
|
|
21
|
+
children: [/* @__PURE__ */ l(s, {
|
|
22
|
+
tag: "strong",
|
|
23
|
+
variant: "h3B",
|
|
24
|
+
color: "etc.red",
|
|
25
|
+
children: "직거래"
|
|
26
|
+
}), ", 선생님에게 더 불리한 선택이에요."]
|
|
27
|
+
}),
|
|
28
|
+
d === "parent" && /* @__PURE__ */ u(s, {
|
|
29
|
+
tag: "p",
|
|
30
|
+
variant: "h4R",
|
|
31
|
+
textAlign: "center",
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ l(s, {
|
|
34
|
+
tag: "strong",
|
|
35
|
+
variant: "h4B",
|
|
36
|
+
color: "etc.red",
|
|
37
|
+
children: "선생님과 직거래가 적발되면"
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ l("br", {}),
|
|
40
|
+
"사고 발생 시 째깍악어의 도움을 받을 수 없어요"
|
|
41
|
+
]
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ u(a, {
|
|
44
|
+
tag: "aside",
|
|
45
|
+
role: "note",
|
|
46
|
+
mt: 3,
|
|
47
|
+
pt: 4,
|
|
48
|
+
pb: 4,
|
|
49
|
+
pl: 3,
|
|
50
|
+
pr: 3,
|
|
51
|
+
inlineCSS: {
|
|
52
|
+
borderRadius: 12,
|
|
53
|
+
backgroundColor: h.primary
|
|
54
|
+
},
|
|
55
|
+
children: [d === "parent" && /* @__PURE__ */ u(a, {
|
|
56
|
+
tag: "ul",
|
|
57
|
+
flexDirection: "column",
|
|
58
|
+
gap: 1,
|
|
59
|
+
inlineCSS: {
|
|
60
|
+
listStyle: "none",
|
|
61
|
+
padding: 0,
|
|
62
|
+
paddingLeft: g.content(2),
|
|
63
|
+
"& li:before": {
|
|
64
|
+
content: "\"•\"",
|
|
65
|
+
display: "inline-block",
|
|
66
|
+
maxWidth: 4,
|
|
67
|
+
fontSize: 18,
|
|
68
|
+
marginRight: g.content(2)
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ l(s, {
|
|
73
|
+
tag: "li",
|
|
74
|
+
variant: "b4R",
|
|
75
|
+
color: "grey.70",
|
|
76
|
+
children: "선생님과의 갈등 및 문제 발생시 째깍악어로부터 어떠한 도움이나 중재를 받으실 수 없고"
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ l(s, {
|
|
79
|
+
tag: "li",
|
|
80
|
+
variant: "b4R",
|
|
81
|
+
color: "grey.70",
|
|
82
|
+
children: "배상책임보험에 가입되지 않아 아이 안전사고 발생 시 보장받기 어려우며"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ l(s, {
|
|
85
|
+
tag: "li",
|
|
86
|
+
variant: "b4R",
|
|
87
|
+
color: "grey.70",
|
|
88
|
+
children: "영업 방해로 간주되어, 법적 조치가 이루어집니다 (약관 제 42조)"
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
}), d === "teacher" && /* @__PURE__ */ u(a, {
|
|
92
|
+
tag: "ul",
|
|
93
|
+
flexDirection: "column",
|
|
94
|
+
gap: 1,
|
|
95
|
+
inlineCSS: {
|
|
96
|
+
listStyle: "none",
|
|
97
|
+
padding: 0,
|
|
98
|
+
paddingLeft: g.content(2),
|
|
99
|
+
"& li:before": {
|
|
100
|
+
content: "\"•\"",
|
|
101
|
+
display: "inline-block",
|
|
102
|
+
maxWidth: 4,
|
|
103
|
+
fontSize: 18,
|
|
104
|
+
marginRight: g.content(2)
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
children: [
|
|
108
|
+
/* @__PURE__ */ l(s, {
|
|
109
|
+
tag: "li",
|
|
110
|
+
variant: "b4R",
|
|
111
|
+
color: "grey.70",
|
|
112
|
+
children: "부모님과의 갈등, 수업 취소, 아이 안전사고 발생 시 째깍악어로부터 어떠한 도움도 받을 수 없으며"
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ l(s, {
|
|
115
|
+
tag: "li",
|
|
116
|
+
variant: "b4R",
|
|
117
|
+
color: "grey.70",
|
|
118
|
+
children: "직거래가 적발될 경우 경고 없이 활동이 어렵고 바로 계약이 해지돼요"
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ l(s, {
|
|
121
|
+
tag: "li",
|
|
122
|
+
variant: "b4R",
|
|
123
|
+
color: "grey.70",
|
|
124
|
+
children: "또한, 영업 방해로 간주되어 법적 조치가 진행될 수 있어요"
|
|
125
|
+
})
|
|
126
|
+
]
|
|
127
|
+
})]
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ u(a, {
|
|
130
|
+
tag: "section",
|
|
131
|
+
alignItems: "flex-start",
|
|
132
|
+
gap: 2,
|
|
133
|
+
mt: 3,
|
|
134
|
+
inlineCSS: { position: "relative" },
|
|
135
|
+
children: [
|
|
136
|
+
/* @__PURE__ */ l(o, {
|
|
137
|
+
name: "InformationLine",
|
|
138
|
+
color: "etc.orange",
|
|
139
|
+
size: "small",
|
|
140
|
+
inlineCSS: { flexShrink: 0 }
|
|
141
|
+
}),
|
|
142
|
+
/* @__PURE__ */ u(s, {
|
|
143
|
+
tag: "p",
|
|
144
|
+
variant: "b4R",
|
|
145
|
+
color: "etc.orange",
|
|
146
|
+
children: [
|
|
147
|
+
d === "teacher" && "부모님의 직거래 제안이 왔나요? 당황하지 마시고 째깍악어 운영본부에 알려주세요.",
|
|
148
|
+
d === "parent" && "선생님의 직거래 제안이 왔나요? 당황하지 마시고 째깍악어 운영팀에 알려주세요.",
|
|
149
|
+
/* @__PURE__ */ l(s, {
|
|
150
|
+
tag: "span",
|
|
151
|
+
"aria-hidden": !0,
|
|
152
|
+
inlineCSS: {
|
|
153
|
+
display: "inline-block",
|
|
154
|
+
minWidth: 70
|
|
155
|
+
}
|
|
156
|
+
})
|
|
157
|
+
]
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ l(i, {
|
|
160
|
+
variant: "text",
|
|
161
|
+
size: "xSmall",
|
|
162
|
+
color: "secondary",
|
|
163
|
+
endAdornment: /* @__PURE__ */ l(o, { name: "ChevronRightLine" }),
|
|
164
|
+
onClick: m,
|
|
165
|
+
inlineCSS: {
|
|
166
|
+
position: "absolute",
|
|
167
|
+
right: 0,
|
|
168
|
+
bottom: -2
|
|
169
|
+
},
|
|
170
|
+
children: "1:1 문의"
|
|
171
|
+
})
|
|
172
|
+
]
|
|
173
|
+
})
|
|
174
|
+
] }),
|
|
175
|
+
/* @__PURE__ */ l(t, { children: /* @__PURE__ */ l(i, {
|
|
176
|
+
size: "large",
|
|
177
|
+
onClick: p,
|
|
178
|
+
children: "이해했어요"
|
|
179
|
+
}) })
|
|
180
|
+
]
|
|
181
|
+
});
|
|
151
182
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
};
|
|
183
|
+
//#endregion
|
|
184
|
+
export { d as default };
|
|
@@ -1,109 +1,84 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
variant: "text",
|
|
83
|
-
size: "xSmall",
|
|
84
|
-
color: "secondary",
|
|
85
|
-
endAdornment: /* @__PURE__ */ e(E, { name: "ChevronRightLine" }),
|
|
86
|
-
onClick: x,
|
|
87
|
-
"aria-haspopup": "dialog",
|
|
88
|
-
"aria-controls": "system-message-action",
|
|
89
|
-
inlineCSS: {
|
|
90
|
-
position: "absolute",
|
|
91
|
-
right: 0,
|
|
92
|
-
bottom: -2,
|
|
93
|
-
fontWeight: 700
|
|
94
|
-
},
|
|
95
|
-
children: "더 알아보기"
|
|
96
|
-
}
|
|
97
|
-
)
|
|
98
|
-
] })
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
)
|
|
102
|
-
}
|
|
103
|
-
)
|
|
104
|
-
}
|
|
105
|
-
);
|
|
1
|
+
import e from "../../../hooks/useInView/index.mjs";
|
|
2
|
+
import { useEffect as t, useImperativeHandle as n, useRef as r } from "react";
|
|
3
|
+
import { Button as i, Flexbox as a, Icon as o, Typography as s } from "@dotss/ui";
|
|
4
|
+
import c from "@dotss/ui/core/useTheme";
|
|
5
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
|
+
//#region shared/components/ChatKit/SystemMessage/SystemMessage.tsx
|
|
7
|
+
function f({ children: f, ref: p, id: m, systemMessageType: h, content: g, ctaType: _, ctaTargetId: v, subCtaTargetTable: y, subCtaTargetId: b, onAction: x, onView: S, inlineCSS: C, ...w }) {
|
|
8
|
+
let { palette: { grey: T, pink: E } } = c(), D = r(null);
|
|
9
|
+
n(p, () => D.current);
|
|
10
|
+
let { isInView: O } = e(D), k = ["DIRECT_TRADE_WORD_DETECTED"].includes(h), A = () => x?.({
|
|
11
|
+
systemMessageType: h,
|
|
12
|
+
ctaType: _,
|
|
13
|
+
ctaTargetId: v,
|
|
14
|
+
subCtaTargetTable: y,
|
|
15
|
+
subCtaTargetId: b
|
|
16
|
+
});
|
|
17
|
+
return t(() => {
|
|
18
|
+
O && S?.();
|
|
19
|
+
}, [O, S]), /* @__PURE__ */ u(a, {
|
|
20
|
+
ref: D,
|
|
21
|
+
ml: 4,
|
|
22
|
+
mr: 4,
|
|
23
|
+
pt: 1,
|
|
24
|
+
pb: 1,
|
|
25
|
+
...w,
|
|
26
|
+
inlineCSS: {
|
|
27
|
+
overflowAnchor: "none",
|
|
28
|
+
...C
|
|
29
|
+
},
|
|
30
|
+
children: /* @__PURE__ */ u(a, {
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
p: 3,
|
|
33
|
+
inlineCSS: {
|
|
34
|
+
width: "100%",
|
|
35
|
+
backgroundColor: k ? E[10] : T[10],
|
|
36
|
+
borderRadius: 8
|
|
37
|
+
},
|
|
38
|
+
children: /* @__PURE__ */ d(s, {
|
|
39
|
+
tag: "p",
|
|
40
|
+
variant: "b4R",
|
|
41
|
+
color: k ? "pink.80" : "grey.60",
|
|
42
|
+
inlineCSS: {
|
|
43
|
+
position: "relative",
|
|
44
|
+
"& > span": { fontWeight: 700 }
|
|
45
|
+
},
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ u(s, {
|
|
48
|
+
tag: "span",
|
|
49
|
+
variant: "h5B",
|
|
50
|
+
color: k ? "pink.80" : "grey.60",
|
|
51
|
+
children: "알림"
|
|
52
|
+
}),
|
|
53
|
+
" ",
|
|
54
|
+
g,
|
|
55
|
+
_ && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(s, {
|
|
56
|
+
tag: "span",
|
|
57
|
+
"aria-hidden": !0,
|
|
58
|
+
inlineCSS: {
|
|
59
|
+
display: "inline-block",
|
|
60
|
+
minWidth: 87
|
|
61
|
+
}
|
|
62
|
+
}), /* @__PURE__ */ u(i, {
|
|
63
|
+
variant: "text",
|
|
64
|
+
size: "xSmall",
|
|
65
|
+
color: "secondary",
|
|
66
|
+
endAdornment: /* @__PURE__ */ u(o, { name: "ChevronRightLine" }),
|
|
67
|
+
onClick: A,
|
|
68
|
+
"aria-haspopup": "dialog",
|
|
69
|
+
"aria-controls": "system-message-action",
|
|
70
|
+
inlineCSS: {
|
|
71
|
+
position: "absolute",
|
|
72
|
+
right: 0,
|
|
73
|
+
bottom: -2,
|
|
74
|
+
fontWeight: 700
|
|
75
|
+
},
|
|
76
|
+
children: "더 알아보기"
|
|
77
|
+
})] })
|
|
78
|
+
]
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
});
|
|
106
82
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
};
|
|
83
|
+
//#endregion
|
|
84
|
+
export { f as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region shared/components/ChatKit/SystemMessage/SystemMessage.utils.ts
|
|
2
|
+
function e({ content: e }) {
|
|
3
|
+
return `알림, ${e}`;
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as getSystemMessageLabel };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { getSystemMessageLabel as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
1
|
+
import e from "./SystemMessage.mjs";
|
|
2
|
+
import t from "./(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs";
|
|
3
|
+
import { getSystemMessageLabel as n } from "./SystemMessage.utils.mjs";
|
|
4
|
+
//#region shared/components/ChatKit/SystemMessage/index.ts
|
|
5
|
+
var r = e;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as DirectTradeRiskInfoBottomSheet, r as default, n as getSystemMessageLabel };
|