pds-dev-kit-web-test 2.5.637 → 2.5.638

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 (370) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.js +12 -3
  3. package/dist/src/common/assets/icons/fill/Translate.d.ts +4 -0
  4. package/dist/src/common/assets/icons/fill/Translate.js +30 -0
  5. package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
  6. package/dist/src/common/assets/icons/fill/index.js +2 -0
  7. package/dist/src/common/assets/icons/line/Translate.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/Translate.js +30 -0
  9. package/dist/src/common/assets/icons/line/index.d.ts +1 -0
  10. package/dist/src/common/assets/icons/line/index.js +2 -0
  11. package/dist/src/common/hooks/useParentResizeObserver.d.ts +2 -0
  12. package/dist/src/common/hooks/useParentResizeObserver.js +20 -0
  13. package/dist/src/common/hooks/useResizeObserver.d.ts +3 -0
  14. package/dist/src/common/hooks/useResizeObserver.js +27 -0
  15. package/dist/src/common/hooks/useTooltip.js +1 -1
  16. package/dist/src/common/hooks/useWindowSize.d.ts +4 -0
  17. package/dist/src/common/hooks/useWindowSize.js +22 -0
  18. package/dist/src/common/index.d.ts +1 -1
  19. package/dist/src/common/services/i18n/resources/en.json +61 -1
  20. package/dist/src/common/services/i18n/resources/es.json +61 -1
  21. package/dist/src/common/services/i18n/resources/fil.json +61 -1
  22. package/dist/src/common/services/i18n/resources/index.d.ts +421 -0
  23. package/dist/src/common/services/i18n/resources/ja.json +61 -1
  24. package/dist/src/common/services/i18n/resources/ko.json +62 -1
  25. package/dist/src/common/services/i18n/resources/zh-cn.json +61 -1
  26. package/dist/src/common/services/i18n/resources/zh-tw.json +61 -1
  27. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +4 -1
  28. package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
  29. package/dist/src/common/styles/colorSet/UIColor.json +5 -1
  30. package/dist/src/common/styles/colorSet/index.d.ts +10 -0
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
  32. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
  33. package/dist/src/common/styles/scroll/scrollbarStyle.js +4 -3
  34. package/dist/src/common/types/components.d.ts +9 -0
  35. package/dist/src/common/types/components.js +8 -0
  36. package/dist/src/common/types/index.d.ts +1 -1
  37. package/dist/src/common/types/index.js +1 -1
  38. package/dist/src/common/types/multilingual.d.ts +16 -0
  39. package/dist/src/common/types/text.d.ts +2 -0
  40. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  41. package/dist/src/common/utils/dateHelper.d.ts +3 -0
  42. package/dist/src/common/utils/dateHelper.js +37 -0
  43. package/dist/src/core/pricing/formatter.d.ts +4 -0
  44. package/dist/src/core/pricing/formatter.js +18 -0
  45. package/dist/src/core/pricing/index.d.ts +2 -0
  46. package/dist/src/core/pricing/index.js +18 -0
  47. package/dist/src/core/pricing/policy.d.ts +26 -0
  48. package/dist/src/core/pricing/policy.js +98 -0
  49. package/dist/src/core/pricing/service.d.ts +62 -0
  50. package/dist/src/core/pricing/service.js +157 -0
  51. package/dist/src/core/pricing/translator.d.ts +27 -0
  52. package/dist/src/core/pricing/translator.js +54 -0
  53. package/dist/src/core/pricing/types.d.ts +19 -0
  54. package/dist/src/core/pricing/types.js +31 -0
  55. package/dist/src/core/pricing/validator.d.ts +29 -0
  56. package/dist/src/core/pricing/validator.js +105 -0
  57. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  58. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +32 -23
  59. package/dist/src/desktop/components/AdminList/AdminList.d.ts +10 -1
  60. package/dist/src/desktop/components/AdminList/AdminList.js +16 -18
  61. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +10 -1
  62. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  63. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +2 -1
  64. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -2
  65. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +2 -1
  66. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +2 -2
  67. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  68. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +6 -2
  69. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +67 -6
  70. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +6 -1
  71. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +70 -2
  72. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +67 -0
  73. package/dist/src/desktop/components/BoxItem/BoxItem.js +107 -0
  74. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  75. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +9 -0
  76. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +11 -0
  77. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +9 -0
  78. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  79. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +36 -0
  80. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +2 -0
  81. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner → desktop/components/BoxItem/LeftBox}/index.js +3 -3
  82. package/dist/src/desktop/components/BoxItem/index.d.ts +1 -0
  83. package/dist/src/desktop/components/BoxItem/index.js +8 -0
  84. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +12 -0
  85. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +134 -0
  86. package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
  87. package/dist/src/desktop/components/Calendar/Calendar.js +399 -0
  88. package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +51 -0
  89. package/dist/src/desktop/components/Calendar/CalendarContext.js +76 -0
  90. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
  91. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +48 -0
  92. package/dist/src/desktop/components/Calendar/DailyView.d.ts +2 -0
  93. package/dist/src/desktop/components/Calendar/DailyView.js +91 -0
  94. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +28 -0
  95. package/dist/src/desktop/components/Calendar/MonthlyView.js +419 -0
  96. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +21 -0
  97. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +186 -0
  98. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +25 -0
  99. package/dist/src/desktop/components/Calendar/ScheduleItem.js +56 -0
  100. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +12 -0
  101. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +184 -0
  102. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +6 -0
  103. package/dist/src/desktop/components/Calendar/WeeklyView.js +114 -0
  104. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +13 -0
  105. package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
  106. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +24 -0
  107. package/dist/src/desktop/components/Calendar/calendarUtils.js +87 -0
  108. package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
  109. package/dist/src/desktop/components/Calendar/constants.js +31 -0
  110. package/dist/src/desktop/components/Calendar/index.d.ts +14 -0
  111. package/dist/src/desktop/components/Calendar/index.js +42 -0
  112. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +18 -0
  113. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +59 -0
  114. package/dist/src/desktop/components/Calendar/types.d.ts +61 -0
  115. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  116. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  117. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  118. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +43 -0
  119. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +604 -0
  120. package/dist/src/desktop/components/PriceTextField/index.d.ts +1 -0
  121. package/dist/src/desktop/components/PriceTextField/index.js +8 -0
  122. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  123. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +47 -0
  124. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +1 -0
  125. package/dist/src/desktop/components/PriceTextLabel/index.js +8 -0
  126. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +17 -0
  127. package/dist/src/desktop/components/Snackbar/Snackbar.js +221 -0
  128. package/dist/src/desktop/components/Snackbar/index.d.ts +1 -0
  129. package/dist/src/desktop/components/Snackbar/index.js +8 -0
  130. package/dist/src/desktop/components/Snackbar/provider.d.ts +11 -0
  131. package/dist/src/desktop/components/Snackbar/provider.js +43 -0
  132. package/dist/src/desktop/components/TextButton/TextButton.d.ts +6 -3
  133. package/dist/src/desktop/components/TextButton/TextButton.js +67 -40
  134. package/dist/src/desktop/components/TextField/TextField.d.ts +2 -1
  135. package/dist/src/desktop/components/TextField/TextField.js +7 -7
  136. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  137. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  138. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +56 -39
  139. package/dist/src/desktop/components/index.d.ts +6 -1
  140. package/dist/src/desktop/components/index.js +12 -1
  141. package/dist/src/desktop/index.d.ts +1 -1
  142. package/dist/src/desktop/index.js +7 -2
  143. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  144. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  145. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  146. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +8 -5
  147. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +2 -1
  148. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +13 -15
  149. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +3 -1
  150. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +16 -10
  151. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +19 -3
  152. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +42 -31
  153. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +3 -1
  154. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +11 -5
  155. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +13 -0
  156. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +206 -0
  157. package/dist/src/desktop/panels/MultilingualModal/index.d.ts +1 -0
  158. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList → desktop/panels/MultilingualModal}/index.js +3 -3
  159. package/dist/src/desktop/panels/index.d.ts +2 -1
  160. package/dist/src/desktop/panels/index.js +6 -1
  161. package/dist/src/hybrid/components/Divider/Divider.d.ts +3 -1
  162. package/dist/src/hybrid/components/Divider/Divider.js +9 -7
  163. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +3 -1
  164. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +26 -22
  165. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +67 -0
  166. package/dist/src/mobile/components/BoxItem/BoxItem.js +106 -0
  167. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  168. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +9 -0
  169. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +11 -0
  170. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +9 -0
  171. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  172. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +36 -0
  173. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +2 -0
  174. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +8 -0
  175. package/dist/src/mobile/components/BoxItem/index.d.ts +1 -0
  176. package/dist/src/mobile/components/BoxItem/index.js +8 -0
  177. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  178. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  179. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  180. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +42 -0
  181. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +591 -0
  182. package/dist/src/mobile/components/PriceTextField/index.d.ts +1 -0
  183. package/dist/src/mobile/components/PriceTextField/index.js +8 -0
  184. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  185. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +47 -0
  186. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +1 -0
  187. package/dist/src/mobile/components/PriceTextLabel/index.js +8 -0
  188. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +17 -0
  189. package/dist/src/mobile/components/Snackbar/Snackbar.js +221 -0
  190. package/dist/src/mobile/components/Snackbar/index.d.ts +1 -0
  191. package/dist/src/mobile/components/Snackbar/index.js +8 -0
  192. package/dist/src/mobile/components/Snackbar/provider.d.ts +11 -0
  193. package/dist/src/mobile/components/Snackbar/provider.js +43 -0
  194. package/dist/src/mobile/components/TextButton/TextButton.d.ts +6 -3
  195. package/dist/src/mobile/components/TextButton/TextButton.js +55 -31
  196. package/dist/src/mobile/components/TextField/TextField.d.ts +2 -1
  197. package/dist/src/mobile/components/TextField/TextField.js +7 -7
  198. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  199. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  200. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +44 -30
  201. package/dist/src/mobile/components/index.d.ts +5 -1
  202. package/dist/src/mobile/components/index.js +9 -1
  203. package/dist/src/mobile/index.d.ts +1 -1
  204. package/dist/src/mobile/index.js +6 -2
  205. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +3 -1
  206. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +13 -6
  207. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +10 -1
  208. package/dist/src/sub/AdminList/AdminList/AdminList.js +19 -18
  209. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +10 -1
  210. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  211. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
  212. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +3 -5
  213. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  214. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
  215. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
  216. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  217. package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -4
  218. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -24
  219. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  220. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  221. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  222. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  223. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  224. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  225. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  226. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  227. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  228. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  229. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  230. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  231. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  232. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  233. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +1 -0
  234. package/dist/src/sub/DynamicLayout/mock_video_cb.js +5 -4
  235. package/dist/src/sub/DynamicLayout/mocks.d.ts +961 -8
  236. package/dist/src/sub/DynamicLayout/mocks.js +4239 -55
  237. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -1
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +5 -6
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -10
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -140
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -39
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +8 -49
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +28 -3
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +1 -0
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +15 -5
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -55
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -7
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +5 -16
  261. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  262. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +0 -2
  263. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -53
  264. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  265. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
  266. package/dist/src/sub/DynamicLayout/types.d.ts +17 -64
  267. package/package.json +2 -3
  268. package/release-note.md +2 -2
  269. package/dist/src/common/types/form.d.ts +0 -9
  270. package/dist/src/common/types/form.js +0 -10
  271. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -22
  272. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1134
  273. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  274. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  275. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
  276. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  277. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  278. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  279. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  280. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  281. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  282. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  283. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  284. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  285. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  286. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  287. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  288. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
  289. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
  290. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +0 -911
  291. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +0 -4238
  292. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  293. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -1607
  294. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
  295. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1111
  296. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
  297. package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1091
  298. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  299. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  300. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -842
  301. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -854
  302. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  303. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  304. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -12
  305. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -61
  306. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
  307. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
  308. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
  309. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
  310. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
  311. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
  312. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  313. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  314. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  315. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  316. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
  317. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
  318. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
  319. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
  320. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
  321. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
  322. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  323. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  324. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -139
  325. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
  326. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -221
  327. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
  328. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
  329. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
  330. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
  331. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  332. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  333. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
  334. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -130
  335. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
  336. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
  337. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  338. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -67
  339. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
  340. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
  341. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -151
  342. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -12
  343. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  344. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
  345. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
  346. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
  347. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
  348. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
  349. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -173
  350. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
  351. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
  352. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  353. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  354. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  355. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  356. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
  357. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
  358. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
  359. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
  360. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  361. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
  362. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
  363. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -163
  364. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
  365. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +0 -7
  366. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +0 -211
  367. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  368. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
  369. /package/dist/src/{sub/DynamicLayout/compositionActionTypes.js → common/types/multilingual.js} +0 -0
  370. /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel → desktop/components/Calendar}/types.js +0 -0
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseTargetUrl = void 0;
3
+ exports.convertToCdnUrl = exports.parseTargetUrl = void 0;
4
4
  function parseTargetUrl(url) {
5
5
  var _a = url.split('?'), encodedURL = _a[0], query = _a[1];
6
6
  if (!query) {
7
7
  return {
8
- encodedURL: encodedURL,
8
+ encodedURL: convertToCdnUrl(encodedURL),
9
9
  fallbackURL: null
10
10
  };
11
11
  }
@@ -13,13 +13,23 @@ function parseTargetUrl(url) {
13
13
  var fallbackUrl = params.get('fallbackUrl');
14
14
  if (!fallbackUrl) {
15
15
  return {
16
- encodedURL: encodedURL,
16
+ encodedURL: convertToCdnUrl(encodedURL),
17
17
  fallbackURL: null
18
18
  };
19
19
  }
20
20
  return {
21
- encodedURL: encodedURL,
22
- fallbackURL: "http://".concat(fallbackUrl)
21
+ encodedURL: convertToCdnUrl(encodedURL),
22
+ fallbackURL: convertToCdnUrl("https://".concat(fallbackUrl))
23
23
  };
24
24
  }
25
25
  exports.parseTargetUrl = parseTargetUrl;
26
+ function convertToCdnUrl(url) {
27
+ if (!url) {
28
+ return url;
29
+ }
30
+ return url
31
+ .replace(/^https?:\/\/publ-upload-local\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.local.publishingkit.net/')
32
+ .replace(/^https?:\/\/publ-upload-dev\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.dev.publishingkit.net/')
33
+ .replace(/^https?:\/\/publ-upload-prod\.s3\.ap-northeast-2\.amazonaws\.com\//, 'https://cdn.publishingkit.net/');
34
+ }
35
+ exports.convertToCdnUrl = convertToCdnUrl;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN, CCB_VALUE_TYPE, CB_VALUE_TYPE } from '../../../util/types';
2
+ import type { ENUM_STRING, NUMBER_INTEGER, STRING_8DIGIT_HEX, STRING_PLAIN } from '../../../util/types';
3
3
  export type StylesProps = {
4
4
  normalStyle: React.CSSProperties;
5
5
  hoverStyle: React.CSSProperties;
@@ -7,23 +7,15 @@ export type StylesProps = {
7
7
  export type CB_CONTENT_PROP_TEXT = {
8
8
  CB_CONTENT_PROP_TEXT_SPEC_TEXT: STRING_PLAIN;
9
9
  CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE: STRING_PLAIN;
10
- CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
11
- CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
12
- CB_CONTENT_PROP_TEXT_SPEC_PREFIX: STRING_PLAIN;
13
- CB_CONTENT_PROP_TEXT_SPEC_SUFFIX: STRING_PLAIN;
14
10
  };
15
11
  export type CB_CONTENT_PROP_CLINK = {
16
12
  CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
17
13
  CB_CONTENT_PROP_CLINK_SPEC_SRC: STRING_PLAIN;
18
14
  CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC: STRING_PLAIN;
19
15
  CB_CONTENT_PROP_CLINK_SPEC_NEWTAB: boolean;
20
- CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
21
- CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA: STRING_PLAIN;
22
16
  };
23
17
  export type CB_CONTENT_PROP_IMAGE = {
24
18
  CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR: STRING_PLAIN;
25
- CB_CONTENT_PROP_IMAGE_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
26
- CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA: STRING_PLAIN;
27
19
  };
28
20
  export type CB_CONTENT_PROP_TWITTER = {
29
21
  CB_CONTENT_PROP_TWITTER_SPEC_SRC: STRING_PLAIN;
@@ -31,44 +23,6 @@ export type CB_CONTENT_PROP_TWITTER = {
31
23
  export type CB_CONTENT_PROP_CODEBLOCK = {
32
24
  CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE: STRING_PLAIN;
33
25
  };
34
- export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
35
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_VALUETYPE: CCB_VALUE_TYPE;
36
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
37
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
38
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
39
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: MockComposition[];
40
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
41
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
42
- };
43
- export type CB_CONTENT_PROP_SLIDEBANNER = {
44
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: CCB_VALUE_TYPE;
45
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
46
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
47
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
48
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: MockComposition[];
49
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
50
- };
51
- export type CB_CONTENT_PROP_CONTENTSLIST = {
52
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE: CCB_VALUE_TYPE;
53
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA: STRING_PLAIN;
54
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
55
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
56
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_OFFSET: NUMBER_INTEGER;
57
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: MockComposition[];
58
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
59
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
60
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
61
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
62
- };
63
- export type MockComposition = {
64
- title: string;
65
- width: number;
66
- minWidth: number;
67
- maxWidth: number;
68
- height: number;
69
- minHeight: number;
70
- maxHeight: number;
71
- };
72
26
  export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
73
27
  export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
74
28
  CB_STYLE_PROP_TEXT_SPEC_TYPEFACE: ENUM_STRING;
@@ -79,8 +33,6 @@ export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
79
33
  CB_STYLE_PROP_TEXT_SPEC_COLOR: STRING_8DIGIT_HEX;
80
34
  CB_STYLE_PROP_TEXT_SPEC_HORIZONTAL: ENUM_STRING;
81
35
  CB_STYLE_PROP_TEXT_SPEC_VERTICAL: ENUM_STRING;
82
- CB_STYLE_PROP_TEXT_SPEC_FORMAT: ENUM_STRING;
83
- CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS: NUMBER_INTEGER;
84
36
  };
85
37
  export type CB_STYLE_PROP_TEXT_SPECS = CB_STYLE_PROP_TEXT_SPECS_BASE & {
86
38
  'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE:HOVER': ENUM_STRING | null | undefined;
@@ -107,12 +59,6 @@ export type CB_STYLE_PROP_TEXT_SPECS = CB_STYLE_PROP_TEXT_SPECS_BASE & {
107
59
  'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:HOVER': ENUM_STRING | null | undefined;
108
60
  'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE': ENUM_STRING | null | undefined;
109
61
  'CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE:HOVER': ENUM_STRING | null | undefined;
110
- 'CB_STYLE_PROP_TEXT_SPEC_FORMAT:HOVER': ENUM_STRING | null | undefined;
111
- 'CB_STYLE_PROP_TEXT_SPEC_FORMAT:MOBILE': ENUM_STRING | null | undefined;
112
- 'CB_STYLE_PROP_TEXT_SPEC_FORMAT:MOBILE:HOVER': ENUM_STRING | null | undefined;
113
- 'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:HOVER': NUMBER_INTEGER | null | undefined;
114
- 'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:MOBILE': NUMBER_INTEGER | null | undefined;
115
- 'CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS:MOBILE:HOVER': NUMBER_INTEGER | null | undefined;
116
62
  };
117
63
  export type CBColorPropsKeys = keyof CB_STYLE_PROP_COLOR_SPECS;
118
64
  export type CBColorValueSetType = Partial<Record<keyof CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_COLOR_ENUM_GRADIENT | NUMBER_INTEGER | ENUM_STRING | undefined>>;
@@ -162,4 +108,6 @@ export type CB_CONTENT_PROP_VIDEO = {
162
108
  CB_CONTENT_PROP_VIDEO_SPEC_STARTTIME: number;
163
109
  CB_CONTENT_PROP_VIDEO_SPEC_THUMB: string;
164
110
  CB_CONTENT_PROP_VIDEO_SPEC_TYPE: 'FILE' | 'URL';
111
+ CB_CONTENT_PROP_VIDEO_SPEC_ENDTIME: number;
112
+ CB_CONTENT_PROP_VIDEO_SPEC_REPLAY: boolean;
165
113
  };
@@ -1,5 +1,5 @@
1
1
  import type { ComponentBlock } from '../types';
2
- import type { Layout, LayoutItem } from 'publ-echo-test/dist/lib';
2
+ import type { Layout, LayoutItem } from 'publ-echo/dist/lib';
3
3
  export interface LayoutItemWithGroupType extends LayoutItem {
4
4
  childrenIds: string[];
5
5
  keepInLastIndex?: boolean;
@@ -38,7 +38,7 @@ function replaceUndefinedValues(jsonData) {
38
38
  }
39
39
  }
40
40
  return __assign({}, accSpecs);
41
- }, __assign({}, currentProps));
41
+ }, currentProps);
42
42
  return __assign(__assign({}, acc), (_a = {}, _a[currentPropKey] = specs, _a));
43
43
  }
44
44
  return acc;
@@ -1,11 +1,10 @@
1
- import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
1
+ import type { CB_BTN_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_TEXT_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE } from './util/types';
2
2
  import type { IComposition } from '../../../DynamicLayout/types';
3
3
  export type CB_TYPES = 'GENERAL';
4
- export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_LIST | CB_CONTENTSCAROUSEL | CB_SLIDEBANNER | CB_VIDEOPLAYER;
4
+ export type ComponentBlock = CB_TEXT_TYPE | CB_BTN_TYPE | CB_RICHTEXT | CB_DIVIDER | CB_IMG | CB_YOUTUBE | CB_TWITTER | CB_IFRAME | CB_GROUP | CB_CONTENTS_CAROUSEL | CB_VIDEOPLAYER;
5
5
  type GeneralCustomSectionType = {
6
6
  id: number;
7
7
  type: 'GENERAL';
8
- blockId?: string;
9
8
  availablePlugins: Array<string>;
10
9
  queryableTapSrc: string;
11
10
  queryableDefinitionPreset: string;
@@ -19,7 +18,7 @@ export type GroupCustomSectionType = {
19
18
  queryableDefinitionPreset: string;
20
19
  dynamicLayoutSectionId: number;
21
20
  };
22
- export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
21
+ export type AllCBProperties = CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE;
23
22
  export type CB_TEXT_TYPE = GeneralCustomSectionType & {
24
23
  componentBlockCode: CB_ALL_CODES.CB_TEXT;
25
24
  jsonProperties: {
@@ -56,12 +55,6 @@ export type CB_YOUTUBE = GeneralCustomSectionType & {
56
55
  data: CB_YOUTUBE_PROPERTIES_TYPE;
57
56
  };
58
57
  };
59
- export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
60
- componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
61
- jsonProperties: {
62
- data: CB_YOUTUBE_PROPERTIES_TYPE;
63
- };
64
- };
65
58
  export type CB_TWITTER = GeneralCustomSectionType & {
66
59
  componentBlockCode: CB_ALL_CODES.CB_TWITTER;
67
60
  jsonProperties: {
@@ -80,26 +73,18 @@ export type CB_GROUP = GeneralCustomSectionType & {
80
73
  data: CB_BTN_PROPERTIES_TYPE;
81
74
  };
82
75
  };
83
- export type CB_CONTENTSCAROUSEL = GeneralCustomSectionType & {
84
- componentBlockCode: CB_ALL_CODES.CB_CONTENTSCAROUSEL;
85
- jsonProperties: {
86
- data: CB_CONTENTSCAROUSEL_PROPERTIES_TYPE;
87
- };
88
- compositions: Array<IComposition>;
89
- };
90
- export type CB_SLIDEBANNER = GeneralCustomSectionType & {
91
- componentBlockCode: CB_ALL_CODES.CB_SLIDEBANNER;
76
+ export type CB_CONTENTS_CAROUSEL = GeneralCustomSectionType & {
77
+ componentBlockCode: CB_ALL_CODES.CB_CONTENTS_CAROUSEL;
92
78
  jsonProperties: {
93
- data: CB_SLIDEBANNER_PROPERTIES_TYPE;
79
+ data: CB_BTN_PROPERTIES_TYPE;
94
80
  };
95
81
  compositions: Array<IComposition>;
96
82
  };
97
- export type CB_LIST = GeneralCustomSectionType & {
98
- componentBlockCode: CB_ALL_CODES.CB_LIST;
83
+ export type CB_VIDEOPLAYER = GeneralCustomSectionType & {
84
+ componentBlockCode: CB_ALL_CODES.CB_VIDEOPLAYER;
99
85
  jsonProperties: {
100
- data: CB_LIST_PROPERTIES_TYPE;
86
+ data: CB_VIDEOPLAYER_PROPERTIES_TYPE;
101
87
  };
102
- compositions: Array<IComposition>;
103
88
  };
104
89
  export declare enum CB_ALL_CODES {
105
90
  CB_TEXT = "CB_TEXT",
@@ -111,9 +96,7 @@ export declare enum CB_ALL_CODES {
111
96
  CB_TWITTER = "CB_TWITTER",
112
97
  CB_EMBED = "CB_EMBED",
113
98
  CB_GROUP = "CB_GROUP",
114
- CB_LIST = "CB_LIST",
115
- CB_CONTENTSCAROUSEL = "CB_CONTENTSCAROUSEL",
116
- CB_SLIDEBANNER = "CB_SLIDEBANNER",
99
+ CB_CONTENTS_CAROUSEL = "CB_CONTENTS_CAROUSEL",
117
100
  CB_VIDEOPLAYER = "CB_VIDEOPLAYER"
118
101
  }
119
102
  export {};
@@ -12,8 +12,6 @@ var CB_ALL_CODES;
12
12
  CB_ALL_CODES["CB_TWITTER"] = "CB_TWITTER";
13
13
  CB_ALL_CODES["CB_EMBED"] = "CB_EMBED";
14
14
  CB_ALL_CODES["CB_GROUP"] = "CB_GROUP";
15
- CB_ALL_CODES["CB_LIST"] = "CB_LIST";
16
- CB_ALL_CODES["CB_CONTENTSCAROUSEL"] = "CB_CONTENTSCAROUSEL";
17
- CB_ALL_CODES["CB_SLIDEBANNER"] = "CB_SLIDEBANNER";
15
+ CB_ALL_CODES["CB_CONTENTS_CAROUSEL"] = "CB_CONTENTS_CAROUSEL";
18
16
  CB_ALL_CODES["CB_VIDEOPLAYER"] = "CB_VIDEOPLAYER";
19
17
  })(CB_ALL_CODES = exports.CB_ALL_CODES || (exports.CB_ALL_CODES = {}));
@@ -12,8 +12,8 @@ export type CB_EFFECT_PROP_ENTANIM_BASE = {
12
12
  CB_EFFECT_PROP_ENTANIM_SPEC_TYPE: string;
13
13
  };
14
14
  export type CB_EFFECT_PROP_ENTANIM_SPECS = CB_EFFECT_PROP_ENTANIM_BASE & Partial<{
15
- 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined | null;
16
- 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined | null;
17
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined | null;
18
- 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined | null;
15
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_DURATION:MOBILE': number | undefined;
16
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_REPEAT:MOBILE': number | undefined;
17
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_TFUNC:MOBILE': string | undefined;
18
+ 'CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE': string | undefined;
19
19
  }>;
@@ -16,8 +16,8 @@ export type CB_STYLE_PROP_PADDING_BASE = {
16
16
  };
17
17
  export type CB_LAYOUT_PROP_PADDING_SPECS = CB_STYLE_PROP_PADDING_BASE & {
18
18
  CB_LAYOUT_PROP_PADDING_SPEC_PADDING: CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ;
19
- 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined | null;
19
+ 'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': CB_LAYOUT_PROP_PADDING_SPEC_PADDING_OBJ | undefined;
20
20
  CB_LAYOUT_PROP_PADDING_SPEC_FIX: boolean;
21
- 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined | null;
21
+ 'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': boolean | undefined;
22
22
  };
23
23
  export {};
@@ -1,3 +1,3 @@
1
1
  import type { Device, JsonPropertiesParserResult } from './types';
2
- import type { ICompositionJsonProperties, ISectionJsonProperties } from '../../../../DynamicLayout/types';
3
- export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | ICompositionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
2
+ import type { ISectionJsonProperties } from '../../../../DynamicLayout/types';
3
+ export default function parseJsonProperties(properties: ISectionJsonProperties['data'] | undefined, device: Device): JsonPropertiesParserResult;
@@ -1,7 +1,6 @@
1
1
  import { ComponentBlock } from '../types';
2
- import type { PlaceRestrictionType } from '../../../../DynamicLayout/types';
3
- import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
4
- export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder, placementRestriction?: PlaceRestrictionType): {
2
+ import type { ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
3
+ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder): {
5
4
  sm: {
6
5
  i: string;
7
6
  x: number;
@@ -10,8 +9,6 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
10
9
  h: number;
11
10
  z: number;
12
11
  autoResize: boolean;
13
- minH: number;
14
- minW: number;
15
12
  }[];
16
13
  lg: {
17
14
  i: string;
@@ -21,8 +18,6 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
21
18
  h: number;
22
19
  z: number;
23
20
  autoResize: boolean;
24
- minH: number;
25
- minW: number;
26
21
  }[];
27
22
  };
28
23
  export default parsePlacement;
@@ -12,13 +12,13 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.parsePlacement = void 0;
14
14
  var types_1 = require("../types");
15
- function parsePlacement(components, zOrders, placementRestriction) {
15
+ function parsePlacement(components, zOrders) {
16
16
  if (!zOrders) {
17
17
  console.error('Z-ORDER NOT FOUND');
18
18
  }
19
19
  return components.reduce(function (acc, cur) {
20
20
  var id = cur.id, jsonProperties = cur.jsonProperties, componentBlockCode = cur.componentBlockCode;
21
- var _a = parsePropPlacement(jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, id, componentBlockCode, zOrders, placementRestriction ? placementRestriction[componentBlockCode] : undefined), mobileLayout = _a.mobileLayout, desktopLayout = _a.desktopLayout;
21
+ var _a = parsePropPlacement(jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, id, componentBlockCode, zOrders), mobileLayout = _a.mobileLayout, desktopLayout = _a.desktopLayout;
22
22
  return {
23
23
  sm: __spreadArray(__spreadArray([], acc.sm, true), [mobileLayout], false),
24
24
  lg: __spreadArray(__spreadArray([], acc.lg, true), [desktopLayout], false)
@@ -26,8 +26,7 @@ function parsePlacement(components, zOrders, placementRestriction) {
26
26
  }, { sm: [], lg: [] });
27
27
  }
28
28
  exports.parsePlacement = parsePlacement;
29
- function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
30
- var _a, _b, _c, _d;
29
+ function parsePropPlacement(props, id, cbCode, zOrders) {
31
30
  var desktopLayout = {
32
31
  i: id.toString(),
33
32
  x: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX,
@@ -35,9 +34,7 @@ function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
35
34
  w: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS,
36
35
  h: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS,
37
36
  z: zOrders.desktop[id],
38
- autoResize: AUTO_RESIZE_CODES.includes(cbCode),
39
- minH: (_a = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.rowHMin) !== null && _a !== void 0 ? _a : 1,
40
- minW: (_b = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.columnWMin) !== null && _b !== void 0 ? _b : 1
37
+ autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
41
38
  };
42
39
  var mobileLayout = {
43
40
  i: id.toString(),
@@ -46,19 +43,11 @@ function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
46
43
  w: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'],
47
44
  h: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'],
48
45
  z: zOrders.mobile[id],
49
- autoResize: AUTO_RESIZE_CODES.includes(cbCode),
50
- minH: (_c = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.rowHMin) !== null && _c !== void 0 ? _c : 1,
51
- minW: (_d = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.mobileColumnWMin) !== null && _d !== void 0 ? _d : 1
46
+ autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
52
47
  };
53
48
  return {
54
49
  mobileLayout: mobileLayout,
55
50
  desktopLayout: desktopLayout
56
51
  };
57
52
  }
58
- var AUTO_RESIZE_CODES = [
59
- types_1.CB_ALL_CODES.CB_TEXT
60
- // CB_ALL_CODES.CB_LIST,
61
- // CB_ALL_CODES.CB_CONTENTSCAROUSEL,
62
- // CB_ALL_CODES.CB_SLIDEBANNER
63
- ];
64
53
  exports.default = parsePlacement;
@@ -1,5 +1,5 @@
1
1
  import { CB_LAYOUT_PROP_KEYS } from './layoutPropParsers/types';
2
2
  import { CB_STYLE_PROP_KEYS } from './stylePropParsers/types';
3
- import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './types';
3
+ import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './types';
4
4
  export type specTypes = CB_LAYOUT_PROP_KEYS | CB_STYLE_PROP_KEYS;
5
- export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
5
+ export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
@@ -87,7 +87,5 @@ function getParsedKey(key) {
87
87
  case "CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE":
88
88
  case "CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE:HOVER":
89
89
  return 'VERTICAL';
90
- default:
91
- return '';
92
90
  }
93
91
  }
@@ -1,31 +1,22 @@
1
- import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsCarousel/types';
2
- import type { CB_STYLE_PROP_CONTENTSLIST_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
3
- import type { CB_STYLE_PROP_SLIDEBANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
4
1
  import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
5
- import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO } from '../components/ComponentBlock/componentBlocks/types';
2
+ import type { CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_CONTENT_PROP_VIDEO, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS } from '../components/ComponentBlock/componentBlocks/types';
6
3
  import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
7
4
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
8
5
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
9
6
  import type { CB_LAYOUT_PROP_ARRANGE_SPECS } from './layoutPropParsers/parseLayoutPropArrange';
10
7
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './layoutPropParsers/parseLayoutPropPadding';
11
8
  import type { NamedLayoutPropType } from './layoutPropParsers/types';
12
- import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './stylePropParsers/parseStylePropBgOverlay';
13
9
  import type { CB_STYLE_PROP_BORDER_SPECS } from './stylePropParsers/parseStylePropBorder';
14
10
  import type { CB_STYLE_PROP_DIVIDER_SPECS } from './stylePropParsers/parseStylePropDivider';
15
11
  import type { CB_STYLE_PROP_IMAGE_SPECS } from './stylePropParsers/parseStylePropImage';
16
12
  import type { CB_STYLE_PROP_TEXT_OPACITY_SPECS } from './stylePropParsers/parseStylePropOpacity';
17
13
  import type { CB_STYLE_PROP_SHADOW_SPECS } from './stylePropParsers/parseStylePropShadow';
18
14
  import type { NamedStylePropType } from './stylePropParsers/types';
19
- import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
20
15
  import type { CSSProperties } from 'react';
21
16
  export type STRING_PLAIN = string;
22
17
  export type ENUM_STRING = string;
23
18
  export type NUMBER_INTEGER = number;
24
19
  export type STRING_8DIGIT_HEX = string;
25
- export type CCB_VALUE_TYPE = 'VALUE' | 'DATA';
26
- export type CB_VALUE_TYPE = 'VALUE' | 'DELEGATEDDATA' | 'QUERYDATA';
27
- export type COMPOSITION_VALUE_TYPE = 'VALUE' | 'DELEGATEDDATA' | 'QUERYDATA';
28
- export type SECTION_VALUE_TYPE = 'VALUE' | 'QUERYDATA';
29
20
  export type CB_GENERAL_PROPERTIES_TYPE = {
30
21
  CB_PLACEMENT_PROP_PLACEMENT: CB_PLACEMENT_PROP_SPECS;
31
22
  CB_CONTENT_PROP_HOVER: {
@@ -43,6 +34,8 @@ export type CB_PLACEMENT_PROP_SPECS = {
43
34
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': number;
44
35
  CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: number;
45
36
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': number;
37
+ 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LATEST_LOCKED_STARTY:MOBILE': number;
38
+ 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LOCKSTATUS:MOBILE': 'LOCKED' | 'FALLBACK_TO_SYNC' | undefined;
46
39
  };
47
40
  export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
48
41
  CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
@@ -129,49 +122,6 @@ export type CB_YOUTUBE_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
129
122
  CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
130
123
  CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
131
124
  };
132
- export type CB_CONTENTSCAROUSEL_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
133
- CB_CONTENT_PROP_CONTENTSCAROUSEL: CB_CONTENT_PROP_CONTENTSCAROUSEL;
134
- CB_STYLE_PROP_CONTENTSCAROUSEL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
135
- CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
136
- CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
137
- CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
138
- CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
139
- CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
140
- CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
141
- CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
142
- CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
143
- CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
144
- CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
145
- CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
146
- };
147
- export type CB_SLIDEBANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
148
- CB_CONTENT_PROP_SLIDEBANNER: CB_CONTENT_PROP_SLIDEBANNER;
149
- CB_STYLE_PROP_SLIDEBANNER: CB_STYLE_PROP_SLIDEBANNER_SPECS;
150
- CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
151
- CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
152
- CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
153
- CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
154
- CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
155
- CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
156
- CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
157
- CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
158
- CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
159
- CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
160
- };
161
- export type CB_LIST_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
162
- CB_CONTENT_PROP_CONTENTSLIST: CB_CONTENT_PROP_CONTENTSLIST;
163
- CB_STYLE_PROP_CONTENTSLIST: CB_STYLE_PROP_CONTENTSLIST_SPECS;
164
- CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
165
- CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
166
- CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
167
- CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
168
- CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
169
- CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
170
- CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
171
- CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
172
- CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
173
- CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
174
- };
175
125
  export type CB_VIDEOPLAYER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
176
126
  CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
177
127
  CB_CONTENT_PROP_VIDEO: CB_CONTENT_PROP_VIDEO;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ISection } from '../types';
3
- import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -176,7 +176,6 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
176
176
  }
177
177
  return 16;
178
178
  }
179
- // NOTE: Desktop
180
179
  if (responsiveFontMode) {
181
180
  return size.width * 0.0133;
182
181
  }
@@ -1,12 +1,11 @@
1
1
  import type { TypeOfSectionAction } from './sectionActionTypes';
2
- import type { CB_ALL_CODES, ComponentBlock } from './sections/CustomSection/types';
2
+ import type { ComponentBlock } from './sections/CustomSection/types';
3
3
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './sections/CustomSection/util/contentPropParsers/parseContentVisibility';
4
4
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim';
5
5
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
6
6
  import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
7
7
  import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
8
- import type { CCB_VALUE_TYPE, COMPOSITION_VALUE_TYPE } from './sections/CustomSection/util/types';
9
- import type { Block, ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
8
+ import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
10
9
  import type { Ref } from 'react';
11
10
  export { TypeOfSectionAction };
12
11
  export type TypeOfSectionManifestSchema = 'BASE_INTRO' | 'BASE_CONTENTS' | 'BASE_CONTENTS_CAROUSEL' | 'BASE_FOOTER' | 'BASE_INFO_BOX' | 'EXP_IFRAME' | 'PRG_MEMBERSHIP_DISPLAY' | 'CUSTOM';
@@ -236,20 +235,6 @@ export type DynamicLayoutProps = {
236
235
  shortcutKeyMode?: CustomSectionShortcutKeysType;
237
236
  dynamicLayoutRef?: Ref<CustomSectionImperativeHandleRef>;
238
237
  zoomScale?: number;
239
- queryData?: QueryData;
240
- placementRestriction?: PlaceRestrictionType;
241
- };
242
- export type PlaceRestrictionValue = {
243
- columnWInit: number;
244
- columnWMin: number;
245
- mobileColumnWMax: number;
246
- mobileColumnWMin: number;
247
- rowHInit: number;
248
- rowHMin: number;
249
- };
250
- export type PlaceRestrictionType = Record<CB_ALL_CODES, PlaceRestrictionValue>;
251
- export type QueryData = {
252
- [key: string]: Array<Record<string, unknown>>;
253
238
  };
254
239
  export type NavHandlerAction = {
255
240
  openNewTab: boolean;
@@ -359,8 +344,6 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
359
344
  CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
360
345
  CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
361
346
  CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR: string;
362
- CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE: CCB_VALUE_TYPE | COMPOSITION_VALUE_TYPE;
363
- CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA: string;
364
347
  };
365
348
  export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
366
349
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number | null | undefined;
@@ -394,19 +377,25 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
394
377
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:HOVER'?: string | null;
395
378
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE'?: string | null;
396
379
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE:HOVER'?: string | null;
397
- 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:HOVER'?: CCB_VALUE_TYPE | null;
398
- 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE'?: CCB_VALUE_TYPE | null;
399
- 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE:HOVER'?: CCB_VALUE_TYPE | null;
400
- 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:HOVER'?: string | null;
401
- 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:MOBILE'?: string | null;
402
- 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:MOBILE:HOVER'?: string | null;
403
380
  };
404
381
  export interface IComposition {
405
382
  id: number;
406
383
  administrativeTitle?: string;
407
- isDefault: boolean;
384
+ display: boolean;
385
+ order: number;
386
+ manifest: {
387
+ schema: TypeOfSectionManifestSchema;
388
+ availableProperties: Array<KeyOfSectionProperties>;
389
+ availableStyles: Array<KeyOfSectionStyles>;
390
+ availableTemplates: Array<TypeofSectionTemplate>;
391
+ } | Record<string, never>;
392
+ template: TypeofSectionTemplate;
393
+ properties: ISectionProperties;
394
+ styles: ISectionStyles;
395
+ dynamicLayoutSectionItems: Array<IItem> | null;
408
396
  insertedAt: string;
409
397
  updatedAt: string;
398
+ type: TypeOfSectionType;
410
399
  program?: 'MEMBERSHIP_DISPLAY';
411
400
  programData?: {
412
401
  mdid: string;
@@ -420,42 +409,6 @@ export interface IComposition {
420
409
  };
421
410
  };
422
411
  };
423
- componentBlocks: ComponentBlock[];
424
- jsonProperties: ICompositionJsonProperties;
425
- compositionCode: string;
426
- compositionTemplateCode: string;
427
- dynamicLayoutComponentBlockId: number;
412
+ componentBlocks?: ComponentBlock[];
413
+ jsonProperties?: ISectionJsonProperties;
428
414
  }
429
- export type ICompositionJsonProperties = {
430
- data: {
431
- CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE: {
432
- CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE_SPEC_MANUAL: null;
433
- };
434
- CB_CONTENT_PROP_HOVER: {
435
- CB_CONTENT_PROP_HOVER_SPEC_MUSE: boolean;
436
- };
437
- CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
438
- CB_PLACEMENT_PROP_COMPOSITION: {
439
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS: number;
440
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE': number | null;
441
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT: number | null;
442
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE': number | null;
443
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH: number | null;
444
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE': number | null;
445
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT: number | null;
446
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE': number | null;
447
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH: number | null;
448
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE': number | null;
449
- CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS: number;
450
- 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE': number | null;
451
- };
452
- CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
453
- CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
454
- CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
455
- };
456
- zOrders: ZOrder;
457
- pedigree: SectionPedigree;
458
- currentVersion: string;
459
- minVersion: string;
460
- version: string;
461
- };