pds-dev-kit-web-test 2.7.92 → 2.7.94

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 (679) hide show
  1. package/dist/index.d.ts +7 -7
  2. package/dist/index.js +3 -16
  3. package/dist/src/common/assets/icons/fill/index.d.ts +0 -2
  4. package/dist/src/common/assets/icons/fill/index.js +1 -5
  5. package/dist/src/common/assets/icons/line/index.d.ts +0 -3
  6. package/dist/src/common/assets/icons/line/index.js +1 -7
  7. package/dist/src/common/hooks/useTooltip.js +1 -1
  8. package/dist/src/common/index.d.ts +1 -1
  9. package/dist/src/common/services/i18n/i18n.d.ts +2 -2
  10. package/dist/src/common/services/i18n/i18n.js +7 -10
  11. package/dist/src/common/services/i18n/resources/en.json +2 -71
  12. package/dist/src/common/services/i18n/resources/es.json +1 -70
  13. package/dist/src/common/services/i18n/resources/fil.json +2 -64
  14. package/dist/src/common/services/i18n/resources/index.d.ts +0 -476
  15. package/dist/src/common/services/i18n/resources/ja.json +1 -70
  16. package/dist/src/common/services/i18n/resources/ko.json +1 -70
  17. package/dist/src/common/services/i18n/resources/zh-cn.json +2 -71
  18. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -70
  19. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -4
  20. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -4
  21. package/dist/src/common/styles/colorSet/UIColor.json +1 -6
  22. package/dist/src/common/styles/colorSet/index.d.ts +124 -135
  23. package/dist/src/common/styles/colorSet/index.js +2 -2
  24. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -5
  25. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +0 -2
  26. package/dist/src/common/styles/scroll/scrollbarStyle.js +3 -4
  27. package/dist/src/common/types/components.d.ts +0 -9
  28. package/dist/src/common/types/components.js +0 -8
  29. package/dist/src/common/types/form.d.ts +9 -0
  30. package/dist/src/common/types/form.js +10 -0
  31. package/dist/src/common/types/index.d.ts +1 -1
  32. package/dist/src/common/types/index.js +1 -1
  33. package/dist/src/common/types/text.d.ts +0 -2
  34. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  35. package/dist/src/common/utils/dateHelper.d.ts +0 -3
  36. package/dist/src/common/utils/dateHelper.js +0 -37
  37. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -4
  38. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +23 -32
  39. package/dist/src/desktop/components/AdminList/AdminList.d.ts +1 -11
  40. package/dist/src/desktop/components/AdminList/AdminList.js +19 -47
  41. package/dist/src/desktop/components/AdminList/BulkActionBar.js +2 -2
  42. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -10
  43. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  44. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +1 -3
  45. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -3
  46. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -2
  47. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +4 -4
  48. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -2
  49. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +3 -10
  50. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  51. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -5
  52. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -17
  53. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +1 -4
  54. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +2 -22
  55. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  56. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  57. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  58. package/dist/src/desktop/components/ContextMenu/ContextMenu.d.ts +1 -3
  59. package/dist/src/desktop/components/ContextMenu/ContextMenu.js +7 -38
  60. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
  61. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +8 -21
  62. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -3
  63. package/dist/src/desktop/components/Dropdown/Dropdown.js +6 -6
  64. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +1 -3
  65. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +10 -19
  66. package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -6
  67. package/dist/src/desktop/components/TextButton/TextButton.js +40 -67
  68. package/dist/src/desktop/components/TextField/TextField.d.ts +1 -4
  69. package/dist/src/desktop/components/TextField/TextField.js +14 -24
  70. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  71. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  72. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +39 -56
  73. package/dist/src/desktop/components/index.d.ts +1 -8
  74. package/dist/src/desktop/components/index.js +1 -16
  75. package/dist/src/desktop/index.d.ts +2 -2
  76. package/dist/src/desktop/index.js +2 -10
  77. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  78. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  79. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  80. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +5 -8
  81. package/dist/src/desktop/panels/ContentSheet/ContentSheet.d.ts +1 -4
  82. package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +3 -11
  83. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +1 -2
  84. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +15 -13
  85. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +1 -3
  86. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +10 -16
  87. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +3 -19
  88. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +31 -42
  89. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +1 -3
  90. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +5 -11
  91. package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +1 -4
  92. package/dist/src/desktop/panels/SectionSheet/SectionSheet.js +3 -11
  93. package/dist/src/desktop/panels/index.d.ts +1 -2
  94. package/dist/src/desktop/panels/index.js +1 -6
  95. package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
  96. package/dist/src/hybrid/components/Divider/Divider.js +7 -9
  97. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -3
  98. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +22 -26
  99. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  100. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  101. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  102. package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +1 -3
  103. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +7 -38
  104. package/dist/src/mobile/components/DatePicker/DatePicker.js +2 -2
  105. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -3
  106. package/dist/src/mobile/components/Dropdown/Dropdown.js +6 -6
  107. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +1 -3
  108. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +13 -36
  109. package/dist/src/mobile/components/TextButton/TextButton.d.ts +3 -6
  110. package/dist/src/mobile/components/TextButton/TextButton.js +31 -55
  111. package/dist/src/mobile/components/TextField/TextField.d.ts +1 -2
  112. package/dist/src/mobile/components/TextField/TextField.js +8 -9
  113. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  114. package/dist/src/mobile/components/TextLabel/TextLabel.js +1 -3
  115. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  116. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +30 -44
  117. package/dist/src/mobile/components/index.d.ts +1 -6
  118. package/dist/src/mobile/components/index.js +1 -11
  119. package/dist/src/mobile/index.d.ts +1 -1
  120. package/dist/src/mobile/index.js +2 -7
  121. package/dist/src/mobile/panels/ContentSheet/ContentSheet.d.ts +1 -4
  122. package/dist/src/mobile/panels/ContentSheet/ContentSheet.js +3 -11
  123. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +1 -3
  124. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +7 -14
  125. package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +1 -4
  126. package/dist/src/mobile/panels/SectionSheet/SectionSheet.js +3 -11
  127. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -10
  128. package/dist/src/sub/AdminList/AdminList/AdminList.js +20 -51
  129. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -10
  130. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  131. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  132. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +0 -2
  133. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +5 -15
  134. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  135. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -2
  136. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  137. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
  138. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1134 -0
  139. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  140. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
  141. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +123 -55
  142. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  143. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  144. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +6 -2
  145. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +11 -15
  146. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +14 -0
  147. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +68 -0
  148. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
  149. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
  150. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  151. package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
  152. package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.d.ts +9 -0
  153. package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.js +356 -0
  154. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +2 -2
  155. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
  156. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  157. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
  158. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  159. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  160. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  161. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  162. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  163. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  164. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  165. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  166. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  167. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  168. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  169. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  170. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  171. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  172. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  173. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  174. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  175. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  176. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  177. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  178. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  179. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  180. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  181. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  182. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  183. package/dist/src/sub/DynamicLayout/gleStyles.js +1 -1
  184. package/dist/src/sub/DynamicLayout/mock.json +8163 -0
  185. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +911 -0
  186. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4238 -0
  187. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  188. package/dist/src/sub/DynamicLayout/mock_composition.js +1664 -0
  189. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
  190. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1168 -0
  191. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
  192. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
  193. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
  194. package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
  195. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
  196. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
  197. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  198. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  199. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
  200. package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
  201. package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
  202. package/dist/src/sub/DynamicLayout/mocks.js +43 -4237
  203. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +12 -14
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +7 -6
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.d.ts → ComponentBlockMatcherWithCCB.d.ts} +1 -1
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.js → ComponentBlockMatcherWithCCB.js} +15 -5
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +151 -3
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +11 -0
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +76 -0
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +256 -0
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +16 -0
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +38 -0
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +130 -0
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +2 -2
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +159 -0
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +11 -0
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +38 -0
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +179 -0
  261. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
  262. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
  263. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  264. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
  265. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
  266. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
  267. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
  268. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
  269. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
  270. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
  271. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  272. package/dist/src/{desktop/components/Snackbar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
  273. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
  274. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
  275. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
  276. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  277. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
  278. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +59 -9
  279. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +7 -0
  280. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +211 -0
  281. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +3 -28
  282. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -1
  283. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +5 -15
  284. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +52 -3
  285. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.d.ts +2 -0
  286. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.js +17 -0
  287. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.d.ts +2 -0
  288. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.js +13 -0
  289. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  290. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  291. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
  292. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
  293. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  294. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  295. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  296. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  297. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  298. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +6 -20
  299. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +16 -5
  300. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  301. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +4 -3
  302. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +3 -0
  303. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
  304. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +58 -3
  305. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  306. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
  307. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +2 -2
  308. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +2 -2
  309. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
  310. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +2 -2
  311. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +2 -2
  312. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +2 -2
  313. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
  314. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +2 -2
  315. package/dist/src/sub/DynamicLayout/types.d.ts +68 -17
  316. package/dist/src/sub/DynamicLayout/utils/groupUtils.d.ts +16 -0
  317. package/dist/src/sub/DynamicLayout/utils/groupUtils.js +156 -0
  318. package/package.json +14 -23
  319. package/release-note.md +3 -4
  320. package/dist/scripts/copy-tinymce.d.ts +0 -1
  321. package/dist/scripts/copy-tinymce.js +0 -32
  322. package/dist/src/common/assets/icons/fill/Gift.d.ts +0 -4
  323. package/dist/src/common/assets/icons/fill/Gift.js +0 -30
  324. package/dist/src/common/assets/icons/fill/Translate.d.ts +0 -4
  325. package/dist/src/common/assets/icons/fill/Translate.js +0 -30
  326. package/dist/src/common/assets/icons/line/Gift.d.ts +0 -4
  327. package/dist/src/common/assets/icons/line/Gift.js +0 -30
  328. package/dist/src/common/assets/icons/line/TimeExtension.d.ts +0 -4
  329. package/dist/src/common/assets/icons/line/TimeExtension.js +0 -30
  330. package/dist/src/common/assets/icons/line/Translate.d.ts +0 -4
  331. package/dist/src/common/assets/icons/line/Translate.js +0 -30
  332. package/dist/src/common/hooks/usePackageTranslation.d.ts +0 -4
  333. package/dist/src/common/hooks/usePackageTranslation.js +0 -14
  334. package/dist/src/common/hooks/useParentResizeObserver.d.ts +0 -2
  335. package/dist/src/common/hooks/useParentResizeObserver.js +0 -20
  336. package/dist/src/common/hooks/useResizeObserver.d.ts +0 -3
  337. package/dist/src/common/hooks/useResizeObserver.js +0 -27
  338. package/dist/src/common/hooks/useWindowSize.d.ts +0 -4
  339. package/dist/src/common/hooks/useWindowSize.js +0 -22
  340. package/dist/src/common/styles/editorContentStyle.d.ts +0 -1
  341. package/dist/src/common/styles/editorContentStyle.js +0 -76
  342. package/dist/src/common/types/LocalizedContent.d.ts +0 -4
  343. package/dist/src/core/pricing/formatter.d.ts +0 -4
  344. package/dist/src/core/pricing/formatter.js +0 -18
  345. package/dist/src/core/pricing/index.d.ts +0 -2
  346. package/dist/src/core/pricing/index.js +0 -18
  347. package/dist/src/core/pricing/policy.d.ts +0 -26
  348. package/dist/src/core/pricing/policy.js +0 -98
  349. package/dist/src/core/pricing/service.d.ts +0 -62
  350. package/dist/src/core/pricing/service.js +0 -157
  351. package/dist/src/core/pricing/translator.d.ts +0 -27
  352. package/dist/src/core/pricing/translator.js +0 -54
  353. package/dist/src/core/pricing/types.d.ts +0 -19
  354. package/dist/src/core/pricing/types.js +0 -31
  355. package/dist/src/core/pricing/validator.d.ts +0 -29
  356. package/dist/src/core/pricing/validator.js +0 -105
  357. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -68
  358. package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -107
  359. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  360. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +0 -9
  361. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +0 -11
  362. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +0 -9
  363. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  364. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +0 -36
  365. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +0 -2
  366. package/dist/src/desktop/components/BoxItem/LeftBox/index.js +0 -8
  367. package/dist/src/desktop/components/BoxItem/index.d.ts +0 -1
  368. package/dist/src/desktop/components/BoxItem/index.js +0 -8
  369. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +0 -12
  370. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +0 -134
  371. package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
  372. package/dist/src/desktop/components/Calendar/Calendar.js +0 -437
  373. package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +0 -53
  374. package/dist/src/desktop/components/Calendar/CalendarContext.js +0 -77
  375. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
  376. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -49
  377. package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -8
  378. package/dist/src/desktop/components/Calendar/DailyView.js +0 -172
  379. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -29
  380. package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -494
  381. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +0 -21
  382. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +0 -186
  383. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +0 -25
  384. package/dist/src/desktop/components/Calendar/ScheduleItem.js +0 -56
  385. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +0 -12
  386. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +0 -184
  387. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +0 -9
  388. package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -220
  389. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +0 -13
  390. package/dist/src/desktop/components/Calendar/YearlyView.js +0 -76
  391. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +0 -13
  392. package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -59
  393. package/dist/src/desktop/components/Calendar/constants.d.ts +0 -1
  394. package/dist/src/desktop/components/Calendar/constants.js +0 -31
  395. package/dist/src/desktop/components/Calendar/index.d.ts +0 -14
  396. package/dist/src/desktop/components/Calendar/index.js +0 -42
  397. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +0 -18
  398. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +0 -59
  399. package/dist/src/desktop/components/Calendar/types.d.ts +0 -65
  400. package/dist/src/desktop/components/LocalizedButton/LocalizedButton.d.ts +0 -8
  401. package/dist/src/desktop/components/LocalizedButton/LocalizedButton.js +0 -44
  402. package/dist/src/desktop/components/LocalizedButton/index.d.ts +0 -1
  403. package/dist/src/desktop/components/LocalizedButton/index.js +0 -8
  404. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +0 -44
  405. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +0 -587
  406. package/dist/src/desktop/components/PriceTextField/index.d.ts +0 -1
  407. package/dist/src/desktop/components/PriceTextField/index.js +0 -8
  408. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  409. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +0 -47
  410. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +0 -1
  411. package/dist/src/desktop/components/PriceTextLabel/index.js +0 -8
  412. package/dist/src/desktop/components/RichTextEditor/HTMLReader.d.ts +0 -5
  413. package/dist/src/desktop/components/RichTextEditor/HTMLReader.js +0 -35
  414. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -37
  415. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -276
  416. package/dist/src/desktop/components/RichTextEditor/index.d.ts +0 -2
  417. package/dist/src/desktop/components/RichTextEditor/index.js +0 -8
  418. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +0 -17
  419. package/dist/src/desktop/components/Snackbar/Snackbar.js +0 -221
  420. package/dist/src/desktop/components/Snackbar/index.d.ts +0 -1
  421. package/dist/src/desktop/components/Snackbar/provider.d.ts +0 -11
  422. package/dist/src/desktop/components/Snackbar/provider.js +0 -43
  423. package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.d.ts +0 -34
  424. package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.js +0 -171
  425. package/dist/src/desktop/panels/LocalizedContentModal/index.d.ts +0 -1
  426. package/dist/src/desktop/panels/LocalizedContentModal/index.js +0 -8
  427. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -68
  428. package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -106
  429. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  430. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +0 -9
  431. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +0 -11
  432. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +0 -9
  433. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  434. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +0 -36
  435. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +0 -2
  436. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +0 -8
  437. package/dist/src/mobile/components/BoxItem/index.d.ts +0 -1
  438. package/dist/src/mobile/components/BoxItem/index.js +0 -8
  439. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +0 -43
  440. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +0 -574
  441. package/dist/src/mobile/components/PriceTextField/index.d.ts +0 -1
  442. package/dist/src/mobile/components/PriceTextField/index.js +0 -8
  443. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  444. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +0 -47
  445. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +0 -1
  446. package/dist/src/mobile/components/PriceTextLabel/index.js +0 -8
  447. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +0 -37
  448. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -281
  449. package/dist/src/mobile/components/RichTextEditor/index.d.ts +0 -2
  450. package/dist/src/mobile/components/RichTextEditor/index.js +0 -8
  451. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +0 -17
  452. package/dist/src/mobile/components/Snackbar/Snackbar.js +0 -221
  453. package/dist/src/mobile/components/Snackbar/index.d.ts +0 -1
  454. package/dist/src/mobile/components/Snackbar/index.js +0 -8
  455. package/dist/src/mobile/components/Snackbar/provider.d.ts +0 -11
  456. package/dist/src/mobile/components/Snackbar/provider.js +0 -43
  457. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  458. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  459. package/dist/tinymce/CHANGELOG.md +0 -3453
  460. package/dist/tinymce/README.md +0 -73
  461. package/dist/tinymce/bower.json +0 -27
  462. package/dist/tinymce/composer.json +0 -52
  463. package/dist/tinymce/icons/default/icons.js +0 -194
  464. package/dist/tinymce/icons/default/icons.min.js +0 -1
  465. package/dist/tinymce/icons/default/index.js +0 -7
  466. package/dist/tinymce/license.txt +0 -21
  467. package/dist/tinymce/models/dom/index.js +0 -7
  468. package/dist/tinymce/models/dom/model.js +0 -8040
  469. package/dist/tinymce/models/dom/model.min.js +0 -1
  470. package/dist/tinymce/notices.txt +0 -21
  471. package/dist/tinymce/package.json +0 -32
  472. package/dist/tinymce/plugins/accordion/index.js +0 -7
  473. package/dist/tinymce/plugins/accordion/plugin.js +0 -1054
  474. package/dist/tinymce/plugins/accordion/plugin.min.js +0 -5
  475. package/dist/tinymce/plugins/advlist/index.js +0 -7
  476. package/dist/tinymce/plugins/advlist/plugin.js +0 -259
  477. package/dist/tinymce/plugins/advlist/plugin.min.js +0 -5
  478. package/dist/tinymce/plugins/anchor/index.js +0 -7
  479. package/dist/tinymce/plugins/anchor/plugin.js +0 -214
  480. package/dist/tinymce/plugins/anchor/plugin.min.js +0 -5
  481. package/dist/tinymce/plugins/autolink/index.js +0 -7
  482. package/dist/tinymce/plugins/autolink/plugin.js +0 -228
  483. package/dist/tinymce/plugins/autolink/plugin.min.js +0 -5
  484. package/dist/tinymce/plugins/autoresize/index.js +0 -7
  485. package/dist/tinymce/plugins/autoresize/plugin.js +0 -192
  486. package/dist/tinymce/plugins/autoresize/plugin.min.js +0 -5
  487. package/dist/tinymce/plugins/autosave/index.js +0 -7
  488. package/dist/tinymce/plugins/autosave/plugin.js +0 -233
  489. package/dist/tinymce/plugins/autosave/plugin.min.js +0 -5
  490. package/dist/tinymce/plugins/charmap/index.js +0 -7
  491. package/dist/tinymce/plugins/charmap/plugin.js +0 -1658
  492. package/dist/tinymce/plugins/charmap/plugin.min.js +0 -5
  493. package/dist/tinymce/plugins/code/index.js +0 -7
  494. package/dist/tinymce/plugins/code/plugin.js +0 -85
  495. package/dist/tinymce/plugins/code/plugin.min.js +0 -5
  496. package/dist/tinymce/plugins/codesample/index.js +0 -7
  497. package/dist/tinymce/plugins/codesample/plugin.js +0 -2471
  498. package/dist/tinymce/plugins/codesample/plugin.min.js +0 -13
  499. package/dist/tinymce/plugins/directionality/index.js +0 -7
  500. package/dist/tinymce/plugins/directionality/plugin.js +0 -395
  501. package/dist/tinymce/plugins/directionality/plugin.min.js +0 -5
  502. package/dist/tinymce/plugins/emoticons/index.js +0 -7
  503. package/dist/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  504. package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -1
  505. package/dist/tinymce/plugins/emoticons/js/emojis.js +0 -1
  506. package/dist/tinymce/plugins/emoticons/js/emojis.min.js +0 -1
  507. package/dist/tinymce/plugins/emoticons/plugin.js +0 -595
  508. package/dist/tinymce/plugins/emoticons/plugin.min.js +0 -5
  509. package/dist/tinymce/plugins/fullscreen/index.js +0 -7
  510. package/dist/tinymce/plugins/fullscreen/plugin.js +0 -1249
  511. package/dist/tinymce/plugins/fullscreen/plugin.min.js +0 -5
  512. package/dist/tinymce/plugins/help/index.js +0 -7
  513. package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  514. package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  515. package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  516. package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  517. package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  518. package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  519. package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  520. package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  521. package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  522. package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  523. package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  524. package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  525. package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  526. package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  527. package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  528. package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  529. package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  530. package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  531. package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  532. package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  533. package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  534. package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  535. package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  536. package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  537. package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  538. package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  539. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  540. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  541. package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  542. package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  543. package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  544. package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  545. package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  546. package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  547. package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  548. package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  549. package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  550. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  551. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  552. package/dist/tinymce/plugins/help/plugin.js +0 -898
  553. package/dist/tinymce/plugins/help/plugin.min.js +0 -5
  554. package/dist/tinymce/plugins/image/index.js +0 -7
  555. package/dist/tinymce/plugins/image/plugin.js +0 -1505
  556. package/dist/tinymce/plugins/image/plugin.min.js +0 -5
  557. package/dist/tinymce/plugins/importcss/index.js +0 -7
  558. package/dist/tinymce/plugins/importcss/plugin.js +0 -344
  559. package/dist/tinymce/plugins/importcss/plugin.min.js +0 -5
  560. package/dist/tinymce/plugins/insertdatetime/index.js +0 -7
  561. package/dist/tinymce/plugins/insertdatetime/plugin.js +0 -187
  562. package/dist/tinymce/plugins/insertdatetime/plugin.min.js +0 -5
  563. package/dist/tinymce/plugins/link/index.js +0 -7
  564. package/dist/tinymce/plugins/link/plugin.js +0 -1242
  565. package/dist/tinymce/plugins/link/plugin.min.js +0 -5
  566. package/dist/tinymce/plugins/lists/index.js +0 -7
  567. package/dist/tinymce/plugins/lists/plugin.js +0 -2172
  568. package/dist/tinymce/plugins/lists/plugin.min.js +0 -5
  569. package/dist/tinymce/plugins/media/index.js +0 -7
  570. package/dist/tinymce/plugins/media/plugin.js +0 -1217
  571. package/dist/tinymce/plugins/media/plugin.min.js +0 -5
  572. package/dist/tinymce/plugins/nonbreaking/index.js +0 -7
  573. package/dist/tinymce/plugins/nonbreaking/plugin.js +0 -123
  574. package/dist/tinymce/plugins/nonbreaking/plugin.min.js +0 -5
  575. package/dist/tinymce/plugins/pagebreak/index.js +0 -7
  576. package/dist/tinymce/plugins/pagebreak/plugin.js +0 -117
  577. package/dist/tinymce/plugins/pagebreak/plugin.min.js +0 -5
  578. package/dist/tinymce/plugins/preview/index.js +0 -7
  579. package/dist/tinymce/plugins/preview/plugin.js +0 -97
  580. package/dist/tinymce/plugins/preview/plugin.min.js +0 -5
  581. package/dist/tinymce/plugins/quickbars/index.js +0 -7
  582. package/dist/tinymce/plugins/quickbars/plugin.js +0 -447
  583. package/dist/tinymce/plugins/quickbars/plugin.min.js +0 -5
  584. package/dist/tinymce/plugins/save/index.js +0 -7
  585. package/dist/tinymce/plugins/save/plugin.js +0 -118
  586. package/dist/tinymce/plugins/save/plugin.min.js +0 -5
  587. package/dist/tinymce/plugins/searchreplace/index.js +0 -7
  588. package/dist/tinymce/plugins/searchreplace/plugin.js +0 -1093
  589. package/dist/tinymce/plugins/searchreplace/plugin.min.js +0 -5
  590. package/dist/tinymce/plugins/table/index.js +0 -7
  591. package/dist/tinymce/plugins/table/plugin.js +0 -3462
  592. package/dist/tinymce/plugins/table/plugin.min.js +0 -5
  593. package/dist/tinymce/plugins/template/index.js +0 -7
  594. package/dist/tinymce/plugins/template/plugin.js +0 -567
  595. package/dist/tinymce/plugins/template/plugin.min.js +0 -5
  596. package/dist/tinymce/plugins/visualblocks/index.js +0 -7
  597. package/dist/tinymce/plugins/visualblocks/plugin.js +0 -98
  598. package/dist/tinymce/plugins/visualblocks/plugin.min.js +0 -5
  599. package/dist/tinymce/plugins/visualchars/index.js +0 -7
  600. package/dist/tinymce/plugins/visualchars/plugin.js +0 -560
  601. package/dist/tinymce/plugins/visualchars/plugin.min.js +0 -5
  602. package/dist/tinymce/plugins/wordcount/index.js +0 -7
  603. package/dist/tinymce/plugins/wordcount/plugin.js +0 -405
  604. package/dist/tinymce/plugins/wordcount/plugin.min.js +0 -5
  605. package/dist/tinymce/skins/content/dark/content.css +0 -79
  606. package/dist/tinymce/skins/content/dark/content.js +0 -15
  607. package/dist/tinymce/skins/content/dark/content.min.css +0 -14
  608. package/dist/tinymce/skins/content/default/content.css +0 -74
  609. package/dist/tinymce/skins/content/default/content.js +0 -15
  610. package/dist/tinymce/skins/content/default/content.min.css +0 -14
  611. package/dist/tinymce/skins/content/document/content.css +0 -79
  612. package/dist/tinymce/skins/content/document/content.js +0 -15
  613. package/dist/tinymce/skins/content/document/content.min.css +0 -14
  614. package/dist/tinymce/skins/content/tinymce-5/content.css +0 -74
  615. package/dist/tinymce/skins/content/tinymce-5/content.js +0 -15
  616. package/dist/tinymce/skins/content/tinymce-5/content.min.css +0 -14
  617. package/dist/tinymce/skins/content/tinymce-5-dark/content.css +0 -79
  618. package/dist/tinymce/skins/content/tinymce-5-dark/content.js +0 -15
  619. package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -14
  620. package/dist/tinymce/skins/content/writer/content.css +0 -75
  621. package/dist/tinymce/skins/content/writer/content.js +0 -15
  622. package/dist/tinymce/skins/content/writer/content.min.css +0 -14
  623. package/dist/tinymce/skins/ui/oxide/content.css +0 -798
  624. package/dist/tinymce/skins/ui/oxide/content.inline.css +0 -792
  625. package/dist/tinymce/skins/ui/oxide/content.inline.js +0 -15
  626. package/dist/tinymce/skins/ui/oxide/content.inline.min.css +0 -14
  627. package/dist/tinymce/skins/ui/oxide/content.js +0 -15
  628. package/dist/tinymce/skins/ui/oxide/content.min.css +0 -14
  629. package/dist/tinymce/skins/ui/oxide/skin.css +0 -3763
  630. package/dist/tinymce/skins/ui/oxide/skin.js +0 -2
  631. package/dist/tinymce/skins/ui/oxide/skin.min.css +0 -1
  632. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  633. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  634. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  635. package/dist/tinymce/skins/ui/oxide-dark/content.css +0 -779
  636. package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +0 -792
  637. package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +0 -15
  638. package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -14
  639. package/dist/tinymce/skins/ui/oxide-dark/content.js +0 -15
  640. package/dist/tinymce/skins/ui/oxide-dark/content.min.css +0 -14
  641. package/dist/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  642. package/dist/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  643. package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  644. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  645. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  646. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  647. package/dist/tinymce/skins/ui/tinymce-5/content.css +0 -798
  648. package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +0 -792
  649. package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +0 -15
  650. package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -14
  651. package/dist/tinymce/skins/ui/tinymce-5/content.js +0 -15
  652. package/dist/tinymce/skins/ui/tinymce-5/content.min.css +0 -14
  653. package/dist/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
  654. package/dist/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  655. package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  656. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
  657. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  658. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  659. package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +0 -779
  660. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -792
  661. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -15
  662. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -14
  663. package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +0 -15
  664. package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -14
  665. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
  666. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  667. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  668. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
  669. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  670. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  671. package/dist/tinymce/themes/silver/index.js +0 -7
  672. package/dist/tinymce/themes/silver/theme.js +0 -30775
  673. package/dist/tinymce/themes/silver/theme.min.js +0 -1
  674. package/dist/tinymce/tinymce.d.ts +0 -3238
  675. package/dist/tinymce/tinymce.js +0 -31779
  676. package/dist/tinymce/tinymce.min.js +0 -11
  677. package/scripts/copy-tinymce.js +0 -37
  678. /package/dist/src/{common/types/LocalizedContent.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
  679. /package/dist/src/{desktop/components/Calendar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel}/types.js +0 -0
@@ -46,9 +46,12 @@ function ComponentBlockMatcher(_a) {
46
46
  return (0, jsx_runtime_1.jsx)(Youtube_1.Youtube, __assign({}, propsWithValue, { index: index }));
47
47
  case types_1.CB_ALL_CODES.CB_EMBED:
48
48
  return (0, jsx_runtime_1.jsx)(Embed_1.default, __assign({}, propsWithValue, { index: index }));
49
- case types_1.CB_ALL_CODES.CB_CONTENTS_CAROUSEL: {
49
+ case types_1.CB_ALL_CODES.CB_CONTENTSCAROUSEL: {
50
50
  return (0, jsx_runtime_1.jsx)("div", { children: "NOT SUPPORTED NESTED CAROUSEL" });
51
51
  }
52
+ case types_1.CB_ALL_CODES.CB_LIST: {
53
+ return (0, jsx_runtime_1.jsx)("div", { children: "NOT SUPPORTED NESTED CONTENTSLIST" });
54
+ }
52
55
  default:
53
56
  return (0, jsx_runtime_1.jsx)("div", { children: "Error: not supported CB" });
54
57
  }
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
- import type { ISection } from '../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
2
+ import type { IComposition } from '../types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
7
7
  };
8
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISection & React.RefAttributes<unknown>>>;
8
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<IComposition & {
9
+ device?: "DESKTOP" | "MOBILE" | undefined;
10
+ } & React.RefAttributes<unknown>>>;
9
11
  export default _default;
@@ -47,36 +47,34 @@ var react_1 = __importStar(require("react"));
47
47
  var ErrorBoundary_1 = require("../../DynamicLayout/components/Section/ErrorBoundary");
48
48
  var dynamicLayoutContext_1 = require("../../DynamicLayout/dynamicLayoutContext");
49
49
  var styled_components_1 = __importDefault(require("styled-components"));
50
- var components_1 = require("../components");
50
+ require("../components");
51
51
  var gleStyles_1 = require("../gleStyles");
52
52
  var useResizableObserver_1 = require("../sections/CustomSection/hooks/useResizableObserver");
53
- var util_1 = require("../sections/CustomSection/util");
53
+ require("../sections/CustomSection/util");
54
54
  var parseSectionPadding_1 = __importDefault(require("../sections/CustomSection/util/layoutPropParsers/parseSectionPadding"));
55
- var FlexGridItem_1 = __importDefault(require("./FlexGridItem"));
56
- var GRID_CELL_MIN = 24;
57
- var DESKTOP_GRID_COLS = 24;
58
- var MOBILE_GRID_COLS = 8;
59
- var GLE_MIN_WIDTH_DESKTOP_PX = "".concat(GRID_CELL_MIN * DESKTOP_GRID_COLS, "px");
60
- var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
55
+ var parseCompositionPlacement_1 = __importDefault(require("../sections/CustomSection/util/parseCompositionPlacement"));
56
+ var parseStylePropBorder_1 = __importDefault(require("../sections/CustomSection/util/stylePropParsers/parseStylePropBorder"));
57
+ var parseStylePropShadow_1 = __importDefault(require("../sections/CustomSection/util/stylePropParsers/parseStylePropShadow"));
58
+ var types_1 = require("../sections/CustomSection/util/stylePropParsers/types");
59
+ var CompositionBackground_1 = __importDefault(require("./CompositionBackground"));
60
+ var FlexGridItemForCCB_1 = __importDefault(require("./FlexGridItemForCCB"));
61
61
  var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
62
- var _a;
63
- var _b = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _b.device, editingSectionId = _b.editingSectionId, mode = _b.mode, shortcutKeyMode = _b.shortcutKeyMode, sectionActionHandler = _b.sectionActionHandler;
62
+ var _a, _b, _c, _d, _e;
63
+ var _f = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _f.device, editingSectionId = _f.editingSectionId, mode = _f.mode, shortcutKeyMode = _f.shortcutKeyMode, sectionActionHandler = _f.sectionActionHandler, queryData = _f.queryData;
64
64
  var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties;
65
- var _c = jsonProperties, _d = _c.data, CB_PLACEMENT_PROP_SECTION = _d.CB_PLACEMENT_PROP_SECTION, CB_LAYOUT_PROP_PADDING = _d.CB_LAYOUT_PROP_PADDING, zOrders = _c.zOrders;
65
+ var isMobile = device === 'MOBILE';
66
+ var isEditMode = mode === 'EDIT';
67
+ var _g = jsonProperties, _h = _g.data, CB_PLACEMENT_PROP_COMPOSITION = _h.CB_PLACEMENT_PROP_COMPOSITION, CB_LAYOUT_PROP_PADDING = _h.CB_LAYOUT_PROP_PADDING, CB_STYLE_PROP_SHADOW = _h.CB_STYLE_PROP_SHADOW, CB_STYLE_PROP_BORDER = _h.CB_STYLE_PROP_BORDER, zOrders = _g.zOrders;
68
+ var colsDesktop = (_a = CB_PLACEMENT_PROP_COMPOSITION.CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS) !== null && _a !== void 0 ? _a : 24;
69
+ var colsMobile = (_b = CB_PLACEMENT_PROP_COMPOSITION['CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE']) !== null && _b !== void 0 ? _b : 8;
70
+ var rowsDesktop = (_c = CB_PLACEMENT_PROP_COMPOSITION.CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS) !== null && _c !== void 0 ? _c : 26;
71
+ var rowsMobile = (_d = CB_PLACEMENT_PROP_COMPOSITION['CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE']) !== null && _d !== void 0 ? _d : 26;
72
+ var rows = isMobile ? rowsMobile : rowsDesktop;
73
+ var cols = isMobile ? colsMobile : colsDesktop;
66
74
  var containerRef = (0, react_1.useRef)(null);
67
75
  var size = (0, useResizableObserver_1.useResizeObserver)({ ref: containerRef, box: 'border-box' });
68
- var _e = (0, react_1.useState)(null), selectedCB = _e[0], setSelectedCB = _e[1];
76
+ var _j = (0, react_1.useState)(null), selectedCB = _j[0], setSelectedCB = _j[1];
69
77
  var gleRef = (0, react_1.useRef)(null);
70
- var isMobile = device === 'MOBILE';
71
- var isEditMode = mode === 'EDIT';
72
- // const layoutByDevice = device === 'DESKTOP' ? 'lg' : 'sm';
73
- // const [layouts] = useState<LayoutsType>(() => {
74
- // const { lg, sm } = parsePlacement(componentBlocks ?? []);
75
- // return {
76
- // lg,
77
- // sm
78
- // };
79
- // });
80
78
  (0, react_1.useEffect)(function () {
81
79
  if (editingSectionId !== props.id) {
82
80
  setSelectedCB(null);
@@ -124,14 +122,17 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
124
122
  setSelectedCB('BULK');
125
123
  }
126
124
  }, [selectedCB, shortcutKeyMode, sectionActionHandler, setSelectedCB]);
127
- var _f = (0, util_1.parseCustomSectionPlacement)({
125
+ var _k = (0, parseCompositionPlacement_1.default)({
128
126
  isMobile: isMobile,
129
- customSectionProps: CB_PLACEMENT_PROP_SECTION
130
- }), width = _f.width, minHeight = _f.minHeight, isFullWidth = _f.isFullWidth;
127
+ compositionProps: CB_PLACEMENT_PROP_COMPOSITION
128
+ }), minHeight = _k.minHeight, maxHeight = _k.maxHeight, maxWidth = _k.maxWidth, minWidth = _k.minWidth;
129
+ var canvasWidth = 50 * cols;
131
130
  var customSectionStyles = {
132
- minHeight: "".concat(minHeight, "vh"),
133
- width: '100%',
134
- maxWidth: isFullWidth ? '' : "".concat(width, "px")
131
+ minHeight: "".concat(minHeight, "px"),
132
+ maxHeight: "".concat(maxHeight, "px"),
133
+ width: "100%",
134
+ maxWidth: maxWidth ? "".concat(maxWidth, "px") : '100%',
135
+ minWidth: "".concat(Math.max(canvasWidth, minWidth !== null && minWidth !== void 0 ? minWidth : 0), "px")
135
136
  };
136
137
  var onClickSection = function () {
137
138
  if (!isEditMode) {
@@ -147,26 +148,34 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
147
148
  });
148
149
  };
149
150
  var padding = (0, parseSectionPadding_1.default)(CB_LAYOUT_PROP_PADDING, device);
150
- var sectionRow = CB_PLACEMENT_PROP_SECTION[device === 'DESKTOP'
151
- ? 'CB_PLACEMENT_PROP_SECTION_SPEC_ROWS'
152
- : 'CB_PLACEMENT_PROP_SECTION_SPEC_ROWS:MOBILE'];
151
+ var shadowStyles = (0, parseStylePropShadow_1.default)({
152
+ name: types_1.CB_STYLE_PROP_KEYS.CB_STYLE_PROP_SHADOW,
153
+ specs: MOCK_SHADOW
154
+ }, device);
155
+ var borderStyles = (0, parseStylePropBorder_1.default)({
156
+ name: types_1.CB_STYLE_PROP_KEYS.CB_STYLE_PROP_BORDER,
157
+ specs: MOCK_BORDER
158
+ }, device);
153
159
  var rowHeight = (function () {
154
160
  if (!size.width) {
155
161
  return 50;
156
162
  }
157
163
  if (device === 'MOBILE') {
158
- var cellWidth_1 = size.width / MOBILE_GRID_COLS;
164
+ var cellWidth_1 = size.width / cols;
159
165
  return cellWidth_1 * 0.56;
160
166
  }
161
- var cellWidth = size.width / DESKTOP_GRID_COLS;
167
+ var cellWidth = size.width / cols;
162
168
  return cellWidth * 0.56;
163
169
  })();
170
+ // TODO: 폰트사이즈 작업 필요.
164
171
  var baseFontSize = (function () {
165
- var _a, _b;
166
172
  if (!size.width) {
167
173
  return 16;
168
174
  }
169
- var responsiveFontMode = !!((_b = (_a = props.jsonProperties) === null || _a === void 0 ? void 0 : _a.data.CB_CONTENT_PROP_SECTION) === null || _b === void 0 ? void 0 : _b.CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE);
175
+ // const responsiveFontMode =
176
+ // !!props.jsonProperties?.CB_CONTENT_PROP_COMPOSITION
177
+ // ?.CB_CONTENT_PROP_COMPOSITION_SPEC_VARIABLEROOTFONTSIZE;
178
+ var responsiveFontMode = true;
170
179
  if (device === 'MOBILE') {
171
180
  if (responsiveFontMode) {
172
181
  return size.width * 0.0421;
@@ -184,29 +193,88 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
184
193
  }
185
194
  return 16;
186
195
  })();
187
- return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(gleStyles_1.S_gleStyles, __assign({ style: { width: '100%', height: '100%' } }, { children: (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, style: {
188
- width: '100%',
189
- height: '100%'
190
- } }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
191
- // minHeight: customSectionStyles.minHeight,
192
- paddingTop: padding.top,
193
- paddingBottom: padding.bottom,
194
- paddingRight: padding.right,
195
- paddingLeft: padding.left,
196
+ return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(dynamicLayoutContext_1.dynamicLayoutContext.Provider, __assign({ value: {
197
+ device: device
198
+ } }, { children: (0, jsx_runtime_1.jsx)(gleStyles_1.S_gleStyles, __assign({ style: __assign(__assign(__assign({ width: '100%', height: '100%' }, shadowStyles.style), borderStyles.style), { overflow: 'hidden' }) }, { children: (0, jsx_runtime_1.jsx)(S_COMPOSITIONWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, style: {
196
199
  width: '100%',
197
200
  height: '100%'
198
- } }, { children: (0, jsx_runtime_1.jsx)(GridContainer, __assign({ ref: containerRef, cols: isMobile ? 8 : 24, rowHeight: rowHeight, sectionRow: sectionRow !== null && sectionRow !== void 0 ? sectionRow : 0, style: {
199
- width: customSectionStyles.width,
200
- maxWidth: customSectionStyles.maxWidth,
201
- minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
202
- fontSize: "".concat(baseFontSize, "px")
203
- } }, { children: (_a = props.componentBlocks) === null || _a === void 0 ? void 0 : _a.map(function (cb, index) {
204
- var _a;
205
- return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: index, device: device, rowHeight: rowHeight, zIndex: (_a = zOrders === null || zOrders === void 0 ? void 0 : zOrders[device === 'DESKTOP' ? 'desktop' : 'mobile'][cb.id]) !== null && _a !== void 0 ? _a : 0 }) }, cb.id));
206
- }) })) })) })) })) }));
201
+ } }, { children: (0, jsx_runtime_1.jsx)(CompositionBackground_1.default, __assign({}, props, { isMobile: isMobile, overrideStyles: {
202
+ // minHeight: customSectionStyles.minHeight,
203
+ paddingTop: padding.top,
204
+ paddingBottom: padding.bottom,
205
+ paddingRight: padding.right,
206
+ paddingLeft: padding.left,
207
+ width: '100%',
208
+ height: '100%'
209
+ } }, { children: (0, jsx_runtime_1.jsx)(GridContainer, __assign({ className: "composition-container", "data-cols": cols, "data-rows": rows, "data-row-height": rowHeight, "data-col-width": "10px", ref: containerRef, cols: cols, rowHeight: rowHeight, sectionRow: rows, "data-wrapper-paddingT": padding.top, "data-wrapper-paddingB": padding.bottom, "data-wrapper-paddingL": padding.left, "data-wrapper-paddingR": padding.right, style: {
210
+ width: customSectionStyles.width,
211
+ maxWidth: customSectionStyles.maxWidth
212
+ // minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
213
+ // fontSize: `${baseFontSize}px`
214
+ } }, { children: (_e = props.componentBlocks) === null || _e === void 0 ? void 0 : _e.map(function (cb, index) {
215
+ var _a;
216
+ return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItemForCCB_1.default, { cb: cb, index: index, device: device, rowHeight: rowHeight, zIndex: (_a = zOrders === null || zOrders === void 0 ? void 0 : zOrders[device === 'DESKTOP' ? 'desktop' : 'mobile'][cb.id]) !== null && _a !== void 0 ? _a : 0 }) }, cb.id));
217
+ }) })) })) })) })) })) }));
207
218
  });
208
- var GridContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n grid-auto-rows: minmax(", ", auto);\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(", ", minmax(", ", 1fr));\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"], ["\n display: grid; /* Space between grid items */\n gap: 10px;\n grid-auto-rows: minmax(", ", auto);\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(", ", minmax(", ", 1fr));\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"])), function (props) { return "".concat(props.rowHeight, "px"); }, function (props) { return props.cols; }, function (props) { return props.sectionRow; }, function (props) { return "".concat(0, "px"); });
209
- var S_SectionWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
219
+ var MOCK_BORDER = {
220
+ CB_STYLE_PROP_BORDER_SPEC_COLOR: '#000000FF',
221
+ 'CB_STYLE_PROP_BORDER_SPEC_COLOR:HOVER': null,
222
+ 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE': null,
223
+ 'CB_STYLE_PROP_BORDER_SPEC_COLOR:MOBILE:HOVER': null,
224
+ CB_STYLE_PROP_BORDER_SPEC_RADIUS: {
225
+ bl: 18,
226
+ br: 18,
227
+ tl: 18,
228
+ tr: 18
229
+ },
230
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:HOVER': null,
231
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE': null,
232
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUS:MOBILE:HOVER': null,
233
+ CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX: true,
234
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:HOVER': true,
235
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE': null,
236
+ 'CB_STYLE_PROP_BORDER_SPEC_RADIUSFIX:MOBILE:HOVER': null,
237
+ CB_STYLE_PROP_BORDER_SPEC_STYLE: 'SOLID',
238
+ 'CB_STYLE_PROP_BORDER_SPEC_STYLE:HOVER': null,
239
+ 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE': null,
240
+ 'CB_STYLE_PROP_BORDER_SPEC_STYLE:MOBILE:HOVER': null,
241
+ CB_STYLE_PROP_BORDER_SPEC_WIDTH: 3,
242
+ 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:HOVER': null,
243
+ 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE': null,
244
+ 'CB_STYLE_PROP_BORDER_SPEC_WIDTH:MOBILE:HOVER': null
245
+ };
246
+ var MOCK_SHADOW = {
247
+ CB_STYLE_PROP_SHADOW_SPEC_BLUR: 24,
248
+ 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:HOVER': null,
249
+ 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE': null,
250
+ 'CB_STYLE_PROP_SHADOW_SPEC_BLUR:MOBILE:HOVER': null,
251
+ CB_STYLE_PROP_SHADOW_SPEC_COLOR: '#000000FF',
252
+ 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:HOVER': null,
253
+ 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE': null,
254
+ 'CB_STYLE_PROP_SHADOW_SPEC_COLOR:MOBILE:HOVER': null,
255
+ CB_STYLE_PROP_SHADOW_SPEC_OPACITY: 30,
256
+ 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:HOVER': null,
257
+ 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE': null,
258
+ 'CB_STYLE_PROP_SHADOW_SPEC_OPACITY:MOBILE:HOVER': null,
259
+ CB_STYLE_PROP_SHADOW_SPEC_SPREAD: 2,
260
+ 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:HOVER': null,
261
+ 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE': null,
262
+ 'CB_STYLE_PROP_SHADOW_SPEC_SPREAD:MOBILE:HOVER': null,
263
+ CB_STYLE_PROP_SHADOW_SPEC_TYPE: 'OUTSET',
264
+ 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:HOVER': 'OUTSET',
265
+ 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE': null,
266
+ 'CB_STYLE_PROP_SHADOW_SPEC_TYPE:MOBILE:HOVER': null,
267
+ CB_STYLE_PROP_SHADOW_SPEC_X: 0,
268
+ 'CB_STYLE_PROP_SHADOW_SPEC_X:HOVER': null,
269
+ 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE': null,
270
+ 'CB_STYLE_PROP_SHADOW_SPEC_X:MOBILE:HOVER': null,
271
+ CB_STYLE_PROP_SHADOW_SPEC_Y: 12,
272
+ 'CB_STYLE_PROP_SHADOW_SPEC_Y:HOVER': null,
273
+ 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE': null,
274
+ 'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE:HOVER': null
275
+ };
276
+ var GridContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n /* grid-auto-rows: minmax(", ", auto); */\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"], ["\n display: grid; /* Space between grid items */\n gap: 10px;\n /* grid-auto-rows: minmax(", ", auto); */\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"])), function (props) { return "".concat(props.rowHeight, "px"); }, function (props) { return props.cols; }, function (props) { return props.sectionRow; }, function (props) { return "".concat(props.rowHeight, "px"); });
277
+ var S_COMPOSITIONWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
210
278
  exports.default = react_1.default.memo(Composition);
211
279
  function getDefensiveFontSize(device, width) {
212
280
  if (device === 'MOBILE') {
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { CSSProperties } from 'styled-components';
3
+ import type { IComposition } from '../types';
4
+ type SectionPropTypes = IComposition & {
5
+ children?: React.ReactNode;
6
+ } & {
7
+ overrideStyles?: CSSProperties;
8
+ isMobile?: boolean;
9
+ };
10
+ declare function CompositionBackground({ children, overrideStyles, isMobile, ...props }: SectionPropTypes): JSX.Element;
11
+ export default CompositionBackground;
@@ -0,0 +1,45 @@
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 __rest = (this && this.__rest) || function (s, e) {
18
+ var t = {};
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
+ t[p] = s[p];
21
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
+ t[p[i]] = s[p[i]];
25
+ }
26
+ return t;
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ var jsx_runtime_1 = require("react/jsx-runtime");
33
+ var styled_components_1 = __importDefault(require("styled-components"));
34
+ var Section_1 = require("../components/Section");
35
+ var CustomSectionBackground_1 = __importDefault(require("../components/Section/components/CustomSectionBackground"));
36
+ function CompositionBackground(_a) {
37
+ var children = _a.children, overrideStyles = _a.overrideStyles, _b = _a.isMobile, isMobile = _b === void 0 ? false : _b, props = __rest(_a, ["children", "overrideStyles", "isMobile"]);
38
+ return ((0, jsx_runtime_1.jsx)(Section_1.sectionContext.Provider, __assign({ value: __assign({}, props) }, { children: (0, jsx_runtime_1.jsxs)(S_Section, __assign({ style: overrideStyles, isIframeSection: false }, { children: [(0, jsx_runtime_1.jsx)(CustomSectionBackground_1.default, { isMobile: isMobile }), children] })) })));
39
+ }
40
+ var S_Section = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n height: ", ";\n justify-content: center;\n position: relative;\n width: 100%;\n z-index: 0;\n"], ["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n height: ", ";\n justify-content: center;\n position: relative;\n width: 100%;\n z-index: 0;\n"])), function (_a) {
41
+ var isIframeSection = _a.isIframeSection;
42
+ return (isIframeSection ? '100%' : 'auto');
43
+ });
44
+ exports.default = CompositionBackground;
45
+ var templateObject_1;
@@ -1,12 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import type { ComponentBlock } from '../sections/CustomSection/types';
3
- import type { Device } from '../sections/CustomSection/util/types';
3
+ import type { CB_PLACEMENT_PROP_SPECS, Device } from '../sections/CustomSection/util/types';
4
4
  type Props = {
5
5
  cb: ComponentBlock;
6
6
  index: number;
7
7
  device: Device;
8
8
  rowHeight: number;
9
9
  zIndex: number;
10
+ showPinned?: boolean;
11
+ style?: React.CSSProperties;
12
+ isParentGroupPinned: boolean;
10
13
  };
11
- declare function FlexGridItem({ cb, index, device, rowHeight, zIndex }: Props): JSX.Element;
14
+ declare function FlexGridItem({ cb, index, device, rowHeight, zIndex, showPinned, style, isParentGroupPinned }: Props): JSX.Element;
15
+ export declare function getGridAreaFromCB(props: CB_PLACEMENT_PROP_SPECS, device: Device): string;
12
16
  export default FlexGridItem;
@@ -18,28 +18,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.getGridAreaFromCB = void 0;
21
22
  var jsx_runtime_1 = require("react/jsx-runtime");
23
+ var react_1 = require("react");
22
24
  var styled_components_1 = __importDefault(require("styled-components"));
23
- var ComponentBlockMatcher_1 = __importDefault(require("./ComponentBlockMatcher"));
25
+ var ComponentBlockMatcherWithCCB_1 = __importDefault(require("../sections/CustomSection/components/ComponentBlock/ComponentBlockMatcherWithCCB"));
24
26
  var gap = 10;
25
27
  function FlexGridItem(_a) {
26
- var cb = _a.cb, index = _a.index, device = _a.device, rowHeight = _a.rowHeight, zIndex = _a.zIndex;
28
+ var cb = _a.cb, index = _a.index, device = _a.device, rowHeight = _a.rowHeight, zIndex = _a.zIndex, showPinned = _a.showPinned, style = _a.style, isParentGroupPinned = _a.isParentGroupPinned;
27
29
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
28
30
  var defaultHeight = getMaxHeight(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device, rowHeight);
29
31
  var gridArea = getGridAreaFromCB(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
30
- // const zIndex =
31
- // device === 'DESKTOP'
32
- // ? cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX
33
- // : cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT[
34
- // 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE'
35
- // ];
36
- return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ style: {
37
- zIndex: zIndex,
38
- gridArea: gridArea
39
- // maxHeight: cb.componentBlockCode !== CB_ALL_CODES.CB_TEXT ? defaultHeight : undefined
40
- } }, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index }) })));
32
+ var _b = (0, react_1.useState)(false), isCBPinned = _b[0], setIsCBPinned = _b[1];
33
+ var isPinned = isParentGroupPinned || isCBPinned;
34
+ return ((0, jsx_runtime_1.jsxs)(GridItem, __assign({ style: __assign({ zIndex: zIndex, gridArea: gridArea, position: 'relative', maxHeight: isPinned ? defaultHeight : 'none' }, style) }, { children: [showPinned && ((0, jsx_runtime_1.jsx)(S_Pinned, { children: isCBPinned ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", disabled: isParentGroupPinned, onClick: function () { return setIsCBPinned(false); } }, { children: "H\uACE0\uC815\uB428 \uD83D\uDCCC" }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ disabled: isParentGroupPinned, type: "button", onClick: function () { return setIsCBPinned(true); } }, { children: "H\uB298\uC5B4\uB0A8 \uD83E\uDEB1" }))) })), (0, jsx_runtime_1.jsx)(ComponentBlockMatcherWithCCB_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index })] })));
41
35
  }
42
- var GridItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: auto;\n word-break: break-word;\n"], ["\n height: auto;\n word-break: break-word;\n"])));
36
+ var S_Pinned = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"], ["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"])));
37
+ var GridItem = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: auto;\n word-break: break-word;\n"], ["\n height: auto;\n word-break: break-word;\n"])));
43
38
  function getMaxHeight(props, device, rowHeight) {
44
39
  if (device === 'DESKTOP') {
45
40
  var CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
@@ -71,5 +66,6 @@ function getGridAreaFromCB(props, device) {
71
66
  var colEnd = colsMobile + colStart;
72
67
  return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
73
68
  }
69
+ exports.getGridAreaFromCB = getGridAreaFromCB;
74
70
  exports.default = FlexGridItem;
75
- var templateObject_1;
71
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { ComponentBlock } from '../sections/CustomSection/types';
3
+ import type { Device } from '../sections/CustomSection/util/types';
4
+ type Props = {
5
+ cb: ComponentBlock;
6
+ index: number;
7
+ device: Device;
8
+ rowHeight: number;
9
+ zIndex: number;
10
+ showPinned?: boolean;
11
+ style?: React.CSSProperties;
12
+ };
13
+ declare function FlexGridItem({ cb, index, device, rowHeight, zIndex, showPinned, style }: Props): JSX.Element;
14
+ export default FlexGridItem;
@@ -0,0 +1,68 @@
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 styled_components_1 = __importDefault(require("styled-components"));
24
+ var ComponentBlockMatcher_1 = __importDefault(require("./ComponentBlockMatcher"));
25
+ var gap = 10;
26
+ function FlexGridItem(_a) {
27
+ var cb = _a.cb, index = _a.index, device = _a.device, rowHeight = _a.rowHeight, zIndex = _a.zIndex, showPinned = _a.showPinned, style = _a.style;
28
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
29
+ var defaultHeight = getMaxHeight(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device, rowHeight);
30
+ var gridArea = getGridAreaFromCB(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
31
+ var _b = (0, react_1.useState)(false), isPinned = _b[0], setIsPinned = _b[1];
32
+ return ((0, jsx_runtime_1.jsxs)(GridItem, __assign({ style: __assign({ zIndex: zIndex, gridArea: gridArea, position: 'relative', maxHeight: isPinned ? defaultHeight : 'none' }, style) }, { children: [showPinned && ((0, jsx_runtime_1.jsx)(S_Pinned, { children: isPinned ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function () { return setIsPinned(false); } }, { children: "H\uACE0\uC815\uB428 \uD83D\uDCCC" }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function () { return setIsPinned(true); } }, { children: "H\uB298\uC5B4\uB0A8 \uD83E\uDEB1" }))) })), (0, jsx_runtime_1.jsx)(ComponentBlockMatcher_1.default, { rowHeight: rowHeight, cbProps: cb, device: device, index: index })] })));
33
+ }
34
+ var S_Pinned = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"], ["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"])));
35
+ var GridItem = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: auto;\n word-break: break-word;\n"], ["\n height: auto;\n word-break: break-word;\n"])));
36
+ function getMaxHeight(props, device, rowHeight) {
37
+ if (device === 'DESKTOP') {
38
+ var CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
39
+ var height_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS * rowHeight +
40
+ (CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS - 1) * gap;
41
+ return height_1;
42
+ }
43
+ var rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
44
+ var height = rowsMobile * rowHeight + (rowsMobile - 1) * gap;
45
+ return height;
46
+ }
47
+ function getGridAreaFromCB(props, device) {
48
+ var CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX, CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY, cols = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS, rows = props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS;
49
+ if (device === 'DESKTOP') {
50
+ var colStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX + 1;
51
+ var rowStart_1 = CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY + 1;
52
+ var rowEnd_1 = rows + rowStart_1;
53
+ var colEnd_1 = cols + colStart_1;
54
+ // <grid-row-start> / <grid-column-start> / <grid-row-end> / <grid-column-end>;
55
+ return "".concat(rowStart_1, " / ").concat(colStart_1, " / ").concat(rowEnd_1, " / ").concat(colEnd_1);
56
+ }
57
+ var startXMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE'];
58
+ var startYMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE'];
59
+ var colsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'];
60
+ var rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
61
+ var colStart = startXMobile + 1;
62
+ var rowStart = startYMobile + 1;
63
+ var rowEnd = rowsMobile + rowStart;
64
+ var colEnd = colsMobile + colStart;
65
+ return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
66
+ }
67
+ exports.default = FlexGridItem;
68
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { CB_VALUE_TYPE, CCB_VALUE_TYPE } from '../sections/CustomSection/util/types';
3
+ import type { IComposition, QueryData } from '../../DynamicLayout/types';
4
+ export declare function createCompositions({ valueType, queryPath, queryData, compositions, limit }: {
5
+ valueType: CCB_VALUE_TYPE | CB_VALUE_TYPE;
6
+ queryPath: string;
7
+ queryData: QueryData | undefined;
8
+ compositions: IComposition[];
9
+ limit: number;
10
+ }): JSX.Element[];
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.createCompositions = void 0;
22
+ var jsx_runtime_1 = require("react/jsx-runtime");
23
+ require("react");
24
+ var styled_components_1 = __importDefault(require("styled-components"));
25
+ var compositionQueryContext_1 = require("../compositionQueryContext");
26
+ var Composition_1 = __importDefault(require("./Composition"));
27
+ function createCompositions(_a) {
28
+ var valueType = _a.valueType, queryPath = _a.queryPath, queryData = _a.queryData, compositions = _a.compositions, limit = _a.limit;
29
+ var isQueryDataConnected = valueType === 'DATA' || valueType === 'DELEGATEDDATA';
30
+ // 직접 입력 유형인 경우
31
+ if (!isQueryDataConnected) {
32
+ var valueTypeCompositions = compositions.filter(function (composition) { return !composition.isDefault; });
33
+ // MANUAL ITEM이 없는 경우
34
+ if (!valueTypeCompositions.length) {
35
+ return [
36
+ (0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: "\uC544\uC774\uD15C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uC544\uC774\uD15C\uC744 \uCD94\uAC00\uD574\uC8FC\uC138\uC694." }, "empty-manual-item")
37
+ ];
38
+ }
39
+ return valueTypeCompositions.map(function (composition) { return ((0, jsx_runtime_1.jsx)(Composition_1.default, __assign({}, composition), composition.id)); });
40
+ }
41
+ if (!compositions.length) {
42
+ return [(0, jsx_runtime_1.jsx)("div", { children: "EMPTY TEXT" }, "empty")];
43
+ }
44
+ // 데이터 연결 유형이나, 쿼리 데이터나 키가 없는 경우
45
+ if (queryPath === 'NONE' || !queryPath || !queryData) {
46
+ return [(0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: "\uC544\uC9C1 \uC5F0\uACB0\uB41C \uCFFC\uB9AC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }, "no-query")];
47
+ }
48
+ var parsedQueryPath = removeFirstSegment(queryPath);
49
+ var queryDataValue = queryData[parsedQueryPath];
50
+ var queryComposition = compositions.find(function (composition) { return composition.isDefault; });
51
+ // 쿼리 데이터와 키가 있으나, 쿼리 데이터에 해당 키가 없는 경우
52
+ if (!queryDataValue) {
53
+ return [(0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: "\uC5F0\uACB0\uB41C \uB370\uC774\uD130\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }, "not-found")];
54
+ }
55
+ // 쿼리 데이터와 키가 있으나, 쿼리 데이터에 결과가 빈 경우
56
+ if (!queryDataValue.length) {
57
+ return [(0, jsx_runtime_1.jsx)(S_EmptyLayer, { children: "\uC544\uC9C1 \uBCF4\uC5EC\uC904 \uCF58\uD150\uCE20\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }, "empty-item")];
58
+ }
59
+ return queryDataValue.slice(0, limit).map(function (query, index) { return ((0, jsx_runtime_1.jsx)(compositionQueryContext_1.CCBQueryPathContext.Provider, __assign({ value: { queryData: query } }, { children: (0, jsx_runtime_1.jsx)(Composition_1.default, __assign({}, queryComposition)) }), index)); });
60
+ }
61
+ exports.createCompositions = createCompositions;
62
+ function removeFirstSegment(path) {
63
+ var segments = path.split('/');
64
+ return segments.slice(1).join('/');
65
+ }
66
+ var S_EmptyLayer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: rgba(0, 0, 0, 0.6);\n bottom: 0;\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n justify-content: center;\n left: 0;\n line-height: ", ";\n padding: ", ";\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n word-break: keep-all;\n"], ["\n align-items: center;\n background-color: rgba(0, 0, 0, 0.6);\n bottom: 0;\n color: white;\n display: flex;\n font-size: ", ";\n font-weight: ", ";\n justify-content: center;\n left: 0;\n line-height: ", ";\n padding: ", ";\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n word-break: keep-all;\n"])), function (_a) {
67
+ var theme = _a.theme;
68
+ return theme.desktopFontSize.body2;
69
+ }, function (_a) {
70
+ var theme = _a.theme;
71
+ return theme.fontWeight.bold;
72
+ }, function (_a) {
73
+ var theme = _a.theme;
74
+ return theme.desktopLineHeight.body2;
75
+ }, function (_a) {
76
+ var theme = _a.theme;
77
+ return theme.spacing.spacingE;
78
+ });
79
+ var templateObject_1;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { DynamicLayoutProps } from './types';
3
- declare function DynamicLayout({ device, mode, isPreview, sections, scrollDownTargetSectionId, editingSectionId, navigationHandler, sectionActionHandler, onClickEditSection, programmedSectionComponents, shortcutKeyMode, dynamicLayoutRef, zoomScale }: DynamicLayoutProps): JSX.Element;
3
+ declare function DynamicLayout({ device, mode, isPreview, sections, scrollDownTargetSectionId, editingSectionId, navigationHandler, sectionActionHandler, onClickEditSection, programmedSectionComponents, shortcutKeyMode, dynamicLayoutRef, zoomScale, queryData, placementRestriction }: DynamicLayoutProps): JSX.Element;
4
4
  export default DynamicLayout;
@@ -25,7 +25,7 @@ var EditModeSectionMatcher_1 = require("./components/EditModeSectionMatcher");
25
25
  var SectionMatcher_1 = require("./components/SectionMatcher");
26
26
  var dynamicLayoutContext_1 = require("./dynamicLayoutContext");
27
27
  function DynamicLayout(_a) {
28
- var device = _a.device, _b = _a.mode, mode = _b === void 0 ? 'NORMAL' : _b, isPreview = _a.isPreview, sections = _a.sections, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, navigationHandler = _a.navigationHandler, sectionActionHandler = _a.sectionActionHandler, onClickEditSection = _a.onClickEditSection, programmedSectionComponents = _a.programmedSectionComponents, shortcutKeyMode = _a.shortcutKeyMode, dynamicLayoutRef = _a.dynamicLayoutRef, zoomScale = _a.zoomScale;
28
+ var device = _a.device, _b = _a.mode, mode = _b === void 0 ? 'NORMAL' : _b, isPreview = _a.isPreview, sections = _a.sections, scrollDownTargetSectionId = _a.scrollDownTargetSectionId, editingSectionId = _a.editingSectionId, navigationHandler = _a.navigationHandler, sectionActionHandler = _a.sectionActionHandler, onClickEditSection = _a.onClickEditSection, programmedSectionComponents = _a.programmedSectionComponents, shortcutKeyMode = _a.shortcutKeyMode, dynamicLayoutRef = _a.dynamicLayoutRef, zoomScale = _a.zoomScale, queryData = _a.queryData, placementRestriction = _a.placementRestriction;
29
29
  var filteredSortedSection = __spreadArray([], sections, true).filter(function (section) {
30
30
  var _a;
31
31
  if (!section.display) {
@@ -51,7 +51,9 @@ function DynamicLayout(_a) {
51
51
  editingSectionId: editingSectionId,
52
52
  programmedSectionComponents: programmedSectionComponents,
53
53
  shortcutKeyMode: shortcutKeyMode,
54
- zoomScale: zoomScale
54
+ zoomScale: zoomScale,
55
+ queryData: queryData,
56
+ placementRestriction: placementRestriction
55
57
  } }, { children: [mode === 'EDIT' && onClickEditSection && ((0, jsx_runtime_1.jsx)(EditModeSectionMatcher_1.EditModeSectionMatcher, { dynamicLayoutRef: dynamicLayoutRef, editingSectionId: editingSectionId, scrollDownTargetSectionId: scrollDownTargetSectionId, filteredSortedSection: filteredSortedSection, onClickEditSection: onClickEditSection })), mode !== 'EDIT' &&
56
58
  (iframeSection ? ((0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, iframeSection), iframeSection.id)) : (filteredSortedSection.map(function (section) { return (0, jsx_runtime_1.jsx)(SectionMatcher_1.SectionMatcher, __assign({}, section), section.id); })))] })));
57
59
  }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { ISection } from '../types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
+ export type LayoutsType = {
5
+ sm: Layout;
6
+ lg: Layout;
7
+ };
8
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISection & React.RefAttributes<unknown>>>;
9
+ export default _default;