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

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 (240) 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/services/i18n/resources/en.json +1 -9
  16. package/dist/src/common/services/i18n/resources/es.json +1 -9
  17. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  18. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  19. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  20. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  21. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  22. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  23. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  24. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  25. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  26. package/dist/src/common/styles/colorSet/index.d.ts +2 -31
  27. package/dist/src/common/styles/colorSet/index.js +2 -2
  28. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  29. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  30. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  31. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  32. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  33. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
  34. package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
  35. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  36. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  37. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  38. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  39. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  40. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  41. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  42. package/dist/src/desktop/components/TextField/TextField.js +15 -41
  43. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  44. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  45. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  46. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
  47. package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
  48. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  49. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  50. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  51. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  52. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  53. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  54. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  55. package/dist/src/mobile/components/TextField/TextField.js +15 -41
  56. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  57. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  58. package/dist/src/mobile/components/index.d.ts +1 -2
  59. package/dist/src/mobile/components/index.js +1 -3
  60. package/dist/src/mobile/index.d.ts +1 -1
  61. package/dist/src/mobile/index.js +2 -3
  62. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  63. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  64. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  65. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  66. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  67. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  68. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  69. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  70. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  71. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  72. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  73. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  74. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  75. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  76. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  77. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  78. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  79. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  80. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  81. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  82. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  83. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  84. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
  85. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +5 -6
  86. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
  87. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +2 -2
  88. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +3 -4
  89. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
  90. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  91. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -12
  92. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  93. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  94. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  95. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  96. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  97. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  98. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  99. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  100. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  101. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  102. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  103. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  104. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  105. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
  106. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
  107. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
  108. package/dist/src/sub/DynamicLayout/mock_composition.js +43 -852
  109. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
  110. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1071
  111. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
  112. package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1017
  113. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -842
  114. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -803
  115. package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
  116. package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
  117. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -4
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +4 -25
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +54 -149
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +1 -5
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +56 -5
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -10
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +32 -30
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +1 -3
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +24 -47
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +12 -2
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +316 -144
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +23 -38
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +91 -43
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -5
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -58
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -11
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +5 -13
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +26 -91
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +1 -5
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +56 -5
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -9
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +32 -30
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +1 -3
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +24 -47
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +3 -3
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -168
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +6 -46
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +4 -10
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +4 -11
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +2 -15
  160. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  161. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -1
  162. package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
  163. package/package.json +3 -2
  164. package/release-note.md +3 -3
  165. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  166. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  167. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  168. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  169. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  170. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  171. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  172. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  173. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  174. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  175. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  176. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  177. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  178. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  179. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  180. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  181. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  182. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  183. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  184. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  185. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  186. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  187. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  188. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  189. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  190. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  191. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  192. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  193. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  194. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  195. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  196. package/dist/src/common/utils/dateHelper.js +0 -87
  197. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  198. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  199. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  200. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  201. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  202. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  203. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  204. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  205. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  206. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  207. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  208. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  209. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  210. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  211. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  212. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  213. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  214. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  215. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  216. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  217. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  218. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  219. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  220. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  221. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  222. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  223. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
  224. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
@@ -15,39 +15,69 @@ var __assign = (this && this.__assign) || function () {
15
15
  return __assign.apply(this, arguments);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.getCustomProgressbarPropKey = exports.parseCarouselStyleToCustomProgressbarProp = exports.getCustomNavigationPropKey = exports.parseCarouselStyleToCustomNavigationProp = exports.getCarouselCorePropKey = exports.parseCarouselStyleToCarouselCoreProp = void 0;
18
+ exports.getCustomProgressbarPropKey = exports.parseCarouselStyleToCustomProgressbarProp = exports.getCustomNavigationPropKey = exports.parseCarouselStyleToCustomNavigationProp = exports.getCustomPaginationPropKey = exports.parseCarouselStyleToCustomPaginationProp = exports.getCarouselCorePropKey = exports.parseCarouselStyleToCarouselCoreProp = void 0;
19
19
  var styled_components_1 = require("styled-components");
20
20
  function parseCarouselStyleToCarouselCoreProp(_a) {
21
21
  var props = _a.props, contentsPropsPartials = _a.contentsPropsPartials, device = _a.device;
22
22
  var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
23
23
  return availableSpecCodes.reduce(function (acc, currentKey) {
24
- var _a, _b, _c, _d, _e, _f;
24
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
25
  var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
26
26
  var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
27
27
  var carouselCorePropertyKey = getCarouselCorePropKey(currentKey);
28
28
  if (carouselCorePropertyKey === 'customStyle') {
29
29
  var value = props[keyWithDevice];
30
30
  var hoverValue = props[keyWithHover];
31
+ if (hoverValue === null || hoverValue === undefined) {
32
+ return {
33
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_a = {}, _a[carouselCorePropertyKey] = getStyle(value), _a)),
34
+ hoverStyle: __assign({}, acc.hoverStyle)
35
+ };
36
+ }
31
37
  return {
32
- normalStyle: __assign(__assign({}, acc.normalStyle), (_a = {}, _a[carouselCorePropertyKey] = getStyle(value), _a)),
33
- hoverStyle: __assign(__assign({}, acc.hoverStyle), (_b = {}, _b[carouselCorePropertyKey] = getStyle(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value), _b))
38
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_b = {}, _b[carouselCorePropertyKey] = getStyle(value), _b)),
39
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), (_c = {}, _c[carouselCorePropertyKey] = getStyle(hoverValue), _c))
34
40
  };
35
41
  }
36
42
  if (carouselCorePropertyKey === 'spaceBetween') {
37
43
  var value = props[keyWithDevice];
38
44
  var hoverValue = props[keyWithHover];
45
+ if (hoverValue === null || hoverValue === undefined) {
46
+ return {
47
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_d = {}, _d[carouselCorePropertyKey] = getItemSpacing(value), _d)),
48
+ hoverStyle: __assign({}, acc.hoverStyle)
49
+ };
50
+ }
39
51
  return {
40
- normalStyle: __assign(__assign({}, acc.normalStyle), (_c = {}, _c[carouselCorePropertyKey] = getItemSpacing(value), _c)),
41
- hoverStyle: __assign(__assign({}, acc.hoverStyle), (_d = {}, _d[carouselCorePropertyKey] = getItemSpacing(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value), _d))
52
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_e = {}, _e[carouselCorePropertyKey] = getItemSpacing(value), _e)),
53
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), (_f = {}, _f[carouselCorePropertyKey] = getItemSpacing(hoverValue), _f))
42
54
  };
43
55
  }
44
56
  if (carouselCorePropertyKey === 'slidesPerGroup') {
45
57
  var value = props[keyWithDevice];
46
58
  var hoverValue = props[keyWithHover];
47
- var displayCounts = contentsPropsPartials.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS;
48
- return {
49
- normalStyle: __assign(__assign({}, acc.normalStyle), getSlidesPerGroupConfig(value, displayCounts)),
50
- hoverStyle: __assign(__assign({}, acc.hoverStyle), getSlidesPerGroupConfig(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value, displayCounts))
59
+ if (hoverValue === null || hoverValue === undefined) {
60
+ return {
61
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_g = {}, _g[carouselCorePropertyKey] = 1, _g)),
62
+ hoverStyle: __assign({}, acc.hoverStyle)
63
+ };
64
+ }
65
+ if (value === 'ALL') {
66
+ return {
67
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_h = {}, _h[carouselCorePropertyKey] = contentsPropsPartials.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, _h)),
68
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), (_j = {}, _j[carouselCorePropertyKey] = contentsPropsPartials.CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS, _j))
69
+ };
70
+ }
71
+ if (value === 'SCROLL') {
72
+ return {
73
+ normalStyle: __assign(__assign({}, acc.normalStyle), { scrollbar: { draggable: true }, freeMode: { enabled: true, sticky: false } }),
74
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { scrollbar: { draggable: true }, freeMode: { enabled: true, sticky: false } })
75
+ };
76
+ }
77
+ // NOTE value === 'ONCE' 일때, Default 값
78
+ return {
79
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_k = {}, _k[carouselCorePropertyKey] = 1, _k)),
80
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), (_l = {}, _l[carouselCorePropertyKey] = 1, _l))
51
81
  };
52
82
  }
53
83
  if (carouselCorePropertyKey === 'useAutoplay') {
@@ -55,20 +85,16 @@ function parseCarouselStyleToCarouselCoreProp(_a) {
55
85
  var hoverValue = props[keyWithHover];
56
86
  return {
57
87
  normalStyle: __assign(__assign({}, acc.normalStyle), { useAutoplay: value === true }),
58
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: (hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) === true })
88
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { useAutoplay: hoverValue === true })
59
89
  };
60
90
  }
61
91
  if (carouselCorePropertyKey === 'autoplayDelay') {
62
92
  var value = props[keyWithDevice];
63
93
  var hoverValue = props[keyWithHover];
64
94
  return {
65
- normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: {
66
- delay: value * 1000,
67
- disableOnInteraction: false,
68
- pauseOnMouseEnter: true
69
- } }),
95
+ normalStyle: __assign(__assign({}, acc.normalStyle), { autoplay: { delay: value * 1000, disableOnInteraction: false, pauseOnMouseEnter: true } }),
70
96
  hoverStyle: __assign(__assign({}, acc.hoverStyle), { autoplay: {
71
- delay: (hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) * 1000,
97
+ delay: hoverValue * 1000,
72
98
  disableOnInteraction: false,
73
99
  pauseOnMouseEnter: true
74
100
  } })
@@ -78,8 +104,8 @@ function parseCarouselStyleToCarouselCoreProp(_a) {
78
104
  var value = props[keyWithDevice];
79
105
  var hoverValue = props[keyWithHover];
80
106
  return {
81
- normalStyle: __assign(__assign({}, acc.normalStyle), (_e = {}, _e[carouselCorePropertyKey] = value, _e)),
82
- hoverStyle: __assign(__assign({}, acc.hoverStyle), (_f = {}, _f[carouselCorePropertyKey] = hoverValue !== null && hoverValue !== void 0 ? hoverValue : value, _f))
107
+ normalStyle: __assign(__assign({}, acc.normalStyle), (_m = {}, _m[carouselCorePropertyKey] = value === false ? false : true, _m)),
108
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), (_o = {}, _o[carouselCorePropertyKey] = hoverValue === false ? false : true, _o))
83
109
  };
84
110
  }
85
111
  return {
@@ -129,129 +155,321 @@ function getCarouselCorePropKey(key) {
129
155
  }
130
156
  }
131
157
  exports.getCarouselCorePropKey = getCarouselCorePropKey;
132
- function getSlidesPerGroupConfig(cursorType, displayCounts) {
133
- if (cursorType === 'ALL') {
134
- return { slidesPerGroup: displayCounts };
135
- }
136
- if (cursorType === 'SCROLL') {
137
- return {
138
- scrollbar: { draggable: true },
139
- freeMode: { enabled: true, sticky: false }
140
- };
141
- }
142
- // 'ONCE'
143
- return { slidesPerGroup: 1 };
144
- }
145
158
  function getStyle(value) {
146
159
  switch (value) {
147
160
  case 'DESIGN1':
148
161
  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 "])));
149
162
  case 'DESIGN2': {
150
- return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
163
+ 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 "])));
164
+ 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);
151
165
  }
152
166
  default: {
153
- return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n "], ["\n height: 100%;\n width: 100%;\n "])));
167
+ 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 "])));
154
168
  }
155
169
  }
156
170
  }
157
171
  function getItemSpacing(value) {
158
- var NORMAL = 30;
172
+ var NORMAL = 40;
159
173
  switch (value) {
160
174
  case 'WIDE':
161
175
  return 50;
162
176
  case 'NORMAL':
163
177
  return NORMAL;
164
178
  case 'NARROW':
165
- return 10;
179
+ return 30;
166
180
  default:
167
181
  return NORMAL;
168
182
  }
169
183
  }
170
- function parseCarouselStyleToCustomNavigationProp(_a) {
184
+ function parseCarouselStyleToCustomPaginationProp(_a) {
171
185
  var props = _a.props, device = _a.device;
172
186
  var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
173
187
  return availableSpecCodes.reduce(function (acc, currentKey) {
174
188
  var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
175
189
  var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
176
- var customNavigationPropertyKey = getCustomNavigationPropKey(currentKey);
177
- if (customNavigationPropertyKey === 'prevBtnType') {
190
+ var customPaginationPropertyKey = getCustomPaginationPropKey(currentKey);
191
+ if (customPaginationPropertyKey === 'type') {
178
192
  var value = props[keyWithDevice];
179
193
  var hoverValue = props[keyWithHover];
180
194
  return {
181
- normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
182
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
195
+ normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
196
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
183
197
  };
184
198
  }
185
- if (customNavigationPropertyKey === 'prevBtnOffset') {
199
+ if (customPaginationPropertyKey === 'offset') {
186
200
  var value = props[keyWithDevice];
187
201
  var hoverValue = props[keyWithHover];
188
202
  return {
189
- normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
190
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
203
+ normalStyle: __assign(__assign({}, acc.normalStyle), { offset: getCustomPaginationOffset(value) }),
204
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { offset: getCustomPaginationOffset(hoverValue) })
191
205
  };
192
206
  }
193
- if (customNavigationPropertyKey === 'prevBtnSize') {
207
+ if (customPaginationPropertyKey === 'size') {
194
208
  var value = props[keyWithDevice];
195
209
  var hoverValue = props[keyWithHover];
196
210
  return {
197
- normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
198
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
211
+ normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomPaginationSize(value) }),
212
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomPaginationSize(hoverValue) })
199
213
  };
200
214
  }
201
- if (customNavigationPropertyKey === 'prevBtnPrimaryColor') {
202
- var value = props[keyWithDevice];
203
- var hoverValue = props[keyWithHover];
215
+ return {
216
+ normalStyle: __assign({}, acc.normalStyle),
217
+ hoverStyle: __assign({}, acc.hoverStyle)
218
+ };
219
+ }, {
220
+ normalStyle: {},
221
+ hoverStyle: {}
222
+ });
223
+ }
224
+ exports.parseCarouselStyleToCustomPaginationProp = parseCarouselStyleToCustomPaginationProp;
225
+ function getCustomPaginationPropKey(key) {
226
+ switch (key) {
227
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE":
228
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:HOVER":
229
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE":
230
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE:HOVER":
231
+ return 'type';
232
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION":
233
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:HOVER":
234
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE":
235
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE:HOVER":
236
+ return 'offset';
237
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE":
238
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:HOVER":
239
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE":
240
+ case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE:HOVER":
241
+ return 'size';
242
+ default:
243
+ return '';
244
+ }
245
+ }
246
+ exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
247
+ function getCustomPaginationOffset(value) {
248
+ var OUTSET1 = {
249
+ top: '0px',
250
+ left: '0px',
251
+ translateX: 0,
252
+ translateY: -100,
253
+ transformOrigin: 'top left'
254
+ };
255
+ switch (value) {
256
+ case 'OUTSET1':
257
+ return OUTSET1;
258
+ case 'OUTSET2':
204
259
  return {
205
- normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnPrimaryColor: value }),
206
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
260
+ top: '0px',
261
+ left: '50%',
262
+ translateX: -50,
263
+ translateY: -100,
264
+ transformOrigin: 'top left'
207
265
  };
208
- }
209
- if (customNavigationPropertyKey === 'prevBtnSecondaryColor') {
266
+ case 'OUTSET3':
267
+ return {
268
+ top: '0px',
269
+ left: '100%',
270
+ translateX: -100,
271
+ translateY: -100,
272
+ transformOrigin: 'top left'
273
+ };
274
+ case 'OUTSET4':
275
+ return {
276
+ top: '0px',
277
+ left: '100%',
278
+ translateX: 0,
279
+ translateY: 0,
280
+ transformOrigin: 'left top'
281
+ };
282
+ case 'OUTSET5':
283
+ return {
284
+ top: '50%',
285
+ left: '100%',
286
+ translateX: 0,
287
+ translateY: -50,
288
+ transformOrigin: 'left top'
289
+ };
290
+ case 'OUTSET6':
291
+ return {
292
+ top: '100%',
293
+ left: '100%',
294
+ translateX: 0,
295
+ translateY: -100,
296
+ transformOrigin: 'left top'
297
+ };
298
+ case 'OUTSET7':
299
+ return {
300
+ top: '100%',
301
+ left: '100%',
302
+ translateX: -100,
303
+ translateY: 0,
304
+ transformOrigin: 'top left'
305
+ };
306
+ case 'OUTSET8':
307
+ return {
308
+ top: '100%',
309
+ left: '50%',
310
+ translateX: -50,
311
+ translateY: 0,
312
+ transformOrigin: 'top left'
313
+ };
314
+ case 'OUTSET9':
315
+ return {
316
+ top: '100%',
317
+ left: '0px',
318
+ translateX: 0,
319
+ translateY: 0,
320
+ transformOrigin: 'top left'
321
+ };
322
+ case 'OUTSET10':
323
+ return {
324
+ top: '100%',
325
+ left: '0px',
326
+ translateX: -50,
327
+ translateY: -100,
328
+ transformOrigin: 'right top'
329
+ };
330
+ case 'OUTSET11':
331
+ return {
332
+ top: '50%',
333
+ left: '0px',
334
+ translateX: -50,
335
+ translateY: -50,
336
+ transformOrigin: 'right top'
337
+ };
338
+ case 'OUTSET12':
339
+ return {
340
+ top: '0px',
341
+ left: '0px',
342
+ translateX: -50,
343
+ translateY: 0,
344
+ transformOrigin: 'right top'
345
+ };
346
+ case 'INSET13':
347
+ return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
348
+ case 'INSET14':
349
+ return {
350
+ top: '0px',
351
+ left: '50%',
352
+ translateX: -50,
353
+ translateY: 0,
354
+ transformOrigin: 'left top'
355
+ };
356
+ case 'INSET15':
357
+ return {
358
+ top: '0px',
359
+ left: '100%',
360
+ translateX: -100,
361
+ translateY: 0,
362
+ transformOrigin: 'left top'
363
+ };
364
+ case 'INSET16':
365
+ return {
366
+ top: '50%',
367
+ left: '100%',
368
+ translateX: -100,
369
+ translateY: -50,
370
+ transformOrigin: 'left top'
371
+ };
372
+ case 'INSET17':
373
+ return {
374
+ top: '100%',
375
+ left: '100%',
376
+ translateX: -100,
377
+ translateY: -100,
378
+ transformOrigin: 'left top'
379
+ };
380
+ case 'INSET18':
381
+ return {
382
+ top: '100%',
383
+ left: '50%',
384
+ translateX: -50,
385
+ translateY: -100,
386
+ transformOrigin: 'left top'
387
+ };
388
+ case 'INSET19':
389
+ return {
390
+ top: '100%',
391
+ left: '0px',
392
+ translateX: 0,
393
+ translateY: -100,
394
+ transformOrigin: 'top left'
395
+ };
396
+ case 'INSET20':
397
+ return {
398
+ top: '50%',
399
+ left: '0px',
400
+ translateX: 0,
401
+ translateY: -50,
402
+ transformOrigin: 'top left'
403
+ };
404
+ default:
405
+ return OUTSET1;
406
+ }
407
+ }
408
+ function getCustomPaginationSize(value) {
409
+ switch (value) {
410
+ case 'SMALL':
411
+ return 1;
412
+ case 'MEDIUM':
413
+ return 2;
414
+ case 'LARGE':
415
+ return 3;
416
+ default:
417
+ return 1;
418
+ }
419
+ }
420
+ function parseCarouselStyleToCustomNavigationProp(_a) {
421
+ var props = _a.props, device = _a.device;
422
+ var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
423
+ return availableSpecCodes.reduce(function (acc, currentKey) {
424
+ var keyWithDevice = device === 'DESKTOP' ? currentKey : "".concat(currentKey, ":MOBILE");
425
+ var keyWithHover = "".concat(keyWithDevice.toString(), ":HOVER");
426
+ var customNavigationPropertyKey = getCustomNavigationPropKey(currentKey);
427
+ if (customNavigationPropertyKey === 'prevBtnType') {
210
428
  var value = props[keyWithDevice];
211
429
  var hoverValue = props[keyWithHover];
212
430
  return {
213
- normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSecondaryColor: value }),
214
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
431
+ normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnType: value }),
432
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnType: hoverValue })
215
433
  };
216
434
  }
217
- if (customNavigationPropertyKey === 'nextBtnType') {
435
+ if (customNavigationPropertyKey === 'prevBtnOffset') {
218
436
  var value = props[keyWithDevice];
219
437
  var hoverValue = props[keyWithHover];
220
438
  return {
221
- normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
222
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
439
+ normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnOffset: getCustomNavigationOffset(value) }),
440
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnOffset: getCustomNavigationOffset(hoverValue) })
223
441
  };
224
442
  }
225
- if (customNavigationPropertyKey === 'nextBtnOffset') {
443
+ if (customNavigationPropertyKey === 'prevBtnSize') {
226
444
  var value = props[keyWithDevice];
227
445
  var hoverValue = props[keyWithHover];
228
446
  return {
229
- normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
230
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
447
+ normalStyle: __assign(__assign({}, acc.normalStyle), { prevBtnSize: getCustomNavigationSize(value) }),
448
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { prevBtnSize: getCustomNavigationSize(hoverValue) })
231
449
  };
232
450
  }
233
- if (customNavigationPropertyKey === 'nextBtnSize') {
451
+ if (customNavigationPropertyKey === 'nextBtnType') {
234
452
  var value = props[keyWithDevice];
235
453
  var hoverValue = props[keyWithHover];
236
454
  return {
237
- normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
238
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value) })
455
+ normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnType: value }),
456
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnType: hoverValue })
239
457
  };
240
458
  }
241
- if (customNavigationPropertyKey === 'nextBtnPrimaryColor') {
459
+ if (customNavigationPropertyKey === 'nextBtnOffset') {
242
460
  var value = props[keyWithDevice];
243
461
  var hoverValue = props[keyWithHover];
244
462
  return {
245
- normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnPrimaryColor: value }),
246
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnPrimaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
463
+ normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnOffset: getCustomNavigationOffset(value) }),
464
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnOffset: getCustomNavigationOffset(hoverValue) })
247
465
  };
248
466
  }
249
- if (customNavigationPropertyKey === 'nextBtnSecondaryColor') {
467
+ if (customNavigationPropertyKey === 'nextBtnSize') {
250
468
  var value = props[keyWithDevice];
251
469
  var hoverValue = props[keyWithHover];
252
470
  return {
253
- normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSecondaryColor: value }),
254
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSecondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
471
+ normalStyle: __assign(__assign({}, acc.normalStyle), { nextBtnSize: getCustomNavigationSize(value) }),
472
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { nextBtnSize: getCustomNavigationSize(hoverValue) })
255
473
  };
256
474
  }
257
475
  return {
@@ -281,16 +499,6 @@ function getCustomNavigationPropKey(key) {
281
499
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE":
282
500
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER":
283
501
  return 'prevBtnSize';
284
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR":
285
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER":
286
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE":
287
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER":
288
- return 'prevBtnPrimaryColor';
289
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR":
290
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER":
291
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE":
292
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER":
293
- return 'prevBtnSecondaryColor';
294
502
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE":
295
503
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:HOVER":
296
504
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE":
@@ -306,16 +514,6 @@ function getCustomNavigationPropKey(key) {
306
514
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE":
307
515
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE:HOVER":
308
516
  return 'nextBtnSize';
309
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR":
310
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER":
311
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE":
312
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER":
313
- return 'nextBtnPrimaryColor';
314
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR":
315
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER":
316
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE":
317
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER":
318
- return 'nextBtnSecondaryColor';
319
517
  default:
320
518
  return '';
321
519
  }
@@ -400,7 +598,7 @@ function getCustomNavigationOffset(value) {
400
598
  return {
401
599
  top: '100%',
402
600
  left: '0px',
403
- translateX: -100,
601
+ translateX: -50,
404
602
  translateY: -100,
405
603
  transformOrigin: 'right top'
406
604
  };
@@ -408,7 +606,7 @@ function getCustomNavigationOffset(value) {
408
606
  return {
409
607
  top: '50%',
410
608
  left: '0px',
411
- translateX: -100,
609
+ translateX: -50,
412
610
  translateY: -50,
413
611
  transformOrigin: 'right top'
414
612
  };
@@ -416,13 +614,13 @@ function getCustomNavigationOffset(value) {
416
614
  return {
417
615
  top: '0px',
418
616
  left: '0px',
419
- translateX: -100,
617
+ translateX: -50,
420
618
  translateY: 0,
421
619
  transformOrigin: 'right top'
422
620
  };
423
- case 'INSET1':
621
+ case 'INSET13':
424
622
  return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
425
- case 'INSET2':
623
+ case 'INSET14':
426
624
  return {
427
625
  top: '0px',
428
626
  left: '50%',
@@ -430,7 +628,7 @@ function getCustomNavigationOffset(value) {
430
628
  translateY: 0,
431
629
  transformOrigin: 'left top'
432
630
  };
433
- case 'INSET3':
631
+ case 'INSET15':
434
632
  return {
435
633
  top: '0px',
436
634
  left: '100%',
@@ -438,7 +636,7 @@ function getCustomNavigationOffset(value) {
438
636
  translateY: 0,
439
637
  transformOrigin: 'left top'
440
638
  };
441
- case 'INSET4':
639
+ case 'INSET16':
442
640
  return {
443
641
  top: '50%',
444
642
  left: '100%',
@@ -446,7 +644,7 @@ function getCustomNavigationOffset(value) {
446
644
  translateY: -50,
447
645
  transformOrigin: 'left top'
448
646
  };
449
- case 'INSET5':
647
+ case 'INSET17':
450
648
  return {
451
649
  top: '100%',
452
650
  left: '100%',
@@ -454,7 +652,7 @@ function getCustomNavigationOffset(value) {
454
652
  translateY: -100,
455
653
  transformOrigin: 'left top'
456
654
  };
457
- case 'INSET6':
655
+ case 'INSET18':
458
656
  return {
459
657
  top: '100%',
460
658
  left: '50%',
@@ -462,7 +660,7 @@ function getCustomNavigationOffset(value) {
462
660
  translateY: -100,
463
661
  transformOrigin: 'left top'
464
662
  };
465
- case 'INSET7':
663
+ case 'INSET19':
466
664
  return {
467
665
  top: '100%',
468
666
  left: '0px',
@@ -470,7 +668,7 @@ function getCustomNavigationOffset(value) {
470
668
  translateY: -100,
471
669
  transformOrigin: 'top left'
472
670
  };
473
- case 'INSET8':
671
+ case 'INSET20':
474
672
  return {
475
673
  top: '50%',
476
674
  left: '0px',
@@ -487,9 +685,9 @@ function getCustomNavigationSize(value) {
487
685
  case 'SMALL':
488
686
  return 1;
489
687
  case 'MEDIUM':
490
- return 1.5;
491
- case 'LARGE':
492
688
  return 2;
689
+ case 'LARGE':
690
+ return 3;
493
691
  default:
494
692
  return 1;
495
693
  }
@@ -506,32 +704,16 @@ function parseCarouselStyleToCustomProgressbarProp(_a) {
506
704
  var hoverValue = props[keyWithHover];
507
705
  return {
508
706
  normalStyle: __assign(__assign({}, acc.normalStyle), { type: value }),
509
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
707
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { type: hoverValue })
510
708
  };
511
709
  }
512
710
  if (customProgressbarPropertyKey === 'size') {
513
711
  var value = props[keyWithDevice];
514
712
  var hoverValue = props[keyWithHover];
515
- var offset = getCustomProgressbarOffset('INSET5');
713
+ var offset = getCustomProgressbarOffset('INSET17');
516
714
  return {
517
715
  normalStyle: __assign(__assign({}, acc.normalStyle), { size: getCustomProgressbarSize(value), offset: offset }),
518
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue !== null && hoverValue !== void 0 ? hoverValue : value), offset: offset })
519
- };
520
- }
521
- if (customProgressbarPropertyKey === 'primaryColor') {
522
- var value = props[keyWithDevice];
523
- var hoverValue = props[keyWithHover];
524
- return {
525
- normalStyle: __assign(__assign({}, acc.normalStyle), { primaryColor: value }),
526
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { primaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
527
- };
528
- }
529
- if (customProgressbarPropertyKey === 'secondaryColor') {
530
- var value = props[keyWithDevice];
531
- var hoverValue = props[keyWithHover];
532
- return {
533
- normalStyle: __assign(__assign({}, acc.normalStyle), { secondaryColor: value }),
534
- hoverStyle: __assign(__assign({}, acc.hoverStyle), { secondaryColor: hoverValue !== null && hoverValue !== void 0 ? hoverValue : value })
716
+ hoverStyle: __assign(__assign({}, acc.hoverStyle), { size: getCustomProgressbarSize(hoverValue), offset: offset })
535
717
  };
536
718
  }
537
719
  return {
@@ -556,16 +738,6 @@ function getCustomProgressbarPropKey(key) {
556
738
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE":
557
739
  case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER":
558
740
  return 'size';
559
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR":
560
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER":
561
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE":
562
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER":
563
- return 'primaryColor';
564
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR":
565
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER":
566
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE":
567
- case "CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER":
568
- return 'secondaryColor';
569
741
  default:
570
742
  return '';
571
743
  }
@@ -670,9 +842,9 @@ function getCustomProgressbarOffset(value) {
670
842
  translateY: 0,
671
843
  transformOrigin: 'right top'
672
844
  };
673
- case 'INSET1':
845
+ case 'INSET13':
674
846
  return { top: '0px', left: '0px', translateX: 0, translateY: 0, transformOrigin: 'left top' };
675
- case 'INSET2':
847
+ case 'INSET14':
676
848
  return {
677
849
  top: '0px',
678
850
  left: '50%',
@@ -680,7 +852,7 @@ function getCustomProgressbarOffset(value) {
680
852
  translateY: 0,
681
853
  transformOrigin: 'left top'
682
854
  };
683
- case 'INSET3':
855
+ case 'INSET15':
684
856
  return {
685
857
  top: '0px',
686
858
  left: '100%',
@@ -688,7 +860,7 @@ function getCustomProgressbarOffset(value) {
688
860
  translateY: 0,
689
861
  transformOrigin: 'left top'
690
862
  };
691
- case 'INSET4':
863
+ case 'INSET16':
692
864
  return {
693
865
  top: '50%',
694
866
  left: '100%',
@@ -696,7 +868,7 @@ function getCustomProgressbarOffset(value) {
696
868
  translateY: -50,
697
869
  transformOrigin: 'left top'
698
870
  };
699
- case 'INSET5':
871
+ case 'INSET17':
700
872
  return {
701
873
  top: '100%',
702
874
  left: '100%',
@@ -704,7 +876,7 @@ function getCustomProgressbarOffset(value) {
704
876
  translateY: -100,
705
877
  transformOrigin: 'left top'
706
878
  };
707
- case 'INSET6':
879
+ case 'INSET18':
708
880
  return {
709
881
  top: '100%',
710
882
  left: '50%',
@@ -712,7 +884,7 @@ function getCustomProgressbarOffset(value) {
712
884
  translateY: -100,
713
885
  transformOrigin: 'left top'
714
886
  };
715
- case 'INSET7':
887
+ case 'INSET19':
716
888
  return {
717
889
  top: '100%',
718
890
  left: '0px',
@@ -720,7 +892,7 @@ function getCustomProgressbarOffset(value) {
720
892
  translateY: -100,
721
893
  transformOrigin: 'top left'
722
894
  };
723
- case 'INSET8':
895
+ case 'INSET20':
724
896
  return {
725
897
  top: '50%',
726
898
  left: '0px',
@@ -737,11 +909,11 @@ function getCustomProgressbarSize(value) {
737
909
  case 'SMALL':
738
910
  return 1;
739
911
  case 'MEDIUM':
740
- return 1.5;
741
- case 'LARGE':
742
912
  return 2;
913
+ case 'LARGE':
914
+ return 3;
743
915
  default:
744
916
  return 1;
745
917
  }
746
918
  }
747
- var templateObject_1, templateObject_2, templateObject_3;
919
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;