pds-dev-kit-web-test 2.5.484 → 2.5.485

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 (199) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +3 -2
  3. package/dist/src/common/hooks/useTooltip.js +1 -1
  4. package/dist/src/common/services/i18n/resources/en.json +31 -1
  5. package/dist/src/common/services/i18n/resources/es.json +30 -1
  6. package/dist/src/common/services/i18n/resources/fil.json +30 -1
  7. package/dist/src/common/services/i18n/resources/index.d.ts +208 -0
  8. package/dist/src/common/services/i18n/resources/ja.json +31 -1
  9. package/dist/src/common/services/i18n/resources/ko.json +31 -1
  10. package/dist/src/common/services/i18n/resources/zh-cn.json +31 -1
  11. package/dist/src/common/services/i18n/resources/zh-tw.json +31 -1
  12. package/dist/src/common/styles/colorSet/index.d.ts +2 -2
  13. package/dist/src/common/styles/colorSet/index.js +2 -2
  14. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  15. package/dist/src/common/utils/dateHelper.d.ts +3 -0
  16. package/dist/src/common/utils/dateHelper.js +37 -0
  17. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  18. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +13 -0
  19. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +132 -0
  20. package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
  21. package/dist/src/desktop/components/Calendar/Calendar.js +384 -0
  22. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
  23. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +48 -0
  24. package/dist/src/desktop/components/Calendar/DailyView.d.ts +17 -0
  25. package/dist/src/desktop/components/Calendar/DailyView.js +64 -0
  26. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +27 -0
  27. package/dist/src/desktop/components/Calendar/MonthlyView.js +263 -0
  28. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +19 -0
  29. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +73 -0
  30. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +16 -0
  31. package/dist/src/desktop/components/Calendar/ScheduleItem.js +50 -0
  32. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +9 -0
  33. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +170 -0
  34. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +21 -0
  35. package/dist/src/desktop/components/Calendar/WeeklyView.js +91 -0
  36. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +12 -0
  37. package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
  38. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +24 -0
  39. package/dist/src/desktop/components/Calendar/calendarUtils.js +112 -0
  40. package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
  41. package/dist/src/desktop/components/Calendar/constants.js +31 -0
  42. package/dist/src/desktop/components/Calendar/index.d.ts +10 -0
  43. package/dist/src/desktop/components/Calendar/index.js +37 -0
  44. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +16 -0
  45. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +45 -0
  46. package/dist/src/desktop/components/Calendar/types.d.ts +60 -0
  47. package/dist/src/desktop/components/index.d.ts +2 -1
  48. package/dist/src/desktop/components/index.js +3 -1
  49. package/dist/src/desktop/index.d.ts +1 -1
  50. package/dist/src/desktop/index.js +2 -1
  51. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
  52. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +3 -5
  53. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +53 -53
  54. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
  55. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
  56. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  57. package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -4
  58. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -24
  59. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  60. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  61. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  62. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  63. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  64. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  65. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  66. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  67. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  68. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  69. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  70. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  71. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  72. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  73. package/dist/src/sub/DynamicLayout/mocks.d.ts +960 -8
  74. package/dist/src/sub/DynamicLayout/mocks.js +4239 -55
  75. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  76. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  77. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +11 -12
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -10
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -134
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -39
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +7 -31
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +1 -45
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -7
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +13 -18
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -53
  96. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  97. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
  98. package/dist/src/sub/DynamicLayout/types.d.ts +17 -64
  99. package/package.json +2 -3
  100. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -22
  101. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1133
  102. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  103. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  104. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
  105. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  106. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  107. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  108. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  109. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  110. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  111. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  112. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  113. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  114. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  115. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  116. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  117. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +0 -2
  118. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
  119. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
  120. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +0 -776
  121. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +0 -4236
  122. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  123. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -1607
  124. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
  125. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1111
  126. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
  127. package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1091
  128. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  129. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  130. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -842
  131. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -854
  132. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  133. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -12
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -61
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -139
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -206
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -128
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +0 -8
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -67
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -151
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -12
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -173
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +0 -8
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -163
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
  199. /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel → desktop/components/Calendar}/types.js +0 -0
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.CurrentTimeIndicator = void 0;
11
+ var jsx_runtime_1 = require("react/jsx-runtime");
12
+ var react_1 = require("react");
13
+ var react_i18next_1 = require("react-i18next");
14
+ var styled_components_1 = __importDefault(require("styled-components"));
15
+ var constants_1 = require("./constants");
16
+ var CurrentTimeIndicator = function (_a) {
17
+ var show = _a.show, _b = _a.leftOffset, leftOffset = _b === void 0 ? '80px' : _b;
18
+ var i18n = (0, react_i18next_1.useTranslation)().i18n;
19
+ var getCurrentTime = (0, react_1.useCallback)(function () {
20
+ var now = new Date();
21
+ var locale = (0, constants_1.getLocaleFromLang)(i18n.language);
22
+ var timeInTimezone = new Date(now.toLocaleString(locale));
23
+ return {
24
+ hour: timeInTimezone.getHours(),
25
+ minute: timeInTimezone.getMinutes(),
26
+ percentage: ((timeInTimezone.getHours() * 60 + timeInTimezone.getMinutes()) / (24 * 60)) * 100
27
+ };
28
+ }, [i18n.language]);
29
+ var _c = (0, react_1.useState)(getCurrentTime()), currentTime = _c[0], setCurrentTime = _c[1];
30
+ (0, react_1.useEffect)(function () {
31
+ var updateTime = function () {
32
+ setCurrentTime(getCurrentTime());
33
+ };
34
+ updateTime();
35
+ var interval = setInterval(updateTime, 60000);
36
+ return function () { return clearInterval(interval); };
37
+ }, [getCurrentTime]);
38
+ return ((0, jsx_runtime_1.jsx)(S_CurrentTimeIndicator, { "$show": show, "$top": "".concat(currentTime.percentage, "%"), "$leftOffset": leftOffset }));
39
+ };
40
+ exports.CurrentTimeIndicator = CurrentTimeIndicator;
41
+ var S_CurrentTimeIndicator = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: ", ";\n display: ", ";\n height: 2px;\n left: ", ";\n position: absolute;\n right: 0;\n top: ", ";\n z-index: 10;\n\n &::before {\n background: ", ";\n border-radius: 50%;\n content: '';\n height: 8px;\n left: -4px;\n position: absolute;\n top: -3px;\n width: 8px;\n }\n"], ["\n background: ", ";\n display: ", ";\n height: 2px;\n left: ", ";\n position: absolute;\n right: 0;\n top: ", ";\n z-index: 10;\n\n &::before {\n background: ", ";\n border-radius: 50%;\n content: '';\n height: 8px;\n left: -4px;\n position: absolute;\n top: -3px;\n width: 8px;\n }\n"])), function (_a) {
42
+ var theme = _a.theme;
43
+ return theme.ui_cpnt_sheet_border_07;
44
+ }, function (props) { return (props.$show ? 'block' : 'none'); }, function (props) { return props.$leftOffset; }, function (props) { return props.$top; }, function (_a) {
45
+ var theme = _a.theme;
46
+ return theme.ui_cpnt_sheet_border_07;
47
+ });
48
+ var templateObject_1;
@@ -0,0 +1,17 @@
1
+ import type { Schedule, displayAllDayScheduleMode } from './types';
2
+ import type { FC, MouseEvent, DragEvent } from 'react';
3
+ interface DailyViewProps {
4
+ selectedDate: Date;
5
+ displayAllDayScheduleMode?: displayAllDayScheduleMode;
6
+ getSchedulesForDate: (date: Date) => Schedule[];
7
+ isDragOverDate: Date | null;
8
+ handleDateDragOver: (date: Date, e: DragEvent) => void;
9
+ handleDateDragLeave: () => void;
10
+ handleDateDrop: (date: Date, e: DragEvent) => void;
11
+ handleDateClick: (date: Date, e: MouseEvent) => void;
12
+ renderScheduleItem: (schedule: Schedule, extraProps?: any) => React.ReactNode;
13
+ handleScheduleDragStart: (schedule: Schedule, e: DragEvent) => void;
14
+ handleScheduleDragEnd: () => void;
15
+ }
16
+ export declare const DailyView: FC<DailyViewProps>;
17
+ export {};
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.DailyView = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ var react_i18next_1 = require("react-i18next");
24
+ var styled_components_1 = __importDefault(require("styled-components"));
25
+ var TextLabel_1 = require("../TextLabel");
26
+ var AllDaySchedulesSection_1 = require("./AllDaySchedulesSection");
27
+ var CurrentTimeIndicator_1 = require("./CurrentTimeIndicator");
28
+ var TimeBasedScheduleItem_1 = require("./TimeBasedScheduleItem");
29
+ var timeFormatUtils_1 = require("./timeFormatUtils");
30
+ var DailyView = function (_a) {
31
+ var selectedDate = _a.selectedDate, _b = _a.displayAllDayScheduleMode, displayAllDayScheduleMode = _b === void 0 ? 'use' : _b, getSchedulesForDate = _a.getSchedulesForDate, isDragOverDate = _a.isDragOverDate, handleDateDragOver = _a.handleDateDragOver, handleDateDragLeave = _a.handleDateDragLeave, handleDateDrop = _a.handleDateDrop, handleDateClick = _a.handleDateClick, renderScheduleItem = _a.renderScheduleItem, handleScheduleDragStart = _a.handleScheduleDragStart, handleScheduleDragEnd = _a.handleScheduleDragEnd;
32
+ var i18n = (0, react_i18next_1.useTranslation)().i18n;
33
+ var currentDateForDaily = [selectedDate][0];
34
+ var HOURS_IN_DAY = Array.from({ length: 24 }, function (_, i) { return i; });
35
+ var getTimeSlotDate = function (baseDate, hour) {
36
+ var date = new Date(baseDate);
37
+ date.setHours(hour, 0, 0, 0);
38
+ return date;
39
+ };
40
+ return ((0, jsx_runtime_1.jsxs)(S_DailyContainer, { children: [(0, jsx_runtime_1.jsx)(AllDaySchedulesSection_1.AllDaySchedulesSection, { calendarDates: [selectedDate], displayAllDayScheduleMode: displayAllDayScheduleMode, getSchedulesForDate: getSchedulesForDate, renderScheduleItem: renderScheduleItem, handleDateDragOver: handleDateDragOver, handleDateDragLeave: handleDateDragLeave, handleDateDrop: handleDateDrop }), (0, jsx_runtime_1.jsxs)(S_DailyTimeGrid, { children: [(0, jsx_runtime_1.jsx)(CurrentTimeIndicator_1.CurrentTimeIndicator, { show: true, leftOffset: "80px" }), HOURS_IN_DAY.map(function (hour) {
41
+ var timeSlotDate = getTimeSlotDate(currentDateForDaily, hour);
42
+ var isDragOver = (isDragOverDate === null || isDragOverDate === void 0 ? void 0 : isDragOverDate.getTime()) === timeSlotDate.getTime();
43
+ return ((0, jsx_runtime_1.jsxs)(S_DailyTimeRow, { children: [(0, jsx_runtime_1.jsx)(S_DailyTimeLabel, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "caption2Bold", text: (0, timeFormatUtils_1.formatHour)(hour, i18n.language), colorTheme: "sysTextTertiary" }) }), (0, jsx_runtime_1.jsx)(S_DailyTimeSlot, __assign({ "$isDragOver": isDragOver, onClick: function () { return handleDateClick(timeSlotDate, {}); }, onDragOver: function (e) { return handleDateDragOver(timeSlotDate, e); }, onDragLeave: handleDateDragLeave, onDrop: function (e) { return handleDateDrop(timeSlotDate, e); } }, { children: hour === 0 && ((0, jsx_runtime_1.jsx)(TimeBasedScheduleItem_1.TimeBasedScheduleItem, { schedules: getSchedulesForDate(currentDateForDaily), handleScheduleDragStart: handleScheduleDragStart, handleScheduleDragEnd: handleScheduleDragEnd })) }))] }, hour));
44
+ })] })] }));
45
+ };
46
+ exports.DailyView = DailyView;
47
+ var S_DailyContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n height: 100%;\n"])));
48
+ var S_DailyTimeGrid = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 1;\n overflow-y: auto;\n position: relative;\n"], ["\n flex: 1;\n overflow-y: auto;\n position: relative;\n"])));
49
+ var S_DailyTimeRow = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n min-height: 60px;\n"], ["\n display: flex;\n min-height: 60px;\n"])));
50
+ var S_DailyTimeLabel = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n border-bottom: 1px solid ", ";\n border-right: 1px solid ", ";\n display: flex;\n justify-content: center;\n min-width: 80px;\n padding: 8px;\n"], ["\n align-items: center;\n border-bottom: 1px solid ", ";\n border-right: 1px solid ", ";\n display: flex;\n justify-content: center;\n min-width: 80px;\n padding: 8px;\n"])), function (_a) {
51
+ var theme = _a.theme;
52
+ return theme.ui_cpnt_divider;
53
+ }, function (_a) {
54
+ var theme = _a.theme;
55
+ return theme.ui_cpnt_divider;
56
+ });
57
+ var S_DailyTimeSlot = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: ", ";\n border-bottom: 1px solid ", ";\n cursor: pointer;\n flex: 1;\n min-width: 0;\n overflow: visible;\n padding: 4px;\n position: relative;\n\n &:hover {\n background: ", ";\n }\n"], ["\n background: ", ";\n border-bottom: 1px solid ", ";\n cursor: pointer;\n flex: 1;\n min-width: 0;\n overflow: visible;\n padding: 4px;\n position: relative;\n\n &:hover {\n background: ", ";\n }\n"])), function (props) { return (props.$isDragOver ? props.theme.ui_72 : 'transparent'); }, function (_a) {
58
+ var theme = _a.theme;
59
+ return theme.ui_cpnt_divider;
60
+ }, function (_a) {
61
+ var theme = _a.theme;
62
+ return theme.ui_72;
63
+ });
64
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
@@ -0,0 +1,27 @@
1
+ import type { Schedule } from './types';
2
+ import type React from 'react';
3
+ interface MonthlyViewProps {
4
+ getDayTextByDate: (date: Date) => string;
5
+ startOfWeek: 'sunday' | 'monday';
6
+ selectedDate: Date;
7
+ selectedDates: Date[];
8
+ dragStartDate: Date | null;
9
+ selectedSchedules: Schedule[];
10
+ dragEndDate: Date | null;
11
+ isDragOverDate: Date | null;
12
+ schedules: Schedule[];
13
+ getSchedulesForDate: (date: Date) => Schedule[];
14
+ isToday: (date: Date) => boolean;
15
+ isPastDate: (date: Date) => boolean;
16
+ handleDateClick: (date: Date, e: React.MouseEvent) => void;
17
+ handleScheduleClick?: (schedule: Schedule, e?: React.MouseEvent) => void;
18
+ handleMouseUp: () => void;
19
+ handleDateDragOver: (date: Date, e: React.DragEvent) => void;
20
+ handleDateDragLeave: () => void;
21
+ handleDateDrop: (date: Date, e: React.DragEvent) => void;
22
+ renderScheduleItem: (schedule: Schedule, extraProps?: any) => React.ReactNode;
23
+ handleScheduleDragStart?: (schedule: Schedule, e: React.DragEvent) => void;
24
+ handleScheduleDragEnd?: () => void;
25
+ }
26
+ export declare const MonthlyView: React.FC<MonthlyViewProps>;
27
+ export {};
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.MonthlyView = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ // import { useMemo } from 'react';
24
+ var react_1 = require("react");
25
+ var react_i18next_1 = require("react-i18next");
26
+ var dateHelper_1 = require("../../../common/utils/dateHelper");
27
+ var styled_components_1 = __importDefault(require("styled-components"));
28
+ var TextLabel_1 = require("../TextLabel");
29
+ var calendarUtils_1 = require("./calendarUtils");
30
+ var MultiWeekSchedulesLayer_1 = require("./MultiWeekSchedulesLayer");
31
+ var MonthlyView = function (_a) {
32
+ var getDayTextByDate = _a.getDayTextByDate, startOfWeek = _a.startOfWeek, selectedDate = _a.selectedDate, selectedDates = _a.selectedDates, selectedSchedules = _a.selectedSchedules, dragStartDate = _a.dragStartDate, dragEndDate = _a.dragEndDate, isDragOverDate = _a.isDragOverDate, schedules = _a.schedules, getSchedulesForDate = _a.getSchedulesForDate, isToday = _a.isToday, isPastDate = _a.isPastDate, handleDateClick = _a.handleDateClick, handleScheduleClick = _a.handleScheduleClick, handleMouseUp = _a.handleMouseUp, handleDateDragOver = _a.handleDateDragOver, handleDateDragLeave = _a.handleDateDragLeave, handleDateDrop = _a.handleDateDrop, renderScheduleItem = _a.renderScheduleItem, handleScheduleDragStart = _a.handleScheduleDragStart, handleScheduleDragEnd = _a.handleScheduleDragEnd;
33
+ var t = (0, react_i18next_1.useTranslation)().t;
34
+ var MAX_SCHEDULES_PER_DAY = 3;
35
+ var days = (function () {
36
+ var monthDate = new Date(selectedDate.getFullYear(), selectedDate.getMonth(), 1);
37
+ return dateHelper_1.DateHelper.getCalendarDatesForCalendar(monthDate, startOfWeek);
38
+ })();
39
+ // 다중 이벤트 계산
40
+ var getMultiWeekSchedules = (0, react_1.useMemo)(function () {
41
+ var multiWeekSchedules = [];
42
+ var allSchedules = new Map();
43
+ var processedScheduleIds = new Set();
44
+ // 캘린더에 표시되는 전체 날짜 범위 계산
45
+ var calendarStart = new Date(days[0]);
46
+ var calendarEnd = new Date(days[days.length - 1]);
47
+ calendarStart.setHours(0, 0, 0, 0);
48
+ calendarEnd.setHours(0, 0, 0, 0);
49
+ days.forEach(function (date) {
50
+ var schedulesForDate = getSchedulesForDate(date);
51
+ schedulesForDate.forEach(function (schedule) {
52
+ // 이미 처리된 이벤트는 건너뛰기
53
+ if (processedScheduleIds.has(schedule.id)) {
54
+ return;
55
+ }
56
+ var scheduleStart = new Date(schedule.startDate);
57
+ var scheduleEnd = new Date(schedule.endDate);
58
+ scheduleStart.setHours(0, 0, 0, 0);
59
+ scheduleEnd.setHours(0, 0, 0, 0);
60
+ // All day 이벤트이거나 다중 날짜 이벤트인지 확인
61
+ var isAllDay = (0, calendarUtils_1.calculateIsAllDay)(new Date(schedule.startDate), new Date(schedule.endDate));
62
+ var isMultiDay = scheduleStart.getTime() !== scheduleEnd.getTime();
63
+ if (isAllDay || isMultiDay) {
64
+ // 이벤트가 현재 캘린더 범위와 교차하는지 확인
65
+ var isIntersecting = !(scheduleEnd.getTime() < calendarStart.getTime() ||
66
+ scheduleStart.getTime() > calendarEnd.getTime());
67
+ if (isIntersecting) {
68
+ allSchedules.set(schedule.id, schedule);
69
+ processedScheduleIds.add(schedule.id);
70
+ }
71
+ }
72
+ });
73
+ });
74
+ allSchedules.forEach(function (schedule) {
75
+ var scheduleStart = new Date(schedule.startDate);
76
+ var scheduleEnd = new Date(schedule.endDate);
77
+ scheduleStart.setHours(0, 0, 0, 0);
78
+ scheduleEnd.setHours(0, 0, 0, 0);
79
+ // 여러 날짜에 걸친 이벤트인지 확인
80
+ if (scheduleStart.getTime() !== scheduleEnd.getTime()) {
81
+ // 캘린더 범위 내에서 표시할 실제 시작/끝 날짜 계산
82
+ var displayStart_1 = new Date(Math.max(scheduleStart.getTime(), calendarStart.getTime()));
83
+ var displayEnd_1 = new Date(Math.min(scheduleEnd.getTime(), calendarEnd.getTime()));
84
+ // 캘린더 그리드에서 시작과 끝 위치 찾기
85
+ var startIndex = days.findIndex(function (date) {
86
+ var d = new Date(date);
87
+ d.setHours(0, 0, 0, 0);
88
+ return d.getTime() === displayStart_1.getTime();
89
+ });
90
+ var endIndex = days.findIndex(function (date) {
91
+ var d = new Date(date);
92
+ d.setHours(0, 0, 0, 0);
93
+ return d.getTime() === displayEnd_1.getTime();
94
+ });
95
+ if (startIndex !== -1 && endIndex !== -1) {
96
+ var startRow = Math.floor(startIndex / 7) + 2;
97
+ var endRow = Math.floor(endIndex / 7) + 2;
98
+ var _loop_1 = function (row) {
99
+ var isFirstRow = row === startRow;
100
+ var isLastRow = row === endRow;
101
+ // 각 행에서의 시작/끝 컬럼 계산
102
+ var segmentStartCol = void 0;
103
+ var segmentEndCol = void 0;
104
+ if (isFirstRow && isLastRow) {
105
+ // 같은 행 내의 이벤트
106
+ segmentStartCol = (startIndex % 7) + 1;
107
+ segmentEndCol = (endIndex % 7) + 1;
108
+ }
109
+ else if (isFirstRow) {
110
+ // 첫 번째 행: 시작 컬럼부터 주 끝까지
111
+ segmentStartCol = (startIndex % 7) + 1;
112
+ segmentEndCol = 7;
113
+ }
114
+ else if (isLastRow) {
115
+ // 마지막 행: 주 시작부터 끝 컬럼까지
116
+ segmentStartCol = 1;
117
+ segmentEndCol = (endIndex % 7) + 1;
118
+ }
119
+ else {
120
+ // 중간 행: 주 전체
121
+ segmentStartCol = 1;
122
+ segmentEndCol = 7;
123
+ }
124
+ // 같은 행의 기존 이벤트 개수 계산
125
+ var existingSchedulesInRow = multiWeekSchedules.filter(function (e) { return e.startRow === row; }).length;
126
+ multiWeekSchedules.push({
127
+ schedule: schedule,
128
+ startRow: row,
129
+ endRow: row,
130
+ startCol: segmentStartCol,
131
+ endCol: segmentEndCol,
132
+ scheduleIndex: existingSchedulesInRow
133
+ });
134
+ };
135
+ // 여러 주에 걸친 경우 각 주별로 분할해서 처리
136
+ for (var row = startRow; row <= endRow; row += 1) {
137
+ _loop_1(row);
138
+ }
139
+ }
140
+ }
141
+ });
142
+ return multiWeekSchedules;
143
+ }, [days, getSchedulesForDate, schedules]);
144
+ // 각 날짜별 다중 날짜 이벤트 개수 계산
145
+ var getMultiWeekSchedulesCountForDate = (0, react_1.useMemo)(function () {
146
+ var countMap = new Map();
147
+ days.forEach(function (date, index) {
148
+ var dateKey = date.toDateString();
149
+ var row = Math.floor(index / 7) + 2; // 헤더 고려
150
+ var col = (index % 7) + 1;
151
+ // 해당 날짜에 영향을 주는 다중 주 이벤트 개수 계산
152
+ var affectingSchedules = getMultiWeekSchedules.filter(function (schedule) {
153
+ var startRow = schedule.startRow, endRow = schedule.endRow, startCol = schedule.startCol, endCol = schedule.endCol;
154
+ // 같은 행에 있고, 컬럼 범위에 포함되는 경우
155
+ if (row >= startRow && row <= endRow) {
156
+ if (startRow === endRow) {
157
+ // 같은 행 내에서 컬럼 범위 체크
158
+ return col >= startCol && col <= endCol;
159
+ }
160
+ // 여러 행에 걸친 경우
161
+ if (row === startRow) {
162
+ return col >= startCol;
163
+ }
164
+ if (row === endRow) {
165
+ return col <= endCol;
166
+ }
167
+ return true; // 중간 행
168
+ }
169
+ return false;
170
+ });
171
+ countMap.set(dateKey, affectingSchedules.length);
172
+ });
173
+ return countMap;
174
+ }, [days, getMultiWeekSchedules]);
175
+ // 시작 요일에 따라 정렬된 요일 헤더 생성
176
+ var orderedDayTexts = (function () {
177
+ var weekDates = [];
178
+ var today = new Date();
179
+ var startIndex = startOfWeek === 'monday' ? 1 : 0;
180
+ var firstDayOfWeek = new Date(today);
181
+ firstDayOfWeek.setDate(today.getDate() - ((today.getDay() - startIndex + 7) % 7));
182
+ for (var i = 0; i < 7; i += 1) {
183
+ var date = new Date(firstDayOfWeek);
184
+ date.setDate(firstDayOfWeek.getDate() + i);
185
+ weekDates.push(getDayTextByDate(date));
186
+ }
187
+ return weekDates;
188
+ })();
189
+ return ((0, jsx_runtime_1.jsxs)(S_MonthlyGrid, __assign({ "data-calendar-grid": true }, { children: [orderedDayTexts.map(function (day, index) { return ((0, jsx_runtime_1.jsx)(S_DayHeader, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "caption2Bold", textAlign: "center", colorTheme: "sysTextSecondary", text: day }) }, "".concat(day, "-").concat(index))); }), days.map(function (date, index) {
190
+ var daySchedules = getSchedulesForDate(date);
191
+ var multiWeekSchedulesCount = getMultiWeekSchedulesCountForDate.get(date.toDateString()) || 0;
192
+ // 다중 날짜 이벤트를 제외한 이벤트들 (종일 이벤트 + 단일 날짜 시간 이벤트)
193
+ var visibleSchedules = daySchedules.filter(function (schedule) {
194
+ var scheduleStart = new Date(schedule.startDate);
195
+ var scheduleEnd = new Date(schedule.endDate);
196
+ var checkDate = new Date(date);
197
+ // 날짜 비교를 위해 시간을 00:00:00으로 설정
198
+ scheduleStart.setHours(0, 0, 0, 0);
199
+ scheduleEnd.setHours(0, 0, 0, 0);
200
+ checkDate.setHours(0, 0, 0, 0);
201
+ // 다중 날짜 이벤트가 아닌 경우만 포함 (단일 날짜 종일/시간 이벤트)
202
+ if (scheduleStart.getTime() !== scheduleEnd.getTime()) {
203
+ return false; // 다중 날짜 이벤트 제외
204
+ }
205
+ // 해당 날짜의 이벤트인 경우만 포함
206
+ return scheduleStart.getTime() === checkDate.getTime();
207
+ });
208
+ // 이벤트를 시작 시간순으로 정렬
209
+ visibleSchedules.sort(function (a, b) {
210
+ var timeA = new Date(a.startDate).getTime();
211
+ var timeB = new Date(b.startDate).getTime();
212
+ return timeA - timeB;
213
+ });
214
+ // 총 이벤트 개수 (다중 날짜 이벤트 + 단일 날짜 이벤트)
215
+ var totalEventsCount = multiWeekSchedulesCount + visibleSchedules.length;
216
+ // 표시 가능한 최대 이벤트 개수 (다중 날짜 이벤트 공간 고려)
217
+ var maxDisplayableEvents = Math.max(0, MAX_SCHEDULES_PER_DAY - multiWeekSchedulesCount);
218
+ var displayedSchedules = visibleSchedules.slice(0, maxDisplayableEvents);
219
+ var hiddenSchedulesCount = visibleSchedules.length - displayedSchedules.length;
220
+ return ((0, jsx_runtime_1.jsxs)(S_CalendarCell, __assign({ "$isCurrentMonth": date.getMonth() === selectedDate.getMonth(), "$isToday": isToday(date), "$isSelected": selectedDates.some(function (selectedDate) { return selectedDate.toDateString() === date.toDateString(); }) ||
221
+ !!(dragStartDate &&
222
+ dragEndDate &&
223
+ date.getTime() >= Math.min(dragStartDate.getTime(), dragEndDate.getTime()) &&
224
+ date.getTime() <= Math.max(dragStartDate.getTime(), dragEndDate.getTime())), "$isPast": isPastDate(date), "$isDragOver": (isDragOverDate === null || isDragOverDate === void 0 ? void 0 : isDragOverDate.toDateString()) === date.toDateString(), onClick: function (e) { return handleDateClick(date, e); }, onMouseUp: handleMouseUp, onDragOver: function (e) { return handleDateDragOver(date, e); }, onDragLeave: handleDateDragLeave, onDrop: function (e) { return handleDateDrop(date, e); } }, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: isToday(date) ? 'caption2Bold' : 'caption2Regular', textAlign: "center", colorTheme: isToday(date) ? 'sysTextBrandPrimary' : 'sysTextSecondary', text: date.getDate().toString() }), (0, jsx_runtime_1.jsxs)(S_SchedulesContainer, __assign({ "$multiWeekSchedulesCount": multiWeekSchedulesCount }, { children: [displayedSchedules.map(function (schedule) {
225
+ return renderScheduleItem(schedule, {
226
+ onDragStart: function (e) { return handleScheduleDragStart === null || handleScheduleDragStart === void 0 ? void 0 : handleScheduleDragStart(schedule, e); },
227
+ onDragEnd: function () { return handleScheduleDragEnd === null || handleScheduleDragEnd === void 0 ? void 0 : handleScheduleDragEnd(); }
228
+ });
229
+ }), totalEventsCount >= 3 && hiddenSchedulesCount > 0 && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: "".concat(hiddenSchedulesCount, " ").concat(t('calendar_more_schedules')), styleTheme: "caption2Regular" }))] }))] }), index));
230
+ }), (0, jsx_runtime_1.jsx)(MultiWeekSchedulesLayer_1.MultiWeekSchedulesLayer, { multiWeekSchedules: getMultiWeekSchedules, selectedSchedules: selectedSchedules, handleScheduleClick: handleScheduleClick, handleScheduleDragStart: handleScheduleDragStart, handleScheduleDragEnd: handleScheduleDragEnd })] })));
231
+ };
232
+ exports.MonthlyView = MonthlyView;
233
+ var S_MonthlyGrid = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n gap: 0;\n grid-template-columns: repeat(7, 1fr);\n grid-template-rows: auto repeat(6, 1fr); /* \uD5E4\uB354\uB294 auto, \uB098\uBA38\uC9C0 6\uC8FC\uB294 \uB3D9\uC77C\uD55C \uB192\uC774 */\n height: 100%; /* \uC140 \uAC04\uACA9\uC744 \uC81C\uAC70\uD558\uC5EC \uC774\uBCA4\uD2B8\uAC00 \uC5F0\uACB0\uB418\uC5B4 \uBCF4\uC774\uB3C4\uB85D */\n overflow-x: hidden; /* \uADF8\uB9AC\uB4DC \uACBD\uACC4\uB97C \uB118\uB294 \uC694\uC18C\uB97C \uC228\uAE40 */\n position: relative;\n"], ["\n display: grid;\n gap: 0;\n grid-template-columns: repeat(7, 1fr);\n grid-template-rows: auto repeat(6, 1fr); /* \uD5E4\uB354\uB294 auto, \uB098\uBA38\uC9C0 6\uC8FC\uB294 \uB3D9\uC77C\uD55C \uB192\uC774 */\n height: 100%; /* \uC140 \uAC04\uACA9\uC744 \uC81C\uAC70\uD558\uC5EC \uC774\uBCA4\uD2B8\uAC00 \uC5F0\uACB0\uB418\uC5B4 \uBCF4\uC774\uB3C4\uB85D */\n overflow-x: hidden; /* \uADF8\uB9AC\uB4DC \uACBD\uACC4\uB97C \uB118\uB294 \uC694\uC18C\uB97C \uC228\uAE40 */\n position: relative;\n"])));
234
+ var S_DayHeader = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-bottom: 1px solid ", ";\n padding: 12px 8px;\n text-align: center;\n"], ["\n border-bottom: 1px solid ", ";\n padding: 12px 8px;\n text-align: center;\n"])), function (_a) {
235
+ var theme = _a.theme;
236
+ return theme.ui_cpnt_divider;
237
+ });
238
+ var S_CalendarCell = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n border-right: 1px solid ", ";\n cursor: pointer;\n min-height: 120px;\n min-width: 0;\n overflow: hidden;\n padding: 4px;\n position: relative;\n transition: background-color 0.2s;\n\n &:hover {\n background-color: ", ";\n }\n\n &:nth-child(7n + 1) {\n border-left: 1px solid ", ";\n }\n\n &:nth-child(-n + 7) {\n border-top: 1px solid ", ";\n }\n"], ["\n background-color: ", ";\n border-bottom: 1px solid ", ";\n border-right: 1px solid ", ";\n cursor: pointer;\n min-height: 120px;\n min-width: 0;\n overflow: hidden;\n padding: 4px;\n position: relative;\n transition: background-color 0.2s;\n\n &:hover {\n background-color: ", ";\n }\n\n &:nth-child(7n + 1) {\n border-left: 1px solid ", ";\n }\n\n &:nth-child(-n + 7) {\n border-top: 1px solid ", ";\n }\n"])), function (_a) {
239
+ var $isSelected = _a.$isSelected, theme = _a.theme;
240
+ if ($isSelected)
241
+ return theme.ui_cpnt_sheet_base;
242
+ return 'transparent';
243
+ }, function (_a) {
244
+ var theme = _a.theme;
245
+ return theme.ui_cpnt_divider;
246
+ }, function (_a) {
247
+ var theme = _a.theme;
248
+ return theme.ui_cpnt_divider;
249
+ }, function (_a) {
250
+ var theme = _a.theme;
251
+ return theme.ui_cpnt_sheet_base;
252
+ }, function (_a) {
253
+ var theme = _a.theme;
254
+ return theme.ui_cpnt_divider;
255
+ }, function (_a) {
256
+ var theme = _a.theme;
257
+ return theme.ui_cpnt_divider;
258
+ });
259
+ var S_SchedulesContainer = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex: 1;\n flex-direction: column;\n margin-top: ", "px;\n max-width: 100%;\n overflow: hidden;\n position: relative;\n"], ["\n display: flex;\n flex: 1;\n flex-direction: column;\n margin-top: ", "px;\n max-width: 100%;\n overflow: hidden;\n position: relative;\n"])), function (_a) {
260
+ var _b = _a.$multiWeekSchedulesCount, $multiWeekSchedulesCount = _b === void 0 ? 0 : _b;
261
+ return $multiWeekSchedulesCount * 28;
262
+ });
263
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -0,0 +1,19 @@
1
+ import type { Schedule } from './types';
2
+ import type React from 'react';
3
+ interface MultiWeekScheduleInfo {
4
+ schedule: Schedule;
5
+ startRow: number;
6
+ endRow: number;
7
+ startCol: number;
8
+ endCol: number;
9
+ scheduleIndex: number;
10
+ }
11
+ interface MultiWeekSchedulesLayerProps {
12
+ multiWeekSchedules: MultiWeekScheduleInfo[];
13
+ selectedSchedules: Schedule[];
14
+ handleScheduleClick?: (schedule: Schedule, e?: React.MouseEvent) => void;
15
+ handleScheduleDragStart?: (schedule: Schedule, e: React.DragEvent) => void;
16
+ handleScheduleDragEnd?: () => void;
17
+ }
18
+ export declare const MultiWeekSchedulesLayer: React.FC<MultiWeekSchedulesLayerProps>;
19
+ export {};
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.MultiWeekSchedulesLayer = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ var styled_components_1 = __importDefault(require("styled-components"));
24
+ var TextLabel_1 = require("../TextLabel");
25
+ var ScheduleItem_1 = require("./ScheduleItem");
26
+ var MultiWeekSchedulesLayer = function (_a) {
27
+ var multiWeekSchedules = _a.multiWeekSchedules, selectedSchedules = _a.selectedSchedules, handleScheduleClick = _a.handleScheduleClick, handleScheduleDragStart = _a.handleScheduleDragStart, handleScheduleDragEnd = _a.handleScheduleDragEnd;
28
+ return ((0, jsx_runtime_1.jsx)(S_Layer, { children: multiWeekSchedules.map(function (_a) {
29
+ var schedule = _a.schedule, startRow = _a.startRow, endRow = _a.endRow, startCol = _a.startCol, endCol = _a.endCol, scheduleIndex = _a.scheduleIndex;
30
+ var isSameRow = startRow === endRow;
31
+ var isSelected = selectedSchedules.some(function (s) { return s.id === schedule.id; });
32
+ var uniqueKey = "multi-".concat(schedule.id, "-").concat(startRow, "-").concat(startCol, "-").concat(endCol);
33
+ if (isSameRow) {
34
+ return ((0, jsx_runtime_1.jsxs)(S_MultiWeekSchedule, __assign({ "$color": schedule.color, "$startRow": startRow, "$endRow": endRow, "$startCol": startCol, "$endCol": endCol, "$scheduleIndex": scheduleIndex, "$isSelected": isSelected, draggable: true, onDragStart: function (e) {
35
+ handleScheduleDragStart === null || handleScheduleDragStart === void 0 ? void 0 : handleScheduleDragStart(schedule, e);
36
+ }, onDragEnd: handleScheduleDragEnd, onClick: function (e) {
37
+ e.stopPropagation();
38
+ handleScheduleClick === null || handleScheduleClick === void 0 ? void 0 : handleScheduleClick(schedule, e);
39
+ } }, { children: [(0, jsx_runtime_1.jsx)(ScheduleItem_1.S_Dot, { "$isSelected": isSelected }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "caption2Regular", text: schedule.title, ellipsisMode: "use", colorTheme: isSelected ? 'sysTextWhite' : undefined })] }), uniqueKey));
40
+ }
41
+ // 여러 행에 걸친 이벤트 처리
42
+ var segments = [];
43
+ for (var row = startRow; row <= endRow; row += 1) {
44
+ var isFirstRow = row === startRow;
45
+ var isLastRow = row === endRow;
46
+ var segmentStartCol = isFirstRow ? startCol : 1;
47
+ var segmentEndCol = isLastRow ? endCol : 7;
48
+ segments.push((0, jsx_runtime_1.jsxs)(S_MultiWeekSchedule, __assign({ "$color": schedule.color, "$startRow": row, "$endRow": row, "$startCol": segmentStartCol, "$endCol": segmentEndCol, "$scheduleIndex": scheduleIndex, "$isSelected": isSelected, draggable: true, onDragStart: function (e) {
49
+ handleScheduleDragStart === null || handleScheduleDragStart === void 0 ? void 0 : handleScheduleDragStart(schedule, e);
50
+ }, onDragEnd: handleScheduleDragEnd, onClick: function (e) {
51
+ e.stopPropagation();
52
+ handleScheduleClick === null || handleScheduleClick === void 0 ? void 0 : handleScheduleClick(schedule, e);
53
+ } }, { children: [(0, jsx_runtime_1.jsx)(ScheduleItem_1.S_Dot, { "$isSelected": isSelected }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "caption2Regular", text: schedule.title, ellipsisMode: "use", colorTheme: isSelected ? 'sysTextWhite' : undefined })] }), "".concat(uniqueKey, "-row-").concat(row)));
54
+ }
55
+ return segments;
56
+ }) }));
57
+ };
58
+ exports.MultiWeekSchedulesLayer = MultiWeekSchedulesLayer;
59
+ var S_Layer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n left: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%; /* \uAE30\uBCF8\uC801\uC73C\uB85C \uC774\uBCA4\uD2B8\uB97C \uB9C9\uACE0, \uB0B4\uBD80 \uC2A4\uCF00\uC904\uC5D0\uC11C\uB9CC \uC774\uBCA4\uD2B8 \uD5C8\uC6A9 */\n z-index: 10;\n\n & > * {\n pointer-events: auto;\n }\n"], ["\n height: 100%;\n left: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%; /* \uAE30\uBCF8\uC801\uC73C\uB85C \uC774\uBCA4\uD2B8\uB97C \uB9C9\uACE0, \uB0B4\uBD80 \uC2A4\uCF00\uC904\uC5D0\uC11C\uB9CC \uC774\uBCA4\uD2B8 \uD5C8\uC6A9 */\n z-index: 10;\n\n & > * {\n pointer-events: auto;\n }\n"])));
60
+ var S_MultiWeekSchedule = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-radius: 4px;\n color: white;\n cursor: pointer;\n display: flex;\n font-size: 12px;\n height: 20px;\n left: ", ";\n padding: 2px 6px;\n position: absolute;\n top: ", ";\n user-select: none;\n width: ", ";\n z-index: 10;\n\n &:active {\n background: ", ";\n cursor: grabbing;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border-radius: 4px;\n color: white;\n cursor: pointer;\n display: flex;\n font-size: 12px;\n height: 20px;\n left: ", ";\n padding: 2px 6px;\n position: absolute;\n top: ", ";\n user-select: none;\n width: ", ";\n z-index: 10;\n\n &:active {\n background: ", ";\n cursor: grabbing;\n }\n"])), function (props) {
61
+ return props.$isSelected ? props.theme.ui_cpnt_sheet_base_06 : props.theme.ui_cpnt_sheet_base;
62
+ }, function (props) { return "calc((".concat(props.$startCol - 1, ") * (100% / 7) + 4px)"); }, function (props) {
63
+ var rowNumber = props.$startRow - 2;
64
+ var dateMargin = 35;
65
+ var scheduleSpacing = (props.$scheduleIndex || 0) * 26;
66
+ var weekStartPositions = [36, 164, 294, 422, 550];
67
+ var baseTop = weekStartPositions[rowNumber] || weekStartPositions[0];
68
+ return "calc(".concat(baseTop, "px + ").concat(dateMargin, "px + ").concat(scheduleSpacing, "px)");
69
+ }, function (props) { return "calc((".concat(props.$endCol - props.$startCol + 1, ") * (100% / 7) - 21px)"); }, function (_a) {
70
+ var theme = _a.theme;
71
+ return theme.ui_cpnt_sheet_base_06;
72
+ });
73
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,16 @@
1
+ import type { Schedule } from './types';
2
+ import type React from 'react';
3
+ interface ScheduleItemProps {
4
+ schedule: Schedule;
5
+ extraProps?: any;
6
+ onDragStart: (schedule: Schedule, e: React.DragEvent) => void;
7
+ onDragEnd: () => void;
8
+ onClick?: (schedule: Schedule, e?: React.MouseEvent) => void;
9
+ isSelected?: boolean;
10
+ isAllDay?: boolean;
11
+ }
12
+ export declare const ScheduleItem: React.FC<ScheduleItemProps>;
13
+ export declare const S_Dot: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
14
+ $isSelected?: boolean | undefined;
15
+ }, never>;
16
+ export {};
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.S_Dot = exports.ScheduleItem = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ var styled_components_1 = __importDefault(require("styled-components"));
24
+ var TextLabel_1 = require("../TextLabel");
25
+ var ScheduleItem = function (_a) {
26
+ var schedule = _a.schedule, _b = _a.extraProps, extraProps = _b === void 0 ? {} : _b, onDragStart = _a.onDragStart, onDragEnd = _a.onDragEnd, onClick = _a.onClick, _c = _a.isSelected, isSelected = _c === void 0 ? false : _c, _d = _a.isAllDay, isAllDay = _d === void 0 ? false : _d;
27
+ return ((0, jsx_runtime_1.jsxs)(S_ScheduleItem, __assign({ "$color": schedule.color, "$position": "single", "$isSelected": isSelected, "$isAllday": isAllDay, draggable: true, onDragStart: function (e) { return onDragStart(schedule, e); }, onDragEnd: onDragEnd, onClick: function (e) {
28
+ e.stopPropagation();
29
+ onClick === null || onClick === void 0 ? void 0 : onClick(schedule, e);
30
+ } }, extraProps, { children: [(0, jsx_runtime_1.jsx)(exports.S_Dot, { "$isSelected": isSelected }), (0, jsx_runtime_1.jsx)(S_TextContainer, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { styleTheme: "caption2Regular", text: schedule.title, colorTheme: isSelected ? 'sysTextWhite' : undefined, ellipsisMode: "use", singleLineMode: "use" }) })] }), schedule.id));
31
+ };
32
+ exports.ScheduleItem = ScheduleItem;
33
+ var S_ScheduleItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background: ", ";\n border: ", ";\n border-radius: 4px;\n cursor: grab;\n display: flex;\n flex-shrink: 1;\n max-width: 100%;\n min-width: 0;\n overflow: hidden;\n padding: 2px 6px;\n position: relative;\n transition: opacity 0.2s ease, transform 0.2s ease;\n\n &:active {\n background: ", ";\n cursor: grabbing;\n }\n"], ["\n align-items: center;\n background: ", ";\n border: ", ";\n border-radius: 4px;\n cursor: grab;\n display: flex;\n flex-shrink: 1;\n max-width: 100%;\n min-width: 0;\n overflow: hidden;\n padding: 2px 6px;\n position: relative;\n transition: opacity 0.2s ease, transform 0.2s ease;\n\n &:active {\n background: ", ";\n cursor: grabbing;\n }\n"])), function (props) {
34
+ if (props.$isSelected)
35
+ return props.theme.ui_cpnt_sheet_base_06;
36
+ if (props.$isAllday)
37
+ return props.theme.ui_cpnt_sheet_base;
38
+ return 'transparent';
39
+ }, function (props) {
40
+ return props.$isSelected ? "2px solid ".concat(props.theme.ui_cpnt_sheet_base_06) : '2px solid transparent';
41
+ }, function (_a) {
42
+ var theme = _a.theme;
43
+ return theme.ui_cpnt_sheet_base_06;
44
+ });
45
+ var S_TextContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 1;\n max-width: 85%;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n /* TextLabel \uB0B4\uBD80 \uC694\uC18C\uC5D0\uB3C4 \uD55C \uC904 \uC81C\uD55C \uC801\uC6A9 */\n * {\n line-height: 1 !important;\n max-height: 1em !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n"], ["\n flex: 1;\n max-width: 85%;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n /* TextLabel \uB0B4\uBD80 \uC694\uC18C\uC5D0\uB3C4 \uD55C \uC904 \uC81C\uD55C \uC801\uC6A9 */\n * {\n line-height: 1 !important;\n max-height: 1em !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n"])));
46
+ exports.S_Dot = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background: ", ";\n border-radius: 50%;\n height: 4px;\n margin-right: 4px;\n width: 4px;\n"], ["\n background: ", ";\n border-radius: 50%;\n height: 4px;\n margin-right: 4px;\n width: 4px;\n"])), function (_a) {
47
+ var $isSelected = _a.$isSelected, theme = _a.theme;
48
+ return $isSelected ? theme.ui_cpnt_icon_sys_white : theme.ui_cpnt_icon_sys_grey_02;
49
+ });
50
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1,9 @@
1
+ import type { Schedule } from './types';
2
+ import type React from 'react';
3
+ interface TimeBasedScheduleItemProps {
4
+ schedules: Schedule[];
5
+ handleScheduleDragStart: (schedule: Schedule, e: React.DragEvent) => void;
6
+ handleScheduleDragEnd: () => void;
7
+ }
8
+ export declare const TimeBasedScheduleItem: React.FC<TimeBasedScheduleItemProps>;
9
+ export {};