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,357 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.getCustomPaginationPropKey = exports.parsePaginationStyleProp = exports.parseGridContentProp = exports.parseGridStyleProp = void 0;
19
+ var styled_components_1 = require("styled-components");
20
+ function getStyleTypePropStyleValues(value) {
21
+ switch (value) {
22
+ case 'DESIGN1': {
23
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
24
+ }
25
+ case 'DESIGN2': {
26
+ var overlayEffect = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "], ["\n background: rgba(255, 255, 255, 0.7);\n content: '';\n height: 100%;\n position: absolute;\n top: 0; /* \uD22C\uBA85\uB3C4 \uC870\uC808 (0 = \uC644\uC804 \uD22C\uBA85, 1 = \uBD88\uD22C\uBA85) */\n width: 20%;\n z-index: 2;\n "])));
27
+ return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "], ["\n overflow: hidden;\n position: relative;\n\n &::before {\n ", "\n left: 0;\n }\n\n &::after {\n ", "\n right: 0;\n }\n "])), overlayEffect, overlayEffect);
28
+ }
29
+ default: {
30
+ return (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
31
+ }
32
+ }
33
+ }
34
+ function getItemSpacingPropStyleValues(value) {
35
+ switch (value) {
36
+ case 'NARROW': {
37
+ return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n grid-column-gap: 8px;\n "], ["\n grid-column-gap: 8px;\n "])));
38
+ }
39
+ case 'NORMAL': {
40
+ return (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n grid-column-gap: 24px;\n "], ["\n grid-column-gap: 24px;\n "])));
41
+ }
42
+ case 'WIDE': {
43
+ return (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n grid-column-gap: 36px;\n "], ["\n grid-column-gap: 36px;\n "])));
44
+ }
45
+ default: {
46
+ return (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n grid-column-gap: 24px;\n "], ["\n grid-column-gap: 24px;\n "])));
47
+ }
48
+ }
49
+ }
50
+ function getItemLineHeightPropStyleValues(value) {
51
+ return (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n grid-row-gap: ", "px;\n "], ["\n grid-row-gap: ", "px;\n "])), value);
52
+ }
53
+ function getItemHeightFitContentPropStyleValues(value) {
54
+ return (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n overflow-y: ", ";\n "], ["\n overflow-y: ", ";\n "])), value ? 'visible' : 'auto');
55
+ }
56
+ function parseStylePropertyStyles(key, value) {
57
+ switch (key) {
58
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE':
59
+ return getStyleTypePropStyleValues(value);
60
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING':
61
+ return getItemSpacingPropStyleValues(value);
62
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT':
63
+ return getItemLineHeightPropStyleValues(value);
64
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT':
65
+ return getItemHeightFitContentPropStyleValues(value);
66
+ case 'CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL':
67
+ break;
68
+ }
69
+ return undefined;
70
+ }
71
+ function getColumnsPropStyleValues(value) {
72
+ return (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n grid-template-columns: repeat(", ", 1fr);\n "], ["\n grid-template-columns: repeat(", ", 1fr);\n "])), value);
73
+ }
74
+ function parseContentPropertyStyles(key, value) {
75
+ switch (key) {
76
+ case 'CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS':
77
+ return getColumnsPropStyleValues(value);
78
+ }
79
+ return undefined;
80
+ }
81
+ function parseGridStyleProp(_a) {
82
+ var props = _a.props, device = _a.device;
83
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
84
+ return availableSpecCodes.reduce(function (acc, currentKey) {
85
+ var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
86
+ var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
87
+ var value = props[keyWithDevice];
88
+ var hoverValue = props[keyWithHover];
89
+ var styles = parseStylePropertyStyles(currentKey, value);
90
+ var hoverStyles = parseStylePropertyStyles(currentKey, hoverValue);
91
+ if (hoverValue === null || hoverValue === undefined) {
92
+ return {
93
+ stylePropCss: (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.stylePropCss, styles),
94
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), acc.hoverStylePropCss)
95
+ };
96
+ }
97
+ return {
98
+ stylePropCss: (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.stylePropCss, styles),
99
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.hoverStylePropCss, hoverStyles)
100
+ };
101
+ }, {
102
+ stylePropCss: (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject([""], [""]))),
103
+ hoverStylePropCss: (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject([""], [""])))
104
+ });
105
+ }
106
+ exports.parseGridStyleProp = parseGridStyleProp;
107
+ function parseGridContentProp(_a) {
108
+ var props = _a.props;
109
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
110
+ return availableSpecCodes.reduce(function (acc, currentKey) {
111
+ var value = props[currentKey];
112
+ var styles = parseContentPropertyStyles(currentKey, value);
113
+ return {
114
+ contentPropCss: (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.contentPropCss, styles)
115
+ };
116
+ }, {
117
+ contentPropCss: (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject([""], [""])))
118
+ });
119
+ }
120
+ exports.parseGridContentProp = parseGridContentProp;
121
+ function parsePaginationStyleProp(_a) {
122
+ var props = _a.props, device = _a.device;
123
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
124
+ return availableSpecCodes.reduce(function (acc, currentKey) {
125
+ var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
126
+ var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
127
+ var customPaginationPropertyKey = getCustomPaginationPropKey(currentKey);
128
+ if (customPaginationPropertyKey === 'type') {
129
+ var value = props[keyWithDevice];
130
+ var hoverValue = props[keyWithHover];
131
+ return {
132
+ normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
133
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
134
+ };
135
+ }
136
+ if (customPaginationPropertyKey === 'offset') {
137
+ var value = props[keyWithDevice];
138
+ var hoverValue = props[keyWithHover];
139
+ return {
140
+ normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
141
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
142
+ };
143
+ }
144
+ if (customPaginationPropertyKey === 'size') {
145
+ var value = props[keyWithDevice];
146
+ var hoverValue = props[keyWithHover];
147
+ return {
148
+ normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
149
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
150
+ };
151
+ }
152
+ return {
153
+ normalStyle: __assign({}, acc.normalStyle),
154
+ hoverStyle: __assign({}, acc.hoverStyle)
155
+ };
156
+ }, {
157
+ normalStyle: {},
158
+ hoverStyle: {}
159
+ });
160
+ }
161
+ exports.parsePaginationStyleProp = parsePaginationStyleProp;
162
+ function getCustomPaginationPropKey(key) {
163
+ switch (key) {
164
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE":
165
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:HOVER":
166
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE":
167
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE:HOVER":
168
+ return 'type';
169
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION":
170
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:HOVER":
171
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE":
172
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE:HOVER":
173
+ return 'offset';
174
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE":
175
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:HOVER":
176
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE":
177
+ case "CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE:HOVER":
178
+ return 'size';
179
+ default:
180
+ return '';
181
+ }
182
+ }
183
+ exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
184
+ function getCustomPaginationOffset(value) {
185
+ var OUTSET1 = {
186
+ top: '0px',
187
+ left: '0px',
188
+ translateX: 0,
189
+ translateY: -100,
190
+ transformOrigin: 'top left'
191
+ };
192
+ switch (value) {
193
+ case 'OUTSET1':
194
+ return OUTSET1;
195
+ case 'OUTSET2':
196
+ return {
197
+ top: '0px',
198
+ left: '50%',
199
+ translateX: -50,
200
+ translateY: -100,
201
+ transformOrigin: 'top left'
202
+ };
203
+ case 'OUTSET3':
204
+ return {
205
+ top: '0px',
206
+ right: '0px',
207
+ translateX: 0,
208
+ translateY: -100,
209
+ transformOrigin: 'top right'
210
+ };
211
+ case 'OUTSET4':
212
+ return {
213
+ top: '0px',
214
+ left: '100%',
215
+ translateX: 0,
216
+ translateY: 0,
217
+ transformOrigin: 'left top'
218
+ };
219
+ case 'OUTSET5':
220
+ return {
221
+ top: '50%',
222
+ left: '100%',
223
+ translateX: 0,
224
+ translateY: -50,
225
+ transformOrigin: 'left top'
226
+ };
227
+ case 'OUTSET6':
228
+ return {
229
+ top: '100%',
230
+ left: '100%',
231
+ translateX: 0,
232
+ translateY: -100,
233
+ transformOrigin: 'left top'
234
+ };
235
+ case 'OUTSET7':
236
+ return {
237
+ top: '100%',
238
+ left: '100%',
239
+ translateX: -100,
240
+ translateY: 0,
241
+ transformOrigin: 'top left'
242
+ };
243
+ case 'OUTSET8':
244
+ return {
245
+ top: '100%',
246
+ left: '50%',
247
+ translateX: -50,
248
+ translateY: 0,
249
+ transformOrigin: 'top left'
250
+ };
251
+ case 'OUTSET9':
252
+ return {
253
+ top: '100%',
254
+ left: '0px',
255
+ translateX: 0,
256
+ translateY: 0,
257
+ transformOrigin: 'top left'
258
+ };
259
+ case 'OUTSET10':
260
+ return {
261
+ top: '100%',
262
+ left: '0px',
263
+ translateX: -100,
264
+ translateY: -100,
265
+ transformOrigin: 'right top'
266
+ };
267
+ case 'OUTSET11':
268
+ return {
269
+ top: '50%',
270
+ left: '0px',
271
+ translateX: -100,
272
+ translateY: -50,
273
+ transformOrigin: 'right top'
274
+ };
275
+ case 'OUTSET12':
276
+ return {
277
+ top: '0px',
278
+ left: '0px',
279
+ translateX: -100,
280
+ translateY: 0,
281
+ transformOrigin: 'right top'
282
+ };
283
+ case 'INSET13':
284
+ return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
285
+ case 'INSET14':
286
+ return {
287
+ top: '0px',
288
+ left: '50%',
289
+ translateX: -50,
290
+ translateY: 0,
291
+ transformOrigin: 'left top'
292
+ };
293
+ case 'INSET15':
294
+ return {
295
+ top: '0px',
296
+ left: '100%',
297
+ translateX: -100,
298
+ translateY: 0,
299
+ transformOrigin: 'left top'
300
+ };
301
+ case 'INSET16':
302
+ return {
303
+ top: '50%',
304
+ left: '100%',
305
+ translateX: -100,
306
+ translateY: -50,
307
+ transformOrigin: 'left top'
308
+ };
309
+ case 'INSET17':
310
+ return {
311
+ top: '100%',
312
+ left: '100%',
313
+ translateX: -100,
314
+ translateY: -100,
315
+ transformOrigin: 'left top'
316
+ };
317
+ case 'INSET18':
318
+ return {
319
+ top: '100%',
320
+ left: '50%',
321
+ translateX: -50,
322
+ translateY: -100,
323
+ transformOrigin: 'left top'
324
+ };
325
+ case 'INSET19':
326
+ return {
327
+ top: '100%',
328
+ left: '0px',
329
+ translateX: 0,
330
+ translateY: -100,
331
+ transformOrigin: 'top left'
332
+ };
333
+ case 'INSET20':
334
+ return {
335
+ top: '50%',
336
+ left: '0px',
337
+ translateX: 0,
338
+ translateY: -50,
339
+ transformOrigin: 'top left'
340
+ };
341
+ default:
342
+ return OUTSET1;
343
+ }
344
+ }
345
+ function getCustomPaginationSize(value) {
346
+ switch (value) {
347
+ case 'SMALL':
348
+ return 1;
349
+ case 'MEDIUM':
350
+ return 2;
351
+ case 'LARGE':
352
+ return 3;
353
+ default:
354
+ return 1;
355
+ }
356
+ }
357
+ 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, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
@@ -0,0 +1 @@
1
+ export { default as ContentsList } from './ContentsList';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ContentsList = void 0;
7
+ var ContentsList_1 = require("./ContentsList");
8
+ Object.defineProperty(exports, "ContentsList", { enumerable: true, get: function () { return __importDefault(ContentsList_1).default; } });
@@ -0,0 +1,46 @@
1
+ import type { NUMBER_INTEGER } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
2
+ export type ContentsListPropsKeys = keyof CB_STYLE_PROP_CONTENTSLIST_SPECS;
3
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE_TYPE = 'DESIGN1' | 'DESIGN2' | null;
4
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING_TYPE = 'WIDE' | 'NORMAL' | 'NARROW' | null;
5
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE = NUMBER_INTEGER | null;
6
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE = boolean | null;
7
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL_TYPE = boolean | null;
8
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | null;
9
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20' | null;
10
+ export type CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE' | null;
11
+ export type CB_STYLE_PROP_CONTENTSLIST_SPECS_BASE = {
12
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE: CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE_TYPE;
13
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING: CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING_TYPE;
14
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT: CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
15
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT: CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
16
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL: CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL_TYPE;
17
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
18
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION_TYPE;
19
+ CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE_TYPE;
20
+ };
21
+ export type CB_STYLE_PROP_CONTENTSLIST_SPECS = CB_STYLE_PROP_CONTENTSLIST_SPECS_BASE & {
22
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE_TYPE;
23
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE_TYPE;
24
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_STYLE_TYPE;
25
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING_TYPE;
26
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING_TYPE;
27
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING_TYPE;
28
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
29
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
30
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT_TYPE;
31
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
32
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
33
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMHEIGHTFITCONTENT_TYPE;
34
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL_TYPE;
35
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL_TYPE;
36
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_INFINITESCROLL_TYPE;
37
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
38
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
39
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
40
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION_TYPE;
41
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION_TYPE;
42
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONLOCATION_TYPE;
43
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE_TYPE;
44
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE_TYPE;
45
+ 'CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSIZE_TYPE;
46
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -44,6 +44,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
44
44
  var jsx_runtime_1 = require("react/jsx-runtime");
45
45
  var react_1 = require("react");
46
46
  var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
47
+ var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
47
48
  var styled_components_1 = __importStar(require("styled-components"));
48
49
  var hooks_1 = require("../../../../hooks");
49
50
  var util_1 = require("../../../../util");
@@ -53,9 +54,23 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
53
54
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
54
55
  function Image(props) {
55
56
  var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
56
- var index = props.index, CB_CONTENT_PROP_IMAGE = props.CB_CONTENT_PROP_IMAGE, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
57
+ var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
58
+ var index = props.index, CB_CONTENT_PROP_IMAGE = props.CB_CONTENT_PROP_IMAGE, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE, CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
59
+ var cLinkValue = function () {
60
+ if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA') {
61
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
62
+ return "ERROR: QueryData NOT FOUND";
63
+ }
64
+ var link = queryContext.queryData[CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA];
65
+ if (!link) {
66
+ return "ERROR: ".concat(CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, " NOT found from queryData");
67
+ }
68
+ return link;
69
+ }
70
+ return CB_CONTENT_PROP_CLINK_SPEC_SRC;
71
+ };
57
72
  var _c = (0, useCLINK_1.default)({
58
- src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
73
+ src: cLinkValue(),
59
74
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
60
75
  openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
61
76
  internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
@@ -74,7 +89,20 @@ function Image(props) {
74
89
  : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
75
90
  var hasEffect = !isNoneEffectType;
76
91
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
77
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: __assign({}, imgStyle.normal), hoverStyle: __assign({}, imgStyle.hover) }) })) })) }))] }));
92
+ var imgSrc = function () {
93
+ var isDataConnected = CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE === 'DATA';
94
+ if (!isDataConnected) {
95
+ return CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR;
96
+ }
97
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
98
+ return 'ERROR: No query data found';
99
+ }
100
+ if (!queryContext.queryData[CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA]) {
101
+ return "ERROR: ".concat(CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA, " NOT found in query data");
102
+ }
103
+ return queryContext.queryData[CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA];
104
+ };
105
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, { src: imgSrc(), normalStyle: __assign({}, imgStyle.normal), hoverStyle: __assign({}, imgStyle.hover) }) })) })) }))] }));
78
106
  }
79
107
  function parseImageCBStyle(style, hoverStyle, mode) {
80
108
  var boxStyle = {
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { CB_SLIDEBANNER } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
3
+ import type { CB_SLIDEBANNER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
4
+ type Props = CB_SLIDEBANNER_PROPERTIES_TYPE & IndexForIntersection & {
5
+ compositions: CB_SLIDEBANNER['compositions'];
6
+ };
7
+ declare function SlideBanner(props: Props): JSX.Element;
8
+ export default SlideBanner;
@@ -0,0 +1,150 @@
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
+ var jsx_runtime_1 = require("react/jsx-runtime");
22
+ var react_1 = require("react");
23
+ var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
24
+ var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
25
+ var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
26
+ var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
27
+ var styled_components_1 = __importDefault(require("styled-components"));
28
+ var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
29
+ var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
30
+ var CustomNavigation_1 = require("./components/CustomNavigation");
31
+ var CustomPagination_1 = require("./components/CustomPagination");
32
+ var CustomProgressbar_1 = require("./components/CustomProgressbar");
33
+ var SlideBannerCore_1 = __importDefault(require("./SlideBannerCore"));
34
+ var slideBannerUtils_1 = require("./slideBannerUtils");
35
+ function SlideBanner(props) {
36
+ var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode, queryData = _a.queryData;
37
+ var index = props.index,
38
+ // CONTENT : 슬라이드배너
39
+ _b = props.CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS, CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE, CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA,
40
+ // STYLE: 슬라이드배너
41
+ CB_STYLE_PROP_SLIDEBANNER = props.CB_STYLE_PROP_SLIDEBANNER,
42
+ // STYLE: 그림자
43
+ CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW,
44
+ // EFFECT: 진입
45
+ CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
46
+ var compositions = props.compositions;
47
+ var _c = (0, react_1.useState)(false), isHovered = _c[0], setIsHovered = _c[1];
48
+ var _d = (0, react_1.useState)(1), currentSlide = _d[0], setCurrentSlide = _d[1];
49
+ var _e = (0, react_1.useState)(0), totalPages = _e[0], setTotalPages = _e[1];
50
+ var _f = (0, react_1.useState)(true), isBeginning = _f[0], setIsBeginning = _f[1];
51
+ var _g = (0, react_1.useState)(false), isEnd = _g[0], setIsEnd = _g[1];
52
+ var progressRef = (0, react_1.useRef)(0);
53
+ var leftTimeMsRef = (0, react_1.useRef)(0);
54
+ var swiperRef = (0, react_1.useRef)(null);
55
+ var _h = (0, slideBannerUtils_1.parseSlideBannerStyleToSlideBannerCoreProp)({
56
+ props: CB_STYLE_PROP_SLIDEBANNER,
57
+ device: device
58
+ }), slideBannerNormalStyle = _h.normalStyle, slideBannerHoverStyle = _h.hoverStyle;
59
+ var _j = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomPaginationProp)({
60
+ props: CB_STYLE_PROP_SLIDEBANNER,
61
+ device: device
62
+ }), customPaginationNormalStyle = _j.normalStyle, customPaginationHoverStyle = _j.hoverStyle;
63
+ var _k = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomNavigationProp)({
64
+ props: CB_STYLE_PROP_SLIDEBANNER,
65
+ device: device
66
+ }), customNavigationNormalStyle = _k.normalStyle, customNavigationHoverStyle = _k.hoverStyle;
67
+ var _l = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomProgressbarProp)({
68
+ props: CB_STYLE_PROP_SLIDEBANNER,
69
+ device: device
70
+ }), customProgressbarNormalStyle = _l.normalStyle, customProgressbarHoverStyle = _l.hoverStyle;
71
+ var _m = (0, util_1.parseProperties)(props, device), style = _m.style, hoverStyle = _m.hoverStyle, layout = _m.layout, effect = _m.effect;
72
+ // NOTE: edit모드에서는 그리드의 이벤트만 작동하도록 CB의 포인터 이벤트는 막습니다.
73
+ var editModeStyle = mode === 'EDIT' ? { pointerEvents: 'none' } : {};
74
+ // NOTE: EFFECT와 관련된 함수들입니다.
75
+ var cbRef = (0, react_1.useRef)(null);
76
+ var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 0.2, freezeOnceVisible: false }, [
77
+ index
78
+ ]);
79
+ var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
80
+ var effectCssProperties = isVisible ? effect : {};
81
+ var isNoneEffectType = device === 'DESKTOP'
82
+ ? CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE === 'NONE'
83
+ : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
84
+ var hasEffect = !isNoneEffectType;
85
+ var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
86
+ (0, react_1.useEffect)(function () {
87
+ var _a, _b, _c;
88
+ (_b = (_a = swiperRef.current) === null || _a === void 0 ? void 0 : _a.swiper) === null || _b === void 0 ? void 0 : _b.update();
89
+ (_c = swiperRef.current) === null || _c === void 0 ? void 0 : _c.swiper.update();
90
+ }, [isHovered]);
91
+ var handleSwiper = function (swiper) {
92
+ var totalSlides = swiper.slides.length;
93
+ var slidesPerView = typeof swiper.params.slidesPerView === 'number' ? swiper.params.slidesPerView : 1;
94
+ var slidesPerGroup = typeof swiper.params.slidesPerGroup === 'number' ? swiper.params.slidesPerGroup : 1;
95
+ var totalPages = Math.ceil((totalSlides - slidesPerView) / slidesPerGroup) + 1;
96
+ setTotalPages(totalPages);
97
+ setIsBeginning(swiper.isBeginning);
98
+ setIsEnd(swiper.isEnd);
99
+ setCurrentSlide(swiper.activeIndex + 1);
100
+ };
101
+ var handleSlideChange = function (swiper) {
102
+ setIsBeginning(swiper.isBeginning);
103
+ setIsEnd(swiper.isEnd);
104
+ setCurrentSlide(swiper.activeIndex + 1);
105
+ };
106
+ var handleAutoplayTimeLeft = (0, react_1.useCallback)(function (swiper, time, progress) {
107
+ leftTimeMsRef.current = time;
108
+ progressRef.current = progress;
109
+ }, []);
110
+ var handleBulletClick = function (index) {
111
+ if (swiperRef.current) {
112
+ var targetIndex = (swiperRef.current.swiper.params.slidesPerGroup || 1) * index;
113
+ swiperRef.current.swiper.slideTo(targetIndex);
114
+ }
115
+ };
116
+ var handlePrevBtnClick = function () {
117
+ if (swiperRef.current) {
118
+ swiperRef.current.swiper.slidePrev();
119
+ }
120
+ };
121
+ var handleNextBtnClick = function () {
122
+ if (swiperRef.current) {
123
+ swiperRef.current.swiper.slideNext();
124
+ }
125
+ };
126
+ return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), { position: 'relative', overflow: 'hidden' }), hoverStyle: __assign(__assign({}, hoverStyle), { position: 'relative', overflow: 'hidden' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); } }, { children: (0, jsx_runtime_1.jsxs)(S_SwiperWrapper, __assign({ customStyle: isHovered ? slideBannerHoverStyle === null || slideBannerHoverStyle === void 0 ? void 0 : slideBannerHoverStyle.customStyle : slideBannerNormalStyle === null || slideBannerNormalStyle === void 0 ? void 0 : slideBannerNormalStyle.customStyle }, { children: [(0, jsx_runtime_1.jsx)(SlideBannerCore_1.default, __assign({ ref: swiperRef, onSwiper: handleSwiper, onSlideChange: handleSlideChange, onAutoplayTimeLeft: handleAutoplayTimeLeft, slidesPerView: CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS, scrollbar: isHovered ? slideBannerHoverStyle.scrollbar : slideBannerNormalStyle.scrollbar, freeMode: isHovered ? slideBannerHoverStyle.freeMode : slideBannerNormalStyle.freeMode, autoplay: isHovered ? slideBannerHoverStyle.autoplay : slideBannerNormalStyle.autoplay, useAutoplay: isHovered ? slideBannerHoverStyle.useAutoplay : slideBannerNormalStyle.useAutoplay, loop: isHovered ? slideBannerHoverStyle.loop : slideBannerNormalStyle.loop }, { children: (0, createCompositions_1.createCompositions)({
127
+ valueType: CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE,
128
+ queryPath: CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA,
129
+ queryData: queryData,
130
+ compositions: compositions
131
+ }) })), (0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { type: isHovered ? customPaginationHoverStyle.type : customPaginationNormalStyle.type, offset: isHovered ? customPaginationHoverStyle.offset : customPaginationNormalStyle.offset, current: currentSlide, total: totalPages, size: isHovered ? customPaginationHoverStyle.size : customPaginationNormalStyle.size, onBulletClick: handleBulletClick }), (0, jsx_runtime_1.jsx)(CustomNavigation_1.CustomNavigation, { prevBtnDisabled: isBeginning, prevBtnType: isHovered
132
+ ? customNavigationHoverStyle.prevBtnType
133
+ : customNavigationNormalStyle.prevBtnType, prevBtnOffset: isHovered
134
+ ? customNavigationHoverStyle.prevBtnOffset
135
+ : customNavigationNormalStyle.prevBtnOffset, prevBtnSize: isHovered
136
+ ? customNavigationHoverStyle.prevBtnSize
137
+ : customNavigationNormalStyle.prevBtnSize, onPrevBtnClick: handlePrevBtnClick, nextBtnDisabled: isEnd, nextBtnType: isHovered
138
+ ? customNavigationHoverStyle.nextBtnType
139
+ : customNavigationNormalStyle.nextBtnType, nextBtnOffset: isHovered
140
+ ? customNavigationHoverStyle.nextBtnOffset
141
+ : customNavigationNormalStyle.nextBtnOffset, nextBtnSize: isHovered
142
+ ? customNavigationHoverStyle.nextBtnSize
143
+ : customNavigationNormalStyle.nextBtnSize, onNextBtnClick: handleNextBtnClick }), (0, jsx_runtime_1.jsx)(CustomProgressbar_1.CustomProgressbar, { progressRef: progressRef, leftTimeMsRef: leftTimeMsRef, type: isHovered ? customProgressbarHoverStyle.type : customProgressbarNormalStyle.type, size: isHovered ? customProgressbarHoverStyle.size : customProgressbarNormalStyle.size, offset: isHovered ? customProgressbarHoverStyle.offset : customProgressbarNormalStyle.offset })] })) })) })));
144
+ }
145
+ var S_SwiperWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n ", "\n"], ["\n height: 100%;\n width: 100%;\n ", "\n"])), function (_a) {
146
+ var customStyle = _a.customStyle;
147
+ return customStyle;
148
+ });
149
+ exports.default = SlideBanner;
150
+ var templateObject_1;