@dotss/tictoccroc 0.4.1 → 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.d.ts +3 -1
- package/dist/parent/notification/components/NotificationCard/NotificationCard.mjs +90 -105
- 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,12 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Flexbox as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import e from "../../../../shared/components/LoadingAnnouncer/index.mjs";
|
|
2
|
+
import { Flexbox as t, Skeleton as n } from "@dotss/ui";
|
|
3
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
//#region teacher/home/components/BannerAccount/BannerAccount.fallback.tsx
|
|
5
|
+
function o() {
|
|
6
|
+
return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(e, {}), /* @__PURE__ */ i(t, {
|
|
7
|
+
"aria-busy": !0,
|
|
8
|
+
inlineCSS: {
|
|
9
|
+
width: "100%",
|
|
10
|
+
cursor: "wait"
|
|
11
|
+
},
|
|
12
|
+
children: /* @__PURE__ */ i(n, {
|
|
13
|
+
height: 100,
|
|
14
|
+
borderRadius: 12,
|
|
15
|
+
inlineCSS: { width: "100%" }
|
|
16
|
+
})
|
|
17
|
+
})] });
|
|
9
18
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { o as default };
|
|
@@ -1,100 +1,84 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import n from "
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "@dotss/ui";
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
function
|
|
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
|
-
height: 100,
|
|
83
|
-
draggable: !1,
|
|
84
|
-
enableFallback: !0,
|
|
85
|
-
enableErrorFallback: !0,
|
|
86
|
-
withIntrinsicRatio: !0,
|
|
87
|
-
wrapperProps: { inlineCSS: { width: "100%" } },
|
|
88
|
-
style: { width: "100%", objectFit: "cover" },
|
|
89
|
-
...d
|
|
90
|
-
}
|
|
91
|
-
)
|
|
92
|
-
}
|
|
93
|
-
) }, `tictoccroc-banner-account-${e}`))
|
|
94
|
-
}
|
|
95
|
-
)
|
|
96
|
-
] });
|
|
1
|
+
import e from "../../../../shared/components/Image/index.mjs";
|
|
2
|
+
import t from "../../../../shared/components/Swiper/SwiperBlock/index.mjs";
|
|
3
|
+
import n from "../../../../shared/components/Swiper/index.mjs";
|
|
4
|
+
import r from "@dotss/ui/core/useTheme";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import o from "@dotss/ui/Flexbox";
|
|
7
|
+
import s from "@dotss/ui/Typography";
|
|
8
|
+
//#region teacher/home/components/BannerAccount/BannerAccount.tsx
|
|
9
|
+
function c({ id: c, banners: l, onClickBanner: u, imageProps: d, swiperProps: f, ...p }) {
|
|
10
|
+
let { palette: m } = r(), h = (e, t) => (n) => {
|
|
11
|
+
u && typeof u == "function" && (n.stopPropagation(), n.preventDefault(), u(e, t, n));
|
|
12
|
+
}, g = ({ page: e, totalPages: t }) => t <= 1 ? null : /* @__PURE__ */ i(o, {
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
justifyContent: "center",
|
|
15
|
+
pt: 1,
|
|
16
|
+
pb: 1,
|
|
17
|
+
pl: 2,
|
|
18
|
+
pr: 2,
|
|
19
|
+
inlineCSS: {
|
|
20
|
+
position: "absolute",
|
|
21
|
+
right: 8,
|
|
22
|
+
bottom: 8,
|
|
23
|
+
minWidth: 36,
|
|
24
|
+
minHeight: 20,
|
|
25
|
+
borderRadius: 24,
|
|
26
|
+
backgroundColor: m.etc.dimmed02
|
|
27
|
+
},
|
|
28
|
+
children: /* @__PURE__ */ a(s, {
|
|
29
|
+
tag: "p",
|
|
30
|
+
variant: "c5R",
|
|
31
|
+
color: "grey.white",
|
|
32
|
+
inlineCSS: { "& > span": { fontWeight: 700 } },
|
|
33
|
+
"aria-label": `${t} 중 ${e + 1}`,
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ i("span", { children: e + 1 }),
|
|
36
|
+
"/",
|
|
37
|
+
t
|
|
38
|
+
]
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
return /* @__PURE__ */ a(o, {
|
|
42
|
+
inlineCSS: { width: "100%" },
|
|
43
|
+
...p,
|
|
44
|
+
children: [/* @__PURE__ */ i(o, {
|
|
45
|
+
id: `tictoccroc-banner-${c}`,
|
|
46
|
+
visuallyHidden: !0,
|
|
47
|
+
children: "배너"
|
|
48
|
+
}), /* @__PURE__ */ i(n, {
|
|
49
|
+
renderPagination: g,
|
|
50
|
+
loop: !0,
|
|
51
|
+
inlineCSS: {
|
|
52
|
+
borderRadius: 12,
|
|
53
|
+
overflow: "hidden"
|
|
54
|
+
},
|
|
55
|
+
"aria-describedby": `tictoccroc-banner-${c}`,
|
|
56
|
+
...f,
|
|
57
|
+
children: l.map(({ id: n, url: r, image: a }, s) => /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(o, {
|
|
58
|
+
tag: "a",
|
|
59
|
+
href: r,
|
|
60
|
+
draggable: !1,
|
|
61
|
+
onClick: h(r, n),
|
|
62
|
+
inlineCSS: { width: "100%" },
|
|
63
|
+
children: /* @__PURE__ */ i(e, {
|
|
64
|
+
src: a || "",
|
|
65
|
+
alt: `배너 ${s + 1}`,
|
|
66
|
+
width: 328,
|
|
67
|
+
height: 100,
|
|
68
|
+
draggable: !1,
|
|
69
|
+
enableFallback: !0,
|
|
70
|
+
enableErrorFallback: !0,
|
|
71
|
+
withIntrinsicRatio: !0,
|
|
72
|
+
wrapperProps: { inlineCSS: { width: "100%" } },
|
|
73
|
+
style: {
|
|
74
|
+
width: "100%",
|
|
75
|
+
objectFit: "cover"
|
|
76
|
+
},
|
|
77
|
+
...d
|
|
78
|
+
})
|
|
79
|
+
}) }, `tictoccroc-banner-account-${n}`))
|
|
80
|
+
})]
|
|
81
|
+
});
|
|
97
82
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
};
|
|
83
|
+
//#endregion
|
|
84
|
+
export { c as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
1
|
+
import e from "./BannerAccount.mjs";
|
|
2
|
+
import t from "./BannerAccount.fallback.mjs";
|
|
3
|
+
//#region teacher/home/components/BannerAccount/index.ts
|
|
4
|
+
var n = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as BannerAccount, t as BannerAccountFallback, n as default };
|
|
@@ -1,68 +1,128 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import r from "
|
|
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
|
-
|
|
1
|
+
import e from "../../../../shared/components/LoadingAnnouncer/index.mjs";
|
|
2
|
+
import t from "@dotss/ui/core/useTheme";
|
|
3
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import a from "@dotss/ui/Flexbox";
|
|
5
|
+
import o from "@dotss/ui/Skeleton";
|
|
6
|
+
//#region teacher/home/components/Carousel1Account/Carousel1Account.fallback.tsx
|
|
7
|
+
function s() {
|
|
8
|
+
let { spacing: s } = t();
|
|
9
|
+
return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(e, {}), /* @__PURE__ */ i(a, {
|
|
10
|
+
tag: "section",
|
|
11
|
+
flexDirection: "column",
|
|
12
|
+
"aria-busy": !0,
|
|
13
|
+
inlineCSS: {
|
|
14
|
+
width: "100%",
|
|
15
|
+
overflow: "hidden",
|
|
16
|
+
cursor: "wait"
|
|
17
|
+
},
|
|
18
|
+
children: [/* @__PURE__ */ r(o, {
|
|
19
|
+
height: 30,
|
|
20
|
+
inlineCSS: {
|
|
21
|
+
width: "50%",
|
|
22
|
+
marginBottom: s.content(3),
|
|
23
|
+
marginLeft: s.content(4)
|
|
24
|
+
}
|
|
25
|
+
}), /* @__PURE__ */ i(a, {
|
|
26
|
+
flexDirection: "row",
|
|
27
|
+
gap: 5,
|
|
28
|
+
ml: 4,
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ i(a, {
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
gap: 5,
|
|
33
|
+
children: [/* @__PURE__ */ i(a, {
|
|
34
|
+
gap: 4,
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
inlineCSS: { width: 264 },
|
|
37
|
+
children: [/* @__PURE__ */ r(o, {
|
|
38
|
+
width: 140,
|
|
39
|
+
height: 98,
|
|
40
|
+
borderRadius: 12
|
|
41
|
+
}), /* @__PURE__ */ r(o, {
|
|
42
|
+
height: 48,
|
|
43
|
+
borderRadius: 12,
|
|
44
|
+
inlineCSS: { flex: 1 }
|
|
45
|
+
})]
|
|
46
|
+
}), /* @__PURE__ */ i(a, {
|
|
47
|
+
gap: 4,
|
|
48
|
+
alignItems: "center",
|
|
49
|
+
inlineCSS: { width: 264 },
|
|
50
|
+
children: [/* @__PURE__ */ r(o, {
|
|
51
|
+
width: 140,
|
|
52
|
+
height: 98,
|
|
53
|
+
borderRadius: 12
|
|
54
|
+
}), /* @__PURE__ */ r(o, {
|
|
55
|
+
height: 48,
|
|
56
|
+
borderRadius: 12,
|
|
57
|
+
inlineCSS: { flex: 1 }
|
|
58
|
+
})]
|
|
59
|
+
})]
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ i(a, {
|
|
62
|
+
flexDirection: "column",
|
|
63
|
+
gap: 5,
|
|
64
|
+
children: [/* @__PURE__ */ i(a, {
|
|
65
|
+
gap: 4,
|
|
66
|
+
alignItems: "center",
|
|
67
|
+
inlineCSS: { width: 264 },
|
|
68
|
+
children: [/* @__PURE__ */ r(o, {
|
|
69
|
+
width: 140,
|
|
70
|
+
height: 98,
|
|
71
|
+
borderRadius: 12
|
|
72
|
+
}), /* @__PURE__ */ r(o, {
|
|
73
|
+
height: 48,
|
|
74
|
+
borderRadius: 12,
|
|
75
|
+
inlineCSS: { flex: 1 }
|
|
76
|
+
})]
|
|
77
|
+
}), /* @__PURE__ */ i(a, {
|
|
78
|
+
gap: 4,
|
|
79
|
+
alignItems: "center",
|
|
80
|
+
inlineCSS: { width: 264 },
|
|
81
|
+
children: [/* @__PURE__ */ r(o, {
|
|
82
|
+
width: 140,
|
|
83
|
+
height: 98,
|
|
84
|
+
borderRadius: 12
|
|
85
|
+
}), /* @__PURE__ */ r(o, {
|
|
86
|
+
height: 48,
|
|
87
|
+
borderRadius: 12,
|
|
88
|
+
inlineCSS: { flex: 1 }
|
|
89
|
+
})]
|
|
90
|
+
})]
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ i(a, {
|
|
93
|
+
flexDirection: "column",
|
|
94
|
+
gap: 5,
|
|
95
|
+
children: [/* @__PURE__ */ i(a, {
|
|
96
|
+
gap: 4,
|
|
97
|
+
alignItems: "center",
|
|
98
|
+
inlineCSS: { width: 264 },
|
|
99
|
+
children: [/* @__PURE__ */ r(o, {
|
|
100
|
+
width: 140,
|
|
101
|
+
height: 98,
|
|
102
|
+
borderRadius: 12
|
|
103
|
+
}), /* @__PURE__ */ r(o, {
|
|
104
|
+
height: 48,
|
|
105
|
+
borderRadius: 12,
|
|
106
|
+
inlineCSS: { flex: 1 }
|
|
107
|
+
})]
|
|
108
|
+
}), /* @__PURE__ */ i(a, {
|
|
109
|
+
gap: 4,
|
|
110
|
+
alignItems: "center",
|
|
111
|
+
inlineCSS: { width: 264 },
|
|
112
|
+
children: [/* @__PURE__ */ r(o, {
|
|
113
|
+
width: 140,
|
|
114
|
+
height: 98,
|
|
115
|
+
borderRadius: 12
|
|
116
|
+
}), /* @__PURE__ */ r(o, {
|
|
117
|
+
height: 48,
|
|
118
|
+
borderRadius: 12,
|
|
119
|
+
inlineCSS: { flex: 1 }
|
|
120
|
+
})]
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
]
|
|
124
|
+
})]
|
|
125
|
+
})] });
|
|
65
126
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
127
|
+
//#endregion
|
|
128
|
+
export { s as default };
|
|
@@ -1,83 +1,69 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
function
|
|
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
|
-
draggable: !1,
|
|
68
|
-
borderRadius: 12,
|
|
69
|
-
enableFallback: !0,
|
|
70
|
-
enableErrorFallback: !0,
|
|
71
|
-
style: { objectFit: "cover" },
|
|
72
|
-
...u
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ e(d, { tag: "p", variant: "b2M", lineClamp: 2, children: t })
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
) }, `tictoccroc-carousel1-account-${o}`)) })
|
|
79
|
-
] }) });
|
|
1
|
+
import e from "../../../../shared/components/Image/index.mjs";
|
|
2
|
+
import t from "../../../../shared/components/Carousel/CarouselSlide/index.mjs";
|
|
3
|
+
import n from "../../../../shared/components/Carousel/index.mjs";
|
|
4
|
+
import r from "@dotss/ui/core/useTheme";
|
|
5
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
import s from "@dotss/ui/Flexbox";
|
|
7
|
+
import c from "@dotss/ui/Typography";
|
|
8
|
+
import l from "@dotss/ui/hooks/useCheckHoverPossible/useCheckHoverPossible";
|
|
9
|
+
//#region teacher/home/components/Carousel1Account/Carousel1Account.tsx
|
|
10
|
+
function u({ id: u, title: d, banners: f, onClickBanner: p, imageProps: m, ...h }) {
|
|
11
|
+
let { spacing: g, palette: _ } = r(), { isHoverPossible: v } = l(), y = (e, t) => (n) => {
|
|
12
|
+
p && typeof p == "function" && (n.stopPropagation(), n.preventDefault(), p(e, t, n));
|
|
13
|
+
};
|
|
14
|
+
return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(s, {
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
inlineCSS: { width: "100%" },
|
|
17
|
+
...h,
|
|
18
|
+
children: [/* @__PURE__ */ a(c, {
|
|
19
|
+
id: `banner-account-carousel1-${u}`,
|
|
20
|
+
variant: "h2B",
|
|
21
|
+
inlineCSS: {
|
|
22
|
+
whiteSpace: "pre-wrap",
|
|
23
|
+
wordBreak: "keep-all",
|
|
24
|
+
paddingLeft: g.content(4),
|
|
25
|
+
paddingRight: g.content(4),
|
|
26
|
+
marginBottom: g.content(3)
|
|
27
|
+
},
|
|
28
|
+
children: d
|
|
29
|
+
}), /* @__PURE__ */ a(n, {
|
|
30
|
+
rowCount: 2,
|
|
31
|
+
step: 1,
|
|
32
|
+
spacing: 5,
|
|
33
|
+
children: f.map(({ id: n, title: r, url: i, image: l }) => /* @__PURE__ */ a(t, { children: /* @__PURE__ */ o(s, {
|
|
34
|
+
tag: "a",
|
|
35
|
+
href: i,
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
gap: 4,
|
|
38
|
+
draggable: !1,
|
|
39
|
+
onClick: y(i, n),
|
|
40
|
+
inlineCSS: {
|
|
41
|
+
width: 264,
|
|
42
|
+
borderRadius: 12,
|
|
43
|
+
"&:active:not([aria-disabled=\"true\"])": { backgroundColor: _.background.primary },
|
|
44
|
+
...v && { "&:hover:not([aria-disabled=\"true\"])": { backgroundColor: _.background.primary } }
|
|
45
|
+
},
|
|
46
|
+
children: [/* @__PURE__ */ a(e, {
|
|
47
|
+
src: l || "",
|
|
48
|
+
width: 140,
|
|
49
|
+
height: 98,
|
|
50
|
+
alt: `${r} 이미지`,
|
|
51
|
+
"aria-hidden": !0,
|
|
52
|
+
draggable: !1,
|
|
53
|
+
borderRadius: 12,
|
|
54
|
+
enableFallback: !0,
|
|
55
|
+
enableErrorFallback: !0,
|
|
56
|
+
style: { objectFit: "cover" },
|
|
57
|
+
...m
|
|
58
|
+
}), /* @__PURE__ */ a(c, {
|
|
59
|
+
tag: "p",
|
|
60
|
+
variant: "b2M",
|
|
61
|
+
lineClamp: 2,
|
|
62
|
+
children: r
|
|
63
|
+
})]
|
|
64
|
+
}) }, `tictoccroc-carousel1-account-${n}`))
|
|
65
|
+
})]
|
|
66
|
+
}) });
|
|
80
67
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { u as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
1
|
+
import e from "./Carousel1Account.mjs";
|
|
2
|
+
import t from "./Carousel1Account.fallback.mjs";
|
|
3
|
+
//#region teacher/home/components/Carousel1Account/index.ts
|
|
4
|
+
var n = e;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as Carousel1Account, t as Carousel1AccountFallback, n as default };
|