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

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 (200) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -3
  3. package/dist/src/common/hooks/useTooltip.js +1 -1
  4. package/dist/src/common/services/i18n/resources/en.json +1 -31
  5. package/dist/src/common/services/i18n/resources/es.json +1 -30
  6. package/dist/src/common/services/i18n/resources/fil.json +1 -30
  7. package/dist/src/common/services/i18n/resources/index.d.ts +0 -208
  8. package/dist/src/common/services/i18n/resources/ja.json +1 -31
  9. package/dist/src/common/services/i18n/resources/ko.json +1 -31
  10. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -31
  11. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -31
  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 +0 -3
  16. package/dist/src/common/utils/dateHelper.js +0 -37
  17. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  18. package/dist/src/desktop/components/index.d.ts +1 -2
  19. package/dist/src/desktop/components/index.js +1 -3
  20. package/dist/src/desktop/index.d.ts +1 -1
  21. package/dist/src/desktop/index.js +1 -2
  22. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
  23. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1133 -0
  24. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  25. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
  26. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +53 -53
  27. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  28. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  29. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
  30. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
  31. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  32. package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
  33. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
  34. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  35. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
  36. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  37. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  38. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  39. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  40. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  41. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  42. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  43. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  44. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  45. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  46. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  47. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  48. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  49. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  50. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  51. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  52. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  53. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  54. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  55. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  56. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  57. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  58. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  59. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  60. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  61. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +776 -0
  62. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4236 -0
  63. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  64. package/dist/src/sub/DynamicLayout/mock_composition.js +1607 -0
  65. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
  66. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1111 -0
  67. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
  68. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
  69. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
  70. package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
  71. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
  72. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
  73. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  74. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  75. package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -960
  76. package/dist/src/sub/DynamicLayout/mocks.js +55 -4239
  77. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  78. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  79. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +12 -11
  80. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +16 -10
  81. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
  82. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +134 -3
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +12 -0
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +61 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +206 -0
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +128 -0
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +151 -0
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +12 -0
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +173 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +8 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +31 -7
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +45 -1
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +7 -2
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +18 -13
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +53 -3
  165. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  166. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +3 -2
  167. package/dist/src/sub/DynamicLayout/types.d.ts +64 -17
  168. package/package.json +3 -2
  169. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +0 -13
  170. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +0 -132
  171. package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
  172. package/dist/src/desktop/components/Calendar/Calendar.js +0 -384
  173. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
  174. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -48
  175. package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -17
  176. package/dist/src/desktop/components/Calendar/DailyView.js +0 -64
  177. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -27
  178. package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -263
  179. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +0 -19
  180. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +0 -73
  181. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +0 -16
  182. package/dist/src/desktop/components/Calendar/ScheduleItem.js +0 -50
  183. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +0 -9
  184. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +0 -170
  185. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +0 -21
  186. package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -91
  187. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +0 -12
  188. package/dist/src/desktop/components/Calendar/YearlyView.js +0 -76
  189. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +0 -24
  190. package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -112
  191. package/dist/src/desktop/components/Calendar/constants.d.ts +0 -1
  192. package/dist/src/desktop/components/Calendar/constants.js +0 -31
  193. package/dist/src/desktop/components/Calendar/index.d.ts +0 -10
  194. package/dist/src/desktop/components/Calendar/index.js +0 -37
  195. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +0 -16
  196. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +0 -45
  197. package/dist/src/desktop/components/Calendar/types.d.ts +0 -60
  198. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  199. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  200. /package/dist/src/{desktop/components/Calendar/types.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { CustomProgressbarProps } from '../types';
3
+ type Props = {
4
+ styles: CustomProgressbarProps;
5
+ progressRef: React.RefObject<number>;
6
+ leftTimeMsRef: React.RefObject<number>;
7
+ };
8
+ export declare const CustomProgressbar: ({ styles, progressRef, leftTimeMsRef }: Props) => JSX.Element;
9
+ export default CustomProgressbar;
@@ -0,0 +1,87 @@
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.CustomProgressbar = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ var react_1 = require("react");
24
+ var styled_components_1 = __importDefault(require("styled-components"));
25
+ var progressConfigs_1 = require("./progressConfigs");
26
+ var CustomProgressbar = function (_a) {
27
+ var styles = _a.styles, progressRef = _a.progressRef, leftTimeMsRef = _a.leftTimeMsRef;
28
+ var _b = (0, react_1.useState)(0), leftTimeSec = _b[0], setLeftTimeSec = _b[1];
29
+ var _c = (0, react_1.useState)(0), progress = _c[0], setProgress = _c[1];
30
+ (0, react_1.useEffect)(function () {
31
+ var updateTimer = function () {
32
+ var _a;
33
+ var sec = Math.abs(((_a = leftTimeMsRef.current) !== null && _a !== void 0 ? _a : 10000) / 1000);
34
+ setLeftTimeSec(sec);
35
+ };
36
+ updateTimer();
37
+ var id = setInterval(updateTimer, 1000);
38
+ return function () { return clearInterval(id); };
39
+ }, []);
40
+ (0, react_1.useEffect)(function () {
41
+ var animationId;
42
+ var lastProgress = -1;
43
+ var updateProgress = function () {
44
+ var _a;
45
+ var currentProgress = (_a = progressRef.current) !== null && _a !== void 0 ? _a : 0;
46
+ // 소수점 3자리로 제한 (0.001 단위)
47
+ var fixedProgress = Math.round(currentProgress * 1000) / 1000;
48
+ // 0.5% 이상 변경시에만 업데이트
49
+ if (Math.abs(fixedProgress - lastProgress) > 0.005) {
50
+ setProgress(fixedProgress);
51
+ lastProgress = fixedProgress;
52
+ }
53
+ animationId = requestAnimationFrame(updateProgress);
54
+ };
55
+ animationId = requestAnimationFrame(updateProgress);
56
+ return function () { return cancelAnimationFrame(animationId); };
57
+ }, []);
58
+ var renderProgressByType = function () {
59
+ switch (styles.type) {
60
+ case 'NONE':
61
+ return null;
62
+ case 'DESIGN1':
63
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
64
+ case 'DESIGN2':
65
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign2, { progress: progress, leftTimeSec: leftTimeSec, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
66
+ case 'DESIGN3':
67
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign3, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
68
+ case 'DESIGN4':
69
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign4, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
70
+ case 'DESIGN5':
71
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign5, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
72
+ case 'DESIGN6':
73
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign6, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
74
+ case 'DESIGN7':
75
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign7, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
76
+ case 'DESIGN8':
77
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign8, { progress: progress, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
78
+ default:
79
+ return ((0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec, progressColor: styles.primaryColor, bufferColor: styles.secondaryColor }));
80
+ }
81
+ };
82
+ return ((0, jsx_runtime_1.jsx)(S_ProgressWrapper, __assign({ className: "cb-contentscarousel-progressbar-wrapper", "$size": styles.size }, { children: renderProgressByType() })));
83
+ };
84
+ exports.CustomProgressbar = CustomProgressbar;
85
+ var S_ProgressWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: fit-content;\n width: max-content;\n"], ["\n height: fit-content;\n width: max-content;\n"])));
86
+ exports.default = exports.CustomProgressbar;
87
+ var templateObject_1;
@@ -0,0 +1,4 @@
1
+ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE } from '../types';
2
+ import type { IconButtonProps } from '../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton';
3
+ export declare const prevButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE, IconButtonProps>;
4
+ export declare const nextButtonMappedIcons: Record<CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE, IconButtonProps>;