pds-dev-kit-web-test 2.5.402 → 2.5.405

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 (232) 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/useTooltip.js +1 -1
  16. package/dist/src/common/services/i18n/resources/en.json +1 -9
  17. package/dist/src/common/services/i18n/resources/es.json +1 -9
  18. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  19. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  20. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  21. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  22. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  23. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  24. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  25. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  26. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  27. package/dist/src/common/styles/colorSet/index.d.ts +0 -29
  28. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  29. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  30. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  31. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  32. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  33. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  34. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  35. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -3
  36. package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
  37. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  38. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  39. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  40. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  41. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  42. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  43. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  44. package/dist/src/desktop/components/TextField/TextField.js +15 -41
  45. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  46. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  47. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  48. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -3
  49. package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
  50. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  51. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  52. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  53. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  54. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  55. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  56. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  57. package/dist/src/mobile/components/TextField/TextField.js +15 -41
  58. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  59. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  60. package/dist/src/mobile/components/index.d.ts +1 -2
  61. package/dist/src/mobile/components/index.js +1 -3
  62. package/dist/src/mobile/index.d.ts +1 -1
  63. package/dist/src/mobile/index.js +2 -3
  64. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  65. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  66. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  67. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  68. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  69. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  70. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  71. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  72. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  73. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  74. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  75. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  76. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  77. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  78. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  79. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  80. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  81. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  82. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  83. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  84. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  85. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  86. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +20 -0
  87. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1132 -0
  88. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  89. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +4 -2
  90. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  91. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  92. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  93. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +9 -0
  94. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +53 -0
  95. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  96. package/dist/src/sub/DynamicLayout/DynamicLayout.js +3 -2
  97. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  98. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +1 -12
  99. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  100. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  101. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  102. package/dist/src/sub/DynamicLayout/compositionActionTypes.js +2 -0
  103. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  104. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  105. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  106. package/dist/src/sub/DynamicLayout/mock_composition.js +797 -0
  107. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -0
  108. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +326 -0
  109. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -0
  110. package/dist/src/sub/DynamicLayout/mock_contentsList.js +296 -0
  111. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -0
  112. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +318 -0
  113. package/dist/src/sub/DynamicLayout/mocks.d.ts +7 -186
  114. package/dist/src/sub/DynamicLayout/mocks.js +50 -25
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -6
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -23
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -4
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +154 -2
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +17 -0
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +39 -0
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +31 -0
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +169 -0
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +26 -0
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +185 -0
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +21 -0
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +94 -0
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +50 -0
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +919 -0
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +90 -0
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +8 -0
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +100 -0
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +27 -0
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +188 -0
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +30 -0
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +357 -0
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +46 -0
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +31 -3
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +8 -0
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +150 -0
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +15 -0
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +31 -0
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +169 -0
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +26 -0
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +185 -0
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +21 -0
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +94 -0
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/{VideoPlayer → SlideBanner}/index.js +3 -3
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +48 -0
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +855 -0
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +80 -0
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +24 -6
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +45 -12
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +21 -11
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -2
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +41 -5
  176. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +2 -1
  177. package/dist/src/sub/DynamicLayout/types.d.ts +43 -19
  178. package/package.json +3 -3
  179. package/release-note.md +3 -3
  180. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  181. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  182. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  183. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  184. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  185. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  186. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  187. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  188. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  189. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  190. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  191. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  192. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  193. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  194. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  195. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  196. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  197. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  198. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  199. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  200. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  201. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  202. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  203. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  204. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  205. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  206. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  207. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  208. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  209. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  210. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  211. package/dist/src/common/utils/dateHelper.js +0 -87
  212. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  213. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  214. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  215. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  216. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  217. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  218. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  219. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  220. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  221. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  222. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  223. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  224. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  225. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  226. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -369
  227. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -372
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -173
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
@@ -1,372 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MOCK_VIDEO_CB_2 = exports.MOCK_VIDEO_CB = void 0;
4
- exports.MOCK_VIDEO_CB = {
5
- availablePlugins: [],
6
- blockId: 'CB_191877',
7
- componentBlockCode: 'CB_VIDEOPLAYER',
8
- componentBlockType: 'GENERAL',
9
- compositions: [],
10
- dynamicLayoutSectionId: 31271,
11
- id: 191877,
12
- insertedAt: '2025-05-14T07:13:24',
13
- jsonProperties: {
14
- currentVersion: '2025-01-10',
15
- data: {
16
- CB_CONTENT_PROP_HOVER: {
17
- CB_CONTENT_PROP_HOVER_SPEC_MUSE: true
18
- },
19
- CB_CONTENT_PROP_VIDEO: {
20
- CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: 'NONE',
21
- CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: 10,
22
- CB_CONTENT_PROP_VIDEO_SPEC_MPLAY: true,
23
- CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: true,
24
- CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4',
25
- CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: 5,
26
- CB_CONTENT_PROP_VIDEO_SPEC_THUMB: '',
27
- CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE',
28
- CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE: 'VALUE',
29
- CB_CONTENT_PROP_VIDEO_SPEC_AUTOPLAY: true
30
- },
31
- CB_CONTENT_PROP_VISIBILITY: {
32
- CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: true,
33
- CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB: true
34
- },
35
- CB_EFFECT_PROP_ENTANIM: {
36
- CB_EFFECT_PROP_ENTANIM_SPEC_DURATION: 0.7,
37
- 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': null,
38
- CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT: 1,
39
- 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': null,
40
- CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC: 'EASEINOUT',
41
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': null,
42
- CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: 'NONE',
43
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': null
44
- },
45
- CB_EFFECT_PROP_HOVERANIM: {
46
- CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION: 0.7,
47
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION:MOBILE': null,
48
- CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT: 1,
49
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT:MOBILE': null,
50
- CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC: 'EASEINOUT',
51
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC:MOBILE': null,
52
- CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE: 'NONE',
53
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE:MOBILE': null
54
- },
55
- CB_LAYOUT_PROP_ARRANGE: {
56
- CB_LAYOUT_PROP_ARRANGE_SPEC_HORIZONTAL: 'CENTER',
57
- 'CB_LAYOUT_PROP_ARRANGE_SPEC_HORIZONTAL:MOBILE': null,
58
- CB_LAYOUT_PROP_ARRANGE_SPEC_VERTICAL: 'MIDDLE',
59
- 'CB_LAYOUT_PROP_ARRANGE_SPEC_VERTICAL:MOBILE': null
60
- },
61
- CB_LAYOUT_PROP_PADDING: {
62
- CB_LAYOUT_PROP_PADDING_SPEC_FIX: true,
63
- 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': null,
64
- CB_LAYOUT_PROP_PADDING_SPEC_PADDING: {
65
- bottom: 0,
66
- left: 0,
67
- right: 0,
68
- top: 0
69
- },
70
- 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': null
71
- },
72
- CB_PLACEMENT_PROP_PLACEMENT: {
73
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS: 12,
74
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE': 8,
75
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS: 9,
76
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE': 9,
77
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX: 0,
78
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE': 0,
79
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY: 2,
80
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': 2,
81
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: 1,
82
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': 1
83
- },
84
- CB_STYLE_PROP_BGCOLOR: {
85
- CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE: 90,
86
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:HOVER': null,
87
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:MOBILE': null,
88
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:MOBILE:HOVER': null,
89
- CB_STYLE_PROP_BGCOLOR_SPEC_COLOR: '#455EEFFF',
90
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:HOVER': null,
91
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:MOBILE': null,
92
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:MOBILE:HOVER': null,
93
- CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR: '#27FFBFFF',
94
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:HOVER': null,
95
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:MOBILE': null,
96
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:MOBILE:HOVER': null,
97
- CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC: 100,
98
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:HOVER': null,
99
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:MOBILE': null,
100
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:MOBILE:HOVER': null,
101
- CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT: 'LINEAR',
102
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:HOVER': null,
103
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:MOBILE': null,
104
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:MOBILE:HOVER': null,
105
- CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR: '#455EEFFF',
106
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:HOVER': null,
107
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:MOBILE': null,
108
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:MOBILE:HOVER': null,
109
- CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC: 0,
110
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:HOVER': null,
111
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:MOBILE': null,
112
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:MOBILE:HOVER': null,
113
- CB_STYLE_PROP_BGCOLOR_SPEC_TYPE: 'NONE',
114
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:HOVER': null,
115
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:MOBILE': null,
116
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:MOBILE:HOVER': null
117
- },
118
- CB_STYLE_PROP_BORDER: {
119
- CB_STYLE_PROP_BORDER_SPEC_COLOR: '#333333FF',
120
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:HOVER': null,
121
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE': null,
122
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE:HOVER': null,
123
- CB_STYLE_PROP_BORDER_SPEC_RADIUS: {
124
- bl: 0,
125
- br: 0,
126
- tl: 0,
127
- tr: 0
128
- },
129
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:HOVER': null,
130
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE': null,
131
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE:HOVER': null,
132
- CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX: true,
133
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:HOVER': null,
134
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE': null,
135
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE:HOVER': null,
136
- CB_STYLE_PROP_BORDER_SPEC_STYLE: 'NONE',
137
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:HOVER': null,
138
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE': null,
139
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE:HOVER': null,
140
- CB_STYLE_PROP_BORDER_SPEC_WIDTH: 2,
141
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:HOVER': null,
142
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE': null,
143
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE:HOVER': null
144
- },
145
- CB_STYLE_PROP_OPACITY: {
146
- CB_STYLE_PROP_OPACITY_SPEC_OPACITY: 100,
147
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:HOVER': null,
148
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE': null,
149
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE:HOVER': null
150
- },
151
- CB_STYLE_PROP_SHADOW: {
152
- CB_STYLE_PROP_SHADOW_SPEC_BLUR: 24,
153
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:HOVER': null,
154
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE': null,
155
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE:HOVER': null,
156
- CB_STYLE_PROP_SHADOW_SPEC_COLOR: '#000000FF',
157
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:HOVER': null,
158
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE': null,
159
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE:HOVER': null,
160
- CB_STYLE_PROP_SHADOW_SPEC_OPACITY: 30,
161
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:HOVER': null,
162
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE': null,
163
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE:HOVER': null,
164
- CB_STYLE_PROP_SHADOW_SPEC_SPREAD: 2,
165
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:HOVER': null,
166
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE': null,
167
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE:HOVER': null,
168
- CB_STYLE_PROP_SHADOW_SPEC_TYPE: 'NONE',
169
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:HOVER': null,
170
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE': null,
171
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE:HOVER': null,
172
- CB_STYLE_PROP_SHADOW_SPEC_X: 0,
173
- 'CB_STYLE_PROP_SHADOW_SPEC_X:HOVER': null,
174
- 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE': null,
175
- 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE:HOVER': null,
176
- CB_STYLE_PROP_SHADOW_SPEC_Y: 12,
177
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:HOVER': null,
178
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE': null,
179
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE:HOVER': null
180
- }
181
- },
182
- minVersion: '2023-08-03',
183
- version: '2025-01-10'
184
- },
185
- queryableDefinitionPreset: 'N/A',
186
- queryableTapSrc: 'N/A',
187
- updatedAt: '2025-05-14T07:13:24'
188
- };
189
- exports.MOCK_VIDEO_CB_2 = {
190
- availablePlugins: [],
191
- blockId: 'CB_191878',
192
- componentBlockCode: 'CB_VIDEOPLAYER',
193
- componentBlockType: 'GENERAL',
194
- compositions: [],
195
- dynamicLayoutSectionId: 31271,
196
- id: 191878,
197
- insertedAt: '2025-05-14T07:13:24',
198
- jsonProperties: {
199
- currentVersion: '2025-01-10',
200
- data: {
201
- CB_CONTENT_PROP_HOVER: {
202
- CB_CONTENT_PROP_HOVER_SPEC_MUSE: true
203
- },
204
- CB_CONTENT_PROP_VIDEO: {
205
- CB_CONTENT_PROP_VIDEO_SPEC_CONNECTDATA: 'NONE',
206
- CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: 5,
207
- CB_CONTENT_PROP_VIDEO_SPEC_MPLAY: true,
208
- CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: true,
209
- CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR: 'https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4',
210
- CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: 0,
211
- CB_CONTENT_PROP_VIDEO_SPEC_THUMB: 'https://publ-upload-local.s3.ap-northeast-2.amazonaws.com/8a127811-1cbb-48f7-acb6-e5254b79a5fc.svg',
212
- CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE',
213
- CB_CONTENT_PROP_VIDEO_SPEC_VALUETYPE: 'VALUE'
214
- },
215
- CB_CONTENT_PROP_VISIBILITY: {
216
- CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: true,
217
- CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB: true
218
- },
219
- CB_EFFECT_PROP_ENTANIM: {
220
- CB_EFFECT_PROP_ENTANIM_SPEC_DURATION: 0.7,
221
- 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': null,
222
- CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT: 1,
223
- 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': null,
224
- CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC: 'EASEINOUT',
225
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': null,
226
- CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: 'NONE',
227
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': null
228
- },
229
- CB_EFFECT_PROP_HOVERANIM: {
230
- CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION: 0.7,
231
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_DURATION:MOBILE': null,
232
- CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT: 1,
233
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_REPEAT:MOBILE': null,
234
- CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC: 'EASEINOUT',
235
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_TFUNC:MOBILE': null,
236
- CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE: 'NONE',
237
- 'CB_EFFECT_PROP_HOVERANIM_SPEC_TYPE:MOBILE': null
238
- },
239
- CB_LAYOUT_PROP_ARRANGE: {
240
- CB_LAYOUT_PROP_ARRANGE_SPEC_HORIZONTAL: 'CENTER',
241
- 'CB_LAYOUT_PROP_ARRANGE_SPEC_HORIZONTAL:MOBILE': null,
242
- CB_LAYOUT_PROP_ARRANGE_SPEC_VERTICAL: 'MIDDLE',
243
- 'CB_LAYOUT_PROP_ARRANGE_SPEC_VERTICAL:MOBILE': null
244
- },
245
- CB_LAYOUT_PROP_PADDING: {
246
- CB_LAYOUT_PROP_PADDING_SPEC_FIX: true,
247
- 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': null,
248
- CB_LAYOUT_PROP_PADDING_SPEC_PADDING: {
249
- bottom: 0,
250
- left: 0,
251
- right: 0,
252
- top: 0
253
- },
254
- 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': null
255
- },
256
- CB_PLACEMENT_PROP_PLACEMENT: {
257
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS: 12,
258
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE': 8,
259
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS: 9,
260
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE': 9,
261
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX: 5,
262
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE': 0,
263
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY: 20,
264
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': 2,
265
- CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: 1,
266
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': 1
267
- },
268
- CB_STYLE_PROP_BGCOLOR: {
269
- CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE: 90,
270
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:HOVER': null,
271
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:MOBILE': null,
272
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE:MOBILE:HOVER': null,
273
- CB_STYLE_PROP_BGCOLOR_SPEC_COLOR: '#455EEFFF',
274
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:HOVER': null,
275
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:MOBILE': null,
276
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR:MOBILE:HOVER': null,
277
- CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR: '#27FFBFFF',
278
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:HOVER': null,
279
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:MOBILE': null,
280
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR:MOBILE:HOVER': null,
281
- CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC: 100,
282
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:HOVER': null,
283
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:MOBILE': null,
284
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC:MOBILE:HOVER': null,
285
- CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT: 'LINEAR',
286
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:HOVER': null,
287
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:MOBILE': null,
288
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT:MOBILE:HOVER': null,
289
- CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR: '#455EEFFF',
290
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:HOVER': null,
291
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:MOBILE': null,
292
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR:MOBILE:HOVER': null,
293
- CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC: 0,
294
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:HOVER': null,
295
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:MOBILE': null,
296
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC:MOBILE:HOVER': null,
297
- CB_STYLE_PROP_BGCOLOR_SPEC_TYPE: 'NONE',
298
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:HOVER': null,
299
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:MOBILE': null,
300
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE:MOBILE:HOVER': null
301
- },
302
- CB_STYLE_PROP_BORDER: {
303
- CB_STYLE_PROP_BORDER_SPEC_COLOR: '#333333FF',
304
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:HOVER': null,
305
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE': null,
306
- 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE:HOVER': null,
307
- CB_STYLE_PROP_BORDER_SPEC_RADIUS: {
308
- bl: 0,
309
- br: 0,
310
- tl: 0,
311
- tr: 0
312
- },
313
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:HOVER': null,
314
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE': null,
315
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE:HOVER': null,
316
- CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX: true,
317
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:HOVER': null,
318
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE': null,
319
- 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE:HOVER': null,
320
- CB_STYLE_PROP_BORDER_SPEC_STYLE: 'NONE',
321
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:HOVER': null,
322
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE': null,
323
- 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE:HOVER': null,
324
- CB_STYLE_PROP_BORDER_SPEC_WIDTH: 2,
325
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:HOVER': null,
326
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE': null,
327
- 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE:HOVER': null
328
- },
329
- CB_STYLE_PROP_OPACITY: {
330
- CB_STYLE_PROP_OPACITY_SPEC_OPACITY: 100,
331
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:HOVER': null,
332
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE': null,
333
- 'CB_STYLE_PROP_OPACITY_SPEC_OPACITY:MOBILE:HOVER': null
334
- },
335
- CB_STYLE_PROP_SHADOW: {
336
- CB_STYLE_PROP_SHADOW_SPEC_BLUR: 24,
337
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:HOVER': null,
338
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE': null,
339
- 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE:HOVER': null,
340
- CB_STYLE_PROP_SHADOW_SPEC_COLOR: '#000000FF',
341
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:HOVER': null,
342
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE': null,
343
- 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE:HOVER': null,
344
- CB_STYLE_PROP_SHADOW_SPEC_OPACITY: 30,
345
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:HOVER': null,
346
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE': null,
347
- 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE:HOVER': null,
348
- CB_STYLE_PROP_SHADOW_SPEC_SPREAD: 2,
349
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:HOVER': null,
350
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE': null,
351
- 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE:HOVER': null,
352
- CB_STYLE_PROP_SHADOW_SPEC_TYPE: 'NONE',
353
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:HOVER': null,
354
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE': null,
355
- 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE:HOVER': null,
356
- CB_STYLE_PROP_SHADOW_SPEC_X: 0,
357
- 'CB_STYLE_PROP_SHADOW_SPEC_X:HOVER': null,
358
- 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE': null,
359
- 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE:HOVER': null,
360
- CB_STYLE_PROP_SHADOW_SPEC_Y: 12,
361
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:HOVER': null,
362
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE': null,
363
- 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE:HOVER': null
364
- }
365
- },
366
- minVersion: '2023-08-03',
367
- version: '2025-01-10'
368
- },
369
- queryableDefinitionPreset: 'N/A',
370
- queryableTapSrc: 'N/A',
371
- updatedAt: '2025-05-14T07:13:24'
372
- };
@@ -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,173 +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, CB_CONTENT_PROP_VIDEO_SPEC_REPLAY = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_REPLAY, CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME = CB_CONTENT_PROP_VIDEO.CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME;
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
- var onTimeUpdate = function () {
119
- var video = videoRef.current;
120
- if (!video) {
121
- return;
122
- }
123
- var currentTimeFloor = Math.floor(video.currentTime);
124
- if (typeof CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME === 'number' &&
125
- currentTimeFloor === CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME) {
126
- if (CB_CONTENT_PROP_VIDEO_SPEC_REPLAY) {
127
- video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
128
- return;
129
- }
130
- video.pause();
131
- return;
132
- }
133
- };
134
- var onEnded = function () {
135
- var video = videoRef.current;
136
- if (!video || !CB_CONTENT_PROP_VIDEO_SPEC_REPLAY) {
137
- return;
138
- }
139
- video.currentTime = CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME;
140
- video.play();
141
- return;
142
- };
143
- 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: {
144
- position: 'absolute',
145
- top: '50%',
146
- left: '50%',
147
- width: '100%',
148
- height: '100%',
149
- display: 'flex',
150
- alignItems: 'center',
151
- justifyContent: 'center',
152
- transform: 'translate(-50%, -50%)'
153
- } }, { 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, "data-src": CB_CONTENT_PROP_VIDEO_SPEC_SELECTOR, poster: CB_CONTENT_PROP_VIDEO_SPEC_THUMB, onPlay: onPlay, onEnded: onEnded, onError: onVideoError, onTimeUpdate: onTimeUpdate, onLoadedMetadata: onLoadedMetadata }, { children: [(0, jsx_runtime_1.jsx)("source", { src: videoURL }), "Your browser does not support the video tag."] }), videoURL + CB_CONTENT_PROP_VIDEO_SPEC_THUMB)] })) }))] }));
154
- }
155
- function getBGColorStyles(props, device) {
156
- var availableSpecCodes = [
157
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ANGLE',
158
- 'CB_STYLE_PROP_BGCOLOR_SPEC_COLOR',
159
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDCOLOR',
160
- 'CB_STYLE_PROP_BGCOLOR_SPEC_ENDLOC',
161
- 'CB_STYLE_PROP_BGCOLOR_SPEC_GRADIENT',
162
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTCOLOR',
163
- 'CB_STYLE_PROP_BGCOLOR_SPEC_STARTLOC',
164
- 'CB_STYLE_PROP_BGCOLOR_SPEC_TYPE'
165
- ];
166
- return (0, colorUtil_1.parseStyleColorToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, propKey: 'BGCOLOR', device: device });
167
- }
168
- 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) {
169
- var isEditMode = _a.isEditMode;
170
- return (isEditMode ? 'none' : 'auto');
171
- });
172
- exports.default = VideoPlayer;
173
- 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';