@dotss/tictoccroc 0.0.4 → 0.0.6

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 (40) hide show
  1. package/dist/index.mjs +78 -77
  2. package/dist/shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs +1 -1
  3. package/dist/shared/components/Roller/Roller.mjs +131 -7
  4. package/dist/shared/components/Roller/index.mjs +3 -3
  5. package/dist/shared/components/index.mjs +3 -3
  6. package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +23 -24
  7. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.d.ts +2 -2
  8. package/dist/teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs +3 -3
  9. package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.d.ts +5 -2
  10. package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +24 -24
  11. package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +42 -41
  12. package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.d.ts +5 -2
  13. package/dist/teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.mjs +28 -23
  14. package/dist/teacher/profile/components/CertificationSection/CertificationSection.mjs +41 -37
  15. package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.d.ts +6 -3
  16. package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +38 -30
  17. package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +35 -34
  18. package/dist/teacher/profile/components/LessonNotesSection/LessonNotesSection.mjs +79 -6
  19. package/dist/teacher/profile/components/LessonNotesSection/index.mjs +3 -3
  20. package/dist/teacher/profile/components/index.mjs +5 -5
  21. package/dist/teacher/profile/utils/index.d.ts +1 -0
  22. package/dist/teacher/profile/utils/index.mjs +5 -0
  23. package/dist/teacher/profile/utils/sortItems/index.d.ts +3 -0
  24. package/dist/teacher/profile/utils/sortItems/index.mjs +6 -0
  25. package/dist/teacher/profile/utils/sortItems/sortItems.d.ts +9 -0
  26. package/dist/teacher/profile/utils/sortItems/sortItems.mjs +29 -0
  27. package/package.json +10 -2
  28. package/dist/LessonNotesSection-Bg1DHFxg.js +0 -208
  29. package/dist/shared/utils/birthDateToAge/birthDateToAge.test.mjs +0 -11
  30. package/dist/shared/utils/getDateRange/getDateRange.test.mjs +0 -60
  31. package/dist/shared/utils/getImageUrl/getImageUrl.test.mjs +0 -27
  32. package/dist/shared/utils/getTimeRange/getTimeRange.test.mjs +0 -75
  33. package/dist/shared/utils/getVimeoId/getVimeoId.test.mjs +0 -14
  34. package/dist/shared/utils/isAndroid/isAndroid.test.mjs +0 -12
  35. package/dist/shared/utils/isApp/isApp.test.mjs +0 -22
  36. package/dist/shared/utils/isDesktop/isDesktop.test.mjs +0 -10
  37. package/dist/shared/utils/isServer/isServer.test.mjs +0 -12
  38. package/dist/shared/utils/objectToQueryString/objectToQueryString.test.mjs +0 -11
  39. package/dist/shared/utils/parseQueryString/parseQueryString.test.mjs +0 -15
  40. package/dist/shared/utils/share/share.test.mjs +0 -31
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { default as t } from "./shared/components/Scheduler/Scheduler.mjs";
2
2
  import { default as a } from "./shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs";
3
3
  import { default as l } from "./shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs";
4
4
  import { getAvailableDateRange as s } from "./shared/components/Scheduler/Scheduler.utils.mjs";
5
- import { default as u } from "./shared/components/MediaDialog/MediaDialog.mjs";
5
+ import { default as m } from "./shared/components/MediaDialog/MediaDialog.mjs";
6
6
  import { default as i } from "./shared/components/MediaDialog/MediaBlock/MediaBlock.mjs";
7
7
  import { default as n } from "./shared/components/MediaDialog/MediaDialogContent/MediaDialogContent.mjs";
8
8
  import { default as g } from "./shared/components/MediaDialog/MediaDialogFooter/MediaDialogFooter.mjs";
@@ -10,104 +10,105 @@ import { default as y } from "./shared/components/MediaDialog/MediaDialogToolbar
10
10
  import { default as C } from "./shared/components/Swiper/Swiper.mjs";
11
11
  import { default as b } from "./shared/components/Swiper/SwiperBlock/SwiperBlock.mjs";
12
12
  import { default as D } from "./shared/components/Carousel/Carousel.mjs";
13
- import { default as R } from "./shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
14
- import { default as k } from "./shared/components/TimePicker/TimePicker.mjs";
15
- import { L as P, R as w } from "./LessonNotesSection-Bg1DHFxg.js";
13
+ import { default as h } from "./shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
14
+ import { default as M } from "./shared/components/TimePicker/TimePicker.mjs";
15
+ import { default as R } from "./shared/components/Roller/Roller.mjs";
16
16
  import { default as T } from "./shared/components/Roller/RollerBlock/RollerBlock.mjs";
17
17
  import { default as G } from "./shared/components/Image/Image.mjs";
18
- import { default as N } from "./shared/components/Calendar/Calendar.mjs";
19
- import { default as j } from "./shared/components/Masonry/Masonry.mjs";
20
- import { default as U } from "./shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
21
- import { default as q } from "./shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
22
- import { default as H } from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
23
- import { default as O } from "./shared/utils/getImageUrl/getImageUrl.mjs";
24
- import { default as X } from "./shared/utils/isServer/isServer.mjs";
25
- import { default as Z } from "./shared/utils/getTimeRange/getTimeRange.mjs";
26
- import { default as $ } from "./shared/utils/getDateRange/getDateRange.mjs";
27
- import { default as oe } from "./shared/utils/isAndroid/isAndroid.mjs";
28
- import { default as re } from "./shared/utils/isApp/isApp.mjs";
29
- import { default as fe } from "./shared/utils/isDesktop/isDesktop.mjs";
30
- import { default as de } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
31
- import { default as me } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
32
- import { default as pe } from "./shared/utils/getVimeoId/getVimeoId.mjs";
33
- import { default as xe } from "./shared/utils/parseQueryString/parseQueryString.mjs";
34
- import { default as ce } from "./shared/utils/share/share.mjs";
35
- import { default as Se } from "./teacher/profile/components/ProfileSummary/ProfileSummary.mjs";
36
- import { default as Ae } from "./teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs";
37
- import { default as ve } from "./teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs";
38
- import { default as Be } from "./teacher/profile/components/ActivityGallery/ActivityGallery.mjs";
39
- import { default as Ie } from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs";
18
+ import { default as K } from "./shared/components/Calendar/Calendar.mjs";
19
+ import { default as Q } from "./shared/components/Masonry/Masonry.mjs";
20
+ import { default as F } from "./shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
21
+ import { default as V } from "./shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
22
+ import { default as z } from "./shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs";
23
+ import { default as J } from "./shared/utils/getImageUrl/getImageUrl.mjs";
24
+ import { default as W } from "./shared/utils/isServer/isServer.mjs";
25
+ import { default as Y } from "./shared/utils/getTimeRange/getTimeRange.mjs";
26
+ import { default as _ } from "./shared/utils/getDateRange/getDateRange.mjs";
27
+ import { default as ee } from "./shared/utils/isAndroid/isAndroid.mjs";
28
+ import { default as te } from "./shared/utils/isApp/isApp.mjs";
29
+ import { default as ae } from "./shared/utils/isDesktop/isDesktop.mjs";
30
+ import { default as le } from "./shared/utils/birthDateToAge/birthDateToAge.mjs";
31
+ import { default as se } from "./shared/utils/objectToQueryString/objectToQueryString.mjs";
32
+ import { default as me } from "./shared/utils/getVimeoId/getVimeoId.mjs";
33
+ import { default as ie } from "./shared/utils/parseQueryString/parseQueryString.mjs";
34
+ import { default as ne } from "./shared/utils/share/share.mjs";
35
+ import { default as ge } from "./teacher/profile/components/ProfileSummary/ProfileSummary.mjs";
36
+ import { default as ye } from "./teacher/profile/components/StatBadgeCollection/StatBadgeCollection.mjs";
37
+ import { default as Ce } from "./teacher/profile/components/StatBadgeCollection/StatBadge/StatBadge.mjs";
38
+ import { default as be } from "./teacher/profile/components/ActivityGallery/ActivityGallery.mjs";
39
+ import { default as De } from "./teacher/profile/components/ActivityGallery/ActivityGalleryItem/ActivityGalleryItem.mjs";
40
40
  import { default as he } from "./teacher/profile/components/CertificationSection/CertificationSection.mjs";
41
41
  import { default as Me } from "./teacher/profile/components/CertificationSection/CertificationItem/CertificationItem.mjs";
42
- import { default as we } from "./teacher/profile/components/CareerSection/CareerSection.mjs";
42
+ import { default as Re } from "./teacher/profile/components/CareerSection/CareerSection.mjs";
43
43
  import { default as Te } from "./teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs";
44
44
  import { default as Ge } from "./teacher/profile/components/EducationSection/EducationSection.mjs";
45
- import { default as Ne } from "./teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs";
46
- import { default as je } from "./teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs";
47
- import { default as Ue } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs";
48
- import { getPreferredAgeKeywords as qe } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
49
- import { default as He } from "./teacher/profile/components/AbilityCollection/AbilityCollection.mjs";
50
- import { default as Oe } from "./teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs";
51
- import { getAbilityCollection as Xe } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
52
- import { default as Ze } from "./teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs";
53
- import { default as $e } from "./teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
54
- import { default as oo } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs";
55
- import { default as ro } from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs";
45
+ import { default as Ke } from "./teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs";
46
+ import { default as Qe } from "./teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs";
47
+ import { default as Fe } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs";
48
+ import { getPreferredAgeKeywords as Ve } from "./teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.utils.mjs";
49
+ import { default as ze } from "./teacher/profile/components/AbilityCollection/AbilityCollection.mjs";
50
+ import { default as Je } from "./teacher/profile/components/AbilityCollection/AbilityBadge/AbilityBadge.mjs";
51
+ import { getAbilityCollection as We } from "./teacher/profile/components/AbilityCollection/AbilityCollection.utils.mjs";
52
+ import { default as Ye } from "./teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs";
53
+ import { default as _e } from "./teacher/profile/components/LessonNotesSection/LessonNotesSection.mjs";
54
+ import { default as eo } from "./teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
55
+ import { default as to } from "./teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs";
56
+ import { default as ao } from "./teacher/profile/components/ParentReviewSection/ParentReviewCard/ParentReviewCard.mjs";
56
57
  export {
57
- Oe as AbilityBadge,
58
- He as AbilityCollection,
59
- Be as ActivityGallery,
60
- Ie as ActivityGalleryItem,
61
- Ze as AvailableScheduleSection,
62
- N as Calendar,
58
+ Je as AbilityBadge,
59
+ ze as AbilityCollection,
60
+ be as ActivityGallery,
61
+ De as ActivityGalleryItem,
62
+ Ye as AvailableScheduleSection,
63
+ K as Calendar,
63
64
  Te as CareerItem,
64
- we as CareerSection,
65
+ Re as CareerSection,
65
66
  D as Carousel,
66
- R as CarouselSlide,
67
+ h as CarouselSlide,
67
68
  Me as CertificationItem,
68
69
  he as CertificationSection,
69
- Ne as EducationItem,
70
+ Ke as EducationItem,
70
71
  Ge as EducationSection,
71
72
  G as Image,
72
- $e as LessonNote,
73
- P as LessonNotesSection,
74
- q as LoadingAnnouncer,
75
- j as Masonry,
76
- U as MasonryBlock,
73
+ eo as LessonNote,
74
+ _e as LessonNotesSection,
75
+ V as LoadingAnnouncer,
76
+ Q as Masonry,
77
+ F as MasonryBlock,
77
78
  i as MediaBlock,
78
- u as MediaDialog,
79
+ m as MediaDialog,
79
80
  n as MediaDialogContent,
80
81
  g as MediaDialogFooter,
81
82
  y as MediaDialogToolbar,
82
- ro as ParentReviewCard,
83
- oo as ParentReviewSection,
84
- je as PreferredActivityKeywordGroup,
85
- Ue as PreferredAgeGroup,
86
- Se as ProfileSummary,
87
- w as Roller,
83
+ ao as ParentReviewCard,
84
+ to as ParentReviewSection,
85
+ Qe as PreferredActivityKeywordGroup,
86
+ Fe as PreferredAgeGroup,
87
+ ge as ProfileSummary,
88
+ R as Roller,
88
89
  T as RollerBlock,
89
90
  l as ScheduleBlock,
90
91
  a as ScheduleEvent,
91
92
  t as Scheduler,
92
- ve as StatBadge,
93
- Ae as StatBadgeCollection,
93
+ Ce as StatBadge,
94
+ ye as StatBadgeCollection,
94
95
  C as Swiper,
95
96
  b as SwiperBlock,
96
- k as TimePicker,
97
- de as birthDateToAge,
98
- Xe as getAbilityCollection,
97
+ M as TimePicker,
98
+ le as birthDateToAge,
99
+ We as getAbilityCollection,
99
100
  s as getAvailableDateRange,
100
- $ as getDateRange,
101
- O as getImageUrl,
102
- qe as getPreferredAgeKeywords,
103
- Z as getTimeRange,
104
- pe as getVimeoId,
105
- oe as isAndroid,
106
- re as isApp,
107
- fe as isDesktop,
108
- X as isServer,
109
- me as objectToQueryString,
110
- xe as parseQueryString,
111
- ce as share,
112
- H as useIsomorphicLayoutEffect
101
+ _ as getDateRange,
102
+ J as getImageUrl,
103
+ Ve as getPreferredAgeKeywords,
104
+ Y as getTimeRange,
105
+ me as getVimeoId,
106
+ ee as isAndroid,
107
+ te as isApp,
108
+ ae as isDesktop,
109
+ W as isServer,
110
+ se as objectToQueryString,
111
+ ie as parseQueryString,
112
+ ne as share,
113
+ z as useIsomorphicLayoutEffect
113
114
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { Flexbox as i } 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";
2
+ import { Flexbox as i } from "@dotss/ui";
3
3
  import r from "@dotss/ui/core/useTheme";
4
4
  function l({ children: o }) {
5
5
  const {
@@ -1,9 +1,133 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "@dotss/ui";
4
- import "./RollerBlock/RollerBlock.mjs";
5
- import { R as e } from "../../../LessonNotesSection-Bg1DHFxg.js";
6
- import "../../../teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
1
+ import { jsx as h } from "react/jsx-runtime";
2
+ import { useState as w, useRef as a, Children as k, isValidElement as X, useEffect as g, cloneElement as N } from "react";
3
+ import { Flexbox as P } from "@dotss/ui";
4
+ import U from "./RollerBlock/RollerBlock.mjs";
5
+ import S from "../../../teacher/profile/components/LessonNotesSection/LessonNote/LessonNote.mjs";
6
+ function V({
7
+ children: L,
8
+ spacing: A = 2,
9
+ edgeSpacing: m = 4,
10
+ rowCount: o = 1,
11
+ inlineCSS: M,
12
+ ...R
13
+ }) {
14
+ const [y, x] = w(0), n = a(null), i = a(!1), u = a(!0), b = a(0), l = a(0), c = a(0), v = k.toArray(L).filter(X).filter((r) => r.type === U || r.type === S), f = v.length, E = (r) => {
15
+ var e, t;
16
+ i.current = !0, b.current = r.clientX - (((e = n.current) == null ? void 0 : e.offsetLeft) || 0), l.current = ((t = n.current) == null ? void 0 : t.scrollLeft) || 0;
17
+ }, I = (r) => {
18
+ i.current && (r.currentTarget.style.cursor = "grabbing", n.current && (n.current.scrollLeft = l.current - (r.clientX - n.current.offsetLeft - b.current)));
19
+ }, d = (r) => {
20
+ var t;
21
+ i.current = !1, l.current !== ((t = n.current) == null ? void 0 : t.scrollLeft) ? (r.currentTarget.style.cursor = "grab", u.current = !1, c.current && cancelAnimationFrame(c.current), c.current = requestAnimationFrame(() => {
22
+ u.current = !0;
23
+ })) : u.current = !0;
24
+ }, T = (r) => (e) => {
25
+ var D;
26
+ e.stopPropagation();
27
+ const t = Number(e.currentTarget.getAttribute("aria-posinset")) - 1;
28
+ let s = t;
29
+ switch (e.key) {
30
+ case "ArrowRight": {
31
+ e.preventDefault(), t + o < f && (s = t + o);
32
+ break;
33
+ }
34
+ case "ArrowLeft": {
35
+ e.preventDefault(), t - o >= 0 && (s = t - o);
36
+ break;
37
+ }
38
+ case "ArrowDown": {
39
+ e.preventDefault(), (t + 1) % o !== 0 && t + 1 < f && (s = t + 1);
40
+ break;
41
+ }
42
+ case "ArrowUp": {
43
+ e.preventDefault(), t % o !== 0 && t - 1 >= 0 && (s = t - 1);
44
+ break;
45
+ }
46
+ case "Enter":
47
+ case " ": {
48
+ e.preventDefault(), e.currentTarget.click();
49
+ return;
50
+ }
51
+ default:
52
+ return;
53
+ }
54
+ if (s !== t) {
55
+ const p = (D = n.current) == null ? void 0 : D.children[s];
56
+ p == null || p.focus();
57
+ }
58
+ r == null || r(e);
59
+ }, F = (r) => (e) => {
60
+ const t = Number(e.currentTarget.getAttribute("aria-posinset")) - 1;
61
+ x(t), r == null || r(e);
62
+ };
63
+ return g(() => {
64
+ const r = n.current, e = (t) => {
65
+ u.current || t.stopPropagation();
66
+ };
67
+ return r == null || r.addEventListener("click", e), () => {
68
+ r == null || r.removeEventListener("click", e);
69
+ };
70
+ }, []), g(() => {
71
+ const r = n.current, e = (t) => {
72
+ t.stopPropagation();
73
+ };
74
+ return r == null || r.addEventListener("touchmove", e), () => {
75
+ r == null || r.removeEventListener("touchmove", e);
76
+ };
77
+ }, []), g(() => () => {
78
+ c.current && cancelAnimationFrame(c.current);
79
+ }, []), /* @__PURE__ */ h(
80
+ P,
81
+ {
82
+ ref: n,
83
+ alignItems: "baseline",
84
+ gap: A,
85
+ pl: m,
86
+ pr: m,
87
+ onMouseDown: E,
88
+ onMouseMove: I,
89
+ onMouseUp: d,
90
+ onMouseLeave: d,
91
+ role: "list",
92
+ "aria-roledescription": "carousel",
93
+ "aria-label": "슬라이더",
94
+ ...R,
95
+ inlineCSS: {
96
+ display: "grid",
97
+ gridAutoFlow: "column",
98
+ gridAutoColumns: "min-content",
99
+ overflowX: "auto",
100
+ scrollbarWidth: "none",
101
+ cursor: "grab",
102
+ transform: "translate3d(0, 0, 0)",
103
+ "&::-webkit-scrollbar": {
104
+ display: "none"
105
+ },
106
+ ...M
107
+ },
108
+ children: k.map(
109
+ v,
110
+ (r, e) => {
111
+ var t;
112
+ return N(r, {
113
+ role: "listitem",
114
+ tabIndex: e === y ? 0 : -1,
115
+ "aria-roledescription": "slide",
116
+ "aria-posinset": e + 1,
117
+ "aria-setsize": f,
118
+ onKeyDown: T(r.props.onKeyDown),
119
+ onFocus: F(r.props.onFocus),
120
+ ...r.props,
121
+ style: {
122
+ ...(t = r.props) == null ? void 0 : t.style,
123
+ gridRow: `${e % o + 1} / ${e % o + 1}`
124
+ }
125
+ });
126
+ }
127
+ )
128
+ }
129
+ );
130
+ }
7
131
  export {
8
- e as default
132
+ V as default
9
133
  };
@@ -1,6 +1,6 @@
1
- import { R as l } from "../../../LessonNotesSection-Bg1DHFxg.js";
2
- import { default as a } from "./RollerBlock/RollerBlock.mjs";
1
+ import l from "./Roller.mjs";
2
+ import { default as t } from "./RollerBlock/RollerBlock.mjs";
3
3
  export {
4
- a as RollerBlock,
4
+ t as RollerBlock,
5
5
  l as default
6
6
  };
@@ -9,10 +9,10 @@ import { default as g } from "./MediaDialog/MediaDialogFooter/MediaDialogFooter.
9
9
  import { default as k } from "./MediaDialog/MediaDialogToolbar/MediaDialogToolbar.mjs";
10
10
  import { default as B } from "./Swiper/Swiper.mjs";
11
11
  import { default as C } from "./Swiper/SwiperBlock/SwiperBlock.mjs";
12
- import { default as h } from "./Carousel/Carousel.mjs";
12
+ import { default as R } from "./Carousel/Carousel.mjs";
13
13
  import { default as v } from "./Carousel/CarouselSlide/CarouselSlide.mjs";
14
14
  import { default as y } from "./TimePicker/TimePicker.mjs";
15
- import { R as T } from "../../LessonNotesSection-Bg1DHFxg.js";
15
+ import { default as T } from "./Roller/Roller.mjs";
16
16
  import { default as F } from "./Roller/RollerBlock/RollerBlock.mjs";
17
17
  import { default as L } from "./Image/Image.mjs";
18
18
  import { default as j } from "./Calendar/Calendar.mjs";
@@ -21,7 +21,7 @@ import { default as H } from "./Masonry/MasonryBlock/MasonryBlock.mjs";
21
21
  import { default as K } from "./LoadingAnnouncer/LoadingAnnouncer.mjs";
22
22
  export {
23
23
  j as Calendar,
24
- h as Carousel,
24
+ R as Carousel,
25
25
  v as CarouselSlide,
26
26
  L as Image,
27
27
  K as LoadingAnnouncer,
@@ -1,28 +1,28 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { Children as p, isValidElement as S, cloneElement as j } from "react";
1
+ import { jsxs as y, jsx as e } from "react/jsx-runtime";
2
+ import { Children as s, isValidElement as S, cloneElement as j } from "react";
3
3
  import { Flexbox as a, Typography as E, Button as $, Icon as w } from "@dotss/ui";
4
4
  import A from "../../../../shared/components/Masonry/Masonry.mjs";
5
5
  import "../../../../shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
6
6
  import B from "./ActivityGalleryItem/ActivityGalleryItem.mjs";
7
7
  function T({
8
- children: c,
8
+ children: p,
9
9
  onClickViewAll: o,
10
10
  action: m,
11
11
  hideHeader: l = !1,
12
12
  masonryProps: {
13
- columnCount: f = 2,
14
- rowCount: g = 2,
15
- spacing: h = 2,
16
- edgeSpacing: b = 0,
17
- direction: u = "horizontal",
18
- defaultContainerWidth: v = 360,
13
+ columnCount: c = 2,
14
+ rowCount: f = 2,
15
+ spacing: g = 2,
16
+ edgeSpacing: h = 0,
17
+ direction: b = "horizontal",
18
+ defaultContainerWidth: u = 360,
19
19
  defaultContainerHeight: d = 0,
20
- ...x
20
+ ...v
21
21
  } = {},
22
22
  ...r
23
23
  }) {
24
- const n = p.toArray(c).filter(S).filter((t) => t.type === B), C = n.length > 0;
25
- return /* @__PURE__ */ s(
24
+ const n = s.toArray(p).filter(S).filter((t) => t.type === B), x = n.length > 0;
25
+ return /* @__PURE__ */ y(
26
26
  a,
27
27
  {
28
28
  tag: "section",
@@ -36,7 +36,7 @@ function T({
36
36
  ...r == null ? void 0 : r.inlineCSS
37
37
  },
38
38
  children: [
39
- !l && /* @__PURE__ */ s(a, { alignItems: "center", justifyContent: "space-between", gap: 2, children: [
39
+ !l && /* @__PURE__ */ y(a, { alignItems: "center", justifyContent: "space-between", gap: 2, children: [
40
40
  /* @__PURE__ */ e(
41
41
  E,
42
42
  {
@@ -59,27 +59,26 @@ function T({
59
59
  }
60
60
  )
61
61
  ] }),
62
- C && /* @__PURE__ */ e(
62
+ x && /* @__PURE__ */ e(
63
63
  A,
64
64
  {
65
- rowCount: g,
66
- columnCount: f,
67
- spacing: h,
68
- edgeSpacing: b,
69
- direction: u,
70
- defaultContainerWidth: v,
65
+ rowCount: f,
66
+ columnCount: c,
67
+ spacing: g,
68
+ edgeSpacing: h,
69
+ direction: b,
70
+ defaultContainerWidth: u,
71
71
  defaultContainerHeight: d,
72
72
  role: "group",
73
73
  "aria-label": "콘텐츠 목록",
74
- ...x,
75
- children: p.map(n, (t, y) => {
74
+ ...v,
75
+ children: s.map(n, (t, C) => {
76
76
  let i = t.props.type === "VIDEO" || t.props.type === "VIMEO" || t.props.type === "YOUTUBE" ? "동영상" : "사진";
77
77
  i = t.props.primary ? `대표 ${i}` : i;
78
- const I = `${i} (${n.length}개 중 ${y + 1}번째)`;
78
+ const I = `${i} (${n.length}개 중 ${C + 1}번째)`;
79
79
  return j(t, {
80
80
  role: "button",
81
81
  "aria-label": I,
82
- index: y,
83
82
  ...t.props
84
83
  });
85
84
  })
@@ -3,7 +3,7 @@ export interface ActivityGalleryItemProps extends MasonryBlockProps {
3
3
  type: 'VIDEO' | 'VIMEO' | 'YOUTUBE' | 'IMAGE';
4
4
  primary: boolean;
5
5
  status: 'VERIFIED' | 'PENDING' | 'REJECTED' | 'DELETED';
6
- index?: number;
6
+ id: string;
7
7
  }
8
- declare function ActivityGalleryItem({ children, type, primary, status, index, ...props }: ActivityGalleryItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
8
+ declare function ActivityGalleryItem({ children, type, primary, status, id, ...props }: ActivityGalleryItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
9
  export default ActivityGalleryItem;
@@ -2,12 +2,12 @@ import { jsxs as r, jsx as e, Fragment as c } from "react/jsx-runtime";
2
2
  import { Label as u, Flexbox as l, Icon as m, Typography as b } from "@dotss/ui";
3
3
  import h from "@dotss/ui/core/useTheme";
4
4
  import p from "../../../../../shared/components/Masonry/MasonryBlock/MasonryBlock.mjs";
5
- function x({
5
+ function g({
6
6
  children: n,
7
7
  type: i,
8
8
  primary: a = !1,
9
9
  status: s,
10
- index: o = 0,
10
+ id: o,
11
11
  ...t
12
12
  }) {
13
13
  const {
@@ -92,5 +92,5 @@ function x({
92
92
  );
93
93
  }
94
94
  export {
95
- x as default
95
+ g as default
96
96
  };
@@ -1,10 +1,13 @@
1
1
  import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
2
- export interface CareerItemProps extends FlexboxProps {
2
+ export interface CareerItemProps extends Omit<FlexboxProps, 'id'> {
3
3
  title: string;
4
4
  status: 'VERIFIED' | 'PENDING' | 'REJECTED' | 'DELETED';
5
5
  startDate: string;
6
6
  endDate: string | null;
7
7
  primary: boolean;
8
+ id: string | number;
9
+ regDatetime: string;
10
+ priority: number;
8
11
  }
9
- declare function CareerItem({ title, status, startDate, endDate, primary, ...props }: CareerItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
12
+ declare function CareerItem({ title, status, startDate, endDate, primary, id, ...props }: CareerItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
10
13
  export default CareerItem;