@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
package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs
CHANGED
|
@@ -1,96 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
-
left: 0,
|
|
81
|
-
width: "100%",
|
|
82
|
-
height: "100%",
|
|
83
|
-
border: "1px solid rgba(0, 0, 0, 0.05)",
|
|
84
|
-
zIndex: 1,
|
|
85
|
-
borderRadius: t.borderRadius || 12
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
),
|
|
89
|
-
n
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
);
|
|
1
|
+
import e from "../../../../../shared/components/Masonry/MasonryBlock/index.mjs";
|
|
2
|
+
import { Flexbox as t, Icon as n, Label as r, Typography as i } from "@dotss/ui";
|
|
3
|
+
import a from "@dotss/ui/core/useTheme";
|
|
4
|
+
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
//#region teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.tsx
|
|
6
|
+
function l({ children: l, type: u, primary: d = !1, status: f, id: p, ...m }) {
|
|
7
|
+
let { palette: { background: h } } = a();
|
|
8
|
+
return /* @__PURE__ */ c(e, {
|
|
9
|
+
role: "button",
|
|
10
|
+
borderRadius: 12,
|
|
11
|
+
"aria-describedby": `activity-gallery-item-status-desc-${p}`,
|
|
12
|
+
...m,
|
|
13
|
+
inlineCSS: {
|
|
14
|
+
position: "relative",
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
...m.inlineCSS
|
|
17
|
+
},
|
|
18
|
+
children: [
|
|
19
|
+
d && /* @__PURE__ */ s(r, {
|
|
20
|
+
size: "xSmall",
|
|
21
|
+
color: "orange",
|
|
22
|
+
"aria-hidden": !0,
|
|
23
|
+
inlineCSS: {
|
|
24
|
+
position: "absolute",
|
|
25
|
+
top: 8,
|
|
26
|
+
left: 8,
|
|
27
|
+
zIndex: 1
|
|
28
|
+
},
|
|
29
|
+
children: "대표"
|
|
30
|
+
}),
|
|
31
|
+
f === "REJECTED" && /* @__PURE__ */ c(o, { children: [
|
|
32
|
+
/* @__PURE__ */ s(t, {
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
justifyContent: "center",
|
|
35
|
+
inlineCSS: {
|
|
36
|
+
position: "absolute",
|
|
37
|
+
top: 0,
|
|
38
|
+
left: 0,
|
|
39
|
+
width: "100%",
|
|
40
|
+
height: "100%",
|
|
41
|
+
opacity: .8,
|
|
42
|
+
backgroundColor: h.primary,
|
|
43
|
+
zIndex: 1
|
|
44
|
+
}
|
|
45
|
+
}),
|
|
46
|
+
/* @__PURE__ */ s(n, {
|
|
47
|
+
name: "AlertFill",
|
|
48
|
+
size: "xSmall",
|
|
49
|
+
color: "etc.red",
|
|
50
|
+
inlineCSS: {
|
|
51
|
+
position: "absolute",
|
|
52
|
+
top: "50%",
|
|
53
|
+
left: "50%",
|
|
54
|
+
transform: "translate(-50%, -50%)",
|
|
55
|
+
zIndex: 1
|
|
56
|
+
}
|
|
57
|
+
}),
|
|
58
|
+
/* @__PURE__ */ c(i, {
|
|
59
|
+
id: `activity-gallery-item-status-desc-${p}`,
|
|
60
|
+
visuallyHidden: !0,
|
|
61
|
+
children: [u === "VIDEO" || u === "VIMEO" || u === "YOUTUBE" ? "동영상" : "사진", "이 반려되었어요. 다시 등록해 주세요."]
|
|
62
|
+
})
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ s(t, {
|
|
65
|
+
"aria-hidden": !0,
|
|
66
|
+
inlineCSS: {
|
|
67
|
+
position: "absolute",
|
|
68
|
+
top: 0,
|
|
69
|
+
left: 0,
|
|
70
|
+
width: "100%",
|
|
71
|
+
height: "100%",
|
|
72
|
+
border: "1px solid rgba(0, 0, 0, 0.05)",
|
|
73
|
+
zIndex: 1,
|
|
74
|
+
borderRadius: m.borderRadius || 12
|
|
75
|
+
}
|
|
76
|
+
}),
|
|
77
|
+
l
|
|
78
|
+
]
|
|
79
|
+
});
|
|
93
80
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
};
|
|
81
|
+
//#endregion
|
|
82
|
+
export { l as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import e from "./ActivityGalleryItem/index.mjs";
|
|
2
|
+
import t from "./ActivityGallery.mjs";
|
|
3
|
+
//#region teacher/profile/components/ActivityGallery/index.ts
|
|
4
|
+
var n = t;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as ActivityGalleryItem, n as default };
|
package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs
CHANGED
|
@@ -1,194 +1,148 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
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
|
-
id: "available-schedule-section-status-title",
|
|
151
|
-
tag: "h3",
|
|
152
|
-
variant: "h4B",
|
|
153
|
-
textAlign: "center",
|
|
154
|
-
children: i.fallback.title || "쉬는 중일 때는 수업 요청이 오지 않아요!"
|
|
155
|
-
}
|
|
156
|
-
),
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
o,
|
|
159
|
-
{
|
|
160
|
-
id: "available-schedule-section-status-desc",
|
|
161
|
-
tag: "p",
|
|
162
|
-
variant: "b4R",
|
|
163
|
-
color: "grey.70",
|
|
164
|
-
textAlign: "center",
|
|
165
|
-
inlineCSS: {
|
|
166
|
-
whiteSpace: "pre-line"
|
|
167
|
-
},
|
|
168
|
-
children: i.fallback.description || `이미 매칭된 수업은 그대로 유지되니
|
|
169
|
-
변경이 필요한 경우 부모님과 소통해 주세요.`
|
|
170
|
-
}
|
|
171
|
-
)
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
),
|
|
175
|
-
r && /* @__PURE__ */ e(
|
|
176
|
-
l,
|
|
177
|
-
{
|
|
178
|
-
mt: 2,
|
|
179
|
-
alignItems: "center",
|
|
180
|
-
justifyContent: "center",
|
|
181
|
-
inlineCSS: {
|
|
182
|
-
width: "inherit"
|
|
183
|
-
},
|
|
184
|
-
children: r
|
|
185
|
-
}
|
|
186
|
-
)
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
);
|
|
192
|
-
export {
|
|
193
|
-
M as default
|
|
194
|
-
};
|
|
1
|
+
import e from "../../../../shared/components/Image/index.mjs";
|
|
2
|
+
import t from "../../../../shared/components/Scheduler/index.mjs";
|
|
3
|
+
import { forwardRef as n, useState as r } from "react";
|
|
4
|
+
import { Button as i, Flexbox as a, Icon as o, Typography as s } from "@dotss/ui";
|
|
5
|
+
import c from "@dotss/ui/core/useTheme";
|
|
6
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
|
+
import d from "@dotss/ui/Switch";
|
|
8
|
+
//#region teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.tsx
|
|
9
|
+
var f = n(function({ children: n, title: f = "수업 가능 일정", action: p, footer: m, flat: h = !1, schedulerProps: g, enableToggle: _ = !0, teacherStatus: v, ...y }, b) {
|
|
10
|
+
let { palette: { grey: x, background: S } } = c(), [C, w] = r(!1), T = () => w((e) => !e), E = (e) => v.onChange?.(e);
|
|
11
|
+
return /* @__PURE__ */ u(a, {
|
|
12
|
+
ref: b,
|
|
13
|
+
tag: "section",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
gap: 4,
|
|
16
|
+
"aria-labelledby": "available-schedule-section-title",
|
|
17
|
+
"aria-describedby": m ? "available-schedule-section-footer" : void 0,
|
|
18
|
+
...y,
|
|
19
|
+
inlineCSS: {
|
|
20
|
+
width: "100%",
|
|
21
|
+
...y?.inlineCSS
|
|
22
|
+
},
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ l(s, {
|
|
25
|
+
id: "available-schedule-section-title",
|
|
26
|
+
tag: "h2",
|
|
27
|
+
variant: "h2B",
|
|
28
|
+
children: f
|
|
29
|
+
}),
|
|
30
|
+
v.active && /* @__PURE__ */ u(a, {
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
gap: 2,
|
|
33
|
+
children: [/* @__PURE__ */ u(a, {
|
|
34
|
+
flexDirection: "column",
|
|
35
|
+
inlineCSS: {
|
|
36
|
+
...h ? void 0 : {
|
|
37
|
+
border: `1px solid ${x[20]}`,
|
|
38
|
+
borderRadius: 12
|
|
39
|
+
},
|
|
40
|
+
maxHeight: C ? void 0 : _ ? 384 : void 0,
|
|
41
|
+
overflow: "hidden"
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
!h && /* @__PURE__ */ l(a, { pt: 4 }),
|
|
45
|
+
/* @__PURE__ */ l(t, {
|
|
46
|
+
id: "available-schedule-section-scheduler",
|
|
47
|
+
"aria-labelledby": "available-schedule-section-title",
|
|
48
|
+
...g,
|
|
49
|
+
children: n
|
|
50
|
+
}),
|
|
51
|
+
_ && /* @__PURE__ */ l(i, {
|
|
52
|
+
variant: "text",
|
|
53
|
+
color: "secondary",
|
|
54
|
+
endAdornment: /* @__PURE__ */ l(o, { name: C ? "ChevronUpLine" : "ChevronDownLine" }),
|
|
55
|
+
onClick: T,
|
|
56
|
+
"aria-expanded": C,
|
|
57
|
+
"aria-controls": "available-schedule-section-scheduler",
|
|
58
|
+
inlineCSS: {
|
|
59
|
+
position: "sticky",
|
|
60
|
+
bottom: 0,
|
|
61
|
+
borderTopRightRadius: 0,
|
|
62
|
+
borderTopLeftRadius: 0,
|
|
63
|
+
backgroundColor: x.white,
|
|
64
|
+
zIndex: 1
|
|
65
|
+
},
|
|
66
|
+
children: C ? "접기" : "펼쳐보기"
|
|
67
|
+
})
|
|
68
|
+
]
|
|
69
|
+
}), m && /* @__PURE__ */ l(a, {
|
|
70
|
+
id: "available-schedule-section-footer",
|
|
71
|
+
tag: "footer",
|
|
72
|
+
pl: 12,
|
|
73
|
+
pr: 2,
|
|
74
|
+
children: m
|
|
75
|
+
})]
|
|
76
|
+
}),
|
|
77
|
+
typeof v.onChange == "function" && /* @__PURE__ */ u(a, {
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
justifyContent: "space-between",
|
|
80
|
+
gap: 2,
|
|
81
|
+
inlineCSS: { width: "inherit" },
|
|
82
|
+
children: [/* @__PURE__ */ l(s, {
|
|
83
|
+
tag: "label",
|
|
84
|
+
variant: "h4M",
|
|
85
|
+
htmlFor: "available-schedule-section-switch",
|
|
86
|
+
children: "활동 여부"
|
|
87
|
+
}), /* @__PURE__ */ l(d, {
|
|
88
|
+
selected: !!v.active,
|
|
89
|
+
onChange: E,
|
|
90
|
+
selectedLabel: "활동중",
|
|
91
|
+
unselectedLabel: "쉬는중",
|
|
92
|
+
inputProps: { id: "available-schedule-section-switch" }
|
|
93
|
+
})]
|
|
94
|
+
}),
|
|
95
|
+
!v.active && /* @__PURE__ */ u(a, {
|
|
96
|
+
role: "status",
|
|
97
|
+
pt: 5,
|
|
98
|
+
pb: 5,
|
|
99
|
+
pl: 4,
|
|
100
|
+
pr: 4,
|
|
101
|
+
flexDirection: "column",
|
|
102
|
+
alignItems: "center",
|
|
103
|
+
justifyContent: "center",
|
|
104
|
+
gap: 2,
|
|
105
|
+
"aria-labelledby": "available-schedule-section-status-title",
|
|
106
|
+
"aria-describedby": "available-schedule-section-status-desc",
|
|
107
|
+
inlineCSS: {
|
|
108
|
+
borderRadius: 8,
|
|
109
|
+
backgroundColor: S.primary
|
|
110
|
+
},
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ l(e, {
|
|
113
|
+
width: 48,
|
|
114
|
+
height: 48,
|
|
115
|
+
src: `${v.fallback.iconBasePath}/images/design-system/graphic/illustration3D/island.png`,
|
|
116
|
+
alt: "쉬는 중",
|
|
117
|
+
"aria-hidden": !0
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ l(s, {
|
|
120
|
+
id: "available-schedule-section-status-title",
|
|
121
|
+
tag: "h3",
|
|
122
|
+
variant: "h4B",
|
|
123
|
+
textAlign: "center",
|
|
124
|
+
children: v.fallback.title || "쉬는 중일 때는 수업 요청이 오지 않아요!"
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ l(s, {
|
|
127
|
+
id: "available-schedule-section-status-desc",
|
|
128
|
+
tag: "p",
|
|
129
|
+
variant: "b4R",
|
|
130
|
+
color: "grey.70",
|
|
131
|
+
textAlign: "center",
|
|
132
|
+
inlineCSS: { whiteSpace: "pre-line" },
|
|
133
|
+
children: v.fallback.description || "이미 매칭된 수업은 그대로 유지되니\n변경이 필요한 경우 부모님과 소통해 주세요."
|
|
134
|
+
})
|
|
135
|
+
]
|
|
136
|
+
}),
|
|
137
|
+
p && /* @__PURE__ */ l(a, {
|
|
138
|
+
mt: 2,
|
|
139
|
+
alignItems: "center",
|
|
140
|
+
justifyContent: "center",
|
|
141
|
+
inlineCSS: { width: "inherit" },
|
|
142
|
+
children: p
|
|
143
|
+
})
|
|
144
|
+
]
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
export { f as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "./AvailableScheduleSection.mjs";
|
|
2
|
+
//#region teacher/profile/components/AvailableScheduleSection/index.ts
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { t as default };
|