@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,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "dayjs";
|
|
2
|
+
//#region teacher/profile/components/ProfileSummary/ProfileSummary.utils.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = e(), r = n.diff(t, "minute"), i = n.diff(t, "hour"), a = n.diff(t, "day");
|
|
5
|
+
return r < 1 ? "방금 전 활동" : r < 60 ? `${r}분 전 활동` : i < 24 ? `${i}시간 전 활동` : a < 7 ? `${a}일 전 활동` : a < 14 ? "1주 이내 활동" : a < 21 ? "2주 이내 활동" : a < 28 ? "3주 이내 활동" : a <= 30 ? "한 달 이내 활동" : null;
|
|
5
6
|
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as getLastActiveText };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./ProfileSummary.mjs";
|
|
2
|
+
//#region teacher/profile/components/ProfileSummary/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,106 +1,81 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Label as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
function
|
|
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
|
-
e,
|
|
80
|
-
{
|
|
81
|
-
variant: "ghost",
|
|
82
|
-
size: "small",
|
|
83
|
-
color: "grey",
|
|
84
|
-
startAdornment: /* @__PURE__ */ a(
|
|
85
|
-
s,
|
|
86
|
-
{
|
|
87
|
-
width: 16,
|
|
88
|
-
height: 16,
|
|
89
|
-
src: "https://dev-static.tictoccroc.co.kr/teacher/images/design-system/graphic/illustration3D/block.png",
|
|
90
|
-
alt: "놀이 상위 배지 아이콘",
|
|
91
|
-
role: "presentation"
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
"aria-label": `놀이 상위 ${t}퍼센트`,
|
|
95
|
-
...r,
|
|
96
|
-
children: [
|
|
97
|
-
"놀이 상위 ",
|
|
98
|
-
t,
|
|
99
|
-
"%"
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
);
|
|
1
|
+
import e from "../../../../../shared/components/Image/index.mjs";
|
|
2
|
+
import { Label as t } from "@dotss/ui";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.tsx
|
|
5
|
+
function i({ type: i, percent: a, ...o }) {
|
|
6
|
+
return i === "creativeArt" ? /* @__PURE__ */ r(t, {
|
|
7
|
+
variant: "ghost",
|
|
8
|
+
size: "small",
|
|
9
|
+
color: "grey",
|
|
10
|
+
startAdornment: /* @__PURE__ */ n(e, {
|
|
11
|
+
width: 16,
|
|
12
|
+
height: 16,
|
|
13
|
+
src: "https://dev-static.tictoccroc.co.kr/teacher/images/design-system/graphic/illustration3D/brush.png",
|
|
14
|
+
alt: "창의미술 상위 배지 아이콘",
|
|
15
|
+
role: "presentation"
|
|
16
|
+
}),
|
|
17
|
+
"aria-label": `창의미술 상위 ${a}퍼센트`,
|
|
18
|
+
...o,
|
|
19
|
+
children: [
|
|
20
|
+
"창의미술 상위 ",
|
|
21
|
+
a,
|
|
22
|
+
"%"
|
|
23
|
+
]
|
|
24
|
+
}) : i === "english" ? /* @__PURE__ */ r(t, {
|
|
25
|
+
variant: "ghost",
|
|
26
|
+
size: "small",
|
|
27
|
+
color: "grey",
|
|
28
|
+
startAdornment: /* @__PURE__ */ n(e, {
|
|
29
|
+
width: 16,
|
|
30
|
+
height: 16,
|
|
31
|
+
src: "https://dev-static.tictoccroc.co.kr/teacher/images/design-system/graphic/illustration3D/english.png",
|
|
32
|
+
alt: "영어 상위 배지 아이콘",
|
|
33
|
+
role: "presentation"
|
|
34
|
+
}),
|
|
35
|
+
"aria-label": `영어 상위 ${a}퍼센트`,
|
|
36
|
+
...o,
|
|
37
|
+
children: [
|
|
38
|
+
"영어 상위 ",
|
|
39
|
+
a,
|
|
40
|
+
"%"
|
|
41
|
+
]
|
|
42
|
+
}) : i === "learning" ? /* @__PURE__ */ r(t, {
|
|
43
|
+
variant: "ghost",
|
|
44
|
+
size: "small",
|
|
45
|
+
color: "grey",
|
|
46
|
+
startAdornment: /* @__PURE__ */ n(e, {
|
|
47
|
+
width: 16,
|
|
48
|
+
height: 16,
|
|
49
|
+
src: "https://dev-static.tictoccroc.co.kr/teacher/images/design-system/graphic/illustration3D/pencil.png",
|
|
50
|
+
alt: "학습 상위 배지 아이콘",
|
|
51
|
+
role: "presentation"
|
|
52
|
+
}),
|
|
53
|
+
"aria-label": `학습 상위 ${a}퍼센트`,
|
|
54
|
+
...o,
|
|
55
|
+
children: [
|
|
56
|
+
"학습 상위 ",
|
|
57
|
+
a,
|
|
58
|
+
"%"
|
|
59
|
+
]
|
|
60
|
+
}) : /* @__PURE__ */ r(t, {
|
|
61
|
+
variant: "ghost",
|
|
62
|
+
size: "small",
|
|
63
|
+
color: "grey",
|
|
64
|
+
startAdornment: /* @__PURE__ */ n(e, {
|
|
65
|
+
width: 16,
|
|
66
|
+
height: 16,
|
|
67
|
+
src: "https://dev-static.tictoccroc.co.kr/teacher/images/design-system/graphic/illustration3D/block.png",
|
|
68
|
+
alt: "놀이 상위 배지 아이콘",
|
|
69
|
+
role: "presentation"
|
|
70
|
+
}),
|
|
71
|
+
"aria-label": `놀이 상위 ${a}퍼센트`,
|
|
72
|
+
...o,
|
|
73
|
+
children: [
|
|
74
|
+
"놀이 상위 ",
|
|
75
|
+
a,
|
|
76
|
+
"%"
|
|
77
|
+
]
|
|
78
|
+
});
|
|
103
79
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
};
|
|
80
|
+
//#endregion
|
|
81
|
+
export { i as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./StatBadge.mjs";
|
|
2
|
+
//#region teacher/profile/components/StatBadgeCollection/StatBadge/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,28 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { Flexbox as e, Icon as t, Typography as n } from "@dotss/ui";
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
//#region teacher/profile/components/StatBadgeCollection/StatBadgeCollection.tsx
|
|
4
|
+
function a({ children: a, hideDescription: o = !1, ...s }) {
|
|
5
|
+
return /* @__PURE__ */ i(e, {
|
|
6
|
+
tag: "section",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
gap: 1,
|
|
9
|
+
"aria-label": "돌봄 통계 배지 안내",
|
|
10
|
+
...s,
|
|
11
|
+
children: [/* @__PURE__ */ r(e, {
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
flexWrap: "wrap",
|
|
14
|
+
gap: 1,
|
|
15
|
+
role: "group",
|
|
16
|
+
"aria-label": "획득한 배지",
|
|
17
|
+
children: a
|
|
18
|
+
}), !o && /* @__PURE__ */ i(e, {
|
|
19
|
+
gap: .5,
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
children: [/* @__PURE__ */ r(t, {
|
|
22
|
+
name: "InformationLine",
|
|
23
|
+
color: "grey.50",
|
|
24
|
+
size: "xSmall"
|
|
25
|
+
}), /* @__PURE__ */ r(n, {
|
|
26
|
+
tag: "p",
|
|
27
|
+
variant: "c5M",
|
|
28
|
+
color: "grey.50",
|
|
29
|
+
children: "째깍악어 통계 기반으로 자동 부여되는 배지예요."
|
|
30
|
+
})]
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
25
33
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { a as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import e from "./StatBadgeCollection.mjs";
|
|
2
|
+
import t from "./StatBadge/index.mjs";
|
|
3
|
+
//#region teacher/profile/components/StatBadgeCollection/index.ts
|
|
4
|
+
var n = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { t as StatBadge, n as default };
|
|
@@ -1,48 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
export {
|
|
25
|
-
R as AbilityBadge,
|
|
26
|
-
K as AbilityCollection,
|
|
27
|
-
i as ActivityGallery,
|
|
28
|
-
u as ActivityGalleryItem,
|
|
29
|
-
q as AvailableScheduleSection,
|
|
30
|
-
H as CareNote,
|
|
31
|
-
D as CareNoteSection,
|
|
32
|
-
S as CareerItem,
|
|
33
|
-
y as CareerSection,
|
|
34
|
-
c as CertificateItem,
|
|
35
|
-
x as CertificateSection,
|
|
36
|
-
P as EducationItem,
|
|
37
|
-
g as EducationSection,
|
|
38
|
-
U as ParentReviewCard,
|
|
39
|
-
M as ParentReviewSection,
|
|
40
|
-
w as PreferredActivityKeywordGroup,
|
|
41
|
-
I as PreferredAgeGroup,
|
|
42
|
-
r as ProfileSummary,
|
|
43
|
-
l as StatBadge,
|
|
44
|
-
a as StatBadgeCollection,
|
|
45
|
-
j as getAbilityCollection,
|
|
46
|
-
Q as getChildLabel,
|
|
47
|
-
h as getPreferredAgeKeywords
|
|
48
|
-
};
|
|
1
|
+
import e from "./ProfileSummary/index.mjs";
|
|
2
|
+
import t from "./StatBadgeCollection/StatBadge/index.mjs";
|
|
3
|
+
import n from "./StatBadgeCollection/index.mjs";
|
|
4
|
+
import r from "./ActivityGallery/ActivityGalleryItem/index.mjs";
|
|
5
|
+
import i from "./ActivityGallery/index.mjs";
|
|
6
|
+
import a from "./CertificateSection/CertificateItem/index.mjs";
|
|
7
|
+
import o from "./CertificateSection/index.mjs";
|
|
8
|
+
import s from "./CareerSection/CareerItem/index.mjs";
|
|
9
|
+
import c from "./CareerSection/index.mjs";
|
|
10
|
+
import l from "./EducationSection/EducationItem/index.mjs";
|
|
11
|
+
import u from "./EducationSection/index.mjs";
|
|
12
|
+
import d from "./PreferredActivityKeywordGroup/index.mjs";
|
|
13
|
+
import { getPreferredAgeKeywords as f } from "./PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
|
|
14
|
+
import p from "./PreferredAgeGroup/index.mjs";
|
|
15
|
+
import { getAbilityCollection as m } from "./AbilityCollection/AbilityCollection.utils.mjs";
|
|
16
|
+
import h from "./AbilityCollection/AbilityBadge/index.mjs";
|
|
17
|
+
import g from "./AbilityCollection/index.mjs";
|
|
18
|
+
import _ from "./AvailableScheduleSection/index.mjs";
|
|
19
|
+
import v from "./CareNoteSection/CareNote/index.mjs";
|
|
20
|
+
import y from "./CareNoteSection/index.mjs";
|
|
21
|
+
import { getChildLabel as b } from "./ParentReviewSection/ParentReviewSection.utils.mjs";
|
|
22
|
+
import x from "./ParentReviewSection/ParentReviewCard/index.mjs";
|
|
23
|
+
import S from "./ParentReviewSection/index.mjs";
|
|
24
|
+
export { h as AbilityBadge, g as AbilityCollection, i as ActivityGallery, r as ActivityGalleryItem, _ as AvailableScheduleSection, v as CareNote, y as CareNoteSection, s as CareerItem, c as CareerSection, a as CertificateItem, o as CertificateSection, l as EducationItem, u as EducationSection, x as ParentReviewCard, S as ParentReviewSection, d as PreferredActivityKeywordGroup, p as PreferredAgeGroup, e as ProfileSummary, t as StatBadge, n as StatBadgeCollection, m as getAbilityCollection, b as getChildLabel, f as getPreferredAgeKeywords };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./sortItems.mjs";
|
|
2
|
+
//#region teacher/profile/utils/sortItems/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
1
|
+
//#region teacher/profile/utils/sortItems/sortItems.ts
|
|
2
|
+
function e(e, t = (e) => e) {
|
|
3
|
+
let n = e.some((e) => !!t(e).priority), r = e.filter((e) => t(e).status !== "REJECTED"), i = e.filter((e) => t(e).status === "REJECTED"), a = (e, n) => {
|
|
4
|
+
let r = t(e), i = t(n);
|
|
5
|
+
if (r.phase && i.phase) {
|
|
6
|
+
let e = {
|
|
7
|
+
STUDYING: 0,
|
|
8
|
+
ONBREAK: 1,
|
|
9
|
+
FINISHED: 2
|
|
10
|
+
}, t = e[r.phase], n = e[i.phase];
|
|
11
|
+
if (t !== n) return t - n;
|
|
12
|
+
}
|
|
13
|
+
if (r.phase && !i.phase) return -1;
|
|
14
|
+
if (!r.phase && i.phase) return 1;
|
|
15
|
+
if (r.acqDate && i.acqDate) {
|
|
16
|
+
let e = i.acqDate.localeCompare(r.acqDate);
|
|
17
|
+
if (e !== 0) return e;
|
|
18
|
+
}
|
|
19
|
+
if (r.acqDate && !i.acqDate) return -1;
|
|
20
|
+
if (!r.acqDate && i.acqDate) return 1;
|
|
21
|
+
if (r.startDate && i.startDate) {
|
|
22
|
+
let e = i.startDate.localeCompare(r.startDate);
|
|
23
|
+
if (e !== 0) return e;
|
|
24
|
+
}
|
|
25
|
+
if (r.startDate && !i.startDate) return -1;
|
|
26
|
+
if (!r.startDate && i.startDate) return 1;
|
|
27
|
+
if (r.endDate && i.endDate) {
|
|
28
|
+
let e = i.endDate.localeCompare(r.endDate);
|
|
29
|
+
if (e !== 0) return e;
|
|
30
|
+
}
|
|
31
|
+
return r.endDate && !i.endDate ? -1 : !r.endDate && i.endDate ? 1 : i.regDatetime.localeCompare(r.regDatetime);
|
|
32
|
+
};
|
|
33
|
+
if (n) {
|
|
34
|
+
let e = (e, n) => {
|
|
35
|
+
let r = t(e), i = t(n);
|
|
36
|
+
return r.priority === i.priority ? a(e, n) : i.priority - r.priority;
|
|
37
|
+
};
|
|
38
|
+
return [...r.sort(e), ...i.sort(e)];
|
|
39
|
+
} else {
|
|
40
|
+
let e = r.filter((e) => t(e).status === "VERIFIED"), n = r.filter((e) => t(e).status !== "VERIFIED");
|
|
41
|
+
return [
|
|
42
|
+
...e.sort(a),
|
|
43
|
+
...n.sort(a),
|
|
44
|
+
...i.sort(a)
|
|
45
|
+
];
|
|
46
|
+
}
|
|
46
47
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { e as default };
|
package/package.json
CHANGED