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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -3
  3. package/dist/src/common/assets/icons/fill/Video.js +1 -1
  4. package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
  5. package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
  6. package/dist/src/common/assets/icons/fill/index.d.ts +0 -3
  7. package/dist/src/common/assets/icons/fill/index.js +1 -7
  8. package/dist/src/common/assets/icons/line/Video.js +1 -1
  9. package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
  10. package/dist/src/common/assets/icons/line/VideoType.js +1 -1
  11. package/dist/src/common/assets/icons/line/index.d.ts +0 -12
  12. package/dist/src/common/assets/icons/line/index.js +1 -25
  13. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
  14. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
  15. package/dist/src/common/hooks/useAbsolutePositioner.js +2 -2
  16. package/dist/src/common/hooks/useTooltip.d.ts +2 -2
  17. package/dist/src/common/hooks/useTooltip.js +2 -2
  18. package/dist/src/common/services/i18n/resources/en.json +1 -9
  19. package/dist/src/common/services/i18n/resources/es.json +1 -9
  20. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  21. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  22. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  23. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  24. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  25. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  26. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  27. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  28. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  29. package/dist/src/common/styles/colorSet/index.d.ts +2 -31
  30. package/dist/src/common/styles/colorSet/index.js +2 -2
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  32. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
  33. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
  34. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
  35. package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
  36. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
  37. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  38. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  39. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  40. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
  41. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  42. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  43. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +2 -4
  44. package/dist/src/desktop/components/BasicListItem/Contents.js +3 -3
  45. package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
  46. package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  47. package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
  48. package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
  49. package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
  50. package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
  51. package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
  52. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  53. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  54. package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
  55. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  56. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  57. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  58. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  59. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  60. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
  61. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
  62. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
  63. package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
  64. package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
  65. package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
  66. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  67. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  68. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
  69. package/dist/src/desktop/components/Select/Select.js +1 -1
  70. package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
  71. package/dist/src/desktop/components/Slider/Slider.js +1 -1
  72. package/dist/src/desktop/components/TextField/TextField.js +16 -42
  73. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
  74. package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
  75. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
  76. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
  77. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  78. package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
  79. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
  80. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  81. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  82. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  83. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  84. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +2 -4
  85. package/dist/src/mobile/components/BasicListItem/Contents.js +3 -3
  86. package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
  87. package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  88. package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
  89. package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
  90. package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
  91. package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
  92. package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
  93. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  94. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  95. package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
  96. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  97. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  98. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  99. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  100. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  101. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
  102. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
  103. package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
  104. package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
  105. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  106. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  107. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
  108. package/dist/src/mobile/components/Select/Select.js +1 -1
  109. package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
  110. package/dist/src/mobile/components/Slider/Slider.js +1 -1
  111. package/dist/src/mobile/components/TextField/TextField.js +16 -42
  112. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  113. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  114. package/dist/src/mobile/components/index.d.ts +1 -2
  115. package/dist/src/mobile/components/index.js +1 -3
  116. package/dist/src/mobile/index.d.ts +1 -1
  117. package/dist/src/mobile/index.js +2 -3
  118. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  119. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  120. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  121. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  122. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  123. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  124. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  125. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  126. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  127. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  128. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  129. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  130. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  131. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  132. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  133. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  134. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  135. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  136. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  137. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  138. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  139. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -1
  140. package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
  141. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
  142. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  143. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
  144. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
  145. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
  146. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  147. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
  148. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +6 -6
  149. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
  150. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  151. package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
  152. package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
  153. package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
  154. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
  155. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  156. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
  157. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +7 -8
  158. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
  159. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
  160. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +4 -5
  161. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
  162. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
  163. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  164. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
  165. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
  166. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -13
  167. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
  168. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +2 -4
  169. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
  170. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  171. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  172. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  173. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  174. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  175. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  176. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  177. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  178. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  179. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  180. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  181. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  182. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
  183. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
  184. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
  185. package/dist/src/sub/DynamicLayout/mock_composition.js +43 -852
  186. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
  187. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1071
  188. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
  189. package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1017
  190. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -842
  191. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -803
  192. package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
  193. package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
  194. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +1 -1
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +11 -32
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +58 -153
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +1 -5
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +57 -6
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -10
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +33 -31
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +1 -3
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +24 -47
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +13 -3
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +316 -144
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +24 -39
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -2
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +96 -47
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -5
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +2 -2
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -58
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +2 -12
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +7 -15
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +2 -2
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +30 -95
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +1 -5
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +57 -6
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -9
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +33 -31
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +1 -3
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +24 -47
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +4 -4
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -168
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +7 -47
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -12
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +5 -12
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -16
  261. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  262. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +3 -3
  263. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  264. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  265. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
  266. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
  267. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
  268. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
  269. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
  270. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  271. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
  272. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
  273. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
  274. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
  275. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
  276. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
  277. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
  278. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  279. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  280. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  281. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
  282. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
  283. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
  284. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
  285. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  286. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
  287. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
  288. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
  289. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
  290. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  291. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
  292. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
  293. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
  294. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  295. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
  296. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
  297. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
  298. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
  299. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
  300. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
  301. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
  302. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  303. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  304. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  305. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
  306. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
  307. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  308. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
  309. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
  310. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
  311. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
  312. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  313. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
  314. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
  315. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
  316. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  317. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  318. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  319. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  320. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
  321. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
  322. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  323. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
  324. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  325. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
  326. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
  327. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
  328. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
  329. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
  330. package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
  331. package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
  332. package/package.json +3 -2
  333. package/release-note.md +3 -3
  334. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  335. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  336. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  337. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  338. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  339. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  340. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  341. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  342. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  343. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  344. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  345. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  346. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  347. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  348. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  349. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  350. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  351. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  352. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  353. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  354. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  355. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  356. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  357. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  358. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  359. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  360. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  361. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  362. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  363. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  364. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  365. package/dist/src/common/utils/dateHelper.js +0 -87
  366. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  367. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  368. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  369. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  370. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  371. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  372. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  373. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  374. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  375. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  376. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  377. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  378. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  379. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  380. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  381. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  382. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  383. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  384. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  385. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  386. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  387. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  388. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  389. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  390. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  391. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  392. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
  393. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
  394. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  395. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  396. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  397. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  398. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  399. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  400. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  401. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  402. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  403. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  404. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  405. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
  406. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  407. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  408. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
  409. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
@@ -1,43 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ProgressDesign1: ({ progress, leftTimeSec, progressColor, bufferColor }: {
3
- progress: number;
4
- leftTimeSec: number;
5
- progressColor?: string | undefined;
6
- bufferColor?: string | undefined;
7
- }) => JSX.Element;
8
- export declare const ProgressDesign2: ({ progress, leftTimeSec, progressColor, bufferColor }: {
9
- progress: number;
10
- leftTimeSec: number;
11
- progressColor?: string | undefined;
12
- bufferColor?: string | undefined;
13
- }) => JSX.Element;
14
- export declare const ProgressDesign3: ({ progress, progressColor, bufferColor }: {
15
- progress: number;
16
- progressColor?: string | undefined;
17
- bufferColor?: string | undefined;
18
- }) => JSX.Element;
19
- export declare const ProgressDesign4: ({ progress, progressColor, bufferColor }: {
20
- progress: number;
21
- progressColor?: string | undefined;
22
- bufferColor?: string | undefined;
23
- }) => JSX.Element;
24
- export declare const ProgressDesign5: ({ progress, progressColor, bufferColor }: {
25
- progress: number;
26
- progressColor?: string | undefined;
27
- bufferColor?: string | undefined;
28
- }) => JSX.Element;
29
- export declare const ProgressDesign6: ({ progress, progressColor, bufferColor }: {
30
- progress: number;
31
- progressColor?: string | undefined;
32
- bufferColor?: string | undefined;
33
- }) => JSX.Element;
34
- export declare const ProgressDesign7: ({ progress, progressColor, bufferColor }: {
35
- progress: number;
36
- progressColor?: string | undefined;
37
- bufferColor?: string | undefined;
38
- }) => JSX.Element;
39
- export declare const ProgressDesign8: ({ progress, progressColor, bufferColor }: {
40
- progress: number;
41
- progressColor?: string | undefined;
42
- bufferColor?: string | undefined;
43
- }) => JSX.Element;
@@ -1,162 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.ProgressDesign8 = exports.ProgressDesign7 = exports.ProgressDesign6 = exports.ProgressDesign5 = exports.ProgressDesign4 = exports.ProgressDesign3 = exports.ProgressDesign2 = exports.ProgressDesign1 = void 0;
22
- var jsx_runtime_1 = require("react/jsx-runtime");
23
- var styled_components_1 = __importDefault(require("styled-components"));
24
- var ProgressDesign1 = function (_a) {
25
- var progress = _a.progress, leftTimeSec = _a.leftTimeSec, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
26
- return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign1, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
27
- '--progress': 1 - progress,
28
- transition: 'all 0.03s ease-out'
29
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] })));
30
- };
31
- exports.ProgressDesign1 = ProgressDesign1;
32
- var ProgressDesign2 = function (_a) {
33
- var progress = _a.progress, leftTimeSec = _a.leftTimeSec, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
34
- return ((0, jsx_runtime_1.jsxs)(S_ProgressDesign2, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: [(0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
35
- '--progress': 1 - progress,
36
- transition: 'all 0.03s linear'
37
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })), (0, jsx_runtime_1.jsx)("span", { children: Math.ceil(leftTimeSec) })] })));
38
- };
39
- exports.ProgressDesign2 = ProgressDesign2;
40
- var ProgressDesign3 = function (_a) {
41
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
42
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign3, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
43
- '--progress': 1 - progress,
44
- transition: 'all 0.03s ease-out'
45
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) })));
46
- };
47
- exports.ProgressDesign3 = ProgressDesign3;
48
- var ProgressDesign4 = function (_a) {
49
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
50
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign4, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ viewBox: "0 0 48 48", style: {
51
- '--progress': 1 - progress,
52
- transition: 'all 0.03s linear'
53
- } }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "bg-circle" }), (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20", className: "progress-circle" })] })) })));
54
- };
55
- exports.ProgressDesign4 = ProgressDesign4;
56
- var ProgressDesign5 = function (_a) {
57
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
58
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign5, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
59
- '--progress': 1 - progress,
60
- transition: 'all 0.03s ease-out'
61
- } }) })) })));
62
- };
63
- exports.ProgressDesign5 = ProgressDesign5;
64
- var ProgressDesign6 = function (_a) {
65
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
66
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign6, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
67
- '--progress': 1 - progress,
68
- transition: 'all 0.03s ease-out'
69
- } }) })) })));
70
- };
71
- exports.ProgressDesign6 = ProgressDesign6;
72
- var ProgressDesign7 = function (_a) {
73
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
74
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign7, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
75
- '--progress': 1 - progress,
76
- transition: 'all 0.03s ease-out'
77
- } }) })) })));
78
- };
79
- exports.ProgressDesign7 = ProgressDesign7;
80
- var ProgressDesign8 = function (_a) {
81
- var progress = _a.progress, progressColor = _a.progressColor, bufferColor = _a.bufferColor;
82
- return ((0, jsx_runtime_1.jsx)(S_ProgressDesign8, __assign({ barColor: progressColor, bgColor: bufferColor }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "progress-bar-container" }, { children: (0, jsx_runtime_1.jsx)("div", { className: "progress-bar-fill", style: {
83
- '--progress': 1 - progress,
84
- transition: 'all 0.03s ease-out'
85
- } }) })) })));
86
- };
87
- exports.ProgressDesign8 = ProgressDesign8;
88
- var S_ProgressDesign1 = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])), function (_a) {
89
- var barColor = _a.barColor;
90
- return barColor;
91
- }, function (_a) {
92
- var barColor = _a.barColor;
93
- return barColor;
94
- }, function (_a) {
95
- var bgColor = _a.bgColor;
96
- return bgColor;
97
- });
98
- var S_ProgressDesign2 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
99
- var barColor = _a.barColor;
100
- return barColor;
101
- }, function (_a) {
102
- var barColor = _a.barColor;
103
- return barColor;
104
- }, function (_a) {
105
- var bgColor = _a.bgColor;
106
- return bgColor;
107
- });
108
- var S_ProgressDesign3 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n"])), function (_a) {
109
- var barColor = _a.barColor;
110
- return barColor;
111
- }, function (_a) {
112
- var barColor = _a.barColor;
113
- return barColor;
114
- }, function (_a) {
115
- var bgColor = _a.bgColor;
116
- return bgColor;
117
- });
118
- var S_ProgressDesign4 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n width: 48px;\n\n svg {\n --progress: 0;\n fill: none;\n height: calc(100% - 10px);\n left: 5px;\n position: absolute;\n stroke: ", ";\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 5px;\n transform: rotate(-90deg);\n width: calc(100% - 10px);\n z-index: 10;\n\n .bg-circle {\n stroke: ", ";\n stroke-dasharray: none;\n stroke-width: 4px;\n }\n }\n\n span {\n font-size: 11px;\n z-index: 11;\n }\n"])), function (_a) {
119
- var barColor = _a.barColor;
120
- return barColor;
121
- }, function (_a) {
122
- var barColor = _a.barColor;
123
- return barColor;
124
- }, function (_a) {
125
- var bgColor = _a.bgColor;
126
- return bgColor;
127
- });
128
- var S_ProgressDesign5 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(255, 255, 255, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
129
- var barColor = _a.barColor;
130
- return barColor;
131
- }, function (_a) {
132
- var barColor = _a.barColor;
133
- return barColor;
134
- });
135
- var S_ProgressDesign6 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: rgba(0, 0, 0, 0.2);\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n border-radius: 3px;\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
136
- var bgColor = _a.bgColor;
137
- return bgColor;
138
- }, function (_a) {
139
- var bgColor = _a.bgColor;
140
- return bgColor;
141
- });
142
- var S_ProgressDesign7 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
143
- var barColor = _a.barColor;
144
- return barColor;
145
- }, function (_a) {
146
- var bgColor = _a.bgColor;
147
- return bgColor;
148
- }, function (_a) {
149
- var barColor = _a.barColor;
150
- return barColor;
151
- });
152
- var S_ProgressDesign8 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: column;\n font-weight: bold;\n padding-bottom: 12px;\n padding-right: 12px;\n width: 80px;\n\n .progress-bar-container {\n background-color: ", ";\n height: 6px;\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .progress-bar-fill {\n background-color: ", ";\n height: 100%;\n transition: width 0.1s ease-out;\n width: calc(var(--progress) * 100%);\n }\n"])), function (_a) {
153
- var barColor = _a.barColor;
154
- return barColor;
155
- }, function (_a) {
156
- var bgColor = _a.bgColor;
157
- return bgColor;
158
- }, function (_a) {
159
- var barColor = _a.barColor;
160
- return barColor;
161
- });
162
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CB_VIDEOPLAYER_PROPERTIES_TYPE, IndexForIntersection } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
3
- type Props = CB_VIDEOPLAYER_PROPERTIES_TYPE & IndexForIntersection;
4
- declare function VideoPlayer(props: Props): JSX.Element;
5
- export default VideoPlayer;
@@ -1,148 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var react_1 = require("react");
23
- var Icon_1 = require("../../../../../../../DynamicLayout/components/pdsOriginal/hybrid/Icon");
24
- var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
25
- var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
26
- var colorUtil_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/newUtils/colorUtil");
27
- var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
28
- var styled_components_1 = __importDefault(require("styled-components"));
29
- var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
30
- var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
31
- var S_HiddenCover_1 = require("../components/S_HiddenCover");
32
- var helper_1 = require("./helper");
33
- function VideoPlayer(props) {
34
- var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
35
- var CB_CONTENT_PROP_VIDEO = props.CB_CONTENT_PROP_VIDEO;
36
- 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;
37
- var isEditMode = mode === 'EDIT';
38
- var _b = getBGColorStyles(CB_STYLE_PROP_BGCOLOR, device), bgColorStyle = _b.style, bgColorHoverStyle = _b.hoverStyle;
39
- var _c = (0, util_1.parseProperties)(props, device), propsStyle = _c.style, propsHoverStyle = _c.hoverStyle, layoutStyle = _c.layout, effect = _c.effect;
40
- var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
41
- if (mode === 'EDIT') {
42
- propsStyle.visibility = 'visible';
43
- }
44
- var cbRef = (0, react_1.useRef)(null);
45
- var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 0.2, freezeOnceVisible: false }, [
46
- index
47
- ]);
48
- var _d = (0, react_1.useState)(false), videoStarted = _d[0], setVideoStarted = _d[1];
49
- var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
50
- var effectCssProperties = isVisible ? effect : {};
51
- var isNoneEffectType = device === 'DESKTOP'
52
- ? CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE === 'NONE'
53
- : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
54
- var hasEffect = !isNoneEffectType;
55
- var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
56
- 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;
57
- var shouldAutoplay = (CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY && device === 'DESKTOP') ||
58
- (CB_CONTENT_PROP_VIDEO_SPEC_MAUTOPLAY && device === 'MOBILE');
59
- var videoRef = (0, react_1.useRef)(null);
60
- var _e = (0, react_1.useState)(false), videoLoaded = _e[0], setVideoLoaded = _e[1];
61
- var _f = (0, react_1.useState)(function () {
62
- return (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL;
63
- }), videoURL = _f[0], setVideoURL = _f[1];
64
- var onVideoError = function () {
65
- var fallbackURL = (0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).fallbackURL;
66
- var isFallbackURL = fallbackURL === videoURL;
67
- if (fallbackURL && !isFallbackURL) {
68
- setVideoURL(fallbackURL);
69
- return;
70
- }
71
- };
72
- var onLoadedMetadata = function () {
73
- setVideoLoaded(true);
74
- };
75
- var onPlay = function () {
76
- var video = videoRef.current;
77
- if (!video || isEditMode || videoStarted || shouldAutoplay) {
78
- return;
79
- }
80
- if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
81
- video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
82
- setVideoStarted(true);
83
- }
84
- };
85
- (0, react_1.useEffect)(function () {
86
- var video = videoRef.current;
87
- if (!video || isEditMode || !videoLoaded || !shouldAutoplay) {
88
- return;
89
- }
90
- var handleIntersection = function (entries) {
91
- entries.forEach(function (entry) {
92
- if (entry.isIntersecting) {
93
- if (typeof CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME === 'number') {
94
- video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
95
- }
96
- video.muted = true;
97
- video.play().catch(function (err) {
98
- // eslint-disable-next-line no-console
99
- console.error('Error: CB VIDEO_PLAYER:', err);
100
- });
101
- }
102
- else {
103
- video.pause();
104
- }
105
- });
106
- };
107
- var observer = new IntersectionObserver(handleIntersection, {
108
- threshold: 0.2
109
- });
110
- observer.observe(video);
111
- return function () {
112
- observer.disconnect();
113
- };
114
- }, [videoLoaded, isEditMode, shouldAutoplay]);
115
- (0, react_1.useEffect)(function () {
116
- setVideoURL((0, helper_1.parseTargetUrl)(CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR).encodedURL);
117
- }, [CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR]);
118
- 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: {
119
- position: 'absolute',
120
- top: '50%',
121
- left: '50%',
122
- width: '100%',
123
- height: '100%',
124
- display: 'flex',
125
- alignItems: 'center',
126
- justifyContent: 'center',
127
- transform: 'translate(-50%, -50%)'
128
- } }, { 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, playsInline: true, controls: !isEditMode, isEditMode: isEditMode, ref: videoRef, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onLoadedMetadata: onLoadedMetadata, onPlay: onPlay, onError: onVideoError, "data-src": CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR }, { children: [(0, jsx_runtime_1.jsx)("source", { src: videoURL }), "Your browser does not support the video tag."] }), videoURL + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
129
- }
130
- function getBGColorStyles(props, device) {
131
- var availableSpecCodes = [
132
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE',
133
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR',
134
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR',
135
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC',
136
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT',
137
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR',
138
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC',
139
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE'
140
- ];
141
- return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
142
- }
143
- var S_Video = styled_components_1.default.video(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"], ["\n aspect-ratio: 16 / 9;\n height: 100%;\n max-height: 100%;\n object-fit: cover;\n pointer-events: ", ";\n width: 100%;\n"])), function (_a) {
144
- var isEditMode = _a.isEditMode;
145
- return (isEditMode ? 'none' : 'auto');
146
- });
147
- exports.default = VideoPlayer;
148
- var templateObject_1;
@@ -1,4 +0,0 @@
1
- export declare function parseTargetUrl(url: string): {
2
- encodedURL: string;
3
- fallbackURL: string | null;
4
- };
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseTargetUrl = void 0;
4
- function parseTargetUrl(url) {
5
- var _a = url.split('?'), encodedURL = _a[0], query = _a[1];
6
- if (!query) {
7
- return {
8
- encodedURL: encodedURL,
9
- fallbackURL: null
10
- };
11
- }
12
- var params = new URLSearchParams(query);
13
- var fallbackUrl = params.get('fallbackUrl');
14
- if (!fallbackUrl) {
15
- return {
16
- encodedURL: encodedURL,
17
- fallbackURL: null
18
- };
19
- }
20
- return {
21
- encodedURL: encodedURL,
22
- fallbackURL: "http://".concat(fallbackUrl)
23
- };
24
- }
25
- exports.parseTargetUrl = parseTargetUrl;
@@ -1 +0,0 @@
1
- export { default as VideoPlayer } from './VideoPlayer';
@@ -1,8 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.VideoPlayer = void 0;
7
- var VideoPlayer_1 = require("./VideoPlayer");
8
- Object.defineProperty(exports, "VideoPlayer", { enumerable: true, get: function () { return __importDefault(VideoPlayer_1).default; } });