pds-dev-kit-web-test 2.5.429 → 2.5.431

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