pds-dev-kit-web-test 2.5.419 → 2.5.420

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 (409) 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/useAbsolutePositioner.js +2 -2
  16. package/dist/src/common/hooks/useTooltip.d.ts +2 -2
  17. package/dist/src/common/hooks/useTooltip.js +2 -2
  18. package/dist/src/common/services/i18n/resources/en.json +1 -9
  19. package/dist/src/common/services/i18n/resources/es.json +1 -9
  20. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  21. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  22. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  23. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  24. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  25. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  26. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  27. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  28. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  29. package/dist/src/common/styles/colorSet/index.d.ts +2 -31
  30. package/dist/src/common/styles/colorSet/index.js +2 -2
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  32. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
  33. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
  34. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
  35. package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
  36. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
  37. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  38. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  39. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  40. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
  41. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  42. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  43. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +2 -4
  44. package/dist/src/desktop/components/BasicListItem/Contents.js +3 -3
  45. package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
  46. package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  47. package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
  48. package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
  49. package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
  50. package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
  51. package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
  52. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  53. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  54. package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
  55. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  56. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  57. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  58. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  59. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  60. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
  61. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
  62. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
  63. package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
  64. package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
  65. package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
  66. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  67. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  68. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
  69. package/dist/src/desktop/components/Select/Select.js +1 -1
  70. package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
  71. package/dist/src/desktop/components/Slider/Slider.js +1 -1
  72. package/dist/src/desktop/components/TextField/TextField.js +16 -42
  73. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
  74. package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
  75. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
  76. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
  77. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  78. package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
  79. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
  80. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  81. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  82. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  83. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  84. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +2 -4
  85. package/dist/src/mobile/components/BasicListItem/Contents.js +3 -3
  86. package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
  87. package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  88. package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
  89. package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
  90. package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
  91. package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
  92. package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
  93. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  94. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  95. package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
  96. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  97. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  98. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  99. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  100. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  101. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
  102. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
  103. package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
  104. package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
  105. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  106. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  107. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
  108. package/dist/src/mobile/components/Select/Select.js +1 -1
  109. package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
  110. package/dist/src/mobile/components/Slider/Slider.js +1 -1
  111. package/dist/src/mobile/components/TextField/TextField.js +16 -42
  112. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  113. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  114. package/dist/src/mobile/components/index.d.ts +1 -2
  115. package/dist/src/mobile/components/index.js +1 -3
  116. package/dist/src/mobile/index.d.ts +1 -1
  117. package/dist/src/mobile/index.js +2 -3
  118. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  119. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  120. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  121. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  122. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  123. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  124. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  125. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  126. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  127. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  128. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  129. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  130. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  131. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  132. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  133. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  134. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  135. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  136. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  137. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  138. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  139. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -1
  140. package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
  141. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
  142. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  143. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
  144. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
  145. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
  146. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  147. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
  148. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +6 -6
  149. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
  150. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  151. package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
  152. package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
  153. package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
  154. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
  155. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  156. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
  157. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +7 -8
  158. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
  159. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
  160. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +4 -5
  161. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
  162. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
  163. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  164. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
  165. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
  166. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -13
  167. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
  168. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +2 -4
  169. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
  170. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  171. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  172. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  173. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  174. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  175. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  176. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  177. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  178. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  179. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  180. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  181. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  182. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
  183. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
  184. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
  185. package/dist/src/sub/DynamicLayout/mock_composition.js +43 -852
  186. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
  187. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1071
  188. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
  189. package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1017
  190. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -842
  191. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -803
  192. package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
  193. package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
  194. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +1 -1
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +11 -32
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +58 -153
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +1 -5
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +57 -6
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -10
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +33 -31
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +1 -3
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +24 -47
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +13 -3
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +316 -144
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +24 -39
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -2
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +96 -47
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -5
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +2 -2
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -58
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +2 -12
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +7 -15
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +2 -2
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +30 -95
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +1 -5
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +57 -6
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -9
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +33 -31
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +1 -3
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +24 -47
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +4 -4
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -168
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +7 -47
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -12
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +5 -12
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -16
  261. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  262. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +3 -3
  263. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  264. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  265. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
  266. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
  267. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
  268. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
  269. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
  270. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  271. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
  272. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
  273. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
  274. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
  275. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
  276. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
  277. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
  278. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  279. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  280. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  281. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
  282. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
  283. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
  284. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
  285. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  286. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
  287. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
  288. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
  289. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
  290. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  291. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
  292. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
  293. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
  294. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  295. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
  296. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
  297. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
  298. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
  299. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
  300. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
  301. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
  302. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  303. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  304. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  305. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
  306. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
  307. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  308. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
  309. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
  310. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
  311. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
  312. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  313. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
  314. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
  315. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
  316. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  317. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  318. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  319. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  320. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
  321. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
  322. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  323. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
  324. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  325. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
  326. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
  327. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
  328. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
  329. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
  330. package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
  331. package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
  332. package/package.json +3 -2
  333. package/release-note.md +3 -3
  334. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  335. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  336. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  337. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  338. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  339. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  340. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  341. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  342. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  343. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  344. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  345. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  346. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  347. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  348. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  349. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  350. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  351. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  352. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  353. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  354. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  355. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  356. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  357. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  358. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  359. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  360. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  361. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  362. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  363. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  364. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  365. package/dist/src/common/utils/dateHelper.js +0 -87
  366. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  367. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  368. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  369. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  370. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  371. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  372. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  373. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  374. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  375. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  376. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  377. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  378. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  379. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  380. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  381. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  382. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  383. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  384. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  385. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  386. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  387. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  388. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  389. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  390. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  391. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  392. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
  393. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
  394. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  395. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  396. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  397. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  398. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  399. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  400. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  401. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  402. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  403. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  404. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  405. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
  406. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  407. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  408. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
  409. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { Layout } from 'publ-echo/dist/lib';
3
- import type { ResizeEventType } from 'publ-echo/dist/lib/GridItem/types';
4
- import type { ComponentBlock, GroupBlock } from 'publ-echo/dist/lib/GridLayoutEditor/group';
5
- import type { LayoutItem, Layouts } from 'publ-echo/dist/lib/GridLayoutEditor/types';
2
+ import type { Layout } from 'publ-echo-test/dist/lib';
3
+ import type { ResizeEventType } from 'publ-echo-test/dist/lib/GridItem/types';
4
+ import type { ComponentBlock, GroupBlock } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
5
+ import type { LayoutItem, Layouts } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
6
6
  export type TypeOfSectionAction = ActionMap<ActionHandlerPayload>[keyof ActionMap<ActionHandlerPayload>];
7
7
  export type PayloadCBType = {
8
8
  type: ComponentBlock['type'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ISection } from '../../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -51,13 +51,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
51
51
  };
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
53
  var jsx_runtime_1 = require("react/jsx-runtime");
54
- var publ_echo_1 = require("publ-echo");
55
- var group_1 = require("publ-echo/dist/lib/GridLayoutEditor/group");
56
- var renderHelpers_1 = require("publ-echo/dist/lib/GridLayoutEditor/utils/renderHelpers");
54
+ var publ_echo_test_1 = require("publ-echo-test");
55
+ var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
56
+ var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
57
57
  var react_1 = __importStar(require("react"));
58
- var ErrorBoundary_1 = require("../../../DynamicLayout/components/Section/ErrorBoundary");
59
- var dynamicLayoutContext_1 = require("../../../DynamicLayout/dynamicLayoutContext");
60
- var gleStyles_1 = require("../../../DynamicLayout/gleStyles");
58
+ var ErrorBoundary_1 = require("@sub/DynamicLayout/components/Section/ErrorBoundary");
59
+ var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
60
+ var gleStyles_1 = require("@sub/DynamicLayout/gleStyles");
61
61
  var styled_components_1 = __importDefault(require("styled-components"));
62
62
  var components_1 = require("../../components");
63
63
  var ComponentBlockMatcher_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcher"));
@@ -66,7 +66,7 @@ var clsx_1 = require("./newUtils/clsx");
66
66
  var group_2 = require("./newUtils/group");
67
67
  var util_1 = require("./util");
68
68
  var parseSectionPadding_1 = __importDefault(require("./util/layoutPropParsers/parseSectionPadding"));
69
- var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor);
69
+ var Responsive = (0, publ_echo_test_1.WidthProvider)(publ_echo_test_1.ResponsiveGridEditor);
70
70
  var GRID_CELL_MIN = 24;
71
71
  var DESKTOP_GRID_COLS = 24;
72
72
  var MOBILE_GRID_COLS = 8;
@@ -27,6 +27,12 @@ function FlexGridItem(_a) {
27
27
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
28
28
  var defaultHeight = getMaxHeight(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device, rowHeight);
29
29
  var gridArea = getGridAreaFromCB(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
30
+ // const zIndex =
31
+ // device === 'DESKTOP'
32
+ // ? cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX
33
+ // : cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT[
34
+ // 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE'
35
+ // ];
30
36
  return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ "data-cb-id": cb.id, style: {
31
37
  zIndex: zIndex,
32
38
  gridArea: gridArea
@@ -45,26 +51,24 @@ function getMaxHeight(props, device, rowHeight) {
45
51
  var height = rowsMobile * rowHeight + (rowsMobile - 1) * gap;
46
52
  return height;
47
53
  }
48
- function clamp(num, min, max) {
49
- return Math.max(Math.min(num, max), min);
50
- }
51
54
  function getGridAreaFromCB(props, device) {
52
55
  var CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX, CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY, cols = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS, rows = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
53
56
  if (device === 'DESKTOP') {
54
- var colStart_1 = clamp(CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX + 1, 1, Math.max(1, 25 - cols));
55
- var rowStart_1 = clamp(CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY + 1, 1, Infinity);
56
- var rowEnd_1 = clamp(rows + rowStart_1, rowStart_1 + 1, Infinity);
57
- var colEnd_1 = clamp(colStart_1 + cols, colStart_1 + 1, 25);
57
+ var colStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX + 1;
58
+ var rowStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY + 1;
59
+ var rowEnd_1 = rows + rowStart_1;
60
+ var colEnd_1 = cols + colStart_1;
61
+ // <grid-row-start> / <grid-column-start> / <grid-row-end> / <grid-column-end>;
58
62
  return "".concat(rowStart_1, " / ").concat(colStart_1, " / ").concat(rowEnd_1, " / ").concat(colEnd_1);
59
63
  }
60
64
  var startXMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE'];
61
65
  var startYMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE'];
62
66
  var colsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'];
63
67
  var rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
64
- var colStart = clamp(startXMobile + 1, 1, Math.max(1, 9 - colsMobile));
65
- var rowStart = clamp(startYMobile + 1, 1, Infinity);
66
- var rowEnd = clamp(rowsMobile + rowStart, rowStart + 1, Infinity);
67
- var colEnd = clamp(colStart + colsMobile, colStart + 1, 9);
68
+ var colStart = startXMobile + 1;
69
+ var rowStart = startYMobile + 1;
70
+ var rowEnd = rowsMobile + rowStart;
71
+ var colEnd = colsMobile + colStart;
68
72
  return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
69
73
  }
70
74
  exports.default = FlexGridItem;
@@ -28,7 +28,6 @@ var RichText_1 = require("./componentBlocks/RichText");
28
28
  var SlideBanner_1 = require("./componentBlocks/SlideBanner");
29
29
  var Text_1 = __importDefault(require("./componentBlocks/Text/Text"));
30
30
  var Twitter_1 = __importDefault(require("./componentBlocks/Twitter/Twitter"));
31
- var VideoPlayer_1 = require("./componentBlocks/VideoPlayer");
32
31
  var Youtube_1 = require("./componentBlocks/Youtube");
33
32
  function ComponentBlockMatcher(_a) {
34
33
  var cbProps = _a.cbProps, device = _a.device, index = _a.index;
@@ -51,8 +50,6 @@ function ComponentBlockMatcher(_a) {
51
50
  return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, propsWithValue, { index: index }));
52
51
  case types_1.CB_ALL_CODES.CB_EMBED:
53
52
  return (0, jsx_runtime_1.jsx)(Embed_1.default, __assign({}, propsWithValue, { index: index }));
54
- case types_1.CB_ALL_CODES.CB_VIDEOPLAYER:
55
- return (0, jsx_runtime_1.jsx)(VideoPlayer_1.VideoPlayer, __assign({}, propsWithValue, { index: index }));
56
53
  case types_1.CB_ALL_CODES.CB_CONTENTSCAROUSEL: {
57
54
  var compositions = cbProps.compositions;
58
55
  return ((0, jsx_runtime_1.jsx)(ContentsCarousel_1.ContentsCarousel, __assign({}, propsWithValue, { compositions: compositions, index: index })));
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
2
+ import type { CB_BTN_PROPERTIES_TYPE, IndexForIntersection } from '@sub/DynamicLayout/sections/CustomSection/util/types';
3
3
  type Props = CB_BTN_PROPERTIES_TYPE & IndexForIntersection;
4
4
  declare function Button(props: Props): JSX.Element;
5
5
  export default Button;
@@ -28,13 +28,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
28
28
  var jsx_runtime_1 = require("react/jsx-runtime");
29
29
  /* eslint-disable react/destructuring-assignment */
30
30
  var react_1 = require("react");
31
- var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
32
- var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
33
- var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
34
- var useGoogleFonts_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks/useGoogleFonts");
35
- var newUtils_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils");
36
- var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
37
- var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
31
+ var DynamicLayout_1 = require("@sub/DynamicLayout");
32
+ var compositionQueryContext_1 = require("@sub/DynamicLayout/compositionQueryContext");
33
+ var hooks_1 = require("@sub/DynamicLayout/sections/CustomSection/hooks");
34
+ var useGoogleFonts_1 = require("@sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts");
35
+ var newUtils_1 = require("@sub/DynamicLayout/sections/CustomSection/newUtils");
36
+ var colorUtil_1 = require("@sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil");
37
+ var util_1 = require("@sub/DynamicLayout/sections/CustomSection/util");
38
38
  var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
39
39
  var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
40
40
  var S_HiddenCover_1 = require("../components/S_HiddenCover");
@@ -44,14 +44,13 @@ function Button(props) {
44
44
  var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
45
45
  var index = props.index, CB_STYLE_PROP_COLOR = props.CB_STYLE_PROP_COLOR, _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;
46
46
  var cLinkValue = function () {
47
- if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA' ||
48
- CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
47
+ if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA') {
49
48
  if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
50
- return '';
49
+ return "ERROR: QueryData NOT FOUND";
51
50
  }
52
51
  var link = queryContext.queryData[CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA];
53
52
  if (!link) {
54
- return '';
53
+ return "ERROR: ".concat(CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, " NOT found from queryData");
55
54
  }
56
55
  return link;
57
56
  }
@@ -83,26 +82,6 @@ function Button(props) {
83
82
  : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
84
83
  var hasEffect = !isNoneEffectType;
85
84
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
86
- var textValue = function () {
87
- if (device === 'MOBILE' &&
88
- mode !== 'EDIT' &&
89
- props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB === false) {
90
- return '';
91
- }
92
- if (device === 'DESKTOP' &&
93
- mode !== 'EDIT' &&
94
- props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP === false) {
95
- return '';
96
- }
97
- if (device === 'MOBILE') {
98
- var value = props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE;
99
- if (value === null || value === undefined) {
100
- return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
101
- }
102
- return value;
103
- }
104
- return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
105
- };
106
85
  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, style: {
107
86
  paddingLeft: paddingLeft,
108
87
  paddingRight: paddingRight,
@@ -110,7 +89,7 @@ function Button(props) {
110
89
  paddingTop: paddingTop
111
90
  } }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ onMouseLeave: function (e) {
112
91
  e.currentTarget.classList.remove('hovered');
113
- }, className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign(__assign({}, btnTextStyle), propsStyle), layoutStyle), effectCssProperties), btnColorStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor }), hoverStyle: __assign(__assign(__assign(__assign({}, btnTextHoverStyle), propsHoverStyle), btnColorHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: textValue() })) }))] }));
92
+ }, className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign(__assign({}, btnTextStyle), propsStyle), layoutStyle), effectCssProperties), btnColorStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor }), hoverStyle: __assign(__assign(__assign(__assign({}, btnTextHoverStyle), propsHoverStyle), btnColorHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT })) }))] }));
114
93
  }
115
94
  function getBTNStyles(props, device) {
116
95
  var availableSpecCodes = [
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import type { CB_CONTENTSCAROUSEL } from '../../../../../../../DynamicLayout/sections/CustomSection/types';
3
- import type { CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
2
+ import type { CB_CONTENTSCAROUSEL } from '@sub/DynamicLayout/sections/CustomSection/types';
3
+ import type { CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, IndexForIntersection } from '@sub/DynamicLayout/sections/CustomSection/util/types';
4
4
  type Props = CB_CONTENTSCAROUSEL_PROPERTIES_TYPE & IndexForIntersection & {
5
5
  compositions: CB_CONTENTSCAROUSEL['compositions'];
6
6
  };
@@ -14,44 +14,24 @@ var __assign = (this && this.__assign) || function () {
14
14
  };
15
15
  return __assign.apply(this, arguments);
16
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
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
41
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
42
19
  };
43
20
  Object.defineProperty(exports, "__esModule", { value: true });
44
21
  var jsx_runtime_1 = require("react/jsx-runtime");
22
+ /* eslint-disable @typescript-eslint/no-unused-vars */
45
23
  var react_1 = require("react");
46
- var createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
47
- var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
48
- var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
49
- var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
50
- var styled_components_1 = __importStar(require("styled-components"));
24
+ require("@sub/DynamicLayout/compositionQueryContext");
25
+ require("@sub/DynamicLayout/CompositionRenderer/Composition");
26
+ var createCompositions_1 = require("@sub/DynamicLayout/CompositionRenderer/createCompositions");
27
+ var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
28
+ var hooks_1 = require("@sub/DynamicLayout/sections/CustomSection/hooks");
29
+ var util_1 = require("@sub/DynamicLayout/sections/CustomSection/util");
30
+ var styled_components_1 = __importDefault(require("styled-components"));
51
31
  var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
52
32
  var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
53
33
  var CustomNavigation_1 = require("./components/CustomNavigation");
54
- // import { CustomPagination } from './components/CustomPagination';
34
+ var CustomPagination_1 = require("./components/CustomPagination");
55
35
  var CustomProgressbar_1 = require("./components/CustomProgressbar");
56
36
  var ContentsCarouselCore_1 = __importDefault(require("./ContentsCarouselCore"));
57
37
  var contentsCarouselUtils_1 = require("./contentsCarouselUtils");
@@ -59,7 +39,7 @@ function ContentsCarousel(props) {
59
39
  var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode, queryData = _a.queryData;
60
40
  var index = props.index,
61
41
  // // CONTENT : 캐로셀
62
- _b = props.CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA,
42
+ _b = props.CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE, CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA,
63
43
  // STYLE: 캐로셀
64
44
  CB_STYLE_PROP_CONTENTSCAROUSEL = props.CB_STYLE_PROP_CONTENTSCAROUSEL,
65
45
  // STYLE: 그림자
@@ -68,33 +48,31 @@ function ContentsCarousel(props) {
68
48
  CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
69
49
  var compositions = props.compositions;
70
50
  var _c = (0, react_1.useState)(false), isHovered = _c[0], setIsHovered = _c[1];
71
- // const [currentSlide, setCurrentSlide] = useState(1);
72
- // const [totalPages, setTotalPages] = useState(0);
73
- var _d = (0, react_1.useState)(true), isBeginning = _d[0], setIsBeginning = _d[1];
74
- var _e = (0, react_1.useState)(false), isEnd = _e[0], setIsEnd = _e[1];
51
+ var _d = (0, react_1.useState)(1), currentSlide = _d[0], setCurrentSlide = _d[1];
52
+ var _e = (0, react_1.useState)(0), totalPages = _e[0], setTotalPages = _e[1];
53
+ var _f = (0, react_1.useState)(true), isBeginning = _f[0], setIsBeginning = _f[1];
54
+ var _g = (0, react_1.useState)(false), isEnd = _g[0], setIsEnd = _g[1];
75
55
  var progressRef = (0, react_1.useRef)(0);
76
56
  var leftTimeMsRef = (0, react_1.useRef)(0);
77
57
  var swiperRef = (0, react_1.useRef)(null);
78
- var _f = (0, contentsCarouselUtils_1.parseCarouselStyleToCarouselCoreProp)({
58
+ var _h = (0, contentsCarouselUtils_1.parseCarouselStyleToCarouselCoreProp)({
79
59
  props: CB_STYLE_PROP_CONTENTSCAROUSEL,
80
60
  contentsPropsPartials: { CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS },
81
61
  device: device
82
- }), contentsCarouselNormalStyle = _f.normalStyle, contentsCarouselHoverStyle = _f.hoverStyle;
83
- // const { normalStyle: customPaginationNormalStyle, hoverStyle: customPaginationHoverStyle } =
84
- // parseCarouselStyleToCustomPaginationProp({
85
- // props: CB_STYLE_PROP_CONTENTSCAROUSEL,
86
- // device
87
- // });
88
- var _g = (0, contentsCarouselUtils_1.parseCarouselStyleToCustomNavigationProp)({
62
+ }), contentsCarouselNormalStyle = _h.normalStyle, contentsCarouselHoverStyle = _h.hoverStyle;
63
+ var _j = (0, contentsCarouselUtils_1.parseCarouselStyleToCustomPaginationProp)({
64
+ props: CB_STYLE_PROP_CONTENTSCAROUSEL,
65
+ device: device
66
+ }), customPaginationNormalStyle = _j.normalStyle, customPaginationHoverStyle = _j.hoverStyle;
67
+ var _k = (0, contentsCarouselUtils_1.parseCarouselStyleToCustomNavigationProp)({
89
68
  props: CB_STYLE_PROP_CONTENTSCAROUSEL,
90
69
  device: device
91
- }), customNavigationNormalStyle = _g.normalStyle, customNavigationHoverStyle = _g.hoverStyle;
92
- var _h = (0, contentsCarouselUtils_1.parseCarouselStyleToCustomProgressbarProp)({
70
+ }), customNavigationNormalStyle = _k.normalStyle, customNavigationHoverStyle = _k.hoverStyle;
71
+ var _l = (0, contentsCarouselUtils_1.parseCarouselStyleToCustomProgressbarProp)({
93
72
  props: CB_STYLE_PROP_CONTENTSCAROUSEL,
94
73
  device: device
95
- }), customProgressbarNormalStyle = _h.normalStyle, customProgressbarHoverStyle = _h.hoverStyle;
96
- var _j = (0, util_1.parseProperties)(props, device), style = _j.style, hoverStyle = _j.hoverStyle, layout = _j.layout, effect = _j.effect;
97
- var loop = isHovered ? contentsCarouselHoverStyle.loop : contentsCarouselNormalStyle.loop;
74
+ }), customProgressbarNormalStyle = _l.normalStyle, customProgressbarHoverStyle = _l.hoverStyle;
75
+ var _m = (0, util_1.parseProperties)(props, device), style = _m.style, hoverStyle = _m.hoverStyle, layout = _m.layout, effect = _m.effect;
98
76
  // NOTE: edit모드에서는 그리드의 이벤트만 작동하도록 CB의 포인터 이벤트는 막습니다.
99
77
  var editModeStyle = mode === 'EDIT' ? { pointerEvents: 'none' } : {};
100
78
  // NOTE: EFFECT와 관련된 함수들입니다.
@@ -115,63 +93,30 @@ function ContentsCarousel(props) {
115
93
  (_c = swiperRef.current) === null || _c === void 0 ? void 0 : _c.swiper.update();
116
94
  }, [isHovered]);
117
95
  var handleSwiper = function (swiper) {
118
- // NOTE: 페이지네이션 관련 로직 임시 주석 처리
119
- // const originalSlides = Array.from(swiper.slides).filter(
120
- // (slide) => !slide.classList.contains('swiper-slide-duplicate')
121
- // );
122
- // const totalSlides = originalSlides.length;
123
- // const slidesPerView =
124
- // typeof swiper.params.slidesPerView === 'number' ? swiper.params.slidesPerView : 1;
125
- // const slidesPerGroup =
126
- // typeof swiper.params.slidesPerGroup === 'number' ? swiper.params.slidesPerGroup : 1;
127
- // const isLoop = swiper.params.loop || false;
128
- // let totalPages;
129
- // if (slidesPerView === slidesPerGroup && slidesPerGroup > 1) {
130
- // // 페이지 단위로 넘어가는 경우 (loop 여부 상관없이 동일)
131
- // totalPages = Math.ceil(totalSlides / slidesPerGroup);
132
- // } else if (isLoop) {
133
- // totalPages = totalSlides;
134
- // } else {
135
- // // loop가 꺼져있으면 마지막 슬라이드가 첫 번째 위치에 올 수 있는 경우까지만
136
- // totalPages = Math.max(1, totalSlides - slidesPerView + 1);
137
- // }
138
- // setTotalPages(totalPages);
96
+ var totalSlides = swiper.slides.length;
97
+ var slidesPerView = typeof swiper.params.slidesPerView === 'number' ? swiper.params.slidesPerView : 1;
98
+ var slidesPerGroup = typeof swiper.params.slidesPerGroup === 'number' ? swiper.params.slidesPerGroup : 1;
99
+ var totalPages = Math.ceil((totalSlides - slidesPerView) / slidesPerGroup) + 1;
100
+ setTotalPages(totalPages);
139
101
  setIsBeginning(swiper.isBeginning);
140
102
  setIsEnd(swiper.isEnd);
103
+ setCurrentSlide(swiper.activeIndex + 1);
141
104
  };
142
- var handleSlideChangeTransitionEnd = function (swiper) {
143
- // NOTE: 페이지네이션 관련 로직 임시 주석 처리
144
- // const slidesPerGroup =
145
- // typeof swiper.params.slidesPerGroup === 'number' ? swiper.params.slidesPerGroup : 1;
146
- // const slidesPerView =
147
- // typeof swiper.params.slidesPerView === 'number' ? swiper.params.slidesPerView : 1;
148
- // const isLoop = swiper.params.loop || false;
149
- // // 현재 페이지 계산
150
- // if (slidesPerView === slidesPerGroup && slidesPerGroup > 1) {
151
- // // 페이지 단위로 이동하는 경우
152
- // const currentPage = Math.floor(swiper.realIndex / slidesPerGroup) + 1;
153
- // setCurrentSlide(currentPage);
154
- // } else if (isLoop) {
155
- // // loop 모드에서는 realIndex가 실제 슬라이드 인덱스
156
- // setCurrentSlide(swiper.realIndex + 1);
157
- // } else {
158
- // // loop가 꺼져있을 때는 activeIndex 사용
159
- // setCurrentSlide(swiper.activeIndex + 1);
160
- // }
105
+ var handleSlideChange = function (swiper) {
161
106
  setIsBeginning(swiper.isBeginning);
162
107
  setIsEnd(swiper.isEnd);
108
+ setCurrentSlide(swiper.activeIndex + 1);
163
109
  };
164
- var handleAutoplayTimeLeft = (0, react_1.useCallback)(function (_, time, progress) {
110
+ var handleAutoplayTimeLeft = (0, react_1.useCallback)(function (swiper, time, progress) {
165
111
  leftTimeMsRef.current = time;
166
112
  progressRef.current = progress;
167
113
  }, []);
168
- // NOTE: 페이지네이션 관련 로직 임시 주석 처리
169
- // const handleBulletClick = (index: number) => {
170
- // if (swiperRef.current) {
171
- // const targetIndex = (swiperRef.current.swiper.params.slidesPerGroup || 1) * index;
172
- // swiperRef.current.swiper.slideTo(targetIndex);
173
- // }
174
- // };
114
+ var handleBulletClick = function (index) {
115
+ if (swiperRef.current) {
116
+ var targetIndex = (swiperRef.current.swiper.params.slidesPerGroup || 1) * index;
117
+ swiperRef.current.swiper.slideTo(targetIndex);
118
+ }
119
+ };
175
120
  var handlePrevBtnClick = function () {
176
121
  if (swiperRef.current) {
177
122
  swiperRef.current.swiper.slidePrev();
@@ -182,78 +127,38 @@ function ContentsCarousel(props) {
182
127
  swiperRef.current.swiper.slideNext();
183
128
  }
184
129
  };
185
- 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), { borderBottomLeftRadius: style.borderBottomLeftRadius, borderBottomRightRadius: style.borderBottomRightRadius, borderTopLeftRadius: style.borderTopLeftRadius, borderTopRightRadius: style.borderTopRightRadius, borderWidth: undefined, borderColor: undefined, borderStyle: undefined }), hoverStyle: __assign(__assign({}, hoverStyle), { borderBottomLeftRadius: hoverStyle.borderBottomLeftRadius, borderBottomRightRadius: hoverStyle.borderBottomRightRadius, borderTopLeftRadius: hoverStyle.borderTopLeftRadius, borderTopRightRadius: hoverStyle.borderTopRightRadius, borderWidth: undefined, borderColor: undefined, borderStyle: undefined }), 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
130
+ 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
186
131
  ? contentsCarouselHoverStyle === null || contentsCarouselHoverStyle === void 0 ? void 0 : contentsCarouselHoverStyle.customStyle
187
- : contentsCarouselNormalStyle === null || contentsCarouselNormalStyle === void 0 ? void 0 : contentsCarouselNormalStyle.customStyle }, { children: [(0, jsx_runtime_1.jsx)(S_SwiperLayout, __assign({ borderStyle: {
188
- borderBottomLeftRadius: style.borderBottomLeftRadius,
189
- borderBottomRightRadius: style.borderBottomRightRadius,
190
- borderTopLeftRadius: style.borderTopLeftRadius,
191
- borderTopRightRadius: style.borderTopRightRadius,
192
- borderWidth: style.borderWidth,
193
- borderColor: style.borderColor,
194
- borderStyle: style.borderStyle
195
- }, hoverBorderStyle: {
196
- borderBottomLeftRadius: hoverStyle.borderBottomLeftRadius,
197
- borderBottomRightRadius: hoverStyle.borderBottomRightRadius,
198
- borderTopLeftRadius: hoverStyle.borderTopLeftRadius,
199
- borderTopRightRadius: hoverStyle.borderTopRightRadius,
200
- borderWidth: hoverStyle.borderWidth,
201
- borderColor: hoverStyle.borderColor,
202
- borderStyle: hoverStyle.borderStyle
203
- } }, { children: (0, jsx_runtime_1.jsx)(ContentsCarouselCore_1.default, __assign({ ref: swiperRef, className: "contents-carousel-core", onSwiper: handleSwiper, onSlideChangeTransitionEnd: handleSlideChangeTransitionEnd, onAutoplayTimeLeft: handleAutoplayTimeLeft, slidesPerView: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, scrollbar: isHovered
204
- ? contentsCarouselHoverStyle.scrollbar
205
- : contentsCarouselNormalStyle.scrollbar, slidesPerGroup: isHovered
206
- ? contentsCarouselHoverStyle.slidesPerGroup
207
- : contentsCarouselNormalStyle.slidesPerGroup, spaceBetween: isHovered
208
- ? contentsCarouselHoverStyle.spaceBetween
209
- : contentsCarouselNormalStyle.spaceBetween, freeMode: isHovered
210
- ? contentsCarouselHoverStyle.freeMode
211
- : contentsCarouselNormalStyle.freeMode, autoplay: isHovered
212
- ? contentsCarouselHoverStyle.autoplay
213
- : contentsCarouselNormalStyle.autoplay, useAutoplay: isHovered
214
- ? contentsCarouselHoverStyle.useAutoplay
215
- : contentsCarouselNormalStyle.useAutoplay, loop: isHovered ? contentsCarouselHoverStyle.loop : contentsCarouselNormalStyle.loop }, { children: (0, createCompositions_1.createCompositions)({
216
- valueType: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE,
217
- queryPath: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA,
218
- limit: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS,
219
- queryData: queryData,
220
- compositions: compositions
221
- }) })) })), (0, jsx_runtime_1.jsx)(CustomNavigation_1.CustomNavigation, { prevBtnDisabled: loop ? false : isBeginning, prevBtnType: isHovered
132
+ : contentsCarouselNormalStyle === null || contentsCarouselNormalStyle === void 0 ? void 0 : contentsCarouselNormalStyle.customStyle }, { children: [(0, jsx_runtime_1.jsx)(ContentsCarouselCore_1.default, __assign({ ref: swiperRef, className: "contents-carousel-core", onSwiper: handleSwiper, onSlideChange: handleSlideChange, onAutoplayTimeLeft: handleAutoplayTimeLeft, slidesPerView: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, scrollbar: isHovered
133
+ ? contentsCarouselHoverStyle.scrollbar
134
+ : contentsCarouselNormalStyle.scrollbar, slidesPerGroup: isHovered
135
+ ? contentsCarouselHoverStyle.slidesPerGroup
136
+ : contentsCarouselNormalStyle.slidesPerGroup, spaceBetween: isHovered
137
+ ? contentsCarouselHoverStyle.spaceBetween
138
+ : contentsCarouselNormalStyle.spaceBetween, freeMode: isHovered ? contentsCarouselHoverStyle.freeMode : contentsCarouselNormalStyle.freeMode, autoplay: isHovered ? contentsCarouselHoverStyle.autoplay : contentsCarouselNormalStyle.autoplay, useAutoplay: isHovered
139
+ ? contentsCarouselHoverStyle.useAutoplay
140
+ : contentsCarouselNormalStyle.useAutoplay, loop: isHovered ? contentsCarouselHoverStyle.loop : contentsCarouselNormalStyle.loop }, { children: (0, createCompositions_1.createCompositions)({
141
+ valueType: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE,
142
+ queryPath: CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA,
143
+ queryData: queryData,
144
+ compositions: compositions
145
+ }) })), (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
222
146
  ? customNavigationHoverStyle.prevBtnType
223
147
  : customNavigationNormalStyle.prevBtnType, prevBtnOffset: isHovered
224
148
  ? customNavigationHoverStyle.prevBtnOffset
225
149
  : customNavigationNormalStyle.prevBtnOffset, prevBtnSize: isHovered
226
150
  ? customNavigationHoverStyle.prevBtnSize
227
- : customNavigationNormalStyle.prevBtnSize, prevBtnPrimaryColor: isHovered
228
- ? customNavigationHoverStyle.prevBtnPrimaryColor
229
- : customNavigationNormalStyle.prevBtnPrimaryColor, prevBtnSecondaryColor: isHovered
230
- ? customNavigationHoverStyle.prevBtnSecondaryColor
231
- : customNavigationNormalStyle.prevBtnSecondaryColor, onPrevBtnClick: handlePrevBtnClick, nextBtnDisabled: loop ? false : isEnd, nextBtnType: isHovered
151
+ : customNavigationNormalStyle.prevBtnSize, onPrevBtnClick: handlePrevBtnClick, nextBtnDisabled: isEnd, nextBtnType: isHovered
232
152
  ? customNavigationHoverStyle.nextBtnType
233
153
  : customNavigationNormalStyle.nextBtnType, nextBtnOffset: isHovered
234
154
  ? customNavigationHoverStyle.nextBtnOffset
235
155
  : customNavigationNormalStyle.nextBtnOffset, nextBtnSize: isHovered
236
156
  ? customNavigationHoverStyle.nextBtnSize
237
- : customNavigationNormalStyle.nextBtnSize, nextBtnPrimaryColor: isHovered
238
- ? customNavigationHoverStyle.nextBtnPrimaryColor
239
- : customNavigationNormalStyle.nextBtnPrimaryColor, nextBtnSecondaryColor: isHovered
240
- ? customNavigationHoverStyle.nextBtnSecondaryColor
241
- : customNavigationNormalStyle.nextBtnSecondaryColor, 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, primaryColor: isHovered
242
- ? customProgressbarHoverStyle.primaryColor
243
- : customProgressbarNormalStyle.primaryColor, secondaryColor: isHovered
244
- ? customProgressbarHoverStyle.secondaryColor
245
- : customProgressbarNormalStyle.secondaryColor })] })) })) })));
157
+ : 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 })] })) })) })));
246
158
  }
247
159
  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) {
248
160
  var customStyle = _a.customStyle;
249
161
  return customStyle;
250
162
  });
251
- var S_SwiperLayout = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"], ["\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"])), function (_a) {
252
- var hoverBorderStyle = _a.hoverBorderStyle;
253
- return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, hoverBorderStyle), { boxShadow: '' }));
254
- }, function (_a) {
255
- var borderStyle = _a.borderStyle;
256
- return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), __assign(__assign({}, borderStyle), { boxShadow: '' }));
257
- });
258
163
  exports.default = ContentsCarousel;
259
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
164
+ var templateObject_1;
@@ -21,15 +21,6 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  }
22
22
  return t;
23
23
  };
24
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
25
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
26
- if (ar || !(i in from)) {
27
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
28
- ar[i] = from[i];
29
- }
30
- }
31
- return to.concat(ar || Array.prototype.slice.call(from));
32
- };
33
24
  Object.defineProperty(exports, "__esModule", { value: true });
34
25
  var jsx_runtime_1 = require("react/jsx-runtime");
35
26
  var react_1 = require("react");
@@ -39,21 +30,10 @@ var react_2 = require("swiper/react");
39
30
  require("swiper/swiper-bundle.css");
40
31
  var ContentsCarouselCore = (0, react_1.forwardRef)(function (_a, ref) {
41
32
  var scrollbar = _a.scrollbar, slidesPerView = _a.slidesPerView, slidesPerGroup = _a.slidesPerGroup, spaceBetween = _a.spaceBetween, freeMode = _a.freeMode, autoplay = _a.autoplay, useAutoplay = _a.useAutoplay, loop = _a.loop, children = _a.children, props = __rest(_a, ["scrollbar", "slidesPerView", "slidesPerGroup", "spaceBetween", "freeMode", "autoplay", "useAutoplay", "loop", "children"]);
42
- var slidesWithEmpty = (0, react_1.useMemo)(function () {
43
- var childrenArray = Array.isArray(children) ? children : [children];
44
- if (slidesPerView === slidesPerGroup && slidesPerGroup && slidesPerGroup > 1) {
45
- var remainder = childrenArray.length % slidesPerGroup;
46
- if (remainder !== 0) {
47
- var emptyCount = slidesPerGroup - remainder;
48
- return __spreadArray(__spreadArray([], childrenArray, true), Array(emptyCount).fill(null), true);
49
- }
50
- }
51
- return childrenArray;
52
- }, [children, slidesPerView, slidesPerGroup]);
53
33
  return ((0, jsx_runtime_1.jsx)(react_2.Swiper, __assign({ ref: ref, style: {
54
34
  width: '100%',
55
35
  height: '100%'
56
- }, modules: [swiper_1.Pagination, swiper_1.Navigation, swiper_1.Scrollbar, swiper_1.FreeMode, swiper_1.Autoplay], slidesPerView: slidesPerView, scrollbar: scrollbar, slidesPerGroup: slidesPerGroup, spaceBetween: spaceBetween, freeMode: freeMode, autoplay: useAutoplay ? autoplay : false, loop: loop }, props, { children: slidesWithEmpty.map(function (slide, index) { return ((0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: slide || (0, jsx_runtime_1.jsx)("div", { className: "swiper-slide-empty" }) }, index)); }) })));
36
+ }, modules: [swiper_1.Pagination, swiper_1.Navigation, swiper_1.Scrollbar, swiper_1.FreeMode, swiper_1.Autoplay], slidesPerView: slidesPerView, scrollbar: scrollbar, slidesPerGroup: slidesPerGroup, spaceBetween: spaceBetween, freeMode: freeMode, autoplay: useAutoplay ? autoplay : false, loop: loop }, props, { children: Array.isArray(children) ? (children.map(function (slide, index) { return (0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: slide }, index); })) : ((0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: children })) })));
57
37
  });
58
38
  ContentsCarouselCore.displayName = 'ContentsCarouselCore';
59
39
  exports.default = ContentsCarouselCore;
@@ -14,18 +14,14 @@ export interface CustomNavigationProps {
14
14
  prevBtnType?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
15
15
  prevBtnOffset?: NavigationOffset;
16
16
  prevBtnSize?: number;
17
- prevBtnPrimaryColor?: string;
18
- prevBtnSecondaryColor?: string;
19
17
  nextBtnDisabled?: boolean;
20
18
  nextBtnType?: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
21
19
  nextBtnOffset?: NavigationOffset;
22
20
  nextBtnSize?: number;
23
- nextBtnPrimaryColor?: string;
24
- nextBtnSecondaryColor?: string;
25
21
  onPrevBtnClick?: () => void;
26
22
  onNextBtnClick?: () => void;
27
23
  }
28
- export declare const CustomNavigation: ({ prevBtnDisabled, prevBtnType, prevBtnOffset, prevBtnSize, prevBtnPrimaryColor, prevBtnSecondaryColor, nextBtnDisabled, nextBtnType, nextBtnOffset, nextBtnSize, nextBtnPrimaryColor, nextBtnSecondaryColor, onPrevBtnClick, onNextBtnClick }: CustomNavigationProps) => JSX.Element;
24
+ export declare const CustomNavigation: ({ prevBtnDisabled, prevBtnType, prevBtnOffset, prevBtnSize, nextBtnDisabled, nextBtnType, nextBtnOffset, nextBtnSize, onPrevBtnClick, onNextBtnClick }: CustomNavigationProps) => JSX.Element;
29
25
  export interface FlexBoxProps {
30
26
  direction?: 'row' | 'column';
31
27
  justifyContent?: string;