@dotss/tictoccroc 0.4.2 → 0.6.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.d.ts +3 -0
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +12 -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,142 +1,113 @@
|
|
|
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
|
-
|
|
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
|
-
k,
|
|
112
|
-
{
|
|
113
|
-
fullWidth: !0,
|
|
114
|
-
variant: "text",
|
|
115
|
-
color: "secondary",
|
|
116
|
-
endAdornment: /* @__PURE__ */ e(s, { name: r ? "ChevronUpLine" : "ChevronDownLine" }),
|
|
117
|
-
onClick: I,
|
|
118
|
-
"aria-controls": "certificate-section-certificate-items",
|
|
119
|
-
"aria-expanded": r,
|
|
120
|
-
children: r ? "접기" : "더 보기"
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
!o && d && /* @__PURE__ */ e(
|
|
126
|
-
i,
|
|
127
|
-
{
|
|
128
|
-
mt: 4,
|
|
129
|
-
flexGrow: 1,
|
|
130
|
-
alignItems: "center",
|
|
131
|
-
justifyContent: "center",
|
|
132
|
-
inlineCSS: { width: "inherit" },
|
|
133
|
-
children: d
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
);
|
|
1
|
+
import e from "./CertificateItem/index.mjs";
|
|
2
|
+
import { Children as t, isValidElement as n, useState as r } from "react";
|
|
3
|
+
import { Button as i, Flexbox as a, Icon as o, Tooltip as s, Typography as c } from "@dotss/ui";
|
|
4
|
+
import l from "@dotss/ui/core/useTheme";
|
|
5
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
|
+
//#region teacher/profile/components/CertificateSection/CertificateSection.tsx
|
|
7
|
+
function f({ children: f, action: p, showTooltip: m = !1, enableToggle: h = !1, ...g }) {
|
|
8
|
+
let { spacing: _ } = l(), [v, y] = r(!1), [b, x] = r(!1), S = t.toArray(f).filter(n).filter((t) => t.type === e), C = S.length > 0, w = S.length > 3, T = () => y((e) => !e), E = (e) => {
|
|
9
|
+
(e.key === "Enter" || e.key === " ") && T();
|
|
10
|
+
}, D = () => x((e) => !e);
|
|
11
|
+
return /* @__PURE__ */ d(a, {
|
|
12
|
+
tag: "section",
|
|
13
|
+
flexDirection: "column",
|
|
14
|
+
alignItems: "flex-start",
|
|
15
|
+
"aria-labelledby": "certificate-section-title",
|
|
16
|
+
gap: 2,
|
|
17
|
+
...g,
|
|
18
|
+
inlineCSS: {
|
|
19
|
+
width: "100%",
|
|
20
|
+
...g?.inlineCSS
|
|
21
|
+
},
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ d(a, {
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
justifyContent: "center",
|
|
26
|
+
gap: 1,
|
|
27
|
+
children: [/* @__PURE__ */ u(c, {
|
|
28
|
+
id: "certificate-section-title",
|
|
29
|
+
tag: "h2",
|
|
30
|
+
variant: "h2B",
|
|
31
|
+
"aria-label": "선생님 자격증 목록",
|
|
32
|
+
children: "자격증"
|
|
33
|
+
}), m && /* @__PURE__ */ u(s, {
|
|
34
|
+
open: v,
|
|
35
|
+
onClose: T,
|
|
36
|
+
color: "secondary",
|
|
37
|
+
id: "certificate-section-tooltip",
|
|
38
|
+
bodyId: "certificate-section-tooltip-body",
|
|
39
|
+
body: /* @__PURE__ */ d(c, {
|
|
40
|
+
tag: "p",
|
|
41
|
+
variant: "b4R",
|
|
42
|
+
color: "grey.white",
|
|
43
|
+
noWrap: !0,
|
|
44
|
+
inlineCSS: {
|
|
45
|
+
display: "flex",
|
|
46
|
+
gap: _.content(1),
|
|
47
|
+
"& svg": {
|
|
48
|
+
width: "20px !important",
|
|
49
|
+
height: "20px !important",
|
|
50
|
+
flexShrink: 0
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
children: [
|
|
54
|
+
"째깍악어가 확인한 정보는",
|
|
55
|
+
/* @__PURE__ */ u(o, {
|
|
56
|
+
name: "CertifiedFill",
|
|
57
|
+
size: "small",
|
|
58
|
+
color: "tictoccroc-teacher.brand.green"
|
|
59
|
+
}),
|
|
60
|
+
"인증 마크가 붙어요!"
|
|
61
|
+
]
|
|
62
|
+
}),
|
|
63
|
+
offset: { x: 82 },
|
|
64
|
+
arrowOffset: { x: -82 },
|
|
65
|
+
children: /* @__PURE__ */ u(o, {
|
|
66
|
+
role: "button",
|
|
67
|
+
tabIndex: 0,
|
|
68
|
+
name: "TooltipFill",
|
|
69
|
+
size: "small",
|
|
70
|
+
color: "grey.50",
|
|
71
|
+
onClick: T,
|
|
72
|
+
onKeyDown: E,
|
|
73
|
+
"aria-label": "추가 정보 안내",
|
|
74
|
+
inlineCSS: { cursor: "pointer" }
|
|
75
|
+
})
|
|
76
|
+
})]
|
|
77
|
+
}),
|
|
78
|
+
C && /* @__PURE__ */ u(a, {
|
|
79
|
+
id: "certificate-section-certificate-items",
|
|
80
|
+
tag: "ul",
|
|
81
|
+
flexDirection: "column",
|
|
82
|
+
inlineCSS: { width: "inherit" },
|
|
83
|
+
children: S.slice(0, !h || b ? void 0 : 3)
|
|
84
|
+
}),
|
|
85
|
+
h && w && /* @__PURE__ */ u(a, {
|
|
86
|
+
alignItems: "center",
|
|
87
|
+
justifyContent: "center",
|
|
88
|
+
mt: 2,
|
|
89
|
+
inlineCSS: { width: "inherit" },
|
|
90
|
+
children: /* @__PURE__ */ u(i, {
|
|
91
|
+
fullWidth: !0,
|
|
92
|
+
variant: "text",
|
|
93
|
+
color: "secondary",
|
|
94
|
+
endAdornment: /* @__PURE__ */ u(o, { name: b ? "ChevronUpLine" : "ChevronDownLine" }),
|
|
95
|
+
onClick: D,
|
|
96
|
+
"aria-controls": "certificate-section-certificate-items",
|
|
97
|
+
"aria-expanded": b,
|
|
98
|
+
children: b ? "접기" : "더 보기"
|
|
99
|
+
})
|
|
100
|
+
}),
|
|
101
|
+
!h && p && /* @__PURE__ */ u(a, {
|
|
102
|
+
mt: 4,
|
|
103
|
+
flexGrow: 1,
|
|
104
|
+
alignItems: "center",
|
|
105
|
+
justifyContent: "center",
|
|
106
|
+
inlineCSS: { width: "inherit" },
|
|
107
|
+
children: p
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
});
|
|
139
111
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
};
|
|
112
|
+
//#endregion
|
|
113
|
+
export { f as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import e from "./CertificateItem/index.mjs";
|
|
2
|
+
import t from "./CertificateSection.mjs";
|
|
3
|
+
//#region teacher/profile/components/CertificateSection/index.ts
|
|
4
|
+
var n = t;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as CertificateItem, n as default };
|
|
@@ -1,112 +1,97 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useCheckHoverPossible as
|
|
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
|
-
noWrap: !0,
|
|
96
|
-
inlineCSS: { "& strong": { color: a[100], fontWeight: 700 } },
|
|
97
|
-
children: [
|
|
98
|
-
o === "STUDYING" && "재학중",
|
|
99
|
-
o === "ONBREAK" && "휴학",
|
|
100
|
-
o === "FINISHED" && "졸업"
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
),
|
|
104
|
-
i && /* @__PURE__ */ t(d, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
|
|
105
|
-
] })
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
) });
|
|
1
|
+
import { Flexbox as e, Icon as t, Typography as n } from "@dotss/ui";
|
|
2
|
+
import r from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { useCheckHoverPossible as o } from "@dotss/ui/hooks";
|
|
5
|
+
//#region teacher/profile/components/EducationSection/EducationItem/EducationItem.tsx
|
|
6
|
+
function s({ name: s, status: c, major: l, academicStatus: u, id: d, regDatetime: f, priority: p, ...m }) {
|
|
7
|
+
let { isHoverPossible: h } = o(), { palette: { grey: g }, spacing: _ } = r(), v = typeof m.onClick == "function";
|
|
8
|
+
return /* @__PURE__ */ i("li", { children: /* @__PURE__ */ a(e, {
|
|
9
|
+
role: "button",
|
|
10
|
+
tabIndex: v ? 0 : -1,
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
gap: 4,
|
|
13
|
+
pt: 2,
|
|
14
|
+
pb: 2,
|
|
15
|
+
pl: 4,
|
|
16
|
+
pr: 4,
|
|
17
|
+
ml: -4,
|
|
18
|
+
mr: -4,
|
|
19
|
+
onKeyDown: (e) => {
|
|
20
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.click()), m.onKeyDown?.(e);
|
|
21
|
+
},
|
|
22
|
+
"aria-labelledby": `education-item-title-${d}`,
|
|
23
|
+
"aria-describedby": `education-item-desc-${d}`,
|
|
24
|
+
...m,
|
|
25
|
+
inlineCSS: {
|
|
26
|
+
cursor: v ? "pointer" : "default",
|
|
27
|
+
...v && { "&:active": { backgroundColor: g[10] } },
|
|
28
|
+
...v && h ? { "&:hover": { backgroundColor: g[10] } } : {},
|
|
29
|
+
...m?.inlineCSS
|
|
30
|
+
},
|
|
31
|
+
children: [/* @__PURE__ */ a(e, {
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
gap: 1,
|
|
34
|
+
flexGrow: 1,
|
|
35
|
+
children: [/* @__PURE__ */ a(n, {
|
|
36
|
+
id: `education-item-title-${d}`,
|
|
37
|
+
tag: "p",
|
|
38
|
+
variant: "b2M",
|
|
39
|
+
children: [
|
|
40
|
+
s,
|
|
41
|
+
c === "VERIFIED" && /* @__PURE__ */ i(t, {
|
|
42
|
+
name: "CertifiedFill",
|
|
43
|
+
size: "small",
|
|
44
|
+
color: "tictoccroc-teacher.brand.green",
|
|
45
|
+
"aria-label": "인증된 학력 마크",
|
|
46
|
+
inlineCSS: {
|
|
47
|
+
minWidth: 20,
|
|
48
|
+
verticalAlign: "-5px",
|
|
49
|
+
marginLeft: _.content(1)
|
|
50
|
+
}
|
|
51
|
+
}),
|
|
52
|
+
c === "REJECTED" && /* @__PURE__ */ i(t, {
|
|
53
|
+
name: "AlertFill",
|
|
54
|
+
size: "small",
|
|
55
|
+
color: "etc.red",
|
|
56
|
+
"aria-label": "인증되지 않은 학력 마크",
|
|
57
|
+
inlineCSS: {
|
|
58
|
+
minWidth: 20,
|
|
59
|
+
verticalAlign: "-5px",
|
|
60
|
+
marginLeft: _.content(1)
|
|
61
|
+
}
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
}), /* @__PURE__ */ i(n, {
|
|
65
|
+
id: `education-item-desc-${d}`,
|
|
66
|
+
tag: "p",
|
|
67
|
+
variant: "b5R",
|
|
68
|
+
color: "grey.50",
|
|
69
|
+
children: l
|
|
70
|
+
})]
|
|
71
|
+
}), /* @__PURE__ */ a(e, {
|
|
72
|
+
alignItems: "center",
|
|
73
|
+
gap: 2,
|
|
74
|
+
children: [/* @__PURE__ */ a(n, {
|
|
75
|
+
tag: "p",
|
|
76
|
+
variant: "b4R",
|
|
77
|
+
color: "grey.70",
|
|
78
|
+
noWrap: !0,
|
|
79
|
+
inlineCSS: { "& strong": {
|
|
80
|
+
color: g[100],
|
|
81
|
+
fontWeight: 700
|
|
82
|
+
} },
|
|
83
|
+
children: [
|
|
84
|
+
u === "STUDYING" && "재학중",
|
|
85
|
+
u === "ONBREAK" && "휴학",
|
|
86
|
+
u === "FINISHED" && "졸업"
|
|
87
|
+
]
|
|
88
|
+
}), v && /* @__PURE__ */ i(t, {
|
|
89
|
+
name: "ChevronRightLine",
|
|
90
|
+
size: "xSmall",
|
|
91
|
+
color: "grey.50"
|
|
92
|
+
})]
|
|
93
|
+
})]
|
|
94
|
+
}) });
|
|
109
95
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
};
|
|
96
|
+
//#endregion
|
|
97
|
+
export { s as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./EducationItem.mjs";
|
|
2
|
+
//#region teacher/profile/components/EducationSection/EducationItem/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|