@dotss/tictoccroc 0.0.0 → 0.0.1

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 (159) hide show
  1. package/dist/LessonNotesSection-Ce5Mz6W7.js +196 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.mjs +109 -52
  4. package/dist/shared/components/Calendar/Calendar.d.ts +3 -2
  5. package/dist/shared/components/Calendar/Calendar.mjs +1 -1
  6. package/dist/shared/components/Carousel/Carousel.d.ts +1 -1
  7. package/dist/shared/components/Carousel/Carousel.mjs +13 -13
  8. package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.d.ts +1 -1
  9. package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +1 -1
  10. package/dist/shared/components/Image/Image.d.ts +1 -1
  11. package/dist/shared/components/Image/Image.mjs +94 -93
  12. package/dist/shared/components/ImageZoomDialog/ImageBlock/ImageBlock.mjs +12 -26
  13. package/dist/shared/components/ImageZoomDialog/ImageZoomDialog.mjs +77 -98
  14. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.mjs +4 -4
  15. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.mjs +4 -4
  16. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.mjs +1 -1
  17. package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.d.ts +7 -0
  18. package/dist/shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs +19 -0
  19. package/dist/shared/components/LoadingAnnouncer/index.d.ts +3 -0
  20. package/dist/shared/components/LoadingAnnouncer/index.mjs +4 -0
  21. package/dist/shared/components/Masonry/Masonry.d.ts +12 -0
  22. package/dist/shared/components/Masonry/Masonry.mjs +220 -0
  23. package/dist/shared/components/Masonry/Masonry.utils.d.ts +7 -0
  24. package/dist/shared/components/Masonry/Masonry.utils.mjs +76 -0
  25. package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.d.ts +11 -0
  26. package/dist/shared/components/Masonry/MasonryBlock/MasonryBlock.mjs +77 -0
  27. package/dist/shared/components/Masonry/MasonryBlock/index.d.ts +3 -0
  28. package/dist/shared/components/Masonry/MasonryBlock/index.mjs +4 -0
  29. package/dist/shared/components/Masonry/index.d.ts +4 -0
  30. package/dist/shared/components/Masonry/index.mjs +6 -0
  31. package/dist/shared/components/Roller/Roller.d.ts +1 -2
  32. package/dist/shared/components/Roller/Roller.mjs +7 -120
  33. package/dist/shared/components/Roller/RollerBlock/RollerBlock.d.ts +1 -1
  34. package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +1 -1
  35. package/dist/shared/components/Roller/index.mjs +3 -3
  36. package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.d.ts +2 -5
  37. package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +1 -1
  38. package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.d.ts +1 -1
  39. package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +2 -2
  40. package/dist/shared/components/Scheduler/Scheduler.d.ts +4 -4
  41. package/dist/shared/components/Scheduler/Scheduler.mjs +167 -178
  42. package/dist/shared/components/Swiper/Swiper.d.ts +1 -1
  43. package/dist/shared/components/Swiper/Swiper.mjs +77 -97
  44. package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.d.ts +1 -1
  45. package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +1 -1
  46. package/dist/shared/components/TimePicker/TimePicker.d.ts +2 -2
  47. package/dist/shared/components/TimePicker/TimePicker.mjs +1 -1
  48. package/dist/shared/components/index.d.ts +14 -1
  49. package/dist/shared/components/index.mjs +40 -28
  50. package/dist/shared/utils/birthDateToAge/birthDateToAge.test.mjs +9 -10
  51. package/dist/shared/utils/getDateRange/getDateRange.d.ts +1 -1
  52. package/dist/shared/utils/getDateRange/getDateRange.test.mjs +27 -28
  53. package/dist/shared/utils/getImageUrl/getImageUrl.test.mjs +19 -20
  54. package/dist/shared/utils/getTimeRange/getTimeRange.test.mjs +22 -23
  55. package/dist/shared/utils/getVimeoId/getVimeoId.test.mjs +11 -12
  56. package/dist/shared/utils/index.d.ts +1 -0
  57. package/dist/shared/utils/index.mjs +6 -4
  58. package/dist/shared/utils/isAndroid/isAndroid.test.mjs +9 -10
  59. package/dist/shared/utils/isApp/isApp.test.mjs +14 -15
  60. package/dist/shared/utils/isDesktop/isDesktop.test.mjs +8 -9
  61. package/dist/shared/utils/isServer/isServer.test.mjs +10 -11
  62. package/dist/shared/utils/objectToQueryString/objectToQueryString.test.mjs +7 -7
  63. package/dist/shared/utils/parseQueryString/parseQueryString.test.mjs +10 -11
  64. package/dist/shared/utils/share/index.d.ts +2 -0
  65. package/dist/shared/utils/share/index.mjs +4 -0
  66. package/dist/shared/utils/share/share.d.ts +9 -0
  67. package/dist/shared/utils/share/share.mjs +15 -0
  68. package/dist/shared/utils/share/share.test.d.ts +1 -0
  69. package/dist/shared/utils/share/share.test.mjs +31 -0
  70. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.d.ts +15 -0
  71. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs +441 -0
  72. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.d.ts +3 -0
  73. package/dist/teacher/profile/components/AbilityCollection/AbilityBadge/index.mjs +5 -0
  74. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.d.ts +6 -0
  75. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +111 -0
  76. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.d.ts +6 -0
  77. package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs +43 -0
  78. package/dist/teacher/profile/components/AbilityCollection/index.d.ts +5 -0
  79. package/dist/teacher/profile/components/AbilityCollection/index.mjs +8 -0
  80. package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.d.ts +11 -0
  81. package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +101 -0
  82. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.d.ts +8 -0
  83. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +124 -0
  84. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.d.ts +3 -0
  85. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/index.mjs +4 -0
  86. package/dist/teacher/profile/components/ActivityGallery/index.d.ts +4 -0
  87. package/dist/teacher/profile/components/ActivityGallery/index.mjs +6 -0
  88. package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.d.ts +22 -0
  89. package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +179 -0
  90. package/dist/teacher/profile/components/AvailableScheduleSection/index.d.ts +3 -0
  91. package/dist/teacher/profile/components/AvailableScheduleSection/index.mjs +4 -0
  92. package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.d.ts +10 -0
  93. package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +136 -0
  94. package/dist/teacher/profile/components/CareerSection/CareerItem/index.d.ts +3 -0
  95. package/dist/teacher/profile/components/CareerSection/CareerItem/index.mjs +4 -0
  96. package/dist/teacher/profile/components/CareerSection/CareerSection.d.ts +9 -0
  97. package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +185 -0
  98. package/dist/teacher/profile/components/CareerSection/index.d.ts +4 -0
  99. package/dist/teacher/profile/components/CareerSection/index.mjs +6 -0
  100. package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.d.ts +8 -0
  101. package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.mjs +91 -0
  102. package/dist/teacher/profile/components/CertificationSection/CertificationItem/index.d.ts +3 -0
  103. package/dist/teacher/profile/components/CertificationSection/CertificationItem/index.mjs +4 -0
  104. package/dist/teacher/profile/components/CertificationSection/CertificationSection.d.ts +9 -0
  105. package/dist/teacher/profile/components/CertificationSection/CertificationSection.mjs +152 -0
  106. package/dist/teacher/profile/components/CertificationSection/index.d.ts +4 -0
  107. package/dist/teacher/profile/components/CertificationSection/index.mjs +6 -0
  108. package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.d.ts +9 -0
  109. package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +105 -0
  110. package/dist/teacher/profile/components/EducationSection/EducationItem/index.d.ts +3 -0
  111. package/dist/teacher/profile/components/EducationSection/EducationItem/index.mjs +4 -0
  112. package/dist/teacher/profile/components/EducationSection/EducationSection.d.ts +9 -0
  113. package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +152 -0
  114. package/dist/teacher/profile/components/EducationSection/index.d.ts +4 -0
  115. package/dist/teacher/profile/components/EducationSection/index.mjs +6 -0
  116. package/dist/teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.d.ts +9 -0
  117. package/dist/teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs +54 -0
  118. package/dist/teacher/profile/components/LessonNotesSection/LessonNote/index.d.ts +3 -0
  119. package/dist/teacher/profile/components/LessonNotesSection/LessonNote/index.mjs +4 -0
  120. package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.d.ts +7 -0
  121. package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.mjs +8 -0
  122. package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.utils.d.ts +4 -0
  123. package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.utils.mjs +13 -0
  124. package/dist/teacher/profile/components/LessonNotesSection/index.d.ts +4 -0
  125. package/dist/teacher/profile/components/LessonNotesSection/index.mjs +6 -0
  126. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.d.ts +10 -0
  127. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs +103 -0
  128. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.d.ts +3 -0
  129. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewCard/index.mjs +4 -0
  130. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.d.ts +7 -0
  131. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +79 -0
  132. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.d.ts +4 -0
  133. package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.utils.mjs +13 -0
  134. package/dist/teacher/profile/components/ParentReviewSection/index.d.ts +4 -0
  135. package/dist/teacher/profile/components/ParentReviewSection/index.mjs +6 -0
  136. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.d.ts +9 -0
  137. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +37 -0
  138. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.d.ts +3 -0
  139. package/dist/teacher/profile/components/PreferredActivityKeywordGroup/index.mjs +4 -0
  140. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.d.ts +8 -0
  141. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +32 -0
  142. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.d.ts +18 -0
  143. package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs +14 -0
  144. package/dist/teacher/profile/components/PreferredAgeGroup/index.d.ts +4 -0
  145. package/dist/teacher/profile/components/PreferredAgeGroup/index.mjs +6 -0
  146. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.d.ts +25 -1
  147. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +413 -5
  148. package/dist/teacher/profile/components/ProfileSummary/index.d.ts +2 -1
  149. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.d.ts +7 -0
  150. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs +105 -0
  151. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.d.ts +3 -0
  152. package/dist/teacher/profile/components/StatBadgeCollection/StatBadge/index.mjs +4 -0
  153. package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.d.ts +6 -0
  154. package/dist/teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs +28 -0
  155. package/dist/teacher/profile/components/StatBadgeCollection/index.d.ts +4 -0
  156. package/dist/teacher/profile/components/StatBadgeCollection/index.mjs +6 -0
  157. package/dist/teacher/profile/components/index.d.ts +24 -0
  158. package/dist/teacher/profile/components/index.mjs +46 -0
  159. package/package.json +2 -2
@@ -0,0 +1,196 @@
1
+ import { jsx as f, jsxs as m } from "react/jsx-runtime";
2
+ import { useRef as i, Children as k, isValidElement as E, useEffect as y, cloneElement as I, forwardRef as T } from "react";
3
+ import { Flexbox as d, Typography as S, Button as F, Icon as $ } from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/index.es.js";
4
+ import N from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/core/useTheme.es.js";
5
+ import X from "./shared/components/Roller/RollerBlock/RollerBlock.mjs";
6
+ import j from "./teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
7
+ function B({ children: g, spacing: p = 2, edgeSpacing: l = 4, rowCount: n = 1, inlineCSS: b }) {
8
+ const o = i(null), c = i(!1), s = i(!0), D = i(0), v = i(0), u = i(0), R = k.toArray(g).filter(E).filter((e) => e.type === X || e.type === j), h = R.length, M = (e) => {
9
+ var t, r;
10
+ c.current = !0, D.current = e.clientX - (((t = o.current) == null ? void 0 : t.offsetLeft) || 0), v.current = ((r = o.current) == null ? void 0 : r.scrollLeft) || 0;
11
+ }, w = (e) => {
12
+ c.current && (e.currentTarget.style.cursor = "grabbing", o.current && (o.current.scrollLeft = v.current - (e.clientX - o.current.offsetLeft - D.current)));
13
+ }, A = (e) => {
14
+ var r;
15
+ c.current = !1, v.current !== ((r = o.current) == null ? void 0 : r.scrollLeft) ? (e.currentTarget.style.cursor = "grab", s.current = !1, u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(() => {
16
+ s.current = !0;
17
+ })) : s.current = !0;
18
+ }, C = (e) => (t) => {
19
+ var x;
20
+ t.stopPropagation();
21
+ const r = Number(t.currentTarget.getAttribute("aria-posinset")) - 1;
22
+ let a = r;
23
+ switch (t.key) {
24
+ case "ArrowRight": {
25
+ t.preventDefault(), r + n < h && (a = r + n);
26
+ break;
27
+ }
28
+ case "ArrowLeft": {
29
+ t.preventDefault(), r - n >= 0 && (a = r - n);
30
+ break;
31
+ }
32
+ case "ArrowDown": {
33
+ t.preventDefault(), (r + 1) % n !== 0 && r + 1 < h && (a = r + 1);
34
+ break;
35
+ }
36
+ case "ArrowUp": {
37
+ t.preventDefault(), r % n !== 0 && r - 1 >= 0 && (a = r - 1);
38
+ break;
39
+ }
40
+ case "Enter":
41
+ case " ": {
42
+ t.preventDefault(), t.currentTarget.click();
43
+ return;
44
+ }
45
+ default:
46
+ return;
47
+ }
48
+ if (a !== r) {
49
+ const L = (x = o.current) == null ? void 0 : x.children[a];
50
+ L == null || L.focus();
51
+ }
52
+ e == null || e(t);
53
+ };
54
+ return y(() => {
55
+ const e = o.current, t = (r) => {
56
+ s.current || r.stopPropagation();
57
+ };
58
+ return e == null || e.addEventListener("click", t), () => {
59
+ e == null || e.removeEventListener("click", t);
60
+ };
61
+ }, []), y(() => {
62
+ const e = o.current, t = (r) => {
63
+ r.stopPropagation();
64
+ };
65
+ return e == null || e.addEventListener("touchmove", t), () => {
66
+ e == null || e.removeEventListener("touchmove", t);
67
+ };
68
+ }, []), y(() => () => {
69
+ u.current && cancelAnimationFrame(u.current);
70
+ }, []), /* @__PURE__ */ f(
71
+ d,
72
+ {
73
+ ref: o,
74
+ alignItems: "baseline",
75
+ gap: p,
76
+ pl: l,
77
+ pr: l,
78
+ onMouseDown: M,
79
+ onMouseMove: w,
80
+ onMouseUp: A,
81
+ onMouseLeave: A,
82
+ role: "list",
83
+ "aria-roledescription": "carousel",
84
+ "aria-label": "슬라이더",
85
+ inlineCSS: {
86
+ display: "grid",
87
+ gridAutoFlow: "column",
88
+ gridAutoColumns: "min-content",
89
+ overflowX: "auto",
90
+ scrollbarWidth: "none",
91
+ cursor: "grab",
92
+ transform: "translate3d(0, 0, 0)",
93
+ "&::-webkit-scrollbar": {
94
+ display: "none"
95
+ },
96
+ ...b
97
+ },
98
+ children: k.map(
99
+ R,
100
+ (e, t) => {
101
+ var r;
102
+ return I(e, {
103
+ role: "listitem",
104
+ tabIndex: 0,
105
+ "aria-roledescription": "slide",
106
+ "aria-posinset": t + 1,
107
+ "aria-setsize": h,
108
+ onKeyDown: C(e.props.onKeyDown),
109
+ ...e.props,
110
+ style: {
111
+ ...(r = e.props) == null ? void 0 : r.style,
112
+ gridRow: `${t % n + 1} / ${t % n + 1}`
113
+ }
114
+ });
115
+ }
116
+ )
117
+ }
118
+ );
119
+ }
120
+ const H = T(
121
+ ({ children: g, totalCount: p = 0, onClickViewAll: l, ...n }, b) => {
122
+ const {
123
+ palette: { background: o },
124
+ spacing: c
125
+ } = N(), s = k.count(g);
126
+ return /* @__PURE__ */ m(
127
+ d,
128
+ {
129
+ ref: b,
130
+ tag: "section",
131
+ pt: 10,
132
+ pb: 10,
133
+ pl: 4,
134
+ pr: 4,
135
+ gap: 4,
136
+ flexDirection: "column",
137
+ "aria-labelledby": "lesson-notes-section-title",
138
+ ...n,
139
+ inlineCSS: {
140
+ width: "100%",
141
+ backgroundColor: o.primary,
142
+ ...n == null ? void 0 : n.inlineCSS
143
+ },
144
+ children: [
145
+ /* @__PURE__ */ m(d, { alignItems: "center", justifyContent: "space-between", gap: 1, children: [
146
+ /* @__PURE__ */ f(d, { alignItems: "center", gap: 2, children: /* @__PURE__ */ m(S, { id: "lesson-notes-section-title", tag: "h2", variant: "h2B", children: [
147
+ "선생님의 수업노트",
148
+ p > 0 && /* @__PURE__ */ m(
149
+ S,
150
+ {
151
+ tag: "span",
152
+ variant: "h4R",
153
+ color: "grey.70",
154
+ inlineCSS: { marginLeft: c.content(2), verticalAlign: 2 },
155
+ children: [
156
+ "(",
157
+ p.toLocaleString(),
158
+ "개)"
159
+ ]
160
+ }
161
+ )
162
+ ] }) }),
163
+ typeof l == "function" && /* @__PURE__ */ f(
164
+ F,
165
+ {
166
+ variant: "text",
167
+ size: "small",
168
+ color: "secondary",
169
+ endAdornment: /* @__PURE__ */ f($, { name: "ChevronRightLine" }),
170
+ onClick: l,
171
+ children: "전체보기"
172
+ }
173
+ )
174
+ ] }),
175
+ /* @__PURE__ */ f(
176
+ B,
177
+ {
178
+ rowCount: 1,
179
+ spacing: 3,
180
+ inlineCSS: {
181
+ width: `calc(100% + ${c.content(8)}px)`,
182
+ gridAutoColumns: s > 1 ? `calc(100% - ${c.content(8)}px)` : "100%",
183
+ margin: `0 -${c.content(4)}px`
184
+ },
185
+ children: g
186
+ }
187
+ )
188
+ ]
189
+ }
190
+ );
191
+ }
192
+ );
193
+ export {
194
+ H as L,
195
+ B as R
196
+ };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './shared/components';
2
2
  export * from './shared/hooks';
3
3
  export * from './shared/utils';
4
+ export * from './teacher/profile/components';
package/dist/index.mjs CHANGED
@@ -1,54 +1,111 @@
1
- import "./shared/components/Scheduler/Scheduler.mjs";
2
- import { default as d } from "./shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs";
3
- import { default as g } from "./shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs";
4
- import { getAvailableDateRange as c } from "./shared/components/Scheduler/Scheduler.utils.mjs";
5
- import "react/jsx-runtime";
6
- import "react";
7
- import "@thedotscorp/ui/core/useTheme";
8
- import "@thedotscorp/ui/Dialog";
9
- import "@thedotscorp/ui/Flexbox";
10
- import "@thedotscorp/ui/Typography";
11
- import "./shared/components/Image/Image.mjs";
12
- import "@thedotscorp/ui";
13
- import { default as S } from "./shared/components/Swiper/SwiperBlock/SwiperBlock.mjs";
14
- import { default as b } from "./shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.mjs";
15
- import { default as k } from "./shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.mjs";
16
- import { default as R } from "./shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.mjs";
17
- import { default as v } from "./shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
18
- import "./shared/components/TimePicker/TimePicker.mjs";
19
- import { default as B } from "./shared/components/Roller/RollerBlock/RollerBlock.mjs";
20
- import { default as C } from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
21
- import { default as Q } from "./shared/utils/getImageUrl/getImageUrl.mjs";
22
- import { default as w } from "./shared/utils/isServer/isServer.mjs";
23
- import { default as L } from "./shared/utils/getTimeRange/getTimeRange.mjs";
24
- import { default as V } from "./shared/utils/getDateRange/getDateRange.mjs";
25
- import { default as z } from "./shared/utils/isAndroid/isAndroid.mjs";
26
- import { default as H } from "./shared/utils/isApp/isApp.mjs";
27
- import { default as K } from "./shared/utils/isDesktop/isDesktop.mjs";
28
- import { default as N } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
29
- import { default as P } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
30
- import { default as X } from "./shared/utils/getVimeoId/getVimeoId.mjs";
31
- import { default as _ } from "./shared/utils/parseQueryString/parseQueryString.mjs";
1
+ import { default as t } from "./shared/components/Scheduler/Scheduler.mjs";
2
+ import { default as a } from "./shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs";
3
+ import { default as l } from "./shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs";
4
+ import { getAvailableDateRange as d } from "./shared/components/Scheduler/Scheduler.utils.mjs";
5
+ import { default as u } from "./shared/components/ImageZoomDialog/ImageZoomDialog.mjs";
6
+ import { default as i } from "./shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.mjs";
7
+ import { default as n } from "./shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.mjs";
8
+ import { default as g } from "./shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.mjs";
9
+ import { default as y } from "./shared/components/Swiper/Swiper.mjs";
10
+ import { default as C } from "./shared/components/Swiper/SwiperBlock/SwiperBlock.mjs";
11
+ import { default as v } from "./shared/components/Carousel/Carousel.mjs";
12
+ import { default as D } from "./shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
13
+ import { default as h } from "./shared/components/TimePicker/TimePicker.mjs";
14
+ import { L as P, R as k } from "./LessonNotesSection-Ce5Mz6W7.js";
15
+ import { default as L } from "./shared/components/Roller/RollerBlock/RollerBlock.mjs";
16
+ import { default as E } from "./shared/components/Image/Image.mjs";
17
+ import { default as Z } from "./shared/components/Calendar/Calendar.mjs";
18
+ import { default as M } from "./shared/components/Masonry/Masonry.mjs";
19
+ import { default as Q } from "./shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
20
+ import { default as F } from "./shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
21
+ import { default as V } from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
22
+ import { default as z } from "./shared/utils/getImageUrl/getImageUrl.mjs";
23
+ import { default as J } from "./shared/utils/isServer/isServer.mjs";
24
+ import { default as W } from "./shared/utils/getTimeRange/getTimeRange.mjs";
25
+ import { default as Y } from "./shared/utils/getDateRange/getDateRange.mjs";
26
+ import { default as $ } from "./shared/utils/isAndroid/isAndroid.mjs";
27
+ import { default as oe } from "./shared/utils/isApp/isApp.mjs";
28
+ import { default as re } from "./shared/utils/isDesktop/isDesktop.mjs";
29
+ import { default as fe } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
30
+ import { default as me } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
31
+ import { default as se } from "./shared/utils/getVimeoId/getVimeoId.mjs";
32
+ import { default as pe } from "./shared/utils/parseQueryString/parseQueryString.mjs";
33
+ import { default as xe } from "./shared/utils/share/share.mjs";
34
+ import { default as ce } from "./teacher/profile/components/ProfileSummary/ProfileSummary.mjs";
35
+ import { default as Se } from "./teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs";
36
+ import { default as Ae } from "./teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs";
37
+ import { default as Ie } from "./teacher/profile/components/ActivityGallery/ActivityGallery.mjs";
38
+ import { default as be } from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs";
39
+ import { default as Re } from "./teacher/profile/components/CertificationSection/CertificationSection.mjs";
40
+ import { default as Be } from "./teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.mjs";
41
+ import { default as ke } from "./teacher/profile/components/CareerSection/CareerSection.mjs";
42
+ import { default as Le } from "./teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs";
43
+ import { default as Ee } from "./teacher/profile/components/EducationSection/EducationSection.mjs";
44
+ import { default as Ze } from "./teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs";
45
+ import { default as Me } from "./teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs";
46
+ import { default as Qe } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs";
47
+ import { getPreferredAgeKeywords as Fe } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
48
+ import { default as Ve } from "./teacher/profile/components/AbilityCollection/AbilityCollection.mjs";
49
+ import { default as ze } from "./teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs";
50
+ import { getAbilityCollection as Je } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
51
+ import { default as We } from "./teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs";
52
+ import { default as Ye } from "./teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
53
+ import { default as $e } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs";
54
+ import { default as oo } from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs";
32
55
  export {
33
- v as CarouselSlide,
34
- b as ImageZoomDialogContent,
35
- k as ImageZoomDialogFooter,
36
- R as ImageZoomDialogToolbar,
37
- B as RollerBlock,
38
- g as ScheduleBlock,
39
- d as ScheduleEvent,
40
- S as SwiperBlock,
41
- N as birthDateToAge,
42
- c as getAvailableDateRange,
43
- V as getDateRange,
44
- Q as getImageUrl,
45
- L as getTimeRange,
46
- X as getVimeoId,
47
- z as isAndroid,
48
- H as isApp,
49
- K as isDesktop,
50
- w as isServer,
51
- P as objectToQueryString,
52
- _ as parseQueryString,
53
- C as useIsomorphicLayoutEffect
56
+ ze as AbilityBadge,
57
+ Ve as AbilityCollection,
58
+ Ie as ActivityGallery,
59
+ be as ActivityGalleryItem,
60
+ We as AvailableScheduleSection,
61
+ Z as Calendar,
62
+ Le as CareerItem,
63
+ ke as CareerSection,
64
+ v as Carousel,
65
+ D as CarouselSlide,
66
+ Be as CertificationItem,
67
+ Re as CertificationSection,
68
+ Ze as EducationItem,
69
+ Ee as EducationSection,
70
+ E as Image,
71
+ u as ImageZoomDialog,
72
+ i as ImageZoomDialogContent,
73
+ n as ImageZoomDialogFooter,
74
+ g as ImageZoomDialogToolbar,
75
+ Ye as LessonNote,
76
+ P as LessonNotesSection,
77
+ F as LoadingAnnouncer,
78
+ M as Masonry,
79
+ Q as MasonryBlock,
80
+ oo as ParentReviewCard,
81
+ $e as ParentReviewSection,
82
+ Me as PreferredActivityKeywordGroup,
83
+ Qe as PreferredAgeGroup,
84
+ ce as ProfileSummary,
85
+ k as Roller,
86
+ L as RollerBlock,
87
+ l as ScheduleBlock,
88
+ a as ScheduleEvent,
89
+ t as Scheduler,
90
+ Ae as StatBadge,
91
+ Se as StatBadgeCollection,
92
+ y as Swiper,
93
+ C as SwiperBlock,
94
+ h as TimePicker,
95
+ fe as birthDateToAge,
96
+ Je as getAbilityCollection,
97
+ d as getAvailableDateRange,
98
+ Y as getDateRange,
99
+ z as getImageUrl,
100
+ Fe as getPreferredAgeKeywords,
101
+ W as getTimeRange,
102
+ se as getVimeoId,
103
+ $ as isAndroid,
104
+ oe as isApp,
105
+ re as isDesktop,
106
+ J as isServer,
107
+ me as objectToQueryString,
108
+ pe as parseQueryString,
109
+ xe as share,
110
+ V as useIsomorphicLayoutEffect
54
111
  };
@@ -1,5 +1,6 @@
1
- import { DatePickerProps, DateValue } from 'node_modules/@thedotscorp/ui/DatePicker/DatePicker';
2
- import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
1
+ import { DateValue } from '@dotss/ui/DatePicker';
2
+ import { DatePickerProps } from 'node_modules/@dotss/ui/DatePicker/DatePicker';
3
+ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
3
4
  export interface CalendarProps extends Omit<FlexboxProps, 'onChange' | 'value'>, Pick<DatePickerProps, 'onChange' | 'value'> {
4
5
  startDate?: DateValue;
5
6
  endDate?: DateValue;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
- import u from "@thedotscorp/ui/DatePicker";
3
+ import u from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/DatePicker/index.es.js";
4
4
  import x from "../../utils/getDateRange/getDateRange.mjs";
5
5
  import t from "@emotion/styled";
6
6
  const $ = t.div`
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
2
+ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
3
3
  export interface CarouselPaginationProps {
4
4
  page: number;
5
5
  totalPages: number;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as ce, jsx as k } from "react/jsx-runtime";
2
- import { useState as J, useRef as m, Children as Q, isValidElement as ie, useCallback as ae, useEffect as C, cloneElement as le } from "react";
3
- import { Flexbox as W } from "@thedotscorp/ui";
4
- import ue from "@thedotscorp/ui/core/useTheme";
2
+ import { useState as J, useRef as g, Children as Q, isValidElement as ie, useCallback as ae, useEffect as C, cloneElement as le } from "react";
3
+ import { Flexbox as W } from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/index.es.js";
4
+ import ue from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/core/useTheme.es.js";
5
5
  import fe from "./CarouselSlide/CarouselSlide.mjs";
6
6
  function ve({
7
7
  children: Z,
@@ -12,7 +12,7 @@ function ve({
12
12
  renderPagination: A,
13
13
  ...O
14
14
  }) {
15
- const { spacing: z } = ue(), [l, $] = J(1), [w, ee] = J(0), L = m(null), o = m(null), u = m(null), I = m(0), Y = m(0), R = m(0), b = m(!1), T = m(!0), D = m(0), v = z.content(_), y = z.content(K), X = Q.toArray(Z).filter(ie).filter((e) => e.type === fe), M = X.length, F = (e, t) => {
15
+ const { spacing: z } = ue(), [l, $] = J(1), [w, ee] = J(0), L = g(null), o = g(null), u = g(null), I = g(0), Y = g(0), R = g(0), b = g(!1), T = g(!0), D = g(0), v = z.content(_), y = z.content(K), X = Q.toArray(Z).filter(ie).filter((e) => e.type === fe), M = X.length, F = (e, t) => {
16
16
  I.current = e, Y.current = t;
17
17
  }, P = () => {
18
18
  var s;
@@ -23,10 +23,10 @@ function ve({
23
23
  t ? c = l + 1 : r ? c = l - 1 : T.current = !0, o.current.style.transition = "transform 0.2s", o.current.style.cursor = "grab", S(c);
24
24
  }, S = ae(
25
25
  (e, t = 0) => {
26
- var h, g, E;
26
+ var h, m, E;
27
27
  if (!o.current) return;
28
28
  $(e);
29
- const r = e === 1, c = e === w, s = (((h = L.current) == null ? void 0 : h.offsetWidth) || 0) - y, f = (((E = (g = u.current) == null ? void 0 : g.children[0]) == null ? void 0 : E.clientWidth) || 0) + v, i = (s - f * Math.floor(s / f) - v) / 2, d = f * (e - 1) - i;
29
+ const r = e === 1, c = e === w, s = (((h = L.current) == null ? void 0 : h.offsetWidth) || 0) - y, f = (((E = (m = u.current) == null ? void 0 : m.children[0]) == null ? void 0 : E.clientWidth) || 0) + v, i = (s - f * Math.floor(s / f) - v) / 2, d = f * (e - 1) - i;
30
30
  r ? o.current.style.transform = `translate3d(${t}px, 0, 0)` : c ? o.current.style.transform = `translate3d(${-(d - i) + t}px, 0, 0)` : o.current.style.transform = `translate3d(${-d + t}px, 0, 0)`;
31
31
  },
32
32
  [y, v, w]
@@ -37,13 +37,13 @@ function ve({
37
37
  }, se = (e) => (t) => {
38
38
  var N, U, q, G, V, B;
39
39
  t.stopPropagation();
40
- const r = Array.from(((N = u.current) == null ? void 0 : N.children) || []).indexOf(t.currentTarget), c = (((U = L.current) == null ? void 0 : U.offsetWidth) || 0) - y * 2, s = (((G = (q = u.current) == null ? void 0 : q.children[0]) == null ? void 0 : G.clientWidth) || 0) + v, i = Math.floor(c / (s / x)) * a, d = (l - 1) * i, h = d + i - 1, g = ((V = u.current) == null ? void 0 : V.children.length) || 0, E = r % a, j = Math.floor(r / a);
40
+ const r = Array.from(((N = u.current) == null ? void 0 : N.children) || []).indexOf(t.currentTarget), c = (((U = L.current) == null ? void 0 : U.offsetWidth) || 0) - y * 2, s = (((G = (q = u.current) == null ? void 0 : q.children[0]) == null ? void 0 : G.clientWidth) || 0) + v, i = Math.floor(c / (s / x)) * a, d = (l - 1) * i, h = d + i - 1, m = ((V = u.current) == null ? void 0 : V.children.length) || 0, E = r % a, j = Math.floor(r / a);
41
41
  let p = r;
42
42
  switch (t.key) {
43
43
  case "ArrowRight": {
44
44
  t.preventDefault();
45
45
  const n = (j + 1) * a + E;
46
- n < g && (p = n);
46
+ n < m && (p = n);
47
47
  break;
48
48
  }
49
49
  case "ArrowLeft": {
@@ -55,7 +55,7 @@ function ve({
55
55
  case "ArrowDown": {
56
56
  t.preventDefault();
57
57
  const n = r + 1;
58
- n < g && n % a > E && (p = n);
58
+ n < m && n % a > E && (p = n);
59
59
  break;
60
60
  }
61
61
  case "ArrowUp": {
@@ -77,7 +77,7 @@ function ve({
77
77
  n == null || n.focus();
78
78
  return;
79
79
  }
80
- p >= 0 && p < g && (D.current = requestAnimationFrame(() => {
80
+ p >= 0 && p < m && (D.current = requestAnimationFrame(() => {
81
81
  var H;
82
82
  const n = (H = u.current) == null ? void 0 : H.children[p];
83
83
  n == null || n.focus();
@@ -94,7 +94,7 @@ function ve({
94
94
  const e = () => {
95
95
  var i, d, h;
96
96
  const t = (((i = L.current) == null ? void 0 : i.offsetWidth) || 0) - y * 2, r = (((h = (d = u.current) == null ? void 0 : d.children[0]) == null ? void 0 : h.clientWidth) || 0) + v, c = Math.floor(t / (r / x)), s = Math.ceil(M / (a || 1)), f = Math.max(s - (c - 1), 1);
97
- $((g) => g > f ? f : g), ee(f);
97
+ $((m) => m > f ? f : m), ee(f);
98
98
  };
99
99
  return e(), window.addEventListener("resize", e), () => {
100
100
  window.removeEventListener("resize", e);
@@ -124,7 +124,7 @@ function ve({
124
124
  W,
125
125
  {
126
126
  flexDirection: "column",
127
- role: "group",
127
+ role: "list",
128
128
  "aria-roledescription": "carousel",
129
129
  "aria-label": "슬라이더",
130
130
  flexGrow: 1,
@@ -174,7 +174,7 @@ function ve({
174
174
  (e, t) => {
175
175
  var r;
176
176
  return le(e, {
177
- role: "group",
177
+ role: "listitem",
178
178
  tabIndex: 0,
179
179
  "aria-roledescription": "slide",
180
180
  "aria-label": `${M}개 중 ${t + 1}번째 슬라이드`,
@@ -1,4 +1,4 @@
1
- import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
1
+ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
2
2
  export type CarouselSlideProps = FlexboxProps;
3
3
  declare function CarouselSlide({ children, ...props }: CarouselSlideProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
4
  export default CarouselSlide;
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import t from "@thedotscorp/ui/Flexbox";
2
+ import { Flexbox as t } from "/Users/x/WebstormProjects/dotss/node_modules/.pnpm/@dotss+ui@0.0.10_@emotion+react@11.14.0_@types+react@19.1.6_react@18.3.1__@emotion+styl_fdc48194e396bad48e1a88da53a8b49d/node_modules/@dotss/ui/index.es.js";
3
3
  function l({ children: o, ...r }) {
4
4
  return /* @__PURE__ */ e(t, { ...r, children: o });
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { HTMLProps } from 'react';
2
- import { FlexboxProps } from '@thedotscorp/ui/Flexbox/Flexbox';
2
+ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
3
3
  export interface ImageProps extends HTMLProps<HTMLImageElement> {
4
4
  src: string;
5
5
  width?: number;