pds-dev-kit-web-test 2.5.379 → 2.5.381

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 (233) 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/index.d.ts +0 -1
  4. package/dist/src/common/assets/icons/fill/index.js +1 -3
  5. package/dist/src/common/assets/icons/line/index.d.ts +0 -10
  6. package/dist/src/common/assets/icons/line/index.js +1 -21
  7. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
  8. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
  9. package/dist/src/common/hooks/useTooltip.js +1 -1
  10. package/dist/src/common/services/i18n/resources/en.json +1 -9
  11. package/dist/src/common/services/i18n/resources/es.json +1 -9
  12. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  13. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  14. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  15. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  16. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  17. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  18. package/dist/src/common/styles/colorSet/index.d.ts +124 -124
  19. package/dist/src/common/styles/colorSet/index.js +2 -2
  20. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  21. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  22. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  23. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  24. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  25. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  26. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
  27. package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
  28. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  29. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  30. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  31. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  32. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  33. package/dist/src/desktop/components/TextField/TextField.js +15 -41
  34. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  35. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  36. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  37. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
  38. package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
  39. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  40. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  41. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  42. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  43. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  44. package/dist/src/mobile/components/TextField/TextField.js +15 -41
  45. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  46. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  47. package/dist/src/mobile/components/index.d.ts +1 -2
  48. package/dist/src/mobile/components/index.js +1 -3
  49. package/dist/src/mobile/index.d.ts +1 -1
  50. package/dist/src/mobile/index.js +2 -3
  51. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  52. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  53. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  54. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  55. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  56. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  57. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  58. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  59. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  60. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  61. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  62. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  63. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  64. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  65. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  66. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  67. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  68. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  69. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  70. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  71. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  72. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  73. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +20 -0
  74. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1132 -0
  75. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  76. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +4 -2
  77. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  78. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  79. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  80. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +9 -0
  81. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
  82. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  83. package/dist/src/sub/DynamicLayout/DynamicLayout.js +3 -2
  84. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  85. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -5
  86. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +25 -26
  87. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  88. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +0 -1
  89. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  90. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  91. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.d.ts +12 -0
  92. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/downIcons.js +76 -0
  93. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.d.ts +4 -0
  94. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/index.js +47 -0
  95. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.d.ts +12 -0
  96. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/leftIcons.js +76 -0
  97. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.d.ts +12 -0
  98. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/rightIcons.js +76 -0
  99. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.d.ts +12 -0
  100. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/paginationIcons/upIcons.js +76 -0
  101. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  102. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  103. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  104. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  105. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  106. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  107. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  108. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +2 -0
  109. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  110. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  111. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  112. package/dist/src/sub/DynamicLayout/mock_composition.js +801 -0
  113. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
  114. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1099 -0
  115. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
  116. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1082 -0
  117. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +810 -0
  118. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +822 -0
  119. package/dist/src/sub/DynamicLayout/{mock_video_cb.js → mock_video.js} +2 -2
  120. package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -960
  121. package/dist/src/sub/DynamicLayout/mocks.js +4296 -4239
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +19 -23
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +230 -2
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +17 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +59 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +31 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +118 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +31 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +191 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +21 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +117 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +889 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +27 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +96 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +50 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +905 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +90 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +8 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +112 -0
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +27 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +115 -0
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +23 -0
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +176 -0
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +30 -0
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +351 -0
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +46 -0
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +51 -4
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +8 -0
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +225 -0
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +15 -0
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +31 -0
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +118 -0
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +31 -0
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +191 -0
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +21 -0
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +117 -0
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +889 -0
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +27 -0
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +96 -0
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  175. package/dist/src/{mobile/components/DatePicker → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +48 -0
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +852 -0
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +80 -0
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +50 -7
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +43 -46
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +1 -0
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +56 -10
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +52 -3
  194. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +2 -1
  195. package/dist/src/sub/DynamicLayout/types.d.ts +48 -15
  196. package/package.json +3 -3
  197. package/release-note.md +3 -3
  198. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  199. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  200. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  201. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  202. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  203. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  204. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  205. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  206. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  207. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  208. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  209. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  210. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  211. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  212. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  213. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  214. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  215. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  216. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  217. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  218. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  219. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  220. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  221. package/dist/src/common/utils/dateHelper.js +0 -87
  222. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  223. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  224. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  225. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  226. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  227. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  228. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  229. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  230. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  231. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  232. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  233. /package/dist/src/sub/DynamicLayout/{mock_video_cb.d.ts → mock_video.d.ts} +0 -0
@@ -0,0 +1,80 @@
1
+ import type { NUMBER_INTEGER } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
2
+ export type SlideBannerPropsKeys = keyof CB_STYLE_PROP_SLIDEBANNER_SPECS;
3
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE = 'DESIGN1' | 'DESIGN2';
4
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE = boolean;
5
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16';
6
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
7
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
8
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
9
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
10
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
11
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
12
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
13
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
14
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8';
15
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
16
+ export type CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE = boolean;
17
+ export type CB_STYLE_PROP_SLIDEBANNER_SPECS_BASE = {
18
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
19
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
20
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
21
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
22
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
23
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
24
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
25
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
26
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
27
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
28
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
29
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
30
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE: CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
31
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME: NUMBER_INTEGER;
32
+ CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL: CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
33
+ };
34
+ export type CB_STYLE_PROP_SLIDEBANNER_SPECS = CB_STYLE_PROP_SLIDEBANNER_SPECS_BASE & {
35
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
36
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
37
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
38
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
39
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
40
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
41
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
42
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
43
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
44
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
45
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
46
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
47
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
48
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
49
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
50
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
51
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
52
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
53
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
54
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
55
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
56
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
57
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
58
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
59
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
60
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
61
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
62
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
63
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
64
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
65
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
66
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
67
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
68
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
69
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
70
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
71
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
72
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
73
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
74
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:HOVER': NUMBER_INTEGER;
75
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE': NUMBER_INTEGER;
76
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE:HOVER': NUMBER_INTEGER;
77
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
78
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
79
+ 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
80
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,8 @@
1
1
  "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
2
6
  var __assign = (this && this.__assign) || function () {
3
7
  __assign = Object.assign || function(t) {
4
8
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -18,6 +22,8 @@ var jsx_runtime_1 = require("react/jsx-runtime");
18
22
  /* eslint-disable react/destructuring-assignment */
19
23
  var react_1 = require("react");
20
24
  var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
25
+ var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
26
+ var styled_components_1 = __importDefault(require("styled-components"));
21
27
  var hooks_1 = require("../../../../hooks");
22
28
  var getGoogleFonts_1 = require("../../../../hooks/useGoogleFonts/getGoogleFonts");
23
29
  var useGoogleFonts_1 = __importDefault(require("../../../../hooks/useGoogleFonts/useGoogleFonts"));
@@ -29,15 +35,30 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
29
35
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
30
36
  function Text(props) {
31
37
  var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
32
- var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
33
- var _c = (0, useCLINK_1.default)({
34
- src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
38
+ var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
39
+ var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE, CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, _c = props.CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE = _c.CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA = _c.CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA;
40
+ var cLinkValue = function () {
41
+ if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA' ||
42
+ CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
43
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
44
+ return "ERROR: QueryData NOT FOUND";
45
+ }
46
+ var link = queryContext.queryData[CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA];
47
+ if (!link) {
48
+ return "ERROR: ".concat(CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, " NOT found from queryData");
49
+ }
50
+ return link;
51
+ }
52
+ return CB_CONTENT_PROP_CLINK_SPEC_SRC;
53
+ };
54
+ var _d = (0, useCLINK_1.default)({
55
+ src: cLinkValue(),
35
56
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
36
57
  openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
37
58
  internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
38
- }), CLINKCursor = _c.CLINKCursor, onClickCLINK = _c.onClickCLINK;
39
- var _d = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _d.style, textHoverStyle = _d.hoverStyle;
40
- var _e = (0, util_1.parseProperties)(props, device), propsStyle = _e.style, propsHoverStyle = _e.hoverStyle, layoutStyle = _e.layout, effect = _e.effect;
59
+ }), CLINKCursor = _d.CLINKCursor, onClickCLINK = _d.onClickCLINK;
60
+ var _e = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _e.style, textHoverStyle = _e.hoverStyle;
61
+ var _f = (0, util_1.parseProperties)(props, device), propsStyle = _f.style, propsHoverStyle = _f.hoverStyle, layoutStyle = _f.layout, effect = _f.effect;
41
62
  var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
42
63
  var googleFonts = (0, getGoogleFonts_1.getGoogleFontsFromTextSpecCode)(props.CB_STYLE_PROP_TEXT, device === 'MOBILE');
43
64
  (0, useGoogleFonts_1.default)({ fonts: googleFonts });
@@ -56,6 +77,14 @@ function Text(props) {
56
77
  var hasEffect = !isNoneEffectType;
57
78
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
58
79
  var textValue = function () {
80
+ var isDataConnected = CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DATA' ||
81
+ CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
82
+ if (isDataConnected) {
83
+ if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
84
+ return queryContext.queryData[CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA];
85
+ }
86
+ return 'ERROR';
87
+ }
59
88
  if (device === 'MOBILE' &&
60
89
  mode !== 'EDIT' &&
61
90
  props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB === false) {
@@ -83,7 +112,7 @@ function Text(props) {
83
112
  e.currentTarget.classList.add('hovered');
84
113
  }, onMouseLeave: function (e) {
85
114
  e.currentTarget.classList.remove('hovered');
86
- }, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue() })) }))] }));
115
+ }, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue() === 'ERROR' ? (0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: "FALLBACK TEXT" }) : textValue() })) }))] }));
87
116
  }
88
117
  function getTextStyles(props, device) {
89
118
  var availableSpecCodes = [
@@ -98,4 +127,18 @@ function getTextStyles(props, device) {
98
127
  ];
99
128
  return (0, textUtil_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: 'TEXT' });
100
129
  }
130
+ var S_EmptyLayer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: rgba(0, 0, 0, 0.6);\n bottom: 0;\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n justify-content: center;\n left: 0;\n line-height: ", ";\n padding: ", ";\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n word-break: keep-all;\n"], ["\n align-items: center;\n background-color: rgba(0, 0, 0, 0.6);\n bottom: 0;\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n justify-content: center;\n left: 0;\n line-height: ", ";\n padding: ", ";\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n word-break: keep-all;\n"])), function (_a) {
131
+ var theme = _a.theme;
132
+ return theme.desktopFontSize.body2;
133
+ }, function (_a) {
134
+ var theme = _a.theme;
135
+ return theme.fontWeight.bold;
136
+ }, function (_a) {
137
+ var theme = _a.theme;
138
+ return theme.desktopLineHeight.body2;
139
+ }, function (_a) {
140
+ var theme = _a.theme;
141
+ return theme.spacing.spacingE;
142
+ });
101
143
  exports.default = Text;
144
+ var templateObject_1;
@@ -19,8 +19,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  var jsx_runtime_1 = require("react/jsx-runtime");
22
+ /* eslint-disable @typescript-eslint/no-unused-vars */
22
23
  var react_1 = require("react");
23
- var Icon_1 = require("../../../../../../../DynamicLayout/components/pdsOriginal/hybrid/Icon");
24
+ var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
24
25
  var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
25
26
  var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
26
27
  var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
@@ -31,6 +32,7 @@ var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
31
32
  var S_HiddenCover_1 = require("../components/S_HiddenCover");
32
33
  function VideoPlayer(props) {
33
34
  var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
35
+ var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
34
36
  var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
35
37
  var index = props.index, CB_STYLE_PROP_BGCOLOR = props.CB_STYLE_PROP_BGCOLOR, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
36
38
  var isEditMode = mode === 'EDIT';
@@ -51,62 +53,57 @@ function VideoPlayer(props) {
51
53
  : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
52
54
  var hasEffect = !isNoneEffectType;
53
55
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
54
- var CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, CB_CONTENT_PROP_VIDEO_SPEC_THUMB = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_THUMB, CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY, CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY;
55
- var shouldAutoplay = CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY ||
56
- (CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
56
+ var CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA, CB_CONTENT_PROP_VIDEO_SPEC_MPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_MPLAY, CB_CONTENT_PROP_VIDEO_SPEC_REPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_REPLAY, CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME, CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME, CB_CONTENT_PROP_VIDEO_SPEC_THUMB = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_THUMB, CB_CONTENT_PROP_VIDEO_SPEC_TYPE = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_TYPE, CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE;
57
57
  var getVideoSrc = function () {
58
+ if (CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE === 'DELEGATEDDATA' ||
59
+ CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE === 'QUERYDATA') {
60
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
61
+ return "ERROR: QueryData NOT FOUND";
62
+ }
63
+ var src = queryContext.queryData[CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA];
64
+ return src;
65
+ }
58
66
  return CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR;
59
67
  };
60
68
  var videoRef = (0, react_1.useRef)(null);
61
- var _d = (0, react_1.useState)(false), videoLoaded = _d[0], setVideoLoaded = _d[1];
62
- var onLoadedMetadata = function () {
63
- var video = videoRef.current;
64
- if (!video || isEditMode) {
65
- return;
66
- }
67
- if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
68
- video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
69
- }
70
- setVideoLoaded(true);
71
- };
72
69
  (0, react_1.useEffect)(function () {
73
70
  var video = videoRef.current;
74
- if (!video || isEditMode || !videoLoaded || !shouldAutoplay) {
71
+ if (!video)
75
72
  return;
76
- }
77
- var handleIntersection = function (entries) {
78
- entries.forEach(function (entry) {
79
- if (entry.isIntersecting) {
80
- video.muted = true;
81
- video.play().catch(function (err) {
82
- // eslint-disable-next-line no-console
83
- console.error('Error: CB VIDEO_PLAYER:', err);
84
- });
73
+ // 시작 시간으로 이동
74
+ // 이슈 발생시 수정 참고: https://developer.chrome.com/blog/play-request-was-interrupted
75
+ var handleLoadedMetadata = function () {
76
+ if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number' && mode !== 'EDIT') {
77
+ // NOTE: autoplay일 때만.
78
+ video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
79
+ video.play();
80
+ }
81
+ };
82
+ // 구간 반복
83
+ var handleTimeUpdate = function () {
84
+ if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number' &&
85
+ typeof CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME === 'number') {
86
+ if (video.currentTime < CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME) {
87
+ video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
85
88
  }
86
- else {
87
- video.pause();
89
+ if (video.currentTime >= CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME) {
90
+ video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
91
+ video.play();
88
92
  }
89
- });
93
+ }
90
94
  };
91
- var observer = new IntersectionObserver(handleIntersection, {
92
- threshold: 0.2
93
- });
94
- observer.observe(video);
95
+ video.addEventListener('loadedmetadata', handleLoadedMetadata);
96
+ video.addEventListener('timeupdate', handleTimeUpdate);
95
97
  return function () {
96
- observer.disconnect();
98
+ video.removeEventListener('loadedmetadata', handleLoadedMetadata);
99
+ video.removeEventListener('timeupdate', handleTimeUpdate);
97
100
  };
98
- }, [videoLoaded, isEditMode, shouldAutoplay]);
99
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsxs)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, propsStyle), layoutStyle), effectCssProperties), bgColorStyle), hoverStyle: __assign(__assign({}, propsHoverStyle), bgColorHoverStyle), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: [isEditMode && ((0, jsx_runtime_1.jsx)("div", __assign({ style: {
100
- position: 'absolute',
101
- top: '50%',
102
- left: '50%',
103
- width: '100%',
104
- height: '100%',
105
- display: 'flex',
106
- alignItems: 'center',
107
- justifyContent: 'center',
108
- transform: 'translate(-50%, -50%)'
109
- } }, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconName: "ic_video_play_circle", fillType: "fill", colorKey: "ui_cpnt_icon_sys_white", size: 48 }) }))), (0, jsx_runtime_1.jsxs)(S_Video, __assign({ muted: true, controls: !isEditMode, isEditMode: isEditMode, ref: videoRef, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onLoadedMetadata: onLoadedMetadata }, { children: [(0, jsx_runtime_1.jsx)("source", { src: getVideoSrc(), type: "video/mp4" }), "Your browser does not support the video tag."] }), CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
101
+ }, [
102
+ CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME,
103
+ CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME,
104
+ CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR
105
+ ]);
106
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, propsStyle), layoutStyle), effectCssProperties), bgColorStyle), hoverStyle: __assign(__assign({}, propsHoverStyle), bgColorHoverStyle), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: (0, jsx_runtime_1.jsxs)(S_Video, __assign({ isEditMode: isEditMode, ref: videoRef, controls: true, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, preload: "auto", loop: false, muted: true }, { children: [(0, jsx_runtime_1.jsx)("source", { src: getVideoSrc(), type: "video/mp4" }), "Your browser does not support the video tag."] }), CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR) })) }))] }));
110
107
  }
111
108
  function getBGColorStyles(props, device) {
112
109
  var availableSpecCodes = [
@@ -121,7 +118,7 @@ function getBGColorStyles(props, device) {
121
118
  ];
122
119
  return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
123
120
  }
124
- var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n pointer-events: ", ";\n width: 100%;\n"], ["\n height: 100%;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
121
+ var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"], ["\n height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
125
122
  var isEditMode = _a.isEditMode;
126
123
  return (isEditMode ? 'none' : 'auto');
127
124
  });
@@ -4,5 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.VideoPlayer = void 0;
7
+ // export { default as VideoPlayer } from './VideoPlayer';
7
8
  var VideoPlayer_1 = require("./VideoPlayer");
8
9
  Object.defineProperty(exports, "VideoPlayer", { enumerable: true, get: function () { return __importDefault(VideoPlayer_1).default; } });
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN } from '../../../util/types';
2
+ import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN, CCB_VALUE_TYPE, CB_VALUE_TYPE } from '../../../util/types';
3
3
  export type StylesProps = {
4
4
  normalStyle: React.CSSProperties;
5
5
  hoverStyle: React.CSSProperties;
@@ -7,15 +7,21 @@ export type StylesProps = {
7
7
  export type CB_CONTENT_PROP_TEXT = {
8
8
  CB_CONTENT_PROP_TEXT_SPEC_TEXT: STRING_PLAIN;
9
9
  CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE: STRING_PLAIN;
10
+ CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
11
+ CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
10
12
  };
11
13
  export type CB_CONTENT_PROP_CLINK = {
12
14
  CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
13
15
  CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
14
16
  CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
15
17
  CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
18
+ CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
19
+ CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA: STRING_PLAIN;
16
20
  };
17
21
  export type CB_CONTENT_PROP_IMAGE = {
18
22
  CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR: STRING_PLAIN;
23
+ CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
24
+ CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA: STRING_PLAIN;
19
25
  };
20
26
  export type CB_CONTENT_PROP_TWITTER = {
21
27
  CB_CONTENT_PROP_TWITTER_SPEC_SRC: STRING_PLAIN;
@@ -23,6 +29,55 @@ export type CB_CONTENT_PROP_TWITTER = {
23
29
  export type CB_CONTENT_PROP_CODEBLOCK = {
24
30
  CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
25
31
  };
32
+ export type CB_CONTENT_PROP_VIDEO = {
33
+ CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
34
+ CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: number;
35
+ CB_CONTENT_PROP_VIDEO_SPEC_MPLAY: boolean;
36
+ CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: boolean;
37
+ CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
38
+ CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
39
+ CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
40
+ CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
41
+ CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE: CB_VALUE_TYPE;
42
+ };
43
+ export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
44
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: CCB_VALUE_TYPE;
45
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
46
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
47
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
48
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: MockComposition[];
49
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
50
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
51
+ };
52
+ export type CB_CONTENT_PROP_SLIDEBANNER = {
53
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: CCB_VALUE_TYPE;
54
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
55
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
56
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
57
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: MockComposition[];
58
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
59
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
60
+ };
61
+ export type CB_CONTENT_PROP_CONTENTSLIST = {
62
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE: CCB_VALUE_TYPE;
63
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA: STRING_PLAIN;
64
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
65
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
66
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_OFFSET: NUMBER_INTEGER;
67
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: MockComposition[];
68
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
69
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
70
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
71
+ };
72
+ export type MockComposition = {
73
+ title: string;
74
+ width: number;
75
+ minWidth: number;
76
+ maxWidth: number;
77
+ height: number;
78
+ minHeight: number;
79
+ maxHeight: number;
80
+ };
26
81
  export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
27
82
  export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
28
83
  CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
@@ -100,12 +155,3 @@ export type CB_STYLE_PROP_COLOR_SPECS = CB_STYLE_PROP_COLOR_SPECS_BASE & {
100
155
  'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
101
156
  'CB_STYLE_PROP_COLOR_SPEC_TYPE:MOBILE:HOVER': CB_STYLE_PROP_COLOR_ENUM_TYPE | null | undefined;
102
157
  };
103
- export type CB_CONTENT_PROP_VIDEO = {
104
- CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: STRING_PLAIN;
105
- CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: string;
106
- CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY: string;
107
- CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY: string;
108
- CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
109
- CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
110
- CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
111
- };
@@ -38,7 +38,7 @@ function replaceUndefinedValues(jsonData) {
38
38
  }
39
39
  }
40
40
  return __assign({}, accSpecs);
41
- }, currentProps);
41
+ }, __assign({}, currentProps));
42
42
  return __assign(__assign({}, acc), (_a = {}, _a[currentPropKey] = specs, _a));
43
43
  }
44
44
  return acc;
@@ -1,10 +1,11 @@
1
- import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
1
+ import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './util/types';
2
2
  import type { IComposition } from '../../../DynamicLayout/types';
3
3
  export type CB_TYPES = 'GENERAL';
4
- export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_CONTENTS_CAROUSEL | CB_VIDEOPLAYER;
4
+ export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER | CB_VIDEOPLAYER;
5
5
  type GeneralCustomSectionType = {
6
6
  id: number;
7
7
  type: 'GENERAL';
8
+ blockId?: string;
8
9
  availablePlugins: Array<string>;
9
10
  queryableTapSrc: string;
10
11
  queryableDefinitionPreset: string;
@@ -18,7 +19,7 @@ export type GroupCustomSectionType = {
18
19
  queryableDefinitionPreset: string;
19
20
  dynamicLayoutSectionId: number;
20
21
  };
21
- export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
22
+ export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
22
23
  export type CB_TEXT_TYPE = GeneralCustomSectionType & {
23
24
  componentBlockCode: CB_ALL_CODES.CB_TEXT;
24
25
  jsonProperties: {
@@ -55,6 +56,12 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
55
56
  data: CB_YOUTUBE_PROPERTIES_TYPE;
56
57
  };
57
58
  };
59
+ export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
60
+ componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
61
+ jsonProperties: {
62
+ data: CB_YOUTUBE_PROPERTIES_TYPE;
63
+ };
64
+ };
58
65
  export type CB_TWITTER = GeneralCustomSectionType & {
59
66
  componentBlockCode: CB_ALL_CODES.CB_TWITTER;
60
67
  jsonProperties: {
@@ -73,18 +80,26 @@ export type CB_GROUP = GeneralCustomSectionType & {
73
80
  data: CB_BTN_PROPERTIES_TYPE;
74
81
  };
75
82
  };
76
- export type CB_CONTENTS_CAROUSEL = GeneralCustomSectionType & {
77
- componentBlockCode: CB_ALL_CODES.CB_CONTENTS_CAROUSEL;
83
+ export type CB_CONTENTSCAROUSEL = GeneralCustomSectionType & {
84
+ componentBlockCode: CB_ALL_CODES.CB_CONTENTSCAROUSEL;
78
85
  jsonProperties: {
79
- data: CB_BTN_PROPERTIES_TYPE;
86
+ data: CB_CONTENTSCAROUSEL_PROPERTIES_TYPE;
80
87
  };
81
88
  compositions: Array<IComposition>;
82
89
  };
83
- export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
84
- componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
90
+ export type CB_SLIDEBANNER = GeneralCustomSectionType & {
91
+ componentBlockCode: CB_ALL_CODES.CB_SLIDEBANNER;
85
92
  jsonProperties: {
86
- data: CB_VIDEOPLAYER_PROPERTIES_TYPE;
93
+ data: CB_SLIDEBANNER_PROPERTIES_TYPE;
87
94
  };
95
+ compositions: Array<IComposition>;
96
+ };
97
+ export type CB_LIST = GeneralCustomSectionType & {
98
+ componentBlockCode: CB_ALL_CODES.CB_LIST;
99
+ jsonProperties: {
100
+ data: CB_LIST_PROPERTIES_TYPE;
101
+ };
102
+ compositions: Array<IComposition>;
88
103
  };
89
104
  export declare enum CB_ALL_CODES {
90
105
  CB_TEXT = "CB_TEXT",
@@ -96,7 +111,9 @@ export declare enum CB_ALL_CODES {
96
111
  CB_TWITTER = "CB_TWITTER",
97
112
  CB_EMBED = "CB_EMBED",
98
113
  CB_GROUP = "CB_GROUP",
99
- CB_CONTENTS_CAROUSEL = "CB_CONTENTS_CAROUSEL",
114
+ CB_LIST = "CB_LIST",
115
+ CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
116
+ CB_SLIDEBANNER = "CB_SLIDEBANNER",
100
117
  CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
101
118
  }
102
119
  export {};
@@ -12,6 +12,8 @@ var CB_ALL_CODES;
12
12
  CB_ALL_CODES["CB_TWITTER"] = "CB_TWITTER";
13
13
  CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
14
14
  CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
15
- CB_ALL_CODES["CB_CONTENTS_CAROUSEL"] = "CB_CONTENTS_CAROUSEL";
15
+ CB_ALL_CODES["CB_LIST"] = "CB_LIST";
16
+ CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
17
+ CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
16
18
  CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
17
19
  })(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
@@ -12,8 +12,8 @@ export type CB_EFFECT_PROP_ENTANIM_BASE = {
12
12
  CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: string;
13
13
  };
14
14
  export type CB_EFFECT_PROP_ENTANIM_SPECS = CB_EFFECT_PROP_ENTANIM_BASE & Partial<{
15
- 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined;
16
- 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined;
17
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined;
18
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined;
15
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined | null;
16
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined | null;
17
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined | null;
18
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined | null;
19
19
  }>;
@@ -16,8 +16,8 @@ export type CB_STYLE_PROP_PADDING_BASE = {
16
16
  };
17
17
  export type CB_LAYOUT_PROP_PADDING_SPECS = CB_STYLE_PROP_PADDING_BASE & {
18
18
  CB_LAYOUT_PROP_PADDING_SPEC_PADDING: CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ;
19
- 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined;
19
+ 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined | null;
20
20
  CB_LAYOUT_PROP_PADDING_SPEC_FIX: boolean;
21
- 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined;
21
+ 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined | null;
22
22
  };
23
23
  export {};
@@ -0,0 +1,14 @@
1
+ import type { ICompositionJsonProperties } from '../../../../DynamicLayout/types';
2
+ type Props = {
3
+ isMobile: boolean;
4
+ compositionProps: ICompositionJsonProperties['data']['CB_PLACEMENT_PROP_COMPOSITION'];
5
+ };
6
+ declare function parseCompositionPlacement({ isMobile, compositionProps }: Props): {
7
+ minHeight: number | null;
8
+ maxHeight: number | null;
9
+ minWidth: number | null;
10
+ maxWidth: number | null;
11
+ rows: number;
12
+ columns: number;
13
+ };
14
+ export default parseCompositionPlacement;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ function parseCompositionPlacement(_a) {
4
+ var _b, _c, _d, _e, _f, _g;
5
+ var isMobile = _a.isMobile, compositionProps = _a.compositionProps;
6
+ var CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS, CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS;
7
+ if (isMobile) {
8
+ return {
9
+ minHeight: (_b = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE']) !== null && _b !== void 0 ? _b : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
10
+ maxHeight: (_c = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE']) !== null && _c !== void 0 ? _c : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
11
+ minWidth: (_d = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE']) !== null && _d !== void 0 ? _d : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
12
+ maxWidth: (_e = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE']) !== null && _e !== void 0 ? _e : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
13
+ rows: (_f = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE']) !== null && _f !== void 0 ? _f : CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
14
+ columns: (_g = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE']) !== null && _g !== void 0 ? _g : CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
15
+ };
16
+ }
17
+ return {
18
+ minHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
19
+ maxHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
20
+ minWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
21
+ maxWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
22
+ rows: CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
23
+ columns: CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
24
+ };
25
+ }
26
+ exports.default = parseCompositionPlacement;
@@ -1,3 +1,3 @@
1
1
  import type { Device, JsonPropertiesParserResult } from './types';
2
- import type { ISectionJsonProperties } from '../../../../DynamicLayout/types';
3
- export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
2
+ import type { ICompositionJsonProperties, ISectionJsonProperties } from '../../../../DynamicLayout/types';
3
+ export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | ICompositionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;