@dotss/tictoccroc 0.0.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 (155) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.mjs +54 -0
  3. package/dist/shared/components/Calendar/Calendar.d.ts +10 -0
  4. package/dist/shared/components/Calendar/Calendar.mjs +80 -0
  5. package/dist/shared/components/Calendar/index.d.ts +2 -0
  6. package/dist/shared/components/Calendar/index.mjs +4 -0
  7. package/dist/shared/components/Carousel/Carousel.d.ts +16 -0
  8. package/dist/shared/components/Carousel/Carousel.mjs +205 -0
  9. package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.d.ts +4 -0
  10. package/dist/shared/components/Carousel/CarouselSlide/CarouselSlide.mjs +8 -0
  11. package/dist/shared/components/Carousel/CarouselSlide/index.d.ts +3 -0
  12. package/dist/shared/components/Carousel/CarouselSlide/index.mjs +4 -0
  13. package/dist/shared/components/Carousel/index.d.ts +4 -0
  14. package/dist/shared/components/Carousel/index.mjs +6 -0
  15. package/dist/shared/components/Image/Image.d.ts +20 -0
  16. package/dist/shared/components/Image/Image.mjs +181 -0
  17. package/dist/shared/components/Image/index.d.ts +3 -0
  18. package/dist/shared/components/Image/index.mjs +4 -0
  19. package/dist/shared/components/ImageZoomDialog/ImageBlock/ImageBlock.d.ts +8 -0
  20. package/dist/shared/components/ImageZoomDialog/ImageBlock/ImageBlock.mjs +50 -0
  21. package/dist/shared/components/ImageZoomDialog/ImageBlock/index.d.ts +2 -0
  22. package/dist/shared/components/ImageZoomDialog/ImageBlock/index.mjs +4 -0
  23. package/dist/shared/components/ImageZoomDialog/ImageZoomDialog.d.ts +16 -0
  24. package/dist/shared/components/ImageZoomDialog/ImageZoomDialog.mjs +344 -0
  25. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.d.ts +3 -0
  26. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/ImageZoomDialogContent.mjs +23 -0
  27. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/index.d.ts +2 -0
  28. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogContent/index.mjs +4 -0
  29. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.d.ts +3 -0
  30. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/ImageZoomDialogFooter.mjs +28 -0
  31. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/index.d.ts +2 -0
  32. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogFooter/index.mjs +4 -0
  33. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.d.ts +3 -0
  34. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/ImageZoomDialogToolbar.mjs +22 -0
  35. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/index.d.ts +2 -0
  36. package/dist/shared/components/ImageZoomDialog/ImageZoomDialogToolbar/index.mjs +4 -0
  37. package/dist/shared/components/ImageZoomDialog/index.d.ts +6 -0
  38. package/dist/shared/components/ImageZoomDialog/index.mjs +10 -0
  39. package/dist/shared/components/Roller/Roller.d.ts +9 -0
  40. package/dist/shared/components/Roller/Roller.mjs +122 -0
  41. package/dist/shared/components/Roller/RollerBlock/RollerBlock.d.ts +4 -0
  42. package/dist/shared/components/Roller/RollerBlock/RollerBlock.mjs +8 -0
  43. package/dist/shared/components/Roller/RollerBlock/index.d.ts +3 -0
  44. package/dist/shared/components/Roller/RollerBlock/index.mjs +4 -0
  45. package/dist/shared/components/Roller/index.d.ts +4 -0
  46. package/dist/shared/components/Roller/index.mjs +6 -0
  47. package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.d.ts +7 -0
  48. package/dist/shared/components/Scheduler/ScheduleBlock/ScheduleBlock.mjs +31 -0
  49. package/dist/shared/components/Scheduler/ScheduleBlock/index.d.ts +3 -0
  50. package/dist/shared/components/Scheduler/ScheduleBlock/index.mjs +4 -0
  51. package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.d.ts +9 -0
  52. package/dist/shared/components/Scheduler/ScheduleEvent/ScheduleEvent.mjs +36 -0
  53. package/dist/shared/components/Scheduler/ScheduleEvent/index.d.ts +3 -0
  54. package/dist/shared/components/Scheduler/ScheduleEvent/index.mjs +4 -0
  55. package/dist/shared/components/Scheduler/Scheduler.d.ts +15 -0
  56. package/dist/shared/components/Scheduler/Scheduler.mjs +552 -0
  57. package/dist/shared/components/Scheduler/Scheduler.utils.d.ts +32 -0
  58. package/dist/shared/components/Scheduler/Scheduler.utils.mjs +92 -0
  59. package/dist/shared/components/Scheduler/index.d.ts +6 -0
  60. package/dist/shared/components/Scheduler/index.mjs +10 -0
  61. package/dist/shared/components/Swiper/Swiper.d.ts +25 -0
  62. package/dist/shared/components/Swiper/Swiper.mjs +274 -0
  63. package/dist/shared/components/Swiper/Swiper.utils.d.ts +13 -0
  64. package/dist/shared/components/Swiper/Swiper.utils.mjs +25 -0
  65. package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.d.ts +4 -0
  66. package/dist/shared/components/Swiper/SwiperBlock/SwiperBlock.mjs +19 -0
  67. package/dist/shared/components/Swiper/SwiperBlock/index.d.ts +3 -0
  68. package/dist/shared/components/Swiper/SwiperBlock/index.mjs +4 -0
  69. package/dist/shared/components/Swiper/index.d.ts +4 -0
  70. package/dist/shared/components/Swiper/index.mjs +6 -0
  71. package/dist/shared/components/TimePicker/TimePicker.d.ts +23 -0
  72. package/dist/shared/components/TimePicker/TimePicker.mjs +122 -0
  73. package/dist/shared/components/TimePicker/index.d.ts +3 -0
  74. package/dist/shared/components/TimePicker/index.mjs +4 -0
  75. package/dist/shared/components/index.d.ts +7 -0
  76. package/dist/shared/components/index.mjs +30 -0
  77. package/dist/shared/hooks/index.d.ts +1 -0
  78. package/dist/shared/hooks/index.mjs +4 -0
  79. package/dist/shared/hooks/useIsomorphicLayoutEffect/index.d.ts +2 -0
  80. package/dist/shared/hooks/useIsomorphicLayoutEffect/index.mjs +4 -0
  81. package/dist/shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +3 -0
  82. package/dist/shared/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs +6 -0
  83. package/dist/shared/utils/birthDateToAge/birthDateToAge.d.ts +1 -0
  84. package/dist/shared/utils/birthDateToAge/birthDateToAge.mjs +11 -0
  85. package/dist/shared/utils/birthDateToAge/birthDateToAge.test.d.ts +1 -0
  86. package/dist/shared/utils/birthDateToAge/birthDateToAge.test.mjs +12 -0
  87. package/dist/shared/utils/birthDateToAge/index.d.ts +2 -0
  88. package/dist/shared/utils/birthDateToAge/index.mjs +4 -0
  89. package/dist/shared/utils/getDateRange/getDateRange.d.ts +11 -0
  90. package/dist/shared/utils/getDateRange/getDateRange.mjs +21 -0
  91. package/dist/shared/utils/getDateRange/getDateRange.test.d.ts +1 -0
  92. package/dist/shared/utils/getDateRange/getDateRange.test.mjs +61 -0
  93. package/dist/shared/utils/getDateRange/index.d.ts +2 -0
  94. package/dist/shared/utils/getDateRange/index.mjs +4 -0
  95. package/dist/shared/utils/getImageUrl/getImageUrl.d.ts +3 -0
  96. package/dist/shared/utils/getImageUrl/getImageUrl.mjs +17 -0
  97. package/dist/shared/utils/getImageUrl/getImageUrl.test.d.ts +1 -0
  98. package/dist/shared/utils/getImageUrl/getImageUrl.test.mjs +28 -0
  99. package/dist/shared/utils/getImageUrl/index.d.ts +3 -0
  100. package/dist/shared/utils/getImageUrl/index.mjs +6 -0
  101. package/dist/shared/utils/getTimeRange/getTimeRange.d.ts +12 -0
  102. package/dist/shared/utils/getTimeRange/getTimeRange.mjs +22 -0
  103. package/dist/shared/utils/getTimeRange/getTimeRange.test.d.ts +1 -0
  104. package/dist/shared/utils/getTimeRange/getTimeRange.test.mjs +76 -0
  105. package/dist/shared/utils/getTimeRange/index.d.ts +2 -0
  106. package/dist/shared/utils/getTimeRange/index.mjs +4 -0
  107. package/dist/shared/utils/getVimeoId/getVimeoId.d.ts +1 -0
  108. package/dist/shared/utils/getVimeoId/getVimeoId.mjs +12 -0
  109. package/dist/shared/utils/getVimeoId/getVimeoId.test.d.ts +1 -0
  110. package/dist/shared/utils/getVimeoId/getVimeoId.test.mjs +15 -0
  111. package/dist/shared/utils/getVimeoId/index.d.ts +2 -0
  112. package/dist/shared/utils/getVimeoId/index.mjs +4 -0
  113. package/dist/shared/utils/index.d.ts +11 -0
  114. package/dist/shared/utils/index.mjs +24 -0
  115. package/dist/shared/utils/isAndroid/index.d.ts +2 -0
  116. package/dist/shared/utils/isAndroid/index.mjs +4 -0
  117. package/dist/shared/utils/isAndroid/isAndroid.d.ts +1 -0
  118. package/dist/shared/utils/isAndroid/isAndroid.mjs +6 -0
  119. package/dist/shared/utils/isAndroid/isAndroid.test.d.ts +1 -0
  120. package/dist/shared/utils/isAndroid/isAndroid.test.mjs +13 -0
  121. package/dist/shared/utils/isApp/index.d.ts +2 -0
  122. package/dist/shared/utils/isApp/index.mjs +4 -0
  123. package/dist/shared/utils/isApp/isApp.d.ts +1 -0
  124. package/dist/shared/utils/isApp/isApp.mjs +6 -0
  125. package/dist/shared/utils/isApp/isApp.test.d.ts +1 -0
  126. package/dist/shared/utils/isApp/isApp.test.mjs +23 -0
  127. package/dist/shared/utils/isDesktop/index.d.ts +2 -0
  128. package/dist/shared/utils/isDesktop/index.mjs +4 -0
  129. package/dist/shared/utils/isDesktop/isDesktop.d.ts +1 -0
  130. package/dist/shared/utils/isDesktop/isDesktop.mjs +16 -0
  131. package/dist/shared/utils/isDesktop/isDesktop.test.d.ts +1 -0
  132. package/dist/shared/utils/isDesktop/isDesktop.test.mjs +11 -0
  133. package/dist/shared/utils/isServer/index.d.ts +2 -0
  134. package/dist/shared/utils/isServer/index.mjs +4 -0
  135. package/dist/shared/utils/isServer/isServer.d.ts +1 -0
  136. package/dist/shared/utils/isServer/isServer.mjs +6 -0
  137. package/dist/shared/utils/isServer/isServer.test.d.ts +1 -0
  138. package/dist/shared/utils/isServer/isServer.test.mjs +13 -0
  139. package/dist/shared/utils/objectToQueryString/index.d.ts +2 -0
  140. package/dist/shared/utils/objectToQueryString/index.mjs +4 -0
  141. package/dist/shared/utils/objectToQueryString/objectToQueryString.d.ts +1 -0
  142. package/dist/shared/utils/objectToQueryString/objectToQueryString.mjs +9 -0
  143. package/dist/shared/utils/objectToQueryString/objectToQueryString.test.d.ts +1 -0
  144. package/dist/shared/utils/objectToQueryString/objectToQueryString.test.mjs +11 -0
  145. package/dist/shared/utils/parseQueryString/index.d.ts +2 -0
  146. package/dist/shared/utils/parseQueryString/index.mjs +4 -0
  147. package/dist/shared/utils/parseQueryString/parseQueryString.d.ts +4 -0
  148. package/dist/shared/utils/parseQueryString/parseQueryString.mjs +6 -0
  149. package/dist/shared/utils/parseQueryString/parseQueryString.test.d.ts +1 -0
  150. package/dist/shared/utils/parseQueryString/parseQueryString.test.mjs +16 -0
  151. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.d.ts +2 -0
  152. package/dist/teacher/profile/components/ProfileSummary/ProfileSummary.mjs +8 -0
  153. package/dist/teacher/profile/components/ProfileSummary/index.d.ts +2 -0
  154. package/dist/teacher/profile/components/ProfileSummary/index.mjs +4 -0
  155. package/package.json +100 -0
@@ -0,0 +1,122 @@
1
+ import { jsx as E } from "react/jsx-runtime";
2
+ import { useRef as a, Children as k, isValidElement as x, useEffect as g, cloneElement as F } from "react";
3
+ import { Flexbox as I } from "@thedotscorp/ui";
4
+ import T from "./RollerBlock/RollerBlock.mjs";
5
+ function P({ children: L, spacing: A = 2, edgeSpacing: m = 4, rowCount: o = 1, inlineCSS: M }) {
6
+ const n = a(null), l = a(!1), i = a(!0), b = a(0), f = a(0), c = a(0), d = k.toArray(L).filter(x).filter((r) => r.type === T).filter(Boolean), u = d.length, R = (r) => {
7
+ var t, e;
8
+ l.current = !0, b.current = r.clientX - (((t = n.current) == null ? void 0 : t.offsetLeft) || 0), f.current = ((e = n.current) == null ? void 0 : e.scrollLeft) || 0;
9
+ }, h = (r) => {
10
+ l.current && (r.currentTarget.style.cursor = "grabbing", n.current && (n.current.scrollLeft = f.current - (r.clientX - n.current.offsetLeft - b.current)));
11
+ }, v = (r) => {
12
+ var e;
13
+ l.current = !1, f.current !== ((e = n.current) == null ? void 0 : e.scrollLeft) ? (r.currentTarget.style.cursor = "grab", i.current = !1, c.current && cancelAnimationFrame(c.current), c.current = requestAnimationFrame(() => {
14
+ i.current = !0;
15
+ })) : i.current = !0;
16
+ }, y = (r) => (t) => {
17
+ var D;
18
+ t.stopPropagation();
19
+ const e = Number(t.currentTarget.getAttribute("aria-posinset")) - 1;
20
+ if (isNaN(e)) return;
21
+ let s = e;
22
+ switch (t.key) {
23
+ case "ArrowRight": {
24
+ t.preventDefault(), e + o < u && (s = e + o);
25
+ break;
26
+ }
27
+ case "ArrowLeft": {
28
+ t.preventDefault(), e - o >= 0 && (s = e - o);
29
+ break;
30
+ }
31
+ case "ArrowDown": {
32
+ t.preventDefault(), (e + 1) % o !== 0 && e + 1 < u && (s = e + 1);
33
+ break;
34
+ }
35
+ case "ArrowUp": {
36
+ t.preventDefault(), e % o !== 0 && e - 1 >= 0 && (s = e - 1);
37
+ break;
38
+ }
39
+ case "Enter":
40
+ case " ": {
41
+ t.preventDefault(), t.currentTarget.click();
42
+ return;
43
+ }
44
+ default:
45
+ return;
46
+ }
47
+ if (s !== e) {
48
+ const p = (D = n.current) == null ? void 0 : D.children[s];
49
+ p == null || p.focus();
50
+ }
51
+ r == null || r(t);
52
+ };
53
+ return g(() => {
54
+ const r = n.current, t = (e) => {
55
+ i.current || e.stopPropagation();
56
+ };
57
+ return r == null || r.addEventListener("click", t), () => {
58
+ r == null || r.removeEventListener("click", t);
59
+ };
60
+ }, []), g(() => {
61
+ const r = n.current, t = (e) => {
62
+ e.stopPropagation();
63
+ };
64
+ return r == null || r.addEventListener("touchmove", t), () => {
65
+ r == null || r.removeEventListener("touchmove", t);
66
+ };
67
+ }, []), g(() => () => {
68
+ c.current && cancelAnimationFrame(c.current);
69
+ }, []), /* @__PURE__ */ E(
70
+ I,
71
+ {
72
+ ref: n,
73
+ alignItems: "baseline",
74
+ gap: A,
75
+ pl: m,
76
+ pr: m,
77
+ onMouseDown: R,
78
+ onMouseMove: h,
79
+ onMouseUp: v,
80
+ onMouseLeave: v,
81
+ role: "group",
82
+ "aria-roledescription": "carousel",
83
+ "aria-label": "슬라이더",
84
+ inlineCSS: {
85
+ display: "grid",
86
+ gridAutoFlow: "column",
87
+ gridAutoColumns: "min-content",
88
+ overflowX: "auto",
89
+ scrollbarWidth: "none",
90
+ cursor: "grab",
91
+ transform: "translate3d(0, 0, 0)",
92
+ "&::-webkit-scrollbar": {
93
+ display: "none"
94
+ },
95
+ ...M
96
+ },
97
+ children: k.map(
98
+ d,
99
+ (r, t) => {
100
+ var e;
101
+ return F(r, {
102
+ role: "group",
103
+ tabIndex: 0,
104
+ "aria-roledescription": "slide",
105
+ "aria-label": `${u}개 중 ${t + 1}번째 슬라이드`,
106
+ "aria-posinset": t + 1,
107
+ "aria-setsize": u,
108
+ onKeyDown: y(r.props.onKeyDown),
109
+ ...r.props,
110
+ style: {
111
+ ...(e = r.props) == null ? void 0 : e.style,
112
+ gridRow: `${t % o + 1} / ${t % o + 1}`
113
+ }
114
+ });
115
+ }
116
+ )
117
+ }
118
+ );
119
+ }
120
+ export {
121
+ P as default
122
+ };
@@ -0,0 +1,4 @@
1
+ import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
2
+ export type RollerBlockProps = FlexboxProps;
3
+ declare function RollerBlock({ children, ...props }: RollerBlockProps): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default RollerBlock;
@@ -0,0 +1,8 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import e from "@thedotscorp/ui/Flexbox";
3
+ function m({ children: o, ...r }) {
4
+ return /* @__PURE__ */ t(e, { ...r, children: o });
5
+ }
6
+ export {
7
+ m as default
8
+ };
@@ -0,0 +1,3 @@
1
+ import { default as RollerBlock } from './RollerBlock';
2
+ export type { RollerBlockProps } from './RollerBlock';
3
+ export default RollerBlock;
@@ -0,0 +1,4 @@
1
+ import l from "./RollerBlock.mjs";
2
+ export {
3
+ l as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { RollerProps, default as Roller } from './Roller';
2
+ export { default as RollerBlock, type RollerBlockProps } from './RollerBlock';
3
+ export type { RollerProps };
4
+ export default Roller;
@@ -0,0 +1,6 @@
1
+ import l from "./Roller.mjs";
2
+ import { default as t } from "./RollerBlock/RollerBlock.mjs";
3
+ export {
4
+ t as RollerBlock,
5
+ l as default
6
+ };
@@ -0,0 +1,7 @@
1
+ import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
2
+ export interface ScheduleBlockProps extends FlexboxProps {
3
+ date: string;
4
+ time: string;
5
+ }
6
+ declare function ScheduleBlock({ children, style, ...props }: ScheduleBlockProps): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export default ScheduleBlock;
@@ -0,0 +1,31 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Flexbox as o, Typography as a } from "@thedotscorp/ui";
3
+ function x({ children: r, style: t, ...l }) {
4
+ return /* @__PURE__ */ e(
5
+ o,
6
+ {
7
+ p: 0.5,
8
+ flex: 1,
9
+ flexWrap: "wrap",
10
+ ...l,
11
+ style: {
12
+ overflowX: "auto",
13
+ ...t
14
+ },
15
+ children: /* @__PURE__ */ e(
16
+ a,
17
+ {
18
+ variant: "c5M",
19
+ textAlign: "center",
20
+ style: {
21
+ flex: 1
22
+ },
23
+ children: r
24
+ }
25
+ )
26
+ }
27
+ );
28
+ }
29
+ export {
30
+ x as default
31
+ };
@@ -0,0 +1,3 @@
1
+ import { default as ScheduleBlock, ScheduleBlockProps } from './ScheduleBlock';
2
+ export type { ScheduleBlockProps };
3
+ export default ScheduleBlock;
@@ -0,0 +1,4 @@
1
+ import o from "./ScheduleBlock.mjs";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
3
+ export interface ScheduleEventProps extends FlexboxProps {
4
+ startDate: string;
5
+ endDate: string;
6
+ children?: ReactNode;
7
+ }
8
+ declare function ScheduleEvent({ children, style, startDate, endDate, ...props }: ScheduleEventProps): import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export default ScheduleEvent;
@@ -0,0 +1,36 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Flexbox as l, Typography as n } from "@thedotscorp/ui";
3
+ import p from "@thedotscorp/ui/core/useTheme";
4
+ function s({ children: r, style: t, startDate: f, endDate: i, ...o }) {
5
+ const {
6
+ palette: { brand: a }
7
+ } = p();
8
+ return /* @__PURE__ */ e(
9
+ l,
10
+ {
11
+ p: 0.5,
12
+ flex: 1,
13
+ flexWrap: "wrap",
14
+ ...o,
15
+ style: {
16
+ backgroundColor: a.primary.main,
17
+ overflowX: "auto",
18
+ ...t
19
+ },
20
+ children: /* @__PURE__ */ e(
21
+ n,
22
+ {
23
+ variant: "c5M",
24
+ textAlign: "center",
25
+ style: {
26
+ flex: 1
27
+ },
28
+ children: r
29
+ }
30
+ )
31
+ }
32
+ );
33
+ }
34
+ export {
35
+ s as default
36
+ };
@@ -0,0 +1,3 @@
1
+ import { default as ScheduleEvent, ScheduleEventProps } from './ScheduleEvent';
2
+ export type { ScheduleEventProps };
3
+ export default ScheduleEvent;
@@ -0,0 +1,4 @@
1
+ import t from "./ScheduleEvent.mjs";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,15 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { Dayjs } from 'dayjs';
3
+ import { FlexboxProps } from 'node_modules/@thedotscorp/ui/Flexbox/Flexbox';
4
+ export interface SchedulerProps extends FlexboxProps {
5
+ date?: Dayjs;
6
+ containerRef?: RefObject<HTMLElement | null>;
7
+ legend?: {
8
+ text: string;
9
+ color?: string;
10
+ }[];
11
+ renderScheduleBlock?: (date: string, time: string) => ReactNode;
12
+ onDateChange?: (date: Dayjs) => void;
13
+ }
14
+ declare function Scheduler({ children, date, legend, containerRef, renderScheduleBlock, onDateChange, ...props }: SchedulerProps): import("@emotion/react/jsx-runtime").JSX.Element;
15
+ export default Scheduler;