@dotss/tictoccroc 0.4.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) 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.d.ts +3 -0
  191. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +12 -12
  192. package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +5 -5
  193. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +348 -433
  194. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.utils.mjs +7 -7
  195. package/dist/teacher/profile/components/ProfileSummary/index.mjs +5 -4
  196. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +80 -105
  197. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +5 -4
  198. package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +34 -27
  199. package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -6
  200. package/dist/teacher/profile/components/index.mjs +24 -48
  201. package/dist/teacher/profile/utils/index.mjs +2 -4
  202. package/dist/teacher/profile/utils/sortItems/index.mjs +5 -4
  203. package/dist/teacher/profile/utils/sortItems/sortItems.mjs +48 -48
  204. package/package.json +1 -1
  205. package/dist/purify.es-BGaRrCfO.js +0 -553
@@ -1,95 +1,113 @@
1
- import { jsxs as t, Fragment as o, jsx as i } from "react/jsx-runtime";
2
- import d from "@dotss/ui/core/useTheme";
3
- import r from "@dotss/ui/Flexbox";
4
- import n from "@dotss/ui/Skeleton";
5
- import h from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
6
- function u() {
7
- const { spacing: e } = d();
8
- return /* @__PURE__ */ t(o, { children: [
9
- /* @__PURE__ */ i(h, {}),
10
- /* @__PURE__ */ t(
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
- n,
20
- {
21
- height: 30,
22
- inlineCSS: {
23
- width: "50%",
24
- marginBottom: e.content(4),
25
- marginLeft: e.content(4)
26
- }
27
- }
28
- ),
29
- /* @__PURE__ */ t(r, { flexDirection: "row", gap: 3, ml: 4, children: [
30
- /* @__PURE__ */ t(r, { flexDirection: "column", children: [
31
- /* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
32
- /* @__PURE__ */ i(
33
- n,
34
- {
35
- height: 24,
36
- borderRadius: 12,
37
- inlineCSS: { width: "100%", marginTop: e.content(3) }
38
- }
39
- ),
40
- /* @__PURE__ */ i(
41
- n,
42
- {
43
- height: 20,
44
- borderRadius: 12,
45
- inlineCSS: { width: "80%", marginTop: e.content(1) }
46
- }
47
- )
48
- ] }),
49
- /* @__PURE__ */ t(r, { flexDirection: "column", children: [
50
- /* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
51
- /* @__PURE__ */ i(
52
- n,
53
- {
54
- height: 24,
55
- borderRadius: 12,
56
- inlineCSS: { width: "100%", marginTop: e.content(3) }
57
- }
58
- ),
59
- /* @__PURE__ */ i(
60
- n,
61
- {
62
- height: 20,
63
- borderRadius: 12,
64
- inlineCSS: { width: "80%", marginTop: e.content(1) }
65
- }
66
- )
67
- ] }),
68
- /* @__PURE__ */ t(r, { flexDirection: "column", children: [
69
- /* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
70
- /* @__PURE__ */ i(
71
- n,
72
- {
73
- height: 24,
74
- borderRadius: 12,
75
- inlineCSS: { width: "100%", marginTop: e.content(3) }
76
- }
77
- ),
78
- /* @__PURE__ */ i(
79
- n,
80
- {
81
- height: 20,
82
- borderRadius: 12,
83
- inlineCSS: { width: "80%", marginTop: e.content(1) }
84
- }
85
- )
86
- ] })
87
- ] })
88
- ]
89
- }
90
- )
91
- ] });
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/Carousel2Account/Carousel2Account.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(4),
23
+ marginLeft: s.content(4)
24
+ }
25
+ }), /* @__PURE__ */ i(a, {
26
+ flexDirection: "row",
27
+ gap: 3,
28
+ ml: 4,
29
+ children: [
30
+ /* @__PURE__ */ i(a, {
31
+ flexDirection: "column",
32
+ children: [
33
+ /* @__PURE__ */ r(o, {
34
+ width: 240,
35
+ height: 168,
36
+ borderRadius: 12
37
+ }),
38
+ /* @__PURE__ */ r(o, {
39
+ height: 24,
40
+ borderRadius: 12,
41
+ inlineCSS: {
42
+ width: "100%",
43
+ marginTop: s.content(3)
44
+ }
45
+ }),
46
+ /* @__PURE__ */ r(o, {
47
+ height: 20,
48
+ borderRadius: 12,
49
+ inlineCSS: {
50
+ width: "80%",
51
+ marginTop: s.content(1)
52
+ }
53
+ })
54
+ ]
55
+ }),
56
+ /* @__PURE__ */ i(a, {
57
+ flexDirection: "column",
58
+ children: [
59
+ /* @__PURE__ */ r(o, {
60
+ width: 240,
61
+ height: 168,
62
+ borderRadius: 12
63
+ }),
64
+ /* @__PURE__ */ r(o, {
65
+ height: 24,
66
+ borderRadius: 12,
67
+ inlineCSS: {
68
+ width: "100%",
69
+ marginTop: s.content(3)
70
+ }
71
+ }),
72
+ /* @__PURE__ */ r(o, {
73
+ height: 20,
74
+ borderRadius: 12,
75
+ inlineCSS: {
76
+ width: "80%",
77
+ marginTop: s.content(1)
78
+ }
79
+ })
80
+ ]
81
+ }),
82
+ /* @__PURE__ */ i(a, {
83
+ flexDirection: "column",
84
+ children: [
85
+ /* @__PURE__ */ r(o, {
86
+ width: 240,
87
+ height: 168,
88
+ borderRadius: 12
89
+ }),
90
+ /* @__PURE__ */ r(o, {
91
+ height: 24,
92
+ borderRadius: 12,
93
+ inlineCSS: {
94
+ width: "100%",
95
+ marginTop: s.content(3)
96
+ }
97
+ }),
98
+ /* @__PURE__ */ r(o, {
99
+ height: 20,
100
+ borderRadius: 12,
101
+ inlineCSS: {
102
+ width: "80%",
103
+ marginTop: s.content(1)
104
+ }
105
+ })
106
+ ]
107
+ })
108
+ ]
109
+ })]
110
+ })] });
92
111
  }
93
- export {
94
- u as default
95
- };
112
+ //#endregion
113
+ export { s as default };
@@ -1,86 +1,80 @@
1
- import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import k from "@dotss/ui/core/useTheme";
3
- import l from "@dotss/ui/Flexbox";
4
- import v from "@dotss/ui/hooks/useCheckHoverPossible/useCheckHoverPossible";
5
- import c from "@dotss/ui/Typography";
6
- import x from "../../../../shared/components/Carousel/Carousel.mjs";
7
- import S from "../../../../shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
8
- import w from "../../../../shared/components/Image/Image.mjs";
9
- import "@dotss/ui";
10
- function T({
11
- id: s,
12
- title: u,
13
- banners: m,
14
- onClickBanner: a,
15
- imageProps: g,
16
- ...h
17
- }) {
18
- const { spacing: i, palette: d } = k(), { isHoverPossible: f } = v(), b = (o, t) => (e) => {
19
- a && typeof a == "function" && (e.stopPropagation(), e.preventDefault(), a(o, t, e));
20
- };
21
- return /* @__PURE__ */ n(l, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...h, children: [
22
- /* @__PURE__ */ r(
23
- c,
24
- {
25
- id: `banner-account-carousel2-${s}`,
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(4)
33
- },
34
- children: u
35
- }
36
- ),
37
- /* @__PURE__ */ r(x, { rowCount: 1, step: 1, spacing: 3, children: m.map(({ id: o, title: t, subTitle: e, url: p, image: C }) => /* @__PURE__ */ r(S, { children: /* @__PURE__ */ n(
38
- l,
39
- {
40
- tag: "a",
41
- href: p,
42
- flexDirection: "column",
43
- gap: 3,
44
- draggable: !1,
45
- onClick: b(p, o),
46
- inlineCSS: {
47
- width: 240,
48
- borderRadius: 12,
49
- '&:active:not([aria-disabled="true"])': {
50
- backgroundColor: d.background.primary
51
- },
52
- ...f && {
53
- '&:hover:not([aria-disabled="true"])': {
54
- backgroundColor: d.background.primary
55
- }
56
- }
57
- },
58
- children: [
59
- /* @__PURE__ */ r(
60
- w,
61
- {
62
- src: C || "",
63
- width: 240,
64
- height: 168,
65
- alt: `${t} 이미지`,
66
- "aria-hidden": !0,
67
- draggable: !1,
68
- borderRadius: 12,
69
- enableFallback: !0,
70
- enableErrorFallback: !0,
71
- style: { objectFit: "cover" },
72
- ...g
73
- }
74
- ),
75
- /* @__PURE__ */ n(l, { flexDirection: "column", gap: 1, children: [
76
- /* @__PURE__ */ r(c, { tag: "p", variant: "h4B", lineClamp: 1, children: t }),
77
- /* @__PURE__ */ r(c, { tag: "p", variant: "b4R", lineClamp: 1, color: "grey.70", children: e })
78
- ] })
79
- ]
80
- }
81
- ) }, `tictoccroc-carousel2-account-${o}`)) })
82
- ] });
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 { 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
+ import c from "@dotss/ui/hooks/useCheckHoverPossible/useCheckHoverPossible";
9
+ //#region teacher/home/components/Carousel2Account/Carousel2Account.tsx
10
+ function l({ id: l, title: u, banners: d, onClickBanner: f, imageProps: p, ...m }) {
11
+ let { spacing: h, palette: g } = r(), { isHoverPossible: _ } = c(), v = (e, t) => (n) => {
12
+ f && typeof f == "function" && (n.stopPropagation(), n.preventDefault(), f(e, t, n));
13
+ };
14
+ return /* @__PURE__ */ a(o, {
15
+ tag: "section",
16
+ flexDirection: "column",
17
+ inlineCSS: { width: "100%" },
18
+ ...m,
19
+ children: [/* @__PURE__ */ i(s, {
20
+ id: `banner-account-carousel2-${l}`,
21
+ variant: "h2B",
22
+ inlineCSS: {
23
+ whiteSpace: "pre-wrap",
24
+ wordBreak: "keep-all",
25
+ paddingLeft: h.content(4),
26
+ paddingRight: h.content(4),
27
+ marginBottom: h.content(4)
28
+ },
29
+ children: u
30
+ }), /* @__PURE__ */ i(n, {
31
+ rowCount: 1,
32
+ step: 1,
33
+ spacing: 3,
34
+ children: d.map(({ id: n, title: r, subTitle: c, url: l, image: u }) => /* @__PURE__ */ i(t, { children: /* @__PURE__ */ a(o, {
35
+ tag: "a",
36
+ href: l,
37
+ flexDirection: "column",
38
+ gap: 3,
39
+ draggable: !1,
40
+ onClick: v(l, n),
41
+ inlineCSS: {
42
+ width: 240,
43
+ borderRadius: 12,
44
+ "&:active:not([aria-disabled=\"true\"])": { backgroundColor: g.background.primary },
45
+ ..._ && { "&:hover:not([aria-disabled=\"true\"])": { backgroundColor: g.background.primary } }
46
+ },
47
+ children: [/* @__PURE__ */ i(e, {
48
+ src: u || "",
49
+ width: 240,
50
+ height: 168,
51
+ alt: `${r} 이미지`,
52
+ "aria-hidden": !0,
53
+ draggable: !1,
54
+ borderRadius: 12,
55
+ enableFallback: !0,
56
+ enableErrorFallback: !0,
57
+ style: { objectFit: "cover" },
58
+ ...p
59
+ }), /* @__PURE__ */ a(o, {
60
+ flexDirection: "column",
61
+ gap: 1,
62
+ children: [/* @__PURE__ */ i(s, {
63
+ tag: "p",
64
+ variant: "h4B",
65
+ lineClamp: 1,
66
+ children: r
67
+ }), /* @__PURE__ */ i(s, {
68
+ tag: "p",
69
+ variant: "b4R",
70
+ lineClamp: 1,
71
+ color: "grey.70",
72
+ children: c
73
+ })]
74
+ })]
75
+ }) }, `tictoccroc-carousel2-account-${n}`))
76
+ })]
77
+ });
83
78
  }
84
- export {
85
- T as default
86
- };
79
+ //#endregion
80
+ export { l as default };
@@ -1,7 +1,6 @@
1
- import a from "./Carousel2Account.mjs";
2
- import { default as e } from "./Carousel2Account.fallback.mjs";
3
- export {
4
- a as Carousel2Account,
5
- e as Carousel2AccountFallback,
6
- a as default
7
- };
1
+ import e from "./Carousel2Account.mjs";
2
+ import t from "./Carousel2Account.fallback.mjs";
3
+ //#region teacher/home/components/Carousel2Account/index.ts
4
+ var n = e;
5
+ //#endregion
6
+ export { e as Carousel2Account, t as Carousel2AccountFallback, n as default };
@@ -1,110 +1,121 @@
1
- import { jsxs as e, Fragment as d, jsx as t } from "react/jsx-runtime";
2
- import r from "@dotss/ui/core/useTheme";
3
- import n from "@dotss/ui/Flexbox";
4
- import i from "@dotss/ui/Skeleton";
5
- import a from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
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/TextAccount/TextAccount.fallback.tsx
6
7
  function s() {
7
- const { spacing: h } = r();
8
- return /* @__PURE__ */ e(d, { children: [
9
- /* @__PURE__ */ t(a, {}),
10
- /* @__PURE__ */ e(
11
- n,
12
- {
13
- tag: "section",
14
- flexDirection: "column",
15
- "aria-busy": !0,
16
- inlineCSS: { width: "100%", cursor: "wait" },
17
- children: [
18
- /* @__PURE__ */ t(
19
- i,
20
- {
21
- height: 30,
22
- inlineCSS: {
23
- width: "50%",
24
- marginBottom: h.content(2),
25
- marginLeft: h.content(4)
26
- }
27
- }
28
- ),
29
- /* @__PURE__ */ e(
30
- n,
31
- {
32
- pt: 3,
33
- pl: 4,
34
- pb: 3,
35
- pr: 4,
36
- gap: 3,
37
- alignItems: "center",
38
- justifyContent: "space-between",
39
- inlineCSS: { width: "100%" },
40
- children: [
41
- /* @__PURE__ */ t(i, { width: 100, minWidth: 100, height: 70, borderRadius: 8 }),
42
- /* @__PURE__ */ t(i, { width: "100%", height: 48 }),
43
- /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
44
- ]
45
- }
46
- ),
47
- /* @__PURE__ */ e(
48
- n,
49
- {
50
- p: 4,
51
- gap: 3,
52
- alignItems: "center",
53
- justifyContent: "space-between",
54
- inlineCSS: { width: "100%" },
55
- children: [
56
- /* @__PURE__ */ t(i, { width: "100%", maxWidth: 300, textHeight: "b2R" }),
57
- /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
58
- ]
59
- }
60
- ),
61
- /* @__PURE__ */ e(
62
- n,
63
- {
64
- p: 4,
65
- gap: 3,
66
- alignItems: "center",
67
- justifyContent: "space-between",
68
- inlineCSS: { width: "100%" },
69
- children: [
70
- /* @__PURE__ */ t(i, { width: "100%", maxWidth: 200, textHeight: "b2R" }),
71
- /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
72
- ]
73
- }
74
- ),
75
- /* @__PURE__ */ e(
76
- n,
77
- {
78
- p: 4,
79
- gap: 3,
80
- alignItems: "center",
81
- justifyContent: "space-between",
82
- inlineCSS: { width: "100%" },
83
- children: [
84
- /* @__PURE__ */ t(i, { width: "100%", maxWidth: 300, textHeight: "b2R" }),
85
- /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
86
- ]
87
- }
88
- ),
89
- /* @__PURE__ */ e(
90
- n,
91
- {
92
- p: 4,
93
- gap: 3,
94
- alignItems: "center",
95
- justifyContent: "space-between",
96
- inlineCSS: { width: "100%" },
97
- children: [
98
- /* @__PURE__ */ t(i, { width: "100%", maxWidth: 200, textHeight: "b2R" }),
99
- /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
100
- ]
101
- }
102
- )
103
- ]
104
- }
105
- )
106
- ] });
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
+ cursor: "wait"
16
+ },
17
+ children: [
18
+ /* @__PURE__ */ r(o, {
19
+ height: 30,
20
+ inlineCSS: {
21
+ width: "50%",
22
+ marginBottom: s.content(2),
23
+ marginLeft: s.content(4)
24
+ }
25
+ }),
26
+ /* @__PURE__ */ i(a, {
27
+ pt: 3,
28
+ pl: 4,
29
+ pb: 3,
30
+ pr: 4,
31
+ gap: 3,
32
+ alignItems: "center",
33
+ justifyContent: "space-between",
34
+ inlineCSS: { width: "100%" },
35
+ children: [
36
+ /* @__PURE__ */ r(o, {
37
+ width: 100,
38
+ minWidth: 100,
39
+ height: 70,
40
+ borderRadius: 8
41
+ }),
42
+ /* @__PURE__ */ r(o, {
43
+ width: "100%",
44
+ height: 48
45
+ }),
46
+ /* @__PURE__ */ r(o, {
47
+ width: 16,
48
+ height: 16,
49
+ minWidth: 16
50
+ })
51
+ ]
52
+ }),
53
+ /* @__PURE__ */ i(a, {
54
+ p: 4,
55
+ gap: 3,
56
+ alignItems: "center",
57
+ justifyContent: "space-between",
58
+ inlineCSS: { width: "100%" },
59
+ children: [/* @__PURE__ */ r(o, {
60
+ width: "100%",
61
+ maxWidth: 300,
62
+ textHeight: "b2R"
63
+ }), /* @__PURE__ */ r(o, {
64
+ width: 16,
65
+ height: 16,
66
+ minWidth: 16
67
+ })]
68
+ }),
69
+ /* @__PURE__ */ i(a, {
70
+ p: 4,
71
+ gap: 3,
72
+ alignItems: "center",
73
+ justifyContent: "space-between",
74
+ inlineCSS: { width: "100%" },
75
+ children: [/* @__PURE__ */ r(o, {
76
+ width: "100%",
77
+ maxWidth: 200,
78
+ textHeight: "b2R"
79
+ }), /* @__PURE__ */ r(o, {
80
+ width: 16,
81
+ height: 16,
82
+ minWidth: 16
83
+ })]
84
+ }),
85
+ /* @__PURE__ */ i(a, {
86
+ p: 4,
87
+ gap: 3,
88
+ alignItems: "center",
89
+ justifyContent: "space-between",
90
+ inlineCSS: { width: "100%" },
91
+ children: [/* @__PURE__ */ r(o, {
92
+ width: "100%",
93
+ maxWidth: 300,
94
+ textHeight: "b2R"
95
+ }), /* @__PURE__ */ r(o, {
96
+ width: 16,
97
+ height: 16,
98
+ minWidth: 16
99
+ })]
100
+ }),
101
+ /* @__PURE__ */ i(a, {
102
+ p: 4,
103
+ gap: 3,
104
+ alignItems: "center",
105
+ justifyContent: "space-between",
106
+ inlineCSS: { width: "100%" },
107
+ children: [/* @__PURE__ */ r(o, {
108
+ width: "100%",
109
+ maxWidth: 200,
110
+ textHeight: "b2R"
111
+ }), /* @__PURE__ */ r(o, {
112
+ width: 16,
113
+ height: 16,
114
+ minWidth: 16
115
+ })]
116
+ })
117
+ ]
118
+ })] });
107
119
  }
108
- export {
109
- s as default
110
- };
120
+ //#endregion
121
+ export { s as default };