pds-dev-kit-web-test 2.5.402 → 2.5.405

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 (232) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -3
  3. package/dist/src/common/assets/icons/fill/Video.js +1 -1
  4. package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
  5. package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
  6. package/dist/src/common/assets/icons/fill/index.d.ts +0 -3
  7. package/dist/src/common/assets/icons/fill/index.js +1 -7
  8. package/dist/src/common/assets/icons/line/Video.js +1 -1
  9. package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
  10. package/dist/src/common/assets/icons/line/VideoType.js +1 -1
  11. package/dist/src/common/assets/icons/line/index.d.ts +0 -12
  12. package/dist/src/common/assets/icons/line/index.js +1 -25
  13. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
  14. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
  15. package/dist/src/common/hooks/useTooltip.js +1 -1
  16. package/dist/src/common/services/i18n/resources/en.json +1 -9
  17. package/dist/src/common/services/i18n/resources/es.json +1 -9
  18. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  19. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  20. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  21. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  22. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  23. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  24. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  25. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  26. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  27. package/dist/src/common/styles/colorSet/index.d.ts +0 -29
  28. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  29. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  30. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  31. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  32. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  33. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  34. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  35. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
  36. package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
  37. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  38. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  39. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  40. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  41. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  42. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  43. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  44. package/dist/src/desktop/components/TextField/TextField.js +15 -41
  45. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  46. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  47. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  48. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
  49. package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
  50. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  51. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  52. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  53. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  54. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  55. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  56. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  57. package/dist/src/mobile/components/TextField/TextField.js +15 -41
  58. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  59. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  60. package/dist/src/mobile/components/index.d.ts +1 -2
  61. package/dist/src/mobile/components/index.js +1 -3
  62. package/dist/src/mobile/index.d.ts +1 -1
  63. package/dist/src/mobile/index.js +2 -3
  64. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  65. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  66. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  67. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  68. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  69. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  70. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  71. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  72. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  73. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  74. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  75. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  76. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  77. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  78. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  79. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  80. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  81. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  82. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  83. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  84. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  85. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  86. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +20 -0
  87. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1132 -0
  88. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  89. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +4 -2
  90. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  91. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  92. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  93. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +9 -0
  94. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +53 -0
  95. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  96. package/dist/src/sub/DynamicLayout/DynamicLayout.js +3 -2
  97. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  98. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -12
  99. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  100. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  101. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  102. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +2 -0
  103. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  104. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  105. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  106. package/dist/src/sub/DynamicLayout/mock_composition.js +797 -0
  107. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -0
  108. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +326 -0
  109. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -0
  110. package/dist/src/sub/DynamicLayout/mock_contentsList.js +296 -0
  111. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -0
  112. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +318 -0
  113. package/dist/src/sub/DynamicLayout/mocks.d.ts +7 -186
  114. package/dist/src/sub/DynamicLayout/mocks.js +50 -25
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -6
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -23
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +154 -2
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +17 -0
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +39 -0
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +31 -0
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +169 -0
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +26 -0
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +185 -0
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +21 -0
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +94 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +50 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +919 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +90 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +8 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +100 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +27 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +188 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +30 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +357 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +46 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +31 -3
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +8 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +150 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +15 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +31 -0
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +169 -0
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +26 -0
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +185 -0
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +21 -0
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +94 -0
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/{VideoPlayer → SlideBanner}/index.js +3 -3
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +48 -0
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +855 -0
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +80 -0
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +24 -6
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +45 -12
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +21 -11
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -2
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +41 -5
  176. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +2 -1
  177. package/dist/src/sub/DynamicLayout/types.d.ts +43 -19
  178. package/package.json +3 -3
  179. package/release-note.md +3 -3
  180. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  181. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  182. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  183. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  184. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  185. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  186. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  187. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  188. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  189. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  190. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  191. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  192. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  193. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  194. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  195. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  196. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  197. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  198. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  199. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  200. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  201. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  202. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  203. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  204. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  205. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  206. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  207. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  208. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  209. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  210. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  211. package/dist/src/common/utils/dateHelper.js +0 -87
  212. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  213. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  214. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  215. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  216. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  217. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  218. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  219. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  220. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  221. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  222. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  223. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  224. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  225. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  226. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -369
  227. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -372
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -173
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
@@ -0,0 +1,169 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CustomNavigation = void 0;
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
44
+ var styled_components_1 = __importStar(require("styled-components"));
45
+ var CustomNavigation = function (_a) {
46
+ var _b = _a.prevBtnDisabled, prevBtnDisabled = _b === void 0 ? false : _b, _c = _a.prevBtnType, prevBtnType = _c === void 0 ? 'NONE' : _c, _d = _a.prevBtnOffset, prevBtnOffset = _d === void 0 ? { top: '0' } : _d, _e = _a.prevBtnSize, prevBtnSize = _e === void 0 ? 1 : _e, _f = _a.nextBtnDisabled, nextBtnDisabled = _f === void 0 ? false : _f, _g = _a.nextBtnType, nextBtnType = _g === void 0 ? 'NONE' : _g, _h = _a.nextBtnOffset, nextBtnOffset = _h === void 0 ? { top: '0' } : _h, _j = _a.nextBtnSize, nextBtnSize = _j === void 0 ? 1 : _j, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
47
+ var getIsSameOffset = function (prevBtnOffset, nextBtnOffset) {
48
+ return (prevBtnOffset.top === nextBtnOffset.top &&
49
+ prevBtnOffset.bottom === nextBtnOffset.bottom &&
50
+ prevBtnOffset.left === nextBtnOffset.left &&
51
+ prevBtnOffset.right === nextBtnOffset.right &&
52
+ prevBtnOffset.translateX === nextBtnOffset.translateX &&
53
+ prevBtnOffset.translateY === nextBtnOffset.translateY &&
54
+ prevBtnOffset.transformOrigin === nextBtnOffset.transformOrigin);
55
+ };
56
+ var isSameOffset = getIsSameOffset(prevBtnOffset, nextBtnOffset);
57
+ return ((0, jsx_runtime_1.jsxs)(S_Navigation, __assign({ "$offset": isSameOffset ? prevBtnOffset : undefined, "$size": isSameOffset ? prevBtnSize : 1 }, { children: [(0, jsx_runtime_1.jsx)(S_PrevButton, __assign({ className: "".concat(prevBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : prevBtnOffset, "$size": isSameOffset ? undefined : prevBtnSize, onClick: onPrevBtnClick }, { children: (function () {
58
+ switch (prevBtnType) {
59
+ case 'NONE':
60
+ case 'DESIGN1':
61
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
62
+ case 'DESIGN2':
63
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left_thin", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
64
+ case 'DESIGN3':
65
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
66
+ case 'DESIGN4':
67
+ case 'DESIGN5':
68
+ case 'DESIGN6':
69
+ case 'DESIGN7':
70
+ case 'DESIGN8':
71
+ case 'DESIGN9':
72
+ case 'DESIGN10':
73
+ case 'DESIGN11':
74
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left_bold", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
75
+ case 'DESIGN12':
76
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left_thin", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
77
+ case 'DESIGN13':
78
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
79
+ case 'DESIGN14':
80
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_left", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
81
+ default:
82
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
83
+ }
84
+ })() })), (0, jsx_runtime_1.jsx)(S_NextButton, __assign({ className: "".concat(nextBtnDisabled ? 'disabled' : ''), "$offset": isSameOffset ? undefined : nextBtnOffset, "$size": isSameOffset ? undefined : nextBtnSize, onClick: onNextBtnClick }, { children: (function () {
85
+ switch (nextBtnType) {
86
+ case 'NONE':
87
+ case 'DESIGN1':
88
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
89
+ case 'DESIGN2':
90
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right_thin", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
91
+ case 'DESIGN3':
92
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
93
+ case 'DESIGN4':
94
+ case 'DESIGN5':
95
+ case 'DESIGN6':
96
+ case 'DESIGN7':
97
+ case 'DESIGN8':
98
+ case 'DESIGN9':
99
+ case 'DESIGN10':
100
+ case 'DESIGN11':
101
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right_bold", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_dark" }));
102
+ case 'DESIGN12':
103
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right_thin", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
104
+ case 'DESIGN13':
105
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
106
+ case 'DESIGN14':
107
+ return ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconName: "ic_arrow_right", iconFillType: "line", iconColorKey: "ui_cpnt_icon_sys_white" }));
108
+ default:
109
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
110
+ }
111
+ })() }))] })));
112
+ };
113
+ exports.CustomNavigation = CustomNavigation;
114
+ var S_Navigation = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"], ["\n display: ", ";\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n"])), function (_a) {
115
+ var $offset = _a.$offset;
116
+ return ($offset ? 'flex' : 'contents');
117
+ }, function (_a) {
118
+ var $offset = _a.$offset;
119
+ return ($offset ? '5px' : 0);
120
+ }, function (_a) {
121
+ var $offset = _a.$offset;
122
+ return ($offset ? 'absolute' : 'static');
123
+ }, function (_a) {
124
+ var _b, _c;
125
+ var $size = _a.$size, $offset = _a.$offset;
126
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
127
+ }, function (_a) {
128
+ var $offset = _a.$offset;
129
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset.right, ";") : '');
130
+ }, function (_a) {
131
+ var $offset = _a.$offset;
132
+ return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
133
+ });
134
+ var S_PrevButton = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"], ["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"])), function (_a) {
135
+ var $offset = _a.$offset;
136
+ return ($offset ? '5px' : 0);
137
+ }, function (_a) {
138
+ var $offset = _a.$offset;
139
+ return ($offset ? 'absolute' : 'static');
140
+ }, function (_a) {
141
+ var _b, _c;
142
+ var $size = _a.$size, $offset = _a.$offset;
143
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
144
+ }, function (_a) {
145
+ var $offset = _a.$offset;
146
+ return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.right, ";") : '');
147
+ }, function (_a) {
148
+ var $offset = _a.$offset;
149
+ return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
150
+ });
151
+ var S_NextButton = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"], ["\n cursor: pointer;\n padding: ", ";\n position: ", ";\n transform: ", ";\n ", ";\n transform-origin: ", ";\n z-index: 3;\n\n &.disabled {\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n }\n"])), function (_a) {
152
+ var $offset = _a.$offset;
153
+ return ($offset ? '5px' : 0);
154
+ }, function (_a) {
155
+ var $offset = _a.$offset;
156
+ return ($offset ? 'absolute' : 'static');
157
+ }, function (_a) {
158
+ var _b, _c;
159
+ var $size = _a.$size, $offset = _a.$offset;
160
+ return "scale(".concat($size, ") translate(").concat((_b = $offset === null || $offset === void 0 ? void 0 : $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset === null || $offset === void 0 ? void 0 : $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
161
+ }, function (_a) {
162
+ var $offset = _a.$offset;
163
+ return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), ($offset === null || $offset === void 0 ? void 0 : $offset.top) !== undefined ? "top: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.top, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.bottom) !== undefined ? "bottom: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.bottom, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.left) !== undefined ? "left: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.left, ";") : '', ($offset === null || $offset === void 0 ? void 0 : $offset.right) !== undefined ? "right: ".concat($offset === null || $offset === void 0 ? void 0 : $offset.right, ";") : '');
164
+ }, function (_a) {
165
+ var $offset = _a.$offset;
166
+ return ($offset === null || $offset === void 0 ? void 0 : $offset.transformOrigin) || 'center center';
167
+ });
168
+ exports.default = exports.CustomNavigation;
169
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE } from '../types';
3
+ export interface CustomPaginationProps {
4
+ current?: number;
5
+ total?: number;
6
+ type?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE;
7
+ offset?: {
8
+ top?: string;
9
+ bottom?: string;
10
+ left?: string;
11
+ right?: string;
12
+ translateX?: number;
13
+ translateY?: number;
14
+ transformOrigin?: string;
15
+ };
16
+ size?: number;
17
+ onBulletClick?: (index: number) => void;
18
+ }
19
+ export declare const CustomPagination: ({ current, total, type, offset, size, onBulletClick }: CustomPaginationProps) => JSX.Element;
20
+ export interface FlexBoxProps {
21
+ direction?: 'row' | 'column';
22
+ justifyContent?: string;
23
+ alignItems?: string;
24
+ gap?: string;
25
+ }
26
+ export default CustomPagination;
@@ -0,0 +1,185 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CustomPagination = void 0;
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var components_1 = require("../../../../../../../../DynamicLayout/components");
44
+ var styled_components_1 = __importStar(require("styled-components"));
45
+ var CustomPagination = function (_a) {
46
+ var _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, onBulletClick = _a.onBulletClick;
47
+ var bullets = Array.from({ length: total }, function (_, i) { return i; });
48
+ return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: (function () {
49
+ switch (type) {
50
+ case 'NONE':
51
+ case 'DESIGN1':
52
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
53
+ case 'DESIGN2':
54
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) }))] })));
55
+ case 'DESIGN3':
56
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: "/ ".concat(total) }))] })));
57
+ case 'DESIGN4':
58
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
59
+ case 'DESIGN5':
60
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: total }))] })));
61
+ case 'DESIGN6':
62
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] }));
63
+ case 'DESIGN7':
64
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] }));
65
+ case 'DESIGN8':
66
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] })));
67
+ case 'DESIGN9':
68
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total })), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] })));
69
+ case 'DESIGN10':
70
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
71
+ case 'DESIGN11':
72
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL", color: "DARK" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total }))] })));
73
+ case 'DESIGN12':
74
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
75
+ case 'DESIGN13':
76
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
77
+ case 'DESIGN14':
78
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
79
+ case 'DESIGN15':
80
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
81
+ case 'DESIGN16':
82
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
83
+ case 'DESIGN17':
84
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
85
+ default:
86
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
87
+ }
88
+ })() })));
89
+ };
90
+ exports.CustomPagination = CustomPagination;
91
+ var FlexBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"], ["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"])), function (_a) {
92
+ var _b = _a.alignItems, alignItems = _b === void 0 ? 'center' : _b;
93
+ return alignItems;
94
+ }, function (_a) {
95
+ var _b = _a.direction, direction = _b === void 0 ? 'row' : _b;
96
+ return direction;
97
+ }, function (_a) {
98
+ var _b = _a.gap, gap = _b === void 0 ? '0' : _b;
99
+ return gap;
100
+ }, function (_a) {
101
+ var _b = _a.justifyContent, justifyContent = _b === void 0 ? 'center' : _b;
102
+ return justifyContent;
103
+ });
104
+ var S_Pagination = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n"])), function (_a) {
105
+ var $offset = _a.$offset;
106
+ return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), $offset.top !== undefined ? "top: ".concat($offset.top, ";") : '', $offset.bottom !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', $offset.left !== undefined ? "left: ".concat($offset.left, ";") : '', $offset.right !== undefined ? "right: ".concat($offset.right, ";") : '');
107
+ }, function (_a) {
108
+ var _b, _c;
109
+ var $size = _a.$size, $offset = _a.$offset;
110
+ return "scale(".concat($size, ") translate(").concat((_b = $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
111
+ }, function (_a) {
112
+ var $offset = _a.$offset;
113
+ return $offset.transformOrigin || 'center center';
114
+ });
115
+ var body2Bold = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
116
+ var theme = _a.theme;
117
+ return theme.desktopFontSize.body2;
118
+ }, function (_a) {
119
+ var theme = _a.theme;
120
+ return theme.fontWeight.bold;
121
+ }, function (_a) {
122
+ var theme = _a.theme;
123
+ return theme.desktopLineHeight.body2;
124
+ });
125
+ var body2Regular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
126
+ var theme = _a.theme;
127
+ return theme.desktopFontSize.body2;
128
+ }, function (_a) {
129
+ var theme = _a.theme;
130
+ return theme.fontWeight.normal;
131
+ }, function (_a) {
132
+ var theme = _a.theme;
133
+ return theme.desktopLineHeight.body2;
134
+ });
135
+ var sysTextWhite = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
136
+ var theme = _a.theme;
137
+ return theme.ui_cpnt_textlabel_sys_white;
138
+ });
139
+ var sysTextBlack = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
140
+ var theme = _a.theme;
141
+ return theme.ui_cpnt_textlabel_sys_black;
142
+ });
143
+ var S_TextLabel = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", ";\n\n ", ";\n"], ["\n ", ";\n\n ", ";\n"])), function (_a) {
144
+ var styleTheme = _a.styleTheme;
145
+ return styleTheme &&
146
+ {
147
+ body2Bold: body2Bold,
148
+ body2Regular: body2Regular
149
+ }[styleTheme];
150
+ }, function (_a) {
151
+ var colorTheme = _a.colorTheme;
152
+ return colorTheme
153
+ ? {
154
+ sysTextWhite: sysTextWhite,
155
+ sysTextBlack: sysTextBlack
156
+ }[colorTheme]
157
+ : sysTextWhite;
158
+ });
159
+ var verticalDivider = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 16px;\n width: 1px;\n"], ["\n height: 16px;\n width: 1px;\n"])));
160
+ var horizontalDivider = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 1px;\n width: 100%;\n"], ["\n height: 1px;\n width: 100%;\n"])));
161
+ var S_Divider = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"], ["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"])), function (_a) {
162
+ var color = _a.color;
163
+ return (color === 'WHITE' ? '#ffffff' : '#000000');
164
+ }, function (_a) {
165
+ var type = _a.type;
166
+ return (type === 'VERTICAL' ? verticalDivider : horizontalDivider);
167
+ });
168
+ var whiteBullet = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: #ffffff;\n opacity: ", ";\n"], ["\n background-color: #ffffff;\n opacity: ", ";\n"])), function (_a) {
169
+ var isActive = _a.isActive;
170
+ return (isActive ? 1 : 0.2);
171
+ });
172
+ var darkBullet = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: #000000;\n opacity: ", ";\n"], ["\n background-color: #000000;\n opacity: ", ";\n"])), function (_a) {
173
+ var isActive = _a.isActive;
174
+ return (isActive ? 1 : 0.3);
175
+ });
176
+ var S_Dot = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"], ["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"])), function (_a) {
177
+ var color = _a.color;
178
+ return (color === 'WHITE' ? whiteBullet : darkBullet);
179
+ });
180
+ var S_Bar = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"], ["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"])), function (_a) {
181
+ var color = _a.color;
182
+ return (color === 'WHITE' ? whiteBullet : darkBullet);
183
+ });
184
+ exports.default = exports.CustomPagination;
185
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE } from '../types';
3
+ export interface CustomProgressbarProps {
4
+ type?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
5
+ offset?: {
6
+ top?: string;
7
+ bottom?: string;
8
+ left?: string;
9
+ right?: string;
10
+ translateX?: number;
11
+ translateY?: number;
12
+ transformOrigin?: string;
13
+ };
14
+ size?: number;
15
+ }
16
+ type Props = {
17
+ progressRef: React.RefObject<number>;
18
+ leftTimeMsRef: React.RefObject<number>;
19
+ } & CustomProgressbarProps;
20
+ export declare const CustomProgressbar: ({ progressRef, leftTimeMsRef, type, offset, size }: Props) => JSX.Element;
21
+ export default CustomProgressbar;
@@ -0,0 +1,94 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
24
+ }) : (function(o, m, k, k2) {
25
+ if (k2 === undefined) k2 = k;
26
+ o[k2] = m[k];
27
+ }));
28
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
30
+ }) : function(o, v) {
31
+ o["default"] = v;
32
+ });
33
+ var __importStar = (this && this.__importStar) || function (mod) {
34
+ if (mod && mod.__esModule) return mod;
35
+ var result = {};
36
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
+ __setModuleDefault(result, mod);
38
+ return result;
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.CustomProgressbar = void 0;
42
+ var jsx_runtime_1 = require("react/jsx-runtime");
43
+ var react_1 = require("react");
44
+ var styled_components_1 = __importStar(require("styled-components"));
45
+ var CustomProgressbar = function (_a) {
46
+ var progressRef = _a.progressRef, leftTimeMsRef = _a.leftTimeMsRef, _b = _a.type, type = _b === void 0 ? 'NONE' : _b, _c = _a.offset, offset = _c === void 0 ? { top: '0' } : _c, _d = _a.size, size = _d === void 0 ? 1 : _d;
47
+ var _e = (0, react_1.useState)(0), leftTimeSec = _e[0], setLeftTimeSec = _e[1];
48
+ var _f = (0, react_1.useState)(0), progress = _f[0], setProgress = _f[1];
49
+ // 초 단위 렌더
50
+ (0, react_1.useEffect)(function () {
51
+ var id = setInterval(function () {
52
+ var _a;
53
+ var sec = Math.ceil(((_a = leftTimeMsRef.current) !== null && _a !== void 0 ? _a : 0) / 1000);
54
+ setLeftTimeSec(sec);
55
+ }, 1000);
56
+ return function () { return clearInterval(id); };
57
+ }, [leftTimeMsRef]);
58
+ // 실시간 progress 반영
59
+ (0, react_1.useEffect)(function () {
60
+ var animationId;
61
+ var updateProgress = function () {
62
+ var _a;
63
+ setProgress((_a = progressRef.current) !== null && _a !== void 0 ? _a : 0);
64
+ animationId = requestAnimationFrame(updateProgress);
65
+ };
66
+ animationId = requestAnimationFrame(updateProgress);
67
+ return function () { return cancelAnimationFrame(animationId); };
68
+ }, [progressRef]);
69
+ return ((0, jsx_runtime_1.jsx)(S_Progress, __assign({ className: "autoplay-progress", "$offset": offset, "$size": size }, { children: (function () {
70
+ switch (type) {
71
+ case 'NONE':
72
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
73
+ case 'DESIGN1':
74
+ case 'DESIGN2':
75
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ viewBox: "0 0 48 48", style: { '--progress': 1 - progress } }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20" }) })), (0, jsx_runtime_1.jsx)("span", { children: "".concat(Math.ceil(leftTimeSec), "s") })] }));
76
+ default:
77
+ return (0, jsx_runtime_1.jsx)("div", { children: "Default Design" });
78
+ }
79
+ })() })));
80
+ };
81
+ exports.CustomProgressbar = CustomProgressbar;
82
+ var S_Progress = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n\n &.autoplay-progress {\n align-items: center;\n bottom: 16px;\n color: blue;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n position: absolute;\n right: 16px;\n width: 48px;\n z-index: 10;\n }\n\n &.autoplay-progress svg {\n --progress: 0;\n fill: none;\n height: 100%;\n left: 0;\n position: absolute;\n stroke: var(--swiper-theme-color);\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 0px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n }\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n\n &.autoplay-progress {\n align-items: center;\n bottom: 16px;\n color: blue;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n position: absolute;\n right: 16px;\n width: 48px;\n z-index: 10;\n }\n\n &.autoplay-progress svg {\n --progress: 0;\n fill: none;\n height: 100%;\n left: 0;\n position: absolute;\n stroke: var(--swiper-theme-color);\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 0px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n }\n"])), function (_a) {
83
+ var $offset = _a.$offset;
84
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), $offset.top !== undefined ? "top: ".concat($offset.top, ";") : '', $offset.bottom !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', $offset.left !== undefined ? "left: ".concat($offset.left, ";") : '', $offset.right !== undefined ? "right: ".concat($offset.right, ";") : '');
85
+ }, function (_a) {
86
+ var _b, _c;
87
+ var $size = _a.$size, $offset = _a.$offset;
88
+ return "scale(".concat($size, ") translate(").concat((_b = $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
89
+ }, function (_a) {
90
+ var $offset = _a.$offset;
91
+ return $offset.transformOrigin || 'center center';
92
+ });
93
+ exports.default = exports.CustomProgressbar;
94
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,50 @@
1
+ import { css } from 'styled-components';
2
+ import type { CB_CONTENT_PROP_CONTENTSCAROUSEL } from '../types';
3
+ import type { CustomNavigationProps } from './components/CustomNavigation';
4
+ import type { CustomPaginationProps } from './components/CustomPagination';
5
+ import type { CustomProgressbarProps } from './components/CustomProgressbar';
6
+ import type { ContentsCarouselCoreProps } from './ContentsCarouselCore';
7
+ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS, ContentsCarouselPropsKeys } from './types';
8
+ import type { Device } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
9
+ type ParseCarouselStyleToCarouselCoreProps = {
10
+ props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
11
+ contentsPropsPartials: Pick<CB_CONTENT_PROP_CONTENTSCAROUSEL, 'CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS'>;
12
+ device: Device;
13
+ };
14
+ export declare function parseCarouselStyleToCarouselCoreProp({ props, contentsPropsPartials, device }: ParseCarouselStyleToCarouselCoreProps): {
15
+ normalStyle: ContentsCarouselCoreProps & {
16
+ customStyle?: ReturnType<typeof css>;
17
+ };
18
+ hoverStyle: ContentsCarouselCoreProps & {
19
+ customStyle?: ReturnType<typeof css>;
20
+ };
21
+ };
22
+ export declare function getCarouselCorePropKey(key: ContentsCarouselPropsKeys): "" | "loop" | "spaceBetween" | "slidesPerGroup" | "customStyle" | "useAutoplay" | "autoplayDelay";
23
+ type ParseCarouselStyleToCustomPaginationProps = {
24
+ props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
25
+ device: Device;
26
+ };
27
+ export declare function parseCarouselStyleToCustomPaginationProp({ props, device }: ParseCarouselStyleToCustomPaginationProps): {
28
+ normalStyle: CustomPaginationProps;
29
+ hoverStyle: CustomPaginationProps;
30
+ };
31
+ export declare function getCustomPaginationPropKey(key: ContentsCarouselPropsKeys): "" | "size" | "type" | "offset";
32
+ type ParseCarouselStyleToCustomNavigationProps = {
33
+ props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
34
+ device: Device;
35
+ };
36
+ export declare function parseCarouselStyleToCustomNavigationProp({ props, device }: ParseCarouselStyleToCustomNavigationProps): {
37
+ normalStyle: CustomNavigationProps;
38
+ hoverStyle: CustomNavigationProps;
39
+ };
40
+ export declare function getCustomNavigationPropKey(key: ContentsCarouselPropsKeys): "" | "prevBtnType" | "prevBtnOffset" | "prevBtnSize" | "nextBtnType" | "nextBtnOffset" | "nextBtnSize";
41
+ type ParseCarouselStyleToCustomProgressbarProps = {
42
+ props: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
43
+ device: Device;
44
+ };
45
+ export declare function parseCarouselStyleToCustomProgressbarProp({ props, device }: ParseCarouselStyleToCustomProgressbarProps): {
46
+ normalStyle: CustomProgressbarProps;
47
+ hoverStyle: CustomProgressbarProps;
48
+ };
49
+ export declare function getCustomProgressbarPropKey(key: ContentsCarouselPropsKeys): "" | "size" | "type";
50
+ export {};