@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.
Files changed (204) hide show
  1. package/dist/Calendar-BOLCHnjh.js +97 -0
  2. package/dist/TimePicker-BwACyeBR.js +120 -0
  3. package/dist/convertMdToHtml-Bmk0brLK.js +1431 -0
  4. package/dist/index.mjs +105 -200
  5. package/dist/parent/b2b/components/ActionButtons/ActionButtons.mjs +26 -29
  6. package/dist/parent/b2b/components/ActionButtons/index.mjs +5 -4
  7. package/dist/parent/b2b/components/BottomNotes/BottomNotes.mjs +37 -35
  8. package/dist/parent/b2b/components/BottomNotes/index.mjs +5 -4
  9. package/dist/parent/b2b/components/EmployeeNumberField/EmployeeNumberField.mjs +12 -15
  10. package/dist/parent/b2b/components/EmployeeNumberField/index.mjs +5 -4
  11. package/dist/parent/b2b/components/NameField/NameField.mjs +12 -7
  12. package/dist/parent/b2b/components/NameField/index.mjs +5 -4
  13. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.mjs +27 -30
  14. package/dist/parent/b2b/components/PhoneNumberField/PhoneNumberField.utils.mjs +7 -8
  15. package/dist/parent/b2b/components/PhoneNumberField/index.mjs +6 -7
  16. package/dist/parent/b2b/components/Title/Title.mjs +22 -16
  17. package/dist/parent/b2b/components/Title/index.mjs +4 -3
  18. package/dist/parent/b2b/components/TopLogo/TopLogo.mjs +55 -93
  19. package/dist/parent/b2b/components/TopLogo/index.mjs +5 -4
  20. package/dist/parent/b2b/components/index.mjs +9 -19
  21. package/dist/parent/b2b/utils/convertMdToHtml/convertMdToHtml.mjs +2 -1143
  22. package/dist/parent/b2b/utils/index.mjs +2 -4
  23. package/dist/parent/notification/components/NotificationCard/NotificationCard.mjs +90 -108
  24. package/dist/parent/notification/components/NotificationCard/index.mjs +5 -4
  25. package/dist/parent/notification/components/index.mjs +2 -4
  26. package/dist/parent/notification/utils/index.mjs +2 -4
  27. package/dist/parent/notification/utils/sanitize/sanitize.mjs +6 -6
  28. package/dist/purify.es-D3W4zDrg.js +549 -0
  29. package/dist/shared/components/Calendar/Calendar.mjs +2 -80
  30. package/dist/shared/components/Calendar/index.mjs +5 -4
  31. package/dist/shared/components/Carousel/Carousel.mjs +184 -210
  32. package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +10 -7
  33. package/dist/shared/components/Carousel/CarouselSlide/index.mjs +5 -4
  34. package/dist/shared/components/Carousel/index.mjs +6 -6
  35. package/dist/shared/components/ChatKit/BotMessage/BotMessage.mjs +151 -183
  36. package/dist/shared/components/ChatKit/BotMessage/BotMessage.utils.mjs +30 -50
  37. package/dist/shared/components/ChatKit/BotMessage/index.mjs +6 -8
  38. package/dist/shared/components/ChatKit/InputBar/InputBar.fallback.mjs +64 -84
  39. package/dist/shared/components/ChatKit/InputBar/InputBar.mjs +105 -130
  40. package/dist/shared/components/ChatKit/InputBar/index.mjs +6 -6
  41. package/dist/shared/components/ChatKit/Message/Message.fallback.mjs +50 -66
  42. package/dist/shared/components/ChatKit/Message/Message.mjs +178 -276
  43. package/dist/shared/components/ChatKit/Message/Message.utils.mjs +20 -31
  44. package/dist/shared/components/ChatKit/Message/index.mjs +7 -9
  45. package/dist/shared/components/ChatKit/Seperator/Seperator.mjs +31 -27
  46. package/dist/shared/components/ChatKit/Seperator/index.mjs +4 -3
  47. package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs +183 -153
  48. package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.mjs +83 -108
  49. package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs +5 -5
  50. package/dist/shared/components/ChatKit/SystemMessage/index.mjs +7 -8
  51. package/dist/shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.mjs +49 -54
  52. package/dist/shared/components/ChatKit/UnreadMessagePill/index.mjs +5 -4
  53. package/dist/shared/components/ChatKit/index.mjs +13 -29
  54. package/dist/shared/components/Image/Image.d.ts +2 -0
  55. package/dist/shared/components/Image/Image.error.mjs +34 -40
  56. package/dist/shared/components/Image/Image.mjs +247 -289
  57. package/dist/shared/components/Image/index.mjs +6 -6
  58. package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs +19 -18
  59. package/dist/shared/components/LoadingAnnouncer/index.mjs +5 -4
  60. package/dist/shared/components/Masonry/Masonry.mjs +240 -276
  61. package/dist/shared/components/Masonry/Masonry.utils.mjs +62 -81
  62. package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.mjs +111 -144
  63. package/dist/shared/components/Masonry/MasonryBlock/index.mjs +5 -4
  64. package/dist/shared/components/Masonry/index.mjs +6 -6
  65. package/dist/shared/components/MediaDialog/MediaBlock/MediaBlock.mjs +54 -69
  66. package/dist/shared/components/MediaDialog/MediaBlock/index.mjs +5 -4
  67. package/dist/shared/components/MediaDialog/MediaDialog.mjs +216 -330
  68. package/dist/shared/components/MediaDialog/MediaDialogContent/MediaDialogContent.mjs +18 -21
  69. package/dist/shared/components/MediaDialog/MediaDialogContent/index.mjs +5 -4
  70. package/dist/shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs +22 -27
  71. package/dist/shared/components/MediaDialog/MediaDialogFooter/index.mjs +5 -4
  72. package/dist/shared/components/MediaDialog/MediaDialogToolbar/MediaDialogToolbar.mjs +15 -21
  73. package/dist/shared/components/MediaDialog/MediaDialogToolbar/index.mjs +5 -4
  74. package/dist/shared/components/MediaDialog/index.mjs +9 -12
  75. package/dist/shared/components/Roller/Roller.mjs +99 -132
  76. package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +9 -6
  77. package/dist/shared/components/Roller/RollerBlock/index.mjs +5 -4
  78. package/dist/shared/components/Roller/index.mjs +6 -6
  79. package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +22 -30
  80. package/dist/shared/components/Scheduler/ScheduleBlock/index.mjs +5 -4
  81. package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +25 -35
  82. package/dist/shared/components/Scheduler/ScheduleEvent/index.mjs +5 -4
  83. package/dist/shared/components/Scheduler/Scheduler.mjs +472 -567
  84. package/dist/shared/components/Scheduler/Scheduler.utils.mjs +78 -101
  85. package/dist/shared/components/Scheduler/index.mjs +8 -10
  86. package/dist/shared/components/Swiper/Swiper.mjs +238 -283
  87. package/dist/shared/components/Swiper/Swiper.utils.mjs +19 -24
  88. package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +14 -17
  89. package/dist/shared/components/Swiper/SwiperBlock/index.mjs +5 -4
  90. package/dist/shared/components/Swiper/index.mjs +6 -6
  91. package/dist/shared/components/TextField/TextField.mjs +44 -55
  92. package/dist/shared/components/TextField/index.mjs +5 -4
  93. package/dist/shared/components/TimePicker/TimePicker.mjs +2 -120
  94. package/dist/shared/components/TimePicker/index.mjs +5 -4
  95. package/dist/shared/components/index.mjs +36 -75
  96. package/dist/shared/hooks/index.mjs +4 -8
  97. package/dist/shared/hooks/useCombineRef/index.mjs +5 -4
  98. package/dist/shared/hooks/useCombineRef/useCombineRef.mjs +7 -7
  99. package/dist/shared/hooks/useInView/index.mjs +5 -4
  100. package/dist/shared/hooks/useInView/useInView.d.ts +2 -1
  101. package/dist/shared/hooks/useInView/useInView.mjs +37 -47
  102. package/dist/shared/hooks/useIsomorphicLayoutEffect/index.mjs +5 -4
  103. package/dist/shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs +6 -6
  104. package/dist/shared/typings/common.mjs +6 -4
  105. package/dist/shared/typings/index.mjs +2 -4
  106. package/dist/shared/utils/ageToBirthDate/ageToBirthDate.mjs +17 -9
  107. package/dist/shared/utils/ageToBirthDate/index.mjs +5 -4
  108. package/dist/shared/utils/birthDateToAge/birthDateToAge.mjs +9 -10
  109. package/dist/shared/utils/birthDateToAge/index.mjs +4 -3
  110. package/dist/shared/utils/combineRef/combineRef.mjs +20 -23
  111. package/dist/shared/utils/combineRef/index.mjs +5 -4
  112. package/dist/shared/utils/dayFlagToDay/dayFlagToDay.mjs +15 -23
  113. package/dist/shared/utils/dayFlagToDay/index.mjs +5 -4
  114. package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.mjs +13 -20
  115. package/dist/shared/utils/getCareTypeLabel/index.mjs +5 -4
  116. package/dist/shared/utils/getDateRange/getDateRange.mjs +15 -20
  117. package/dist/shared/utils/getDateRange/index.mjs +5 -4
  118. package/dist/shared/utils/getImageUrl/getImageUrl.mjs +7 -17
  119. package/dist/shared/utils/getImageUrl/index.mjs +5 -6
  120. package/dist/shared/utils/getTimeRange/getTimeRange.mjs +19 -21
  121. package/dist/shared/utils/getTimeRange/index.mjs +5 -4
  122. package/dist/shared/utils/getVimeoId/getVimeoId.mjs +11 -11
  123. package/dist/shared/utils/getVimeoId/index.mjs +5 -4
  124. package/dist/shared/utils/index.mjs +18 -36
  125. package/dist/shared/utils/isAndroid/index.mjs +5 -4
  126. package/dist/shared/utils/isAndroid/isAndroid.mjs +5 -5
  127. package/dist/shared/utils/isApp/index.mjs +5 -4
  128. package/dist/shared/utils/isApp/isApp.mjs +4 -4
  129. package/dist/shared/utils/isDesktop/index.mjs +5 -4
  130. package/dist/shared/utils/isDesktop/isDesktop.mjs +15 -15
  131. package/dist/shared/utils/isIos/index.mjs +5 -4
  132. package/dist/shared/utils/isIos/isIos.mjs +5 -5
  133. package/dist/shared/utils/isServer/index.mjs +4 -3
  134. package/dist/shared/utils/isServer/isServer.mjs +4 -4
  135. package/dist/shared/utils/objectToQueryString/index.mjs +5 -4
  136. package/dist/shared/utils/objectToQueryString/objectToQueryString.mjs +7 -8
  137. package/dist/shared/utils/parseQueryString/index.mjs +4 -3
  138. package/dist/shared/utils/parseQueryString/parseQueryString.mjs +5 -5
  139. package/dist/shared/utils/share/index.mjs +5 -4
  140. package/dist/shared/utils/share/share.mjs +12 -14
  141. package/dist/teacher/home/components/BannerAccount/BannerAccount.fallback.mjs +19 -11
  142. package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +83 -99
  143. package/dist/teacher/home/components/BannerAccount/index.mjs +6 -7
  144. package/dist/teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs +127 -67
  145. package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +68 -82
  146. package/dist/teacher/home/components/Carousel1Account/index.mjs +6 -7
  147. package/dist/teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs +112 -94
  148. package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +79 -85
  149. package/dist/teacher/home/components/Carousel2Account/index.mjs +6 -7
  150. package/dist/teacher/home/components/TextAccount/TextAccount.fallback.mjs +119 -108
  151. package/dist/teacher/home/components/TextAccount/TextAccount.mjs +91 -111
  152. package/dist/teacher/home/components/TextAccount/index.mjs +6 -7
  153. package/dist/teacher/home/components/index.mjs +9 -18
  154. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs +345 -442
  155. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs +5 -5
  156. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +106 -109
  157. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs +54 -58
  158. package/dist/teacher/profile/components/AbilityCollection/index.mjs +7 -8
  159. package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +73 -104
  160. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +81 -95
  161. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs +4 -3
  162. package/dist/teacher/profile/components/ActivityGallery/index.mjs +6 -6
  163. package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +148 -194
  164. package/dist/teacher/profile/components/AvailableScheduleSection/index.mjs +5 -4
  165. package/dist/teacher/profile/components/CareNoteSection/CareNote/CareNote.mjs +61 -53
  166. package/dist/teacher/profile/components/CareNoteSection/CareNote/index.mjs +5 -4
  167. package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.mjs +72 -81
  168. package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.utils.mjs +17 -12
  169. package/dist/teacher/profile/components/CareNoteSection/index.mjs +6 -6
  170. package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +108 -134
  171. package/dist/teacher/profile/components/CareerSection/CareerItem/index.mjs +5 -4
  172. package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +133 -176
  173. package/dist/teacher/profile/components/CareerSection/index.mjs +6 -6
  174. package/dist/teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs +82 -88
  175. package/dist/teacher/profile/components/CertificateSection/CertificateItem/index.mjs +4 -3
  176. package/dist/teacher/profile/components/CertificateSection/CertificateSection.mjs +112 -141
  177. package/dist/teacher/profile/components/CertificateSection/index.mjs +6 -6
  178. package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +96 -111
  179. package/dist/teacher/profile/components/EducationSection/EducationItem/index.mjs +5 -4
  180. package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +112 -141
  181. package/dist/teacher/profile/components/EducationSection/index.mjs +6 -6
  182. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs +107 -102
  183. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs +5 -4
  184. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +85 -81
  185. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs +17 -12
  186. package/dist/teacher/profile/components/ParentReviewSection/index.mjs +7 -8
  187. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +43 -36
  188. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.mjs +4 -3
  189. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +44 -31
  190. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +11 -12
  191. package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +5 -5
  192. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +348 -433
  193. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.utils.mjs +7 -7
  194. package/dist/teacher/profile/components/ProfileSummary/index.mjs +5 -4
  195. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +80 -105
  196. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +5 -4
  197. package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +34 -27
  198. package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -6
  199. package/dist/teacher/profile/components/index.mjs +24 -48
  200. package/dist/teacher/profile/utils/index.mjs +2 -4
  201. package/dist/teacher/profile/utils/sortItems/index.mjs +5 -4
  202. package/dist/teacher/profile/utils/sortItems/sortItems.mjs +48 -48
  203. package/package.json +1 -1
  204. package/dist/purify.es-BGaRrCfO.js +0 -553
@@ -1,12 +1,20 @@
1
- import { jsxs as n, Fragment as i, jsx as r } from "react/jsx-runtime";
2
- import { Flexbox as e, Skeleton as o } from "@dotss/ui";
3
- import t from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
4
- function c() {
5
- return /* @__PURE__ */ n(i, { children: [
6
- /* @__PURE__ */ r(t, {}),
7
- /* @__PURE__ */ r(e, { "aria-busy": !0, inlineCSS: { width: "100%", cursor: "wait" }, children: /* @__PURE__ */ r(o, { height: 100, borderRadius: 12, inlineCSS: { width: "100%" } }) })
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
- export {
11
- c as default
12
- };
19
+ //#endregion
20
+ export { o as default };
@@ -1,100 +1,84 @@
1
- import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import f from "@dotss/ui/core/useTheme";
3
- import n from "@dotss/ui/Flexbox";
4
- import g from "@dotss/ui/Typography";
5
- import S from "../../../../shared/components/Image/Image.mjs";
6
- import "@dotss/ui";
7
- import w from "../../../../shared/components/Swiper/Swiper.mjs";
8
- import y from "../../../../shared/components/Swiper/SwiperBlock/SwiperBlock.mjs";
9
- function I({
10
- id: a,
11
- banners: l,
12
- onClickBanner: o,
13
- imageProps: d,
14
- swiperProps: p,
15
- ...h
16
- }) {
17
- const { palette: m } = f(), s = (e, r) => (t) => {
18
- o && typeof o == "function" && (t.stopPropagation(), t.preventDefault(), o(e, r, t));
19
- }, u = ({ page: e, totalPages: r }) => r <= 1 ? null : /* @__PURE__ */ i(
20
- n,
21
- {
22
- alignItems: "center",
23
- justifyContent: "center",
24
- pt: 1,
25
- pb: 1,
26
- pl: 2,
27
- pr: 2,
28
- inlineCSS: {
29
- position: "absolute",
30
- right: 8,
31
- bottom: 8,
32
- minWidth: 36,
33
- minHeight: 20,
34
- borderRadius: 24,
35
- backgroundColor: m.etc.dimmed02
36
- },
37
- children: /* @__PURE__ */ c(
38
- g,
39
- {
40
- tag: "p",
41
- variant: "c5R",
42
- color: "grey.white",
43
- inlineCSS: {
44
- "& > span": {
45
- fontWeight: 700
46
- }
47
- },
48
- "aria-label": `${r} 중 ${e + 1}`,
49
- children: [
50
- /* @__PURE__ */ i("span", { children: e + 1 }),
51
- "/",
52
- r
53
- ]
54
- }
55
- )
56
- }
57
- );
58
- return /* @__PURE__ */ c(n, { inlineCSS: { width: "100%" }, ...h, children: [
59
- /* @__PURE__ */ i(n, { id: `tictoccroc-banner-${a}`, visuallyHidden: !0, children: "배너" }),
60
- /* @__PURE__ */ i(
61
- w,
62
- {
63
- renderPagination: u,
64
- loop: !0,
65
- inlineCSS: { borderRadius: 12, overflow: "hidden" },
66
- "aria-describedby": `tictoccroc-banner-${a}`,
67
- ...p,
68
- children: l.map(({ id: e, url: r, image: t }, b) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ i(
69
- n,
70
- {
71
- tag: "a",
72
- href: r,
73
- draggable: !1,
74
- onClick: s(r, e),
75
- inlineCSS: { width: "100%" },
76
- children: /* @__PURE__ */ i(
77
- S,
78
- {
79
- src: t || "",
80
- alt: `배너 ${b + 1}`,
81
- width: 328,
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
- export {
99
- I as default
100
- };
83
+ //#endregion
84
+ export { c as default };
@@ -1,7 +1,6 @@
1
- import o from "./BannerAccount.mjs";
2
- import { default as e } from "./BannerAccount.fallback.mjs";
3
- export {
4
- o as BannerAccount,
5
- e as BannerAccountFallback,
6
- o as default
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 { jsxs as n, Fragment as l, jsx as i } from "react/jsx-runtime";
2
- import d from "@dotss/ui/core/useTheme";
3
- import r from "@dotss/ui/Flexbox";
4
- import e from "@dotss/ui/Skeleton";
5
- import h from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
6
- function S() {
7
- const { spacing: t } = d();
8
- return /* @__PURE__ */ n(l, { children: [
9
- /* @__PURE__ */ i(h, {}),
10
- /* @__PURE__ */ n(
11
- r,
12
- {
13
- tag: "section",
14
- flexDirection: "column",
15
- "aria-busy": !0,
16
- inlineCSS: { width: "100%", overflow: "hidden", cursor: "wait" },
17
- children: [
18
- /* @__PURE__ */ i(
19
- e,
20
- {
21
- height: 30,
22
- inlineCSS: {
23
- width: "50%",
24
- marginBottom: t.content(3),
25
- marginLeft: t.content(4)
26
- }
27
- }
28
- ),
29
- /* @__PURE__ */ n(r, { flexDirection: "row", gap: 5, ml: 4, children: [
30
- /* @__PURE__ */ n(r, { flexDirection: "column", gap: 5, children: [
31
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
32
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
33
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
34
- ] }),
35
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
36
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
37
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
38
- ] })
39
- ] }),
40
- /* @__PURE__ */ n(r, { flexDirection: "column", gap: 5, children: [
41
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
42
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
43
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
44
- ] }),
45
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
46
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
47
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
48
- ] })
49
- ] }),
50
- /* @__PURE__ */ n(r, { flexDirection: "column", gap: 5, children: [
51
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
52
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
53
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
54
- ] }),
55
- /* @__PURE__ */ n(r, { gap: 4, alignItems: "center", inlineCSS: { width: 264 }, children: [
56
- /* @__PURE__ */ i(e, { width: 140, height: 98, borderRadius: 12 }),
57
- /* @__PURE__ */ i(e, { height: 48, borderRadius: 12, inlineCSS: { flex: 1 } })
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
- export {
67
- S as default
68
- };
127
+ //#endregion
128
+ export { s as default };
@@ -1,83 +1,69 @@
1
- import { jsx as e, Fragment as C, jsxs as l } from "react/jsx-runtime";
2
- import k from "@dotss/ui/core/useTheme";
3
- import c from "@dotss/ui/Flexbox";
4
- import v from "@dotss/ui/hooks/useCheckHoverPossible/useCheckHoverPossible";
5
- import d from "@dotss/ui/Typography";
6
- import S from "../../../../shared/components/Carousel/Carousel.mjs";
7
- import w from "../../../../shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
8
- import x from "../../../../shared/components/Image/Image.mjs";
9
- import "@dotss/ui";
10
- function I({
11
- id: p,
12
- title: s,
13
- banners: m,
14
- onClickBanner: a,
15
- imageProps: u,
16
- ...g
17
- }) {
18
- const { spacing: i, palette: n } = k(), { isHoverPossible: h } = v(), b = (o, t) => (r) => {
19
- a && typeof a == "function" && (r.stopPropagation(), r.preventDefault(), a(o, t, r));
20
- };
21
- return /* @__PURE__ */ e(C, { children: /* @__PURE__ */ l(c, { flexDirection: "column", inlineCSS: { width: "100%" }, ...g, children: [
22
- /* @__PURE__ */ e(
23
- d,
24
- {
25
- id: `banner-account-carousel1-${p}`,
26
- variant: "h2B",
27
- inlineCSS: {
28
- whiteSpace: "pre-wrap",
29
- wordBreak: "keep-all",
30
- paddingLeft: i.content(4),
31
- paddingRight: i.content(4),
32
- marginBottom: i.content(3)
33
- },
34
- children: s
35
- }
36
- ),
37
- /* @__PURE__ */ e(S, { rowCount: 2, step: 1, spacing: 5, children: m.map(({ id: o, title: t, url: r, image: f }) => /* @__PURE__ */ e(w, { children: /* @__PURE__ */ l(
38
- c,
39
- {
40
- tag: "a",
41
- href: r,
42
- alignItems: "center",
43
- gap: 4,
44
- draggable: !1,
45
- onClick: b(r, o),
46
- inlineCSS: {
47
- width: 264,
48
- borderRadius: 12,
49
- '&:active:not([aria-disabled="true"])': {
50
- backgroundColor: n.background.primary
51
- },
52
- ...h && {
53
- '&:hover:not([aria-disabled="true"])': {
54
- backgroundColor: n.background.primary
55
- }
56
- }
57
- },
58
- children: [
59
- /* @__PURE__ */ e(
60
- x,
61
- {
62
- src: f || "",
63
- width: 140,
64
- height: 98,
65
- alt: `${t} 이미지`,
66
- "aria-hidden": !0,
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
- export {
82
- I as default
83
- };
68
+ //#endregion
69
+ export { u as default };
@@ -1,7 +1,6 @@
1
- import a from "./Carousel1Account.mjs";
2
- import { default as e } from "./Carousel1Account.fallback.mjs";
3
- export {
4
- a as Carousel1Account,
5
- e as Carousel1AccountFallback,
6
- a as default
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 };